
:root {
  color-scheme: light;
  /* One-sheet stock, not paper-white: the whole look sits on a warm ground. */
  --surface: #f2ece0;
  --raised: #fbf7ef;
  --ink: #17130e;
  --ink-2: #4a423a;
  --muted: #857b6d;
  --rule: #d5c9b3;
  --rule-hard: #17130e;
  --red: #b3242b;
  --gold: #c98a12;
  --series: #1c4f73;
  /* Validated against this surface: deutan dE 9.4, and every figure carries a
     sign, so the pair is never read on colour alone. A leafier green scored
     5.2 and was thrown out. */
  --up: #0f6b57;
  --down: #b3242b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  /* Alternate Gothic is the lettering on every poster in the reference. Oswald
     is its closest free relative; the fallbacks are the condensed faces most
     likely to be sitting on the machine already. */
  --poster: "Oswald", "Haettenschweiler", "Arial Narrow", "Helvetica Neue",
            "Liberation Sans Narrow", "DejaVu Sans Condensed", Impact, var(--sans);
}
/* Dark is a choice, not a consequence of the operating system. This used to be
   a prefers-color-scheme block, so anyone whose Mac was in dark mode got a
   theme nobody had designed and never saw the one we had. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #191510; --raised: #221d17; --ink: #f4eee2; --ink-2: #c9bfae;
  --muted: #8f8676; --rule: #3a3227; --rule-hard: #6b6051;
  --red: #e0584f; --gold: #e0a63a; --series: #6fb0e0;
  --up: #4cc7b4; --down: #f0705f;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 1040px; margin: 0 auto; padding: 0 24px 72px; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--poster); font-weight: 600; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1.02;
  /* If Oswald has not loaded, let the browser reach for a condensed cut of
     whatever it does have rather than setting the poster in plain Helvetica. */
  font-stretch: 85%; }
h1 { font-size: 3.1rem; margin: 0 0 .4rem; }
h2 { font-size: 1.45rem; margin: 2.6rem 0 .7rem; padding-bottom: 5px;
  border-bottom: 2px solid var(--rule-hard); }
h3 { font-size: 1.05rem; margin: 0 0 2px; }
.muted { color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; margin: 0; }

header.site {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 10px 18px;
  max-width: 1040px; margin: 0 auto; padding: 28px 24px 20px;
  border-bottom: 1px solid var(--rule);
}
.wordmark { font-family: var(--poster); font-size: 1.3rem; text-transform: uppercase;
  letter-spacing: .06em; text-decoration: none; font-weight: 600; }
header.site nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
header.site nav a:hover { color: var(--ink); }
.hero { padding: 48px 0 8px; }
.crumb { padding: 22px 0 6px; font-size: .9rem; }
.crumb a { color: var(--ink-2); text-decoration: none; }

/* ------------------------------------------------------------- the poster */
.masthead { padding: 34px 0 0; text-align: center; }
.masthead .over { font-family: var(--poster); font-size: .82rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--red); margin: 0 0 6px; }
.masthead h1 { font-size: clamp(2.2rem, 6.4vw, 4.2rem); letter-spacing: .005em;
  margin: 0; text-wrap: balance; }
.masthead .rule { border: 0; border-top: 3px solid var(--rule-hard);
  border-bottom: 1px solid var(--rule-hard); height: 4px; margin: 12px 0 10px; }
.masthead .billing { font-family: var(--poster); text-transform: uppercase;
  letter-spacing: .13em; font-size: .78rem; color: var(--ink-2);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; }
.masthead .billing b { font-weight: 600; color: var(--ink); }

.starring { margin: 30px 0 6px; }
.starring .over { font-family: var(--poster); text-transform: uppercase;
  letter-spacing: .3em; font-size: .74rem; color: var(--muted);
  text-align: center; margin: 0 0 10px; }
.billboard { display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.sheet { border: 2px solid var(--rule-hard); background: var(--raised);
  padding: 16px 16px 12px; text-decoration: none; display: block;
  position: relative; }
.sheet:hover { background: var(--surface); }
.sheet .slot { font-family: var(--poster); font-size: .7rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--red); }
.sheet .who { font-family: var(--poster); text-transform: uppercase;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem); line-height: 1.02; margin: 4px 0 8px; }
.sheet .figure { display: flex; align-items: baseline; gap: 9px; }
.sheet .figure b { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; }
.sheet .spark { width: 100%; height: 34px; margin-top: 8px; opacity: .9; }

