/* ============ BATTLE HUD — "Fjord Chalk" re-skin (v2) ============
   Quiet slate-glass pills over the scene, clan colour only on numbers and banners, gold for
   the one thing you should press. Loaded after battle.css / touch.css / chalk.css. */
#battle-hud { --blue: #3f6fc7; --red: #c4432f; --gold: #f0c050; --glass: rgba(15, 20, 24, .56); --glass2: rgba(15, 20, 24, .72);
  font-family: var(--f-ui); }
#battle-hud *, #touch-ui * { font-family: var(--f-ui) !important; -webkit-text-stroke: 0 !important; }
#battle-hud .display, #in-title h1, .ic-name, .end-banner h1, .rs-head, .sk-name, #bh-callin, .el-name, .pl-title, #bh-banner, #sc-timer, #in-count {
  font-family: var(--f-disp) !important; font-weight: 800 !important; }
#battle-hud .blue { color: #8fb0ee; }
#battle-hud .red { color: #ef8a78; }

/* top centre: one glass scoreboard pill */
#bh-score { filter: none; gap: 0; border-radius: 12px; overflow: hidden; background: var(--glass); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2); }
#battle-hud .sc-team, #battle-hud .sc-mid { transform: none; border-radius: 0; background: none; height: 44px; padding: 0 14px; border: 0; }
#battle-hud .sc-team > *, #battle-hud .sc-mid > * { transform: none; }
#battle-hud .sc-team .sc-name { font-size: 13px; font-weight: 700; letter-spacing: .12em; opacity: .85; text-shadow: none; }
#battle-hud .sc-team.blue .sc-val { color: #8fb0ee; }
#battle-hud .sc-team.red .sc-val { color: #ef8a78; }
#battle-hud .sc-val { font-size: 28px; font-weight: 700; text-shadow: none; }
#battle-hud .sc-mid { min-width: 96px; border-left: 1px solid rgba(255, 255, 255, .14); border-right: 1px solid rgba(255, 255, 255, .14); }
#battle-hud #sc-timer { font-size: 22px; color: var(--gold); }
#battle-hud #sc-timer.urgent { color: #ff8a6c; animation: none; }
#battle-hud #sc-sub { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: #aab3b8; }
#battle-hud .pg { height: 4px; box-shadow: none; }
#battle-hud .flag-chip { width: 30px; height: 30px; }
#battle-hud .flag-ring { transform: none; border-radius: 8px; }
#battle-hud .flag-core { transform: none; inset: 0; border-radius: 7px; border: 2px solid rgba(255, 255, 255, .6); box-shadow: none; background: rgba(255, 255, 255, .1); }
#battle-hud .flag-core span { transform: none; font-size: 15px; font-weight: 700; text-shadow: none; }
#battle-hud .flag-chip.blue .flag-core { background: var(--blue); border-color: var(--blue); }
#battle-hud .flag-chip.red .flag-core { background: var(--red); border-color: var(--red); }
#battle-hud #bh-objective { font-size: 14px; font-weight: 700; letter-spacing: .1em; background: var(--glass); border-radius: 10px; padding: 5px 14px; text-shadow: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* minimap: a round glass lens; kill feed: small glass rows */
#battle-hud #bh-mapwrap { border-radius: 50%; border: 2px solid rgba(255, 255, 255, .28); box-shadow: 0 4px 16px rgba(0, 0, 0, .25); }
#battle-hud .feed-row { background: rgba(15, 20, 24, .5); border-radius: 7px; font-size: 13px; font-weight: 600; padding: 3px 9px; border: 0; }
#battle-hud .feed-row.me { background: rgba(240, 192, 80, .2); box-shadow: inset 0 0 0 1px rgba(240, 192, 80, .55); }

/* crosshair + damage numbers */
#battle-hud #crosshair i { box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
#battle-hud #hitmarker i { background: #fff; box-shadow: none; }
#battle-hud #hitmarker.crit i { background: var(--gold); }
#battle-hud #hitmarker.kill i { background: #ff7a5c; }
#battle-hud .dmgnum { font-weight: 700; font-size: 22px; text-shadow: 0 2px 6px rgba(0, 0, 0, .55); }
#battle-hud .dmgnum.crit { color: var(--gold); font-size: 28px; }
#battle-hud .hbar i { height: 5px; border: 0; background: rgba(15, 20, 24, .6); }
#battle-hud .hbar u { background: #ef6a4f; }
#battle-hud .hbar span { font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }

