/* Per-surface styling: deck, reel, result card, search, followed, drawer, settings. */

/* ══ deck header ════════════════════════════════════════════════════════════════ */
.shelf-head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.tally {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.tally-bar {
  position: relative;
  width: 9px;
  min-height: 2px;
  background: var(--accent);
  border-radius: 1px 1px 0 0;
  opacity: 0.85;
}

.tally-bar.zero {
  background: var(--well-line);
  height: 2px;
}

/* ── tonight's ledger ─────────────────────────────────────────────────── */
.ledger {
  border-bottom: 1px solid var(--well-line);
  padding: var(--sp-3) var(--sp-4);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}

.ledger-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}

.ledger-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-top: 1px dashed var(--well-line);
}

.ledger-title {
  font-family: var(--font-marker);
  font-size: var(--step-1);
  color: var(--label);
}

.ledger-ep {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  color: var(--osd-dim);
}

.ledger-foot {
  margin-top: var(--sp-2);
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--osd-dim);
}

/* ── the roll footer ──────────────────────────────────────────────────── */
.roll-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  justify-content: center;
}

.pickers {
  display: flex;
  gap: var(--sp-1);
}

/* ══ the reel — the tape window of the deck ═══════════════════════════════ */
.reel-stage {
  display: grid;
  place-items: center;
  height: 100%;
  gap: var(--sp-5);
  padding: var(--sp-5);
  align-content: center;
}

.reel-window {
  position: relative;
  width: 100%;
  height: 196px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #050403, var(--shell-lo) 40%, #050403);
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.95),
    inset 0 0 0 1px var(--well-line);
  overflow: hidden;
}

/* The strip. Nothing may wrap this in a filter or blend — see vhs.css. */
.reel-track {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px; /* GAP, matching roller.js */
  transform: translate3d(0, -50%, 0);
  will-change: transform;
}

.reel-card {
  position: relative;
  flex: 0 0 auto;
  width: 152px;
  height: 152px;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: linear-gradient(170deg, var(--label) 0, var(--label-edge) 100%);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.reel-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 13px;
}

/* The poster fills the card; the label sits on a scrim over it, so a long title stays
   readable against a bright still. */
.reel-card-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-card.has-poster .reel-card-body {
  color: var(--label);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0,
    rgba(0, 0, 0, 0.15) 38%,
    rgba(0, 0, 0, 0.82) 100%
  );
  justify-content: flex-end;
}

.reel-card.has-poster .reel-card-kind {
  position: absolute;
  top: 12px;
  left: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.reel-card.has-poster .reel-card-foot {
  color: rgba(255, 255, 255, 0.7);
}

.reel-card-kind {
  font-family: var(--font-osd);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.reel-card-title {
  font-family: var(--font-marker);
  font-size: 19px;
  line-height: 1.12;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.reel-card-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-osd);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* Scenery for a strip with nothing to show — an offline filler request, or a picked
   series with no episode list. A shelf of blank spines is a true statement about what
   the app knows; sixty-four copies of the answer was not. See buildStrip in roller.js. */
.reel-card.is-blank {
  background: linear-gradient(170deg, var(--shell-hi) 0, var(--shell-lo) 100%);
  color: var(--osd-dim);
  box-shadow: inset 0 0 0 1px var(--well-line);
}

.reel-card.is-blank .reel-card-kind,
.reel-card.is-blank .reel-card-foot {
  color: color-mix(in srgb, var(--osd-dim) 55%, transparent);
}

/* the ruled patch a hand-written label would have gone on */
.reel-card.is-blank::after {
  content: "";
  position: absolute;
  inset: 34px 18px 40px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    180deg,
    color-mix(in srgb, var(--osd-dim) 16%, transparent) 0 1px,
    transparent 1px 15px
  );
}

.reel-card.won {
  background: linear-gradient(170deg, var(--accent-lit), var(--accent));
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 34px var(--accent);
}

.reel-card.won .reel-card-kind,
.reel-card.won .reel-card-foot {
  color: color-mix(in srgb, var(--accent-ink) 70%, transparent);
}

/* the card taking the hit, at the instant the strip stops on it */
[data-motion="on"] .reel-card.won {
  animation: card-land 620ms cubic-bezier(0.2, 0.8, 0.3, 1) 1;
}

@keyframes card-land {
  0% { transform: scale(1); }
  20% { transform: scale(1.14); }
  56% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

/* ── the window at speed, and the window at the moment it lands ─────────── */

/* Above ~1.7 px/ms the strip is unreadable anyway, so the head backs off and the
   whole window blooms — the reel looks like it is working. */
.reel-window.hot {
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.95),
    inset 0 0 0 1px var(--well-line),
    0 0 30px -6px var(--accent);
}

.reel-window.hot .reel-needle {
  opacity: 0.4;
}

.reel-window .reel-needle {
  transition: opacity 140ms linear;
}

.reel-window.struck .reel-needle {
  width: 3px;
  box-shadow: 0 0 34px var(--accent-lit), 0 0 10px #fff;
}

/* the head, dead centre */
.reel-needle {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--accent-lit);
  box-shadow: 0 0 14px var(--accent), 0 0 3px var(--accent-lit);
  z-index: 3;
}

