/* Cuz - "Cinema Night" theme: midnight violet, popcorn amber, coral-to-violet glow */
:root {
  --bg: #0E0A1F;
  --surface: rgba(28, 21, 56, .72);
  --surface-solid: #1A1433;
  --surface-2: #251C49;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #F5F1FF;
  --muted: #A99FC7;
  --accent: #FFB547;
  --accent-ink: #231500;
  --coral: #FF5E7E;
  --violet: #8B5CF6;
  --good: #6EE7A8;
  --mid: #FCD34D;
  --bad: #FF8A9A;
  --radius: 18px;
  --composer-h: 132px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-bottom: var(--composer-h); }
body {
  margin: 0; background: var(--bg); color: var(--text); min-height: 100vh;
  font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, .brand { font-family: Fraunces, Georgia, serif; letter-spacing: -0.015em; }
a { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* drifting theatre-light glow */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .38; animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 55vw; height: 55vw; left: -12vw; top: -18vw; background: var(--violet); }
.aurora i:nth-child(2) { width: 42vw; height: 42vw; right: -10vw; top: 8vh; background: var(--coral); opacity: .26; animation-duration: 32s; }
.aurora i:nth-child(3) { width: 36vw; height: 36vw; left: 30vw; bottom: -20vw; background: var(--accent); opacity: .14; animation-duration: 38s; }
@keyframes drift { to { transform: translate(6vw, 5vh) scale(1.12); } }

.top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 16px; max-width: 1040px; margin: 0 auto; }
.brand { font-size: 1.45rem; font-weight: 700; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.star { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .95rem; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--coral)); box-shadow: 0 0 22px rgba(255, 94, 126, .55); }
.link { background: none; border: 0; color: var(--muted); padding: 8px; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--text); }

.app { max-width: 1040px; margin: 0 auto; padding: 0 16px 20px; min-height: calc(100vh - 62px); display: flex; flex-direction: column; }
body.chatting .app { padding-bottom: calc(var(--composer-h) + 24px); }
body.chatting .chat { min-height: calc(100vh - 62px - var(--composer-h) - 24px); display: flex; flex-direction: column; justify-content: flex-start; padding-top: 28px; }
body.chatting .thread { margin-bottom: 0; width: 100%; }

/* hero */
.hero { text-align: center; padding: 0 0 8px; margin: auto 0; }
.marquee { overflow: hidden; margin: 0 -16px 34px; transform: rotate(-2.5deg); filter: saturate(.35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: scroll 80s linear infinite; }
.track img { width: 80px; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; opacity: .22; background: var(--surface-2); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
@keyframes scroll { to { transform: translateX(-50%); } }
.kicker { display: inline-block; margin: 0 0 12px; padding: 5px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .04);
  color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 8.5vw, 4.6rem); line-height: 1.02; margin: 0 0 16px; }
