/* The four apps' sheet (GM desk, the Wire, compare, lab) — Unit B.
 * Loaded only on /gm/play, /wire, /compare and /lab. GENERATED from the game's
 * built wrestling stylesheet plus the GM and Wire pages' inline <style> blocks
 * (the CSP forbids inline styles here), with the @font-face rules dropped (this
 * site self-hosts its own faces) and the token map appended LAST so it wins.
 * Re-generate when the game's app CSS changes; do not hand-edit the copied part. */
/* Built from SECTOR_CSS in scripts/build-wrestling-pages.mjs with comments removed. Read the source for the why. */



:root {
  --wr-poster: "Anton", Impact, "Arial Narrow", "Helvetica Neue", sans-serif;
  --wr-data: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --wr-plate: #f2c94c;
  --wr-plate-deep: #b8861f;
  --wr-strap: #0c0a09;
  --wr-rope: #d3283a;
  --wr-canvas: #ede4d0;
  --tone: var(--wr-plate); --tone-wash: rgba(242, 201, 76, 0.075); --tone-edge: rgba(242, 201, 76, 0.36);
}
.wr-h1 { font-family: var(--wr-poster); font-weight: 400; color: var(--wr-plate);
  font-size: var(--fs-4xl); line-height: 0.94; letter-spacing: 0.01em; text-transform: uppercase;
  margin: 0 0 var(--s3); text-wrap: balance; max-width: 14ch; }
.prose > h1.wr-h1::after { content: ""; display: block; width: var(--s10); height: 5px;
  margin: var(--s3) 0 var(--s5); background: var(--wr-rope); border-radius: 1px;
  box-shadow: 0 8px 0 -4px var(--wr-plate-deep); }
.wr-kicker { font-family: var(--wr-data); font-weight: 700; color: var(--wr-plate); letter-spacing: 0.18em;
  text-transform: uppercase; font-size: var(--fs-sm); margin: 0 0 var(--s2); }
.wr-lede { font-size: var(--fs-lg); line-height: 1.6; color: var(--text-dim);
  margin: 0 0 var(--s5); max-width: var(--measure); }
.wr-inshort-label { font-family: var(--wr-data); font-weight: 700; color: var(--wr-plate);
  letter-spacing: 0.08em; text-transform: uppercase; }
.wr-dateline { font-family: var(--wr-data); font-size: var(--fs-sm); letter-spacing: 0.04em;
  color: var(--text-dim); margin: 0 0 var(--s5); }
.wr-cite { margin: var(--s7) 0 var(--s5); padding: var(--s4) var(--s5); background: var(--surface-1);
  border: 1px solid var(--hair); border-radius: var(--r-md); }
.wr-cite h2 { margin-top: 0; }
.wr-cite-perma a { overflow-wrap: anywhere; }
.wr-cite-text { font-family: var(--wr-data); font-size: var(--fs-base); color: var(--text-strong); }
.wr-cite-snippet { display: block; width: 100%; box-sizing: border-box; resize: vertical;
  font-family: var(--mono); font-size: var(--fs-xs); line-height: 1.5; color: var(--text);
  background: var(--ink-900); border: 1px solid var(--hair); border-radius: var(--r-sm);
  padding: var(--s2) var(--s3); white-space: pre-wrap; overflow-wrap: anywhere; }
.prose h2, .prose h3 { font-family: var(--wr-poster); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.02em; color: var(--text-strong); }
.prose h2 { font-size: var(--fs-2xl); line-height: 1; }
.prose h3 { font-size: var(--fs-xl); line-height: 1.05; }
.prose h2::before { content: ""; display: inline-block; width: 4px; height: 0.85em;
  background: var(--wr-plate); margin-right: var(--s3); vertical-align: -0.08em; border-radius: 1px; }
.wr-table { overflow-x: auto; margin: var(--s5) 0; background: var(--surface-1);
  border: 1px solid var(--hair); border-radius: var(--r-md);
  box-shadow: var(--e1), var(--lift); }
.wr-table table { min-width: 420px; margin: 0; border-collapse: collapse; width: 100%; }
.wr-table caption { text-align: left; color: var(--text-dim); font-size: var(--fs-sm);
  padding: var(--s3) var(--s4) var(--s2); }
.wr-table th { text-align: left; font-family: var(--wr-data); font-weight: 700;
  font-size: var(--fs-sm); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--wr-plate); padding: var(--s2) var(--s4); border-bottom: 2px solid var(--wr-plate-deep); }
.wr-table td { padding: var(--s2) var(--s4); border-bottom: 1px solid var(--hair);
  font-size: var(--fs-base); font-variant-numeric: tabular-nums; }
.wr-table td:first-child { font-family: var(--wr-poster); font-size: var(--fs-xl); line-height: 1;
  color: var(--wr-canvas); width: 3.2em; text-align: right; padding-right: var(--s3); }
.wr-table td:nth-child(3) { font-family: var(--wr-data); font-weight: 700; font-size: var(--fs-lg); }
.wr-table td a { color: var(--text-strong); font-family: var(--wr-data); font-size: var(--fs-lg);
  font-weight: 700; letter-spacing: 0.01em; text-decoration: none; }
.wr-table td a:hover { color: var(--frost-300); text-decoration: underline; }
.wr-table tbody tr:last-child td { border-bottom: 0; }
.wr-table tbody tr:hover td { background: var(--surface-2); }
@media (max-width: 640px) {
  .wr-rank { overflow-x: visible; }
  .wr-rank table { min-width: 0; }
  .wr-rank thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .wr-rank tbody, .wr-rank tr, .wr-rank td { display: block; width: auto; }
  .wr-rank tr { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--hair); }
  .wr-rank tbody tr:last-child { border-bottom: 0; }
  .wr-rank td { padding: 2px 0; border-bottom: 0; }
  .wr-rank td:first-child { width: auto; text-align: left; padding-right: 0; }
  .wr-rank td:nth-child(3) { text-align: left; }
  .wr-rank td[data-label]::before {
    content: attr(data-label) " "; font-family: var(--wr-data); font-weight: 700;
    font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--wr-plate);
  }
}
.wr-tier { display: inline-block; font-family: var(--wr-data); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: .1em; text-transform: uppercase; padding: 2px var(--s2); border: 1px solid var(--hair-strong);
  border-radius: 3px; color: var(--text-dim); white-space: nowrap; line-height: 1.3; }
.wr-tier-calibrated { border-color: var(--wr-plate-deep); color: var(--wr-plate); background: var(--wr-strap); }
.wr-tier-historical-index { border-style: dashed; }
.wr-aka { color: var(--text-dim); font-size: var(--fs-xs); }
.wr-note { color: var(--text-dim); font-size: var(--fs-sm); margin: var(--s5) 0 0;
  max-width: var(--measure); }
.wr-formula { font-family: var(--wr-data); font-weight: 700; font-size: var(--fs-lg); letter-spacing: 0.04em;
  background: var(--ink-900);
  border: 1px solid var(--hair); border-radius: var(--r-sm); padding: var(--s3) var(--s4);
  margin: var(--s4) 0; overflow-x: auto; }
.wr-pager { display: flex; justify-content: space-between; gap: var(--s3);
  align-items: baseline; font-size: var(--fs-sm); margin: var(--s4) 0; flex-wrap: wrap; }
.wr-pager-now { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.wr-letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: var(--s2); margin: var(--s5) 0; }
.wr-letters a { display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: var(--s3) var(--s1); background: var(--surface-1); border: 1px solid var(--hair);
  border-radius: var(--r-sm); text-decoration: none; box-shadow: var(--lift); }
.wr-letters a:hover { background: var(--surface-2); border-color: var(--hair-strong); }
.wr-letters a strong { font-family: var(--wr-poster); font-size: var(--fs-xl); line-height: 1;
  color: var(--wr-plate); text-transform: uppercase; }
.wr-letters a span { font-size: var(--fs-xs); color: var(--text-dim); font-variant-numeric: tabular-nums; }
.wr-plate { display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  margin: var(--s4) 0 var(--s5); padding: var(--s4) var(--s5);
  border: 1px solid var(--wr-plate-deep); border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(242,201,76,0.10) 0%, rgba(12,10,9,0.92) 70%); }
.wr-plate-label { font-family: var(--wr-data, inherit); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--wr-plate); }
.wr-plate-num { font-family: var(--wr-poster, var(--fancy)); font-size: 3.4rem; line-height: 1;
  color: var(--wr-plate); font-variant-numeric: tabular-nums; }
.wr-plate-foot { color: var(--text-dim); font-size: var(--fs-xs); }
.wr-groups { display: grid; gap: var(--s4); margin: 0 0 var(--s5); }
.wr-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.wr-group-name { font-weight: 700; }
.wr-group-w { color: var(--text-dim); font-weight: 400; font-size: var(--fs-xs); }
.wr-group-val { font-family: var(--wr-poster, var(--fancy)); font-size: var(--fs-lg);
  color: var(--wr-plate); font-variant-numeric: tabular-nums; }
.wr-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin: 6px 0 4px; }
.wr-bar-fill { display: block; height: 100%; border-radius: 4px; background: var(--wr-plate); }
.wr-bar-star { background: var(--wr-plate-deep); }
.wr-bar-career { background: var(--wr-rope); }
.wr-group-note { margin: 0; color: var(--text-dim); font-size: var(--fs-xs); max-width: 62ch; }
@media (max-width: 560px) {
  .wr-plate-num { font-size: 2.6rem; }
  .wr-plate { padding: var(--s3) var(--s4); }
}
.wr-breakdown { display: grid; grid-template-columns: minmax(150px, 32%) 1fr;
  border-top: 1px solid var(--hair); margin: var(--s5) 0; }
.wr-breakdown dt { padding: var(--s2) var(--s3) var(--s2) 0; border-bottom: 1px solid var(--hair);
  color: var(--wr-plate); font-family: var(--wr-data); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: var(--fs-sm); }
.wr-breakdown dd { padding: var(--s2) 0 var(--s2) var(--s3); margin: 0;
  border-bottom: 1px solid var(--hair); font-size: var(--fs-base); font-variant-numeric: tabular-nums;
  font-family: var(--wr-data); }
.wr-breakdown dd strong { font-size: var(--fs-2xl); font-weight: 700; line-height: 1; }
.wr-ctx { display: block; font-size: var(--fs-xs); color: var(--text-dim);
  margin-top: 2px; font-variant-numeric: tabular-nums; }