.reel-needle::before,
.reel-needle::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 7px solid transparent;
  transform: translateX(-50%);
}

.reel-needle::before {
  top: 0;
  border-top-color: var(--accent-lit);
}

.reel-needle::after {
  bottom: 0;
  border-bottom-color: var(--accent-lit);
}

/* scratched plastic pane. Plain alpha gradients only — a mix-blend-mode here would
   pull the whole reel subtree into one raster layer. */
.reel-pane {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.07) 0 12%, transparent 26%),
    linear-gradient(255deg, rgba(255, 255, 255, 0.05) 0 9%, transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.4));
}

/* the two reel hubs, one at each edge */
.reel-hub {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  border-radius: 50%;
  border: 3px solid var(--label-edge);
  background: radial-gradient(circle, var(--shell) 34%, transparent 36%);
  opacity: 0.5;
  z-index: 2;
}

.reel-hub.left { left: 14px; }
.reel-hub.right { right: 14px; }

.reel-hub::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}

[data-motion="on"] .reel-hub.spin::after {
  animation: hub-spin 0.5s linear infinite;
}

@keyframes hub-spin {
  to { transform: rotate(360deg); }
}

/* ══ result card ══════════════════════════════════════════════════════════ */
.result {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-6);
  align-items: start;
}

/* Fixed footprint whether or not a poster ever arrives — the card must never shift. */
.result-poster {
  width: 210px;
  height: 300px;
  border-radius: var(--r-sm);
  background: var(--shell-lo);
  box-shadow: inset 0 0 0 1px var(--well-line), 0 6px 18px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.result-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-poster-blank {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  color: var(--osd-dim);
  text-align: center;
  padding: var(--sp-4);
}

.result-label {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  border-radius: var(--r-sm);
  background: linear-gradient(168deg, var(--label), var(--label-edge));
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.result-stamp {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.result-title {
  font-family: var(--font-marker);
  font-size: var(--step-4);
  line-height: 1.05;
  color: var(--accent);
}

.result-ep {
  font-family: var(--font-osd);
  font-size: var(--step-1);
  letter-spacing: 0.06em;
  color: var(--ink);
}

/* the pre-printed fields, filled in by hand */
.result-fields {
  margin-top: auto;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--sp-2) var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}

.result-fields dt {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  align-self: center;
}

.result-fields dd {
  font-family: var(--font-marker);
  font-size: var(--step-1);
  color: var(--ink);
}

.result-keys {
  grid-column: 1 / -1;
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  padding-top: var(--sp-2);
}

.appear-in {
  animation: appear-fade var(--t-fade) ease-out 1;
}

@keyframes appear-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ══ the cinema layer ═════════════════════════════════════════════════════
   Letterbox, vignette, flash and shockwaves, shared by every picker. See cinema.js.

   All four planes live in one absolutely-positioned sibling overlay. Nothing in here
   may become an ancestor of `.reel-track` or of anything with `preserve-3d`, and
   nothing in here uses `mix-blend-mode` — both would pull the picker it is sitting on
   top of into a single raster layer. Plain opacity only. */
.cine {
  position: relative;
  overflow: hidden;
}

.cine-fx {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.cine-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--cine-bar);
  background: #000;
  box-shadow: 0 0 18px 6px #000;
  transform: scaleY(0);
  will-change: transform;
}

.cine-bar.top {
  top: 0;
  transform-origin: top;
}

.cine-bar.bottom {
  bottom: 0;
  transform-origin: bottom;
}

/* the room going dark around whatever is centre-frame */
.cine-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    circle at 50% 34%,
    rgba(0, 0, 0, 0) 6%,
    rgba(0, 0, 0, 0.55) 40%,
    #000 82%
  );
}