/* vitals: glass card, segmented health, thin stamina/ability line */
#battle-hud #bh-vitals { padding: 8px 12px 10px; border-radius: 12px; background: var(--glass); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); width: 250px; }
#battle-hud .vt-name { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #d9dcd6; text-shadow: none; }
#battle-hud .vt-ability { font-size: 11px; font-weight: 700; letter-spacing: .08em; border-radius: 6px; background: rgba(255, 255, 255, .1); }
#battle-hud .vt-ability.ready { background: var(--gold); color: #1b2227; }
#battle-hud .vt-bar { overflow: visible; transform: none; height: 12px; border: 0; border-radius: 4px; box-shadow: none; background: rgba(255, 255, 255, .14); }
#battle-hud #vt-hp { background: #9be07a; }
#battle-hud #vt-hp::after { background: repeating-linear-gradient(90deg, transparent 0 calc(14.285% - 2px), rgba(15, 20, 24, .85) calc(14.285% - 2px) 14.285%); }
#battle-hud #vt-hp-num { transform: none; top: -20px; right: 0; line-height: 16px; font-size: 16px; font-weight: 700; text-shadow: none; }
#battle-hud #bh-vitals.low #vt-hp { background: #ef6a4f; }
#battle-hud #bh-vitals.low .vt-bar { animation: none; box-shadow: 0 0 0 1px #ef6a4f; }
#battle-hud .vh-bar { transform: none; border: 0; background: rgba(255, 255, 255, .14); }
#battle-hud #vt-ammo { font-size: 12px; font-weight: 600; color: #c9d0d2; text-shadow: none; }
#battle-hud #bh-glory { font-weight: 700; color: var(--gold); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }

