:root {
  --ink: #0f1014;
  --ink-soft: #16181f;
  --ink-card: #1c1e27;
  --mist: #8f98b2;
  --snow: #fff;
  --sky: #e8c34a;
  --sky-bright: #f3d56a;
  --live: #ff2d55;
  --gold: #ffcc4d;
  --orangepink: #ff6b8a;
  --sidebar: 72px;
  --bottom: calc(128px + env(safe-area-inset-bottom, 0px));
  --radius: 16px;
  --gutter: 16px;
  --font: Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; background: var(--ink); color: var(--snow); font-family: var(--font); }
body { overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
html:has(#splash:not(.is-done)),
html:has(#splash:not(.is-done)) body,
html:has(#splash:not(.is-done)) .app {
  overflow: hidden !important;
  height: 100dvh;
  max-height: 100dvh;
}
body.cinema { overflow: hidden; height: 100dvh; background: #000; }
img { max-width: 100%; display: block; }
button, a { font-family: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ion-icon.animateicon {
  width: 1.15em;
  height: 1.15em;
  pointer-events: none;
  animation: animateicon 0.42s cubic-bezier(0.22, 1.15, 0.36, 1) both;
}
@keyframes animateicon {
  0% { transform: scale(0.72); opacity: 0.4; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  ion-icon.animateicon { animation: none; }
}

.app { min-height: 100dvh; }
.app.cinema { background: #000; overflow: hidden; height: 100dvh; }

.sidebar {
  display: none;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--sidebar);
  padding: 20px 8px;
  background: rgba(15, 16, 20, 0.94);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  flex-direction: column;
  transition: width 0.25s ease;
  overflow: hidden;
}
.sidebar:hover { width: 220px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand span, .nav-label, .subscribe-label { white-space: nowrap; opacity: 0; transition: opacity 0.2s; }
.sidebar:hover .brand span,
.sidebar:hover .nav-label,
.sidebar:hover .subscribe-label { opacity: 1; }
.brand-mark {
  width: 36px; height: 36px; object-fit: cover; flex-shrink: 0; display: block;
  border-radius: 50%; background: #05060a; border: 1px solid rgba(232,195,74,0.45);
}
.brand-wordmark {
  height: 26px; width: auto; max-width: 0; opacity: 0;
  object-fit: contain; object-position: left center;
  overflow: hidden; transition: max-width 0.25s ease, opacity 0.2s ease;
}
.sidebar:hover .brand-wordmark { max-width: 158px; opacity: 1; height: 28px; }
.top-brand { display: flex; align-items: center; gap: 8px; }
.top-brand .brand-mark { width: 30px; height: 30px; }
.top-brand .brand-wordmark { max-width: 150px; opacity: 1; height: 26px; }
.login-logo { height: 44px; max-width: 220px; display: block; margin-bottom: 10px; }

body.is-gate { overflow: auto; background: #07080c; }
.app.gate { min-height: 100dvh; background: #07080c; }
.gate {
  position: relative; min-height: 100dvh;
  display: grid; align-items: stretch;
  overflow: hidden;
}
.gate-stage {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 1.1fr 0.9fr;
  gap: 8px; padding: 8px;
  transform: scale(1.08);
  filter: saturate(1.05);
}
.gate-still {
  width: 100%; height: 100%; object-fit: cover; border-radius: 18px;
  opacity: 0.88;
  animation: gate-drift 18s ease-in-out infinite alternate;
}
.gate-still.s0 { grid-column: 1 / 3; }
.gate-still.s1 { grid-column: 3; }
.gate-still.s2 { grid-row: 2; }
.gate-still.s3, .gate-still.s4, .gate-still.s5 { grid-row: 2; }
@keyframes gate-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, 1%, 0); }
}
.gate-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 80% 20%, rgba(232,195,74,0.18), transparent 55%),
    linear-gradient(180deg, rgba(7,8,12,0.22) 0%, rgba(7,8,12,0.42) 45%, rgba(7,8,12,0.78) 100%);
}
.gate-top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 22px 0;
}
.gate-brand { display: flex; align-items: center; gap: 10px; }
.gate-brand .brand-mark { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(232,195,74,0.35); }
.gate-brand .brand-wordmark { height: 28px; max-width: 160px; opacity: 1; }
.gate-guest {
  color: rgba(255,255,255,0.72); font-size: 13px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 8px 14px;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(12px);
}
.gate-panel {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  padding: 24px 18px calc(28px + env(safe-area-inset-bottom, 0px));
}
.gate-card {
  width: min(440px, 100%);
  background: linear-gradient(180deg, rgba(24,26,34,0.88), rgba(12,14,20,0.92));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 28px 24px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(232,195,74,0.08);
  backdrop-filter: blur(22px);
  animation: gate-up 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes gate-up {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.gate-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.gate-mark img:first-child { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(232,195,74,0.28); }
.gate-mark img:last-child { height: 26px; width: auto; max-width: 170px; }
.gate-kicker {
  color: #e8c34a; font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 8px;
}
.gate-card h1 { font-size: 32px; letter-spacing: -0.04em; margin: 0 0 8px; }
.gate-lede { color: rgba(185,192,212,0.86); line-height: 1.45; margin: 0 0 22px; }
.gate-form { display: grid; gap: 12px; }
.gate-field { position: relative; display: block; }
.gate-field input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  padding: 20px 14px 8px; color: #fff; font-size: 16px; outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gate-field span {
  position: absolute; left: 14px; top: 16px;
  color: rgba(185,192,212,0.7); font-size: 14px; font-weight: 600;
  pointer-events: none; transition: 0.18s ease;
}
.gate-field input:focus,
.gate-field input:not(:placeholder-shown) { border-color: rgba(232,195,74,0.55); box-shadow: 0 0 0 4px rgba(232,195,74,0.12); }
.gate-field input:focus + span,
.gate-field input:not(:placeholder-shown) + span {
  top: 7px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #e8c34a;
}
.btn.gold-glow {
  position: relative; overflow: hidden; margin-top: 4px;
  background: linear-gradient(180deg, #f4e19a, #d4ae3a); color: #161208;
  box-shadow: 0 12px 28px rgba(232,195,74,0.28);
}
.btn.gold-glow::after {
  content: ""; position: absolute; inset: 0 auto 0 -40%;
  width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg); animation: gate-shine 2.8s ease-in-out infinite;
}
@keyframes gate-shine {
  0%, 55% { left: -40%; }
  100% { left: 130%; }
}
.gate-or {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  margin: 16px 0 12px; color: rgba(185,192,212,0.6); font-size: 12px; font-weight: 700;
}
.gate-or i { height: 1px; background: rgba(255,255,255,0.1); }
.btn.google {
  background: #fff; color: #111; gap: 10px;
}
.gate-perks {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 12px;
}
.gate-perks li {
  font-size: 11px; font-weight: 700; color: rgba(246,230,164,0.9);
  border: 1px solid rgba(232,195,74,0.2); border-radius: 999px; padding: 6px 10px;
  background: rgba(232,195,74,0.08);
}
.gate-plans { color: rgba(185,192,212,0.75); font-size: 13px; text-align: center; margin: 4px 0 0; }
.gate-plans a { color: #e8c34a; font-weight: 800; }

@media (min-width: 980px) {
  .gate { grid-template-columns: 1.15fr 0.85fr; }
  .gate-stage { position: relative; min-height: 100dvh; transform: none; padding: 18px; }
  .gate-veil {
    background:
      radial-gradient(700px 380px at 30% 20%, rgba(232,195,74,0.14), transparent 50%),
      linear-gradient(90deg, transparent 40%, rgba(7,8,12,0.55) 78%, #07080c 100%);
  }
  .gate-top { position: absolute; left: 0; right: 0; }
  .gate-panel { place-items: center start; padding-right: 64px; }
}
.titled { display: block; }
.logo {
  width: 32px; height: 32px; flex-shrink: 0;
  background: #c9a227; border-radius: 10px;
  display: none; place-items: center;
}
.logo svg { width: 14px; height: 14px; fill: #fff; }
.sky { color: var(--sky); }
.nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav a, .subscribe-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 12px; color: var(--mist); font-size: 14px; font-weight: 600;
}
.nav a.active, .nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav svg,
.nav ion-icon { width: 22px; height: 22px; flex-shrink: 0; }
.nav svg { stroke: currentColor; fill: none; stroke-width: 1.8; }
.nav ion-icon { color: inherit; }
.subscribe-btn {
  background: linear-gradient(135deg, #e8c34a, #c9a227); color: #111 !important;
  box-shadow: 0 8px 24px rgba(232, 195, 74, 0.28);
  width: 44px; height: 44px; padding: 0; justify-content: center; margin: 0 auto;
}
.subscribe-btn ion-icon { width: 18px; height: 18px; }
.sidebar:hover .subscribe-btn {
  width: 100%; height: auto; padding: 10px 12px; margin: 0;
}

.app-chrome {
  position: sticky; top: 0; z-index: 40;
  background:
    linear-gradient(180deg, #12141c 0%, #0c0d12 100%);
  border-bottom: 1px solid rgba(232, 195, 74, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.topbar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter) 6px;
}
.top-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.top-actions { position: relative; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn, .avatar {
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center; background: rgba(255,255,255,0.08);
}
.icon-btn svg,
.icon-btn ion-icon { width: 18px; height: 18px; }
.icon-btn svg { stroke: currentColor; fill: none; stroke-width: 1.8; }
.icon-btn ion-icon { color: inherit; }
.user-toggle.on { background: rgba(232,195,74,0.14); color: var(--gold); }
.user-name {
  max-width: 28vw;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.acct-open { overflow: hidden; }
.acct-scrim {
  position: fixed; inset: 0; z-index: 88;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.acct-scrim.is-open { opacity: 1; pointer-events: auto; }
.acct-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 90;
  width: min(100vw, 480px);
  display: flex; flex-direction: column;
  background: #000;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.32s ease;
  overflow: hidden;
}
.acct-drawer.is-open { transform: translateX(0); }
.acct-drawer[hidden], .acct-scrim[hidden] { display: none !important; }
.acct-top {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  min-height: 52px;
  padding: calc(6px + env(safe-area-inset-top, 0px)) 8px 6px;
}
.acct-top strong { text-align: center; font-size: 17px; font-weight: 700; }
.acct-x {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 0; color: #fff;
}
.acct-x ion-icon { width: 26px; height: 26px; }
.acct-search {
  display: flex; align-items: center; gap: 8px;
  margin: 8px 16px 12px;
  background: #262626; border-radius: 10px; padding: 10px 12px;
  color: #a8a8a8;
}
.acct-search ion-icon { width: 18px; height: 18px; }
.acct-search input {
  flex: 1; background: none; border: 0; color: #fff; outline: none; font-size: 15px;
}
.acct-scroll { overflow: auto; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.acct-sec {
  margin: 18px 16px 8px;
  color: #a8a8a8; font-size: 15px; font-weight: 600;
}
.acct-hero, .acct-link {
  display: grid;
  grid-template-columns: 28px 1fr 16px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  background: transparent;
  border: 0;
}
.acct-hero { grid-template-columns: 56px 1fr 16px; padding-top: 8px; padding-bottom: 8px; }
.acct-go { width: 16px; height: 16px; color: #8e8e8e; }
.acct-ico { display: grid; place-items: center; color: #fff; }
.acct-ico ion-icon { width: 26px; height: 26px; }
.acct-av {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 650;
  background: #1c1c1c; border: 1px solid #333;
}
.acct-who { min-width: 0; }
.acct-who strong { display: block; font-size: 16px; font-weight: 700; }
.acct-who span, .acct-copy small { display: block; margin-top: 2px; font-size: 13px; color: #a8a8a8; }
.acct-lab { font-size: 16px; font-weight: 400; }
.acct-link[hidden], .acct-hero[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .acct-drawer, .acct-scrim { transition: none; }
}

.avatar { font-size: 18px; }
.pill {
  background: linear-gradient(135deg, #e8c34a, #c9a227); color: #111; border-radius: 999px;
  padding: 8px 14px; font-size: 12px; font-weight: 800;
}

.main { padding-bottom: var(--bottom); }
@media (max-width: 899px) {
  html, body { height: 100%; }
  body:not(.cinema):not(.is-gate):not(.is-brief) { overflow: hidden; }
  .app:not(.cinema):not(.gate) {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .app-chrome { flex: none; }
  .main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(var(--bottom) + 72px);
  }
}
.page { padding: 18px var(--gutter) 24px; }
.space-page { padding-top: 8px; }
.space-page .atlas h1 { font-size: 22px; margin-top: 2px; }
.space-page .atlas-sub { margin-top: 2px; font-size: 12px; max-width: none; }
.space-page .profiles { margin-top: 10px; gap: 8px; }
.space-page .profile { padding: 8px 4px 8px; border-radius: 16px; gap: 4px; }
.space-page .profile .face { width: 52px; height: 52px; }
.space-page .profile strong { font-size: 12px; }
.space-page .info-grid { gap: 8px; margin-top: 12px; }
.space-page .info-tile { padding: 10px 12px; border-radius: 12px; gap: 10px; }
.space-page .info-mark { width: 34px; height: 34px; border-radius: 10px; }
.space-page h2 { margin-top: 16px; font-size: 16px; }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); }
.kicker.live { color: var(--live); }
.page h1.titled { font-size: 30px; font-weight: 800; margin-top: 6px; }
h2.titled { margin: 28px 0 12px; font-size: 18px; font-weight: 700; }
.sub { color: var(--mist); font-size: 14px; margin-top: 6px; }

.for-you { padding: 6px 0 2px; }
.for-you-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px var(--gutter) 10px; }
.for-you-head h2 { font-size: 18px; font-weight: 800; }

.ad-stage { padding: 10px 0 4px; }
.ad-head {
  display: flex; align-items: center; gap: 10px;
  padding: 0 var(--gutter) 10px;
}
.ad-pill {
  flex: 0 0 auto;
  font-size: 9px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2a0d16;
  background: linear-gradient(180deg, #ff9aad, var(--orangepink));
  border-radius: 7px; padding: 5px 8px;
  box-shadow: 0 6px 14px rgba(255,107,138,0.28);
}
.ad-head h2 { font-size: 16px; font-weight: 800; line-height: 1.1; }
.ad-head p { margin-top: 2px; font-size: 11px; color: var(--mist); font-weight: 600; }
.ad-track {
  display: flex; gap: 12px; overflow-x: auto;
  padding: 2px var(--gutter) 14px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ad-track::-webkit-scrollbar { display: none; }
.ad-card {
  position: relative;
  flex: 0 0 calc(100% - (var(--gutter) * 2) - 36px);
  max-width: 560px;
  aspect-ratio: 16 / 7.2;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-margin-inline-start: var(--gutter);
  background: #17181f;
  box-shadow:
    0 16px 32px rgba(0,0,0,0.42),
    0 0 0 1px rgba(255,107,138,0.28),
    0 0 24px rgba(232,195,74,0.08);
}
.ad-card .media-skel,
.ad-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
}
.ad-card::after,
.ad-flag,
.ad-copy,
.ad-cta { display: none !important; }
.ad-flag {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: rgba(12,12,16,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 4px 8px;
}
.ad-copy {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: grid; gap: 3px;
  padding: 10px 12px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.ad-copy small {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #f6e6a4;
}
.ad-copy strong {
  font-size: 16px; font-weight: 800; line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}
.ad-copy em {
  font-style: normal; font-size: 12px; color: rgba(255,255,255,0.88);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ad-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; width: max-content;
  height: 28px; padding: 0 8px 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4e19a, #e8c34a);
  color: #1a160c;
  font-size: 11px; font-weight: 800;
}
.ad-cta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ad-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 0 var(--gutter) 6px;
}
.ad-dots button {
  width: 7px; height: 7px; border-radius: 99px;
  background: rgba(255,255,255,0.22);
}
.ad-dots button.on {
  width: 18px;
  background: linear-gradient(90deg, var(--orangepink), var(--sky));
}
.hs-slider { overflow: hidden; }
.hs-slider-track {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 var(--gutter) 10px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hs-slider-track::-webkit-scrollbar { display: none; }
.hs-slide {
  flex: 0 0 calc(100% - (var(--gutter) * 2) - 28px);
  max-width: 420px;
  scroll-snap-align: start;
  scroll-margin-inline-start: var(--gutter);
  border-radius: 18px; overflow: hidden;
  background: #17181f;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.hs-slide-art { position: relative; display: block; aspect-ratio: 16 / 10; background: #1c1e27; }
.hs-slide-art .media-skel { position: absolute; inset: 0; }
.hs-slide-art img { width: 100%; height: 100%; object-fit: cover; }
.hs-slide-art::after {
  content: ""; position: absolute; inset: auto 0 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.78));
}
.rank-ribbon {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(18, 12, 8, 0.72);
  backdrop-filter: blur(10px);
  border-radius: 8px; padding: 4px 8px 4px 6px;
  font-size: 11px; font-weight: 800; color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.rank-ribbon svg,
.rank-ribbon ion-icon { width: 13px; height: 13px; }
.rank-ribbon svg { fill: #e8c34a; }
.hs-slide-meta {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
  margin: 0; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9);
}
.hs-slide-bar {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 12px; background: #1c1d25;
}
.hs-slide-bar img, .hs-slide-bar .media-skel { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #1c1e27; flex-shrink: 0; }
.hs-slide-bar strong {
  display: block; font-size: 14px; font-weight: 800; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hs-slide-bar small { color: var(--mist); font-size: 12px; font-weight: 600; }
.hs-watch {
  flex-shrink: 0; border-radius: 10px; padding: 8px 12px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
  background: rgba(255,255,255,0.1); color: #fff;
}
.ribbon-card { width: 118px; flex-basis: 118px; }
.ribbon-card .poster { border-radius: 12px; }
.ribbon-card .ribbon-title {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2;
  margin: 0; font-size: 12px; font-weight: 800; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ribbon-card .rank-ribbon { left: 6px; top: 6px; padding: 3px 6px; font-size: 9px; }
.hero > img, .hero-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  opacity: 0; transition: opacity 0.7s;
}
.hero > img.on, .hero-shot.on { opacity: 1; }
.hero > img[src*="Initial_Final"],
.hero > img[src*="logo.png"] { display: none !important; }
.hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,16,20,0.08) 0%, rgba(15,16,20,0.12) 38%, rgba(15,16,20,0.82) 78%, #0f1014 100%);
}
.hero-copy { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; max-width: 640px; }
.hero-copy .kicker { font-size: 10px; letter-spacing: 0.16em; margin-bottom: 2px; }
.hero-copy h1 {
  font-size: 22px; font-weight: 800; line-height: 1.12;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-copy p { margin-top: 6px; }
.hero-meta { color: var(--mist); font-size: 11px; margin-top: 4px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-desc {
  color: rgba(255,255,255,0.78); font-size: 12px; line-height: 1.4; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 6px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero .hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1.12fr) minmax(0, 0.72fr);
  gap: 7px;
  margin-top: 12px;
}
.hero .hero-actions .btn {
  width: 100%; min-width: 0;
  padding: 9px 8px; font-size: 12px; font-weight: 800;
  gap: 5px; border-radius: 8px; white-space: nowrap;
}
.hero .hero-actions .btn svg,
.hero .hero-actions .btn ion-icon { width: 13px; height: 13px; flex-shrink: 0; }
.hero .hero-actions .btn span { overflow: hidden; text-overflow: ellipsis; }
.more-rest { display: none; }
.dots { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.dots button { height: 3px; border-radius: 99px; background: rgba(255,255,255,0.32); width: 12px; }
.dots button.on { width: 22px; background: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 11px 18px; font-size: 14px; font-weight: 800;
}
.btn.white { background: #fff; color: #000; }
.btn.ghost { background: rgba(255,255,255,0.14); color: #fff; backdrop-filter: blur(8px); }
.btn.sky { background: var(--sky); color: #111; }
.btn.full { width: 100%; }
.btn.lg { padding: 13px 18px; }

.row { margin: 18px 0; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter) 10px; }
.row-head h2 { font-size: 16px; font-weight: 800; min-width: 0; }
.row-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.view-all {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 5px 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,107,138,0.32);
  color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.view-all-mark {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal;
  background: linear-gradient(180deg, #ff9aad, var(--orangepink) 62%, #e85a78);
  color: #2a0d16;
  box-shadow: 0 4px 10px rgba(255,107,138,0.35);
}
.view-all-mark svg,
.view-all-mark ion-icon {
  width: 12px; height: 12px;
}
.view-all-mark svg {
  stroke: currentColor; fill: none; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.view-all:active { transform: scale(0.96); }
.row-scroll {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px var(--gutter) 14px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.row-scroll::-webkit-scrollbar { display: none; }
.row-btns { display: none; gap: 8px; }
.row-btns button {
  width: 32px; height: 32px; border-radius: 99px; background: rgba(255,255,255,0.1); font-size: 18px;
}

.card { flex: 0 0 108px; width: 108px; scroll-snap-align: start; scroll-margin-inline-start: var(--gutter); }
.card.fill { flex: none; width: 100%; }
.card.wide { flex: 0 0 min(74vw, 268px); width: min(74vw, 268px); }
.poster {
  position: relative; border-radius: 10px; overflow: hidden; background: var(--ink-card);
  aspect-ratio: 2/3;
}
.card.wide .poster { aspect-ratio: 16/9; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.card:hover .poster img { transform: scale(1.06); }
.media-skel {
  position: relative; display: block; overflow: hidden;
  width: 100%; height: 100%; background: #1c1e27;
}
.media-skel > img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.32s ease;
}
.media-skel > img.is-ready { opacity: 1; }
.skel {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #23252e 0%, #1a1c24 100%);
  overflow: hidden;
}
.skel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.09) 45%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.09) 55%, transparent 100%);
  transform: translateX(-100%);
  animation: skel-shine 1.15s ease-in-out infinite;
}
@keyframes skel-shine {
  100% { transform: translateX(100%); }
}
.media-skel.ready .skel { opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.poster .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 45%); }
.badge {
  position: absolute; left: 8px; top: 8px; border-radius: 6px;
  padding: 3px 7px; font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
}
.badge.live { background: var(--live); display: inline-flex; align-items: center; gap: 5px; }
.badge.premium { background: rgba(0,0,0,0.7); color: var(--gold); }
.badge.free { background: rgba(255,255,255,0.92); color: #000; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 0 rgba(255,45,85,0.7); animation: pulse 1.6s infinite; }
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255,45,85,0); }
}
.bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.25); overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, #1a8fff, #6ec1ff); }
.card h3 { font-size: 12px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card p { font-size: 10px; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 4px; scrollbar-width: none; }
.home-chips { padding: 8px var(--gutter) 0; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.1);
}
.chip.on { background: #fff; color: #000; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.live { grid-template-columns: 1fr; }

.live-tile {
  position: relative; overflow: hidden; border-radius: 18px; min-height: 180px;
  background: var(--ink-card);
}
.live-tile img, .live-tile .media-skel { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.live-tile .media-skel { position: absolute; inset: 0; }
.live-tile .copy {
  position: absolute; inset: auto 12px 12px; z-index: 1;
}
.live-tile:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 50%);
}

.search-page { overflow: visible; }
.search-float {
  position: relative;
  display: block;
  margin: 6px 0 4px;
  min-height: 56px;
}
.search-float .search-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  z-index: 2; width: 20px; height: 20px; color: var(--mist); pointer-events: none;
}
.search-float .search-ico svg,
.search-float .search-ico ion-icon { width: 20px; height: 20px; }
.search-float .search-ico svg { stroke: currentColor; fill: none; stroke-width: 1.8; }
.search-box {
  display: block; width: 100%; min-height: 56px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: #fff; border-radius: 16px;
  padding: 22px 44px 10px 44px; font-size: 16px; outline: none;
}
.search-box::placeholder { color: transparent; }
.search-float-label {
  position: absolute; left: 44px; right: 44px; top: 50%;
  transform: translateY(-50%);
  color: var(--mist); font-size: 16px; font-weight: 500;
  pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform-origin: left center;
  transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease;
}
.search-float:focus-within .search-box,
.search-float.has-value .search-box {
  border-color: rgba(232,195,74,0.55);
  box-shadow: 0 0 0 3px rgba(232,195,74,0.16);
}
.search-float:focus-within .search-float-label,
.search-float.has-value .search-float-label {
  top: 8px; transform: none; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--sky);
}
.search-float:focus-within .search-ico,
.search-float.has-value .search-ico { color: var(--sky); }
.search-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  z-index: 2; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 16px;
  display: grid; place-items: center;
}
.search-clear[hidden] { display: none !important; }
.muted { color: var(--mist); font-size: 14px; }
.empty { text-align: center; padding: 64px 16px; color: var(--mist); }

.detail-hero { position: relative; min-height: 0; overflow: hidden; background: #1c1e27; }
.detail-hero > .media-skel {
  position: relative; inset: auto;
  width: 100%; height: min(36vw, 176px);
  min-height: 148px; max-height: 176px;
}
.detail-hero > img {
  position: relative; inset: auto;
  width: 100%; height: min(36vw, 176px);
  min-height: 148px; max-height: 176px; object-fit: cover;
}
.detail-hero > .hero-mask {
  inset: auto; left: 0; right: 0; top: 0;
  height: min(36vw, 176px); min-height: 148px; max-height: 176px;
  background: linear-gradient(180deg, rgba(15,16,20,0.08) 0%, rgba(15,16,20,0.18) 48%, #0f1014 100%);
  pointer-events: none;
}
.detail-body > .media-skel {
  display: none; width: 168px; height: 252px; border-radius: 14px; flex-shrink: 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.detail-body {
  position: relative; z-index: 1;
  margin-top: 0; padding: 12px 14px 14px;
}
.detail-copy { min-width: 0; }
.detail-body .kicker { font-size: 9px; letter-spacing: 0.14em; margin-bottom: 2px; }
.detail-body h1 {
  font-size: 18px; font-weight: 800; line-height: 1.16; letter-spacing: -0.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.detail-body .hero-meta { font-size: 10px; margin-top: 3px !important; }
.detail-desc {
  max-width: 640px; margin-top: 6px;
  color: rgba(255,255,255,0.78); font-size: 11px; line-height: 1.35; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.detail-cast { margin-top: 4px; font-size: 10px; }
.detail-hero .hero-actions {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; margin-top: 10px;
}
.detail-hero .hero-actions .btn {
  width: 100%; min-width: 0; padding: 8px 8px;
  font-size: 11px; font-weight: 800; gap: 4px; border-radius: 8px;
  white-space: nowrap;
}
.detail-hero .hero-actions .btn.white { grid-column: 1 / -1; }
.btn-short { display: inline; }
.btn-full { display: none; }
.poster-lg { display: none; width: 168px; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { background: rgba(255,255,255,0.1); border-radius: 999px; padding: 3px 8px; font-size: 10px; }
.tag.gold { background: rgba(255,204,77,0.18); color: var(--gold); }

.hs-player {
  position: relative; background: #000; min-height: 100vh; min-height: 100dvh; width: 100%;
  overflow: hidden; user-select: none; touch-action: none;
}
.hs-player video#player {
  width: 100%; height: 100vh; height: 100dvh; object-fit: contain; background: #000; display: block;
  pointer-events: none; transition: filter 0.12s linear;
}
.hs-player.cover video#player { object-fit: cover; }
.hs-shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.hs-gestures { position: absolute; inset: 0; z-index: 3; touch-action: none; }
.hs-ui {
  position: absolute; inset: 0; z-index: 11; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 22%, transparent 38%),
    linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 28%, transparent 48%);
  opacity: 0; transition: opacity 0.22s ease;
}
.hs-ui.show { opacity: 1; }
.hs-ui.show .hs-ico, .hs-ui.show .hs-play, .hs-ui.show .hs-jump, .hs-ui.show .hs-bottom,
.hs-ui.show .hs-chip, .hs-ui.show .hs-next, .hs-ui.show .hs-top { pointer-events: auto; }
.hs-top {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}
.hs-ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}
.hs-ico svg,
.hs-ico ion-icon { width: 20px; height: 20px; }
.hs-ico.sm { width: 36px; height: 36px; }
.hs-ico[data-on="1"] { color: var(--gold); }
.hs-title { flex: 1; min-width: 0; padding: 0 6px; }
.hs-title small {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.14em;
}
.hs-title strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-title em { display: block; font-style: normal; font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.hs-mid {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw; pointer-events: none;
}
.hs-ui.show .hs-mid { pointer-events: none; }
.hs-ui.show .hs-mid .hs-play, .hs-ui.show .hs-mid .hs-jump { pointer-events: auto; }
.hs-play {
  width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
  color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 6px rgba(232,195,74,0.16);
}
.hs-play ion-icon { width: 32px; height: 32px; }
.hs-jump {
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(8, 10, 16, 0.48); color: #fff;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.hs-jump:hover {
  background: rgba(8, 10, 16, 0.7);
  border-color: rgba(232,195,74,0.45);
  transform: scale(1.06);
}
.hs-jump:active { transform: scale(0.94); }
.hs-skip-ico {
  width: 46px; height: 46px; display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.45));
}
.hs-skip-ico text {
  fill: currentColor;
  font-size: 13px;
  font-weight: 800;
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: -0.04em;
}
.hs-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 600;
}
.hs-bar {
  position: relative; flex: 1; height: 22px; display: flex; align-items: center; cursor: pointer;
}
.hs-bar::before {
  content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 99px;
  background: rgba(255,255,255,0.22);
}
.hs-buf, .hs-prog {
  position: absolute; left: 0; height: 4px; border-radius: 99px; pointer-events: none;
}
.hs-buf { background: rgba(255,255,255,0.38); width: 0; }
.hs-prog { background: linear-gradient(90deg, #f3d56a, #e8c34a); width: 0; box-shadow: 0 0 10px rgba(232,195,74,0.55); }
.hs-knob {
  position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%); left: 0;
  box-shadow: 0 0 0 4px rgba(232,195,74,0.28);
  pointer-events: none;
}
.hs-chip {
  min-width: 42px; height: 32px; padding: 0 10px; border-radius: 99px;
  background: rgba(255,255,255,0.1); color: #fff; font-weight: 800; font-size: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.hs-next {
  max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--sky); color: #111; font-size: 11px; font-weight: 800;
  border-radius: 99px; padding: 8px 12px;
}
.hs-next b { font-weight: 800; }
.hs-hud {
  position: absolute; top: 50%; left: 18px; transform: translateY(-50%);
  z-index: 5; display: none; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 12px; border-radius: 22px; background: rgba(8,8,12,0.62); color: #fff;
  pointer-events: none; backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08);
}
.hs-hud.right { left: auto; right: 18px; }
.hs-hud.show { display: flex; }
.hs-hud svg { width: 22px; height: 22px; color: var(--gold); }
.hs-hud-track {
  width: 6px; height: 128px; border-radius: 99px; background: rgba(255,255,255,0.16);
  overflow: hidden; display: flex; align-items: flex-end;
}
.hs-hud-track i { display: block; width: 100%; height: 50%; background: linear-gradient(0deg, #e8c34a, #fff3b0); }
.hs-hud-val { font-size: 11px; font-weight: 800; }
.hs-ripple {
  position: absolute; top: 50%; left: 8%; transform: translateY(-50%) scale(0.7);
  z-index: 5; opacity: 0; pointer-events: none;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px;
  background: radial-gradient(circle, rgba(255,255,255,0.22), rgba(255,255,255,0.05));
  border: 2px solid rgba(255,255,255,0.2);
}
.hs-ripple.right { left: auto; right: 8%; }
.hs-ripple.show { animation: hsRipple 0.62s ease; }
@keyframes hsRipple {
  0% { opacity: 0; transform: translateY(-50%) scale(0.7); }
  25% { opacity: 1; transform: translateY(-50%) scale(1.05); }
  100% { opacity: 0; transform: translateY(-50%) scale(1.25); }
}
.hs-seek-hud {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  z-index: 5; display: none; align-items: baseline; gap: 6px;
  padding: 12px 20px; border-radius: 16px; background: rgba(8,8,12,0.7);
  color: #fff; pointer-events: none; font-variant-numeric: tabular-nums;
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08);
}
.hs-seek-hud.show { display: flex; }
.hs-seek-hud strong { font-size: 26px; font-weight: 800; }
.hs-seek-hud span { font-size: 14px; color: rgba(255,255,255,0.65); }
.hs-speed {
  position: absolute; left: 50%; top: 16%; transform: translateX(-50%);
  z-index: 5; display: none; pointer-events: none;
  padding: 8px 18px; border-radius: 999px; background: var(--sky);
  color: #111; font-weight: 800; letter-spacing: 0.06em; box-shadow: 0 8px 24px rgba(232,195,74,0.35);
}
.hs-speed.show { display: block; }
.hs-spin {
  position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px;
  border: 3px solid rgba(255,255,255,0.2); border-top-color: var(--sky); border-radius: 50%;
  z-index: 6; animation: hsSpin 0.7s linear infinite;
}
@keyframes hsSpin { to { transform: rotate(360deg); } }
.hs-skip-intro {
  position: absolute; right: 18px; bottom: 78px; z-index: 6;
  background: rgba(0,0,0,0.65); color: #fff; font-weight: 800; font-size: 13px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 10px 14px;
  backdrop-filter: blur(10px);
}
.hs-menu {
  position: absolute; right: 12px; bottom: 72px; z-index: 7; width: min(280px, 86vw);
  background: rgba(16,16,22,0.96); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 14px; backdrop-filter: blur(16px);
  max-height: min(70dvh, 420px); overflow: auto;
}
.hs-menu p { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); margin-bottom: 10px; }
.hs-rates, .hs-quals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hs-quals { grid-template-columns: 1fr; }
.hs-rates button, .hs-quals button {
  background: rgba(255,255,255,0.07); border-radius: 12px; padding: 10px 12px;
  font-weight: 700; font-size: 13px; border: 1px solid transparent; text-align: left;
}
.hs-quals button { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hs-quals button small { font-weight: 600; color: var(--mist); font-size: 11px; }
.hs-rates button.on, .hs-quals button.on { background: rgba(232,195,74,0.18); color: var(--gold); border-color: rgba(232,195,74,0.4); }
.hs-chip.hd, #hsQualBtn { min-width: 48px; letter-spacing: 0.04em; }
.hs-rotate-hint {
  position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%);
  z-index: 6; padding: 8px 14px; border-radius: 99px;
  background: rgba(0,0,0,0.7); color: #fff; font-size: 12px; font-weight: 700;
  pointer-events: none; white-space: nowrap;
}
.hs-player.casting {
  background-color: #000; background-size: cover; background-position: center;
}
.hs-player.casting video { opacity: 0.18; }
.hs-player.ad-playing .hs-ui,
.hs-player.ad-playing .hs-gestures,
.hs-player.ad-playing .hs-skip-intro { visibility: hidden; pointer-events: none; }
.hs-player.ad-playing #player { opacity: 0; }
.reels.ad-playing .reel-side,
.reels.ad-playing .reel-meta,
.reels.ad-playing .reel-pp,
.reels.ad-playing .reel-bar { visibility: hidden; pointer-events: none; }
.reels.ad-playing .reels-top { z-index: 41; }
.reels.ad-playing .reels-mute,
.reels.ad-playing .reels-set { visibility: hidden; }
.yt-ad {
  position: absolute; inset: 0; z-index: 40;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  background: #000; color: #fff; overflow: hidden;
  box-sizing: border-box;
}
.yt-ad[hidden] { display: none !important; }
.yt-ad-vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  object-fit: contain; background: #000; pointer-events: none;
}
.yt-ad-art {
  position: absolute; inset: 0;
  background: #111 center/cover no-repeat;
  animation: ytAdKen 16s ease-in-out alternate infinite;
}
.yt-ad-art[hidden] { display: none !important; }
@keyframes ytAdKen {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.yt-ad-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.72) 0%, transparent 28%),
    linear-gradient(0deg, rgba(0,0,0,0.82) 0%, transparent 36%);
}
.yt-ad-top {
  position: absolute; left: max(8px, env(safe-area-inset-left, 0px));
  right: max(8px, env(safe-area-inset-right, 0px));
  top: calc(8px + env(safe-area-inset-top, 0px));
  z-index: 2; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 13px; font-weight: 700; max-width: 100%;
}
.yt-ad-pill {
  background: #facc15; color: #111; border-radius: 4px;
  padding: 3px 7px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  flex-shrink: 0;
}
.yt-ad-sponsor {
  opacity: 0.92; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: min(42vw, 220px);
}
.yt-ad-clock { margin-left: auto; opacity: 0.8; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.yt-ad-foot {
  position: absolute; left: max(8px, env(safe-area-inset-left, 0px));
  right: max(8px, env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 2; display: flex; align-items: flex-end; gap: 10px;
  max-width: 100%;
}
.yt-ad-copy { flex: 1; min-width: 0; }
.yt-ad-copy strong {
  display: block; font-size: clamp(13px, 2.4vw, 16px); letter-spacing: -0.02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.yt-ad-copy p {
  margin: 4px 0 0; font-size: clamp(11px, 2vw, 13px); color: rgba(255,255,255,0.75);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yt-ad-cta {
  flex-shrink: 0; background: #fff; color: #111; font-weight: 800;
  font-size: clamp(11px, 2vw, 13px);
  border-radius: 999px; padding: 8px 12px; text-decoration: none;
  white-space: nowrap; max-width: 42%; overflow: hidden; text-overflow: ellipsis;
}
.yt-ad-skip {
  position: absolute; right: 0; bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  z-index: 3; border: 0; border-radius: 4px 0 0 4px;
  background: rgba(18,18,18,0.92); color: #fff; font-weight: 800;
  font-size: clamp(12px, 2.2vw, 14px);
  padding: 10px 14px; min-width: 0; text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  max-width: min(46vw, 160px);
}
.yt-ad-must-tag {
  background: rgba(255,255,255,0.16); border-radius: 4px;
  padding: 3px 7px; font-size: 11px; font-weight: 700;
  white-space: nowrap;
}
.yt-ad-must-tag[hidden] { display: none !important; }
.yt-ad-skip[hidden] { display: none !important; }
.yt-ad-skip:disabled { opacity: 0.85; }
.yt-ad-skip:not(:disabled) { background: #fff; color: #111; }
.yt-ad-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.18);
}
.yt-ad-bar i { display: block; height: 100%; width: 0; background: #facc15; }
@media (max-width: 700px) {
  .yt-ad-top { font-size: 12px; }
  .yt-ad-foot { flex-wrap: wrap; gap: 8px; }
  .yt-ad-cta { max-width: 100%; }
  .yt-ad-skip { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); padding: 8px 12px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .yt-ad-top { top: 6px; gap: 4px; }
  .yt-ad-must-tag { display: none; }
  .yt-ad-copy p { display: none; }
  .yt-ad-foot { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .yt-ad-skip { bottom: calc(40px + env(safe-area-inset-bottom, 0px)); padding: 6px 10px; font-size: 12px; }
  .yt-ad-cta { padding: 6px 10px; }
}
.hs-cast-banner {
  position: absolute; left: 12px; right: 12px; top: calc(68px + env(safe-area-inset-top, 0px));
  z-index: 7; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 14px;
  background: rgba(12,12,16,0.88); color: #fff; font-size: 13px; font-weight: 700;
  border: 1px solid rgba(232,195,74,0.28); backdrop-filter: blur(12px);
}
.hs-cast-banner svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.hs-cast-banner span { flex: 1; }
.hs-cast-banner button {
  border: 0; background: rgba(255,255,255,0.12); color: #fff;
  border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 12px;
}
.hs-cast-sheet {
  position: absolute; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 12; background: #16171d; border-radius: 22px; padding: 18px 16px 14px;
  border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  max-height: 70dvh; overflow-y: auto;
}
.hs-cast-sheet h2 { font-size: 20px; margin-bottom: 4px; }
.hs-cast-sheet > p { color: var(--mist); font-size: 13px; margin-bottom: 14px; }
.hs-cast-opt {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 12px; margin-bottom: 8px; color: #fff;
}
.hs-cast-opt svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); }
.hs-cast-opt strong { display: block; font-size: 14px; }
.hs-cast-opt small { display: block; color: var(--mist); font-size: 12px; margin-top: 2px; }
.hs-cast-link {
  margin: 10px 0 12px; padding: 12px; border-radius: 14px;
  background: rgba(232,195,74,0.08); border: 1px solid rgba(232,195,74,0.2);
}
.hs-cast-link p { font-size: 12px; color: var(--mist); margin-bottom: 6px; }
.hs-cast-link code {
  display: block; font-size: 12px; color: #fff; word-break: break-all;
  line-height: 1.4; margin-bottom: 10px;
}
.hs-cast-link-actions { display: flex; gap: 8px; }
.hs-cast-sheet .muted { margin-top: 8px; }
.cast-go {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  transform: translate(-50%, -50%);
  border: 0; border-radius: 999px; padding: 14px 22px;
  background: linear-gradient(135deg, #e8c34a, #c9a227); color: #111;
  font-weight: 800; font-size: 16px;
}
.cast-go[hidden] { display: none !important; }
.cast-tv .cast-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(18px) brightness(0.45); transform: scale(1.08);
}
.cast-tv video {
  position: relative; z-index: 1; width: 100%; height: 100dvh; object-fit: contain; background: transparent;
}
.cast-tv-meta {
  position: absolute; left: 20px; bottom: 24px; z-index: 2; color: #fff;
  text-shadow: 0 8px 24px #000;
}
.cast-tv-meta img { width: 120px; display: block; margin-bottom: 8px; }
.cast-tv-meta p { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.cast-tv-meta strong { display: block; font-size: 22px; margin-top: 4px; }
.hs-error, .hs-end {
  position: absolute; inset: 0; z-index: 8; place-content: center; place-items: center;
  background: rgba(0,0,0,0.72); text-align: center; padding: 24px; gap: 10px;
  display: none !important;
  pointer-events: none;
}
.hs-error.is-on,
.hs-end.is-on {
  display: grid !important;
  pointer-events: auto;
}
.hs-error[hidden],
.hs-end[hidden] { display: none !important; }
.hs-cast-sheet[hidden], .hs-cast-banner[hidden], .hs-share-sheet[hidden], .hs-share-toast[hidden] { display: none !important; }

.hs-share-sheet {
  position: absolute; inset: 0; z-index: 20;
  display: grid; place-items: end center;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
}
body > .hs-share-sheet {
  position: fixed; z-index: 80;
  background: rgba(0,0,0,0.45);
}
.hs-share-dismiss {
  position: absolute; inset: 0; border: 0; background: rgba(0,0,0,0.45);
}
.hs-share-card {
  position: relative; z-index: 1; width: min(420px, 100%);
  background: #12141b; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  max-height: 88dvh; overflow-y: auto;
}
.hs-share-hero {
  position: relative; height: 210px;
  background: #000;
}
.hs-share-back {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(10px) brightness(0.45); transform: scale(1.12);
}
.hs-share-poster {
  position: absolute; left: 18px; bottom: -28px; z-index: 2;
  width: 92px; height: 138px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(232,195,74,0.45);
}
.hs-share-brand {
  position: absolute; right: 16px; top: 14px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  color: #e8c34a; font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hs-share-brand img {
  width: 28px; height: 28px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(232,195,74,0.4);
}
.hs-share-body { padding: 40px 18px 18px; color: #fff; }
.hs-share-body small {
  color: #e8c34a; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.hs-share-body h2 {
  font-size: 22px; letter-spacing: -0.03em; margin: 6px 0 8px; line-height: 1.15;
}
.hs-share-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 700;
}
.hs-share-meta b {
  background: linear-gradient(180deg, #f4e19a, #d4ae3a); color: #161208;
  border-radius: 999px; padding: 3px 9px; font-size: 12px;
}
.hs-share-meta i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.hs-share-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; }
.hs-share-tags span {
  border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 700;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.86);
}
.hs-share-line, .hs-share-desc, .hs-share-cast {
  color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.45; margin-top: 8px;
}
.hs-share-desc {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.hs-share-cast span { color: #e8c34a; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }
.hs-share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.hs-share-btn {
  border-radius: 12px; padding: 12px 10px; font-weight: 800; font-size: 13px;
  background: rgba(255,255,255,0.08); color: #fff;
}
.hs-share-btn.gold {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #f4e19a, #d4ae3a); color: #161208;
}
.hs-share-btn.wa { background: #128c7e; }
.hs-share-toast {
  position: absolute; left: 50%; bottom: 28px; z-index: 22;
  transform: translateX(-50%);
  background: #16181f; color: #fff; border-radius: 999px;
  padding: 10px 16px; font-weight: 700; font-size: 13px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
body > .hs-share-toast { position: fixed; }
.hs-end-actions { display: flex; gap: 10px; margin-top: 8px; }
.hs-end-row { display: flex; gap: 10px; margin-top: 22px; max-width: 92vw; overflow: auto; }
.hs-end-row a { width: 92px; flex-shrink: 0; }
.hs-end-row img { width: 92px; height: 128px; object-fit: cover; border-radius: 10px; opacity: 1; filter: none; }
.hs-end-row span { display: none; }
.player-wrap video { width: 100%; height: 56vw; min-height: 220px; max-height: 100dvh; background: #000; }
.player-top {
  position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between;
  padding: 16px; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}
.paywall { display: none !important; }
.hidden { display: none !important; }
.sheet {
  max-width: 420px; background: var(--ink-soft); border-radius: 24px; padding: 24px; text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.profile {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: auto;
  padding: 12px 6px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.profile strong { font-size: 13px; letter-spacing: -0.03em; }
.profile small {
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--mist);
}
.profile .face {
  position: relative;
  width: 74px; height: 74px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0;
  border: 0;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.16);
}
.face-you { background: radial-gradient(circle at 30% 24%, #6aa7ff, #1548d4 58%, #0b2a7a); }
.face-kids { background: radial-gradient(circle at 30% 24%, #ffc078, #ff7a32 54%, #d44812); }
.face-family { background: radial-gradient(circle at 30% 24%, #c4b5fd, #7c5cff 56%, #4c2ad4); }
.seat-mark { width: 46px; height: 46px; }
.seat-mark .ink { fill: #fff; }
.seat-mark .ink.fade { fill: rgba(255,255,255,0.5); }
.seat-mark .gold { fill: #f3d56a; }
.seat-mark .play { fill: #1a160c; }
.seat-mark .line {
  fill: none; stroke: #fff; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.seat-pip {
  position: absolute; right: -2px; bottom: -2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f4e19a, #e8c34a);
  box-shadow: 0 0 0 3px #0f1014;
  display: none;
}
.seat-pip::after {
  content: "";
  position: absolute; left: 7px; top: 4px;
  width: 5px; height: 9px;
  border: 2.2px solid #1a160c;
  border-top: 0; border-left: 0;
  transform: rotate(40deg);
}
.profile.on {
  background: linear-gradient(180deg, rgba(232,195,74,0.16), rgba(255,255,255,0.03));
  border-color: rgba(232,195,74,0.48);
}
.profile.on .face {
  box-shadow: 0 0 0 3px #0f1014, 0 0 0 6px var(--gold), 0 12px 28px rgba(232,195,74,0.38);
}
.profile.on .seat-pip { display: block; }
.profile.on small { color: var(--gold); }
.profile:active { transform: scale(0.97); }
.info-grid { display: grid; gap: 10px; margin-top: 22px; }
.info-tile {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center; gap: 12px;
  background: var(--ink-card);
  border-radius: 18px; padding: 14px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.06);
}
.info-tile small { color: var(--mist); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.info-tile strong { display: block; font-size: 16px; margin: 3px 0 0; }
.info-tile b { color: var(--sky); font-size: 12px; }
.info-mark {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(232,195,74,0.22), rgba(255,255,255,0.04));
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(232,195,74,0.22);
}
.info-mark svg,
.info-mark ion-icon {
  width: 20px; height: 20px;
}
.info-mark svg {
  stroke: currentColor; fill: none;
  stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round;
}

.plan-grid { display: grid; gap: 14px; margin-top: 28px; }
.plan {
  background: var(--ink-card); border-radius: 24px; padding: 20px;
  border: 1px solid rgba(255,255,255,0.1); position: relative;
}
.plan.popular { border-color: var(--sky); }
.plan.current { box-shadow: 0 0 0 1px rgba(232,195,74,0.45); }
.plan button:disabled { opacity: 0.7; cursor: default; }
.pay-note { color: var(--mist); font-size: 13px; margin-top: 18px; }
.pay-status { min-height: 1.3em; margin-top: 10px; color: #ffb4b4; font-weight: 700; }
.pay-status.ok { color: #7dffa8; }
.popular-tag {
  position: absolute; top: -12px; left: 20px; background: var(--sky);
  border-radius: 99px; padding: 4px 10px; font-size: 11px; font-weight: 800;
}
.plan h2 { font-size: 22px; }
.price { font-size: 32px; font-weight: 800; margin: 8px 0; }
.price span { font-size: 14px; font-weight: 500; color: var(--mist); }
.plan ul { margin: 16px 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.plan li::before { content: "✓ "; color: var(--sky); }

.qr-card, .wallet-card, .brand-hero {
  margin-top: 18px;
  padding: 22px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.qr-frame {
  width: 196px; height: 196px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
}
.qr-frame i { display: block; border-radius: 2px; background: #e8e8ee; }
.qr-frame i.on { background: #111218; }
.qr-card strong, .wallet-card strong { display: block; font-size: 22px; margin-bottom: 6px; }
.wallet-card strong { font-size: 34px; letter-spacing: -0.03em; }
.wallet-card small { color: var(--mist); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.wallet-card p { color: var(--mist); margin: 8px 0 16px; }
.wallet-card .btn { display: inline-flex; }
.brand-hero { display: grid; justify-items: center; gap: 10px; }
.brand-hero p { color: var(--mist); max-width: 320px; }

.form { display: grid; gap: 14px; max-width: 440px; }
.form label { font-size: 14px; display: grid; gap: 6px; }
.form input {
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.07);
  color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 16px;
}
.hubs { display: grid; gap: 12px; margin-top: 20px; }
.hub { position: relative; overflow: hidden; border-radius: 18px; min-height: 140px; }
.hub img, .hub .media-skel { width: 100%; height: 140px; object-fit: cover; }
.hub h2 { position: absolute; left: 14px; bottom: 12px; font-size: 22px; z-index: 1; }
.hub:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); }

.cat-page {
  position: relative;
  overflow: hidden;
  padding-top: 8px;
}
.cat-page::before,
.cat-page::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}
.cat-page::before {
  top: -90px; left: -50px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(232,195,74,0.22), transparent 68%);
}
.cat-page::after {
  top: 28px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,107,138,0.18), transparent 70%);
}
.cat-page > * { position: relative; z-index: 1; }

.atlas { padding: 2px 0 2px; }
.atlas-eye {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}
.atlas h1 {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
}
.atlas-sub {
  max-width: 280px;
  margin-top: 6px;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.4;
}
.atlas-orbs { display: flex; gap: 6px; margin-top: 8px; }
.atlas-orbs i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(232,195,74,0.6);
}
.atlas-orbs i:nth-child(2) { background: var(--orangepink); box-shadow: 0 0 10px rgba(255,107,138,0.7); }
.atlas-orbs i:nth-child(3) { background: #7ee0c8; box-shadow: 0 0 10px rgba(126,224,200,0.55); }
.atlas-orbs i:nth-child(4) { background: #c4b5fd; box-shadow: 0 0 10px rgba(196,181,253,0.55); }

.worlds {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: 148px 120px 118px;
  gap: 10px;
  margin-top: 18px;
}
.world {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 14px 32px rgba(0,0,0,0.38);
  isolation: isolate;
}
.world-0 { grid-area: 1 / 1 / 3 / 2; border-radius: 26px; }
.world-1 { grid-area: 1 / 2 / 2 / 3; }
.world-2 { grid-area: 2 / 2 / 3 / 3; }
.world-3 { grid-area: 3 / 1 / 4 / 3; }
.world > .media-skel {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.world > .media-skel img {
  animation: world-drift 16s ease-in-out infinite alternate;
}
.world::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.42) 48%, rgba(0,0,0,0.18) 100%);
}
.world::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(232,195,74,0.22);
}
.world-0::after { box-shadow: inset 0 0 0 1px rgba(255,107,138,0.32), inset 0 -40px 50px rgba(255,107,138,0.12); }
.world-no {
  position: absolute; right: 8px; top: 6px; z-index: 2;
  font-size: 36px; font-weight: 800; letter-spacing: -0.08em; line-height: 1;
  color: rgba(255,255,255,0.16); pointer-events: none;
}
.world-0 .world-no { font-size: 52px; right: 6px; top: 8px; }
.world-meta {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.world-meta small {
  display: block;
  font-size: 9px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.world-meta h2 {
  margin-top: 2px;
  font-size: 16px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
.world-0 .world-meta h2 { font-size: 18px; }
.world-3 .world-meta h2 { font-size: 17px; }
.world-meta p {
  margin-top: 3px;
  font-size: 11px; color: rgba(255,255,255,0.72);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.world-1 .world-meta p,
.world-2 .world-meta p,
.world-1 .world-go,
.world-2 .world-go { display: none; }
.world-go {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px;
  height: 24px; padding: 0 8px 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4e19a, #e8c34a);
  color: #1a160c;
  font-size: 10px; font-weight: 800;
}
.world-go svg,
.cat-frame-head a svg,
.genre-tile i svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.world:active { transform: scale(0.985); }

.cat-frame { margin-top: 26px; }
.cat-frame-head,
.moods-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.cat-frame-head p,
.moods-head p {
  font-size: 10px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orangepink);
}
.cat-frame-head h2,
.moods-head h2 {
  margin-top: 2px;
  font-size: 18px; font-weight: 800; letter-spacing: -0.03em;
}
.cat-frame-head a {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 800; color: var(--gold);
}
.cat-frame-row {
  display: flex; gap: 14px;
  overflow-x: auto;
  padding: 16px 4px 22px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.cat-frame-row::-webkit-scrollbar { display: none; }
.frame-card {
  flex: 0 0 92px;
  transform: rotate(var(--tilt, -4deg));
  scroll-snap-align: start;
}
.frame-card .media-skel {
  width: 92px; height: 126px;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.42), 0 0 0 1px rgba(232,195,74,0.28);
}
.frame-card em {
  display: block;
  margin-top: 8px;
  font-style: normal; font-size: 11px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: rgba(255,255,255,0.82);
}

.moods { margin-top: 10px; }
.genre-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.genre-tile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px 8px 10px;
  border-radius: 999px;
  text-align: left;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.45);
}
.genre-tile::before { display: none; }
.genre-lead { grid-column: auto; min-height: 40px; padding-right: 12px; }
.genre-lead span { font-size: 13px; }
.genre-tile b {
  font-size: 10px; letter-spacing: 0.08em;
  color: var(--gold);
}
.genre-tile span { font-size: 13px; letter-spacing: -0.02em; color: #fff; }
.genre-tile i { display: none; }
.genre-tile.tone-0,
.genre-tile.tone-1,
.genre-tile.tone-2,
.genre-tile.tone-3,
.genre-tile.tone-4,
.genre-tile.tone-5 {
  color: #fff;
  background: rgba(12,12,16,0.72);
  border-color: rgba(255,255,255,0.12);
}
.genre-tile:active { transform: scale(0.98); }

@keyframes world-drift {
  from { transform: scale(1.04) translate(-1.2%, -0.8%); }
  to { transform: scale(1.16) translate(1.6%, 1%); }
}
@media (prefers-reduced-motion: reduce) {
  .world > .media-skel img,
  .world:active,
  .genre-tile:active { animation: none; transform: none; }
}

.bottom-nav {
  --bn-bar: #1c1e24;
  --bn-fab: #019d9d;
  --bn-x: calc((var(--bn-i, 0) + 0.5) * 20%);
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  height: calc(78px + env(safe-area-inset-bottom, 0px));
  padding: 18px 2px calc(10px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  background: var(--bn-bar);
  box-shadow: 0 -10px 28px rgba(0,0,0,0.4);
  overflow: visible;
}
.bn-cut,
.bn-lift {
  position: absolute;
  left: var(--bn-x);
  transform: translateX(-50%);
  pointer-events: none;
  transition: left 0.42s cubic-bezier(0.22, 1.05, 0.36, 1);
}
.bottom-nav.bn-snap .bn-cut,
.bottom-nav.bn-snap .bn-lift { transition: none; }
.bottom-nav.bn-off .bn-cut,
.bottom-nav.bn-off .bn-lift { opacity: 0; }
.bn-cut {
  width: 74px; height: 74px;
  top: -37px;
  border-radius: 50%;
  background: var(--ink);
  z-index: 0;
}
.bn-lift {
  width: 52px; height: 52px;
  top: -26px;
  border-radius: 50%;
  z-index: 2;
  background: var(--bn-fab);
  box-shadow: 0 10px 20px rgba(1, 157, 157, 0.42);
}
.bottom-nav a {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  height: 100%;
  padding-bottom: 4px;
  color: #f4f6fb;
}
.bn-ico {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: #fff;
  flex: 0 0 28px;
  transition: transform 0.42s cubic-bezier(0.22, 1.05, 0.36, 1), color 0.2s ease;
}
.bn-ico ion-icon {
  width: 22px; height: 22px;
  pointer-events: none;
  color: #fff;
}
.bn-lbl {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0 2px;
  color: #f4f6fb;
  transition: color 0.2s ease;
}
.bottom-nav a.active .bn-ico {
  transform: translateY(-30px);
  color: #fff;
  z-index: 4;
}
.bottom-nav a.active .bn-ico ion-icon {
  width: 24px; height: 24px;
}
.bottom-nav a.active .bn-lbl { color: var(--bn-fab); }
.bottom-nav a:active .bn-ico { transform: scale(0.92); }
.bottom-nav a.active:active .bn-ico { transform: translateY(-30px) scale(0.96); }
@media (prefers-reduced-motion: reduce) {
  .bn-cut, .bn-lift, .bn-ico, .bn-lbl { transition: none !important; animation: none !important; }
}

.cat-rail {
  position: relative;
  padding: 0;
}
.cat-rail::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255,255,255,0.08);
}
.cat-strip {
  position: relative;
  display: flex; gap: 2px; overflow-x: auto;
  padding: 2px var(--gutter) 0;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 18px), transparent 100%);
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-ink {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  height: 3px;
  width: 28px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff9aad, var(--orangepink), #ffb36a);
  box-shadow: 0 0 14px rgba(255,107,138,0.7), 0 0 2px #ff6b8a;
  pointer-events: none;
  transform: translate3d(0,0,0);
  transition: transform 0.46s cubic-bezier(0.22, 1.18, 0.36, 1), width 0.46s cubic-bezier(0.22, 1.18, 0.36, 1);
}
.cat-strip a {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px;
  padding: 10px 13px 12px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: rgba(255,255,255,0.46);
  border-bottom: 3px solid transparent;
  transition: color 0.28s ease, text-shadow 0.28s ease;
}
.cat-strip a.on {
  color: #fff;
  text-shadow: 0 0 16px rgba(255,107,138,0.32);
}
.cat-strip a.on::before {
  content: "";
  position: absolute;
  inset: 7px 5px 10px;
  border-radius: 11px;
  background: rgba(255,107,138,0.16);
  pointer-events: none;
  animation: cat-glow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cat-strip a.cat-pop { animation: cat-pop 0.42s cubic-bezier(0.22, 1.35, 0.36, 1); }
.cat-strip a.cat-tap { animation: cat-tap 0.28s cubic-bezier(0.22, 0.8, 0.36, 1); }
.cat-ripple {
  position: absolute;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,138,0.55) 0%, rgba(255,179,106,0.12) 42%, transparent 70%);
  pointer-events: none;
  animation: cat-ripple 0.58s ease-out forwards;
}
.main.cat-enter { animation: cat-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes cat-pop {
  0% { transform: scale(0.86); }
  58% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
@keyframes cat-tap {
  0% { transform: scale(1); }
  38% { transform: scale(0.88); }
  100% { transform: scale(1); }
}
@keyframes cat-ripple {
  0% { transform: scale(0.3); opacity: 0.95; }
  100% { transform: scale(16); opacity: 0; }
}
@keyframes cat-glow {
  0% { opacity: 0; transform: scale(0.62); }
  48% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes cat-enter {
  from { opacity: 0.28; transform: translateY(18px) scale(0.985); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cat-ink, .cat-strip a, .main.cat-enter { transition: none !important; animation: none !important; }
}

.float-dock {
  position: fixed; z-index: 49;
  left: 50%; right: auto;
  width: max-content;
  max-width: calc(100vw - 72px);
  bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(36, 42, 92, 0.92), rgba(16, 20, 48, 0.94));
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  transition: transform 0.32s cubic-bezier(0.22, 0.7, 0.25, 1), opacity 0.28s ease;
  will-change: transform, opacity;
}
.float-dock.is-hidden {
  transform: translateX(-50%) translateY(calc(100% + 28px));
  opacity: 0;
  pointer-events: none;
}
.float-dock a {
  position: relative;
  padding: 3px 8px;
  font-size: 11px; font-weight: 800;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
}
.float-dock a.on { color: var(--sky-bright); }
.dock-pipe {
  width: 1px; height: 13px; background: rgba(255,255,255,0.28); flex-shrink: 0;
}
.dock-up {
  margin: 0 8px 0 4px; font-size: 11px; opacity: 0.7; line-height: 1;
}
.sd-pro {
  position: absolute; top: -8px; right: 2px;
  font-size: 8px; font-style: normal; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #1a160c; background: linear-gradient(180deg, #f6e6a4, #e8c34a);
  border-radius: 99px; padding: 1px 5px; line-height: 1.4;
}
.hub-meta {
  position: absolute; left: 14px; bottom: 12px; z-index: 1;
}
.hub-meta span { font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.style-hubs .hub img, .style-hubs .hub .media-skel { height: 168px; }
.style-hubs .hub h2 { position: static; font-size: 26px; margin-top: 4px; }
.desktop-only { display: none; }

.episodes { display: grid; gap: 10px; padding: 8px 16px 28px; }
.episode {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  background: var(--ink-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 12px 14px; text-align: left;
}
.episode .n { font-weight: 800; color: var(--sky); }
.episode h3 { font-size: 14px; }
.episode p { font-size: 12px; color: var(--mist); margin-top: 2px; }
.ep-stage { padding: 8px 16px 32px; }
.ep-head { margin-bottom: 14px; }
.ep-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.ep-head h2 { font-size: 22px; margin: 0 0 4px; }
.ep-head p { color: var(--mist); font-size: 13px; }
.ep-list { display: grid; gap: 12px; }
.ep-card {
  display: grid; grid-template-columns: 148px 1fr auto; gap: 12px; align-items: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; overflow: hidden; text-align: left; color: inherit;
}
.ep-card:hover { background: rgba(255,255,255,.08); }
.ep-card.on { box-shadow: inset 0 0 0 2px var(--gold); }
.ep-thumb { position: relative; display: block; width: 148px; height: 84px; background: #111; }
.ep-thumb img, .ep-thumb .media-skel { width: 148px; height: 84px; object-fit: cover; display: block; }
.ep-thumb b {
  position: absolute; left: 8px; bottom: 8px;
  background: rgba(0,0,0,.72); color: #fff; font-size: 11px; font-weight: 800;
  padding: 2px 7px; border-radius: 999px;
}
.ep-copy { min-width: 0; padding: 8px 0; }
.ep-copy small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.ep-copy strong { display: block; font-size: 15px; margin-top: 2px; }
.ep-copy em { display: block; font-size: 12px; color: var(--mist); font-style: normal; margin-top: 3px; }
.ep-go {
  margin-right: 12px; font-size: 12px; font-weight: 800;
  background: #fff; color: #111; border-radius: 999px; padding: 8px 14px;
}
.hs-ui.show .hs-ep-rail { pointer-events: auto; }
.hs-ep-rail {
  display: none; gap: 8px; overflow-x: auto; width: 100%;
  padding: 2px 12px 12px; scrollbar-width: thin;
}
.hs-ui.show .hs-ep-rail { display: flex; }
.hs-ep-rail a {
  flex: 0 0 92px; color: #fff; text-align: center; font-size: 11px; font-weight: 800;
}
.hs-ep-rail img { width: 92px; height: 54px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 4px; opacity: .78; }
.hs-ep-rail a.on img { opacity: 1; box-shadow: 0 0 0 2px #fff; }
@media (min-width: 1024px) {
  .episodes, .ep-stage { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 640px) {
  .ep-card { grid-template-columns: 112px 1fr; }
  .ep-thumb, .ep-thumb img, .ep-thumb .media-skel { width: 112px; height: 64px; }
  .ep-go { display: none; }
}

.splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: #07080c;
  overflow: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.splash-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,14,0.28) 0%, rgba(5,8,14,0.45) 48%, rgba(5,6,10,0.72) 100%),
    url("../img/hero-1.jpg") center 42% / cover no-repeat;
}
.splash.is-done {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.splash-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(232,195,74,0.14), transparent 58%),
    linear-gradient(180deg, rgba(5,6,10,0.15) 0%, rgba(5,6,10,0.35) 55%, rgba(5,6,10,0.72) 100%);
}
.splash-rays {
  position: absolute; inset: -20%;
  background: repeating-conic-gradient(from 0deg at 50% 48%, rgba(232,195,74,0.045) 0deg 6deg, transparent 6deg 18deg);
  animation: splash-spin 28s linear infinite;
  opacity: 0.45;
  mask-image: radial-gradient(circle at 50% 48%, #000 0%, transparent 62%);
}
.splash-grain {
  position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}
.splash-stage {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: min(440px, 94vw); text-align: center;
  height: auto; max-height: none; box-sizing: border-box;
  transform-origin: center center;
  padding: max(8px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom));
  gap: clamp(2px, 0.6dvh, 8px);
}
.splash-glow {
  position: absolute; top: 2%; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,195,74,0.4), rgba(232,195,74,0) 70%);
  filter: blur(10px); animation: splash-breathe 2.8s ease-in-out infinite;
  pointer-events: none;
}
.splash-mark-orbit {
  position: relative;
  width: clamp(52px, 9dvh, 72px); height: clamp(52px, 9dvh, 72px);
  margin-bottom: 0;
  display: grid; place-items: center; flex: 0 0 auto;
}
.splash-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(232,195,74,0.28);
  animation: splash-ring 2.8s ease-out infinite;
}
.splash-ring.b {
  inset: 10px; animation-delay: 0.9s; border-color: rgba(255,45,85,0.28);
}
.splash-spark {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: #fff3c4; box-shadow: 0 0 12px #e8c34a;
  animation: splash-orbit 3.2s linear infinite;
}
.splash-mark-wrap {
  width: 68%; height: 68%; border-radius: 50%;
  overflow: hidden; position: relative; z-index: 1;
  border: 2px solid rgba(232,195,74,0.85);
  box-shadow: 0 0 0 6px rgba(232,195,74,0.12), 0 0 32px rgba(232,195,74,0.35);
  animation: splash-mark-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.splash-mark {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: splash-mark-spin 12s linear infinite;
}
.splash-wordmark-wrap {
  position: relative; display: inline-block; overflow: hidden;
  animation: splash-word-in 1s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.splash-wordmark {
  width: min(148px, 40vw); height: auto; display: block;
}
.splash-sections {
  width: min(360px, 92vw);
  margin-top: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(4px, 0.7dvh, 8px);
  min-height: 0;
}
.splash-posters {
  display: flex; gap: 8px; justify-content: center;
  width: 100%; margin-bottom: 0;
  animation: splash-word-in 0.8s 0.35s both;
}
.splash-film {
  display: block; flex: 1 1 0; max-width: 78px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(232,195,74,0.55);
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}
.splash-posters img {
  width: 100%; height: clamp(56px, 10dvh, 78px); object-fit: cover; display: block;
}
.splash-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 132px; padding: 7px 18px; border-radius: 999px;
  background: radial-gradient(circle at 50% 30%, #2a3f73, #12182c 70%);
  color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  animation: splash-word-in 0.7s 0.5s both;
}
.splash-pill-news { animation-delay: 0.85s; }
.splash-originals {
  width: 100%;
  display: grid; justify-items: center; gap: 1px;
  padding: clamp(8px, 1.2dvh, 12px) 12px clamp(7px, 1dvh, 10px);
  border-radius: 16px;
  text-decoration: none; color: #f6e7a8;
  background:
    linear-gradient(180deg, rgba(40,28,8,0.2), rgba(8,8,10,0.55)),
    linear-gradient(90deg, #1a1408, #3a2c10 40%, #1a1408);
  border: 1px solid rgba(232,195,74,0.7);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 12px 28px rgba(0,0,0,0.35), inset 0 0 24px rgba(232,195,74,0.12);
  animation: splash-sec-in 0.7s 0.62s both;
}
.splash-originals strong {
  font-size: clamp(16px, 2.4dvh, 20px); letter-spacing: 0.04em; text-transform: uppercase;
  color: #f3d56a; text-shadow: 0 2px 0 #5a4310;
}
.splash-originals small { color: rgba(243,213,106,0.82); font-size: clamp(10px, 1.5dvh, 12px); }
.splash-sec {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  text-align: left; text-decoration: none; color: #f6e7a8;
  padding: clamp(4px, 0.7dvh, 8px) 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #14120e, #0b0b0d);
  border: 1px solid rgba(232,195,74,0.75);
  box-shadow: 0 10px 22px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(232,195,74,0.15);
  animation: splash-sec-in 0.65s both;
}
.splash-sec:nth-of-type(1) { animation-delay: 0.95s; }
.splash-sections .splash-sec:nth-child(4) { animation-delay: 1.05s; }
.splash-sections .splash-sec:nth-child(5) { animation-delay: 1.2s; }
.splash-sections .splash-sec:nth-child(6) { animation-delay: 1.35s; }
.splash-sec strong { display: block; font-size: clamp(15px, 2.2dvh, 18px); color: #f0d56a; letter-spacing: -0.02em; }
.splash-sec small { display: block; color: rgba(240,213,106,0.78); font-size: clamp(10px, 1.5dvh, 12px); margin-top: 1px; }
.splash-sec-ico {
  flex: 0 0 clamp(34px, 5dvh, 42px); width: clamp(34px, 5dvh, 42px); height: clamp(34px, 5dvh, 42px); border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #ffe38a, #c4962a 55%, #6d5212);
  box-shadow: inset 0 0 0 2px rgba(90,60,10,0.35);
}
.splash-sec-ico svg { width: 24px; height: 24px; fill: #1a1408; }
.splash-originals:hover, .splash-sec:hover {
  transform: translateY(-2px);
  border-color: #ffe7a0;
}
@keyframes splash-sec-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.splash-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,236,170,0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: splash-shimmer 2.2s 0.7s ease-in-out infinite;
  mix-blend-mode: screen;
}
.splash-tagline {
  margin-top: 18px; color: rgba(232,195,74,0.78);
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: splash-word-in 1s 0.4s both;
}
.splash-progress {
  width: min(220px, 64vw); height: 3px; margin-top: 28px;
  border-radius: 99px; background: rgba(255,255,255,0.16); overflow: hidden;
  animation: splash-word-in 0.8s 0.55s both;
}
.splash-progress-bar {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #8a6a1a, #e8c34a, #fff3c4);
  box-shadow: 0 0 14px rgba(232,195,74,0.85);
  animation: splash-load 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes splash-mark-in {
  from { opacity: 0; transform: scale(0.55) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes splash-mark-spin {
  from { transform: scale(1.04); }
  50% { transform: scale(1); }
  to { transform: scale(1.04); }
}
@keyframes splash-ring {
  0% { transform: scale(0.72); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes splash-orbit {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
.splash-spark {
  offset-path: path("M74,10 A64,64 0 1,1 73.9,10");
  offset-rotate: 0deg;
}
@keyframes splash-word-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes splash-shimmer {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}
@keyframes splash-breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes splash-spin { to { transform: rotate(360deg); } }
@keyframes splash-load {
  0% { width: 0; }
  70% { width: 86%; }
  100% { width: 100%; }
}
@media (min-width: 1024px) {
  .splash-stage { width: min(420px, 92vw); }
  .splash-wordmark { width: 160px; }
}
@media (max-height: 700px) {
  .splash-glow { display: none; }
  .splash-posters img { height: 68px; }
  .splash-pill { padding: 4px 14px; font-size: 12px; min-width: 108px; }
}
.photo-stage {
  width: 100%; height: 56vw; min-height: 280px; max-height: 100dvh;
  object-fit: contain; background: #000; display: block;
}
@media (min-width: 1024px) {
  .photo-stage { height: 100dvh; }
}
.admin-form { display: grid; gap: 12px; max-width: 640px; }
.admin-form input, .admin-form select, .admin-form textarea {
  width: 100%; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.07);
  color: #fff; border-radius: 12px; padding: 11px 12px; font-size: 15px; font-family: inherit;
}
.admin-form textarea { min-height: 88px; resize: vertical; }
.admin-form .row2 { display: grid; gap: 12px; }
@media (min-width: 640px) { .admin-form .row2 { grid-template-columns: 1fr 1fr; } }
.admin-tabs { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.admin-tabs button { border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,0.08); font-weight: 700; font-size: 13px; }
.admin-tabs button.on { background: #fff; color: #000; }
.admin-panel { display: none; }
.admin-panel.on { display: block; }
.admin-list { display: grid; gap: 10px; margin-top: 20px; max-width: 820px; }
.admin-ep { display: flex; gap: 12px; align-items: center; background: var(--ink-card); border-radius: 14px; padding: 12px; }
.admin-ep img { width: 56px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.admin-ep .grow { flex: 1; min-width: 0; }
.file-hint { font-size: 12px; color: var(--mist); margin-top: 4px; }
.admin-login-error { color: #ff8b8b; font-size: 13px; min-height: 1.2em; margin: 8px 0 4px; }
.admin-cred {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center;
  margin: 18px 0 0; padding: 14px 16px; border-radius: 16px;
  background: rgba(255,215,128,0.08); border: 1px solid rgba(255,215,128,0.22); max-width: 420px;
}
.admin-cred span { font-size: 12px; color: var(--mist); }
.admin-cred strong { font-size: 15px; letter-spacing: 0.02em; }
.admin-stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 16px;
}
.admin-stat {
  background: var(--ink-card); border-radius: 14px; padding: 12px 8px; text-align: center;
}
.admin-stat b { display: block; font-size: 20px; }
.admin-stat span { font-size: 11px; color: var(--mist); }
@media (max-width: 640px) {
  .admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.admin-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px;
  margin-top: 20px; max-width: 820px;
}
.admin-thumb {
  background: var(--ink-card); border-radius: 14px; padding: 8px; display: grid; gap: 6px;
}
.admin-thumb img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; }
.admin-thumb strong { font-size: 13px; }
.admin-thumb span { font-size: 11px; color: var(--mist); text-transform: capitalize; }
.admin-thumb button { border: 0; background: transparent; color: #ffb4b4; font-weight: 700; font-size: 12px; }
.admin-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.admin-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px 8px 12px;
  border-radius: 999px; background: rgba(255,255,255,0.08); font-size: 13px; font-weight: 600;
}
.admin-chip button { border: 0; background: transparent; color: #ffb4b4; font-size: 16px; line-height: 1; padding: 0 2px; }

.os-rail { margin-top: 8px; }
.os-rail-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px 0 8px;
  scroll-snap-type: x mandatory;
}
.os-rail-card {
  position: relative; flex: 0 0 148px; width: 148px; height: 230px;
  border-radius: 16px; overflow: hidden; scroll-snap-align: start;
  background: #14151c; color: #fff; display: block;
}
.os-rail-card img, .os-rail-fallback {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.os-rail-fallback {
  display: grid; place-items: center; background: linear-gradient(180deg, #2a2318, #0f1014);
  color: #e8c34a;
}
.os-rail-play {
  position: absolute; left: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,0.45); color: #fff;
}
.os-rail-play svg, .os-rail-play ion-icon { width: 14px; height: 14px; }
.os-rail-card em {
  position: absolute; left: 10px; right: 10px; bottom: 10px; font-style: normal;
  font-size: 12px; font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.reels {
  position: relative; height: 100vh; height: 100dvh; background: #000; overflow: hidden;
  color: #fff;
}
.reels-top {
  position: absolute; left: 0; right: 0; top: 0; z-index: 6;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
}
.reels-top a, .reels-top button { pointer-events: auto; }
.reels-tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.reels-back, .reels-mute, .reels-set, .reels-add {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,0.35);
  color: #fff;
}
.reels-add { font-size: 26px; line-height: 1; font-weight: 500; }
.reel-empty {
  height: 100vh; height: 100dvh; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center;
}
.reel-empty button {
  background: #fff; color: #111; border-radius: 10px; padding: 10px 16px; font-weight: 800;
}
.reel video[data-filter="Clarendon"], .reel-poster[data-filter="Clarendon"] { filter: contrast(1.2) saturate(1.35); }
.reel video[data-filter="Gingham"], .reel-poster[data-filter="Gingham"] { filter: brightness(1.05) hue-rotate(-10deg) contrast(0.92); }
.reel video[data-filter="Moon"], .reel-poster[data-filter="Moon"] { filter: grayscale(1) contrast(1.1) brightness(1.1); }
.reel video[data-filter="Lark"], .reel-poster[data-filter="Lark"] { filter: contrast(0.92) saturate(1.15) brightness(1.08); }
.reel video[data-filter="Reyes"], .reel-poster[data-filter="Reyes"] { filter: sepia(0.22) brightness(1.1) contrast(0.85) saturate(0.75); }
.reel video[data-filter="Juno"], .reel-poster[data-filter="Juno"] { filter: sepia(0.12) contrast(1.15) saturate(1.45); }
.reel video[data-filter="Slumber"], .reel-poster[data-filter="Slumber"] { filter: saturate(0.66) brightness(1.05) sepia(0.12); }
.reel video[data-filter="Crema"], .reel-poster[data-filter="Crema"] { filter: sepia(0.25) contrast(1.05) brightness(1.08) saturate(0.9); }
.reel video[data-filter="Ludwig"], .reel-poster[data-filter="Ludwig"] { filter: contrast(1.08) saturate(1.25) brightness(1.02); }
.reel video[data-filter="Aden"], .reel-poster[data-filter="Aden"] { filter: hue-rotate(-18deg) contrast(0.9) saturate(0.85) brightness(1.2); }
.reel video[data-filter="Perpetua"], .reel-poster[data-filter="Perpetua"] { filter: contrast(1.1) saturate(1.1) hue-rotate(8deg); }
.ig-studio {
  position: absolute; inset: 0; z-index: 20; background: #000; color: #fff;
}
.ig-step { position: absolute; inset: 0; }
.ig-bar {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2;
  display: grid; grid-template-columns: 44px 1fr 64px; align-items: center;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 10px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,.65), transparent);
}
.ig-bar button { color: #fff; font-size: 22px; height: 40px; }
.ig-next, .ig-share-btn { background: #0095f6; color: #fff; border-radius: 8px; font-weight: 800; font-size: 14px; padding: 8px 12px; }
.ig-pick { padding: 28vh 22px 22px; display: grid; gap: 12px; }
.ig-pick h2 { font-size: 28px; }
.ig-pick p { color: #c8cdd8; line-height: 1.45; margin-bottom: 8px; }
.ig-choice {
  text-align: left; background: #1c1c1e; border-radius: 14px; padding: 16px;
  display: grid; gap: 4px; color: #fff;
}
.ig-choice small { color: #b7bdc8; }
#igPreview, #igSharePreview, #igLive { width: 100%; height: 100%; object-fit: cover; background: #000; }
.ig-cam-hint {
  position: absolute; left: 16px; right: 16px; bottom: 128px; z-index: 2;
  text-align: center; font-size: 13px; color: #fff; text-shadow: 0 1px 6px #000;
}
.ig-rec-bar {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2;
  display: grid; place-items: center;
}
#igRec {
  width: 74px; height: 74px; border-radius: 50%;
  border: 4px solid #fff; background: #ff2d55;
}
#igRec.on { width: 42px; height: 42px; border-radius: 10px; }
.ig-audio {
  position: absolute; left: 12px; right: 12px; bottom: 118px; z-index: 3;
  display: flex; gap: 8px; justify-content: center;
}
.ig-audio button {
  background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700;
}
.ig-filters {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; gap: 12px; overflow-x: auto; padding: 16px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(0deg, rgba(0,0,0,.72), transparent);
}
.ig-filters button { width: 72px; flex: 0 0 72px; color: #fff; display: grid; justify-items: center; gap: 6px; background: none; }
.ig-filters i {
  width: 62px; height: 62px; border-radius: 12px; display: block;
  background: linear-gradient(160deg, #f6d365, #fda085 40%, #5b86e5);
  border: 2px solid transparent;
}
.ig-filters button.on i { border-color: #fff; }
.ig-filters small { font-size: 11px; font-weight: 700; }
.ig-share { position: absolute; inset: 0; display: grid; grid-template-rows: 42vh auto auto auto; gap: 12px; padding: 72px 16px 20px; }
.ig-share video { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.ig-share label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: #c8cdd8; }
.ig-share input, .ig-share textarea {
  width: 100%; background: #1c1c1e; color: #fff; border: 0; border-radius: 12px; padding: 12px;
}
.ig-share textarea { min-height: 84px; resize: vertical; }
.ig-share-btn { width: 100%; padding: 12px; font-size: 16px; }
#igMsg { min-height: 18px; color: #ffb4b4; font-size: 13px; }
.reels-back svg, .reels-mute svg, .reels-set svg,
.reels-back ion-icon, .reels-mute ion-icon, .reels-set ion-icon { width: 20px; height: 20px; }
.reels-top strong { font-size: 17px; letter-spacing: -0.02em; }
.reels-feed {
  height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.reel {
  position: relative; height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always;
  overflow: hidden; background: #000;
}
.reel video, .reel-poster, .reel-blur {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: #000; pointer-events: none;
}
.reel-blur {
  z-index: 0; opacity: 0;
  filter: blur(28px) saturate(1.2) brightness(0.42);
  transform: scale(1.28);
  transition: opacity 0.2s ease;
}
.reel-poster { z-index: 2; transition: opacity 0.2s; }
.reel-poster.hide { opacity: 0; }
.reel video { z-index: 1; background: transparent; }
.reel.is-landscape .reel-blur { opacity: 1; }
.reel.is-landscape video,
.reel.is-landscape .reel-poster {
  object-fit: contain;
  object-position: center center;
  background: transparent;
}
.reel-grad {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 16%, transparent 48%, rgba(0,0,0,0.82) 100%);
}
.reel-bar {
  position: absolute; left: 14px; right: 14px; top: calc(52px + env(safe-area-inset-top, 0px));
  z-index: 5; height: 2px; border-radius: 99px; background: rgba(255,255,255,0.22); overflow: hidden;
}
.reel-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #fff, var(--sky)); }
.reel-heart {
  position: absolute; left: 50%; top: 44%; z-index: 5; width: 92px; height: 92px; color: #ff4d6d;
  transform: translate(-50%, -50%) scale(0.4); pointer-events: none; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45));
}
.reel-heart svg { width: 92px; height: 92px; fill: #ff4d6d; stroke: #ff4d6d; }
.reel-heart.pop { animation: reelPop 0.7s ease; }
@keyframes reelPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  30% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}
.reel-pp {
  position: absolute; left: 50%; top: 46%; z-index: 5; width: 78px; height: 78px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: rgba(8,8,12,0.52); color: #fff;
  display: grid; place-items: center; pointer-events: none;
  opacity: 0; transition: opacity 0.18s; border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.reel-pp svg,
.reel-pp ion-icon { width: 34px; height: 34px; }
.reel-ico svg,
.reel-ico ion-icon { width: 22px; height: 22px; display: block; }
.reel-ico svg { fill: none; stroke: currentColor; }
.reel-act.like.on .reel-ico svg,
.reel-act.like.on .reel-ico ion-icon { color: #ff4d6d; fill: #ff4d6d; stroke: #ff4d6d; }
.reel-act[data-save].on .reel-ico svg,
.reel-act[data-save].on .reel-ico ion-icon { color: var(--gold); fill: var(--gold); stroke: var(--gold); }
.reel.paused .reel-pp { opacity: 1; }
.reel-pp.flash { opacity: 1; }
.reel-side {
  position: absolute; right: 10px; bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 6; display: grid; gap: 14px; justify-items: center; pointer-events: auto;
}
.reel-act {
  display: grid; justify-items: center; gap: 5px; color: #fff; width: 52px; background: none;
}
.reel-ico {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,10,14,0.42); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px); box-shadow: 0 8px 20px rgba(0,0,0,0.28);
}
.reel-ico svg { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; }
.reel-act small { font-size: 11px; font-weight: 800; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.reel-act.like.on { color: #ff4d6d; }
.reel-act.like.on .reel-ico { background: rgba(255,77,109,0.18); border-color: rgba(255,77,109,0.45); }
.reel-act[data-save].on { color: var(--gold); }
.reel-mini {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--sky); box-shadow: 0 0 0 3px rgba(232,195,74,0.25);
}
.reel-meta {
  position: absolute; left: 14px; right: 72px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 6; pointer-events: auto;
}
.reel-user { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.reel-id {
  display: flex; align-items: center; gap: 8px; text-align: left; color: #fff; min-width: 0;
}
.reel-av {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(232,195,74,0.55);
}
.reel-id span { display: grid; }
.reel-id b { font-size: 14px; display: flex; align-items: center; gap: 5px; }
.reel-id small { font-size: 11px; opacity: 0.8; font-weight: 600; }
.reel-tick {
  display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%;
  background: #1a8fff; color: #fff; font-style: normal; font-size: 9px; font-weight: 800;
}
.reel-follow {
  flex-shrink: 0; border: 1px solid #fff; border-radius: 8px;
  padding: 5px 11px; font-size: 12px; font-weight: 800; background: rgba(0,0,0,0.25);
}
.reel-follow.on { background: rgba(255,255,255,0.16); border-color: transparent; }
.reel-meta p { font-size: 14px; line-height: 1.4; max-width: 92%; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.reel-meta em {
  display: flex; align-items: center; gap: 6px; margin-top: 8px; font-style: normal; font-size: 12px;
  opacity: 0.95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.reel-meta em b { color: var(--gold); }
.os-profile {
  position: absolute; inset: 0; z-index: 9; background: #000; overflow: auto; color: #fff;
}
.os-top {
  position: sticky; top: 0; z-index: 2; background: #000;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  min-height: 48px; padding-top: env(safe-area-inset-top, 0px);
}
.os-top strong { text-align: center; font-size: 16px; }
.os-x {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; color: #fff;
}
.os-x ion-icon { width: 26px; height: 26px; }
.os-body { padding: 8px 16px 28px; }
.os-head { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 18px; }
.os-av {
  width: 86px; height: 86px; border-radius: 50%; object-fit: cover;
  border: 0;
}
.os-body h2 { margin: 12px 0 0; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.os-bio { margin-top: 4px; font-size: 14px; line-height: 1.35; color: #f5f5f5; }
.os-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.os-stats b { display: grid; font-size: 16px; font-weight: 700; background: none; border: 0; padding: 0; }
.os-stats small { font-size: 13px; color: #f5f5f5; font-weight: 400; }
.os-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.os-pill {
  background: #363636; color: #fff; border: 0; border-radius: 8px;
  padding: 8px 10px; font-size: 14px; font-weight: 700;
}
.os-tabs {
  display: grid; grid-template-columns: 1fr 1fr; margin: 14px -16px 0;
  border-top: 1px solid #262626;
}
.os-tabs span { display: grid; place-items: center; height: 44px; color: #8e8e8e; }
.os-tabs span.on { color: #fff; box-shadow: inset 0 -1px 0 #fff; }
.os-tabs ion-icon { width: 24px; height: 24px; }
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -16px; }
.os-grid button { position: relative; padding: 0; border-radius: 0; overflow: hidden; background: #111; }
.os-grid img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; display: block; }
.os-grid i {
  position: absolute; top: 8px; right: 8px; color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
}
.os-grid i ion-icon { width: 16px; height: 16px; }
.os-grid span {
  position: absolute; left: 6px; bottom: 6px; display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; text-shadow: 0 1px 4px #000;
}
.os-grid span ion-icon { width: 14px; height: 14px; }
.reel-toast {
  position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%);
  z-index: 10; background: rgba(16,16,22,0.92); border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 16px; border-radius: 99px; font-size: 13px; font-weight: 700;
}
.os-profile[hidden], .reel-toast[hidden] { display: none !important; }
.reel-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 8;
  max-height: 48dvh; background: #16181f; border-radius: 18px 18px 0 0;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-rows: auto 1fr auto; gap: 8px;
}
.reel-sheet-head { display: flex; justify-content: space-between; align-items: center; }
.reel-sheet-list { overflow: auto; font-size: 14px; display: grid; gap: 10px; }
.reel-sheet-form { display: flex; gap: 8px; }
.reel-sheet-form input {
  flex: 1; border: 0; border-radius: 99px; padding: 10px 14px; background: rgba(255,255,255,0.08); color: #fff;
}
.reel-sheet-form button { background: var(--sky); color: #111; border-radius: 99px; padding: 10px 14px; font-weight: 800; }
.reel-sheet[hidden] { display: none !important; }
.reels.hide-caps .reel-meta p,
.reels.hide-caps .reel-meta em { display: none; }
.reel-settings {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 8;
  max-height: 78dvh; overflow: auto;
  background: #14151c;
  border-radius: 20px 20px 0 0;
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -18px 40px rgba(0,0,0,0.45);
}
.reel-settings[hidden] { display: none !important; }
.rs-grab {
  width: 42px; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.2);
  margin: 4px auto 10px;
}
.rs-list { display: grid; gap: 4px; padding-bottom: 8px; }
.rs-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rs-row span { display: grid; gap: 3px; min-width: 0; }
.rs-row b { font-size: 14px; font-weight: 700; }
.rs-row small { font-size: 12px; color: var(--mist); font-weight: 500; line-height: 1.35; }
.rs-row.rs-speed { flex-wrap: wrap; border-bottom: 0; }
.rs-switch {
  appearance: none; -webkit-appearance: none;
  width: 46px; height: 28px; flex-shrink: 0;
  border-radius: 99px; background: rgba(255,255,255,0.16);
  position: relative; cursor: pointer; border: 0; outline: none;
  transition: background 0.2s;
}
.rs-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.rs-switch:checked { background: linear-gradient(180deg, #f4e19a, #d4ae3a); }
.rs-switch:checked::after { transform: translateX(18px); }
.rs-seg {
  display: flex; gap: 6px; width: 100%;
  margin-top: 8px; background: rgba(255,255,255,0.05);
  border-radius: 12px; padding: 4px;
}
.rs-seg button {
  flex: 1; padding: 8px 0; border-radius: 9px;
  font-size: 12px; font-weight: 800; color: rgba(255,255,255,0.55);
}
.rs-seg button.on {
  color: #16120a;
  background: linear-gradient(180deg, #f4e19a, #d4ae3a);
}

@media (min-width: 900px) {
  .reels { display: grid; place-items: center; background: #050506; }
  .reels-feed, .reels-top, .reel-sheet, .reel-settings, .os-profile, .reel-toast { width: min(430px, 100%); }
  .reels-feed { border-radius: 0; }
  .reels-top { left: 50%; transform: translateX(-50%); width: min(430px, 100%); }
  .reel-sheet, .reel-settings, .os-profile { left: 50%; right: auto; transform: translateX(-50%); }
}

@media (max-width: 700px) {
  #hsPip, .hs-title em, .hs-next { display: none; }
  .hs-play { width: 64px; height: 64px; box-shadow: 0 10px 28px rgba(0,0,0,0.4), 0 0 0 5px rgba(232,195,74,0.14); }
  .hs-jump { width: 62px; height: 62px; }
  .hs-skip-ico { width: 40px; height: 40px; }
  .hs-ico { width: 38px; height: 38px; }
  .hs-mid { padding: 0 4vw; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hs-player, .hs-player video#player { height: 100dvh; min-height: 100dvh; }
  .hs-title em { display: none; }
  .hs-rotate-hint { display: none !important; }
  .hs-jump { width: 56px; height: 56px; }
  .hs-skip-ico { width: 36px; height: 36px; }
  .hs-mid { padding: 0 8vw; }
  .hs-share-hero { height: 120px; }
  .hs-share-poster { width: 64px; height: 96px; bottom: -16px; }
  .hs-share-body { padding-top: 26px; }
  .hs-share-desc { -webkit-line-clamp: 2; }
}

@media (min-width: 640px) {
  .card { flex-basis: 160px; width: 160px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid.live { grid-template-columns: 1fr 1fr; }
  .info-grid, .plan-grid, .hubs { grid-template-columns: repeat(3, 1fr); }
  .genre-grid { gap: 8px; }
  .worlds {
    grid-template-rows: 180px 140px 140px;
  }
  .atlas h1 { font-size: 32px; }
  .world-0 .world-meta h2 { font-size: 20px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; }
  .sidebar { display: flex; }
  .bottom-nav, .search-mobile, .float-dock { display: none !important; }
  .desktop-only { display: flex !important; }
  .app-chrome {
    margin-left: var(--sidebar);
    width: calc(100% - var(--sidebar));
  }
  .top-brand { display: flex !important; }
  .top-brand .brand-mark { width: 36px; height: 36px; }
  .top-brand .brand-wordmark { max-width: 180px; height: 30px; opacity: 1; }
  .cat-rail { display: block !important; }
  .cat-strip { padding-top: 2px; padding-bottom: 0; justify-content: flex-start; mask-image: none; }
  .topbar { padding-top: 12px; padding-bottom: 8px; }
  .main { padding-left: var(--sidebar); padding-bottom: 32px; }
  .page { padding: 28px 32px 32px; }
  .worlds {
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 260px 168px;
    gap: 14px;
  }
  .world-0 { grid-area: 1 / 1 / 3 / 2; }
  .world-1 { grid-area: 1 / 2 / 2 / 3; }
  .world-2 { grid-area: 1 / 3 / 2 / 4; }
  .world-3 { grid-area: 2 / 2 / 3 / 4; }
  .world-1 .world-meta p,
  .world-2 .world-meta p,
  .world-1 .world-go,
  .world-2 .world-go { display: initial; }
  .world-1 .world-go,
  .world-2 .world-go { display: inline-flex; }
  .hs-slide { flex-basis: min(560px, 70vw); max-width: 560px; }
  .ribbon-card { width: 148px; flex-basis: 148px; }
  .hero > img, .hero-shot { object-position: center; }
  .hero-mask {
    background:
      linear-gradient(90deg, #0f1014 0%, rgba(15,16,20,0.82) 42%, rgba(15,16,20,0.15) 72%, transparent 100%),
      linear-gradient(0deg, #0f1014 0%, rgba(15,16,20,0.2) 38%, transparent 62%);
  }
  .hero-copy { left: 40px; right: auto; bottom: 18%; width: min(640px, 54vw); }
  .hero-copy .kicker { font-size: 11px; }
  .hero-copy h1 { font-size: clamp(36px, 4.4vw, 56px); -webkit-line-clamp: 2; }
  .hero-meta { font-size: 14px; }
  .hero-desc { font-size: 15px; -webkit-line-clamp: 3; max-width: 540px; }
  .hero .hero-actions {
    display: flex; grid-template-columns: none;
    flex-wrap: nowrap; gap: 10px; width: auto; max-width: 560px;
  }
  .hero .hero-actions .btn { width: auto; padding: 11px 18px; font-size: 14px; }
  .more-rest { display: inline; }
  .dots { justify-content: flex-start; margin-top: 16px; }
  .row { margin: 28px 0; }
  .row-head h2 { font-size: 18px; }
  .card.wide { flex-basis: 340px; width: 340px; }
  .ad-card { flex-basis: 560px; width: 560px; max-width: 560px; }
  .row-btns { display: flex; }
  .card { flex-basis: 176px; width: 176px; }
  .grid { grid-template-columns: repeat(6, 1fr); }
  .grid.five { grid-template-columns: repeat(5, 1fr); }
  .detail-hero { min-height: 520px; }
  .detail-hero > .media-skel,
  .detail-hero > img {
    position: absolute; inset: 0;
    height: auto; min-height: 0; max-height: none;
  }
  .detail-hero > .hero-mask {
    inset: 0; height: auto; min-height: 0; max-height: none;
    background:
      linear-gradient(90deg, #0f1014 0%, rgba(15,16,20,0.78) 38%, rgba(15,16,20,0.18) 70%, transparent 100%),
      linear-gradient(0deg, #0f1014 0%, rgba(15,16,20,0.28) 42%, transparent 68%);
  }
  .detail-body {
    display: flex; gap: 28px; align-items: flex-end;
    margin-top: 0; padding: 48px 40px 40px; min-height: 520px;
  }
  .detail-body h1 { font-size: 42px; line-height: 1.12; -webkit-line-clamp: 3; }
  .detail-body .kicker { font-size: 11px; }
  .detail-desc { font-size: 15px; -webkit-line-clamp: 4; }
  .detail-cast { font-size: 14px; }
  .detail-hero .hero-actions {
    display: flex; grid-template-columns: none;
    flex-wrap: wrap; gap: 10px; width: auto;
  }
  .detail-hero .hero-actions .btn {
    width: auto; padding: 11px 18px; font-size: 14px;
  }
  .detail-hero .hero-actions .btn.white { grid-column: auto; }
  .btn-short { display: none; }
  .btn-full { display: inline; }
  .tags { gap: 8px; margin-top: 12px; }
  .tag { padding: 5px 12px; font-size: 12px; }
  .poster-lg { display: block; }
  .detail-body > .media-skel { display: block; }
  .hs-player video#player { height: 100dvh; object-fit: contain; }
}

body.is-brief { background: #07080c; overflow: hidden; }
body.is-brief .main { padding-bottom: 0; background: #07080c; }
body.is-brief .app-chrome { box-shadow: none; }
.brief-page {
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(232,195,74,0.08), transparent 60%),
    #07080c;
  color: #f4f1e8;
}
.brief-tabs {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 14px 8px;
  overflow-x: auto; scrollbar-width: none;
}
.brief-tabs::-webkit-scrollbar { display: none; }
.brief-tabs a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232,195,74,0.28);
  color: rgba(244,241,232,0.82);
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
}
.brief-tabs a.on {
  background: linear-gradient(180deg, #f3d56a, #c9a227);
  color: #1a1408;
  border-color: transparent;
}
.brief-feed {
  height: calc(100dvh - 108px - 78px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.brief-feed::-webkit-scrollbar { display: none; }
.brief-card {
  height: 100%;
  box-sizing: border-box;
  display: flex; flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 0 14px 12px;
}
.brief-shot {
  flex: 0 0 30%;
  height: 30%;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #14161c;
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}
.brief-shot::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(7,8,12,0.92));
  pointer-events: none;
}
.brief-shot .media-skel,
.brief-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brief-copy {
  flex: 1 1 70%;
  min-height: 0;
  display: flex; flex-direction: column;
  padding: 16px 4px 8px;
}
.brief-kicker {
  margin: 0 0 8px;
  color: #e8c34a;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.brief-copy h2 {
  margin: 0;
  font-size: clamp(22px, 5.4vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: #f7f3ea;
}
.brief-meta {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 12px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(232,195,74,0.22);
  color: rgba(244,241,232,0.62);
  font-size: 13px; font-weight: 600;
}
.brief-copy p:last-child {
  margin: 0;
  color: rgba(244,241,232,0.9);
  font-size: 16px; line-height: 1.55;
}
.brief-empty { padding: 48px 16px; text-align: center; color: rgba(244,241,232,0.6); }
.brief-count {
  position: fixed; right: 16px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 40; margin: 0;
  background: rgba(12,13,18,0.9);
  color: #f3d56a;
  border: 1px solid rgba(232,195,74,0.35);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px; font-weight: 800;
}
@media (min-width: 1024px) {
  body.is-brief .main { padding-bottom: 0; }
  .brief-page { max-width: 640px; }
  .brief-feed { height: calc(100dvh - 120px); }
  .brief-count { bottom: 24px; }
}

.hs-free {
  position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; left: auto; transform: none;
  z-index: 8; display: flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  background: rgba(8, 9, 12, 0.82);
  border: 1px solid rgba(232, 195, 74, 0.55);
  color: #f6e7a8; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.hs-free[hidden] { display: none; }
.hs-free-tag {
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; font-weight: 800;
}
.hs-free b {
  min-width: 42px; text-align: center;
  background: #e8c34a; color: #1a1408;
  border-radius: 999px; padding: 3px 8px; font-size: 13px;
}
.hs-subwall {
  position: absolute; inset: 0; z-index: 30;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(6px);
}
.hs-subwall[hidden] { display: none; }
.hs-subcard {
  width: min(420px, 100%);
  text-align: center;
  padding: 28px 22px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #1a1c24, #101218);
  border: 1px solid rgba(232, 195, 74, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hs-subcard p { margin: 0; color: #e8c34a; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hs-subcard h2 { margin: 10px 0 8px; font-size: 26px; letter-spacing: -0.03em; }
.hs-subcopy { color: rgba(244, 241, 232, 0.78) !important; letter-spacing: 0 !important; text-transform: none !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1.45; }
.hs-subcard .btn { margin-top: 16px; width: 100%; }
.hs-subcard .btn.white { margin-top: 8px; }
.hs-subcard .btn.ghost { margin-top: 8px; }