.quotes { display: grid; gap: 16px; margin: 26px 0 8px;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.quote-card { border: 1px solid var(--rule-hard); background: var(--raised);
  padding: 0 0 6px; }
.quote-card h3 { font-family: var(--poster); background: var(--rule-hard);
  color: var(--surface); padding: 6px 12px; letter-spacing: .1em;
  font-size: .86rem; margin: 0; }
.quote-card .note { font-family: var(--serif); font-style: italic;
  font-size: .84rem; color: var(--muted); padding: 8px 12px 2px; margin: 0; }
.quote-card ol { margin: 0; padding: 0 12px 4px; list-style: none; }
.quote-card li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px;
  align-items: baseline; padding: 6px 0; border-top: 1px solid var(--rule);
  font-size: .93rem; }
.quote-card li:first-child { border-top: 0; }
.quote-card li a { color: var(--ink); text-decoration: none; }
.quote-card li a:hover { text-decoration: underline; }
.quote-card .mono { font-family: var(--mono); font-size: .85rem; color: var(--muted); }

.creditblock { border-top: 2px solid var(--rule-hard); margin-top: 40px;
  padding-top: 14px; text-align: center; font-family: var(--poster);
  text-transform: uppercase; letter-spacing: .12em; font-size: .7rem;
  color: var(--ink-2); line-height: 2; }
.creditblock b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ small screens
   The board is seven columns wide and the header is a single row, which put
   624px of page in a 390px phone and left the whole thing scrolled sideways.
   Below this width the table drops what it can spare and scrolls what it
   cannot. */
@media (max-width: 720px) {
  main { padding: 0 16px 56px; }
  header.site { padding: 20px 16px 14px; }
  header.site nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .masthead { padding: 22px 0 0; }
  .masthead .billing { gap: 2px 12px; font-size: .72rem; }
  .market .sparkcell, .market thead th:last-child,
  .market .tier, .market thead th:nth-child(5) { display: none; }
  .filter input { width: 100%; }
  .filter .count { margin-left: 0; }
  h1 { font-size: 2.1rem; }
  .big { font-size: 2rem; }
  .spans { flex-wrap: wrap; }
  .spans a { border-left-width: 1px; }
}
/* Anything that still cannot fit scrolls on its own rather than taking the
   page with it. */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); margin: 32px 0 8px; }
.stat { background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; }
.stat-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); }
.stat-value { font-family: var(--mono); font-size: 1.35rem; margin-top: 2px; }
.stat-sub { font-size: .82rem; color: var(--muted); }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-family: var(--poster); font-size: .76rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2);
  font-weight: 600; padding: 9px 10px; border-bottom: 2px solid var(--rule-hard); }
td { padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
tbody tr:hover { background: var(--raised); }
.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.market .rank { color: var(--muted); font-family: var(--mono); width: 3rem; }
.market .name a { text-decoration: none; }
.market .name a:hover { text-decoration: underline; }
.market .price { font-size: 1.02rem; }
.market .name a { font-weight: 500; }
.sparkcell { width: 120px; }
.spark { width: 104px; height: 26px; }
.spark path { fill: none; stroke: var(--series); stroke-width: 1.5;
  stroke-linejoin: round; stroke-linecap: round; opacity: .85; }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }
.badge { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em;
  border: 1px solid var(--rule); padding: 1px 5px; color: var(--muted);
  vertical-align: middle; }
.pill { font-family: var(--poster); font-size: .7rem; text-transform: uppercase;
  letter-spacing: .1em; padding: 2px 8px; border: 1px solid var(--rule);
  color: var(--ink-2); white-space: nowrap; }
.pill.tlegend, .pill.talist { border-color: var(--red); color: var(--red); }
.badge { font-family: var(--poster); }