/* hotbar: glass tiles, gold edge on the one in your hand */
#battle-hud .slot { border-radius: 12px; border: 2px solid rgba(255, 255, 255, .12); background: var(--glass) !important; box-shadow: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#battle-hud .slot.sel { border-color: var(--gold); transform: none; box-shadow: 0 0 0 3px rgba(240, 192, 80, .18); }
#battle-hud .slot.uncommon { box-shadow: inset 0 -3px 0 #6fbf4f; }
#battle-hud .slot.rare { box-shadow: inset 0 -3px 0 #5a8de0; }
#battle-hud .slot.epic { box-shadow: inset 0 -3px 0 #a57ad8; }
#battle-hud .slot.legendary { box-shadow: inset 0 -3px 0 var(--gold); }
#battle-hud .slot.sel.uncommon, #battle-hud .slot.sel.rare, #battle-hud .slot.sel.epic, #battle-hud .slot.sel.legendary { box-shadow: 0 0 0 3px rgba(240, 192, 80, .18); }
#battle-hud .slot.callin { border-color: var(--gold); animation: none; box-shadow: 0 0 14px rgba(240, 192, 80, .45); }
#battle-hud .slot .ico svg.ic { filter: none; }
#battle-hud .slot .nm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 0 3px; font-size: 10px; font-weight: 700; letter-spacing: .02em; text-shadow: none; }
@media (max-height: 520px) { #battle-hud .slot .nm { font-size: 8.5px; } #battle-hud .slot { width: 58px; } }
#battle-hud .slot .ammo, #battle-hud .slot .k { font-weight: 700; text-shadow: none; }
#battle-hud .lad { transform: none; border-radius: 10px; border: 0; background: var(--glass); }
#battle-hud .lad > * { transform: none; }
#battle-hud .lad.ready { background: rgba(240, 192, 80, .22); box-shadow: inset 0 0 0 2px var(--gold); animation: none; }
#battle-hud .lad-name { font-weight: 700; }
#battle-hud #bh-prompt, html.touch #battle-hud #bh-prompt { background: var(--glass2); border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: .04em; }

/* toasts, banners, streaks: big serif, no cartoon stroke */
#battle-hud .toast { font-weight: 700; letter-spacing: .1em; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
#battle-hud #bh-banner { font-size: 34px; letter-spacing: .04em; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
#battle-hud .sk-name { letter-spacing: .02em; text-shadow: 0 2px 16px rgba(0, 0, 0, .5), 0 0 30px rgba(240, 192, 80, .45); }
#battle-hud .el-name { text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
#battle-hud #bh-callin { letter-spacing: .04em; text-shadow: 0 4px 24px rgba(0, 0, 0, .45), 0 0 60px rgba(255, 190, 110, .8); }

/* intro: letterbox title + glass army cards with a clan edge */
#battle-hud #in-title h1 { font-size: 72px; letter-spacing: .02em; text-transform: none; text-shadow: 0 4px 30px rgba(0, 0, 0, .55); }
#battle-hud #in-title h2 { font-size: 18px; font-weight: 500; letter-spacing: .06em; }
#battle-hud #in-card, #battle-hud #in-card.red { transform: translateX(-40px); border-radius: 14px; background: var(--glass2) !important; box-shadow: inset 4px 0 0 var(--blue);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#battle-hud #in-card.red { transform: translateX(40px); box-shadow: inset -4px 0 0 var(--red); }
#battle-hud #in-card.show { transform: none; }
#battle-hud #in-card > * { transform: none; }
#battle-hud .ic-k { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--gold) !important; }
#battle-hud .ic-name { font-size: 40px; text-transform: none; text-shadow: none; }
#battle-hud .ic-n { font-weight: 700; }
#battle-hud #in-count { text-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
#battle-hud #in-count.go { color: var(--gold); letter-spacing: .04em; }

/* end screen */
#battle-hud .end-banner h1 { font-size: 96px; letter-spacing: .02em; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
#battle-hud #bh-end.win .end-banner h1 { background: none; color: var(--gold); }
#battle-hud #bh-end.lose .end-banner h1 { color: #ef8a78; }
#battle-hud .end-stats .stat { transform: none; border: 0; border-radius: 12px; background: var(--glass2); }
#battle-hud .end-stats .stat > * { transform: none; }
#battle-hud .end-stats b { font-weight: 700; }
#battle-hud #bh-end .big-btn { border-radius: 12px; background: var(--gold); color: #1b2227 !important; box-shadow: inset 0 -3px 0 #99723a; font-weight: 700; letter-spacing: .08em; }

/* respawn shop + shore planning: dark ink panels, gold choices */
#battle-hud .rs-panel, #battle-hud #bh-plan { background: rgba(27, 34, 39, .94); border: 0; border-radius: 18px; }
#battle-hud .rs-head { color: #ef8a78; letter-spacing: .02em; text-shadow: none; }
#battle-hud .sh-opt, #battle-hud .pl-piece, #battle-hud .rs-pt { background: #2c363c; border: 2px solid transparent; transform: none; }
#battle-hud .rs-pt > * { transform: none; }
#battle-hud .sh-opt.sel, #battle-hud .pl-piece.sel, #battle-hud .rs-pt.sel { border-color: var(--gold); background: rgba(240, 192, 80, .14); }
#battle-hud .sh-txt b, #battle-hud .pl-piece b { font-weight: 700; }
#battle-hud .rs-deploy { border-radius: 12px; background: var(--gold); color: #1b2227; box-shadow: inset 0 -3px 0 #99723a; font-weight: 700; letter-spacing: .08em; }
#battle-hud .rs-deploy.wait { background: #4a555b; color: #d9dcd6; box-shadow: none; }
#battle-hud .tac-zone, #battle-hud .tac-sq { border-width: 2px; background: var(--glass2); }

/* touch controls: glass circles, the attack ring in gold */
html.touch .tc-btn { border: 2px solid rgba(255, 255, 255, .32); background: rgba(15, 20, 24, .42); box-shadow: none; }
html.touch #tc-attack { background: rgba(15, 20, 24, .5); border: 3px solid #f0c050; }
html.touch #tc-attack.on { background: rgba(240, 192, 80, .35); }
html.touch #tc-pause { border-radius: 12px; }
html.touch #tc-stick .tc-base { border-color: rgba(255, 255, 255, .28); background: rgba(15, 20, 24, .2); }
html.touch #tc-stick .tc-knob { background: rgba(243, 238, 226, .45); }
html.touch #tc-stick.sprint .tc-base { border-color: #f0c050; }

@media (max-height: 520px) {
  #bh-score { transform: translateX(-50%) scale(.82); }
  #battle-hud #bh-vitals { width: 200px; padding: 6px 10px 8px; }
  #battle-hud #vt-hp-num { font-size: 13px; top: -16px; }
  #battle-hud .vt-bar { height: 9px; }
  #battle-hud #in-title h1 { font-size: 40px; }
  #battle-hud .ic-name { font-size: 26px; }
  #battle-hud .end-banner h1 { font-size: 54px; }
}
