/* ==========================================================================
   MOVOX — cinematic streaming shell
   liquid-glass aesthetic, bottom dock navigation, editorial layout
   ========================================================================== */

/* ------------------------------------------------------------ fonts ----- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/__shell/fonts/bricolage-2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/__shell/fonts/bricolage-1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/__shell/fonts/inter-6.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/__shell/fonts/inter-5.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/__shell/fonts/inter-13.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/__shell/fonts/inter-12.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/__shell/fonts/inter-20.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/__shell/fonts/inter-19.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------ tokens ---- */
:root {
  --bg: #060608;
  --bg-2: #0b0b11;
  --ink: #f6f3ec;
  --ink-dim: rgba(246, 243, 236, 0.64);
  --ink-faint: rgba(246, 243, 236, 0.38);
  --gold: #f4b869;
  --gold-soft: #ffd9a0;
  --ember: #e98b4f;
  --rose: #ff8fab;
  --ice: #9fd0ff;
  --glass-hi: rgba(255, 255, 255, 0.11);
  --glass-lo: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.08);
  --blur: 24px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;
  --dock-h: 62px;
  --topbar-h: 72px;
  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
  --ease-spring: cubic-bezier(0.3, 1.35, 0.45, 1);
  --font-display: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
  --pad-x: clamp(18px, 4.4vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.body-watch { overflow: hidden; }
::selection { background: rgba(244, 184, 105, 0.32); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; }
img { user-select: none; -webkit-user-drag: none; }
:focus-visible { outline: 2px solid rgba(244, 184, 105, 0.7); outline-offset: 3px; border-radius: 6px; }
.scroll-x { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.scroll-x::-webkit-scrollbar { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.app { min-height: 60vh; }
body.body-watch .topbar,
body.body-watch .dock { display: none !important; }

/* ------------------------------------------------------- atmosphere ----- */
/* static, pre-softened gradients — no filter animation, no continuous GPU work */
.aurora {
  position: fixed; inset: -20vmax; z-index: -2; pointer-events: none;
  opacity: 0.45;
}
.aurora i { position: absolute; display: block; border-radius: 50%; }
.aurora .a1 {
  width: 60vmax; height: 60vmax; left: -12vmax; top: -18vmax;
  background: radial-gradient(circle at 30% 30%, rgba(244, 184, 105, 0.22), transparent 62%);
}
.aurora .a2 {
  width: 55vmax; height: 55vmax; right: -16vmax; top: 4vmax;
  background: radial-gradient(circle at 60% 40%, rgba(255, 143, 171, 0.15), transparent 60%);
}
.aurora .a3 {
  width: 50vmax; height: 50vmax; left: 26vmax; bottom: -22vmax;
  background: radial-gradient(circle at 50% 50%, rgba(159, 208, 255, 0.1), transparent 62%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 78% -10%, rgba(244, 184, 105, 0.07), transparent 60%),
    radial-gradient(1000px 700px at 8% 8%, rgba(255, 143, 171, 0.05), transparent 55%),
    linear-gradient(180deg, #08080c 0%, #060608 40%, #060608 100%);
}

/* ---------------------------------------------------------- glass ------- */
.glass {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.032) 40%, rgba(255, 255, 255, 0.06));
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  backdrop-filter: blur(14px) saturate(155%);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 20px 50px -24px rgba(0, 0, 0, 0.85);
  isolation: isolate;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(120% 90% at 8% -10%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(80% 60% at 100% 120%, rgba(244, 184, 105, 0.08), transparent 60%);
  opacity: 0.9;
}
.glass-sm { border-radius: var(--r-pill); }

.i { width: 20px; height: 20px; flex-shrink: 0; }

/* --------------------------------------------------------- buttons ------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform; white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }
.btn-play {
  color: #17120b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 45%, var(--ember));
  box-shadow: 0 12px 34px -12px rgba(244, 184, 105, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -14px rgba(244, 184, 105, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover, .btn-ghost.is-active { background: linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)); }
.btn-round { width: 52px; height: 52px; padding: 0; border-radius: 50%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink); transition: transform 0.3s var(--ease), background 0.3s;
}
.icon-btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.08); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.pill:hover { transform: translateY(-1px); }
.pill .i { width: 17px; height: 17px; opacity: 0.85; }
.pill-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #17120b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; color: var(--ink-dim);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: color 0.25s, background 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  white-space: nowrap; flex-shrink: 0;
}
.chip:hover { color: var(--ink); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }
.chip.is-active {
  color: #17120b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--ember));
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 22px -10px rgba(244, 184, 105, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.chip-static { color: var(--ink); }

/* ----------------------------------------------------------- header ----- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad-x);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}
.topbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.72), rgba(6, 6, 8, 0));
  transition: opacity 0.4s var(--ease), backdrop-filter 0.4s;
  opacity: 1;
}
.topbar.scrolled { padding-top: 14px; padding-bottom: 14px; }
.topbar.scrolled::before {
  background: linear-gradient(180deg, rgba(8, 8, 11, 0.94), rgba(8, 8, 11, 0.78));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar-left { display: inline-flex; align-items: center; gap: 10px; }
.topbar-back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  background: rgba(255, 255, 255, 0.05); transition: all 0.25s var(--ease);
}
.topbar-back:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateX(-2px);
}
.topbar-back .i { width: 17px; height: 17px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; overflow: hidden; box-shadow: 0 6px 20px -6px rgba(244, 184, 105, 0.5); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.28em; text-indent: 0.1em;
  background: linear-gradient(120deg, #fff, rgba(255, 255, 255, 0.62));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-actions .pill { height: 42px; }

/* ------------------------------------------------------------- dock ----- */
.dock {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 70;
  display: flex; align-items: stretch; gap: 1px;
  padding: 5px; border-radius: var(--r-pill);
  background: linear-gradient(160deg, rgba(28, 28, 36, 0.78), rgba(12, 12, 16, 0.72));
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px -18px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease), opacity 0.4s;
  contain: layout style;
}
.dock::before {
  content: ''; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(120% 160% at 10% -30%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%);
}
.dock-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: 52px;
  border-radius: var(--r-pill); z-index: 0;
  background: linear-gradient(150deg, rgba(244, 184, 105, 0.26), rgba(255, 143, 171, 0.14) 55%, rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 20px -8px rgba(244, 184, 105, 0.5);
  box-sizing: border-box;
  transition: left 0.5s var(--ease-spring), width 0.5s var(--ease-spring);
  pointer-events: none;
}
.dock-item {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 52px; height: 44px; padding: 0 8px; border-radius: var(--r-pill);
  color: rgba(246, 243, 236, 0.55); font-size: 9.5px; font-weight: 600; letter-spacing: 0.02em;
  transition: color 0.3s, transform 0.4s var(--ease);
}
.dock-item .i { width: 17px; height: 17px; transition: transform 0.4s var(--ease-spring); }
.dock-item:hover { color: rgba(246, 243, 236, 0.85); }
.dock-item:hover .i { transform: translateY(-1px); }
.dock-item.active { color: #fff; }
.dock-item.active .i { transform: translateY(-1px) scale(1.05); }
.dock-item span { line-height: 1; }

/* ------------------------------------------------------------- boot ----- */
.boot { min-height: 70vh; display: grid; place-items: center; }
.app > .boot {
  /* centre on the space the user actually sees: below the fixed topbar, above the dock */
  min-height: calc(100dvh - var(--dock-h, 62px));
  padding-top: var(--topbar-h, 72px);
  box-sizing: border-box;
}
.boot-mark {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14); border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- hero ----- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; padding: 0 var(--pad-x) clamp(48px, 7vh, 96px); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 8, 0.94) 0%, rgba(6, 6, 8, 0.65) 34%, rgba(6, 6, 8, 0.08) 68%, rgba(6, 6, 8, 0.55) 100%),
    linear-gradient(0deg, var(--bg) 2%, rgba(6, 6, 8, 0.6) 26%, rgba(6, 6, 8, 0) 55%, rgba(6, 6, 8, 0.45) 100%);
}
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  filter: saturate(112%);
  transition: opacity 0.8s var(--ease);
}
.hero-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.hero-copy { max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft);
}
.hero-eyebrow::before { content: ''; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 0.96; letter-spacing: -0.035em;
  margin: 0; text-wrap: balance;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  animation: rise 0.9s var(--ease) both;
}
.hero-title img { max-width: min(520px, 68%); max-height: 130px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.6)); }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; animation: rise 0.9s 0.06s var(--ease) both; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1);
}
.meta-chip .i { width: 13px; height: 13px; color: var(--gold); }
.meta-chip.is-rating { color: var(--gold-soft); }
.meta-chip.is-rating .i { width: 12px; height: 12px; }
.hero-desc {
  margin: 0; max-width: 54ch; color: rgba(246, 243, 236, 0.72);
  font-size: clamp(14px, 1.15vw, 16px); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  animation: rise 0.9s 0.12s var(--ease) both;
}
.hero-actions { display: flex; align-items: center; gap: 12px; animation: rise 0.9s 0.18s var(--ease) both; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; animation: rise 1s 0.24s var(--ease) both; }
.hero-strip {
  width: 100%; max-width: 440px; padding: 10px; border-radius: 26px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.hero-thumb {
  position: relative; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12); cursor: pointer;
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.4s;
  background: #101016;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.68; transition: opacity 0.4s, transform 0.6s var(--ease); }
.hero-thumb:hover img { opacity: 0.95; transform: scale(1.05); }
.hero-thumb.is-active { border-color: rgba(244, 184, 105, 0.65); box-shadow: 0 0 0 1px rgba(244, 184, 105, 0.35), 0 14px 30px -12px rgba(244, 184, 105, 0.4); }
.hero-thumb.is-active img { opacity: 1; }
.hero-thumb span {
  position: absolute; left: 8px; bottom: 7px; font-size: 10px; font-weight: 700;
  color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9); letter-spacing: 0.04em;
}
.hero-count { font-size: 11px; letter-spacing: 0.18em; color: var(--ink-faint); font-weight: 600; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------- marquee ----- */
.ticker {
  position: relative; margin: -6px 0 0; padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; gap: 0; }
.ticker-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); white-space: nowrap; font-weight: 600; }
.ticker-item::after { content: '✦'; color: rgba(244, 184, 105, 0.6); font-size: 10px; }
.ticker-item b { color: var(--ink); font-weight: 600; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- section ----- */
.section { padding: clamp(34px, 5vw, 64px) var(--pad-x) 0; content-visibility: auto; contain-intrinsic-size: auto 460px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-kicker { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.section-sub { margin: 6px 0 0; color: var(--ink-faint); font-size: 13px; }
.section-link { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-dim); padding: 8px 14px; border-radius: var(--r-pill); transition: color 0.25s, background 0.3s; }
.section-link:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.section-link .i { width: 15px; height: 15px; }

/* ------------------------------------------------------------- rails ---- */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 16px; scroll-snap-type: x mandatory; padding: 6px 2px 14px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-arrow {
  position: absolute; top: calc(50% - 26px); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(30, 30, 38, 0.92), rgba(12, 12, 16, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 30px -12px rgba(0, 0, 0, 0.85);
  opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease);
  color: var(--ink);
}
.rail-wrap:hover .rail-arrow { opacity: 1; }
.rail-arrow:hover { transform: scale(1.06); }
.rail-arrow.prev { left: -16px; }
.rail-arrow.next { right: -16px; }
.rail-arrow[disabled] { opacity: 0 !important; pointer-events: none; }

/* ------------------------------------------------------------- cards ---- */
.card {
  position: relative; flex: 0 0 clamp(138px, 15.5vw, 196px);
  aspect-ratio: 2 / 3; border-radius: 20px; overflow: hidden;
  background: #101016; border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.85);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
  contain: layout style;
}
.card:hover { transform: translateY(-9px) scale(1.015); box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.95), 0 0 36px -18px rgba(244, 184, 105, 0.26); border-color: rgba(255, 255, 255, 0.16); }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.5s; }
.card:hover > img { transform: scale(1.06); }
.card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0) 46%, rgba(6, 6, 8, 0.2) 66%, rgba(6, 6, 8, 0.92) 100%);
  opacity: 0.85; transition: opacity 0.4s;
}
.card:hover::after { opacity: 1; }
.card-top { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  height: 25px; padding: 0 9px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; color: var(--ink);
  background: rgba(10, 10, 14, 0.72); border: 1px solid rgba(255, 255, 255, 0.16);
}
.badge .i { width: 11px; height: 11px; color: var(--gold); }
.badge.is-rating { color: var(--gold-soft); }
.card-play {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: #17120b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 10px 24px -8px rgba(244, 184, 105, 0.7);
  opacity: 0; transform: translateY(-6px) scale(0.9);
  transition: opacity 0.3s, transform 0.35s var(--ease-spring);
}
.card:hover .card-play { opacity: 1; transform: none; }
.card-play .i { width: 16px; height: 16px; margin-left: 2px; }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 14px 14px 13px; }
.card-title {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; line-height: 1.2;
  letter-spacing: -0.01em; margin: 0; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.card-sub { margin: 5px 0 0; font-size: 11px; color: rgba(246, 243, 236, 0.6); display: flex; align-items: center; gap: 7px; }
.card-add {
  position: absolute; right: 10px; bottom: 10px; z-index: 4;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(10, 10, 14, 0.72); border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.card:hover .card-add { opacity: 1; transform: none; }
.card-add:hover { background: rgba(244, 184, 105, 0.24); }
.card-add .i { width: 15px; height: 15px; }
.card-add.saved { color: #17120b; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); opacity: 1; transform: none; }

/* rank cards */
.rank-rail { display: flex; gap: 26px; padding: 12px 2px 18px; }
.rank-card { position: relative; flex: 0 0 auto; display: flex; align-items: flex-end; }
.rank-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 12vw, 150px); line-height: 0.72;
  letter-spacing: -0.06em; color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.22);
  text-stroke: 2px rgba(255, 255, 255, 0.22);
  margin-right: -20px; margin-bottom: 4px; z-index: 1;
  transition: -webkit-text-stroke-color 0.3s, transform 0.5s var(--ease);
  user-select: none;
}
.rank-card:hover .rank-num { -webkit-text-stroke-color: rgba(244, 184, 105, 0.75); transform: translateY(-3px); }
.rank-card .card { flex: 0 0 clamp(140px, 15vw, 190px); z-index: 2; }