.wr-era { color: var(--wr-plate); font-family: var(--wr-data); font-weight: 700; letter-spacing: 0.06em; }
.wr-eras { list-style: none; padding: 0; margin: 0 0 var(--s6);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s4); }
.wr-eras li { background: var(--surface-1); border: 1px solid var(--hair);
  border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--e1); }
.wr-eras a { font-family: var(--wr-poster); font-size: var(--fs-2xl); line-height: 1; text-decoration: none;
  color: var(--wr-plate); text-transform: uppercase; }
.wr-eras a:hover { text-decoration: underline; }
.wr-eras .wr-ctx { margin-top: var(--s2); }
.cmp-pick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5);
  align-items: start; margin: 0 0 var(--s5); }
.cmp-col { display: grid; gap: var(--s2); align-content: start; }
.cmp-field { display: grid; gap: var(--s2); font-size: var(--fs-sm); }
/* 2.0.104 (axe): gold on the light theme's paper was 1.66:1; --gold-text is gold on ink and gold-ink on paper. */
.cmp-field span { font-family: var(--wr-data); font-weight: 700; color: var(--gold-text, var(--wr-plate));
  letter-spacing: 0.12em; text-transform: uppercase; font-size: var(--fs-sm); }
.cmp-field input { width: 100%; padding: var(--s2) var(--s3); background: var(--surface-2);
  color: inherit; border: 1px solid var(--hair-strong); border-radius: var(--r-sm);
  font: inherit; }
.cmp-field input:focus-visible { outline: 2px solid var(--frost-300); outline-offset: 1px; }
.cmp-list { display: grid; background: var(--surface-2); border: 1px solid var(--hair-strong);
  border-radius: var(--r-sm); box-shadow: var(--e2); overflow: hidden; align-self: start; }
.cmp-list[hidden] { display: none; }
.cmp-hit { display: flex; justify-content: space-between; gap: var(--s3); width: 100%;
  padding: var(--s2) var(--s3); background: none; border: 0; border-bottom: 1px solid var(--hair);
  color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cmp-hit:last-child { border-bottom: 0; }
.cmp-hit:hover, .cmp-hit:focus-visible { background: var(--surface-3); color: var(--frost-300); }
.cmp-hit-score { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.cmp-heads { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s4);
  align-items: center; margin: 0 0 var(--s5); }
.cmp-who { display: grid; gap: var(--s2); justify-items: center; text-align: center;
  background: var(--surface-1); border: 1px solid var(--hair); border-radius: var(--r-lg);
  padding: var(--s4); box-shadow: var(--e1); }
.cmp-who-a { border-top: 4px solid var(--wr-plate); }
.cmp-who-b { border-top: 4px solid var(--frost-300); }
.cmp-name { margin: 0; font-family: var(--wr-poster); font-size: var(--fs-xl); line-height: 1;
  text-transform: uppercase; letter-spacing: 0.01em; }
.cmp-name a { color: var(--text-strong); text-decoration: none; }
.cmp-score { margin: 0; font-family: var(--wr-data); font-weight: 700; font-size: var(--fs-3xl);
  font-variant-numeric: tabular-nums; line-height: 1; }
.cmp-vs { font-family: var(--wr-poster); color: var(--wr-rope); font-size: var(--fs-xl);
  letter-spacing: 0.06em; text-transform: uppercase; }
.cmp-verdict { margin: 0 0 var(--s3); padding: var(--s4); background: var(--surface-2);
  border-left: 3px solid var(--gold-500); border-radius: var(--r-sm);
  font-size: var(--fs-lg); max-width: var(--measure); }
.cmp-upset { margin: 0 0 var(--s3); padding: var(--s4); background: var(--surface-2);
  border-left: 3px solid var(--frost-300); border-radius: var(--r-sm);
  font-size: var(--fs-sm); max-width: var(--measure); }
.cmp-caveat { margin: 0 0 var(--s5); color: var(--warn); font-size: var(--fs-sm);
  max-width: var(--measure); }
.cmp-bars { display: grid; gap: var(--s3); margin: 0 0 var(--s5); }
.cmp-bar { display: grid; grid-template-columns: 52px 1fr 1fr 52px;
  gap: var(--s2) var(--s3); align-items: center; font-size: var(--fs-sm); }
.cmp-bar-label { grid-column: 1 / -1; font-family: var(--wr-data); font-weight: 700; color: var(--wr-plate);
  font-size: var(--fs-sm); letter-spacing: 0.12em; text-transform: uppercase; }
.cmp-bar-num { font-family: var(--wr-data); font-weight: 700; font-size: var(--fs-base);
  font-variant-numeric: tabular-nums; color: var(--text); }
.cmp-num-a { text-align: right; }
.cmp-bar-side { height: 8px; background: var(--surface-3); border-radius: var(--r-sm);
  overflow: hidden; display: flex; }
.cmp-bar-a { justify-content: flex-end; }
.cmp-bar-a i { background: var(--wr-plate); height: 100%; }
.cmp-bar-b i { background: var(--frost-300); height: 100%; }
.cmp-share { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
@media (max-width: 560px) {
  .cmp-pick { grid-template-columns: 1fr; }
  .cmp-heads { grid-template-columns: 1fr; }
  .cmp-vs { justify-self: center; }
  .cmp-bar { grid-template-columns: 52px 1fr; }
  .cmp-num-a { grid-column: 1; grid-row: 2; }
  .cmp-bar-a { grid-column: 2; grid-row: 2; justify-content: flex-start; }
  .cmp-num-b { grid-column: 1; grid-row: 3; text-align: right; }
  .cmp-bar-b { grid-column: 2; grid-row: 3; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.lab-controls { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--s5); align-items: start; background: var(--surface-1);
  border: 1px solid var(--hair); border-radius: var(--r-lg); padding: var(--s5);
  margin: 0 0 var(--s5); box-shadow: var(--e2), var(--lift); }
.lab-weights h2 { font-family: var(--wr-data); font-weight: 700; color: var(--wr-plate); font-size: var(--fs-sm);
  letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 var(--s3); line-height: 1.3; }
.lab-weights h2::before { content: none; }
.lab-w { display: grid; grid-template-columns: 116px 1fr 44px; gap: var(--s3);
  align-items: center; margin: 0 0 var(--s2); font-size: var(--fs-sm); }
.lab-w input[type=range] { width: 100%; accent-color: var(--frost-300); }
.lab-w output { font-variant-numeric: tabular-nums; color: var(--wr-plate); font-family: var(--wr-data);
  font-weight: 700; text-align: right; font-size: var(--fs-lg); }
.lab-t { display: flex; gap: var(--s2); align-items: flex-start; margin: var(--s3) 0 0;
  font-size: var(--fs-sm); line-height: 1.45; color: var(--text-dim); }
.lab-t input { margin-top: 3px; accent-color: var(--frost-300); }
.lab-note { color: var(--text-dim); font-size: var(--fs-xs); margin: var(--s3) 0 0; }
.lab-actions { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; margin: var(--s4) 0 0; }
.lab-btn { font: inherit; font-size: var(--fs-sm); padding: var(--s2) var(--s4);
  border: 1px solid var(--hair-strong); border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--frost-300); cursor: pointer; }
.lab-btn:hover { border-color: var(--frost-300); background: var(--surface-3); }
.lab-msg { color: var(--text-dim); font-size: var(--fs-xs); }
.lab-search input { width: 100%; box-sizing: border-box; font: inherit; font-size: var(--fs-base);
  padding: var(--s2) var(--s3); border: 1px solid var(--hair-strong); border-radius: var(--r-sm);
  background: var(--ink-900); color: inherit; }
.lab-search input:focus-visible { border-color: var(--frost-300); }
.lab-up { color: var(--ok); font-variant-numeric: tabular-nums; }
.lab-down { color: var(--warn); font-variant-numeric: tabular-nums; }
.lab-flat { color: var(--text-dim); }
@media (max-width: 720px) {
  .lab-controls { grid-template-columns: 1fr; }
  .lab-w { grid-template-columns: 96px 1fr 38px; }
}
@media (max-width: 560px) {
  .wr-breakdown { grid-template-columns: 1fr; }
  .wr-breakdown dt { border-bottom: 0; padding-bottom: 0; }
  .wr-breakdown dd { padding-left: 0; }
}
.wire-shell { --wire-bg: #050806; --wire-panel: #0b1310; --wire-line: #16241d;
  --wire-text: #cdeede; --wire-dim: #6f9686; --wire-bright: #4dffb2; --wire-amber: #ffb800;
  background: var(--wire-bg); color: var(--wire-text);
  border: 1px solid var(--wire-line); border-radius: var(--r-md);
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  margin: var(--s5) 0; overflow: hidden; box-shadow: var(--e2), var(--lift); }
.wire-topbar { display: flex; align-items: center; justify-content: space-between;
  padding: var(--s3) var(--s4); border-bottom: 1px solid var(--wire-line); background: var(--wire-panel); }
.wire-brand { color: var(--wire-bright); font-weight: 700; letter-spacing: 0.14em; font-size: var(--fs-sm); }
.wire-clock { color: var(--wire-dim); font-variant-numeric: tabular-nums; font-size: var(--fs-sm); }
.wire-ticker { overflow: hidden; border-bottom: 1px solid var(--wire-line);
  background: var(--wire-panel); white-space: nowrap; }
.wire-ticker-track { display: inline-block; padding: var(--s2) 0; font-size: var(--fs-sm);
  animation: wire-scroll 55s linear infinite; will-change: transform; }
.wire-ticker-track span { padding: 0 var(--s6); color: var(--wire-dim); }
.wire-ticker-track strong { color: var(--wire-text); font-weight: 400; }
.wire-ticker-track em { color: var(--wire-amber); font-style: normal; }
@keyframes wire-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wire-ticker-track { animation: none; } }
.wire-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--wire-line); }
.wire-col { background: var(--wire-bg); padding: var(--s4); min-height: 120px; }
.wire-col h2 { margin: 0 0 var(--s3); font-family: inherit; font-size: var(--fs-sm);
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wire-amber); }
.wire-col h2::before { content: none; }
.wire-col ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.wire-item a { color: var(--wire-text); text-decoration: none; font-size: var(--fs-sm); line-height: 1.4; }
.wire-item a:hover { color: var(--wire-bright); text-decoration: underline; }
.wire-item-meta { display: block; margin-top: 2px; color: var(--wire-dim); font-size: var(--fs-xs); }
.wire-empty { color: var(--wire-dim); font-size: var(--fs-sm); grid-column: 1 / -1; }
.wire-sources { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); padding: var(--s3) var(--s4);
  border-top: 1px solid var(--wire-line); background: var(--wire-panel); font-size: var(--fs-xs); color: var(--wire-dim); }
