.hud{--panel:#2f2250;--panel-hi:#43326f;--edge:#170f2e;--ink:#fff7e9;--muted:#cdbfe6;--teal:#147f86;--teal-hi:#2fc6cf;--gold:#f9b940;--coral:#e45155;color:var(--ink);-webkit-user-select:none;user-select:none;font-family:Bricolage Grotesque,DM Sans,ui-rounded,system-ui,sans-serif;font-size:15px;font-weight:800;line-height:1.2;position:absolute;inset:0}.hud [hidden]{display:none!important}.hud button{font:inherit;color:inherit}.hud-top{top:max(10px, env(safe-area-inset-top));left:max(10px, env(safe-area-inset-left));right:max(10px, env(safe-area-inset-right));justify-content:space-between;align-items:flex-start;gap:10px;display:flex;position:absolute}.hud-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hud-badge,.hud-panel,.hud-btn{background:var(--panel);border:3px solid var(--edge);box-shadow:0 4px 0 var(--edge);pointer-events:auto;border-radius:14px}.hud-badge{white-space:nowrap;align-items:center;gap:7px;padding:6px 12px;display:flex}.hud-badge b{font-variant-numeric:tabular-nums;font-size:20px}.hud-label{color:var(--muted);font-size:13px}.hud-ore b{color:var(--gold)}.hud-crystal b{color:#7fe6ff}.hud-crystal .hud-gem{background:#7fe6ff}.hud-rate{color:var(--muted);font-size:12px}.hud-gem{background:var(--gold);border:2px solid var(--edge);box-sizing:border-box;border-radius:5px;width:16px;height:16px;transform:rotate(45deg)scale(.85)}.hud-btn{cursor:pointer;padding:7px 14px;transition:transform 60ms,box-shadow 60ms,background .1s}.hud-btn:hover{background:var(--panel-hi)}.hud-btn:active{box-shadow:0 1px 0 var(--edge);transform:translateY(3px)}.hud-btn.active{background:var(--teal)}.hud-btn.active:hover{background:var(--teal-hi)}.hud-primary{background:var(--teal)}.hud-primary:hover{background:var(--teal-hi)}.hud-danger{background:#7d2a44}.hud-danger:hover{background:var(--coral)}.hud-round{text-align:center;width:38px;padding:7px 0}.hud-speed{min-width:52px}.hud-menu{top:calc(var(--top-h,54px) + 8px);right:max(10px, env(safe-area-inset-right));flex-direction:column;gap:8px;padding:10px;display:flex;position:absolute}.hud-notices{top:calc(var(--top-h,60px) + 12px);pointer-events:none;text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.hud-notice{background:var(--coral);border:3px solid var(--edge);box-shadow:0 4px 0 var(--edge);border-radius:12px;padding:6px 14px;animation:2.6s ease-out forwards hud-fade}@keyframes hud-fade{0%{opacity:0;transform:translateY(-8px)}8%{opacity:1;transform:none}70%{opacity:1}to{opacity:0}}.hud-help{width:min(440px,100vw - 32px);padding:18px 22px 20px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.hud-help h2,.hud-end h1{margin:0 0 10px;font-weight:800}.hud-help ol{gap:8px;margin:0 0 16px;padding-left:22px;font-weight:700;display:grid}.hud-help li::marker{color:var(--gold)}.hud-build{bottom:max(12px, env(safe-area-inset-bottom));left:max(12px, env(safe-area-inset-left));right:max(12px, env(safe-area-inset-right));pointer-events:none;justify-content:center;align-items:flex-end;gap:14px;display:flex;position:absolute}.hud-build-group{flex-direction:column;gap:4px;display:flex}.hud-build-label{background:var(--edge);color:var(--muted);text-transform:uppercase;letter-spacing:.08em;border-radius:8px 8px 0 0;align-self:flex-start;margin-left:4px;padding:1px 9px;font-size:11px}.hud-build-row{gap:8px;display:flex}.hud-build-btn{text-align:center;flex-direction:column;justify-content:flex-start;align-items:center;gap:3px;width:112px;height:104px;padding:10px 4px 6px;display:flex;position:relative}.hud-key{background:var(--gold);width:22px;height:22px;color:var(--edge);border:3px solid var(--edge);border-radius:8px;place-items:center;font-size:13px;display:grid;position:absolute;top:-11px;left:-9px}.hud-build-name{white-space:nowrap;font-size:14px}.hud-costs{justify-content:center;gap:8px;display:flex}.hud-cost{color:var(--gold);font-size:16px}.hud-cost:before{content:"";background:var(--gold);border:2px solid var(--edge);vertical-align:-1px;border-radius:3px;width:10px;height:10px;margin-right:4px;display:inline-block;transform:rotate(45deg)}.hud-cost-crystal{color:#7fe6ff}.hud-cost-crystal:before{background:#7fe6ff}.hud-role{color:var(--muted);font-size:11px;font-weight:700;line-height:1.15}.hud-build-btn.disabled{filter:grayscale(.9)brightness(.7);cursor:not-allowed}.hud-build-btn.disabled .hud-cost{color:var(--muted)}.hud-command{bottom:160px;right:max(12px, env(safe-area-inset-right));flex-direction:column;gap:8px;width:260px;padding:12px 14px;display:flex;position:absolute}.hud-command h3{margin:0;font-size:18px}.hud-row{align-items:center;gap:8px;display:flex}.hud-row>span{white-space:nowrap;color:var(--muted);font-size:13px}.hud-meter{border:3px solid var(--edge);box-sizing:content-box;background:#170f2e;border-radius:8px;flex:1;height:14px;overflow:hidden}.hud-meter i{background:#b4e885;border-radius:5px;height:100%;display:block}.hud-meter-build i{background:var(--gold)}.hud-line{font-size:15px}.hud-card-lines{flex-direction:column;gap:6px;display:flex}.hud-card-lines .hud-line{font-size:14px;line-height:1.25}.hud-tag{background:var(--edge);color:var(--muted);text-transform:uppercase;letter-spacing:.08em;border-radius:8px;align-self:flex-start;padding:1px 9px;font-size:11px}.hud-inspect[data-tag=Resource] .hud-tag{background:var(--gold);color:var(--edge)}.hud-inspect[data-tag=Base\ site] .hud-tag{background:var(--ink);color:var(--edge)}.hud-inspect[data-tag=Rival\ building] .hud-tag,.hud-inspect[data-tag=Rival\ unit] .hud-tag{background:var(--coral);color:var(--ink)}.hud-inspect[data-tag=Your\ building] .hud-tag,.hud-inspect[data-tag=Your\ unit] .hud-tag,.hud-inspect[data-tag=Home\ building] .hud-tag,.hud-inspect[data-tag=Home\ unit] .hud-tag{background:var(--teal);color:var(--ink)}.hud-hint{color:var(--muted);font-size:12px;font-weight:700}.hud-command .hud-actions{flex-wrap:wrap;justify-content:flex-end}.hud-upgrade{text-align:left;padding-left:20px;position:relative}.hud-upgrade.disabled{filter:grayscale(.9)brightness(.7);cursor:not-allowed}.hud-upgrade .hud-key{top:-10px;left:-10px}.hud-end{pointer-events:auto;background:#170f2e8c;place-items:center;display:grid;position:absolute;inset:0}.hud-end .hud-panel{text-align:center;padding:26px 44px 30px}.hud-end h1{font-size:56px}.hud-end .hud-row{justify-content:center;gap:12px}.hud-end [data-result=win] h1{color:var(--gold)}.hud-end [data-result=lose] h1{color:var(--coral)}@media (width<=900px){.hud{font-size:13px}.hud-build{flex-wrap:wrap;gap:8px}.hud-build-btn{width:78px;height:64px}.hud-role{display:none}.hud-build-name{font-size:11px}.hud-cost{font-size:13px}.hud-costs{gap:4px}.hud-command{width:200px;bottom:210px}}.hud-side{color:var(--teal-hi);text-transform:uppercase;letter-spacing:.04em;font-size:13px}.hud-start{pointer-events:auto;background:radial-gradient(circle at 50% 40%,#43326fbf,#170f2eeb);place-items:center;display:grid;position:absolute;inset:0}.hud-start-card{flex-direction:column;align-items:center;gap:22px;padding:0 16px;display:flex}.hud-start h1{text-align:center;color:var(--ink);text-shadow:0 5px 0 var(--edge);-webkit-text-stroke:3px var(--edge);paint-order:stroke fill;margin:0;font-size:clamp(34px,7vw,68px)}.hud-start-note{background:var(--panel);border:3px solid var(--edge);width:250px;box-shadow:0 6px 0 var(--edge);border-radius:18px;flex-direction:column;gap:10px;padding:16px 18px;display:flex;position:absolute;top:50%;right:24px;transform:translateY(-50%)}.hud-start-note-tag{background:var(--gold);color:var(--edge);text-transform:uppercase;letter-spacing:.05em;border-radius:999px;align-self:flex-start;padding:2px 10px;font-size:12px}.hud-start-note p{color:var(--muted);margin:0;font-size:15px;font-weight:600;line-height:1.4}@media (width<=1100px){.hud-start{align-content:center;gap:28px}.hud-start-note{width:min(420px,100% - 32px);position:static;transform:none}}.hud-start-buttons{flex-wrap:wrap;justify-content:center;gap:18px;display:flex}.hud-start-buttons .hud-btn{box-shadow:0 6px 0 var(--edge);border-radius:18px;padding:16px 34px;font-size:26px}.hud-setup{box-sizing:border-box;justify-content:flex-start;align-items:center;gap:14px;place-items:initial;flex-direction:column;padding:18px 16px 24px;display:flex;overflow-y:auto}.hud-setup h1{flex:none;font-size:clamp(32px,5vw,52px)}.hud-setup-body{justify-content:center;align-items:flex-start;gap:18px;width:100%;max-width:1240px;display:flex}.hud-setup-panel{box-shadow:0 6px 0 var(--edge);border-radius:18px;flex:0 920px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;min-width:0;padding:16px 18px 18px;display:grid}.hud-setup-col{flex-direction:column;gap:14px;min-width:0;display:flex}.hud-setup-section{flex-direction:column;gap:8px;display:flex}.hud-setup-label{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0;font-size:12px}.hud-setup-hint{color:var(--muted);margin:0;font-size:13px;font-weight:700;line-height:1.3}.hud-seg{flex-wrap:wrap;gap:6px;display:flex}.hud-setup .hud-seg-btn{min-width:52px;padding:8px 16px;font-size:17px}.hud-setup .hud-seg-small .hud-seg-btn{min-width:0;box-shadow:0 3px 0 var(--edge);border-radius:10px;padding:5px 10px;font-size:13px}.hud-seg-btn.disabled{filter:grayscale(.9)brightness(.6);cursor:not-allowed}.hud-setup-mode .hud-seg-btn{flex:1;font-size:20px}.hud-map-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;display:grid}.hud-map-card{text-align:left;border-radius:14px;align-items:center;gap:10px;min-width:0;padding:6px 8px;display:flex}.hud-map-card.active{background:var(--teal)}.hud-map-preview{border:3px solid var(--edge);background:var(--edge);box-sizing:border-box;border-radius:10px;flex:none;width:76px;height:76px}.hud-map-text{flex-direction:column;gap:3px;min-width:0;display:flex}.hud-setup .hud-map-name{font-size:16px}.hud-map-blurb{color:var(--muted);overflow-wrap:anywhere;font-size:12px;font-weight:700;line-height:1.2}.hud-map-card.active .hud-map-blurb,.hud-map-card.active .hud-map-meta{color:var(--ink)}.hud-map-meta{white-space:nowrap;color:var(--gold);text-transform:uppercase;letter-spacing:.04em;font-size:10px}.hud-map-legend{color:var(--muted);flex-wrap:wrap;gap:4px 12px;font-size:11px;display:flex}.hud-legend-item{align-items:center;gap:5px;display:inline-flex}.hud-legend-item i{border:2px solid var(--edge);border-radius:2px;width:10px;height:10px}.hud-legend-start{background:#fff7e9}.hud-legend-free{background:0 0;box-shadow:inset 0 0 0 2px #e45155}.hud-legend-ore{background:#f9b940}.hud-legend-crystal{background:#7fe6ff}.hud-legend-rock{background:#2a2238}.hud-seat-list{flex-direction:column;gap:6px;display:flex}.hud-seat{background:var(--edge);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px 6px 12px;display:flex}.hud-seat-name{font-size:15px}.hud-seat-note{color:var(--muted);font-size:12px;font-weight:700}.hud-seat-you .hud-seat-name{color:var(--teal-hi)}.hud-seat-all{background:0 0;padding:0}.hud-seat-all .hud-seat-name{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:12px}.hud-setup-start{justify-content:flex-end;margin-top:auto;display:flex}.hud-setup .hud-setup-go{box-shadow:0 6px 0 var(--edge);border-radius:18px;width:100%;padding:14px 30px;font-size:24px}.hud-setup .hud-start-note{flex:0 0 240px;position:static;transform:none}@media (width<=1100px){.hud-setup-body{flex-direction:column;align-items:center}.hud-setup-panel,.hud-setup .hud-start-note{box-sizing:border-box;flex:none;width:min(920px,100%)}}@media (width<=720px){.hud-setup-panel{grid-template-columns:minmax(0,1fr)}}.hud-standing{gap:8px}.hud-standing-state{color:#b4e885;font-size:13px}.hud-standing.defeated{filter:grayscale(.8)brightness(.75)}.hud-standing.defeated .hud-standing-state{color:var(--coral)}.hud-roster{top:calc(var(--top-h,54px) + 10px);left:max(10px, env(safe-area-inset-left));flex-direction:column;gap:6px;width:250px;padding:8px;display:flex;position:absolute}.hud-roster-row{background:var(--edge);border-radius:10px;flex-direction:column;gap:3px;padding:6px 8px;display:flex}.hud-roster-row.active{box-shadow:inset 0 0 0 3px var(--teal-hi)}.hud-roster-row.defeated{opacity:.55}.hud-roster-head{align-items:center;gap:6px;display:flex}.hud-roster-name{font-size:15px}.hud-roster-row.active .hud-roster-name{color:var(--teal-hi)}.hud-roster-style{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:11px;overflow:hidden}.hud-view-picker{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.hud-view-label{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-right:2px;font-size:11px}.hud-view-option{border-radius:8px;padding:3px 9px;font-size:12px;box-shadow:0 2px #000}.hud-view-option.active{background:var(--teal)}.hud-roster-nums{color:var(--muted);flex-wrap:wrap;gap:8px;font-size:12px;display:flex}.hud-roster-ore{color:var(--gold)}.hud-roster-crystal{color:#7fe6ff}.hud-notice-info{background:var(--teal)}.hud-end-sub{color:var(--muted);max-width:420px;margin:0 auto 16px;font-size:16px;font-weight:700}@media (width<=760px){.hud-roster{width:200px}}.hud-move{text-align:center;flex-direction:column;gap:5px;width:min(520px,100vw - 32px);padding:10px 14px;display:flex;position:absolute;bottom:150px;left:50%;transform:translate(-50%)}.hud-move-head{color:var(--gold);font-size:15px}.hud-warn{color:#ffd29a}.hud-bad{color:#ff9a9c}.hud-cycle{color:var(--gold)}.hud-swatch{border:2px solid var(--edge);vertical-align:-1px;box-sizing:content-box;border-radius:4px;flex:none;width:11px;height:11px;margin-right:6px;display:inline-block}.hud-roster-head .hud-swatch,.hud-standing .hud-swatch{margin-right:0}.hud-results-layer{box-sizing:border-box;align-items:start;padding:16px;overflow-y:auto}.hud-end .hud-results{box-sizing:border-box;text-align:left;width:min(1060px,100%);box-shadow:0 6px 0 var(--edge);border-radius:18px;flex-direction:column;gap:14px;margin:auto 0;padding:18px 20px 20px;display:flex}.hud-results-head{flex-wrap:wrap;align-items:baseline;gap:4px 16px;display:flex}.hud-end .hud-results h1{margin:0;font-size:clamp(30px,5vw,44px)}.hud-results[data-result=win] h1{color:var(--gold)}.hud-results[data-result=lose] h1{color:var(--coral)}.hud-results-sub{color:var(--muted);margin:0;font-size:14px;font-weight:700}.hud-results-body{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:16px 20px;display:grid}.hud-results-col{flex-direction:column;gap:8px;min-width:0;display:flex}.hud-results-col .hud-setup-label:not(:first-child){margin-top:6px}.hud-end .hud-results-buttons{flex-wrap:wrap;justify-content:flex-end;gap:10px}.hud-place{flex-direction:column;gap:5px;margin:0;padding:0;list-style:none;display:flex}.hud-place-row{background:var(--edge);border-radius:10px;align-items:center;gap:8px;padding:6px 10px;display:flex}.hud-place-row .hud-swatch{margin-right:0}.hud-place-n{width:34px;color:var(--muted);font-size:14px}.hud-place-row.winner .hud-place-n{color:var(--gold)}.hud-place-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:16px;overflow:hidden}.hud-place-row.viewer .hud-place-name{color:var(--teal-hi)}.hud-place-result{color:var(--muted);white-space:nowrap;font-size:13px}.hud-place-row.winner .hud-place-result{color:var(--gold)}.hud-results-table{background:var(--edge);border-radius:12px;padding:4px 6px 6px;overflow-x:auto}.hud-results-table table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:14px}.hud-results-table th,.hud-results-table td{text-align:right;white-space:nowrap;padding:5px 8px}.hud-results-table thead th{color:var(--ink);border-bottom:2px solid var(--panel-hi);font-size:13px}.hud-results-table .hud-stat-label{text-align:left;color:var(--muted);background:var(--edge);font-size:13px;position:sticky;left:0}.hud-results-table tbody tr:not(.hud-stat-sub)+tr:not(.hud-stat-sub) td,.hud-results-table tbody tr:not(.hud-stat-sub)+tr:not(.hud-stat-sub) th{border-top:1px solid #cdbfe61f}.hud-results-table td[title]{cursor:help}.hud-stat-toggle{cursor:pointer;color:var(--muted);text-align:left;background:0 0;border:0;padding:0;font-size:13px}.hud-stat-toggle:before{content:"▸";width:12px;color:var(--gold);transition:transform .1s;display:inline-block}.hud-stat-toggle[aria-expanded=true]:before{transform:rotate(90deg)}.hud-stat-toggle:hover{color:var(--ink)}.hud-stat-sub th,.hud-stat-sub td{color:var(--muted);padding-top:2px;padding-bottom:2px;font-size:12px;font-weight:700}.hud-results-table .hud-stat-sub .hud-stat-label{padding-left:22px}.hud-results-note{color:var(--muted);margin:6px 4px 2px;font-size:12px;font-weight:700}.hud-chart{background:var(--edge);border-radius:12px;flex-direction:column;gap:6px;padding:8px 8px 4px;display:flex}.hud-chart-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;display:flex}.hud-chart .hud-seg-btn{border-radius:10px;padding:4px 10px;font-size:13px;box-shadow:0 3px #000}.hud-chart-legend{color:var(--muted);flex-wrap:wrap;gap:4px 12px;font-size:12px;display:flex}.hud-chart-legend .hud-swatch{margin-right:5px}.hud-swatch-line{vertical-align:2px;border-width:1px;width:14px;height:4px}.hud-chart-plot{min-width:0;position:relative}.hud-chart-plot svg{touch-action:pan-y;display:block}.hud-chart-grid{stroke:#cdbfe624;stroke-width:1px}.hud-chart-base{stroke:#cdbfe673;stroke-width:1px}.hud-chart-axis{fill:var(--muted);font-family:inherit;font-size:11px;font-weight:700}.hud-chart-cross{stroke:#fff7e98c;stroke-width:1px;stroke-dasharray:3 3}.hud-chart-dot{stroke:var(--edge);stroke-width:2px}.hud-chart-tip{pointer-events:none;background:var(--panel);border:3px solid var(--edge);border-radius:10px;flex-direction:column;gap:3px;min-width:120px;padding:6px 9px;font-size:12px;display:flex;position:absolute;top:4px;left:0;box-shadow:0 3px #000}.hud-chart-tip-time{color:var(--muted)}.hud-chart-tip-row{align-items:center;gap:6px;display:flex}.hud-chart-tip-row .hud-swatch{margin-right:0}.hud-chart-tip-row span{flex:1}.hud-chart-tip-row b{font-variant-numeric:tabular-nums}@media (width<=820px){.hud-results-body{grid-template-columns:minmax(0,1fr)}.hud-results-layer{padding:10px}.hud-end .hud-results{padding:14px 12px}}.hud-replay-tag{background:var(--gold);color:var(--edge);text-transform:uppercase;letter-spacing:.06em;font-size:13px}.hud-seek{bottom:max(14px, env(safe-area-inset-bottom));box-sizing:border-box;align-items:center;gap:12px;width:min(760px,100vw - 24px);padding:8px 14px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.hud-seek-now{font-variant-numeric:tabular-nums;min-width:52px;font-size:18px}.hud-seek-end{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.hud-seek-range{min-width:0;accent-color:var(--teal-hi);cursor:pointer;flex:1;height:22px}.hud-results-btn.disabled{filter:grayscale(.9)brightness(.7);cursor:progress}.hud-setup-replay{justify-content:flex-end;display:flex}.hud-setup .hud-setup-load{width:100%;padding:9px 16px;font-size:16px}.hud-setup-replay-error{overflow-wrap:anywhere}@media (width<=760px){.hud-speed{min-width:0;padding:6px 9px}.hud-top .hud-btn{padding:6px 9px}.hud-seek{gap:8px;padding:6px 10px}.hud-seek-now{min-width:44px;font-size:15px}}.hud-panel-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.hud-panel-head h3{min-width:0}.hud-close{width:32px;height:32px;box-shadow:0 3px 0 var(--edge);border-radius:10px;flex:none;margin:-4px -6px 0 0;padding:0;font-size:20px;line-height:1}.hud-mode-buttons{flex-wrap:wrap;justify-content:center;margin-top:3px}.hud-mode-buttons .hud-btn.disabled{filter:grayscale(.9)brightness(.7)}.hud-roster-toggle{display:none}.hud-aim-bar{flex-flow:wrap;justify-content:center;align-items:center;gap:4px 12px}.hud-aim-bar .hud-mode-buttons{margin-top:0}.hud-close{font-size:22px}.hud{touch-action:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.hud.hud-setup,.hud-results-layer,.hud-help,.hud-command,.hud-build,.hud-roster{touch-action:pan-x pan-y;overscroll-behavior:contain}.hud-results-table{touch-action:pan-x pan-y}.hud-seek-range{touch-action:none}@media (pointer:coarse){.hud-btn{min-height:42px}.hud-round{width:42px}.hud-close{width:42px;height:42px}.hud-key{display:none}.hud-upgrade{padding-left:14px}.hud-view-option{min-height:40px;padding:6px 12px;font-size:13px}.hud-setup .hud-seg-small .hud-seg-btn,.hud-chart .hud-seg-btn{min-height:40px}.hud-seek-range{height:40px}}@media (width<=600px),(height<=500px){.hud{font-size:13px}.hud-top{top:max(6px, env(safe-area-inset-top));left:max(6px, env(safe-area-inset-left));right:max(6px, env(safe-area-inset-right));flex-wrap:wrap;gap:6px}.hud-group{gap:5px}.hud-badge{box-shadow:0 3px 0 var(--edge);box-sizing:border-box;border-radius:12px;gap:5px;min-height:36px;padding:3px 8px}.hud-badge b{font-size:16px}.hud-top .hud-label{display:none}.hud-rate{font-size:11px}.hud-gem{width:13px;height:13px}.hud-standing .hud-side,.hud-standing-state,.hud-replay-tag{font-size:11px}.hud-top .hud-btn{min-width:0;box-shadow:0 3px 0 var(--edge);border-radius:12px;padding:4px 9px}.hud-top .hud-round{width:42px}.hud-upgrade{padding-left:12px}.hud-build{padding:12px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));pointer-events:auto;scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;gap:12px;bottom:0;left:0;right:0;overflow-x:auto}.hud-build::-webkit-scrollbar{display:none}.hud-build-group{flex:none}.hud-build-label{display:none}.hud-build-row{gap:6px}.hud-build-btn{width:76px;height:58px;box-shadow:0 3px 0 var(--edge);border-radius:12px;flex:none;gap:2px;padding:6px 2px 4px}.hud-build-name{font-size:11px}.hud-cost{font-size:13px}.hud-role,.hud.hud-in-mode .hud-build,.hud.hud-in-mode .hud-command{display:none}.hud-command{left:max(8px, env(safe-area-inset-left));right:max(8px, env(safe-area-inset-right));bottom:max(8px, env(safe-area-inset-bottom));box-sizing:border-box;gap:6px;width:auto;max-height:44%;padding:10px 12px;overflow-y:auto}.hud.hud-has-build .hud-command{bottom:calc(86px + env(safe-area-inset-bottom))}.hud-command h3{font-size:16px}.hud-command .hud-actions{order:1;justify-content:flex-start;gap:6px}.hud-command .hud-upgrade-line{order:2}.hud-command .hud-role-line,.hud-command .hud-aim-hint{display:none}.hud-command .hud-btn{padding:5px 11px}.hud-command .hud-panel-head{min-height:38px;padding-right:40px}.hud-command .hud-close{margin:0;position:absolute;top:6px;right:6px}.hud-line{font-size:14px}.hud-meter{height:10px}.hud-move{bottom:max(8px, env(safe-area-inset-bottom));left:max(8px, env(safe-area-inset-left));right:max(8px, env(safe-area-inset-right));box-sizing:border-box;gap:4px;width:auto;padding:8px 10px;transform:none}.hud-move-head{font-size:14px}.hud-seek{bottom:max(6px, env(safe-area-inset-bottom))}.hud-roster{width:auto;max-width:min(300px,100% - 16px);left:max(6px, env(safe-area-inset-left));max-height:calc(100% - var(--top-h,54px) - 90px);box-sizing:border-box;gap:5px;padding:6px;overflow-y:auto}.hud-roster-toggle{border-radius:10px;align-self:flex-start;padding:4px 12px;font-size:12px;display:block;box-shadow:0 2px #000}.hud-roster.collapsed .hud-roster-row{display:none}.hud-help{box-sizing:border-box;max-height:calc(100% - 24px);padding:14px 16px 16px;overflow-y:auto}.hud-help h2{font-size:20px}.hud-help ol{gap:5px;margin-bottom:12px}.hud-help>.hud-btn{width:100%;position:sticky;bottom:0}.hud-end .hud-panel{margin:0 12px;padding:18px 16px 20px}.hud-end h1{font-size:36px}.hud-end .hud-row{flex-wrap:wrap}.hud-notices{width:calc(100% - 24px)}.hud-setup{padding:max(12px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left))}}@media (height<=500px) and (width>=601px){.hud-command{width:320px;max-height:calc(100% - var(--top-h,54px) - 16px);left:auto}.hud.hud-has-build .hud-command{max-height:calc(100% - var(--top-h,54px) - 102px)}.hud-move{width:min(560px,100% - 24px);left:50%;right:auto;transform:translate(-50%)}.hud-setup h1{font-size:30px}}@media (width<=420px){.hud-top .hud-rate{display:none}}
