/* ──────────────────────────────────────────────────────────────
   Plotline — design system
   Dark, cinematic canvas + a warm-to-cool accent palette.
   Movies = coral, Shows = violet, Books = teal.
   ────────────────────────────────────────────────────────────── */

:root {
  --bg: #07070b;
  --bg-2: #0e0e14;
  --bg-3: #15151d;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --surface-3: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-2: #a7a7b3;
  --text-3: #6e6e7a;

  --coral: #ff6b5e;
  --amber: #ffb547;
  --pink: #ff5fa2;
  --violet: #8b7cff;
  --sky: #4fb3ff;
  --teal: #2dd4bf;
  --lime: #a3e635;

  --movie: var(--coral);
  --show: var(--violet);
  --book: var(--teal);

  --brand: linear-gradient(115deg, #ff6b5e 0%, #ff5fa2 32%, #8b7cff 66%, #4fb3ff 100%);
  --brand-soft: linear-gradient(115deg, rgba(255,107,94,.18), rgba(255,95,162,.14) 35%, rgba(139,124,255,.16) 70%, rgba(79,179,255,.14));

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 64px;
  --gutter: clamp(16px, 4vw, 56px);
  --card-w: clamp(132px, 14vw, 196px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01";
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(139, 124, 255, .45); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.wrap { padding-inline: var(--gutter); }

/* ───────── Buttons ───────── */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .35s var(--spring), background .25s, box-shadow .3s, opacity .2s, color .2s;
  will-change: transform;
}
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--text); color: #0a0a0f; }
.btn-primary:hover { background: #fff; box-shadow: 0 10px 40px -10px rgba(255,255,255,.45); }
.btn-glass { background: rgba(255,255,255,.12); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-grad { background: var(--brand); color: #fff; background-size: 160% 100%; background-position: 0% 50%; transition: background-position .6s var(--ease), transform .35s var(--spring), box-shadow .3s; }
.btn-grad:hover { background-position: 100% 50%; box-shadow: 0 14px 50px -14px rgba(255, 95, 162, .7); }
.btn-ghost { color: var(--text-2); padding: 0 14px; }
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.btn-sm { --h: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 17px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn.is-on { background: rgba(45, 212, 191, .16); color: var(--teal); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--surface-2); transition: background .2s, transform .35s var(--spring);
}
.icon-btn:hover { background: var(--surface-3); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 20px; height: 20px; }

/* ───────── Header ───────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter);
  transition: background .4s var(--ease), border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(7,7,11,.85), rgba(7,7,11,0));
  transition: opacity .4s;
}
.header.scrolled { background: rgba(10, 10, 15, .72); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border-color: var(--line); }
.header.scrolled::before { opacity: 0; }
.header.hidden-nav { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.04em; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); position: relative; box-shadow: 0 6px 24px -6px rgba(255,95,162,.6); }
.logo-mark::after { content: ""; position: absolute; inset: 7px 9px 7px 9px; border-radius: 2px 6px 6px 2px; background: #0b0b10; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.nav { display: flex; gap: 4px; position: relative; }
.nav a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .25s; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav-pill { position: absolute; z-index: 0; top: 0; height: 100%; border-radius: 999px; background: var(--surface-2); transition: left .5s var(--spring), width .5s var(--spring), opacity .3s; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wl-icon { position: relative; }
.wl-count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--spring); }
.wl-count.show { transform: scale(1); }
.wl-icon.bump { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.25); } 60% { transform: scale(.95); } }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; flex: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.kbd { font-size: 11px; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.search-trigger { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 14px; transition: background .2s, color .2s; }
.search-trigger:hover { background: var(--surface-3); color: var(--text); }
.search-trigger svg { width: 18px; height: 18px; }

/* Mobile tab bar */
.tabbar { display: none; }
@media (max-width: 760px) {
  .nav, .search-trigger .label, .search-trigger .kbd { display: none; }
  .search-trigger { width: 42px; padding: 0; justify-content: center; }
  .tabbar {
    display: flex; position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; height: 62px;
    border-radius: 22px; background: rgba(20, 20, 28, .78); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--line); justify-content: space-around; align-items: center;
  }
  .tabbar a { display: grid; justify-items: center; gap: 2px; font-size: 11px; color: var(--text-3); padding: 6px 12px; transition: color .2s; }
  .tabbar a.active { color: var(--text); }
  .tabbar svg { width: 22px; height: 22px; }
  main { padding-bottom: 90px; }
}

/* ───────── View transitions ───────── */
main { min-height: 100vh; }
.view { animation: viewIn .7s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
::view-transition-old(root) { animation: vtOut .35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: scale(.985); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: scale(1.01); filter: blur(4px); } }
::view-transition-group(hero-poster) { animation-duration: .6s; animation-timing-function: var(--ease); }

/* ───────── Reveal on scroll ───────── */
.reveal { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ───────── Home hero (billboard) ───────── */
.billboard { position: relative; height: min(88vh, 860px); min-height: 560px; overflow: hidden; isolation: isolate; }
.bb-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.bb-slide.active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; }
.bb-bg { position: absolute; inset: -4%; background-size: cover; background-position: center 30%; transform: scale(1.08); }
.bb-slide.active .bb-bg { animation: kenburns 14s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(1%, 0, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.bb-bg.poster-blur { filter: blur(48px) saturate(150%) brightness(.75); inset: -12%; }
.bb-poster { position: absolute; right: calc(var(--gutter) + 2vw); top: 50%; translate: 0 -46%; width: clamp(180px, 22vw, 320px); aspect-ratio: 2/3; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); transform: perspective(1200px) rotateY(-12deg) rotateX(4deg); transition: transform 1.2s var(--ease); }
.bb-slide.active .bb-poster { animation: posterIn 1.4s var(--ease) both; }
@keyframes posterIn { from { opacity: 0; transform: perspective(1200px) rotateY(-30deg) rotateX(8deg) translateX(60px) scale(.9); } }
.bb-poster img { width: 100%; height: 100%; object-fit: cover; }
.bb-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(7,7,11,.92) 0%, rgba(7,7,11,.6) 35%, rgba(7,7,11,0) 70%),
  linear-gradient(0deg, var(--bg) 0%, rgba(7,7,11,0) 38%); }
.bb-content { position: absolute; left: var(--gutter); bottom: clamp(90px, 16vh, 160px); max-width: min(620px, 88vw); }
.bb-content > * { opacity: 0; transform: translateY(24px); }
.bb-slide.active .bb-content > * { animation: riseIn 1s var(--ease) forwards; }
.bb-slide.active .bb-content > *:nth-child(2) { animation-delay: .08s; }
.bb-slide.active .bb-content > *:nth-child(3) { animation-delay: .16s; }
.bb-slide.active .bb-content > *:nth-child(4) { animation-delay: .24s; }
.bb-slide.active .bb-content > *:nth-child(5) { animation-delay: .32s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
.bb-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); margin-bottom: 14px; }
.bb-title { font-size: clamp(38px, 6.4vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -0.045em; margin: 0 0 16px; text-wrap: balance; }
.bb-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--text-2); font-size: 14.5px; margin-bottom: 14px; }
.bb-desc { color: rgba(245,245,247,.82); font-size: clamp(15px, 1.25vw, 17.5px); max-width: 540px; margin: 0 0 26px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bb-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bb-dots { position: absolute; z-index: 3; left: var(--gutter); bottom: 48px; display: flex; gap: 8px; }
.bb-dot { width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; position: relative; transition: width .5s var(--ease); }
.bb-dot.active { width: 64px; }
.bb-dot i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.bb-dot.active i { animation: dotfill var(--dur, 8s) linear forwards; }
.billboard.paused .bb-dot.active i { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
@media (max-width: 760px) {
  .bb-poster { display: none; }
  .bb-shade { background: linear-gradient(0deg, var(--bg) 8%, rgba(7,7,11,.55) 55%, rgba(7,7,11,.2)); }
  .bb-content { bottom: 104px; }
  .bb-dots { bottom: 60px; }
  .filter-bar .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filter-bar .pills::-webkit-scrollbar { display: none; }
  .filter-bar .pill { flex: none; }
}

/* ───────── Chips / pills ───────── */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { height: 36px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, transform .35s var(--spring); }
.pill:hover { color: var(--text); background: var(--surface-3); }
.pill.on { background: var(--text); color: #0a0a0f; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--text-3)); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--surface-2); color: var(--text-2); }
.type-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 12px var(--tc); display: inline-block; }
.filter-bar { position: relative; z-index: 2; margin-top: -40px; padding-inline: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ───────── Rows & cards ───────── */
.rows { padding-bottom: 80px; }
.row { margin-top: 44px; position: relative; }
.row-head { display: flex; align-items: baseline; gap: 14px; padding-inline: var(--gutter); margin-bottom: 14px; }
.row-title { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; letter-spacing: -0.025em; margin: 0; }
.row-sub { color: var(--text-3); font-size: 14px; }
.row-more { margin-left: auto; color: var(--text-2); font-size: 14px; font-weight: 500; }
.row-more:hover { color: var(--text); }
.scroller-wrap { position: relative; }
.scroller {
  display: flex; gap: 14px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px var(--gutter) 26px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; flex: none; }
.scroll-btn {
  position: absolute; z-index: 4; top: 10px; bottom: 26px; width: calc(var(--gutter) - 4px); min-width: 44px;
  display: grid; place-items: center; opacity: 0; transition: opacity .3s, background .3s; color: #fff;
}
.scroll-btn svg { width: 30px; height: 30px; transition: transform .35s var(--spring); }
.scroll-btn:hover svg { transform: scale(1.25); }
.scroll-btn.prev { left: 0; background: linear-gradient(90deg, rgba(7,7,11,.9), transparent); }
.scroll-btn.next { right: 0; background: linear-gradient(-90deg, rgba(7,7,11,.9), transparent); }
.scroller-wrap:hover .scroll-btn:not([hidden]) { opacity: 1; }
@media (hover: none) { .scroll-btn { display: none; } }

.card { --tc: var(--movie); position: relative; width: var(--card-w); }
.card[data-type="show"] { --tc: var(--show); }
.card[data-type="book"] { --tc: var(--book); }
.card-link { display: block; }
.card-media {
  position: relative; aspect-ratio: 2/3; border-radius: var(--radius); overflow: hidden; background: var(--bg-3);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  transform: translateZ(0);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; opacity: 0; }
.card-media img.loaded { opacity: 1; }
.card:hover .card-media { transform: translateY(-6px) scale(1.045); box-shadow: 0 24px 50px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.14), 0 18px 60px -30px var(--tc); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 45%); opacity: 0; transition: opacity .4s; }
.card:hover .card-media::after { opacity: 1; }
.card-ph { position: absolute; inset: 0; display: none; padding: 16px; align-items: flex-end; font-weight: 700; font-size: 17px; line-height: 1.15; letter-spacing: -0.02em;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tc) 55%, transparent), transparent 60%), radial-gradient(120% 90% at 100% 100%, rgba(139,124,255,.35), transparent 60%), var(--bg-3); }
.noimg .card-ph { display: flex; }
.noimg img { display: none; }
.card-info { padding: 10px 2px 0; }
.card-title { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 12.5px; margin-top: 2px; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.badge { height: 22px; padding: 0 8px; border-radius: 7px; font-size: 11px; font-weight: 700; letter-spacing: .03em; display: inline-flex; align-items: center; background: rgba(10,10,15,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.badge.new { background: var(--coral); color: #fff; }
.badge.season { background: var(--violet); color: #fff; }
.badge.soon { background: rgba(255,255,255,.92); color: #0a0a0f; }
.card-add {
  position: absolute; z-index: 3; right: 10px; top: calc(var(--card-w) * 1.5 - 50px); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(20,20,28,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.18);
  opacity: 0; transform: translateY(8px) scale(.8); transition: opacity .35s var(--ease), transform .45s var(--spring), background .25s;
}
.card-add svg { width: 18px; height: 18px; transition: transform .45s var(--spring); }
.card:hover .card-add, .card-add.on, .card-add:focus-visible { opacity: 1; transform: none; }
.card-add:hover { background: rgba(255,255,255,.95); color: #0a0a0f; }
.card-add.on { background: var(--teal); border-color: transparent; color: #04211d; }
.card-add.on svg { transform: rotate(360deg); }
@media (hover: none) { .card-add { opacity: 1; transform: none; } }

/* Top 10 */
.card.rank { width: calc(var(--card-w) * 1.42); display: flex; align-items: flex-end; }
.rank-num { flex: none; width: 42%; margin-right: -14%; font-size: calc(var(--card-w) * 1.05); font-weight: 900; line-height: .78; letter-spacing: -0.08em; color: var(--bg); -webkit-text-stroke: 2px rgba(255,255,255,.35); transition: -webkit-text-stroke-color .4s; text-align: right; user-select: none; }
.card.rank:hover .rank-num { -webkit-text-stroke-color: var(--tc); }
.card.rank .card-body { width: 72%; position: relative; z-index: 1; }
.card.rank .card-add { top: calc(var(--card-w) * 1.42 * .72 * 1.5 - 50px); }

/* Landscape cards (just added / coming soon) */
.lcard { --tc: var(--movie); width: clamp(240px, 26vw, 360px); position: relative; }
.lcard[data-type="show"] { --tc: var(--show); }
.lcard[data-type="book"] { --tc: var(--book); }
.lcard .card-media { aspect-ratio: 16/9; }
.lcard .lc-text { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; }
.lcard .lc-title { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; line-height: 1.15; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.lcard .lc-meta { color: rgba(255,255,255,.75); font-size: 12.5px; margin-top: 3px; display: flex; gap: 6px; align-items: center; }
.lcard .card-media::after { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,0) 65%); }
.lcard .card-add { top: 12px; right: 12px; }
.lcard .poster-in-wide { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(26px) saturate(140%) brightness(.7); transform: scale(1.3); }
.lcard .poster-in-wide + img { object-fit: contain; }

/* Skeleton */
.skeleton { background: linear-gradient(100deg, var(--bg-3) 30%, #1d1d27 50%, var(--bg-3) 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; border-radius: var(--radius); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Section: where to watch */
.where { margin: 64px var(--gutter) 0; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-xl); background: var(--brand-soft), var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.where::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(139,124,255,.35), transparent 65%); pointer-events: none; }
.where-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; position: relative; }
.where h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.035em; line-height: 1.05; }
.where .scroller { padding-inline: 0; scroll-padding-inline: 0; }
.prov-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.prov-tab { height: 38px; padding: 0 14px 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); font-size: 14px; font-weight: 600; color: var(--text-2); transition: all .3s var(--ease); }
.prov-tab:hover { color: var(--text); background: rgba(255,255,255,.12); }
.prov-tab.on { background: var(--text); color: #0a0a0f; }
.prov-logo { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; background: var(--pc, #444); flex: none; letter-spacing: -0.04em; }
.prov-tab .count { font-weight: 500; opacity: .6; font-size: 12.5px; }

/* Statement band (home) */
.statement { margin: 90px var(--gutter) 0; text-align: center; }
.statement h2 { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.045em; margin: 0 auto; max-width: 15ch; text-wrap: balance; }

/* ───────── Detail page ───────── */
.d-hero { position: relative; height: min(82vh, 820px); min-height: 520px; overflow: hidden; isolation: isolate; }
.d-bg { position: absolute; inset: 0; background-size: cover; background-position: center 25%; transform: scale(1.06); transition: opacity 1.2s var(--ease); will-change: transform; }
.d-bg.poster-blur { filter: blur(56px) saturate(160%) brightness(.7); inset: -14%; }
.d-video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none; overflow: hidden; }
.d-video.on { opacity: 1; }
.d-video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%) scale(1.18); border: 0; }
.d-shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(7,7,11,.7) 26%, rgba(7,7,11,.1) 60%, rgba(7,7,11,.55) 100%), linear-gradient(90deg, rgba(7,7,11,.75), rgba(7,7,11,0) 60%); }
.d-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(55% 70% at 22% 38%, var(--amb, transparent), transparent 70%), radial-gradient(40% 60% at 85% 20%, var(--amb, transparent), transparent 70%); opacity: .32; mix-blend-mode: screen; transition: opacity 1.2s var(--ease); }
.d-hero.playing::after { opacity: .12; }
.d-hero-ctrl { position: absolute; z-index: 3; right: var(--gutter); bottom: 120px; display: flex; gap: 10px; opacity: 0; transition: opacity .6s; }
.d-hero-ctrl.show { opacity: 1; }
.d-play-big { position: absolute; z-index: 2; left: 50%; top: 42%; translate: -50% -50%; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.25); transition: transform .5s var(--spring), background .3s; }
.d-play-big:hover { transform: scale(1.1); background: rgba(255,255,255,.24); }
.d-play-big svg { width: 34px; height: 34px; margin-left: 4px; }
.d-play-big::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.d-hero.playing .d-play-big { opacity: 0; pointer-events: none; transform: scale(.8); }

