/* reel. — a dark theater, lit by the projector */
:root {
  --ink: #13111c;       /* the room */
  --velvet: #1c1929;    /* seats, surfaces */
  --aisle: #282439;     /* raised surfaces, inputs */
  --line: #353049;
  --paper: #f3ede3;     /* text */
  --dust: #a49db5;      /* secondary text */
  --fade: #716a87;      /* tertiary */
  --light: #fed805;     /* the logo yellow — the only accent */
  --light-ink: #2a1d00;
  --fresh: #86d6ad;
  --rotten: #ec8a79;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Onest", system-ui, -apple-system, sans-serif;

  --gutter: 16px;
  --tabbar: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--paper);
  font: 400 15px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

/* ── Header ───────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gutter) 10px;
  background: rgba(19, 17, 28, .97);
}
.wordmark { display: block; padding: 0; line-height: 0; }
.wordmark img { height: 34px; width: auto; }
@media (min-width: 900px) { .wordmark img { height: 40px; } }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); }
.icon:hover { background: var(--velvet); }
.me {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--aisle); color: var(--paper);
  font: 700 14px/1 var(--body);
}

/* Tabs: bottom bar on phones, inline on wide screens */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: rgba(19, 17, 28, .94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--fade); font-size: 11px; font-weight: 500;
}
.tab svg { width: 22px; height: 22px; }
.tab.is-on { color: var(--paper); }
.tab.is-on svg { color: var(--light); fill: var(--light); stroke: var(--light); }

@media (min-width: 900px) {
  :root { --gutter: 40px; }
  /* Blur only on wide screens: on phones it would trap the fixed tab bar inside the header. */
  .top { background: rgba(19, 17, 28, .86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
  .tabs {
    position: static; display: flex; gap: 4px; height: auto; padding: 0;
    background: none; border: 0; backdrop-filter: none; margin-left: 28px;
  }
  .tab { flex-direction: row; gap: 8px; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
  .tab svg { width: 16px; height: 16px; }
  .tab:hover { color: var(--paper); }
  .tab.is-on { background: var(--velvet); }
}

/* ── Layout ───────────────────────────────────────────── */
main { padding-bottom: calc(var(--tabbar) + var(--safe-b) + 24px); }
@media (min-width: 900px) { main { padding-bottom: 40px; max-width: 1440px; margin: 0 auto; } }
.view { display: none; }
.view.is-on { display: block; }

.page-head { padding: 18px var(--gutter) 6px; }
.page-title { font: 800 44px/.95 var(--display); letter-spacing: -.5px; }
.page-sub { color: var(--dust); margin-top: 6px; font-size: 14px; max-width: 60ch; }

/* ── Hero: tonight's pick ─────────────────────────────── */
.hero {
  position: relative; min-height: 72vh; display: flex; align-items: flex-end;
  margin-top: -1px; overflow: hidden; isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(19,17,28,.35) 0%, rgba(19,17,28,0) 30%, rgba(19,17,28,.55) 62%, var(--ink) 100%),
    linear-gradient(90deg, rgba(19,17,28,.6) 0%, rgba(19,17,28,0) 60%);
}
.hero-copy { padding: 0 var(--gutter) 28px; width: 100%; max-width: 820px; }
.hero-where { color: var(--light); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.hero-title {
  font: 900 clamp(56px, 15vw, 132px)/.86 var(--display);
  text-transform: uppercase; letter-spacing: -1px;
  text-wrap: balance; overflow-wrap: break-word;
  animation: marquee-on 900ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes marquee-on {
  0%   { opacity: 0; filter: brightness(2.2) blur(6px); letter-spacing: 6px; }
  60%  { opacity: 1; filter: brightness(1.4) blur(0); }
  100% { opacity: 1; filter: none; letter-spacing: -1px; }
}
.hero-facts { color: var(--dust); margin-top: 12px; font-size: 14px; }
.hero-scores { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.hero-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
@media (min-width: 900px) { .hero { min-height: 78vh; } .hero-copy { padding-bottom: 56px; } }
@media (prefers-reduced-motion: reduce) { .hero-title { animation: none; } }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  background: rgba(243,237,227,.12); color: var(--paper);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: rgba(243,237,227,.2); }
.btn-light { background: var(--light); color: var(--light-ink); }
.btn-light:hover { background: #ffe445; }
.btn-light svg { fill: currentColor; stroke: none; }
.btn.is-on { background: var(--paper); color: var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.text-btn { color: var(--light); font-weight: 600; font-size: 14px; padding: 6px 2px; }

/* ── Rows ─────────────────────────────────────────────── */
.row { margin-top: 30px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--gutter); margin-bottom: 12px; gap: 12px; }
.row-title { font: 600 19px/1.2 var(--body); letter-spacing: -.2px; }
.row-note { color: var(--fade); font-size: 13px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 4px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.wide { grid-auto-columns: 272px; }
@media (min-width: 900px) { .rail { grid-auto-columns: 168px; gap: 16px; } .rail.wide { grid-auto-columns: 340px; } }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 22px 10px; padding: 0 var(--gutter);
}
@media (min-width: 600px) { .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 16px; } }

/* ── Cards ────────────────────────────────────────────── */
.card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; text-align: left; width: 100%; }
.poster {
  position: relative; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden;
  background: var(--velvet);
}
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .poster img { transform: scale(1.04); }
.poster-empty {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 10px;
  font: 800 20px/1 var(--display); color: var(--fade); text-transform: uppercase;
}
.flag {
  position: absolute; left: 6px; top: 6px;
  background: var(--light); color: var(--light-ink);
  font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 4px;
}
.watched-mark {
  position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(19,17,28,.8); display: grid; place-items: center; color: var(--fresh);
}
.watched-mark svg { width: 14px; height: 14px; stroke-width: 2.6; }
.logos { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 4px; }
.logo { width: 24px; height: 24px; border-radius: 6px; overflow: hidden; background: var(--aisle); box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--paper); }

.card-title { margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: 2px; font-size: 12px; color: var(--dust); display: flex; gap: 8px; flex-wrap: wrap; }
.card-meta .hot { color: var(--light); font-weight: 600; }

/* Wide "opening" card */
.still { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--velvet); }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .still img { transform: scale(1.03); }
.still-day {
  position: absolute; left: 8px; bottom: 8px;
  font: 800 22px/1 var(--display); text-transform: uppercase;
  background: var(--ink); color: var(--light); padding: 5px 8px 4px; border-radius: 4px;
}

/* Scores */
.score { font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; gap: 5px; align-items: baseline; }
.score small { font-size: 11px; color: var(--dust); font-weight: 500; }
.score.fresh { color: var(--fresh); }
.score.rotten { color: var(--rotten); }
.score.imdb { color: var(--light); }
.score.mc { color: var(--paper); }
a.score:hover { text-decoration: underline; }

/* Skeletons */
.ghost { background: linear-gradient(100deg, var(--velvet) 30%, var(--aisle) 50%, var(--velvet) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; border-radius: 8px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .ghost { animation: none; } }
.hero-ghost { min-height: 72vh; }

/* ── Controls ─────────────────────────────────────────── */
.controls { padding: 14px var(--gutter) 18px; display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--velvet); color: var(--dust); font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { color: var(--paper); }
.chip.is-on { background: var(--paper); color: var(--ink); }
.chip .logo { width: 20px; height: 20px; border-radius: 5px; box-shadow: none; }
.service { padding-left: 6px; }
.service.is-on { background: var(--aisle); color: var(--paper); }
.service:not(.is-on) .logo { filter: grayscale(1) brightness(.7); }
.segmented { display: inline-flex; background: var(--velvet); border-radius: 999px; padding: 3px; align-self: flex-start; }
.segmented button { height: 32px; padding: 0 14px; border-radius: 999px; color: var(--dust); font-size: 14px; font-weight: 500; }
.segmented button.is-on { background: var(--aisle); color: var(--paper); }
.control-line { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }

.empty { padding: 48px var(--gutter); color: var(--dust); max-width: 48ch; }
.empty strong { display: block; color: var(--paper); font-size: 17px; margin-bottom: 4px; }
.empty .btn { margin-top: 16px; }

.credits { padding: 48px var(--gutter) 12px; color: var(--fade); font-size: 12px; max-width: 72ch; }
.credits p + p { margin-top: 6px; }

/* ── Sheets ───────────────────────────────────────────── */
.scrim {
  position: fixed; inset: 0; z-index: 60; background: rgba(8,7,13,.72);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .2s ease both;
}
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: relative; width: 100%; max-width: 760px; max-height: 94vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); border-radius: 18px 18px 0 0;
  padding-bottom: calc(var(--safe-b) + 28px);
  animation: rise .32s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise { from { transform: translateY(40px); opacity: .4; } }
@media (min-width: 900px) {
  .scrim { align-items: center; padding: 32px; }
  .sheet { border-radius: 18px; max-height: 92vh; }
}
@media (prefers-reduced-motion: reduce) { .sheet, .scrim { animation: none; } }
.close {
  position: sticky; top: 10px; float: right; margin: 10px 10px -50px 0; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(19,17,28,.75); color: var(--paper); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.screen img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen-play {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--light-ink);
}
.screen-play span {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px;
  background: var(--light); border-radius: 999px; font-weight: 700;
}
.screen-play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.screen-none { position: absolute; left: 16px; bottom: 14px; color: var(--dust); font-size: 13px; }

.d-body { padding: 18px 20px 0; }
.d-title { font: 900 clamp(40px, 10vw, 64px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.5px; text-wrap: balance; }
.d-facts { color: var(--dust); margin-top: 10px; font-size: 14px; }
.d-scores { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.d-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.d-text { margin-top: 18px; color: var(--paper); opacity: .9; max-width: 62ch; }
.d-block { margin-top: 28px; }
.d-block h3 { font: 600 16px/1.2 var(--body); margin-bottom: 12px; }
.d-block .rail { padding: 0; scroll-padding: 0; grid-auto-columns: 104px; }
.where { display: flex; gap: 10px; flex-wrap: wrap; }
.where a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--velvet); border-radius: 10px; padding: 6px 14px 6px 6px; font-weight: 500; font-size: 14px; }
.where a:hover { background: var(--aisle); }
.where .logo { position: static; width: 32px; height: 32px; border-radius: 8px; box-shadow: none; }
.where-note { color: var(--fade); font-size: 12px; margin-top: 8px; }

.person { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; }
.person-img { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; overflow: hidden; background: var(--velvet); }
.person-img img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-size: 12px; font-weight: 500; margin-top: 6px; line-height: 1.25; }
.person-role { font-size: 11px; color: var(--fade); line-height: 1.25; }