/* ------------------------------------------------------------ split ----- */
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
.feature-card {
  position: relative; min-height: 420px; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1); background: #0d0d13;
  display: flex; align-items: flex-end; padding: 24px;
  isolation: isolate;
}
.feature-card > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.feature-card:hover > img.bg { transform: scale(1.04); }
.feature-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.05) 30%, rgba(6, 6, 8, 0.82) 100%);
}
.feature-body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
.feature-title { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -0.025em; margin: 0; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 2px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mini-tile {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 176px;
  border: 1px solid rgba(255, 255, 255, 0.08); background: #0e0e14;
  display: flex; align-items: flex-end; padding: 13px;
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.mini-tile:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.18); }
.mini-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.8s var(--ease); }
.mini-tile:hover img { transform: scale(1.05); }
.mini-tile::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(6, 6, 8, 0.85)); }
.mini-tile span { position: relative; z-index: 2; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; line-height: 1.2; }

/* ---------------------------------------------------------- browse ------ */
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.25s var(--ease);
  user-select: none;
  text-decoration: none;
}
.page-back:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateX(-3px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}
.page-back .i {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.page-back:hover .i {
  transform: translateX(-2px);
}
.page-head { padding: clamp(96px, 13vh, 150px) var(--pad-x) 26px; }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.035em; line-height: 1; margin: 0 0 10px; }
.page-desc { color: var(--ink-dim); font-size: 14px; max-width: 60ch; margin: 0; }
.filter-bar {
  display: flex; align-items: center; gap: 10px; padding: 0 var(--pad-x) 10px;
  overflow-x: auto; scrollbar-width: none; position: sticky; top: 0; z-index: 30;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar .spacer { flex: 1; }
.select {
  appearance: none; height: 38px; padding: 0 34px 0 16px; border-radius: var(--r-pill);
  color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f6f3ec' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line); transition: border-color 0.3s, background-color 0.3s;
}
.select:hover { border-color: rgba(255, 255, 255, 0.25); }
.select option { background: #101016; color: var(--ink); }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(130px, 13vw, 190px), 1fr));
  gap: clamp(12px, 1.6vw, 22px); padding: 18px var(--pad-x) 0;
}
.grid .card { flex: none; width: 100%; }
.grid .card-title { font-size: 13.5px; }
.load-more-wrap { display: grid; place-items: center; padding: 34px 0 10px; }
.load-more {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 26px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); transition: background 0.3s, transform 0.3s var(--ease);
}
.load-more:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-1px); }
.load-more[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------------------------------------------------------- detail ------ */
.detail-hero { position: relative; padding: clamp(90px, 12vh, 140px) var(--pad-x) clamp(26px, 5vh, 54px); }
.detail-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.detail-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0.5; filter: saturate(115%); }
.detail-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0.55), rgba(6, 6, 8, 0.4) 46%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6, 6, 8, 0.72), transparent 60%);
}
.detail-grid { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(22px, 4vw, 54px); align-items: end; }
.detail-poster {
  border-radius: 26px; overflow: hidden; aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
  background: #101016;
}
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.detail-logo { max-width: min(460px, 78%); max-height: 140px; object-fit: contain; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.6)); }
.detail-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.detail-tagline { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.detail-desc { max-width: 68ch; color: rgba(246, 243, 236, 0.74); font-size: 14.5px; line-height: 1.7; margin: 0; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.people { display: flex; flex-wrap: wrap; gap: 10px; }
.person {
  display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.1);
}
.person img, .person .ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--gold-soft); }
.person span { font-size: 12px; color: var(--ink-dim); }
.person b { display: block; color: var(--ink); font-weight: 600; font-size: 12px; line-height: 1.2; }
.person small { display: block; color: var(--ink-faint); font-size: 10.5px; line-height: 1.2; }
.detail-body { padding: clamp(26px, 4vw, 46px) var(--pad-x) 0; display: flex; flex-direction: column; gap: clamp(30px, 4vw, 54px); }
.panel { border-radius: var(--r-xl); padding: clamp(18px, 2.4vw, 30px); }
/* large surfaces don't need live blur — a richer fill keeps the glass look without repaint cost */
.panel.glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(155deg, rgba(26, 26, 34, 0.86), rgba(14, 14, 19, 0.8)); }
.panel-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; margin: 0 0 14px; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.about-item .k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
.about-item .v { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.episodes { display: flex; flex-direction: column; gap: 10px; }
.episode {
  display: grid; grid-template-columns: 42px 132px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: 20px; border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.episode:hover { background: rgba(255, 255, 255, 0.055); border-color: rgba(255, 255, 255, 0.1); transform: translateX(3px); }
.episode-num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink-faint); text-align: center; }
.episode-still { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #101016; }
.episode-still img { width: 100%; height: 100%; object-fit: cover; }
.episode-still-cover { background-size: cover; background-position: center; background-color: #14141c; }
.episode-still-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.55)); }
.episode-still .i { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; color: #fff; opacity: 0; transition: opacity 0.3s; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8)); z-index: 2; }
.episode-still::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.3s; }
.episode:hover .episode-still .i, .episode:hover .episode-still::after { opacity: 1; }
.episode-name { font-size: 14px; font-weight: 600; margin: 0; line-height: 1.3; }
.episode-meta { font-size: 11.5px; color: var(--ink-faint); margin: 3px 0 0; }
.episode-overview { font-size: 12.5px; color: var(--ink-dim); margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.episode-play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); transition: background 0.3s, transform 0.3s var(--ease); }
.episode-play:hover { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #17120b; transform: scale(1.06); }
.season-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-bottom: 12px; }
.season-bar::-webkit-scrollbar { display: none; }