.d-main { position: relative; z-index: 2; margin-top: -260px; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .d-main { grid-template-columns: 1fr; margin-top: -200px; } .d-poster-col { max-width: 220px; } }
@media (max-width: 560px) {
  .d-hero { height: 56vh; min-height: 380px; }
  .d-main { margin-top: -150px; gap: 8px; }
  .d-poster-col { max-width: 150px; }
  .book3d { --w: 150px; }
  .d-info { padding-top: 8px; }
  .d-play-big { width: 72px; height: 72px; top: 36%; }
}
.d-poster { aspect-ratio: 2/3; border-radius: 20px; overflow: hidden; background: var(--bg-3); box-shadow: 0 50px 100px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.1), 0 30px 120px -40px var(--glow, rgba(139,124,255,.6)); transform-style: preserve-3d; transition: transform .2s ease-out; view-transition-name: hero-poster; }
.d-poster img { width: 100%; height: 100%; object-fit: cover; }
.tilt-shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.25), transparent 50%); opacity: 0; transition: opacity .3s; mix-blend-mode: overlay; }
.tilting .tilt-shine { opacity: 1; }

/* 3D book */
.book3d { --w: min(100%, 280px); width: var(--w); aspect-ratio: 2/3; perspective: 1400px; margin: 0 auto; view-transition-name: hero-poster; }
.book3d-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(4deg); transition: transform 1s var(--ease); animation: bookFloat 6s var(--ease-in-out) infinite; }
.book3d:hover .book3d-inner { transform: rotateY(-8deg) rotateX(2deg); }
@keyframes bookFloat { 50% { translate: 0 -10px; } }
.book3d-front { position: absolute; inset: 0; border-radius: 4px 12px 12px 4px; overflow: hidden; transform: translateZ(18px); box-shadow: 0 40px 80px -20px rgba(0,0,0,.9); background: var(--bg-3); }
.book3d-front img { width: 100%; height: 100%; object-fit: cover; }
.book3d-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(255,255,255,.12) 3%, rgba(0,0,0,0) 8%, rgba(0,0,0,0) 90%, rgba(255,255,255,.08)); }
.book3d-pages { position: absolute; top: 2%; bottom: 2%; right: 0; width: 36px; transform: translateX(14px) rotateY(90deg) translateZ(4px); background: repeating-linear-gradient(90deg, #f3eee2 0 1px, #d9d2c0 1px 2px); border-radius: 0 3px 3px 0; }
.book3d-back { position: absolute; inset: 0; transform: translateZ(-18px); background: #1a1a22; border-radius: 4px 12px 12px 4px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.book3d-spine { position: absolute; top: 0; bottom: 0; left: 0; width: 36px; transform: translateX(-18px) rotateY(-90deg); transform-origin: center; background: var(--spine, #333); }

.d-info { padding-top: clamp(40px, 10vh, 120px); min-width: 0; }
.d-kicker { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }
.d-title { font-size: clamp(36px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; margin: 0 0 16px; text-wrap: balance; }
.d-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.d-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
.d-syn { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(245,245,247,.86); max-width: 720px; margin: 0 0 10px; }
.d-src { font-size: 12.5px; color: var(--text-3); }
.d-src a { text-decoration: underline; text-underline-offset: 2px; }
.d-people { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 20px 0 26px; font-size: 14.5px; max-width: 720px; }
.d-people dt { color: var(--text-3); }
.d-people dd { margin: 0; color: var(--text-2); }
.d-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.d-section { margin-top: 72px; padding-inline: var(--gutter); }
.d-section > h2, .sec-title { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.035em; margin: 0 0 20px; font-weight: 700; }

/* Ratings */
.ratings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rcard { padding: 22px 24px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.rcard-label { font-size: 13px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.rcard-big { font-size: 52px; font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; margin: 10px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.rcard-big small { font-size: 18px; color: var(--text-3); font-weight: 600; letter-spacing: -0.02em; }
.rcard-sub { font-size: 13.5px; color: var(--text-3); }
.rcard-sub a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.imdb-badge { background: #f5c518; color: #000; font-weight: 900; font-size: 12px; padding: 2px 6px; border-radius: 4px; letter-spacing: -0.02em; }
.ol-badge { background: #e2dcc8; color: #1b1b1b; font-weight: 800; font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.pl-badge { background: var(--brand); color: #fff; font-weight: 800; font-size: 11px; padding: 2px 7px; border-radius: 4px; }
.rcard.community { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--brand-soft), var(--bg-2); }
@media (max-width: 640px) { .rcard.community { grid-column: auto; grid-template-columns: 1fr; } }
.dist { display: grid; gap: 7px; }
.dist-row { display: grid; grid-template-columns: 28px 1fr 42px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-3); }
.dist-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.dist-bar i { display: block; height: 100%; border-radius: 4px; background: var(--brand); width: 0; transition: width 1.3s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.in .dist-bar i, .dist.in .dist-bar i { width: var(--w); }
.demo-note { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--amber); background: rgba(255,181,71,.1); border: 1px solid rgba(255,181,71,.2); padding: 3px 10px; border-radius: 999px; }

/* Stars */
.stars { display: inline-flex; gap: 2px; color: var(--amber); vertical-align: middle; }
.stars svg { width: var(--s, 16px); height: var(--s, 16px); }
.stars .off { color: rgba(255,255,255,.16); }
.star-input { display: inline-flex; gap: 6px; }
.star-input button { width: 44px; height: 44px; display: grid; place-items: center; color: rgba(255,255,255,.18); transition: transform .4s var(--spring), color .2s; }
.star-input button svg { width: 36px; height: 36px; }
.star-input button.lit { color: var(--amber); }
.star-input button:hover { transform: scale(1.18) rotate(-6deg); }
.star-input button.pop { animation: starPop .5s var(--spring); }
@keyframes starPop { 40% { transform: scale(1.45) rotate(10deg); } }
.star-caption { min-height: 22px; font-size: 14px; color: var(--text-2); margin-top: 6px; }

/* Providers */
.providers { display: flex; flex-wrap: wrap; gap: 12px; }
.ptile { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--spring), background .25s, border-color .25s; min-width: 190px; }
.ptile:hover { transform: translateY(-3px); background: var(--surface-2); border-color: var(--line-2); }
.ptile .prov-logo { width: 40px; height: 40px; border-radius: 11px; font-size: 15px; }
.ptile b { display: block; font-size: 15px; font-weight: 600; }
.ptile span { font-size: 12.5px; color: var(--text-3); }
.ptile.mine { border-color: rgba(45,212,191,.45); background: rgba(45,212,191,.08); }

/* Gallery */
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.gallery::-webkit-scrollbar { display: none; }
.g-item { flex: none; height: clamp(180px, 24vw, 300px); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; position: relative; background: var(--bg-3); cursor: zoom-in; }
.g-item img { height: 100%; width: auto; max-width: 560px; object-fit: cover; transition: transform 1s var(--ease), opacity .5s; opacity: 0; }
.g-item img.loaded { opacity: 1; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 12.5px; color: rgba(255,255,255,.85); background: linear-gradient(to top, rgba(0,0,0,.8), transparent); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-item:hover figcaption { opacity: 1; transform: none; }
.g-empty { color: var(--text-3); font-size: 14px; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,5,8,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: grid; place-items: center; animation: fadeIn .4s var(--ease); padding: 60px 20px; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: min(1200px, 92vw); }
.lightbox img { max-height: 76vh; max-width: 100%; border-radius: 14px; animation: zoomIn .6s var(--ease); }
.lightbox figcaption { color: var(--text-2); font-size: 14px; text-align: center; max-width: 720px; }
.lb-nav { position: fixed; top: 50%; translate: 0 -50%; }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-close { position: fixed; top: 20px; right: 20px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* Pair card (book ↔ screen) */
.pair { display: flex; align-items: center; gap: 20px; padding: 18px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); max-width: 640px; transition: transform .4s var(--spring), background .3s; }
.pair:hover { transform: translateY(-3px); background: var(--surface-2); }
.pair img { width: 64px; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; }
.pair .k { font-size: 12.5px; font-weight: 600; color: var(--tc); text-transform: uppercase; letter-spacing: .06em; }
.pair .t { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }

/* Reviews */
.rev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.rev-head h2 { margin: 0 auto 0 0; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg button { position: relative; z-index: 1; height: 34px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: color .3s; }
.seg button.on { color: #0a0a0f; }
.seg-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--text); transition: left .5s var(--spring), width .5s var(--spring); }
.reviews { display: grid; gap: 14px; max-width: 880px; }
.review { padding: 20px 22px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.review.featured { position: relative; padding: 26px 28px; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--brand) border-box; border: 1.5px solid transparent; }
.review.featured::before { content: "Most liked"; position: absolute; top: -12px; left: 22px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; letter-spacing: .02em; }
.review.featured .rv-text { font-size: 18px; line-height: 1.6; color: var(--text); }
.rv-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rv-top .avatar { width: 36px; height: 36px; font-size: 13px; }
.rv-name { font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.rv-date { font-size: 12.5px; color: var(--text-3); }
.rv-text { margin: 0; color: rgba(245,245,247,.85); line-height: 1.6; white-space: pre-line; }
.rv-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.sample-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--amber); background: rgba(255,181,71,.12); padding: 2px 7px; border-radius: 5px; }
.like-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; color: var(--text-2); transition: background .25s, color .25s, transform .4s var(--spring); }
.like-btn:hover { background: var(--surface-3); color: var(--text); }
.like-btn svg { width: 17px; height: 17px; transition: transform .45s var(--spring); }
.like-btn.on { color: var(--pink); background: rgba(255,95,162,.12); }
.like-btn.on svg { fill: currentColor; }
.like-btn.pop svg { animation: heartPop .55s var(--spring); }
@keyframes heartPop { 30% { transform: scale(1.5); } 60% { transform: scale(.9); } }
.burst-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; left: 20px; top: 14px; pointer-events: none; animation: burst .7s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
.composer { padding: 22px; border-radius: var(--radius-l); background: var(--surface); border: 1px dashed var(--line-2); max-width: 880px; margin-bottom: 18px; }
.composer textarea, .field textarea { width: 100%; min-height: 110px; resize: vertical; padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--line); outline: none; transition: border-color .25s, box-shadow .25s; line-height: 1.55; }
.composer textarea:focus, .field textarea:focus { border-color: rgba(139,124,255,.6); box-shadow: 0 0 0 4px rgba(139,124,255,.15); }
.composer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* ───────── Watchlist ───────── */
.page-head { padding: calc(var(--header-h) + 48px) var(--gutter) 10px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; justify-content: space-between; }
.page-title { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.05em; line-height: 1; margin: 0; font-weight: 800; }
.page-sub { color: var(--text-2); margin: 10px 0 0; }
.wl-bar { padding: 24px var(--gutter) 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.wl-grid { padding: 26px var(--gutter) 100px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.wl-card { --tc: var(--movie); display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); transition: transform .45s var(--spring), background .3s, opacity .4s, scale .4s var(--ease); }
.wl-card[data-type="show"] { --tc: var(--show); }
.wl-card[data-type="book"] { --tc: var(--book); }
.wl-card:hover { background: var(--surface-2); }
.wl-card.leaving { opacity: 0; scale: .92; }
.wl-card .card-media { border-radius: 12px; }
.wl-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wl-title { font-weight: 700; font-size: 16.5px; letter-spacing: -0.02em; line-height: 1.2; }
.wl-meta { font-size: 13px; color: var(--text-3); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.wl-review { font-size: 13.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-style: italic; }
.wl-actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; padding-top: 6px; }
.wl-actions .btn-sm { --h: 32px; padding: 0 12px; font-size: 13px; gap: 6px; }
.wl-actions .btn-sm svg { width: 15px; height: 15px; }
.empty { text-align: center; padding: 90px 20px 120px; display: grid; justify-items: center; gap: 14px; }
.empty-art { width: 120px; height: 120px; border-radius: 36px; background: var(--brand-soft), var(--bg-3); display: grid; place-items: center; border: 1px solid var(--line); animation: bookFloat 5s var(--ease-in-out) infinite; }
.empty-art svg { width: 48px; height: 48px; color: var(--text-2); }
.empty h3 { margin: 6px 0 0; font-size: 24px; letter-spacing: -0.03em; }
.empty p { margin: 0; color: var(--text-2); max-width: 420px; }

/* ───────── Modal / sheet ───────── */
.modal-root { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,4,7,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: fadeIn .35s var(--ease); }
.modal { position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 28px; background: rgba(22, 22, 30, .92); backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%); border: 1px solid var(--line-2); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9); padding: 30px; animation: sheetIn .6s var(--spring); }
.modal.wide { width: min(980px, 100%); padding: 0; background: #000; overflow: hidden; }
.modal-root.closing .modal { animation: sheetOut .3s var(--ease) forwards; }
.modal-root.closing .modal-backdrop { animation: fadeOut .3s var(--ease) forwards; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px) scale(.94); } }
@keyframes sheetOut { to { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fadeOut { to { opacity: 0; } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; }
.modal h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.03em; }
.modal p.lead { margin: 0 0 22px; color: var(--text-2); font-size: 15px; }
.video-frame { aspect-ratio: 16/9; width: 100%; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 560px) {
  .modal-root { align-items: end; padding: 0; }
  .modal { border-radius: 28px 28px 0 0; width: 100%; animation: sheetUp .6s var(--ease); }
  .modal.wide { border-radius: 18px; margin: 0 10px 20px; width: calc(100% - 20px); }
  @keyframes sheetUp { from { transform: translateY(100%); } }
}

/* Forms */
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.input { height: 50px; padding: 0 16px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--line-2); outline: none; transition: border-color .25s, box-shadow .25s; width: 100%; }
.input:focus { border-color: rgba(139,124,255,.7); box-shadow: 0 0 0 4px rgba(139,124,255,.16); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a7a7b3' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-error { color: #ff8a80; font-size: 13.5px; min-height: 20px; margin: -4px 0 10px; }

/* Auth */
.auth-logo { width: 56px; height: 56px; border-radius: 18px; margin-bottom: 18px; }
.auth-btn { width: 100%; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; font-size: 15.5px; transition: transform .35s var(--spring), filter .2s, background .2s; margin-bottom: 10px; }
.auth-btn:active { transform: scale(.97); }
.auth-btn svg { width: 20px; height: 20px; }
.auth-google { background: #fff; color: #1f1f1f; }
.auth-google:hover { background: #f1f1f4; }
.auth-email { background: transparent; }
.or { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12.5px; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.auth-switch { text-align: center; font-size: 14px; color: var(--text-2); margin-top: 6px; }
.auth-switch button { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.auth-note { font-size: 12.5px; color: var(--text-3); text-align: center; margin-top: 16px; line-height: 1.5; }
.mode-banner { font-size: 13px; line-height: 1.5; color: var(--amber); background: rgba(255,181,71,.08); border: 1px solid rgba(255,181,71,.2); padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }

/* Menu */
.menu { position: fixed; z-index: 70; top: calc(var(--header-h) - 4px); right: var(--gutter); width: 280px; padding: 8px; border-radius: 20px; background: rgba(24,24,32,.92); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); transform-origin: top right; animation: menuIn .45s var(--spring); }
@keyframes menuIn { from { opacity: 0; transform: scale(.9) translateY(-8px); } }
.menu-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head b { display: block; font-size: 15px; }
.menu-head span { font-size: 12.5px; color: var(--text-3); }
.menu a, .menu button.mi { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 14.5px; color: var(--text-2); text-align: left; transition: background .2s, color .2s; }
.menu a:hover, .menu button.mi:hover { background: var(--surface-2); color: var(--text); }
.menu svg { width: 18px; height: 18px; }
.menu .mi-select { display: flex; align-items: center; gap: 12px; padding: 6px 12px; font-size: 14.5px; color: var(--text-2); }
.menu .mi-select select { margin-left: auto; height: 34px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); padding: 0 8px; }

/* Share sheet */
.share-preview { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface); margin-bottom: 18px; }
.share-preview img { width: 54px; aspect-ratio: 2/3; border-radius: 8px; object-fit: cover; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.share-opt { display: grid; justify-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); padding: 10px 4px; border-radius: 14px; transition: background .2s, transform .35s var(--spring); }
.share-opt:hover { background: var(--surface-2); color: var(--text); transform: translateY(-2px); }
.share-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--sc, #333); color: #fff; }
.share-ic svg { width: 22px; height: 22px; }
.copy-row { display: flex; gap: 8px; }
.copy-row .input { height: 46px; font-size: 13.5px; color: var(--text-2); }

/* Search overlay */
.search-ov { position: fixed; inset: 0; z-index: 85; background: rgba(6,6,10,.88); backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%); animation: fadeIn .3s var(--ease); overflow-y: auto; }
.search-box { position: sticky; top: 0; padding: 28px var(--gutter) 18px; background: linear-gradient(rgba(6,6,10,.95) 70%, transparent); z-index: 2; }
.search-field { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-2); padding-bottom: 12px; }
.search-field svg { width: 28px; height: 28px; color: var(--text-3); flex: none; }
.search-field input { flex: 1; background: none; border: 0; outline: none; font-size: clamp(24px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.035em; min-width: 0; }
.search-field input::placeholder { color: var(--text-3); }
.search-results { padding: 10px var(--gutter) 80px; display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--card-w), 1fr)); gap: 26px 16px; }
.search-results .card { width: 100%; animation: riseIn .6s var(--ease) both; opacity: 0; transform: translateY(16px); animation-delay: calc(var(--i) * 30ms); }
.search-hint { padding: 10px var(--gutter); color: var(--text-3); font-size: 14px; }

