:root{color-scheme:dark;--bg:#11171b;--panel:#1c252b;--ink:#eee8d5;--muted:#97a5a8;--yellow:#f0c65c;--line:#344146;--mint:#9abbaa;--orange:#df8256;font-family:'Courier New',monospace;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);min-height:100svh;background-image:radial-gradient(#36414755 .7px,transparent .7px);background-size:7px 7px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}[hidden]{display:none!important}.arcade{width:min(1240px,calc(100% - 72px));margin:0 auto;padding:25px 0 24px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}.brand{color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:13px;font-size:19px;font-weight:900;letter-spacing:2px}.stairs-logo{display:grid;place-items:center;background:var(--yellow);width:40px;height:40px;color:var(--bg);font-size:36px;line-height:1}.brand-sub{display:block;font-size:10px;letter-spacing:2.4px;margin-top:3px;color:var(--muted)}.tools{display:flex;gap:7px}.tool{display:flex;align-items:center;gap:9px;background:#1b2429;border:1px solid #354146;padding:10px 13px;min-height:40px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.8px}.tool>span:first-child{font-size:20px;line-height:18px;color:var(--ink)}.tool:hover{border-color:var(--yellow);color:var(--yellow)}.cabinet{border:1px solid #4b5657;box-shadow:0 12px 0 #0b1014,0 20px 60px #0005;background:#111a20}.stage{position:relative;aspect-ratio:16/9;overflow:hidden;isolation:isolate;background:#24353d}canvas{width:100%;height:100%;display:block;image-rendering:pixelated;touch-action:none;outline:0}.vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 60px #08111955;z-index:1}.screen{position:absolute;inset:0;z-index:4}.menu-screen{background:linear-gradient(90deg,#101c27f2 0%,#14222cf0 23%,#14212ca3 45%,#14212c00 74%)}.menu-content{position:absolute;left:5.3%;top:9%;max-width:54%}.eyebrow{display:block;font-size:11px;letter-spacing:2px;font-weight:700;color:var(--yellow)}.eyebrow>span{display:inline-block;width:6px;height:6px;background:var(--yellow);margin:0 6px 1px 0}h1{font-family:Impact,'Arial Black',sans-serif;font-size:clamp(44px,5.8vw,78px);line-height:.94;letter-spacing:1px;margin:20px 0 20px;color:var(--yellow);font-weight:900;text-shadow:3px 3px 0 #453b28}h1>span{display:block;font-size:.82em;line-height:1.05;margin-top:9px;color:var(--ink);text-shadow:3px 3px 0 #354449}.menu-content p{font-size:clamp(12px,1.25vw,16px);line-height:1.65;color:#c1cbc4;margin:0 0 22px}.primary{border:0;border-bottom:4px solid #a67532;background:var(--yellow);color:#242822;padding:16px 20px;min-height:48px;font-weight:900;font-size:13px;letter-spacing:.5px;display:flex;align-items:center;justify-content:space-between;gap:22px;box-shadow:4px 4px 0 #0d192366}.primary:hover{background:#ffda7a;transform:translateY(-1px)}.primary:active{transform:translateY(2px);border-bottom-width:2px}.primary span{font-size:17px}.text-button{display:block;border:0;background:none;color:var(--ink);font-size:12px;padding:14px 0;min-height:40px}.text-button:hover{color:var(--yellow)}.text-button>span{color:var(--yellow);margin-left:12px}.menu-note{font-size:9px;letter-spacing:1px;color:#8eabae;margin-top:10px}.menu-note i{font-style:normal;color:var(--yellow);margin:0 5px}.scene-tag{position:absolute;bottom:8%;right:4%;padding-left:10px;border-left:2px solid var(--yellow);font-size:10px;letter-spacing:.5px;text-shadow:1px 1px #000}.scene-tag span{display:block;color:#acbab5;font-size:8px;margin-top:5px}.cabinet-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 21px;border-top:1px solid #4b5657;font-size:10px;letter-spacing:.9px;color:#a1b1b2;background:#192329}.live-dot{display:inline-block;width:6px;height:6px;background:var(--yellow);margin-right:9px;vertical-align:1px}.edition{font-size:9px;color:#819599}.edition b{color:var(--yellow);margin-left:8px}.desktop-controls{display:flex;align-items:center;gap:21px;margin-top:28px;font-size:10px;color:#829697;letter-spacing:.7px}.desktop-controls>span{white-space:nowrap}kbd{font:inherit;display:inline-block;border:1px solid #415253;border-bottom:3px solid #415253;padding:4px 7px;color:#b5c3c1;background:#202c30;border-radius:2px;margin-right:5px}.credit{margin-left:auto;font-size:9px;color:#566d73}.hud{position:absolute;inset:22px 24px auto;z-index:2;display:flex;justify-content:space-between;pointer-events:none;text-shadow:2px 2px #10171a}.player-hud{width:33%;max-width:270px}.hud-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px}.hud-label span{font-size:10px;color:#b6c7c5}.health-track{height:14px;padding:3px;background:#172027;border:1px solid #b8cab5;box-shadow:2px 2px #0a151a}.health-track>div{height:100%;background:var(--mint);width:100%;transition:width .15s}.special-track{height:7px;background:#152028;margin-top:5px;padding:2px}.special-track>div{height:100%;background:var(--yellow);width:0;transition:width .15s}.special-label{display:block;font-size:8px;margin-top:5px;color:var(--yellow);letter-spacing:1px}.round-hud{text-align:right}.round-hud>span{display:block;color:var(--yellow);font-size:10px;letter-spacing:1px}.round-hud>b{display:block;font-size:25px;letter-spacing:3px;margin-top:3px}.round-hud>small{display:block;font-size:9px;color:#cad4c8;margin-top:3px}.modal-screen{background:#0c1822cc;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;overflow:auto;padding:18px}.dialog{max-width:480px;padding:30px 36px;background:#1b2931;border:1px solid #65736a;box-shadow:8px 8px #0c151cb3}.dialog h2{font-family:Impact,'Arial Black',sans-serif;font-size:38px;line-height:1.05;letter-spacing:.7px;color:var(--ink);margin:16px 0}.dialog p{font-size:13px;line-height:1.6;color:#bdc9c2}.dialog .help-small{font-size:11px}.control-grid{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;align-items:center;font-size:11px;margin:19px 0}.control-grid kbd{font-size:10px}.dialog .primary{width:100%;margin-top:20px}.dialog.compact{width:360px;text-align:center}.compact .eyebrow{font-size:9px}.compact .text-button{margin:auto}.result-score{padding:14px 0;border-block:1px solid #43524d;margin:20px 0}.result-score span{display:block;font-size:10px;color:#aabbb5}.result-score b{display:block;font-size:40px;color:var(--yellow);letter-spacing:4px;margin:5px}.result-score small{font-size:10px}.announcement{position:absolute;z-index:3;top:36%;left:0;width:100%;text-align:center;background:#11202bc9;padding:20px;pointer-events:none;border-block:1px solid #b59d5740}.announcement>span{font-size:10px;letter-spacing:2px;color:var(--yellow);display:block;margin-bottom:7px}.announcement>b{font-family:Impact,'Arial Black',sans-serif;font-size:35px;letter-spacing:2px;color:var(--ink)}.toast{position:absolute;bottom:10%;left:50%;transform:translateX(-50%);max-width:90%;padding:11px 18px;background:#182631ed;border:1px solid #b7a458;color:var(--yellow);font-size:12px;z-index:6;text-align:center;pointer-events:none}.objective{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);width:max-content;max-width:94%;text-align:center;background:#182631ed;padding:10px 14px;font-size:11px;color:var(--yellow);z-index:2}.touch-controls{display:none;align-items:center;justify-content:space-between;padding:16px 25px;background:#151f26;touch-action:none;user-select:none;-webkit-user-select:none;gap:8px}.dpad{display:grid;grid-template-columns:44px 44px 44px;grid-template-rows:38px 38px 38px;gap:2px}.dpad button{color:#d3dfcf;background:#2b3b43;border:1px solid #4c6063;font-size:19px;touch-action:none}.dpad .up{grid-area:1/2}.dpad .left{grid-area:2/1}.dpad .right{grid-area:2/3}.dpad .down{grid-area:3/2}.dpad-center{grid-area:2/2;background:#26363d;border:1px solid #42535a}.actions{display:grid;grid-template-columns:65px 74px;grid-template-rows:52px 52px;gap:9px;align-items:center}.actions button{touch-action:none;font-size:12px;font-weight:bold;border:2px solid #65766e;box-shadow:0 4px #0a131b;min-height:50px;border-radius:8px;user-select:none}.special-action{background:#303942;color:#98a7a2}.special-action.ready{background:#725524;border-color:var(--yellow);color:var(--yellow)}.special-action small{display:block;font-size:9px;margin-top:3px}.dodge-action{background:#344d55;color:#dbe8d6;grid-area:2/1}.actions .attack-action{grid-area:1/2/3;min-height:83px;background:var(--yellow);color:#272d27;border-color:#ffe193}.attack-action span{display:block;font-size:24px;margin-top:3px}.touch-controls button.held{transform:translateY(3px);filter:brightness(1.35);box-shadow:none}.arcade:fullscreen{width:100%;height:100%;padding:0;background:#11171b;display:flex;flex-direction:column;align-items:center;justify-content:center}.arcade:fullscreen .topbar{width:min(1200px,98%);margin:6px 0}.arcade:fullscreen .cabinet{width:min(1200px,100%,calc((100dvh - 80px)*16/9))}.arcade:fullscreen .desktop-controls{display:none}.arcade:fullscreen .cabinet-footer{padding:8px 14px}
@media(min-width:1400px){h1{font-size:78px}.menu-content{top:10%}.menu-content p{margin-bottom:26px}.menu-note{margin-top:15px}}
@media(pointer:coarse){.touch-controls:not([hidden]){display:flex}.desktop-controls{display:none}.arcade{padding-top:15px;padding-bottom:15px}.arcade.playing .cabinet-footer{padding-block:10px}}
@media(max-width:760px){.arcade{width:calc(100% - 24px);padding:16px 0}.topbar{margin-bottom:15px}.brand{font-size:15px;gap:9px;letter-spacing:1px}.brand-sub{font-size:8px;letter-spacing:1.1px}.stairs-logo{width:33px;height:33px;font-size:30px}.tool{padding:7px 9px;min-height:35px}.tool-label{display:none}.stage{aspect-ratio:1/1.16}.menu-content{top:7%;left:7%;max-width:86%}.menu-screen{background:linear-gradient(90deg,#10202bef,#10202b8a 65%,#10202b11),linear-gradient(0deg,#11232c88,transparent 60%)}h1{font-size:clamp(43px,10.8vw,70px);margin:16px 0}.eyebrow{font-size:9px;letter-spacing:1.5px}.menu-content p{font-size:12px;line-height:1.55;margin-bottom:18px}.primary{font-size:11px;padding:13px 17px;min-height:45px}.menu-note{font-size:8px;margin-top:3px;letter-spacing:.4px}.scene-tag{display:none}.cabinet-footer{padding:13px 12px;font-size:8px;letter-spacing:.3px}.edition{font-size:7px}.desktop-controls{flex-wrap:wrap;gap:10px;margin-top:21px}.desktop-controls .credit{display:none}.hud{inset:15px 13px auto}.player-hud{width:51%}.hud-label{font-size:10px}.hud-label span{font-size:8px}.round-hud>b{font-size:21px}.round-hud>span{font-size:8px}.round-hud>small{font-size:8px}.special-label{font-size:7px}.dialog{padding:20px;max-width:100%;margin:auto}.dialog h2{font-size:31px}.dialog p{font-size:12px}.dialog .help-small{font-size:10px}.control-grid{gap:6px;font-size:10px;margin:12px 0}.control-grid kbd{font-size:9px}.dialog .primary{margin-top:13px}.announcement>b{font-size:27px}.announcement>span{font-size:9px}.touch-controls{padding:14px 17px}.toast{font-size:11px}.objective{font-size:9px}.result-score{margin:12px 0;padding:8px 0}.result-score b{font-size:31px}.compact .text-button{padding:10px 0}.arcade:fullscreen .cabinet{width:min(100%,calc((100dvh - 240px)/1.16))}.arcade:fullscreen .stage{aspect-ratio:1/1.16}}
@media(max-width:380px){.touch-controls{padding:12px 9px}.dpad{grid-template-columns:40px 40px 40px;grid-template-rows:34px 34px 34px}.actions{grid-template-columns:56px 65px;gap:7px}.menu-content{top:6%}.menu-content p{margin-bottom:12px}.text-button{padding:11px 0}.menu-note{display:none}.edition{display:none}}
@media(pointer:coarse) and (orientation:landscape) and (max-height:600px){.arcade{width:100%;padding:0}.topbar{position:absolute;top:7px;right:9px;z-index:8;margin:0}.brand,.tool-label,#fullscreen{display:none}.tool{background:#14212ccc;min-height:32px;padding:5px 9px}.stage{aspect-ratio:auto;height:100svh}.cabinet{border:0}.cabinet-footer{display:none}.touch-controls{position:absolute;inset:auto 0 0;z-index:3;background:none;pointer-events:none;padding:9px 24px}.touch-controls button{pointer-events:auto;opacity:.84}.dpad-center{opacity:.5}.menu-content{left:6%;top:8%;max-width:60%}h1{font-size:44px;margin:12px 0}.menu-content p{font-size:11px;margin-bottom:12px}.menu-note{display:none}.menu-content .text-button{display:inline-block;margin-left:15px}.menu-content .primary{display:inline-flex}.hud{inset:14px 15px auto}.round-hud{margin-right:95px}.player-hud{width:220px}.dialog{padding:18px 28px;max-width:570px}.dialog h2{font-size:28px;margin:8px 0}.dialog h2 br{display:none}.dialog p{margin:9px 0;font-size:11px}.control-grid{margin:8px 0;gap:4px}.help-small{display:none}.compact{max-height:96svh}.compact .text-button{display:inline-block;padding:8px 12px;min-height:30px}.result-score{margin:8px 0;padding:6px}.result-score b{font-size:28px}.arcade:fullscreen .topbar{width:auto}.arcade:fullscreen .cabinet{width:100%}.arcade:fullscreen .stage{height:100dvh;aspect-ratio:auto}}
@media(max-width:760px){.touch-controls:not([hidden]){display:flex}.desktop-controls{display:none}.playing .stage{aspect-ratio:auto;height:min(calc((100vw - 26px)*1.16),calc(100svh - 240px));min-height:270px}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1100px){.arcade{width:100%;padding:0}.topbar{position:absolute;top:7px;right:9px;z-index:8;margin:0}.brand,.tool-label,#fullscreen{display:none}.tool{background:#14212ccc;min-height:32px;padding:5px 9px}.stage,.playing .stage{aspect-ratio:auto;height:100svh;min-height:0}.cabinet{border:0}.cabinet-footer,.desktop-controls{display:none}.touch-controls:not([hidden]){display:flex;position:absolute;inset:auto 0 0;z-index:3;background:none;pointer-events:none;padding:9px 24px}.touch-controls button{pointer-events:auto;opacity:.84}.dpad-center{opacity:.5}.menu-content{left:6%;top:8%;max-width:60%}h1{font-size:44px;margin:12px 0}.menu-content p{font-size:11px;margin-bottom:12px}.menu-note{display:none}.menu-content .text-button{display:inline-block;margin-left:15px}.menu-content .primary{display:inline-flex}.hud{inset:14px 15px auto}.round-hud{margin-right:95px}.player-hud{width:220px}.dialog{padding:18px 28px;max-width:570px}.dialog h2{font-size:28px;margin:8px 0}.dialog h2 br{display:none}.dialog p{margin:9px 0;font-size:11px}.control-grid{margin:8px 0;gap:4px}.help-small{display:none}.compact{max-height:96svh}.compact .text-button{display:inline-block;padding:8px 12px;min-height:30px}.result-score{margin:8px 0;padding:6px}.result-score b{font-size:28px}.arcade:fullscreen .topbar{width:auto}.arcade:fullscreen .cabinet{width:100%}.arcade:fullscreen .stage{height:100dvh;aspect-ratio:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* On small portrait screens, cards use the space normally occupied by controls. */
@media(max-width:760px) and (orientation:portrait){
 .arcade:is([data-screen="story"],[data-screen="help"],[data-screen="result"],[data-screen="pause-screen"]) .stage{height:min(560px,calc(100svh - 120px));min-height:320px;aspect-ratio:auto}
 .arcade[data-screen="pause-screen"] .touch-controls:not([hidden]){display:none}
}
/* Photographic assets retain their detail; combat and UI stay arcade-like. */
canvas{image-rendering:auto;object-fit:contain;background:#111a20}
.menu-screen{background:linear-gradient(90deg,#101c27f0 0%,#14222cdd 24%,#14212c75 43%,#14212c00 68%)}
.primary:disabled{cursor:wait;opacity:.7}
.player-hud,.round-hud{background:#13212cbb;padding:9px 11px;box-shadow:2px 2px #10171a55}
.round-hud{align-self:flex-start}
@media(max-width:760px){.menu-screen{background:linear-gradient(90deg,#10202bee,#10202b80 65%,#10202b22)}.player-hud,.round-hud{padding:7px}}
/* Nadgodziny: combat meters and chapter cards. */
.desktop-controls{flex-wrap:wrap;gap:12px 16px}.brand-sub{letter-spacing:1.4px}.menu-note{font-size:9px}.menu-content .eyebrow{letter-spacing:1.3px}
.stamina-line{display:flex;justify-content:space-between;font-size:8px;color:#b2dce0;letter-spacing:.5px;margin-top:6px}.stamina-track{height:6px;background:#0f1b23;padding:1px;margin-top:2px}.stamina-track div{height:100%;width:100%;background:#8dbfc6}.snajper-hud{margin-top:6px;display:flex;gap:8px;justify-content:space-between;font-size:8px;color:#d4c0e8;min-height:10px}.snajper-hud b{color:#e1b6ff;font-size:8px}.buff-track{height:3px;margin-top:4px;background:#382b49}.buff-track div{height:100%;background:#d19bf0}.round-hud{max-width:37%}#round-name{color:#d9c896;font-size:8px;max-width:190px;line-height:1.4;margin-top:7px}
.story-dialog{max-width:570px;width:100%;border-top:3px solid var(--yellow)}.story-top{display:flex;gap:12px;justify-content:space-between;align-items:center}.chapter-number{color:#9cb4b6;white-space:nowrap;font-size:11px}.story-dialog h2{font-size:42px;margin:18px 0 22px}.story-speaker{font-size:10px;color:#d5c481;letter-spacing:1.3px}.story-dialog>p{font-size:15px;line-height:1.65;margin-top:8px}.story-tip{border-left:2px solid #87b4af;padding:10px 14px;background:#101e264f;margin:18px 0}.story-tip>span{font-size:9px;letter-spacing:1px;color:#a7cdc4}.story-tip p{font-size:12px;margin:5px 0 0}.story-supplies{font-size:10px;color:#cdb5e4;line-height:1.7}.story-dialog .primary{margin-top:18px}.help-dialog{max-width:610px;max-height:100%;overflow:auto}.help-dialog h2{font-size:32px;margin:10px 0 16px}.help-dialog h2 br{display:none}.moves-list>div{display:grid;grid-template-columns:116px 100px 1fr;align-items:center;gap:9px;padding:7px 0;border-bottom:1px solid #34484c;font-size:11px}.moves-list kbd{font-size:9px;margin:0;width:fit-content}.moves-list b{font-size:11px;color:#e2dac4}.moves-list span{color:#aabcb7;font-size:10px}.result-stats{font-size:10px;color:#a8bdb9;line-height:1.7}.dialog.compact .result-score{margin:12px 0}
.actions{grid-template-columns:repeat(3,54px);grid-template-rows:repeat(3,49px);gap:6px}.actions button,.actions .attack-action{min-height:49px;height:49px;font-size:10px;border-width:1px;border-radius:6px;grid-area:auto}.actions button small{display:block;font-size:9px;line-height:1;margin-top:5px;opacity:.85}.actions .attack-action{background:#f0c65c;color:#242d2d}.heavy-action{background:#ab7051;color:#fff0cf}.kick-action{background:#b99254;color:#fff0cf}.upper-action{background:#905f55;color:#ffdec8}.actions .dodge-action{grid-area:auto;background:#365660}.block-action{background:#39545c;color:#d8eeee}.actions .special-action{background:#303942;color:#abb9b5}.actions .special-action.ready{background:#806127;color:#ffe4a4}.actions .drink-action{grid-column:span 2;background:#43354f;border-color:#9e82b5;color:#e3cff1;display:flex;align-items:center;justify-content:center;gap:5px}.drink-action img{width:22px;height:38px;object-fit:contain}.actions .drink-action.active{border-color:#e0adff;background:#634478}.actions .unavailable{filter:saturate(.45);opacity:.7}.touch-controls{align-items:center;padding-top:13px;padding-bottom:13px}.touch-controls .held{opacity:1!important}
@media(max-width:760px){.brand-sub{font-size:7px;letter-spacing:.35px}.brand{font-size:14px;gap:7px}.hud{inset:10px 10px auto}.player-hud{width:57%;max-width:270px}.round-hud{max-width:39%;padding:7px}.round-hud>b{font-size:20px}.hud-label{font-size:9px}.snajper-hud{font-size:7px;gap:4px}.snajper-hud b{font-size:7px}.stamina-line{font-size:7px}.special-label{font-size:6.7px}.story-dialog{padding:19px}.story-top .eyebrow{font-size:8px;letter-spacing:.5px}.chapter-number{font-size:9px}.story-dialog h2{font-size:31px;margin:13px 0}.story-dialog>p{font-size:12px;line-height:1.65}.story-tip{padding:8px 10px;margin:13px 0}.story-tip p{font-size:10px}.story-supplies{font-size:9px}.story-speaker{font-size:9px}.story-dialog .primary{margin-top:14px}.help-dialog h2{font-size:25px}.moves-list>div{grid-template-columns:91px 1fr;gap:3px 8px;padding:7px 0}.moves-list span{grid-column:2;font-size:9px}.moves-list kbd{grid-row:span 2;font-size:8px}.help-dialog .help-small{display:block;font-size:10px}.playing .stage{height:min(calc((100vw - 26px)*1.16),calc(100svh - 305px));min-height:230px}.touch-controls{padding:13px 14px}.dpad{grid-template-columns:40px 40px 40px;grid-template-rows:38px 38px 38px}.actions{grid-template-columns:repeat(3,52px);grid-template-rows:repeat(3,48px);gap:5px}.actions button,.actions .attack-action{height:48px;min-height:48px}.menu-note{font-size:8px}#round-name{font-size:7px;max-width:115px}.dialog.compact{padding:18px}.dialog.compact h2{font-size:29px}.result-score b{font-size:28px}.result-stats{font-size:9px}}
@media(max-width:380px){.actions{grid-template-columns:repeat(3,46px);gap:4px}.actions button,.actions .attack-action{font-size:9px}.touch-controls{padding-inline:8px;gap:6px}.dpad{grid-template-columns:40px 40px 40px;grid-template-rows:37px 37px 37px}.brand-sub{max-width:150px;font-size:6px}.brand{font-size:13px}.tools{gap:4px}.tool{padding:7px}.snajper-hud{font-size:6px}.snajper-hud b{font-size:6px}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1100px){.stage,.playing .stage{height:100svh;min-height:0}.touch-controls:not([hidden]){padding:8px 18px;align-items:flex-end}.actions{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(3,43px);gap:4px}.actions button,.actions .attack-action{height:43px;min-height:43px;font-size:9px}.actions button small{font-size:8px;margin-top:3px}.drink-action img{height:32px;width:19px}.dpad{grid-template-columns:42px 42px 42px;grid-template-rows:36px 36px 36px}.player-hud{width:225px;padding:7px 9px}.round-hud{margin-right:94px}#round-name{display:none}.story-dialog{max-width:610px;padding:16px 25px}.story-dialog h2{font-size:28px;margin:9px 0}.story-dialog>p{font-size:12px;line-height:1.55;margin:6px 0}.story-tip{margin:10px 0;padding:7px 10px}.story-tip p{font-size:10px}.story-supplies{font-size:9px}.story-dialog .primary{margin-top:10px;padding:10px 15px;min-height:39px}.help-dialog{max-width:690px}.moves-list{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.moves-list>div{grid-template-columns:90px 1fr;font-size:10px;padding:6px 0}.moves-list span{grid-column:2;font-size:9px}.moves-list kbd{grid-row:span 2;font-size:8px}.help-dialog .help-small{display:block;font-size:9px;line-height:1.4}.help-dialog h2{font-size:24px;margin:5px 0}.compact .result-score{padding:6px}.compact .result-score b{font-size:25px}}
/* J/K/L: three sequential attack keys, with defense and a bottle below. */
.combo-readout{margin-top:8px;padding-top:6px;border-top:1px solid #83928066}
.combo-readout>b{display:block;font-size:13px;color:#f0d17b;letter-spacing:2px}
.combo-readout>small{display:block;max-width:200px;font-size:8px;line-height:1.5;color:#d8e3d7;margin-top:4px}
.dialog .combo-intro{font-size:12px;line-height:1.65;margin:10px 0}.combo-intro b{color:var(--yellow)}
.defense-help{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:10px;line-height:1.5;color:#b8cbc5}
.defense-help span:last-child{grid-column:1/-1}.defense-help kbd{font-size:9px}
.actions{grid-template-rows:60px 46px}.actions button,.actions .attack-action{height:46px;min-height:46px}
.actions .combo-key{height:60px;min-height:60px;font-size:23px;font-weight:900}
.actions .combo-key small{font-size:8px;letter-spacing:.5px}
.actions .drink-action{grid-column:auto;flex-direction:column;gap:0;font-size:7px;position:relative}
.drink-action img{display:none}.actions .drink-action small{font-size:9px}
@media(max-width:760px){
 .playing .stage{height:min(calc((100vw - 26px)*1.16),calc(100svh - 265px))}
 .combo-readout>b{font-size:11px;letter-spacing:1px}.combo-readout>small{font-size:7px;max-width:115px}
 .defense-help{grid-template-columns:1fr;font-size:9px;gap:7px}.defense-help kbd{font-size:8px}
 .actions{grid-template-rows:60px 46px}.actions .combo-key{font-size:23px}
}
@media(orientation:landscape) and (max-height:600px) and (max-width:1100px){
 .stage,.playing .stage{height:100svh}.actions{grid-template-rows:54px 44px}.actions .combo-key{height:54px;min-height:54px;font-size:21px}
 .actions button{height:44px;min-height:44px}.combo-readout>small{max-width:185px;font-size:7px}
 .defense-help{display:flex;flex-wrap:wrap;gap:5px 15px;font-size:9px}.defense-help kbd{font-size:8px}
 .dialog .combo-intro{font-size:10px;line-height:1.4;margin:7px 0}.help-dialog .help-small{margin:8px 0}
}

/* Two attack buttons; the footer mirrors the complete current key map. */
.desktop-controls{display:grid;grid-template-columns:1.05fr 1fr 1.1fr .9fr;align-items:stretch;gap:10px;margin-top:24px;text-align:left;font-size:12px;letter-spacing:0;color:#d6dfd8}
.control-card{background:#192329;border:1px solid #3d4d52;padding:13px 15px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.control-card>b{font-size:10px;letter-spacing:1.4px;color:#efca72}.control-card>span{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:11px;line-height:1.5}
.control-card kbd{font-size:11px;white-space:nowrap;margin:0;padding:4px 6px;background:#283c43;color:#f2e9d1;border:1px solid #53656a;border-bottom-width:2px;border-radius:3px}
.control-card i{font-style:normal;color:#81978f}.attack-help{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.attack-help>div{background:#122229;border:1px solid #54655d;padding:15px}.attack-help kbd{display:inline-block;font-size:25px;color:#efd078;margin-right:12px}.attack-help b{font-size:12px}.attack-help p{font-size:11px;line-height:1.7;margin:12px 0 0}
.actions{grid-template-columns:repeat(6,25px);grid-template-rows:64px 46px;gap:5px}
.actions button{grid-column:span 2;height:46px;min-height:46px}.actions .attack-key{grid-column:span 3;height:64px;min-height:64px;font-size:25px;font-weight:900}
.actions .attack-key small{font-size:9px;letter-spacing:.7px}.actions .drink-action{font-size:8px}
.actions .dodge-action,.actions .block-action,.actions .drink-action{grid-column:span 2;grid-row:2}
@media(max-width:1000px) and (min-width:761px){.desktop-controls{grid-template-columns:1fr 1fr}.control-card{padding:11px 13px}}
@media(max-width:760px){.desktop-controls{display:none}.actions{grid-template-columns:repeat(6,25px);grid-template-rows:64px 46px;gap:5px}.attack-help{gap:8px}.attack-help>div{padding:12px}.attack-help p{font-size:10px}.attack-help b{font-size:10px}.attack-help kbd{font-size:22px}}
@media(max-width:380px){.actions{grid-template-columns:repeat(6,21px);gap:4px}.actions .attack-key{font-size:25px}.actions .drink-action{font-size:7px}}
@media(pointer:coarse){.desktop-controls{display:none}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1100px){.desktop-controls{display:none}.actions{grid-template-columns:repeat(6,25px);grid-template-rows:54px 44px;gap:4px}.actions .attack-key{height:54px;min-height:54px;font-size:24px}.actions button{height:44px;min-height:44px}.attack-help{margin:8px 0}.attack-help>div{padding:8px 12px}.attack-help p{font-size:10px;margin:6px 0}.attack-help kbd{font-size:21px}}


/* Rare paint choice and the nightmare state. */
#paint-screen{z-index:8;background:#0a131bcc;padding:16px;align-items:center}
.paint-dialog{width:min(430px,100%);max-height:100%;overflow:auto;text-align:center;padding:24px 28px;border-color:#aa8c68}
.paint-dialog .eyebrow{font-size:9px;letter-spacing:1px}.paint-dialog h2{font-size:33px;margin:12px 0}.paint-dialog p{font-size:12px;line-height:1.65;margin:10px 0 18px}
.paint-dialog>small{display:block;font-size:9px;color:#9ca9a1;margin-top:13px}.paint-options{display:grid;gap:9px}
.paint-options .primary{margin:0;display:block;background:#ba4c54;border-bottom-color:#73303c;color:#fff0d8;min-height:46px;font-size:12px}
.paint-refuse{min-height:43px;background:#27373c;color:#e2e7d7;border:1px solid #90a394;font-size:12px;font-weight:bold}
.paint-refuse:hover{background:#3a5050}.paint-icon{width:48px;height:45px;position:relative;margin:25px auto 17px;background:linear-gradient(90deg,#969d8a,#e5d9b1 40%,#b0b39b);border:3px solid #707e75;border-radius:3px 3px 9px 9px}
.paint-icon:before{content:'';position:absolute;left:6px;right:6px;top:-20px;height:24px;border:3px solid #b8bca3;border-bottom:0;border-radius:20px 20px 0 0}.paint-icon:after{content:'';position:absolute;inset:8px 8px 6px;background:#9d2c46;box-shadow:11px -11px 0 -7px #9d2c46}
.nightmare-status{position:absolute;z-index:2;left:50%;bottom:13px;transform:translateX(-50%);display:flex;gap:14px;align-items:center;white-space:nowrap;background:#280d25e8;border:1px solid #b45771;padding:8px 12px;color:#ffb1b2;font-size:8px;letter-spacing:.6px;pointer-events:none}.nightmare-status b{font-size:11px;color:#ffe0ad}
.nightmare .cabinet{border-color:#9f3c62;box-shadow:0 12px 0 #1b0716,0 15px 65px #ad15372e}.nightmare .cabinet-footer{background:#301127;border-color:#91435b;color:#e5a7ad}.nightmare .health-track>div{background:#d09aab}.nightmare .vignette{box-shadow:inset 0 0 70px #31031ba0}
@media(max-width:760px){.paint-dialog{padding:17px 18px}.paint-dialog .eyebrow{font-size:7px;letter-spacing:.3px}.paint-dialog h2{font-size:27px}.paint-dialog p{font-size:11px;line-height:1.45;margin:8px 0 13px}.paint-icon{margin:22px auto 12px;width:40px;height:33px}.paint-options{gap:7px}.paint-options .primary,.paint-refuse{min-height:43px;padding:10px;font-size:11px}.nightmare-status{bottom:12px;font-size:6px;gap:8px;padding:7px 9px;letter-spacing:0}.nightmare-status b{font-size:9px}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1100px){.paint-dialog{width:500px;padding:16px 24px}.paint-icon{display:none}.paint-dialog h2{margin:9px 0;font-size:28px}.paint-options{grid-template-columns:1fr 1fr}.paint-dialog p{font-size:11px}.nightmare-status{bottom:9px;max-width:36%;white-space:normal;text-align:center}.paint-dialog>small{margin-top:9px}}
@media(max-height:650px) and (max-width:760px){.paint-icon{display:none}.paint-dialog{padding:14px}.paint-dialog h2{font-size:24px;margin:9px 0}.paint-dialog p{font-size:10px;margin:8px 0 12px;line-height:1.45}.paint-dialog>small{font-size:8px;margin-top:9px}}


.nightmare-status.boss-present{bottom:51px}