/* ---------------------------------------------------------- search ------ */
.search-hero { padding: clamp(110px, 15vh, 180px) var(--pad-x) 18px; }
.search-field {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 10px 6px 24px; border-radius: var(--r-pill); max-width: 760px;
  transition: box-shadow 0.4s var(--ease), border-color 0.3s;
}
.search-field:focus-within { border-color: rgba(244, 184, 105, 0.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 0 4px rgba(244, 184, 105, 0.12), 0 26px 60px -24px rgba(0, 0, 0, 0.9); }
.search-field input {
  flex: 1; min-width: 0; height: 56px; background: transparent; border: 0; outline: none;
  color: var(--ink); font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em;
}
.search-field input::placeholder { color: var(--ink-faint); }
.search-hint { font-size: 11px; color: var(--ink-faint); font-weight: 600; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; letter-spacing: 0.08em; }
.search-tabs { display: flex; gap: 8px; margin-top: 18px; }
.search-meta { padding: 6px var(--pad-x) 0; font-size: 12.5px; color: var(--ink-faint); }
.empty { text-align: center; padding: 70px 20px; color: var(--ink-dim); }
.empty .i { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--ink-faint); }
.empty h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 6px; color: var(--ink); }
.empty p { margin: 0; font-size: 13.5px; }