.venues { display: flex; flex-direction: column; gap: 2px; }
.venue { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.venue:last-child { border-bottom: 0; }
.venue-info { flex: 1; min-width: 0; }
.venue-name { font-weight: 600; font-size: 15px; }
.venue-meta { color: var(--dust); font-size: 13px; }
.venue-meta .open { color: var(--fresh); }
.venue-actions { display: flex; gap: 6px; }

/* Reviews */
.rv { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rv:last-child { border-bottom: 0; }
.rv-top { display: flex; align-items: center; gap: 10px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--aisle); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.rv-name { font-weight: 600; font-size: 14px; }
.rv-level { color: var(--fade); font-size: 12px; }
.rv-stars { margin-left: auto; color: var(--light); letter-spacing: 1px; font-size: 13px; }
.rv-text { margin-top: 8px; color: var(--paper); opacity: .9; font-size: 14px; }
.rv-votes { display: flex; gap: 6px; margin-top: 10px; }
.vote { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--velvet); color: var(--dust); font-size: 13px; }
.vote.is-on { background: var(--paper); color: var(--ink); }
.compose { display: flex; flex-direction: column; gap: 10px; }
.stars { display: flex; gap: 2px; }
.stars button { font-size: 26px; line-height: 1; color: var(--line); padding: 2px; }
.stars button.is-on { color: var(--light); }
textarea, .field {
  width: 100%; background: var(--velvet); color: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: 400 15px/1.5 var(--body); outline: none;
}
textarea { min-height: 84px; resize: vertical; }
textarea:focus, .field:focus { border-color: var(--light); }
.muted { color: var(--dust); font-size: 14px; }

/* Search */
.search-panel {
  align-self: flex-start; width: 100%; max-width: 760px; max-height: 100vh; overflow-y: auto;
  background: var(--ink); padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gutter) 24px;
}
@media (min-width: 900px) { .search-panel { margin-top: 64px; border-radius: 18px; max-height: 80vh; } }
.search-row { display: flex; align-items: center; gap: 10px; background: var(--velvet); border-radius: 12px; padding: 0 6px 0 14px; color: var(--dust); }
.search-row input { flex: 1; height: 48px; background: none; border: 0; outline: none; color: var(--paper); font: 400 16px var(--body); }
.search-row input::-webkit-search-cancel-button { display: none; }
.search-results { margin-top: 8px; }
.result { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.result .poster { width: 46px; flex: none; border-radius: 5px; }
.result-title { font-weight: 600; }
.result-meta { color: var(--dust); font-size: 13px; }

/* Profile */
.me-body { padding: 28px 20px 0; }
.me-name { font: 900 44px/.95 var(--display); text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.stat { background: var(--velvet); border-radius: 12px; padding: 14px 12px; }
.stat b { display: block; font: 800 30px/1 var(--display); color: var(--light); }
.stat span { color: var(--dust); font-size: 13px; }
.levels { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.level { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--velvet); border-radius: 10px; font-size: 14px; color: var(--fade); }
.level.is-reached { color: var(--paper); }
.level.is-current { box-shadow: inset 0 0 0 1px var(--light); }
.form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.form label { font-size: 13px; color: var(--dust); display: flex; flex-direction: column; gap: 6px; }
.form-error { color: var(--rotten); font-size: 14px; min-height: 20px; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar) + var(--safe-b) + 14px); z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 28px; } }
.hero-title.is-still { animation: none; }

/* Service picker: "Only" sits above each chip */
.services { align-items: flex-end; }
.service-col { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.only {
  height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--fade);
}
.only:hover { color: var(--paper); background: var(--velvet); }
.only.is-on { color: var(--light-ink); background: var(--light); }
.service-all.is-on { background: var(--aisle); color: var(--paper); }

/* Location + local theaters */
.local-wrap { padding: 4px var(--gutter) 8px; max-width: 760px; }
.local-wrap .row-title { margin-bottom: 8px; }
.loc-bar { display: flex; align-items: baseline; gap: 10px; color: var(--dust); font-size: 14px; margin-bottom: 4px; }
.loc-bar b { color: var(--paper); font-weight: 600; }
.loc-form { display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.loc-row { display: flex; gap: 8px; align-items: center; }
.loc-row .field { height: 40px; padding: 0 14px; }
.loc-form .form-error:empty { display: none; }

/* ── Pick for me ──────────────────────────────────────── */
.decide { padding: 0 var(--gutter); margin-top: 26px; }
.decide-panel {
  background: var(--velvet); border-radius: 16px; padding: 20px 18px 18px;
  display: flex; flex-direction: column; gap: 16px;
}
.decide-title { font: 800 34px/0.95 var(--display); letter-spacing: .2px; color: var(--paper); text-transform: uppercase; }
.decide-sub { color: var(--dust); font-size: 14px; margin-top: 6px; }
.dqs { display: flex; flex-direction: column; gap: 10px; }
.dq { display: flex; flex-direction: column; gap: 6px; }
.dq-label { color: var(--fade); font-size: 13px; font-weight: 600; }
.dq-chips { margin: 0 -18px; padding: 0 18px; }
.dq-chips .chip { height: 34px; background: var(--aisle); }
.dq-chips .chip.is-on { background: var(--paper); color: var(--ink); }
.decide-go { align-self: flex-start; }

.picks { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; transition: opacity .2s; }
.picks.is-stale { opacity: .45; }
.pick { background: var(--velvet); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.pick-still { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--aisle); overflow: hidden; }
.pick-still img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pick-still:hover img { transform: scale(1.03); }
.pick-play {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(19,17,28,.72); color: var(--paper); backdrop-filter: blur(6px);
}
.pick-play svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.pick-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pick-where { color: var(--light); font-size: 13px; font-weight: 600; }
.pick-title { font: 800 28px/1 var(--display); margin-top: 4px; }
.pick-title button { text-align: left; color: var(--paper); }
.pick-meta { color: var(--fade); font-size: 13px; margin-top: 6px; }
.pick-why { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pick-why li { font-size: 14px; color: var(--dust); padding-left: 14px; position: relative; }
.pick-why li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--light); }
.pick-why li:first-child { color: var(--paper); }
.pick-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.pick-pass { margin-left: auto; color: var(--dust); font-weight: 500; }
.pick-pass:hover { color: var(--paper); }
.decide-foot { color: var(--fade); font-size: 13px; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.decide-foot span { max-width: 70ch; }
.decide-note, .decide-empty { color: var(--dust); font-size: 14px; margin-top: 14px; }
.decide-empty strong { color: var(--paper); display: block; margin-bottom: 2px; }

@media (min-width: 700px) {
  .dq { flex-direction: row; align-items: flex-start; gap: 12px; }
  .dq-label { width: 52px; flex: none; line-height: 34px; }
  .dq-chips { margin: 0; padding: 0; }
  .decide-panel { padding: 26px 28px 24px; }
}
@media (min-width: 900px) {
  .decide-panel { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; column-gap: 40px; row-gap: 18px; align-items: start; }
  .decide-head { grid-row: span 2; }
  .decide-go { justify-self: start; }
  .dq-chips { flex-wrap: wrap; overflow: visible; }
  .decide-title { font-size: 46px; }
  .picks { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .pick-still img, .picks { transition: none; } }

/* Streaming page: Pick for me starts as a slim bar */
#view-streaming .decide, #view-theaters .decide { margin-top: 0; margin-bottom: 22px; }
.decide-bar .decide-panel { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; }
.decide-bar .decide-title { font-size: 28px; }
.decide-bar .decide-sub { margin-top: 4px; }
@media (min-width: 900px) {
  .decide-bar .decide-panel { display: flex; padding: 20px 28px; }
  .decide-bar .decide-head { grid-row: auto; }
  .decide-bar .decide-title { font-size: 34px; }
}
.decide-bar .decide-go { align-self: center; }

/* Scores under each card: Rotten Tomatoes and IMDb side by side */
.card-scores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 3px; min-height: 0; }
.card-scores:empty { display: none; }
.card-scores .score { font-size: 12px; gap: 3px; }
.card-scores .score small { font-size: 10px; }
.pick-scores { margin-top: 8px; }
.pick-scores .score { font-size: 13px; }

/* ── Hero carousel ────────────────────────────────────── */
.hero-wrap { position: relative; }
.hero-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-track > .hero { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.hero-track > .hero .hero-copy { padding-bottom: 78px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 22px; display: flex; gap: 6px;
  padding: 4px var(--gutter); overflow-x: auto; scrollbar-width: none;
}
.hero-dots::-webkit-scrollbar { display: none; }
.hero-dot {
  flex: none; width: 30px; height: 30px; border-radius: 8px; overflow: hidden; display: grid; place-items: center;
  background: rgba(19,17,28,.6); color: var(--dust); opacity: .55;
  box-shadow: inset 0 0 0 1px rgba(243,237,227,.18);
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.hero-dot img { width: 100%; height: 100%; object-fit: cover; }
.hero-dot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-dot:hover { opacity: .85; }
.hero-dot.is-on { opacity: 1; transform: translateY(-2px); box-shadow: 0 0 0 2px var(--light); color: var(--paper); }
@media (min-width: 900px) {
  .hero-track > .hero .hero-copy { padding-bottom: 56px; }
  .hero-dots { left: auto; right: var(--gutter); bottom: 56px; padding: 4px; gap: 8px; }
  .hero-dot { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .hero-dot { transition: none; } }

/* ── Sign in ──────────────────────────────────────────── */
#view-me { min-height: calc(100vh - 140px); }
.auth { position: relative; min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 28px var(--gutter) 40px; overflow: hidden; isolation: isolate; }
.auth-wall {
  position: absolute; inset: -40px; z-index: -2;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px;
  transform: rotate(-6deg) scale(1.12); opacity: .45;
}
.auth-wall img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.auth::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,17,28,.5) 0%, rgba(19,17,28,.72) 60%, var(--ink) 100%); }
.auth-card { width: 100%; max-width: 420px; background: var(--velvet); border-radius: 18px; padding: 28px 22px 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.auth-title { font: 900 52px/.9 var(--display); text-transform: uppercase; letter-spacing: -.5px; }
.auth-sub { color: var(--dust); margin-top: 10px; font-size: 15px; }
.auth-switch { margin-top: 20px; display: flex; width: 100%; background: var(--ink); }
.auth-switch button { flex: 1; }
.auth-note { color: var(--fade); font-size: 13px; margin-top: 14px; }
.auth .form-error:empty { display: none; }
.auth .form .btn { justify-content: center; margin-top: 4px; }

/* ── Profile ──────────────────────────────────────────── */
.profile { padding: 26px var(--gutter) 40px; max-width: 760px; }
.p-head { display: flex; align-items: center; gap: 18px; }
.p-photo { position: relative; cursor: pointer; flex: none; }
.p-avatar {
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--aisle); color: var(--light); font: 900 52px/1 var(--display);
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--light);
}
.p-avatar img { width: 100%; height: 100%; object-fit: cover; }
.p-photo-edit {
  position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); white-space: nowrap;
  background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.p-photo:hover .p-photo-edit, .p-photo:focus-within .p-photo-edit { background: var(--light); color: var(--light-ink); }