.wire-src-ok::before { content: "●"; color: var(--wire-bright); margin-right: 4px; }
.wire-src-down::before { content: "●"; color: #ff5a5a; margin-right: 4px; }
.wire-src-head { flex: 0 0 100%; margin-top: var(--s2); color: var(--wire-amber);
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.wire-src-head:first-child { margin-top: 0; }
.wire-item-plain { color: var(--wire-text); font-size: var(--fs-sm); line-height: 1.4; }
.pod-shell { margin-top: var(--s4); }
.pod-body { padding: var(--s4); }
.pod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.pod-item { display: grid; gap: var(--s2); padding-bottom: var(--s4);
  border-bottom: 1px solid var(--wire-line); }
.pod-item:last-child { border-bottom: 0; padding-bottom: 0; }
.pod-title { color: var(--wire-text); text-decoration: none; font-size: var(--fs-sm);
  line-height: 1.4; font-weight: 700; }
a.pod-title:hover { color: var(--wire-bright); text-decoration: underline; }
.pod-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.pod-play, .pod-dl { min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 var(--s4); border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); color: var(--wire-bright); font-size: var(--fs-sm);
  font-family: inherit; text-decoration: none; cursor: pointer; }
.pod-play:hover, .pod-dl:hover { border-color: var(--wire-bright); }
.pod-play:focus-visible, .pod-dl:focus-visible { outline: 2px solid var(--wire-amber);
  outline-offset: 2px; }
.pod-dl { color: var(--wire-dim); }
.pod-size { color: var(--wire-dim); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.pod-audio audio { width: 100%; margin-top: var(--s2); }
.pod-lost { display: inline-flex; align-items: center; min-height: 44px;
  color: var(--wire-dim); font-size: var(--fs-xs); font-style: italic; }
.pod-show-open { display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 2px; padding: var(--s2) var(--s3); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); color: var(--wire-dim);
  font-family: inherit; font-size: var(--fs-xs); text-align: left; cursor: pointer; }
.pod-show-open:hover { border-color: var(--wire-bright); color: var(--wire-text); }
.pod-show-open:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.pod-show-count { color: var(--wire-amber); font-variant-numeric: tabular-nums; }
.pod-show-name { color: inherit; }
.pod-arc { display: grid; gap: var(--s3); padding: var(--s4);
  border-top: 1px solid var(--wire-line); background: var(--wire-bg); }
.pod-arc[hidden] { display: none; }
.pod-arc-head { display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: var(--s3); }
.pod-arc-title { margin: 0; font-family: var(--wr-poster); font-size: var(--fs-lg);
  letter-spacing: 0.02em; color: var(--wire-bright); }
.pod-arc-title::before { content: none; }
.pod-arc-close { min-height: 44px; padding: 0 var(--s4); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); color: var(--wire-dim);
  font-family: inherit; font-size: var(--fs-sm); cursor: pointer; }
.pod-arc-close:hover { border-color: var(--wire-bright); color: var(--wire-text); }
.pod-arc-close:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.pod-arc-stats { margin: 0; color: var(--wire-dim); font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums; }
.pod-arc-tools { display: flex; flex-wrap: wrap; gap: var(--s3); }
.pod-arc-search { flex: 1 1 220px; min-height: 44px; padding: 0 var(--s3);
  border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); color: var(--wire-text); font-family: var(--wr-data);
  font-size: var(--fs-sm); }
.pod-arc-search:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.pod-arc-years { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pod-arc-chip { min-height: 32px; padding: 0 var(--s3); border: 1px solid var(--wire-line);
  border-radius: 999px; background: transparent; color: var(--wire-dim);
  font-family: var(--wr-data); font-size: var(--fs-xs); font-variant-numeric: tabular-nums;
  cursor: pointer; }
.pod-arc-chip:hover { border-color: var(--wire-bright); color: var(--wire-text); }
.pod-arc-chip:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.pod-arc-chip[aria-pressed="true"] { border-color: var(--wr-plate);
  background: var(--wr-plate); color: var(--wr-strap); font-weight: 700; }
.pod-arc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.pod-arc-year { color: var(--wire-amber); font-weight: 700; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--wire-line); padding-bottom: 2px;
  font-variant-numeric: tabular-nums; }
.pod-arc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.pod-arc-more { justify-content: center; width: 100%; max-width: 360px; }
.gm-select optgroup { background: var(--wire-panel); color: var(--wire-amber);
  font-family: var(--wr-data); font-weight: 700; letter-spacing: 0.06em; }
.gm-select option { background: var(--wire-bg); color: var(--wire-text);
  font-weight: 400; letter-spacing: 0; }
.gm-fiction { border: 1px solid var(--wire-line); border-left: 3px solid var(--wire-amber);
  border-radius: var(--r-sm); padding: var(--s4); margin: var(--s4) 0;
  background: var(--wire-panel); color: var(--wire-text); font-size: var(--fs-sm);
  line-height: 1.5; }
.gm-shell { --wire-bg: #0a0807; --wire-panel: #151110; --wire-line: #2a211c;
  --wire-text: #ede4d0; --wire-dim: #978c79; --wire-bright: #f2c94c; --wire-amber: #e0a33e;
  color: var(--wire-text); font-family: var(--wr-data);
  background:
    linear-gradient(90deg, var(--wr-rope) 0%, var(--wr-plate) 54%, var(--wr-plate-deep) 100%) top left / 100% 3px no-repeat,
    radial-gradient(900px 380px at 16% -12%, rgba(211, 40, 58, 0.22) 0%, rgba(211, 40, 58, 0) 62%),
    radial-gradient(860px 360px at 86% -8%, rgba(242, 201, 76, 0.16) 0%, rgba(242, 201, 76, 0) 60%),
    radial-gradient(1100px 560px at 50% 112%, rgba(184, 134, 31, 0.13) 0%, rgba(184, 134, 31, 0) 66%),
    var(--wire-bg);
  border: 1px solid var(--wire-line); border-radius: var(--r-md);
  overflow: hidden; margin: var(--s4) 0; }
.gm-shell[data-palette="steel"] { --wr-plate: #d7dee3; --wr-plate-deep: #8b99a3; --wr-rope: #2f6fb0; }
.gm-shell[data-palette="bronze"] { --wr-plate: #d99a58; --wr-plate-deep: #9c6a34; --wr-rope: #d3283a; }
.gm-shell[data-palette="gunmetal"] { --wr-plate: #aab4bd; --wr-plate-deep: #5f6a73; --wr-rope: #7a2ea3; }
.gm-shell[data-palette="emerald"] { --wr-plate: #bfe3a0; --wr-plate-deep: #6f9c4f; --wr-rope: #1f8a4c; }
.gm-shell .wire-topbar { background: rgba(10, 8, 7, 0.62); }
.gm-shell .wire-brand { font-family: var(--wr-poster); font-weight: 400; font-size: var(--fs-lg);
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--wr-canvas);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.gm-shell .wire-clock { font-weight: 700; letter-spacing: 0.18em; color: var(--wire-bright); }
.gm-shell .wire-sources { background: rgba(10, 8, 7, 0.62); }
.gm-body { padding: var(--s4) var(--s5); display: grid; gap: var(--s6);
  flex: 1 1 auto; min-width: 0; }
.gm-h { margin: 0 0 var(--s3); font-family: var(--wr-poster); font-weight: 400;
  font-size: var(--fs-xl); line-height: 1; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--wr-canvas); padding-bottom: var(--s2);
  border-bottom: 2px solid var(--wr-plate-deep); }
.gm-h:focus { outline: none; }
.prose .gm-seg, .prose .gm-title-row, .prose .gm-why-row { max-width: none; }
.gm-card { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s2);
  counter-reset: gm-pos; }
.gm-seg { counter-increment: gm-pos; position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4) var(--s3) 46px; border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: rgba(21, 17, 16, 0.78); font-size: var(--fs-sm); }
.gm-seg::before { content: counter(gm-pos); position: absolute; left: 14px; top: var(--s3);
  font-family: var(--wr-poster); font-weight: 400; font-size: var(--fs-xl); line-height: 1.1;
  color: var(--wire-dim); font-variant-numeric: tabular-nums; }
.gm-seg-main { border-color: rgba(242, 201, 76, 0.42);
  background: linear-gradient(105deg, rgba(211, 40, 58, 0.16) 0%, rgba(242, 201, 76, 0.07) 56%, rgba(21, 17, 16, 0.78) 100%); }
.gm-seg-main::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--wr-rope), var(--wr-plate)); }
.gm-seg-main::before { color: var(--wr-plate); }
.gm-seg-main .gm-seg-people { font-family: var(--wr-poster); font-weight: 400;
  font-size: var(--fs-lg); text-transform: uppercase; letter-spacing: 0.01em;
  color: var(--wr-canvas); }
.gm-seg-kind { color: var(--wire-amber); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: var(--fs-xs); min-width: 88px; }
.gm-seg-people { flex: 1 1 200px; color: var(--wire-text); }
.gm-seg-mins { color: var(--wire-dim); font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums; }
.gm-seg-call { color: var(--wire-text); font-size: var(--fs-xs);
  border: 1px solid var(--wire-line); border-radius: var(--r-sm); padding: 1px var(--s2); }
.gm-seg-purpose { color: var(--wire-amber); font-size: var(--fs-xs);
  border: 1px solid var(--wr-plate-deep); border-radius: var(--r-sm); padding: 1px var(--s2); }
.gm-seg-align { color: var(--wire-dim); font-size: var(--fs-xs); }
.gm-mins-field { display: inline-flex; align-items: center; gap: var(--s2);
  color: var(--wire-dim); font-size: var(--fs-xs); }
.gm-mins-label { text-transform: uppercase; letter-spacing: 0.08em; }
.gm-mins-input { width: 72px; min-height: 44px; padding: 0 var(--s2);
  border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); color: var(--wire-text);
  font-family: var(--wr-data); font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums; }
.gm-mins-input:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-pacing { margin-top: var(--s3); padding: var(--s3);
  border: 1px solid var(--wire-line); border-left: 3px solid var(--wr-rope);
  border-radius: var(--r-sm); background: var(--wire-panel); }
.gm-pacing-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3); }
.gm-pacing-name { color: var(--wire-dim); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.08em; }
.gm-pacing-val { font-family: var(--wr-poster); font-size: var(--fs-lg);
  color: var(--wire-bright); font-variant-numeric: tabular-nums; }
