:root {
  --bg: #1c1b19; --panel: #22201d; --panel-2: #2a2824; --line: rgba(248,224,164,.10); --line-strong: rgba(248,224,164,.2);
  --text: #f3ede0; --soft: #c9c1b1; --muted: #8f887a;
  --gold: #e3b866; --gold-hi: #f8e0a4; --gold-ink: #1c1b19;
  --metal-text: linear-gradient(90deg,#8e5b22,#f8e0a4 30%,#c18a42 52%,#fff0bd 76%,#9b6329);
  --good: #0ca30c; --good-text: #3fcf5a; --bad: #e66767; --warn: #fab219;
  /* Game series, fixed order (validated for the dark panel, dataviz check). */
  --g1: #3987e5; --g2: #d95926; --g3: #199e70; --g4: #c98500; --g5: #d4498f; --g6: #8b6fe0; --g7: #22a6b8; --g8: #c0473a; --g9: #7f9e2c; --g10: #a8774a; --g-other: #898781;
  --grid: #2f2d29; --axis: #403d37;
  --display: "Fraunces", Georgia, serif; --body: "Manrope", system-ui, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 16px;
  /* Windows (owner, 2026-10-11): glass panels with a fine gold edge lit from the top. */
  --glass: linear-gradient(180deg, rgba(42,39,34,.78), rgba(28,27,24,.72));
  --edge: linear-gradient(180deg, rgba(248,224,164,.26), rgba(248,224,164,.05) 40%, rgba(248,224,164,.08));
  --lift: 0 1px 0 rgba(255,240,200,.06) inset, 0 18px 50px -20px rgba(0,0,0,.65);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; color: var(--text); font: 400 14px/1.5 var(--body);
  background: radial-gradient(ellipse 90% 30% at 50% 0%, rgba(90,52,8,.26), transparent 70%), var(--bg);
}
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.boot { display: grid; place-items: center; min-height: 100vh; color: var(--muted); }
.num, td.n, th.n { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.mono { font-family: var(--mono); font-size: 12px; }
.up { color: var(--good-text); } .down { color: var(--bad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- auth screens */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 380px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 32px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.auth-card img { height: 30px; display: block; margin-bottom: 26px; }
.auth-card h1 { margin: 0 0 6px; font: 700 28px/1.2 var(--display); background: var(--metal-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-card p.lead { margin: 0 0 22px; color: var(--soft); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--soft); }
input[type=email], input[type=password], input[type=text], input[type=number], input[type=search], select, .textarea {
  background: #171614; border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 11px; min-height: 38px; width: 100%;
}
input:focus, select:focus { border-color: var(--gold); outline: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 16px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--panel-2); cursor: pointer; font-weight: 600; white-space: nowrap; }
.btn:hover { border-color: var(--gold); }
.btn.primary { background: linear-gradient(180deg,#f3cf82,#c9963f); color: var(--gold-ink); border-color: transparent; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { color: var(--bad); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--soft); }
.btn.ghost:hover { color: var(--text); border-color: var(--line-strong); }
.btn.small { min-height: 30px; padding: 4px 10px; font-size: 12.5px; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.block { width: 100%; }
.msg { border-radius: 8px; padding: 10px 12px; margin: 0 0 14px; font-size: 13px; }
.msg.error { background: rgba(230,103,103,.12); color: #f2a6a6; border: 1px solid rgba(230,103,103,.3); }
.msg.ok { background: rgba(12,163,12,.12); color: #8fe39f; border: 1px solid rgba(12,163,12,.3); }
.msg.info { background: rgba(248,224,164,.06); color: var(--soft); border: 1px solid var(--line); }
.linkish { background: none; border: 0; padding: 0; color: var(--gold-hi); cursor: pointer; font-size: 13px; }

/* ---------- shell */
.shell { display: grid; grid-template-columns: 232px minmax(0,1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 22px 14px; border-right: 1px solid var(--line); background: rgba(20,19,17,.6); }
.side .brand { padding: 0 10px 18px; }
.side .brand img { height: 28px; display: block; }
.side .brand span { display: block; margin-top: 10px; font: 700 15px var(--display); letter-spacing: .08em; color: var(--gold-hi); }
.nav { display: grid; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--soft); font-weight: 500; }
.nav a:hover { background: rgba(248,224,164,.05); color: var(--text); text-decoration: none; }
.nav a[aria-current=page] { background: rgba(248,224,164,.09); color: var(--gold-hi); }
.nav svg { width: 17px; height: 17px; flex: none; }
.side .me { margin-top: auto; padding: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.side .me strong { display: block; color: var(--soft); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

main.page { padding: 26px 32px 60px; min-width: 0; max-width: 1360px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.page-head h1 { margin: 0; font: 700 26px/1.2 var(--display); color: var(--text); }
.page-head .sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }

/* ---------- filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; background: #171614; border: 1px solid var(--line-strong); border-radius: 8px; padding: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 11px; border-radius: 6px; cursor: pointer; color: var(--soft); font-size: 12.5px; font-weight: 600; }
.seg button[aria-pressed=true] { background: rgba(248,224,164,.14); color: var(--gold-hi); }
.filters select, .filters input { width: auto; min-height: 34px; padding: 6px 10px; font-size: 13px; }
.filters input[type=search] { min-width: 200px; }
.check { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--soft); cursor: pointer; }

/* ---------- cards & tiles */
.grid { display: grid; gap: 16px; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; min-width: 0; }
.card h2 { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--text); }
.card .hint { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tile .label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.tile .value { font-size: 26px; font-weight: 600; margin-top: 6px; letter-spacing: -.01em; }
.tile .delta { font-size: 12px; margin-top: 4px; color: var(--muted); }
.two { grid-template-columns: minmax(0,2fr) minmax(0,1fr); margin-bottom: 16px; }
.halves { grid-template-columns: repeat(2, minmax(0,1fr)); margin-bottom: 16px; }
.empty { padding: 28px 8px; text-align: center; color: var(--muted); }
.skeleton { color: transparent !important; background: linear-gradient(90deg,#2a2824,#33302b,#2a2824); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 6px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- tables */
.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .03em; padding: 8px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.detail-row td { white-space: normal; }
tr.click { cursor: pointer; }
tr.click:hover td { background: rgba(248,224,164,.04); }
tr.open td { background: rgba(248,224,164,.06); }
.game-cell { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.game-cell img { width: 34px; height: 22px; object-fit: cover; border-radius: 4px; background: #111; }
.swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; border: 1px solid var(--line-strong); color: var(--soft); white-space: nowrap; }
.badge.lab { color: #b9b0ff; border-color: rgba(144,133,233,.45); }
.badge.feature { color: var(--gold-hi); border-color: rgba(227,184,102,.45); }
.badge.active { color: #8fe39f; border-color: rgba(12,163,12,.45); }
.badge.active::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--good); margin-right: 5px; vertical-align: 1px; }
.tile-link { color: inherit; display: block; }
.tile-link:hover { text-decoration: none; }
.tile-link:hover .card { border-color: var(--line-strong); }
.badge.forced { color: #f2a6a6; border-color: rgba(230,103,103,.45); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.detail-row td { background: #191816; padding: 14px 16px; }
pre.json { margin: 0; max-height: 420px; overflow: auto; font: 12px/1.5 var(--mono); color: var(--soft); white-space: pre-wrap; word-break: break-word; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; margin-bottom: 14px; }
.kv div span { display: block; font-size: 11.5px; color: var(--muted); }

/* ---------- charts */
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--soft); margin-bottom: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .tick { fill: var(--muted); font-size: 11px; font-family: var(--body); }
.tip { position: absolute; pointer-events: none; z-index: 5; background: #11100e; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; font-size: 12px; min-width: 150px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.tip .t { font-weight: 600; margin-bottom: 4px; }
.tip .r { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.tip .r span:first-child { display: inline-flex; gap: 6px; align-items: center; color: var(--soft); }
.bars { display: grid; gap: 8px; }
.bars .row { display: grid; grid-template-columns: 96px minmax(0,1fr) 54px; gap: 10px; align-items: center; font-size: 12.5px; }
.bars .track { height: 8px; background: #191816; border-radius: 4px; overflow: hidden; }
.bars .fill { height: 100%; background: var(--g1); border-radius: 0 4px 4px 0; }

/* ---------- dialog */
dialog .check { display: flex; }
.textarea { resize: vertical; font: inherit; line-height: 1.5; }
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line-strong); border-radius: 12px; padding: 22px; width: min(420px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0,0,0,.6); }
dialog h2 { margin: 0 0 14px; font-size: 17px; }
.actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

/* ---------- responsive */
@media (max-width: 1100px) { .two, .halves { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 820px) {
  .shell { grid-template-columns: minmax(0,1fr); }
  .side { position: sticky; z-index: 10; height: auto; flex-direction: row; align-items: center; gap: 4px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); background: rgba(20,19,17,.94); backdrop-filter: blur(8px); overflow-x: auto; }
  .side .brand { padding: 0 8px 0 0; }
  .side .brand span { display: none; }
  .side .brand img { height: 22px; }
  .nav { display: flex; gap: 2px; }
  .nav a { padding: 7px 10px; white-space: nowrap; }
  .nav a .lbl { display: none; }
  .side .me { display: none; }
  main.page { padding: 18px 16px 48px; }
  .page-head h1 { font-size: 22px; }
  .filters input[type=search] { min-width: 0; flex: 1; }
  .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .tile { padding: 14px; }
  .tile .value { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* ---------- replay of a round */
dialog.replay { width: min(1180px, calc(100vw - 24px)); height: min(860px, calc(100vh - 24px)); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
dialog.replay:not([open]) { display: none; }
.replay-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.replay-actions { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.replay-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 10px 16px; font-size: 13px; border-bottom: 1px solid var(--line); }
.replay-facts .msg { margin: 0; }
dialog.replay iframe { flex: 1; width: 100%; border: 0; background: #000; }
.replay-checks{flex-basis:100%;display:grid;gap:4px;margin-top:6px}.replay-check{display:flex;align-items:center;flex-wrap:wrap}

/* ---------- refresh (owner, 2026-10-11): cleaner type, glass windows, grouped menu */
body {
  font: 400 14px/1.55 var(--body); letter-spacing: .005em; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(60rem 26rem at 78% -8%, rgba(227,184,102,.13), transparent 70%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(57,135,229,.07), transparent 70%),
    linear-gradient(180deg, #171614, #1a1917 40%, #141311);
  background-attachment: fixed;
}
h1, .page-head h1, .auth-card h1, .qa h1 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; font-optical-sizing: auto; }
.page-head h1 { font-size: 30px; }
.card, .auth-card, dialog, .qa .game {
  position: relative; background: var(--glass); border: 1px solid transparent; border-radius: var(--radius);
  box-shadow: var(--lift); backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15);
}
.card::before, .auth-card::before, .qa .game::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--edge); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
dialog { border-color: var(--line-strong); background: #1f1d1a; }
.card h2 { font-size: 14.5px; font-weight: 700; letter-spacing: .01em; }
.tile .value { font-family: var(--display); font-weight: 600; font-size: 30px; }
.btn { border-radius: 10px; transition: border-color .15s, background .15s, filter .15s, transform .15s; }
.btn.primary { background: linear-gradient(180deg,#f7d995,#d3a24a 60%,#b9873a); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 22px -10px rgba(227,184,102,.7); }
.btn:active { transform: translateY(1px); }
input[type=email], input[type=password], input[type=text], input[type=number], input[type=search], select, .textarea { background: rgba(14,13,12,.6); border-radius: 10px; }
.badge { padding: 2px 9px; font-weight: 700; letter-spacing: .02em; background: rgba(255,255,255,.02); }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

/* Side menu, in groups */
.side { background: linear-gradient(180deg, rgba(24,23,21,.82), rgba(18,17,15,.9)); backdrop-filter: blur(16px); border-right-color: rgba(248,224,164,.08); overflow-y: auto; }
.side .brand span { font: 600 13px var(--body); letter-spacing: .32em; color: var(--muted); }
.nav { gap: 14px; }
.nav-group { display: grid; gap: 1px; }
.nav-title { padding: 0 12px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #6f6a60; }
.nav a { position: relative; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 13.5px; }
.nav a[aria-current=page] { background: linear-gradient(90deg, rgba(248,224,164,.13), rgba(248,224,164,.03)); }
.nav a[aria-current=page]::before { content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* Games: the list */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
a.game-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: transform .2s, box-shadow .2s; }
a.game-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--lift), 0 24px 60px -24px rgba(227,184,102,.35); }
.game-card.skeleton { min-height: 260px; }
.game-card-art { display: block; width: 100%; aspect-ratio: 16 / 8; overflow: hidden; background: #111; border-bottom: 1px solid var(--line); }
.game-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-card-body { padding: 14px 16px 16px; display: grid; gap: 10px; }
.game-card-title { font: 600 18px/1.2 var(--display); }
.facts { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 6px 14px; margin: 0; font-size: 12.5px; align-items: center; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; min-width: 0; }
.facts.wide { grid-template-columns: 150px minmax(0,1fr); gap: 10px 18px; font-size: 13px; }
.meter { height: 4px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b9873a, #f8e0a4); }

/* A game's page */
.game-tabs { display: flex; gap: 4px; margin: 0 0 22px; padding: 4px; width: max-content; max-width: 100%; overflow-x: auto;
  background: rgba(14,13,12,.55); border: 1px solid var(--line); border-radius: 12px; }
.game-tabs a { padding: 7px 14px; border-radius: 9px; color: var(--soft); font-weight: 600; font-size: 13px; white-space: nowrap; }
.game-tabs a:hover { color: var(--text); text-decoration: none; background: rgba(248,224,164,.05); }
.game-tabs a.on { color: var(--gold-ink); background: linear-gradient(180deg,#f7d995,#d3a24a); }
/* Finance */
.chip { display: inline-flex; align-items: center; gap: 2px; padding: 1px 4px 1px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }
.chip .linkish { padding: 0 4px; }
.tiles-title { margin: 4px 0 10px; }
.tab-body { min-width: 0; }
.embedded .detail-head h1, .embedded > .qa .kicker { display: none; }
.small-head { margin: 22px 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; }
.check-row { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.check-row:last-child { border-bottom: 0; }
.check-row .check { color: var(--text); font-weight: 500; }
.check-row.done .check { color: var(--soft); }
.check-row input[type=checkbox] { accent-color: var(--gold); width: 16px; height: 16px; }
.check-row input[type=text] { min-height: 32px; padding: 5px 9px; font-size: 12.5px; }
ol.steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
li.step { position: relative; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 12px; align-items: start; padding: 10px 0 14px; }
li.step:not(:last-child)::after { content: ''; position: absolute; left: 10px; top: 30px; bottom: -2px; width: 2px; background: rgba(255,255,255,.07); }
li.step strong { display: block; font-weight: 600; }
li.step .muted { font-size: 12.5px; }
li.step .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #4a463f; background: #171614; margin-top: 1px; }
li.step.pass .dot { border-color: var(--good-text); background: radial-gradient(circle, var(--good-text) 0 4px, #13240f 5px); }
li.step.fail .dot { border-color: var(--bad); background: radial-gradient(circle, var(--bad) 0 4px, #2a1414 5px); }
li.step.warn .dot { border-color: var(--warn); background: radial-gradient(circle, var(--warn) 0 4px, #2a2210 5px); }
li.step.running .dot, li.step.pending .dot { border-color: #7cb8e0; animation: step-pulse 1.2s ease-in-out infinite; }
@keyframes step-pulse { 50% { box-shadow: 0 0 0 5px rgba(124,184,224,.18); } }
.step-state { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
li.step.pass .step-state { color: var(--good-text); } li.step.fail .step-state { color: var(--bad); } li.step.warn .step-state { color: var(--warn); }
.live-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
a.live-link { display: block; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(14,13,12,.45); color: var(--text); font-weight: 600; transition: border-color .15s, background .15s; }
a.live-link:hover { text-decoration: none; border-color: var(--gold); background: rgba(248,224,164,.05); }
@media (max-width: 820px) {
  .nav { gap: 2px; } .nav-group { display: flex; gap: 2px; } .nav-title { display: none; }
  .nav a[aria-current=page]::before { display: none; }
  .check-row { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .facts.wide { grid-template-columns: minmax(0,1fr); gap: 2px 0; } .facts.wide dd { margin-bottom: 8px; }
  .game-tabs { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { a.game-card, .btn { transition: none; } li.step .dot { animation: none !important; } }
a.live-link strong, a.live-link > span { display: block; } a.live-link > span { margin-top: 4px; font-weight: 500; font-size: 12.5px; }

/* Languages: the keys of a namespace as a reviewer reads them (public/js/localisation.js, keysTable). */
.i18n-list { border-top: 1px solid var(--line-strong); }
.i18n-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.i18n-row code { font-size: 12.5px; color: var(--soft); }
.i18n-row .hint { margin: 4px 0 10px; }
.i18n-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.i18n-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; }
.i18n-tr .textarea { width: 100%; min-height: 38px; resize: vertical; white-space: pre-wrap; }
.i18n-check { font-size: 12.5px; color: var(--muted); margin: 8px 0 10px; overflow-wrap: anywhere; }
.i18n-check.ok { color: #8fc79a; }
.i18n-check.bad { color: #f0a070; }
@media (max-width: 900px) { .i18n-row { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
/* Languages: the pictures that carry text, the English one beside the language's version. */
.i18n-art-head { flex-wrap: wrap; gap: 10px; }
.i18n-art-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.i18n-art-row code.hint { display: block; margin: 4px 0 0; font-size: 11.5px; overflow-wrap: anywhere; }
.i18n-pic { display: block; margin: 0 0 8px; padding: 8px; border-radius: 10px; border: 1px solid var(--line);
  background: repeating-conic-gradient(#2a2926 0% 25%, #1e1d1b 0% 50%) 0 0 / 16px 16px; }
.i18n-pic img { display: block; max-width: 100%; max-height: 120px; margin: 0 auto; object-fit: contain; }
.i18n-art-actions { justify-content: flex-end; }
@media (max-width: 900px) { .i18n-art-row { grid-template-columns: minmax(0, 1fr); gap: 10px; } .i18n-art-actions { justify-content: flex-start; } }
