*{box-sizing:border-box}html,body{color:#f4f0e0;touch-action:none;-webkit-user-select:none;user-select:none;background:#14182a;height:100%;margin:0;font:700 13px/1.3 Courier New,ui-monospace,monospace;overflow:hidden}canvas{image-rendering:pixelated;image-rendering:crisp-edges}#game{position:fixed;inset:0}#hud{z-index:5;background:#1a1420e8;border-bottom:3px solid #f4f0e0;flex-wrap:wrap;align-items:center;gap:8px;padding:4px 6px;display:none;position:fixed;top:0;left:0;right:0}.hco{border-left:4px solid;align-items:center;gap:6px;padding-left:4px;display:flex}.hname{font-size:14px}.portrait{border:2px solid #1a1420;width:32px;height:32px}.portrait.big{border-width:3px;width:72px;height:72px}.hstat{text-align:center;min-width:56px}.big{font-size:16px}.small{opacity:.85;font-size:10px}.hmeter{flex:1;min-width:110px}.fill{background:#ffb030;height:100%}.fill.full{background:repeating-linear-gradient(90deg,#ffe060 0 6px,#ff8020 6px 12px);animation:.5s steps(2,end) infinite pulse}@keyframes pulse{50%{filter:brightness(1.4)}}.hbtn,.mbtn{font:inherit;color:#1a1420;cursor:pointer;background:#f4f0e0;border:3px solid #1a1420;border-radius:0;min-height:36px;padding:6px 10px;box-shadow:inset -3px -3px #b8b0a0}.hbtn:disabled,.mbtn:disabled{opacity:.4;cursor:default}.mbtn:focus,.hbtn:focus{background:#fff6c0;outline:3px solid #ffe060}.mbtn{text-align:left;width:100%;margin:4px 0;display:block}.mbtn.small{width:auto;min-height:28px;margin:2px;padding:3px 8px;display:inline-block}.hint{float:right;opacity:.7;margin-left:12px;font-size:11px}.activepow{text-align:center;color:#1a1420;background:#ffe060;width:100%;padding:2px;animation:1s steps(2,end) infinite pulse}#objective{opacity:.8;z-index:4;pointer-events:none;font-size:10px;position:fixed;bottom:4px;left:6px}#info{z-index:4;width:214px;max-height:calc(100% - 80px);padding:6px;display:none;position:fixed;top:70px;right:6px;overflow:auto}.ibox{border:2px solid #6a7090;margin-bottom:4px;padding:4px}.ititle{color:#ffe060}#tut{background:#24402a;border-color:#a0f0a0;margin-top:4px;padding:6px;font-size:12px;display:none}#menu{z-index:20;min-width:200px;max-width:320px;max-height:90%;padding:6px;display:none;position:fixed;overflow:auto}#menu.right{top:80px;right:240px}#menu.left{top:80px;left:10px}.mtitle{color:#ffe060;margin-bottom:4px}.menuinfo{border-top:2px solid #6a7090;min-height:48px;margin-top:6px;padding-top:4px;font-size:11px}#toasts{z-index:30;pointer-events:none;position:fixed;top:80px;left:50%;transform:translate(-50%)}.toast{text-align:center;margin:4px;padding:6px 12px}#banner{z-index:25;background:#0006;justify-content:center;align-items:center;display:none;position:fixed;inset:0}.turnban,.powban{background:#1a1420;border-top:4px solid #f4f0e0;border-bottom:4px solid #f4f0e0;justify-content:center;align-items:center;gap:12px;width:100%;padding:12px 28px;animation:.3s steps(6,end) slide;display:flex}.banner.p0 .turnban{background:#7a5a18}.banner.p1 .turnban{background:#1f5a50}.banner.pow .powban{color:#1a1420;background:#ffe060}body.cb .banner.p0 .turnban{background:#8a6a00}body.cb .banner.p1 .turnban{background:#3a1f70}.pname{font-size:24px}@keyframes slide{0%{transform:translate(-100%)}}#dialog{z-index:40;cursor:pointer;gap:10px;width:min(640px,96%);padding:8px;display:none;position:fixed;bottom:10px;left:50%;transform:translate(-50%)}.dtext{flex:1}.dname{color:#ffe060;margin-bottom:4px}.dnext{text-align:right;animation:.6s steps(2,end) infinite pulse}#battle{z-index:22;background:#0008;justify-content:center;align-items:center;display:none;position:fixed;inset:0}#battle canvas{border:4px solid #f4f0e0;width:min(96vw,164.5vh);box-shadow:0 0 0 4px #1a1420}#screen{z-index:30;background:radial-gradient(#2a3a70,#14182a);justify-content:center;align-items:center;display:none;position:fixed;inset:0}.scr{min-width:300px;max-width:min(720px,96vw);max-height:96vh;padding:12px 16px;overflow:auto}.logo{text-align:center;color:#ffb030;text-shadow:3px 3px #9a4a10,6px 6px #1a1420;letter-spacing:4px;font-size:44px;line-height:.95}.tag{text-align:center;color:#9fd0ff;margin:6px 0}.titleart{justify-content:center;gap:4px;margin:6px 0;display:flex}.tunit.flip{transform:scaleX(-1)}.foot{text-align:center;margin-top:6px}h2{color:#ffe060;margin:4px 0 8px;font-size:18px}h3{color:#9fd0ff;margin:8px 0 4px}.rules p{margin:4px 0 8px;font-weight:400}.utable,.stats{border-collapse:collapse;width:100%;font-size:11px}.utable td,.utable th,.stats td,.stats th{border:1px solid #4a5070;padding:2px 4px}.uicon{width:32px;height:32px}.grid2{grid-template-columns:1fr 1fr;gap:0 8px;display:grid}.campmap,.minimap{object-fit:contain;border:3px solid #1a1420;width:100%;max-height:34vh;margin:4px 0}.brief{align-items:center;gap:10px;display:flex}.corow{align-items:center;gap:10px;margin:8px 0;display:flex}.form label{margin:4px 0;display:block}.form select{font:inherit;min-height:32px;padding:4px}.chk input{vertical-align:middle;width:18px;height:18px}textarea{width:100%;font:11px monospace}.slot{margin:4px 0}@media (width<=900px){#info{gap:4px;width:auto;max-height:54px;padding:2px;font-size:10px;display:flex;inset:auto 0 0;overflow-x:auto}#info .ibox{min-width:150px;margin:0}#info .small{display:none}#menu.right{top:56px;right:8px}#objective{display:none}#tut{width:260px;margin:0;position:fixed;top:56px;left:4px}.portrait.big{width:48px;height:48px}.hstat{min-width:44px}.big{font-size:13px}.hbtn{min-height:30px;padding:4px 6px}.logo{font-size:32px}.scr{padding:8px}}@media (orientation:portrait) and (width<=700px){#rotate{z-index:99;background:#14182a;justify-content:center;align-items:center;font-size:18px;display:flex;position:fixed;inset:0}}.pt{display:inline}.pw{image-rendering:pixelated;vertical-align:middle;margin:1px 0}.psp{display:inline-block}.mbtn .pt,.hbtn .pt{pointer-events:none}.sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}#hintbar{z-index:4;pointer-events:none;text-align:center;background:#1a1420c0;max-width:70%;padding:2px 8px;font-size:10px;position:fixed;bottom:4px;left:50%;transform:translate(-50%)}.pbar{background:#000;border:1px solid #f4f0e0;height:6px;margin:2px 0;position:relative}.pfill{height:100%}.ploss{background:#ff4040;height:100%;animation:.5s steps(2,end) infinite pulse;position:absolute;top:0}@media (width<=900px){#hintbar{max-width:96%;bottom:58px}}.powfx{z-index:24;pointer-events:none;background:repeating-conic-gradient(from 0deg,var(--c) 0 10deg,transparent 10deg 20deg);mix-blend-mode:screen;opacity:0;animation:1.4s steps(10,end) forwards powfx;position:fixed;inset:0}@keyframes powfx{0%{opacity:0;transform:scale(.4)rotate(0)}20%{opacity:.55}to{opacity:0;transform:scale(2.2)rotate(40deg)}}@media (pointer:coarse){.mbtn{min-height:44px}.hbtn{min-width:56px;min-height:40px}}body.bigui .mbtn{min-height:52px;font-size:16px}body.bigui .hbtn{min-height:46px;padding:6px 12px}body.bigui #info{font-size:15px}.mbtn:focus-visible,.hbtn:focus-visible{outline-offset:2px;outline:3px dashed #ffe060}.charts{flex-wrap:wrap;justify-content:center;gap:6px;margin:6px 0;display:flex}body[data-weather=rain]:after,body[data-weather=snow]:after{content:"";pointer-events:none;z-index:5;opacity:.35;position:fixed;inset:0}body[data-weather=rain]:after{background:repeating-linear-gradient(105deg,#0000 0 14px,#9cc4ff55 14px 15px) 0 0/60px 60px;animation:.5s linear infinite wx}body[data-weather=snow]:after{background:radial-gradient(#fff 1px,#0000 1.6px) 0 0/22px 22px,radial-gradient(#fff 1px,#0000 1.6px) 11px 7px/31px 31px;animation:4s linear infinite wx}@keyframes wx{to{background-position:-20px 60px,-10px 62px}}body.reduced[data-weather]:after,body.lowpower[data-weather]:after{animation:none}.bark{z-index:40;pointer-events:none;border:2px solid;align-items:center;gap:8px;max-width:min(420px,80vw);padding:6px 10px;animation:.2s ease-out barkin;display:flex;position:fixed;bottom:64px;left:12px}.bark.right{left:auto;right:12px}.bark .portrait{width:40px;height:40px}@keyframes barkin{0%{opacity:0;transform:translateY(12px)}}body.reduced .bark{animation:none}body.hc .panel{background:#000;border-color:#fff;box-shadow:0 0 0 3px #000}body.hc .mbtn{color:#000;background:#fff;border:3px solid #000;outline:2px solid #fff}body.hc .mbtn:focus,body.hc .mbtn:hover{background:#ffe000;outline:3px solid #ffe000}body.hc #hud,body.hc #hintbar{color:#fff;background:#000}body.hc .small,body.hc .hint{color:#fff;opacity:1}.tabs{justify-content:center;gap:6px;margin-bottom:6px;display:flex}.mbtn.on{outline:3px solid #ffd040}.intel{text-align:left;gap:10px;max-width:860px;display:flex}.ulist{grid-template-columns:1fr 1fr;align-content:start;gap:3px;display:grid}.ulist .mbtn{align-items:center;gap:4px;margin:0;padding:2px 6px;display:flex}.ico{width:24px;height:24px}.bigico{width:64px;height:64px}.udetail{flex:1;min-width:260px}.uhead{align-items:center;gap:10px;display:flex}.mrow{grid-template-columns:140px 1fr 44px;align-items:center;gap:6px;margin:2px 0;display:grid}.mbar{background:#ffb040;border:1px solid #000;height:8px;display:block}@media (width<=700px){.intel{flex-direction:column}}@media (width>=760px){.form{grid-template-columns:repeat(2,auto);justify-content:center;align-items:center;gap:2px 18px;display:grid}}.slot{align-items:center;gap:8px;display:flex}.slot .thumb{image-rendering:pixelated;border:2px solid #000;flex:none;max-width:96px;height:auto}.edtop{flex-wrap:wrap;justify-content:center;gap:6px 12px;display:flex}.edtop input{font:inherit;width:70px;padding:3px}.edtop input[type=text]{width:180px}.edown{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:4px 0;display:flex}.edpal{flex-wrap:wrap;justify-content:center;gap:2px;max-width:760px;display:flex}.edt{min-width:34px;min-height:34px;margin:0;padding:2px}.edwrap{justify-content:center;margin:6px 0;display:flex}.edmap{width:min(92vw,760px);height:auto;image-rendering:pixelated;touch-action:none;cursor:crosshair;border:2px solid #000}.edstatus.bad{color:#ff9080}.edstatus.good{color:#90ff90}.edbtns{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.arctabs{justify-content:center;gap:6px;margin:4px 0;display:flex}.arctabs .mbtn.on{outline:2px solid #ffe070}.stgrid{grid-template-columns:1fr 1fr;gap:4px;display:grid}.strow{align-items:center;gap:4px;display:flex}.strow .mbtn.on{outline:2px solid #ffe070}html,body{overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}#game canvas{touch-action:none}#hud{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}#hintbar{padding-bottom:env(safe-area-inset-bottom)}#screen{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.mbtn.install{background:#ffe070}@media (pointer:coarse){.mbtn{min-height:44px}#menu button{min-width:140px;min-height:48px;font-size:1.05em}.strow .mbtn{min-height:40px}input[type=range]{height:32px}}@media (pointer:coarse) and (height<=500px){#screen h2{margin:2px 0}.grid2{gap:4px}}.galgrid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.galbtn{cursor:pointer;color:#f4f0e0;background:#1a1420;border:2px solid #f4f0e0;padding:2px}.galscene{width:100%;image-rendering:pixelated;display:block}.galtiles{flex-wrap:wrap;justify-content:center;gap:3px;margin:6px 0;display:flex}.galtile{width:40px;height:40px;image-rendering:pixelated}html,body{color:#273b42;background:#283b46;font:600 14px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}.panel{background:#f0ead6;border:2px solid #61736a;border-radius:3px;box-shadow:0 3px #182b3266}#hud{color:#273b42;background:#f0ead6;border-bottom:2px solid #61736a;gap:12px;padding:6px 10px}.hname{font-size:16px;font-weight:800}.hstat .big{font-variant-numeric:tabular-nums;font-size:19px}.small{opacity:1;color:#53645d;font-size:12px}.hco{border-left-width:5px}.portrait{border-color:#61736a}.bar{background:#d3d7bc;border:1px solid #78866a;height:9px}.fill,.fill.full{background:#b58c45;animation:none}.hbtn,.mbtn{color:#273b42;background:#faf5e6;border:1px solid #718375;border-radius:3px;min-height:40px;padding:8px 12px;box-shadow:0 2px #bac3ad}.hbtn:disabled,.mbtn:disabled{opacity:.5}.hbtn.glow{background:#e5c982;animation:none}.hbtn:focus,.mbtn:focus,.hbtn:focus-visible,.mbtn:focus-visible{outline-offset:2px;background:#fff7d7;outline:3px solid #447b91}.hbtn:hover,.mbtn:hover{background:#e2e8ce}.mbtn.small{min-height:34px}.hint{opacity:1;color:#596b62;font-size:12px}.mbtn:active{transform:translateY(1px)}#info{width:214px;padding:8px;top:78px}.ibox{background:#faf6e9;border:1px solid #a5b199;margin-bottom:7px;padding:7px}.ititle,.mtitle,.dname,h2{color:#345e67;font-weight:800}.preview{background:#f5e1cf;border-color:#ad6a51}#tut{background:#e6edce;border-color:#879b6f}.menuinfo{border-color:#a5b199;font-size:12px}.activepow{color:#273b42;background:#e5c982;padding:4px;animation:none}.ploss{background:#bd6850;animation:none}#screen{background:#283b46}.scr{padding:20px 24px}.logo{letter-spacing:2px;color:#34535a;text-shadow:none;font-size:40px;font-weight:900;line-height:1.1}.tag{color:#65775e;margin:12px 0}.titleart{gap:12px;margin:14px 0}.tunit{width:48px;height:48px}h3{color:#466f76}#hintbar{color:#344c50;background:#f0ead6;border-radius:3px;max-width:72%;padding:4px 10px;font-size:12px;bottom:7px}#objective{color:#f0ead6;opacity:1;font-size:12px;bottom:9px}.turnban,.powban{border-width:2px;animation:none}.dnext{animation:none}.powfx,body[data-weather]:after{display:none!important}.pbar{background:#c9cfb9;border-color:#84917d}.hbtn.on{background:#e3b59c}.utable td,.utable th,.stats td,.stats th{border-color:#acb89d;padding:4px}.utable,.stats{font-size:12px}.galbtn{color:#273b42;background:#e0e8ce;border-color:#718375}.form select,.edtop input,textarea{color:#273b42;font:inherit;background:#fffaf0;border:1px solid #87987b;border-radius:2px}.form label{margin:6px 0}.bark{background:#f0ead6}body.reduced *,body.reduced :before,body.reduced :after{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (width<=900px){#hud{gap:7px;padding:4px 6px}.hname{font-size:13px}.hstat .big{font-size:15px}.hbtn{min-height:36px;padding:5px 9px}.small{font-size:11px}#info{width:auto;max-height:58px;padding:3px;font-size:12px;top:auto}#info .ibox{min-width:155px;margin:0;padding:3px 8px}#hintbar{max-width:94%;font-size:11px;bottom:62px}.scr{padding:12px}.logo{font-size:30px}.hint{font-size:11px}}body.hc .panel,body.hc .ibox{color:#fff;background:#101820;border-color:#fff}body.hc .ititle,body.hc .mtitle,body.hc h2,body.hc .dname{color:#ffe08a}body.hc .hbtn{color:#000;background:#fff}body.hc .small,body.hc .hint{color:inherit}body.hc .hname{color:#fff!important}#rotate{color:#f0ead6;background:#283b46}.turnban{color:#f0ead6}.powban{color:#273b42}.hnext{white-space:nowrap;justify-content:center;align-items:center;gap:6px;display:inline-flex}.ready-count{font-variant-numeric:tabular-nums;background:#e2e8ce;border:1px solid #84917d;border-radius:3px;min-width:1.5em;padding:0 4px}body.hc .ready-count{color:#fff;background:#000;border-color:#fff}@media (width<=700px){#hud{gap:5px}.hbtn{padding:5px 7px}.hnext{gap:4px}.hmeter{min-width:90px}.ready-count{padding:0 3px}}.campaign-dispatch{color:#273b42;text-align:left;background:#e6dfc6;border-left:3px solid #718b9c;max-width:640px;margin:12px auto;padding:10px 12px;line-height:1.5}body.hc .campaign-dispatch{color:#fff;background:#101820;border-color:#fff}@media (width>=901px){#objective{color:#344c50;background:#f0ead6;border:1px solid #879889;border-radius:3px;max-width:min(560px,65vw);padding:6px 10px;line-height:1.4;bottom:48px;left:8px}#hintbar{max-width:76%;line-height:1.4;bottom:7px}}.rules .ibox{line-height:1.55}.rules .ibox p{margin:8px 0}.rules .ibox h3{margin:4px 0 10px}.objective-details{margin:10px 0;line-height:1.5}.objective-details summary{cursor:pointer;color:#486b66;padding:6px 0}.objective-details li{margin:6px 0}.campaign-next{background:#e7e3cd;border:1px solid #a1ad96;border-radius:5px;padding:8px 14px}#screen{color:#f3ffe4;background:#000}#screen .scr{box-shadow:none;color:#f3ffe4;background:#10140c;border-color:#314016}#screen .logo{color:#c6ff1a;text-shadow:none;letter-spacing:2px}#screen h2,#screen h3,#screen .ititle,#screen .mtitle{color:#e8ffb0}#screen .tag,#screen .small,#screen .hint,#screen .foot{color:#c6d7a4}#screen .mbtn{color:#f3ffe4;box-shadow:none;background:#1a240c;border-color:#314016}#screen .mbtn:hover,#screen .mbtn:focus-visible{color:#f3ffe4;background:#25350e;outline-color:#c6ff1a}#screen .mbtn.on,#screen .cutscene-toggle[aria-pressed=true]{border-color:#c6ff1a;outline-color:#c6ff1a}#screen select,#screen textarea,#screen input{accent-color:#c6ff1a}#screen select,#screen textarea{color:#f3ffe4;background:#10140c;border:1px solid #6b8240}#screen .campaign-next,#screen .campaign-dispatch,#screen .ibox{color:#f3ffe4;background:#1a240c;border-color:#314016}#screen .objective-details summary{color:#e8ffb0}#screen .utable td,#screen .utable th,#screen .stats td,#screen .stats th{border-color:#6b8240}.brand-footer{text-align:center;border-top:1px solid #314016;margin-top:20px;padding:14px 0 4px}.brand-footer img{object-fit:contain;image-rendering:auto;width:min(100%,320px);height:auto;margin:0 auto 10px;display:block}#menu.panel{color:#f3ffe4;box-shadow:none;background:#10140c;border-color:#6b8240}#menu .mtitle{color:#e8ffb0}#menu .mbtn{color:#f3ffe4;box-shadow:none;background:#1a240c;border-color:#314016}#menu .hint{color:#c6d7a4}#menu .mbtn:hover,#menu .mbtn:focus-visible{background:#25350e;outline-color:#c6ff1a}#hintbar:empty{display:none!important}#hintbar{max-width:min(88vw,480px);padding:4px 8px;font-size:12px}@media (width<=900px){.brand-footer img{width:min(100%,260px)}#hintbar{max-width:min(88vw,420px);font-size:11px}}body.hc #screen .scr,body.hc #menu.panel{background:#000;border-color:#fff}body.hc #screen .mbtn,body.hc #menu .mbtn{border-color:#fff}#battle{box-sizing:border-box;background:#050605d9;padding:8px}.bh-cutscene-panel{width:min(960px,94vw,199.998vh - 142.221px);max-width:100%;box-shadow:none;background:#10140c;border:2px solid #738153;border-radius:4px;overflow:hidden}#battle .bh-cutscene-canvas{aspect-ratio:20/9;width:100%;height:auto;image-rendering:pixelated;box-shadow:none;border:0;display:block}.bh-cutscene-controls{color:#c6d7a4;justify-content:space-between;align-items:center;gap:12px;padding:6px 10px;font:13px/1.3 system-ui,sans-serif;display:flex}.bh-cutscene-skip{color:#10140c;cursor:pointer;background:#c6ff1a;border:1px solid #c6ff1a;border-radius:3px;flex-shrink:0;min-width:88px;min-height:40px;padding:6px 12px;font:700 14px/1.2 system-ui,sans-serif}.bh-cutscene-skip:focus-visible{outline-offset:-4px;outline:2px solid #f3ffe4}@media (height<=420px){.bh-cutscene-controls{padding:4px 8px;font-size:11px}.bh-cutscene-skip{min-height:36px}}.dispatch-entry{background:#1a240c;border:1px solid #314016;border-radius:4px;margin:16px 0;padding:12px}.dispatch-heading{align-items:center;gap:14px;display:flex}.dispatch-heading canvas{width:96px;height:60px;image-rendering:pixelated;flex-shrink:0}.dispatch-body{align-items:flex-start;gap:14px;display:flex}.dispatch-body p{margin:10px 0;line-height:1.6}.dispatch-body .portrait{flex-shrink:0;margin-top:10px}#info[data-forecast=active]{overflow:hidden}.bh-forecast{color:#273b42;min-width:0;font:600 12px/1.25 system-ui,-apple-system,Segoe UI,sans-serif}.bh-forecast-title{color:#345e67;margin-bottom:7px;font-size:12px;font-weight:800}.bh-forecast-units{gap:7px;min-width:0;display:grid}.bh-forecast-row{grid-template-columns:20px 36px minmax(0,1fr) auto;align-items:center;column-gap:4px;min-width:0;display:grid}.bh-forecast-sprite{width:20px;height:20px;image-rendering:pixelated;display:block}.bh-forecast-role{font-size:11px;font-weight:800}.bh-forecast-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bh-forecast-hp{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.bh-forecast-bar{background:#d3d7bc;border:1px solid #84917d;grid-column:2/-1;height:4px;position:relative;overflow:hidden}.bh-forecast-fill,.bh-forecast-loss{height:100%}.bh-forecast-loss{background:#9a5849;position:absolute;top:0}.bh-forecast-detail{color:#53645d;margin:7px 0;font-size:11px;line-height:1.4}.bh-forecast-controls{gap:5px;margin-top:7px;display:flex}.bh-forecast-controls button{color:#273b42;cursor:pointer;touch-action:manipulation;background:#faf5e6;border:1px solid #718375;border-radius:3px;flex:1;min-width:44px;min-height:44px;padding:5px 8px;font:800 12px/1 system-ui,sans-serif}.bh-forecast-controls .bh-forecast-fire{background:#e5c982;border-color:#8c7748}.bh-forecast-controls button:focus-visible{outline-offset:-4px;outline:3px solid #447b91}body.hc .bh-forecast,body.hc .bh-forecast-title,body.hc .bh-forecast-detail{color:#fff}body.hc .bh-forecast-controls button{color:#000;background:#fff;border-color:#fff}body.hc .bh-forecast-controls .bh-forecast-fire{background:#ffe08a}body.hc .bh-forecast-bar{background:#000;border-color:#fff}body.hc .bh-forecast-loss{background:#fff}@media (width<=900px){#info[data-forecast=active]{gap:0;height:58px;max-height:58px;padding:3px 4px;overflow:hidden}#info[data-forecast=active] .bh-forecast{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;width:100%;font-size:11px;display:grid}#info[data-forecast=active] .bh-forecast-title,#info[data-forecast=active] .bh-forecast-detail{display:none}#info[data-forecast=active] .bh-forecast-units{align-self:center;gap:2px}#info[data-forecast=active] .bh-forecast-row{grid-template-rows:16px 3px;grid-template-columns:16px 33px minmax(0,1fr) auto;column-gap:3px}#info[data-forecast=active] .bh-forecast-sprite{width:16px;height:16px}#info[data-forecast=active] .bh-forecast-hp{font-size:11px}#info[data-forecast=active] .bh-forecast-bar{height:3px}#info[data-forecast=active] .bh-forecast-controls{gap:4px;margin:0}#info[data-forecast=active] .bh-forecast-controls button{min-width:44px;min-height:44px;padding:5px;font-size:11px}body.bigui #info[data-forecast=active]{font-size:12px}}.bh-forecast-mobile{display:none}@media (width<=900px){#info[data-forecast=active] .bh-forecast-desktop{display:none}#info[data-forecast=active] .bh-forecast-mobile{display:inline}}#menu.bh-production-menu,#menu.bh-review-menu{width:min(420px,100vw - 20px);max-width:420px;max-height:calc(100dvh - 100px);font:600 13px/1.35 system-ui,-apple-system,Segoe UI,sans-serif}#menu .bh-production-card{opacity:1;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:2px 8px;min-height:58px;padding:7px 9px;display:grid}.bh-production-sprite{width:32px;height:32px;image-rendering:pixelated;grid-row:1/3;display:block}.bh-production-name{min-width:0;line-height:1.25}.bh-production-cost{font-variant-numeric:tabular-nums;white-space:nowrap;color:#e8ffb0}.bh-production-status{color:#c6d7a4;grid-column:2/-1;font-size:11px;font-weight:500}#menu .bh-production-card:disabled{color:#aeb9a1;cursor:default;background:#151b0f;border-color:#29331c}#menu .bh-production-card:disabled .bh-production-cost,#menu .bh-production-card:disabled .bh-production-status{color:#aeb9a1}#menu.bh-production-menu .menuinfo{color:#d8e7bd;border-color:#46572b;line-height:1.5}.bh-review-summary{color:#c6d7a4;border-bottom:1px solid #46572b;margin:5px 0 10px;padding-bottom:8px;font-size:12px;line-height:1.5}.bh-review-summary>div{margin-top:3px}#menu.bh-review-menu .mbtn{min-height:48px}#menu.bh-review-menu .hint{float:none;margin:3px 0 0;font-weight:500;display:block}.bh-capture-status{font-variant-numeric:tabular-nums}.bh-capture-bar{background:#d3d7bc;border:1px solid #78866a;height:5px;margin:3px 0;overflow:hidden}.bh-capture-bar>span{background:#56866b;height:100%;display:block}body.hc #menu .bh-production-card:disabled,body.hc #menu .bh-production-card:disabled .bh-production-cost,body.hc #menu .bh-production-card:disabled .bh-production-status{color:#fff;background:#000;border-color:#fff}body.hc .bh-capture-bar{background:#000;border-color:#fff}body.hc .bh-capture-bar>span{background:#fff}@media (width<=900px){#menu.bh-production-menu,#menu.bh-review-menu{max-height:calc(100dvh - 120px);top:56px;right:8px}#info .bh-capture-bar{height:3px;margin:1px 0}#menu .bh-production-card{min-height:54px}#info .bh-property-info{grid-template-columns:minmax(66px,1fr) minmax(110px,1.2fr);align-content:start;column-gap:8px;min-width:214px;display:grid}#info .bh-property-info .bh-capture-status{font-size:10px;line-height:12px}#info .bh-property-info .bh-capture-bar{height:3px;margin:1px 0 0}}.bh-unit-heading{justify-content:space-between;align-items:baseline;gap:6px;min-width:0;display:flex}.bh-unit-hp{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}.bh-resource-gauges{grid-template-columns:1fr 1fr;gap:8px;min-width:0;margin:6px 0;display:grid}.bh-resource{min-width:0}.bh-resource-value{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px;line-height:15px}.bh-resource-track{background:#d3d7bc;border:1px solid #78866a;height:5px;overflow:hidden}.bh-resource-track>span{background:#56866b;height:100%;display:block}.bh-resource-unlimited{font-size:11px;line-height:20px}.bh-supply-warning{color:#85452e;border-left:3px solid #a65e46;margin:5px 0;padding-left:5px;font-size:11px;font-weight:800;line-height:1.35}.bh-readiness-page{text-align:left;width:min(620px,100%);line-height:1.5}.bh-readiness-summary{color:#e8ffb0;font-size:13px}.bh-readiness-caveat{color:#d8e7bd;background:#161e10;border:1px solid #57633f;padding:8px 12px;font-size:12px}.bh-readiness-caveat p{margin:5px 0}.bh-readiness-list{gap:10px;margin-top:14px;display:grid}.bh-readiness-card{background:#1a240c;border:1px solid #46572b;border-left:4px solid #6e8652;border-radius:3px;min-width:0;padding:12px}.bh-readiness-card p{margin:6px 0;font-size:12px;font-weight:500}.bh-readiness-heading{align-items:center;gap:10px;display:flex}.bh-readiness-heading h3{margin:0;font-size:15px}.bh-readiness-sprite{width:32px;height:32px;image-rendering:pixelated;flex-shrink:0}.bh-readiness-location,.bh-readiness-footnote{color:#c6d7a4;font-size:11px}.bh-readiness-status{color:#e8ffb0;margin:8px 0 3px;font-size:12px;display:block}.bh-readiness-card .bh-resource-gauges{max-width:320px;margin:10px 0}.bh-readiness-card .bh-resource-value{color:#f3ffe4}.bh-readiness-card .bh-resource-track{background:#29351b;border-color:#6b8240}.bh-readiness-card .bh-resource-track>span{background:#9bb57d}.bh-readiness-danger{border-left-color:#d2967e}.bh-readiness-danger .bh-readiness-status{color:#ffd7c1}.bh-readiness-attention{border-left-color:#cbb777}.bh-readiness-inactive{border-left-color:#829077}body.hc .bh-resource-track{background:#000;border-color:#fff}body.hc .bh-resource-track>span,body.hc .bh-readiness-card .bh-resource-track>span{background:#fff}body.hc .bh-supply-warning{color:#fff;border-color:#fff}body.hc .bh-readiness-card,body.hc .bh-readiness-caveat{color:#fff;background:#000;border-color:#fff}@media (width<=900px){#info:not([data-forecast=active]) .bh-own-unit-info{grid-template-rows:18px 26px;grid-template-columns:minmax(156px,1fr) 102px;align-content:start;column-gap:8px;min-width:284px;padding:3px 8px;display:grid}#info .bh-own-unit-info .bh-unit-heading{grid-area:1/1;gap:4px;font-size:11px;line-height:16px}#info .bh-own-unit-info .bh-unit-hp{font-size:10px}#info .bh-own-unit-info .bh-resource-gauges{grid-area:1/2/3;grid-template-columns:1fr;align-content:start;gap:2px;margin:0}#info .bh-own-unit-info .bh-resource-value{font-size:10px;line-height:13px}#info .bh-own-unit-info .bh-resource-track{height:4px}#info .bh-own-unit-info .bh-resource-unlimited{font-size:10px;line-height:17px}#info .bh-own-unit-info .bh-supply-warning{grid-area:2/1;margin:0;padding-left:4px;font-size:10px;line-height:12px}.bh-readiness-card{padding:9px}.bh-readiness-caveat{padding:7px 9px}}#info[data-unload=active]{overflow:hidden}.bh-unload{color:#273b42;min-width:0;font:600 12px/1.25 system-ui,-apple-system,Segoe UI,sans-serif}.bh-unload-title{color:#345e67;margin-bottom:7px;font-weight:800}.bh-unload-slots{gap:5px;min-width:0;display:grid}.bh-unload button{color:#273b42;font:inherit;cursor:pointer;touch-action:manipulation;background:#faf5e6;border:1px solid #718375;border-radius:3px}.bh-unload button:focus-visible{outline-offset:-4px;outline:3px solid #447b91}.bh-unload button:disabled{cursor:default}.bh-unload-controls button:disabled{opacity:.5}.bh-unload-slot{text-align:left;grid-template-columns:17px minmax(0,1fr) auto;align-items:center;gap:4px;min-height:44px;padding:5px;display:grid}.bh-unload-slot[aria-pressed=true]{background:#e2e8ce;border-color:#345e67}.bh-unload-number{border:1px solid #718375;border-radius:2px;place-items:center;width:17px;height:17px;font-weight:800;display:inline-grid}.bh-unload-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.bh-unload-status{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:10px}.bh-unload-detail{color:#53645d;margin:7px 0;font-size:11px;line-height:1.4}.bh-unload-controls{gap:4px;margin-top:7px;display:flex}.bh-unload-controls button{flex:1;min-width:44px;min-height:44px;padding:4px;font-size:10px;font-weight:800}.bh-unload-controls .bh-unload-confirm{background:#e5c982;border-color:#8c7748}body.hc .bh-unload,body.hc .bh-unload-title,body.hc .bh-unload-detail{color:#fff}body.hc .bh-unload button{color:#000;background:#fff;border-color:#fff}body.hc .bh-unload-slot[aria-pressed=true],body.hc .bh-unload-controls .bh-unload-confirm{background:#ffe08a}@media (width<=900px){#info[data-unload=active]{gap:0;height:58px;max-height:58px;padding:3px 4px;overflow:hidden}#info[data-unload=active] .bh-unload{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;width:100%;font-size:11px;display:grid}#info[data-unload=active] .bh-unload-title,#info[data-unload=active] .bh-unload-detail{display:none}#info[data-unload=active] .bh-unload-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}#info[data-unload=active] .bh-unload-slot{text-align:center;grid-template-rows:1fr 1fr;grid-template-columns:minmax(0,1fr);gap:2px;height:44px;min-height:44px;padding:3px}#info[data-unload=active] .bh-unload-number{display:none}#info[data-unload=active] .bh-unload-name:before{content:attr(data-slot)}#info[data-unload=active] .bh-unload-slots:has(.bh-unload-slot:only-child){grid-template-columns:minmax(0,1fr)}#info[data-unload=active] .bh-unload-status{font-size:10px}#info[data-unload=active] .bh-unload-controls{gap:3px;margin:0}#info[data-unload=active] .bh-unload-controls button{min-width:44px;max-width:58px;padding:3px;font-size:10px}}html,body{touch-action:pan-x pan-y;overscroll-behavior:none}:root{--bh-shell-bg:#000;--bh-shell-panel:#10140c;--bh-shell-card:#1a240c;--bh-shell-ink:#f3ffe4;--bh-shell-muted:#c6d7a4;--bh-shell-line:#314016;--bh-shell-accent:#c6ff1a;--bh-dock-height:calc(58px + env(safe-area-inset-bottom,0px))}#hud{padding:4px 10px;padding-top:max(4px,env(safe-area-inset-top));padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right));background:var(--bh-shell-panel);color:var(--bh-shell-ink);border-bottom:1px solid var(--bh-shell-line);box-shadow:none;flex-wrap:wrap;align-items:center;gap:8px;font:600 13px/1.25 system-ui,-apple-system,Segoe UI,sans-serif}#hud .hco{border-left-width:3px;flex:0 150px;gap:7px;min-width:110px;padding-left:7px}#hud .hco>div{min-width:0}#hud .portrait{border:1px solid var(--bh-shell-line);border-radius:5px;flex:0 0 32px;width:32px;height:32px}#hud .hname{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;line-height:1.25;overflow:hidden;color:var(--bh-shell-ink)!important}#hud .small{color:var(--bh-shell-muted);opacity:1;font-size:10px;line-height:1.3}#hud .hstat{text-align:left;font-variant-numeric:tabular-nums;flex:none;min-width:36px}#hud .hstat .big{letter-spacing:-.3px;color:var(--bh-shell-ink);font-size:17px;line-height:1.15}#hud .hmeter{flex:130px;min-width:112px;max-width:none}#hud .hmeter .small{overflow-wrap:anywhere}#hud .bar{background:var(--bh-shell-bg);border:1px solid var(--bh-shell-line);border-radius:4px;height:6px;margin-top:4px;overflow:hidden}#hud .fill,#hud .fill.full{background:var(--bh-shell-accent);animation:none}#hud .hbtn{border:1px solid var(--bh-shell-line);background:var(--bh-shell-card);min-width:58px;min-height:44px;color:var(--bh-shell-ink);box-shadow:none;letter-spacing:.2px;cursor:pointer;touch-action:manipulation;border-radius:7px;flex:none;margin:0;padding:7px 11px;font:800 11px/1.2 system-ui,-apple-system,Segoe UI,sans-serif;animation:none}#hud .hbtn.hnext{background:var(--bh-shell-accent);border-color:var(--bh-shell-accent);color:#10140c}#hud .hbtn.glow,#hud .hbtn.on{border-color:var(--bh-shell-accent);background:var(--bh-shell-card);color:var(--bh-shell-accent);animation:none}#hud .ready-count{color:#f3ffe4;background:#10140c;border:0;border-radius:4px;place-items:center;min-width:18px;min-height:18px;padding:0 4px;font-size:10px;line-height:1;display:inline-grid}#hud .hbtn:disabled{background:var(--bh-shell-panel);color:var(--bh-shell-muted);border-color:var(--bh-shell-line);opacity:.65;cursor:default}#hud .hbtn:disabled .ready-count{background:var(--bh-shell-card);color:var(--bh-shell-muted)}#hud .hbtn:not(:disabled):hover{border-color:var(--bh-shell-accent);filter:brightness(1.1)}#hud .hbtn:focus,#hud .hbtn:focus-visible{outline:2px solid var(--bh-shell-accent);outline-offset:2px}#hud .hnext:focus,#hud .hnext:focus-visible{outline-color:var(--bh-shell-ink)}#hud .activepow{text-align:left;border-top:1px solid var(--bh-shell-line);background:var(--bh-shell-panel);width:100%;color:var(--bh-shell-muted);flex:0 0 100%;margin:0;padding:5px 8px;font-size:11px;line-height:1.4;animation:none}#info{right:6px;top:calc(var(--bh-hud-height,58px) + 8px);width:214px;max-height:calc(100dvh - var(--bh-hud-height,58px) - 16px);background:var(--bh-shell-panel);color:var(--bh-shell-ink);border:1px solid var(--bh-shell-line);box-shadow:none;scrollbar-width:thin;scrollbar-color:var(--bh-shell-line) var(--bh-shell-panel);overscroll-behavior:contain;touch-action:pan-y;border-radius:9px;padding:7px}#info .ibox{background:var(--bh-shell-card);min-width:0;color:var(--bh-shell-ink);border:1px solid var(--bh-shell-line);border-radius:6px;margin:0 0 7px;padding:9px;line-height:1.4}#info .ibox:last-child{margin-bottom:0}#info .ititle{color:var(--bh-shell-ink);font-size:13px;font-weight:800}#info .small{color:var(--bh-shell-muted);font-size:11px;line-height:1.5}#info .bh-unit-hp{color:var(--bh-shell-accent)}#info .bh-resource-value,#info .bh-resource-unlimited,#info .bh-capture-status{color:var(--bh-shell-muted)}#info .bh-resource-track,#info .bh-capture-bar,#info .bh-forecast-bar{background:var(--bh-shell-bg);border-color:var(--bh-shell-line);border-radius:3px}#info .bh-resource-track>span,#info .bh-capture-bar>span{background:var(--bh-shell-accent)}#info .bh-supply-warning{color:#ffd7c1;border-color:#d2967e}#info .bh-forecast,#info .bh-unload{color:var(--bh-shell-ink)}#info .bh-forecast-title,#info .bh-unload-title{color:var(--bh-shell-accent);letter-spacing:.7px;font-size:11px;line-height:1.4}#info .bh-forecast-detail,#info .bh-unload-detail{color:var(--bh-shell-muted);line-height:1.5}#info .bh-forecast-loss{background:#d2967e;animation:none}#info .bh-forecast-controls button,#info .bh-unload button{border:1px solid var(--bh-shell-line);background:var(--bh-shell-card);min-height:44px;color:var(--bh-shell-ink);box-shadow:none;border-radius:6px;animation:none}#info .bh-forecast-controls .bh-forecast-fire,#info .bh-unload-controls .bh-unload-confirm{background:var(--bh-shell-accent);border-color:var(--bh-shell-accent);color:#10140c}#info .bh-unload-slot[aria-pressed=true]{background:var(--bh-shell-card);border-color:var(--bh-shell-accent)}#info .bh-unload-number{border-color:var(--bh-shell-line);color:var(--bh-shell-accent)}#info .bh-unload-controls button:disabled{opacity:.55}#info .bh-forecast-controls button:focus-visible,#info .bh-unload button:focus-visible{outline:2px solid var(--bh-shell-ink);outline-offset:-4px}#info .preview{background:var(--bh-shell-card);border-color:#d2967e}#objective,#hintbar{background:var(--bh-shell-panel);color:var(--bh-shell-muted);border:1px solid var(--bh-shell-line);box-shadow:none;border-radius:7px;line-height:1.4}#objective{padding:6px 10px;font-size:11px}#hintbar{padding:5px 9px}#menu.panel{background:var(--bh-shell-panel);color:var(--bh-shell-ink);border:1px solid var(--bh-shell-line);box-shadow:none;scrollbar-width:thin;touch-action:pan-y;border-radius:10px;padding:9px}#menu.right,#menu.left,#menu.bh-production-menu,#menu.bh-review-menu{top:calc(var(--bh-hud-height,58px) + 8px);max-height:calc(100dvh - var(--bh-hud-height,58px) - 20px)}#menu .mtitle{color:var(--bh-shell-accent);letter-spacing:.5px;margin:0;padding:4px 2px 8px;font-size:12px;line-height:1.4}#menu .mbtn{border:1px solid var(--bh-shell-line);min-height:44px;box-shadow:none;overflow-wrap:anywhere;touch-action:manipulation;border-radius:6px;margin:5px 0;padding:10px 12px;line-height:1.3}#menu .mbtn:focus,#menu .mbtn:focus-visible{outline:2px solid var(--bh-shell-accent);outline-offset:-3px;background:var(--bh-shell-card);color:var(--bh-shell-ink)}#menu .hint,#menu .menuinfo{color:var(--bh-shell-muted)}#menu .menuinfo{border-color:var(--bh-shell-line);line-height:1.5}#menu .cancel{background:var(--bh-shell-panel);color:var(--bh-shell-muted)}#menu .bh-production-card{gap:2px 8px;padding:9px}#menu .bh-production-cost{color:var(--bh-shell-accent)}#menu .bh-review-summary{border-color:var(--bh-shell-line);color:var(--bh-shell-muted)}#dialog.panel,.toast.panel,#tut.panel,.bark{background:var(--bh-shell-panel);color:var(--bh-shell-ink);border-color:var(--bh-shell-line);box-shadow:none;border-radius:8px}#dialog .dname,#tut .ititle{color:var(--bh-shell-accent)}#dialog .dnext{animation:none}#toasts{top:calc(var(--bh-hud-height,58px) + 12px)}#screen .objective-progress,#screen .objective-details,#screen .bh-readiness-card,#screen .bh-readiness-caveat{border-radius:7px}#rotate{display:none}@media (width<=900px){#hud{padding:4px 6px;padding-top:max(4px,env(safe-area-inset-top));padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right));gap:6px}#hud .hco{flex:0 120px;gap:5px;min-width:100px;padding-left:5px}#hud .hstat:nth-child(3){min-width:78px}#hud .hmeter{flex-basis:112px;min-width:100px;max-width:none}#hud .hbtn{min-width:54px;padding:6px 8px}#info{width:auto;height:var(--bh-dock-height);max-height:var(--bh-dock-height);padding:3px 4px calc(3px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid var(--bh-shell-line);touch-action:pan-x;scrollbar-width:none;border-radius:0;align-items:stretch;gap:5px;inset:auto 0 0;overflow:auto hidden}#info .ibox{border-radius:5px;flex:none;min-width:145px;max-height:50px;margin:0;padding:3px 8px;font-size:11px;line-height:1.3}#info .ititle{font-size:11px}#info .bh-property-info{min-width:214px}#info:not([data-forecast=active]) .bh-own-unit-info{flex:1 0 284px;order:-1;grid-template-rows:17px 24px;min-width:284px}#info .bh-own-unit-info .bh-supply-warning{line-height:12px}#info .bh-own-unit-info .bh-resource-track{height:4px}#info[data-forecast=active],#info[data-unload=active]{height:var(--bh-dock-height);max-height:var(--bh-dock-height);padding:3px 4px calc(3px + env(safe-area-inset-bottom,0px));align-items:center}#info[data-forecast=active] .bh-forecast,#info[data-unload=active] .bh-unload{min-height:44px}#info[data-forecast=active] .bh-forecast-controls button{min-width:44px;height:44px;min-height:44px}#info[data-unload=active] .bh-unload-controls button{min-width:44px;max-width:58px;height:44px;min-height:44px}#menu.right,#menu.left,#menu.bh-production-menu,#menu.bh-review-menu{left:auto;right:8px;top:calc(var(--bh-hud-height,100px) + 6px);max-width:calc(100vw - 16px);max-height:calc(100dvh - var(--bh-hud-height,100px) - var(--bh-dock-height) - 14px)}#tut{top:calc(var(--bh-hud-height,100px) + 6px);max-width:calc(100vw - 8px)}#hintbar{bottom:calc(var(--bh-dock-height) + 4px)}}@media (width<=700px){#hud .hco{flex:78px;gap:4px;min-width:0;padding-left:4px}#hud .portrait{flex-basis:26px;width:26px;height:26px}#hud .hname{font-size:11px}#hud .hstat{flex:0 0 28px;min-width:28px}#hud .hstat:nth-child(3){flex-basis:76px;min-width:76px}#hud .hstat .big{font-size:16px}#hud .small{font-size:10px}#hud .hmeter{flex:80px;min-width:72px}#hud .hmeter .small{font-size:10px;line-height:1.2}#hud .hbtn{flex:1 0 calc(25% - 6px);min-width:0;min-height:44px;padding:6px 4px;font-size:11px}#hud .hnext{gap:4px}#hud .activepow{font-size:10px}body.bigui #hud .hbtn{min-height:46px;padding:6px 3px;font-size:13px}body.bigui #hud .hstat .big{font-size:18px}}body.bigui #hud .hbtn{min-height:48px;padding:7px 12px;font-size:13px}body.bigui #hud .hname{font-size:15px}body.bigui #hud .hstat .big{font-size:19px}@media (width>=901px){body.bigui #info .ititle{font-size:15px}body.bigui #info .small{font-size:13px}body.bigui #info .bh-forecast,body.bigui #info .bh-unload{font-size:14px}}@media (width<=700px){body.bigui #hud .hbtn{min-height:46px;padding:6px 3px}body.bigui #hud .hname{font-size:12px}body.bigui #hud .hstat .big{font-size:18px}}body.hc{--bh-shell-bg:#000;--bh-shell-panel:#000;--bh-shell-card:#000;--bh-shell-ink:#fff;--bh-shell-muted:#fff;--bh-shell-line:#fff;--bh-shell-accent:#fff}body.hc #hud .hbtn.hnext,body.hc #info .bh-forecast-fire,body.hc #info .bh-unload-confirm{color:#000;background:#fff}body.hc #info .bh-supply-warning{color:#fff;border-color:#fff}body.hc #info .bh-forecast-loss{background:#fff}body.hc #hud .ready-count{color:#fff;background:#000}body.hc #hud .hbtn:disabled{opacity:1;border-style:dashed}#menu.bh-power-menu{width:min(490px,100vw - 20px);max-width:490px;top:calc(var(--bh-hud-height,58px) + 8px);max-height:calc(100dvh - var(--bh-hud-height,58px) - 20px);font:600 13px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}.bh-power-header{color:var(--bh-shell-ink);align-items:center;gap:10px;margin:8px 0 10px;display:flex}.bh-power-portrait{border:1px solid var(--bh-shell-line);border-radius:6px;flex:none;width:48px;height:48px}.bh-power-meter{color:var(--bh-shell-accent);font-variant-numeric:tabular-nums;margin-top:3px}#menu.bh-power-menu .mbtn{min-height:44px}#menu.bh-power-menu .hint{float:none;margin:2px 0 0;display:block}.bh-power-notes,.bh-power-fog{color:var(--bh-shell-muted);margin:9px 0;font-size:11px;font-weight:500;line-height:1.5}.bh-power-effects{overscroll-behavior:contain;border-top:1px solid var(--bh-shell-line);touch-action:pan-y;max-height:min(38dvh,360px);padding:0 5px 0 0;overflow:auto}.bh-power-effects:focus-visible{outline:2px solid var(--bh-shell-accent);outline-offset:2px}.bh-power-effects h3{color:var(--bh-shell-accent);margin:10px 0 5px;font:700 12px/1.4 system-ui,sans-serif}.bh-power-effects ul{margin:0;padding:0;list-style:none}.bh-power-effects p{margin:5px 0;font-weight:500}.bh-power-effect{border-bottom:1px solid var(--bh-shell-line);font-variant-numeric:tabular-nums;padding:7px 0}.bh-power-effect div{color:var(--bh-shell-ink);overflow-wrap:anywhere;margin-top:2px;font-weight:500}@media (width<=900px){#menu.bh-power-menu{left:auto;right:8px;top:calc(var(--bh-hud-height,100px) + 6px);max-width:calc(100vw - 16px);max-height:calc(100dvh - var(--bh-hud-height,100px) - var(--bh-dock-height) - 14px)}}#hud .bh-replay-readout{flex:240px;min-width:0;line-height:1.4}#hud .bh-replay-context{color:var(--bh-shell-ink);text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}#hud .bh-replay-progress{color:var(--bh-shell-muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:12px;font-weight:500}#hud .bh-replay-controls{flex:none;align-items:stretch;gap:6px;display:flex}#hud .bh-replay-controls .hbtn{min-width:58px;min-height:44px;animation:none}#hud .bh-replay-controls .hbtn:first-child{background:var(--bh-shell-accent);border-color:var(--bh-shell-accent);color:var(--bh-shell-bg)}#hud .bh-replay-controls .hbtn:first-child:focus-visible{outline-color:var(--bh-shell-ink)}@media (width<=700px){#hud .bh-replay-readout{flex-basis:100%;font-size:12px}#hud .bh-replay-progress{font-size:11px}#hud .bh-replay-controls{gap:6px;width:100%}#hud .bh-replay-controls .hbtn{flex:1 1 0;min-width:0;padding:6px 4px}}:root{--bh-dock-size:calc(128px + env(safe-area-inset-bottom,0px));--bh-command-width:50%;--bh-footer-size:24px}#hud{min-height:60px;padding:7px 18px;padding-top:max(7px,env(safe-area-inset-top));padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right));z-index:5;letter-spacing:0;flex-wrap:wrap;gap:18px}.bh-battle-brand{white-space:nowrap;flex:210px;min-width:160px}.bh-battle-title{letter-spacing:1.4px;color:var(--bh-shell-ink);font:850 21px/1.15 system-ui,-apple-system,Segoe UI,sans-serif}.bh-battle-title span{color:var(--bh-shell-accent)}.bh-battle-credit{color:var(--bh-shell-muted);letter-spacing:1.9px;margin-top:4px;font:600 8px/1.2 system-ui,sans-serif}#hud .hco{flex:none;gap:8px;min-width:0;padding-left:10px}#hud .hname{color:var(--bh-shell-ink);max-width:132px;font-size:12px}#hud .portrait{flex-basis:30px;width:30px;height:30px}#hud .hstat{flex:none;min-width:36px}#hud .hstat:nth-child(3){min-width:36px}#hud .hstat.bh-funds{min-width:96px}#hud .hstat .big{letter-spacing:.1px;font-size:18px}#hud .bh-turn-status{border:1px solid var(--bh-shell-line);color:var(--bh-shell-muted);letter-spacing:.5px;white-space:nowrap;border-radius:5px;padding:7px 12px;font-size:11px;font-weight:850}#hud .bh-turn-status.is-human{background:var(--bh-shell-accent);color:#10140c;border-color:var(--bh-shell-accent)}#hud .hbtn{border-radius:7px;flex:none;min-width:44px;min-height:48px;padding:8px 12px;font-size:11px}#hud .bh-menu-command{min-height:44px}#hud .activepow{border-top:0;margin-top:-3px;padding:4px 0 0;font-size:10px}#hud .bh-command-dock,#hud .bh-replay-controls{right:max(12px,env(safe-area-inset-right));bottom:calc(var(--bh-footer-size) + env(safe-area-inset-bottom,0px));width:calc(var(--bh-command-width) - 24px);height:calc(var(--bh-dock-size) - var(--bh-footer-size) - env(safe-area-inset-bottom,0px) - 12px);background:var(--bh-shell-panel);border-left:1px solid var(--bh-shell-line);align-items:center;gap:8px;padding-left:12px;display:flex;position:fixed}#hud .bh-command-dock .hbtn,#hud .bh-replay-controls .hbtn{white-space:normal;letter-spacing:.3px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:5px;min-width:44px;height:64px;min-height:64px;padding:8px 5px;line-height:1.2;display:flex}#hud .bh-command-detail{color:var(--bh-shell-muted);font-size:10px;font-weight:550}#hud .bh-command-dock .hnext{background:var(--bh-shell-card);color:var(--bh-shell-ink);border-color:var(--bh-shell-line);flex-direction:row;gap:4px}#hud .bh-end-command{background:var(--bh-shell-accent);border-color:var(--bh-shell-accent);color:#10140c}#hud .bh-back-command{display:none!important}#hud[data-mode=select] .bh-back-command{display:flex!important}#hud[data-mode=select] .bh-power-command,#hud[data-mode=select] .hnext{display:none}#hud[data-mode=select] .bh-move-command{border-color:var(--bh-shell-accent);color:var(--bh-shell-accent)}#hud[data-mode=act] .bh-command-dock,#hud[data-mode=target] .bh-command-dock,#hud[data-mode=unload] .bh-command-dock{visibility:hidden;pointer-events:none}#info{width:100%;height:var(--bh-dock-size);max-height:var(--bh-dock-size);padding:10px calc(var(--bh-command-width) + 12px) calc(var(--bh-footer-size) + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left));background:var(--bh-shell-panel);border:0;border-top:1px solid var(--bh-shell-line);box-shadow:none;touch-action:pan-x;border-radius:0;flex-direction:row;align-items:stretch;gap:10px;display:none;inset:auto 0 0;overflow:hidden}#info .ibox{overscroll-behavior:contain;touch-action:pan-y;border-radius:7px;flex:145px;min-width:0;max-height:none;margin:0;padding:8px 10px;line-height:1.4;overflow:auto}#info .bh-unit-info,#info:not([data-forecast=active]) .bh-own-unit-info{flex:2 300px;order:-1;grid-template-rows:auto auto auto;grid-template-columns:54px minmax(0,1fr);align-content:center;gap:4px 10px;min-width:0;padding:8px 10px;display:grid}#info .bh-unit-art{object-fit:contain;width:54px;height:54px;image-rendering:pixelated;grid-area:1/1/4;align-self:center}:is(#info .bh-unit-info:has(.bh-unit-art) .bh-unit-heading,#info .bh-unit-info:has(.bh-unit-art) .bh-resource-gauges,#info .bh-unit-info:has(.bh-unit-art)>.small,#info .bh-unit-info:has(.bh-unit-art) .bh-supply-warning){grid-column:2}#info .bh-unit-info:not(:has(.bh-unit-art)){grid-template-columns:minmax(0,1fr)}#info .bh-own-unit-info .bh-unit-heading,#info .bh-unit-heading{grid-area:auto;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;line-height:1.25;display:flex}#info .ititle{font-size:13px;font-weight:750;line-height:1.3}#info .bh-own-unit-info .bh-unit-hp,#info .bh-unit-hp{white-space:nowrap;color:var(--bh-shell-accent);font-size:11px}#info .small{font-size:10px;line-height:1.4;display:block}#info .bh-unit-info>.small:last-child{display:none}#info .bh-own-unit-info .bh-resource-gauges,#info .bh-resource-gauges{grid-area:auto;grid-template-columns:1fr 1fr;align-content:start;gap:8px;margin:0;display:grid}#info .bh-own-unit-info .bh-resource-value,#info .bh-resource-value{font-size:10px;line-height:1.3}#info .bh-own-unit-info .bh-resource-track,#info .bh-resource-track{height:4px}#info .bh-own-unit-info .bh-resource-unlimited{font-size:10px;line-height:1.4}#info .bh-own-unit-info .bh-supply-warning{grid-area:auto;margin:0;font-size:10px;line-height:1.25}#info .bh-terrain-info{align-content:center;font-size:11px}#info .bh-capture-status{font-size:10px;line-height:1.3}#info .bh-property-info{min-width:0}#objective,#hintbar{left:max(12px,env(safe-area-inset-left));right:auto;bottom:env(safe-area-inset-bottom,0px);height:var(--bh-footer-size);background:var(--bh-shell-panel);max-width:calc(100% - 24px);color:var(--bh-shell-muted);text-overflow:ellipsis;white-space:nowrap;text-align:left;z-index:6;border:0;border-radius:0;padding:4px 0;font:500 10px/16px system-ui,sans-serif;display:block;overflow:hidden;transform:none}#hintbar{left:auto;right:max(12px,env(safe-area-inset-right));max-width:48%;color:var(--bh-shell-ink);text-align:right}body:has(#hintbar:not(:empty)) #objective{max-width:48%}#info[data-forecast=active],#info[data-unload=active]{height:var(--bh-dock-size);max-height:var(--bh-dock-size);padding:10px max(12px,env(safe-area-inset-right)) calc(var(--bh-footer-size) + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left));align-items:center;overflow:hidden}#info[data-forecast=active] .bh-forecast,#info[data-unload=active] .bh-unload{grid-template-columns:160px minmax(0,1fr) auto;align-items:center;gap:16px;width:100%;display:grid}#info[data-forecast=active] .bh-forecast-title,#info[data-unload=active] .bh-unload-title{letter-spacing:.8px;margin:0;font-size:12px;display:block}#info[data-forecast=active] .bh-forecast-units{grid-template-columns:1fr 1fr;gap:22px;display:grid}#info[data-forecast=active] .bh-forecast-detail,#info[data-unload=active] .bh-unload-detail{display:none}#info[data-forecast=active] .bh-forecast-row{grid-template-rows:auto 6px;grid-template-columns:32px 44px minmax(0,1fr) auto;gap:5px 8px;margin:0}#info[data-forecast=active] .bh-forecast-sprite{grid-area:1/1/3;width:32px;height:32px;display:block}#info[data-forecast=active] .bh-forecast-role{font-size:10px;display:block}#info[data-forecast=active] .bh-forecast-name{font-size:11px}#info[data-forecast=active] .bh-forecast-desktop{display:inline}#info[data-forecast=active] .bh-forecast-mobile{display:none}#info[data-forecast=active] .bh-forecast-hp{white-space:nowrap;font-size:12px}#info[data-forecast=active] .bh-forecast-bar{grid-area:2/2/auto/5;height:6px;display:block}#info[data-forecast=active] .bh-forecast-controls,#info[data-unload=active] .bh-unload-controls{gap:8px;margin:0;display:flex}#info[data-forecast=active] .bh-forecast-controls button,#info[data-unload=active] .bh-unload-controls button{min-width:72px;max-width:none;height:56px;min-height:44px;padding:8px 14px;font-size:12px;font-weight:800}#info[data-unload=active] .bh-unload-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}#info[data-unload=active] .bh-unload-slot{text-align:left;grid-template-rows:auto;grid-template-columns:20px minmax(0,1fr) auto;gap:6px;height:56px;min-height:56px;padding:8px}#info[data-unload=active] .bh-unload-number{display:inline-grid}#info[data-unload=active] .bh-unload-status{font-size:11px}#menu.right,#menu.left,#menu.bh-production-menu,#menu.bh-review-menu,#menu.bh-power-menu{left:auto;right:12px;top:calc(var(--bh-hud-height,60px) + 8px);max-height:calc(100dvh - var(--bh-hud-height,60px) - var(--bh-dock-height,128px) - 16px)}#menu.bh-action-menu{left:calc(100% - var(--bh-command-width) + 12px);right:max(12px,env(safe-area-inset-right));top:auto;bottom:calc(var(--bh-footer-size) + env(safe-area-inset-bottom,0px));width:auto;min-width:0;max-width:none;height:calc(var(--bh-dock-size) - var(--bh-footer-size) - env(safe-area-inset-bottom,0px) - 8px);border:0;border-left:1px solid var(--bh-shell-line);white-space:nowrap;border-radius:0;max-height:none;padding:5px 0 5px 12px;overflow:auto}#menu.bh-action-menu .mtitle{padding:0 0 5px;font-size:10px;line-height:1.2}#menu.bh-action-menu .mbtn{vertical-align:top;text-align:center;white-space:normal;flex-direction:column;justify-content:center;align-items:center;width:auto;min-width:72px;height:56px;min-height:56px;margin:0 6px 0 0;padding:8px 12px;font-size:12px;display:inline-flex}#menu.bh-action-menu .hint{float:none;margin:3px 0 0;font-size:10px}#menu.bh-action-menu .mbtn:focus-visible{outline-offset:-3px}#hud .bh-replay-readout{flex:480px;min-width:0}#hud .bh-replay-context{font-size:12px}#hud .bh-replay-progress{font-size:11px}#hud .bh-replay-controls{width:calc(var(--bh-command-width) - 24px)}#tut{left:12px;top:calc(var(--bh-hud-height,60px) + 8px);z-index:7;max-width:min(360px,100vw - 24px);max-height:30vh;position:fixed;overflow:auto}.bark{bottom:calc(var(--bh-dock-height,128px) + 8px)}body.bigui{--bh-dock-size:calc(148px + env(safe-area-inset-bottom,0px))}body.bigui #hud .hbtn{min-height:48px;font-size:13px}body.bigui #info .ititle{font-size:15px}body.bigui #info .small{font-size:12px}body.hc #hud .bh-end-command,body.hc #hud .bh-turn-status.is-human{color:#000;background:#fff}@media (width<=1099px){:root{--bh-dock-size:calc(140px + env(safe-area-inset-bottom,0px));--bh-command-width:100%}#hud{padding:5px 12px;padding-top:max(5px,env(safe-area-inset-top));gap:12px;min-height:56px}#hud .hco{gap:5px;padding-left:6px}#hud .hname{font-size:11px}.bh-battle-brand{flex-basis:170px;min-width:132px}.bh-battle-title{font-size:18px}.bh-battle-credit{display:none}#info{padding:6px max(8px,env(safe-area-inset-right)) calc(80px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left));scrollbar-width:none;align-items:stretch;gap:6px;overflow:auto hidden}#info .ibox{flex:0 0 180px;min-width:180px;max-height:54px;padding:4px 8px;overflow:auto}#info .bh-unit-info,#info:not([data-forecast=active]) .bh-own-unit-info{flex:1 0 300px;grid-template-columns:38px minmax(0,1fr);gap:2px 8px;min-width:300px;padding:4px 8px}#info .bh-unit-art{width:38px;height:38px}#info .bh-unit-info>.small{display:none}#info .bh-unit-heading,#info .bh-own-unit-info .bh-unit-heading{font-size:11px;line-height:1.2}#info .ititle{font-size:11px}#hud .bh-command-dock,#hud .bh-replay-controls{right:max(8px,env(safe-area-inset-right));left:max(8px,env(safe-area-inset-left));width:auto;bottom:calc(var(--bh-footer-size) + env(safe-area-inset-bottom,0px));border:0;gap:6px;height:52px;padding:0}#hud .bh-command-dock .hbtn,#hud .bh-replay-controls .hbtn{gap:3px;min-width:44px;height:48px;min-height:48px;padding:5px 3px;font-size:10px}#hud .bh-command-detail{font-size:9px}#info[data-forecast=active],#info[data-unload=active]{padding:8px max(8px,env(safe-area-inset-right)) calc(var(--bh-footer-size) + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left));align-items:stretch}#info[data-forecast=active] .bh-forecast,#info[data-unload=active] .bh-unload{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px;font-size:11px}#info[data-forecast=active] .bh-forecast-title,#info[data-unload=active] .bh-unload-title{grid-column:1/3;font-size:10px;line-height:1.2}#info[data-forecast=active] .bh-forecast-units{grid-template-columns:1fr;gap:6px}#info[data-forecast=active] .bh-forecast-row{grid-template-rows:16px 4px;grid-template-columns:20px 34px minmax(0,1fr) auto;gap:2px 4px}#info[data-forecast=active] .bh-forecast-sprite{width:20px;height:20px}#info[data-forecast=active] .bh-forecast-role{font-size:9px}#info[data-forecast=active] .bh-forecast-desktop{display:none}#info[data-forecast=active] .bh-forecast-mobile{display:inline}#info[data-forecast=active] .bh-forecast-hp,#info[data-forecast=active] .bh-forecast-name{font-size:10px}#info[data-forecast=active] .bh-forecast-bar{height:4px}#info[data-forecast=active] .bh-forecast-controls button,#info[data-unload=active] .bh-unload-controls button{min-width:44px;max-width:none;height:48px;min-height:44px;padding:5px 7px;font-size:10px}#info[data-forecast=active] .bh-forecast-controls,#info[data-unload=active] .bh-unload-controls,#info[data-unload=active] .bh-unload-slots{gap:4px}#info[data-unload=active] .bh-unload-slot{text-align:center;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);gap:2px;height:60px;min-height:44px;padding:4px}#info[data-unload=active] .bh-unload-number{display:none}#info[data-unload=active] .bh-unload-status{font-size:10px}#info[data-unload=active] .bh-unload-name:before{content:attr(data-slot)}#menu.bh-action-menu{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));scrollbar-width:thin;border:0;height:52px;padding:2px 0;overflow:auto hidden}#menu.bh-action-menu .mtitle{display:none}#menu.bh-action-menu .mbtn{min-width:64px;height:48px;min-height:44px;margin-right:5px;padding:5px 8px;font-size:11px}#objective,#hintbar{max-width:calc(100% - 16px);font-size:9px;left:8px}#hintbar{max-width:64%;left:auto;right:8px}body:has(#hintbar:not(:empty)) #objective{max-width:32%}body.bigui{--bh-dock-size:calc(160px + env(safe-area-inset-bottom,0px))}body.bigui #info .ibox{max-height:74px}body.bigui #hud .bh-command-dock .hbtn{font-size:12px}}@media (width<=700px){#hud{padding:6px;padding-top:max(6px,env(safe-area-inset-top));padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right));flex-wrap:wrap;gap:6px;min-height:64px}.bh-battle-brand{flex:102px;min-width:102px;padding-bottom:14px}.bh-battle-title{letter-spacing:.8px;font-size:12px}#hud .hco{display:none}#hud .hstat,#hud .hstat:nth-child(3){flex:0 0 28px;min-width:28px}#hud .hstat.bh-funds{flex:0 0 84px;min-width:84px}#hud .hstat .big{font-size:14px}#hud .small{font-size:9px}#hud .bh-menu-command{flex:0 0 44px;min-width:44px;min-height:44px;padding:5px 3px;font-size:10px}#hud .bh-turn-status{left:max(6px,env(safe-area-inset-left));top:calc(max(6px,env(safe-area-inset-top)) + 30px);color:var(--bh-shell-muted);letter-spacing:.6px;border:0;padding:0;font-size:9px;position:absolute;background:0 0!important}#hud .bh-turn-status.is-human{color:var(--bh-shell-accent)}#hud .bh-replay-readout{flex:calc(100% - 125px);min-width:160px;line-height:1.3}#hud .bh-replay-context{white-space:normal;font-size:10px}#hud .bh-replay-progress{font-size:10px}#hud .bh-replay-controls{gap:6px;width:auto}#hud .bh-replay-controls .hbtn{flex:1 1 0}body.bigui #hud .hname{font-size:12px}body.bigui #hud .hstat .big{font-size:16px}}@media (width<=1099px){#info .bh-own-unit-info:has(.bh-supply-warning){grid-template-columns:minmax(0,1fr);row-gap:1px;padding-top:3px;padding-bottom:3px}#info .bh-own-unit-info:has(.bh-supply-warning) .bh-unit-art{display:none}:is(#info .bh-own-unit-info:has(.bh-supply-warning) .bh-unit-heading,#info .bh-own-unit-info:has(.bh-supply-warning) .bh-resource-gauges,#info .bh-own-unit-info:has(.bh-supply-warning) .bh-supply-warning){grid-column:1}}#screen .scr:has(>.bh-home){touch-action:pan-y;border:1px solid #314016;border-radius:12px;width:min(1120px,100%);min-width:0;max-width:1120px;max-height:calc(100dvh - 24px);padding:24px;overflow:auto}.bh-home{width:100%;min-width:0}.bh-home-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px;display:flex}.bh-home-eyebrow{color:#c6d7a4;letter-spacing:2.4px;margin:0 0 7px;font-size:10px;line-height:1.3}.bh-home-title{color:#c6ff1a;letter-spacing:1px;margin:0;font-size:clamp(26px,3.3vw,42px);font-weight:900;line-height:1.05}.bh-home-subtitle{color:#c6d7a4;text-align:right;max-width:220px;margin:0 0 3px;font-size:12px;line-height:1.5}.bh-home-deck{grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:20px;display:grid}.bh-home-picture{background:#0c1417;border:1px solid #314016;border-radius:7px;min-width:0;margin:0;overflow:hidden}.bh-home-art{aspect-ratio:12/5;width:100%;height:auto;image-rendering:pixelated;display:block}.bh-home-picture figcaption{color:#c6d7a4;letter-spacing:1.2px;background:#0c100b;justify-content:space-between;gap:10px;padding:10px 12px;font-size:9px;line-height:1.4;display:flex}.bh-home-picture figcaption span{letter-spacing:0;color:#9eae87}.bh-home-play{min-width:0}#screen .bh-home .mbtn{min-height:46px;box-shadow:none;overflow-wrap:anywhere;border-width:1px;border-radius:5px;margin:0;padding:12px 14px;font-size:13px;line-height:1.3}#screen .bh-home .mbtn:focus-visible{outline-offset:3px;outline:2px solid #c6ff1a}#screen .bh-home .bh-home-continue{color:#10140c;background:#c6ff1a;border-color:#c6ff1a;min-height:82px;margin-bottom:12px;font-size:19px;font-weight:900}#screen .bh-home .bh-home-continue .hint{float:none;color:#24320b;opacity:1;margin:5px 0 0;font-size:11px;font-weight:500;line-height:1.35;display:block}#screen .bh-home .bh-home-continue:hover,#screen .bh-home .bh-home-continue:focus-visible{color:#10140c;background:#d4ff55}.bh-home-modes{grid-template-columns:1fr;gap:7px;display:grid}.bh-home-save-note{color:#c6d7a4;margin:0 0 12px;padding:12px 0;font-size:12px;line-height:1.5}.bh-home-tools{border-top:1px solid #314016;margin-top:24px;padding-top:20px}.bh-home-utility-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}#screen .bh-home .bh-home-utility-grid .mbtn{background:#10140c;min-height:44px;font-size:12px}#screen .bh-home .bh-home-utility-grid .mbtn:hover,#screen .bh-home .bh-home-utility-grid .mbtn:focus-visible{background:#1a240c}#screen .bh-home .bh-home-cutscenes{background:#10140c;justify-content:space-between;align-items:center;gap:12px;min-height:46px;margin-top:12px;display:flex}#screen .bh-home .bh-home-cutscenes .hint{float:none;text-align:right;margin:0;font-size:11px;line-height:1.4}#screen .bh-home .install{margin-top:10px}.bh-home-footer{text-align:left;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:10px 0 0;display:flex}.bh-home-footer img{object-fit:contain;width:112px;height:63px;margin:0}#screen .bh-home-footer .foot{text-align:right;opacity:1;margin:0;font-size:10px;line-height:1.5}body.hc #screen .bh-home-picture,body.hc #screen .bh-home-tools{border-color:#fff}body.hc #screen .bh-home .bh-home-continue{color:#000;background:#fff;border-color:#fff}body.bigui #screen .bh-home .mbtn{min-height:50px;font-size:15px}@media (width<=850px){#screen .scr:has(>.bh-home){padding:18px}.bh-home-heading{gap:12px;margin-bottom:18px}.bh-home-subtitle{max-width:190px;font-size:11px}.bh-home-deck{grid-template-columns:minmax(0,1fr) 220px;gap:14px}#screen .bh-home .mbtn{padding:11px 12px;font-size:12px}.bh-home-utility-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}}@media (width<=620px){#screen .scr:has(>.bh-home){border-radius:8px;max-height:calc(100dvh - 16px);padding:16px}.bh-home-heading{margin-bottom:16px;display:block}.bh-home-title{letter-spacing:.5px;font-size:clamp(24px,7.1vw,38px)}.bh-home-eyebrow{margin-bottom:6px;font-size:9px}.bh-home-subtitle{text-align:left;max-width:none;margin:9px 0 0;font-size:11px}.bh-home-deck{grid-template-columns:minmax(0,1fr);gap:16px}.bh-home-picture figcaption{letter-spacing:.6px;padding:8px 10px;font-size:8px}#screen .bh-home .bh-home-continue{min-height:76px;margin-bottom:10px}.bh-home-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#screen .bh-home .mbtn{min-height:48px;font-size:12px}.bh-home-tools{margin-top:20px;padding-top:16px}.bh-home-utility-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#screen .bh-home .bh-home-cutscenes{text-align:left;display:block}#screen .bh-home .bh-home-cutscenes .hint{text-align:left;margin-top:5px;font-size:10px;display:block}.bh-home-footer{gap:10px}.bh-home-footer img{width:88px;height:50px}#screen .bh-home-footer .foot{max-width:190px;font-size:9px}}#info .bh-route-plan{border:1px solid var(--bh-shell-line);border-left:3px solid var(--bh-shell-accent);background:var(--bh-shell-card);min-width:0;color:var(--bh-shell-ink);font-variant-numeric:tabular-nums;border-radius:7px;flex:1 1 0;align-self:center;padding:7px 10px;font:600 12px/1.45 system-ui,-apple-system,Segoe UI,sans-serif}.bh-route-heading{white-space:nowrap;text-overflow:ellipsis;align-items:baseline;gap:8px;font-weight:750;display:flex;overflow:hidden}.bh-route-label{letter-spacing:.8px;color:var(--bh-shell-accent);font-size:9px}.bh-route-resources{color:var(--bh-shell-ink)}.bh-route-destination{color:var(--bh-shell-muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}@media (width<=1099px){#info .bh-route-plan{align-self:stretch;padding:3px 7px;font-size:11px;line-height:15px;overflow:hidden}#info .bh-route-destination{font-size:10px;line-height:14px}body.bigui #info .bh-route-plan{font-size:12px;line-height:19px}body.bigui #info .bh-route-destination{font-size:11px;line-height:17px}}#screen .scr:has(.bh-debrief){width:min(680px,96vw);min-width:0}.bh-debrief{width:100%;min-width:0;color:var(--bh-shell-ink);font:500 14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}.bh-debrief-heading{justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;display:flex}.bh-debrief-heading>div{min-width:0}#screen .bh-debrief-heading h2{letter-spacing:.3px;color:var(--bh-shell-accent);margin:4px 0 7px;font:850 clamp(22px,4vw,32px)/1.1 system-ui,sans-serif}.bh-debrief-kicker{letter-spacing:1.6px;text-transform:uppercase;color:var(--bh-shell-muted);font-size:10px;font-weight:750}.bh-debrief-mission{overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:650}.bh-debrief-heading .portrait{border:1px solid var(--bh-shell-line);border-radius:4px;flex:none;width:64px;height:64px}.bh-debrief-figure{border:1px solid var(--bh-shell-line);background:var(--bh-shell-bg);border-radius:7px;width:100%;margin:0 0 16px;overflow:hidden}.bh-debrief-art{aspect-ratio:8/3;width:100%;line-height:0}.bh-debrief-art canvas{aspect-ratio:8/3;width:100%;height:auto;image-rendering:pixelated;display:block}.bh-debrief-figure figcaption{color:var(--bh-shell-muted);padding:6px 10px;font:500 11px/1.4 system-ui,sans-serif}.bh-debrief-reason{overflow-wrap:anywhere;margin:12px 0;font-size:15px;font-weight:700}.bh-debrief-statistics{border-block:1px solid var(--bh-shell-line);padding:2px 0}.bh-debrief-statistics summary{cursor:pointer;min-height:44px;color:var(--bh-shell-muted);padding:11px 2px;font-size:13px}.bh-debrief-statistics summary:focus-visible{outline:2px solid var(--bh-shell-accent);outline-offset:2px}.bh-debrief-statistics .stats{font-variant-numeric:tabular-nums;margin:0 0 12px;font-size:12px}.bh-debrief-rank{color:var(--bh-shell-muted);margin:10px 0;font-size:12px}.bh-debrief .campaign-next{margin:14px 0}#screen .bh-debrief .campaign-next h3{color:var(--bh-shell-ink);margin:0 0 6px;font:700 13px/1.4 system-ui,sans-serif}.bh-debrief .mbtn{white-space:normal;overflow-wrap:anywhere;min-height:44px;margin:6px 0;font:650 13px/1.35 system-ui,sans-serif}.bh-debrief .mbtn .hint{float:none;opacity:1;color:inherit;margin:4px 0 0;font-size:11px;font-weight:500;display:block}.bh-debrief .replay-debrief-context{color:var(--bh-shell-muted);overflow-wrap:anywhere;font-size:12px}.dispatch-entry>.bh-debrief-figure{margin:12px 0}@media (width<=480px){.bh-debrief{font-size:13px}.bh-debrief-heading{gap:10px;margin-bottom:12px}.bh-debrief-heading .portrait{width:48px;height:48px}.bh-debrief-mission{font-size:13px}.bh-debrief-figure{margin-bottom:12px}.bh-debrief-figure figcaption{padding:5px 8px;font-size:10px}.bh-debrief-reason{font-size:14px}}#screen .bh-debrief .mbtn{background:var(--bh-shell-card);color:var(--bh-shell-ink);border:1px solid var(--bh-shell-line);box-shadow:none;border-radius:6px}#screen .bh-debrief .mbtn:focus-visible{outline:2px solid var(--bh-shell-accent);outline-offset:2px}#screen .bh-debrief .bh-debrief-primary{background:var(--bh-shell-accent);border-color:var(--bh-shell-accent);color:var(--bh-shell-bg)}#screen .bh-debrief .bh-debrief-primary:focus-visible{outline-color:var(--bh-shell-ink)}#screen .bh-debrief .campaign-next{background:0 0;border:0;padding:0}#screen{--bh-screen-top:max(8px,env(safe-area-inset-top,0px));--bh-screen-right:max(8px,env(safe-area-inset-right,0px));--bh-screen-bottom:max(8px,env(safe-area-inset-bottom,0px));--bh-screen-left:max(8px,env(safe-area-inset-left,0px));padding:var(--bh-screen-top) var(--bh-screen-right) var(--bh-screen-bottom) var(--bh-screen-left)}#screen .scr{min-width:0;max-width:min(720px,100%);max-height:calc(100vh - var(--bh-screen-top) - var(--bh-screen-bottom));max-height:calc(100dvh - var(--bh-screen-top) - var(--bh-screen-bottom));overscroll-behavior:contain;touch-action:pan-y}#screen .scr:has(>.bh-home){max-width:1120px;max-height:calc(100vh - var(--bh-screen-top) - var(--bh-screen-bottom));max-height:calc(100dvh - var(--bh-screen-top) - var(--bh-screen-bottom))}#screen .form{min-width:0}#screen .form label{overflow-wrap:anywhere;min-width:0}#screen select,#screen input:not([type=checkbox]):not([type=radio]),#screen textarea{min-width:0;max-width:100%;font:inherit}#screen select,#screen input:not([type=checkbox]):not([type=radio]):not([type=range]){color:#f3ffe4;background:#10140c;border:1px solid #6b8240;border-radius:5px;min-height:40px;padding:7px 9px}#screen input[type=range]{vertical-align:middle;min-height:40px}#screen .chk{align-items:center;gap:8px;min-height:40px;display:flex}#screen .chk input{flex:0 0 20px;width:20px;height:20px;margin:0}#screen select:focus-visible,#screen input:focus-visible,#screen textarea:focus-visible{outline-offset:2px;outline:2px solid #c6ff1a}@media (pointer:coarse){#screen select,#screen input:not([type=checkbox]):not([type=radio]),#screen .chk{min-height:44px}}body.bigui #screen select,body.bigui #screen input:not([type=checkbox]):not([type=radio]),body.bigui #screen textarea,body.bigui #screen .form label{font-size:16px}body.bigui #screen select,body.bigui #screen input:not([type=checkbox]):not([type=radio]),body.bigui #screen .chk{min-height:48px}body.bigui #screen .bh-home .bh-home-continue{min-height:86px;font-size:21px}body.bigui #screen .bh-home .bh-home-continue .hint{font-size:13px}body.hc #screen select,body.hc #screen input:not([type=checkbox]):not([type=radio]):not([type=range]),body.hc #screen textarea{color:#fff;background:#000;border-color:#fff}body.hc #screen select:focus-visible,body.hc #screen input:focus-visible,body.hc #screen textarea:focus-visible{outline-color:#fff}#screen .scr:has(.bh-commander-cards){width:min(960px,100%);max-width:960px}.bh-commander-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0;margin:14px 0;display:grid}.bh-commander-card{background:#1a240c;border:1px solid #314016;border-radius:8px;grid-template-columns:96px minmax(0,1fr);align-items:start;gap:16px;min-width:0;padding:16px;display:grid}#screen .bh-commander-portrait{width:96px;min-width:96px;max-width:96px;height:96px;image-rendering:pixelated;border:0;border-radius:5px;display:block}.bh-commander-copy{overflow-wrap:anywhere;min-width:0}#screen .bh-commander-name{color:#f3ffe4;margin:0;font-size:16px;line-height:1.25}.bh-commander-side{color:#c6ff1a;letter-spacing:.6px;margin:0 0 7px;font-size:11px;font-weight:800}.bh-commander-title{color:#e8ffb0;margin-top:4px;font-size:12px;line-height:1.4}.bh-commander-style{color:#c6d7a4;margin-top:3px;font-size:11px;line-height:1.4}.bh-commander-card p{color:#f3ffe4;margin:12px 0 0;font-size:12px;font-weight:500;line-height:1.55}.bh-commander-card .bh-commander-power{color:#c6d7a4}.bh-commander-power strong{color:#e8ffb0;font-weight:800}body.bigui #screen .bh-commander-name{font-size:18px}body.bigui #screen .bh-commander-card p,body.bigui #screen .bh-commander-title,body.bigui #screen .bh-commander-style{font-size:14px}body.hc #screen .bh-commander-card{background:#000;border-color:#fff}body.hc #screen .bh-commander-card,body.hc #screen .bh-commander-card p,body.hc #screen .bh-commander-card strong,body.hc #screen .bh-commander-name,body.hc #screen .bh-commander-title,body.hc #screen .bh-commander-style,body.hc #screen .bh-commander-side{color:#fff}@media (width<=760px){.bh-commander-cards{grid-template-columns:minmax(0,1fr)}}@media (width<=480px){.bh-commander-card{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px}#screen .bh-commander-portrait{width:64px;min-width:64px;max-width:64px;height:64px}}.talkstage{aspect-ratio:640/200;width:min(92vw,640px);height:auto;image-rendering:pixelated;border:1px solid var(--bh-shell-line);box-shadow:none;background:var(--bh-shell-bg);border-radius:4px;margin:6px auto;display:block}.talkcast{color:var(--bh-shell-muted);letter-spacing:1.2px;text-align:center;font:600 11px/1.4 system-ui,sans-serif}.dostabs{flex-wrap:wrap;justify-content:center;gap:6px;margin:6px 0 12px;display:flex}.dostab{background:var(--bh-shell-card);border:1px solid var(--bh-shell-line);cursor:pointer;box-shadow:none;border-radius:5px;min-width:44px;min-height:44px;padding:3px}.dostab.on{border-color:var(--bh-shell-accent);outline:1px solid var(--bh-shell-accent)}.dostab .portrait{width:48px;height:48px;image-rendering:pixelated;border:0}.dossier{text-align:left;border:1px solid var(--bh-shell-line);background:var(--bh-shell-card);border-radius:4px;align-items:flex-start;gap:16px;max-width:640px;padding:12px;display:flex}.portrait.huge{width:96px;height:96px;image-rendering:pixelated;border:1px solid var(--bh-shell-line);box-shadow:none;border-radius:4px;flex:none}.dossier .dname{color:var(--bh-shell-ink);letter-spacing:1.2px;font-weight:850}.dossier .quote{color:var(--bh-shell-accent)}.phase{letter-spacing:.6px;font-weight:800}.phase.ph-night{color:#a8b8ff}.phase.ph-dusk{color:#ffb080}.phase.ph-dawn{color:#ffd8b8}.phase.ph-day,.rank{color:var(--bh-shell-accent)}@media (width<=480px){.dossier{flex-direction:column}.portrait.huge{width:72px;height:72px}}.rating{align-items:center;gap:14px;margin:8px 0;display:flex}.rating .grade{border:2px solid var(--bh-shell-accent);width:56px;height:56px;color:var(--bh-shell-accent);background:var(--bh-shell-bg);border-radius:6px;justify-content:center;align-items:center;font:900 34px/1 system-ui,sans-serif;display:flex}.rating .grade.gC{border-color:var(--bh-shell-line);color:var(--bh-shell-muted)}.rbars{flex:1;min-width:180px}.rbar{color:var(--bh-shell-muted);grid-template-columns:76px 1fr 30px;align-items:center;gap:8px;margin:3px 0;font-size:11px;display:grid}.rbar .bar{background:var(--bh-shell-bg);border:1px solid var(--bh-shell-line);border-radius:3px;height:6px;overflow:hidden}.rbar .fill{background:var(--bh-shell-accent);height:100%}.bonus{color:var(--bh-shell-muted);margin-top:4px;font-size:12px}.bonus.ok{color:var(--bh-shell-accent)}.bh-brief-rules{color:var(--bh-shell-muted);flex-wrap:wrap;gap:6px 14px;margin:6px 0;font-size:12px;display:flex}.bh-brief-rules span{border:1px solid var(--bh-shell-line);background:var(--bh-shell-card);border-radius:4px;padding:3px 8px}.bh-brief-rules .bh-modern-rules{color:var(--bh-shell-accent);border-color:var(--bh-shell-accent)}.activepow.sup{background:var(--bh-shell-accent);color:#10140c}.bh-super-desc{color:var(--bh-shell-accent)}.banner.pow.sup .pname{color:var(--bh-shell-accent);letter-spacing:1.5px}.banner.pow.sup .powban{color:#f2f2e0;border:2px solid var(--bh-shell-accent);background:#141a12}.bh-cutscene{border:1px solid var(--bh-shell-line);background:var(--bh-shell-card);width:min(96vw,680px);max-width:680px;box-shadow:none;border-radius:4px;padding:12px}.bh-cutscene .cuthead{color:var(--bh-shell-muted);justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.bh-cutscene .cuthead b{color:var(--bh-shell-accent);letter-spacing:1px}.cutstage{aspect-ratio:640/240;width:100%;height:auto;image-rendering:pixelated;border:1px solid var(--bh-shell-line);box-shadow:none;background:#000;display:block}.cutcaption{text-align:left;min-height:3em;margin:8px 2px;font:15px/1.45 system-ui,sans-serif}.cutbtns{justify-content:flex-end;gap:8px;display:flex}.cutbtns .mbtn{min-width:44px;min-height:44px}.revealed{border:1px solid var(--bh-shell-accent);color:var(--bh-shell-accent);letter-spacing:1.2px;vertical-align:middle;border-radius:3px;margin-left:8px;padding:1px 6px;font:700 10px/1.6 system-ui,sans-serif}.bh-towers{color:var(--bh-shell-accent);letter-spacing:.6px;font-size:11px}.bh-tagpair{color:var(--bh-shell-accent);letter-spacing:.6px;font-weight:700}.bh-tagcard{opacity:.85;align-items:center;margin-left:-6px;display:flex}.bh-tagcard canvas{width:32px;height:32px;image-rendering:pixelated;border:1px solid var(--bh-shell-line);border-radius:3px}.bh-tag-command{border-color:var(--bh-shell-accent)}.tagban i{width:56px;height:56px;display:inline-block}.tagban i canvas{width:56px;height:56px;image-rendering:pixelated}.bh-wfbar{border:1px solid var(--bh-shell-accent);background:var(--bh-shell-card);box-shadow:none;border-radius:4px;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:12px;margin:6px 0;padding:8px 12px;display:flex}.bh-wfbar b{color:var(--bh-shell-accent);letter-spacing:.8px}.bh-shop,.bh-challenges{box-sizing:border-box;gap:8px;width:100%;max-width:720px;margin:6px auto;display:grid}.bh-shopitem,.bh-challenge{box-sizing:border-box;text-align:left;border:1px solid var(--bh-shell-line);background:var(--bh-shell-card);width:100%;box-shadow:none;border-radius:4px;align-items:center;gap:12px;padding:8px 10px;display:flex}.bh-shopitem.owned,.bh-challenge.done{border-color:var(--bh-shell-accent)}.bh-shopicon{width:64px;height:64px;image-rendering:pixelated;flex:none}.bh-challenge canvas{width:auto;height:56px;image-rendering:pixelated;border:1px solid var(--bh-shell-line);flex:none}.bh-shoptext,.bh-chtext{flex:auto;min-width:0}.bh-shopitem .mbtn,.bh-chbtns .mbtn{flex:none;width:auto;min-width:96px;min-height:44px;margin:0}.bh-chbtns{flex-direction:column;flex:none;gap:6px;display:flex}@media (width<=560px){.bh-shopitem,.bh-challenge{flex-wrap:wrap}.bh-chbtns{flex-direction:row}}#hud .bh-wx{min-width:72px}#hud .bh-wx .bh-wx-now{letter-spacing:.04em;align-items:center;gap:4px;font-size:13px;font-weight:700;display:flex}#hud .bh-wx canvas{width:16px;height:16px;image-rendering:pixelated}#hud .bh-wx .bh-wx-next{opacity:.85;gap:2px;display:flex}#hud .bh-wx .bh-wx-next canvas{width:12px;height:12px}body[data-weather=storm] #hud{border-bottom-color:#7c8aa2}#dialog .bh-nameplate{border-left:4px solid var(--plate,#c8a467);background:linear-gradient(90deg,color-mix(in srgb,var(--plate,#c8a467) 35%,transparent),transparent);letter-spacing:1.5px;border-radius:2px;padding:2px 10px 2px 8px;display:inline-block}#dialog .bh-dpartner{filter:grayscale(.55)brightness(.55);opacity:.85;width:64px;height:64px;image-rendering:pixelated;align-self:flex-end;transform:scaleX(-1)}#dialog .bh-dlog-btn{align-self:flex-start;min-height:0;padding:2px 6px;font-size:11px}#dialog .bh-dlog{background:var(--bh-shell-panel,#141a12);border:1px solid var(--bh-shell-line,#3a4a30);cursor:default;border-radius:8px;max-height:260px;margin-bottom:6px;padding:8px 10px;font-size:13px;position:absolute;bottom:100%;left:0;right:0;overflow:auto}#dialog .bh-dlog p{margin:0 0 5px}#dialog .bh-dlog b{color:var(--bh-shell-accent,#c6ff3d)}#hud .bh-battle-brand{flex:0 auto}#hud .bh-objhud{border:1px solid var(--bh-shell-line,#3a4a30);background:var(--bh-shell-card,#1b2316);min-width:0;max-width:640px;color:var(--bh-shell-ink,#eef4e2);border-radius:7px;flex-wrap:wrap;flex:260px;align-items:center;gap:4px 6px;max-height:56px;padding:4px 8px;font:600 11px/1.3 system-ui,-apple-system,Segoe UI,sans-serif;display:flex;overflow:hidden}#hud .bh-oh-toggle{border:1px solid var(--bh-shell-line,#3a4a30);min-width:22px;min-height:22px;color:var(--bh-shell-accent,#c6ff3d);cursor:pointer;background:0 0;border-radius:4px;padding:0 4px;font:700 11px/1 system-ui,sans-serif}#hud .bh-oh-title{white-space:nowrap;text-overflow:ellipsis;max-width:220px;font-weight:800;overflow:hidden}#hud .bh-oh-chip{white-space:nowrap;background:var(--bh-shell-bg,#0f140c);border:1px solid var(--bh-shell-line,#3a4a30);color:var(--bh-shell-muted,#b9c4a8);border-radius:9px;padding:1px 6px;font-size:10px}#hud .bh-oh-chip.ok{color:#c6ff3d;border-color:#5c7a28}#hud .bh-oh-chip.bad{color:#ff9a7a;border-color:#7a3a28}#hud .bh-oh-chip.wait{color:#f2d48a;border-color:#6a5a2a}#hud .bh-oh-chip.prog{color:#eef4e2}body:has(#hud .bh-objhud) #objective{display:none!important}#hud .bh-objhud{box-sizing:border-box;flex-wrap:wrap;align-content:center;gap:2px 6px;max-height:48px;padding:3px 8px}#hud .bh-oh-toggle{flex:none;min-width:20px;min-height:18px;line-height:16px}#hud .bh-oh-title{flex:0 auto;min-width:0}#hud .bh-oh-chips{flex-wrap:nowrap;flex:100%;gap:4px;min-width:0;display:flex;overflow:hidden}#hud .bh-oh-chip{text-overflow:ellipsis;flex:0 auto;min-width:0;line-height:14px;overflow:hidden}#hud .bh-oh-chip.day,#hud .bh-oh-chip.prog{flex-shrink:0}@media (width<=1099px){#hud .bh-objhud{flex-wrap:nowrap;flex:1 1 0;order:0;gap:4px;min-width:0;max-width:none;max-height:none;padding:2px 5px;overflow:hidden}#hud .bh-objhud .bh-oh-title{flex:auto;min-width:0;max-width:none;font-size:10px}#hud .bh-objhud:not(.pop) .bh-oh-chips{display:none}#hud .bh-objhud .bh-oh-toggle{flex:none;min-width:24px;min-height:24px}#hud .bh-objhud.pop{left:max(6px,env(safe-area-inset-left));right:max(6px,env(safe-area-inset-right));z-index:8;border-color:var(--bh-shell-accent,#c6ff3d);flex-wrap:wrap;padding:5px 8px;position:absolute;top:calc(100% + 4px);overflow:visible}#hud .bh-objhud.pop .bh-oh-title{white-space:normal;flex:auto}#hud .bh-objhud.pop .bh-oh-chips{flex-wrap:wrap}#hud .bh-objhud.pop .bh-oh-chip{flex:none;max-width:100%}}@media (width<=700px){#hud .bh-objhud{flex:34px;min-width:34px}.bh-battle-brand{flex:0 102px}}@media (width<=1099px) and (height<=500px){:root{--bh-dock-size:calc(112px + env(safe-area-inset-bottom,0px));--bh-footer-size:18px}#info{padding-top:4px;padding-bottom:calc(66px + env(safe-area-inset-bottom,0px))}#info .ibox{max-height:40px;padding:2px 8px}#info .bh-unit-info,#info:not([data-forecast=active]) .bh-own-unit-info{grid-template-columns:28px minmax(0,1fr);row-gap:1px;padding:2px 8px}#info .bh-unit-art{width:28px;height:28px}#hud .bh-command-dock,#hud .bh-replay-controls{height:44px}#hud .bh-command-dock .hbtn,#hud .bh-replay-controls .hbtn{gap:1px;height:40px;min-height:40px}#hud .bh-command-detail{font-size:8px}#menu.bh-action-menu{height:44px}#menu.bh-action-menu .mbtn{height:40px;min-height:40px}#objective,#hintbar,#bh-legend{font-size:9px;line-height:14px}}#bh-legend{left:max(12px,env(safe-area-inset-left));bottom:env(safe-area-inset-bottom,0px);height:var(--bh-footer-size,24px);z-index:6;max-width:50%;color:var(--bh-shell-muted,#b9c4a8);align-items:center;gap:8px;font:600 10px/1.2 system-ui,sans-serif;display:flex;position:fixed;overflow:hidden}#bh-legend .bh-legend-toggle{color:var(--bh-shell-muted,#b9c4a8);cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:1px 2px;font:700 10px/1.2 system-ui,sans-serif}#bh-legend ul{gap:10px;margin:0;padding:0;list-style:none;display:flex}#bh-legend li{white-space:nowrap;color:var(--bh-shell-ink,#eef4e2);align-items:center;gap:4px;display:flex}.bh-legend-sw{box-sizing:border-box;border-radius:1px;width:12px;height:12px;display:inline-block}.bh-legend-move{background:#7cc4e84d;border:1px solid #bfeaff}.bh-legend-attack{background:#d9583e1f;border:1px dashed #ff7a5c}.bh-legend-threat{background:repeating-linear-gradient(-45deg,#c8573c99 0 1px,#0000 1px 4px);border:1px solid #c8573c99}.bh-legend-select{border:1px solid #fff3a0;outline:1px solid #1c1404}@media (width<=900px){#bh-legend{max-width:60%}#bh-legend ul{gap:6px}}.bh-locked-arcs{flex-wrap:wrap;align-items:center;gap:5px;margin:4px 0 8px;display:flex}.bh-arc-locked{border:1px dashed var(--bh-shell-line,#3a4a30);color:var(--bh-shell-muted,#b9c4a8);white-space:nowrap;border-radius:5px;padding:3px 8px;font:600 11px/1.3 system-ui,sans-serif}.bh-locked-arcs.open{flex-direction:column;align-items:stretch}.bh-locked-arcs.open .bh-arc-locked{white-space:normal}.bh-arc-locked .hint{margin-top:2px;font-size:10px;display:block}.bh-locked-toggle{min-height:26px!important;padding:2px 9px!important;font-size:11px!important}.bh-locked-arcs.open .bh-locked-toggle{align-self:flex-start}.bh-start-campaign{letter-spacing:.4px;min-height:58px;font-size:16px!important}.bh-more-toggle{border-style:dashed!important}.bh-more-options{border:1px dashed var(--bh-shell-line,#3a4a30);border-radius:6px;margin:6px 0;padding:4px 8px}.bh-more-options summary{cursor:pointer;padding:3px 0;font-weight:700}.bh-more-options[open] summary{margin-bottom:4px}.bh-more-options label{margin:4px 0;display:block}.slot.bh-slot-empty{color:var(--bh-shell-muted,#b9c4a8);font-style:italic}.bh-start-campaign .hint{opacity:1;color:#26340f!important}#bh-reason{z-index:7;pointer-events:none;color:#ffd27a;letter-spacing:.3px;white-space:nowrap;background:#17242a;border:1px solid #ffd27a;border-radius:5px;padding:3px 9px;font:800 12px/1.3 system-ui,-apple-system,Segoe UI,sans-serif;position:fixed}.bh-boiler{background:#1a140c;border:1px solid #c9a24a;border-radius:3px;width:92px;max-width:100%;height:6px;margin-top:3px;position:relative;overflow:hidden}.bh-boiler i{background:linear-gradient(90deg,#8a6a30,#f0c850);display:block;position:absolute;top:0;bottom:0;left:0}.bh-boiler b{opacity:.7;background:#fff6dc;width:1px;position:absolute;top:0;bottom:0}.bh-cover{align-items:center;gap:4px;display:flex}.bh-cover-gauge,.bh-strength-gauge{vertical-align:middle;gap:2px;display:inline-flex}.bh-cover-gauge i{background:0 0;border:1px solid #c9a24a;border-radius:1px 1px 4px 4px;width:7px;height:7px;display:inline-block}.bh-cover-gauge i.on{background:#c9a24a}.bh-strength-gauge i{background:#1a140c;border:1px solid #c9a24a;width:6px;height:8px;display:inline-block}.bh-strength-gauge i.on{background:#f0c850}.bh-strength-gauge i.half{background:linear-gradient(90deg,#f0c850 50%,#1a140c 50%)}.bh-cut-line{color:#ffb08a}