.gm-pacing-list { list-style: none; margin: var(--s2) 0 0; padding: 0;
  display: grid; gap: var(--s2); }
.gm-pacing-fault { display: flex; gap: var(--s3); align-items: baseline; }
.gm-pacing-cost { flex: 0 0 auto; min-width: 28px; color: var(--wire-amber);
  font-family: var(--wr-poster); font-variant-numeric: tabular-nums; }
.gm-pacing-note { color: var(--wire-text); font-size: var(--fs-xs); line-height: 1.45; }
.prose .gm-pacing-fault, .prose .gm-pacing-note { max-width: none; }
.gm-seg-result { align-items: flex-start; row-gap: 0; }
.gm-add { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.gm-add-caption { flex-basis: 100%; color: var(--wire-dim); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: var(--s2); }
.gm-add-caption:first-child { margin-top: 0; }
.gm-customize { border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  padding: var(--s3) var(--s4); background: rgba(21, 17, 16, 0.5); }
.gm-customize > summary { cursor: pointer; font-weight: 700; font-size: var(--fs-sm);
  color: var(--wire-bright); list-style: none; min-height: 44px; display: flex; align-items: center; }
.gm-customize > summary::-webkit-details-marker { display: none; }
.gm-customize > summary::before { content: "▸"; display: inline-block; margin-right: var(--s2);
  transition: transform 0.15s ease; }
.gm-customize[open] > summary::before { transform: rotate(90deg); }
.gm-customize > summary:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-customize > .gm-add { margin-top: var(--s3); }
.gm-add .pod-play { border-color: var(--wr-plate-deep); color: var(--wire-bright); }
.gm-add .gm-add-primary { color: var(--wr-strap); background: linear-gradient(95deg, var(--wr-plate) 0%, var(--wr-plate-deep) 100%);
  border-color: var(--wr-plate-deep); font-weight: 700; }
.gm-autobook.gm-autobook-secondary { color: var(--wire-dim); background: var(--wire-panel); border-color: var(--wire-line); }
.gm-select { min-height: 44px; padding: 0 var(--s3); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); color: var(--wire-text);
  font-family: inherit; font-size: var(--fs-sm); }
.gm-select:disabled { opacity: 0.4; }
.gm-drop, .gm-run { min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 var(--s4); border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); color: var(--wire-dim); font-family: inherit;
  font-size: var(--fs-sm); cursor: pointer; }
.gm-run { color: var(--wr-strap); background: linear-gradient(95deg, var(--wr-plate) 0%, var(--wr-plate-deep) 100%);
  border-color: var(--wr-plate-deep); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; }
.gm-run:disabled { color: var(--wire-dim); background: var(--wire-panel);
  border-color: var(--wire-line); cursor: default; }
.gm-drop:focus-visible, .gm-run:focus-visible, .gm-select:focus-visible {
  outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-quickfill { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
  justify-content: center; padding: 0 var(--s3); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); color: var(--wire-dim);
  font-size: var(--fs-md); cursor: pointer; }
.gm-quickfill-best { color: var(--wr-strap); background: linear-gradient(95deg, var(--wr-plate) 0%, var(--wr-plate-deep) 100%);
  border-color: var(--wr-plate-deep); }
.gm-quickfill:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-autobook { width: auto; padding: 0 var(--s4); font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 0.02em; margin-bottom: var(--s3); }
.gm-pickers { display: flex; flex-wrap: wrap; gap: var(--s3); }
.gm-picker-add, .gm-picker-remove { min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 var(--s3); border: 1px dashed var(--wire-line); border-radius: var(--r-sm);
  background: transparent; color: var(--wire-dim); font-family: inherit; font-size: var(--fs-xs);
  cursor: pointer; }
.gm-picker-add:focus-visible, .gm-picker-remove:focus-visible {
  outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-stipulations { display: flex; flex-wrap: wrap; gap: var(--s3); }
.gm-stip-check { display: inline-flex; align-items: center; gap: var(--s2);
  color: var(--wire-dim); font-size: var(--fs-xs); }
.gm-seg-stip { color: var(--wr-rope); font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: 0.04em; }
.gm-seg-oneoff { color: var(--wr-rope); font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: 0.04em; font-weight: 700; }
.gm-tag-check { display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; color: var(--wire-text); font-size: var(--fs-sm); font-weight: 700; }
.gm-bank-check { display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; color: var(--wire-text); font-size: var(--fs-sm); font-weight: 700; }
.gm-target-field { display: inline-flex; align-items: center; gap: var(--s2);
  color: var(--wire-dim); font-size: var(--fs-xs); }
.gm-target-label { text-transform: uppercase; letter-spacing: 0.08em; }
.gm-results { border-top: 1px solid var(--wire-line); padding-top: var(--s4); }
.gm-scorecard { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--s3);
  margin: 0 0 var(--s4); }
.gm-grade, .gm-plate { display: flex; flex-direction: column; justify-content: center; gap: 2px;
  margin: 0; padding: var(--s3) var(--s4); border-radius: var(--r-sm); }
.gm-grade { border: 1px solid var(--wr-plate-deep);
  background: linear-gradient(150deg, rgba(242, 201, 76, 0.14) 0%, rgba(10, 8, 7, 0.9) 72%); }
.gm-plate { border: 1px solid var(--wire-line); background: rgba(21, 17, 16, 0.7); }
.gm-grade-num { font-family: var(--wr-poster); font-weight: 400; font-size: 3rem; line-height: 1;
  color: var(--wr-plate); font-variant-numeric: tabular-nums; }
.gm-grade-label, .gm-plate-label { color: var(--wire-dim); font-size: var(--fs-xs);
  letter-spacing: 0.2em; text-transform: uppercase; order: -1; }
.gm-plate-num { font-family: var(--wr-poster); font-weight: 400; font-size: 2rem; line-height: 1;
  color: var(--wire-dim); font-variant-numeric: tabular-nums; }
.gm-form { flex: 1 1 220px; display: flex; flex-direction: column; justify-content: flex-end;
  gap: var(--s2); padding: var(--s3) var(--s4); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: rgba(21, 17, 16, 0.7); }
.gm-form-label { color: var(--wire-dim); font-size: var(--fs-xs); letter-spacing: 0.2em;
  text-transform: uppercase; }
.gm-form-line { position: relative; list-style: none; margin: 0; padding: 0; display: flex;
  align-items: flex-end; gap: 3px; height: 46px; }
.gm-form-line::after { content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(10, 8, 7, 0.62); }
.gm-form-week { flex: 1 1 8px; max-width: 22px; height: 100%; display: flex; align-items: flex-end; }
.gm-form-bar { display: block; width: 100%; min-height: 2px; border-radius: 2px 2px 0 0;
  background: var(--wr-plate-deep); }
.gm-form-week:last-child .gm-form-bar { background: var(--wr-plate); }
.gm-meters { width: 100%; display: grid; gap: var(--s2); margin-top: var(--s2); }
.gm-meter { display: grid; grid-template-columns: minmax(84px, auto) 1fr auto;
  align-items: center; gap: var(--s3); }
.gm-meter-name { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wire-dim); }
.gm-meter-val { font-family: var(--wr-poster); font-weight: 400; font-size: var(--fs-lg);
  line-height: 1; color: var(--wire-bright); font-variant-numeric: tabular-nums;
  min-width: 4ch; text-align: right; }
.gm-bar { height: 8px; border-radius: 4px; background: rgba(237, 228, 208, 0.10); overflow: hidden; }
.gm-bar-fill { display: block; height: 100%; border-radius: 4px; background: var(--wr-plate-deep); }
.gm-bar-exec { background: var(--wr-plate); }
.gm-bar-crowd { background: var(--wr-rope); }
.gm-why { width: 100%; margin-top: var(--s2); padding: var(--s2) 0 0;
  border: 0; border-top: 1px dashed var(--wire-line); border-radius: 0;
  background: none; box-shadow: none; }
.gm-why:hover { border-color: var(--wire-line); }
.gm-why-sum { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; cursor: pointer;
  font-family: var(--wr-data); color: var(--wire-amber); font-size: var(--fs-xs);
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.gm-why-sum:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-why-list { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: var(--s2); }
.gm-why-row { display: grid; grid-template-columns: minmax(96px, auto) auto 1fr auto;
  align-items: center; gap: var(--s3); }
.gm-why-name { font-size: var(--fs-xs); color: var(--wire-text); }
.gm-why-w { font-size: var(--fs-xs); color: var(--wire-dim); font-variant-numeric: tabular-nums; }
.gm-why-val { font-size: var(--fs-sm); font-weight: 700; color: var(--wire-bright);
  font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }
.gm-why-foot { margin: var(--s2) 0 0; color: var(--wire-dim); font-size: var(--fs-xs);
  line-height: 1.5; }
.gm-titles { border-top: 1px solid var(--wire-line); padding-top: var(--s4); }
.gm-title-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.gm-title-row { display: flex; align-items: baseline; gap: var(--s3);
  padding: var(--s2) var(--s3); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); }
.gm-title-name { color: var(--wire-amber); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: 0.08em; text-transform: uppercase; min-width: 150px; }
.gm-title-holder { flex: 1 1 auto; color: var(--wire-text); }
.gm-title-meta { color: var(--wire-dim); font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.gm-builder { display: grid; gap: var(--s3); }
.gm-seg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3);
  width: 100%; }
.gm-seg-title { flex: 1 1 200px; color: var(--wire-text); font-weight: 700; }
.gm-seg-narrative, .gm-show-narrative { margin: var(--s2) 0 0; padding-left: var(--s3);
  border-left: 2px solid var(--wire-amber); color: var(--wire-dim);
  font-size: var(--fs-xs); font-style: italic; line-height: 1.5; }
.gm-show-narrative { margin: 0 0 var(--s4); font-size: var(--fs-sm); }
.gm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4); border-top: 1px solid var(--wire-line); }
.gm-tool { min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 var(--s4); border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); color: var(--wire-dim); font-family: inherit;
  font-size: var(--fs-sm); cursor: pointer; }