.cine-flash {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #fff;
}

.cine-ring {
  position: absolute;
  border: 6px solid var(--accent-lit);
  border-radius: 50%;
  opacity: 0;
}

/* ══ coin ═════════════════════════════════════════════════════════════════ */
.coin-stage {
  display: grid;
  place-items: center;
  gap: var(--sp-4);
  height: 100%;
  align-content: center;
  padding: var(--sp-5);
}

/* the two contenders, named before the toss and settled after it */
.coin-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  max-width: 640px;
}

.coin-name {
  font-family: var(--font-label);
  font-size: var(--step-1);
  line-height: 1.15;
  text-align: center;
  max-width: 15ch;
  color: var(--osd-dim);
  transition: color 260ms ease-out, opacity 260ms ease-out;
}

.coin-name.chosen {
  color: var(--accent-lit);
  text-shadow: 0 0 20px var(--accent);
}

.coin-name.beaten {
  opacity: 0.35;
  text-decoration: line-through;
}

.coin-vs {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--osd-dim);
}

/* the coin's own patch of floor. Fixed size, so the arc has somewhere to happen. */
.coin-pit {
  position: relative;
  display: grid;
  place-items: center;
  width: 280px;
  height: 300px;
}

.coin-shadow {
  position: absolute;
  bottom: 34px;
  width: 156px;
  height: 22px;
  border-radius: 50%;
  opacity: 0.55;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 72%);
}

/* Transform and blur live here; the 3-D lives one level down, so the filter never
   touches the element carrying `preserve-3d`. */
.coin-lift {
  will-change: transform, filter;
}

.coin {
  width: 190px;
  height: 190px;
  perspective: 900px;
  /* Read by the faces (which sit at ±half this in Z) and by every edge segment, so the
     coin's thickness is one number rather than three that can drift apart. */
  --coin-thick: 14px;
}

.coin-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── the strike ───────────────────────────────────────────────────────────
   A coin is not a circle with a word on it. What makes the eye call something
   coinage is relief: a raised rim, beading inside it, a turned field, and a legend
   sunk into the metal. Each of those is one layer below, stacked inside the face.

   The metal itself is a conic gradient, not a linear one. A linear gradient across a
   disc reads as a painted circle; a conic sweep with unevenly spaced stops is how a
   struck surface actually catches light, and it is the single change that does the
   most work here. --coin-* comes from the tape stock, so brass, steel and old bronze
   are the same coin in three metals. */
.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(calc(var(--coin-thick, 14px) / 2));
  background: conic-gradient(
    from 208deg,
    var(--coin-hi) 0deg,
    var(--coin-mid) 26deg,
    var(--coin-hi) 62deg,
    var(--coin-lo) 96deg,
    var(--coin-mid) 132deg,
    var(--coin-hi) 168deg,
    var(--coin-lo) 206deg,
    var(--coin-mid) 244deg,
    var(--coin-hi) 286deg,
    var(--coin-lo) 322deg,
    var(--coin-hi) 360deg
  );
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.45),
    0 10px 26px rgba(0, 0, 0, 0.6);
  transition: box-shadow 260ms ease-out;
}

.coin-face.back {
  transform: rotateY(180deg) translateZ(calc(var(--coin-thick, 14px) / 2));
}

/* the raised border, and the groove just inside it */
.coin-rim {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--coin-hi) 55%, transparent);
  box-shadow:
    inset 0 0 0 2px color-mix(in srgb, var(--coin-lo) 70%, transparent),
    0 0 0 1px color-mix(in srgb, var(--coin-lo) 55%, transparent);
  transition: border-color 260ms ease-out;
}

/* dentils. A repeating conic gradient masked to a thin annulus is a ring of teeth for
   the cost of one paint. */
.coin-beads {
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    color-mix(in srgb, var(--coin-lo) 85%, transparent) 0deg 1.8deg,
    transparent 1.8deg 5deg
  );
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 6px), #000 calc(50% - 6px));
  mask: radial-gradient(circle, transparent calc(50% - 6px), #000 calc(50% - 6px));
  opacity: 0.75;
}

