/* film-reference.com — one stylesheet. Dense, text-first, bbref-style. */
* { box-sizing: border-box; }
html { font-size: 13px; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Verdana, Geneva, "DejaVu Sans", sans-serif;
  line-height: 1.35;
}
a { color: #00419e; text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: #3d2b8f; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 12px; }

header.site { background: #f3f3f3; border-bottom: 1px solid #ccc; }
header.site .wrap { display: flex; align-items: center; gap: 18px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.logo { font-weight: bold; font-size: 1.5rem; color: #000 !important; letter-spacing: -0.5px; }
.logo span { color: #b5891f; }
.logo img { display: block; height: 32px; width: auto; }
@media (max-width: 640px) { .logo img { height: 26px; } }
header nav a { margin-right: 12px; font-weight: bold; }
/* Grouped menu (2026-10-15): Home, Games, Browse, Leaders, Awards, Infographics, Discs. */
header.site { position: relative; z-index: 30; }
nav.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 0; }
nav.site-nav > a, details.menu > summary { margin-right: 14px; font-weight: bold; color: #00419e; cursor: pointer; }
nav.site-nav > a.current { color: #000; }
details.menu { position: relative; }
details.menu > summary { list-style: none; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu > summary::after { content: ""; display: inline-block; margin-left: 4px; vertical-align: 2px;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
details.menu[open] > summary::after { border-top: 0; border-bottom: 4px solid currentColor; }
.menu-panel { position: absolute; top: calc(100% + 6px); left: -10px; z-index: 40; min-width: 190px; padding: 6px 0;
  background: #fff; border: 1px solid #bbb; box-shadow: 0 6px 18px rgba(0,0,0,.15); display: flex; flex-direction: column; }
.menu-panel.cols2 { display: grid; grid-template-columns: 1fr 1fr; min-width: 340px; }
.menu-panel a { display: block; margin: 0; padding: 6px 14px; font-weight: normal; white-space: nowrap; }
.menu-panel a:hover { background: #fff7cc; text-decoration: none; }
form.search { margin-left: auto; display: flex; gap: 4px; }
form.search input { width: 260px; padding: 3px 5px; font: inherit; border: 1px solid #999; }
form.search { position: relative; }
ul.suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; margin: 1px 0 0; padding: 0;
  list-style: none; background: #fff; border: 1px solid #999; box-shadow: 0 2px 4px rgba(0,0,0,.15); }
ul.suggest li a { display: flex; justify-content: space-between; gap: 8px; padding: 3px 6px; color: #000; }
ul.suggest li.active a, ul.suggest li a:hover { background: #fff7cc; text-decoration: none; }
ul.suggest .kind { color: #777; font-size: 0.8rem; }
form.search button { font: inherit; padding: 3px 8px; border: 1px solid #999; background: #fff; color: #000; cursor: pointer;
  -webkit-appearance: none; appearance: none; border-radius: 0; }  /* iOS Safari drew the label blank */
.statline { display: flex; flex-wrap: wrap; border: 1px solid #ccc; margin: 6px 0 10px; max-width: 760px; }
.statline > div { flex: 1 1 110px; border: 1px solid #ccc; margin: -1px 0 0 -1px; text-align: center; }
.statline span { display: block; background: #eee; font-size: 0.85rem; font-weight: bold; padding: 3px 6px; }
.statline b { display: block; font-size: 1.1rem; padding: 3px 6px; }
p.tagline { font-style: italic; color: #444; margin: 2px 0 4px; }
p.overview { max-width: 760px; font-size: 1.05rem; }
.bio { max-width: 760px; margin: 8px 0 12px; line-height: 1.5; }
.bio p { margin: 4px 0; }
.bio details summary { cursor: pointer; color: #555; }
details.spoilers { max-width: 760px; border: 1px solid #e0b4b4; background: #fff8f8; padding: 6px 10px; margin: 6px 0 10px; }
details.spoilers summary { cursor: pointer; font-weight: bold; color: #8a1c1c; }
details.spoilers[open] summary { margin-bottom: 6px; }
details.spoilers p { line-height: 1.5; }
details.spoilers h4 { margin: 10px 0 2px; }
.chart-wrap { max-width: 680px; margin: 4px 0 12px; }
svg.chart { width: 100%; height: auto; display: block; font-family: inherit; }
svg.chart .lbl { font-size: 12px; fill: #222; }
svg.chart .val { font-size: 11px; fill: #555; }
svg.chart .bar { fill: #b5891f; }
svg.chart a:hover .bar, svg.chart a:hover .dot { fill: #d4b106; }
svg.chart .dot { fill: #b5891f; fill-opacity: 0.75; }
svg.chart .grid { stroke: #e3e3e3; }
svg.chart .even { stroke: #999; stroke-dasharray: 4 3; }
.arc { max-width: 700px; }
.arc .chart-wrap { max-width: 700px; }
svg.arc-chart .dot { fill-opacity: 0.55; stroke: #9e1b1b; stroke-width: 1; }
svg.arc-chart .bar { fill: #8a8a8a; }
/* Career Arc: guess slots, result box, clue cards */
ol.arc-track { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
ol.arc-track li { min-height: 44px; border: 2px solid #d4d4d4; border-radius: 6px; background: #fafafa; display: flex;
  flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3px; color: #999;
  font-size: .78em; line-height: 1.15; overflow: hidden; }
ol.arc-track li b { font-size: 1.25em; }
ol.arc-track li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
ol.arc-track li.next { border-color: #333; color: #333; border-style: dashed; }
ol.arc-track li.miss { background: #c62828; border-color: #c62828; color: #fff; }
ol.arc-track li.hit { background: #2e7d32; border-color: #2e7d32; color: #fff; }
ol.arc-track li.skip { background: #78909c; border-color: #78909c; color: #fff; }
.arc-result.skipped { background: #546e7a; }
form.arc-guess button.arc-skip { background: #fff; color: #333; border: 2px solid #999; padding: 6px 14px; }
.arc-result { display: flex; gap: 14px; align-items: center; border-radius: 10px; padding: 14px 16px; margin: 10px 0; color: #fff; }
.arc-result p { margin: 2px 0; }
.arc-result a { color: #fff; text-decoration: underline; }
.arc-result.win { background: #2e7d32; }
.arc-result.lose { background: #37474f; }
.arc-result.miss { background: #c62828; }
.arc-result img { width: 92px; height: 138px; object-fit: cover; border-radius: 6px; background: rgba(255,255,255,.15); flex: none; }
.arc-result-mark { font-size: 2.6em; line-height: 1; flex: none; width: 1.1em; text-align: center; }
.arc-result-head { font-size: 1.5em; font-weight: bold; line-height: 1.2; }
.arc-result-name { font-size: 1.25em; }
.arc-result-sub { opacity: .92; }
.arc-result pre.share { background: rgba(0,0,0,.18); color: #fff; margin: 8px 0 0; border-radius: 6px; }
.arc-result.pop { animation: arc-pop .45s cubic-bezier(.2, 1.6, .4, 1); }
.arc-result.miss.pop { animation: arc-shake .45s ease; }
@keyframes arc-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes arc-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
ol.arc-clues { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
ol.arc-clues li { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #ccc; border-left: 4px solid #9e1b1b;
  border-radius: 6px; padding: 8px 10px; background: #fff; }
ol.arc-clues li p { margin: 2px 0 0; }
ol.arc-clues li.new { border-color: #d4a106; border-left-color: #d4a106; background: #fff8dc; animation: arc-pop .45s ease; }
ol.arc-clues li.locked { border-style: dashed; border-left: 1px dashed #ccc; background: #f6f6f6; color: #888; }
.arc-clue-no { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #9e1b1b; color: #fff; font-weight: bold;
  display: flex; align-items: center; justify-content: center; font-size: .85em; }
li.locked .arc-clue-no { background: #bbb; }
li.new .arc-clue-no { background: #d4a106; }
.arc-new-tag { background: #d4a106; color: #fff; font-size: .7em; font-weight: bold; padding: 1px 6px; border-radius: 9px;
  text-transform: uppercase; letter-spacing: .04em; vertical-align: 2px; }
form.arc-guess { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 6px; }
form.arc-guess input[type=search] { flex: 1 1 220px; font: inherit; font-size: 1.05em; padding: 8px 10px; border: 2px solid #333; border-radius: 6px; }
form.arc-guess button, button.arc-pick { font: inherit; font-weight: bold; padding: 8px 16px; border: none; border-radius: 6px;
  background: #9e1b1b; color: #fff; cursor: pointer; }
button.arc-pick { padding: 5px 14px; }
table.arc-results { width: 100%; }
table.arc-results td:last-child { text-align: right; width: 1%; }
@media (max-width: 640px) {
  ol.arc-track { gap: 4px; }
  ol.arc-track li { font-size: .68em; min-height: 40px; }
  .arc-result { padding: 12px; gap: 10px; }
  .arc-result img { width: 64px; height: 96px; }
  .arc-result-head { font-size: 1.25em; }
}
@media (prefers-reduced-motion: reduce) { .arc-result.pop, ol.arc-clues li.new { animation: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
p.site-stats { font-size: 0.8em; margin: 24px 0 8px; }
/* Home "Today's games": a full-width row of tiles, each with its game's icon (Jay, 2026-10-15). */
.games-box { margin: 6px 0 14px; }
.games-box h2 { margin: 0 0 6px; }
.game-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px; }
a.game-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 14px 10px 12px;
  border: 1px solid #ddd; border-radius: 10px; background: #fff; color: inherit; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease; }
a.game-tile:hover, a.game-tile:focus-visible { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.12); text-decoration: none; }
a.game-tile .game-icon { margin-bottom: 4px; }
.gt-name { font-weight: bold; font-size: 1.15em; color: #000; }
.gt-meta { font-size: .85em; color: #777; min-height: 1.2em; }
.gt-status { font-size: .88em; line-height: 1.3; color: #333; }
a.game-tile .gt-button { margin-top: auto; }
a.game-tile .gt-name { margin-bottom: 6px; }
.gt-button { margin-top: 8px; padding: 5px 18px; border-radius: 999px; background: #1a1a1a; color: #fff; font-weight: bold; font-size: .9em; }
a.game-tile.done .gt-button { background: #fff; color: #1a1a1a; border: 1px solid #1a1a1a; padding: 4px 17px; }
a.game-tile.game-frames { background: #fff9e0; border-color: #ecd98a; }
a.game-tile.game-montage { background: #f6effa; border-color: #dcc7e6; }
a.game-tile.game-arc { background: #fbeeee; border-color: #e8c4c4; }
a.game-tile.game-thatguy { background: #ecf6f6; border-color: #bcdcdc; }
@media (max-width: 760px) { .game-tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; } a.game-tile { padding: 10px 8px; } }
@media (prefers-reduced-motion: reduce) { a.game-tile { transition: none; } a.game-tile:hover { transform: none; } }
/* Phones: two compact game rows, the rest behind "All N games" (Jay, 2026-10-16: the tiles filled the first screen). */
label.games-more { display: none; }
@media (max-width: 640px) {
  .game-tiles { grid-template-columns: 1fr; gap: 6px; }
  a.game-tile { flex-direction: row; text-align: left; gap: 10px; padding: 7px 10px; }
  a.game-tile .game-icon { width: 34px; height: 34px; margin: 0; flex: none; }
  a.game-tile .gt-name { margin: 0; font-size: 1em; }
  a.game-tile .gt-status { flex: 1; min-width: 0; font-size: .82em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  a.game-tile .gt-button { margin: 0 0 0 auto; padding: 4px 14px; flex: none; }
  a.game-tile.done .gt-button { padding: 3px 13px; }
  a.game-tile:not(.lead) { display: none; }
  input.games-all:checked ~ .game-tiles a.game-tile { display: flex; }
  label.games-more { display: block; margin-top: 6px; padding: 4px 0; text-align: center; font-size: .9em; font-weight: bold; cursor: pointer; color: inherit; }
  label.games-more .gm-close, input.games-all:checked ~ label.games-more .gm-open { display: none; }
  input.games-all:checked ~ label.games-more .gm-close { display: inline; }
  input.games-all:focus-visible ~ label.games-more { outline: 2px solid currentColor; }
}
.game-card h2 { display: flex; align-items: center; gap: 10px; }
p.game-nav .game-icon { vertical-align: -5px; margin-right: 3px; }
p.game-nav { font-size: 0.9em; margin: 2px 0; }
.game-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; max-width: 900px; margin: 8px 0; }
.game-card { border: 1px solid #ddd; border-top: 4px solid #d4b106; padding: 8px 12px; display: flex; flex-direction: column; }
.game-card h2 { margin: 0 0 4px; border: none; }
.game-card .promo-row { margin-top: auto; }
.game-card.game-montage { border-top-color: #ba81c5; }
.game-card.game-arc { border-top-color: #9e1b1b; }
.game-card.game-thatguy { border-top-color: #1f7a7a; }
.game-status { font-weight: bold; }
p.promo-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
p.promo-row .button { flex: none; margin-left: auto; }
form.theme { display: inline; }
form.theme button { font: inherit; font-size: 0.9em; background: none; border: none; padding: 0; color: inherit; cursor: pointer; text-decoration: underline dotted; }

main { padding-top: 10px; padding-bottom: 20px; }
h1 { font-size: 1.85rem; margin: 6px 0 4px; }
h2 { font-size: 1.25rem; margin: 18px 0 4px; padding-bottom: 2px; border-bottom: 2px solid #c9a227; }
h3 { font-size: 1.05rem; margin: 12px 0 4px; }
p { margin: 4px 0 8px; }
.lede { font-size: 1.05rem; }
.notice { background: #fffbe6; border: 1px solid #e6d27a; padding: 6px 8px; }
.muted { color: #555; }

/* Header card on film / person pages */
.meta { border: 1px solid #ccc; background: #fafafa; padding: 8px 10px; margin: 6px 0 10px; display: flex; gap: 14px; }
.meta img.poster { width: 110px; height: auto; border: 1px solid #ccc; }
.meta p { margin: 2px 0; }
.meta strong { font-weight: bold; }

/* Box score strip */
table.box { border-collapse: collapse; margin: 6px 0 10px; }
table.box th, table.box td { border: 1px solid #ccc; padding: 3px 10px; text-align: center; }
table.box th { background: #eee; font-size: 0.85rem; }
table.box td { font-weight: bold; font-size: 1.1rem; }

/* Stats tables */
.table-wrap { overflow-x: auto; margin: 4px 0 12px; }
table.stats { border-collapse: collapse; font-size: 0.92rem; width: auto; min-width: 50%; }
table.stats caption { text-align: left; font-weight: bold; padding: 2px 0; }
table.stats th, table.stats td { border: 1px solid #ddd; padding: 2px 6px; white-space: nowrap; }
table.stats thead th { background: #e8e8e8; border-bottom: 2px solid #888; text-align: center; font-weight: bold; }
table.stats thead th.sortable { cursor: pointer; user-select: none; }
table.stats thead th.sortable:hover { background: #d8d8d8; }
table.stats thead th.asc::after { content: " \25B2"; font-size: 0.7em; }
table.stats thead th.desc::after { content: " \25BC"; font-size: 0.7em; }
table.stats tbody tr:nth-child(even) { background: #f5f5f5; }
table.stats tbody tr:hover { background: #fff7cc; }
table.stats td.num, table.stats th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.stats td.left { text-align: left; }
table.stats td.rank { text-align: right; color: #555; }
table.stats tfoot td { background: #eee; font-weight: bold; border-top: 2px solid #888; }
table.stats td.wrap-ok { white-space: normal; }

.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 4px 20px; align-items: start; }
.cols > div { min-width: 0; }
.cols table.stats { min-width: 0; width: 100%; }
.cols table.stats td.left { white-space: normal; }
ul.inline { list-style: none; padding: 0; margin: 4px 0; }
ul.inline li { display: inline; margin-right: 10px; }
.tabs a { display: inline-block; padding: 3px 10px; border: 1px solid #ccc; border-bottom: none; background: #f3f3f3; margin-right: 2px; }

.tabs a.current { background: #fff; font-weight: bold; color: #000; }
table.stats.leader caption a { color: #000; }
table.stats tbody tr.won td { font-weight: bold; }
table.stats tbody tr:target { background: #fff0a8; }
p.more { margin: -8px 0 10px; font-size: 0.85rem; }
p.pager { margin: 6px 0; }
p.pager a { margin: 0 8px; }
a.rank { font-size: 0.8rem; color: #555; }

ul.sources { font-size: 0.85rem; color: #444; margin: 4px 0; padding-left: 18px; }

footer.site { border-top: 1px solid #ccc; background: #f3f3f3; font-size: 0.85rem; color: #333; padding: 8px 0 14px; }
footer.site p { margin: 3px 0; }

@media (max-width: 640px) {
  header.site .wrap { gap: 6px 12px; }
  nav.site-nav { width: 100%; }
  nav.site-nav > a, details.menu > summary { margin-right: 12px; }
  details.menu { position: static; }
  .menu-panel, .menu-panel.cols2 { left: 12px; right: 12px; top: auto; margin-top: 6px; min-width: 0; }
  .menu-panel.cols2 { grid-template-columns: 1fr 1fr; }
  form.search { margin-left: 0; width: 100%; }
  form.search input { flex: 1; width: auto; }
  .meta { flex-direction: column; }
  table.box { display: block; overflow-x: auto; max-width: 100%; }
  table.box th, table.box td { padding: 3px 6px; }
  .cols { grid-template-columns: 1fr; }
}

form.inline { margin: 6px 0 10px; }
form.inline input[type=search] { padding: 3px 6px; width: 260px; max-width: 70%; }
ul.dna { padding-left: 18px; }
ul.dna li { margin: 4px 0 8px; }
blockquote.cite { margin: 4px 0 6px 0; padding: 4px 10px; border-left: 3px solid #ccc; background: #f7f7f7; font-style: italic; }
blockquote.cite footer { font-style: normal; font-size: 0.9em; margin-top: 2px; }
.small { font-size: 0.85em; }
table.stats tr.set td { background: #f0f0f0; }
header.site .account { margin-left: auto; font-size: 0.9em; }
header.site .account a { color: inherit; }
form.pin { display: inline-block; margin: 0 0 8px; }
form.pin.inline { margin: 0 0 0 6px; }
form.pin button { font-size: 0.85em; padding: 1px 8px; cursor: pointer; background: #fff; border: 1px solid #bbb; border-radius: 3px; }
form.pin button.on { background: #fff4c2; border-color: #d4b106; }
form.pin button.unpin { padding: 0 5px; border: none; background: none; color: #999; }
ul.pins { list-style: none; padding-left: 0; margin: 4px 0 10px; }
ul.pins li { margin: 2px 0; }
.pin-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 18px; }
.pin-groups h3 { margin: 6px 0 2px; font-size: 1em; }
.welcome { max-width: 380px; }
.welcome label { display: block; margin: 8px 0; }
.welcome input[type=text], .welcome input[type=password] { display: block; width: 100%; padding: 5px; box-sizing: border-box; }
.welcome .error { color: #b00020; }
.welcome .pw { position: relative; display: block; }
.welcome .pw input { padding-right: 38px; }
.pw-toggle { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 34px; height: 30px;
  padding: 0; border: 0; background: none; color: #666; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.welcome button.pw-toggle { background: none; border: 0; padding: 0; margin: 0; }
.pw-toggle[hidden] { display: none; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: #000; }
.pw-toggle .pw-slash { display: none; }
.pw-toggle[aria-pressed="true"] .pw-slash { display: inline; }
.welcome textarea { display: block; width: 100%; box-sizing: border-box; padding: 5px; font: inherit; }
fieldset.kinds { border: none; padding: 0; margin: 8px 0; }
fieldset.kinds label { display: block; margin: 3px 0; }
.ok { color: #1b6e2b; }
form.status-form input[type=text] { width: 120px; }
td.feedback-msg { white-space: pre-wrap; max-width: 420px; }
table.grid-board { border-collapse: collapse; margin: 8px 0 12px; table-layout: fixed; width: 100%; max-width: 760px; }
table.grid-board th { padding: 6px; font-size: 0.9em; background: #f0f0f0; border: 1px solid #ccc; vertical-align: bottom; }
table.grid-board th.row { text-align: right; width: 22%; }
table.grid-board td.cell { border: 1px solid #ccc; height: 96px; text-align: center; vertical-align: middle; padding: 4px; font-size: 0.9em; }
table.grid-board td.solved { background: #e8f5e9; }
table.grid-board td.picking { outline: 3px solid #d4b106; }
table.grid-board td.just-wrong { background: #fdecea; outline: 3px solid #b00020; }
.grid-wrong { background: #fdecea; border: 2px solid #b00020; color: #7a0016; padding: 8px 12px; font-size: 1.05em; }
.wrong-try { color: #b00020; font-size: 0.8em; }
img.grid-poster { width: 64px; height: auto; border: 1px solid #ccc; margin-bottom: 2px; }
details.grid-answers { margin: 4px 0; }
details.grid-answers summary { cursor: pointer; font-weight: bold; }
details.grid-answers ol { columns: 2; font-size: 0.9em; margin: 4px 0; }
@media (max-width: 600px) { details.grid-answers ol { columns: 1; } img.grid-poster { width: 44px; } }
/* Montage fits one phone screen like NYT Connections (Jay, 2026-10-14): square, equal tiles in a
   column no wider than 560px, short help folded away, controls centred under the board. */
.mg { max-width: 560px; }
h1.game-title { font-size: 1.4rem; margin: 4px 0 2px; }
.mg-lede { margin: 2px 0; }
.mg-help { margin: 2px 0 6px; font-size: 0.9em; }
.mg-help summary { cursor: pointer; color: #00419e; }
.mg-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 6px 0; }
.mg-tile { display: block; cursor: pointer; aspect-ratio: 1; }
.mg-tile input { position: absolute; opacity: 0; }
.mg-tile span { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 4px;
  overflow: hidden; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; line-height: 1.15; border-radius: 6px;
  background: #efefe6; border: 1px solid #ccc; text-align: center; font-weight: bold; font-size: clamp(10px, 3.1vw, 15px); }
.mg-tile small { font-weight: normal; color: #666; }
.mg-tile input:checked + span { background: #5a594e; color: #fff; }
.mg-tile input:checked + span small { color: #ddd; }
.mg-tile input:focus-visible + span { outline: 3px solid #d4b106; }
/* Solved groups as cinema tickets (Jay, 2026-10-15: movie-themed, not Connections' colours): notched ends, a
   perforated stub line and a tier stamp. */
.mg-group { position: relative; max-width: 760px; padding: 10px 26px 12px; margin: 8px 0; text-align: center; border-radius: 6px;
  -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 50%, transparent 98%, #000 100%) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 50%, transparent 98%, #000 100%) right / 51% 100% no-repeat; }
.mg-group::before, .mg-group::after { content: ""; position: absolute; top: 8px; bottom: 8px; border-left: 2px dashed currentColor; opacity: .35; }
.mg-group::before { left: 18px; } .mg-group::after { right: 18px; }
.mg-group a { color: inherit; }
.mg-tier { display: block; font-size: .72em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.mg-level-0 { background: #f4e3b5; color: #4a2e12; }
.mg-level-1 { background: #8e1b2a; color: #fff; }
.mg-level-2 { background: linear-gradient(135deg, #e3bf55, #b8891f); color: #1c1407; }
.mg-level-3 { background: #16161a; color: #ececee; box-shadow: inset 0 0 0 2px #d4a834; }
.mg-revealed { opacity: 0.75; }
.mg-dot { color: #5a594e; } .mg-dot.used { color: #ccc; }
.mg-mistakes { text-align: center; margin: 8px 0 4px; }
.mg-mistakes .mg-dot { font-size: 1.3em; margin: 0 2px; }
.mg-controls { display: flex; justify-content: center; gap: 8px; margin: 6px 0 10px; }
.mg-btn { font: inherit; font-weight: bold; padding: 7px 16px; color: #000; background: #fff; border: 1px solid #000;
  border-radius: 999px; -webkit-appearance: none; appearance: none; cursor: pointer; white-space: nowrap; text-decoration: none; }
a.mg-btn:visited { color: #000; }
.mg-btn:hover { text-decoration: none; background: #f3f3f3; }
.mg-submit { background: #000; color: #fff; }
.mg-submit:hover { background: #333; }
.mg-group { border-radius: 6px; }
@media (max-width: 640px) {
  body.game form.search { display: none; }  /* game pages keep the board on one screen */
  body.game main { padding-top: 4px; }
}
.rarity { font-weight: bold; color: #1b6e2b; margin-top: 2px; }
.top-answers { font-size: 0.8em; margin-top: 3px; }
pre.share { background: #f7f7f7; padding: 8px; display: inline-block; }
button.share-btn { display: block; margin: 8px 0 10px; padding: 7px 22px; border: none; border-radius: 999px; background: #d4a834;
  color: #17130a; font: inherit; font-weight: bold; cursor: pointer; }
button.share-btn::before { content: "↗ "; }
.grid-promo { border: 2px solid #d4b106; background: #fffbea; padding: 8px 12px; margin: 10px 0; }
.grid-promo h2 { margin: 0 0 4px; border: none; }
a.button { display: inline-block; background: #1a1a1a; color: #fff; padding: 4px 10px; border-radius: 3px; text-decoration: none; }
.daily .feature { border: 1px solid #ddd; padding: 6px 10px; }
.daily h3 { margin: 0 0 4px; font-size: 0.85em; text-transform: uppercase; color: #777; }
.feature-title { font-size: 1.15em; margin: 0 0 4px; }
/* Tiles: one column grid for every tile row on the page, so widths line up section to section, and a
   fixed height with two-line text clamps, so a long name never makes one tile taller than its row. */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 6px 0 14px; }  /* lists come in 8s and 12s */
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: flex; gap: 10px; align-items: center; border: 1px solid #ddd; padding: 7px 9px; text-decoration: none;
  height: 87px; box-sizing: border-box; overflow: hidden; }
.tile > span { min-width: 0; line-height: 1.25; overflow-wrap: anywhere; }
.tile img, .tile .ph { width: 46px; height: 69px; object-fit: cover; border: 1px solid #ccc; flex: none; }
.tile .ph { background: #e6e6e6; }
.tile strong, .tile .muted { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tile .muted { font-size: .85em; }
.tile .small { -webkit-line-clamp: 1; font-size: .78em; }
.tile b.tile-year { display: block; font-size: 1.45em; font-weight: 800; line-height: 1.05; color: #a00; letter-spacing: -.01em; }
.tiles-years .tile strong { -webkit-line-clamp: 1; }
.daily { align-items: stretch; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .daily { grid-template-columns: 1fr; } }
.feature-img { float: left; width: 80px; height: 120px; object-fit: cover; border: 1px solid #ccc; margin: 0 10px 4px 0; }
.daily .feature { overflow: hidden; }
.meta img.poster { height: 165px; object-fit: cover; flex: none; }
.tile strong { display: block; }
.tile:hover { background: #f5f5f5; }

/* Physical media and collections */
form.collect { margin: 6px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.owned { color: #1d7a34; font-weight: 600; }
.wanted { color: #8a6d00; font-weight: 600; }
table.stats tr.pending td { background: #fff8e0; font-style: italic; }
details.add-release { margin: 8px 0; }
.release-fields { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0; }
.release-fields label { display: flex; flex-direction: column; font-size: .85em; font-weight: 600; }
.release-fields label.wide { flex-basis: 100%; }
.release-fields textarea { width: 100%; max-width: 640px; }
.queue-item { border-top: 1px solid #ccc; padding: 6px 0 12px; }
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tile { gap: 7px; padding: 6px; height: 98px; }
  .tile strong { overflow-wrap: anywhere; font-size: .93em; }
  .tile img, .tile .ph { width: 42px; height: 63px; }
  .tile b.tile-year { font-size: 1.3em; }
}

/* Barcode scanner */
.scan-start { font-size: 1.1em; padding: 10px 18px; }
.scan-video { width: 100%; max-width: 560px; aspect-ratio: 4 / 3; object-fit: cover; background: #000; border-radius: 6px; display: block; }
.scan-video[hidden] { display: none; }
ul.scan-results { padding-left: 18px; }
ul.scan-results li { margin: 6px 0; }
.scan-modes { margin-top: 10px; }
.scan-card { display: flex; gap: 14px; align-items: flex-start; margin: 10px 0; }
.scan-card img { border-radius: 3px; flex: none; }
.scan-card h2 { margin: 0 0 4px; border: none; font-size: 1.3em; }
.scan-card p { margin: 2px 0; }
.scan-done { background: #e6f4ea; border: 1px solid #2e7d32; color: #1b5e20; font-weight: bold; font-size: 1.15em; padding: 10px 14px; border-radius: 4px; }
.scan-collect { margin: 12px 0; }
.scan-collect p { margin: 0 0 8px; font-weight: bold; }
.scan-collect button { padding: 6px 12px; }
.scan-collect button.big { font-size: 1.1em; padding: 10px 18px; font-weight: bold; }
.scan-next a.button { font-size: 1.1em; padding: 10px 18px; }

/* Franchise infographic (Jay: "infographics like this", a Friday the 13th table) */
.ig-head { background: #14161a; color: #f2f2f2; padding: 18px 20px 14px; border-radius: 6px; margin: 6px 0 10px; border-bottom: 4px solid #d4a834; }
.ig-head h1 { margin: 0; font-size: 2.3em; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; line-height: 1.05; color: #fff; }
.ig-head h1 span { display: block; font-size: .42em; letter-spacing: .12em; color: #d9ae3a; font-weight: 800; margin-top: 4px; }
.ig-sub { margin: 8px 0 0; color: #c9ced8; }
.ig-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0 14px; }
.ig-facts > div { border: 1px solid #ddd; border-top: 3px solid #c9a227; padding: 8px 10px; }
.ig-facts span { display: block; font-size: .75em; text-transform: uppercase; letter-spacing: .05em; color: #777; font-weight: 700; }
.ig-facts b { display: block; font-size: 1.15em; margin: 2px 0; }
.ig-facts em { font-style: normal; color: #555; font-size: .9em; }
.ig-table td.ig-film a { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.ig-table td.ig-film img, .ig-table td.ig-film .ph { width: 34px; height: 51px; object-fit: cover; flex: none; border: 1px solid #ccc; }
.ig-table td.ig-film .ph { background: #e6e6e6; display: inline-block; }
.ig-table td.ig-film a > span { font-weight: 700; }
.ig-oscar { color: #b8860b; font-weight: 800; font-size: .85em; }
svg.franchise-chart .bar { fill: #b5121b; } svg.franchise-chart .bar2 { fill: #3a0507; opacity: .85; }
svg.franchise-chart .line { fill: none; stroke: #d4a106; stroke-width: 2.5; } svg.franchise-chart .dot { fill: #d4a106; }
ul.ig-notes { font-size: .85em; color: #666; }
@media (max-width: 640px) { .ig-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ig-head h1 { font-size: 1.6em; } }
.ig-chart svg { width: 100%; height: auto; }

/* Full-screen posters and photos (zoom.js) */
a.zoom { cursor: zoom-in; }
.zoom-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .92); display: flex; align-items: center;
  justify-content: center; cursor: zoom-out; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
/* As big as the screen allows from the first frame: the thumbnail is scaled up until the full-resolution image
   replaces it (Jay, 2026-10-15: it opened at thumbnail size while the large one was still being fetched). */
.zoom-overlay img { width: 100vw; height: 100vh; height: 100dvh; object-fit: contain; opacity: 1; }
.zoom-close { position: absolute; top: 10px; right: 12px; background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%; width: 40px; height: 40px; font-size: 26px; line-height: 1; cursor: pointer; appearance: none; -webkit-appearance: none; }
html.zoomed, html.zoomed body { overflow: hidden; }

/* That Guy */
.tg-hero { display: flex; gap: 16px; align-items: center; margin: 10px 0; }
.tg-face { width: 120px; height: 180px; object-fit: cover; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.25); background: #e4e4e4; display: block; }
.tg-name { font-size: 1.6em; font-weight: bold; margin: 0 0 6px; }
.tg-from { margin: 0 0 4px; text-transform: uppercase; font-size: .75em; letter-spacing: .06em; color: #777; }
.tg-film { display: flex; gap: 10px; align-items: center; }
.tg-film img { border-radius: 4px; display: block; }
.tg-film b { font-size: 1.1em; }
.tg-score { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.tg-score > div { border: 2px solid #d4d4d4; border-radius: 8px; text-align: center; padding: 6px 4px; background: #fafafa; }
.tg-score b { display: block; font-size: 1.9em; line-height: 1.1; }
.tg-score span { font-size: .8em; color: #666; text-transform: uppercase; letter-spacing: .05em; }
.tg-strikes i { font-style: normal; color: #ccc; margin: 0 2px; }
.tg-strikes i.on { color: #c62828; }
.tg-chip { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: .85em; font-weight: bold; color: #fff; white-space: nowrap; }
.tg-chip.t1, ol.tg-named li.t1 b { background: #2e7d32; }
.tg-chip.t2, ol.tg-named li.t2 b { background: #c99a06; }
.tg-chip.t3, ol.tg-named li.t3 b { background: #6a1b9a; }
.tg-legend { line-height: 1.9; }
ol.tg-named { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 6px; }
ol.tg-named li { display: flex; align-items: center; gap: 6px; border: 1px solid #ccc; border-radius: 18px; padding: 2px 10px 2px 2px; background: #fff; }
ol.tg-named li b { color: #fff; border-radius: 50%; min-width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-size: .85em; }
ol.tg-named li.miss { border-color: #e5b4b4; background: #fdf0f0; color: #8b2b2b; }
ol.tg-named li.miss b { background: #c62828; }
.tg .arc-result-mark { width: auto; min-width: 1.4em; }
.arc-result.tg-hit-2 { background: #b58500; }
.arc-result.tg-hit-3 { background: #6a1b9a; }
table.tg-all tr.yours td { background: #eef7ee; }
@media (max-width: 640px) {
  .tg-face { width: 96px; height: 144px; }
  .tg-name { font-size: 1.3em; }
  .tg-score b { font-size: 1.5em; }
}

/* Mount Rushmores */
.rm-mountain { background: linear-gradient(180deg, #d9d6cf 0%, #b9b4aa 100%); border-radius: 12px; padding: 12px 12px 14px; margin: 10px 0; }
.rm-members { background: linear-gradient(180deg, #e3e0d9 0%, #c9c4ba 100%); }
.rm-carved { margin: 0 0 8px; text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 1.3em; letter-spacing: .12em;
  text-transform: uppercase; color: #5b564d; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
ol.rm-faces { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
ol.rm-faces li { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
ol.rm-faces .rm-img { display: block; width: 100%; }
ol.rm-faces img, ol.rm-faces .rm-ph, ol.rm-faces .rm-add { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; display: block;
  background: #9e998f; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
ol.rm-faces .rm-add { display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: none;
  background: rgba(255,255,255,.35); border: 2px dashed #8a857b; color: #5b564d; text-decoration: none; box-sizing: border-box; }
ol.rm-faces .rm-add b { font-size: 2em; line-height: 1; }
ol.rm-faces li.active .rm-add, ol.rm-faces li.active img { outline: 3px solid #d4a106; outline-offset: 2px; }
.rm-name { margin-top: 6px; font-weight: bold; line-height: 1.2; overflow-wrap: anywhere; }
.rm-edit { font-size: .8em; display: flex; flex-wrap: wrap; gap: 0 8px; justify-content: center; margin-top: 2px; }
.rm-edit form { display: inline; margin: 0; }
button.linkish { background: none; border: none; padding: 0; color: #9e1b1b; text-decoration: underline; cursor: pointer; font: inherit; }
ol.rm-big { max-width: 720px; margin: 0 auto; }
ol.rm-small { max-width: 520px; gap: 8px; }
ol.rm-small .rm-name { font-size: .8em; font-weight: normal; }
.rm-row { margin: 8px 0 16px; }
.rm-row > p { margin: 0 0 4px; }
.rm-delete { margin: 8px 0; }
/* Rushmore picker and drag and drop (rushmore.js) */
dialog.rm-dialog { width: min(560px, calc(100vw - 24px)); max-height: min(78vh, 680px); padding: 0; border: none; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35); display: none; flex-direction: column; overflow: hidden; background: #fff; color: #000; }
dialog.rm-dialog[open] { display: flex; }
dialog.rm-dialog::backdrop { background: rgba(20, 18, 14, .55); }
.rm-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 0; }
.rm-dialog-head h2 { margin: 0; border: none; font-size: 1.2em; }
.rm-dialog-close { font-size: 1.8em; line-height: 1; background: none; border: none; cursor: pointer; color: #666; padding: 0 4px; }
input.rm-dialog-q { margin: 10px 16px 0; padding: 10px 12px; font: inherit; font-size: 1.1em; border: 2px solid #b9b4aa; border-radius: 10px; }
input.rm-dialog-q:focus { outline: none; border-color: #d4a106; }
p.rm-dialog-hint { margin: 6px 16px 8px; min-height: 1.3em; }
/* flex: 1 1 auto, not flex: 1 (basis 0): iPhone Safari collapsed the list to nothing in a dialog without a set height */
ul.rm-dialog-results { list-style: none; margin: 0; padding: 0 8px 10px; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
@media (max-width: 640px) {
  /* at the top of the screen, so the keyboard doesn't cover the results */
  dialog.rm-dialog { margin: 10px auto auto; max-height: 52vh; max-height: 52svh; }
}
ul.rm-dialog-results li { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 10px; cursor: pointer; }
ul.rm-dialog-results li:hover, ul.rm-dialog-results li.on { background: #fff4cc; }
ul.rm-dialog-results img, ul.rm-dialog-results .rm-noimg { width: 46px; height: 69px; object-fit: cover; border-radius: 6px; flex: none; background: #ddd; }
ul.rm-dialog-results strong { display: block; font-size: 1.05em; }
ul.rm-dialog-results .muted { font-size: .85em; }
ol.rm-faces[data-base] > li[data-name] { cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
ol.rm-faces li.rm-dragging { opacity: .35; }
ol.rm-faces li.rm-over img, ol.rm-faces li.rm-over .rm-add, ol.rm-faces li.rm-over .rm-ph { outline: 3px dashed #d4a106; outline-offset: 3px; }
.rm-ghost { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; list-style: none; text-align: center; opacity: .9;
  transform-origin: top left; cursor: grabbing; }
.rm-ghost img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.35); display: block; }
.rm-ghost .rm-edit { display: none; }
ol.rm-busy { opacity: .6; pointer-events: none; }
@media (max-width: 640px) { ol.rm-faces { gap: 6px; } .rm-name { font-size: .8em; } }

/* Infographic pages */
.ig-facts.ig-facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chart-wrap.ig-big { max-width: 900px; }
.ig-premium { font-weight: bold; }
@media (max-width: 640px) { .ig-facts.ig-facts-3 { grid-template-columns: 1fr; } }

/* Double Take */
.game-card.game-doubletake { border-top-color: #d9622b; }
a.game-tile.game-doubletake { background: #fdf0e9; border-color: #efc9b3; }
a.game-tile.game-rushmore { background: #f3f1ec; border-color: #d9d4ca; }
ol.dt-progress { list-style: none; display: flex; gap: 6px; padding: 0; margin: 8px 0 12px; }
ol.dt-progress li { width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  background: #eee; color: #777; font-weight: bold; font-size: .85em; }
ol.dt-progress li.now { background: #fff; color: #d9622b; outline: 2px solid #d9622b; }
ol.dt-progress li.right { background: #2e7d32; color: #fff; }
ol.dt-progress li.wrong { background: #c62828; color: #fff; }
.dt-round { margin: 10px 0 18px; }
.dt-film { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.dt-film img { width: 96px; height: 144px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.2); flex: none; }
.dt-round-no { margin: 0; color: #d9622b; font-weight: bold; font-size: .85em; text-transform: uppercase; letter-spacing: .05em; }
.dt-q { margin: 4px 0 0; font-size: 1.45em; line-height: 1.25; }
form.dt-options { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 14px; }
form.dt-options.dt-n3, form.dt-options.dt-n4 { grid-template-columns: repeat(4, minmax(0, 170px)); }
button.dt-option { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px; border: 2px solid #ddd; border-radius: 12px;
  background: #fff; cursor: pointer; font: inherit; font-weight: bold; font-size: 1.05em; color: #000; transition: transform .1s ease, border-color .1s ease; }
/* Hover only where there is a mouse: on phones the highlight stuck to the spot last tapped and looked like a hint (Jay, 2026-10-16) */
@media (hover: hover) { button.dt-option:hover { border-color: #d9622b; transform: translateY(-2px); } }
button.dt-option:focus-visible { border-color: #d9622b; transform: translateY(-2px); }
button.dt-option img { width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 8px; background: #ddd; }
@media (max-width: 640px) {
  .dt-q { font-size: 1.2em; }
  .dt-film img { width: 72px; height: 108px; }
  form.dt-options, form.dt-options.dt-n3, form.dt-options.dt-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  form.dt-options.dt-n2 button.dt-option img { aspect-ratio: 3 / 4; }
  /* four choices (Who Directed It?) all fit the first screen on a phone (audit, 2026-10-20) */
  form.dt-options.dt-n3 button.dt-option img, form.dt-options.dt-n4 button.dt-option img { aspect-ratio: 1 / 1; object-position: 50% 20%; }
  form.dt-options.dt-n4 button.dt-option { padding: 6px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { button.dt-option { transition: none; } }

/* EGOT status letters on person pages */
.egot-l { display: inline-flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; margin-right: 2px;
  border-radius: 4px; font-weight: bold; font-size: .9em; cursor: help; }
.egot-l.won { background: #c9a227; color: #fff; }
.egot-l.honorary { border: 2px solid #c9a227; color: #8a6d0b; }
.egot-l.nominated { border: 1px dashed #999; color: #666; }
.egot-l.none { color: #ccc; border: 1px solid #eee; }
.egot-line span:last-child { margin-left: 4px; }
ul.egot-notes { padding-left: 18px; }
ul.egot-notes li { margin: 3px 0; }

/* Home: this year's two tables side by side, full width, tops aligned */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.pair table.stats { width: 100%; min-width: 0; }
.pair table.stats td.left { white-space: normal; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

/* Film header (2026-10-15 redesign) */
.film-head { gap: 18px; align-items: flex-start; }
.film-head > a.zoom { flex: none; }
.film-head img.poster { width: 150px; height: 225px; object-fit: cover; border-radius: 6px; }
.fh-body { flex: 1; min-width: 0; }
p.fh-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 8px; color: #444; }
.fh-cert { border: 1px solid #888; border-radius: 3px; padding: 0 5px; font-size: .85em; font-weight: bold; }
a.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #eef1f6; border: 1px solid #d6dce6;
  font-size: .85em; margin: 2px 4px 2px 0; text-decoration: none; }
a.chip:hover { background: #dfe6f1; text-decoration: none; }
dl.fh-people, dl.fh-grid { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; margin: 0 0 10px; }
dl.fh-people dt, dl.fh-grid dt { color: #666; font-size: .82em; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
dl.fh-people dd, dl.fh-grid dd { margin: 0; }
dl.fh-people dd { font-weight: bold; }
dl.fh-grid { grid-template-columns: max-content 1fr max-content 1fr; font-size: .95em; }
.stat-tiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 12px; }
.st { position: relative; min-width: 120px; padding: 8px 12px 9px; border: 1px solid #ddd; border-radius: 8px; background: #fff;
  display: flex; flex-direction: column; }
.st-label { font-size: .72em; text-transform: uppercase; letter-spacing: .06em; color: #777; font-weight: bold; }
a.st-num { font-size: 1.9em; font-weight: 800; line-height: 1.1; color: #000; text-decoration: none; }
a.st-num.neg { color: #b00020; }
.st-sub { font-size: .8em; color: #666; }
a.st-rank { position: absolute; top: 7px; right: 9px; font-size: .72em; color: #888; }
a.st-rank-in { font-size: .9em; color: #888; }
.fh-themes { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.fh-themes-label { color: #666; font-size: .82em; text-transform: uppercase; letter-spacing: .04em; margin-right: 8px; }
details.fh-more { display: inline; }
details.fh-more summary { cursor: pointer; font-size: .85em; color: #00419e; list-style: none; padding: 2px 6px; }
details.fh-more summary::-webkit-details-marker { display: none; }
details.fh-more[open] summary { display: none; }
@media (max-width: 760px) {
  .film-head { flex-direction: row; }
  .film-head img.poster { width: 96px; height: 144px; }
  dl.fh-grid { grid-template-columns: max-content 1fr; }
  .st { min-width: calc(50% - 5px); flex: 1 1 calc(50% - 5px); box-sizing: border-box; }
  a.st-num { font-size: 1.6em; }
}
@media (max-width: 480px) {
  .film-head { flex-direction: column; }
  .film-head > a.zoom { align-self: center; }
  .film-head img.poster { width: 150px; height: 225px; }
}
.egot-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.egot-card { border: 1px solid #ddd; border-radius: 8px; padding: 8px 12px; }
.egot-card p.ec-name { margin: 0 0 4px; font-weight: bold; }
.egot-card ul, details.egot-wins ul { list-style: none; padding: 0; margin: 0; }
.egot-card li, details.egot-wins li { margin: 3px 0; font-size: .92em; line-height: 1.35; }
details.egot-wins { margin-top: 4px; }
details.egot-wins summary { cursor: pointer; color: #00419e; font-size: .9em; }

/* Infographic poster (_ig_poster.html): a fixed cinema palette in both themes, like a printed graphic */
figure.igp { --ig-bg: #101218; --ig-ink: #f4f1ea; --ig-mute: #9aa0ab; --ig-accent: #d9ae3a; --ig-gold: #f6e3a1; --ig-low: #c2453a; --ig-line: #262a33;
  max-width: 860px; margin: 10px 0 16px; padding: 26px 28px 18px; border-radius: 14px; color: var(--ig-ink);
  background: radial-gradient(120% 80% at 100% 0%, #2a2210 0%, rgba(42, 34, 16, 0) 55%), linear-gradient(170deg, #171a22 0%, #0b0c10 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
figure.igp a { color: inherit; text-decoration: none; }
.igp-eyebrow { margin: 0; color: var(--ig-accent); font-weight: 800; font-size: .78em; letter-spacing: .18em; text-transform: uppercase; }
h2.igp-title { margin: 6px 0 4px; border: none; padding: 0; color: #fff; font-size: 2.35em; font-weight: 900; line-height: 1.02;
  letter-spacing: -.02em; text-transform: uppercase; }
h2.igp-title::after { display: none; }
.igp-sub { margin: 0 0 18px; color: var(--ig-mute); max-width: 62ch; }
a.igp-hero { display: flex; gap: 18px; align-items: center; padding: 14px; margin-bottom: 14px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(217, 174, 58, .18), rgba(217, 174, 58, 0)); border: 1px solid rgba(217, 174, 58, .38); }
a.igp-hero img { width: 110px; height: 165px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); flex: none; }
.igp-hero-text { display: flex; flex-direction: column; min-width: 0; }
.igp-hero-rank { color: var(--ig-accent); font-weight: 800; letter-spacing: .14em; font-size: .8em; text-transform: uppercase; }
.igp-hero-name { font-size: 1.45em; font-weight: 800; line-height: 1.15; margin: 2px 0 4px; }
.igp-hero-num { font-size: 3.4em; font-weight: 900; line-height: 1; color: #fff; letter-spacing: -.02em; }
.igp-hero-cap { color: var(--ig-mute); font-size: .9em; margin-top: 4px; }
ol.igp-rows { list-style: none; margin: 0; padding: 0; }
ol.igp-rows li a { display: grid; grid-template-columns: 26px 36px minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 7px 4px; border-top: 1px solid var(--ig-line); }
ol.igp-rows li a:hover { background: rgba(255, 255, 255, .04); }
.igp-rank { color: var(--ig-mute); font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
ol.igp-rows img { width: 36px; height: 54px; object-fit: cover; border-radius: 4px; background: #222; }
.igp-name { font-weight: 700; line-height: 1.2; min-width: 0; }
.igp-name small { display: block; color: var(--ig-mute); font-weight: 400; font-size: .82em; }
.igp-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.igp-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ig-accent), var(--ig-gold)); }
.igp-val { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; min-width: 5ch; }
.igp-cols { display: flex; gap: 8px; align-items: flex-end; height: 340px; padding-top: 6px; }
a.igp-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; height: 100%; gap: 6px; }
.igp-col-val { font-weight: 800; font-size: .95em; font-variant-numeric: tabular-nums; }
.igp-col-track { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.igp-col-bar { width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #5b616e, #2c3039); }
a.igp-col.high .igp-col-bar { background: linear-gradient(180deg, var(--ig-gold), var(--ig-accent)); }
a.igp-col.low .igp-col-bar { background: linear-gradient(180deg, var(--ig-low), #7a2a22); }
a.igp-col img, .igp-col-ph { width: 100%; max-width: 54px; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 4px; background: #222; }
.igp-col-label { font-weight: 800; font-size: .85em; color: var(--ig-mute); }
.igp-col-note { font-size: .7em; color: var(--ig-mute); text-align: center; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.igp-short { display: none; }
a.igp-col.high .igp-col-label { color: var(--ig-gold); }
a.igp-col.low .igp-col-label { color: var(--ig-low); }
p.igp-callout { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: .92em; }
p.igp-callout .hi { color: var(--ig-gold); }
p.igp-callout .lo { color: var(--ig-low); }
p.igp-callout span { color: var(--ig-mute); }
footer.igp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin-top: 18px; padding-top: 12px;
  border-top: 1px solid var(--ig-line); color: var(--ig-mute); font-size: .78em; }
.igp-brand { font-weight: 900; letter-spacing: .02em; color: #fff; font-size: 1.15em; }
.igp-brand b { color: var(--ig-accent); }
@media (max-width: 640px) {
  figure.igp { padding: 18px 14px 14px; border-radius: 10px; }
  h2.igp-title { font-size: 1.6em; }
  a.igp-hero img { width: 80px; height: 120px; }
  .igp-hero-num { font-size: 2.4em; }
  ol.igp-rows li a { grid-template-columns: 20px 30px minmax(0, 1fr) auto; }
  ol.igp-rows li .igp-bar { grid-column: 3 / 5; grid-row: 2; }
  ol.igp-rows img { width: 30px; height: 45px; }
  .igp-cols { height: 260px; gap: 4px; }
  .igp-col-val { font-size: .72em; }
  .igp-col-label { font-size: .78em; }
  .igp-long { display: none; }
  .igp-short { display: block; line-height: 1.05; text-align: center; }
  .igp-short small { display: block; font-size: .72em; font-weight: 600; opacity: .8; }
  .igp-col-note { font-size: .62em; }
}

/* Infographics index: admin schedule and archive */
section.ig-admin { border: 2px dashed #d4a106; border-radius: 10px; padding: 6px 14px 10px; margin: 14px 0; }
.ig-week { border-top: 1px solid #e3e0d0; padding: 10px 0; }
.ig-week.saved { background: #f4fbf4; }
.ig-week-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.ig-week-head a { margin-left: auto; }
p.ig-week-title { margin: 2px 0 6px; font-size: 1.1em; font-weight: bold; }
.ig-badge { font-size: .75em; padding: 1px 7px; border-radius: 99px; background: #fff3c4; color: #7a5b00; font-weight: bold; }
.ig-badge.ok { background: #d8f2da; color: #1e5e24; }
form.ig-edit { display: grid; grid-template-columns: 1.2fr 1.2fr 1.6fr auto; gap: 6px 10px; align-items: end; }
form.ig-edit label { display: flex; flex-direction: column; font-size: .8em; color: #666; gap: 2px; }
form.ig-edit input, form.ig-edit select { font: inherit; font-size: 1.1em; padding: 4px 6px; min-width: 0; }
.ig-edit-buttons { display: flex; gap: 6px; align-items: center; }
.ig-edit-buttons button.veto { background: #b00020; color: #fff; border-color: #b00020; }
ul.ig-archive { list-style: none; padding: 0; margin: 6px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
ul.ig-archive a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none;
  background: #14161c; color: #f4f1ea; border-left: 4px solid #d9ae3a; }
.ig-arch-no { color: #d9ae3a; font-size: .75em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ig-arch-title { font-weight: 800; }
@media (max-width: 760px) { form.ig-edit { grid-template-columns: 1fr; } }

/* Ask (app/ask.py) */
.ask-beta { font-size: .45em; vertical-align: middle; padding: 2px 8px; border-radius: 99px; background: #fff3c4; color: #7a5b00; letter-spacing: .05em; text-transform: uppercase; }
form.ask-form { display: flex; gap: 8px; max-width: 820px; margin: 10px 0 6px; }
form.ask-form input { flex: 1; min-width: 0; font: inherit; font-size: 1.1em; padding: 10px 12px; border: 2px solid #999; border-radius: 10px; }
form.ask-form button { font: inherit; font-weight: bold; padding: 0 18px; border-radius: 10px; border: none; background: #1a1a1a; color: #fff; cursor: pointer; }
h2.ask-head { margin-top: 14px; }
p.ask-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.ask-read { font-size: .9em; padding: 1px 8px; border-radius: 99px; background: #eef1f6; }
.ask-read.bad { background: #fde8e8; color: #9b1c1c; }
.ask-cannot { border-left: 4px solid #d4a106; padding: 6px 12px; background: #fffbea; margin: 10px 0; }
details.ask-how pre { font-size: .8em; white-space: pre-wrap; background: #f6f6f6; padding: 8px; border-radius: 6px; }
ul.ask-examples li { margin: 4px 0; }
form.ask-form button.ask-mic { display: inline-flex; align-items: center; justify-content: center; width: 48px; padding: 0; background: #eee; color: #222; }
form.ask-form button.ask-mic[hidden] { display: none; }
form.ask-form button.ask-mic.on { background: #c62828; color: #fff; animation: ask-pulse 1.2s ease-in-out infinite; }
@keyframes ask-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, .5); } 50% { box-shadow: 0 0 0 8px rgba(198, 40, 40, 0); } }
@media (prefers-reduced-motion: reduce) { form.ask-form button.ask-mic.on { animation: none; } }
p.ask-mic-status { min-height: 1.2em; margin: 0 0 6px; color: #c62828; font-weight: bold; font-size: .9em; }

/* Credits Roll, Six Degrees, Higher or Lower, Timeline (2026-10-15) */
.game-card.game-creditsroll { border-top-color: #3949ab; } a.game-tile.game-creditsroll { background: #eef0fb; border-color: #c5cae9; }
.game-card.game-sixdegrees { border-top-color: #2e7d32; } a.game-tile.game-sixdegrees { background: #edf7ee; border-color: #c8e6c9; }
.game-card.game-higherlower { border-top-color: #ad1457; } a.game-tile.game-higherlower { background: #fcecf3; border-color: #f8bbd0; }
.game-card.game-timeline { border-top-color: #0277bd; } a.game-tile.game-timeline { background: #e9f5fc; border-color: #b3e5fc; }
ol.cr-cast { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 720px; }
ol.cr-cast li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-weight: bold; font-size: .85em; }
ol.cr-cast img, .cr-q { width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 8px; background: #ddd; }
.cr-q { display: flex; align-items: center; justify-content: center; font-size: 2em; color: #999; border: 2px dashed #bbb; box-sizing: border-box; background: transparent; }
ol.cr-cast li.new img { outline: 3px solid #3949ab; outline-offset: 2px; }
p.cr-banner { padding: 8px 12px; border-radius: 8px; background: #eef0fb; font-weight: bold; }
p.cr-banner.miss { background: #fdecea; color: #8a1c1c; }
p.cr-banner.ok { background: #e7f5e8; color: #1e5e24; }
ol.cr-guesses { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
ol.cr-guesses li { padding: 2px 10px; border-radius: 99px; background: #fdecea; font-size: .9em; }
ol.cr-guesses li.ok { background: #e7f5e8; }
.sd-ends { display: flex; align-items: center; gap: 16px; margin: 10px 0; }
a.sd-face { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: bold; text-decoration: none; width: 110px; text-align: center; }
a.sd-face img { width: 90px; height: 135px; object-fit: cover; border-radius: 8px; }
a.sd-face.target img { outline: 3px solid #f2b632; outline-offset: 2px; }
.sd-arrow { font-size: 2em; color: #999; }
ol.sd-chain { list-style: none; padding: 0; margin: 6px 0 14px; max-width: 520px; }
ol.sd-chain li a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
ol.sd-chain li.sd-actor a { font-weight: bold; padding: 4px 12px 4px 4px; border-radius: 10px; background: #edf7ee; }
ol.sd-chain li.sd-actor.target a { background: #f2d27a; color: #111; }
ol.sd-chain li.sd-actor img { width: 44px; height: 66px; object-fit: cover; border-radius: 6px; flex: none; background: #ddd; }
ol.sd-chain li.sd-film { margin: 0 0 0 26px; padding: 6px 0 6px 18px; border-left: 3px solid #b9d9bb; }
ol.sd-chain li.sd-film a { font-size: .95em; }
ol.sd-chain li.sd-film img { width: 36px; height: 54px; object-fit: cover; border-radius: 4px; flex: none; background: #ddd; }
ol.sd-chain .sd-in { color: #888; font-size: .85em; width: 1.2em; flex: none; }
ol.sd-chain li.sd-todo { opacity: .55; }
ol.sd-chain li.sd-film.sd-todo { border-left-style: dashed; min-height: 22px; }
ol.sd-chain.best li.sd-actor a { background: #fff6d6; }
h2.sd-chosen { display: flex; align-items: center; gap: 10px; }
h2.sd-chosen img { width: 40px; height: 60px; object-fit: cover; border-radius: 4px; flex: none; }
table.sd-results img { width: 30px; height: 45px; object-fit: cover; border-radius: 3px; vertical-align: middle; margin-right: 6px; }
h2.sd-step { font-size: 1.1em; }
/* The co-star list (Jay, 2026-10-16: names, the full cast, small thumbnails on the left). iOS Safari draws a button's
   label blank without an explicit colour and appearance: none. */
.sd-cast { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; max-width: 560px; }
.sd-cast form { margin: 0; }
button.sd-pick { -webkit-appearance: none; appearance: none; width: 100%; display: flex; align-items: center; gap: 10px; padding: 4px 8px;
  border: 1px solid #ddd; border-radius: 8px; background: #fff; color: #111; cursor: pointer; font: inherit; text-align: left; }
button.sd-pick:hover { border-color: #2e7d32; background: #f3faf3; }
button.sd-pick.target { border: 2px solid #f2b632; background: #fff9e0; }
button.sd-pick img { width: 32px; height: 48px; object-fit: cover; border-radius: 4px; flex: none; background: #eee; }
.sd-who { display: flex; flex-direction: column; min-width: 0; }
.sd-who small { color: #666; font-size: .85em; }
p.sd-actions { display: flex; gap: 8px; }
details.sd-all { margin: 8px 0 16px; }
details.sd-all summary { cursor: pointer; font-weight: bold; }
ol.sd-routes { margin: 6px 0; padding-left: 2.2em; max-width: 900px; }
ol.sd-routes li { padding: 3px 0; border-bottom: 1px solid #eee; line-height: 1.5; }
p.hl-streak { font-size: 1.1em; }
.hl-pair { display: flex; align-items: center; gap: 14px; margin: 12px 0; }
.hl-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; width: 200px; padding: 10px; border: 1px solid #ddd; border-radius: 12px; }
.hl-card img { width: 150px; height: 225px; object-fit: cover; border-radius: 8px; }
.hl-money { font-size: 1.6em; font-weight: 900; }
.hl-vs { font-weight: 900; color: #999; }
form.hl-buttons { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 6px; }
form.hl-buttons button { font: inherit; font-weight: bold; padding: 10px; border-radius: 8px; border: none; cursor: pointer; color: #fff; }
button.hl-up { background: #2e7d32; } button.hl-down { background: #ad1457; }
ol.hl-run, ol.tl-list { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
ol.hl-run a { display: flex; gap: 10px; align-items: center; text-decoration: none; }
ol.hl-run img, ol.tl-list img { width: 40px; height: 60px; object-fit: cover; border-radius: 4px; }
ol.tl-list li { display: flex; gap: 10px; align-items: center; padding: 6px 10px; border: 2px solid #ddd; border-radius: 10px; font-weight: bold; }
ol.tl-list li.ok { border-color: #2e7d32; background: #edf7ee; }
ol.tl-list select { font: inherit; font-size: 1.1em; padding: 2px 4px; }
.tl-year { min-width: 3em; font-weight: 900; color: #0277bd; }
.tl-tries { display: flex; flex-direction: column; gap: 2px; margin: 8px 0; }
@media (max-width: 640px) {
  ol.cr-cast { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hl-card { width: 46%; padding: 6px; } .hl-card img { width: 100%; height: auto; aspect-ratio: 2 / 3; }
  .hl-money { font-size: 1.2em; } .hl-pair { gap: 6px; justify-content: center; }
}
details.not-a-film { display: inline-block; margin-left: 10px; font-size: .85em; }
details.not-a-film summary { cursor: pointer; color: #888; }
details.not-a-film form { display: flex; gap: 8px; align-items: center; margin-top: 4px; }

/* Game switcher (_game_nav.html) */
nav.game-switch { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 6px; padding: 4px 2px 2px; -webkit-overflow-scrolling: touch; }
nav.game-switch::-webkit-scrollbar { display: none; }
nav.game-switch a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 60px; padding: 4px 2px;
  border-radius: 10px; text-decoration: none; color: inherit; font-size: .7em; font-weight: 600; text-align: center; line-height: 1.1; }
nav.game-switch a:hover { background: rgba(127, 127, 127, .12); text-decoration: none; }
nav.game-switch a.on { background: rgba(212, 168, 52, .18); box-shadow: inset 0 0 0 2px #d4a834; }
nav.game-switch .game-icon { display: block; }
.gs-hub { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: #555; color: #fff; font-size: 20px; }
ol.tl-drag li { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
ol.tl-drag li.dragging { opacity: .85; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); border-color: #0277bd; cursor: grabbing; position: relative; z-index: 2; }
.tl-grip { font-size: 1.3em; color: #999; padding: 0 2px; }
b.tl-pos { min-width: 1.2em; color: #0277bd; }
/* Admin "Add a photo" under a missing headshot (Jay, 2026-10-16) */
.meta .photo-col { flex: none; width: 110px; }
.photo-credit { margin: 3px 0 0; font-size: .75em; line-height: 1.25; overflow-wrap: anywhere; }
details.add-photo { margin-top: 4px; font-size: .85em; }
details.add-photo[open] { width: 240px; position: relative; z-index: 2; background: inherit; }
details.add-photo input { display: block; width: 100%; margin: 4px 0; box-sizing: border-box; }
details.add-photo button.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
/* "Recommended if you like": one reason per row, the rest on tap (Jay, 2026-10-16) */
td.why { min-width: 13em; max-width: 26em; white-space: normal; }
td.why summary { cursor: pointer; }
td.why details[open] summary { margin-bottom: 2px; font-size: .85em; }
td.why details[open] summary .muted { display: none; }

/* Best Ever (Jay, 2026-10-16): rank every version of a character or thing */
a.game-tile.game-bestever { background: #eef1f6; border-color: #c9d1de; }
.game-card.game-auteur { border-top-color: #4e342e; } a.game-tile.game-auteur { background: #f5efea; border-color: #d7c7bb; }
.game-card.game-whodirected { border-top-color: #00695c; } a.game-tile.game-whodirected { background: #e8f4f2; border-color: #b2dfdb; }
/* Auteur clues */
ol.au-clues { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
ol.au-clues li { border: 2px solid #d7c7bb; border-radius: 10px; padding: 8px 12px; background: #fff; }
ol.au-clues li.new { border-color: #4e342e; box-shadow: 0 4px 14px rgba(78, 52, 46, .25); }
ol.au-clues li.hidden-clue { border-style: dashed; background: #faf7f5; color: #999; }
ol.au-clues h3 { margin: 0 0 6px; font-size: 1em; display: flex; gap: 8px; align-items: center; }
ol.au-clues p { margin: 4px 0; }
.au-n { display: inline-flex; width: 1.6em; height: 1.6em; border-radius: 50%; background: #4e342e; color: #fff; align-items: center; justify-content: center; font-size: .85em; flex: none; }
ol.au-clues li.hidden-clue .au-n { background: #ccc; }
ul.au-people { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
ul.au-people li, ol.au-clues ul.au-people li { display: flex; gap: 8px; align-items: center; border: 0; padding: 0; background: none; box-shadow: none; }
ul.au-people img, .au-film img { width: 32px; height: 48px; object-fit: cover; border-radius: 4px; flex: none; background: #eee; }
ul.au-people span { display: flex; flex-direction: column; }
ul.au-people small { color: #666; }
.au-film { display: flex; gap: 10px; align-items: center; }
.au-film img { width: 48px; height: 72px; }
.au-film p { margin: 0; }
h1.game-title .game-icon-bestever { vertical-align: middle; }
ul.be-topics { list-style: none; padding: 0; margin: 6px 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
ul.be-topics a { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border: 1px solid #c9d1de; border-left: 4px solid #263248;
  border-radius: 8px; text-decoration: none; color: inherit; height: 100%; box-sizing: border-box; }
ul.be-topics a:hover { background: #f5f7fa; }
ul.be-topics li.ranked a { border-left-color: #e0b40f; }
.be-leader { color: #6b5200; }
.be-go { color: #263248; font-weight: bold; }
ol.be-list { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
ol.be-list li { display: flex; gap: 10px; align-items: center; padding: 6px 10px; border: 2px solid #ddd; border-radius: 10px; background: #fff; }
ol.be-list img, .be-cell img { width: 40px; height: 60px; object-fit: cover; border-radius: 4px; flex: none; background: #eee; }
ol.be-list select { font: inherit; font-size: 1.1em; padding: 2px 4px; }
.be-name { display: flex; flex-direction: column; min-width: 0; font-weight: bold; }
.be-name small { font-weight: normal; }
b.be-pos { min-width: 1.4em; font-size: 1.15em; color: #263248; text-align: center; }
ol.be-drag li { user-select: none; -webkit-user-select: none; }
.be-grip, ol.be-drag b.be-pos { cursor: grab; touch-action: none; }
.be-grip { font-size: 1.4em; color: #999; padding: 6px 4px; }
ol.be-drag li.dragging { opacity: .9; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); border-color: #263248; position: relative; z-index: 2; }
ol.be-yours li { border-width: 1px; padding: 4px 10px; }
.be-results { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
@media (max-width: 760px) { .be-results { grid-template-columns: 1fr; } }
.be-table td.be-cell { display: flex; gap: 10px; align-items: center; white-space: normal; }
.be-table tr.be-mine td { background: #fff9e0; }

/* Frames disputes (2026-10-17) */
details.grid-disputes { margin: 1em 0; }
details.grid-disputes ul { padding-left: 1.2em; }
details.grid-disputes li { margin: .5em 0; }
.dispute-form input[type=text] { width: min(22em, 100%); }
.grid-wrong a { color: inherit; text-decoration: underline; white-space: nowrap; }

/* Double Take photo picker (admin, 2026-10-17) */
.dtp-group { margin: 1.2em 0; }
.dtp-now img, .dtp-cands img { object-fit: cover; border-radius: 4px; }
.dtp-now { display: flex; gap: 6px; }
.dtp-cands { display: flex; flex-wrap: wrap; gap: 6px; margin: .5em 0; }
.dtp-cands form { margin: 0; }
.dtp-cands button { padding: 0; border: 3px solid transparent; background: none; cursor: pointer; border-radius: 6px; }
.dtp-cands button.in-use { border-color: #d4a834; }
/* Franchise matrix: films across, facts / characters / crew down; the label column stays put while it scrolls */
.fmx h2 { margin-top: 22px; }
.fmx-intro { margin: 2px 0 8px; color: #555; }
.fmx-table { border-collapse: separate; border-spacing: 0; font-size: .86em; }
.fmx-table th, .fmx-table td { border-bottom: 1px solid #e3e0d0; padding: 5px 7px; vertical-align: top; text-align: left; }
.fmx-table td { min-width: 96px; max-width: 150px; }
.fmx-table .fmx-label { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 130px; max-width: 170px; font-weight: 700; border-right: 2px solid #d4a834; }
.fmx-table .fmx-label small, .fmx-table td small { display: block; font-weight: normal; color: #777; font-size: .85em; }
.fmx-table .fmx-corner { position: sticky; left: 0; z-index: 2; background: #fff; border-right: 2px solid #d4a834; }
.fmx-film a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; font-weight: normal; font-size: .9em; line-height: 1.2; }
.fmx-film img, .fmx-film .ph { width: 46px; height: 69px; object-fit: cover; border: 1px solid #ccc; background: #e6e6e6; display: block; }
.fmx-film b { font-size: 1.1em; }
.fmx-group th { background: #14161a; color: #d9ae3a; text-transform: uppercase; letter-spacing: .08em; font-size: .85em; padding: 6px 8px; position: sticky; left: 0; }
.fmx-group th small { color: #c9ced8; text-transform: none; letter-spacing: 0; font-weight: normal; margin-left: 6px; }
.fmx-table td.fmx-in { background: #fbf4dc; }
.fmx-table td.fmx-archive { background: #f4f4f4; color: #777; }
.fmx-none { color: #bbb; }
.fmx-total { text-align: right; font-weight: 700; min-width: 40px; }
.fmx-rep { font-weight: 700; }
.fmx-table td.spoiler { filter: blur(5px); user-select: none; }
.fmx-spoil { position: absolute; opacity: 0; }
.fmx-spoil-label { display: inline-block; cursor: pointer; border: 1px solid #c9a227; border-radius: 99px; padding: 3px 12px; margin: 0 0 8px; font-weight: 700; font-size: .9em; }
.fmx-spoil-label::before { content: "\1F441  "; }
.fmx-spoil:focus-visible + .fmx-spoil-label { outline: 2px solid #1f5fd1; }
.fmx-spoil:checked + .fmx-spoil-label { background: #d4a834; color: #17130a; }
.fmx-spoil:checked ~ .fmx-wrap td.spoiler { filter: none; user-select: auto; }
.fmx-src-head { font-size: .85em; color: #666; margin: 6px 0 2px; }
ol.fmx-sources { font-size: .8em; color: #666; margin-top: 0; }
@media (max-width: 640px) { .fmx-table .fmx-label { min-width: 96px; max-width: 110px; } .fmx-table td { min-width: 84px; } }
.fmx-note { display: inline; font-weight: normal; }
.fmx-note summary { display: inline-block; list-style: none; cursor: pointer; width: 15px; height: 15px; line-height: 15px; text-align: center; border-radius: 50%; border: 1px solid #c9a227; color: #8a6d12; font: italic 700 10px Georgia, serif; margin-left: 4px; vertical-align: 1px; }
.fmx-note summary::-webkit-details-marker { display: none; }
.fmx-note[open] { display: block; font-size: .85em; color: #555; margin-top: 3px; }
/* Franchise of the week (home): posters, name, four stat tiles, then the links on their own row */
a.fotw { display: block; text-decoration: none; color: inherit; border: 1px solid #ddd; border-top: 3px solid #c9a227; border-radius: 6px; padding: 10px 12px 12px; max-width: 720px; }
.fotw-posters { display: flex; gap: 6px; overflow: hidden; margin-bottom: 8px; }
.fotw-posters img { width: 60px; height: 90px; object-fit: cover; flex: none; border-radius: 3px; border: 1px solid #ccc; }
.fotw-name { display: block; font-size: 1.35em; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
a.fotw:hover .fotw-name { text-decoration: underline; }
.fotw-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fotw-stats > span { font-size: .75em; text-transform: uppercase; letter-spacing: .05em; color: #777; }
.fotw-stats b { display: block; font-size: 1.45em; letter-spacing: 0; text-transform: none; color: #111; white-space: nowrap; }
p.fotw-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 0; }
@media (max-width: 640px) { .fotw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fotw-posters img { width: 48px; height: 72px; } }
.ig-jump { margin: 6px 0 0; } .ig-jump a { color: #d9ae3a; font-weight: 700; }
p.fmx-picks { display: flex; flex-wrap: wrap; gap: 6px; }
p.fmx-picks a { border: 1px solid #c9a227; border-radius: 99px; padding: 3px 12px; text-decoration: none; font-weight: 700; }
a.fmx-badge { font-size: .72em; text-transform: uppercase; letter-spacing: .05em; background: #fff3c4; color: #7a5b00; border-radius: 99px; padding: 0 6px; text-decoration: none; font-weight: 700; }

/* Header on desktop (Jay, 2026-10-19: "left justify [the search] with the logo ... right justify the text links"): two rows,
   logo and nav on top, search and account links below, sharing the left and right edges. */
@media (min-width: 641px) {
  header.site .wrap { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo nav" "search account"; gap: 8px 24px; }
  header.site .logo { grid-area: logo; }
  nav.site-nav { grid-area: nav; justify-content: flex-end; }
  nav.site-nav > :last-child, nav.site-nav > :last-child > summary { margin-right: 0; }
  nav.site-nav > details.menu:last-child .menu-panel { left: auto; right: -10px; }
  form.search { grid-area: search; margin-left: 0; }
  form.search input { width: 340px; }
  header.site .account { grid-area: account; justify-self: end; margin-left: 0; text-align: right; }
}

/* Best Ever: phone column by default; on desktop the list sits beside a sticky panel with bigger rows (2026-10-19) */
.be-side .be-submit-side { display: none; }
@media (min-width: 900px) {
  .be-layout { display: grid; grid-template-columns: minmax(0, 680px) minmax(240px, 320px); gap: 32px; align-items: start; }
  .be-layout ol.be-list { max-width: none; gap: 8px; }
  .be-layout ol.be-list li { padding: 8px 14px; gap: 14px; }
  .be-layout ol.be-list img { width: 56px; height: 84px; }
  .be-layout .be-name { font-size: 1.1em; }
  .be-layout .be-form { grid-column: 1; grid-row: 1; }
  .be-side { grid-column: 2; grid-row: 1; position: sticky; top: 120px; padding: 16px 18px; border: 1px solid #ddd; border-radius: 12px; }
  .be-side .be-submit-side { display: block; margin-bottom: 0; }
  .be-submit-inline { display: none; }
  .be-results { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: 32px; }
  .be-table td.be-cell img { width: 48px; height: 72px; }
}

/* Best Ever move buttons: desktop layout only (touchpads); phones drag */
.be-moves { display: none; }
@media (min-width: 900px) {
  .be-layout .be-moves { display: flex; flex-direction: column; gap: 4px; margin-left: auto; flex: none; }
  .be-move { font: inherit; font-size: .8em; width: 30px; height: 26px; padding: 0; border: 1px solid #bbb; border-radius: 6px; background: #fff; color: #263248; cursor: pointer; }
  .be-move:hover:not(:disabled) { border-color: #263248; }
  .be-move:disabled { opacity: .3; cursor: default; }
  .be-move:focus-visible { outline: 2px solid #b5891f; outline-offset: 1px; }
}
@keyframes be-moved { from { box-shadow: 0 0 0 3px #e0b40f; } to { box-shadow: 0 0 0 3px transparent; } }
ol.be-list li.moved { animation: be-moved .6s ease-out; }

/* Info cards that spring out of their "i" (popnote.js, 2026-10-19) */
.popnote { position: absolute; z-index: 60; max-width: min(340px, calc(100vw - 20px)); padding: 12px 14px; border-radius: 12px;
  background: #fffdf5; color: #1d1d1f; border: 1px solid #c9a227; box-shadow: 0 14px 40px rgba(0,0,0,.28);
  font-size: 15px; line-height: 1.45; transform: scale(.08); opacity: 0;
  transition: transform .2s cubic-bezier(.2, 1.5, .4, 1), opacity .12s ease-out; }
.popnote.in { transform: scale(1); opacity: 1; }
.popnote.out { transform: scale(.08); opacity: 0; transition: transform .14s cubic-bezier(.5, 0, .9, .4), opacity .14s ease-in; }
.popnote strong { display: block; font-size: .8em; text-transform: uppercase; letter-spacing: .06em; color: #8a6d12; margin-bottom: 4px; }
.popnote p { margin: 0; }
.fmx-note summary { transition: transform .12s; } .fmx-note summary:hover { transform: scale(1.15); }
.fmx-note summary[aria-expanded="true"] { background: #c9a227; color: #fff; }
@media (prefers-reduced-motion: reduce) { .popnote, .popnote.out { transition: opacity .1s; transform: none; } }

/* Recognition: Your reports, What's new, contributions (2026-10-19) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.rc-dotlink { position: relative; }
.rc-dot { display: inline-block; width: 8px; height: 8px; margin-left: 3px; border-radius: 50%; background: #e0b40f; vertical-align: 6px; box-shadow: 0 0 0 2px rgba(224,180,15,.3); }
.rc-summary { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding: 12px 16px; border: 1px solid #ddd; border-radius: 12px; margin: 8px 0 16px; }
.rc-level { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.rc-points b { font-size: 1.6em; } .rc-name { font-weight: bold; color: #8a6d12; }
.rc-bar { display: inline-block; width: 140px; height: 8px; border-radius: 99px; background: #eee; overflow: hidden; } .rc-bar span { display: block; height: 100%; background: #c9a227; }
ul.rc-badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
ul.rc-badges li, .rc-badge { border: 1px solid #c9a227; border-radius: 99px; padding: 2px 10px; font-size: .85em; font-weight: bold; color: #7a5b00; margin-left: 4px; }
ul.rc-reports, ul.rc-rewards { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.rc-report { padding: 10px 14px; border: 1px solid #ddd; border-radius: 10px; } .rc-report.changed { border-color: #c9a227; }
.rc-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.rc-status { font-weight: bold; font-size: .85em; padding: 1px 8px; border-radius: 99px; background: #eee; }
.rc-status.rc-fixed { background: #dff3e4; color: #1e6b34; } .rc-status.rc-working { background: #fff3c4; color: #7a5b00; } .rc-status.rc-wontfix { background: #f3e1e1; color: #8a2b2b; }
.rc-new { font-size: .8em; font-weight: bold; color: #8a6d12; } .rc-earned { margin-left: auto; font-weight: bold; color: #1e6b34; }
.rc-msg { margin: 6px 0 0; white-space: pre-wrap; } .rc-reply { margin: 6px 0 0; padding: 6px 10px; border-left: 3px solid #c9a227; background: #fffbea; }
ol.rc-log { list-style: none; padding: 0; max-width: 760px; } ol.rc-log li { padding: 12px 0; border-bottom: 1px solid #ddd; }
ol.rc-log time { font-size: .85em; color: #777; } ol.rc-log h2 { margin: 2px 0 4px; font-size: 1.2em; } .rc-found { font-size: .9em; color: #555; }
.rc-admin { margin: 10px 0 16px; } .rc-admin form { display: flex; flex-direction: column; gap: 6px; max-width: 760px; } .rc-admin label { display: flex; flex-direction: column; gap: 2px; }
.rc-admin label.rc-pick { flex-direction: row; gap: 6px; font-size: .9em; } .rc-member .rc-admin form { flex-direction: row; flex-wrap: wrap; }
form.inline-form { display: inline; }

/* Signed-out landing (welcome.html, 2026-10-19) */
.landing { margin: 8px 0 32px; }
.ld-hero { display: grid; gap: 24px; align-items: start; margin: 12px 0 28px; }
@media (min-width: 900px) { .ld-hero { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 48px; margin-top: 28px; } }
.ld-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8em; font-weight: bold; color: #8a6d12; margin: 0 0 6px; }
.ld-pitch h1 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; }
.ld-lede { font-size: 1.15em; line-height: 1.5; max-width: 620px; }
ul.ld-points { padding-left: 18px; line-height: 1.6; max-width: 620px; }
.ld-signin { padding: 18px 20px; border: 1px solid #ddd; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.ld-signin h2 { margin-top: 0; }
.ld-signin label { display: block; margin: 8px 0; }
.ld-signin input[type=text], .ld-signin input[type=password] { display: block; width: 100%; padding: 8px 10px; box-sizing: border-box; font: inherit; }
.ld-signin button[type=submit] { margin-top: 6px; padding: 8px 18px; font: inherit; font-weight: bold; cursor: pointer; }
.ld-signin .error { color: #b00020; }
h2.ld-h { margin: 28px 0 12px; }
ul.ld-games, ul.ld-inside { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
ul.ld-games li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid #ddd; border-radius: 12px; }
ul.ld-games li svg { flex: none; border-radius: 10px; }
ul.ld-games b, ul.ld-inside b { display: block; } ul.ld-games span, ul.ld-inside span { font-size: .9em; color: #555; }
ul.ld-inside li { padding: 12px 14px; border: 1px solid #ddd; border-top: 3px solid #c9a227; border-radius: 12px; }
.ld-signin.welcome { max-width: none; }
.ld-signin .pw { position: relative; display: block; } .ld-signin .pw input { padding-right: 38px; }

/* Timeline move buttons (2026-10-19): wider screens; phones drag */
.tl-moves { display: none; }
@media (min-width: 641px) {
  .tl-moves { display: flex; flex-direction: column; gap: 4px; margin-left: auto; flex: none; }
  .tl-moves .be-move { font: inherit; font-size: .8em; width: 30px; height: 26px; padding: 0; border: 1px solid #bbb; border-radius: 6px; background: #fff; color: #263248; cursor: pointer; }
  .tl-moves .be-move:hover:not(:disabled) { border-color: #263248; }
  .tl-moves .be-move:disabled { opacity: .3; cursor: default; }
  .tl-moves .be-move:focus-visible { outline: 2px solid #b5891f; outline-offset: 1px; }
}
ol.tl-list li.moved { animation: be-moved .6s ease-out; }

/* Grouped header (2026-10-19, design review item 2) */
.menu-head { display: block; padding: 8px 14px 2px; font-size: .72em; font-weight: bold; text-transform: uppercase; letter-spacing: .08em; color: #777; }
.menu-panel .menu-span { grid-column: 1 / -1; border-top: 1px solid #ddd; margin-top: 4px; }
.menu-tag { font-size: .72em; font-weight: bold; padding: 0 6px; border-radius: 99px; background: #fff3c4; color: #7a5b00; vertical-align: 1px; }
.account-menu > summary::after { display: none; }
span.avatar { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #c9a227; color: #17130a; font-weight: bold; }
.account-menu > summary { position: relative; padding: 0 !important; background: none !important; }
.account-menu > summary .rc-dot { position: absolute; top: -2px; right: -4px; margin: 0; }
.account-menu .menu-panel { left: auto; right: 0; min-width: 220px; }
form.look-pick { display: flex; gap: 4px; padding: 4px 14px 8px; }
form.look-pick button { font: inherit; font-size: .85em; padding: 3px 8px; border: 1px solid #ccc; border-radius: 99px; background: none; color: inherit; cursor: pointer; }
form.look-pick button.on { border-color: #c9a227; background: #fff3c4; color: #17130a; font-weight: bold; }
form.menu-signout { border-top: 1px solid #ddd; padding: 6px 14px; margin: 4px 0 0; }
form.menu-signout button { font: inherit; background: none; border: none; padding: 0; color: inherit; cursor: pointer; }
a.nav-signin { font-weight: bold; }
a.feedback-btn { display: inline-block; padding: 4px 12px; border: 1px solid #c9a227; border-radius: 99px; font-size: .9em; font-weight: bold; }
@media (max-width: 640px) { header.site .account { position: absolute; right: 12px; top: 10px; } .account-menu .menu-panel { left: 12px; right: 12px; } }

/* Rushmore finder (2026-10-19) */
.rm-tabs { display: flex; gap: 6px; margin: 4px 0 10px; }
.rm-tab { font: inherit; font-weight: bold; padding: 6px 12px; border: 1px solid #ccc; border-radius: 99px; background: none; color: inherit; cursor: pointer; }
.rm-tab.on { border-color: #c9a227; background: #fff3c4; color: #17130a; }
dialog.rm-dialog.rm-wide { width: min(820px, 96vw); max-width: none; }
.rm-finder-lede { margin: 0 0 8px; }
.rm-film-add { position: relative; }
.rm-film-q { width: 100%; box-sizing: border-box; padding: 7px 10px; font: inherit; }
ul.rm-film-results { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; z-index: 5; background: #fff; border: 1px solid #ccc; border-top: none; max-height: 220px; overflow: auto; }
ul.rm-film-results:empty { display: none; }
ul.rm-film-results li { padding: 6px 10px; cursor: pointer; } ul.rm-film-results li:hover { background: #fff7cc; }
.rm-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.rm-chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 10px; border: 1px solid #ccc; border-radius: 99px; font-size: .85em; }
.rm-chip button { font: inherit; border: none; background: none; cursor: pointer; padding: 0 6px; color: inherit; }
.rm-table-wrap { max-height: 52vh; overflow: auto; border: 1px solid #ddd; border-radius: 8px; }
table.rm-finder { width: 100%; margin: 0; }
table.rm-finder thead th { position: sticky; top: 0; z-index: 1; }
table.rm-finder th button { font: inherit; font-weight: bold; background: none; border: none; padding: 0; color: inherit; cursor: pointer; }
td.rm-who { display: flex; gap: 8px; align-items: center; white-space: normal; }
td.rm-who img { width: 32px; height: 48px; object-fit: cover; border-radius: 4px; flex: none; }
td.rm-who span { display: flex; flex-direction: column; } td.rm-who small { font-size: .8em; }
button.rm-pick { font: inherit; font-weight: bold; padding: 3px 12px; border: none; border-radius: 99px; background: #c9a227; color: #17130a; cursor: pointer; }
.rm-tabs { margin: 10px 16px 0; }
.rm-pane { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.rm-pane[hidden] { display: none; }
.rm-pane[data-pane="finder"] { padding: 0 16px 14px; }
.rm-pane[data-pane="finder"] .rm-finder-lede { margin-top: 8px; }
.rm-pane[data-pane="finder"] .rm-table-wrap { flex: 1 1 auto; min-height: 120px; }
dialog.rm-dialog.rm-wide { max-height: min(86vh, 820px); }
@media (max-width: 640px) { dialog.rm-dialog.rm-wide { max-height: 86vh; max-height: 86svh; } table.rm-finder th:nth-child(4), table.rm-finder td:nth-child(4) { display: none; } }

/* One game layout (2026-10-19, design review item 3): board, then a side panel; side by side over 1000 px */
.game-side { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 8px; }
@media (min-width: 1000px) {
  main.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
  .game-side { position: sticky; top: 112px; margin-top: 14px; }
}
.gs-card { padding: 12px 16px; border: 1px solid #ddd; border-radius: 12px; }
.gs-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.1em; }
.gs-title svg { border-radius: 8px; }
.gs-rules summary { cursor: pointer; font-weight: bold; }
.gs-rules ol { margin: 8px 0 2px; padding-left: 20px; line-height: 1.5; }
.gs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 6px; text-align: center; }
.gs-stats b { display: block; font-size: 1.5em; line-height: 1.1; } .gs-stats span { font-size: .78em; color: #666; }
a.gs-next-btn { display: block; text-align: center; padding: 9px 12px; border-radius: 99px; background: #c9a227; color: #17130a; font-weight: bold; text-decoration: none; margin: 4px 0 6px; }
.gs-next p { margin: 4px 0; }

/* Desktop boards (2026-10-19, item 3): bigger where the phone size left the board small */
@media (min-width: 1000px) {
  table.grid-board td.cell { height: 140px; font-size: 1em; }
  table.grid-board { min-width: 620px; }
  .hl-card { width: 260px; } .hl-card img { width: 210px; height: 315px; }
  a.sd-face { width: 150px; } a.sd-face img { width: 130px; height: 195px; }
}
/* the games' contrast leftovers from the audit */
.tg-chip.t2, ol.tg-named li.t2 b { background: #8a6a00; }
li.locked .arc-clue-no, ol.au-clues li.hidden-clue .au-n { background: #6b6f76; color: #fff; }
li.new .arc-clue-no { background: #8a6a00; color: #fff; }
.dt-round-no, ol.dt-progress li.now { color: #b24a17; }
.sd-arrow, .hl-vs, .cr-q { color: #6b6f76; }

/* Lineup (2026-10-19) */
.game-card.game-lineup { border-top-color: #00695c; } a.game-tile.game-lineup { background: #e6f4f2; border-color: #b2dfdb; }
.lu-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; align-items: start; max-width: 860px; }
ol.lu-films, ol.lu-answers { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; }
ol.lu-films li, ol.lu-answers li { box-sizing: border-box; height: 76px; display: flex; gap: 10px; align-items: center; padding: 6px 10px; border: 2px solid #ddd; border-radius: 10px; }
ol.lu-films li { border-style: dashed; font-weight: bold; } ol.lu-films img { width: 40px; height: 60px; object-fit: cover; border-radius: 4px; flex: none; }
ol.lu-films small { display: block; font-weight: normal; }
ol.lu-answers li { font-weight: bold; } ol.lu-answers li.ok { border-color: #2e7d32; background: #edf7ee; }
.lu-answer { flex: 1; min-width: 0; line-height: 1.25; overflow: hidden; }
@media (max-width: 640px) { ol.lu-films li, ol.lu-answers li { height: 92px; font-size: .9em; } ol.lu-films img { width: 32px; height: 48px; } .lu-board { gap: 6px; } }

/* EGOT and PEGOT cards with headshots (2026-10-19) */
.egot-card { display: flex; gap: 12px; align-items: flex-start; }
a.ec-face img { width: 64px; height: 96px; object-fit: cover; border-radius: 8px; display: block; background: #ddd; }
.ec-body { min-width: 0; flex: 1; }
h2[id] { scroll-margin-top: 120px; }   /* anchors land below the sticky header */

/* EGOT player cards (2026-10-19) */
.ec-sort { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 4px; }
.ec-sort[hidden] { display: none; }
.ec-sort button { font: inherit; font-size: .88em; padding: 4px 12px; border: 1px solid #ccc; border-radius: 99px; background: none; color: inherit; cursor: pointer; }
.ec-sort button.on { border-color: #c9a227; background: #fff3c4; color: #17130a; font-weight: bold; }
article.ec-player { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; border-top: 4px solid #c9a227; }
article.ec-player.ec-lead { box-shadow: 0 0 0 2px #c9a227; }
.ec-top { display: flex; gap: 12px; align-items: center; }
.ec-top a.ec-face img { width: 72px; height: 108px; }
.ec-top p { margin: 0; } .ec-name { font-size: 1.1em; } .ec-done { font-size: .9em; margin-top: 2px !important; }
.ec-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em; height: 1.6em; border-radius: 50%; background: #17130a; color: #f2d47a; font-size: .8em; margin-right: 4px; }
.ec-stats { display: flex; gap: 4px; flex-wrap: wrap; }
.ec-stats > div { flex: 1 1 0; min-width: 44px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 2px; border-radius: 8px; background: #f3f0e6; }
.ec-stats > div > span:not(.egot-l) { font-size: .7em; text-transform: uppercase; letter-spacing: .05em; color: #666; }
.ec-stats b { font-size: 1.3em; line-height: 1; }
.ec-stats > div.ec-hot { background: #c9a227; color: #17130a; } .ec-stats > div.ec-hot span:not(.egot-l) { color: #17130a; }
article.ec-player ul { border-top: 1px solid #e5e0d0; padding-top: 6px !important; }

/* Game ratings (2026-10-19) */
.gs-rate-q { margin: 0 0 4px; font-weight: bold; }
.gs-stars { display: flex; gap: 2px; }
.gs-stars button { font-size: 1.6em; line-height: 1; padding: 0 2px; border: none; background: none; color: #ccc; cursor: pointer; }
.gs-stars button.on, .gs-stars:hover button { color: #c9a227; } .gs-stars button:hover ~ button { color: #ccc; }
.gs-retire { margin-top: 8px; font-size: .92em; } .gs-retire summary { cursor: pointer; }
.gs-retire textarea { width: 100%; box-sizing: border-box; margin: 6px 0; font: inherit; }
.gs-retire button { font: inherit; padding: 4px 12px; border-radius: 99px; border: 1px solid #b42318; background: none; color: #b42318; cursor: pointer; }
.gs-rating { font-size: .85em; } .gs-rating b { color: #8a6a00; }

/* PEGOT cards: platinum foil (2026-10-19, Jay: "special color and styling and spell out PEGOT") */
article.ec-player.ec-pegot { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #e5e4e2, #b9a6ff 30%, #f2d47a 55%, #9fd8ff 80%, #e5e4e2) border-box; box-shadow: 0 8px 26px rgba(150, 125, 255, .25); }
article.ec-player.ec-pegot.ec-lead { box-shadow: 0 0 0 2px #b9a6ff, 0 8px 26px rgba(150, 125, 255, .3); }
.ec-pegot .egot-l.won { background: linear-gradient(135deg, #f1f0ee, #c8b8ff 55%, #f2d47a); color: #1a1430; }
.ec-pegot .ec-stats > div { background: rgba(185, 166, 255, .14); }
.ec-pegot .ec-stats > div.ec-hot { background: linear-gradient(135deg, #c8b8ff, #f2d47a); color: #1a1430; }
.ec-pegot .ec-rank { background: linear-gradient(135deg, #c8b8ff, #f2d47a); color: #1a1430; }
.ec-word { display: inline-flex; gap: 2px; vertical-align: 1px; margin-right: 2px; }
.ec-word i { font-style: normal; font-weight: 800; font-size: .85em; width: 1.35em; text-align: center; border-radius: 4px; background: linear-gradient(135deg, #f1f0ee, #c8b8ff 55%, #f2d47a); color: #1a1430; }

/* Multiple complete EGOTs (2026-10-19) */
article.ec-player.ec-multi { position: relative; box-shadow: 0 0 0 2px #e0b40f, 0 0 22px rgba(224, 180, 15, .35); }
.ec-ribbon { margin: -12px -14px 4px; padding: 5px 14px; border-radius: 12px 12px 0 0; background: linear-gradient(90deg, #8a6a00, #e0b40f, #fff1b8, #e0b40f, #8a6a00); color: #1d1600; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .85em; }
.ec-ribbon span { font-weight: 600; letter-spacing: 0; text-transform: none; margin-left: 6px; opacity: .8; }

/* Honorary vs competitive on Honorary EGOT cards (2026-10-19) */
.egot-l.hon { background: #3f6e9a; color: #fff; border: none; }
.hon-tag { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 99px; font-size: .75em; font-weight: bold; background: #3f6e9a; color: #fff; vertical-align: 1px; }
li.is-hon { color: #555; }
.ec-key { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 2px 0 8px; }

/* wrapped award lines line up with the text after the letter chip (Jay, 2026-10-19) */
.egot-card li, details.egot-wins li { padding-left: 1.95em; text-indent: -1.95em; }
.egot-card li .egot-l, details.egot-wins li .egot-l { text-indent: 0; margin-right: .35em; }

/* stepping through an award's wins */
.ec-step { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; text-indent: 0; vertical-align: 1px; white-space: nowrap; }
.ec-step[hidden] { display: none; }
.ec-step button { font: inherit; font-size: .9em; line-height: 1; width: 1.5em; height: 1.5em; padding: 0; border: 1px solid #ccc; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.ec-step button:hover { border-color: #c9a227; } .ec-count { font-size: .75em; color: #777; min-width: 2.6em; text-align: center; }

/* Prospect cards and watch ribbons (2026-10-19) */
.ec-needs { background: linear-gradient(90deg, #0f4a4f, #63c7cd, #0f4a4f); color: #fff; }
.ec-watch { background: linear-gradient(90deg, #3f6e9a, #9fc5e8, #3f6e9a); color: #0d1b2a; }
.ec-ribbon + .ec-ribbon { margin-top: -4px; border-radius: 0; }
.ec-need { outline: 2px dashed #63c7cd; outline-offset: -2px; animation: ec-glow 2.4s ease-in-out infinite; }
.ec-need .egot-l { border: 1px dashed #63c7cd; color: #63c7cd; background: none; }
@keyframes ec-glow { 50% { box-shadow: 0 0 14px rgba(99, 199, 205, .55); } }
article.ec-prospect { border-top-color: #63c7cd; }
article.ec-prospect.ec-gone { opacity: .62; filter: grayscale(.6); }
article.ec-prospect.ec-gone .ec-need { animation: none; }
@media (prefers-reduced-motion: reduce) { .ec-need { animation: none; } }
.egot-cards > [hidden] { display: none; }

/* Stats locked: people who have died can no longer win anything competitive (Jay, 2026-10-19) */
.ec-locked { display: inline-block; margin: 0 0 2px !important; padding: 1px 8px; border-radius: 99px; font-size: .72em; font-weight: bold; letter-spacing: .04em; text-transform: uppercase; background: #e8e5df; color: #555; }
article.ec-is-locked .ec-stats b { opacity: .85; }

/* One column width everywhere on desktop (Jay, 2026-10-19: "these three sections each have a different width ... no
   rough edges"): blocks span the content column; long prose keeps a readable measure on purpose. */
@media (min-width: 641px) {
  a.fotw { max-width: none; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 6px 22px; align-items: start; padding: 14px 18px; }
  a.fotw .fotw-posters { grid-row: 1 / 3; margin-bottom: 0; }
  a.fotw .fotw-posters img { width: 72px; height: 108px; }
  a.fotw .fotw-name { font-size: 1.6em; margin: 4px 0 0; }
  a.fotw .fotw-stats { align-self: end; }
  figure.igp { max-width: none; }
  .game-cards { max-width: none; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  table.box { width: 100%; }
}

/* Phones: the header nav fits one row (Jay, 2026-10-19: "Title bar is awkwardly wrapped on mobile"). The logo is the
   Home link, so Home goes; the account circle joins Feedback at the top right; its menu still opens under the nav. */
@media (max-width: 640px) {
  nav.site-nav > a[href="/"] { display: none; }
  nav.site-nav { flex-wrap: nowrap; justify-content: space-between; }
  nav.site-nav > a, nav.site-nav details.menu > summary { margin-right: 0; padding: 4px 6px; white-space: nowrap; }
  nav.site-nav > details.menu:first-of-type > summary { padding-left: 0; }
  details.account-menu { position: static; }
  details.account-menu > summary { position: absolute !important; right: 12px; top: 9px; }
  header.site .account { right: 58px; top: 10px; }
}
@media (max-width: 370px) { .logo img { height: 22px; width: auto; } nav.site-nav > a, nav.site-nav details.menu > summary { font-size: .92em; padding: 4px 4px; } }