.p-id { min-width: 0; }
.p-name { font: 900 clamp(40px, 11vw, 64px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.5px; overflow-wrap: anywhere; }
.p-handle { color: var(--dust); font-size: 14px; margin-top: 8px; display: flex; flex-wrap: wrap; column-gap: 12px; }
.p-handle span { color: var(--fade); }
.p-level { margin-top: 30px; }
.p-level-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.p-level-top b { font: 800 22px/1 var(--display); color: var(--light); text-transform: uppercase; letter-spacing: .3px; }
.p-level-top span { color: var(--dust); font-size: 13px; }
.p-level-bar { height: 6px; background: var(--aisle); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.p-level-bar i { display: block; height: 100%; background: var(--light); border-radius: 999px; }
.p-stats { grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.p-block { margin-top: 32px; }
.p-wide { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.p-wide .p-row-head { padding: 0 var(--gutter); }
.p-h { font: 600 19px/1.2 var(--body); }
.p-note { color: var(--fade); font-size: 13px; margin-top: 6px; }
.p-split { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.taste { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.taste-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; font-size: 14px; }
.taste-bar { height: 10px; background: var(--velvet); border-radius: 999px; overflow: hidden; }
.taste-bar i { display: block; height: 100%; background: var(--light); border-radius: 999px; }
.p-services { display: flex; flex-wrap: wrap; gap: 8px; }
.p-service { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--velvet); font-size: 14px; }
.p-service .logo { width: 24px; height: 24px; border-radius: 6px; }
.p-form { max-width: 420px; }
.p-form .form-error:empty { display: none; }
.p-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.me.has-photo { padding: 0; overflow: hidden; }
.me img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar.has-photo { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 420px) { .p-stats { grid-template-columns: repeat(2, 1fr); } }

/* Close button on an open Pick for me panel */
.decide-panel { position: relative; }
.decide-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--dust); background: var(--aisle);
}
.decide-close:hover { color: var(--paper); }
.decide-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.decide:not(.decide-bar) .decide-title { padding-right: 44px; }
#view-tonight .decide-bar { margin-top: 26px; }

/* ── Welcome (first open, signed out) ─────────────────── */
body.is-gated { overflow: hidden; }
body.is-gated .top, body.is-gated main, body.is-gated .tabs { visibility: hidden; }
.welcome { position: fixed; inset: 0; z-index: 90; background: var(--ink); overflow: hidden; }
.w-wall {
  position: absolute; inset: -6% -10%; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  transform: rotate(-7deg); opacity: .5; pointer-events: none;
}
.w-row { overflow: hidden; }
.w-strip { display: flex; gap: 14px; width: max-content; animation: w-drift 90s linear infinite; }
.w-row.is-rev .w-strip { animation-direction: reverse; animation-duration: 110s; }
.w-strip img { width: 150px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; flex: none; }
@keyframes w-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.welcome::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(19,17,28,.35) 0%, rgba(19,17,28,.7) 45%, var(--ink) 88%);
}
.w-scroll { position: absolute; inset: 0; z-index: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.w-inner {
  min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 28px);
}
.w-intro { width: 100%; max-width: 560px; }
.w-logo { width: 200px; height: auto; display: block; margin-bottom: 26px; }
.w-hero { font: 900 clamp(58px, 17vw, 112px)/.86 var(--display); text-transform: uppercase; letter-spacing: -1px; text-wrap: balance; }
.w-sub { color: var(--dust); font-size: 16px; margin-top: 14px; max-width: 46ch; }
.w-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.w-actions .btn { justify-content: center; height: 52px; font-size: 16px; }
.w-card { width: 100%; max-width: 440px; background: var(--velvet); border-radius: 20px; padding: 22px 20px 20px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.w-card-wide { max-width: 620px; }
.w-back { margin: -6px 0 6px -2px; }
.w-step { color: var(--light); font-size: 13px; font-weight: 600; }
.w-title { font: 900 40px/.92 var(--display); text-transform: uppercase; margin-top: 6px; }
.w-card .w-sub { font-size: 14px; margin-top: 10px; }
.w-card .form .btn { justify-content: center; }
.w-card .form-error:empty { display: none; }
.w-switch { color: var(--dust); font-size: 14px; margin-top: 14px; }
.w-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.w-service {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px 0 10px; border-radius: 12px;
  background: var(--ink); color: var(--dust); font-weight: 500; font-size: 14px; text-align: left;
  box-shadow: inset 0 0 0 1px var(--line);
}
.w-service > span:not(.logo) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.w-service .logo { flex: none; }
.w-service .logo { width: 28px; height: 28px; filter: grayscale(1) brightness(.7); }
.w-service i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); flex: none; }
.w-service.is-on { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--light); }
.w-service.is-on .logo { filter: none; }
.w-service.is-on i { background: var(--light); box-shadow: none; position: relative; }
.w-service.is-on i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px; border: solid var(--light-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.w-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.w-note { color: var(--fade); font-size: 13px; }
.w-actions-row { display: flex; align-items: center; gap: 14px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.w-taste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.w-taste button { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 2 / 3; background: var(--aisle); }
.w-taste img { width: 100%; height: 100%; object-fit: cover; transition: filter .15s; }
.w-taste button:not(.is-on) img { filter: brightness(.75); }
.w-taste button.is-on { box-shadow: 0 0 0 3px var(--light); }
.w-taste i { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(19,17,28,.6); box-shadow: inset 0 0 0 2px rgba(243,237,227,.7); }
.w-taste button.is-on i { background: var(--light); box-shadow: none; }
.w-taste button.is-on i::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid var(--light-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (min-width: 600px) { .w-taste { grid-template-columns: repeat(6, 1fr); } .w-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .w-inner { justify-content: center; }
  .w-intro { max-width: 640px; text-align: left; }
  .w-actions { flex-direction: row; }
  .w-actions .btn { padding: 0 28px; }
  .w-strip img { width: 190px; }
}
@media (prefers-reduced-motion: reduce) { .w-strip { animation: none; } }

/* ── Quality of life ──────────────────────────────────── */
/* 16px inputs stop iPhone Safari from zooming in when you tap a field */
textarea, .field { font-size: 16px; }
/* Bigger tap areas without changing the layout */
a.score { padding: 8px 0; margin: -8px 0; }
.only { position: relative; }
.only::after { content: ""; position: absolute; inset: -8px -3px -4px; }
/* Show/hide password */
.pw-wrap { position: relative; display: block; }
.pw-wrap .field { padding-right: 64px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 10px; border-radius: 8px; color: var(--dust); font-size: 13px; font-weight: 600; }
.pw-toggle:hover { color: var(--paper); background: var(--aisle); }

/* Profile links, delete confirmation */
.p-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; }
.p-danger { color: var(--rotten); }
.p-confirm { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--velvet); box-shadow: inset 0 0 0 1px var(--rotten); font-size: 14px; color: var(--dust); }
.p-confirm b { color: var(--paper); }
.p-confirm .p-actions { margin-top: 12px; }
.p-danger-btn { background: var(--rotten); color: var(--ink); }

/* Data check */
.audit { padding: 4px var(--gutter) 40px; max-width: 820px; }
.audit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.audit-sum { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 15px; }
.a-pass { color: var(--fresh); } .a-warn { color: var(--light); } .a-fail { color: var(--rotten); }
.audit-sec { margin-top: 26px; }
.audit-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.audit-row p { color: var(--paper); }
.audit-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--fresh); }
.audit-row.is-warn .audit-dot { background: var(--light); }
.audit-row.is-fail .audit-dot { background: var(--rotten); }
.audit-row details { margin-top: 6px; color: var(--dust); }
.audit-row summary { cursor: pointer; color: var(--dust); font-size: 13px; }
.audit-row ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.w-legal { margin-top: 18px; font-size: 13px; } .w-legal a { color: var(--dust); } .p-links a.text-btn { text-decoration: none; }