.gm-tool:hover { color: var(--wire-text); }
.gm-tool:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-tool-danger { border-color: #ff5a5a; color: #ff5a5a; }
.gm-tool-danger:hover { background: #ff5a5a; color: var(--wire-bg); }
.gm-toolbar-msg { flex: 1 1 100%; min-height: 1.2em; font-size: var(--fs-xs); }
@media (max-width: 480px) {
  .gm-add { flex-direction: column; align-items: stretch; }
  .gm-add > .gm-select, .gm-add > .pod-play { width: 100%; }
  .gm-add > .gm-pickers, .gm-add > .gm-stipulations { width: 100%; }
  .gm-pickers { flex-direction: column; }
  .gm-pickers > .gm-select { width: 100%; }
  .gm-autobook { width: 100%; justify-content: center; }
  .gm-toolbar { align-items: stretch; }
  .gm-toolbar > .gm-tool { flex: 1 1 auto; justify-content: center; }
  .gm-title-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .gm-title-name { min-width: 0; }
  .gm-body { padding: var(--s4) var(--s3); }
  .gm-scorecard > .gm-grade, .gm-scorecard > .gm-plate, .gm-scorecard > .gm-form { flex: 1 1 100%; }
  .gm-grade-num { font-size: 2.4rem; }
  .gm-why-row { grid-template-columns: 1fr auto auto; }
  .gm-why-row > .gm-bar { grid-column: 1 / -1; order: 1; }
  .gm-seg-main .gm-seg-people { font-size: var(--fs-base); }
  .gm-meter { grid-template-columns: minmax(62px, auto) 1fr auto; }
}
.gm-frame { display: flex; gap: var(--s4); align-items: flex-start; }
.gm-rail { display: flex; flex-direction: column; gap: 2px; flex: 0 0 168px;
  border-right: 1px solid var(--wire-line); padding-right: var(--s3); }
.gm-rail-link { display: flex; align-items: center; min-height: 44px; padding: 0 var(--s3);
  border-radius: var(--r-sm); color: var(--wire-dim); font-family: var(--wr-data);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.02em; text-decoration: none;
  border-left: 3px solid transparent; }
.gm-rail-link:hover { color: var(--wire-text); background: rgba(237, 228, 208, 0.05); }
.gm-rail-link:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: -2px; }
.gm-rail-link-active { color: var(--wr-canvas); background: rgba(242, 201, 76, 0.08);
  border-left-color: var(--wr-plate); }
@media (max-width: 720px) {
  .gm-frame { flex-direction: column; align-items: stretch; }
  .gm-rail { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; flex: 0 0 auto;
    position: relative; width: 100%; min-width: 0;
    border-right: 0; border-bottom: 1px solid var(--wire-line); padding: 0 0 var(--s2);
    gap: 0; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .gm-rail-link { flex: 0 0 auto; justify-content: center; border-left: 0;
    border-bottom: 3px solid transparent; white-space: nowrap; padding: 0 var(--s3); }
  .gm-rail-link-active { border-bottom-color: var(--wr-plate); border-left-color: transparent; }
}
.gm-office, .gm-locker, .gm-titles-screen, .gm-records, .gm-feuds, .gm-signings, .gm-career-start, .gm-finance-screen { display: grid; gap: var(--s4); }
.gm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s3); }
.gm-tile { display: flex; flex-direction: column; gap: 2px; padding: var(--s3) var(--s4);
  border: 1px solid var(--wire-line); border-radius: var(--r-sm); background: rgba(21, 17, 16, 0.7);
  text-decoration: none; color: inherit; min-height: 44px; }
a.gm-tile:hover { border-color: var(--wr-plate-deep); }
a.gm-tile:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-tile-label { color: var(--wire-dim); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.gm-tile-value { font-family: var(--wr-poster); font-weight: 400; font-size: var(--fs-xl);
  color: var(--wr-plate); line-height: 1.1; font-variant-numeric: tabular-nums; }
.gm-tile-note { margin: 0; color: var(--wire-text); font-size: var(--fs-xs); line-height: 1.4; }
.gm-scout-why { margin: 0; color: var(--wire-dim); font-size: var(--fs-xs); line-height: 1.4; }
.gm-tile-link { color: var(--wire-amber); font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; }
.gm-locker-controls { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.gm-search { min-height: 44px; padding: 0 var(--s3); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); color: var(--wire-text);
  font-family: inherit; font-size: var(--fs-sm); flex: 1 1 200px; }
.gm-search:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-locker-results { display: grid; gap: var(--s3); }
.gm-locker-count { margin: 0; color: var(--wire-dim); font-size: var(--fs-xs); }
.gm-roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px; }
.gm-roster-card { display: flex; align-items: center; gap: var(--s2); text-align: left;
  min-height: 40px; padding: 4px var(--s2); border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: rgba(21, 17, 16, 0.7);
  overflow: hidden; }
.gm-roster-plate { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; display: flex; align-items: center;
  justify-content: center;
  background: linear-gradient(var(--gm-plate-angle, 150deg), var(--wr-plate) 0%, var(--wr-plate-deep) 100%);
  border: 1px solid var(--wr-strap); }
.gm-roster-plate[data-tier="legend"] { border-color: var(--wr-rope); }
.gm-roster-plate[data-tier="reserve"] { background: var(--wire-panel); border-color: var(--wr-strap); }
.gm-roster-plate[data-tier="reserve"] .gm-roster-initials { color: var(--wire-dim); }
.gm-roster-initials { font-family: var(--wr-poster); font-weight: 400; color: var(--wr-strap);
  font-size: 10px; line-height: 1; }
.gm-roster-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-weight: 700; font-size: var(--fs-xs); color: var(--wire-text); }
.gm-roster-tier { flex: 0 0 auto; color: var(--wire-amber); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.04em; }
.gm-roster-era { flex: 0 0 auto; color: var(--wire-dim); font-size: 10px; font-variant-numeric: tabular-nums; }
.gm-roster-oneoff { flex: 0 0 auto; color: var(--wr-rope); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.04em; font-weight: 700; }
.gm-roster-over { flex: 0 0 auto; min-width: 64px; text-align: right; color: var(--wr-plate);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.gm-roster-align { flex: 0 0 auto; min-height: 22px; display: inline-flex; align-items: center;
  padding: 0 var(--s2); border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); font-family: inherit; font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.04em; font-weight: 700; cursor: pointer; }
.gm-roster-align-heel { color: var(--wr-rope); }
.gm-roster-align-face { color: var(--wire-dim); }
.gm-roster-align:hover { border-color: var(--wr-plate-deep); }
.gm-roster-align:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-balance { margin: var(--s3) 0; }
.gm-balance-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.gm-balance-btn, .gm-balance-undo { white-space: nowrap; }
.gm-balance-mix, .gm-balance-note { margin: var(--s2) 0 0; }
.gm-signings-layout { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: var(--s4); align-items: start; }
@media (max-width: 720px) {
  .gm-signings-layout { grid-template-columns: 1fr; }
}
.gm-market-list { display: grid; gap: var(--s3); }
.gm-market-panel { display: grid; gap: var(--s3); align-content: start; padding: var(--s4);
  border: 1px solid var(--wire-line); border-radius: var(--r-sm); background: rgba(21, 17, 16, 0.7); }
.gm-market-rows { display: grid; gap: 4px; max-height: 480px; overflow-y: auto; }
.gm-market-row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: var(--s3);
  min-height: 44px; padding: var(--s2) var(--s3); border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: rgba(21, 17, 16, 0.7); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gm-market-row:hover { border-color: var(--wr-plate-deep); }
.gm-market-row:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-market-row-active { border-color: var(--wr-plate); background: rgba(242, 201, 76, 0.08); }
.gm-market-name { font-weight: 700; font-size: var(--fs-xs); color: var(--wire-text); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.gm-market-badge { min-width: 24px; color: var(--wr-strap); background: var(--wire-bright); font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; text-align: center; border-radius: var(--r-sm); padding: 1px 4px; }
.gm-market-badge:empty { background: none; padding: 1px 0; min-width: 0; }
.gm-market-range { color: var(--wr-plate); font-variant-numeric: tabular-nums; font-size: var(--fs-xs); white-space: nowrap; }
.gm-market-status { color: var(--wire-dim); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.gm-disposition-badge { display: inline-block; align-self: start; margin: 0; padding: 2px var(--s3);
  border: 1px solid var(--wr-plate-deep); border-radius: var(--r-sm); color: var(--wire-amber);
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.gm-offer-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gm-offer-round { color: var(--wire-text); font-size: var(--fs-xs); padding: var(--s2) var(--s3);
  border: 1px solid var(--wire-line); border-radius: var(--r-sm); background: var(--wire-panel); }
.gm-offer-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s3); }
.gm-offer-label { display: grid; gap: 4px; color: var(--wire-dim); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.06em; }
.gm-offer-label.gm-offer-checkbox { display: flex; align-items: center; gap: var(--s2);
  text-transform: none; letter-spacing: normal; }
.gm-offer-input { min-height: 44px; padding: 0 var(--s3); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); color: var(--wire-text);
  font-family: inherit; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.gm-offer-input:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-receipt { border-top: 2px solid var(--wire-bright); padding-top: var(--s3); margin: var(--s3) 0;
  display: grid; gap: 4px; }
.gm-receipt-head { margin: 0; font-family: var(--wr-poster); font-weight: 400; font-size: var(--fs-sm);
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--wire-bright); }
.gm-receipt-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gm-receipt-line { position: relative; padding-left: var(--s3); color: var(--wire-text); font-size: var(--fs-xs);
  line-height: 1.5; }
.gm-receipt-line::before { content: "•"; position: absolute; left: 0; color: var(--wire-bright); }
.gm-receipt-link { display: inline; padding: 0; border: none; background: none; color: inherit;
  font: inherit; text-align: left; text-decoration: underline; text-decoration-color: var(--wire-amber);
  cursor: pointer; }
.gm-receipt-link:hover, .gm-receipt-link:focus-visible { color: var(--wire-bright); }
.gm-receipt-link:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-glossary-overlay { position: fixed; inset: 0; background: rgba(5, 4, 3, 0.72); z-index: 30;
  display: flex; align-items: center; justify-content: center; padding: var(--s4); }
.gm-glossary { width: min(480px, 100%); max-height: 80vh; overflow-y: auto; background: var(--wire-bg);
  border: 1px solid var(--wire-line); border-top: 3px solid var(--wire-bright); border-radius: var(--r-md);
  padding: var(--s4) var(--s5); color: var(--wire-text); }
.gm-glossary-close { min-height: 44px; min-width: 44px; float: right; border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); color: var(--wire-text); font: inherit;
  cursor: pointer; padding: 0 var(--s3); }