/* The turned field, and the calm medallion in the middle of it.
   The conic gradient's stops all converge at the centre, which is a starburst exactly
   where the title has to be read. The first layer here is a flat mid-tone disc that puts
   that back down, so the engraving sits on even metal. */
.coin-field {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--coin-mid) 92%, transparent) 0 36%,
      color-mix(in srgb, var(--coin-mid) 40%, transparent) 44%,
      transparent 52%
    ),
    repeating-radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--coin-lo) 30%, transparent) 0 1px,
      transparent 1px 7px
    ),
    radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--coin-hi) 60%, transparent), transparent 70%);
  opacity: 0.7;
}

.coin-legend {
  position: absolute;
  inset: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--coin-ink);
}

/* Sunk, not printed: a dark edge above and a light one below is the whole trick of
   engraved lettering, and it survives the bloom overlay in a way flat ink does not. */
.coin-issuer,
.coin-date {
  font-family: var(--font-osd);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.72;
  text-shadow: 0 1px 0 color-mix(in srgb, var(--coin-hi) 80%, transparent);
}

.coin-struck {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.12;
  max-width: 10ch;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-shadow:
    0 -1px 0 color-mix(in srgb, var(--coin-lo) 75%, transparent),
    0 1px 0 color-mix(in srgb, var(--coin-hi) 90%, transparent);
}

/* the specular travelling across the face — light moving, not a gradient sitting still */
.coin-sheen {
  position: absolute;
  inset: -30%;
  background: linear-gradient(
    114deg,
    transparent 34%,
    rgba(255, 255, 255, 0.5) 46%,
    rgba(255, 255, 255, 0.08) 53%,
    transparent 64%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

[data-motion="on"] .coin-sheen {
  animation: coin-sheen 2.6s linear infinite;
}

@keyframes coin-sheen {
  from { transform: translateX(-38%); }
  to { transform: translateX(38%); }
}

/* Ignition, kept off the middle. The old winner face flooded with accent and swallowed
   the name it existed to show; this lights the rim and leaves the device in metal. */
.coin-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 42%,
    color-mix(in srgb, var(--accent) 55%, transparent) 88%,
    color-mix(in srgb, var(--accent-lit) 70%, transparent) 100%
  );
  transition: opacity 300ms ease-out;
}

/* ── the milled edge ───────────────────────────────────────────────────────
   Forty planes stood on end around the rim. Without them the coin vanishes twice per
   turn, which is what a zero-thickness disc does and what a coin never does. */
.coin-edge {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

.coin-edge i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: var(--coin-thick, 14px);
  background:
    repeating-linear-gradient(
      90deg,
      color-mix(in srgb, var(--coin-lo) 60%, transparent) 0 1px,
      transparent 1px 3px
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--coin-hi) calc(var(--lit, 0.5) * 80%), var(--coin-lo)),
      var(--coin-lo) 52%,
      color-mix(in srgb, var(--coin-mid) calc(var(--lit, 0.5) * 60%), var(--coin-lo))
    );
}

/* at the top of the arc it is the only lit thing left in the room */
.coin-lift.hanging .coin-face {
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.45),
    0 0 46px var(--accent-lit),
    0 10px 26px rgba(0, 0, 0, 0.6);
}

.coin-lift.hanging .coin-rim {
  border-color: color-mix(in srgb, var(--accent-lit) 70%, var(--coin-hi));
}

.coin.won .coin-face {
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.4),
    0 0 40px var(--accent);
}

.coin.won .coin-face.front .coin-glow {
  opacity: 1;
}

.coin.won .coin-face.front .coin-rim {
  border-color: var(--accent-lit);
}

.coin-verdict {
  font-family: var(--font-osd);
  font-size: var(--step-1);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-lit);
  padding: var(--sp-2) var(--sp-4);
  border: 2px solid var(--accent);
  border-radius: var(--r-sm);
  transform: rotate(-3deg);
}

.coin-verdict:empty {
  opacity: 0;
  border-color: transparent;
}

/* ══ marble race ══════════════════════════════════════════════════════════ */
.race-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  padding: var(--sp-4);
  gap: var(--sp-3);
}

/* The race fills its stage edge to edge, unlike the coin and the reel, so it is the one
   picker that has to be told the bars are coming. */
.race-stage.cine {
  padding-top: calc(var(--cine-bar) + var(--sp-2));
  padding-bottom: calc(var(--cine-bar) + var(--sp-2));
}