/* Toast */
.toasts { position: fixed; z-index: 95; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; gap: 10px; justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 8px 10px 8px 20px; border-radius: 999px; background: rgba(32,32,42,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -14px rgba(0,0,0,.8); font-size: 14.5px; font-weight: 500; animation: toastIn .6s var(--spring); white-space: nowrap; max-width: 92vw; }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
.toast:not(:has(button)) { padding-right: 20px; }
.toast .t-ic { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #04211d; display: grid; place-items: center; flex: none; }
.toast .t-ic svg { width: 13px; height: 13px; }
.toast button { height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 600; font-size: 13.5px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px) scale(.96); } }
@media (max-width: 760px) { .toasts { bottom: 90px; } }

/* Fly-to-list ghost */
.fly-ghost { position: fixed; z-index: 99; border-radius: 12px; overflow: hidden; pointer-events: none; box-shadow: 0 20px 50px rgba(0,0,0,.6); transition: transform .85s var(--ease-in-out), opacity .85s var(--ease-in-out), border-radius .85s; }
.fly-ghost img { width: 100%; height: 100%; object-fit: cover; }

/* ───────── Landing (first visit) ───────── */
.landing { overflow: clip; }
.mesh { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; mix-blend-mode: screen; animation: blob 18s var(--ease-in-out) infinite alternate; }
.blob.b1 { width: 52vw; height: 52vw; left: -10vw; top: -14vw; background: #ff6b5e; }
.blob.b2 { width: 46vw; height: 46vw; right: -12vw; top: -6vw; background: #8b7cff; animation-delay: -6s; animation-duration: 22s; }
.blob.b3 { width: 40vw; height: 40vw; left: 26vw; top: 22vw; background: #ff5fa2; animation-delay: -10s; opacity: .4; }
.blob.b4 { width: 34vw; height: 34vw; right: 6vw; top: 30vw; background: #4fb3ff; animation-delay: -3s; opacity: .35; animation-duration: 26s; }
@keyframes blob { 0% { transform: translate3d(0,0,0) scale(1); } 33% { transform: translate3d(6vw, 4vw, 0) scale(1.12); } 66% { transform: translate3d(-4vw, 6vw, 0) scale(.92); } 100% { transform: translate3d(3vw, -3vw, 0) scale(1.05); } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .06; 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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.l-hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; isolation: isolate; }
.l-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.l-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; color: var(--text-2); margin-bottom: 28px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.l-eyebrow b { background: var(--brand); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 700; }
.l-title { font-size: clamp(46px, 9vw, 132px); line-height: .92; letter-spacing: -0.06em; font-weight: 800; margin: 0 auto; max-width: 11ch; }
.l-title .w { display: inline-block; opacity: 0; transform: translateY(60%) rotate(4deg); filter: blur(12px); animation: wordIn 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .09s); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.l-sub { font-size: clamp(17px, 1.8vw, 22px); color: var(--text-2); max-width: 560px; margin: 28px auto 38px; opacity: 0; animation: riseIn 1s var(--ease) 1s forwards; transform: translateY(20px); }
.l-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: riseIn 1s var(--ease) 1.15s forwards; transform: translateY(20px); }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.3); opacity: 0; animation: fadeIn 1s 1.8s forwards; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(0); opacity: 1; } to { transform: translateY(14px); opacity: 0; } }