.gm-glossary-close:hover, .gm-glossary-close:focus-visible { border-color: var(--wire-bright); }
.gm-glossary-body { color: var(--wire-text); font-size: var(--fs-sm); line-height: 1.6; }
.gm-glossary-list { list-style: none; margin: var(--s4) 0 0; padding: var(--s3) 0 0; border-top: 1px solid var(--wire-line);
  display: flex; flex-wrap: wrap; gap: var(--s2); }
.gm-glossary-item { margin: 0; padding: 0; }
.gm-glossary-link { min-height: 44px; padding: 0 var(--s3); border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); color: var(--wire-dim); font: inherit; font-size: var(--fs-xs); cursor: pointer; }
.gm-glossary-link:hover, .gm-glossary-link:focus-visible { color: var(--wire-text); border-color: var(--wr-plate-deep); }
.gm-glossary-link-active { color: var(--wr-plate); border-color: var(--wr-plate); }
.gm-start-section { display: grid; gap: var(--s2); }
.gm-start-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s3); }
.gm-start-card { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: var(--s3) var(--s4);
  border: 1px solid var(--wire-line); border-radius: var(--r-sm); background: rgba(21, 17, 16, 0.7);
  color: inherit; font: inherit; cursor: pointer; min-height: 44px; }
.gm-start-card:hover { border-color: var(--wr-plate-deep); }
.gm-start-card:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-start-card-active { border-color: var(--wr-plate); background: rgba(242, 201, 76, 0.08); }
.gm-start-card-name { font-family: var(--wr-poster); font-weight: 400; font-size: var(--fs-lg); color: var(--wr-plate); }
.gm-start-card-note { color: var(--wire-dim); font-size: var(--fs-xs); line-height: 1.4; }
.gm-palette-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.gm-palette-swatch { display: block; width: 100%; height: 28px; border-radius: var(--r-sm);
  margin-bottom: 2px; border: 1px solid var(--wire-line); }
.gm-finance-panel { display: grid; gap: var(--s3); padding: var(--s4); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: rgba(21, 17, 16, 0.7); }
.gm-finance-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gm-finance-row { display: flex; justify-content: space-between; gap: var(--s3); font-size: var(--fs-sm); }
.gm-finance-label { color: var(--wire-text); }
.gm-finance-plus { color: var(--wire-bright); font-variant-numeric: tabular-nums; font-weight: 700; }
.gm-finance-minus { color: var(--wire-dim); font-variant-numeric: tabular-nums; font-weight: 700; }
.gm-finance-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.prose .gm-finance-history-row { max-width: none; }
.gm-finance-history-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: baseline;
  gap: var(--s3); font-size: var(--fs-sm); padding: 4px 0; }
.gm-finance-history-week { color: var(--wire-dim); font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: 0.06em; white-space: nowrap; }
.gm-finance-history-venue { color: var(--wire-text); }
.gm-finance-history-bank { color: var(--wire-dim); font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.gm-feud-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.prose .gm-feud-row { max-width: none; }
.gm-feud-row { display: grid; grid-template-columns: minmax(160px, auto) 1fr auto; align-items: center;
  gap: var(--s3); padding: var(--s2) var(--s3); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); }
.gm-feud-pair { color: var(--wire-text); font-weight: 700; font-size: var(--fs-sm); }
.gm-feud-meta { color: var(--wire-dim); font-size: var(--fs-xs); white-space: nowrap;
  font-variant-numeric: tabular-nums; min-width: 0; }
.gm-ledger-row { grid-template-columns: minmax(140px, auto) 1fr; }
.gm-ledger-row .gm-feud-meta { white-space: normal; }
.gm-sparks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.gm-spark { padding: var(--s2) var(--s3); border-left: 2px solid var(--wr-rope);
  background: var(--wire-panel); color: var(--wire-text); font-size: var(--fs-sm); }
.gm-belt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s4); }
.gm-belt { display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; }
.gm-belt-plate { width: 100%; padding: var(--s5) var(--s3); border-radius: var(--r-md);
  background: linear-gradient(160deg, var(--wr-plate) 0%, var(--wr-plate-deep) 78%);
  border: 2px solid var(--wr-strap);
  box-shadow: inset 0 0 0 3px rgba(12, 10, 9, 0.35), 0 6px 18px rgba(0, 0, 0, 0.35); }
.gm-belt-vacant { background: linear-gradient(160deg, #3a352c 0%, #201c17 78%); opacity: 0.85; }
.gm-belt-name { display: block; font-family: var(--wr-poster); font-weight: 400; font-size: var(--fs-lg);
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--wr-strap);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); }
.gm-belt-vacant .gm-belt-name { color: var(--wire-dim); text-shadow: none; }
.gm-belt-holder { font-family: var(--wr-data); font-weight: 700; font-size: var(--fs-base); color: var(--wire-text); }
.gm-belt-meta { color: var(--wire-dim); font-size: var(--fs-xs); }
.gm-belt-prestige { color: var(--wr-plate); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; }
.gm-banked-chip { display: inline-block; padding: 2px var(--s3); border: 1px solid var(--wire-amber);
  border-radius: 999px; color: var(--wire-amber); font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: 0.04em; }
.gm-debut-pool { display: grid; gap: var(--s2); margin-top: var(--s3); }
.gm-debut-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3); border: 1px solid var(--wire-line); border-radius: var(--r-sm); background: var(--wire-panel); }
.gm-debut-name { font-family: var(--wr-poster); font-weight: 400; font-size: var(--fs-base); color: var(--wire-text); }
.gm-records-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s3); }
.gm-record-card { display: flex; flex-direction: column; gap: 2px; padding: var(--s3) var(--s4);
  border: 1px solid var(--wire-line); border-radius: var(--r-sm); background: rgba(21, 17, 16, 0.7); }
.gm-record-label { color: var(--wire-dim); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.gm-record-value { font-family: var(--wr-poster); font-weight: 400; font-size: var(--fs-lg);
  color: var(--wr-plate); font-variant-numeric: tabular-nums; }
.gm-record-note { margin: 0; color: var(--wire-text); font-size: var(--fs-xs); line-height: 1.4; }
.wr-flags { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: var(--s5) 0; }
.wr-flag { display: grid; gap: var(--s2); align-content: start;
  background: var(--surface-1); border: 1px solid var(--hair); border-radius: var(--r-lg);
  padding: var(--s4); box-shadow: var(--e1); color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s; }
.prose a.wr-flag, .prose a.wr-flag:hover { text-decoration: none; }
.wr-flag:hover, .wr-flag:focus-visible {
  border-color: var(--hair-strong); transform: translateY(-2px); box-shadow: var(--e2); }
.wr-flag-ranking { border-top: 4px solid var(--wr-plate); }
.wr-flag-game { border-top: 4px solid var(--frost-300); }
.wr-flag-kicker { font-family: var(--wr-data); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: var(--fs-xs); color: var(--text-dim); }
.wr-flag-name { font-family: var(--wr-poster); font-size: var(--fs-xl); line-height: 1.05;
  text-transform: uppercase; color: var(--text-strong); }
.wr-flag-line { margin: 0; color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.6; }
.wr-flag-go { font-family: var(--wr-data); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: 0.06em; }
.wr-flag-ranking .wr-flag-go { color: var(--wr-plate); }
.wr-flag-game .wr-flag-go { color: var(--frost-300); }
@media (max-width: 620px) { .wr-flags { grid-template-columns: 1fr; } }

/* from the game's gm page */

/* position: relative so .gm-loading (an absolute overlay, appended further
   down this same block) anchors to the shell itself rather than the
   viewport. Declared here, not on the sector-wide .gm-shell rule in the big
   <style> above — that block loads AFTER this one (extraHead is emitted
   before the site stylesheet's own link tag — see renderPage), so a
   property this rule sets and the sector-wide rule never re-declares
   survives the cascade untouched, the same way --gm-guest/--gm-bad already
   do one line down. NOT WRITTEN AS THE LITERAL TAG ON PURPOSE:
   linkIntegrity.test.ts scans this file's whole raw text for an href or src
   attribute, not parsed HTML, so a comment that spells one out in full reads
   as a real, unresolvable link to it — this comment included, hence the
   paraphrase instead of the tag itself. */
.gm-shell { --gm-guest: #c4a8ff; --gm-bad: #ff7a85; position: relative; }
.gm-fee { display: inline-flex; align-items: center; min-height: 24px; padding: 0 var(--s2);
  border: 1px solid var(--gm-guest); border-radius: var(--r-sm); color: var(--gm-guest);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.gm-bill { margin: var(--s3) 0 0; padding: var(--s2) var(--s3); border-left: 3px solid var(--gm-guest);
  color: var(--wire-text); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.gm-refusals { margin: var(--s3) 0; padding: var(--s2) var(--s3) var(--s2) var(--s5); border-left: 3px solid var(--wr-rope);
  color: var(--gm-bad); font-size: var(--fs-sm); }
.gm-refusal { margin: var(--s1) 0; }
.gm-refusal-link { color: var(--gm-bad); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.gm-run-why { margin: 0; color: var(--gm-bad); }
.gm-accept-why, .gm-offer-why { margin: 0; color: var(--gm-bad); line-height: 1.4; }
.gm-roster-plate[data-signed="true"] { outline: 2px solid var(--wr-plate); outline-offset: 2px; }
.gm-roster-plate[data-signed="false"] { outline: 2px dashed var(--gm-guest); outline-offset: 2px; }
.gm-roster-key { margin: 0; color: var(--wire-dim); font-size: var(--fs-xs); }
.gm-offer-breakeven { margin: 0; padding: var(--s2) var(--s3); border-left: 3px solid var(--wr-plate);
  color: var(--wire-text); font-size: var(--fs-sm); }
.gm-offer-counter { margin: 0; color: var(--wire-amber); font-size: var(--fs-sm); font-weight: 700; }
.gm-draft-meter { display: grid; gap: var(--s2); margin: var(--s3) 0; }
.gm-draft-bar { position: relative; height: 10px; border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); overflow: hidden; }
.gm-draft-fill { position: absolute; inset: 0 auto 0 0; width: var(--gm-draft-pct, 0%); background: var(--wr-plate); }
.gm-draft-fill-over { background: var(--wr-rope); }
.gm-draft-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s3) 0; }
.gm-draft-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s2);
  margin: var(--s3) 0; }
.gm-draft-row { display: grid; gap: 2px; min-height: 44px; padding: var(--s2) var(--s3); text-align: left;
  border: 1px solid var(--wire-line); border-radius: var(--r-sm); background: var(--wire-panel);
  color: var(--wire-text); font-family: inherit; cursor: pointer; }