.race-lanes {
  display: flex;
  gap: var(--sp-5);
  justify-content: center;
  font-family: var(--font-osd);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.race-lane-tag {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* The same glyph the marble carries. Colour alone was the only cue, and the course is
   drawn in the accent too — see GLYPH in marble.js. */
.race-lane-tag i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.race-lane-tag i b {
  font-family: var(--font-osd);
  font-size: 9px;
  font-weight: 700;
  color: var(--room);
}

.race-canvas {
  width: 100%;
  height: 100%;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #050403, var(--shell-lo));
  box-shadow: inset 0 0 0 1px var(--well-line);
}

/* ══ episode drawer ═══════════════════════════════════════════════════════ */
.drawer {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  background: var(--well);
}

/* The drawer's own header is gone — it uses `surface()` like everything else now. The
   one thing worth keeping is that a show's name is set in the marker hand rather than
   the OSD face, because it is a name and not a label. */
.surface-title {
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.surface-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.season {
  border-bottom: 1px solid var(--well-line);
}

.season-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-osd);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--osd);
  text-align: left;
}

.season-head:hover {
  background: rgba(255, 255, 255, 0.04);
}

.season-caret {
  color: var(--accent-lit);
  transition: transform 140ms;
}

.season[open] .season-caret {
  transform: rotate(90deg);
}

.ep {
  display: grid;
  grid-template-columns: 66px 1fr auto auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-6);
  border-top: 1px dashed var(--well-line);
}

.ep-code {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  color: var(--osd-dim);
}

.ep-name {
  font-family: var(--font-label);
  color: var(--label);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-meta {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  color: var(--osd-dim);
}

.ep.is-next {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 3px 0 0 var(--accent-lit);
}

.ep.is-watched .ep-name {
  color: var(--osd-dim);
  text-decoration: line-through;
}

.ep.is-special .ep-code {
  color: var(--warn);
}

/* ══ settings ═════════════════════════════════════════════════════════════ */
.settings {
  padding: var(--sp-5);
  display: grid;
  gap: var(--sp-5);
  max-width: 760px;
}

.set-group {
  display: grid;
  gap: var(--sp-3);
}

.set-legend {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--osd-dim);
  border-bottom: 1px solid var(--well-line);
  padding-bottom: var(--sp-2);
}

.stocks {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.stock {
  width: 128px;
  padding: var(--sp-3);
  border-radius: var(--r-sm);
  border: 1px solid var(--well-line);
  display: grid;
  gap: var(--sp-2);
  text-align: left;
}

.stock:hover {
  border-color: var(--ink-soft);
}

.stock[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.stock-swatch {
  height: 34px;
  border-radius: 2px;
  display: flex;
  overflow: hidden;
}

.stock-swatch i {
  flex: 1;
}

.stock-name {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--osd);
}

.accents {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.accent-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.accent-dot[aria-pressed="true"] {
  border-color: var(--label);
}

.credit {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  color: var(--osd-dim);
  line-height: 1.8;
}

.credit a {
  color: var(--accent-lit);
}

/* ══ shared small pieces ══════════════════════════════════════════════════ */
.empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-6);
  text-align: center;
}

.empty-line {
  font-family: var(--font-osd);
  font-size: var(--step-1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--osd);
}

.quiet-line {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--osd-dim);
}

.warn-line {
  color: var(--warn);
}

.toast {
  position: absolute;
  left: 50%;
  bottom: var(--sp-5);
  transform: translateX(-50%);
  z-index: 40;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm);
  background: var(--shell-lo);
  border: 1px solid var(--well-line);
  font-family: var(--font-osd);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  color: var(--osd);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6);
}

/* ══ the deck's three choices ═════════════════════════════════════════════ */
.chooser {
  display: grid;
  gap: var(--sp-5);
  padding: var(--sp-5);
  align-content: start;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.mode {
  display: grid;
  gap: 2px;
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border: 1px solid var(--well-line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 120ms, background 120ms;
}

.mode:hover {
  border-color: var(--ink-soft);
}

.mode[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.mode-name {
  font-family: var(--font-osd);
  font-size: var(--step-0);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--osd);
}

.mode-hint {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  color: var(--osd-dim);
}

/* ══ watch buttons — the point of the whole app ═══════════════════════════ */
.watch-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding-top: var(--sp-2);
}

.watch-label {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--osd-dim);
}

