:root {
  --ink: #111113; --ink-2: #18181b; --ink-3: #222227; --line: #2e2e35;
  --cream: #ECE5D6; --cream-2: #b9b2a4; --muted: #8b857a; --orange: #FF4F1F;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 15px/1.55 var(--sans); }
a { color: var(--cream); text-decoration-color: rgba(255,79,31,.6); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
code { font-size: .88em; background: var(--ink-3); padding: 1px 5px; border-radius: 4px; }
main { max-width: 1280px; margin: 0 auto; padding: 0 20px 80px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(44px, 7vw, 84px); line-height: .95; margin: 0 0 12px; }
h2 { font-size: 34px; margin: 64px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 22px; margin: 0 0 8px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .lead { font-size: 18px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; gap: 24px; align-items: center; padding: 14px 20px;
  background: rgba(17,17,19,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font: 700 22px var(--serif); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--cream-2); font-weight: 500; }
.top nav a[aria-current] { color: var(--cream); border-bottom: 2px solid var(--orange); }
nav.sub { position: sticky; top: 57px; z-index: 9; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0;
  background: var(--ink); border-bottom: 1px solid var(--line); }
nav.sub a { white-space: nowrap; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
nav.sub a:hover { border-color: var(--orange); }

.hero { padding: 64px 0 24px; } .hero p { max-width: 680px; font-size: 17px; color: var(--cream-2); }
.small-hero { padding-top: 40px; }
.grid { display: grid; gap: 16px; }
.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.two { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card.chosen { border-color: var(--orange); box-shadow: 0 0 0 1px rgba(255,79,31,.25); }
.pill { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--cream-2); margin-bottom: 8px; }
.pill.hot { background: var(--orange); border-color: var(--orange); color: var(--ink); margin: 0 6px 0 0; }

.wait h3 { display: flex; justify-content: space-between; align-items: center; }
.count { font: 600 14px var(--sans); background: var(--orange); color: var(--ink); border-radius: 999px; padding: 2px 10px; }
.count.zero { background: var(--ink-3); color: var(--muted); }
.need { border-left: 3px solid var(--orange); padding: 2px 0 2px 10px; margin: 10px 0; }
.need p { margin: 2px 0; } .from { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); font-weight: 600; }
.issues, .activity { list-style: none; margin: 0; padding: 0; }
.issues li, .activity li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.issues li:last-child, .activity li:last-child { border: 0; }
.issues a, .activity a { text-decoration: none; font-weight: 500; display: block; }
.num { color: var(--orange); font-weight: 600; }
.meta { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.tag { font-size: 11px; background: var(--ink-3); border-radius: 4px; padding: 1px 6px; margin-right: 4px; }

.games { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.game { display: flex; flex-direction: column; gap: 12px; text-decoration: none; padding: 0; overflow: hidden; }
.game > div { padding: 0 18px 18px; } .game p { color: var(--cream-2); margin: 0; }
.game .cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: left center; display: block; }
.game .cover.blank { background: repeating-linear-gradient(135deg, var(--ink-3) 0 10px, var(--ink-2) 10px 20px); }
.game.off { opacity: .6; } a.game:hover { border-color: var(--orange); }

.md p { margin: .4em 0; } .md ul { padding-left: 20px; margin: .4em 0; } .md li { margin: 3px 0; }
.md h3 { margin-top: 18px; } .md table { border-collapse: collapse; }

.champs { display: grid; gap: 18px; }
.champ { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; padding: 14px; border-left: 4px solid var(--role); }
@media (max-width: 860px) { .champ { grid-template-columns: 1fr; } }
.champ .sheet { width: 100%; border-radius: 10px; display: block; background: #cfcac2; cursor: zoom-in; }
.champ h3 { font-size: 30px; margin: 4px 0 6px; } .champ h3 span { color: var(--cream-2); font-size: 20px; font-style: italic; }
.role { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--role); }

figure { margin: 0; } figure img { width: 100%; border-radius: 10px; display: block; cursor: zoom-in; background: var(--ink-3); }
figcaption { margin-top: 10px; font-size: 14px; color: var(--cream-2); } figcaption strong { color: var(--cream); }
.empty { border-style: dashed; color: var(--cream-2); }

.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--ink-2); font-weight: 600; } td:nth-child(2) { font-variant-numeric: tabular-nums; font-weight: 600; }

dialog#lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog#lb::backdrop { background: rgba(0,0,0,.85); }
dialog#lb img { max-width: 96vw; max-height: 90vh; display: block; border-radius: 8px; }
dialog#lb p { text-align: center; color: var(--cream); margin: 8px 0 0; }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 30px 20px; border-top: 1px solid var(--line); }
.md h2 { font-size: 26px; margin: 22px 0 6px; padding: 0; border: 0; }