.stockhead { padding: 6px 0 4px; }
.quote { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-top: 8px; }
.big { font-family: var(--mono); font-size: 2.6rem; font-variant-numeric: tabular-nums; }
.stockhead h1 { font-size: clamp(2.2rem, 5.6vw, 3.4rem); }
.stockhead .over { font-family: var(--poster); font-size: .72rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--red); margin: 0 0 2px; }
.spans { display: flex; gap: 0; margin: 10px 0 0; }
.spans a { font-family: var(--poster); text-transform: uppercase; letter-spacing: .1em;
  font-size: .74rem; padding: 5px 12px; border: 1px solid var(--rule-hard);
  border-left-width: 0; color: var(--ink-2); text-decoration: none; }
.spans a:first-child { border-left-width: 1px; }
.spans a.on { background: var(--rule-hard); color: var(--surface); }
.drawn { margin: 8px 0 0; font-family: var(--mono); font-size: .8rem;
  color: var(--muted); }

/* ------------------------------------------------------------- the landing */
.intro { margin: 26px 0 8px; }
.intro .lede { max-width: 66ch; margin: 0 auto; text-align: center; }
.how { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.how li { display: flex; gap: 12px; align-items: flex-start; }
.how .step { font-family: var(--poster); font-size: 1.5rem; line-height: 1;
  color: var(--red); border: 2px solid var(--red); width: 2rem; height: 2rem;
  display: grid; place-items: center; flex: none; }
.how h3 { font-size: .95rem; margin: 2px 0 3px; }
.how p { margin: 0; font-size: .9rem; color: var(--ink-2); }

.gamelist { list-style: none; margin: 8px 0 6px; padding: 0;
  border: 1px solid var(--rule-hard); }
.gamelist li { display: flex; align-items: baseline; gap: 14px; padding: 10px 14px;
  border-top: 1px solid var(--rule); }
.gamelist li:first-child { border-top: 0; }
.gamelist li:hover { background: var(--raised); }
.gamelist a { flex: 1; text-decoration: none; display: flex; gap: 12px;
  align-items: baseline; flex-wrap: wrap; }
.gamelist b { font-family: var(--poster); text-transform: uppercase;
  letter-spacing: .06em; font-size: .95rem; }
.gamelist .muted { font-size: .88rem; }
.more { margin: 10px 0 0; font-family: var(--poster); text-transform: uppercase;
  letter-spacing: .1em; font-size: .8rem; }
.more a { color: var(--red); text-decoration: none; }
.more a:hover { text-decoration: underline; }

.key { margin: 44px 0 0; border-top: 2px solid var(--rule-hard);
  padding-top: 10px; }
.key summary { font-family: var(--poster); text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: var(--ink-2);
  cursor: pointer; list-style: none; }
.key summary::-webkit-details-marker { display: none; }
.key summary::before { content: "+ "; color: var(--red); font-weight: 600; }
.key[open] summary::before { content: "− "; }
.key summary:hover { color: var(--ink); }
.keybody { max-width: 64ch; font-size: .92rem; color: var(--ink-2);
  padding: 10px 0 4px; }
.keybody p { margin: 0 0 10px; }
.keybody b { color: var(--ink); }
.formula { font-family: var(--mono); font-size: .95rem; color: var(--ink);
  background: var(--raised); border-left: 3px solid var(--red);
  padding: 8px 12px; }
.keytable { width: auto; margin: 4px 0 14px; }
.keytable td, .keytable th { padding: 4px 18px 4px 0; border-bottom: 0; }
.keytable td.num { font-family: var(--mono); }
.unit { color: var(--muted); margin-left: -12px; }
.chg { font-family: var(--mono); font-size: 1rem; }
.chg small { color: var(--muted); font-size: .72rem; margin-left: 2px; }
.warn { background: var(--raised); border-left: 3px solid var(--rule);
  padding: 10px 14px; color: var(--ink-2); font-size: .94rem; }

.chart { margin: 8px 0 0; position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.grid { stroke: var(--rule); stroke-width: 1; }
.axis { fill: var(--muted); font-size: 11px; font-family: var(--mono); }
.series { fill: none; stroke: var(--series); stroke-width: 2;
  stroke-linejoin: round; stroke-linecap: round; }
.dot, .hoverdot { fill: var(--series); stroke: var(--surface); stroke-width: 2; }
.endlabel { fill: var(--ink); font-family: var(--mono); font-size: 12px; }
.crosshair { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.theme { background: none; border: 1px solid var(--rule); color: var(--ink-2);
  font: inherit; font-size: .82rem; line-height: 1; padding: 6px 9px;
  border-radius: 2px; cursor: pointer; }
.theme:hover { color: var(--ink); border-color: var(--muted); }
.evt line { stroke: var(--rule); stroke-width: 1; }
.evt circle { fill: var(--rule); }
.evt.on line { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 2 3; }
.evt.on circle { fill: var(--ink); stroke: var(--surface); stroke-width: 2; }
.tip { position: absolute; pointer-events: none; background: var(--raised);
  border: 1px solid var(--rule); padding: 5px 9px; font-family: var(--mono);
  font-size: .8rem; white-space: nowrap; transform: translate(-50%, -140%); }
.tip[hidden] { display: none; }

.cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; }
.reasons .date, .credits .date { font-family: var(--mono); color: var(--muted);
  font-size: .86rem; white-space: nowrap; }
.reasons .src { color: var(--muted); font-size: .86rem; }
.reasons tbody tr { cursor: pointer; }
.reasons tbody tr:hover { background: var(--raised); }
.reasons tbody tr.on { background: var(--raised); box-shadow: inset 3px 0 0 var(--ink); }
.reasons tbody { display: block; max-height: 30rem; overflow-y: auto; }
.reasons thead, .reasons tbody tr { display: table; width: 100%; table-layout: fixed; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--ink); }
th.sortable::after { content: " ↕"; opacity: .35; }
th.sortable[aria-sort="descending"]::after { content: " ↓"; opacity: 1; }
th.sortable[aria-sort="ascending"]::after { content: " ↑"; opacity: 1; }
.parts tfoot td { font-weight: 600; border-bottom: none; }
.prose { max-width: 68ch; padding-top: 40px; }
.prose p { color: var(--ink-2); }
.formula { font-family: var(--mono); background: var(--raised);
  border: 1px solid var(--rule); padding: 14px 16px; font-size: 1rem;
  overflow-x: auto; }
footer { border-top: 1px solid var(--rule); max-width: 1040px; margin: 0 auto;
  padding: 22px 24px 60px; color: var(--ink-2); font-size: .88rem; }
footer p { margin: 0 0 6px; }

@media (max-width: 860px) {
  .cols { grid-template-columns: 1fr; gap: 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2rem; }
  .big { font-size: 2rem; }
  .sparkcell, .market th:nth-child(5), .market td:nth-child(5) { display: none; }
}

.authbar { display: flex; align-items: center; gap: 14px; font-size: .9rem; }
.authbar a { color: var(--ink-2); text-decoration: none; }
.authbar a:hover { color: var(--ink); }
.balance { font-family: var(--mono); color: var(--ink); }
.btn { font: inherit; font-size: .92rem; padding: 7px 14px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--surface); cursor: pointer; border-radius: 2px; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.trade { border: 1px solid var(--rule); padding: 18px; background: var(--raised);
  margin: 8px 0 24px; }
.trade form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.trade label { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); display: block; margin-bottom: 4px; }
.trade input { font: inherit; font-family: var(--mono); padding: 6px 8px; width: 7rem;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink); }
.flash { padding: 10px 14px; border-left: 3px solid var(--down); background: var(--raised);
  margin: 12px 0; }