.watch-buttons {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.watch {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-2);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-lit);
  font-family: var(--font-osd);
  font-size: var(--step-0);
  letter-spacing: 0.06em;
  transition: background 120ms, transform var(--t-key);
}

.watch:hover {
  background: color-mix(in srgb, var(--accent) 34%, transparent);
}

.watch:active {
  transform: translateY(2px);
}

.watch-name {
  font-weight: 600;
}

.watch-kind {
  font-size: var(--step--2);
  color: var(--osd-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* things that cost money are visibly quieter */
.watch-paid {
  border-color: var(--well-line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--osd-dim);
}

.watch-paid:hover {
  background: rgba(0, 0, 0, 0.4);
  color: var(--osd);
}

/* ══ search ═══════════════════════════════════════════════════════════════ */
.search {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-5);
  max-width: 720px;
}

.search-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-osd);
  font-size: var(--step-1);
  color: var(--osd);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--well-line);
  border-radius: var(--r-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
}

.search-results {
  display: grid;
  gap: var(--sp-2);
}

.search-hit,
.follow-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2);
  border-top: 1px dashed var(--well-line);
}

.search-poster,
.follow-poster {
  flex: 0 0 auto;
  width: 46px;
  height: 66px;
  border-radius: 2px;
  background: var(--shell-lo);
  overflow: hidden;
}

.search-poster img,
.follow-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-title,
.follow-title {
  font-family: var(--font-marker);
  font-size: var(--step-1);
  color: var(--label);
}

/* ══ followed ═════════════════════════════════════════════════════════════ */
.follow-list {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4);
}

.follow-next {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  color: var(--accent-lit);
}

/* ══ the rarity reveal ════════════════════════════════════════════════════
   Staged by reveal.js, graded by Rust. Each tier is one custom property — every rule
   below reads `--rar`, so adding a rung is a colour and a row in `TIERS`, not a
   parallel set of selectors. */
.reveal-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  overflow: hidden;
  --rar: var(--accent-lit);
  --rar-deep: var(--accent);
}

.reveal-stage[data-rarity="rare"] {
  --rar: #6fb9e8;
  --rar-deep: #2f6f9c;
}

.reveal-stage[data-rarity="epic"] {
  --rar: #b98ae8;
  --rar-deep: #6a3fa0;
}

.reveal-stage[data-rarity="legendary"] {
  --rar: #f0bd52;
  --rar-deep: #b8791d;
}

.reveal-stage[data-rarity="transcendent"] {
  --rar: #fff4d0;
  --rar-deep: #e8873f;
}

/* the flood */
.reveal-sky {
  position: absolute;
  inset: -20%;
  opacity: 0;
  /* Tight on purpose. A wash that reaches the corners is not a bloom, it is a colour
     filter over the whole app, and the title stops being readable through it. */
  background: radial-gradient(
    circle at 50% 52%,
    var(--rar) 0%,
    var(--rar-deep) 13%,
    rgba(0, 0, 0, 0) 44%
  );
}

/* the fan. One conic gradient, turned by a transform — no per-ray elements. */
.reveal-rays {
  position: absolute;
  width: 190vmax;
  height: 190vmax;
  opacity: 0.32;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 6deg,
    var(--rar) 6deg 8deg,
    transparent 8deg 22deg,
    var(--rar) 22deg 23deg,
    transparent 23deg 44deg
  );
  mask-image: radial-gradient(circle, #000 12%, transparent 62%);
}

[data-motion="on"] .reveal-rays.turning {
  animation: rays-turn 22s linear infinite;
}

@keyframes rays-turn {
  to { transform: rotate(360deg); }
}

.reveal-motes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reveal-mote {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: var(--rar);
  box-shadow: 0 0 10px var(--rar);
}

.reveal-plate {
  position: relative;
  z-index: 5;
  /* Whatever the tier floods the well with, the name still has to be legible on it. */
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.92), 0 0 4px rgba(0, 0, 0, 0.8);
  display: grid;
  justify-items: center;
  gap: var(--sp-3);
  padding: 0 var(--sp-5);
  text-align: center;
}

.reveal-tier {
  font-family: var(--font-osd);
  font-size: var(--step-3);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rar);
  text-shadow: 0 0 26px var(--rar), 0 0 60px var(--rar-deep);
  opacity: 0;
}

.reveal-meta {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  color: var(--osd);
  opacity: 0;
}