.gm-draft-row:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-draft-row-picked { border-color: var(--wr-plate); box-shadow: inset 3px 0 0 var(--wr-plate); }
.gm-draft-name { font-weight: 700; font-size: var(--fs-sm); }
.gm-draft-meta { color: var(--wire-dim); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }

/* ── AAA12-F5: BOOKING PICKER FILTER CHIPS ─────────────────────────
   Ephemeral UI, zero save bytes. A pill matches .gm-roster-align's own idea
   of a tappable toggle rather than inventing a second control language for
   the same gesture — round, uppercase Barlow Condensed, a 1px accent-tinted
   border, exactly the "chip" the AAA plan's design language names. */
.gm-chip-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin: 0 0 var(--s3); }
.gm-chip-group { display: flex; flex-wrap: wrap; gap: 4px; }
.gm-chip { min-height: 28px; display: inline-flex; align-items: center; padding: 0 var(--s3);
  border: 1px solid var(--wire-line); border-radius: 999px; background: var(--wire-panel);
  color: var(--wire-dim); font-family: var(--wr-data); font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; }
.gm-chip:hover { border-color: var(--wr-plate-deep); }
.gm-chip:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.gm-chip-active { border-color: var(--wr-plate); color: var(--wr-plate); background: rgba(242, 201, 76, 0.12); }
.gm-chip-clear { color: var(--gm-bad); border-color: var(--gm-bad); }

/* ── AAA12-F18: DRAFT & SIGNINGS SORT BAR ──────────────────────────
   Reuses .gm-chip wholesale — one pill idiom on the desk, not two for two
   features shipped the same week. */
.gm-sort-bar { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 var(--s3); }

/* THE LOADING SCREEN. Static markup (see gmPage's own body template), shown
   the instant the page's HTML paints — well before gm.js has even started
   downloading, let alone run. z-index 2 is enough to sit over .wire-topbar
   and .gm-frame, both painted with no z-index of their own (auto stacks at
   0). Removed from the DOM outright once the real script's onload fires
   (see progressLoaderScript) — never merely hidden, so nothing can flash it
   back on a later re-render. A visitor with JavaScript off never sees it
   rendered meaningfully long: the <noscript> fallback beneath gm-body is the
   permanent state for that visitor, and this overlay simply never gets
   removed for them, which reads correctly as "still loading" rather than
   wrongly as "broken." */
.gm-loading { position: absolute; inset: 0; z-index: 2; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s3); background: var(--wire-bg); text-align: center; padding: var(--s4); }
.gm-loading-spinner { width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--wire-line); border-top-color: var(--wire-bright);
  animation: gm-spin 0.8s linear infinite; }
@keyframes gm-spin { to { transform: rotate(360deg); } }
.gm-loading-text { margin: 0; color: var(--wire-dim); font-size: var(--fs-sm); }
/* Hidden by default (see the markup) — the bootstrap script only reveals it
   once a real Content-Length header gives it something honest to show;
   an indeterminate spinner beats a progress bar frozen at a fake number. */
.gm-loading-bar { width: min(220px, 60vw); height: 6px; border-radius: 3px;
  background: var(--wire-line); overflow: hidden; }
.gm-loading-fill { height: 100%; width: 0%; background: var(--wire-bright);
  transition: width 0.2s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .gm-loading-spinner { animation: none; border-top-color: var(--wire-line); }
  .gm-loading-fill { transition: none; }
}

/* from the game's wire page */

/* ── THE WIRE AS A FOUR-TAB APP (News · Podcasts · Archive · Sources) ─────────
   4 Oct 2026, owner: "Make the user interface more friendly." The terminal
   palette above is untouched and is still the whole of the page's colour — it
   is deliberately single-theme (see the block at the top of the wire's CSS), and
   every rule here consumes ONLY the --wire-* tokens, so a future theme pass is
   a token swap and not a rewrite. What changed is the SHAPE: four tabs instead
   of one long scroll, headlines set in the system's readable sans (the
   monospace stays on chrome and timestamps, where alignment is the point),
   44px targets everywhere, a visible focus ring on everything pressable, and a
   fixed player that travels with the reader.

   Nothing here may scroll sideways at 390px: every grid is minmax(0, ...) and
   every string that comes from a stranger breaks anywhere rather than
   stretching its column. */
.wire-app { --wire-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.wire-app .wire-tabs { display: flex; border-bottom: 1px solid var(--wire-line); background: var(--wire-panel); }
.wire-app .wire-tab { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 0 var(--s2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--wire-dim);
  font-family: inherit; font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.04em; cursor: pointer; }
.wire-app .wire-tab:hover { color: var(--wire-text); }
.wire-app .wire-tab[aria-selected="true"] { color: var(--wire-bright); border-bottom-color: var(--wire-amber); background: var(--wire-bg); }
.wire-app .wire-tab:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: -4px; }
.wire-app .wire-tab-n { min-height: 1em; color: var(--wire-dim); font-size: var(--fs-xs); font-weight: 400;
  font-variant-numeric: tabular-nums; }
.wire-app .wire-tab[aria-selected="true"] .wire-tab-n { color: var(--wire-text); }
@media (min-width: 560px) {
  .wire-app .wire-tab { flex-direction: row; gap: var(--s2); }
}
.wire-app .wire-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s2) var(--s3); padding: var(--s2) var(--s4); border-bottom: 1px solid var(--wire-line);
  color: var(--wire-dim); font-size: var(--fs-xs); }
.wire-app .wire-live { flex: 1 1 200px; min-width: 0; }
.wire-app .wire-bar-btns { display: flex; gap: var(--s2); }
.wire-app .wire-btn { min-height: 44px; padding: 0 var(--s4); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-panel); color: var(--wire-text);
  font-family: inherit; font-size: var(--fs-sm); cursor: pointer; }
.wire-app .wire-btn:hover { border-color: var(--wire-bright); }
.wire-app .wire-btn:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.wire-app .wire-btn[aria-pressed="true"] { border-color: var(--wire-amber); color: var(--wire-amber); }
.wire-app .wire-ticker:hover .wire-ticker-track, .wire-app .wire-ticker:focus-within .wire-ticker-track, .wire-app .wire-ticker.is-paused .wire-ticker-track { animation-play-state: paused; }
.wire-app .wire-panel { padding: var(--s4); min-width: 0; }
.wire-app .wire-panel[hidden] { display: none; }
.wire-app .wire-rule { margin: 0 0 var(--s4); padding: var(--s2) var(--s3); border-left: 3px solid var(--wire-bright);
  background: var(--wire-panel); color: var(--wire-text); font-family: var(--wire-sans); font-size: var(--fs-sm);
  line-height: 1.5; }
.wire-app .wire-since { margin: 0 0 var(--s3); padding: var(--s2) var(--s3); border-left: 3px solid var(--wire-amber);
  background: var(--wire-panel); color: var(--wire-text); font-family: var(--wire-sans); font-size: var(--fs-sm); }
.wire-app .wire-since[hidden] { display: none; }
.wire-app .wire-tools { display: grid; gap: var(--s3); margin-bottom: var(--s3); }
.wire-app .wire-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.wire-app .wire-chip { min-height: 40px; padding: 0 var(--s3); display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--wire-line); border-radius: 999px; background: transparent; color: var(--wire-text);
  font-family: inherit; font-size: var(--fs-sm); cursor: pointer; }
.wire-app .wire-chip-n { color: var(--wire-dim); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.wire-app .wire-chip:hover:not(:disabled) { border-color: var(--wire-bright); }
.wire-app .wire-chip:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.wire-app .wire-chip:disabled { opacity: 0.45; cursor: default; }
.wire-app .wire-chip[aria-pressed="true"] { border-color: var(--wire-bright); background: var(--wire-bright);
  color: var(--wire-bg); font-weight: 700; }
.wire-app .wire-chip[aria-pressed="true"] .wire-chip-n { color: var(--wire-bg); }
.wire-app .wire-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
@media (min-width: 640px) { .wire-app .wire-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.wire-app .wire-field { display: grid; gap: 4px; min-width: 0; color: var(--wire-dim); font-size: var(--fs-xs); }
.wire-app .wire-field select, .wire-app .wire-field input { box-sizing: border-box; width: 100%; min-height: 44px;
  padding: 0 var(--s3); border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); color: var(--wire-text); font-family: var(--wire-sans);
  font-size: max(16px, var(--fs-sm)); }
.wire-app .wire-field select:focus-visible, .wire-app .wire-field input:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.wire-app .wire-count { margin: 0 0 var(--s3); color: var(--wire-dim); font-size: var(--fs-xs); min-height: 1em; }
/* The old column grid is retired: it answered "what kind of story" where a
   news page is asked "what happened since I looked". Restated as block so the
   earlier auto-fit rule cannot reapply if somebody reorders the sheet. */
.wire-app .wire-cols { display: block; background: none; }
.wire-app .wire-day { margin: 0 0 var(--s5); }
.wire-app .wire-day-h { margin: 0 0 var(--s2); font-family: inherit; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--wire-amber); }
.wire-app .wire-day-h::before { content: none; }
.wire-app .wire-feed { list-style: none; margin: 0; padding: 0; border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); overflow: hidden; }
.wire-app .wire-feed .wire-item { border-top: 1px solid var(--wire-line); }
.wire-app .wire-feed .wire-item:first-child { border-top: 0; }
.wire-app .wire-feed .wire-head { display: block; padding: var(--s3) var(--s3) 2px; min-height: 28px;
  color: var(--wire-text); font-family: var(--wire-sans); font-size: var(--fs-base); line-height: 1.4;
  overflow-wrap: anywhere; text-decoration: none; }
.wire-app .wire-feed a.wire-head:hover { color: var(--wire-bright); text-decoration: underline; }
.wire-app .wire-feed a.wire-head:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: -2px; }
.wire-app .wire-feed .wire-item-meta { margin: 0; padding: 0 var(--s3) var(--s3); }
.wire-app .wire-src { color: var(--wire-text); }
.wire-app .wire-new { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 999px;
  background: var(--wire-amber); color: #1a1300; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; }
.wire-app .wire-pager { margin-top: var(--s3); }
.wire-app .wire-skel { display: grid; gap: var(--s3); }
.wire-app .wire-skel-row { height: 64px; border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--wire-panel) 25%, var(--wire-line) 50%, var(--wire-panel) 75%);
  background-size: 200% 100%; animation: wire-shimmer 1.4s linear infinite; }
