:root {
  --ink: #1f2a37;
  --muted: #5b6b7c;
  --glass: rgba(255, 255, 255, 0.86);
  --glass-strong: rgba(255, 255, 255, 0.95);
  --accent: #ff7b00;
  --danger: #e63946;
  --ok: #2a9d8f;
  --gold: #ffd166;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(10, 30, 60, 0.18);
  --font-display: "Fredoka", "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #3d9ad0; font-family: var(--font-body); color: var(--ink); }
button { font-family: inherit; cursor: pointer; }
.hidden { display: none !important; }
[hidden] { display: none !important; }

#sea { position: fixed; inset: 0; display: block; z-index: 0; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; background: var(--glass); backdrop-filter: blur(10px); border-radius: 999px; padding: 8px 18px 8px 12px; box-shadow: var(--shadow); }
.brand .anchor { font-size: 30px; }
.brand h1 { font-family: var(--font-display); font-size: 22px; margin: 0; line-height: 1.05; letter-spacing: 0.3px; }
.brand .sub { font-size: 12px; color: var(--muted); font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.countdown { background: var(--glass); backdrop-filter: blur(10px); border-radius: 999px; padding: 10px 14px; font-weight: 800; font-size: 13px; box-shadow: var(--shadow); white-space: nowrap; }
.storm-badge {
  background: linear-gradient(120deg, #2b3440, #4a5a6b); color: #fff;
  border-radius: 999px; padding: 10px 16px; font-weight: 800; font-size: 13px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25), var(--shadow); white-space: nowrap;
  animation: stormPulse 2.4s ease-in-out infinite;
}
@keyframes stormPulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(255,255,255,0.25), var(--shadow); } 50% { box-shadow: 0 0 18px 3px rgba(150,200,255,0.65), var(--shadow); } }
.tag.storm { background: #2b3440; color: #cfe4ff; }
.feed li.storm { background: rgba(43, 52, 64, 0.12); font-weight: 800; }
body.stormy .brand, body.stormy .countdown, body.stormy .leader, body.stormy .panel, body.stormy .dock { border-top-color: #4a5a6b; }
.live { display: flex; align-items: center; gap: 6px; background: var(--glass); border-radius: 999px; padding: 10px 12px; font-size: 11px; font-weight: 800; letter-spacing: 1px; box-shadow: var(--shadow); color: var(--muted); }
.live .dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa; }
.live.on .dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.25); }
.live.on { color: #1d7a4d; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--glass); box-shadow: var(--shadow); font-size: 18px; }
.icon-btn:hover, .team-btn:hover { transform: translateY(-1px); }
.team-btn { height: 42px; border-radius: 999px; border: 0; padding: 0 18px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; box-shadow: var(--shadow); }
.team-btn.mine { background: var(--team, var(--ink)); }

/* ---------- nedräkning före start ---------- */
.countdown-stage { position: fixed; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; pointer-events: none; padding: 20px; }
.cd-card {
  pointer-events: auto; text-align: center; color: #fff;
  background: rgba(16, 30, 52, 0.82); backdrop-filter: blur(14px);
  border-radius: 28px; padding: 26px clamp(22px, 5vw, 54px);
  box-shadow: 0 24px 70px rgba(0, 20, 50, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: bannerIn 0.5s cubic-bezier(0.2, 1.3, 0.4, 1);
  max-width: min(94vw, 760px);
}
.cd-kicker { font-weight: 800; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; opacity: 0.8; }
.cd-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 6vw, 56px); margin: 2px 0 14px; line-height: 1; }
.cd-clock { display: flex; align-items: flex-start; justify-content: center; gap: clamp(4px, 1.4vw, 14px); }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: clamp(52px, 11vw, 108px); }
.cd-unit > span {
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(38px, 9vw, 86px); font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.cd-unit > small { font-size: clamp(9px, 1.4vw, 12px); letter-spacing: 2px; text-transform: uppercase; opacity: 0.72; margin-top: 6px; font-weight: 800; }
.cd-unit.secs > span { color: var(--gold); }
.cd-sep { font-family: var(--font-display); font-size: clamp(28px, 6vw, 60px); line-height: 1; opacity: 0.35; }
.cd-when { margin-top: 16px; font-weight: 800; font-size: clamp(14px, 2.2vw, 19px); }
.cd-note { margin-top: 6px; font-size: 13px; opacity: 0.75; font-weight: 700; }
/* Sista minuten: sekunderna tar över */
.countdown-stage.finalminute .cd-unit:not(.secs), .countdown-stage.finalminute .cd-sep { display: none; }
.countdown-stage.finalminute .cd-unit.secs > span { font-size: clamp(90px, 26vw, 240px); animation: tick 1s steps(1) infinite; }
@keyframes tick { 0%, 60% { transform: scale(1); } 61%, 100% { transform: scale(1.09); } }
.feed li.preview { background: rgba(120, 130, 150, 0.1); }
.tag.preview { background: #dfe5ee; color: #47536b; }

/* ---------- leaderboard strip ---------- */
/* Varning när synken mot CRM tystnat. En systemrad högst upp som knuffar ner resten,
   så den aldrig kan gömma sig bakom något av de fasta lagren. Höjden mäts i app.js
   och läggs i --syncwarn-h, eftersom texten kan radbrytas olika på små skärmar. */
.syncwarn {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9;
  padding: 10px 18px;
  background: var(--danger); color: #fff;
  font-size: 13px; font-weight: 700; line-height: 1.45;
  display: flex; gap: 10px; align-items: flex-start; justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  animation: syncpulse 2.4s ease-in-out infinite;
}
.syncwarn .sw-ico { font-size: 18px; line-height: 1.2; }
.syncwarn .sw-detail { display: block; font-weight: 500; opacity: 0.9; margin-top: 2px; }
@keyframes syncpulse { 0%, 100% { background: var(--danger); } 50% { background: #c62230; } }
body.has-syncwarn .topbar { top: var(--syncwarn-h, 46px); }
body.has-syncwarn .leader,
body.has-syncwarn .ribbon,
body.has-syncwarn .panel { top: calc(74px + var(--syncwarn-h, 46px)); }
body.has-syncwarn .dock { top: calc(84px + var(--syncwarn-h, 46px)); }

.leader {
  position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: min(430px, calc(100vw - 36px));
  background: var(--glass); backdrop-filter: blur(10px); border-radius: 16px; box-shadow: var(--shadow);
  padding: 9px 14px 10px; cursor: pointer; user-select: none;
}
.leader:hover { background: var(--glass-strong); }
.leader-head { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.leader-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader-dots { display: flex; gap: 4px; flex: none; }
.leader-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(0, 0, 0, 0.18); }
.leader-dots i.on { background: var(--accent); }
.leader-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.leader-rows li { display: grid; grid-template-columns: 18px 20px 1fr auto; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.leader-rows .pos { font-family: var(--font-display); font-size: 13px; color: var(--muted); text-align: center; }
.leader-rows li:first-child .pos { font-size: 15px; }
.leader-rows .em { font-size: 15px; text-align: center; }
.leader-rows .who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid var(--team); padding-left: 6px; }
.leader-rows .who small { color: var(--muted); font-weight: 700; font-size: 11px; }
.leader-rows .val { font-weight: 800; white-space: nowrap; }
.leader-rows .val small { color: var(--muted); font-weight: 700; font-size: 10.5px; margin-left: 3px; }
.leader-rows li.sunk { opacity: 0.5; }
.leader.swap .leader-rows, .leader.swap .leader-title { animation: leaderIn 0.35s ease; }
@keyframes leaderIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* ---------- side panel ---------- */
.panel {
  position: fixed; top: 74px; right: 18px; bottom: 18px; width: 350px; z-index: 4;
  background: var(--glass); backdrop-filter: blur(12px); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.panel.collapsed { transform: translateX(110%); opacity: 0; pointer-events: none; }
.tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.tabs button { flex: 1; border: 0; background: transparent; border-radius: 10px; padding: 8px; font-weight: 800; color: var(--muted); font-size: 13px; }
.tabs button.active { background: var(--ink); color: #fff; }
.tab { overflow-y: auto; flex: 1; padding: 6px 10px 14px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 8px; padding: 9px 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.05); font-size: 13.5px; line-height: 1.35; animation: pop 0.3s ease; }
.feed li .ico { font-size: 18px; flex: none; width: 24px; text-align: center; }
.feed li .txt { flex: 1; }
.feed li time { display: block; font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.feed li.attack { background: rgba(255, 123, 0, 0.08); }
.feed li.sunk { background: rgba(230, 57, 70, 0.12); font-weight: 800; }
.feed li.winner { background: rgba(255, 209, 102, 0.35); font-weight: 800; }
.feed li.mine { border-left: 3px solid var(--team, var(--accent)); }
.tag { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; background: var(--gold); color: #3a2a00; vertical-align: middle; }
.tag.new { background: #3ddc84; color: #063; }
@keyframes pop { from { transform: translateY(-4px); opacity: 0; } to { transform: none; opacity: 1; } }

.board { list-style: none; margin: 0; padding: 0; }
.board li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; padding: 10px 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.board .rank { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--muted); text-align: center; }
.board .name { font-weight: 800; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.board .name .lives { font-size: 13px; color: var(--muted); }
.board .bar { height: 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.1); overflow: hidden; margin: 5px 0; }
.board .bar > div { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ff4d4d, #ffd166, #3ddc84); background-size: 250px 100%; transition: width 0.6s ease; }
.board .meta { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.board li.sunk { opacity: 0.55; }
.board li.sunk .name { text-decoration: line-through; }

.rules { font-size: 13.5px; line-height: 1.5; }
.rules h3 { margin: 12px 0 4px; font-family: var(--font-display); font-size: 16px; }
.rules table { border-collapse: collapse; width: 100%; margin: 6px 0; }
.rules th, .rules td { text-align: left; padding: 4px 6px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

/* ---------- dock (my team) ---------- */
.dock {
  position: fixed; left: 18px; top: 84px; z-index: 4; width: min(400px, calc(100vw - 36px));
  background: var(--glass-strong); backdrop-filter: blur(12px); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px 14px; border-top: 5px solid var(--team, var(--accent));
}
.dock-head { display: flex; align-items: center; gap: 10px; }
.dock-emoji { font-size: 30px; }
.dock-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.dock-lives { font-size: 12px; font-weight: 800; color: var(--muted); }
.dock-head .link { margin-left: auto; }
.icon-btn.small { width: 32px; height: 32px; font-size: 16px; box-shadow: none; background: rgba(0, 0, 0, 0.06); }
.dock.collapsed .dock-pending { display: none; }
.dock.collapsed #btnDockToggle { transform: rotate(180deg); }
.dock-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--gold); color: #3a2a00; font-size: 11px; font-weight: 800; }
.link { border: 0; background: transparent; color: var(--muted); font-weight: 800; font-size: 12px; text-decoration: underline; white-space: nowrap; }
.dock-pending { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; max-height: 32vh; overflow-y: auto; }
.dock-empty { font-size: 13px; color: var(--muted); font-weight: 700; }
.pending-card { display: flex; align-items: center; gap: 10px; background: #fff7e6; border: 1px solid #ffd166; border-radius: 12px; padding: 8px 10px; animation: pop 0.3s ease; }
.pending-card .shots { font-family: var(--font-display); font-size: 22px; font-weight: 700; white-space: nowrap; }
.pending-card .info { flex: 1; font-size: 12.5px; line-height: 1.3; }
.pending-card .info b { display: block; font-size: 13px; }
.btn { border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 800; font-size: 14px; background: var(--ink); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); transition: transform 0.1s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: rgba(0, 0, 0, 0.07); color: var(--ink); box-shadow: none; }
.btn.danger { background: var(--danger); }
.btn.fire { background: var(--accent); white-space: nowrap; }
.btn.heal { background: var(--ok); white-space: nowrap; }
.pending-card .acts { display: flex; flex-direction: column; gap: 6px; }
.pending-card .acts .btn { padding: 8px 14px; font-size: 13px; }
.feed li.heal { background: rgba(42, 157, 143, 0.1); }
.feed li.revert { background: rgba(120, 120, 140, 0.12); font-style: italic; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- banner ---------- */
.banner { position: fixed; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.banner-inner { pointer-events: auto; text-align: center; background: rgba(20, 30, 50, 0.85); color: #fff; padding: 22px 36px; border-radius: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); animation: bannerIn 0.45s cubic-bezier(0.2, 1.4, 0.4, 1); max-width: min(92vw, 640px); }
.banner-title { font-family: var(--font-display); font-size: clamp(26px, 5vw, 46px); font-weight: 700; line-height: 1.1; }
.banner-sub { font-size: clamp(14px, 2vw, 18px); margin-top: 8px; font-weight: 700; opacity: 0.9; }
.banner-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.banner.target .banner-btns .btn { background: rgba(0, 0, 0, 0.12); color: #3a2a00; }
.banner.target .banner-btns .btn:hover { background: rgba(0, 0, 0, 0.2); }
.banner.target .banner-inner { background: rgba(255, 209, 102, 0.95); color: #3a2a00; position: absolute; top: 84px; padding: 12px 22px; }
.banner.target { align-items: flex-start; }
@keyframes bannerIn { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- modals ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 10; background: rgba(10, 20, 40, 0.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: #fff; border-radius: 22px; padding: 22px 24px; width: min(720px, 100%); max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); animation: bannerIn 0.35s cubic-bezier(0.2, 1.3, 0.4, 1); }
.modal.small { width: min(440px, 100%); text-align: center; }
.modal h2 { font-family: var(--font-display); margin: 0 0 6px; font-size: 24px; }
.muted { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
/* ---------- login gate ---------- */
.gate { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: linear-gradient(180deg, #62b0e6 0%, #3d9ad0 45%, #1d6a9a 100%); }
.gate-card { background: #fff; border-radius: 24px; padding: 30px 34px; width: min(420px, 100%); text-align: center; box-shadow: 0 30px 80px rgba(0, 20, 50, 0.35); animation: bannerIn 0.4s cubic-bezier(0.2, 1.3, 0.4, 1); }
.gate-anchor { font-size: 46px; line-height: 1; }
.gate-card h1 { font-family: var(--font-display); font-size: 30px; margin: 6px 0 2px; }
.gate-card form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.gate-card input { font-size: 22px; padding: 11px 14px; border-radius: 12px; border: 2px solid rgba(0, 0, 0, 0.15); width: 170px; letter-spacing: 6px; text-align: center; font-family: inherit; }
.gate-card input:focus { outline: none; border-color: var(--accent); }
.gate-hint { font-size: 12px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.gate .error { min-height: 20px; }

.crew-team { margin-bottom: 12px; }
.crew-team h3 { font-family: var(--font-display); font-size: 15px; margin: 0 0 6px; display: flex; align-items: center; gap: 7px; }
.crew-team h3 .swatch { width: 12px; height: 12px; border-radius: 4px; background: var(--team); }
.crew-team h3 small { font-weight: 700; color: var(--muted); font-size: 11px; }
.crew-row { display: flex; flex-wrap: wrap; gap: 8px; }
.crew-card { border: 2px solid rgba(0, 0, 0, 0.08); border-left: 5px solid var(--team); border-radius: 12px; padding: 8px 14px; background: #fff; font-weight: 800; font-size: 14px; transition: transform 0.1s, border-color 0.1s; }
.crew-card:hover { transform: translateY(-2px); border-color: var(--team); }
.crew-card.selected { border-color: var(--team); background: rgba(0, 0, 0, 0.04); }
.crew-card small { display: block; font-weight: 700; font-size: 11px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 4px; text-align: left; font-weight: 800; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.field input { font-size: 16px; padding: 9px 11px; border-radius: 10px; border: 2px solid rgba(0, 0, 0, 0.15); font-family: inherit; }
.field input[type="color"] { padding: 2px; height: 40px; }
.emoji-picks { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.emoji-picks button { border: 2px solid rgba(0, 0, 0, 0.08); background: #fff; border-radius: 10px; font-size: 20px; width: 40px; height: 40px; line-height: 1; }
.emoji-picks button:hover { border-color: var(--accent); transform: translateY(-2px); }
.dock-titles { min-width: 0; }
.dock-name { display: flex; align-items: center; gap: 4px; }
#btnRename { background: transparent; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.team-card { border: 2px solid rgba(0, 0, 0, 0.08); border-radius: 16px; padding: 12px; text-align: left; background: #fff; display: flex; gap: 10px; align-items: center; transition: transform 0.1s, border-color 0.1s; }
.team-card:hover { transform: translateY(-2px); border-color: var(--team); }
.team-card.selected { border-color: var(--team); background: rgba(0, 0, 0, 0.03); }
.team-card .em { font-size: 28px; }
.team-card b { display: block; font-size: 15px; }
.team-card small { color: var(--muted); font-weight: 700; font-size: 12px; }
.team-card.sunk { opacity: 0.55; }
.pin-row { margin-top: 14px; padding: 12px 14px; background: rgba(0, 0, 0, 0.04); border-radius: 14px; display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.pin-row label { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 12px; color: var(--muted); }
.pin-row input { font-size: 20px; padding: 9px 12px; border-radius: 10px; border: 2px solid rgba(0, 0, 0, 0.15); width: 140px; letter-spacing: 6px; text-align: center; }
.pin-row .error { flex-basis: 100%; margin: 0; }
.modal-actions { display: flex; justify-content: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.error { color: var(--danger); font-weight: 800; font-size: 13px; min-height: 18px; margin-top: 8px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 8; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow); animation: pop 0.3s ease; max-width: 90vw; text-align: center; }
.toast.good { background: var(--ok); }
.toast.bad { background: var(--danger); }

/* ---------- winner ribbon ---------- */
.ribbon { position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 4; background: var(--gold); color: #3a2a00; padding: 8px 18px; border-radius: 999px; font-weight: 800; box-shadow: var(--shadow); font-family: var(--font-display); font-size: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .leader { top: auto; bottom: 14px; width: min(430px, calc(100vw - 24px)); }
}
@media (max-width: 900px) {
  .panel { width: min(350px, calc(100vw - 24px)); right: 12px; top: 70px; bottom: auto; max-height: 55vh; }
  .leader { display: none; }
  .panel.collapsed { transform: translateX(110%); }
  .countdown { display: none; }
  .brand h1 { font-size: 18px; }
  .brand .sub { display: none; }
  .dock { left: 12px; top: auto; bottom: 12px; width: calc(100vw - 24px); }
  .dock-pending { max-height: 26vh; }
  .live .txt { display: none; }
}
@media (max-width: 600px) {
  .topbar { padding: 8px 10px; }
  .brand { padding: 6px 12px 6px 8px; }
  .brand .anchor { font-size: 22px; }
  .team-btn { padding: 0 12px; font-size: 13px; }
}