.reveal-title {
  font-family: var(--font-marker);
  font-size: var(--step-4);
  line-height: 1.05;
  color: var(--label);
  max-width: 20ch;
  opacity: 0;
}

/* ── the badge the card keeps afterwards ──────────────────────────────────
   The reveal is spent in three seconds; this is what is left of it, and it is what
   reduced motion gets instead of the whole sequence. */
.rarity-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 2px var(--sp-2);
  border-radius: var(--r-sm);
  border: 1px solid currentColor;
}

.rarity-badge[data-rarity="rare"] { color: #2f6f9c; }
.rarity-badge[data-rarity="epic"] { color: #6a3fa0; }
.rarity-badge[data-rarity="legendary"] { color: #b8791d; }
.rarity-badge[data-rarity="transcendent"] {
  color: var(--accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* ══ the card table — pick two, then let them fight ═══════════════════════
   Only the coin and the race show this. See surfaces/chooser.js. */
.table-stage {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-5);
  align-content: start;
}

.table-head {
  display: grid;
  justify-items: center;
  gap: var(--sp-1);
  text-align: center;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: var(--sp-3);
  align-content: start;
}

.table-card {
  position: relative;
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-2);
  text-align: left;
  border-radius: var(--r-sm);
  border: 1px solid var(--well-line);
  background: var(--shell-lo);
  color: var(--label);
  cursor: pointer;
  transition: border-color var(--t-key) ease-out, transform var(--t-key) ease-out;
}

.table-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.table-card.chosen {
  border-color: var(--accent-lit);
  box-shadow: 0 0 0 1px var(--accent-lit), 0 0 22px -6px var(--accent);
}

/* Fixed footprint, so a poster arriving late never moves a card under a finger. */
.table-art {
  aspect-ratio: 2 / 3;
  border-radius: 2px;
  background: var(--well);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.table-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table-name {
  font-family: var(--font-marker);
  font-size: var(--step-0);
  line-height: 1.1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.table-meta {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  color: var(--osd-dim);
}

/* which slot it took — 1 or 2, matching the versus line below */
.table-pin {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-osd);
  font-size: var(--step--2);
  background: var(--accent);
  color: var(--accent-ink);
}

.table-foot {
  display: grid;
  justify-items: center;
  gap: var(--sp-3);
}

.table-versus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.table-slot {
  font-family: var(--font-label);
  font-size: var(--step-1);
  color: var(--osd-dim);
  opacity: 0.55;
  max-width: 20ch;
  text-align: center;
}

.table-slot.filled {
  color: var(--accent-lit);
  opacity: 1;
}

/* ══ the deck, laid out ═══════════════════════════════════════════════════
   Three stacked bands and a large dead zone before the footer is what "empty and vain"
   looked like: the choices floated at the top, the button was exiled to the bottom edge,
   and the whole middle of the window did nothing.

   Now it is two columns. The left is what you are choosing; the right is what you have
   chosen, the button that acts on it, and the night around it. The button sits directly
   under a plain-language summary of what it will do, which is the one adjacency the old
   layout could not have. */
.deck-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--sp-5);
  padding: var(--sp-5);
  align-items: start;
}

/* Under ~880px the aside stops being a column and becomes a header, so the button is
   still the first thing reachable rather than the last. */
@media (max-width: 880px) {
  .deck-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .deck-aside {
    order: -1;
  }
}

.deck-routes {
  display: grid;
  gap: var(--sp-5);
  align-content: start;
}

.deck-aside {
  display: grid;
  gap: var(--sp-4);
  align-content: start;
}

/* the hand-written label on the spine of tonight's tape */
.tonight-card {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: linear-gradient(168deg, var(--shell-hi), var(--shell-lo));
  box-shadow: inset 0 0 0 1px var(--well-line), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.tonight-label {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--osd-dim);
}

.tonight-line {
  font-family: var(--font-marker);
  font-size: var(--step-3);
  line-height: 1;
  color: var(--label);
}

.tonight-sub {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--osd-dim);
  margin-bottom: var(--sp-2);
}

.tonight-card .key-big {
  width: 100%;
  justify-content: center;
}

.tonight-count {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--osd-dim);
}

.aside-block {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--well-line);
}

.aside-legend {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--osd-dim);
}

.aside-block .tally {
  height: 34px;
  gap: 5px;
}

.aside-block .tally-bar {
  width: 100%;
}

