/* Frog Royale — storybook castle palette */
:root {
  --ink: #26252e;
  --parchment: #fbf4e4;
  --parchment-edge: #e7d8b6;
  --roof: #cf6347;
  --roof-dark: #a9452f;
  --royal: #2c5aa8;
  --gold: #e2b33c;
  --leaf: #5fae46;
  --hp: #e2463b;
  --armor: #8fc3f0;
  --storm: #8b74ff;
  --display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #9fc6e8; color: var(--ink); font-family: var(--body); }
#stage, #stage canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- menu */
#menu {
  position: fixed; inset: 0; display: grid; place-items: center start;
  padding: 24px clamp(16px, 7vw, 110px);
  background: linear-gradient(90deg, rgba(20, 30, 50, .35), rgba(20, 30, 50, 0) 55%);
}
.menu-card {
  width: min(380px, 100%);
  background: var(--parchment);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 26px 26px 20px;
  box-shadow: 0 7px 0 var(--ink), 0 24px 60px rgba(10, 20, 40, .35);
}
.logo { margin: 0; font-family: var(--display); font-weight: 400; line-height: .9; letter-spacing: .01em; }
.logo span { display: block; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); }
.logo .l1 { font-size: 46px; color: var(--leaf); }
.logo .l2 { font-size: 64px; color: var(--roof); }
.tag { margin: 12px 0 18px; font-weight: 700; color: #5d5747; font-size: 14px; }
.field { display: block; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin: 14px 0 6px; color: #6f6652; }
#name {
  width: 100%; font: 800 18px var(--body); color: var(--ink);
  padding: 10px 12px; border: 2.5px solid var(--ink); border-radius: 10px; background: #fff;
}
.colors { display: flex; gap: 10px; }
.swatch {
  width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--ink); padding: 0;
  box-shadow: 0 3px 0 var(--ink); transition: transform .12s;
}
.swatch[aria-checked="true"] { outline: 3px solid var(--gold); outline-offset: 3px; transform: translateY(-2px); }
.play {
  margin-top: 20px; width: 100%; padding: 14px; font: 400 26px var(--display); letter-spacing: .02em;
  color: #fff; background: var(--roof); border: 3px solid var(--ink); border-radius: 12px;
  box-shadow: 0 5px 0 var(--ink); -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill;
  transition: transform .08s, box-shadow .08s;
}
.play:hover:not(:disabled) { background: #dc6d50; }
.play:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.play:disabled { background: #b8ad97; cursor: default; }
.status { min-height: 1.2em; margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--roof-dark); }
.status code { background: #efe4c9; padding: 1px 5px; border-radius: 4px; }
.controls { margin: 14px 0 0; padding-top: 12px; border-top: 2px dashed var(--parchment-edge);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 12.5px; }
.controls div { display: flex; justify-content: space-between; gap: 8px; }
.controls dt { font-weight: 900; }
.controls dd { margin: 0; color: #6f6652; text-align: right; }

/* ---------------------------------------------------------------- HUD */
#hud { position: fixed; inset: 0; pointer-events: none; font-weight: 900; }
.phase { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); text-align: center; }
#phase-title {
  font: 400 26px var(--display); color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--ink); white-space: nowrap;
}
#phase-sub { margin-top: 4px; font-size: 13px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.55); }

.counters { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; }
.counter {
  background: rgba(38, 37, 46, .78); color: #fff; border-radius: 10px; padding: 6px 12px 7px;
  display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums;
}
.counter span { font: 400 24px var(--display); }
.counter small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }

.mapbox { position: absolute; top: 18px; right: 18px; width: 182px; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
#minimap { width: 182px; height: 182px; border: 3px solid var(--ink); border-radius: 14px; background: #3a82cd; box-shadow: 0 4px 0 var(--ink); }
#zone-text { background: var(--storm); color: #fff; border: 2.5px solid var(--ink); border-radius: 9px; padding: 4px 8px; font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
#killfeed { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; width: 360px; margin-left: -178px; }
.feed-item { background: rgba(38, 37, 46, .78); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 13px; white-space: nowrap; }
.feed-item b.me { color: var(--gold); }
.feed-item span { font-weight: 700; opacity: .85; }
.sword { display: inline-block; width: 18px; height: 10px; vertical-align: middle; margin: 0 4px;
  background: linear-gradient(90deg, var(--gold) 0 25%, #dfe6ee 25% 100%); clip-path: polygon(0 35%, 22% 35%, 22% 0, 30% 0, 30% 35%, 88% 35%, 100% 50%, 88% 65%, 30% 65%, 30% 100%, 22% 100%, 22% 65%, 0 65%); }

.vitals { position: absolute; left: 18px; bottom: 20px; width: min(300px, 60vw); display: flex; flex-direction: column; gap: 6px; }
.bar { position: relative; height: 24px; border: 3px solid var(--ink); border-radius: 9px; background: rgba(38, 37, 46, .7); overflow: hidden; box-shadow: 0 3px 0 var(--ink); }
.bar.armor { height: 16px; }
.bar .fill { position: absolute; inset: 0 auto 0 0; transition: width .18s; }
.bar.hp .fill { background: linear-gradient(#f06a5c, var(--hp)); }
.bar.armor .fill { background: linear-gradient(#bfe0fb, var(--armor)); }
.bar.hp.low { animation: pulse .8s infinite alternate; }
@keyframes pulse { to { box-shadow: 0 3px 0 var(--ink), 0 0 0 4px rgba(226, 70, 59, .45); } }
.bar span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 13px; text-shadow: 0 1px 0 var(--ink); font-variant-numeric: tabular-nums; }
.bar.armor span { font-size: 10px; }
.tier-row { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 0 var(--ink); }
.tier { display: flex; gap: 4px; }
.tier i { width: 14px; height: 14px; transform: rotate(45deg) scale(.8); background: rgba(38, 37, 46, .6); border: 2px solid var(--ink); }
.tier i.on { background: #4aa3ff; }

#crosshair { --cd: 1; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%;
  background: conic-gradient(rgba(255,255,255,.85) calc(var(--cd) * 360deg), rgba(255,255,255,.18) 0);
  -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px); mask: radial-gradient(circle, transparent 9px, #000 10px); }
#crosshair i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(38,37,46,.7); }
#crosshair.can-hook { background: #6fe36a; }
#crosshair.can-hook.magnet { background: #ff5a4a; }
#crosshair.hooked { background: var(--gold); }
#hook-icon { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: rgba(38,37,46,.7); letter-spacing: .04em; }
#hook-icon.ready { background: #3f9a3a; }
#dash-icon { margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: rgba(38,37,46,.7); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
#dash-icon.ready { background: #2f7fb8; }
#speed { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: baseline; gap: 4px;
  color: #fff; text-shadow: 0 2px 0 var(--ink); font-variant-numeric: tabular-nums; }
#speed span { font: 400 30px var(--display); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
#speed small { font-size: 12px; }
#speed.fast span { color: #ffd84a; }
#banner {
  position: absolute; left: 50%; top: 28%; transform: translate(-50%, -10px); opacity: 0; transition: opacity .25s, transform .25s;
  font: 400 clamp(28px, 4.5vw, 46px) var(--display); color: #fff; -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill;
  text-shadow: 0 4px 0 var(--ink); white-space: nowrap; text-align: center;
}
#banner.show { opacity: 1; transform: translate(-50%, 0); }
#toast {
  position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); opacity: 0; transition: opacity .2s;
  background: var(--parchment); border: 2.5px solid var(--ink); border-radius: 10px; padding: 6px 14px; font-size: 15px;
}
#toast.show { opacity: 1; }
#floaters { position: absolute; inset: 0; }
.dmg { position: absolute; transform: translate(-50%, 0); font: 400 26px var(--display); color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; animation: rise .9s ease-out forwards; }
.dmg.blocked { color: var(--armor); font-size: 18px; }
@keyframes rise { to { transform: translate(-50%, -60px); opacity: 0; } }

#vignette { position: fixed; inset: 0; pointer-events: none; opacity: 0; box-shadow: inset 0 0 160px 40px rgba(220, 40, 30, .85); }

#result {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: auto;
  background: var(--parchment); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 7px 0 var(--ink);
  padding: 22px 34px 20px; text-align: center; min-width: 280px;
}
#result .r-title { font: 400 30px var(--display); color: var(--royal); }
#result.win .r-title { color: var(--roof); }
.r-rank { margin: 6px 0 4px; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.r-place { font: 400 64px var(--display); line-height: 1; }
#result.win .r-place { color: var(--gold); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.r-of { font-size: 16px; color: #6f6652; }
.r-stats { font-size: 15px; color: #4c473b; }
.ghost { margin-top: 14px; background: none; border: 2.5px solid var(--ink); border-radius: 10px; padding: 7px 16px; font-weight: 900; }

@media (max-width: 640px) {
  #menu { place-items: center; }
  .mapbox { width: 120px; }
  #minimap { width: 120px; height: 120px; }
  #killfeed { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bar.hp.low, .dmg { animation: none; }
}

/* ---- weapons */
#weapons { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
#weapons .slot { position: relative; overflow: hidden; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px;
  background: rgba(38,37,46,.65); color: #fff; font-weight: 800; opacity: .55; transition: opacity .15s, transform .15s; }
#weapons .slot b { font-size: 11px; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.18); }
#weapons .slot.on { opacity: 1; transform: translateY(-3px); box-shadow: 0 0 0 2px var(--gold); }
#weapons .slot .cd { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold); }
#spread { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px; border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.55); pointer-events: none; display: none; }
#spread.on { display: block; }
#scope { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0 35vmin, rgba(0,0,0,.92) 35.4vmin); }
#scope .scope-lines { position: absolute; left: 50%; top: 50%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.85), inset 0 0 40px rgba(0,0,0,.55);
  background:
    linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.85)) center / 100% 2px no-repeat,
    linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.85)) center / 2px 100% no-repeat,
    radial-gradient(circle, #ff3b30 0 3px, transparent 3.5px) center / 100% 100% no-repeat; }
body.scoped #crosshair, body.scoped #spread { display: none; }
#killfeed i.rifle::before { content: "⌖"; font-style: normal; color: #ffd84a; }
#killfeed i.blunder::before { content: "✸"; font-style: normal; color: #ffb347; }

/* ---- settings */
.settings-btn { width: 100%; margin-top: 10px; }
.hud-gear { position: absolute; left: 18px; top: 74px; width: 36px; height: 36px; border-radius: 10px; pointer-events: auto;
  border: 2px solid var(--ink); background: rgba(251,244,228,.9); font-size: 20px; line-height: 1; box-shadow: 0 3px 0 var(--ink); }
#settings { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(15, 20, 35, .45); }
.set-card { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--parchment); border: 3px solid var(--ink);
  border-radius: 18px; box-shadow: 0 7px 0 var(--ink), 0 24px 60px rgba(10, 20, 40, .35); padding: 20px 22px 18px; }
.set-card h2 { margin: 0 0 6px; font: 400 32px var(--display); color: var(--roof); -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill; }
.set-card h3 { margin: 14px 0 4px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #7c6f58; }
.set-row { display: grid; grid-template-columns: 1fr 150px 56px; align-items: center; gap: 10px; padding: 6px 0; font-weight: 800; font-size: 14px; cursor: pointer; }
.set-row output { font-variant-numeric: tabular-nums; text-align: right; font-size: 13px; color: #5d5446; }
.set-row input[type=range] { width: 100%; accent-color: var(--roof); }
.set-row .switch { justify-self: start; width: 20px; height: 20px; accent-color: var(--leaf); }
.set-row .set-text { width: 100%; box-sizing: border-box; padding: 4px 8px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; font-family: inherit; font-size: 14px; font-weight: 800; color: var(--ink); cursor: text; }
.set-row .set-note { grid-column: 1 / -1; color: #b3402e; font-size: 12px; font-weight: 800; }
.set-row .set-note:empty { display: none; }
.set-actions { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.set-actions .ghost { margin: 0; }
.set-actions .play { margin: 0; flex: 1; padding: 9px; font-size: 22px; }
#fps { position: fixed; left: 50%; top: 6px; transform: translateX(-50%); z-index: 40; padding: 2px 8px; border-radius: 6px;
  background: rgba(38,37,46,.7); color: #fff; font: 800 12px var(--body); font-variant-numeric: tabular-nums; pointer-events: none; }
@media (max-width: 480px) { .set-row { grid-template-columns: 1fr 110px 48px; } }

/* ---- scoreboard / leaderboard (hold Tab) */
.menu-row { display: flex; gap: 8px; }
.menu-row .settings-btn { flex: 1; }
#board { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: 16px; pointer-events: none; }
#board.menu-open { pointer-events: auto; background: rgba(15, 20, 35, .45); }
.board-card { display: flex; flex-wrap: wrap; gap: 18px; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: rgba(251, 244, 228, .96); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 7px 0 var(--ink); padding: 18px 20px 12px; }
.board-col { flex: 1 1 320px; min-width: 0; }
.board-card h2 { margin: 0 0 8px; font: 400 26px var(--display); color: var(--roof); -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill; }
.board-card table { width: 100%; border-collapse: collapse; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.board-card th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #7c6f58; padding: 4px 6px; border-bottom: 2px dashed var(--parchment-edge); }
.board-card td { padding: 5px 6px; border-bottom: 1px solid #efe4c9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.board-card td:nth-child(n+3), .board-card th:nth-child(n+3) { text-align: right; }
.board-card tr.me td { background: #fff1c2; }
.board-card tr.out td { color: #9a8f7c; }
.board-card .tag-bot { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: #e7d8b6; margin-left: 4px; }
.board-card .alive-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.board-empty { font-size: 13px; color: #7c6f58; margin: 8px 0 0; }
.board-hint { flex-basis: 100%; margin: 0; font-size: 12px; color: #7c6f58; text-align: center; }
.board-hint .ghost { margin: 0 0 0 6px; padding: 3px 10px; font-size: 12px; pointer-events: auto; }
#board:not(.menu-open) .board-close { display: none; }

#spectate-bar { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); padding: 6px 14px; border-radius: 10px;
  background: rgba(38,37,46,.72); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }

.set-row .keybind { justify-self: start; min-width: 92px; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 8px;
  background: #fff; font-weight: 900; font-size: 13px; }
.set-row .keybind.listening { background: #fff1c2; }
.set-row .set-choice { justify-self: start; display: inline-flex; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.set-row .set-choice button { padding: 4px 12px; white-space: nowrap; border: 0; background: transparent; font: inherit; font-weight: 700; cursor: pointer; color: inherit; }
.set-row .set-choice button + button { border-left: 2px solid var(--ink); }
.set-row .set-choice button.on { background: var(--gold); }

/* ---- chat (Enter to type) */
#chat { position: absolute; left: 18px; bottom: 112px; width: min(420px, calc(100vw - 36px)); display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
#chat.open { pointer-events: auto; }
.chat-log { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.chat-line { max-width: 100%; background: rgba(38, 37, 46, .72); color: #fff; padding: 3px 9px; border-radius: 7px; font-size: 13px; line-height: 1.35;
  overflow-wrap: anywhere; transition: opacity 1.5s ease; }
.chat-line.fading { opacity: 0; }
.chat-line b { font-weight: 800; color: #b9e6a0; margin-right: 3px; }
.chat-line b.me { color: var(--gold); }
.chat-form { display: flex; align-items: center; gap: 8px; background: rgba(38, 37, 46, .88); border: 2px solid var(--ink); border-radius: 9px; padding: 4px 6px 4px 10px; }
.chat-form[hidden] { display: none; }
.chat-form span { color: var(--gold); font-weight: 800; font-size: 13px; }
.chat-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: inherit; font-size: 14px; padding: 4px 0; }

/* ---- radio (YouTube Top 20; YouTube's player must stay visible, at least 200x200) */
#radio { position: fixed; right: 18px; top: 262px; width: 240px; z-index: 30; background: rgba(38, 37, 46, .88); border: 3px solid var(--ink);
  border-radius: 12px; padding: 5px 6px; color: #fff; font-size: 12px; box-shadow: 0 3px 0 var(--ink); }
#radio[hidden] { display: none; }
.radio-bar { display: flex; align-items: center; gap: 5px; min-width: 0; }
.radio-bar b { color: var(--gold); }
.radio-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.radio-bar button { border: 0; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 6px; width: 24px; height: 22px; cursor: pointer; font-size: 11px; padding: 0; flex: none; }
.radio-bar button:hover { background: rgba(255, 255, 255, .28); }
.radio-sub { display: flex; justify-content: space-between; gap: 6px; margin: 3px 0 4px; font-size: 10px; opacity: .7; }
.radio-embed iframe { width: 100%; min-width: 200px; height: 200px; display: block; border: 0; border-radius: 4px; }
@media (max-width: 700px), (max-height: 560px) { #radio { top: auto; bottom: 70px; } }
.chat-line.sys { color: #ffd27a; font-style: italic; }

/* ---- "What's new" dropdown (top right, left of the minimap) */
#changes { position: fixed; top: 18px; right: 214px; z-index: 60; font-size: 13px; }
.changes-btn { display: flex; align-items: center; gap: 6px; background: rgba(38, 37, 46, .86); color: #fff; border: 2.5px solid var(--ink);
  border-radius: 10px; padding: 6px 10px; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.changes-btn:hover { background: rgba(58, 57, 70, .92); }
.changes-caret { font-size: 10px; opacity: .8; transition: transform .15s; }
#changes.open .changes-caret { transform: rotate(180deg); }
.changes-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px rgba(226, 179, 60, .35); }
.changes-dot[hidden] { display: none; }
.changes-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(360px, calc(100vw - 36px)); max-height: min(60vh, 520px); overflow-y: auto;
  background: rgba(38, 37, 46, .95); color: #fff; border: 2.5px solid var(--ink); border-radius: 12px; padding: 4px 14px 12px; box-shadow: 0 4px 0 var(--ink); }
.changes-panel[hidden] { display: none; }
.changes-panel h4 { margin: 12px 0 6px; color: var(--gold); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.change { padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.change b { display: block; margin-bottom: 2px; }
.change p { margin: 0; line-height: 1.4; opacity: .85; }
@media (max-width: 700px) { #changes { right: 152px; } }

/* ---- map picker (main menu) and team deathmatch colours */
.map-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.map-pick button { display: grid; gap: 1px; text-align: left; padding: 8px 10px; border: 2.5px solid var(--ink); border-radius: 10px;
  background: #fff; box-shadow: 0 3px 0 var(--ink); color: var(--ink); transition: transform .12s; }
.map-pick b { font: 400 17px var(--display); letter-spacing: .01em; }
.map-pick small { font-size: 12px; font-weight: 800; color: #7c6f58; }
.map-pick button[aria-checked="true"] { background: #fff1c2; outline: 3px solid var(--gold); outline-offset: 2px; transform: translateY(-2px); }
.map-pick button.next { outline: 2px dashed var(--royal); outline-offset: 2px; }
.map-note { margin: 6px 0 0; min-height: 1em; font-size: 12px; font-weight: 800; color: var(--royal); }
.map-note:empty { display: none; }
.feed-item b.red { color: #ff8a80; }
.feed-item b.blue { color: #8cc4ff; }
.feed-item b.me { color: var(--gold); }
.board-card tr.team-red td:nth-child(2) { box-shadow: inset 4px 0 0 #d8382c; }
.board-card tr.team-blue td:nth-child(2) { box-shadow: inset 4px 0 0 #2f74d8; }
.counter.tdm span { font-size: 20px; }
