:root{color-scheme:dark;font-family:system-ui,"Malgun Gothic",sans-serif;color:#e8ece8;background:#10181d;--safe-bottom:max(18px,env(safe-area-inset-bottom));--safe-top:max(14px,env(safe-area-inset-top));-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}body{margin:0;overflow:hidden;overscroll-behavior:none;user-select:none}button{font:inherit;color:inherit;touch-action:manipulation;cursor:pointer}button:focus-visible{outline:2px solid #f0cf98;outline-offset:3px}[hidden]{display:none!important}canvas{display:block;width:100vw;height:100dvh;touch-action:none}header{position:absolute;top:var(--safe-top);left:max(16px,env(safe-area-inset-left));width:min(62vw,290px);pointer-events:none;text-shadow:0 2px 4px #0009}.brand{font-size:9px;letter-spacing:2.6px;color:#c8b795}h1{font-size:16px;font-weight:600;letter-spacing:.5px;margin:5px 0 13px}.meter{display:flex;gap:8px;align-items:center;margin:7px 0}.meter span{font-size:9px;letter-spacing:1px;width:53px;color:#e6d6ba}.meter i{display:block;flex:1;height:4px;background:#171f22b3;box-shadow:0 0 0 1px #a2b0a533;overflow:hidden}.meter b{display:block;height:100%;width:100%;background:#ad7055;transition:width .2s}.player b{background:#9ebcaf}.player i{height:3px}#sequenceStatus{font-size:11px;color:#d9c5a4;margin-top:12px;min-height:16px}button.utility{position:absolute;top:var(--safe-top);right:max(15px,env(safe-area-inset-right));width:40px;height:40px;background:#14232b80;border:1px solid #b6c4c143;border-radius:50%;font-size:19px;backdrop-filter:blur(4px)}#focus{top:calc(var(--safe-top) + 52px)}#stick{position:absolute;left:max(22px,env(safe-area-inset-left));bottom:var(--safe-bottom);width:126px;height:126px;border:1px solid #c4d5cf47;background:radial-gradient(#263f4566,#14242a40);border-radius:50%;touch-action:none;display:grid;place-items:center}.stick-cross{position:absolute;width:86px;height:86px;border:1px solid #b9d6d41f;border-radius:50%}#knob{width:52px;height:52px;border-radius:50%;background:radial-gradient(at 35% 25%,#bbcfc344,#526b6b55);border:1px solid #d5e7dc75;box-shadow:0 3px 9px #0006;pointer-events:none}.action{position:absolute;bottom:var(--safe-bottom);right:20px;border-radius:50%;background:linear-gradient(145deg,#345256a3,#14272fbd);border:1px solid #c6d8d16b;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;backdrop-filter:blur(4px);box-shadow:0 3px 12px #0004;touch-action:none}.action:active{background:#8d9b7a9c;transform:scale(.94)}.action span{font-size:25px;line-height:1.1;color:#dfdac2}.attack{width:80px;height:80px;font-size:12px;border-color:#dac7a687}.dash{width:59px;height:59px;right:114px;bottom:calc(var(--safe-bottom) + 9px);font-size:10px}.dash span{font-size:21px}.rage{width:61px;height:61px;bottom:calc(var(--safe-bottom) + 98px);right:30px;font-size:10px;border-color:#c899687a}.rage span{color:#d8b07d}.action:disabled{opacity:.4}.scrim{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(#07121866,#071218d9);backdrop-filter:blur(5px);z-index:10}.scrim section{text-align:center;width:min(86vw,360px);padding:28px 18px}.scrim h2{font-size:28px;letter-spacing:3px;font-weight:500;margin:15px 0 24px}.scrim p{font-size:12px;line-height:1.8;color:#b8c4c0}.scrim button{display:block;width:100%;min-height:48px;border:1px solid #b6c2b94d;background:#20383a70;border-radius:5px;margin-top:12px;letter-spacing:1px}.scrim button.primary{background:#c0a37524;border-color:#d9bc8887;color:#ecdaba}.scrim p.guide{font-size:10px;margin-top:26px;color:#98aaa5}#load{position:absolute;inset:0;z-index:30;display:grid;place-items:center;background:#10181d;color:#becfc7;font-size:13px;letter-spacing:2px}#info{position:absolute;bottom:6px;left:50%;font-size:10px;color:#a7c1ad;pointer-events:none}@media(min-aspect-ratio:1/1){header{width:min(40vw,310px)}#stick{width:114px;height:114px;left:max(28px,env(safe-area-inset-left))}.attack{width:74px;height:74px;right:max(28px,env(safe-area-inset-right))}.dash{right:max(116px,calc(env(safe-area-inset-right) + 100px));bottom:calc(var(--safe-bottom) + 5px)}.rage{bottom:calc(var(--safe-bottom) + 88px);right:max(34px,env(safe-area-inset-right))}.scrim h2{margin:4px 0 12px}.scrim section{padding:12px 18px}.scrim p.guide{margin-top:15px}}@media(prefers-reduced-motion:reduce){.meter b{transition:none}}

/* Same borderless ivory action vocabulary as the shared mobile battle UI. */
.action{background:transparent;border:0;box-shadow:none;backdrop-filter:none;color:#e9e1cb;text-shadow:0 2px 5px #000b}.action span{color:#e9e1cb}.action:active{background:#ae432922}.action svg{width:40px;height:40px;stroke:#e9e1cb;fill:none;stroke-width:1.7;filter:drop-shadow(0 2px 3px #000b)}.dash svg,.rage svg{width:29px;height:29px}.action:disabled{opacity:.32}

.ground-test{position:absolute;left:max(16px,env(safe-area-inset-left));top:148px;padding:9px 13px;font-size:11px;letter-spacing:.5px;border:1px solid #b19b7355;border-radius:4px;color:#d7c9ad;background:#122127bb;backdrop-filter:blur(4px);touch-action:none}.ground-test:disabled{opacity:.45}

#slash.rage-ready{color:#ffe5a7;filter:drop-shadow(0 0 9px #ef963e)}

/* Opposed slim fighting-game health bars and independent rage meters. */
#duelHud{position:absolute;top:var(--safe-top);left:16px;right:68px;display:grid;grid-template-columns:1fr 28px 1fr;gap:7px;pointer-events:none;text-shadow:0 2px 4px #000;z-index:3}.fighterName{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#e9e3d3;margin-bottom:5px}.healthTrack{height:7px;background:#111b20d9;border:1px solid #c1d1c15e;overflow:hidden;transform:skewX(-12deg)}.healthTrack b{display:block;width:100%;height:100%;background:linear-gradient(90deg,#648d87,#c3d9af);transition:width .15s}.mutant .healthTrack{transform:skewX(12deg)}.mutant .healthTrack b{margin-left:auto;background:linear-gradient(90deg,#d0a371,#98614d)}.rageTrack{margin-top:5px;width:66%;height:3px;background:#b5c6c124}.rageTrack b{display:block;height:100%;width:0;background:#bf8462;transition:width .15s}.mutant .rageTrack{margin-left:auto}.mutant .rageTrack b{margin-left:auto}.rageTrack.active{box-shadow:0 0 10px #d96340}.rageTrack.active b{background:#ffb26d}.rageLabel{font-size:8px;letter-spacing:1.5px;color:#d5b897}.mutant .rageLabel{display:block;text-align:right}.versus{text-align:center;padding-top:13px;font-size:10px;color:#d5bd91}header{top:calc(var(--safe-top) + 66px);width:min(60vw,290px)}header .brand{display:none}header h1{font-size:12px;margin:0 0 6px}#sequenceStatus{margin-top:3px;font-size:10px}#swordChargeStatus{display:none}#aiPlay{top:auto;bottom:12px;font-size:9px;padding:6px 8px}#roundCall{position:absolute;top:39%;left:0;right:0;text-align:center;pointer-events:none;font-size:clamp(30px,8vw,72px);letter-spacing:.15em;font-weight:800;font-style:italic;color:#efe4c7;text-shadow:0 4px 20px #000,0 0 35px #b66d3533;z-index:5}@media(min-aspect-ratio:1/1){#duelHud{left:5%;right:9%;grid-template-columns:1fr 45px 1fr;gap:14px}.healthTrack{height:8px}.fighterName{font-size:10px}header{top:calc(var(--safe-top) + 60px)}}

header .ground-test{position:static;margin-top:12px;pointer-events:auto;text-shadow:none;display:inline-flex}

/* Two explicit mobile actions; basic attacks are automatic. */
#combatControls .dash{right:104px;bottom:var(--safe-bottom);width:66px;height:66px}#combatControls .rage{right:20px;bottom:var(--safe-bottom);width:72px;height:72px}#aiPlay{position:absolute;top:var(--safe-top);left:50%;transform:translateX(-50%);padding:9px 12px;background:#14232bcc;border:1px solid #b6c4c143;border-radius:5px;font-size:11px}#aiPlay[aria-pressed="true"]{color:#ffe4ab;border-color:#b99759}

#aiPlay{top:auto;bottom:10px;height:28px;line-height:1;width:auto;max-width:180px;white-space:nowrap;z-index:4}

#cameraReviewPanel{position:absolute;top:calc(var(--safe-top) + 155px);left:16px;max-width:190px;display:flex;gap:5px;flex-wrap:wrap;font-size:10px;z-index:4}#cameraReviewPanel span{width:100%;color:#e3bf83}#cameraReviewPanel button,#cameraReviewPanel select{font:inherit;border:1px solid #b0bfa044;background:#12222bd9;color:#e9e0ca;padding:7px 9px;border-radius:4px}#cameraReviewPanel select{max-width:160px}@media(max-aspect-ratio:1/1){#cameraReviewPanel{max-width:155px;top:calc(var(--safe-top) + 145px)}#cameraReviewPanel button{padding:6px}}

.staminaTrack{height:3px;margin-top:4px;background:#b5c6c124;width:100%}.staminaTrack b{display:block;height:100%;width:100%;background:#7db7c9}#staminaLabel{font-size:8px;color:#a8d3d9;float:right}.fighter.hero .rageTrack{margin-top:4px}

#weaponChoice{position:absolute;right:18px;bottom:calc(var(--safe-bottom) + 83px);display:flex;gap:3px;z-index:4}#weaponChoice button{font-size:10px;border:1px solid #c6d8d144;background:#15222cbb;padding:8px 11px;color:#d9dfd2;border-radius:4px}#weaponChoice button[aria-pressed=true]{color:#ffe0a0;border-color:#d7b774}.mutant-awake::after{content:"";position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 90px #b84c2844;animation:rage-alert .9s ease-out}@keyframes rage-alert{from{opacity:1}to{opacity:0}}

#attackWarning{position:absolute;left:50%;bottom:calc(var(--safe-bottom) + 92px);transform:translateX(-50%);width:min(44vw,220px);pointer-events:none;text-align:center;color:#d9dbcb;text-shadow:0 2px 4px #000;font-size:10px;z-index:5}#attackWarning strong,#attackWarning span{display:block}#attackWarning strong{font-size:12px;margin-bottom:5px}#attackWarning i{display:block;margin-top:6px;height:3px;background:#151e26cc}#attackWarning b{display:block;height:100%;background:#ffbc69}#attackWarning.danger{color:#ffd6a1}.evade-cue{filter:drop-shadow(0 0 9px #ffbf68);color:#ffdda0!important}

@media(max-aspect-ratio:1/1){#attackWarning{bottom:calc(var(--safe-bottom) + 165px);width:220px;max-width:66vw}}

#slash{bottom:calc(var(--safe-bottom) + 125px);right:20px;width:62px;height:62px;color:#ffe4a1;filter:drop-shadow(0 0 10px #dfab55)}

#heavy{width:62px;height:62px;right:20px;bottom:calc(var(--safe-bottom) + 132px);font-size:11px}#slash{right:92px;bottom:calc(var(--safe-bottom) + 132px)}
