/* FlickAtlas — midnight navy, amber-to-coral accent */
:root {
  --bg: #080b14; --bg2: #0d1220; --surface: #131a2b; --surface2: #1a2338; --line: #26304a; --line2: #34405f;
  --text: #eef1f8; --muted: #98a3bd; --dim: #6b7692;
  --amber: #ffb547; --coral: #ff6a5c; --teal: #37d6c0; --grad: linear-gradient(100deg, var(--amber), var(--coral));
  --imdb: #f5c518; --fresh: #fa320a; --rotten: #7bbf2e;
  --r: 14px; --r-sm: 9px; --shadow: 0 18px 50px -18px rgba(0, 0, 0, .8);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --display: "Segoe UI Variable Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --top: 68px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; scroll-padding-top: calc(var(--top) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(255, 106, 92, .10), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(55, 214, 192, .06), transparent 60%); background-attachment: fixed; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.ic { stroke: none; width: 15px; height: 15px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--amber); color: #000; padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--muted); } .grow { flex: 1; min-width: 0; } .fine { font-size: 12px; margin-top: 12px; }
.est { color: var(--amber); font-weight: 700; margin-right: 1px; }
kbd { font: 11px/1 var(--font); color: var(--dim); border: 1px solid var(--line2); border-radius: 5px; padding: 3px 6px; }
.pill { background: var(--grad); color: #1a0f08; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 7px; margin-left: 4px; }

/* ---------- top bar */
.topbar { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 22px; padding: 0 clamp(14px, 3vw, 40px);
  background: rgba(8, 11, 20, .72); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.topbar.scrolled { border-color: var(--line); background: rgba(8, 11, 20, .92); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 21px/1 var(--display); letter-spacing: -.03em; }
.brand img { border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(255, 140, 80, .55); }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-weight: 550; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active { color: var(--text); background: var(--surface2); }
.search { position: relative; flex: 1; max-width: 520px; margin-left: auto; display: flex; align-items: center; }
.search > svg { position: absolute; left: 14px; color: var(--dim); pointer-events: none; }
.search input { width: 100%; height: 42px; padding: 0 44px 0 42px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--amber); background: var(--bg2); box-shadow: 0 0 0 4px rgba(255, 181, 71, .14); }
.search input::-webkit-search-cancel-button { display: none; }
.search > kbd { position: absolute; right: 12px; pointer-events: none; }
.search input:focus ~ kbd { display: none; }
.suggest { position: absolute; top: 50px; left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line2); border-radius: 14px; box-shadow: var(--shadow); max-height: 70vh; overflow: auto; }
.suggest li { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 9px; cursor: pointer; }
.suggest li:hover, .suggest li.active { background: var(--surface2); }
.suggest img, .suggest .noimg { width: 34px; height: 50px; object-fit: cover; border-radius: 5px; background: var(--surface2); flex: none; }
.suggest b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest small { color: var(--muted); }
.suggest li.all { color: var(--muted); justify-content: space-between; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; margin-top: 4px; padding: 11px 10px; }
.tools { display: flex; align-items: center; gap: 10px; }
.country { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.country:focus-within { border-color: var(--amber); }
.country select { background: transparent; border: 0; outline: 0; padding: 8px 4px; max-width: 150px; cursor: pointer; }
select option { background: var(--surface); color: var(--text); }
.flag { font: 700 11px/1 var(--font); letter-spacing: .06em; padding: 5px 6px; border-radius: 6px; background: var(--grad); color: #1a0f08; }

/* ---------- buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface2); font-weight: 600; white-space: nowrap; transition: transform .12s, background .15s, border-color .15s, filter .15s; }
.btn:hover { background: #222d47; border-color: #46557c; } .btn:active { transform: scale(.98); }
.btn.primary { background: var(--grad); border-color: transparent; color: #1a0f08; } .btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border-color: var(--line); } .btn.ghost:hover { background: var(--surface); }
.link { background: none; border: 0; padding: 0; color: var(--amber); font-weight: 600; } .link:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 550; transition: all .15s; }
.chip:hover { color: var(--text); border-color: var(--line2); }
.chip.on { background: rgba(255, 181, 71, .14); border-color: rgba(255, 181, 71, .55); color: var(--amber); }
.chip small { color: var(--dim); font-weight: 500; } .chip.on small { color: inherit; opacity: .7; }
.chip.x b { font-weight: 400; opacity: .7; }

/* ---------- provider badges */
.pv { flex: none; display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--c, #333); color: var(--t, #fff); font: 800 10.5px/1 var(--font); letter-spacing: -.01em; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pv.lg { min-width: 44px; height: 36px; font-size: 13px; border-radius: 9px; padding: 0 8px; }
.pv.mine { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--amber); }
.pv.more, .pv.rentbuy { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line2); font-weight: 600; }

/* ---------- hero */
.hero { position: relative; margin: 0 clamp(14px, 3vw, 40px); border-radius: 24px; overflow: hidden; min-height: 400px; display: flex; align-items: center; border: 1px solid var(--line); isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; background: url(/assets/hero.jpg) center/cover no-repeat, var(--bg2); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 11, 20, .96) 0%, rgba(8, 11, 20, .78) 38%, rgba(8, 11, 20, .15) 75%), linear-gradient(0deg, rgba(8, 11, 20, .75), transparent 45%); }
.hero-inner { padding: clamp(28px, 5vw, 64px); max-width: 720px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: #c5cde0; font-size: clamp(15px, 1.5vw, 18px); margin: 16px 0 24px; max-width: 54ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(18px, 3vw, 40px); margin: 34px 0 0; }
.hero-stats dt { font: 800 clamp(20px, 2.4vw, 28px)/1 var(--display); letter-spacing: -.03em; }
.hero-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- home blocks */
.block, .rail { margin: 36px 0 0; padding: 0 clamp(14px, 3vw, 40px); }
.block > header, .rail > header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.block h2, .rail h2 { font-size: 21px; font-weight: 700; }
.hint { color: var(--dim); font-size: 13px; } .see-all { margin-left: auto; color: var(--amber); font-weight: 600; font-size: 13px; } .see-all:hover { text-decoration: underline; }
.svc-row { display: flex; gap: 9px; flex-wrap: wrap; }
.svc { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14px; transition: transform .15s, border-color .15s, background .15s; }
.svc:hover { transform: translateY(-2px); border-color: var(--c); background: var(--surface2); }
.svc .pv { min-width: 36px; height: 28px; font-size: 11.5px; border-radius: 7px; }
/* home "My services": logo tiles you tap to pick; picked ones get an amber ring + tick */
.svc-row .svc { position: relative; padding: 4px; gap: 0; border-radius: 14px; cursor: pointer; color: inherit; }
.svc-row .svc .pv { min-width: 46px; height: 46px; }
.plogo { display: block; width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--surface2); flex: none; }
.plogo.sm { width: 22px; height: 22px; border-radius: 6px; } .plogo.lg { width: 38px; height: 38px; border-radius: 9px; }
.svc-row .svc .plogo { opacity: .55; filter: saturate(.6); transition: opacity .15s, filter .15s; }
.svc-row .svc:hover .plogo, .svc-row .svc.on .plogo { opacity: 1; filter: none; }
.svc-row .svc.on { border-color: var(--amber); background: rgba(255, 181, 71, .12); box-shadow: 0 0 0 1px var(--amber); }
.svc .tick { position: absolute; right: -5px; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); display: none; }
.svc .tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #0a0e1a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.svc.on .tick { display: block; }
.svc-actions { margin-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.my-svc .see-all { background: none; border: 0; }
.my-svc > header { flex-wrap: wrap; row-gap: 4px; } .my-svc h2 { white-space: nowrap; }
@media (max-width: 620px) { .my-svc .hint { order: 3; flex-basis: 100%; } }
/* header Filters button: always labelled, amber outline so it is easy to spot */
.filters-btn { border-color: rgba(255, 181, 71, .6); color: var(--text); gap: 8px; }
.filters-btn svg { width: 17px; height: 17px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linejoin: round; }
.filters-btn:hover { background: rgba(255, 181, 71, .12); }
.filters-btn .pill { background: var(--amber); color: #0a0e1a; }
.filters.flash { animation: fflash 1s ease; }
@keyframes fflash { 0%, 60% { box-shadow: 0 0 0 2px var(--amber); } 100% { box-shadow: 0 0 0 0 transparent; } }
/* ---------- compare services */
.compare h1 { font-size: clamp(26px, 3.4vw, 38px); } .compare .count { max-width: 70ch; }
.seg.q-seg { display: inline-grid; grid-template-columns: auto auto; margin: 6px 0 4px; }
.q-seg a { border-radius: 8px; padding: 8px 14px; font-weight: 650; font-size: 14px; color: var(--muted); display: grid; text-align: center; }
.q-seg a small { font-weight: 500; font-size: 11px; color: var(--dim); } .q-seg a.on { background: var(--surface2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.compare .block { padding: 0; }
.cmp-sec > header h2 { font-size: 20px; }
.cmp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.cmp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.cmp-card.best { border-color: var(--amber); background: linear-gradient(180deg, rgba(255, 181, 71, .12), var(--surface) 70%); }
.cmp-card .eyebrow { margin: 0; } .cmp-card .big { font: 800 28px/1 var(--display); letter-spacing: -.02em; } .cmp-card .big small { font: 500 13px var(--font); color: var(--muted); }
.cmp-card .price { font-weight: 700; color: var(--teal); } .cmp-card .muted { font-size: 13px; }
.cmp-logos { display: flex; gap: 6px; flex-wrap: wrap; }
.cmp-list { display: grid; gap: 8px; max-width: 760px; }
.cmp-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
.cmp-row small { display: block; color: var(--muted); font-size: 12.5px; }
.cmp-row .gain { text-align: right; font: 800 20px/1 var(--display); color: var(--amber); } .cmp-row .gain small { font: 500 11px var(--font); color: var(--dim); }
.cmp-free { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14px; }
.cmp-chip small { color: var(--dim); font-weight: 500; }
.cmp-chip .lib { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--amber); margin-left: 4px; text-transform: uppercase; letter-spacing: .05em; } .cmp-chip:hover { border-color: var(--amber); }
.cmp-notes { margin: 0 0 14px; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; } .cmp-notes b { color: var(--amber); }
.heat-wrap { overflow-x: auto; }
.heat { border-collapse: separate; border-spacing: 2px; font-variant-numeric: tabular-nums; }
.heat th { font-weight: 600; font-size: 13px; color: var(--muted); padding: 4px 8px; text-align: left; white-space: nowrap; }
.heat th[scope=row] { display: flex; align-items: center; gap: 8px; } .heat thead th { text-align: center; }
.heat td { min-width: 54px; height: 38px; text-align: center; border-radius: 6px; font-size: 13px; color: var(--text);
  background: rgba(255, 181, 71, var(--a, .1)); }
.heat td.hot { color: #1a0f08; font-weight: 700; } .heat td.self { background: var(--surface); color: var(--dim); }
.cmp-table { border-collapse: collapse; min-width: 520px; width: 100%; max-width: 860px; font-variant-numeric: tabular-nums; }
.cmp-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line2); }
.cmp-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); } .cmp-table td a { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.cmp-table td a:hover span { text-decoration: underline; }
.free-lib { color: #34d399; font-weight: 600; }
@media (max-width: 620px) {
  .cmp-cards { grid-template-columns: 1fr 1fr; gap: 10px; } .cmp-card { padding: 12px; } .cmp-card .big { font-size: 22px; }
  .cmp-card.best { grid-column: 1 / -1; } .cmp-logos .plogo.lg { width: 30px; height: 30px; }
}
.cmp-foot { margin-top: 26px; font-size: 12.5px; max-width: 90ch; } .cmp-foot a { color: var(--amber); }
/* sticky "Done" bar: only in the full-screen phone panel */
.f-done { display: none; }
body.filters-open { overflow: hidden; }
/* home: genres in one still row that can be scrolled sideways */
.genre-marquee { overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(14px, 3vw, 40px)); padding: 6px clamp(14px, 3vw, 40px) 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.genre-marquee::-webkit-scrollbar { display: none; }
.genre-track { display: flex; gap: 12px; width: max-content; }
.genre-track .genre-tile { width: clamp(150px, 12.2vw, 200px); flex: none; }
/* home rails that drift endlessly: JS moves .rail-inner with a transform (snapping off so it can't fight it) */
.rail-track.auto { display: block; scroll-snap-type: none; }
.rail-inner { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15.5vw, 196px); gap: 14px; width: max-content; will-change: transform; }
/* premium touches, all transform/opacity only: posters fade in, rows ease up into view, poster zooms on hover */
.card .poster img { opacity: 0; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.card .poster img.in { opacity: 1; }
.card-link:hover .poster img { transform: scale(1.045); }
#rails .rail { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
#rails .rail.shown { opacity: 1; transform: none; }
/* perf: the browser skips layout/paint of rows that are off screen (auto = remembers each row's real height) */
#rails .rail, #bRails .rail { content-visibility: auto; contain-intrinsic-size: auto 440px; }
/* moving rows on the browse / filter page sit flush with the results grid */
.results { min-width: 0; }
#bRails .rail { margin: 4px 0 18px; animation: railIn .6s ease both; } #bRails .rail > header { padding: 0; margin-bottom: 8px; }
#bRails .rail h2 { font-size: 18px; } #bRails .rail-track { padding-inline: 0; scroll-padding-inline: 0; }
.all-head { font-size: 18px; font-weight: 700; margin: 8px 0 14px; } .more-head { margin-top: 34px; }
@keyframes railIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #bRails .rail { animation: none; } }
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.genre-tile { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: var(--surface2) center/cover no-repeat; display: flex; align-items: flex-end; border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.genre-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 11, 20, .92), rgba(8, 11, 20, .1) 65%); transition: opacity .2s; }
.genre-tile span { position: relative; padding: 12px 14px; font: 700 17px/1 var(--display); letter-spacing: -.02em; }
.genre-tile:hover { transform: translateY(-3px) scale(1.015); border-color: var(--amber); box-shadow: 0 14px 30px -14px rgba(255, 150, 80, .5); }
.rail { padding: 0; } .rail > header { padding: 0 clamp(14px, 3vw, 40px); }
.rail-wrap { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15.5vw, 196px); gap: 14px; overflow-x: auto; padding: 6px clamp(14px, 3vw, 40px) 18px; scroll-snap-type: x proximity; scroll-padding-inline: clamp(14px, 3vw, 40px); scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; } .rail-track > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 34%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(19, 26, 43, .94); font-size: 24px; line-height: 1; z-index: 2; opacity: 0; transition: opacity .2s, background .15s; box-shadow: var(--shadow); }
.rail-btn.prev { left: 10px; } .rail-btn.next { right: 10px; }
.rail-wrap:hover .rail-btn:not(:disabled) { opacity: 1; } .rail-btn:hover { background: var(--surface2); } .rail-btn:disabled { visibility: hidden; }