.flash.ok { border-left-color: var(--up); }
.holding { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--mono);
  font-size: .95rem; padding: 10px 0 0; }
.holding span small { font-family: var(--sans); color: var(--muted); display: block;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
.boards { display: flex; gap: 18px; margin: 0 0 18px; flex-wrap: wrap; }
.boards a { text-decoration: none; color: var(--muted); font-size: .92rem;
  padding-bottom: 3px; border-bottom: 2px solid transparent; }
.boards a.on { color: var(--ink); border-bottom-color: var(--ink); }
.signin { display: flex; gap: 12px; margin: 22px 0; }
.empty { color: var(--muted); padding: 28px 0; }
.filter { display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin: 0 0 14px; }
.filter input, .filter select { font: inherit; font-size: .92rem; padding: 7px 10px;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  border-radius: 2px; }
.filter input { width: 15rem; }
.filter .count { color: var(--muted); font-size: .88rem; margin-left: auto; }
tr.hidden { display: none; }
.boards-grid { display: grid; gap: 22px; margin: 26px 0 34px;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.board { border: 1px solid var(--rule); padding: 16px 18px; background: var(--raised); }
.board h3 { margin: 0 0 2px; font-size: 1rem; }
.board p { margin: 0 0 10px; font-size: .8rem; }
.board ol { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.board li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px;
  align-items: baseline; padding: 5px 0; border-top: 1px solid var(--rule);
  font-size: .92rem; }
.board li:first-child { border-top: 0; }
.board li a { color: var(--ink); text-decoration: none; }
.board li a:hover { text-decoration: underline; }
.board .mono { font-family: var(--mono); color: var(--muted); font-size: .86rem; }
/* A game form is not the trade panel: it stacks, and its labels are not the
   little uppercase field captions the trade panel uses. Without these the
   options rendered as grey small-caps in a narrow column with the button
   floated beside them. */
.trade form.game { display: block; }
.trade form.game .choice { font-size: .95rem; text-transform: none;
  letter-spacing: 0; color: var(--ink); margin: 0; display: flex; }

/* Choices were stacked labels with a margin, which reads as a list of things
   rather than a set of options to pick between. */
.choices { display: grid; gap: 0; width: 100%; margin: 14px 0 18px;
  border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.choices.two { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.choice { display: flex; align-items: center; gap: 10px; padding: 9px 13px;
  border-top: 1px solid var(--rule); cursor: pointer; font-size: .95rem; }
.choices > .choice:first-child { border-top: 0; }
.choices.two > .choice:nth-child(-n+3) { border-top: 0; }
.choice:hover { background: var(--raised); }
.choice input { margin: 0; flex: none; }
.choice span:not(.price) { flex: 1; }
.choice .price { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.choice.spent { opacity: .38; cursor: not-allowed; }
.choice:has(input:checked) { background: var(--raised); font-weight: 600; }

.budget { display: flex; gap: 26px; padding: 12px 14px; background: var(--raised);
  border: 1px solid var(--rule); font-family: var(--mono); }
.budget small { display: block; font-family: var(--sans); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.budget strong { font-size: 1.15rem; font-weight: 500; }

.rungs { margin: 0 0 16px; padding: 0; list-style: none; }
.rungs li { padding: 5px 0; border-top: 1px solid var(--rule); }
.rungs li:first-child { border-top: 0; }
.rungs .num { display: inline-block; width: 1.6rem; color: var(--muted);
  font-family: var(--mono); font-size: .85rem; }

.filmtitle { margin: 0 0 6px; font-size: 1.05rem; }
.billing { margin: 0 0 4px; padding: 0; list-style: none; display: flex;
  flex-wrap: wrap; gap: 6px 10px; }
.billing li { font-size: .92rem; color: var(--ink-2); }
.billing li + li::before { content: "· "; color: var(--muted); }
.billing .gap { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink);
  padding-bottom: 1px; }

.chain { margin: 0 0 18px; padding: 0; list-style: none; }
.chain .who { font-size: 1.02rem; padding: 3px 0; }
.chain .who.start, .chain .who.target { font-weight: 600; }
.chain .link { margin-left: .45rem; padding: 2px 0 2px 14px;
  border-left: 2px solid var(--rule); font-size: .86rem; color: var(--muted); }
.chain .link.pending { border-left-style: dashed; }
.chain .tick { color: var(--up); font-weight: 600; margin-right: 6px; }
.chain .link .tick { margin-left: -2px; }

.reveal { margin: 0 0 20px; }
.reveal .rank { width: 2rem; color: var(--muted); font-family: var(--mono); }
.reveal .total td { border-top: 2px solid var(--rule); font-weight: 600; }
.reset { display: flex; gap: 12px; align-items: center; margin: 26px 0 0;
  padding-top: 18px; border-top: 1px dashed var(--rule); }
/* ---------------------------------------------------------------- pictures
   The index covers 96% of credited films and all but two of the roster, so
   the missing ones are a designed state rather than a broken image: the same
   card, the same size, initials instead of a face and a blank frame instead
   of a poster. A page of them still lines up. */
.face { display: block; object-fit: cover; border: 1px solid var(--rule-hard);
  background: var(--raised); }
.face.none { display: flex; align-items: center; justify-content: center;
  font-family: var(--poster); letter-spacing: .06em; color: var(--ink-2);
  background: var(--raised); }
.poster { display: block; object-fit: cover; border: 1px solid var(--rule);
  background: var(--raised); }
.poster.none { display: block; border: 1px dashed var(--rule); }

.stockhead { display: flex; gap: 20px; align-items: flex-start;
  padding: 6px 0 4px; }
.stockhead .face { width: 120px; height: 180px; flex: none; }
.stockhead-text { min-width: 0; flex: 1; }

.sheet .face { width: 100%; height: 190px; margin: 6px 0 10px; }
.sheet .face.none { font-size: 1.6rem; }

.quote-card li a { display: flex; align-items: center; gap: 9px; }
.quote-card .face { width: 30px; height: 30px; border-radius: 50%;
  flex: none; font-size: .62rem; }

/* The flex belongs on a wrapper, not the cell: a td with display:flex leaves
   table layout and takes the row's borders with it. */
.reasons .filmcell { display: flex; align-items: center; gap: 10px; }
.reasons .poster, .reasons .poster.none { width: 32px; height: 48px; flex: none; }

.creditblock .tmdb { font-size: .72rem; color: var(--ink-2); }

@media (max-width: 620px) {
  .stockhead { gap: 14px; }
  .stockhead .face { width: 84px; height: 126px; }
  .sheet .face { height: 150px; }
  .reasons .poster, .reasons .poster.none { width: 26px; height: 39px; }
}

/* ------------------------------------------------------------- name picker */
.picker { position: relative; }
.picker input { width: min(22rem, 100%); }
.picker-list { position: absolute; z-index: 30; left: 0; right: 0;
  max-width: min(22rem, 100%); margin: 2px 0 0; padding: 0; list-style: none;
  max-height: 46vh; overflow-y: auto; background: var(--raised);
  border: 1px solid var(--rule-hard);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.picker-list li + li { border-top: 1px solid var(--rule); }
.picker-list button { display: block; width: 100%; min-height: 46px;
  padding: 11px 14px; text-align: left; font: inherit; font-size: 1rem;
  color: var(--ink); background: none; border: 0; cursor: pointer; }
.picker-list button:hover, .picker-list button:focus {
  background: var(--rule-hard); color: var(--surface); outline: none; }

/* -------------------------------------------------------------- the ladder
   Drawn as a ladder rather than a growing list. The top rung is the one film
   and the big payout; each step down hands you another film and takes money
   off. A list that grew downwards while the prize fell was the whole reason
   nobody could tell which way was up. */
.ladder { margin: 0 0 18px; padding: 0; list-style: none;
  border: 2px solid var(--rule-hard); background: var(--raised); }
.ladder .rung { display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--rule); }
.ladder .rung:last-child { border-bottom: 0; }
.ladder .level { font-family: var(--poster); font-size: .95rem; width: 1.5rem;
  text-align: center; color: var(--muted); flex: none; }
.ladder .clue { flex: 1; min-width: 0; }
.ladder .pays { font-family: var(--mono); font-size: .85rem; color: var(--muted);
  flex: none; }
.ladder .rung.here { background: var(--rule-hard); color: var(--surface); }
.ladder .rung.here .level, .ladder .rung.here .pays,
.ladder .rung.here .muted { color: var(--surface); opacity: .85; }
.ladder .rung.ahead { opacity: .5; }
.ladder .rung.passed .clue { text-decoration: none; }
.choice.spent { opacity: .45; text-decoration: line-through; }
.trade fieldset { border: 0; margin: 0; padding: 0; }
.trade fieldset legend { font-family: var(--poster); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
  padding: 0; margin: 0 0 6px; }

/* .trade input is 7rem wide for the shares box, which also made every radio
   and checkbox 7rem wide - a hundred pixels of nothing between the dot and
   the name it belongs to. */
.choice input[type="radio"], .choice input[type="checkbox"] { width: auto; }