/* ── Friends ──────────────────────────────────────────── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.friends { padding: 4px var(--gutter) 40px; max-width: 760px; }
.f-add-row { display: flex; gap: 8px; align-items: center; }
.f-add-row .field { height: 46px; padding: 0 14px; }
.f-add-row .btn { height: 46px; flex: none; }
.f-add .form-error { margin-top: 8px; }
.f-add .form-error:empty { display: none; }
.f-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.f-who { display: flex; align-items: center; gap: 12px; text-align: left; min-width: 0; flex: 1; }
.f-who span { display: flex; flex-direction: column; min-width: 0; }
.f-who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-who small { color: var(--dust); font-size: 13px; }
.f-av { width: 44px; height: 44px; font-size: 17px; overflow: hidden; }
.f-av img, .p-avatar img { width: 100%; height: 100%; object-fit: cover; }
.f-acts { display: flex; gap: 8px; flex: none; }
.f-strip { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.f-strip::-webkit-scrollbar { display: none; }
.f-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; flex: none; font-size: 12px; color: var(--dust); }
.f-chip span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-chip .f-av { width: 56px; height: 56px; }
.p-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--light); color: var(--light-ink); font-size: 12px; font-weight: 700; vertical-align: middle; }
.p-email { color: var(--fade); font-size: 13px; }
.f-page { padding-bottom: 0; }
.f-reviews { padding: 0 var(--gutter); max-width: 760px; }
#view-friends .decide { margin-top: 22px; }
.rv-scope { color: var(--fade); font-size: 13px; margin: -4px 0 10px; }
.stream-modes { padding-bottom: 0; }
.f-quote { color: var(--dust); font-size: 12px; margin-top: 3px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-review .rv-stars { color: var(--light); letter-spacing: 1px; }
.rv-friend { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--aisle); color: var(--light); font-size: 11px; font-weight: 700; vertical-align: 1px; }
.rv-actions { display: flex; gap: 14px; margin-top: 6px; }
.rv-actions .text-btn { color: var(--fade); font-size: 12px; font-weight: 500; }
.rv-actions .text-btn:hover { color: var(--dust); }
.rv-hidden { color: var(--rotten); font-size: 12px; margin-top: 6px; }

/* ── How REEL works ───────────────────────────────────── */
.w-inner.w-at-intro { display: block; padding-left: 0; padding-right: 0; padding-bottom: 0; }
.w-first { position: relative; z-index: 1; min-height: calc(100svh - 24px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 0 var(--gutter) 28px; }
.w-legal { display: flex; gap: 18px; align-items: center; }
.w-legal .text-btn { color: var(--light); font-size: 14px; }
.w-how { color: var(--light); background: transparent; border: 2px solid var(--light); height: 40px; font-size: 15px; font-weight: 700; }
.w-how:hover { background: rgba(254,216,5,.12); }
.w-how svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; width: 16px; height: 16px; }
.guide { position: relative; background: var(--ink); padding: 44px var(--gutter) 56px; max-width: 760px; margin: 0 auto; }
.w-at-intro .guide { max-width: none; box-shadow: 0 -40px 60px var(--ink); }
.w-at-intro .guide > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.g-head { font: 900 clamp(40px, 10vw, 64px)/.9 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.g-sec { display: grid; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.g-sec h3 { font: 800 28px/1 var(--display); color: var(--paper); }
.g-sec p { color: var(--dust); font-size: 15px; margin-top: 8px; max-width: 52ch; }
.g-art { background: var(--velvet); border-radius: 14px; padding: 16px; overflow: hidden; }
.g-row { display: flex; gap: 10px; }
.g-poster { position: relative; width: 74px; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--aisle); flex: none; }
.g-poster img { width: 100%; height: 100%; object-fit: cover; }
.g-flag { position: absolute; left: 4px; right: 4px; bottom: 4px; background: var(--light); color: var(--light-ink); font-size: 10px; font-weight: 700; border-radius: 4px; padding: 2px 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-row .g-poster:has(.g-flag) { width: 96px; }
.g-scores { display: flex; gap: 12px; align-items: center; margin-top: 12px; font-size: 13px; }
.g-play { margin-left: auto; color: var(--paper); font-weight: 600; }
.g-svcs { display: flex; flex-wrap: wrap; gap: 8px; }
.g-svc { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border-radius: 999px; background: var(--aisle); font-size: 13px; }
.g-svc .logo { width: 24px; height: 24px; border-radius: 6px; }
.g-pick { display: flex; gap: 14px; align-items: center; }
.g-pick b { font: 800 22px/1 var(--display); }
.g-pick ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; color: var(--dust); display: grid; gap: 4px; }
.g-pick li { padding-left: 12px; position: relative; }
.g-pick li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--light); }
.g-stars { color: var(--light); font-size: 24px; letter-spacing: 3px; }
.g-stars span { color: var(--line); }
.g-levels { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.g-levels span { padding: 6px 10px; border-radius: 999px; background: var(--aisle); color: var(--fade); font-size: 12px; font-weight: 600; }
.g-levels span.is-on { background: var(--light); color: var(--light-ink); }
.g-friends { display: flex; align-items: center; gap: 8px; }
.g-friends .f-av { width: 40px; height: 40px; }
.g-both { margin-left: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; }
.g-venue { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g-venue b { display: block; } .g-venue small { color: var(--dust); }
.g-cta { padding-top: 36px; text-align: left; }
.g-cta h3 { font: 900 40px/.9 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.guide-page { padding-top: 10px; }
@media (min-width: 760px) {
  .g-sec { grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
  .g-sec:nth-of-type(even) .g-copy { order: 2; }
  .g-cta .w-actions { flex-direction: row; }
}
.loc-gps { align-self: flex-start; }
.f-level { margin: 14px 0 0; font-weight: 700; color: var(--light); display: flex; gap: 10px; align-items: baseline; }
.f-level span { color: var(--dust); font-weight: 400; font-size: 14px; }
.p-service.is-shared { box-shadow: inset 0 0 0 1.5px var(--light); }
.f-hidden { background: var(--velvet); border-radius: 12px; padding: 12px 14px; color: var(--paper); }
.p-stubs { font: 400 14px/1 var(--body, inherit); color: var(--dust); margin-left: 6px; text-transform: none; letter-spacing: 0; }
.rv-votes { display: flex; gap: 8px; margin-top: 10px; }
.rv-vote { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--velvet); color: var(--dust); font-size: 13px; font-weight: 600; border: 0; cursor: pointer; }
.rv-vote.is-down svg { transform: scaleY(-1); }
.rv-vote:hover:not(:disabled) { color: var(--paper); }
.rv-vote.is-on { background: var(--light); color: var(--ink); }
.rv-vote.is-down.is-on { background: var(--paper); }
.rv-vote:disabled { cursor: default; opacity: .7; }
.rv-vote:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }
.loc-fold { margin-left: auto; }
.act-btn { position: relative; }
.act-btn[hidden] { display: none; }
.act-dot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--light); box-shadow: 0 0 0 2px var(--ink); }
.act-dot[hidden] { display: none; }
.act { padding: 0 var(--gutter) 40px; max-width: 680px; }
.act-list { display: flex; flex-direction: column; gap: 2px; }
.act-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 12px 10px; border-radius: 12px; background: none; border: 0; color: var(--dust); font: inherit; font-size: 15px; cursor: pointer; }
.act-row:hover { background: var(--velvet); }
.act-row b { color: var(--paper); font-weight: 600; }
.act-row.is-new { background: var(--velvet); }
.act-row.is-new .act-text::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--light); margin-right: 8px; vertical-align: middle; }
.act-text small { display: block; color: var(--fade); font-size: 12px; margin-top: 3px; }
.act-icon { color: var(--light); }
.act-row .rv-stars { margin-left: 4px; }