/* ---------------------------------------------------------- watch ------- */
.watch { position: fixed; inset: 0; background: #000; z-index: 200; }
.watch iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.watch-back {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink);
  min-height: 44px; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  flex-shrink: 0; cursor: pointer; text-decoration: none;
}
.watch-back .i { width: 17px; height: 17px; }
.watch-download {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink);
  min-height: 44px; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  flex-shrink: 0; text-decoration: none; cursor: pointer;
}
.watch-download .i { width: 17px; height: 17px; }
.watch-download:hover { color: #fff; }
.watch-hint { position: fixed; right: 20px; top: 76px; z-index: 310; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); font-size: 12px; color: var(--ink-dim); transition: opacity 0.6s; pointer-events: none; }

.watch-servers {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 1;
}
.watch-servers::-webkit-scrollbar { display: none; }
.watch-server-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  text-transform: uppercase;
  padding: 0 4px;
  white-space: nowrap;
}
.watch-server-btn {
  border: none;
  outline: none;
  background: transparent;
  color: rgba(246, 243, 236, 0.72);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.watch-server-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.watch-server-btn.active {
  color: #17120b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(244, 184, 105, 0.36);
}

/* ---------------------------------------------------------- toast ------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--dock-h) + 34px); z-index: 300;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 12px 22px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-spring);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------- skeleton ----- */
.skel { border-radius: 20px; background: linear-gradient(100deg, rgba(255, 255, 255, 0.045) 20%, rgba(255, 255, 255, 0.09) 38%, rgba(255, 255, 255, 0.045) 56%); background-size: 200% 100%; animation: shimmer 1.5s linear infinite; }
.skel-card { flex: 0 0 clamp(138px, 15.5vw, 196px); aspect-ratio: 2 / 3; }
.skel-line { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------- reveal ------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- footer ------ */
.footer { margin-top: clamp(50px, 8vw, 90px); padding: 34px var(--pad-x) calc(var(--dock-h) + 40px); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink-faint); font-size: 12px; }
.footer-brand .brand-word { font-size: 13px; letter-spacing: 0.3em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: var(--ink-faint); }
.footer-links a:hover { color: var(--ink); }

/* ---------------------------------------------------------- manga reader */
.reader {
  min-height: 100vh;
  background: #040406;
  color: #f6f3ec;
  padding-bottom: 90px;
}
.reader-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(16px, 4vw, 36px);
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.reader-title-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.reader-manga-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #f6f3ec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reader-chapter-title {
  font-size: 11.5px;
  color: var(--gold-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reader-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reader-select {
  background: rgba(255, 255, 255, 0.06);
  color: #f6f3ec;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}
.reader-select:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.reader-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 14px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.reader-page-wrap {
  width: 100%;
  position: relative;
  min-height: 240px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.reader-page-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s;
}
.reader-single-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.reader-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  padding: 20px 0;
}
.chapter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.chapter-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(244, 184, 105, 0.28);
  transform: translateX(4px);
}
.chapter-row-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-soft);
  min-width: 60px;
}
.chapter-row-info {
  flex: 1;
  min-width: 0;
}
.chapter-row-title {
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chapter-row-meta {
  font-size: 11px;
  color: rgba(246, 243, 236, 0.5);
  margin-top: 2px;
}
.body-read .topbar,
.body-read .dock {
  display: none !important;
}

/* ------------------------------------------------------ responsive ------ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .hero-side { display: none; }
  .split { grid-template-columns: 1fr; }
  .feature-card { min-height: 330px; }
  .detail-grid { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 820px) {
  :root { --pad-x: 20px; }
  /* mobile GPUs are weaker — drop backdrop blur, keep the frost look with richer fills */
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(155deg, rgba(28, 28, 36, 0.88), rgba(16, 16, 22, 0.82)); }
  .dock { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 14, 20, 0.94); }
  .topbar.scrolled::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(8, 8, 11, 0.96); }
  .topbar { padding: 14px var(--pad-x); }
  .brand-word { font-size: 15px; letter-spacing: 0.24em; }
  .pill-label { display: none; }
  .dock { bottom: max(12px, env(safe-area-inset-bottom)); padding: 5px; }
  .dock-item { min-width: 50px; height: 44px; padding: 0 8px; font-size: 8.5px; }
  .dock-item .i { width: 16px; height: 16px; }
  .hero { min-height: 84vh; padding-bottom: 42px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-desc { -webkit-line-clamp: 3; font-size: 13.5px; }
  .detail-grid { grid-template-columns: 132px minmax(0, 1fr); gap: 18px; }
  .detail-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .episode { grid-template-columns: 32px 96px minmax(0, 1fr) auto; gap: 10px; padding: 8px; }
  .episode-overview { display: none; }
  .rank-rail { gap: 18px; }
  .rank-num { font-size: 88px; -webkit-text-stroke-width: 1.5px; }
  .search-hero { padding-top: 104px; }
  .page-head { padding-top: 100px; }
  .filter-bar { top: 0; }
  .watch-hint { display: none; }
}
@media (max-width: 520px) {
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .filter-bar .select { display: none; }
}
/* -------------------------------------------------------- phone shell -- */
@media (max-width: 900px) {
  :root { --pad-x: 18px; --r-xl: 26px; --r-lg: 20px; --dock-h: 58px; --topbar-h: 60px; }
  body { -webkit-tap-highlight-color: rgba(244, 184, 105, 0.12); }
  .app { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
  .topbar { padding: calc(env(safe-area-inset-top) + 10px) var(--pad-x) 10px; }
  .topbar.scrolled { padding-top: calc(env(safe-area-inset-top) + 8px); padding-bottom: 8px; }
  .topbar-left { gap: 8px; }
  .brand { gap: 9px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand-word { font-size: 14.5px; letter-spacing: 0.22em; }
  .topbar-actions { gap: 8px; }
  .topbar-actions .pill { height: 38px; padding: 0 12px; gap: 6px; font-size: 12px; }
  .icon-btn { min-width: 40px; min-height: 40px; }

  .page-head { padding: calc(env(safe-area-inset-top) + 84px) var(--pad-x) 18px; }
  .page-title { font-size: clamp(1.9rem, 8vw, 2.4rem); margin-bottom: 8px; }
  .page-desc { font-size: 13px; line-height: 1.5; }

  .hero { padding-bottom: 34px; }
  .hero-title { font-size: clamp(2rem, 9.5vw, 2.8rem); }
  .hero-desc { font-size: 13px; }
  .btn { height: 44px; padding: 0 18px; font-size: 13px; }
  .btn .i { width: 16px; height: 16px; }

  .section-head { margin-bottom: 12px; }
  .section-title { font-size: 1.2rem; }
  .rail { gap: 12px; padding: 4px 0 10px; }
  .rail-arrow { display: none; }
  .grid { gap: 12px; }
  .card { border-radius: 16px; }
  .card-body { padding: 10px 11px; }
  .card-title { font-size: 12.5px; }
  .card-sub { font-size: 10px; margin-top: 3px; }
  .card-add { width: 30px; height: 30px; }

  .detail-hero { padding: calc(env(safe-area-inset-top) + 76px) var(--pad-x) 24px; }
  .detail-grid { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .detail-title { font-size: clamp(1.45rem, 6.4vw, 2rem); }
  .detail-desc { font-size: 12.8px; line-height: 1.55; }
  .detail-actions { flex-wrap: wrap; gap: 8px; }
  .detail-actions .btn { flex: 1 1 auto; justify-content: center; }

  .chapter-row { padding: 10px 12px; gap: 10px; border-radius: 14px; }
  .chapter-row-title { font-size: 12.5px; }
  .chapter-row-meta { font-size: 10.5px; }

  .search-field { padding: 4px 8px 4px 16px; border-radius: 20px; }
  .search-field input { height: 46px; font-size: 16px; }
  .search-hint { display: none; }
  .search-tabs { overflow-x: auto; padding-bottom: 2px; }

  .reader { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .reader-bar { padding: calc(env(safe-area-inset-top) + 8px) 12px 8px; gap: 10px; flex-wrap: wrap; }
  .reader-title-wrap { flex: 1 1 auto; min-width: 0; }
  .reader-actions { margin-left: auto; }
  .reader-select { max-width: 100%; font-size: 16px; }
  .reader-page-img { width: 100%; }

  .dock { width: calc(100% - 20px); max-width: 400px; gap: 0; padding: 4px; }
  /* measured sliding pill drifts while webfonts settle — use a plain active chip on phones */
  .dock-indicator { display: none; }
  .dock-item.active {
    background: linear-gradient(150deg, rgba(244, 184, 105, 0.26), rgba(255, 143, 171, 0.14) 55%, rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
  .dock-item { min-width: 0; flex: 1 1 0; height: 43px; padding: 0 3px; gap: 2px; font-size: 8.5px; }
  .dock-item .i { width: 16px; height: 16px; }

  .toast { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 18px); max-width: 88vw; white-space: normal; text-align: center; font-size: 12.5px; padding: 10px 16px; }
  .footer { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 30px); }

  /* touch: no hover, so the in-card affordances stay visible */
  .card-play, .card-add { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}
@media (max-width: 420px) {
  :root { --pad-x: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .detail-title { font-size: 1.35rem; }
  .dock-item { font-size: 8px; }
}

/* ----------------------------------------- watch: phone, upright ------ */
@media (max-width: 900px) {
  /* the video stays portrait-friendly: letterboxed 16:9, centred, with the
     overlay chrome floating above and below it */
  .watch { display: grid; place-items: center; }
  .watch iframe {
    position: static;
    inset: auto;
    width: min(100%, calc(100dvh * 16 / 9));
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 100%;
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-bg img { animation: none; }
}

/* ---------------------------------------------------- anime range bar --- */
.anime-range-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 10px;
  margin-bottom: 16px;
}
.anime-range-bar::-webkit-scrollbar {
  display: none;
}

/* ---------------------------------------------------- watch topbar & drawer --- */
.watch-topbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  pointer-events: none;
}
.watch-topbar > *,
.watch-back,
.watch-back *,
.watch-servers,
.watch-servers *,
.watch-actions-right,
.watch-actions-right *,
.watch-btn,
.watch-btn *,
.watch-download,
.watch-download * {
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.watch-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transition: all 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.watch-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.watch-btn .i {
  width: 16px;
  height: 16px;
}
.watch-episodes-toggle {
  background: linear-gradient(155deg, rgba(244, 184, 105, 0.16), rgba(244, 184, 105, 0.05));
  border-color: rgba(244, 184, 105, 0.35);
  color: var(--gold-soft);
}
.watch-episodes-toggle:hover {
  background: rgba(244, 184, 105, 0.25);
  color: #fff;
}
.watch-episodes-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 94vw);
  background: rgba(8, 8, 12, 0.98);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 9999 !important;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9);
}
.watch-episodes-drawer.is-open {
  transform: translateX(0);
}
.watch-drawer-header {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.watch-drawer-title h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 2px;
  color: #fff;
}
.watch-drawer-sub {
  font-size: 12px;
  color: var(--gold-soft);
  font-weight: 600;
}
.watch-drawer-tabs {
  padding: 14px 22px 6px;
  margin-bottom: 0;
}
.watch-drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px 22px 40px;
  scrollbar-width: thin;
}
.watch-ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
}
.watch-ep-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  transition: all 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.watch-ep-tile:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.watch-ep-tile.is-active {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--ember));
  color: #17120b;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 18px rgba(244, 184, 105, 0.4);
}
.watch-ep-tile .ep-badge {
  font-size: 9px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.watch-ep-tile .ep-num {
  font-size: 14px;
  font-weight: 700;
}
.watch-ep-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--ink);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.watch-ep-row:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(3px);
}
.watch-ep-row.is-active {
  background: rgba(244, 184, 105, 0.15);
  border-color: rgba(244, 184, 105, 0.5);
  color: var(--gold-soft);
}
.watch-ep-row .ep-row-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-soft);
}
.watch-ep-row .ep-row-info {
  flex: 1;
  min-width: 0;
}
.watch-ep-row .ep-row-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.watch-ep-row .ep-row-meta {
  font-size: 11px;
  color: var(--ink-faint);
}
.watch-ep-row .ep-row-play .i {
  width: 14px;
  height: 14px;
}