.marquee-stage { position: relative; height: clamp(440px, 64vw, 760px); perspective: 1400px; overflow: hidden; margin-top: -6vh; mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.marquee-tilt { position: absolute; inset: -10% -20%; display: grid; gap: 18px; align-content: center; transform: rotateX(28deg) rotateZ(-8deg) scale(1.05); transform-style: preserve-3d; }
.marquee-row { display: flex; gap: 18px; width: max-content; animation: marquee var(--speed, 60s) linear infinite; }
.marquee-row.rev { animation-direction: reverse; }
.marquee-row img { width: clamp(120px, 12vw, 190px); aspect-ratio: 2/3; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); background: var(--bg-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

.scrolly { position: relative; height: 260vh; }
.scrolly-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 0 var(--gutter); }
.scrolly p { font-size: clamp(30px, 5vw, 70px); line-height: 1.08; letter-spacing: -0.045em; font-weight: 700; max-width: 18ch; margin: 0; text-align: center; text-wrap: balance; }
.scrolly .sw { color: rgba(255,255,255,.14); transition: color .35s; }
.scrolly .sw.lit { color: var(--text); }
.scrolly .sw.lit.accent { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.features { padding: 40px var(--gutter) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 1280px; margin: 0 auto; }
.feature { padding: 32px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .6s var(--ease), border-color .4s; }
.feature:hover { transform: translateY(-6px); border-color: var(--line-2); }
.feature .f-orb { position: absolute; width: 170px; height: 170px; top: -70px; right: -70px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--c1), var(--c2) 60%, transparent 70%); filter: blur(4px); opacity: .9; animation: blob 14s var(--ease-in-out) infinite alternate; }
.feature h3 { font-size: 26px; letter-spacing: -0.035em; margin: 0 0 8px; line-height: 1.1; position: relative; }
.feature p { margin: 0; color: var(--text-2); position: relative; }
.l-final { text-align: center; padding: 120px var(--gutter) 140px; }
.l-final h2 { font-size: clamp(36px, 6vw, 84px); letter-spacing: -0.055em; line-height: .98; margin: 0 0 30px; }

