:root {
  --hud: rgba(255, 176, 0, 0.92);
  --hud-dim: rgba(255, 176, 0, 0.55);
  --t: #e8b04a;
  --ct: #8fb8ff;
  --panel: rgba(18, 20, 16, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #e9e6dc;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #000; color: var(--text);
  font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif; font-size: 14px; user-select: none; }
canvas#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

.t { color: var(--t); }
.ct { color: var(--ct); }

/* ------------------------------------------------ overlays */
#flash-overlay { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 5; }
#frozen-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 4; }
#damage-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 4; opacity: 0;
  background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0) 45%, rgba(200, 0, 0, 0.9) 100%); }
#blind-overlay { position: fixed; inset: 0; background: #000; z-index: 6; display: flex; align-items: center; justify-content: center; pointer-events: none; }
#blind-text { color: var(--hud); font-size: 28px; font-weight: bold; letter-spacing: 1px; }

/* ------------------------------------------------ HUD */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 7; }
#crosshair { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
#crosshair i { position: absolute; background: rgba(50, 250, 50, 0.85); }
#crosshair .l { width: 6px; height: 2px; left: -10px; top: -1px; }
#crosshair .r { width: 6px; height: 2px; left: 4px; top: -1px; }
#crosshair .u { width: 2px; height: 6px; left: -1px; top: -10px; }
#crosshair .d { width: 2px; height: 6px; left: -1px; top: 4px; }

#aim-name { position: absolute; left: 50%; top: calc(50% + 40px); transform: translateX(-50%); font-size: 13px; font-weight: bold;
  text-shadow: 0 0 3px #000; letter-spacing: 0.5px; }

/* top: team scores with one dot per player (filled = alive) */
#hud-score { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: stretch; gap: 2px;
  font-weight: bold; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); }
#hud-score.text .sc-team, #hud-score.text .sc-mid { display: none; }
#hud-score:not(.text) #sc-text { display: none; }
#sc-text { background: rgba(10, 12, 9, 0.62); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 5px; padding: 6px 14px; color: var(--hud); font-size: 14px; }
.sc-team { display: flex; align-items: center; gap: 8px; padding: 4px 12px; font-size: 22px; min-width: 70px; justify-content: center;
  background: rgba(10, 12, 9, 0.62); border: 1px solid rgba(255, 255, 255, 0.08); }