/* ---------- cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 22px 16px; transition: opacity .15s; }
.grid.stale { opacity: .45; }
.card { position: relative; min-width: 0; }
.card-link { display: block; }
.poster { position: relative; aspect-ratio: 2/3; border-radius: var(--r); overflow: hidden; background: var(--surface2); border: 1px solid var(--line); transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s, border-color .22s; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; background: linear-gradient(150deg, #1c2640, #2a1d33 60%, #3a2226); }
.poster-fallback span { font: 700 15px/1.2 var(--display); color: #d9deea; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* designed cover for titles with no image anywhere: brand pin, title, year on one of four gradients */
.poster-fallback { place-items: center; align-content: center; gap: 10px; }
.poster-fallback::before { content: ""; width: 30px; height: 30px; background: url(/assets/favicon.png) center/contain no-repeat; opacity: .5; border-radius: 8px; }
.poster-fallback small { color: rgba(217, 222, 234, .6); font-weight: 600; font-size: 12px; letter-spacing: .08em; }
.poster-fallback.g1 { background: linear-gradient(150deg, #1d2a3f, #173a3a 60%, #22313b); }
.poster-fallback.g2 { background: linear-gradient(150deg, #2b1f3d, #3d1f35 60%, #452628); }
.poster-fallback.g3 { background: linear-gradient(150deg, #1f2b22, #2c3a24 60%, #3d3322); }
.card-link:hover .poster, .card-link:focus-visible .poster { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 181, 71, .35); }
.type-tag { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(8, 11, 20, .86); }
.t-anime { color: #ff9ecb; } .t-tv { color: var(--teal); } .t-movie { color: var(--amber); }
.card-body { padding: 10px 2px 0; }
.card h3 { font: 600 14.5px/1.25 var(--font); letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; min-height: 19px; }
.scores { display: flex; gap: 10px; align-items: center; margin-top: 6px; font-size: 13px; font-weight: 700; min-height: 20px; }
.score { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.score.imdb b { background: var(--imdb); color: #000; font-size: 9.5px; font-weight: 900; padding: 2px 4px; border-radius: 3px; letter-spacing: -.02em; }
.score.none { color: var(--dim); font-weight: 500; font-size: 12px; }
.scores.big { gap: 22px; font-size: 24px; margin: 16px 0 2px; font-family: var(--display); }
.scores.big .score.imdb b { font-size: 12px; padding: 4px 6px; border-radius: 4px; } .scores.big svg.ic { width: 24px; height: 24px; }
.offers { display: flex; gap: 4px; margin-top: 8px; flex-wrap: nowrap; overflow: hidden; min-height: 22px; align-items: center; }
.offers.none { color: var(--dim); font-size: 12px; }
.save { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(8, 11, 20, .82); color: #fff; opacity: 0; transform: scale(.9); transition: opacity .15s, transform .15s, background .15s; }
.card:hover .save, .save:focus-visible, .save[aria-pressed="true"] { opacity: 1; transform: none; }
.save:hover { background: rgba(8, 11, 20, .95); } .save[aria-pressed="true"] { color: var(--coral); } .save[aria-pressed="true"] svg, .save-big[aria-pressed="true"] svg { fill: currentColor; }
@media (hover: none) { .save { opacity: 1; transform: none; } }
.skeleton .poster, .skeleton i { background: linear-gradient(100deg, var(--surface) 30%, var(--surface2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite linear; border-color: transparent; }
.skeleton i { display: block; height: 12px; border-radius: 6px; margin-top: 8px; } .skeleton i:last-child { width: 60%; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- browse */
.browse { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 34px; padding: 18px clamp(14px, 3vw, 40px) 0; align-items: start; }
.page { padding: 18px clamp(14px, 3vw, 40px) 0; }
.filters { position: sticky; top: calc(var(--top) + 16px); max-height: calc(100vh - var(--top) - 32px); overflow-y: auto; padding: 18px; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.f-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; } .f-head h2 { font-size: 17px; flex: 1; } .f-close { display: none; }
.f-group { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.f-group h3 { font: 700 12px/1 var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.f-group output { color: var(--amber); letter-spacing: 0; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 3px; }
.seg button { border: 0; background: none; border-radius: 8px; padding: 6px 2px; font-weight: 600; font-size: 13px; color: var(--muted); display: grid; }
.seg small { font-weight: 500; font-size: 10.5px; color: var(--dim); } .seg button.on { background: var(--surface2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); } .seg button.on small { color: var(--amber); }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 550; }
.switch input { position: absolute; opacity: 0; } .switch span { width: 36px; height: 21px; border-radius: 99px; background: var(--surface2); border: 1px solid var(--line2); position: relative; transition: background .15s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--muted); transition: transform .15s, background .15s; }
.switch input:checked + span { background: rgba(255, 181, 71, .25); border-color: var(--amber); } .switch input:checked + span::after { transform: translateX(15px); background: var(--amber); }
.switch input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.checks { display: grid; gap: 2px; } .check { display: flex; align-items: center; gap: 9px; padding: 5px 6px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.check:hover { background: var(--surface); } .check small { color: var(--dim); font-variant-numeric: tabular-nums; } .check input { accent-color: var(--amber); width: 15px; height: 15px; margin: 0; }
.check.extra { display: none; } .checks.all .check.extra { display: flex; } .checks .link { justify-self: start; margin: 6px; font-size: 13px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .row2 label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.row2 select, .sort select { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; outline: none; } .row2 select:focus, .sort select:focus { border-color: var(--amber); }
input[type=range] { width: 100%; accent-color: var(--amber); }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.results-head h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; } .count { color: var(--muted); margin-top: 4px; }
.results-tools { display: flex; gap: 10px; align-items: center; } .sort { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; } .filter-toggle { display: none; }
.chips.active { margin-bottom: 18px; } .chips.active:empty { display: none; }
.dym { margin-bottom: 16px; color: var(--muted); } .dym a { color: var(--amber); font-weight: 600; }
.more { display: grid; place-items: center; padding: 34px 0 10px; }
.empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; border: 1px dashed var(--line2); border-radius: 18px; display: grid; gap: 10px; justify-items: center; color: var(--muted); }
.empty h3 { color: var(--text); font-size: 20px; } .empty.small { padding: 26px 18px; }

/* ---------- modal + detail */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: clamp(0px, 3vw, 36px); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 12, .78); backdrop-filter: blur(6px); animation: fade .2s; }
.modal-panel { position: relative; width: min(1040px, 100%); max-height: 100%; overflow-y: auto; background: var(--bg2); border: 1px solid var(--line2); border-radius: 22px; box-shadow: 0 40px 120px -20px #000; animation: pop .24s cubic-bezier(.2, .9, .3, 1); scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.modal-close { position: sticky; float: right; top: 14px; margin: 14px 14px -58px 0; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(8, 11, 20, .8); font-size: 22px; line-height: 1; }
.modal-close:hover { background: var(--surface2); }
.detail { position: relative; padding-bottom: 28px; } .detail.loading { min-height: 420px; display: grid; place-items: center; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--amber); animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(1turn); } }
.detail-bg { position: absolute; inset: 0 0 auto 0; height: 380px; background: center 20%/cover no-repeat; filter: blur(46px) saturate(1.3); opacity: .38; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); pointer-events: none; }
.detail-main { position: relative; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding: 38px 38px 8px; }
.detail-poster { box-shadow: var(--shadow); align-self: start; }
.detail-info h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.035em; }
.orig { color: var(--muted); margin-top: 4px; font-style: italic; } .detail-info .chips { margin-top: 14px; }
.votes { font-size: 12.5px; } .overview { margin-top: 14px; color: #cfd6e6; font-size: 15.5px; line-height: 1.62; max-width: 68ch; }
.credit { margin-top: 12px; } .credit span { color: var(--dim); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; font-weight: 700; margin-right: 8px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.where { padding: 26px 38px 0; } .where > h3 { font-size: 20px; margin-bottom: 14px; }
.offer-group { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.offer-group h4 { font: 700 15px/1.2 var(--display); display: grid; gap: 4px; align-content: start; } .offer-group h4 small { color: var(--dim); font: 500 12px/1.3 var(--font); }
.offer-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.offer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; transition: border-color .15s, background .15s, transform .15s; }
.offer:hover { border-color: var(--amber); background: var(--surface2); transform: translateY(-1px); } .offer.mine { border-color: rgba(255, 181, 71, .5); }
.offer b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .offer small { color: var(--muted); font-size: 12px; } .offer .price { font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; } .offer > svg { color: var(--dim); width: 15px; height: 15px; }
.else-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.else-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-align: left; } .else-row:hover { border-color: var(--line2); background: var(--surface2); }
.else-pv { display: flex; gap: 4px; }
.else-row.free { border-color: rgba(52, 211, 153, .45); }
.free-tag { margin-left: 6px; font: 700 10.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #052e1c; background: #34d399; padding: 3px 7px; border-radius: 99px; vertical-align: 2px; }
.free-note { font: 600 12px var(--font); color: #34d399; margin-left: 8px; }
.detail .rail { margin-top: 30px; } .detail .rail > header { padding: 0 38px; } .detail .rail-track { padding-inline: 38px; scroll-padding-inline: 38px; grid-auto-columns: 150px; }
.services { padding: 34px 38px; display: grid; gap: 16px; } .services h2 { font-size: 28px; font-weight: 800; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 9px; }
.svc-pick { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); cursor: pointer; font-weight: 600; }
.svc-pick:has(input:checked) { border-color: var(--amber); background: rgba(255, 181, 71, .1); } .svc-pick input { accent-color: var(--amber); width: 16px; height: 16px; }

/* ---------- footer, toast */
.footer { margin: 70px clamp(14px, 3vw, 40px) 0; padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; display: grid; gap: 6px; max-width: 900px; } .footer b { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60; background: var(--text); color: #0a0e1a; font-weight: 600; padding: 11px 18px; border-radius: 12px; box-shadow: var(--shadow); animation: pop .2s; }

/* ---------- responsive */
@media (max-width: 1180px) { .nav a { padding: 8px 9px; } }
/* top bar goes two-row before the search box gets squeezed (the filter panel stays a sidebar until 980 px) */
@media (max-width: 1100px) {
  .topbar { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 8px 12px; }
  .tools { margin-left: auto; } .search { order: 5; flex-basis: 100%; max-width: none; margin: 0; }
}
@media (min-width: 981px) and (max-width: 1100px) { :root { --top: 118px; } }   /* sticky filter sidebar sits below the taller bar */
@media (max-width: 980px) {
  .topbar { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 8px 12px; }
  .tools { margin-left: auto; } .search { order: 5; flex-basis: 100%; max-width: none; margin: 0; }
  .nav { order: 6; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; } .nav::-webkit-scrollbar { display: none; }
  .browse { grid-template-columns: 1fr; } .filter-toggle { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 40; max-height: none; border-radius: 0; border: 0; transform: translateX(-102%); transition: transform .25s; padding: 22px; }
  .filters.open { transform: none; } .f-close { display: inline; }
  .filters { padding-bottom: 0; }
  .f-done { display: flex; gap: 10px; position: sticky; bottom: 0; margin: 8px -22px 0; padding: 12px 22px calc(12px + env(safe-area-inset-bottom));
    background: rgba(13, 18, 31, .97); border-top: 1px solid var(--line2); box-shadow: 0 -10px 30px -10px #000; }
  .f-done .primary { flex: 1; justify-content: center; }
  .detail-main { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 26px 20px 8px; } .where { padding: 22px 20px 0; } .detail .rail > header { padding: 0 20px; } .detail .rail-track { padding-inline: 20px; }
  .offer-group { grid-template-columns: 1fr; } .modal { padding: 0; } .modal-panel { border-radius: 0; height: 100%; border: 0; }
}
@media (max-width: 620px) {
  .results-head { align-items: flex-start; }
  /* phones: logo, Filters and country on ONE row (no wrapped row with a gap): the country shrinks to "NZ ▾",
     the real <select> is an invisible layer on top so tapping still opens the full country list */
  .topbar { flex-wrap: wrap; gap: 8px 8px; } .brand { flex: 1; min-width: 0; } .brand-name { white-space: nowrap; font-size: 19px; }
  .brand-mark { width: 30px; height: 30px; } .brand { gap: 7px; }
  .tools { gap: 8px; margin-left: 0; } .filters-btn { height: 40px; padding: 0 12px; }
  .country { position: relative; height: 40px; padding: 0 26px 0 9px; }
  .country::after { content: ""; position: absolute; right: 10px; top: 15px; width: 6px; height: 6px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
  .country select { position: absolute; inset: 0; width: 100%; max-width: none; opacity: 0; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 18px 12px; } .hero { min-height: 340px; } .hero-stats { flex-wrap: wrap; }
  .detail-main { grid-template-columns: 1fr; } .detail-poster { width: 150px; } .services { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.demo-chip { margin-left: 10px; vertical-align: middle; font: 700 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(255, 181, 71, .55); background: rgba(255, 181, 71, .12); padding: 4px 8px; border-radius: 99px; }
.score.imdb.tmdb b { background: #01b4e4; color: #062033; }

/* ================= FlickAtlas animated hero + logo ================= */
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; }
.brand img { display: none; }
.logo-mark { overflow: visible; filter: drop-shadow(0 4px 12px rgba(255, 120, 80, .45)); animation: bob 5s ease-in-out infinite; }
.logo-mark .play { transform-origin: 33px 24px; animation: playpulse 2.6s ease-in-out infinite; }
.brand:hover .logo-mark { animation-duration: 1.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes playpulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.14); opacity: .85; } }

.hero.hero-x { min-height: min(78vh, 640px); background: #070a13; --mx: 0; --my: 0; }
.hero-x .hero-art { display: none; }
.poster-wall { position: absolute; inset: -30% -10%; z-index: -4; transform: rotate(-9deg) translate(calc(var(--mx) * -26px), calc(var(--my) * -18px)); transition: transform .6s ease-out; }
.wall-rows { display: grid; gap: 18px; opacity: 0; transition: opacity 1.4s ease; }
.wall-rows.ready { opacity: 1; }
.wall-row { display: flex; gap: 18px; width: max-content; animation: wall 165s linear infinite; will-change: transform; }
.wall-row.r1 { animation-direction: reverse; animation-duration: 190s; margin-left: -140px; }
.wall-row.r2 { animation-duration: 145s; margin-left: -60px; }
.wall-row img { width: 168px; aspect-ratio: 2/3; object-fit: cover; border-radius: 14px; opacity: .5; filter: saturate(1.15);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); }
@keyframes wall { to { transform: translateX(-50%); } }
.aurora { position: absolute; inset: 0; z-index: -3; mix-blend-mode: screen; pointer-events: none;
  transform: translate(calc(var(--mx) * 30px), calc(var(--my) * 22px)); transition: transform .8s ease-out; }
/* soft glows: radial gradients instead of filter: blur() (a 720px blur re-rendered every frame was the costliest effect) */
.aurora i { position: absolute; width: 60vw; height: 60vw; max-width: 940px; max-height: 940px; border-radius: 50%; opacity: .45; will-change: transform; }
.aurora i:nth-child(1) { background: radial-gradient(closest-side, #ff8a3d, rgba(255, 138, 61, .35) 45%, transparent); left: -16%; top: -40%; animation: drift1 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: radial-gradient(closest-side, #ff3f6c, rgba(255, 63, 108, .35) 45%, transparent); right: -18%; top: 0; animation: drift2 26s ease-in-out infinite alternate; opacity: .32; }
.aurora i:nth-child(3) { background: radial-gradient(closest-side, #23c7b4, rgba(35, 199, 180, .35) 45%, transparent); left: 28%; bottom: -55%; animation: drift3 30s ease-in-out infinite alternate; opacity: .25; }
@keyframes drift1 { to { transform: translate(18vw, 12vh); } }
@keyframes drift2 { to { transform: translate(-16vw, 18vh); } }
@keyframes drift3 { to { transform: translate(-12vw, -14vh); } }
/* hero scrolled out of view: stop its animations */
.hero.paused .wall-row, .hero.paused .aurora i, .hero.paused .hero-logo b, .hero.paused .rotator span { animation-play-state: paused; }
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 20% 50%, rgba(7, 10, 19, .92) 0%, rgba(7, 10, 19, .72) 45%, rgba(7, 10, 19, .25) 100%),
              linear-gradient(0deg, rgba(8, 11, 20, .95) 0%, transparent 35%); }
.hero-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font: 800 30px/1 var(--display); letter-spacing: -.035em; }
.hero-logo b, .rotator span { background: linear-gradient(100deg, #ffc35a, #ff6a5c 40%, #ffb547 70%, #ff6a5c); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; }
@keyframes shine { to { background-position: -220% 0; } }
.hero-x h1 { font-size: clamp(36px, 6vw, 72px); }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .04em; margin-bottom: -.2em; color: transparent; }
/* padding gives the gradient (background-clip:text) room for descenders, else the "g" in "anything" is cut off */
.rotator span { grid-area: 1/1; padding-bottom: .18em;transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s; }
.rotator .in { transform: translateY(90%); opacity: 0; }
.rotator .on { transform: none; opacity: 1; }
.rotator .out { transform: translateY(-90%); opacity: 0; }
.hero-search { position: relative; display: flex; gap: 8px; max-width: 620px; margin: 4px 0 18px; padding: 7px; border-radius: 18px;
  background: rgba(19, 26, 43, .72); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(14px); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .9); }
.hero-search:focus-within { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 181, 71, .15), 0 20px 60px -20px rgba(0, 0, 0, .9); }
.hero-search > svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.hero-search input { flex: 1; min-width: 0; height: 48px; padding: 0 12px 0 46px; background: none; border: 0; outline: 0; font-size: 16px; }
.hero-search input::placeholder { color: var(--dim); }
.hero-search .btn { height: 48px; padding: 0 22px; }
@media (max-width: 620px) { .wall-row img { width: 110px; } .hero-logo { font-size: 24px; } .hero-search .btn { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .wall-row, .aurora i, .logo-mark, .logo-mark .play, .hero-logo b, .rotator span { animation: none !important; } }

/* mobile fix: an <input> keeps a ~20-character minimum width, which pushed the hero wider than phone screens */
.hero-x .hero-inner { min-width: 0; width: 100%; }
.hero-search { width: 100%; box-sizing: border-box; }
.hero-search input { width: 0; }
.ssr { max-width: 760px; margin: 40px auto; padding: 0 20px; } .ssr h1 { font-size: 40px; margin-bottom: 8px; } .ssr h2 { margin: 24px 0 8px; } .ssr p, .ssr li { color: #cfd6e6; line-height: 1.6; } .ssr a { color: var(--amber); }
/* rent / buy is secondary: quiet text next to streaming badges; a dashed "ticket" label when it's the only option */
.or-rent { flex: none; margin-left: 3px; color: var(--dim); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.rent-only { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; border: 1px dashed var(--line2);
  color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.rent-only svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.alt-offers { margin-top: 14px; padding: 4px 16px 6px; border: 1px dashed var(--line2); border-radius: 16px; background: rgba(255, 255, 255, .015); }
.alt-offers .alt-title { margin: 12px 0 2px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.alt-offers .offer-group { border-top: 0; padding: 10px 0; }
.alt-offers:not(.only) .offer { padding: 6px 10px; background: transparent; opacity: .78; }
.alt-offers:not(.only) .offer:hover { opacity: 1; }
.alt-offers:not(.only) .offer b { font-weight: 600; font-size: 13.5px; }
.alt-offers:not(.only) .offer .price { color: var(--muted); font-weight: 600; }
.alt-offers:not(.only) .offer .pv { transform: scale(.85); }
.alt-offers:not(.only) .offer-group h4 { font-size: 13px; color: var(--muted); }
.alt-offers.only { border-style: solid; }
.offers > .pv { flex: none; } .offers .pv.more { height: 22px; min-width: 26px; padding: 0 6px; line-height: 22px; display: inline-grid; place-items: center; }

/* watchlist */
.list-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; }
.tab { padding: 7px 14px; border-radius: 99px; color: var(--muted); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; }
.tab:hover { color: var(--text); } .tab.active { background: var(--surface2); color: var(--text); }
.tab .pill { background: var(--line2); color: var(--text); } .tab.active .pill { background: var(--grad); color: #1a0f08; }
.toggle { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--amber); }
.watched-btn { position: absolute; top: 8px; right: 48px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(8, 11, 20, .82); color: #fff; transition: background .15s, color .15s; }
.watched-btn svg { width: 17px; height: 17px; stroke-width: 2.6; }
.watched-btn:hover { background: rgba(8, 11, 20, .95); color: var(--teal); }
.watched-btn[aria-pressed="true"] { background: var(--teal); color: #04221d; }
.card:has(.watched-btn[aria-pressed="true"]) .poster img { filter: saturate(.35) brightness(.7); }
.card:has(.watched-btn) .save { opacity: 1; transform: none; }
.footer .demo-note { color: var(--dim); }

/* ---------------------------------------------------------------- Pick for me: quiz, star signs, roulette (web/pick.js) */
.center { text-align: center; }
.pick-page { max-width: 1100px; margin: 0 auto; }
.pick-head { text-align: center; margin: 10px auto 18px; max-width: 720px; }
.pick-head h1 { font-size: clamp(26px, 4.2vw, 42px); line-height: 1.1; margin: 6px 0 10px; }
.pick-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pick-tile { position: relative; display: grid; gap: 6px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; isolation: isolate; transition: transform .18s, border-color .18s; }
.pick-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; }
.pick-tile.t-quiz::after { background: radial-gradient(120% 90% at 100% 0, var(--amber), transparent 60%); }
.pick-tile.t-stars::after { background: radial-gradient(120% 90% at 100% 0, #8b7cf6, transparent 60%); }
.pick-tile.t-roulette::after { background: radial-gradient(120% 90% at 100% 0, var(--coral), transparent 60%); }
.pick-tile:hover { transform: translateY(-3px); border-color: var(--line2); }
.pick-tile .pt-ic { font-size: 30px; line-height: 1; } .pick-tile b { font-size: 18px; } .pick-tile small { color: var(--muted); font-size: 14px; }
.pick-tiles.big .pick-tile { padding: 30px 24px; min-height: 190px; align-content: end; } .pick-tiles.big .pt-ic { font-size: 46px; } .pick-tiles.big b { font-size: 22px; }
.pick-where { grid-template-columns: repeat(3, 1fr); max-width: 560px; margin: 0 auto 22px; }
.pick-where button { display: grid; gap: 1px; padding: 8px 6px; } .pick-where small { font-size: 11px; color: var(--dim); font-weight: 500; }
.pick-loading { display: grid; justify-items: center; gap: 12px; padding: 50px 0; color: var(--muted); }
.quiz-card { max-width: 720px; margin: 0 auto; padding: 26px; border-radius: 22px; background: var(--bg2); border: 1px solid var(--line); text-align: center; display: grid; gap: 12px; }
.quiz-card h2 { font-size: clamp(22px, 3.4vw, 30px); margin: 0 0 6px; }
.quiz-dots { display: flex; justify-content: center; gap: 6px; } .quiz-dots i { width: 28px; height: 5px; border-radius: 9px; background: var(--line2); }
.quiz-dots i.done { background: var(--amber); } .quiz-dots i.on { background: var(--grad); }
.quiz-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quiz-opt { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--surface); font-size: 16px; font-weight: 650; text-align: left; transition: transform .12s, border-color .15s, background .15s; }
.quiz-opt span { font-size: 26px; } .quiz-opt:hover { border-color: var(--amber); background: var(--surface2); transform: translateY(-2px); }
.pick-hero { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 26px; align-items: start; padding: 22px; margin: 0 0 18px; border-radius: 22px; background: var(--bg2); border: 1px solid var(--line); }
.pick-poster img { width: 100%; border-radius: 14px; display: block; box-shadow: var(--shadow); aspect-ratio: 2/3; object-fit: cover; background: var(--surface2); }
.pick-info { display: grid; gap: 10px; align-content: start; } .pick-info h2 { font-size: clamp(24px, 3.4vw, 36px); margin: 0; line-height: 1.1; }
.pick-info h2 small { color: var(--muted); font-weight: 500; font-size: .6em; } .pick-info .overview { color: var(--muted); line-height: 1.55; margin: 0; }
.pick-info .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pick-again { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.pick-strip { margin-top: 8px; }
.sign-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 14px; }
.sign { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s, transform .12s; }
.sign .sym { font-size: 28px; line-height: 1.1; color: #c4b5fd; } .sign b { font-size: 14px; } .sign small { font-size: 10.5px; color: var(--dim); }
.sign:hover { transform: translateY(-2px); border-color: var(--line2); } .sign.on { border-color: #8b7cf6; background: linear-gradient(180deg, rgba(139, 124, 246, .25), var(--surface)); }
.bday { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.bday input { margin-left: 8px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); color-scheme: dark; }
.reading { display: flex; gap: 18px; align-items: center; padding: 18px 22px; margin-bottom: 18px; border-radius: 20px; background: linear-gradient(110deg, rgba(139, 124, 246, .22), rgba(255, 181, 71, .08)); border: 1px solid rgba(139, 124, 246, .45); }
.reading h2 { margin: 0 0 4px; } .reading p { margin: 0; color: var(--text); line-height: 1.5; } .sym.big { font-size: 54px; color: #c4b5fd; line-height: 1; }
.wheel-opts { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.wheel-stage { display: flex; justify-content: center; align-items: center; gap: 34px; flex-wrap: wrap; margin-bottom: 20px; }
.wheel-box { position: relative; width: min(480px, 88vw); aspect-ratio: 1; }
.wheel-rot { position: absolute; inset: 0; border-radius: 50%; will-change: transform; box-shadow: 0 0 0 8px #1a2338, 0 0 0 10px var(--amber), 0 30px 80px -20px rgba(255, 140, 60, .45); background: var(--surface); display: grid; place-items: center; }
.wheel-svg { width: 100%; height: 100%; display: block; } .wheel-svg text { font: 700 13px var(--font); fill: #0a0e1a; }
.wheel-pointer { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 3; width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid #fff; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.wheel-hub { position: absolute; top: 50%; left: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 2; border-radius: 50%; border: 5px solid #0a0e1a; background: var(--grad); color: #1a0f08; font: 900 clamp(14px, 2.6vw, 20px) var(--font); letter-spacing: .06em; box-shadow: 0 6px 20px rgba(0, 0, 0, .55); transition: transform .12s; }
.wheel-hub:hover:not(:disabled) { transform: translate(-50%, -50%) scale(1.06); } .wheel-hub:disabled { filter: grayscale(.5); }
.wheel-side { display: grid; gap: 10px; max-width: 240px; } .big-spin { height: 54px; font-size: 18px; }
.about .block p { max-width: 760px; line-height: 1.6; } .tmdb-mark { font-weight: 800; color: #01b4e4; margin-right: 6px; }
@media (max-width: 760px) {
  .pick-tiles { grid-template-columns: 1fr; } .pick-tiles.big .pick-tile { min-height: 0; }
  .sign-grid { grid-template-columns: repeat(4, 1fr); } .sign small { display: none; }
  .quiz-opts { grid-template-columns: 1fr; } .quiz-card { padding: 18px; }
  .pick-hero { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; } .pick-info .overview { display: none; }
  .wheel-side { max-width: none; width: 100%; } .wheel-stage { gap: 16px; } .wheel-svg text { font-size: 15px; }
  .reading { padding: 14px; } .sym.big { font-size: 40px; }
}
.wheel-svg text { stroke: none; paint-order: normal; }
/* pick banners: poster art instead of icons */
.pick-tile { grid-template-columns: 1fr; min-height: 150px; align-content: end; padding: 18px; }
.pick-tile::after { display: none; }
.pick-tile .pt-txt { position: relative; z-index: 2; display: grid; gap: 4px; max-width: 62%; }
.pick-tile .pt-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.pick-tile .pt-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 30%, rgba(19, 26, 43, .55) 62%, rgba(19, 26, 43, .05)); }
.pick-tile .pt-art img { position: absolute; top: 50%; width: 30%; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .8); transition: transform .3s; }
.pick-tile .pt-art .a0 { right: 4%; transform: translateY(-50%) rotate(7deg); z-index: 3; }
.pick-tile .pt-art .a1 { right: 20%; transform: translateY(-54%) rotate(-3deg); z-index: 2; }
.pick-tile .pt-art .a2 { right: 36%; transform: translateY(-48%) rotate(-11deg); z-index: 1; }
.pick-tile .pt-art::after { z-index: 4; }
.pick-tile:hover .pt-art .a0 { transform: translateY(-53%) rotate(10deg); } .pick-tile:hover .pt-art .a2 { transform: translateY(-46%) rotate(-14deg); }
.pick-tile.t-quiz { border-color: rgba(255, 181, 71, .35); } .pick-tile.t-stars { border-color: rgba(139, 124, 246, .45); } .pick-tile.t-roulette { border-color: rgba(255, 106, 92, .4); }
.pick-tiles.big .pick-tile { min-height: 240px; }
.quiz-opt { position: relative; overflow: hidden; min-height: 86px; padding: 16px 18px; isolation: isolate; }
.quiz-opt b { position: relative; z-index: 2; max-width: 58%; font-size: 17px; }
.qo-art { position: absolute; inset: 0; z-index: 0; }
.qo-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 38%, rgba(19, 26, 43, .2)); z-index: 3; }
.qo-art img { position: absolute; top: 50%; width: 22%; max-width: 92px; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; }
.qo-art .q0 { right: 5%; transform: translateY(-50%) rotate(6deg); z-index: 2; } .qo-art .q1 { right: 19%; transform: translateY(-50%) rotate(-6deg); z-index: 1; }
.quiz-opt:hover .qo-art::after { background: linear-gradient(90deg, var(--surface2) 34%, rgba(26, 35, 56, .05)); }
.sign .sym { font-family: "Segoe UI Symbol", "Noto Sans Symbols", "Apple Symbols", sans-serif; }
@media (max-width: 760px) { .pick-tile { min-height: 130px; } .pick-tile .pt-txt { max-width: 60%; } .quiz-opt { min-height: 78px; } }
/* ---- quiz v2: progress bar, live counter, slide-in, persona */
.quiz-card { position: relative; overflow: hidden; }
.quiz-card.in-right { animation: qin .35s cubic-bezier(.2,.8,.2,1); } .quiz-card.in-left { animation: qinl .35s cubic-bezier(.2,.8,.2,1); }
@keyframes qin { from { opacity: 0; transform: translateX(40px); } } @keyframes qinl { from { opacity: 0; transform: translateX(-40px); } }
.quiz-bar { height: 6px; border-radius: 9px; background: var(--line); overflow: hidden; } .quiz-bar i { display: block; height: 100%; background: var(--grad); border-radius: 9px; transition: width .4s; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.quiz-top .eyebrow { margin: 0; }
.quiz-count { margin: 0; font-size: 13px; color: var(--muted); padding: 5px 11px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.quiz-count b { color: var(--amber); font-size: 15px; font-variant-numeric: tabular-nums; }
.quiz-count.bump { animation: bump .5s; } @keyframes bump { 40% { transform: scale(1.08); border-color: var(--amber); } }
.quiz-opts.n4, .quiz-opts.n6 { grid-template-columns: repeat(2, 1fr); } .quiz-opts.n3 { grid-template-columns: repeat(3, 1fr); } .quiz-opts.n2 { grid-template-columns: repeat(2, 1fr); }
.quiz-opt { animation: qopt .4s backwards; animation-delay: var(--d); } @keyframes qopt { from { opacity: 0; transform: translateY(10px); } }
.quiz-opt kbd { position: relative; z-index: 2; background: var(--bg2); }
.quiz-opt:active { transform: scale(.97); }
.persona { position: relative; overflow: hidden; border-radius: 22px; margin-bottom: 18px; border: 1px solid rgba(255,181,71,.45); isolation: isolate; }
.persona-art { position: absolute; inset: 0; z-index: -1; display: flex; gap: 6px; opacity: .45; filter: blur(2px) saturate(1.2); }
.persona-art img { flex: 1; min-width: 0; object-fit: cover; height: 100%; }
.persona::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,11,20,.96) 35%, rgba(8,11,20,.55)); }
.persona-txt { padding: 26px; max-width: 620px; display: grid; gap: 8px; justify-items: start; }
.persona-txt h2 { margin: 0; font-size: clamp(26px, 4vw, 40px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: qin .6s; }
.persona-txt p { margin: 0; }
/* ---- star signs v2: starfield, constellation, meters, partner, flip cards */
.stars-page { position: relative; }
.starfield { position: absolute; inset: -20px 0 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 12%, #c4b5fd, transparent), radial-gradient(1.5px 1.5px at 85% 60%, #fff, transparent),
    radial-gradient(1px 1px at 40% 80%, #ffd89a, transparent), radial-gradient(1px 1px at 10% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 55% 45%, #c4b5fd, transparent);
  background-size: 380px 380px; animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .35; } }
.reading { align-items: stretch; }
.constellation { width: 200px; flex: none; } .constellation path { fill: none; stroke: #c4b5fd; stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.8s .2s forwards; opacity: .8; }
.constellation circle { fill: #fff; filter: drop-shadow(0 0 4px #c4b5fd); animation: starin .5s backwards; animation-delay: var(--d); } @keyframes draw { to { stroke-dashoffset: 0; } } @keyframes starin { from { opacity: 0; r: 0; } }
.reading-txt { display: grid; gap: 8px; } .reading-txt .eyebrow { margin: 0; color: #c4b5fd; }
.meters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; margin-top: 4px; }
.meter { display: grid; grid-template-columns: 1fr 100px 38px; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.meter i { height: 7px; border-radius: 9px; background: var(--line); overflow: hidden; } .meter b { display: block; height: 100%; width: var(--v); background: var(--c); border-radius: 9px; animation: grow 1.2s .4s backwards cubic-bezier(.2,.8,.2,1); }
@keyframes grow { from { width: 0; } } .meter em { font-style: normal; color: var(--text); font-variant-numeric: tabular-nums; }
.lucky { display: flex; gap: 10px; flex-wrap: wrap; } .lucky span { font-size: 13px; color: var(--muted); padding: 5px 11px; border-radius: 99px; border: 1px solid rgba(139,124,246,.5); background: rgba(139,124,246,.12); } .lucky b { color: var(--text); }
.partner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.partner-signs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.psign { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: var(--surface); color: #c4b5fd; font: 18px "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; transition: transform .12s, background .15s; }
.psign:hover { transform: scale(1.1); } .psign.on { background: #8b7cf6; color: #fff; border-color: #8b7cf6; }
.cards-head { text-align: center; margin: 0 0 14px; }
.tarot { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 18px; perspective: 1200px; }
.tcard { aspect-ratio: 2/3; cursor: pointer; animation: dealin .6s backwards; animation-delay: var(--d); outline: none; }
@keyframes dealin { from { opacity: 0; transform: translateY(40px) rotate(-6deg); } }
.tc-inner { position: relative; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.3,1.3,.5,1); transform-style: preserve-3d; }
.tcard.flipped .tc-inner { transform: rotateY(180deg); } .tcard:not(.flipped):hover .tc-inner { transform: translateY(-6px) rotate(-1deg); }
.tcard:focus-visible .tc-inner { box-shadow: 0 0 0 3px var(--amber); border-radius: 18px; }
.tc-back, .tc-front { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tc-back { display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 14px; border: 1px solid rgba(196,181,253,.55);
  background: radial-gradient(circle at 50% 35%, rgba(139,124,246,.55), transparent 60%), repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 6px, transparent 6px 12px), #151032; box-shadow: 0 20px 40px -18px rgba(139,124,246,.6); }
.tc-back .sym { font-size: 64px; color: #e9e3ff; font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; text-shadow: 0 0 18px #8b7cf6; } .tc-back b { font-size: 16px; } .tc-back small { color: #c4b5fd; }
.tc-front { transform: rotateY(180deg); background: var(--surface2); border: 1px solid var(--line2); }
.tcard:not(.flipped) .tc-front { pointer-events: none; }
.tc-front img { width: 100%; height: 100%; object-fit: cover; }
.tc-info { position: absolute; inset: auto 0 0; padding: 40px 12px 12px; display: grid; gap: 6px; background: linear-gradient(transparent, rgba(8,11,20,.95) 35%); }
.tc-info small { color: #c4b5fd; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; } .tc-info b { font-size: 17px; line-height: 1.2; } .tc-info .btn { height: 36px; font-size: 14px; }
/* ---- bigger wheel */
.wheel-box { width: min(620px, 92vw); } .wheel-hub { width: 26%; font-size: clamp(16px, 3.2vw, 26px); }
.wheel-svg text { font-size: 11.5px; }
@media (max-width: 760px) {
  .quiz-opts.n3 { grid-template-columns: 1fr; } .quiz-opts.n4, .quiz-opts.n6, .quiz-opts.n2 { grid-template-columns: 1fr; }
  .persona-txt { padding: 18px; }
  .reading { flex-direction: column; align-items: center; } .constellation { width: 160px; } .meters { grid-template-columns: 1fr; } .meter { grid-template-columns: 1fr 120px 38px; }
  .tarot { grid-template-columns: repeat(3, 1fr); gap: 8px; } .tc-back .sym { font-size: 36px; } .tc-back b { font-size: 12px; } .tc-back small { display: none; }
  .tc-info { padding: 26px 6px 6px; } .tc-info b { font-size: 12px; } .tc-info .scores, .tc-info small { display: none; } .tc-info .btn { height: 30px; font-size: 11px; padding: 0 6px; }
  .wheel-svg text { font-size: 12px; }
}
.constellation { width: 220px; height: 160px; align-self: center; } .constellation path { stroke-width: 1.6; opacity: 1; }
.constellation circle { animation: twinkle2 2.4s ease-in-out infinite alternate; animation-delay: var(--d); } @keyframes twinkle2 { to { opacity: .45; } }
.constellation text { font: 54px "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; fill: rgba(196,181,253,.22); }
/* ---- Seen it */
.seen-btn { position: absolute; top: 48px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(8, 11, 20, .82); color: #fff;
  opacity: 0; transform: scale(.9); transition: opacity .15s, transform .15s, background .15s, color .15s; }
.seen-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.card:hover .seen-btn, .seen-btn:focus-visible, .seen-btn[aria-pressed="true"] { opacity: 1; transform: none; }
.seen-btn:hover { background: rgba(8, 11, 20, .95); color: var(--teal); } .seen-btn[aria-pressed="true"] { background: var(--teal); color: #04221d; }
.card.is-seen .poster img { filter: saturate(.3) brightness(.62); }
.seen-tag { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 99px; background: var(--teal); color: #04221d; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.seen-big svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; } .seen-big.on { border-color: var(--teal); color: var(--teal); }
@media (hover: none) { .save, .seen-btn { opacity: 1; transform: none; } }
.backup textarea { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); font: 12px/1.4 ui-monospace, Consolas, monospace; resize: vertical; }
.backup h3 { margin: 18px 0 6px; } .backup .actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.results-head:has([data-backup]) { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

.app #view > .ssr { display: none; }
.wheel-svg text.on-art { fill: #fff; stroke: rgba(10,14,26,.88); stroke-width: 3.5px; stroke-linejoin: round; paint-order: stroke; }

/* star cards v3: deal from the deck, float, shimmer, dramatic flip with sparks; the reading unlocks after */
.cards-head .sym { color: #c4b5fd; font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; }
.cards-sub { margin: -6px 0 14px; }
.tcard { position: relative; animation: dealfly .8s cubic-bezier(.2,.9,.3,1.15) backwards, cardfloat 3.2s ease-in-out infinite alternate;
  animation-delay: var(--d), calc(var(--d) + .8s); }
@keyframes dealfly { from { opacity: 0; transform: translate(var(--dx), -40px) rotate(var(--r)) scale(.55); } 60% { opacity: 1; } }
@keyframes cardfloat { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.tcard.flipped { animation: none; }
.tc-back { box-shadow: 0 0 0 1px rgba(196,181,253,.35), 0 10px 30px rgba(139,124,246,.35); animation: backglow 2.6s ease-in-out infinite alternate; }
@keyframes backglow { to { box-shadow: 0 0 0 1px rgba(196,181,253,.7), 0 12px 44px rgba(139,124,246,.7); } }
.tc-back::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%);
  transform: translateX(-60%); animation: shimmer 3.4s ease-in-out infinite; animation-delay: var(--d); pointer-events: none; }
@keyframes shimmer { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.tc-ring { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(196,181,253,.45); top: 50%; left: 50%;
  transform: translate(-50%, -58%); animation: ringspin 14s linear infinite; pointer-events: none; }
@keyframes ringspin { to { transform: translate(-50%, -58%) rotate(360deg); } }
.tcard:not(.flipped):hover .tc-inner { transform: translateY(-8px) rotate(-1.5deg) scale(1.03); }
.tcard.flipped .tc-inner { transform: rotateY(180deg); animation: bigflip .95s cubic-bezier(.3,.9,.35,1.05); }
@keyframes bigflip { 0% { transform: rotateY(0) scale(1); } 45% { transform: translateY(-22px) rotateY(100deg) scale(1.14); } 100% { transform: rotateY(180deg) scale(1); } }
.tcard.flipped .tc-front::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(255,240,200,.9), transparent 65%);
  animation: flash .9s .35s ease-out forwards; opacity: 0; pointer-events: none; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.burst { position: absolute; left: 50%; top: 45%; width: 0; height: 0; pointer-events: none; z-index: 3; }
.burst i { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: radial-gradient(#fff, #ffd27a 45%, transparent 70%);
  animation: spark 1.1s .3s cubic-bezier(.2,.8,.3,1) backwards; transform: rotate(var(--a)) translateX(var(--l)) scale(0); opacity: 0; }
.burst i:nth-child(3n) { background: radial-gradient(#fff, #c4b5fd 45%, transparent 70%); }
@keyframes spark { 0% { transform: rotate(var(--a)) translateX(0) scale(var(--s)); opacity: 1; } 100% { transform: rotate(var(--a)) translateX(var(--l)) scale(0); opacity: 0; } }
.reading-slot { margin: 22px 0 10px; }
.reading-sealed { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 18px; border-radius: 20px; border: 1px dashed rgba(139,124,246,.5);
  color: var(--muted); text-align: left; } .reading-sealed .sym { font-size: 34px; color: #8b7cf6; opacity: .7; font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; }
.reading-sealed p { margin: 0; } .reading-sealed b { color: var(--text); }
.reading-slot.open .reading { animation: readingin .9s cubic-bezier(.2,.9,.3,1.1) backwards; }
@keyframes readingin { from { opacity: 0; transform: translateY(26px) scale(.96); filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) { .tcard, .tc-back, .tc-back::after, .tc-ring, .tcard.flipped .tc-inner, .reading-slot.open .reading { animation: none !important; } }
/* wheel v3: calmer - no glow, a proper pointer pin, a cleaner hub, the winning slice outlined */
.wheel-rot { box-shadow: 0 0 0 8px #1a2338, 0 0 0 10px rgba(255,181,71,.85), 0 24px 60px -24px rgba(0,0,0,.8); }
.wheel-pointer { top: -26px; width: 44px; height: 57px; border: 0; filter: drop-shadow(0 5px 6px rgba(0,0,0,.55)); transform: translateX(-50%); transform-origin: 50% 30%; }
.wheel-pointer svg { width: 100%; height: 100%; display: block; } .wheel-pointer path { fill: #fff; } .wheel-pointer circle { fill: #ff7a59; }
.wheel-box.landed .wheel-pointer { animation: pinbob .6s ease-out; } @keyframes pinbob { 30% { transform: translateX(-50%) translateY(-6px) rotate(-8deg); } 60% { transform: translateX(-50%) rotate(5deg); } }
.wheel-hub { background: radial-gradient(circle at 50% 35%, #232c45, #0f1424 70%); border: 4px solid #ffb547; color: #fff; display: grid; place-content: center; gap: 2px;
  box-shadow: 0 8px 22px rgba(0,0,0,.6), inset 0 0 0 3px #0a0e1a; }
.wheel-hub span { font: 900 clamp(18px, 3.4vw, 30px) var(--font); letter-spacing: .12em; padding-left: .12em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wheel-hub small { font: 600 clamp(9px, 1.3vw, 12px) var(--font); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.wheel-hub:disabled { filter: none; cursor: default; } .wheel-hub:disabled small { visibility: hidden; }
.wheel-svg .wo.win { stroke: #fff; stroke-width: 6; filter: drop-shadow(0 0 6px rgba(255,255,255,.7)); }.bday-wrap { text-align: center; margin: 4px 0 18px; } .bday-wrap summary { display: inline-block; cursor: pointer; list-style: none; color: var(--muted); font-size: 14px; padding: 6px 10px; border-radius: 99px; }
.bday-wrap summary::-webkit-details-marker { display: none; } .bday-wrap summary b { color: var(--amber); } .bday-wrap summary:hover b { text-decoration: underline; }
.bday-wrap[open] summary { display: none; } .bday-wrap .bday { animation: readingin .4s backwards; }
/* quiz v3: multi-answer questions, Next button, "show me another" */
.quiz-multi { margin: -6px 0 12px; color: var(--amber); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-align: center; }
.quiz-opt.on { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber) inset, 0 8px 24px -10px rgba(255,170,60,.6); }
.quiz-opts.multi .quiz-opt { padding-right: 46px; }
.qo-tick { position: absolute; right: 12px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; border: 2px solid var(--line2); background: rgba(10,14,26,.6); z-index: 2; transition: background .15s, border-color .15s, transform .15s; }
.quiz-opt.on .qo-tick { background: var(--grad); border-color: transparent; transform: scale(1.1); }
.quiz-opt.on .qo-tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #1a0f08; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; } .quiz-nav .btn { min-width: 140px; }
.quiz-another { margin: 6px 0 22px; } .quiz-another .btn { min-width: 260px; }
#quizPick.swap > :first-child { animation: readingin .55s cubic-bezier(.2,.9,.3,1.1) backwards; }
/* "Which services?" v2: section shortcuts, 2-col "add one more", free cards, folded overlap + long table */
.cmp-nav { position: sticky; top: calc(var(--topbar-h, 70px) + 4px); z-index: 5; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; margin: 6px 0 4px;
  background: linear-gradient(var(--bg) 70%, transparent); }
.cmp-nav button { flex: none; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); font: 600 14px var(--font); cursor: pointer; }
.cmp-nav button:hover { border-color: var(--amber); }
.cmp-sec { scroll-margin-top: 140px; }
.cmp-sec header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cmp-addgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cmp-add, .cmp-free-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .12s; }
.cmp-add:hover, .cmp-free-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.cmp-add .grow, .cmp-free-card .grow { display: grid; gap: 2px; min-width: 0; } .cmp-add b, .cmp-free-card b { font-size: 16px; }
.cmp-add small, .cmp-free-card small { color: var(--muted); font-size: 13px; }
.cmp-price { font-weight: 700; color: #34d399; font-size: 14px; } .cmp-price small { color: var(--muted); font-weight: 500; font-size: 12px; }
.cmp-add .gain { margin-left: auto; text-align: right; font: 800 22px var(--font); color: var(--amber); display: grid; } .cmp-add .gain small { font: 500 11px var(--font); color: var(--muted); }
.cmp-freegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cmp-free-card .lib { margin-left: auto; flex: none; font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #34d399; border: 1px solid rgba(52,211,153,.45); border-radius: 99px; padding: 3px 8px; }
.cmp-free-card .lib.ads { color: var(--muted); border-color: var(--line2); }
.cmp-more { margin-top: 12px; } .cmp-more summary { cursor: pointer; color: var(--amber); font-weight: 650; font-size: 15px; list-style: none; padding: 8px 0; }
.cmp-more summary::-webkit-details-marker { display: none; } .cmp-more summary::before { content: "▸ "; } .cmp-more[open] summary::before { content: "▾ "; }
@media (max-width: 720px) { .cmp-addgrid { grid-template-columns: 1fr; } .cmp-freegrid { grid-template-columns: 1fr 1fr; } .cmp-free-card { padding: 12px; gap: 10px; flex-wrap: wrap; } .cmp-free-card .lib { margin-left: 0; } .cmp-add .gain { font-size: 19px; } }.cmp-free-card .lib { margin: 4px 0 0; justify-self: start; } .cmp-freegrid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } .cmp-table { width: 100%; }

/* home "My services": subscriptions and free services in separate groups, with "Select all free" */
.svc-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.svc-group:first-of-type { margin-top: 4px; }
.svc-group::after { content: ""; flex: 1 1 40px; height: 1px; background: var(--line2); order: 2; }
.svc-group small { order: 1; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 12px; }
.svc-group.free { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line2); color: #34d399; }
.svc-allfree { order: 3; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid rgba(52,211,153,.5); background: rgba(52,211,153,.1); color: #34d399; font: 700 12px var(--font); letter-spacing: .02em; text-transform: none; cursor: pointer; }
.svc-allfree:hover { background: rgba(52,211,153,.2); } .svc-allfree.on { background: #34d399; color: #062a1d; }
/* genre row arrows: always visible on mouse devices */
.genre-wrap .rail-btn { top: 50%; opacity: 1; } @media (hover: none) { .genre-wrap .rail-btn { display: none; } }

/* roulette: confetti pop when the wheel lands */
.confetti { position: absolute; left: 50%; top: 4%; width: 0; height: 0; z-index: 4; pointer-events: none; }
.confetti i { position: absolute; width: var(--w); height: calc(var(--w) * .45); margin: -3px; background: var(--c); border-radius: 2px; opacity: 0;
  animation: confpop 2.2s var(--d) cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes confpop { 0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  45% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(calc(var(--r) * .5)); }
  100% { opacity: 0; transform: translate(calc(var(--x) * 1.15), calc(var(--y) + 380px)) rotate(var(--r)); } }
/* roulette layout v2: wheel centred under the heading, breathing room, buttons in a centred row below */
.wheel-opts { margin-bottom: 18px; }
.wheel-stage { flex-direction: column; align-items: center; gap: 30px; margin: 44px auto 36px; padding-top: 14px; }
.wheel-side { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; max-width: 620px; width: 100%; }
.wheel-side .btn { min-width: 200px; } .wheel-side p { flex-basis: 100%; text-align: center; margin: 0; }
@media (max-width: 720px) { .wheel-stage { margin: 34px auto 26px; gap: 24px; } .wheel-side .btn { flex: 1 1 100%; } }
/* star signs v4: mystical - drifting nebula, two star layers, shooting stars, an oracle loader, tarot card backs */
.stars-page { isolation: isolate; }
.nebula { position: absolute; inset: -60px -10% 0; z-index: -2; pointer-events: none; opacity: .75; filter: blur(30px);
  background: radial-gradient(40% 30% at 20% 20%, rgba(124,92,255,.35), transparent 70%), radial-gradient(35% 28% at 80% 35%, rgba(236,92,200,.22), transparent 70%),
    radial-gradient(45% 35% at 50% 75%, rgba(40,90,200,.25), transparent 70%), radial-gradient(25% 20% at 70% 85%, rgba(255,200,120,.10), transparent 70%);
  animation: nebula 38s ease-in-out infinite alternate; }
@keyframes nebula { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(3%,2%,0) scale(1.06) rotate(2deg); } 100% { transform: translate3d(-3%,-1%,0) scale(1.03) rotate(-2deg); } }
.starfield.s2 { background-size: 240px 240px; background-position: 60px 90px; opacity: .45; animation: twinkle 4.2s ease-in-out infinite alternate-reverse, drift 120s linear infinite; }
@keyframes drift { to { background-position: 300px 330px; } }
.shoot { position: absolute; z-index: -1; width: var(--len); height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95)); transform: rotate(-24deg) translateX(0); opacity: 0;
  animation: shoot 1.4s cubic-bezier(.3,.6,.4,1) forwards; filter: drop-shadow(0 0 6px #c4b5fd); }
@keyframes shoot { 10% { opacity: 1; } 100% { opacity: 0; transform: rotate(-24deg) translateX(420px); } }
.sign.on { box-shadow: 0 0 0 1px #8b7cf6, 0 0 26px rgba(139,124,246,.55); animation: aura 2.8s ease-in-out infinite alternate; }
@keyframes aura { to { box-shadow: 0 0 0 1px #c4b5fd, 0 0 40px rgba(196,181,253,.7); } }
.sign .sym { transition: text-shadow .2s, transform .2s; } .sign:hover .sym, .sign.on .sym { text-shadow: 0 0 14px #c4b5fd; transform: scale(1.08); }
/* the oracle loader */
.oracle-wrap { display: grid; justify-items: center; gap: 16px; padding: 40px 0 30px; }
.oracle { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.oracle .sym { font: 56px "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; color: #f3eaff; text-shadow: 0 0 22px #8b7cf6, 0 0 44px rgba(139,124,246,.6); animation: breathe 1.8s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(.92); opacity: .8; } to { transform: scale(1.06); opacity: 1; } }
.oracle .orb { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(196,181,253,.25); animation: orbit 2.6s linear infinite; }
.oracle .orb::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 12px #ffd27a; }
.oracle .o2 { inset: 18px; animation-duration: 1.9s; animation-direction: reverse; } .oracle .o2::after { background: #c4b5fd; box-shadow: 0 0 12px #c4b5fd; width: 8px; height: 8px; }
.oracle .o3 { inset: -18px; animation-duration: 3.6s; border-style: dashed; } .oracle .o3::after { background: #f472b6; box-shadow: 0 0 12px #f472b6; width: 7px; height: 7px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.oracle-txt { color: #d9ceff; letter-spacing: .04em; animation: breathe 1.8s ease-in-out infinite alternate; }
/* tarot card backs: gold inner frame, corner stars, moon phases, gold glyph */
.tc-back { background: radial-gradient(circle at 50% 38%, rgba(139,124,246,.6), transparent 58%), radial-gradient(circle at 50% 120%, rgba(236,92,200,.25), transparent 60%),
  repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 6px, transparent 6px 12px), #120c2c; }
.tc-frame { position: absolute; inset: 9px; border: 1px solid rgba(255,214,140,.55); border-radius: 12px; pointer-events: none; }
.tc-frame::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,214,140,.22); border-radius: 9px; }
.tc-frame em { position: absolute; font-style: normal; font-size: 12px; color: #ffd68c; text-shadow: 0 0 8px #ffd68c; line-height: 1; }
.tc-frame em:nth-child(1) { top: -6px; left: -5px; } .tc-frame em:nth-child(2) { top: -6px; right: -5px; } .tc-frame em:nth-child(3) { bottom: -6px; left: -5px; } .tc-frame em:nth-child(4) { bottom: -6px; right: -5px; }
.tc-moons { position: absolute; top: 18px; left: 0; right: 0; text-align: center; font: 12px "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; letter-spacing: .5em; color: rgba(255,214,140,.8); }
.tc-back .sym { background: linear-gradient(180deg, #fff6dc, #ffcf7a 55%, #e9a94e); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 12px rgba(255,200,120,.55)); }
.tc-back small { letter-spacing: .12em; text-transform: uppercase; font-size: 10px; color: #ffd68c; }
.tarot { position: relative; } .tarot::before { content: ""; position: absolute; inset: -30px -20px; z-index: -1; pointer-events: none; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(139,124,246,.28), transparent 70%); animation: breathe 3.2s ease-in-out infinite alternate; }
/* the reading rises out of the mist, line by line */
.reading-slot.open .reading-txt > * { animation: mistin .9s ease-out backwards; }
.reading-slot.open .reading-txt > :nth-child(1) { animation-delay: .25s; } .reading-slot.open .reading-txt > :nth-child(2) { animation-delay: .55s; }
.reading-slot.open .reading-txt > :nth-child(3) { animation-delay: .85s; } .reading-slot.open .reading-txt > :nth-child(4) { animation-delay: 1.15s; } .reading-slot.open .reading-txt > :nth-child(5) { animation-delay: 1.45s; }
@keyframes mistin { from { opacity: 0; filter: blur(8px); transform: translateY(8px); letter-spacing: .06em; } }
.reading { box-shadow: 0 0 40px -10px rgba(139,124,246,.55); }
@media (prefers-reduced-motion: reduce) { .nebula, .starfield.s2, .sign.on, .oracle *, .oracle-txt, .tarot::before, .reading-slot.open .reading-txt > * { animation: none !important; } }
/* keep the nebula + shooting stars inside the page (they made phones shift sideways / jump) */
.stars-page { overflow-x: clip; } .nebula { inset: -60px 0 0; }

/* card flip v2: one smooth turn (no stutter, no flash/sparks), float pauses where it is, a soft gold shine after */
.tcard.flipped { animation-play-state: paused, paused; }
.tc-inner { transition: transform .8s cubic-bezier(.45,.05,.2,1); }
.tcard.flipped .tc-inner { animation: none; transform: rotateY(180deg); }
.burst { display: none; }
.tcard.flipped .tc-front::after { content: ""; position: absolute; inset: 0; opacity: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,226,160,.42) 50%, transparent 65%); transform: translateX(-130%); animation: frontshine 1.1s .6s ease-out forwards; }
@keyframes frontshine { to { transform: translateX(130%); } }
.tcard.flipped .tc-front { box-shadow: 0 0 0 1px rgba(255,214,140,.6), 0 14px 40px -12px rgba(255,190,110,.45); transition: box-shadow .6s .5s; }
/* each card turns on its own centre (own perspective) */
.tarot { perspective: none; } .tcard { perspective: 1000px; }

/* services picker: "Free to watch" tick for every free service; clickable titles/posters on pick results and star cards */
.svc-free-all { margin: 6px 0 12px; border-color: rgba(52,211,153,.45); background: rgba(52,211,153,.07); }
.svc-free-all .free-badge { flex: none; font: 800 11px var(--font); letter-spacing: .08em; color: #062a1d; background: #34d399; border-radius: 8px; padding: 8px 8px; }
.svc-free-all b { display: block; } .svc-free-all small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.services .svc-group { margin-top: 16px; }
.tc-poster { position: absolute; inset: 0; display: block; } .tc-poster img { width: 100%; height: 100%; object-fit: cover; }
.tc-info { pointer-events: none; } .tc-info a, .tc-info .btn { pointer-events: auto; }
.tc-title { color: inherit; text-decoration: none; } .tc-title:hover b, .pick-title:hover { text-decoration: underline; }
.pick-title { color: inherit; text-decoration: none; }
.pick-where { grid-template-columns: repeat(2, 1fr) !important; }
/* star signs: performance. Glows pulse via opacity (GPU) instead of animating box-shadow; the nebula is pre-soft
   (no live blur filter); on phones / touch devices the always-running background effects are static. */
.nebula { filter: none; will-change: transform; }
.nebula { background: radial-gradient(45% 34% at 20% 20%, rgba(124,92,255,.30), transparent 72%), radial-gradient(40% 30% at 80% 35%, rgba(236,92,200,.18), transparent 72%),
    radial-gradient(50% 38% at 50% 75%, rgba(40,90,200,.22), transparent 72%), radial-gradient(30% 24% at 70% 85%, rgba(255,200,120,.08), transparent 72%); }
.tc-back { animation: none; box-shadow: 0 0 0 1px rgba(196,181,253,.5), 0 12px 36px rgba(139,124,246,.5); }
.sign.on { animation: none; box-shadow: 0 0 0 1px #a99bff, 0 0 30px rgba(139,124,246,.6); }
@media (max-width: 720px), (hover: none) {
  .nebula, .starfield, .starfield.s2, .tarot::before, .tc-ring, .tc-back::after { animation: none !important; }
  .starfield.s2 { display: none; }
  .tcard { animation: dealfly .8s cubic-bezier(.2,.9,.3,1.15) backwards; animation-delay: var(--d); }   /* deal in, no endless float */
  .shoot { display: none; }
  .oracle .orb { animation-duration: 3s; }
}
/* star reading: tonight's three picks under the reading */
.reading-slot .pick-alts { margin-top: 18px; } .reading-slot .pick-alts .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; margin: 0 auto; } .reading-slot .pick-alts h2 { text-align: center; }
.reading-slot .pick-alts header { justify-content: center; max-width: 640px; margin: 0 auto 10px; }

/* Services guide (23 Nov 2026): pinned "your services" bar, full plans table, disclaimer */
.svc-bar, .pick-where { position: sticky; top: calc(var(--topbar-h, 70px) + 6px); z-index: 12; }
.svc-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 4px 0 18px; border: 1px solid var(--line2); border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.svc-bar-label { font-weight: 700; white-space: nowrap; }
.svc-bar-logos { display: flex; gap: 6px; flex: 1; min-width: 0; overflow: hidden; align-items: center; }
.svc-bar-logos em { font-style: normal; font-size: 13px; color: var(--dim); }
.svc-bar .btn.small { flex: none; }
.pick-where { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; }
.plans-table { width: 100%; }
.plans-table td { vertical-align: top; padding-top: 12px; padding-bottom: 12px; }
.plans-table th small { display: block; font-weight: 500; color: var(--dim); font-size: 11px; }
.plans-table td.num { text-align: right; white-space: nowrap; }
.plans-table .svc-cell a { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.plans-table .you-have { display: inline-block; margin-top: 4px; font-size: 11px; color: var(--amber); font-weight: 600; }
.plans-table tr.mine { background: color-mix(in srgb, var(--amber) 7%, transparent); }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 220px; }
.plan-list li { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.plan-list li b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-list li.est b { color: var(--dim); font-weight: 600; }
.ads-tag { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line2); color: var(--dim); margin-left: 4px; vertical-align: 1px; }
.plan-note { margin: 6px 0 0; font-size: 12px; color: var(--dim); max-width: 340px; }
.cmp-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line2); }
.cmp-foot .disclaimer { font-size: 14px; line-height: 1.55; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--amber) 8%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent); }
@media (max-width: 640px) {
  .plans-table thead { display: none; }
  .plans-table, .plans-table tbody, .plans-table tr, .plans-table td { display: block; width: 100%; }
  .plans-table tr { padding: 10px 0; border-bottom: 1px solid var(--line2); }
  .plans-table td { padding: 4px 0 !important; text-align: left !important; }
  .plans-table td.num:nth-of-type(3)::before { content: "Titles: "; color: var(--dim); }
  .plans-table td.num:nth-of-type(4)::before { content: "Titles per dollar: "; color: var(--dim); }
  .plan-list { min-width: 0; }
  .svc-bar { gap: 8px; padding: 8px 10px; } .svc-bar-label { font-size: 14px; }
}
@media (max-width: 640px) {
  .plans-table { min-width: 0 !important; max-width: 100%; }
  .plans-table td { border-bottom: 0 !important; }
  .plans-table tr { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .plans-table td.svc-cell, .plans-table td.plans-cell { grid-column: 1 / -1; }
  .plans-table td.num { font-size: 13px; color: var(--text); }
  .plan-list li { font-size: 15px; }
  .cmp-scroll { overflow-x: visible; }
}
/* Where to watch v3 (23 Nov 2026): label above, every card starts on the same left edge, every logo the same size */
.offer-group { grid-template-columns: 1fr !important; gap: 10px; }
.offer-group h4 { display: flex !important; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.offer .pv { flex: none; width: 58px; height: 40px; display: grid; place-items: center; padding: 0 4px; border-radius: 10px; font-size: 14px; transform: none !important; overflow: hidden; white-space: nowrap; }
.alt-offers { padding: 0; border: 0; border-radius: 0; background: none; border-top: 1px solid var(--line); margin-top: 6px; }
.alt-offers .alt-title { margin: 14px 0 0; }
.alt-offers:not(.only) .offer { padding: 10px 12px; background: var(--surface); opacity: .85; }
.alt-offers:not(.only) .offer b { font-size: 15px; }
.alt-offers:not(.only) .offer-group h4 { font-size: 15px; color: var(--text); }
/* Services guide: plans collapsed per service, tap to open */
.plans-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 4px 0; }
.plans-more summary::-webkit-details-marker { display: none; }
.plans-more summary b { font-variant-numeric: tabular-nums; }
.plans-more .plans-count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--amber); white-space: nowrap; }
.plans-more .plans-count::after { content: " ▾"; }
.plans-more[open] .plans-count::after { content: " ▴"; }
.plans-more summary:hover .plans-count { text-decoration: underline; }
.plans-more[open] .plan-list { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); }
.plans-more .plan-note a { color: var(--amber); }
.plans-table td.plans-cell { min-width: 230px; }
/* "How was it?" rating bar (23 Nov 2026) */
.where-seen .rate { display: none; flex-basis: 100%; }
.where-seen.is-seen .rate { display: block; animation: rateIn .35s ease both; }
@keyframes rateIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.rate { margin-top: 6px; padding: 14px 16px 12px; border-radius: 16px; border: 1px solid var(--line2);
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 90, 120, .10), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(45, 212, 191, .10), transparent 55%), var(--surface); }
.rate-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.rate-q { font: 700 15px var(--display); }
.rate-word { color: var(--muted); font-weight: 600; }
.rate-num { margin-left: auto; font: 800 30px/1 var(--display); font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #ff5a78, #ffb547, #2dd4bf); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2.6ch; text-align: right; }
.rate-bar { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: grab; margin: 0; touch-action: pan-y; }
.rate-bar:active { cursor: grabbing; }
.rate-bar::-webkit-slider-runnable-track { height: 12px; border-radius: 99px;
  background: linear-gradient(90deg, rgba(10, 12, 22, 0) var(--v), rgba(10, 12, 22, .62) var(--v)), linear-gradient(90deg, #ff5a78, #ffb547 50%, #2dd4bf); }
.rate-bar::-moz-range-track { height: 12px; border-radius: 99px;
  background: linear-gradient(90deg, rgba(10, 12, 22, 0) var(--v), rgba(10, 12, 22, .62) var(--v)), linear-gradient(90deg, #ff5a78, #ffb547 50%, #2dd4bf); }
.rate-bar::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -9px; border-radius: 50%; background: #fff;
  border: 3px solid #0b0e18; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 0 22px rgba(255, 181, 71, .65); transition: transform .15s; }
.rate-bar::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid #0b0e18; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 0 22px rgba(255, 181, 71, .65); }
.rate-bar:active::-webkit-slider-thumb { transform: scale(1.18); }
.rate.unrated .rate-bar::-webkit-slider-thumb { background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); animation: rateNudge 1.6s ease-in-out infinite; }
.rate.unrated .rate-bar::-moz-range-thumb { background: rgba(255, 255, 255, .55); }
.rate.unrated .rate-bar::-webkit-slider-runnable-track { background: linear-gradient(90deg, #ff5a78, #ffb547 50%, #2dd4bf); opacity: .45; }
@keyframes rateNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.rate-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.rate-bar:focus-visible { outline: none; } .rate-bar:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--amber), 0 0 22px rgba(255, 181, 71, .65); }
@media (prefers-reduced-motion: reduce) { .where-seen.is-seen .rate, .rate.unrated .rate-bar::-webkit-slider-thumb { animation: none; } }
/* "I've seen it": under Where to watch and on watchlist cards */
.where-seen { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.seen-big.on { border-color: var(--teal); color: var(--teal); }
.card .seen-card { width: calc(100% - 16px); margin: 0 8px 10px; justify-content: center; height: 36px; font-size: 13.5px; }
/* star reading: element + ruling planet line, three lucky chips */
.reading .ruled { margin: -4px 0 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #c4b5fd; }
.reading .lucky { flex-wrap: wrap; }

/* perf: keep the footer below the fold until the page renders (stops a 0.135 layout shift on load) */
#main { min-height: 100vh; min-height: 100svh; }

/* SaaSHub badge in the footer */
.foot-badge { display: block; margin-top: 10px; width: max-content; line-height: 0; opacity: .85; transition: opacity .2s; } .foot-badge:hover { opacity: 1; } .foot-badge img { max-width: 150px; height: auto; }

/* home 'My services': fewer lines; the show-what's-on button sits by the title, the picked count under the tiles */
.my-svc .svc-group::after { display: none; }
.my-svc .svc-group.free { border-top: 0; padding-top: 0; margin-top: 18px; }
.my-svc > header { align-items: center; } .my-svc .svc-go { height: 36px; padding: 0 16px; font-size: 13.5px; }
.my-svc .svc-actions { margin-top: 10px; }
@media (max-width: 620px) { .my-svc > header { gap: 10px; } .my-svc .svc-go { height: 32px; padding: 0 11px; font-size: 12.5px; } }

/* room for the 'your service' ring round small logos (the row clips overflow) */
.offers { padding: 4px; margin: 4px -4px -4px; }
.pt-txt .nw { white-space: nowrap; }

/* title page: 'Wrong or missing service?' report */
.report { margin-top: 14px; } .report-open { background: none; border: 0; padding: 0; color: var(--dim); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; } .report-open:hover { color: var(--amber); }
.report-form { display: grid; gap: 10px; max-width: 560px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.report-q { font-size: 13.5px; color: var(--muted); } .report-row { display: flex; gap: 8px; flex-wrap: wrap; }
.report-form select, .report-form input { flex: 1 1 200px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: inherit; font-size: 13.5px; }
.report-done { color: #34d399; font-size: 13.5px; }

/* search found nothing: "not sure that's out yet" + close spellings (23 Nov 2026) */
.empty.nohit { padding: 40px 20px; }
.empty.nohit .btn { display: inline-flex; gap: 6px; align-items: center; }
.grid > .sug-head { grid-column: 1/-1; margin: 18px 0 2px; font-size: 18px; color: var(--text); }