/*
 * Because You Watched. Dark-only on purpose, like a cinema.
 * Layout: a slim header, then each page in one column (.wrap), max 1180px.
 */
:root {
  --bg: #0f0d0d;
  --surface: #1a1717;
  --line: #2c2726;
  --fg: #f4efed;
  --muted: #a39b98;
  --brand: #107c10;
  --red: #e3262f; /* only where red is the convention: hearts and Loved it, notification dots, YouTube */
  --gold: #f2c230;
  --cream: #f7eed6;
  --ink: #1b1820; /* dark text on cream */ /* titles: the soft cream of an old cinema ticket, in place of white */
  --match: #4fd17a;
  --wa: #3fd47a;
  --wa-deep: #1f8f55;
  --discord: #8c96ff;
  --gs-hi: #4fd17a;
  --gs-mid: #f2c230;
  --gs-lo: #ef6a4c;
  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { overflow-x: clip; } /* nothing sliding in from the side can make the page scroll sideways */
body {
  margin: 0; /* so the floating header and full-width bands reach the screen edges */
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg);
}
.wrap {
  max-width: 1180px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Top bar */
.bar { padding-block: 22px 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* Logo: a red line-art ticket stub icon (notched sides, a dashed tear line, rounded strokes
   like WhatsApp's line icons), tilted a touch, then the name. */
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--display); line-height: 1; }
.logo-mark { display: grid; place-items: center; width: 44px; height: 44px; color: var(--brand); transition: color .2s ease, width .25s ease, height .25s ease; }
.logo-mark svg { width: 100%; height: 100%; transform: rotate(-14deg); overflow: visible; }
.logo-mark svg path { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.logo:hover .logo-mark, .logo:focus-visible .logo-mark { color: #1f9a1f; }
/* The name in the heavy Archivo Black of the strip headings, set tight */
/* The wordmark (partials/wordmark): "BYW" as Montserrat Black outlines, BY white and W green, then the full name small */
.logo-word { display: flex; align-items: center; gap: 12px; }
.logo-word .wordmark { display: block; height: 22px; width: auto; }
.logo-tag { font: 700 10px/1.15 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #a39b98; }
.wordmark .wm-1 { fill: #fff; }
.wordmark .wm-2 { fill: var(--brand); }
.how { margin-left: auto; font: 600 13px/1 var(--body); color: var(--muted); text-decoration: none; padding: 8px 4px; }
.how:hover { color: var(--fg); }
.how:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.home-filters { margin-top: 16px; width: max-content; max-width: 100%; }
.filters { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.filters button {
  font: 600 12.5px/1 var(--body); letter-spacing: .04em; color: var(--muted);
  background: none; border: 0; border-radius: 999px; padding: 8px 13px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.filters button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Search */
.search { padding-block: 40px 18px; }
.search label {
  display: block; font: 700 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.field-q { position: relative; }
.q-ghost, #q {
  font-family: var(--display); font-size: clamp(40px, 8vw, 92px); line-height: 1.05; letter-spacing: .01em;
  padding: 6px 0 10px; width: 100%;
}
.q-ghost {
  position: absolute; inset: 0; pointer-events: none; white-space: pre; overflow: hidden;
  color: transparent;
}
.q-ghost span { color: #5a5250; }
#q {
  position: relative; background: transparent; border: 0; color: var(--fg); outline: none;
  border-bottom: 2px solid var(--line); caret-color: var(--brand);
  transition: border-color .2s;
}
#q::placeholder { color: #4a4342; }
#q:focus { border-bottom-color: var(--brand); }
.hint { margin-top: 12px; color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hint kbd { font: 600 11px/1 var(--body); border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; color: var(--fg); }
.chip {
  font: 600 13px/1 var(--body); color: var(--fg); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer;
}
.chip:hover { border-color: var(--muted); }
.chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Suggestions */
.list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55); overflow: hidden; max-width: 560px;
}
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; }
.opt + .opt { border-top: 1px solid var(--line); }
.opt[aria-selected="true"], .opt:hover { background: #252020; }
.opt .sw { width: 26px; height: 36px; border-radius: 3px; flex: none; }
.opt .t { font-weight: 700; }
.opt .m { color: var(--muted); font-size: 12.5px; }

/* Result header */
.now { padding-block: 26px 6px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.eyebrow { font: 700 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.now h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); line-height: 1;
  letter-spacing: .01em; margin: 8px 0 0; text-wrap: balance;
}
.now h2 em { font-style: normal; color: var(--gold); }
.meta { color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.meta .pill { color: var(--bg); background: var(--gold); font-weight: 800; font-size: 11px; letter-spacing: .08em; padding: 3px 7px; border-radius: 3px; }
.note { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.note b { color: var(--fg); }

/* Picks carousel: the selected title sits centred and larger, the rest fall away either side */
.carousel { --cw: clamp(184px, 21vw, 236px); position: relative; margin-block: 4px 18px; }
.track {
  position: relative; display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-block: 36px 22px; padding-inline: calc(50% - var(--cw) / 2);
  scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.track::-webkit-scrollbar { display: none; }
.track .item {
  flex: 0 0 var(--cw); scroll-snap-align: center; transform: scale(.84); transform-origin: 50% 40%; opacity: .45;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
}
.track .item.is-active { transform: scale(1.07); opacity: 1; z-index: 2; }
.track.jump .item { transition: none; }
.track .item:not(.is-active) .card { cursor: zoom-in; }
.track .rank { font-size: calc(var(--cw) * .62); }
/* Fit the longest word on the poster rather than breaking it */
.track .ptitle { font-size: min(var(--fs), calc(var(--cw) * 1.08 / var(--lw))); overflow-wrap: normal; word-break: normal; }
.car-nav {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.car-nav svg { width: 20px; height: 20px; }
.car-nav.prev { left: 0; }
.car-nav.next { right: 0; }
.car-nav:hover:not(:disabled) { border-color: var(--muted); }
.car-nav:disabled { opacity: 0; pointer-events: none; }
.car-nav:focus-visible, .car-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.car-dots { display: flex; justify-content: center; gap: 8px; }
.car-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.car-dots button[aria-current="true"] { width: 24px; background: var(--brand); }
.card { position: relative; display: grid; grid-template-columns: 34% 1fr; align-items: end; cursor: pointer; border: 0; background: none; color: inherit; text-align: left; padding: 0; font: inherit; }
.card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
.rank {
  font-family: var(--display); font-size: clamp(110px, 13vw, 170px); line-height: .78;
  color: var(--bg); -webkit-text-stroke: 3px #57504e; text-align: right; margin-right: -14%;
  position: relative; z-index: 0; user-select: none;
}
.poster {
  position: relative; z-index: 1; aspect-ratio: 2 / 3; max-width: 100%; border-radius: 6px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.6);
  display: flex; flex-direction: column; justify-content: space-between; padding: 9px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.poster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%);
}
.card:hover .poster, .card:focus-visible .poster { transform: translateY(-6px) scale(1.03); box-shadow: 0 24px 50px rgba(0,0,0,.7); }
.kind { position: relative; z-index: 1; font: 800 9.5px/1 var(--body); letter-spacing: .16em; color: rgba(255,255,255,.85); }
.ptitle {
  position: relative; z-index: 1; font-family: var(--display); line-height: .95; letter-spacing: .01em;
  color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.45); overflow-wrap: anywhere;
}
.under { grid-column: 1 / -1; padding-top: 12px; display: grid; gap: 4px; min-width: 0; }
.under .top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.under .top .pick-src { white-space: nowrap; }
.pct { color: var(--match); font-weight: 800; font-variant-numeric: tabular-nums; }
.yr { color: var(--muted); font-variant-numeric: tabular-nums; }
.under .name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.why { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.badge {
  position: absolute; z-index: 2; top: 8px; right: 8px; background: var(--brand); color: #fff;
  font: 800 9.5px/1 var(--body); letter-spacing: .12em; padding: 5px 7px; border-radius: 3px;
}
.item { display: grid; align-content: start; gap: 10px; min-width: 0; }
.track.fresh .item > * { animation: rise .45s cubic-bezier(.2,.7,.2,1) backwards; }
.track.fresh .item:nth-child(2) > * { animation-delay: .05s; }
.track.fresh .item:nth-child(3) > * { animation-delay: .1s; }
.track.fresh .item:nth-child(4) > * { animation-delay: .15s; }
.track.fresh .item:nth-child(5) > * { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(14px); opacity: .25; } }

/* Small action buttons: share, recommend */
.acts { display: flex; flex-wrap: wrap; gap: 6px; }
.act {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; cursor: pointer;
  font: 700 12px/1 var(--body); color: var(--fg); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px;
}
.act:hover { border-color: var(--muted); }
.act:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.act svg { width: 14px; height: 14px; flex: none; }
.act.wa svg { color: var(--wa); }
.act.dc svg { color: var(--discord); }
.act.on { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.act.primary { background: var(--wa-deep); border-color: var(--wa-deep); color: #fff; }
.act.primary svg { color: #fff; }
.now .acts { margin-top: 12px; }

.empty { padding-block: 30px 40px; color: var(--muted); max-width: 60ch; }
.empty h2 { font-family: var(--display); font-weight: 400; font-size: 34px; color: var(--fg); margin: 0 0 8px; }

/* Watch group */
.group { border-top: 1px solid var(--line); padding-block: 30px 40px; }
.g-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.g-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 42px); line-height: 1; margin: 8px 0 0; }
.crew { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.face {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px 3px 3px;
  font: 700 12.5px/1 var(--body);
}
.face img { width: 28px; height: 28px; border-radius: 50%; display: block; }
.face[aria-pressed="true"] { border-color: var(--fg); }
.face:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.g-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; margin-top: 22px; }
.g-col { min-width: 0; }
.g-col h3 { font: 700 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.feed { display: grid; gap: 10px; }
.post {
  display: grid; grid-template-columns: 34px 46px minmax(0, 1fr); gap: 12px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px;
}
.post > img { width: 34px; height: 34px; border-radius: 50%; }
.post .sw { width: 46px; height: 69px; border-radius: 4px; }
.post .txt { min-width: 0; display: grid; gap: 4px; }
.post .line { font-size: 14px; line-height: 1.4; }
.post .line b { font-weight: 800; }
.post .sub { color: var(--muted); font-size: 12.5px; }
.rec-note {
  justify-self: start; max-width: 100%; font-size: 14px; line-height: 1.4; font-style: italic; color: var(--fg);
  background: #241f1e; border: 1px solid var(--line); border-radius: 4px 12px 12px 12px; padding: 7px 11px; overflow-wrap: anywhere;
}

/* "Add a note" on recommend */
.note-field { position: relative; display: grid; gap: 6px; margin: 4px 0 12px; font-size: 13px; font-weight: 700; }
.note-field small { color: var(--muted); font-weight: 500; }
.note-field input {
  width: 100%; font: 500 15px/1.3 var(--body); color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 52px 10px 12px;
}
.note-field input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.note-count { position: absolute; right: 10px; bottom: 11px; font-variant-numeric: tabular-nums; pointer-events: none; }
.post .acts { margin-top: 4px; }
.post .act { padding: 6px 10px; font-size: 11.5px; }
.prof { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 14px; }
.prof-top { display: flex; align-items: center; gap: 12px; }
.prof-top img { width: 46px; height: 46px; border-radius: 50%; }
.prof-top .n { font-family: var(--display); font-size: 28px; line-height: 1; }
.prof-top .s { color: var(--muted); font-size: 12.5px; }
.minis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mini {
  aspect-ratio: 2 / 3; max-width: 100%; border-radius: 4px; border: 0; cursor: pointer; padding: 5px;
  display: flex; align-items: flex-end; text-align: left; color: #fff;
  font: 400 13px/1 var(--display); letter-spacing: .02em; overflow: hidden; overflow-wrap: anywhere;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.mini:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.prof .lbl { font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.g-empty { color: var(--muted); font-size: 14px; background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; padding: 16px; }
.g-empty b { color: var(--fg); }

/* Group Score */
.gs {
  display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 5px;
  font: 800 13px/1 var(--body); color: #0f0d0d; font-variant-numeric: tabular-nums;
}
.gs.hi { background: var(--gs-hi); } .gs.mid { background: var(--gs-mid); } .gs.lo { background: var(--gs-lo); }
.gs.big { min-width: 58px; height: 58px; font-size: 26px; border-radius: 8px; }
.scorebox { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
.scorebox:empty { display: none; }
.gsum { display: flex; align-items: center; gap: 10px; }
.gsum .l { font: 700 11px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gsum .l b { display: block; color: var(--fg); letter-spacing: 0; text-transform: none; font-size: 13px; }
.rate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.rate .l { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.rate button {
  width: 28px; height: 28px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface);
  color: var(--fg); font: 800 12.5px/1 var(--body); cursor: pointer; font-variant-numeric: tabular-nums;
}
.rate button:hover { border-color: var(--muted); }
.rate button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.rate button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.under .top .gs { height: 20px; min-width: 26px; font-size: 11.5px; margin-left: auto; }
.tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tabs button {
  font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 2px 12px; margin-right: 18px; cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--brand); }
.tabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.board { display: grid; gap: 8px; }
.brow {
  display: grid; grid-template-columns: 26px 40px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.brow .rk { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--muted); text-align: center; }
.brow .sw { width: 40px; height: 60px; border-radius: 4px; }
.brow .t { font-weight: 800; font-size: 14.5px; line-height: 1.3; }
.brow .m { color: var(--muted); font-size: 12.5px; }
.raters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rater { display: inline-flex; align-items: center; gap: 5px; font: 700 11.5px/1 var(--body); color: var(--muted); font-variant-numeric: tabular-nums; }
.rater img { width: 18px; height: 18px; border-radius: 50%; }
.g-head .tag { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.mini { position: relative; }
.mini .mr { position: absolute; top: 4px; right: 4px; min-width: 0; height: auto; font: 800 10px/1 var(--body); padding: 3px 4px; border-radius: 3px; color: #0f0d0d; text-shadow: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--fg); color: var(--bg); font: 700 13px/1.3 var(--body); padding: 11px 16px; border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5); z-index: 20; max-width: calc(100% - 32px);
}

footer { border-top: 1px solid var(--line); padding-block: 18px 34px; color: #6f6765; font-size: 12.5px; }

@media (max-width: 960px) {
  .g-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .carousel { --cw: 60vw; }
  .carousel.big { --cw: 68vw; }
  .carousel.big.plain { --cw: 46vw; }
  .car-nav { display: none; }
  .bar { flex-wrap: wrap; }
  .search { padding-block: 22px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .track.fresh .item > * { animation: none; }
  .track .item { transition: none; }
  .poster, #q { transition: none; }
}

/* ---- Site chrome ---- */
/* Floating header (like Shudder's): a full-width bar that sticks to the top, turns frosted once
   you scroll, tucks away while you scroll down and slides back down as soon as you scroll up. */
html { scroll-padding-top: 84px; }
.site-bar {
  position: sticky; top: 0; z-index: 30; border-bottom: 1px solid transparent;
  transition: transform .32s cubic-bezier(.2,.7,.2,1), background .25s ease, border-color .25s ease;
}
.site-head { padding-block: 18px 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; transition: padding .25s ease; }
.site-bar.is-stuck { background: rgba(15, 13, 13, .82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.site-bar.is-stuck .site-head { padding-block: 10px; }
.site-bar.is-hidden { transform: translateY(-100%); }
.site-head .logo-mark { transition: width .25s ease, height .25s ease, color .2s ease; }
.site-bar.is-stuck .logo-mark { width: 36px; height: 36px; }
@media (prefers-reduced-motion: reduce) { .site-bar, .site-head, .site-head .logo-mark { transition: none; } }
.site-head .logo { text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-left: auto; }
.nav a, .linkbtn {
  font: 600 13px/1 var(--body); color: var(--muted); text-decoration: none; padding: 9px 11px; border-radius: 999px;
  background: none; border: 0; cursor: pointer;
}
.nav a:hover, .linkbtn:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); background: var(--surface); }
.nav a:focus-visible, .linkbtn:focus-visible, .btn:focus-visible, a.card:focus-visible, .field input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav form { display: contents; }
/* "Join free", Shudder's trial button: a deep red pill with heavy, tightly set uppercase */
.nav .join-free {
  color: #fff; background: #107c10; border-radius: 999px; padding: 10px 20px; margin-left: 6px;
  text-transform: uppercase; letter-spacing: .01em; font-weight: 800; font-size: 13px;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.nav .join-free:hover { color: #fff; background: #139213; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16, 124, 16, .35); }
@media (prefers-reduced-motion: reduce) { .nav .join-free, .nav .join-free:hover { transition: none; transform: none; } }
.tagline { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.tagline b { color: var(--fg); font-weight: 700; }
.flash {
  margin-top: 14px; background: color-mix(in srgb, var(--match) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--match) 40%, var(--line));
  color: var(--fg); border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: 14px;
}
.site-foot { border-top: 1px solid var(--line); padding-block: 18px 34px; color: #6f6765; font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; margin-top: 30px; }
.site-foot a { color: var(--muted); }

/* Buttons and forms */
/* Buttons, Shudder-style: bold uppercase, wide tracking, near-square corners. Solid red, or an outline that fills on hover. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none;
  font: 800 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--brand);
  border: 2px solid var(--brand); border-radius: 4px; padding: 14px 22px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: #1f9a1f; border-color: #1f9a1f; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16, 124, 16, .28); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn.ghost:hover { background: #fff; border-color: #fff; color: var(--bg); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
/* Share buttons in their apps' own colours, so they're recognised at a glance */
.btn.wa { background: #1daa61; border-color: #1daa61; color: #fff; }
.btn.wa:hover { background: #25d366; border-color: #25d366; box-shadow: 0 10px 24px rgba(37, 211, 102, .28); }
.btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn.discord:hover { background: #6d78f5; border-color: #6d78f5; box-shadow: 0 10px 24px rgba(88, 101, 242, .3); }
.btn.wa svg, .btn.discord svg { width: 18px; height: 18px; flex: none; }
.btn[hidden] { display: none; }
/* The share dialog's buttons take the Join free pill shape: fully round, tighter tracking */
.btn.wa, .btn.discord, dialog.picker .opts .btn, dialog.picker .row .btn { border-radius: 999px; letter-spacing: .02em; }
.btn.small { padding: 10px 14px; font-size: 11.5px; letter-spacing: .09em; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }
/* Gold, like the ticket stubs and the popcorn: the movie night poll. */
.btn.gold { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); border-color: var(--gold); color: #1d1600; }
.btn.gold:hover { background: #ffd34d; border-color: #ffd34d; color: #1d1600; box-shadow: 0 10px 24px rgba(242, 194, 48, .3); }
.btn.gold svg { width: 18px; height: 18px; flex: none; }
.btn.danger { background: none; border-color: color-mix(in srgb, var(--gs-lo) 50%, var(--line)); color: var(--gs-lo); }
.field { display: grid; gap: 7px; }
.field > span { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input {
  font: 600 15px/1.2 var(--body); color: var(--fg); background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 13px; width: 100%;
}
.field input:focus { border-color: var(--muted); outline: none; }
.field .error { color: var(--gs-lo); font-size: 13px; font-weight: 600; }
.check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.inline-form .field { flex: 1 1 220px; }

/* Cards and panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.panel h2, .panel h3 { margin-top: 0; }
.page-head { padding-block: 34px 18px; }
.page-head h1, .auth h1, .invite-card h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: .95; margin: 10px 0 10px; text-wrap: balance;
}
.page-head p { color: #cfc8c5; max-width: 60ch; margin: 0; }
.section-title { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; margin: 0 0 14px; }

/* Sign-in */
.auth { max-width: 440px; margin: 30px auto 0; }
.auth .panel { display: grid; gap: 16px; }
.auth p.muted { color: var(--muted); margin: 0 0 18px; }
.auth .foot { color: var(--muted); font-size: 14px; text-align: center; margin: 4px 0 0; }

/* Groups index */
/* My groups' grid: poster tiles in the At the movies style; each card a column so the text lines up along a row. */
.gtiles { --cw: 170px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 18px; }
.gtile { position: relative; min-width: 0; display: flex; flex-direction: column; }
.gtile-face { text-decoration: none; color: #fff; border-radius: 2px; }
.gtile-face:hover, .gtile-face:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 0, 0, .8); }
.gtile-face .ptitle { font-size: min(30px, calc(var(--cw) * 1.08 / var(--lw))); }
.gtile-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding-top: 10px; min-width: 0; }
.gtile-body .t { font: 700 14px/1.25 var(--body); color: #fff; text-decoration: none; }
.gtile-body .t:hover { text-decoration: underline; }
.gtile-body .m, .gtile-body .why { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.gtile-body .why { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .gtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; --cw: 44vw; } }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
a.card {
  display: grid; gap: 6px; text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; transition: border-color .15s;
}
a.card:hover { border-color: var(--muted); }
a.card .name { font-family: var(--display); font-size: 30px; line-height: 1; }
a.card .m { color: var(--muted); font-size: 13px; }
.groups-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.groups-side { display: grid; gap: 16px; }

/* Group page */
.g-top { padding-block: 30px 0; }
.g-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 76px); line-height: .9; margin: 8px 0 8px; overflow-wrap: anywhere; }
.g-top .m { color: var(--muted); font-size: 14px; }
.switcher { position: relative; display: inline-block; }
.switcher summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.switcher summary::-webkit-details-marker { display: none; }
.switcher summary::after { content: "▾"; letter-spacing: 0; }
.switcher[open] .menu { display: grid; }
.switcher .menu {
  display: none; position: absolute; z-index: 6; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.switcher .menu a { color: var(--fg); text-decoration: none; padding: 9px 10px; border-radius: 6px; font-weight: 700; font-size: 14px; }
.switcher .menu a:hover, .switcher .menu a[aria-current="page"] { background: #252020; }
.switcher .menu .new { color: var(--muted); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; margin-top: 4px; }
/* Invite strip under the group name: code plus share buttons, one compact row */
.invite { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.invite .lbl { font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.invite .code { font-family: var(--display); font-size: 22px; line-height: 1; letter-spacing: .08em; font-variant-numeric: tabular-nums; margin-right: 4px; padding: 5px 9px 3px; border: 1px dashed var(--line); border-radius: 6px; }
.g-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; margin-top: 22px; align-items: start; }
.tabs a {
  font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent; padding: 10px 2px 12px; margin-right: 18px;
}
.tabs a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--brand); }
.av {
  display: inline-grid; place-items: center; border-radius: 50%; color: #fff; flex: none;
  font: 800 11px/1 var(--body); width: 30px; height: 30px; letter-spacing: .02em;
}
.av.lg { width: 46px; height: 46px; font-size: 15px; }
.av.sm { width: 18px; height: 18px; font-size: 8px; }
.post .av { width: 34px; height: 34px; }
.post .sw { display: block; }
.post form { display: contents; }
.members { display: grid; gap: 6px; }
.mrow { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; }
.mrow:hover { background: var(--surface); }
.mrow[aria-current="true"] { background: var(--surface); border-color: var(--line); }
.mrow .n { font-weight: 700; font-size: 14px; }
.mrow .s { color: var(--muted); font-size: 12px; margin-left: auto; }
a.mini { text-decoration: none; }
.settings summary { cursor: pointer; color: var(--muted); font-weight: 700; font-size: 13px; }
.settings[open] summary { margin-bottom: 12px; }
.settings .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.settings .row + .row { margin-top: 12px; }

/* Join */
.invite-card { max-width: 520px; margin: 40px auto 0; text-align: center; display: grid; gap: 14px; justify-items: center; }
.invite-card .m { color: var(--muted); }
.invite-card .stack { display: grid; gap: 10px; width: 100%; max-width: 320px; }

/* Recommend-to-groups dialog */
dialog.picker {
  background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  width: min(420px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
dialog.picker::backdrop { background: rgba(0,0,0,.6); }
dialog.picker h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; margin: 0 0 4px; }
dialog.picker p { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
dialog.picker .opts { display: grid; gap: 8px; margin-bottom: 16px; max-height: 50vh; overflow: auto; }
dialog.picker label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; cursor: pointer; }
dialog.picker input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--brand); }
dialog.picker .row { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.dc-msg { width: 100%; resize: none; margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); font: 500 13.5px/1.45 var(--body); }
dialog.picker label.note-field { display: grid; padding: 0; border: 0; cursor: auto; font-weight: 700; }

/* "Watch together": tap to say you're up for it, sort the when in the group chat */
.act.together-btn svg { color: var(--gold); }
.act.together-btn.on { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.act.together-btn.on svg { color: var(--bg); }
.together { margin-bottom: 22px; scroll-margin-top: 20px; }
.together .section-title { margin-top: 0; }
.together-item {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; scroll-margin-top: 20px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; padding: 12px; margin-bottom: 10px;
}
.together-item .sw { width: 46px; height: 69px; border-radius: 4px; display: block; }
.together-body { display: grid; gap: 7px; min-width: 0; }
.together-body .line { font-size: 15px; }
.together-body .yr { margin-left: 4px; font-weight: 500; }
.together-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.together-who > span:last-child { margin-left: 4px; }
/* Ticket stub for films still to come: notched ends, a perforation after the icon */
.stub {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; white-space: nowrap;
  font: 800 11px/1 var(--body); letter-spacing: .02em; color: #1d1600; background: var(--gold);
  padding: 4px 9px 4px 8px; border-radius: 3px;
  -webkit-mask: radial-gradient(circle 4px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 4px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 4px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 4px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
}
.stub svg { width: 14px; height: 14px; flex: none; padding-right: 6px; border-right: 1.5px dashed rgba(29, 22, 0, .45); box-sizing: content-box; }
.opt .m .stub { font-size: 10.5px; padding-block: 3px; }
@media (max-width: 520px) { .plan { grid-template-columns: auto minmax(0, 1fr); } .plan .sw { display: none; } }
.gchips { display: flex; flex-wrap: wrap; gap: 8px; }
.gchip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); text-decoration: none; }
.gchip b { color: var(--fg); }
.signin-note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.signin-note a { color: var(--fg); font-weight: 700; }

@media (max-width: 860px) {
  .groups-grid, .g-layout, .g-top { grid-template-columns: minmax(0, 1fr); }
}

/* Landing intro and the friends log on the home page */
.landing { padding-block: 34px 6px; max-width: 860px; margin-inline: auto; text-align: center; }
.landing h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6.4vw, 76px); line-height: .95;
  letter-spacing: .01em; margin: 10px 0 14px; text-wrap: balance;
}
.landing h1 em { font-style: normal; color: var(--brand); }
.landing p { color: #d6cfcc; font-size: 16.5px; max-width: 62ch; margin: 0 auto; }
.landing-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
/* The landing's sign-up buttons take the Join free pill shape */
.landing-acts .btn { border-radius: 999px; letter-spacing: .02em; padding-inline: 26px; }

/* "Built around your WhatsApp and Discord chats" */
.chat-flow {
  list-style: none; padding: 0; margin: 26px auto 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: left;
}
.chat-flow li { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.35; }
.chat-flow b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 13px/1 var(--body); }
.chat-flow .wa-t { color: var(--wa); font-weight: 700; }
.chat-flow .dc-t { color: var(--discord); font-weight: 700; }
@media (max-width: 720px) { .chat-flow { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }
.landing + .search { padding-top: 26px; }
.landing-more { padding-top: 6px; }
.landing-more + .search, .landing-more ~ .search { padding-top: 26px; }

/* Home page rails (Trending, Classics, Horror): the picks carousel, bigger and ranked */
.rail { padding-top: 40px; }
.rail + .rail, #out + .rail { padding-top: 18px; border-top: 1px solid var(--line); margin-top: 6px; }
.rail-head { text-align: center; max-width: 640px; margin-inline: auto; }
.rail-head h2 { font: 400 clamp(34px, 5vw, 52px)/1 var(--display); letter-spacing: .02em; margin: 6px 0 8px; }
.rail-head p { color: var(--muted); margin: 0; }
/* The example carousel under the landing headline: a smaller heading, tucked in */
.rail.compact { padding-top: 6px; margin-bottom: 4px; }
.carousel a.card { background: none; border: 0; padding: 0; gap: 0; border-radius: 0; color: inherit; }
.carousel a.card .under .name { font: 700 14px/1.3 var(--body); }
.carousel.big a.card .under .name { font-size: 16px; }
#up-next { padding-top: 22px; }
.rail.compact .rail-head h2 { font-size: clamp(22px, 3.4vw, 30px); margin: 4px 0 0; }
.rail.compact .eyebrow { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; }
.rail.compact .carousel { margin-bottom: 8px; }
.rail.compact .track { padding-block: 26px 16px; }
.carousel.big { --cw: clamp(220px, 25vw, 290px); }
/* Without the rank number the poster takes the whole card, so the card is narrower */
.carousel.big.plain { --cw: clamp(160px, 17vw, 196px); }
.carousel.plain .card { grid-template-columns: minmax(0, 1fr); }
.loved-badge { background: var(--red); }
.carousel.big .track { padding-block: 44px 26px; }
.carousel.big .under .name { font-size: 16px; }
.rail + .search { padding-top: 18px; }
.friends { border-top: 1px solid var(--line); padding-block: 30px 10px; scroll-margin-top: 20px; }
.friends .g-head { margin-bottom: 16px; }
.friends-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.post .sub a { color: var(--fg); }
.pager { margin-top: 18px; }

/* Share link page (/r/…) */
.share { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 36px; padding-block: 34px 10px; align-items: start; }
.share-poster {
  position: relative; aspect-ratio: 2 / 3; max-width: 100%; border-radius: 10px; overflow: hidden; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.share-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%); }
.share-poster .kind, .share-poster .ptitle { position: relative; z-index: 1; }
.share-body { min-width: 0; display: grid; gap: 14px; align-content: start; }
.share-body h1 { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 7vw, 84px); line-height: .92; margin: 0; color: var(--gold); text-wrap: balance; overflow-wrap: anywhere; }
.share-body .meta b { color: var(--fg); }
.share-panel { display: grid; gap: 12px; max-width: 520px; }
.share-panel h2 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; margin: 0; }
.share-panel .m { color: var(--muted); margin: 0; font-size: 14.5px; }
.reactions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.reaction {
  font: 800 14px/1.2 var(--body); color: var(--fg); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 8px; cursor: pointer;
}
.reaction:hover { border-color: var(--muted); }
.reaction:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.reaction.in { border-color: color-mix(in srgb, var(--match) 50%, var(--line)); }
.reaction[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.reaction.in[aria-pressed="true"] { background: var(--match); border-color: var(--match); color: #0f0d0d; }
.share-more .lbl { font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.share-more .minis { max-width: 520px; }
.share-cta { border-top: 1px solid var(--line); padding-top: 14px; max-width: 520px; }
.share-cta p { color: #cfc8c5; font-size: 14.5px; margin: 0 0 10px; }
@media (max-width: 700px) {
  .share { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
  .share-poster { width: 58%; margin-inline: auto; }
}

/* What to watch tab */
.tonight-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.tonight-sum div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--muted); font-size: 13px; }
.tonight-sum b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--fg); }
.tonight-pick { display: grid; gap: 2px; background: color-mix(in srgb, var(--gold) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.tonight-pick .lbl { font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tonight-pick b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.05; }
.tonight-pick .m { color: var(--muted); font-size: 13px; }
.wrow { align-items: start; }
.wrow .acts { margin-top: 8px; }
.wrow form { display: contents; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip-s { font: 700 11.5px/1 var(--body); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; }
.chip-s.in { color: #0f0d0d; background: var(--match); border-color: var(--match); }
.chip-s.fresh { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.votes { font-family: var(--display); font-size: 34px; line-height: 1; text-align: center; color: var(--gold); }
.votes small { display: block; font: 700 10px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.reacts { color: var(--muted); font-size: 12.5px; }
@media (max-width: 520px) { .tonight-sum b { font-size: 26px; } }
.share-poster .ptitle { font-size: min(var(--fs), 10.5vw); overflow-wrap: normal; word-break: normal; hyphens: manual; }

/* Real posters from TMDB: the artwork carries the title, so hide the drawn one */
.mini.has-img, .poster.has-img .ptitle, .share-poster.has-img .ptitle { color: transparent; text-shadow: none; }
.poster.has-img .kind, .share-poster.has-img .kind { opacity: 0; }
.mini.has-img .mr { color: #0f0d0d; }
.list .opt .sw { background-size: cover; background-position: center; }

/* Group page: "Add a title" search */
.g-search { margin-bottom: 18px; }
.g-search .lbl { display: block; margin-bottom: 8px; }
.g-search .field-q { position: relative; }
.g-search .field-q input {
  width: 100%; font: 600 16px/1.2 var(--body); color: var(--fg); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px 13px 42px;
}
.g-search .field-q input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gs-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.g-search .opt.none { color: var(--muted); cursor: default; }
.gs-card {
  position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; margin-top: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; padding-right: 40px;
}
.gs-poster { width: 76px; aspect-ratio: 2 / 3; border-radius: 6px; background-size: cover; box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.gs-body .t { font-weight: 800; font-size: 17px; }
.gs-body .m { color: var(--muted); font-size: 13px; margin: 2px 0 10px; }
.gs-done { margin: 0 0 10px; font-size: 14px; }
.gs-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px; }
.gs-close:hover { color: var(--fg); }
.act:disabled { opacity: .55; cursor: progress; }

/* "Loved it": sent to all of someone's groups at once */
.act.love { background: #3a1517; border-color: #6b2226; color: #ffd9db; }
.act.love svg { color: var(--red); }
.act.love:hover { border-color: var(--red); }
.post.loved { border-color: #6b2226; background: linear-gradient(90deg, rgba(227, 38, 47, .12), transparent 60%); }
.loved-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; vertical-align: 1px; font: 800 10.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); padding: 4px 7px; border-radius: 999px; }
.loved-tag svg { width: 11px; height: 11px; }
.site-foot .tmdb { display: block; margin-top: 4px; color: #6f6765; font-size: 11.5px; max-width: 60ch; }
.pick-src { color: var(--muted); font-size: 12.5px; }

/* Who in the group has watched a title: a tick on each member's avatar */
.watchers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.watchers form { display: contents; }
.watcher {
  position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font: 800 10px/1 var(--body); color: var(--muted); background: transparent; border: 1.5px dashed var(--line); padding: 0;
}
.watcher.on { background: var(--c); color: #fff; border: 1.5px solid var(--c); }
.watcher .tick {
  position: absolute; right: -4px; bottom: -4px; width: 15px; height: 15px; border-radius: 50%;
  display: none; place-items: center; font: 900 9px/1 var(--body); color: #0f0d0d; background: var(--match);
  border: 2px solid var(--surface);
}
.watcher.on .tick { display: grid; }
button.watcher { cursor: pointer; }
button.watcher:not(.on) { border-color: var(--muted); color: var(--fg); }
button.watcher:hover { transform: scale(1.08); }
button.watcher:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.watch-count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; margin-left: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The searched title's own poster tile, beside its details */
.now.has-poster {
  --hp: clamp(140px, 17vw, 210px);
  display: grid; grid-template-columns: var(--hp) minmax(0, 1fr); gap: 18px 30px; align-items: start; padding-top: 30px;
}
.hero-poster { width: 100%; padding: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.65); border-radius: 8px; }
.hero-poster .ptitle { font-size: min(44px, calc(var(--hp) * 1.05 / var(--lw))); overflow-wrap: normal; word-break: normal; }
.now-body { min-width: 0; display: grid; gap: 4px; align-content: start; }
.now-body .meta { margin-bottom: 10px; }
.now-body h2 { margin-top: 6px; }
@media (max-width: 520px) {
  .now.has-poster { --hp: 108px; gap: 14px 16px; padding-top: 18px; }
}

/* Group icons: uploaded 500x500 image, or a coloured initials tile */
.gicon { width: var(--s); height: var(--s); border-radius: calc(var(--s) * .22); object-fit: cover; flex: none; display: block; }
.gicon-text { display: grid; place-items: center; color: #fff; font: 400 calc(var(--s) * .42)/1 var(--display); letter-spacing: .02em; }
.gcard { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; }
.gcard .gicon { grid-row: span 2; }
.g-title { display: flex; align-items: center; gap: 18px; margin: 8px 0 8px; min-width: 0; }
.g-title h1 { margin: 0; }
.switcher .menu a { display: flex; align-items: center; gap: 10px; }
.icon-row { align-items: center !important; }
.icon-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; flex: 1 1 220px; }
.icon-form .field { flex: 1 1 200px; }
.icon-form input[type=file] { padding: 9px; font-size: 13px; }
.icon-busy { display: none; color: var(--muted); font-size: 13px; align-self: center; }
.icon-form.busy .icon-busy { display: inline; }
.icon-form.busy .btn { display: none; }
.hint-s { color: var(--muted); font-size: 12px; }
.invite-card .gicon { margin-inline: auto; }
@media (max-width: 520px) { .g-title { gap: 12px; } .g-title .gicon { --s: 60px !important; width: 60px; height: 60px; } }

/* "Continue with Google" on the sign-up and sign-in pages (Google's look: white button, colour logo) */
.btn.google { display: flex; justify-content: center; align-items: center; gap: 10px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 14px; }
.btn.google:hover { background: #f2f2f2; border-color: #dadce0; box-shadow: none; }
.btn.google svg { width: 20px; height: 20px; flex: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.nav-short { display: none; }

/* The ☰ menu (everything but Find picks and My groups) */
.nav-menu { position: relative; margin-left: 4px; }
.nav-menu summary { list-style: none; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--fg); cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary:hover, .nav-menu[open] summary { background: var(--surface); }
.nav-menu summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-menu summary svg { width: 22px; height: 22px; }
.nav-menu .nav-dot { top: 6px; right: 6px; }
.nav-drop { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; min-width: 230px; display: grid; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #161212; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.nav .nav-drop a { padding: 11px 12px; border-radius: 8px; font-size: 14.5px; white-space: nowrap; }
.nav .nav-drop a:hover { background: var(--surface); }
.nav .nav-drop-me { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; }
.nav-drop-me .av { width: 34px; height: 34px; font-size: 12px; flex: none; }
.nav-drop-me b { display: block; color: #fff; font-size: 14.5px; }
.nav-drop-me small { display: block; color: var(--muted); font-size: 12px; }

/* Phones: logo, then one short row: Find picks, My groups (or Join free), ☰ */
@media (max-width: 520px) {
  .nav { width: 100%; margin-left: 0; justify-content: flex-end; gap: 2px; }
  .nav a { padding: 8px 10px; font-size: 13px; white-space: nowrap; }
  .nav > a:first-child { margin-right: auto; }
  .nav .join-free { padding: 8px 14px; font-size: 12px; letter-spacing: 0; }
}

/* "Your groups" carousel: each group as a poster tile, the same shape and size as the title
   carousels' (its icon, a mosaic of its latest posters, or its initials; GROUP up top and its
   name along the bottom like a poster's title) */
.carousel.groups { --cw: clamp(160px, 17vw, 196px); }
.group-card, a.card.group-card { text-decoration: none; grid-template-columns: minmax(0, 1fr); display: grid; background: none; border: 0; padding: 0; box-shadow: none; color: inherit; }
.group-face { aspect-ratio: 2 / 3; background: radial-gradient(120% 70% at 35% 0%, color-mix(in srgb, var(--c) 75%, #fff) 0%, transparent 60%), linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 30%, #0b0909)); }
.group-face img, .group-face .mosaic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.group-face .mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--bg); }
.group-face .mosaic span { background: center / cover no-repeat; }
.group-face .mosaic.n1 span { grid-area: 1 / 1 / 3 / 3; }
.group-face .mosaic.n2 span { grid-row: 1 / 3; }
.group-face .mosaic.n3 span:first-child { grid-row: 1 / 3; }
.group-initials { position: absolute; inset: 0; display: grid; place-items: center; font: 400 calc(var(--cw) * .42)/1 var(--display); color: rgba(255,255,255,.92); letter-spacing: .02em; }
.group-face.has-icon .group-initials, .group-face:has(.mosaic) .group-initials { display: none; }
.group-face .kind, .group-face .ptitle { z-index: 2; }
.group-face .ptitle { font-size: min(34px, calc(var(--cw) * 1.08 / var(--lw))); }
@media (max-width: 520px) { .carousel.groups { --cw: 46vw; } }

/* Phones: the invite strip is the code, Share (the phone's share sheet has WhatsApp and Discord) and Copy link */
@media (max-width: 520px) {
  .invite .wa, .invite .dc { display: none; }
  .invite .code { font-size: 20px; }
}

/* What to watch: "Remove from list" sits to the right of a row's actions; Undo bar after removing */
.acts .remove-form { margin-left: auto; }
.act.remove { color: var(--muted); background: none; }
.act.remove:hover { color: var(--gs-lo); border-color: color-mix(in srgb, var(--gs-lo) 50%, var(--line)); }
.undo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }

/* "What your friends are watching", Shudder "Best of" style: a black full-width band (the box-shadow
   paints the full width without making the page scroll sideways), a heavy wide heading and a flat
   row of same-size posters with plain white arrows over the ends. */
.rail.strip { background: #000; box-shadow: 0 0 0 100vmax #000; clip-path: inset(0 -100vmax); padding-block: 44px 34px; margin-block: 30px 18px; }
.rail.strip + .rail.strip, #out + .rail.strip { border-top: 0; }
.rail.strip .rail-head { max-width: 760px; }
.rail.strip .rail-head h2 { font: 400 clamp(28px, 4.4vw, 54px)/1.05 "Archivo Black", Impact, var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 10px 0 12px; }
.rail.strip .rail-head p { color: #ece7e5; font-size: clamp(15px, 1.5vw, 19px); }
.rail.strip .eyebrow { display: inline-block; background: #161212; border: 1px solid #2c2626; border-radius: 999px; padding: 4px 10px; }
.rail.strip .carousel { --cw: clamp(150px, 17.5vw, 228px); margin: 28px 0 0; }
.rail.strip .track { gap: 12px; padding-block: 6px 4px; -webkit-mask-image: none; mask-image: none; }
.rail.strip .track .item, .rail.strip .track .item.is-active { transform: none; opacity: 1; }
.rail.strip .track .item:not(.is-active) .card { cursor: pointer; }
.rail.strip .poster { border-radius: 2px; box-shadow: 0 10px 26px rgba(0, 0, 0, .6); }
.rail.strip .card:hover .poster, .rail.strip .card:focus-visible .poster { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(0, 0, 0, .8); }
.rail.strip .under { padding-top: 9px; gap: 2px; }
.rail.strip .under .top { display: none; }
.rail.strip .under .name { font: 700 13.5px/1.25 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail.strip .why { font-size: 12px; color: #a39b98; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail.strip .car-nav { top: 38%; width: 54px; height: 84px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .9)); }
.rail.strip .car-nav svg { width: 46px; height: 46px; }
.rail.strip .car-nav svg path { stroke-width: 1.7; }
.rail.strip .car-nav.prev { left: -6px; }
.rail.strip .car-nav.next { right: -6px; }
.rail.strip .car-dots { display: none; }
@media (max-width: 520px) {
  .rail.strip { padding-block: 34px 26px; }
  .rail.strip .rail-head h2 { font-size: 6.6vw; letter-spacing: 0; }
  .rail.strip .rail-head p { font-size: 14.5px; }
  .rail.strip .carousel { --cw: 40vw; }
  .rail.strip .car-nav { display: none; }
}

/* Group page "Up next": the top three as a podium, No. 1 big in the middle, 2 and 3 either side */
.podium-wrap { padding-top: 26px; margin-bottom: 18px; }
/* Posters are 2:3, so pushing 2 and 3 down by 1.5x the width difference lines up the poster bottoms. */
.podium {
  --side: clamp(108px, 17vw, 170px); --top: clamp(150px, 26vw, 250px);
  list-style: none; margin: 18px auto 0; padding: 0; display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 3vw, 28px);
}
.pod { width: var(--side); min-width: 0; margin-top: calc((var(--top) - var(--side)) * 1.5); }
.pod-1 { order: 2; width: var(--top); margin-top: 0; }
.pod-2 { order: 1; }
.pod-3 { order: 3; }
.pod a { display: block; color: var(--fg); text-decoration: none; text-align: center; border-radius: 8px; }
.pod a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.pod .poster { container-type: inline-size; }
.pod a:hover .poster, .pod a:focus-visible .poster { transform: translateY(-6px) scale(1.03); box-shadow: 0 24px 50px rgba(0,0,0,.7); }
.pod-1 .poster { box-shadow: 0 0 0 2px var(--brand), 0 22px 50px rgba(16, 124, 16, .28); }
.pod .ptitle { font-size: min(32px, calc(100cqi * 1.08 / var(--lw))); text-align: left; }
.pod-1 .ptitle { font-size: min(44px, calc(100cqi * 1.08 / var(--lw))); }
.pod-rank {
  position: relative; z-index: 1; align-self: flex-start; display: grid; place-items: center;
  min-width: 30px; height: 30px; padding: 3px 8px 0; border-radius: 4px;
  font: 400 22px/1 var(--display); color: #fff; background: rgba(0, 0, 0, .7);
}
.pod-1 .pod-rank { min-width: 40px; height: 40px; font-size: 30px; background: var(--brand); }
.pod-name { font-weight: 700; font-size: 14px; line-height: 1.3; margin-top: 10px; overflow-wrap: anywhere; }
.pod-1 .pod-name { font-size: 16px; }
.pod .why { margin-top: 2px; }
@media (max-width: 520px) {
  .podium { gap: 10px; --side: calc((100vw - 32px - 20px) * .3); --top: calc((100vw - 32px - 20px) * .4); }
  .pod-name { font-size: 12.5px; }
  .pod-1 .pod-name { font-size: 14px; }
  .pod .why { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) { .pod .poster { transition: none; } }

/* Sideways scrolling. Pinned rails: the wrapper is made tall by common.js and the rail
   sticks while the page scroll slides its posters across. Margins move to the wrapper. */
.pin { margin-block: 30px 18px; }
.pin > .rail.strip { margin-block: 0; }
.pin.is-pinned > * { position: sticky; }
.pin.is-pinned .track, .pin.is-pinned [data-pin-track] { scroll-snap-type: none; }
/* data-reveal: slides in from the side when it first comes on screen */
.reveal { opacity: 0; transform: translateX(-56px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal[data-reveal="right"] { transform: translateX(56px); }
.reveal.is-in { opacity: 1; transform: none; }
.chat-flow li.reveal:nth-child(2) { transition-delay: .08s; }
.chat-flow li.reveal:nth-child(3) { transition-delay: .16s; }

/* Group page What to watch: a grid of poster tiles, most watched then highest Group Score first */
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px 14px; }
.wtile { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; scroll-margin-top: 90px; }
.wtile:target { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.wt-poster { container-type: inline-size; border-radius: 0; box-shadow: none; padding: 8px; text-decoration: none; }
.wt-poster:hover, .wt-poster:focus-visible { transform: none; box-shadow: none; filter: brightness(1.08); }
.wt-poster .ptitle { margin-top: auto; font-size: min(30px, calc(100cqi * 1.02 / var(--lw))); }
.wt-poster .gs { position: absolute; z-index: 2; top: 8px; right: 8px; }
.wt-rank {
  position: relative; z-index: 1; align-self: flex-start; display: grid; place-items: center;
  min-width: 28px; height: 28px; padding: 3px 7px 0; border-radius: 4px;
  font: 400 21px/1 var(--display); color: #fff; background: rgba(0, 0, 0, .72);
}
.wtile:first-child .wt-rank { background: var(--brand); }
.wt-votes { position: relative; z-index: 1; align-self: flex-start; margin-top: 6px; font: 800 11px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; color: var(--bg); background: var(--gold); border-radius: 999px; padding: 4px 8px; }
.wt-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px 11px 12px; min-width: 0; }
.wt-body .t { font-weight: 800; font-size: 14.5px; line-height: 1.25; overflow-wrap: anywhere; }
.wt-body .m { color: var(--muted); font-size: 12px; line-height: 1.35; }
.wt-body .chips { margin-top: 0; }
.wt-body .watchers { flex-wrap: wrap; }
.wt-body form { display: contents; }
.wt-body .acts { gap: 5px; }
.wt-body .act { padding: 6px 9px; font-size: 11.5px; }
.wt-body .acts .remove-form { margin-left: 0; }
@media (max-width: 520px) {
  .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .wt-body { padding: 9px 9px 11px; }
  .wt-body .act { padding: 6px 8px; font-size: 11px; }
}

/* Members' home: a short hello above the search box, no landing copy */
.hello { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 26px; }
.hello .eyebrow { margin: 0; }
.hello-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hello + .search { padding-top: 18px; }

/* Guests' landing: the workflow in three minimal screens drawn as title tiles (2:3, like the strip posters; HTML and CSS, no images) */
.flow { padding-block: 34px 10px; }
.flow-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.flow-step { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.phone {
  /* Shaped like a title tile: a 2:3 poster the size of the strip carousels', square corners and the same drop shadow */
  position: relative; aspect-ratio: 2 / 3; overflow: hidden;
  width: min(100%, 228px);
  border-radius: 2px; background: #000; padding: 14px 12px 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .6);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 11px; line-height: 1.3; color: var(--fg); text-align: left;
}
.ph-poster { aspect-ratio: 2 / 3; border-radius: 5px; background-size: cover; flex: none; }
.ph-poster.sm { width: calc((100% - 12px) / 3); }
.ph-poster.xs { width: 30px; border-radius: 3px; }
.ph-eyebrow { font: 800 8px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.ph-search { display: flex; align-items: center; gap: 2px; padding: 8px 10px; border-bottom: 2px solid var(--brand); font: 400 19px/1 var(--display); letter-spacing: .02em; }
.ph-search i { width: 2px; height: 16px; background: var(--brand); animation: ph-blink 1s steps(1) infinite; }
@keyframes ph-blink { 50% { opacity: 0; } }
.ph-hero { display: flex; gap: 9px; align-items: flex-end; }
.ph-hero .ph-poster { width: 34%; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); }
.ph-hero-body { display: grid; gap: 5px; min-width: 0; }
.ph-hero-body b { font: 400 18px/1 var(--display); color: var(--gold); overflow-wrap: anywhere; }
.ph-btn { display: inline-flex; align-items: center; gap: 4px; justify-self: start; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); font: 700 8.5px/1 var(--body); white-space: nowrap; }
.ph-btn svg { width: 10px; height: 10px; }
.ph-btn.wa { background: #1daa61; border-color: #1daa61; color: #fff; }
.ph-row { display: flex; gap: 6px; }
.phone.chat { padding-inline: 0; padding-bottom: 0; gap: 0; }
.ph-chat-head, .ph-list-head { display: flex; align-items: center; gap: 8px; }
.ph-chat-head { padding: 0 12px 10px; border-bottom: 1px solid #1c1c1c; }
.ph-chat-head small { display: block; color: #8696a0; font-size: 8.5px; }
.ph-av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 10px/1 var(--body); flex: none; }
.ph-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 10px; }
.ph-msg { max-width: 84%; padding: 6px 8px; border-radius: 8px; font-size: 10.5px; }
.ph-msg small { display: block; font: 700 8.5px/1.4 var(--body); color: #f5a623; }
.ph-msg.in { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.ph-msg.in:last-child small { color: #53bdeb; }
.ph-msg.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.ph-preview { display: flex; gap: 7px; align-items: center; background: rgba(0, 0, 0, .22); border-radius: 6px; padding: 5px; margin-bottom: 5px; }
.ph-preview b { display: block; font-size: 10px; }
.ph-preview small { color: #8fb6ad; font-size: 8px; }
.ph-time { display: block; text-align: right; font-size: 8px; color: #8fb6ad; margin-top: 2px; }
.ph-list-head b { font: 400 18px/1 var(--display); letter-spacing: .02em; }
.ph-item { display: flex; align-items: center; gap: 8px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.ph-rank { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 3px; background: #2a2423; font: 400 13px/1 var(--display); flex: none; padding-top: 2px; }
.ph-rank.top { background: var(--brand); }
.ph-item-body { flex: 1; min-width: 0; }
.ph-item-body b { display: block; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-item-body small { color: var(--muted); font-size: 8.5px; }
.ph-item .gs { min-width: 24px; height: 20px; font-size: 10px; }
.flow-cap { display: flex; gap: 8px; align-items: baseline; width: min(100%, 228px); }
.flow-cap > b { flex: none; font: 400 24px/1 var(--display); color: var(--brand); }
.flow-cap h3 { font: 700 13.5px/1.25 var(--body); color: #fff; letter-spacing: 0; margin: 0 0 2px; }
.flow-cap p { margin: 0; color: #a39b98; font-size: 12px; line-height: 1.4; }
.flow-cap .wa-t { color: var(--wa); font-weight: 700; }
.flow-cap .dc-t { color: var(--discord); font-weight: 700; }
/* Phones: a carousel of the three screens, swiped by hand, one centred at a time, with dots */
.flow-dots { display: none; }
@media (max-width: 760px) {
  .flow { padding-block: 10px 0; }
  .flow .rail-head h2 { margin-bottom: 0; }
  .flow-steps { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; gap: 14px; margin: 6px -16px 0; padding: 24px 16px 10px; scrollbar-width: none; }
  .flow-step { gap: 12px; }
  .flow-steps::-webkit-scrollbar { display: none; }
  .flow-step { flex: 0 0 72%; scroll-snap-align: center; }
  .flow-dots { display: flex; justify-content: center; gap: 8px; padding-top: 6px; }
  .flow-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #4a4342; cursor: pointer; transition: width .2s ease, background .2s ease; }
  .flow-dots button.on { width: 26px; background: var(--brand); }
}
@media (prefers-reduced-motion: reduce) { .flow-steps { scroll-behavior: auto; } .flow-dots button { transition: none; } }
@media (prefers-reduced-motion: reduce) { .ph-search i { animation: none; } }
.ph-votes { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 7px; background: color-mix(in srgb, var(--gold) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); font-size: 9.5px; }
.ph-votes b { color: var(--gold); font: 800 8px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }

/* "Invite a friend" links (<x-invite-link>): open WhatsApp with a join message, in WhatsApp green */
.invite-link { display: inline-flex; align-items: center; gap: 5px; vertical-align: bottom; color: var(--wa); font-weight: 700; }
.invite-link svg { width: 14px; height: 14px; flex: none; }
.ph-score { margin-top: auto; display: flex; align-items: center; gap: 4px; }
.ph-score b { flex: 1; font: 800 8px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ph-score span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; border: 1px solid var(--line); font: 800 9.5px/1 var(--body); }
.ph-score span.on { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.ph-preview > div { min-width: 0; }
.ph-preview small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Titles in cream rather than white (body text, buttons and poster titles stay as they are) */
.landing h1, .rail-head h2, .g-head h2, .empty h2, .page-head h1, .auth h1, .invite-card h1, .g-top h1,
dialog.picker h2, .share-panel h2, .section-title, .tonight-sum b, .tonight-pick b,
.ph-list-head b, .ph-search { color: var(--cream); }

/* Footer's last line: the company, made in Canada, and a short disclaimer */
.foot-legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: #6f6765; }
.foot-canada { display: inline-flex; align-items: center; gap: 5px; }
.foot-canada svg { width: 13px; height: 13px; color: #d52b1e; flex: none; } /* Canada red, not the theme colour */

/* Public "Shows like X" / "Films like X" pages (titles/like) */
.like-page { padding-top: 26px; }
.like-hero { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: end; margin-bottom: 34px; }
.like-poster { width: 100%; }
.like-hero .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.like-hero .meta .pill { background: var(--gold); color: var(--bg); font: 800 11px/1 var(--body); letter-spacing: .12em; padding: 6px 9px; border-radius: 4px; }
.like-hero h1 { font: 400 clamp(42px, 6.4vw, 76px)/.95 var(--display); letter-spacing: .01em; margin: 8px 0 12px; color: var(--cream); text-wrap: balance; }
.like-overview { color: #d6cfcc; max-width: 62ch; margin: 0 0 16px; }
.like-hero .acts .btn { border-radius: 999px; letter-spacing: .02em; }
.like-rank { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 3px 7px 0; border-radius: 4px; background: rgba(0, 0, 0, .75); font: 400 19px/1 var(--display); }
.like-item-body h3 { font: 800 16px/1.25 var(--body); margin: 2px 0 4px; }
.like-item-body h3 a { color: var(--fg); text-decoration: none; }
.like-item-body h3 a:hover { text-decoration: underline; }
.like-item-body .m { color: var(--muted); font-size: 12.5px; }
.like-item-body p { color: #c9c1be; font-size: 13.5px; line-height: 1.45; margin: 8px 0; }
.like-more { font-size: 12.5px; font-weight: 700; color: var(--gold); text-decoration: none; }
.like-more:hover { text-decoration: underline; }
.like-cta { margin-top: 30px; text-align: center; }
.like-cta h2 { font: 400 34px/1 var(--display); color: var(--cream); margin: 0 0 8px; }
.like-cta p { color: var(--muted); max-width: 56ch; margin: 0 auto 14px; }
.like-cta .acts { justify-content: center; }
.like-cta .btn { border-radius: 999px; letter-spacing: .02em; }
@media (max-width: 760px) {
  .like-hero { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
  .like-hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .like-hero .acts { gap: 8px; }
  .like-hero .acts .btn { padding: 10px 14px; font-size: 11.5px; white-space: nowrap; }
  .like-hero .acts .btn svg { width: 15px; height: 15px; }
  .like-hero .wa-long { display: none; }
}
.like-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--gold); text-decoration: none; }
.like-link:hover { text-decoration: underline; }
/* Home page: plain links to the "Shows like" pages, so search engines can find them */
.like-links { padding-block: 26px 4px; }
.like-links h2 { font: 400 26px/1 var(--display); color: var(--cream); margin: 0 0 12px; }
.like-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.like-links a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; text-decoration: none; }
.like-links a:hover { color: var(--fg); border-color: var(--muted); }

/* Guest landing hero, Shudder-style: full width over a tilted, green-washed wall of posters */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  width: 100vw; margin-left: calc(50% - 50vw); min-height: clamp(560px, 86svh, 780px);
  padding: 48px 16px 56px; text-align: center; background: var(--bg);
}
.hero-wall {
  position: absolute; inset: -30% -20%; z-index: -2; display: flex; justify-content: center; gap: 16px;
  transform: rotate(-12deg);
}
.hero-col { display: flex; flex-direction: column; gap: 16px; flex: 0 0 clamp(120px, 13vw, 180px); }
.hero-col:nth-child(even) { transform: translateY(-14%); }
.hero-col span { aspect-ratio: 2 / 3; border-radius: 6px; background-size: cover; filter: grayscale(1) contrast(1.1) brightness(.75); }
/* Black and white: grey posters, darker behind the words and into the page below, so the green is the only colour */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::after { background: radial-gradient(70% 60% at 50% 45%, rgba(10, 9, 9, .7), rgba(10, 9, 9, .3) 70%), linear-gradient(180deg, rgba(15, 13, 13, .3), rgba(15, 13, 13, .1) 40%, var(--bg) 100%); }
.hero-body { max-width: 860px; }
.hero-brand { display: inline-flex; align-items: center; gap: .28em; white-space: nowrap; color: var(--brand); font: 400 clamp(20px, 3.9vw, 46px)/1 "Archivo Black", Impact, var(--display); text-transform: uppercase; letter-spacing: -.02em; word-spacing: -.1em; }
.hero-brand svg { width: 1.1em; height: 1.1em; flex: none; transform: rotate(-14deg); }
.hero-brand svg path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { font: 400 clamp(30px, 6.3vw, 66px)/1.02 "Archivo Black", Impact, var(--display); text-transform: uppercase; letter-spacing: -.01em; color: #fff; margin: 18px auto 18px; text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero p { margin: 0 auto 24px; max-width: 40ch; font-size: clamp(16px, 1.9vw, 19px); line-height: 1.4; color: #f3ecea; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.hero-cta { border-radius: 999px; background: #107c10; border-color: #107c10; letter-spacing: .02em; font-size: 14px; padding: 15px 38px; }
.hero-cta:hover { background: #139213; border-color: #139213; }
.hero-night { display: block; margin-top: 8px; color: #fff; font-weight: 700; }
.hero-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-cta-night, .hero-cta-night:hover { gap: 8px; background: var(--gold); border-color: var(--gold); color: #1d1600; }
.hero-cta-night:hover { background: #ffd34d; border-color: #ffd34d; }
.hero-code { display: block; width: max-content; margin: 14px auto 0; color: #f3ecea; font-size: 13px; font-weight: 700; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
@media (max-width: 520px) {
  .hero { padding-top: 36px; }
  .hero-brand { font-size: 5.6vw; }
  .hero h1 { font-size: clamp(28px, 9vw, 40px); }
}

/* My groups: the carousel as the page's hero, a full-width black band like the strips */
.groups-hero { background: #000; box-shadow: 0 0 0 100vmax #000; clip-path: inset(0 -100vmax); padding-block: 8px 30px; margin-bottom: 26px; }
.groups-hero .rail-head h1 { font: 400 clamp(38px, 6vw, 72px)/1 "Archivo Black", Impact, var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--cream); margin: 0; }
.groups-hero .carousel.groups { --cw: clamp(190px, 21vw, 250px); margin-bottom: 4px; }
.groups-hero-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.groups-hero-acts .btn { border-radius: 999px; letter-spacing: .02em; }
@media (max-width: 520px) { .groups-hero .carousel.groups { --cw: 58vw; } .groups-hero { padding-top: 22px; } }

/* Guest landing: "His list. Her list. Our list." A group for two as a shared list */
.couples { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px 46px; align-items: center; padding-block: 50px 20px; }
.couples h2 { font: 400 clamp(32px, 4.6vw, 54px)/1.02 "Archivo Black", Impact, var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--cream); margin: 10px 0 14px; text-wrap: balance; }
.couples h2 em { font-style: normal; color: var(--brand); }
.couples-copy p { color: #d6cfcc; font-size: 16px; line-height: 1.55; margin: 0 0 14px; max-width: 52ch; }
.couples-copy p b { color: var(--fg); }
.couples-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.couples-points li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14.5px; }
.couples-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.couples-cta { border-radius: 999px; letter-spacing: .02em; padding-inline: 28px; }
.couples-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 12px; align-items: center; background: #000; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.couples-side { display: grid; gap: 8px; min-width: 0; }
.couples-who { display: flex; align-items: center; gap: 8px; font: 800 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.couples-who .av { width: 24px; height: 24px; font-size: 11px; letter-spacing: 0; }
.couples-row { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.couples-row span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.couples-poster { flex: none; width: 30px; aspect-ratio: 2 / 3; border-radius: 4px; background-size: cover; }
.couples-poster.big { width: 100%; border-radius: 8px; box-shadow: 0 0 0 2px var(--brand), 0 18px 40px rgba(16, 124, 16, .25); }
.couples-both { display: grid; justify-items: center; gap: 6px; text-align: center; padding-inline: 4px; }
.couples-both-tag { white-space: nowrap; margin-top: 6px; font: 800 10.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--brand); border-radius: 999px; padding: 5px 10px; }
.couples-both b { font-size: 15px; }
.couples-both small { color: var(--muted); font-size: 12px; }
@media (max-width: 860px) {
  .couples { grid-template-columns: minmax(0, 1fr); padding-top: 34px; }
  .couples-board { padding: 12px; gap: 8px; }
  .couples-row { font-size: 11px; padding: 4px; gap: 6px; }
  .couples-poster { width: 24px; }
  .couples-both-tag { font-size: 9px; letter-spacing: .08em; padding-inline: 8px; }
}

/* Import from Letterboxd */
.lb-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 10px; }
.lb-panel .section-title a { color: var(--fg); }
.lb-when { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.lb-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.lb-acts .btn, .lb-form .btn { border-radius: 999px; letter-spacing: .02em; }
.lb-form { display: grid; gap: 12px; }
.lb-notes ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .lb-layout { grid-template-columns: minmax(0, 1fr); } }

/* Header: your profile as just your initials */
.nav .nav-me { padding: 4px 4px 4px 8px; display: inline-flex; align-items: center; }
.nav .nav-me .av { width: 30px; height: 30px; font-size: 11px; box-shadow: 0 0 0 2px transparent; transition: box-shadow .15s ease; }
.nav .nav-me:hover .av, .nav .nav-me[aria-current="page"] .av { box-shadow: 0 0 0 2px var(--fg); }
.nav .nav-me[aria-current="page"] { background: none; }
@media (max-width: 520px) { .nav .nav-me { padding: 2px 4px; } .nav .nav-me .av { width: 26px; height: 26px; font-size: 10px; } }

/* My profile: a quiet page to tidy your own title list */
.profile-head { display: flex; align-items: center; gap: 16px; padding-top: 26px; margin-bottom: 18px; }
.profile-av { width: 64px; height: 64px; font-size: 22px; }
.profile-head h1 { font: 400 clamp(34px, 5vw, 52px)/1 var(--display); color: var(--cream); margin: 0 0 4px; }
.profile-head .m { color: var(--muted); font-size: 14px; }
.profile-layout { display: grid; gap: 30px; }
.profile-side { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: start; }
.profile-titles .section-title { margin: 0 0 12px; }
.profile-signout-form { margin: 0; }
.profile-signout-form .btn { border-radius: 999px; }
.profile-side { display: grid; gap: 14px; }
.profile-side .panel { display: grid; gap: 12px; }
.profile-side .section-title { margin: 0; }
.profile-note { color: var(--muted); font-size: 14px; margin: 0; }
.profile-side .btn { justify-self: start; border-radius: 999px; }
.tabs .count { color: var(--muted); font-weight: 600; margin-left: 4px; }
.mylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mylist-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mylist-row .sw { width: 40px; height: 60px; border-radius: 4px; display: block; }
.mylist-body .t { display: block; color: var(--fg); font-weight: 800; font-size: 14.5px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mylist-body .t:hover { text-decoration: underline; }
.mylist-body .m { color: var(--muted); font-size: 12.5px; }
.mylist-score select { background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; font: 700 12.5px/1 var(--body); }
.mylist-row form { margin: 0; }
@media (max-width: 760px) {
  .mylist-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .mylist-row > form:last-child { grid-column: 2 / -1; justify-self: start; }
}

/* Header avatar: a red dot while a group invite waits */
.nav .nav-me { position: relative; }
.nav-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: #fff; font: 800 11px/1 var(--body); vertical-align: 1px; box-sizing: border-box; }
.group-new { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 4px 8px; border-radius: 999px; background: var(--brand); color: #fff; font: 800 11px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0, 0, 0, .45); }
.new-titles { display: flex; gap: 10px; align-items: baseline; margin: 0 0 18px; padding: 12px 16px; border: 1px solid rgba(26, 163, 26, .45); border-radius: 10px; background: rgba(16, 124, 16, .12); font-size: 14.5px; line-height: 1.5; }
.new-titles a { color: #fff; font-weight: 700; }
.new-titles .m { color: var(--muted); }
.new-titles-tag { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--brand); color: #fff; font: 800 10.5px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.nav-dot { position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--bg); }

/* Group invites from friends who found you by username (home and profile) */
.invites { display: grid; gap: 8px; margin: 18px 0 6px; }
.invite-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 10px; padding: 10px 12px; }
.invite-text { font-size: 14.5px; }
.invite-acts { display: flex; gap: 8px; }
.invite-acts form { margin: 0; }
.invite-acts .btn { border-radius: 999px; }
@media (max-width: 560px) {
  .invite-row { grid-template-columns: 40px minmax(0, 1fr); }
  .invite-acts { grid-column: 2; }
}

/* Find a friend by username */
.people { max-width: 620px; padding-top: 26px; }
.people-title { font: 400 clamp(34px, 5vw, 52px)/1 var(--display); color: var(--cream); margin: 0 0 6px; }
.people-search { display: flex; align-items: center; gap: 8px; margin: 18px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; }
.people-at { color: var(--muted); font-weight: 800; }
.people-search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--fg); font: 600 16px/1.2 var(--body); padding: 8px 0; outline: none; }
.people-search .btn { border-radius: 999px; }
.person-card { display: grid; gap: 14px; }
.person-who { display: flex; align-items: center; gap: 14px; }
.person-av { width: 52px; height: 52px; font-size: 18px; }
.person-name { font-weight: 800; font-size: 18px; }
.person-who .m { color: var(--muted); font-size: 14px; }
.person-card .btn { justify-self: start; border-radius: 999px; }
.person-groups { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.person-groups li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.person-groups form { margin: 0; }
.person-group-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-invited { color: #3ccf3c; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.person-step { margin: 4px 0 -6px; font: 400 20px/1.1 "Archivo Black", Impact, var(--display); text-transform: uppercase; color: var(--cream); }
.person-sent { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid rgba(26, 163, 26, .45); border-radius: 10px; background: rgba(16, 124, 16, .12); }
.person-sent-head { font-weight: 800; font-size: 16px; color: #fff; }
.person-sent-head span { color: #3ccf3c; margin-right: 4px; }
.person-sent p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.person-sent .btn { justify-self: start; }
.people-back { margin-top: 22px; font-size: 14px; }
.people-back a { color: var(--muted); }

/* Home (guests and members): "What did you just watch?" sitting straight on a faint, green-washed poster wall */
.search-washed { position: relative; isolation: isolate; padding-block: 56px 40px; }
.search-wash { position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; overflow: hidden; pointer-events: none; }
.search-wash .hero-wall { inset: -40% -10%; opacity: .2; }
.search-wash::before { content: ""; position: absolute; inset: 0; background: #0b5a0b; mix-blend-mode: multiply; opacity: .4; }
.search-wash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(15, 13, 13, .2) 22%, rgba(15, 13, 13, .2) 78%, var(--bg)), radial-gradient(60% 70% at 50% 50%, rgba(14, 110, 14, .12), transparent 75%); }
.search-washed label { color: #e9dcda; }
.search-washed .q-ghost, .search-washed #q { font-size: clamp(30px, 5vw, 58px); padding-block: 8px 8px; }
.search-washed #q { border-bottom-color: rgba(255, 255, 255, .28); }
.search-washed #q:focus { border-bottom-color: var(--brand); }
.search-washed #q::placeholder { color: #fff; }
.search-washed label { text-align: center; }
.search-washed .field-q { max-width: 760px; margin-inline: auto; }
.search-washed .hint { justify-content: center; }
.search-washed .home-filters { margin-inline: auto; }


/* Guests' "Start a watch group": name it, add titles, then make the account (start.blade.php, start.js) */
.start { max-width: 560px; margin: 30px auto 0; }
.start h1 { font: 400 clamp(32px, 5.6vw, 56px)/1.04 "Archivo Black", Impact, var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--cream); margin: 0 0 18px; text-align: center; text-wrap: balance; }
.start-progress { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: dot; }
.start-progress li { counter-increment: dot; display: grid; gap: 8px; font: 700 11px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }
.start-progress li::before { content: ""; height: 3px; border-radius: 2px; background: var(--line); }
.start-progress li.on { color: var(--fg); }
.start-progress li.on::before { background: var(--brand); }
.start-form:not(.is-js) .start-progress { display: none; }
.start-form:not(.is-js) .js-only { display: none; }
.start-form { display: grid; gap: 14px; }
.start-step { display: grid; gap: 14px; margin: 0; min-width: 0; }
.start-step[hidden] { display: none; }
.start-step .section-title { margin: 0; }
.start-note { margin: -6px 0 0; color: var(--muted); font-size: 14.5px; }
.start-acts { display: flex; justify-content: flex-end; gap: 10px; }
.start-acts .btn { border-radius: 999px; }
.start .btn.google { justify-content: center; }
.start .foot { color: var(--muted); font-size: 14px; text-align: center; margin: 0; }
.start-search { margin: 0; }
.start-picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.start-picks:empty { display: none; }
.start-pick { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; }
.start-poster { width: 36px; aspect-ratio: 2 / 3; border-radius: 2px; background-size: cover; }
.start-pick-t { font-weight: 800; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.start-pick-t small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.start-remove { border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 8px; cursor: pointer; }
.start-remove:hover { color: var(--fg); }

/* Short comments on a title tile in a group (groups/partials/what-to-watch, comment) */
.wt-comments { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.wt-comment { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 6px; align-items: start; }
.wt-comment .av { width: 18px; height: 18px; font-size: 7.5px; margin-top: 1px; }
.wt-comment p { margin: 0; font-size: 12px; line-height: 1.4; color: #d6cfcc; overflow-wrap: anywhere; }
.wt-comment b { color: var(--fg); }
.wt-comment time { color: var(--muted); font-size: 10.5px; white-space: nowrap; }
.wt-body form.wt-comment-del { display: block; }
.wt-comment-del button { border: 0; background: none; color: var(--muted); font-size: 15px; line-height: 1; padding: 0 2px; cursor: pointer; }
.wt-comment-del button:hover { color: var(--gs-lo); }
.wt-more summary { cursor: pointer; color: var(--muted); font-size: 11.5px; font-weight: 700; margin-bottom: 6px; }
.wt-more[open] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.wt-body form.wt-comment-form { display: flex; gap: 5px; }
.wt-comment-form input { flex: 1; min-width: 0; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font: 500 12px/1.2 var(--body); }
.wt-comment-form input:focus { outline: none; border-color: var(--brand); }
.wt-comment-form .act { flex: none; }
.wt-comments .error { color: var(--gs-lo); font-size: 11.5px; font-weight: 600; }

/* What to watch tiles: the title with a small trash can (Remove from list), and Watched it! */
.wt-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: start; }
.wt-body form.wt-trash { display: block; }
.wt-trash button { display: grid; place-items: center; width: 26px; height: 26px; margin: -3px -4px 0 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.wt-trash button:hover, .wt-trash button:focus-visible { color: var(--gs-lo); background: #2a2423; }
.wt-trash svg { width: 16px; height: 16px; }
.act.watched-it { border-color: var(--brand); color: #fff; }
.act.watched-it:hover { background: var(--brand); }
.act.watched-it.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Titles everyone in the group has watched, folded away under the grid */
.all-watched { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.all-watched summary { cursor: pointer; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.all-watched summary .count { color: var(--fg); margin-left: 4px; }
.all-watched-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.all-watched-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; }
.all-watched-list .sw { width: 34px; aspect-ratio: 2 / 3; border-radius: 3px; background-size: cover; display: block; }
.all-watched-body .t { font-weight: 800; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.all-watched-body .m { color: var(--muted); font-size: 12px; }
.all-watched-list .gs { min-width: 34px; height: 30px; font-size: 13px; }

/* From friends: the carousel first, then the full log (with each recommendation's buttons) folded under it */
.friends-log { margin-top: 18px; }
.friends-log summary { cursor: pointer; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.friends-log summary .count { color: var(--fg); margin-left: 4px; }

/* At the movies: films in cinemas now and coming soon, each with the gold popcorn (movies.js) */
.nav .nav-movies { white-space: nowrap; }
@media (max-width: 860px) { .nav .nav-movies { display: none; } }
.movies { margin-top: 30px; }
.movies .section-title { margin: 6px 0 16px; }
.movies-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 30px 18px; }
/* Each card is a column and its title takes the spare height, so the ticket stubs line up along the row whatever the title's length. */
.movie { position: relative; min-width: 0; display: flex; flex-direction: column; }
.movie-poster { display: block; aspect-ratio: 2 / 3; border-radius: 2px; background-size: cover; box-shadow: 0 10px 26px rgba(0, 0, 0, .6); transition: transform .25s ease, box-shadow .25s ease; }
.movie-poster:hover, .movie-poster:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 0, 0, .8); }
.movie-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; }
.movie-body .t { flex: 1; font: 700 14px/1.25 var(--body); color: #fff; text-decoration: none; }
.movie-body .t:hover { text-decoration: underline; }
/* One stub per card: never wider than its card (the date there is short, "Out Wed 21 Oct"). */
.movie-body .stub { max-width: 100%; box-sizing: border-box; }
.movie-body .stub span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.movie-now { font: 800 10.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* The gold popcorn: just the icon, gold, on the poster's corner (a shadow keeps it clear on light posters) */
.popcorn {
  position: absolute; top: 6px; right: 6px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  /* A see-through black disc so the gold shows up on light posters without hiding them. */
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); cursor: pointer; color: var(--gold);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  transition: transform .15s ease;
}
.popcorn svg { width: 30px; height: 30px; }
.popcorn:hover, .popcorn:focus-visible { transform: scale(1.08) rotate(-6deg); background: rgba(0, 0, 0, .72); }
.popcorn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.movies-more { margin: -6px 0 24px; text-align: center; }
.movies-more a { color: var(--gold); font-weight: 700; font-size: 14px; text-decoration: none; }
.movies-more a:hover { text-decoration: underline; }
/* The popcorn panel */
.popcorn-dialog { max-width: 440px; } /* no position here: it would override the modal's fixed position and open it at the top of the page */
.popcorn-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding-right: 26px; }
.popcorn-badge { flex: none; display: grid; place-items: center; color: var(--gold); }
.popcorn-badge svg { width: 46px; height: 46px; }
.popcorn-top h2 { margin: 0 0 4px; }
.popcorn-top p { margin: 0; }
.popcorn-groups { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 12px; margin: 0 0 14px; display: grid; gap: 8px; }
.popcorn-groups legend { padding: 0 6px; font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.popcorn-groups label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.popcorn-groups input { width: 18px; height: 18px; accent-color: var(--brand); }
.popcorn-groups .btn { justify-self: start; border-radius: 999px; }
.popcorn-send { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.popcorn-send .lbl { flex-basis: 100%; font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.popcorn-send .btn { border-radius: 999px; }
.popcorn-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.popcorn-close:hover { color: var(--fg); }
@media (max-width: 520px) { .movies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; } }
@media (prefers-reduced-motion: reduce) { .movie-poster, .popcorn { transition: none; } }

/* Verify account (Supabase): the reminder bar, the resend link on sign-in, Forgot password? */
.verify-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-left: 3px solid var(--gold); border-radius: 10px; background: var(--surface); font-size: 14px; }
.verify-bar b { color: var(--gold); }
.verify-bar .act { border-radius: 999px; }
.auth .forgot { justify-self: end; font-size: 13px; color: var(--muted); }
.auth .forgot:hover { color: var(--fg); }
.auth .resend { margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; }
.auth .resend .linkbtn { color: var(--fg); text-decoration: underline; padding: 0; font: inherit; }

/* Movie night polls (/movie-night, /n/{slug}) */
.night-head h1 { margin-bottom: 8px; }
.night-guest, .night-make, .night-share, .night-host { display: grid; gap: 14px; margin-top: 18px; }
.night-guest .btn, .night-share .btn, .night-host .btn { justify-self: start; border-radius: 999px; }
.night-guest { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.night-guest p { flex-basis: 100%; margin: 0 0 4px; }
.night-make-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.night-make .btn[type="submit"] { justify-self: start; border-radius: 999px; }
.field-label { display: block; margin-bottom: 6px; font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.night-mine { margin-top: 30px; }
.night-mine-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.night-mine-list li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.night-mine-list a { color: #fff; text-decoration: none; }
.night-mine-list .m { color: var(--muted); font-size: 13px; }
.night-name { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0 0 16px; }
.night-name .field { flex: 1 1 200px; margin: 0; }
.night-name .btn { border-radius: 999px; }
.night-as { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.night-as b { color: #fff; }
.link-btn { padding: 0; border: 0; background: none; color: var(--fg); font: inherit; text-decoration: underline; cursor: pointer; }
.night { display: grid; gap: 22px; }
.night-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.night-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.night-row.is-mine { border-color: rgba(26, 163, 26, .6); background: rgba(16, 124, 16, .1); }
.night-row.is-winner { border-color: var(--gold); background: rgba(242, 194, 48, .1); }
.night-poster { width: 54px; aspect-ratio: 2 / 3; border-radius: 2px; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.night-main { display: grid; gap: 6px; min-width: 0; }
.night-t { font-weight: 800; font-size: 15.5px; color: #fff; }
.night-t .yr { margin-left: 6px; font-weight: 500; color: var(--muted); }
.night-crown { margin-right: 4px; }
.night-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.night-bar span { display: block; height: 100%; border-radius: 4px; background: var(--brand); transition: width .4s ease; }
.is-winner .night-bar span { background: var(--gold); }
.night-who { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.night-who b { color: #fff; }
.night-acts { display: flex; align-items: center; gap: 6px; }
.night-acts form { margin: 0; }
.night-acts .btn { border-radius: 999px; white-space: nowrap; }
.night-remove { width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.night-remove:hover { color: var(--gs-lo); background: rgba(255, 255, 255, .06); }
.night-suggest .section-title { display: block; margin: 0 0 8px; }
.night-winner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--gold); border-radius: 10px; background: rgba(242, 194, 48, .12); font-size: 15px; }
.night-winner b { font-size: 20px; color: #fff; }
.night-winner .m { color: var(--muted); }
.night-winner a { margin-left: auto; color: var(--gold); font-weight: 700; text-decoration: none; }
.night-winner-tag { padding: 3px 9px; border-radius: 999px; background: var(--gold); color: #1d1600; font: 800 10.5px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.night-share-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.night-share-acts form { margin: 0; }
.night-cta { margin-top: 22px; color: var(--muted); font-size: 14px; }
.night-cta a { color: #fff; font-weight: 700; }
@media (max-width: 520px) {
  .night-make-row { grid-template-columns: 1fr; }
  .night-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 9px 10px; }
  .night-poster { width: 44px; }
  .night-acts .btn { padding-inline: 12px; }
  .night-remove { width: 24px; }
}
/* /movie-night: the poster-wall hero, an example poll over its foot, short steps, idea chips and folded FAQs */
.night-hero { min-height: clamp(480px, 74svh, 680px); padding-bottom: 110px; }
.night-hero h1 { margin-top: 0; }
.night-eyebrow { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--gold); font: 800 12px/1 var(--body); letter-spacing: .18em; text-shadow: none; }
.night-eyebrow svg, .hero-cta-night svg { width: 18px; height: 18px; flex: none; }
.night-demo { position: relative; z-index: 2; max-width: 560px; margin: -90px auto 0; padding: 18px; background: #111; border: 1px solid #2a2626; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.night-demo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.night-demo-head b { font: 400 26px/1 var(--display); letter-spacing: .02em; color: var(--cream); }
.night-live { display: inline-flex; align-items: center; gap: 7px; color: #ff5a5a; font: 800 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.night-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 4px rgba(255, 59, 59, .2); animation: night-pulse 1.6s ease-in-out infinite; }
@keyframes night-pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 59, 59, 0); } }
.night-demo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.night-demo li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; background: #1a1717; }
.night-demo li.is-lead { background: rgba(242, 194, 48, .12); outline: 1px solid rgba(242, 194, 48, .45); }
.night-demo-poster { width: 44px; aspect-ratio: 2 / 3; border-radius: 3px; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.night-demo-t b { display: block; font-weight: 800; color: #fff; }
.night-demo-t small { color: var(--muted); font-size: 12px; }
.night-demo-bar { display: block; height: 6px; margin-top: 6px; border-radius: 9px; background: #2a2626; overflow: hidden; }
.night-demo-bar i { display: block; height: 100%; border-radius: 9px; background: var(--gold); }
.night-demo-v { min-width: 32px; text-align: center; font: 400 32px/1 var(--display); color: var(--gold); }
.night-demo-voters { display: flex; align-items: center; margin-top: 12px; }
.night-demo-voters span { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -8px; border: 2px solid #111; border-radius: 50%; color: #fff; font: 800 11px/1 var(--body); }
.night-demo-voters span:first-child { margin-left: 0; }
.night-demo-voters small { margin-left: 8px; color: var(--muted); font-size: 13px; }
.night-steps { list-style: none; margin: 56px auto 0; padding: 0; max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; }
.night-steps li { display: grid; justify-items: center; align-content: start; gap: 8px; }
.night-steps i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: #1d1600; font: 400 30px/1 var(--display); font-style: normal; }
.night-steps b { font: 400 24px/1 var(--display); letter-spacing: .03em; color: var(--cream); }
.night-steps small { max-width: 22ch; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.night-mine, .night-guest, .night-make { max-width: 760px; margin-inline: auto; }
.night-mine { margin-top: 48px; }
.night-guest, .night-make { margin-top: 40px; }
#nightMake { scroll-margin-top: 90px; }
.night-h2 { margin: 0 0 16px; font: 400 clamp(26px, 4vw, 40px)/1 "Archivo Black", Impact, var(--display); text-transform: uppercase; color: var(--cream); text-align: center; }
.night-ideas { max-width: 900px; margin: 56px auto 0; text-align: center; }
.night-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.night-chips a { padding: 10px 16px; border: 1px solid #2a2626; border-radius: 999px; background: #1a1717; color: #fff; font-weight: 700; white-space: nowrap; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.night-chips a:hover { border-color: var(--gold); background: rgba(242, 194, 48, .1); }
.night-chips a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.night-ideas-more { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.night-ideas-more a { color: #fff; font-weight: 700; }
.night-faq { display: grid; gap: 6px; max-width: 760px; margin: 56px auto 20px; }
.night-faq details { background: #1c1818; border-radius: 6px; }
.night-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 700; }
.night-faq summary::-webkit-details-marker { display: none; }
.night-faq summary::after { content: "+"; flex: none; font: 300 28px/1 var(--body); }
.night-faq details[open] summary::after { content: "−"; }
.night-faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.55; }
@media (max-width: 600px) {
  .night-hero { padding-bottom: 90px; }
  .night-demo { margin-top: -70px; padding: 14px; }
  .night-steps { grid-template-columns: 1fr; gap: 22px; margin-top: 44px; }
  .night-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .night-chips::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .night-live::before { animation: none; } }

/* Play trailer: a see-through disc over posters (<x-trailer>), and the player (common.js playTrailer) */
.trailer-disc { position: absolute; z-index: 3; top: 6px; left: 6px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); color: #fff; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.trailer-disc svg { width: 24px; height: 24px; margin-left: 2px; }
.trailer-disc:hover, .trailer-disc:focus-visible { transform: scale(1.08); background: rgba(0, 0, 0, .75); }
.trailer-disc:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wtile { position: relative; }
.wtile .trailer-disc { top: 46px; left: 8px; width: 34px; height: 34px; }
.wtile .trailer-disc svg { width: 20px; height: 20px; }
[data-trailer] svg { flex: none; }
.btn[data-trailer] { display: inline-flex; align-items: center; gap: 6px; }
.btn[data-trailer] svg { width: 18px; height: 18px; }
.trailer-dialog { width: min(960px, 94vw); max-width: none; padding: 0; border: 0; border-radius: 10px; background: #000; color: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.trailer-dialog::backdrop { background: rgba(0, 0, 0, .82); }
.trailer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; }
.trailer-t { font-weight: 800; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trailer-close { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.trailer-close:hover { background: rgba(255, 255, 255, .2); }
.trailer-frame { aspect-ratio: 16 / 9; background: #000; }
.trailer-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.trailer-yt { display: block; padding: 10px 16px 12px; color: var(--muted); font-size: 13px; text-align: right; }
.trailer-yt:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .trailer-disc { transition: none; } }
.act[data-trailer] svg { width: 17px; height: 17px; margin: -2px 0; }
/* Your polls (movie nights hub), the host bar and My groups' panel */
.night-mine { margin-top: 22px; }
.night-mine-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.night-mine-head .section-title { margin: 0; }
.night-mine-head .btn { border-radius: 999px; }
.night-mine-sub { margin: 18px 0 8px; font: 800 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.night-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.night-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.night-card.is-closed { opacity: .85; }
.night-card-main { flex: 1; min-width: 0; display: grid; gap: 3px; color: #fff; text-decoration: none; }
.night-card-main b { font-size: 16px; }
.night-card-main .m { color: var(--muted); font-size: 13px; }
.night-card .btn { flex: none; border-radius: 999px; }
.night-status { justify-self: start; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); font: 800 10px/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.night-status.open { background: rgba(16, 124, 16, .25); color: #3ccf3c; }
.night-card-win { color: var(--gold); font-weight: 800; font-size: 13.5px; }
.night-hostbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; padding: 12px 14px; border: 1px solid rgba(242, 194, 48, .45); border-radius: 10px; background: rgba(242, 194, 48, .07); }
.night-hostbar form { margin: 0; }
.night-hostbar .btn { border-radius: 999px; }
.night-hostbar-tag { margin-right: 4px; color: var(--gold); font: 800 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.night-hostbar-all { margin-left: auto; color: #fff; font-weight: 700; font-size: 13.5px; }
.night-hostnote { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.groups-nights { display: grid; gap: 10px; }
.groups-nights .section-title { margin: 0; }
.groups-nights .btn { justify-self: start; border-radius: 999px; }
.groups-night { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: #fff; text-decoration: none; }
.groups-night:hover { border-color: var(--gold); }
.groups-night .m { color: var(--muted); font-size: 12.5px; }
@media (max-width: 520px) { .night-hostbar-all { margin-left: 0; flex-basis: 100%; } }
.track .item { position: relative; }
.track .item > .popcorn { top: 10px; right: 10px; }

/* Guest home: the movie night poll section (home/movie-night), the example poll beside the copy */
.home-night .night-demo { margin: 0; max-width: none; }
.home-night h2 em { color: var(--gold); }
.home-night .couples-points li::before { color: var(--gold); }
@media (min-width: 861px) { .home-night { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 860px) { .home-night > .couples-copy { order: -1; } }

/* Guest hero with the search in it (home/hero + home/search): the wall is clipped by its own
   wrapper so the suggestions can drop out of the hero over the page below. */
.hero.has-search { overflow: visible; z-index: 5; }
.hero-clip { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-search { width: 100%; max-width: 760px; margin: 4px auto 22px; padding: 18px 20px 12px; text-align: left; background: rgba(10, 9, 9, .55); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.hero-search label { margin-bottom: 8px; color: var(--gold); text-shadow: none; }
.hero-search .q-ghost, .hero-search #q { font-size: clamp(30px, 5vw, 52px); }
.hero-search .list { z-index: 20; text-align: left; }
.hero-search .hint, .hero-search .home-filters { text-shadow: none; }
.hero.has-search p { margin-bottom: 18px; }
@media (max-width: 520px) {
  .hero-search { padding: 14px 14px 10px; }
}

/* Under the home page's picks: save them for a group, or vote on them (home.js saveBox) */
.save-picks { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 18px 0 8px; padding: 18px 20px; border: 1px solid rgba(242, 194, 48, .45); border-radius: 14px; background: linear-gradient(120deg, rgba(16, 124, 16, .14), rgba(242, 194, 48, .1)); }
.save-picks-t { display: grid; gap: 4px; max-width: 52ch; }
.save-picks-t b { font: 400 28px/1 var(--display); letter-spacing: .02em; color: var(--cream); }
.save-picks-t span { color: #d6cfcc; font-size: 15px; line-height: 1.45; }
.save-picks-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.save-picks-acts .btn { border-radius: 999px; }
.save-picks-acts .btn svg { width: 18px; height: 18px; }

/* A closed poll: "Same crew next time?" start a watch group with its shortlist */
.night-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 18px; border-color: rgba(16, 124, 16, .55); background: rgba(16, 124, 16, .1); }
.night-next .section-title { margin: 0 0 6px; }
.night-next .profile-note { margin: 0; max-width: 56ch; }
.night-next .btn { border-radius: 999px; }

/* Films/Shows like pages: vote on the list, or save it for a group */
.like-vote .btn, .like-cta .btn { border-radius: 999px; }
.like-vote .btn svg, .like-cta .btn svg { width: 18px; height: 18px; flex: none; }

/* Film news (<x-news-ticker>, IndieWire): one row of tiles to swipe through, arrows on wider screens */
.news { margin-top: 34px; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.news .news-head h2 { margin: 2px 0 0; font: 400 clamp(28px, 4vw, 40px)/1 var(--display); color: #e2001a; } /* Empire magazine red: the user asked for it */
.news-arrows { display: flex; gap: 8px; }
.news-arrow { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.news-arrow svg { width: 18px; height: 18px; }
.news-arrow:hover { border-color: #fff; }
.news-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.news-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26vw, 290px); gap: 14px; list-style: none; margin: 0; padding: 2px 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
.news-row::-webkit-scrollbar { display: none; }
.news-tile { scroll-snap-align: start; }
.news-tile a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: #fff; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.news-tile a:hover { border-color: var(--gold); transform: translateY(-2px); }
.news-tile a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.news-pic { display: block; aspect-ratio: 16 / 9; }
.news-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.news-body b { flex: 1; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-body small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 640px) {
  .news-arrows { display: none; }
  .news-row { grid-auto-columns: 72%; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .news-row { scroll-behavior: auto; } .news-tile a { transition: none; } }

/* Cinema listings pages (/uk-cinemas): jump links, month headings, genres under each title */
.cinema-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cinema-jump a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.cinema-jump a:hover { border-color: var(--gold); color: var(--gold); }
.cinema-month { margin: 26px 0 12px; font: 400 26px/1 var(--display); letter-spacing: .02em; color: var(--gold); scroll-margin-top: 90px; }
.movies[id] { scroll-margin-top: 90px; }
.movie-genres { color: var(--muted); font-size: 12px; }
.cinema-faq { margin-top: 40px; }

/* Films/Shows like pages: the centred pick's write-up under the carousel (common.js [data-rail-detail]) */
.like-detail { display: grid; gap: 12px; max-width: 760px; margin: 4px auto 0; }
.like-detail .like-item-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.like-detail.is-js .like-item-body { animation: like-in .25s ease; }
.like-detail .like-rank { min-width: 34px; height: 34px; font-size: 24px; background: var(--brand); }
.like-detail-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.like-detail-acts .act svg { width: 15px; height: 15px; }
.like-vote { margin: 18px 0 0; text-align: center; }
@keyframes like-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .like-detail.is-js .like-item-body { animation: none; } }
.like-detail .like-item-body[hidden] { display: none; }

/* Cinema pages: the "Invite a friend" callout explaining the gold popcorn (partials/popcorn-invite) */
.pop-invite { display: flex; align-items: center; gap: 16px; max-width: 640px; margin-top: 16px; padding: 14px 18px; border: 1px solid rgba(242, 194, 48, .55); border-radius: 14px; background: rgba(242, 194, 48, .08); }
.pop-invite-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: var(--gold); box-shadow: 0 0 0 2px rgba(242, 194, 48, .6); animation: pop-wiggle 2.6s ease-in-out infinite; }
.pop-invite-icon svg { width: 32px; height: 32px; }
.pop-invite b { display: block; font: 400 24px/1 var(--display); letter-spacing: .02em; color: var(--gold); }
.pop-invite p { margin: 4px 0 0; color: #ddd5d2; font-size: 14.5px; line-height: 1.45; }
.pop-invite i { font-style: normal; color: #fff; font-weight: 700; }
@keyframes pop-wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .pop-invite-icon { animation: none; } }
@media (max-width: 520px) { .pop-invite { gap: 12px; padding: 12px 14px; } .pop-invite-icon { width: 48px; height: 48px; } .pop-invite-icon svg { width: 27px; height: 27px; } }

/* /vote: enter the code from the screen */
.night-join { max-width: 520px; margin: 0 auto; padding-block: clamp(40px, 10vw, 100px) 40px; text-align: center; }
.night-join-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: var(--gold); box-shadow: 0 0 0 2px rgba(242, 194, 48, .6); }
.night-join-icon svg { width: 40px; height: 40px; }
.night-join h1 { margin: 18px 0 8px; font: 400 clamp(36px, 7vw, 56px)/1 "Archivo Black", Impact, var(--display); text-transform: uppercase; color: var(--cream); }
.night-join p { color: #ddd5d2; }
.night-join-form { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.night-join-form input { width: 12ch; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: #fff; font: 400 32px/1 var(--display); letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.night-join-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.night-join-form .btn { border-radius: 999px; }

/* "Show on screen" (/n/{slug}/present): QR, code and live results, big enough for a whiteboard */
.present { padding-block: 24px 40px; }
.present-join { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.present-qr { width: clamp(200px, 30vw, 340px); height: auto; padding: 14px; border-radius: 16px; background: #fff; }
.present-how h1 { margin: 6px 0 14px; font: 400 clamp(34px, 5vw, 64px)/1 "Archivo Black", Impact, var(--display); text-transform: uppercase; color: var(--cream); overflow-wrap: anywhere; }
.present-step, .present-or { margin: 0; color: #ddd5d2; font-size: clamp(17px, 2.2vw, 24px); }
.present-or b { color: #fff; }
.present-code { margin: 8px 0 0; font: 400 clamp(56px, 9vw, 120px)/1 var(--display); letter-spacing: .08em; color: var(--gold); }
.present-results { margin-top: clamp(24px, 4vw, 40px); }
.present-total { margin: 0 0 10px; color: var(--muted); font-size: 18px; }
.present-total b { color: #fff; font-size: 26px; }
.present-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.present-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--surface); }
.present-list li.is-winner { outline: 2px solid var(--gold); background: rgba(242, 194, 48, .12); }
.present-poster { width: 54px; aspect-ratio: 2 / 3; border-radius: 4px; }
.present-main b { display: block; font-size: clamp(18px, 2.2vw, 26px); color: #fff; }
.present-bar { height: 12px; margin-top: 8px; border-radius: 9px; background: #2a2626; overflow: hidden; }
.present-bar span { display: block; height: 100%; border-radius: 9px; background: var(--gold); transition: width .6s ease; }
.present-count { min-width: 56px; text-align: center; font: 400 clamp(36px, 4vw, 54px)/1 var(--display); color: var(--gold); }
.present-host { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.present-host form { margin: 0; }
.present-host .btn { border-radius: 999px; }
@media (max-width: 640px) { .present-join { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .present-bar span { transition: none; } }
.night-share-code { display: flex; align-items: center; gap: 16px; margin: 4px 0 6px; }
.night-share-code img { flex: none; width: 120px; height: 120px; padding: 8px; border-radius: 10px; background: #fff; }
.night-share-code span { display: block; color: var(--muted); font-size: 14px; }
.night-share-code span b { color: #fff; }
.night-share-codeval { display: block; margin: 4px 0 10px; font: 400 40px/1 var(--display); letter-spacing: .08em; color: var(--gold); }
.night-share-code .btn { border-radius: 999px; }

/* /classroom-movie-vote: the teachers' page */
.class-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding-block: clamp(32px, 6vw, 64px) 10px; }
.class-hero h1 { margin: 10px 0 14px; font: 400 clamp(36px, 5.6vw, 64px)/1.02 "Archivo Black", Impact, var(--display); text-transform: uppercase; color: var(--cream); text-wrap: balance; }
.class-hero p { margin: 0 0 22px; max-width: 44ch; color: #ddd5d2; font-size: 17px; line-height: 1.5; }
.class-hero .btn { border-radius: 999px; padding: 14px 28px; }
.class-hero .btn svg { width: 18px; height: 18px; }
.class-board { padding: 14px; border-radius: 18px; background: #000; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.class-board .night-demo { margin: 0; max-width: none; box-shadow: none; }
.class-board-join { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; background: #111; }
.class-board-join small { display: block; color: var(--muted); font-size: 12px; }
.class-board-join b { font: 400 34px/1 var(--display); letter-spacing: .08em; color: var(--gold); }
.class-board-qr { flex: none; width: 72px; height: 72px; padding: 4px; border-radius: 6px; background: #fff; }
.class-board-qr svg { display: block; width: 100%; height: 100%; }
@media (max-width: 760px) { .class-hero { grid-template-columns: 1fr; } }