@keyframes wire-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .wire-app .wire-skel-row { animation: none; } }
.wire-app .wire-state { display: grid; gap: var(--s3); justify-items: start; padding: var(--s4) 0; }
.wire-app .wire-state .wire-empty { margin: 0; font-family: var(--wire-sans); font-size: var(--fs-base); line-height: 1.5; }
.wire-app .wire-retry { justify-content: center; }
.wire-app .pod-sec { margin: var(--s5) 0 var(--s3); font-family: inherit; font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--wire-amber); }
.wire-app .pod-sec::before { content: none; }
.wire-app .wire-panel > .pod-sec:first-child { margin-top: 0; }
.wire-app .pod-sec-n { color: var(--wire-dim); font-weight: 400; letter-spacing: 0.04em; text-transform: none; }
.wire-app .pod-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: var(--s3); }
.wire-app .pod-card { display: grid; gap: var(--s2); align-content: start; min-width: 0; padding: var(--s3) var(--s4);
  border: 1px solid var(--wire-line); border-radius: var(--r-md); background: var(--wire-panel); }
.wire-app .pod-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s2); }
.wire-app .pod-card-title { min-width: 0; color: var(--wire-text); font-family: var(--wire-sans); font-size: var(--fs-base);
  font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.wire-app .pod-tag { flex: none; padding: 2px 8px; border: 1px solid var(--wire-line); border-radius: 999px;
  color: var(--wire-amber); font-size: var(--fs-xs); font-style: normal; white-space: nowrap; }
.wire-app .pod-card-when, .wire-app .pod-card-note { margin: 0; color: var(--wire-dim); font-size: var(--fs-xs); }
.wire-app .pod-card-play { width: 100%; justify-content: center; min-height: 52px; border-color: var(--wire-bright);
  background: var(--wire-bright); color: var(--wire-bg); font-size: var(--fs-base); font-weight: 700; }
.wire-app .pod-card-play:hover { border-color: var(--wire-text); }
.wire-app .pod-card .pod-show-open { width: 100%; box-sizing: border-box; min-height: 44px; }
.wire-app .wire-panel > .pod-arc { margin: 0 0 var(--s4); border: 1px solid var(--wire-line); border-radius: var(--r-md); }
.wire-app .wire-more { margin-top: var(--s3); border: 1px solid var(--wire-line); border-radius: var(--r-sm);
  background: var(--wire-panel); }
.wire-app .wire-more[hidden] { display: none; }
.wire-app .wire-more-sum { display: flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3);
  color: var(--wire-text); font-family: var(--wire-sans); font-size: var(--fs-sm); font-weight: 700; cursor: pointer; }
.wire-app .wire-more-sum:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: -2px; }
.wire-app .wire-list { list-style: none; margin: 0; padding: 0 var(--s3) var(--s3); display: grid; gap: var(--s2); }
.wire-app .wire-list-item { color: var(--wire-text); font-family: var(--wire-sans); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.wire-app .wire-note { margin: 0; padding: 0 var(--s3) var(--s3); color: var(--wire-dim); font-family: var(--wire-sans);
  font-size: var(--fs-xs); line-height: 1.5; }
.wire-app .wire-panel > .wire-note { padding: var(--s3) 0 0; }
.wire-app .wire-health { margin: 0 0 var(--s2); color: var(--wire-text); font-family: var(--wire-sans); font-size: var(--fs-lg); }
.wire-app .wire-health-sub { margin: 0 0 var(--s3); color: var(--wire-dim); font-family: var(--wire-sans); font-size: var(--fs-sm); }
/* THE PLAYER. One element for the page, fixed to the bottom so it survives
   scrolling; on a wide screen it floats as a card instead of spanning the
   viewport. body.wire-mini-on reserves the room it covers so the last row of
   any list can still be reached. It lives INSIDE .wire-shell on purpose: the
   --wire-* tokens are scoped to that element, and a player appended to <body>
   would paint with none of them. */
.wire-app .pod-mini { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; gap: var(--s2);
  padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom, 0px));
  background: var(--wire-panel); border-top: 2px solid var(--wire-bright); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45); }
.wire-app .pod-mini[hidden] { display: none; }
@media (min-width: 900px) {
  .wire-app .pod-mini { left: 50%; right: auto; bottom: 12px; width: min(760px, calc(100vw - 32px));
    transform: translateX(-50%); border: 2px solid var(--wire-bright); border-radius: var(--r-md); }
}
.wire-app .pod-mini-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); }
.wire-app .pod-mini-text { display: grid; min-width: 0; }
.wire-app .pod-mini-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--wire-text);
  font-family: var(--wire-sans); font-size: var(--fs-sm); }
.wire-app .pod-mini-show { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--wire-dim);
  font-size: var(--fs-xs); }
.wire-app .pod-mini-audio { width: 100%; }
.wire-app .pod-mini-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.wire-app .pod-mini-btn { min-height: 44px; padding: 0 var(--s3); border: 1px solid var(--wire-line);
  border-radius: var(--r-sm); background: var(--wire-bg); color: var(--wire-text); font-family: inherit;
  font-size: var(--fs-xs); cursor: pointer; }
.wire-app .pod-mini-btn:hover { border-color: var(--wire-bright); }
.wire-app .pod-mini-btn:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.wire-app .pod-mini-speed { min-width: 64px; color: var(--wire-bright); font-weight: 700; }
.wire-app .pod-mini-close { flex: none; }
/* WHERE THE SITE'S PROSE RULES LEAK IN. The first browser pass found four, all
   the same disease: the site stylesheet styles bare p, ol and li (a reading
   measure, list padding, link blue) at a specificity these older single-class
   rules lose to. They are beaten here by specificity rather than by editing
   the sector sheet, for the page-scoping reason at the top of this block. */
.wire-app .wire-panel :is(p, li) { max-width: none; }
.wire-app .pod-list, .wire-app .pod-arc-list, .wire-app .wire-feed, .wire-app .wire-list {
  list-style: none; margin: 0; padding-left: 0; }
.wire-app .wire-list { padding: 0 var(--s3) var(--s3); }
.wire-app .pod-title { color: var(--wire-text); font-family: var(--wire-sans); font-size: var(--fs-base);
  font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; text-decoration: none; }
.wire-app a.pod-title:hover { color: var(--wire-bright); text-decoration: underline; }
.wire-app a.pod-title:focus-visible { outline: 2px solid var(--wire-amber); outline-offset: 2px; }
.wire-app .pod-arc-stats { font-size: var(--fs-xs); line-height: 1.5; }
.wire-app .pod-arc-chip { min-height: 40px; }
.wire-app .pod-arc-year { margin: 0; }
.wire-app a.pod-dl { color: var(--wire-text); text-decoration: none; }
.wire-app a.pod-dl:hover { color: var(--wire-bright); }
body.wire-mini-on { padding-bottom: 210px; }

/* THE TOKEN MAP (plan §2.3): the game's site variables the apps read, defined
 * in this site's tokens. The apps keep their own rules above; only these
 * values change, so a re-skin is an edit here, never inside an app. */
:root {
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s10: 120px;
  --fs-xs: 12.5px; --fs-sm: 14px; --fs-base: 16px; --fs-md: 17px; --fs-lg: clamp(17px, 1rem + .35vw, 20px); --fs-xl: clamp(21px, 1.15rem + .7vw, 27px);
  --fs-2xl: clamp(26px, 1.35rem + 1.3vw, 38px); --fs-3xl: clamp(32px, 1.5rem + 2.4vw, 56px); --fs-4xl: clamp(40px, 1.6rem + 4.6vw, 92px);
  --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --measure: 65ch;
  --text: var(--fg); --text-strong: var(--fg); --text-dim: var(--muted); --ink-900: var(--ink);
  --surface-1: var(--surface); --surface-2: #1D1C20; --surface-3: #26252A; --hair: var(--rule); --hair-strong: var(--line-2);
  --e1: 0 1px 2px rgba(0,0,0,.4); --e2: 0 4px 16px rgba(0,0,0,.4); --lift: none;
  --gold-500: var(--gold); --frost-300: var(--paper); --warn: var(--gold); --ok: #67d89c;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; --fancy: var(--f-serif);
  --wr-poster: var(--f-display); --wr-data: var(--f-label);
  --wr-plate: var(--gold); --wr-plate-deep: var(--gold-deep); --wr-rope: var(--red); --wr-strap: var(--ink); --wr-canvas: var(--paper);
}
.wire-shell, .gm-shell { --wire-bg: var(--ink); --wire-panel: var(--mat); --wire-line: var(--line); --wire-text: var(--paper); --wire-dim: var(--dim); --wire-bright: var(--gold); --wire-amber: var(--gold); }
.wire-shell { font-family: var(--f-body); }

/* ── THE PHONE SHELL FOR THE FOUR APPS (U5, PWG v2 plan §7; C-8) ─────────
 * Hand-written, NOT part of the generated copy above, and it stays LAST so it
 * wins over both the copy and the token map. The apps' JavaScript is frozen
 * until Wave 3 (U15), so every phone fix to their chrome is CSS, here.
 * site.css (30-ios.css) already holds the platform floors with !important:
 * 16px fields, 44px controls and range sliders, no sideways scroll. These are
 * the app-specific parts the e2e run (e2e/run.mjs) checks on /wire, /gm/play,
 * /lab and /compare. */
@media (max-width: 720px) {
  /* The Wire's mini player is a fixed bar: above the tab bar when one is
   * drawn (/wire has one; /gm/play never does), else above the home indicator
   * (its own padding already carries the safe area). */
  body:has(.tabbar) .wire-app .pod-mini { bottom: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--s3); }
  /* Chips and small app buttons written at 32–40px rise to the 44px target. */
  .wire-app .pod-arc-chip, .gm-shell button, .wire-shell button { min-height: var(--hit); }
  /* A long feed or show name must wrap inside the app's panel, not widen it. */
  .wire-app, .gm-shell, .gm-body { min-width: 0; overflow-wrap: anywhere; }
  .gm-shell .wire-brand { max-width: 60vw; }
}
/* The GM glossary overlay covers the screen; its content clears the notch and
 * the home indicator, and its panel is sized to the VISIBLE height (dvh: on
 * iOS 100vh is the height with the toolbars hidden, so 80vh can run under
 * them). The vh line stays first for engines without dvh. */
.gm-glossary-overlay { padding: calc(var(--s4) + var(--safe-t)) var(--s4) calc(var(--s4) + var(--safe-b)); }
.gm-glossary { max-height: 80vh; max-height: 80dvh; }
