:root{color-scheme:dark;font-family:Consolas,'Courier New',monospace;background:#04070c;color:#d9f7f6}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at 50% 0%,#182a38,#030509 75%)}#shell{width:min(100vw,1280px);position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid #2c4e59;box-shadow:0 0 70px #000,0 0 30px #0b7d7a25;background:#000}canvas{width:100%;height:100%;display:block;image-rendering:pixelated}#hud{position:absolute;inset:0;pointer-events:none;text-shadow:0 2px 5px #000}#top{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;padding:13px 17px;background:linear-gradient(#031015db,transparent);font-size:clamp(9px,1.4vw,17px);letter-spacing:2px}.brand b{color:#f4a65e}.brand small{font-size:.6em;color:#9db6c3}#status{color:#88f5d3;font-size:.7em}#crosshair{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#b7ffdb;font:30px monospace;opacity:.85}#bottom{position:absolute;bottom:0;left:0;right:0;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1.7fr 1fr;gap:12px;padding:14px 18px;background:linear-gradient(transparent,#041018ed);align-items:end}#bottom>div{min-width:0}#bottom small{display:block;color:#82c3bc;font-size:clamp(8px,.8vw,11px);letter-spacing:1px}#bottom strong,#bottom b{font-size:clamp(10px,1.1vw,15px);white-space:nowrap}#bottom .bar{height:5px;background:#26434c;margin:7px 0 4px;overflow:hidden}#bottom .bar i{height:100%;width:100%;display:block;background:#66e7c4;transition:width .2s}#energybar{background:#f3b46c!important}#notice{position:absolute;top:19%;left:50%;transform:translateX(-50%);text-align:center;font-size:clamp(12px,2vw,21px);letter-spacing:2px;color:#baf7e5;white-space:pre-line;max-width:90%;background:#06131caa;padding:4px 12px;opacity:0;transition:opacity .2s}#damage{position:absolute;inset:0;background:#ff1d3433;opacity:0;transition:opacity .15s}.overlay{position:absolute;inset:0;background:linear-gradient(135deg,#02060ce8,#10212bea);display:flex;justify-content:center;align-items:center;padding:25px;z-index:5}.hidden{display:none!important}.panel{width:min(670px,100%);padding:clamp(18px,4vw,45px);border:1px solid #4b777d;background:linear-gradient(145deg,#0a1824,#081016);box-shadow:0 15px 80px #000;max-height:100%;overflow:auto}.eyebrow{font-size:11px;color:#7fe4cb;letter-spacing:2px}h1{font-family:Impact,'Arial Black',sans-serif;font-size:clamp(46px,8vw,100px);letter-spacing:3px;margin:15px 0 8px;line-height:1}h1 em{color:#e5a45d;font-style:normal}h2{font:45px Impact,sans-serif;letter-spacing:3px}.panel p{line-height:1.6;color:#b9ccd1}.chips{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.chips span{border:1px solid #345e65;padding:7px;font-size:10px;color:#8ee5d0}button{font-family:inherit;cursor:pointer}#start,.panel button{border:0;background:#e2a261;color:#101218;font-weight:900;padding:15px 23px;letter-spacing:2px;margin:5px 6px 5px 0}#start:hover,.panel button:hover{background:#fff1b7}.help,.tiny{font-size:12px}.tiny{opacity:.65}footer{font-size:11px;color:#839fa7;padding:12px;text-align:center}footer a{color:#9cdbc8}#mobile{display:none;position:absolute;bottom:65px;left:0;right:0;justify-content:space-between;pointer-events:none;padding:10px}#mobile button{pointer-events:auto;touch-action:none;border:1px solid #a2d7cb99;background:#08202caa;color:#fff;padding:13px;min-width:44px;min-height:44px;font-weight:bold}.dpad{text-align:center}.dpad>div{display:flex;gap:5px}.actions{display:flex;gap:5px;align-items:end;flex-wrap:wrap;justify-content:end;max-width:50%}@media(pointer:coarse){#mobile{display:flex}}@media(max-width:700px){#bottom{grid-template-columns:repeat(3,1fr);gap:5px;padding:7px}#bottom>div:nth-child(5),#bottom>div:nth-child(6){display:none}#top{padding:6px}.brand small{display:none}#mobile{bottom:45px}#mobile button{padding:7px;min-width:37px;min-height:37px;font-size:10px}}

/* Blacksite celestial emblem: fixed sizing and one-shot 920ms hover tilt/glow. */
.blacksite-brand-logo{display:inline-block;width:25px;height:25px;min-width:25px;max-width:25px;min-height:25px;max-height:25px;object-fit:contain;vertical-align:middle;margin-right:9px;transform-origin:center;filter:drop-shadow(0 0 3px #f4a65e66)}
.brand:hover .blacksite-brand-logo,.blacksite-brand-logo:hover,.blacksite-title-logo:hover,.blacksite-panel-logo:hover{animation:blacksiteCelestialFlash 920ms ease-in-out 1 both}
@keyframes blacksiteCelestialFlash{0%{transform:perspective(180px) rotateY(0deg) rotateZ(0deg) scale(1);filter:drop-shadow(0 0 2px #ffb66366)}28%{transform:perspective(180px) rotateY(-15deg) rotateZ(-5deg) scale(1.1);filter:brightness(1.55) drop-shadow(0 0 8px #fff5c4)}52%{transform:perspective(180px) rotateY(14deg) rotateZ(4deg) scale(1.13);filter:brightness(1.95) drop-shadow(0 0 12px #ffc262)}78%{transform:perspective(180px) rotateY(-5deg) rotateZ(-2deg) scale(1.04);filter:brightness(1.25) drop-shadow(0 0 7px #ff9c28)}100%{transform:perspective(180px) rotateY(0deg) rotateZ(0deg) scale(1);filter:drop-shadow(0 0 3px #f4a65e66)}}
.blacksite-title-logo{display:inline-block;width:clamp(32px,6vw,64px);height:clamp(32px,6vw,64px);max-width:64px;max-height:64px;object-fit:contain;vertical-align:-.09em;margin-right:12px}
.blacksite-panel-logo{display:inline-block;width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;vertical-align:middle;margin-right:12px}
#blacksite-audio-controls{position:absolute;top:43px;right:14px;z-index:12;display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:65%;pointer-events:auto}
#blacksite-audio-controls button,#blacksite-audio-controls select{background:#091923ee;color:#ffd59b;border:1px solid #d99550;border-radius:4px;font:700 10px Consolas,monospace;letter-spacing:.5px;padding:6px 8px;cursor:pointer}
#blacksite-audio-controls button:hover,#blacksite-audio-controls select:hover{background:#513015;color:#fff6d7}
#blacksite-audio-controls input{width:65px;accent-color:#e6a457}
#blacksite-audio-controls button:focus-visible,#blacksite-audio-controls select:focus-visible{outline:2px solid #ffe4a8}
@media(max-width:700px){#blacksite-audio-controls{top:28px;right:5px;max-width:90%}#blacksite-audio-controls button,#blacksite-audio-controls select{font-size:9px;padding:5px}.blacksite-brand-logo{width:19px;height:19px;min-width:19px;max-width:19px;min-height:19px;max-height:19px}}

/* Fixed Celestial-style branding proportions: never enlarge or reflow game text. */
#top .brand{display:inline-flex;align-items:center;gap:6px;min-width:0;line-height:1.15;white-space:nowrap}
#top .brand .blacksite-brand-logo{display:block!important;box-sizing:border-box!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important;margin:0!important;object-fit:contain!important;position:static!important}
#menu h1 .blacksite-title-logo{display:inline-block!important;box-sizing:border-box!important;width:0.52em!important;height:0.52em!important;min-width:0!important;min-height:0!important;max-width:32px!important;max-height:32px!important;object-fit:contain!important;vertical-align:0!important;margin:0 0.12em 0 0!important;position:static!important}
.panel h2 .blacksite-panel-logo{display:inline-block!important;box-sizing:border-box!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important;object-fit:contain!important;vertical-align:middle!important;margin:0 7px 0 0!important;position:static!important}
/* Hover remains a visual-only effect: no dimensions, margins, or layout changes. */
@media(max-width:700px){#top .brand{gap:4px}#top .brand .blacksite-brand-logo{flex-basis:16px!important;width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;min-height:16px!important;max-height:16px!important}#menu h1 .blacksite-title-logo{max-width:25px!important;max-height:25px!important}.panel h2 .blacksite-panel-logo{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important}}