.sc-team.t { color: var(--t); border-radius: 6px 0 0 6px; box-shadow: inset 0 -2px 0 rgba(232, 176, 74, 0.7); }
.sc-team.ct { color: var(--ct); border-radius: 0 6px 6px 0; box-shadow: inset 0 -2px 0 rgba(143, 184, 255, 0.7); }
.sc-label { font-size: 11px; letter-spacing: 1px; opacity: 0.75; }
.sc-mid { display: flex; align-items: center; gap: 8px; padding: 0 10px; background: rgba(10, 12, 9, 0.5); border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
#sc-vs { color: #8a877b; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.dots { display: flex; gap: 3px; min-width: 20px; }
.dots.t { justify-content: flex-end; }
.dots i { width: 7px; height: 13px; border-radius: 2px; border: 1px solid currentColor; opacity: 0.35; }
.dots i.on { background: currentColor; opacity: 1; }
.dots.t { color: var(--t); }
.dots.ct { color: var(--ct); }

#hud-team { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: bold; letter-spacing: 1.5px; padding: 5px 10px; border-radius: 4px;
  background: rgba(10, 12, 9, 0.55); color: #ddd; border-left: 3px solid #888; text-shadow: 0 0 3px #000; }
#hud-team.t { border-left-color: var(--t); color: var(--t); }
#hud-team.ct { border-left-color: var(--ct); color: var(--ct); }

/* status pills above the bottom bar (frozen, chilled...) */
#hud-status { position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.pill { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: bold; letter-spacing: 1px; background: rgba(10, 12, 9, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12); color: #eee; text-shadow: 0 0 3px #000; }
.pill.frozen { color: #7ff3f5; border-color: rgba(0, 206, 209, 0.7); box-shadow: 0 0 12px rgba(0, 206, 209, 0.35); }
.pill.chilled { color: #a9dfff; border-color: rgba(120, 190, 255, 0.5); }
.pill.regen { color: #8dff8d; border-color: rgba(120, 255, 120, 0.45); }

#killfeed { position: absolute; top: 48px; right: 12px; text-align: right; }
#killfeed .kf { background: rgba(10, 12, 9, 0.62); padding: 4px 10px; margin-bottom: 4px; border-radius: 4px; font-size: 13px; font-weight: bold;
  display: inline-flex; align-items: center; gap: 8px; clear: both; float: right; border: 1px solid rgba(255, 255, 255, 0.06); }
#killfeed .kf.mine { border-color: rgba(220, 60, 50, 0.85); box-shadow: inset 0 0 0 1px rgba(220, 60, 50, 0.4); }
#killfeed .weapon { color: #ddd; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }
#killfeed .weapon svg { width: 26px; height: 12px; fill: #e8e6dc; }
#killfeed .hs { color: #ff6a5a; font-size: 10px; }
#center-msg { position: absolute; top: 28%; left: 50%; transform: translateX(-50%); color: var(--hud); font-size: 22px; font-weight: bold;
  text-align: center; white-space: pre-line; text-shadow: 0 0 6px #000; transition: opacity 0.6s; opacity: 0; width: 90%; }
#spec-label { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.55); padding: 6px 14px;
  border-radius: 4px; color: #ddd; font-size: 13px; white-space: nowrap; }
#chat-log { position: absolute; left: 12px; bottom: 120px; width: min(560px, 70vw); font-size: 13px; text-shadow: 0 0 3px #000, 0 0 2px #000; }
#chat-log .line { margin: 2px 0; transition: opacity 1s; }
#chat-log .line.old { opacity: 0; }
#chat-log.open { background: rgba(0, 0, 0, 0.35); border-radius: 4px; padding: 4px 6px; }
#chat-log.open .line.old { opacity: 1; }
#chat-log .js-good { color: #b9b9b9; }
#chat-log .js-pro { color: #5be35b; }
#chat-log .js-leet { color: #ff4a3a; }
#chat-log .js-best { color: #6fa8ff; }
#jump-hud { position: absolute; left: 35%; top: 40%; color: #00ff00; font-size: 13px; line-height: 1.45; white-space: pre; text-shadow: 0 0 3px #000;
  transition: opacity 0.3s; opacity: 0; }
#jump-hud.fail { color: #ff007f; }
#chat-log .sys { color: #b8e08a; }
#chat-log .spec { color: #bbb; }

/* bottom bar: health, round timer, weapons */
#hud-bottom { position: absolute; bottom: 14px; left: 16px; right: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  color: var(--hud); font-weight: bold; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85); }
.hud-box { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(14, 15, 12, 0.55), rgba(10, 11, 9, 0.72)); border: 1px solid rgba(255, 176, 0, 0.16);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.hud-icon { width: 26px; height: 26px; fill: currentColor; opacity: 0.9; flex: none; }
.hud-num { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.hp-col, .timer-col { display: flex; flex-direction: column; gap: 5px; }
.hp-bar { width: 110px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.hp-bar i { display: block; height: 100%; width: 100%; background: var(--hud); transition: width 0.25s, background 0.25s; }
#hud-hp.low { color: #ff4a3a; border-color: rgba(255, 74, 58, 0.45); animation: hp-pulse 1s ease-in-out infinite; }
#hud-hp.low .hp-bar i { background: #ff4a3a; }
#hud-hp.mid .hp-bar i { background: #f2c94c; }
@keyframes hp-pulse { 50% { box-shadow: 0 0 22px rgba(255, 60, 40, 0.35); } }
#hud-phase { font-size: 10px; letter-spacing: 2px; color: #c9c4b2; text-transform: uppercase; }
#hud-timer.hide { color: #7fd0ff; border-color: rgba(127, 208, 255, 0.3); }
#hud-timer.urgent { color: #ff6a4a; }
#hud-weapons { flex-direction: column; align-items: stretch; gap: 4px; min-width: 190px; padding: 8px 10px; }
#hud-weapons .w { display: flex; align-items: center; gap: 8px; color: var(--hud-dim); font-size: 12px; padding: 3px 6px; border-radius: 4px; }
#hud-weapons .w.active { color: var(--hud); background: rgba(255, 176, 0, 0.1); font-size: 13px; }
#hud-weapons .w svg { width: 34px; height: 16px; fill: currentColor; flex: none; }
#hud-weapons .w.frost.active { color: #7ff3f5; background: rgba(0, 206, 209, 0.12); }
#hud-weapons .slot { color: #fff; opacity: 0.55; font-size: 11px; width: 10px; }
#hud-weapons .count { margin-left: auto; font-size: 14px; }
#hud-speed { position: absolute; left: 50%; top: calc(50% + 70px); transform: translateX(-50%); color: rgba(255, 255, 255, 0.8); font-size: 13px; font-weight: bold;
  text-shadow: 0 0 3px #000; font-variant-numeric: tabular-nums; }
#hud-speed.fast { color: #8dff8d; }

/* ------------------------------------------------ scoreboard */
#scoreboard { position: fixed; top: 8%; left: 50%; transform: translateX(-50%); width: min(900px, calc(100vw - 32px)); max-height: 84vh; overflow: auto;
  background: rgba(0, 0, 0, 0.78); border: 1px solid var(--line); border-radius: 6px; padding: 14px; z-index: 9; }
.sb-title { text-align: center; color: var(--hud); font-weight: bold; margin-bottom: 10px; }
.sb-cols { display: flex; gap: 14px; flex-wrap: wrap; }
.sb-sub { color: #9a978a; font-size: 12px; font-weight: normal; margin-top: 4px; }
.sb-team { flex: 1 1 300px; }
.sb-head { display: flex; justify-content: space-between; font-weight: bold; font-size: 16px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.sb-team table { width: 100%; border-collapse: collapse; color: var(--text); font-size: 13px; }
.sb-team th { text-align: left; font-weight: normal; color: #999; padding: 4px; }
.sb-team td { padding: 3px 4px; }
.sb-team tr.me td { background: rgba(255, 255, 255, 0.08); }
.sb-team tr.dead td { color: #888; }
.sb-team i { font-size: 10px; color: #c44; font-style: normal; }
.sb-spec { margin-top: 10px; color: #aaa; font-size: 12px; }
.sb-team th.num, .sb-team td.num { text-align: right; width: 64px; }
.sb-acc { display: inline-block; margin-left: 5px; font-size: 9px; color: #9fd08a; border: 1px solid rgba(159, 208, 138, 0.45); border-radius: 3px; padding: 0 3px; vertical-align: 1px; }
.sb-team td.sb-empty { color: #666; text-align: center; }
.sb-foot { margin-top: 10px; color: #807c70; font-size: 11px; text-align: center; }

/* ------------------------------------------------ AMX-style menu (/rank) */
#amx-menu { position: absolute; left: 14px; top: 34%; min-width: 260px; max-width: min(520px, calc(100vw - 28px)); padding: 10px 14px;
  background: rgba(0, 0, 0, 0.42); border-radius: 4px; font-size: 14px; line-height: 1.5; text-shadow: 0 1px 2px #000; z-index: 8; }
#amx-menu .m-title { color: #ffd23a; font-weight: bold; margin-bottom: 6px; }
#amx-menu .m-sub { color: #bdb9aa; font-size: 12px; margin: -4px 0 6px; }
#amx-menu .m-item { color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#amx-menu .m-item b { color: #ff5a4a; font-weight: bold; margin-right: 4px; }
#amx-menu .m-item.off { color: #777; }
#amx-menu .m-row { color: #e9e6dc; font-size: 13px; white-space: nowrap; }
#amx-menu .m-row .m-pos { color: #ffd23a; display: inline-block; min-width: 26px; }
#amx-menu .m-row .m-val { color: #9fd08a; margin-left: 8px; }
#amx-menu .m-row .m-extra { color: #9a978a; font-size: 11px; margin-left: 8px; }
#amx-menu .m-row.me { color: #ffd23a; }
#amx-menu .m-msg { color: #bdb9aa; font-size: 13px; }
#amx-menu .m-gap { height: 8px; }

/* ------------------------------------------------ chat input */
#chat-form { position: fixed; left: 12px; bottom: 90px; z-index: 10; display: flex; gap: 6px; align-items: center; background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px; border-radius: 4px; width: min(560px, calc(100vw - 24px)); }
#chat-label { color: var(--hud); font-weight: bold; white-space: nowrap; }
#chat-input { flex: 1; background: transparent; border: none; outline: none; color: #fff; font: inherit; }

/* ------------------------------------------------ menus */
.screen { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(0, 0, 0, 0.55); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 24px 28px; width: min(560px, 100%); max-height: 100%; overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); user-select: text; }
.panel h1 { margin: 0; font-size: 46px; letter-spacing: 2px; color: var(--hud); }
.panel h1 span { font-size: 18px; color: #bbb; margin-left: 8px; letter-spacing: 1px; }
.panel h2 { margin: 0 0 14px; color: var(--hud); }
.panel h3 { margin: 16px 0 6px; font-size: 13px; text-transform: uppercase; color: #aaa; letter-spacing: 1px; }
.panel .sub { margin: 4px 0 18px; color: #aaa; }
.panel label { display: block; margin: 8px 0; color: #ccc; }
.panel input:not([type]), .panel input[type=text] { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; background: #0b0c09; border: 1px solid #444;
  border-radius: 4px; color: #fff; font: inherit; }
.panel ul { margin: 0; padding-left: 18px; color: #bbb; font-size: 13px; line-height: 1.55; }
kbd { background: #2a2b25; border: 1px solid #555; border-bottom-width: 2px; border-radius: 3px; padding: 0 4px; font-size: 11px; font-family: inherit; color: #eee; }
button { background: #2c2d26; color: #eee; border: 1px solid #555; border-radius: 4px; padding: 9px 14px; font: inherit; cursor: pointer; }
button:hover { background: #3a3b32; }
button:disabled { opacity: 0.5; cursor: default; }
button.primary { background: #b07a10; border-color: #d9a030; color: #fff; font-weight: bold; width: 100%; margin-top: 12px; }
button.primary:hover { background: #c98c18; }
#menu-status { margin-top: 10px; min-height: 18px; color: #bbb; font-size: 13px; }
#menu-status.err { color: #ff7a6a; }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.row button { flex: 1 1 auto; }
.settings label { display: grid; grid-template-columns: 150px 1fr 48px; align-items: center; gap: 10px; font-size: 13px; }
.settings label.check { display: flex; }
.settings select { background: #0b0c09; color: #eee; border: 1px solid #444; border-radius: 4px; padding: 4px; grid-column: span 2; }
.settings input[type=range] { width: 100%; }
.teams { display: flex; gap: 12px; }
.teams button { flex: 1; padding: 28px 10px; font-size: 18px; font-weight: bold; }
.teams button small { display: block; font-size: 12px; font-weight: normal; color: #aaa; margin-top: 6px; }
.teams button.t { border-color: var(--t); color: var(--t); }
.teams button.ct { border-color: var(--ct); color: var(--ct); }

/* ------------------------------------------------ landing / server browser */
.landing { position: fixed; inset: 0; z-index: 20; overflow-y: auto; background: #0d0e0b; }
.landing-bg { position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(176, 122, 16, 0.22), transparent 60%),
    radial-gradient(900px 500px at 110% 110%, rgba(70, 110, 160, 0.18), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 4px); }
.landing-inner { position: relative; max-width: 1080px; margin: 0 auto; padding: clamp(24px, 6vh, 64px) 16px 40px; user-select: text; }
.brand { margin-bottom: 28px; }
.logo { font-size: clamp(44px, 8vw, 72px); font-weight: 900; letter-spacing: 3px; color: var(--hud); line-height: 1;
  text-shadow: 0 0 24px rgba(255, 176, 0, 0.25); }
.logo span { font-size: 0.32em; color: #bbb; letter-spacing: 2px; margin-left: 10px; font-weight: 600; vertical-align: middle; }
.tagline { color: #a9a596; margin: 10px 0 0; font-size: 15px; }
.landing-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .landing-grid { grid-template-columns: 1fr; } }
.card { background: rgba(22, 23, 19, 0.88); border: 1px solid var(--line); border-radius: 10px; padding: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.card-head h2 { margin: 0; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; color: #e9e6dc; }
.muted { color: #807c70; font-size: 12px; }
.nick { display: block; color: #bbb; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.nick input { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; background: #0b0c09; border: 1px solid #3c3b33;
  border-radius: 6px; color: #fff; font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; }
.nick input:focus { outline: none; border-color: #d9a030; }
.nick small { text-transform: none; letter-spacing: 0; color: #807c70; }

/* account box */
.account { margin-bottom: 14px; }
.acc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc-fields .nick { margin-bottom: 8px; }
.acc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.acc-actions button { padding: 7px 12px; font-size: 13px; }
.acc-actions .muted { flex: 1 1 220px; line-height: 1.4; }
.acc-actions .muted b { color: #bbb; }
.account.no-accounts .acc-only { display: none; }
.account.no-accounts .acc-fields { grid-template-columns: 1fr; }
.acc-user { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #0b0c09; border: 1px solid #3c3b33; border-radius: 6px; }
.acc-user b { color: var(--hud); }
.acc-user button { margin-left: auto; padding: 6px 12px; font-size: 12px; }
.acc-badge { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #9fd08a; border: 1px solid rgba(159, 208, 138, 0.4); border-radius: 3px; padding: 1px 5px; }
#acc-status { min-height: 16px; margin-top: 6px; font-size: 12px; color: #9fd08a; }
#acc-status.err { color: #ff7a6a; }
@media (max-width: 560px) { .acc-fields { grid-template-columns: 1fr; } }
.server-list { display: grid; gap: 10px; }
.server-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; text-align: left;
  padding: 14px; background: #1b1c17; border: 1px solid #34342c; border-radius: 8px; cursor: pointer; transition: border-color 0.15s, transform 0.15s, background 0.15s; }
.server-card:hover, .server-card:focus-visible { border-color: #d9a030; background: #22231c; outline: none; transform: translateY(-1px); }
.server-card:disabled { opacity: 0.6; transform: none; cursor: wait; }
.sc-mode { height: 64px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; letter-spacing: 1px; }
.sc-mode.hns { background: linear-gradient(135deg, #6b4a12, #b07a10); color: #fff3d6; }
.sc-mode.kz { background: linear-gradient(135deg, #1f3c5c, #3d73a8); color: #e3f0ff; }
.sc-name { font-size: 16px; font-weight: bold; color: #f1eee4; }
.sc-desc { color: #a29f92; font-size: 12.5px; margin: 4px 0 6px; line-height: 1.45; }
.sc-meta { color: #7d7a6e; font-size: 12px; }
.sc-side { text-align: right; white-space: nowrap; }
.sc-players { font-size: 22px; font-weight: bold; color: #f1eee4; }
.sc-players small { font-size: 12px; color: #8e8b7e; font-weight: normal; }
.sc-bots { font-size: 11px; color: #8e8b7e; }
.sc-join { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 5px; background: #b07a10; color: #fff; font-weight: bold; font-size: 13px; }
.server-card:hover .sc-join { background: #c98c18; }
@media (max-width: 520px) {
  .server-card { grid-template-columns: 48px minmax(0, 1fr); }
  .sc-mode { height: 48px; font-size: 14px; }
  .sc-side { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .sc-join { margin-top: 0; }
}
.help-card ul { margin: 0; padding-left: 18px; color: #b8b4a6; font-size: 13px; line-height: 1.6; }
.help-card li { margin-bottom: 6px; }
.tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab { background: none; border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 10px; color: #8e8b7e; font-size: 13px; }
.tab:hover { background: none; color: #ddd; }
.tab.active { color: var(--hud); border-bottom-color: var(--hud); }
#teammenu .kz-only, #teammenu.kz .hns-only, #teammenu.kz [data-team="AUTO"] { display: none; }
#teammenu.kz .kz-only { display: flex; }

.panel.wide { width: min(620px, 100%); }
.panel .hint { color: #aaa; font-size: 12px; margin: 0 0 12px; line-height: 1.6; }
#binds-table { width: 100%; border-collapse: collapse; font-size: 13px; }
#binds-table td { padding: 3px 4px; border-bottom: 1px solid var(--line); }
#binds-table td:first-child { color: #ccc; width: 44%; }
#binds-table button { width: 100%; padding: 5px 8px; font-size: 12px; background: #1b1c17; }
#binds-table button.empty { color: #666; }
#binds-table button.wait { background: #b07a10; border-color: #d9a030; color: #fff; }
button.primary-inline { background: #b07a10; border-color: #d9a030; color: #fff; font-weight: bold; }

@media (max-width: 600px) {
  .settings label { grid-template-columns: 1fr; }
  .teams { flex-direction: column; }
  .hud-num { font-size: 24px; }
  .hp-bar { width: 70px; }
  #hud-weapons { min-width: 0; }
  #hud-weapons .w span:not(.count):not(.slot) { display: none; }
  .sc-team { font-size: 16px; min-width: 50px; padding: 3px 8px; }
}