/* ───────── Quiz ───────── */
.quiz { min-height: 100vh; position: relative; isolation: isolate; display: flex; flex-direction: column; padding-top: var(--header-h); }
.quiz .mesh .blob { opacity: .22; }
.quiz-top { position: sticky; top: var(--header-h); z-index: 5; display: flex; align-items: center; gap: 18px; padding: 18px var(--gutter); background: linear-gradient(var(--bg) 40%, transparent); }
.quiz-progress { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.quiz-progress i { display: block; height: 100%; background: var(--brand); border-radius: 2px; transition: width .8s var(--ease); }
.quiz-step-n { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
.quiz-stage { flex: 1; position: relative; display: grid; }
.step { grid-area: 1 / 1; padding: 20px var(--gutter) 140px; max-width: 1180px; width: 100%; margin: 0 auto; }
.step.enter { animation: stepIn .8s var(--ease) both; }
.step.leave { animation: stepOut .45s var(--ease) both; pointer-events: none; }
.step.enter.back { animation-name: stepInBack; }
.step.leave.back { animation-name: stepOutBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(60px); filter: blur(10px); } }
@keyframes stepOut { to { opacity: 0; transform: translateX(-60px); filter: blur(10px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-60px); filter: blur(10px); } }
@keyframes stepOutBack { to { opacity: 0; transform: translateX(60px); filter: blur(10px); } }
.step-title { font-size: clamp(32px, 5vw, 64px); letter-spacing: -0.05em; line-height: 1; margin: 20px 0 12px; font-weight: 800; text-wrap: balance; }
.step-sub { color: var(--text-2); font-size: clamp(16px, 1.4vw, 19px); margin: 0 0 34px; max-width: 640px; }
.quiz-foot { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; padding: 18px var(--gutter) 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: linear-gradient(transparent, var(--bg) 45%); }
.quiz-foot .hint { color: var(--text-3); font-size: 14px; }
.stagger > * { opacity: 0; animation: riseIn .7s var(--ease) forwards; transform: translateY(18px); animation-delay: calc(.1s + var(--i, 0) * 45ms); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.choice { position: relative; text-align: left; min-height: 280px; padding: 28px; border-radius: var(--radius-xl); background: var(--surface); border: 1.5px solid var(--line); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .6s var(--ease), border-color .3s, background .3s; }
.choice:hover { transform: translateY(-6px); background: var(--surface-2); }
.choice.on { border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--brand) border-box; }
.choice h3 { font-size: 28px; letter-spacing: -0.04em; margin: 0 0 6px; position: relative; }
.choice p { margin: 0; color: var(--text-2); position: relative; }
.choice-art { position: absolute; inset: 0; pointer-events: none; }
.choice-art span { position: absolute; width: 34%; aspect-ratio: 2/3; border-radius: 10px; background-size: cover; background-position: center; box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); transition: transform .8s var(--ease); background-color: var(--bg-3); }
.choice-art span:nth-child(1) { top: 20px; right: 26%; transform: rotate(-10deg); }
.choice-art span:nth-child(2) { top: 34px; right: 8%; transform: rotate(8deg); }
.choice-art span:nth-child(3) { top: 10px; right: 44%; transform: rotate(-18deg); opacity: .8; }
.choice:hover .choice-art span:nth-child(1) { transform: rotate(-14deg) translateY(-8px); }
.choice:hover .choice-art span:nth-child(2) { transform: rotate(12deg) translateY(-12px) translateX(6px); }
.choice:hover .choice-art span:nth-child(3) { transform: rotate(-24deg) translateY(-4px) translateX(-8px); }
.choice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-2) 35%, transparent 75%); pointer-events: none; }
.choice > h3, .choice > p { z-index: 1; }
.check { position: absolute; z-index: 2; top: 18px; left: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); transform: scale(0); transition: transform .5s var(--spring); }
.check svg { width: 16px; height: 16px; color: #fff; }
.on > .check { transform: scale(1); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { --c: var(--violet); height: 48px; padding: 0 20px; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--line); font-size: 15.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: transform .45s var(--spring), background .3s, border-color .3s, color .3s; }
.chip:hover { transform: translateY(-2px); border-color: var(--line-2); }
.chip:active { transform: scale(.95); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); transition: transform .4s var(--spring); }
.chip.on { background: color-mix(in srgb, var(--c) 22%, transparent); border-color: var(--c); }
.chip.on .dot { transform: scale(1.3); box-shadow: 0 0 14px var(--c); }
.group-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 600; margin: 26px 0 12px; }