.glow { font-style: italic; background: linear-gradient(95deg, var(--accent) 10%, var(--coral) 55%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px rgba(255, 94, 126, .35)); }
.lede { color: var(--muted); font-size: 1.08rem; margin: 0 auto 30px; max-width: 46ch; }
body.chatting .hero, body.chatting .foot { display: none; }
.fine { display: none; margin: 8px 0 0; text-align: center; color: #6F6592; font-size: .7rem; }
.fine a { color: inherit; }
body.chatting .fine { display: block; }

/* conversation */
.chat { width: 100%; max-width: 1040px; margin: 0 auto; } /* full width from the first message, so bubbles don't jump when the card arrives */
.thread { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto 20px; }
.thread > * { scroll-margin-top: 72px; }
body.chatting .top { position: sticky; top: 0; z-index: 6; background: rgba(14, 10, 31, .82); box-shadow: 0 0 0 100vmax rgba(14, 10, 31, .82); clip-path: inset(0 -100vmax); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
body.chatting .app { min-height: calc(100vh - 62px); }
.msg { display: flex; gap: 10px; align-items: flex-end; animation: pop .32s cubic-bezier(.2, .9, .3, 1.2) both; }
.msg.user { justify-content: flex-end; }
.msg .avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--coral)); box-shadow: 0 0 16px rgba(255, 94, 126, .4); }
.bubble { max-width: min(620px, 86%); padding: 12px 16px; border-radius: 20px; line-height: 1.5; }
.msg.bot .bubble { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.msg.user .bubble { background: linear-gradient(135deg, var(--accent), #FF9A5C); color: var(--accent-ink); border-bottom-right-radius: 6px; font-weight: 500; }
.msg.note .bubble { background: none; border-style: dashed; color: var(--muted); font-size: .9rem; }
.msg.greet .bubble { font-size: 1.08rem; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: bounce 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; background: var(--coral); } .dots i:nth-child(3) { animation-delay: .3s; background: var(--violet); }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }

.starters { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 40px; animation: pop .4s .1s both; }
.starter { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 16px; font-weight: 500;
  transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
.starter:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(255, 181, 71, .08); box-shadow: 0 6px 20px rgba(255, 181, 71, .15); }

/* the pick: one big card, two quiet backups */
.pick { margin: 2px 0 4px 40px; animation: pop .4s both; }
.hero-pick { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 16px; border-radius: 22px;
  background: var(--surface); border: 1px solid rgba(255, 181, 71, .28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(139, 92, 246, .22), 0 0 0 1px rgba(255, 94, 126, .06); }
.hero-pick .thumb img { width: 132px; aspect-ratio: 2/3; object-fit: cover; border-radius: 14px; background: var(--surface-2); display: block; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.mbody { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mbody h3 { margin: 0; font-size: 1.5rem; line-height: 1.1; }
.mbody .meta { margin: 0; color: var(--muted); font-size: .85rem; }
.why { margin: 0; font-size: .92rem; color: var(--text); }
.why .lbl { color: var(--accent); font-weight: 600; }
.sum { margin: 0; font-size: .88rem; color: #CFC7EA; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rates { display: flex; flex-wrap: wrap; gap: 6px; }
.rate { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; color: var(--text); background: none;
  border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; font-size: .74rem; }
.rate span { color: var(--muted); }
.rate b { font-size: .85rem; }
.rate.good b { color: var(--good); } .rate.mid b { color: var(--mid); } .rate.bad b { color: var(--bad); } .rate.na b { color: var(--muted); }
.rate:hover { border-color: var(--line-strong); }
.where { margin: 0; font-size: .82rem; color: var(--muted); }
.decide { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px; }
.decide .btn { padding: 10px 18px; font-size: .92rem; text-decoration: none; }
.btn.primary { background: linear-gradient(135deg, var(--accent), #FF9A5C); color: var(--accent-ink); border-color: transparent; box-shadow: 0 6px 20px rgba(255, 181, 71, .3); }
.btn.primary:hover { background: linear-gradient(135deg, var(--accent), #FF9A5C); filter: brightness(1.08); border-color: transparent; box-shadow: 0 8px 24px rgba(255, 181, 71, .4); }
.cardact { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.cardact a, .cardact button { background: none; border: 0; padding: 2px 0; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.cardact a { color: var(--accent); }
.cardact button { color: var(--muted); }
.cardact button:hover { color: var(--text); }
.alts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; padding: 10px 6px 0; font-size: .88rem; color: var(--muted); }
.alt { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; font-size: .88rem; }
.alt:hover { color: var(--accent); text-decoration-color: var(--accent); }
.swap { margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; font-size: .82rem; color: var(--text); }
.swap:hover { border-color: var(--accent); color: var(--accent); }
/* older picks collapse to a single line */
.pick.past .hero-pick { grid-template-columns: 40px 1fr; gap: 12px; padding: 8px 12px; box-shadow: none; border-color: var(--line); opacity: .7; }
.pick.past .hero-pick .thumb img { width: 40px; border-radius: 6px; box-shadow: none; }
/* a past card can be tapped to open it again */
.pick.past { cursor: pointer; }
.pick.past:hover .hero-pick, .pick.past:focus-visible .hero-pick { opacity: 1; border-color: var(--accent); }
.pick.past:focus-visible { outline: none; }
.pick.past .mbody { justify-content: center; gap: 2px; }
.pick.past .mbody h3 { font-size: 1rem; }
.pick.past .why, .pick.past .sum, .pick.past .rates, .pick.past .where, .pick.past .decide, .pick.past .cardact, .pick.past .alts { display: none; }
@media (max-width: 560px) {
  .pick { margin-left: 0; }
  .hero-pick { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
  .hero-pick .thumb img { width: 96px; }
  .mbody h3 { font-size: 1.25rem; }
  /* phones: only the title and details sit beside a smaller poster; everything else uses the full width of the card */
  .pick:not(.past) .hero-pick { grid-template-columns: 76px 1fr; row-gap: 10px; align-items: start; }
  .pick:not(.past) .hero-pick .thumb { grid-row: 1 / span 2; }
  .pick:not(.past) .hero-pick .thumb img, .pick:not(.past) .hero-pick .thumb.noposter { width: 76px; }
  .pick:not(.past) .hero-pick .mbody { display: contents; }
  .pick:not(.past) .hero-pick .mbody > h3 { grid-column: 2; align-self: end; }
  .pick:not(.past) .hero-pick .mbody > .meta { grid-column: 2; align-self: start; }
  .pick:not(.past) .hero-pick .mbody > :not(h3):not(.meta) { grid-column: 1 / -1; }
  .pick:not(.past) .hero-pick .more-toggle { justify-self: start; }
}

.btn { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); border-radius: 999px; padding: 11px 22px; font-weight: 600; transition: background .15s, border-color .15s; }
.btn:hover { background: rgba(255, 255, 255, .08); border-color: var(--accent); }
.top-right { display: flex; align-items: center; gap: 10px; }
body:not(.chatting) .top-right .country { display: none; }
.country { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.country select { background: var(--surface-solid); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; padding: 3px 6px; font: inherit; }

/* composer */
.composer { display: flex; flex-direction: column; max-width: 640px; margin: 0 auto; text-align: left; }
.hero .composer .quick { order: 2; flex-wrap: wrap; justify-content: center; overflow: visible; padding: 16px 0 0; }
.hero .composer .bar { padding: 8px 8px 8px 22px; }
.hero .composer .bar input { font-size: 1.05rem; padding: 12px 0; }
body.chatting .composer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; max-width: none; padding: 26px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 62%, rgba(14, 10, 31, 0)); }
body.chatting .composer > * { width: 100%; max-width: 820px; margin-left: auto; margin-right: auto; }
.quick { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; }
.quick:empty { display: none; }
.quick::-webkit-scrollbar { display: none; }
.chip { flex: none; white-space: nowrap; background: rgba(28, 21, 56, .9); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 13px; font-size: .85rem;
  transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
/* "Invite a friend" beside the chat box: only once chatting (on the home screen, "Pick together" does this job) */
.invite { display: none; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 4px 0 18px; color: var(--muted);
  font: inherit; font-size: .82rem; cursor: pointer; }
.invite:hover { color: var(--accent); }
body.chatting .invite { display: inline-flex; }
/* "Share" panel: send the film to someone */
.share-panel { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.share-panel .share-lede { margin: 0; font-size: .88rem; color: var(--muted); }
.share-panel .share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.link-btn { align-self: flex-start; background: none; border: 0; padding: 2px 0; color: var(--accent); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bubble .share-panel { border-top: 0; padding-top: 0; }
.hero-pick > .share-panel { grid-column: 1 / -1; }
.pick.past .share-panel, .pick.past .card-share { display: none; }
/* "Save for later": top-right of the card on wide screens, a row under the title on phones */
.hero-pick { position: relative; }
.card-share { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; }
.share-pill { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; font-size: .78rem; color: var(--text); cursor: pointer; }
.share-pill:hover, .share-pill.on { border-color: var(--accent); color: var(--accent); }
/* (Save now sits in the action row, so the title needs no room kept free on the right) */
@media (max-width: 700px) {
  .card-share { position: static; grid-column: 1 / -1; order: -1; justify-content: flex-end; }
  .hero-pick .mbody h3 { padding-right: 0; }
}
/* "Your picks": a button right next to the Cuz logo, opening a popup with search and 👍/👎 */
.top-left { display: flex; align-items: center; gap: 12px; }
.taste-where { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text); }
.taste-country { background: var(--surface-solid); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; padding: 5px 8px; font: inherit; font-size: .88rem; }
/* phones: the four card actions as a tidy 2×2 grid instead of a row that wraps unevenly */
@media (max-width: 560px) { .hero-pick .card-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .hero-pick .card-tools .tool { width: 100%; justify-content: center; } }
.card-tools .share-pill.on { border-color: var(--accent); color: var(--accent); }
.mypicks-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 5px 12px; color: var(--text); font: inherit; font-size: .82rem; cursor: pointer; }
.mypicks-btn:hover { border-color: var(--accent); color: var(--accent); }
.mypicks-count { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 7px; font-size: .72rem; font-weight: 700; }
.mypicks-count:empty { display: none; }
/* the same size whatever's in it: tabs and search stay put, the list scrolls inside */
/* Your picks panel: slides in from the right on wide screens (the chat moves over and stays usable), full screen on phones */
.panel { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(420px, 100vw); height: 100dvh; max-height: none; max-width: none; padding: 14px 18px 16px;
  border: 0; border-left: 1px solid var(--line-strong); border-radius: 22px 0 0 22px; background: var(--surface-solid); color: var(--text);
  box-shadow: -24px 0 60px rgba(0, 0, 0, .45); z-index: 20; overflow: hidden; }
.panel[open] { display: flex; flex-direction: column; animation: panel-in .22s ease-out; }
.panel::backdrop { background: rgba(8, 5, 20, .6); }
@keyframes panel-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .panel[open] { animation: none; } }
@media (min-width: 900px) {
  body.panel-open { padding-right: 420px; }
  body.panel-open.chatting .composer { right: 420px; }
}
.panel-head { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: none; }
.panel-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.panel-title { margin: 0; font-size: 1.5rem; }
.panel-back { display: none; background: none; border: 0; color: var(--text); font-size: 1.4rem; padding: 4px 8px 4px 0; cursor: pointer; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1rem; }
.who-text { display: flex; flex-direction: column; min-width: 0; }
.who-email { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-sync { font-size: .76rem; color: var(--good); }
.who-sub { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-menu { position: relative; margin-left: auto; }
.acct-menu summary { list-style: none; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); font-size: 1.2rem; border: 1px solid transparent; }
.acct-menu summary::-webkit-details-marker { display: none; }
.acct-menu summary:hover, .acct-menu[open] summary { border-color: var(--line-strong); color: var(--text); }
.acct-menu-list { position: absolute; right: 0; top: 40px; z-index: 2; min-width: 170px; padding: 6px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface-solid); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); display: flex; flex-direction: column; }
.acct-menu-list button { background: none; border: 0; text-align: left; padding: 9px 12px; border-radius: 10px; font: inherit; font-size: .9rem; color: var(--text); cursor: pointer; }
.acct-menu-list button:hover { background: rgba(255, 255, 255, .06); }
.acct-menu-list .danger { color: var(--bad); }
.panel-note { flex: none; margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; background: rgba(110, 231, 160, .08); color: var(--good); font-size: .86rem; }
.panel-note.bad { background: rgba(255, 94, 126, .08); color: var(--bad); }
.panel-foot { flex: none; margin-top: 12px; padding: 14px; border-radius: 16px; border: 1px solid rgba(255, 181, 71, .35); background: rgba(255, 181, 71, .07); display: flex; align-items: center; gap: 12px; }
.panel-foot .foot-text { margin: 0; flex: 1; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.panel-foot .foot-text strong { color: var(--text); }
.panel-foot .btn { flex: none; }
.fy-tune { margin-top: 14px; }
.fy-head { margin-top: 20px !important; }
@media (max-width: 899px) {
  .panel { width: 100vw; border-radius: 0; border-left: 0; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); }
  .panel-back { display: block; }
  .panel-x { display: none; }
  .panel .yp-tab { padding: 8px 6px; font-size: .86rem; gap: 4px; }
}
/* the header button: "Your picks 3", or your initial once signed in */
.mypicks-btn.me { padding: 3px 10px 3px 3px; }
.mp-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .8rem; }
.mp-avatar[hidden], .mp-text[hidden] { display: none; }
.yp-tabs { display: flex; gap: 2px; margin: 8px 0 12px; border-bottom: 1px solid var(--line); flex: none; overflow-x: auto; scrollbar-width: none; }
.yp-tabs::-webkit-scrollbar { display: none; }
.yp-tab { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 8px 10px; font: inherit; font-size: .92rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.yp-tab:hover { color: var(--text); }
.yp-tab.on { color: var(--text); border-bottom-color: var(--accent); }
.picks-search { flex: none; width: 100%; margin: 4px 0 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(28, 21, 56, .9); color: var(--text); font: inherit; }
.picks-search:focus { outline: none; border-color: var(--accent); }
.picks-list { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-right: 2px; }
.picks-empty { color: var(--muted); font-size: .9rem; margin: 12px 0; }
/* the account box under the list: "Kept on this device only. Keep them on all your devices →" */
.acct { flex: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: .84rem; color: var(--muted); }
.acct p { margin: 0; }
.acct strong { color: var(--text); font-weight: 600; }
.acct .link-btn { font-size: .84rem; }
.acct-note { color: var(--good); }
.acct-note.bad { color: var(--bad); }
.acct-form { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-input { flex: 1 1 180px; min-width: 0; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(28, 21, 56, .9); color: var(--text); font: inherit; font-size: .9rem; }
.acct-input:focus { outline: none; border-color: var(--accent); }
.acct-input.shake { animation: shake .35s; border-color: var(--bad); }
.acct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.acct-hint { font-size: .78rem; }
.acct-row .acct-line { margin-right: 2px; }
/* the home page's one line about accounts: basics need none, signing in is the upgrade */
.login-hint { margin: 18px auto 0; font-size: .86rem; color: var(--muted); text-align: center; }
.login-hint .link-btn { font-size: .86rem; }
body.chatting .login-hint { display: none; }
.login-perks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.login-perks li { position: relative; padding-left: 24px; font-size: .95rem; color: var(--text); }
.login-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.taste-cta { margin: -6px 2px 14px; font-size: .86rem; color: var(--muted); }
.taste-cta .link-btn { font-size: .86rem; }
/* "Your taste": a memory card, grouped chips (filled = love), a why-and-change panel per chip, and how you watch */
.panel-mem { flex: none; }
.panel-mem .mem-card { margin: 10px 0 4px; }
.mem-card { margin: 2px 0 18px; padding: 14px; border-radius: 16px; border: 1px solid rgba(255, 181, 71, .35); background: rgba(255, 181, 71, .07); display: flex; flex-direction: column; gap: 8px; }
.mem-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mem-title { font-weight: 600; color: var(--text); font-size: .95rem; }
.mem-level { font-size: .76rem; color: var(--accent); white-space: nowrap; }
.mem-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.mem-fill { height: 100%; border-radius: 3px; background: var(--accent); transition: width .3s; }
.mem-note { margin: 0; font-size: .84rem; color: var(--muted); }
.mem-btn { align-self: stretch; }
.taste-sec { margin: 0 2px 16px; }
.taste-empty { margin: 0 2px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.taste-empty p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.taste-h { margin: 0 0 8px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.taste-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.taste-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font: inherit; font-size: .86rem; color: var(--text); background: rgba(255, 255, 255, .03); cursor: pointer; }
.taste-chip:hover, .taste-chip.open { border-color: var(--accent); }
.taste-chip.love { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.taste-chip.x { padding-right: 4px; cursor: default; }
.taste-chip.ro { cursor: default; }
.taste-chip.ro:hover { border-color: var(--line-strong); }
.taste-chip.never.ro { padding-right: 12px; }
.taste-chip.never.ro:hover { border-color: rgba(255, 94, 126, .4); }
.taste-chip.love .taste-x:hover { background: rgba(0, 0, 0, .12); }
.name-edit { display: flex; gap: 8px; }
.name-edit .acct-input { padding: 6px 10px; font-size: .88rem; }
.name-edit .btn { padding: 6px 12px; font-size: .84rem; }
.taste-chip.skip { border-style: dashed; color: var(--muted); }
.taste-chip.never { background: rgba(255, 94, 126, .12); border-color: rgba(255, 94, 126, .4); color: var(--bad); padding-right: 4px; cursor: default; }
.taste-chip.add { color: var(--accent); border-style: dashed; }
.taste-x { background: none; border: 0; color: inherit; cursor: pointer; padding: 2px 6px; border-radius: 999px; font-size: .78rem; }
.taste-x:hover { background: rgba(255, 255, 255, .08); }
.taste-none { font-size: .84rem; color: var(--muted); margin-right: 4px; }
.taste-hint { margin: -8px 2px 16px; font-size: .78rem; color: var(--muted); }
.taste-sec .taste-hint { margin: 10px 0 8px; }
.taste-pick { margin-top: 10px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); }
.taste-detail { margin-top: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); }
.td-title { margin: 0 0 4px; font-weight: 600; font-size: .92rem; }
.td-why { margin: 0 0 10px; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.td-acts { display: flex; gap: 8px; }
.td-acts .btn { flex: 1; padding: 7px 10px; font-size: .84rem; }
.how-grid { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: center; font-size: .88rem; }
.how-k { color: var(--muted); }
.how-v { color: var(--text); }
.how-v .link-btn { font-size: .84rem; margin-left: 4px; }
.taste-reset { margin: 4px 2px 8px; font-size: .82rem; }
/* Friday picks: the one-time ask after signing in, then an on/off switch */
.fp-card { padding: 12px 14px; border: 1px solid rgba(255, 181, 71, .35); border-radius: 14px; background: rgba(255, 181, 71, .07); display: flex; flex-direction: column; gap: 8px; }
.fp-card p { margin: 0; }
.fp-title { font-weight: 600; color: var(--text); font-size: .9rem; }
.fp-text { font-size: .82rem; color: var(--muted); }
.fp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fp-words { display: flex; flex-direction: column; gap: 1px; }
.switch { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .08); cursor: pointer; padding: 0; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.switch.on { background: var(--accent); border-color: var(--accent); }
.switch.on::after { transform: translateX(18px); background: var(--accent-ink); }
.switch:disabled { opacity: .6; }
/* the sign-in popup (in place of Your picks) */
/* short, so it never scrolls (a fractional-pixel height made the browser add scrollbars) */
.modal.login-modal { width: min(440px, calc(100vw - 32px)); overflow: visible; }
.login-body { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.login-lede { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.login-lede strong { color: var(--text); }
.login-body .acct-input { padding: 11px 14px; font-size: 1rem; }
.acct-input.code { letter-spacing: .35em; font-variant-numeric: tabular-nums; }
.login-body .acct-note { margin: 0; font-size: .86rem; }
.login-foot { font-size: .8rem; color: var(--muted); }
.login-foot a { color: var(--accent); }
.picks-foot { flex: none; margin: 10px 0 0; font-size: .78rem; color: var(--muted); }
.mypicks-btn { white-space: nowrap; }
@media (max-width: 560px) { .mypicks-btn { font-size: .75rem; padding: 4px 9px; } .mp-your { display: none; } .mypicks-btn { text-transform: capitalize; } }
.yp-n { font-size: .7rem; letter-spacing: 0; padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text); }
.yp-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(28, 21, 56, .6); margin-bottom: 6px; }
.yp-film { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.yp-film img { width: 32px; height: 48px; object-fit: cover; border-radius: 5px; flex: none; }
.yp-text { display: flex; flex-direction: column; min-width: 0; }
.yp-name { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yp-when { font-size: .78rem; color: var(--muted); }
.yp-film:hover .yp-name { color: var(--accent); }
.yp-acts { display: flex; align-items: center; gap: 6px; flex: none; }
.yp-watch { padding: 6px 12px; font-size: .8rem; }
.yp-seen { background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 10px; font: inherit; font-size: .78rem; color: var(--muted); cursor: pointer; }
.yp-seen:hover { color: var(--text); border-color: var(--text); }
.yp-rate { display: flex; align-items: center; gap: 4px; }
.yp-ask { font-size: .78rem; color: var(--muted); margin-right: 2px; }
.yp-thumb { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 9px; cursor: pointer; font-size: .9rem; }
.yp-thumb:hover { border-color: var(--accent); background: rgba(255, 181, 71, .14); }
.yp-rated { background: rgba(255, 181, 71, .12); border: 1px solid var(--accent); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: .78rem; color: var(--text); cursor: pointer; }
.yp-remove { flex: none; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px 6px; }
.yp-remove:hover { color: var(--text); }
/* with a mouse, ✕ shows on the row you point at; on touch screens it's always there */
@media (hover: hover) { .yp-row .yp-remove { opacity: 0; } .yp-row:hover .yp-remove, .yp-remove:focus-visible { opacity: 1; } }
/* phones: the buttons go on their own line under the title, so the title has room */
@media (max-width: 560px) { .yp-row { flex-wrap: wrap; row-gap: 6px; } .yp-acts { width: 100%; justify-content: flex-end; } }
/* a question's answers, right under it inside the bubble; greyed out once answered, with the chosen one marked */
.inline-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.inline-chips .chip { color: inherit; }
.inline-chips .chip:disabled { opacity: .45; cursor: default; border-color: var(--line-strong); color: inherit; }
.inline-chips .chip.chosen:disabled { opacity: 1; border-color: var(--accent); color: var(--accent); }
/* "Which languages do you watch?": one dropdown (checkbox list inside), then Done */
.lang-done { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.lang-drop { flex: 1 1 240px; min-width: 0; }
.lang-sum { list-style: none; cursor: pointer; position: relative; padding: 9px 38px 9px 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(28, 21, 56, .9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }
.lang-sum::-webkit-details-marker { display: none; }
.lang-sum::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--accent); }
.lang-drop[open] .lang-sum { border-color: var(--accent); }
.lang-drop[open] .lang-sum::after { content: "▴"; }
.lang-drop.locked .lang-sum { opacity: .65; cursor: default; }
.lang-panel { margin-top: 6px; padding: 8px 10px 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-solid); max-height: 300px; overflow-y: auto; }
.lang-group { margin: 10px 4px 2px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0 8px; }
.lang-opt { display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-radius: 8px; font-size: .9rem; cursor: pointer; }
.lang-opt:hover { background: rgba(255, 255, 255, .05); }
.lang-opt input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.lang-opt input:disabled + span { opacity: .45; }
.lang-opt.any { font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; }
.lang-done .btn.primary { flex: none; }
.bar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--surface-solid);
  border: 1px solid var(--line-strong); box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 94, 126, .08); transition: border-color .2s, box-shadow .2s; }
.bar:focus-within { border-color: rgba(255, 181, 71, .7); box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 26px rgba(255, 181, 71, .22); }
.bar input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: inherit; font-size: 1rem; padding: 10px 0; }
.bar input::placeholder { color: #8378A6; }
.bar input:focus { outline: none; }
.send { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--coral)); box-shadow: 0 4px 18px rgba(255, 94, 126, .45); transition: transform .15s, filter .15s; }
.send:hover { transform: scale(1.06); filter: brightness(1.08); }
.send:disabled, .bar input:disabled { opacity: .5; cursor: wait; }

.foot { color: #6F6592; font-size: .72rem; padding: 28px 0 0; max-width: 760px; margin: 0 auto; text-align: center; }
.foot p { margin: 0 0 6px; }
.foot .trust { color: var(--muted); font-size: .8rem; }

@media (min-width: 760px) {
  .track img { width: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* taste memory: "how was it?" */
.ask { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 18px; padding: 8px 10px 8px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: .92rem; }
.ask button { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; font-size: .85rem; }
.ask button:hover { border-color: var(--accent); }
.ask .dismiss { background: none; border: 0; color: var(--muted); padding: 4px 6px; }
/* watch together */

.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.share-row .btn, .msg .bubble .btn { padding: 8px 16px; font-size: .9rem; }
.msg .bubble > .btn { margin-top: 10px; }
/* pick card extras */
.kind { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 8px; border-radius: 999px; font: 600 .66rem/1.4 Inter, sans-serif;
  letter-spacing: .06em; text-transform: uppercase; color: var(--violet); border: 1px solid rgba(139, 92, 246, .5); }
.guide { margin: 0; font-size: .8rem; }
.guide.warn { color: var(--mid); }
.guide.ok { color: var(--good); }
.verdict { font-size: .8rem; color: var(--text); margin-right: 4px; align-self: center; }
.viewers { margin: 0; font-size: .88rem; color: var(--text); font-style: italic; }
.viewers .lbl { font-style: normal; color: var(--coral); font-weight: 600; }

.name-input { display: block; width: 100%; margin: 10px 0 0; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-solid); color: var(--text); font: inherit; font-size: .9rem; }
.name-input:focus { outline: none; border-color: var(--accent); }
.bubble .link { display: inline-block; margin-top: 8px; padding: 2px 0; font-size: .85rem; }
.share-row .btn { text-decoration: none; }

/* card refinements: poster plays the trailer, "also on" links, scores and actions share a row */
.hero-pick .thumb { position: relative; display: block; align-self: start; border-radius: 14px; }
.hero-pick a.thumb:hover img { filter: brightness(.75); }
.play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(14, 10, 31, .72); border: 1px solid var(--line-strong); color: var(--text); font-size: .95rem; padding-left: 3px; pointer-events: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .15s, background .15s; }
.hero-pick a.thumb:hover .play { transform: scale(1.1); background: var(--accent); color: var(--accent-ink); }
.decide { align-items: center; }
.also { font-size: .82rem; color: var(--muted); }
.also a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.also a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.guide.quiet { color: var(--muted); }
.rates { align-items: center; }
.rates .cardact { margin-left: auto; }
.pick.past .play, .pick.past .also { display: none; }

/* where to stream: each app is a link */
.where { font-size: .9rem; color: var(--text); }
.where .lbl { color: var(--muted); }
.where a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 181, 71, .55); text-underline-offset: 4px; }
.where a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.where .sep { color: var(--muted); }
/* the three "not quite" actions: one consistent row across the bottom of the card */
.card-tools { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; margin-top: 2px; border-top: 1px solid var(--line); }
.tool { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: .84rem; color: var(--text); transition: border-color .15s, color .15s; }
.tool:hover { border-color: var(--accent); color: var(--accent); }
.pick.past .card-tools, .pick.past .where { display: none; }
/* header: "New search" reads as a button */
.newsearch { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: var(--text); }
.newsearch:hover { border-color: var(--accent); color: var(--accent); }
.meta .runtime { text-decoration: underline dotted rgba(255, 255, 255, .25); text-underline-offset: 3px; cursor: help; }

/* 2) the verdict leads the score row */
.rates .verdict { font-size: .82rem; font-weight: 600; margin-right: 2px; }
.rates .verdict.good { color: var(--good); }
.rates .verdict.caveat { color: var(--mid); }
/* 3) backups and chips line up with the card's left edge */
.alts { padding: 10px 0 0; gap: 8px 14px; }
.alts .sep { display: none; }
@media (min-width: 561px) { body.chatting .composer .quick { padding-left: 40px; } }
/* 4) read the full overview */
.sum.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.more-toggle { align-self: flex-start; margin-top: -4px; background: none; border: 0; padding: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.more-toggle:hover { color: var(--text); }
.pick.past .more-toggle { display: none; }
/* 5) backups: small poster + score, so they can be judged at a glance */
.alt { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 3px 10px 3px 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .03); }
.alt img { width: 22px; height: 33px; object-fit: cover; border-radius: 4px; background: var(--surface-2); }
.alt:hover { border-color: var(--accent); color: var(--text); }
.alt span:first-of-type { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.alt-score { color: var(--muted); font-size: .78rem; }
.alts { align-items: center; }

/* phones: keep the header on one line */
@media (max-width: 560px) {
  .top .country .pin, .newsearch .ns-label { display: none; }
  .newsearch { padding: 6px 11px; font-size: 1rem; }
  .top .country select { max-width: 120px; }
}

/* "Pick together" is a mode, not a mood: its own shape, a gradient border, and an "or" to set it apart */
.together-wrap { margin-top: 22px; }
.or-divider { display: flex; align-items: center; gap: 12px; max-width: 340px; margin: 0 auto 16px; color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.together { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; font-weight: 600; font-size: .95rem; color: var(--text);
  border: 1.5px solid transparent;
  background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, linear-gradient(120deg, var(--accent), var(--coral), var(--violet)) border-box;
  box-shadow: 0 0 26px rgba(139, 92, 246, .22); transition: box-shadow .2s, transform .15s; }
.together:hover { box-shadow: 0 0 34px rgba(255, 94, 126, .38); transform: translateY(-1px); }
.together-arrow { color: var(--accent); transition: transform .15s; }
.together:hover .together-arrow { transform: translateX(3px); }

/* calmer card: colour only for the one action (orange) and real warnings (amber); everything else is white or grey */
.viewers .lbl { color: var(--muted); font-weight: 600; }
.viewers { color: var(--text); }
.rate b, .rate.good b, .rate.mid b, .rate.bad b { color: var(--text); }
.rates .verdict.good { color: var(--muted); font-weight: 600; }
.rates .verdict.caveat { color: var(--mid); }
.where a { text-decoration-color: var(--line-strong); }
.where a:hover { color: var(--text); text-decoration-color: var(--text); }
.guide.ok { color: var(--muted); }
.kind { color: var(--muted); border-color: var(--line-strong); }

/* "Why this": its own box so it never blends into the plot */
.why-box { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.why-box .lbl { display: block; margin-bottom: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.why-box p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--text); }
.sum { color: var(--muted); }
.pick.past .why-box { display: none; }

/* trailer popup */
.trailer { width: min(960px, 92vw); padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface-solid); color: var(--text); overflow: hidden; }
.trailer::backdrop { background: rgba(8, 5, 20, .78); backdrop-filter: blur(6px); }
.trailer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; font-weight: 600; }
.trailer-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05); color: var(--text); }
.trailer-close:hover { border-color: var(--accent); color: var(--accent); }
.trailer-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-foot { margin: 0; padding: 10px 18px 14px; font-size: .8rem; color: var(--muted); }
.trailer-foot a { color: var(--text); }
.name-hint { margin: 6px 0 0; font-size: .8rem; color: var(--mid); }
.name-hint.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.share-row.locked .btn { opacity: .45; cursor: not-allowed; box-shadow: none; filter: none; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.name-row .name-input { margin: 0; }
@media (max-width: 560px) { .name-row { grid-template-columns: 1fr; } }

/* shared chat: the other person's messages, with their name */
.msg.them .who { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text); }
.msg.them .bubble { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.them .from { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.btn[disabled] { opacity: .7; cursor: default; }
.name-field { display: flex; flex-direction: column; gap: 4px; }
.name-field span { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* footer links */
.foot a, .fine a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.foot a:hover, .fine a:hover { color: var(--text); }

/* terms & feedback pages */
.logo-img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 22px rgba(255, 94, 126, .55); }
body.doc .top { position: sticky; top: 0; z-index: 6; background: rgba(14, 10, 31, .82); box-shadow: 0 0 0 100vmax rgba(14, 10, 31, .82); clip-path: inset(0 -100vmax); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
body.doc .newsearch { text-decoration: none; }
.page { max-width: 720px; margin: 0 auto; padding: 24px 16px 40px; }
.page h1 { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; margin: 8px 0 6px; }
.page h2 { font-size: 1.35rem; margin: 34px 0 8px; }
.page h3 { font-family: Inter, sans-serif; font-size: .95rem; margin: 18px 0 4px; }
.page p, .page li { color: #D6CFEE; line-height: 1.65; }
.page ul { padding-left: 20px; }
.page a { color: var(--text); text-decoration-color: rgba(255, 181, 71, .6); text-underline-offset: 3px; }
.page a:hover { color: var(--accent); }
.page section { scroll-margin-top: 80px; }
.updated { color: var(--muted); font-size: .85rem; margin: 0; }
.lede-left { color: var(--muted); font-size: 1.05rem; margin: 0 0 22px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.toc a { font-size: .82rem; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--text); background: rgba(255, 255, 255, .03); }
.toc a:hover { border-color: var(--accent); color: var(--accent); }
.doc-foot { padding-bottom: 28px; }
/* feedback form */
.fb { display: flex; flex-direction: column; gap: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.kinds { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds legend { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.kinds label { cursor: pointer; }
.kinds input { position: absolute; opacity: 0; pointer-events: none; }
.kinds span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); font-size: .9rem; }
.kinds input:checked + span { border-color: var(--accent); background: rgba(255, 181, 71, .1); color: var(--text); }
.kinds input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field em { text-transform: none; letter-spacing: 0; font-weight: 400; font-style: normal; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface-solid); color: var(--text); font: inherit; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.count { align-self: flex-end; color: var(--muted); font-size: .75rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.error { margin: 0; color: var(--mid); font-size: .9rem; }
.fb .btn.primary { align-self: flex-start; }
.fine-print { margin: 0; font-size: .8rem; color: var(--muted) !important; }
.thanks .btn { text-decoration: none; margin-right: 8px; }

/* consent (required before using Cuz) */
.consent { width: min(460px, 92vw); padding: 28px 26px 22px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface-solid); color: var(--text); text-align: left; }
.consent::backdrop { background: rgba(8, 5, 20, .82); backdrop-filter: blur(8px); }
.consent h2 { font-size: 1.6rem; margin: 14px 0 8px; }
.consent p, .consent li { color: #D6CFEE; line-height: 1.55; font-size: .95rem; }
.consent ul { padding-left: 20px; margin: 6px 0 12px; }
.consent a { color: var(--text); text-underline-offset: 3px; }
.consent .btn.primary { width: 100%; margin-top: 8px; padding: 13px 18px; font-size: 1rem; }
.consent-fine { margin: 10px 0 0; font-size: .78rem !important; color: var(--muted) !important; text-align: center; }
.delete-status { margin-left: 10px; font-size: .88rem; color: var(--muted); }
#delete-data { text-decoration: none; }

/* consent notice under the input (until the first action) */
.consent-note { margin: 8px 0 0; text-align: center; font-size: .76rem; color: var(--muted); }
.consent-note a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.consent-note a:hover { color: var(--text); }

/* feedback popup */
.modal { width: min(560px, 92vw); max-height: 90vh; overflow: auto; padding: 18px 22px 22px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface-solid); color: var(--text); }
.modal::backdrop { background: rgba(8, 5, 20, .78); backdrop-filter: blur(6px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.modal-head h2 { margin: 0; font-size: 1.5rem; }
.modal .lede-left { margin: 0 0 4px; font-size: .95rem; }
.modal .thanks p { color: #D6CFEE; line-height: 1.55; }
#open-feedback { cursor: pointer; }

/* after "Seen it": did you like it? */
.rate-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; padding: 7px 8px 7px 14px; border: 1px dashed var(--line-strong); border-radius: 14px; font-size: .88rem; color: var(--muted); }
.rate-ask span { margin-right: 4px; }
.rate-ask button { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; font-size: .84rem; }
.rate-ask button:hover { border-color: var(--accent); }
.rate-ask .dismiss { margin-left: auto; background: none; border: 0; color: var(--muted); padding: 4px 8px; }
.pick.past .rate-ask { display: none; }

/* Cuz, the movie-buff cousin */
.cuz-intro { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 4px; margin: -14px 0 6px; }
.cuz-body { width: 140px; height: auto; overflow: visible; filter: drop-shadow(0 10px 26px rgba(139, 92, 246, .35)); }
.cuz-says { margin: 10px 0 0; padding: 8px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface); border: 1px solid var(--line-strong); font-size: .95rem; font-weight: 500;
  white-space: nowrap; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: pop .5s .3s both; }
.msg .avatar { background: var(--surface-2); box-shadow: 0 0 14px rgba(139, 92, 246, .35); overflow: hidden; }
.msg .avatar svg { width: 30px; height: 30px; }
.star { background: none; box-shadow: none; filter: drop-shadow(0 0 10px rgba(255, 94, 126, .45)); }
@media (max-width: 560px) {
  .cuz-body { width: 104px; }
  .cuz-says { font-size: .88rem; padding: 7px 12px; }
  .cuz-intro { margin-top: -20px; }
}
/* phones: Cuz joins the hero, so the rest tightens up to keep "Pick together" close to the fold */
@media (max-width: 560px) {
  .marquee { margin-bottom: 14px; }
  .track img { width: 58px; border-radius: 8px; }
  .cuz-body { width: 86px; }
  .cuz-intro { margin: -6px 0 2px; }
  h1 { font-size: 2.35rem; margin-bottom: 10px; }
  .lede { font-size: .95rem; margin-bottom: 20px; }
  .hero .composer .quick { padding-top: 12px; gap: 6px; }
  .together-wrap { margin-top: 14px; }
  .or-divider { margin-bottom: 10px; }
}
/* posters appear only once loaded: no empty boxes in the strip */
.track img { opacity: 0; background: none; box-shadow: none; transition: opacity .8s ease; }
.track img.in { opacity: .22; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
/* Cuz stands centred like everything else in the hero; his line sits above him like a comic speech bubble */
.cuz-intro { flex-direction: column; align-items: center; gap: 10px; margin: -10px 0 4px; }
.cuz-says { position: relative; margin: 0; border-radius: 16px; }
.cuz-says::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 11px; height: 11px; margin-left: -6px; transform: rotate(45deg);
  background: var(--surface-solid); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.cuz-says { background: var(--surface-solid); }
@media (max-width: 560px) { .cuz-intro { gap: 8px; margin: -8px 0 2px; } .cuz-body { width: 80px; } }
/* phones: the starter chips become one row you swipe, edge to edge, with a fade on the right that hints there's more */
@media (max-width: 560px) {
  .hero .composer .quick { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px; padding: 12px 16px 4px;
    scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .hero .composer .quick::-webkit-scrollbar { display: none; }
  .hero .composer .quick .starter { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .hero .composer .quick.at-end { -webkit-mask-image: none; mask-image: none; }
}
/* "Watch on": the streaming apps are the main action; your app in orange, any others outlined */
.watch-on { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 0; }
.watch-on .lbl { color: var(--muted); font-size: .88rem; margin-right: 2px; }
.where.watch-on a.app-btn { padding: 9px 16px; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--text); }
.where.watch-on a.app-btn.primary { color: var(--accent-ink); }
.where.watch-on a.app-btn:hover { text-decoration: none; }
.where.watch-on a:not(.app-btn) { font-size: .88rem; }
.pick.past .watch-on { display: none; }
/* chips under the chat box: wrap onto a second line on wider screens (never cut off); on phones, one swipeable row with a fade hint */
@media (min-width: 561px) { body.chatting .composer .quick { flex-wrap: wrap; overflow: visible; row-gap: 8px; } }
@media (max-width: 560px) {
  body.chatting .composer .quick { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); scroll-snap-type: x proximity; }
  body.chatting .composer .quick.at-end, body.chatting .composer .quick:not(:has(.chip:nth-child(4))) { -webkit-mask-image: none; mask-image: none; }
  body.chatting .composer .quick .chip { scroll-snap-align: start; }
}

/* "Viewers say" heads-up: amber, the colour kept for real warnings */
.viewers .heads { font-style: normal; color: var(--mid); }   /* may wrap: on phones "Several reviewers mention crude humour." ran off the card */
/* a poster that couldn't load: a tidy tile with the title instead of a broken image */
.hero-pick .thumb.noposter { width: 132px; aspect-ratio: 2 / 3; border-radius: 14px; display: grid; place-items: center; padding: 10px; text-align: center;
  background: linear-gradient(160deg, var(--surface-2), #1A1433); border: 1px solid var(--line); }
.thumb .ph { font: 600 .95rem/1.2 Fraunces, Georgia, serif; color: var(--muted); overflow: hidden; }
.pick.past .hero-pick .thumb.noposter { width: 40px; padding: 0; border-radius: 6px; }
.pick.past .thumb .ph { display: none; }
@media (max-width: 560px) { .hero-pick .thumb.noposter { width: 96px; } }

.alt-label { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.alt-reason { color: var(--muted); font-size: .75rem; text-decoration: none; }
