/* base_contest — dark, calm, a little DayZ. Tokens first, then components top-down. */

:root {
  /* PODPIVAS palette: near-black ground, signal red, cool grey text - lifted from the project's spawn-menu design. */
  --bg: #07080a;
  --panel: #0e0f12;
  --panel-2: #15171b;
  --border: rgba(207, 207, 207, .12);
  --border-strong: rgba(207, 207, 207, .24);
  --text: #cfcfcf;
  --muted: #8f8f8f;
  --accent: #c40711;
  --accent-ink: #ffffff;
  --accent-soft: rgba(196, 7, 17, .16);
  --ok: #3fa66f;
  --ok-soft: rgba(63, 166, 111, .16);
  --danger: #c40711;
  --danger-soft: rgba(196, 7, 17, .16);
  --gold: #c47007;
  --silver: #9a9a9a;
  --bronze: #7a4a2a;
  --radius: 6px;
  --font: "Inter", system-ui, "Segoe UI", sans-serif;
  --display: "Oswald", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ring: 0 0 0 3px rgba(196, 7, 17, .35);
  color-scheme: dark;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font);
  font-variant-numeric: tabular-nums;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
h1 { font-size: 28px; }
h2 { font-size: 18px; }
p { margin: 0; }
code { font-family: var(--mono); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: 13px; }
.nowrap { white-space: nowrap; }
.inline { display: inline; }
.link-muted { color: var(--muted); font-size: 13px; }
.link-muted:hover { color: var(--accent); }
.crumbs { margin-bottom: 14px; font-size: 13px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* ---------- layout ---------- */
.topbar {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.topbar__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  min-height: 56px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; padding: 12px 0; }
.brand svg { flex: none; border-radius: 6px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 6px 12px; border-radius: var(--radius); color: var(--muted); font-family: var(--display); font-weight: 400; letter-spacing: .05em; text-transform: uppercase; font-size: 14px; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a.is-active { color: var(--text); background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--accent); }
.user { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.user__name { font-weight: 500; }
.user__role { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

.container { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px 20px 48px; }
.container--narrow { max-width: 460px; display: flex; flex-direction: column; justify-content: center; }
.footer { padding: 18px 20px; text-align: center; color: var(--muted); font-size: 12px; border-top: 1px solid var(--border); }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head p { margin-top: 4px; }
.page-head__aside { display: flex; gap: 8px; align-items: center; }
.section { padding: 20px; margin-top: 20px; }
.section--narrow { max-width: 560px; }
.section__title { margin-bottom: 14px; }
.section__title + .muted { margin-top: -8px; margin-bottom: 12px; }
.empty { color: var(--muted); padding: 8px 0; }
.empty-state { text-align: center; padding: 56px 20px; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state p { font-size: 17px; margin-bottom: 14px; }

/* ---------- cards ---------- */
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.entry-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text); transition: border-color .15s, transform .15s; }
a.entry-card:hover { border-color: var(--border-strong); transform: translateY(-2px); color: var(--text); }
.entry-card.is-scored { border-color: rgba(63, 166, 111, .35); }
.entry-card.is-hidden { opacity: .6; }
.entry-card__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--panel-2); }
.entry-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 14, 17, .55), transparent 45%); }
.entry-card__flag { position: absolute; top: 8px; left: 8px; z-index: 1; }
.entry-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.entry-card__title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.entry-card__author { color: var(--muted); font-size: 13px; }
.entry-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.entry-card__num { color: var(--muted); font-size: 12px; }

/* ---------- badges / pills / notices / flashes ---------- */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 18px; border: 1px solid var(--border); color: var(--muted); background: var(--panel-2); white-space: nowrap; }
.badge--ok { color: var(--ok); border-color: rgba(63, 166, 111, .4); background: var(--ok-soft); }
.badge--warn { color: var(--accent); border-color: rgba(196, 7, 17, .4); background: var(--accent-soft); }
.badge--muted { color: var(--muted); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 15px; background: var(--panel-2); border: 1px solid var(--border); }
.pill--value { color: var(--accent); }