.mood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.mood { position: relative; text-align: left; padding: 22px; min-height: 150px; border-radius: var(--radius-l); background: var(--surface); border: 1.5px solid var(--line); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .5s var(--ease), border-color .3s; }
.mood:hover { transform: translateY(-4px); }
.mood .orb { position: absolute; width: 130px; height: 130px; right: -30px; top: -30px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--c1), var(--c2) 65%, transparent 72%); transition: transform .9s var(--ease); opacity: .85; }
.mood:hover .orb, .mood.on .orb { transform: scale(1.5) translate(-10px, 10px); }
.mood b { font-size: 19px; letter-spacing: -0.02em; position: relative; }
.mood span { color: var(--text-2); font-size: 14px; position: relative; }
.mood.on { border-color: var(--c1); }

.pick-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.pick-tools .input { max-width: 340px; height: 44px; }
.legend { display: flex; gap: 16px; font-size: 13.5px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(110px, 12vw, 150px), 1fr)); gap: 14px; }
.pick { position: relative; aspect-ratio: 2/3; border-radius: 14px; overflow: hidden; background: var(--bg-3); transition: transform .5s var(--spring), box-shadow .3s; }
.pick img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s, transform .6s var(--ease); }
.pick:hover { transform: translateY(-4px); }
.pick .p-title { position: absolute; inset: auto 0 0 0; padding: 30px 10px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.2; background: linear-gradient(transparent, rgba(0,0,0,.85)); text-align: left; }
.pick .p-state { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--spring); }
.pick .p-state svg { width: 17px; height: 17px; }
.pick.seen { box-shadow: 0 0 0 3px var(--sky); }
.pick.seen .p-state { transform: scale(1); background: var(--sky); color: #04121f; }
.pick.loved { box-shadow: 0 0 0 3px var(--pink); }
.pick.loved .p-state { transform: scale(1); background: var(--pink); color: #fff; }
.pick.seen img, .pick.loved img { filter: brightness(.7); }
.pick.noimg .card-ph { display: flex; --tc: var(--violet); }

.opt-group { margin-bottom: 34px; }
.opt-group h4 { font-size: 20px; letter-spacing: -0.025em; margin: 0 0 4px; }
.opt-group p { margin: 0 0 14px; color: var(--text-2); font-size: 14.5px; }
.seg.big button { height: 44px; padding: 0 22px; font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.service { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); font-weight: 600; transition: transform .45s var(--spring), border-color .3s, background .3s; text-align: left; position: relative; }
.service:hover { transform: translateY(-3px); }
.service .prov-logo { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
.service.on { border-color: var(--teal); background: rgba(45,212,191,.08); }
.service .check { top: auto; left: auto; right: 12px; width: 22px; height: 22px; background: var(--teal); }
.service .check svg { width: 12px; height: 12px; color: #04211d; }

.picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.pickcard { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .6s var(--ease); }
.pickcard:hover { transform: translateY(-6px); }
.pickcard .pc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-3); }
.pickcard .pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pickcard .pc-media .pc-blur { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(22px) brightness(.7) saturate(140%); transform: scale(1.3); }
.pickcard .pc-media .pc-blur + img { position: relative; object-fit: contain; }
.pickcard .pc-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pickcard .pc-reason { font-size: 12.5px; font-weight: 600; color: var(--tc, var(--violet)); }
.pickcard h4 { margin: 0; font-size: 19px; letter-spacing: -0.025em; line-height: 1.15; }
.pickcard p { margin: 0; font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pickcard .pc-actions { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; }

/* Footer */
.footer { padding: 50px var(--gutter) 60px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 40px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }

/* Onboarding hides the main navigation */
.is-onboarding .nav, .is-onboarding .search-trigger, .is-onboarding .header-actions .wl-icon, .is-onboarding .tabbar { display: none; }
.is-onboarding main { padding-bottom: 0; }
.avatar-btn { display: grid; place-items: center; transition: transform .35s var(--spring); }
.avatar-btn:hover { transform: scale(1.06); }
.avatar-btn .avatar svg { width: 18px; height: 18px; }
.avatar-btn .avatar:not(:has(img)):has(svg) { background: var(--surface-2); color: var(--text-2); }

/* Utilities */
.spacer-header { height: var(--header-h); }
.center { text-align: center; }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .l-title .w, .l-sub, .l-cta, .stagger > *, .bb-content > * { opacity: 1; transform: none; filter: none; }
}
