:root {
  --bg: #0f172a;
  --panel: #1e293b;
  --panel-2: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #f43f5e;
  --accent-2: #0ea5e9;
  --good: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: #0f172a; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background: radial-gradient(circle at top, #1e293b 0%, #0f172a 70%) no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.app { max-width: 560px; margin: 0 auto; padding: 20px 16px 32px; min-height: 100vh; }
a { color: inherit; }

.site-footer {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  border-top: 1px solid var(--panel-2);
}
.tmdb-credit { display: inline-flex; opacity: .85; transition: opacity .15s; }
.tmdb-credit:hover { opacity: 1; }
.tmdb-logo { width: 96px; height: auto; display: block; }
.tmdb-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: .75em;
  line-height: 1.4;
  max-width: 40ch;
}
.footer-meta { margin: 4px 0 0; font-size: .75em; color: var(--muted); }
.footer-meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-meta a:hover { color: var(--text); }

.legal { color: var(--text); line-height: 1.55; }
.legal h1 { font-size: 1.6em; margin: 8px 0 16px; }
.legal h2 { font-size: 1.1em; margin: 24px 0 8px; }
.legal h3 { font-size: 1em; margin: 18px 0 6px; color: var(--muted); font-weight: 600; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }

h1, h2 { margin: 0 0 12px; }

.muted { color: var(--muted); }
.hidden { display: none !important; }
.error {
  background: rgba(239, 68, 68, .15);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel-2); color: var(--text);
  border: none; border-radius: 999px;
  padding: 10px 18px; font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); }
.btn.small { padding: 6px 12px; font-size: .9em; }
.btn.round {
  width: 64px; height: 64px; border-radius: 50%;
  font-size: 24px;
}
.btn.round.like { background: var(--good); }
.btn.round.pass { background: var(--danger); color: white; }

