:root {
  --bg: #0c0c0e;
  --panel: #17171b;
  --line: #2a2a30;
  --text: #f5f5f7;
  --muted: #9a9aa3;
  --pink: #ff2f86;
  --pink-2: #ff4d9a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Nunito, "Noto Sans SC", "Segoe UI", Tahoma, "Leelawadee UI", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.logo {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
  white-space: nowrap;
}
.logo span { color: var(--pink); font-weight: 800; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}
.btn--pink { background: linear-gradient(180deg, #ff5aa3, var(--pink)); color: #fff; }
.btn--ghost { background: #1c1c22; color: #fff; border: 1px solid #3a3a42; }
.btn--tiny { padding: 8px 12px; font-size: 13px; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .72);
}
.gate[hidden], .app[hidden], .modal[hidden] { display: none !important; }
.gate__card, .modal__card {
  width: min(420px, 100%);
  background: #141418;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.gate__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gate__block { color: #ffb4c8; }

.app { min-height: 100vh; }
.side {
  display: none;
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  background: #101014;
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  z-index: 20;
  flex-direction: column;
  gap: 16px;
}
.side__nav { display: flex; flex-direction: column; gap: 4px; }
.side__nav button, .foot button, .pill, .chip, .chev, .hero__arrow {
  background: transparent;
  border: 0;
  text-align: left;
}
.side__nav button {
  border-radius: 10px;
  padding: 10px 12px;
  color: #d7d7de;
}
.side__nav button.is-on, .side__nav button:hover { background: #221821; color: #fff; }
.side__nav em, .off { color: var(--pink); font-style: normal; font-weight: 800; }

.main { min-width: 0; }
.top {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 58px;
  padding: 0 10px;
  background: rgba(12, 12, 14, .92);
  backdrop-filter: blur(10px);
}
.burger {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: center;
  flex: none;
}
.burger span { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; }
.top .btn--tiny { flex: none; }
.lang { position: relative; margin-left: auto; flex: none; }
.lang__btn {
  border: 1px solid #3a3a42;
  background: #1c1c22;
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
}
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 160px;
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #17171c;
  border: 1px solid #2a2a31;
  border-radius: 12px;
}
.lang__menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
}
.lang__menu button.is-on,
.lang__menu button:hover { background: #2a2030; }
html[dir="rtl"] .lang__menu { left: 0; right: auto; }

.view { display: none; padding: 0 12px 96px; }
.view.is-on { display: block; }
.view h2 { margin: 18px 0 8px; }

.hero {
  position: relative;
  height: 430px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 8px;
  background: #1a1014;
}
.hero__art, .card img, .tile img, .post img, .banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.hero__art { position: absolute; inset: 0; object-position: center 42%; }
.hero__copy {
  position: absolute;
  left: 0; right: 0; bottom: 54px;
  display: grid;
  justify-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__name {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: 84px;
  line-height: .8;
  color: #f8e7c4;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.hero__play { min-width: 210px; }
.hero__live {
  position: absolute;
  right: 12px;
  bottom: 46px;
  padding: 6px 10px;
  border-radius: 8px 8px 12px 8px;
  background: linear-gradient(180deg, #e7c27a, #a97832);
  color: #3a250c;
  font-weight: 800;
  font-style: italic;
  font-size: 13px;
}
.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
}
.hero__arrow--prev { left: 8px; }
.hero__arrow--next { right: 8px; }
.hero__arrow--prev::before, .hero__arrow--next::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.hero__arrow--prev::before { transform: rotate(-135deg); margin-left: 12px; }
.hero__arrow--next::before { transform: rotate(45deg); margin-right: 12px; }
.dashes {
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.dashes button {
  width: 18px;
  height: 3px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .35);
  padding: 0;
}
.dashes button.is-on { background: #fff; }

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.section-title h1, .section-title h2, .block-title, .faq-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.section-title .accent, .block-title .accent, .faq-title .accent { color: var(--pink); }
.block-title, .faq-title { margin: 22px 0 12px; }
.faq-title { text-align: center; font-size: 28px; }
.chev {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #333 !important;
  position: relative;
}
.chev::before {
  content: "";
  position: absolute;
  top: 9px; left: 8px;
  width: 7px; height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
}
.search {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 168px;
  background: #1a1a20;
  border-radius: 999px;
  padding: 0 12px;
  height: 40px;
  color: #aaa;
}
.search svg { width: 16px; height: 16px; flex: none; }
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
}
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar, .hrow::-webkit-scrollbar { display: none; }
.pill, .chip {
  border-radius: 999px;
  background: #1a1a20;
  padding: 8px 14px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
}
.pill.is-on { box-shadow: inset 0 0 0 2px var(--pink); color: #fff; }
.pill[data-filter="private"]::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 8px;
  margin-right: 6px;
  border: 1.6px solid currentColor;
  border-top: 0;
  border-radius: 0 0 2px 2px;
  box-shadow: inset 0 6px 0 -4px currentColor;
  vertical-align: 1px;
}

.hrow {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.card, .tile, .post {
  position: relative;
  flex: 0 0 168px;
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a20;
  text-align: left;
  color: #fff;
}
.card { aspect-ratio: 3 / 4; }
.card img, .tile img, .post img { position: absolute; inset: 0; }
.card__meta, .tile span, .post strong {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  text-shadow: 0 1px 6px #000;
}
.card__meta { display: flex; gap: 6px; font-weight: 800; }
.card__meta span { font-weight: 700; }
.badge, .post b {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  background: var(--pink);
  color: #fff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 6px;
}
.card__icons {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: grid;
  gap: 6px;
}
.card__icons i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  display: grid;
  place-items: center;
}
.card__lock::before {
  content: "";
  width: 10px;
  height: 8px;
  border: 1.6px solid #fff;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 5px 0 -1px #fff;
}
.tile { flex-basis: 148px; aspect-ratio: 3 / 4; }
.tile span {
  right: 10px;
  font-weight: 800;
  font-size: 14px;
}
.tile::after, .post::after, .card::after, .banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
}
.banner {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
}
.banner img { position: absolute; inset: 0; object-position: center 30%; }
.banner div {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 16px;
  gap: 8px;
}
.banner p { margin: 0; font-size: 22px; font-weight: 800; max-width: 220px; }
.post { flex-basis: 180px; aspect-ratio: 3 / 4; }
.post strong { right: 10px; font-size: 18px; line-height: 1.05; }
.post--lock .post__gate {
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 2px solid var(--pink);
  border-radius: 16px;
  background: rgba(12, 8, 10, .82);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  font-weight: 800;
}
.post__gate em, .post__gate span { display: block; font-style: normal; letter-spacing: .08em; }
.post__gate em { margin-bottom: 8px; }

.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details {
  background: #17171c;
  border: 1px solid #2a2a31;
  border-radius: 14px;
  padding: 4px 14px;
}
.faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
.faq p { margin: 0 0 12px; color: var(--muted); }
.prose { max-width: 760px; margin: 28px auto 0; }
.prose h2 { font-size: 22px; }
.prose p, .lead, .note, .foot p { color: var(--muted); line-height: 1.5; }
.foot { margin-top: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.foot button { color: #ddd; padding: 0; font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plans article, .thread, .composer, .build-out {
  background: #17171c;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.plans .is-on { box-shadow: inset 0 0 0 2px var(--pink); }
.price { font-size: 22px; font-weight: 800; margin: 6px 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip.is-on { box-shadow: inset 0 0 0 2px var(--pink); }
.label { margin: 14px 0 6px; color: var(--muted); }
.thread { min-height: 180px; display: grid; gap: 8px; align-content: start; }
.bubble { max-width: 80%; padding: 8px 10px; border-radius: 12px; background: #2a2a32; }
.bubble--me { justify-self: end; background: #5a2340; }
.composer { display: flex; gap: 8px; margin-top: 10px; }
.composer input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; }
.auth {
  width: min(420px, 100%);
  margin: 36px auto;
  display: grid;
  gap: 12px;
}
.auth h2 { margin: 0; }
.auth input {
  width: 100%;
  border: 1px solid var(--line);
  background: #1a1a20;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
}
.auth__switch { margin: 0; color: var(--muted); }
.auth__switch button {
  border: 0;
  background: transparent;
  color: var(--pink);
  font-weight: 800;
  padding: 0;
}
.play {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 12px;
}
.play img {
  width: min(420px, 100%);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 16px;
}
.play h2 { margin: 0; }
.empty { color: var(--muted); }
.scale-line { margin: 0 0 12px; color: var(--muted); }
.scale-line strong { color: var(--pink); font-size: 18px; }
.ladder {
  margin: 28px 0 8px;
  padding: 18px 16px;
  border: 1px solid #2a2a32;
  border-radius: 16px;
  background: #141418;
}
.ladder__kicker { margin: 0; color: var(--pink); font-weight: 800; font-size: 32px; line-height: 1; }
.ladder h2 { margin: 6px 0 8px; }
.ladder__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.ladder article {
  border: 1px solid #2a2a32;
  border-radius: 14px;
  padding: 14px;
  background: #101014;
}
.ladder article.is-on { box-shadow: inset 0 0 0 2px var(--pink); }
.ladder h3 { margin: 0 0 8px; font-size: 16px; }
.ladder ul, .vip-list { margin: 0; padding-left: 18px; color: #d7d7de; }
.ladder li, .vip-list li { margin: 6px 0; }
.ladder .btn, .vip-list { margin-top: 12px; }
#view-chat .btn { margin-bottom: 12px; }

.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 16;
  display: flex;
  justify-content: space-around;
  padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
  background: #121216;
  border-top: 1px solid #24242a;
}
.tabbar button {
  border: 0;
  background: transparent;
  color: #9a9aa3;
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
  min-width: 56px;
}
.tabbar svg { width: 22px; height: 22px; }
.tabbar button.is-on { color: var(--pink); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .62);
}
.side.is-on { display: flex; }

@media (max-width: 1100px), (hover: none) and (pointer: coarse) {
  .card, .post { flex-basis: 46%; }
  .tile { flex-basis: 42%; }
  .hero { height: 390px; }
  .hero__name { font-size: 72px; }
  .logo { font-size: 18px; }
  .top .btn--tiny { font-size: 11px; padding: 7px 8px; }
  .plans, .ladder__grid { grid-template-columns: 1fr; }
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  .side { display: flex; }
  .burger { display: none; }
  .tabbar { display: none; }
  .main { margin-left: 232px; }
  .view { padding-bottom: 40px; }
  .top { padding-right: 18px; }
  .card, .tile, .post { flex-basis: 210px; }
  .hero { height: 520px; }
}

@media (max-width: 420px) {
  .top { gap: 3px; padding: 0 4px; }
  .burger { width: 26px; }
  .logo { font-size: 15px; }
  .top .btn--pink.btn--tiny { font-size: 10px; padding: 6px 7px; }
  .top .btn--ghost.btn--tiny, .lang__btn { font-size: 11px; padding: 6px 7px; }
}