.notice { padding: 10px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.notice--warn { border-color: rgba(196, 7, 17, .4); color: var(--accent); background: var(--accent-soft); }

.flashes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.flash { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); transition: opacity .3s, transform .3s; }
.flash.is-leaving { opacity: 0; transform: translateY(-4px); }
.flash > span { flex: 1; }
.flash--ok { border-color: rgba(63, 166, 111, .45); background: var(--ok-soft); color: #bfe6cf; }
.flash--error { border-color: rgba(216, 74, 74, .5); background: var(--danger-soft); color: #f2c2c2; }
.flash--info { color: var(--text); }
.flash__close { background: none; border: 0; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; opacity: .6; padding: 0 4px; }
.flash__close:hover { opacity: 1; }
.flash--secret { border-color: var(--accent); background: var(--accent-soft); align-items: center; flex-wrap: wrap; }
.flash__body { flex: 1; min-width: 200px; }
.flash__label { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.flash__secret { display: block; font-size: 15px; overflow-wrap: anywhere; user-select: all; color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px; border: 1px solid var(--border-strong);
  background: var(--panel-2); color: var(--text); font: inherit; font-weight: 500; font-size: 14px;
  cursor: pointer; white-space: nowrap; line-height: 1.2; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: #1c1e23; border-color: var(--border-strong); color: var(--text); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--primary:hover { background: #e2101c; border-color: #e2101c; color: var(--accent-ink); }
.btn--secondary { background: transparent; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn--ghost:hover { background: var(--panel-2); border-color: transparent; color: var(--text); }
.btn--danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn--danger:hover { background: #e2101c; border-color: #e2101c; color: #fff; }
.btn--danger-text { color: var(--danger); }
.btn--danger-text:hover { color: #ff3b46; }
.btn--sm { padding: 6px 11px; font-size: 13px; }
.btn--block { width: 100%; padding: 11px; font-size: 15px; }
.btn:disabled, .btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn.is-ok { color: var(--ok); border-color: var(--ok); }
summary.btn { list-style: none; }
summary.btn::-webkit-details-marker { display: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); cursor: pointer; font: inherit;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn.is-disabled, .icon-btn:disabled { opacity: .3; cursor: default; pointer-events: none; }
.icon-btn--sm { width: 28px; height: 28px; border-radius: 6px; }

.btn-confirm {
  width: 60px; height: 60px; border-radius: 50%; border: 0; flex: none;
  background: var(--accent); color: var(--accent-ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(196, 7, 17, .25);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-confirm:hover { transform: translateY(-2px); background: #e2101c; box-shadow: 0 10px 26px rgba(196, 7, 17, .4); }
.btn-confirm:active { transform: translateY(0); }
.btn-confirm:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-confirm:focus-visible { box-shadow: 0 0 0 4px rgba(196, 7, 17, .45); border-radius: 50%; }

/* ---------- forms ---------- */
.stack { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field__hint { font-size: 12px; color: var(--muted); }
input[type="text"], input[type="password"], input[type="url"], input[type="number"], input[type="email"], textarea, select {
  width: 100%; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font: inherit; font-size: 15px;
}
input:focus-visible, textarea:focus-visible { border-color: var(--accent); box-shadow: var(--ring); border-radius: 8px; }
input:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; }
textarea { resize: vertical; min-height: 72px; line-height: 1.45; }
.input--num { width: 84px; text-align: right; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid__wide { grid-column: 1 / -1; }
.form-grid--criteria { grid-template-columns: 2fr 3fr auto auto; align-items: end; }
.form-grid--criteria .form-grid__wide { grid-column: auto; }
.form-grid--criteria .field--narrow input { width: 96px; }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check--card { padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel-2); }
.check--card:hover { border-color: var(--border-strong); }
.check__title { display: block; font-weight: 500; }
.check__hint { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- range inputs (accent, WebKit + Firefox) ---------- */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  flex: 1; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer;
  --fill: 0%;
}
input[type="range"]:focus { outline: none; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--fill), var(--border) var(--fill));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--border-strong);
  transition: transform .1s;
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.08); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(196, 7, 17, .4); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--border); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box;
  background: var(--accent); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--border-strong);
}
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(196, 7, 17, .4); }
input[type="range"]:disabled { cursor: not-allowed; opacity: .5; }

/* ---------- progress ---------- */
.progress { height: 8px; min-width: 200px; border-radius: 4px; background: var(--panel-2); border: 1px solid var(--border); overflow: hidden; }
.progress__bar { height: 100%; background: var(--ok); border-radius: 4px; transition: width .3s; }
.page-head .progress { flex: 0 1 320px; margin-bottom: 8px; }

/* ---------- entry page ---------- */
.entry-layout { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; align-items: start; }
.video-card { overflow: hidden; }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.video-card__title { font-size: 22px; }
.video-card__author { color: var(--muted); }
.video-card__desc { margin-top: 8px; white-space: pre-line; color: var(--text); }
.video-card__body .link-muted { margin-top: 8px; align-self: flex-start; }

.score-card { display: flex; flex-direction: column; position: sticky; top: 76px; }
.score-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.score-card__label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.score-card .notice { margin: 14px 16px 0; }
.criteria { padding: 6px 18px 0; }
.criterion { padding: 14px 0 12px; border-bottom: 1px solid var(--border); }
.criterion__name { display: block; font-weight: 500; font-size: 15px; }
.criterion__hint { color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.criterion__slider { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.score-card__comment { padding: 16px 18px 4px; }
.score-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 18px 18px; margin-top: 8px; border-top: 1px solid var(--border); background: var(--panel-2);
  border-radius: 0 0 var(--radius) var(--radius);
}
.score-total { display: flex; align-items: baseline; gap: 6px; }
.score-total__value { font-size: 38px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.score-total__max { font-size: 18px; color: var(--muted); font-weight: 500; }
.score-card__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.card.table-wrap { padding: 4px 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); }
.table th { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255, 255, 255, .015); }
.table .num { text-align: right; white-space: nowrap; }
.table .rank { width: 44px; text-align: center; font-weight: 600; }
.table .thumb-cell { width: 108px; padding-right: 0; }
.table .thumb-cell img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--panel-2); }
.table .actions-col { text-align: right; }
.table .comment-cell { min-width: 220px; max-width: 420px; white-space: pre-line; color: var(--text); }
.table tr.is-inactive td { color: var(--muted); }
.table tr.is-inactive .thumb-cell img { opacity: .5; }
.table--forms td { padding: 8px 8px; }
.table--forms input[type="text"] { min-width: 140px; padding: 7px 10px; font-size: 14px; }
.table--forms .input--num { min-width: 0; }
.results-table__title { font-weight: 600; }
.results-table .total { white-space: nowrap; }
.total__value { font-size: 20px; font-weight: 700; }
.total__max { color: var(--muted); font-size: 13px; }
.results-table tr.rank-1 td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.results-table tr.rank-2 td:first-child { box-shadow: inset 3px 0 0 var(--silver); }
.results-table tr.rank-3 td:first-child { box-shadow: inset 3px 0 0 var(--bronze); }
.results-table tr.rank-1 .rank { color: var(--gold); }
.results-table tr.rank-2 .rank { color: var(--silver); }
.results-table tr.rank-3 .rank { color: var(--bronze); }
.matrix td.num { font-weight: 500; }

.row-actions { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.move { display: inline-flex; gap: 2px; }
.danger-details { display: inline-block; text-align: right; }
/* The confirm box opens inline under «Удалить»: an absolute popover would be clipped by .table-wrap (overflow auto). */
.danger-details__form {
  margin-top: 8px; min-width: 280px; padding: 14px; border-radius: var(--radius);
  border: 1px solid rgba(216, 74, 74, .5); background: var(--panel-2);
  display: flex; flex-direction: column; gap: 12px; text-align: left;
}
.row-actions:has(.danger-details[open]) { align-items: flex-start; }
tr:has(.danger-details[open]) > td { vertical-align: top; }
.danger-zone { border-color: rgba(216, 74, 74, .35); }

/* ---------- admin ---------- */
.subnav { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.subnav a { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.subnav a:hover { color: var(--text); background: var(--panel-2); }
.subnav a.is-active { color: var(--accent); background: var(--accent-soft); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
a.stat:hover { border-color: var(--accent); color: var(--text); }
.stat__label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat__value { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat__max { font-size: 16px; color: var(--muted); font-weight: 500; }
.stat .progress { min-width: 0; margin-top: 6px; }
.stat__flags { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin: 4px 0; }
.admin-cols { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.admin-cols .section { margin-top: 0; }
.admin-cols--edit { grid-template-columns: 1fr 340px; }
.admin-cols--edit .card { margin-top: 0; }

/* ---------- login / errors ---------- */
.page-login .topbar .nav, .page-login .topbar .user { display: none; }
.login-card { padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.login-card__brand { margin-bottom: 8px; }
.login-card__brand svg { width: 44px; height: 44px; border-radius: 10px; }
.login-card__title { font-size: 22px; }
.login-card__sub { margin-bottom: 16px; }
.error-page { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.error-page__code { font-size: 64px; font-weight: 700; color: var(--accent); letter-spacing: -.04em; line-height: 1; }
.error-page .btn { margin-top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .entry-layout { grid-template-columns: 1fr; }
  .score-card { position: static; }
  .admin-cols, .admin-cols--edit { grid-template-columns: 1fr; }
  .form-grid--criteria { grid-template-columns: 1fr 1fr; }
  .form-grid--criteria .form-grid__wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  h1 { font-size: 22px; }
  .container { padding: 18px 14px 40px; }
  .topbar__inner { padding: 0 14px; gap: 8px 12px; }
  .brand { padding: 10px 0; font-size: 15px; }
  .nav { order: 3; width: 100%; margin: 0 0 8px; }
  .nav a { padding: 6px 10px; font-size: 14px; }
  .user__role { display: none; }
  .page-head { align-items: flex-start; }
  .page-head .progress { flex-basis: 100%; }
  .grid { grid-template-columns: 1fr; }
  .form-grid, .form-grid--criteria { grid-template-columns: 1fr; }
  .section { padding: 16px 14px; }
  .criteria { padding: 4px 14px 0; }
  .score-card__comment { padding: 14px 14px 4px; }
  .score-card__foot { padding: 14px; }
  .score-total__value { font-size: 32px; }
  .score-card__actions { margin-left: 0; width: 100%; justify-content: space-between; }
  .video-card__body { padding: 14px; }
  .video-card__title { font-size: 18px; }
  .btn-confirm { width: 56px; height: 56px; }
  .table th, .table td { padding: 8px 10px; }
  .table .thumb-cell { display: none; }
  .row-actions { justify-content: flex-start; }
  .table td:not(.num):not(.rank):not(.actions-col) { min-width: 160px; }
  .table .actions-col { text-align: left; }
  .danger-details { text-align: left; }
  .login-card { padding: 24px 18px; }
}

/* ---------- PODPIVAS skin: numbers in mono, like the in-game HUD ---------- */
.pill--value, .score-total__value, .score-total__max, .total__value, .total__max, .num, .rank, .badge, .mono {
  font-family: var(--mono);
}
.score-total__value, .total__value { font-weight: 700; }
.badge, .pill { letter-spacing: .02em; }