/* ── The Reel ─────────────────────────────────────────── */
.tabs { grid-template-columns: repeat(5, 1fr); }
.tab { position: relative; }
.tab-count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--light); color: var(--light-ink); font: 700 11px/18px var(--body); font-style: normal; text-align: center; }
@media (min-width: 900px) { .tab-count { position: static; margin-left: 2px; } }
body.reel-open { overflow: hidden; }
.reel { position: fixed; inset: 0; z-index: 80; background: #000; color: var(--paper); }
.reel[hidden] { display: none; }
.rl-feed { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.rl-feed::-webkit-scrollbar { display: none; }
.rl-slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.rl-bg { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(34px) brightness(.38) saturate(1.2); transform: scale(1.1); }
.rl-screen { position: relative; width: 100%; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; }
.rl-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: .55; }
.rl-frame { position: absolute; inset: 0; }
.rl-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.rl-slide.is-playing .rl-still { opacity: 0; transition: opacity .4s; }
.rl-tap { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.rl-none { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dust); font-size: 14px; }
.rl-burst { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; font: 800 44px/1 var(--display); text-transform: uppercase; color: var(--light); text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.rl-burst.go { animation: rl-burst .9s ease-out; }
@keyframes rl-burst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%) scale(1); } }
.rl-info { position: absolute; left: 0; right: 76px; bottom: calc(24px + var(--safe-b)); padding: 0 var(--gutter); z-index: 4; }
.rl-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.rl-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 600; }
.rl-tag .logo, .rl-tag img { width: 16px; height: 16px; border-radius: 4px; }
.rl-new { background: var(--light); color: var(--light-ink); }
.rl-title { font: 800 clamp(34px, 9vw, 64px)/.92 var(--display); text-transform: uppercase; letter-spacing: .005em; max-width: 14ch; text-wrap: balance; }
.rl-meta { margin-top: 6px; color: var(--dust); font-size: 14px; white-space: pre; }
.rl-scores { margin-top: 8px; min-height: 18px; }
.rl-more { margin-top: 10px; color: var(--light); font-weight: 600; font-size: 14px; }
.rl-actions { position: absolute; right: 10px; bottom: calc(24px + var(--safe-b)); z-index: 4; display: flex; flex-direction: column; gap: 14px; }
.rl-act { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 58px; color: var(--paper); font-size: 11px; font-weight: 600; }
.rl-act svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(255,255,255,.14); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rl-act.is-on svg { background: var(--light); color: var(--light-ink); fill: var(--light-ink); }
.rl-act:focus-visible svg { outline: 2px solid var(--light); outline-offset: 2px; }
.rl-top { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 10px; background: linear-gradient(rgba(0,0,0,.7), transparent); }
.rl-x { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.rl-x svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.rl-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.rl-chips::-webkit-scrollbar { display: none; }
.rl-chip { flex: none; height: 32px; padding: 0 12px; border-radius: 16px; background: rgba(255,255,255,.12); font-size: 13px; font-weight: 600; color: var(--paper); }
.rl-chip.is-on { background: var(--paper); color: var(--ink); }
.rl-pill { flex: none; height: 32px; padding: 0 12px; border-radius: 16px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 700; color: var(--paper); }
.rl-pill-light { background: var(--light); color: var(--light-ink); }
.rl-mtitle { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.rl-mtitle b { font: 800 20px/1 var(--display); text-transform: uppercase; }
.rl-mtitle span { font-size: 12px; color: var(--dust); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-sound { position: absolute; z-index: 6; right: var(--gutter); top: calc(60px + env(safe-area-inset-top, 0px)); height: 30px; padding: 0 12px; border-radius: 15px; background: rgba(0,0,0,.55); color: var(--paper); font-size: 12px; font-weight: 600; }
.rl-sound.is-on { background: rgba(255,255,255,.14); }
.rl-vote { position: absolute; right: 0; left: 0; bottom: calc(24px + var(--safe-b)); z-index: 5; display: flex; justify-content: flex-end; gap: 14px; padding: 0 var(--gutter); pointer-events: none; }
.rl-vote button { pointer-events: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.rl-vote svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rl-no { background: rgba(255,255,255,.16); color: var(--paper); }
.rl-yes { background: var(--light); color: var(--light-ink); }
.rl-yes svg { stroke-width: 3; }
.reel .rl-slide:has(.rl-vote) .rl-info { right: 170px; }
.rl-note { align-items: center; text-align: center; padding: 0 28px; background: var(--ink); }
.rl-note p { color: var(--dust); max-width: 32ch; margin: 8px auto 0; }
.rl-big { font: 800 clamp(30px, 8vw, 48px)/.95 var(--display); text-transform: uppercase; color: var(--paper) !important; }
.rl-overlay { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(10,9,16,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rl-overlay[hidden] { display: none; }
.rl-card { width: min(380px, 100%); padding: 26px 22px; border-radius: 20px; background: var(--velvet); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rl-card p { color: var(--dust); }
.rl-code { font-size: 13px; }
.rl-code b { color: var(--paper); letter-spacing: .12em; }
.rl-stars { display: flex; gap: 4px; }
.rl-stars button { font-size: 34px; color: var(--fade); width: 44px; height: 44px; }
.rl-stars button:hover, .rl-stars button:focus-visible { color: var(--light); }
.rl-matched { background: linear-gradient(180deg, #2a2440, var(--velvet)); }
.rl-its { font: 800 clamp(40px, 12vw, 60px)/.9 var(--display) !important; text-transform: uppercase; color: var(--light) !important; animation: rl-pop .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes rl-pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.rl-mposter { width: 150px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.rl-three { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.rl-three button { width: 96px; display: flex; flex-direction: column; gap: 6px; color: var(--paper); font-size: 12px; font-weight: 600; text-align: left; }
.rl-three img { width: 96px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; }
@media (min-width: 900px) {
  /* Wide screens: trailer on top, title and scores underneath, actions to the right. */
  .rl-slide { justify-content: flex-start; padding-top: 78px; }
  .rl-screen { --w: min(1000px, 62vw, calc((100vh - 290px) * 16 / 9)); width: var(--w); max-width: none; border-radius: 14px; overflow: hidden; }
  .rl-info { position: relative; left: auto; right: auto; bottom: auto; width: min(1000px, 62vw, calc((100vh - 290px) * 16 / 9)); margin: 18px auto 0; padding: 0; }
  .rl-title { font-size: clamp(34px, 4.4vw, 60px); max-width: none; }
  .rl-actions { top: 78px; bottom: auto; right: max(16px, calc(50% - min(500px, 31vw, (100vh - 290px) * 8 / 9) - 90px)); }
  .rl-vote { left: auto; right: max(var(--gutter), calc(50% - min(500px, 31vw, (100vh - 290px) * 8 / 9))); bottom: auto; top: calc(78px + min(1000px, 62vw, (100vh - 290px) * 16 / 9) * 9 / 16 + 22px); padding: 0; }
  .reel .rl-slide:has(.rl-vote) .rl-info { right: auto; }
}
@media (prefers-reduced-motion: reduce) { .rl-burst.go, .rl-its { animation: none; } .rl-feed { scroll-behavior: auto; } }

/* ── Match Night entry points ─────────────────────────── */
/* Same look as the "Can't decide?" bar above it. */
.mn-card { margin: 14px var(--gutter) 0; padding: 16px 18px; border-radius: 16px; background: var(--velvet); display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.mn-title { font: 800 28px/.95 var(--display); letter-spacing: .2px; text-transform: uppercase; color: var(--paper); }
.mn-sub { margin-top: 4px; color: var(--dust); font-size: 14px; max-width: 60ch; }
.mn-btns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (min-width: 900px) { .mn-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px 28px; } .mn-title { font-size: 34px; } }
.mn-friend { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px var(--gutter) 0; }
.mn-friend span { color: var(--dust); font-size: 14px; }
.mn-modal { position: fixed; z-index: 95; }
.rl-card { position: relative; }
.mn-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--paper); }
.mn-x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.mn-steps { text-align: left; color: var(--dust); padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.mn-steps li::marker { color: var(--light); font-weight: 700; }
.mn-leave { color: var(--dust); }
/* Swipe left / right */
.rl-slide[data-key] { touch-action: pan-y; }
.rl-slide .rl-screen, .rl-slide .rl-info { transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s; }
.rl-slide.dragging .rl-screen, .rl-slide.dragging .rl-info { transition: none; transform: translateX(var(--dx, 0)) rotate(var(--rot, 0)); }
.rl-slide.fly-right .rl-screen, .rl-slide.fly-right .rl-info { transform: translateX(110vw) rotate(14deg); opacity: 0; }
.rl-slide.fly-left .rl-screen, .rl-slide.fly-left .rl-info { transform: translateX(-110vw) rotate(-14deg); opacity: 0; }
.rl-slide::after { content: ""; position: absolute; top: 28%; z-index: 7; padding: 6px 14px; border: 4px solid; border-radius: 10px; font: 800 38px/1 var(--display); text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .15s; }
.rl-slide[data-lean="right"]::after { content: "Save"; left: 24px; color: var(--light); transform: rotate(-12deg); opacity: 1; }
.rl-slide[data-lean="left"]::after { content: "Nope"; right: 24px; color: var(--rotten); transform: rotate(12deg); opacity: 1; }
.rl-slide:has(.rl-vote)[data-lean="right"]::after { content: "Yes"; }
.rl-hint { position: absolute; z-index: 9; left: 0; right: 0; top: 46%; display: flex; justify-content: space-between; padding: 0 18px; pointer-events: none; animation: rl-hint 3.2s ease forwards; }
.rl-hint span { padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,.65); font-size: 13px; font-weight: 700; }
@keyframes rl-hint { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.mn-kind { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--aisle); }
.mn-kind button { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--dust); }
.mn-kind button.is-on { background: var(--paper); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .rl-slide .rl-screen, .rl-slide .rl-info { transition: none; } }
.mn-whos { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mn-who { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 4px; border-radius: 18px; background: var(--aisle); color: var(--dust); font-size: 14px; font-weight: 600; }
.mn-who:last-child { padding-left: 12px; }
.mn-who.is-on { background: var(--paper); color: var(--ink); }
.mn-av { width: 28px !important; height: 28px !important; font-size: 13px !important; }
.mn-invite { box-shadow: inset 0 0 0 1.5px rgba(254,216,5,.5); } /* a friend's invite: same card, yellow edge */
.mn-from { display: flex; gap: 12px; align-items: flex-start; }
.mn-from .mn-av { width: 44px !important; height: 44px !important; flex: none; }
/* Match Night in the top bar */
.mn-top { position: relative; color: var(--light); }
.mn-top span { display: none; }
.mn-top svg { width: 27px; height: 27px; stroke-width: 1.7; }
.mn-top .act-dot { top: 6px; right: 6px; }
.mn-bigav { width: 64px !important; height: 64px !important; font-size: 26px !important; }
@media (min-width: 900px) {
  .mn-top { width: auto; padding: 0 14px 0 10px; gap: 6px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(254,216,5,.12); }
  .mn-top span { display: inline; font-size: 14px; font-weight: 700; }
  .mn-top svg { width: 20px; height: 20px; }
}
/* Guide: The Reel and Match Night get the big treatment */
.g-feature .g-copy h3 { font: 900 clamp(30px, 7vw, 46px)/.92 var(--display); text-transform: uppercase; color: var(--light); }
.g-feature .g-copy p { font-size: 17px; color: var(--paper); }
.g-feature .g-art { background: radial-gradient(120% 90% at 50% 20%, #3a3110, var(--velvet) 70%); padding: 22px 16px 18px; }
.g-phones { position: relative; display: flex; justify-content: center; gap: 14px; }
.g-phone { width: 132px; aspect-ratio: 9 / 18; border-radius: 22px; padding: 6px; background: #0c0b12; box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 0 1.5px #2d2940; }
.g-tilt { transform: rotate(8deg) translateX(10px); }
.g-two .g-phone:first-child { transform: rotate(-6deg); }
.g-two .g-phone:last-child { transform: rotate(6deg); }
.g-scr { position: relative; height: 100%; border-radius: 17px; overflow: hidden; background: var(--aisle); }
.g-scr img { width: 100%; height: 100%; object-fit: cover; }
.g-scr-t { position: absolute; left: 8px; right: 8px; bottom: 8px; font: 800 14px/1 var(--display); text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.g-stamp { position: absolute; top: 18px; left: 10px; transform: rotate(-14deg); padding: 3px 8px; border: 3px solid var(--light); border-radius: 7px; color: var(--light); font: 800 20px/1 var(--display); text-transform: uppercase; background: rgba(0,0,0,.35); }
.g-swipe { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--dust); }
.g-swipe span:last-child { color: var(--light); }
.g-match { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-4deg); white-space: nowrap; padding: 8px 16px; border-radius: 10px; background: var(--light); color: var(--light-ink); font: 900 30px/1 var(--display); text-transform: uppercase; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.mn-top .mn-front { fill: var(--ink); }
@media (min-width: 900px) { .mn-top .mn-front { fill: #2b2716; } }
.mn-whowrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mn-drop { padding-right: 8px; }
.mn-drop:not(.is-on) { padding-left: 14px; }
.mn-caret { width: 16px !important; height: 16px !important; stroke: currentColor; fill: none; stroke-width: 2.2; }
.mn-drop[aria-expanded="true"] .mn-caret { transform: rotate(180deg); }
.mn-list { width: 100%; max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 14px; background: var(--aisle); text-align: left; }
.mn-list[hidden] { display: none; }
.mn-opt { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: var(--paper); }
.mn-opt:hover, .mn-opt:focus-visible, .mn-opt.is-on { background: rgba(255,255,255,.08); }
.mn-opt span { display: flex; flex-direction: column; line-height: 1.2; }
.mn-opt b { font-weight: 600; font-size: 14px; }
.mn-opt small { color: var(--dust); font-size: 12px; }
.act-poster { width: 40px; height: 60px; border-radius: 6px; object-fit: cover; flex: none; }

/* ── Call It ──────────────────────────────────────────── */
.ci-rail { grid-auto-columns: 300px; }
@media (min-width: 900px) { .ci-rail { grid-auto-columns: 340px; } }
.ci-card { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: var(--velvet); }
.ci-poster { flex: none; width: 84px; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--aisle); }
.ci-poster img { width: 100%; height: 100%; object-fit: cover; }
.ci-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ci-when { font-size: 12px; color: var(--light); font-weight: 600; }
.ci-title { font-size: 16px; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-label { font-size: 12px; color: var(--dust); }
.ci-slide { display: flex; align-items: center; gap: 10px; width: 100%; }
.ci-slide input { flex: 1; accent-color: var(--light); min-width: 0; }
.ci-v { font: 800 24px/1 var(--display); min-width: 48px; text-align: right; }
.ci-mine { font-size: 14px; color: var(--dust); }
.ci-mine b { font: 800 22px/1 var(--display); color: var(--paper); margin: 0 6px 0 2px; }
.ci-theirs { font-size: 13px; color: var(--dust); white-space: pre; }
.ci-theirs b { color: var(--paper); }
.ci-board { display: flex; gap: 14px; flex-wrap: wrap; padding: 0 var(--gutter) 10px; font-size: 14px; color: var(--dust); }
.ci-board .me { color: var(--light); font-weight: 700; }
.ci-results { display: flex; gap: 10px; overflow-x: auto; padding: 12px var(--gutter) 0; scrollbar-width: none; }
.ci-res { flex: none; display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border-radius: 12px; background: var(--velvet); text-align: left; color: var(--paper); font-size: 14px; }
.ci-res span { color: var(--dust); font-size: 12px; }
.ci-res em { font-style: normal; font-weight: 700; color: var(--dust); }
.ci-res em.good { color: var(--fresh); }

/* ── Year in REEL ─────────────────────────────────────── */
.rc { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 48px; }
.rc-hero { position: relative; padding: 40px 0 30px; overflow: hidden; }
.rc-wall { position: absolute; inset: 0 -40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; opacity: .22; transform: rotate(-6deg) scale(1.2); pointer-events: none; }
.rc-wall img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.rc-kicker { position: relative; font: 800 34px/1 var(--display); text-transform: uppercase; color: var(--paper); }
.rc-year { position: relative; font: 900 clamp(120px, 34vw, 220px)/.82 var(--display); color: var(--light); letter-spacing: -.01em; }
.rc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
@media (min-width: 700px) { .rc-grid { grid-template-columns: repeat(3, 1fr); } }
.rc-stat { padding: 18px 16px; border-radius: 14px; background: var(--velvet); display: flex; flex-direction: column; gap: 6px; }
.rc-stat b { font: 900 54px/.9 var(--display); color: var(--light); }
.rc-stat b small { font-size: 32px; color: var(--fade); margin: 0 4px; }
.rc-stat span { color: var(--dust); font-size: 14px; }
.rc-line { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rc-line span { color: var(--dust); font-size: 14px; }
.rc-line b { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rc-line b .logo, .rc-line b img { width: 24px; height: 24px; border-radius: 6px; }
.rc-line .text-btn { font-size: 20px; }
.rc-level { font: 900 34px/1 var(--display) !important; text-transform: uppercase; color: var(--light); }
.rc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.rc-banner { box-shadow: inset 0 0 0 1.5px rgba(254,216,5,.35); }
.mn-q { font-size: 13px; color: var(--dust); margin-bottom: -4px; }
.mn-genres { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.mn-genre { height: 30px; padding: 0 12px; border-radius: 15px; background: var(--aisle); color: var(--dust); font-size: 13px; font-weight: 600; }
.mn-genre.is-on { background: var(--light); color: var(--light-ink); }
.mn-genrewrap { display: flex; flex-direction: column; gap: 8px; align-items: center; width: 100%; }
.mn-modal .rl-card { max-height: calc(100dvh - 32px); overflow-y: auto; }

/* ── Send to friends ──────────────────────────────────── */
.send-card { gap: 14px; }
.send-head { display: flex; gap: 12px; align-items: center; align-self: stretch; text-align: left; padding-right: 36px; }
.send-head img { width: 46px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; flex: none; }
.send-k { font: 800 24px/1 var(--display); text-transform: uppercase; color: var(--paper) !important; }
.send-t { font-size: 14px; margin-top: 4px; }
.send-list { max-height: 260px; }
.send-list .mn-opt { width: 100%; }
.send-list .mn-opt > span:not(.avatar) { flex: 1; text-align: left; }
.send-list .mn-opt .avatar { flex: none; }
.send-check { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--fade); flex: none; }
.mn-opt.is-on .send-check { background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23181408' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: none; }
.send-note { width: 100%; }
.act-note { display: block; color: var(--paper); font-style: italic; margin-top: 3px; }
.sg-from { display: flex; align-items: center; gap: 6px; }
.sg-av { width: 20px !important; height: 20px !important; font-size: 10px !important; }
.sg-card.is-new .card-title::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--light); margin-right: 6px; vertical-align: middle; }
.result-person .rp-photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--aisle); font-weight: 700; color: var(--dust); }
.result-person .rp-photo img { width: 100%; height: 100%; object-fit: cover; }
.result-where { margin-top: 4px; min-height: 18px; }
.wh { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fade); }
.wh-on { color: var(--fresh); font-weight: 600; }
.wh .logo, .wh img { width: 16px; height: 16px; border-radius: 4px; }
/* Shared-link preview on the welcome page */
.w-shared { max-width: 560px; margin: 24px var(--gutter) 8px; padding: 20px; border-radius: 20px; background: rgba(28,25,40,.92); box-shadow: 0 20px 60px rgba(0,0,0,.4), inset 0 0 0 1.5px rgba(254,216,5,.35); display: flex; flex-direction: column; gap: 14px; position: relative; }
.ws-k { font-size: 13px; font-weight: 700; color: var(--light); }
.ws-row { display: flex; gap: 16px; align-items: flex-start; }
.ws-poster { flex: none; width: 112px; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: var(--aisle); }
.ws-poster img { width: 100%; height: 100%; object-fit: cover; }
.ws-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ws-title { font: 900 clamp(30px, 8vw, 44px)/.92 var(--display); text-transform: uppercase; }
.ws-meta { color: var(--dust); font-size: 14px; white-space: pre; }
.ws-where { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--dust); }
.ws-where span { display: inline-flex; align-items: center; gap: 5px; color: var(--paper); font-weight: 600; }
.ws-where .logo, .ws-where img { width: 18px; height: 18px; border-radius: 4px; }
.ws-over { color: var(--dust); font-size: 15px; line-height: 1.5; }
.w-shared .w-actions { margin-top: 2px; }
@media (min-width: 600px) { .w-shared { margin: 32px auto 8px; } }
.ws-scores { display: flex; gap: 12px; }
/* Welcome: swipe a few */
.w-card-swipe { max-width: 440px; }
.w-deck { position: relative; width: min(280px, 72vw); aspect-ratio: 2 / 3; margin: 8px auto 0; }
.w-swcard { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: var(--aisle); box-shadow: 0 18px 40px rgba(0,0,0,.45); touch-action: pan-y; cursor: grab; user-select: none; transition: transform .25s ease, opacity .25s; }
.w-swcard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.w-under { transform: scale(.94) translateY(10px); opacity: .6; }
.w-swinfo { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; flex-direction: column; gap: 2px; }
.w-swinfo b { font: 800 22px/1 var(--display); text-transform: uppercase; }
.w-swinfo span { font-size: 13px; color: var(--dust); }
.w-stamp { position: absolute; top: 22px; padding: 4px 10px; border: 3px solid; border-radius: 8px; font: 800 26px/1 var(--display); text-transform: uppercase; opacity: 0; transition: opacity .12s; background: rgba(0,0,0,.35); }
.w-yes { left: 16px; color: var(--light); transform: rotate(-12deg); }
.w-no { right: 16px; color: var(--rotten); transform: rotate(12deg); }
.w-swcard[data-lean="yes"] .w-yes, .w-swcard[data-lean="no"] .w-no { opacity: 1; }
.w-swcard.fly-r { transform: translateX(120%) rotate(16deg); opacity: 0; }
.w-swcard.fly-l { transform: translateX(-120%) rotate(-16deg); opacity: 0; }
.w-progress { text-align: center; margin-top: 10px; }
.w-swbtns { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 8px; }
.w-sb { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--paper); }
.w-sb svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.w-sb-yes { background: var(--light); color: var(--light-ink); }
.w-sb-seen { width: auto; padding: 0 18px; height: 44px; border-radius: 22px; font-weight: 700; font-size: 14px; }
.w-done { text-align: center; padding: 30px 0 10px; }
.w-big { font: 800 34px/1 var(--display); text-transform: uppercase; margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .w-swcard { transition: none; } }
.rc { position: relative; }
.rc-close { position: absolute; top: 14px; right: var(--gutter); z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--velvet); color: var(--paper); }
.rc-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
/* Browsing without an account */
.me.me-signup { width: auto; padding: 0 14px; border-radius: 18px; background: var(--light); color: var(--light-ink); font-size: 14px; font-weight: 700; }
.btn-outline { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(243,237,227,.35); }
.btn-outline:hover { background: rgba(243,237,227,.08); box-shadow: inset 0 0 0 1.5px rgba(243,237,227,.6); }

/* ── Friday drop maker ────────────────────────────────── */
.dp { max-width: 900px; margin: 0 auto; padding: 8px var(--gutter) 60px; }
.dp-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.dp-close { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--velvet); color: var(--paper); }
.dp-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.dp-controls { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
.dp-handle { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dust); }
.dp-handle .field { width: 180px; }
.dp-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dp-row { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--velvet); opacity: .7; }
.dp-row.is-on { opacity: 1; box-shadow: inset 0 0 0 1.5px rgba(254,216,5,.45); }
.dp-row img { width: 46px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; flex: none; }
.dp-pick { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--aisle); color: var(--paper); font-weight: 800; }
.dp-row.is-on .dp-pick { background: var(--light); color: var(--light-ink); }
.dp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dp-info b { font-size: 15px; }
.dp-info span { font-size: 13px; color: var(--dust); }
.dp-line { margin-top: 4px; font-size: 14px; }
.dp-move { display: flex; flex-direction: column; gap: 4px; }
.dp-move button { width: 32px; height: 28px; border-radius: 8px; background: var(--aisle); color: var(--paper); }
.dp-move button:disabled { opacity: .3; }
.dp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.dp-strip { display: flex; gap: 10px; overflow-x: auto; padding: 18px 0 6px; }
.dp-thumb { flex: none; height: 300px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.dp-thumb.story { height: 360px; }
.dp-tip { font-size: 13px; margin-top: 12px; max-width: 60ch; }
.dp-caption { white-space: pre-wrap; background: var(--velvet); padding: 14px; border-radius: 12px; font: 14px/1.5 var(--body); color: var(--paper); margin-top: 12px; }

/* Invites */
.inv-card { margin: 26px var(--gutter) 0; padding: 18px 20px; border-radius: 16px; background: var(--aisle, #1d1a29); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.inv-title { font: 800 24px/1.05 var(--display); text-transform: uppercase; }
.inv-sub { color: var(--dust); font-size: 14px; margin-top: 6px; max-width: 520px; }
.inv-btns { display: flex; align-items: center; gap: 16px; }
.inv-btns .text-btn { color: var(--dust); }
.f-invite { width: 100%; justify-content: center; margin: -4px 0 18px; }
.w-invited { display: inline-block; margin-bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(254,216,5,.14); color: var(--light); font-weight: 600; font-size: 14px; }
/* Watching: episode progress */
.wt-note { color: var(--dust); font-size: 15px; margin-bottom: 12px; }
.wt-now { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.wt-ep { font: 900 34px/1 var(--display); color: var(--light); letter-spacing: .5px; }
.wt-ep.wt-done { color: var(--paper); font-size: 28px; text-transform: uppercase; }
.wt-what { color: var(--dust); font-size: 15px; }
.wt-what b { color: var(--paper); font-weight: 600; }
.wt-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.wt-btns .btn svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wt-set { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; color: var(--dust); font-size: 14px; }
.wt-sel { width: auto; height: 38px; padding: 0 10px; font-size: 14px; }
.wt-stop { margin-top: 12px; color: var(--dust); font-size: 14px; }
.wt-h { padding: 18px var(--gutter) 10px; }
.p-toggle { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.p-toggle input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--light); flex: none; }
.p-toggle span { color: var(--dust); font-size: 14px; line-height: 1.45; }
.p-toggle b { display: block; color: var(--paper); font-size: 16px; margin-bottom: 2px; }

/* ── Messages ─────────────────────────────────────────── */
.act-seg { display: flex; gap: 4px; margin: 4px var(--gutter) 14px; padding: 4px; border-radius: 999px; background: var(--velvet); max-width: 360px; }
.act-seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 999px; color: var(--dust); font: 600 14px/1 var(--body); }
.act-seg button.is-on { background: var(--aisle); color: var(--paper); }
.act-seg button:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }
.seg-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--light); color: var(--light-ink); font: 700 11px/18px var(--body); font-style: normal; }

.chat-list { display: flex; flex-direction: column; gap: 2px; }
.chat-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px; border-radius: 12px; color: var(--dust); }
.chat-row:hover { background: var(--velvet); }
.chat-row-text { flex: 1; min-width: 0; }
.chat-row-top { display: flex; align-items: baseline; gap: 8px; }
.chat-row-top b { color: var(--paper); font-weight: 600; font-size: 16px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-row-top small { color: var(--fade); font-size: 12px; flex: none; }
.chat-row-last { display: block; font-size: 14px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-row-last b { color: var(--dust); font-weight: 600; }
.chat-row.is-new .chat-row-last { color: var(--paper); font-weight: 600; }
.chat-badge { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--light); color: var(--light-ink); font: 700 12px/22px var(--body); font-style: normal; text-align: center; }
.chat-sub { font: 600 15px/1.2 var(--body); color: var(--dust); margin: 26px 0 12px; }
.chat-start { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chat-start::-webkit-scrollbar { display: none; }
.chat-friend { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; flex: none; color: var(--dust); font-size: 12px; }
.chat-friend .f-av { width: 56px; height: 56px; font-size: 20px; }
.chat-friend span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

body.in-chat .page-head, body.in-chat .credits { display: none; }
.chat { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; min-height: calc(100vh - 220px); }
.chat-head { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 60px); z-index: 30; display: flex; align-items: center; gap: 4px; padding: 6px calc(var(--gutter) - 8px); background: rgba(19, 17, 28, .97); border-bottom: 1px solid var(--line); }
.chat-head .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-who { display: flex; align-items: center; gap: 10px; text-align: left; padding: 4px 8px; border-radius: 10px; }
.chat-who:hover { background: var(--velvet); }
.chat-who .avatar { width: 36px; height: 36px; font-size: 15px; overflow: hidden; }
.chat-who .avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-who b { display: block; color: var(--paper); font-size: 16px; font-weight: 600; }
.chat-who small { display: block; color: var(--fade); font-size: 12px; }
.chat-log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px var(--gutter) 84px; }
.chat-day { align-self: center; color: var(--fade); font-size: 12px; font-weight: 600; margin: 18px 0 8px; }
.chat-msg { display: flex; margin-top: 8px; }
.chat-msg.is-grouped { margin-top: 2px; }
.chat-msg.is-mine { justify-content: flex-end; }
.chat-bubble { max-width: min(78%, 480px); padding: 9px 14px; border-radius: 20px; background: var(--aisle); color: var(--paper); font-size: 16px; line-height: 1.38; overflow-wrap: anywhere; white-space: normal; }
.chat-msg.is-mine .chat-bubble { background: var(--light); color: var(--light-ink); }
.chat-msg:not(.is-mine).is-grouped .chat-bubble { border-top-left-radius: 6px; }
.chat-msg.is-mine.is-grouped .chat-bubble { border-top-right-radius: 6px; }
.chat-msg.is-pending .chat-bubble { opacity: .6; }
.chat-card { display: flex; gap: 12px; align-items: center; max-width: min(84%, 420px); padding: 8px; padding-right: 16px; border-radius: 16px; background: var(--velvet); border: 1px solid var(--line); text-align: left; }
.chat-card:hover { border-color: var(--fade); }
.chat-msg.is-mine .chat-card { border-color: rgba(254, 216, 5, .45); }
.chat-card img, .chat-card-blank { width: 56px; height: 84px; border-radius: 8px; object-fit: cover; background: var(--aisle); flex: none; }
.chat-card-text { min-width: 0; }
.chat-card-text small { display: block; color: var(--fade); font-size: 12px; margin-bottom: 3px; }
.chat-card-text b { display: block; color: var(--paper); font-size: 16px; font-weight: 600; line-height: 1.25; }
.chat-card-text em { display: block; color: var(--dust); font-size: 14px; margin-top: 4px; }
.chat-status { align-self: flex-end; color: var(--fade); font-size: 12px; margin-top: 4px; }
.chat-empty { margin: auto; padding: 40px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.chat-empty .p-avatar { margin-bottom: 6px; }
.chat-empty .muted { max-width: 30ch; }
.chat-note { padding: 14px var(--gutter); text-align: center; }
.chat-compose { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar) + var(--safe-b)); z-index: 44; display: flex; align-items: flex-end; gap: 8px; padding: 10px var(--gutter); background: rgba(19, 17, 28, .98); border-top: 1px solid var(--line); }
.chat-compose textarea { flex: 1; min-height: 42px; max-height: 140px; resize: none; padding: 10px 16px; border-radius: 21px; border: 1px solid var(--line); background: var(--velvet); color: var(--paper); font: 16px/1.35 var(--body); }
.chat-compose textarea:focus { outline: none; border-color: var(--fade); }
.chat-send { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--light); color: var(--light-ink); flex: none; }
.chat-send[disabled] { background: var(--aisle); color: var(--fade); }
.chat-send svg { width: 20px; height: 20px; fill: currentColor; }
.chat-send:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
body.chat-typing .tabs { display: none; }
body.chat-typing .chat-compose { bottom: 0; padding-bottom: calc(10px + var(--safe-b)); }
@media (min-width: 900px) {
  .chat-compose { bottom: 0; padding: 12px max(var(--gutter), calc(50% - 360px + 16px)) 18px; }
  body.chat-typing .tabs { display: flex; }
  .chat-head { top: 64px; }
}
.f-actions { display: flex; gap: 10px; margin-top: 16px; }
.f-actions .btn svg { width: 16px; height: 16px; }
.p-notify-list { display: grid; gap: 14px; margin: 14px 0 18px; }
.chat-more { margin-left: auto; }
.chat-more svg { fill: currentColor; stroke: none; width: 22px; height: 22px; }
.chat-head { position: sticky; }
.chat-menu { position: absolute; right: calc(var(--gutter) - 8px); top: calc(100% + 4px); z-index: 50; display: flex; flex-direction: column; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--aisle); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.chat-menu button { text-align: left; padding: 11px 12px; border-radius: 9px; font: 500 15px/1.2 var(--body); color: var(--paper); }
.chat-menu button:hover, .chat-menu button:focus-visible { background: var(--velvet); }
.chat-menu .p-danger { color: var(--rotten); }
.p-fold { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 4px 0; color: var(--paper); }
.p-fold .p-h { flex: 1; }
.p-fold-sum { color: var(--fade); font-size: 14px; }
.p-fold svg { width: 20px; height: 20px; fill: none; stroke: var(--dust); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.p-fold[aria-expanded="true"] svg { transform: rotate(180deg); }
.p-fold:focus-visible { outline: 2px solid var(--light); outline-offset: 4px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .p-fold svg { transition: none; } }
button.stat { display: block; width: 100%; text-align: left; color: inherit; font: inherit; cursor: pointer; transition: background .15s; }
button.stat:hover { background: var(--aisle); }
button.stat:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }
button.stat[disabled] { cursor: default; opacity: 1; pointer-events: none; }
#f-saved, #f-watched, #f-reviews { scroll-margin-top: 80px; }
.act-request { cursor: default; flex-wrap: wrap; }
.act-request:hover { background: none; }
.act-request.is-new:hover { background: var(--velvet); }
.act-who { display: flex; gap: 12px; align-items: center; flex: 1 1 220px; min-width: 0; text-align: left; color: inherit; font: inherit; }
.act-request .f-acts { display: flex; gap: 8px; margin-left: auto; }
.f-acts.is-highlight .btn-light { box-shadow: 0 0 0 3px rgba(254, 216, 5, .35); }
#f-requests { scroll-margin-top: 80px; }
.rv.is-focus { margin: 0 calc(var(--gutter) * -0.5); padding-left: calc(var(--gutter) * 0.5); padding-right: calc(var(--gutter) * 0.5); border-radius: 12px; background: rgba(254, 216, 5, .08); box-shadow: inset 3px 0 0 var(--light); }
.chips-lang { margin-top: 8px; }
.p-lang-chips { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding: 0; }
.lang-select { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--dust); font-size: 14px; }
.lang-select select { appearance: none; -webkit-appearance: none; height: 36px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--velvet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a49db5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; color: var(--paper); font: 600 14px/1 var(--body); cursor: pointer; }
.lang-select select:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }
.field-at { display: flex; align-items: center; gap: 0; position: relative; }
.field-at > span { position: absolute; left: 14px; color: var(--fade); pointer-events: none; }
.field-at .field { padding-left: 30px; }
.field-at .field[disabled] { opacity: .6; }
.p-form label small.p-note { display: block; margin-top: 6px; }
.toast.has-undo { pointer-events: auto; display: flex; align-items: center; gap: 14px; }
.toast-undo { color: #7a5c00; font: 700 14px/1 var(--body); padding: 6px 2px; text-decoration: underline; text-underline-offset: 3px; }
.toast-undo:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.offline { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 64px); left: 50%; transform: translateX(-50%); z-index: 70; padding: 8px 14px; border-radius: 999px; background: var(--aisle); color: var(--paper); font: 600 13px/1.2 var(--body); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.offline[hidden] { display: none; }
.ptr { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 56px); left: 50%; transform: translate(-50%, 0); z-index: 60; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--aisle); color: var(--dust); font: 600 13px/1 var(--body); pointer-events: none; }
.ptr.is-ready, .ptr.is-loading { color: var(--paper); }
.ptr-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--fade); border-top-color: var(--light); }
.ptr.is-loading .ptr-spin { animation: ptrspin .7s linear infinite; }
@keyframes ptrspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ptr.is-loading .ptr-spin { animation: none; } }
.f-results { margin-top: 6px; }
.f-results:empty { display: none; }
.f-state { color: var(--fade); font-size: 14px; font-weight: 600; }
button.chat-bubble { text-align: left; font: inherit; font-size: 16px; line-height: 1.38; border: 0; cursor: pointer; }
.chat-msg-tools { margin-top: 4px; align-items: center; gap: 10px; color: var(--fade); font-size: 12px; }
.chat-unsend { color: var(--rotten); font: 600 13px/1 var(--body); padding: 6px 4px; }
.chat-add { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--aisle); color: var(--paper); flex: none; }
.chat-add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.chat-pick-card { display: flex; flex-direction: column; gap: 12px; max-height: 80vh; }
.chat-pick-list { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; min-height: 60px; }
.chat-pick-row { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 10px; text-align: left; color: var(--paper); }
.chat-pick-row:hover, .chat-pick-row:focus-visible { background: var(--aisle); }
.chat-pick-row img, .chat-pick-row .chat-card-blank { width: 40px; height: 60px; border-radius: 6px; object-fit: cover; background: var(--aisle); flex: none; }
.chat-pick-row b { display: block; font-weight: 600; }
.chat-pick-row small { color: var(--fade); font-size: 12px; }
.chat-pick-h { font: 600 18px/1.3 var(--body); color: var(--paper); padding-right: 44px; text-align: left; }