/* ---------------------------------------------------- watch drawer backdrop --- */
.watch-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.watch-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------------------------------------------------- home category chips --- */
.home-category-bar {
  padding: 12px var(--pad-x) 4px;
  margin-bottom: 12px;
}
.home-category-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.home-category-track::-webkit-scrollbar {
  display: none;
}
.home-category-chip {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  user-select: none;
  font-family: inherit;
}
.home-category-chip:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
.home-category-chip.is-active {
  color: #17120b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  box-shadow: 0 3px 14px rgba(244, 184, 105, 0.35);
}

@media (max-width: 900px) {
  .watch-topbar {
    top: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 8px) 10px 6px;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 500;
  }
  .watch-topbar .watch-servers {
    order: 3;
    position: static;
    transform: none;
    width: 100%;
    margin-top: 2px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .watch-topbar .watch-servers::-webkit-scrollbar {
    display: none;
  }
  .watch-actions-right {
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .watch-btn {
    padding: 7px 10px;
    font-size: 11.5px;
    min-height: 38px;
    border-radius: var(--r-pill);
  }
  .watch-btn .i {
    width: 15px;
    height: 15px;
  }
  .watch-back {
    padding: 7px 12px;
    font-size: 12px;
    min-height: 38px;
    border-radius: var(--r-pill);
  }
  .watch-back .i {
    width: 15px;
    height: 15px;
  }
  .watch-download {
    padding: 7px 10px;
    font-size: 11.5px;
    min-height: 38px;
    border-radius: var(--r-pill);
  }
  .watch-download .i {
    width: 15px;
    height: 15px;
  }
  .watch-episodes-drawer {
    width: 100vw;
    max-width: 100vw;
    z-index: 9999 !important;
  }
}

/* Anime & Episodes Navigation Enhancements */
.panel.glass.in {
  opacity: 1 !important;
  transform: none !important;
}

.anime-nav-arrow {
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink);
  transition: background 0.2s, transform 0.2s;
}

.anime-nav-arrow:hover:not(:disabled) {
  background: rgba(244, 184, 105, 0.2);
  border-color: rgba(244, 184, 105, 0.4);
  color: #fff;
  transform: scale(1.03);
}

.anime-jump-input::-webkit-outer-spin-button,
.anime-jump-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.anime-jump-input[type=number] {
  -moz-appearance: textfield;
}

@media (max-width: 600px) {
  .anime-nav-controls {
    gap: 6px !important;
  }
  .anime-nav-arrow {
    padding: 6px 10px;
    font-size: 11.5px;
  }
}