/* ---------- Home ---------- */
.hero { padding: 36px 0 8px; }
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  text-align: center;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.accent-word {
  background: linear-gradient(120deg, #f43f5e 0%, #fb923c 60%, #f59e0b 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-style: italic;
}
.tagline {
  text-align: center; color: var(--text);
  margin: 0 auto 10px; max-width: 32ch;
  font-size: 1.1em; line-height: 1.45;
}
.trust-line {
  text-align: center; color: var(--muted);
  margin: 0 0 36px; font-size: .85em; letter-spacing: .04em;
}

.primary-cta { padding: 22px 22px 26px; }
.primary-cta label { font-size: .95em; }
.btn.primary.big {
  width: 100%; padding: 14px 20px;
  font-size: 1.05em; font-weight: 700; letter-spacing: .01em;
  background: linear-gradient(135deg, var(--accent) 0%, #fb7185 100%);
  box-shadow: 0 6px 20px rgba(244, 63, 94, .25);
}
.btn.primary.big:active { transform: scale(.98); }

.join-toggle { margin: 18px 0 6px; font-size: .92em; }
.join-toggle a { color: var(--muted); text-decoration: none; border-bottom: 1px dashed var(--panel-2); padding-bottom: 1px; }
.join-toggle a:hover { color: var(--text); border-bottom-color: var(--text); }
.join-form { margin-top: 8px; }

.how-it-works { margin-top: 32px; padding: 18px 18px 6px; background: var(--panel); border-radius: var(--radius); }
.how-it-works h2 { font-size: 1em; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.how-it-works .steps { margin: 0; padding: 0 0 8px 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.how-it-works .steps li {
  counter-increment: step;
  padding-left: 36px; position: relative;
  color: var(--muted); font-size: .95em; line-height: 1.45;
}
.how-it-works .steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .8em; font-weight: 700;
}
.how-it-works .steps strong { color: var(--text); }

.faq { margin-top: 20px; padding: 18px 18px 6px; background: var(--panel); border-radius: var(--radius); }
.faq h2 { font-size: 1em; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.faq h3 { font-size: .95em; color: var(--text); font-weight: 600; margin: 14px 0 4px; }
.faq h3:first-of-type { margin-top: 0; }
.faq p { color: var(--muted); font-size: .9em; line-height: 1.45; margin: 0 0 4px; }
.faq a { color: var(--text); border-bottom: 1px dashed var(--panel-2); text-decoration: none; }
.faq a:hover { border-bottom-color: var(--text); }
.card-form {
  background: var(--panel);
  padding: 18px 18px 22px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  display: grid; gap: 12px;
}
.card-form label { display: grid; gap: 6px; color: var(--muted); font-size: .9em; }

.kind-toggle { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.kind-toggle legend { padding: 0; color: var(--muted); font-size: .9em; }
.kind-toggle .kind-option { display: flex; align-items: center; gap: 0; cursor: pointer; }
.kind-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kind-toggle legend { grid-column: 1 / -1; }
.kind-toggle .kind-option {
  position: relative;
  background: #0b1220; border: 1px solid var(--panel-2); border-radius: 10px;
  padding: 10px 12px; color: var(--muted); font-weight: 600;
  text-align: center; transition: border-color .15s, color .15s, background .15s;
}
.kind-toggle .kind-option input { position: absolute; opacity: 0; pointer-events: none; }
.kind-toggle .kind-option span { display: block; width: 100%; text-align: center; }
.kind-toggle .kind-option:has(input:checked) {
  border-color: var(--accent); color: var(--text); background: rgba(99,102,241,.08);
}

.card-form input, select, .filter-form input, .filter-form select {
  background: #0b1220; color: var(--text);
  border: 1px solid var(--panel-2); border-radius: 10px;
  padding: 10px 12px; font: inherit;
}
.divider { text-align: center; color: var(--muted); margin: 14px 0; }

/* ---------- Group header / filters ---------- */
.group-header { margin-bottom: 18px; }
.group-code code {
  background: var(--panel); padding: 2px 10px; border-radius: 8px;
  letter-spacing: .2em; font-weight: 700;
}
.invite { display: flex; gap: 8px; margin-top: 8px; }
.invite input { flex: 1; background: var(--panel); color: var(--muted); border: 1px solid var(--panel-2); border-radius: 10px; padding: 8px 10px; font-size: .9em; }

.filter-form fieldset {
  background: var(--panel); border: 1px solid var(--panel-2);
  border-radius: var(--radius); padding: 14px 16px; margin: 0 0 14px;
}
.filter-form legend { padding: 0 6px; color: var(--muted); font-size: .85em; text-transform: uppercase; letter-spacing: .08em; }

.info-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  margin-left: 6px; padding: 0;
  border: 1px solid var(--panel-2); border-radius: 50%;
  background: transparent; color: var(--muted);
  font: inherit; font-size: .75em; line-height: 1;
  cursor: pointer; vertical-align: middle;
  text-transform: none; letter-spacing: 0;
}
.info-btn:hover, .info-btn:focus { color: var(--text); border-color: var(--text); outline: none; }

.info-popover {
  margin: 0 0 10px;
  background: var(--panel-2); border: 1px solid var(--panel-2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .85em; line-height: 1.4;
  color: var(--text);
}
.info-popover[hidden] { display: none; }
.info-popover dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.info-popover dt { font-weight: 700; color: var(--accent); }
.info-popover dd { margin: 0; color: var(--muted); }
.filter-form .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-form .row label { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .9em; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--panel-2); border-radius: 999px;
  padding: 6px 12px; font-size: .85em; cursor: pointer;
  user-select: none;
}
.chip input { display: none; }
.chip:has(input:checked) { background: var(--accent); color: white; }

/* ---------- Swipe ---------- */
.swipe { display: flex; flex-direction: column; gap: 14px; min-height: 90vh; }
.swipe-header {
  display: flex; align-items: center;
  gap: 8px; flex-wrap: wrap;
}
.swipe-header > .pill.code { margin-right: auto; }
button.pill { border: 0; cursor: pointer; font: inherit; font-size: .9em; }
.share-ico { opacity: .7; }
.pill {
  background: var(--panel); color: var(--muted);
  padding: 4px 12px; border-radius: 999px; font-size: .9em;
}
.pill.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--text); }
.pill.host { background: #2a4365; color: #c6dcff; }
.pill.status-lobby { background: #3a3a1e; color: #f0e7a0; }
.pill.status-swiping { background: #1f3a2a; color: #a8e0b9; }
.pill.status-finished { background: #3a1f2a; color: #e0a8bc; }

.code-large { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; font-size: 1.1em; padding: 2px 10px; background: var(--panel); border-radius: 6px; }
.code-mono  { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.center-text { text-align: center; }

.past-groups-section { margin-top: 28px; }
.past-groups-section h3 { margin: 0 0 10px; font-size: 1em; color: var(--muted); font-weight: 600; }
.past-groups { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.past-group .past-group-form {
  display: grid; gap: 8px;
  padding: 12px; border-radius: 10px; background: var(--panel);
}
.past-group-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.past-group-body { display: grid; gap: 2px; }
.small { font-size: .85em; }

.filter-toggle-row { display: flex; justify-content: center; }
.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--panel-2);
  font-weight: 500;
}
.btn.ghost:hover { color: var(--text); border-color: var(--text); }

.filter-summary[hidden] { display: none !important; }
.filter-summary {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-size: .85em; line-height: 1.3;
  padding: 6px 10px; border-radius: 8px;
  background: var(--panel);
}
.filter-summary-text { flex: 1 1 auto; }
.filter-edit { flex: 0 0 auto; color: var(--accent); text-decoration: none; font-weight: 600; }
.filter-edit:hover { text-decoration: underline; }

.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 16px; }

.deck {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 24px;
}
.deck-center { flex: 0 1 360px; min-width: 0; display: flex; justify-content: center; }
.deck-action {
  flex: 0 0 auto;
}
@media (hover: none) and (pointer: coarse), (max-width: 699px) {
  .deck-action { display: none; }
}
.card {
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
  width: 100%; max-width: 360px;
  height: clamp(660px, 88svh, 840px);
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
  touch-action: pan-y;
  user-select: none;
  transition: transform .22s ease-out;
  will-change: transform;
  position: relative;
  z-index: 1;
}
.deck-center { position: relative; }
.card.back-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 0;
  transition: none;
  pointer-events: none;
}
.card[data-dir="like"] { box-shadow: 0 0 0 3px var(--good), 0 10px 40px rgba(0,0,0,.4); }
.card[data-dir="pass"] { box-shadow: 0 0 0 3px var(--danger), 0 10px 40px rgba(0,0,0,.4); }

.card.fly-left  { transform: translateX(-120vw) rotate(-30deg) !important; }
.card.fly-right { transform: translateX( 120vw) rotate( 30deg) !important; }

.poster {
  aspect-ratio: 2 / 3;
  max-height: 50svh;
  width: auto; max-width: 100%;
  margin: 0 auto;
  background: #000 center / contain no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.no-poster {
  color: var(--muted); padding: 20px; text-align: center; font-weight: 600;
}
.card .meta {
  padding: 14px 16px 18px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 8px;
}
.card .meta h2 { font-size: 1.15rem; margin: 0; }
.card .meta .sub { color: var(--muted); font-size: .9em; margin: 0; }
.card .meta .ratings {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center;
  margin: 0;
}
.card .overview {
  color: var(--muted); font-size: .9em; line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
          line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rating {
  font-size: .75em; font-weight: 700; letter-spacing: .03em;
  padding: 3px 8px; border-radius: 6px; background: var(--panel-2);
}
.rating.imdb { background: #f5c518; color: #111; }
.rating.rt   { background: #fa320a; color: white; }
.rating.mc   { background: #00ce7a; color: #111; }
.score {
  display: inline-block;
  font-size: .72em; font-weight: 700; letter-spacing: .03em;
  padding: 3px 8px; border-radius: 6px;
  margin-left: 4px;
}
.score.s1 { background: #3a3a1e; color: #f0e7a0; }   /* mild — yellow */
.score.s2 { background: #4a2a1a; color: #ffb98a; }   /* moderate — orange */
.score.s3 { background: #5a1a1a; color: #ffc9c9; }   /* severe — red */

/* Content score rows: label + 3 dots, vertically stacked */
.content-scores {
  margin: 4px auto 0;
  display: grid; gap: 4px;
  width: 100%; max-width: 220px;
}
.cs-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85em;
  gap: 12px;
}
.cs-label { color: var(--muted); }
.cs-dots { display: inline-flex; gap: 4px; flex: 0 0 auto; }
.cs-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--panel-2);
  box-sizing: border-box;
}
.cs-dot.filled.s1 { background: #f0e7a0; border-color: #f0e7a0; }
.cs-dot.filled.s2 { background: #ffb98a; border-color: #ffb98a; }
.cs-dot.filled.s3 { background: #ffc9c9; border-color: #ffc9c9; }

.score-grid { display: grid; gap: 14px; margin-top: 8px; }
.score-row {
  display: grid;
  grid-template-columns: minmax(90px, max-content) 1fr 5.5em;
  align-items: center;
  gap: 12px;
}
.score-label { color: var(--muted); font-size: .9em; white-space: nowrap; }
.score-value {
  color: var(--text); font-size: .85em; text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/*
 * Native <input type="range"> styling.
 * The thumb is centered on the value's position along the track,
 * so to make it sit flush with the track edges at min/max, the
 * INPUT element extends a half-thumb-width past each side of the
 * visible track. The visible track is drawn on the input's own
 * background but inset by that same amount via padding.
 */
.score-slider {
  --thumb: 22px;
  --track-h: 6px;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: var(--thumb);
  background: transparent;
  outline: none; padding: 0; margin: 0;
  cursor: pointer;
}
/* Track */
.score-slider::-webkit-slider-runnable-track {
  height: var(--track-h);
  background: var(--panel-2);
  border-radius: 999px;
}
.score-slider::-moz-range-track {
  height: var(--track-h);
  background: var(--panel-2);
  border-radius: 999px;
  border: none;
}
/* Thumb */
.score-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: var(--thumb); height: var(--thumb); border-radius: 50%;
  background: var(--accent); border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  margin-top: calc((var(--track-h) - var(--thumb)) / 2);
}
.score-slider::-moz-range-thumb {
  width: var(--thumb); height: var(--thumb); border-radius: 50%;
  background: var(--accent); border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}


.empty { text-align: center; padding: 60px 20px; }
.loader { color: var(--muted); padding: 40px; text-align: center; }

/* ---------- Likes ---------- */
.likes-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.legend.all     { color: var(--good); }
.legend.partial { color: var(--warn); }

.likes-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.like-item {
  display: flex; gap: 12px;
  background: var(--panel); border-radius: var(--radius);
  padding: 10px; border: 1px solid var(--panel-2);
}
.like-item.all     { border-color: var(--good); }
.like-item.partial { border-color: var(--warn); }

.thumb {
  width: 60px; height: 90px;
  border-radius: 8px; background: #000 center / cover no-repeat;
  flex: 0 0 auto;
}
.like-item .info { flex: 1; min-width: 0; }
.like-item .title-row { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.like-item .sub { color: var(--muted); font-size: .85em; margin: 2px 0 4px; }
.like-item .ratings.small { display: flex; gap: 4px; flex-wrap: wrap; }
.external-links {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px; font-size: .8em;
}
.ext-btn {
  display: inline-flex; align-items: center;
  padding: 5px 11px; border-radius: 999px;
  background: var(--panel-2); color: var(--text);
  text-decoration: none; font-weight: 600; line-height: 1;
  transition: background .15s ease, transform .08s ease;
}
.ext-btn:hover { background: #475569; }
.ext-btn:active { transform: scale(.96); }
.ext-btn.jellyfin {
  background: linear-gradient(135deg, #aa5cc3 0%, #00a4dc 100%);
  color: #fff;
}
.ext-btn.jellyfin:hover { filter: brightness(1.12); }

.badge {
  font-size: .7em; font-weight: 700; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.badge.all     { background: var(--good); color: white; }
.badge.partial { background: var(--warn); color: #111; }

/* ---------- Waiting ---------- */
.waiting { text-align: center; padding: 40px 20px; }
.spinner {
  width: 36px; height: 36px; margin: 24px auto;
  border: 4px solid var(--panel-2); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Desktop swipe widening ---------- */
@media (min-width: 700px) and (hover: hover) {
  main.app:has(.swipe) { max-width: 720px; }
  .deck-center { flex-basis: 520px; }
  .card {
    max-width: 520px;
    height: clamp(700px, 90svh, 900px);
  }
  .card .poster {
    max-height: clamp(400px, 62svh, 620px);
  }
  /* Split meta into two columns: info left, content scores right */
  .card .meta {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title  scores"
      "sub    scores"
      "ratings scores"
      "extras scores"
      "overview overview";
    align-items: start;
    text-align: left;
  }
  .card .meta h2          { grid-area: title; }
  .card .meta .sub        { grid-area: sub; }
  .card .meta .ratings    { grid-area: ratings; justify-content: flex-start; }
  .card .meta .card-extras { grid-area: extras; justify-content: flex-start; }
  .card .meta .content-scores { grid-area: scores; margin: 0; max-width: none; align-self: center; }
  .card .meta .overview   { grid-area: overview; }
}

/* ---------- Providers / trailer extras ---------- */
.card-extras {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap; margin-top: 6px;
}
.provider-logo { width: 24px; height: 24px; border-radius: 6px; display: block; }
.provider-name { font-size: .75em; color: var(--muted); }
.trailer-link {
  font-size: .85em; color: var(--accent-2); text-decoration: none;
  font-weight: 600; margin-left: 4px;
}
.trailer-link:hover { text-decoration: underline; }
.like-item .providers { display: flex; gap: 4px; flex-wrap: wrap; margin: 2px 0 4px; }
.like-item .providers:empty { display: none; }
.like-item .providers .provider-logo { width: 20px; height: 20px; }

/* ---------- Likes header / settings / progress / winner ---------- */
.likes-header { justify-content: flex-start; gap: 8px; }
.likes-header h1 { margin-right: auto; }

.likes-settings {
  display: grid; gap: 8px;
  background: var(--panel); border: 1px solid var(--panel-2);
  border-radius: var(--radius); padding: 12px; margin-bottom: 10px;
}
.likes-settings label { font-size: .85em; color: var(--muted); font-weight: 600; }
.likes-settings-row { display: flex; gap: 8px; }
.likes-settings-row input,
.likes-settings select {
  flex: 1; min-width: 0; font: inherit;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--panel-2); border-radius: 8px; padding: 8px 10px;
}
.likes-settings p { margin: 0; }

.progress { font-size: .85em; margin: 4px 0; }
.progress:empty { display: none; }
.progress-member { white-space: nowrap; }
.progress-done { color: var(--good); font-weight: 600; }

.winner {
  background: linear-gradient(135deg, rgba(34, 197, 94, .18), var(--panel));
  border: 1px solid var(--good); border-radius: var(--radius);
  padding: 12px; margin: 10px 0;
}
.winner-inner { display: flex; gap: 12px; align-items: center; }
.winner-poster { width: 60px; height: 90px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.winner-label {
  text-transform: uppercase; font-size: .7em; letter-spacing: .1em;
  color: var(--good); font-weight: 700;
}
.winner-title { font-size: 1.15em; }

/* ---------- Undo / done screen ---------- */
.undo-row { display: flex; justify-content: center; min-height: 32px; }
.empty .btn { margin: 6px 4px 0; }
.empty #extend-msg { margin-top: 10px; }
