:root {
  color-scheme: dark;
  --bg: #121315;
  --surface: #1b1c20;
  --shade: #151619;
  --ink: #f0e9da;
  --mute: #bbb4a6;
  --gold: #e7bd74;
  --line: #635238;
  --rule: #393630;
  --arch: #d3b7f5;
  --green: #b6d5aa;
  --red: #f4ae9f;
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(ellipse at 50% -10%, #292319, transparent 53rem), var(--bg); overflow-wrap: anywhere; }
a { color: var(--gold); text-underline-offset: .22em; }
a:hover { color: #ffe1aa; }
:focus-visible { outline: 2px solid #ffda97; outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-150%); background: var(--shade); z-index: 1; padding: .5rem 1rem; }
.skip:focus { transform: translateY(0); }
.masthead { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 auto; padding: 1.55rem 0 1.1rem; width: min(calc(100% - 2rem), 70rem); }
.masthead.workspace { justify-content: space-between; flex-wrap: wrap; }
.wordmark { text-decoration: none; text-transform: uppercase; letter-spacing: .21em; font-size: .75rem; font-weight: 750; min-height: 44px; display: inline-flex; align-items: center; gap: .45em; }
.wordmark span { color: var(--ink); }
.document { width: min(calc(100% - 2rem), 43rem); margin: 0 auto; }
.shell { width: min(calc(100% - 2rem), 70rem); margin: 0 auto; }
.sitefoot { width: min(calc(100% - 2rem), 70rem); margin: 1rem auto 2rem; }
.sitefoot nav { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 1rem; }
.sitefoot a { color: var(--mute); text-decoration: none; font-size: .87rem; display: inline-flex; min-height: 44px; align-items: center; }
.sitefoot a:hover, .sitefoot [aria-current] { color: var(--gold); }
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(1rem, 3.25vw, 2rem); min-width: 0; }
.public-panel { padding: clamp(1.35rem, 5vw, 2.65rem); }
.panel + .panel, .panel + .split, .split + .panel { margin-top: 1rem; }
h1, h2 { font-family: Georgia, serif; color: var(--gold); font-weight: normal; line-height: 1.13; margin: 0 0 .65rem; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
p { margin: .55rem 0 .85rem; }
.panel > :last-child, .entry > :last-child { margin-bottom: 0; }
.eyebrow { margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--mute); font-size: .72rem; }
.lede { font-size: 1.18rem; line-height: 1.4; }
.entry { border-top: 1px solid var(--rule); margin-top: 1.6rem; padding-top: 1.2rem; }
.roomnav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1rem; padding: .3rem 0; border-block: 1px solid var(--line); }
.roomnav strong { margin-right: auto; }
.roomnav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--mute); text-decoration: none; }
.roomnav a:hover, .roomnav [aria-current] { color: var(--gold); }
.pagehead { margin: 1.5rem 0 1rem; }
.split { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.split > .panel { margin-top: 0; }
.inline { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .85rem; }
.spread { justify-content: space-between; }
.fields { display: grid; gap: .8rem; }
.formgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { font-weight: 650; }
.fields label:not(.check) { display: grid; gap: .3rem; }
small, .muted { color: var(--mute); font-weight: normal; }
input, textarea, select, button, .button { font: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; min-height: 44px; }
input:not([type=checkbox]), textarea, select { padding: .4rem .6rem; background: var(--shade); min-width: 0; max-width: 100%; }
textarea { resize: vertical; }
.check { display: flex; min-height: 44px; align-items: center; gap: .55rem; }
input[type=checkbox] { accent-color: var(--gold); width: 1.15rem; margin: 0; }
button, .button { display: inline-flex; align-items: center; justify-content: center; background: #28251f; padding: .45rem .9rem; cursor: pointer; text-decoration: none; font-weight: 650; }
button:hover, .button:hover { background: #3a3024; color: #fff0d2; }
.primary { background: var(--gold); color: #231a0e; border-color: var(--gold); }
.primary:hover { background: #ffd693; color: #231a0e; }
.quiet { background: transparent; }
button:disabled { cursor: not-allowed; opacity: .55; }
.rows { list-style: none; margin: .5rem 0 .8rem; padding: 0; }
.rows li { padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.rows li:last-child { border-bottom: 0; }
.rows a { display: inline-flex; min-height: 44px; align-items: center; }
progress { width: 100%; height: .45rem; display: block; margin: .35rem 0 .65rem; appearance: none; border: none; background: #39342d; }
progress::-webkit-progress-bar { background: #39342d; }
progress::-webkit-progress-value { background: var(--gold); }
progress::-moz-progress-bar { background: var(--gold); }
.status { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--mute); background: var(--shade); border: 1px solid var(--rule); padding: .1rem .45rem; }
.positive, .success { color: var(--green); }
.notice { margin: .8rem 0; padding: .65rem .8rem; border: 1px solid var(--line); background: var(--shade); }
.error { color: var(--red); }
.tabular, time, dd, td { font-variant-numeric: tabular-nums; }
.action-panel time { color: var(--gold); }
.team-A h2, .status.team-A { color: var(--gold); }
.team-B h2, .status.team-B { color: var(--arch); }
.roster.team-B { border-color: #645176; }
.poll { margin: .6rem 0; font-size: .85rem; color: var(--mute); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
caption { text-align: left; color: var(--mute); margin-bottom: .5rem; }
th, td { padding: .55rem .45rem; border-bottom: 1px solid var(--rule); }
.record { display: flex; flex-wrap: wrap; gap: .9rem 2rem; margin: .75rem 0 0; }
.record dt { color: var(--mute); }
.record dd { margin: 0; font-size: 1.4rem; }
@media (max-width: 42rem) {
  .split, .formgrid { grid-template-columns: 1fr; }
  .roomnav strong { flex-basis: 100%; }
}