/* In the grid the ledger is a panel like its neighbours, not a full-width band. */
.deck-routes .ledger {
  border-bottom: 0;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--well-line);
}

/* ══ held back ════════════════════════════════════════════════════════════
   What a rejection is keeping out of the draw, and the way back out of it.
   See surfaces/held.js. */
.held-list {
  display: grid;
  gap: var(--sp-1);
}

.held-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2);
  border-top: 1px dashed var(--well-line);
}

.held-title {
  font-family: var(--font-marker);
  font-size: var(--step-1);
  color: var(--label);
}

.held-meta {
  min-width: 0;
}

/* ══ history ══════════════════════════════════════════════════════════════ */
.history-night {
  padding: var(--sp-4) var(--sp-5) var(--sp-2);
}

.history-head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--well-line);
}

.history-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px dashed var(--well-line);
}

.history-mark {
  flex: 0 0 auto;
  width: 12px;
  font-family: var(--font-osd);
  color: var(--osd-dim);
}

.history-row.is-logged .history-mark {
  color: var(--accent-lit);
}

.history-meta {
  min-width: 0;
}

.history-title {
  font-family: var(--font-label);
  font-size: var(--step-0);
  color: var(--label);
}

.history-outcome {
  font-family: var(--font-osd);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--osd-dim);
}

.history-outcome[data-outcome="played"] { color: var(--good); }
.history-outcome[data-outcome="deferred"] { color: var(--bad); }
.history-outcome[data-outcome="pending"] { color: var(--warn); }

/* ══ the bracket ══════════════════════════════════════════════════════════
   Four columns — 8, 4, 2, 1 — each spacing its seats evenly, which is what makes the
   pairings line up without a single drawn connector. See pickers/bracket.js. */
.bracket-stage {
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-5);
}

.bracket-board {
  display: flex;
  align-items: stretch;
  gap: var(--sp-3);
  width: 100%;
  max-width: 900px;
  height: 420px;
}

.bracket-round {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: space-around;
  gap: var(--sp-1);
  min-width: 0;
}

.bracket-seat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px;
  min-width: 0;
  border: 1px solid var(--well-line);
  border-left: 3px solid var(--well-line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.3);
  transition: border-color 160ms, background 160ms, opacity 220ms, color 160ms;
}

.bracket-name {
  font-family: var(--font-label);
  font-size: var(--step--1);
  line-height: 1.15;
  color: var(--label);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-year {
  font-family: var(--font-osd);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--osd-dim);
}

/* A real absence in the field — the contenders did not come to a power of two. */
.bracket-seat.is-bye {
  opacity: 0.28;
  border-style: dashed;
}

/* A match that has not happened yet. Deliberately not the same as a bye: an empty
   semi-final is not a walkover, it is a semi-final. */
.bracket-seat.is-pending {
  opacity: 0.35;
  border-style: dotted;
  min-height: 34px;
}

/* the pairing currently being judged */
.bracket-seat.live {
  border-color: var(--accent-lit);
  border-left-color: var(--accent-lit);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.bracket-seat.through {
  border-left-color: var(--accent);
}

.bracket-seat.out {
  opacity: 0.3;
}

.bracket-seat.out .bracket-name {
  text-decoration: line-through;
  color: var(--osd-dim);
}

.bracket-seat.champion {
  border-color: var(--accent-lit);
  border-left-color: var(--accent-lit);
  background: linear-gradient(120deg, var(--accent), var(--accent-lit));
  box-shadow: 0 0 34px var(--accent);
}

.bracket-seat.champion .bracket-name {
  color: var(--accent-ink);
  font-weight: 700;
}

.bracket-seat.champion .bracket-year {
  color: color-mix(in srgb, var(--accent-ink) 70%, transparent);
}

/* the eight-slot field on the card table, where two slots read as a versus */
.table-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  max-width: 720px;
}

/* ══ the shortlist ════════════════════════════════════════════════════════ */
.keep-list {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4) var(--sp-5);
}

.keep-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2);
  border-top: 1px dashed var(--well-line);
}

.keep-meta {
  min-width: 0;
}

.keep-title {
  font-family: var(--font-marker);
  font-size: var(--step-1);
  color: var(--label);
}

.keep-ep {
  font-family: var(--font-osd);
  font-size: var(--step--1);
  color: var(--accent-lit);
}

.keep-watch {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: flex-end;
}
