/* The /games hub -- Phase 5's site change.
   VERSION: 20261116-1210

   Built on doc.css's proportions rather than its classes: this is a page of
   links, not a page of prose, and the one thing it has to do well is make two
   or three choices easy to tell apart on a phone. The game list is a column
   of big targets at every width; there is no grid that collapses, because
   there was never enough here to need one. */
body.games{background:#161e26;overflow:auto;height:auto;min-height:100%}
.gameswrap{max-width:62ch;margin:0 auto;padding:40px 24px 72px;
  font-size:16px;line-height:1.65}
.gameswrap h1{margin:0 0 6px;font-size:30px;letter-spacing:-.01em}
.gameswrap .lede{margin:0 0 28px;font-size:17px;color:rgba(245,241,232,.78)}

/* THE CARD MOVED FROM THE <a> TO THE <li> on 2026-11-08, when the game box
   gained a leaderboard: a table cannot sit inside a link. The anchor keeps
   the padding and is still the whole top half of the box, so the target is
   the same size it was; the border and background belong to the li, and
   :focus-within puts the keyboard outline back on the card. */
.gamelist{list-style:none;margin:0;padding:0}
.gamelist > li{margin:0 0 12px;border-radius:12px;background:#1E2730;
  border:1px solid var(--line);overflow:hidden;
  transition:border-color .12s,background .12s}
.gamelist > li:hover,
.gamelist > li:focus-within{border-color:var(--orange);background:#222c37}
.gamelist > li > a{display:block;padding:16px 18px;text-decoration:none;
  color:inherit}

/* --- the leaderboard panel inside a game box --------------------------------
   The panel itself is board.css's .ntbwrap, shared with the game page. These
   few rules only fit it to the card: full width instead of a 520px column,
   square top corners so it sits flush under the blurb, and no outer border
   where the card already has one. Everything inside the table is board.css's
   and deliberately untouched, so the two boards stay identical. */
.gbwrap{max-width:none;margin:0;border-left:0;border-right:0;border-bottom:0;
  border-radius:0;background:rgba(0,0,0,.14);padding:14px 18px}
.gbwrap + .gbwrap{border-top:1px dashed var(--line)}
/* CENTRED, like board.css's own rule and the game page's board -- Bryce,
   2026-11-16. The hub had overridden it to the left back when the title was
   "Leaderboard — Illinois" and read as a label on the panel; with the state
   leading and coloured it is a heading, and a heading over a centred table
   belongs over its middle. Only the alignment changed: the smaller size is
   still right inside a card. */
.gbwrap .ntbtitle{text-align:center;font-size:13px;letter-spacing:.02em}
/* The orange on the state itself is board.css's .ntbst, shared with the
   game page -- it was briefly .gbst in here, which would have been a second
   name for one thing the moment the game page's heading gained a state too. */
.gbmore{margin:0;font-size:12.5px}
.gbmore a{color:rgba(245,241,232,.6)}
.gbmore a:hover{color:var(--orange)}
.gbwrap .ntnote{margin:0;font-size:13.5px;color:rgba(245,241,232,.5)}
/* .ntbyou's -11px pull-up assumes the 16px the table carries below it; with
   nothing after it in the card that would eat the padding, so the last
   element gets its margin back. */
.gbwrap > :last-child{margin-bottom:0}

.glabel{display:block;font-size:18px;font-weight:600;color:var(--offwhite,#F5F1E8)}
.gblurb{display:block;margin-top:4px;font-size:14.5px;
  color:rgba(245,241,232,.66);line-height:1.5}
/* THE BADGE IS TEXT HERE, NOT A PILL, and it has to say so explicitly.
   app.css styles .nnew as a filled orange pill with dark text for the
   sitenav, which is right there and wrong inside a card that is already a
   block of colour. This rule only ever overrode `color`, so once app.css
   grew the pill the hub's badge became orange text on an orange
   background -- invisible, and first visible on 2026-11-08 when
   new_until put a badge on the hub at all. Resetting background and
   padding is what makes the override complete rather than partial. */
.gamelist .nnew{margin-left:8px;font-size:11px;text-transform:uppercase;
  letter-spacing:.06em;color:var(--orange);background:none;padding:0;
  font-weight:700}

.gnone{margin:0;padding:18px;border-radius:12px;border:1px dashed var(--line);
  color:rgba(245,241,232,.6)}

/* The owner's list. Deliberately quieter than the real one -- it is a
   reminder, not an offer, and it should never read as part of the page a
   visitor sees. */
.gunlisted{margin-top:44px;padding-top:20px;border-top:1px solid var(--line)}
.gunlisted h2{margin:0 0 4px;font-size:15px;color:var(--orange)}
.gnote{margin:0 0 14px;font-size:13.5px;color:rgba(245,241,232,.55)}
.gnote code{font-family:var(--mono);font-size:12.5px;background:#1E2730;
  padding:1px 5px;border-radius:4px}
.gamelist.quiet > li{background:none;border-style:dashed;opacity:.72}
.gamelist.quiet > li:hover{opacity:1}

.gameswrap .foot{margin-top:44px;padding-top:18px;
  border-top:1px solid var(--line);font-size:14px}

@media (max-width:640px){
  .gameswrap{padding:28px 18px 56px;font-size:15.5px}
  .gamelist > li > a{padding:14px 15px}
  .gbwrap{padding:12px 15px}
  .glabel{font-size:17px}
}


/* --- slot 8, the card at the foot of the hub (docs/advertising.md §3) ----
   Built 2026-11-15. Deliberately quieter than a game card above it: those
   are the reason the page exists and this is not, so it is narrower, has no
   hover lift and does not compete for the eye on the way down the list.

   max-width matches the game cards rather than the prose column, so its left
   edge lines up with theirs and it reads as the last item in the same
   column instead of a different kind of thing pasted underneath. */
.gslot{margin:30px 0 0}
.gslot[hidden]{display:none}
/* THE SAME TREATMENT AS THE MAP CARD, 2026-11-15 -- see map.css for the
   reasoning; Bryce asked for it on all three surfaces after seeing the map
   one. min-height not height, and align-items:stretch so the cover is as
   tall as the row turns out to be. */
.gslotcard{display:flex;align-items:stretch;gap:12px;padding:7px 10px;
  min-height:118px;border:1px solid var(--line);border-radius:10px;
  background:#1E2730;text-decoration:none;color:var(--offwhite)}
a.gslotcard:hover{border-color:var(--orange);text-decoration:none}
/* A sponsor's artwork is whatever shape they sent, so it is contained at a
   fixed width and NOT stretched -- stretching somebody's logo to the height
   of a book cover is the one thing a sponsor would mind. A book has been
   trimmed to 3:4 by tools/trim_gift_photos.py, so it can be covered at that
   ratio and take the full height. */
.gslotpic{flex:0 0 auto;width:62px;height:auto;align-self:center;
  object-fit:contain;border-radius:5px;background:#243039}
.gslotpic.book{width:84px;align-self:stretch;object-fit:cover}
.gslottext{display:flex;flex-direction:column;justify-content:center;
  gap:3px;min-width:0}
.gslotlead{font-size:10px;font-weight:700;letter-spacing:.05em;
  text-transform:uppercase;color:rgba(245,241,232,.5)}
.gslotname{font-size:14px;font-weight:500;line-height:1.3}
.gslotname b{font-weight:700}
a.gslotcard:hover .gslotname{color:var(--orange)}
/* The hub is a wide column, so this one is not clamped -- there is room for
   the whole sentence and nothing below it that a taller card would push. */
.gslotwhy{font-size:12px;line-height:1.4;color:rgba(245,241,232,.62)}
/* The disclosure. The site footer's formal line is further down this page,
   but the one beside the link is the one somebody reads before pressing. */
.gslotnote{font-size:11px;line-height:1.35;color:rgba(245,241,232,.48)}