/* Recent searches */
.recent-head { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 4px 2px; }
.recent-head h3 { margin: 0; font-size: 16px; }
.recent-row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.recent-row .result { border-bottom: 0; flex: 1; min-width: 0; }
.recent-x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; color: var(--dust); }
.recent-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.recent-x:hover, .recent-x:focus-visible { color: var(--light); }
.close-h { margin: 18px 4px 2px; font-size: 16px; }

/* Swipe-back arrow that follows your thumb from the left edge (iPhone app) */
.swipe-back { position: fixed; left: 6px; z-index: 200; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--aisle); color: var(--paper); box-shadow: 0 4px 16px rgba(0,0,0,.4); opacity: 0; transform: translate(0, -50%) scale(.7); pointer-events: none; transition: background .12s, color .12s; }
.swipe-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.swipe-back.is-ready { background: var(--light); color: var(--light-ink); }

/* The Reel: the main event, so its tab is a raised yellow button on phones */
@media (max-width: 899px) {
  /* iOS clips anything that pokes out of an element with backdrop-filter, so the bar's
     blur lives on a layer behind it and the raised button can stick up past the top. */
  .tabs { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; }
  .tabs::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(19, 17, 28, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  }
  .tab-reel { position: relative; overflow: visible; color: var(--paper); font-weight: 600; justify-content: flex-end; padding-bottom: 11px; }
  .tab-reel::before {
    content: ""; position: absolute; left: 50%; top: -22px; width: 56px; height: 56px; margin-left: -28px; border-radius: 50%;
    background: var(--light); box-shadow: 0 0 0 5px var(--ink), 0 8px 22px rgba(254, 216, 5, .28);
  }
  .tab-reel svg { position: absolute; left: 50%; top: -8px; width: 28px; height: 28px; margin-left: -14px; stroke: var(--light-ink); stroke-width: 2; fill: none; }
  .tab-reel.is-on svg { fill: none; stroke: var(--light-ink); color: var(--light-ink); }
  .tab-reel:active::before { transform: scale(.94); }
  .tab-reel .tab-count { top: -22px; left: calc(50% + 16px); z-index: 1; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
}
@media (min-width: 900px) {
  .tab-reel { background: var(--light); color: var(--light-ink); font-weight: 700; }
  .tab-reel svg { stroke: var(--light-ink); }
  .tab-reel:hover { color: var(--light-ink); filter: brightness(1.06); }
  .tab-reel .tab-count { background: var(--ink); color: var(--light); }
}
.rl-together { display: inline-flex; align-items: center; gap: 6px; }
.rl-together svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.chat-mn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px; background: var(--light); color: var(--light-ink); font-size: 13px; font-weight: 700; }
.chat-mn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 360px) { .chat-mn span { display: none; } .chat-mn { width: 34px; padding: 0; justify-content: center; } }
.rl-tg-short { display: none; }
@media (max-width: 480px) { .rl-tg-long { display: none; } .rl-tg-short { display: inline; } }
.chat-who { flex: 1; min-width: 0; }
.chat-who > span { min-width: 0; }
.chat-who b, .chat-who small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
