
:root {
  --bg: #f6f2ed;
  --paper: #fffdf8;
  --ink: #232022;
  --muted: #625a60;
  --line: #ded5cc;
  --accent: #6a3d64;
  --plot: #cce4d3;
  --admit: #ffd0a3;
  --president: #ddd1fa;
  font: 16px/1.5 Aptos, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100vh; background: var(--bg); color: var(--ink); }
a { color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1; letter-spacing: -.055em; }
h1 { font-size: clamp(2.7rem, 7vw, 7rem); }
h2 { font-size: clamp(1.3rem, 3vw, 2.4rem); }
:focus-visible { outline: 3px solid #9252e1; outline-offset: 4px; }
.wrap { width: min(1232px, calc(100% - 64px)); margin-inline: auto; }
.site-top { border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 64px; display: flex; gap: 14px; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.1rem; letter-spacing: -.035em; font-weight: 800; text-decoration: none; white-space: nowrap; min-height: 46px; }
.brand-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--mark-ink, #fff); background: var(--mark-bg, #513653); font-size: 1.35rem; line-height: 1; }
.back { color: var(--muted); text-decoration: none; padding: 12px 0; font-size: .91rem; }
.back:hover, .site-end a:hover { text-decoration: underline; text-underline-offset: .2em; }
.kicker, .game-tag { font-size: .73rem; line-height: 1.4; letter-spacing: .105em; text-transform: uppercase; font-weight: 800; }
.lede { max-width: 46ch; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.45; }
.plot { --game-color: var(--plot); }
.admit { --game-color: var(--admit); }
.president { --game-color: var(--president); }
.play-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; width: max-content; max-width: 100%; font-weight: 800; text-underline-offset: .19em; white-space: nowrap; }
.play-link:hover { text-decoration-thickness: 2px; }
.site-end { margin-top: 62px; font-size: .82rem; color: var(--muted); }
.site-end .wrap { border-top: 1px solid var(--line); display: flex; justify-content: end; padding-block: 12px 20px; }
.site-end a { padding: 8px 0; text-decoration: none; }

.game-night {
  --bg: #17151c;
  --ink: #fff2dd;
  --muted: #c5b6b9;
  --line: #41373d;
  --mark-bg: #f4c777;
  --mark-ink: #241b20;
  --plot: #9ed2a4;
  --admit: #ffc18a;
  --president: #c1b5ff;
}
.night-main { padding-top: 30px; }
.night-hero { padding: clamp(14px, 2vw, 27px) 0 clamp(23px, 4vw, 44px); }
.night-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.night-hero .kicker { color: #f4c777; }
.night-blurb {
  max-width: min(19rem, 57%);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--mark-bg);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.night-hero h1 { font-family: Georgia, 'Times New Roman', serif; line-height: .84; letter-spacing: -.075em; font-size: clamp(3.7rem, 8.7vw, 8.25rem); margin: 12px 0 23px; }
.night-hero .lede { color: var(--muted); }
.end-games { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin-top:15px; }
.end-games button { min-height:44px; padding:8px 13px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:transparent; font:inherit; cursor:pointer; }
.end-games button:disabled, .end-games p { color:var(--muted); }
.night-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.night-card { min-width: 0; display: flex; flex-direction: column; background: var(--game-color); color: #221c25; text-decoration: none; overflow: hidden; border-radius: 16px; transition: box-shadow .18s; }
.night-card:hover { box-shadow: 0 0 0 2px var(--game-color); }
.night-art { height: clamp(150px, 18vw, 266px); }
.night-card.president img { object-position: center 32%; }
.night-copy { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px clamp(14px, 2.5vw, 26px); }
.night-details { display: flex; flex: 1; flex-direction: column; gap: 10px; }
.night-copy h2 { font: 700 clamp(1.8rem, 3.35vw, 3.15rem)/.96 Georgia, serif; letter-spacing: -.06em; overflow-wrap: anywhere; }
.night-details p { line-height: 1.4; }
.night-play { align-self: start; margin-top: auto; border-top: 1px solid #2117244d; width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-weight: 800; }


.pitch { --game-color: #eca9ba; }
.gnomes { --game-color: #d8c995; }
@media (max-width: 1030px) { .night-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 590px) { .wrap { width: calc(100% - 28px); } .topbar-inner { min-height: 55px; } .night-grid { grid-template-columns: 1fr; } .night-art { height: clamp(155px,49vw,240px); } .night-copy { padding: 15px; } .night-hero h1 { font-size: clamp(3.15rem,11.3vw,5rem); } }
@media (width > 590px) {
  .night-copy .game-tag { min-height: 2.8em; }

  @supports (grid-template-rows: subgrid) {
    .night-card, .night-copy { display: grid; grid-template-rows: subgrid; }
    .night-card { grid-row: span 3; row-gap: 0; }
    .night-copy { grid-row: span 2; }
    .night-copy .game-tag { min-height: 0; }
  }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; } }
