@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=IBM+Plex+Mono:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#11151b;--panel:#191e26;--line:#303640;--ink:#eef0df;--muted:#909895;--orange:#f0a048;--lime:#cedb8d;--mono:'IBM Plex Mono',monospace;--display:'Russo One',Impact,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px Manrope,Arial,sans-serif;background-image:radial-gradient(ellipse at 70% 0%,#2b29251f,transparent 60%)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--lime);outline-offset:4px}button{color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.app-shell{width:min(1180px,calc(100% - 64px));margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0 25px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;font:25px var(--display);letter-spacing:1px}.brand-mark{display:grid;place-items:center;background:var(--orange);color:var(--bg);width:44px;height:44px;font-size:35px;box-shadow:4px 4px 0 #000}.brand small{display:block;font:8px var(--mono);letter-spacing:0;margin-top:4px;color:var(--muted)}.edition{font:10px var(--mono);color:#b6bbb1;display:flex;gap:10px;align-items:center}.edition i,.live-dot{width:6px;height:6px;background:var(--lime);display:inline-block}.edition span{color:#737c7c;margin-left:15px}.utilities{display:flex;gap:8px}.utility{background:transparent;border:1px solid var(--line);height:35px;padding:0 12px;font:9px var(--mono);letter-spacing:1px}.utility span{color:var(--orange);margin-left:7px}.utility.square{font-size:22px;width:36px;padding:0}.utility:hover{border-color:var(--orange)}main{padding-top:26px}.section-top{display:flex;justify-content:space-between;gap:12px;font:10px var(--mono);color:#a5aea5;letter-spacing:1.3px;margin-bottom:12px}.live-dot{margin-right:8px}.cabinet{border:1px solid #3a4148;padding:7px;background:#222831;box-shadow:0 18px 45px #0005}.game-top,.game-bottom{display:flex;align-items:center;justify-content:space-between;background:#131820;font:9px var(--mono);letter-spacing:1px;color:#828d91;padding:10px 14px;gap:10px}.game-top b{color:#cbd2c6;margin-left:10px}.game-top>button{background:transparent;border:1px solid #4b5559;width:29px;height:24px}.game-top>button:disabled{opacity:.3}.game-top>span:nth-child(2){margin-left:auto}.screen{position:relative;aspect-ratio:16/9;isolation:isolate;background:#131a25;overflow:hidden}.screen canvas{display:block;width:100%;height:100%;image-rendering:pixelated;touch-action:none}.scanlines{position:absolute;inset:0;pointer-events:none;z-index:4;background:repeating-linear-gradient(0deg,#0000 0 3px,#0002 3px 4px);opacity:.3}.game-bottom{padding:12px 14px;font-size:8px;letter-spacing:.7px}.game-bottom>span:first-child{color:var(--lime)}.cabinet-meta i{color:var(--orange);margin:0 6px}.menu-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#10171e 0%,#10171ef8 34%,#10171e40 100%);overflow:hidden}.menu-art{position:absolute;width:62%;height:100%;right:0;top:0;overflow:hidden;opacity:.85;mask-image:linear-gradient(90deg,transparent,#000 35%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 35%)}.menu-art img{position:absolute;height:112%;width:auto;max-width:none;right:-12%;top:0;image-rendering:pixelated}.menu-copy{position:relative;z-index:2;padding:7% 5%;width:60%}.eyebrow{font:10px var(--mono);letter-spacing:1.5px;color:var(--lime)}h1{font:clamp(32px,5.6vw,72px)/1.06 var(--display);letter-spacing:-1.5px;margin:22px 0 16px;text-shadow:4px 5px #0006}h1 em{font-style:normal;color:var(--orange)}.menu-copy p{font-size:clamp(11px,1.2vw,15px);line-height:1.8;color:#aeb6b6;margin:0 0 26px}.primary{background:var(--orange);color:#181a1b;border:0;font:12px var(--mono);font-weight:700;letter-spacing:.5px;min-height:49px;padding:0 22px;display:flex;gap:30px;align-items:center;justify-content:space-between;box-shadow:4px 4px 0 #764c2a;transition:background .15s,transform .15s}.primary:hover{background:#ffb35e;transform:translateY(-2px)}.primary:disabled{opacity:.6}.primary span{font-size:22px}.start-hint{display:block;color:#7e898e;font:8px var(--mono);margin-top:16px}.menu-foot{position:absolute;bottom:0;left:0;right:0;padding:16px 5%;display:flex;justify-content:space-between;font:8px var(--mono);color:#788687;border-top:1px solid #abbda522}.menu-foot b{font-weight:400;color:#bdc5b6;margin-left:10px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 12px}.section-heading h2{font:11px var(--mono);letter-spacing:1px;margin:0}.section-heading>span{font:8px var(--mono);color:var(--muted)}.item-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.item{display:grid;grid-template-columns:32px 1fr;gap:10px;text-align:left;background:#1a2028;border:1px solid var(--line);padding:14px 11px;position:relative;min-width:0;transition:border-color .15s,background .15s}.item:hover:not(:disabled){background:#232b34;border-color:var(--item-color)}.item:disabled{opacity:.7}.item-icon{width:30px;height:38px;color:var(--item-color);display:flex;align-items:center;justify-content:center}.item-icon svg{width:28px;height:32px;shape-rendering:crispEdges}.item-info{min-width:0}.item-name{display:block;font-size:11px;font-weight:800;margin:2px 0 5px}.item-effect{font:9px/1.5 var(--mono);color:#a2aca9;display:block}.item-key{position:absolute;right:7px;top:6px;font:8px var(--mono);color:#77838b}.item-count{font:9px var(--mono);color:var(--item-color);display:block;margin-top:6px}.stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stage{border:1px solid var(--line);padding:0;text-align:left;background:#181e25;min-width:0;transition:border-color .15s}.stage:hover:not(:disabled),.stage.active{border-color:var(--orange)}.stage:disabled{opacity:.55}.stage.active:disabled{opacity:1}.stage-scene{height:75px;position:relative;overflow:hidden;image-rendering:pixelated;border-bottom:1px solid var(--line)}.city{background:linear-gradient(#202b43,#43465a)}.city i{position:absolute;bottom:0;width:19%;height:65%;left:7%;background:repeating-linear-gradient(0deg,#536078 0 5px,#283747 5px 15px)}.city i:nth-child(2){left:30%;height:85%;width:24%;background:repeating-linear-gradient(90deg,#1d2d3b 0 8px,#687b8455 8px 11px)}.city i:nth-child(3){left:58%;height:55%;background:#252f41;width:28%}.city i:nth-child(4){left:88%;height:90%;background:#303b50}.city span,.factory span{position:absolute;right:28%;bottom:12px;background:#c26a3b;color:#ffd79a;font:9px var(--mono);padding:3px 5px;box-shadow:0 0 15px #ea813b44}.forest{background:linear-gradient(#203b37,#5b7155)}.forest i{position:absolute;bottom:-10px;left:5%;width:90px;height:90px;background:#132d2a;clip-path:polygon(50% 0,76% 30%,65% 30%,90% 60%,75% 60%,100% 90%,55% 90%,55% 100%,45% 100%,45% 90%,0 90%,25% 60%,10% 60%,35% 30%,24% 30%)}.forest i:nth-child(2){left:30%;bottom:7px;background:#2d4a37;transform:scale(.9)}.forest i:nth-child(3){left:58%;transform:scale(1.2)}.forest i:nth-child(4){left:83%;background:#3c573b}.factory{background:linear-gradient(#3d3335,#795039)}.factory i{position:absolute;bottom:0;left:5%;width:12%;height:70%;background:#292c31;border-top:5px solid #a06840}.factory i:nth-child(2){left:23%;height:90%}.factory i:nth-child(3){left:40%;height:42%;width:58%;background:repeating-linear-gradient(90deg,#533d31 0 22px,#c4823e 22px 28px);border:6px solid #282a2d}.factory i:nth-child(4){left:0;top:15px;width:100%;height:8px;background:#332c2c;border:0}.factory span{right:18%;bottom:22px;color:#221f19;background:#bf974f;font-size:7px}.stage-label{display:flex;gap:13px;padding:16px;align-items:center}.stage-label>span:first-child{font:22px var(--display);color:#626c70}.stage.active .stage-label>span:first-child{color:var(--orange)}.stage-label b{font:13px var(--display);letter-spacing:.7px}.stage-label small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.stage-arrow{margin-left:auto;font-size:20px;color:var(--orange)}footer{margin-top:27px}.key-guide{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;padding:22px 0;border-top:1px solid var(--line);font:9px var(--mono);color:var(--muted)}kbd{border:1px solid #3e4850;box-shadow:0 2px 0 #0005;padding:4px 5px;color:#d3d7c7;font:8px var(--mono);margin-right:5px}.footer-meta{display:flex;justify-content:space-between;gap:16px;padding:16px 0 28px;border-top:1px solid var(--line);font:8px/1.7 var(--mono);color:#737e80}.footer-meta b{font-weight:400;margin-left:12px}.hud{position:absolute;inset:0;pointer-events:none;padding:20px 24px;display:flex;justify-content:space-between}.player-hud{width:32%;max-width:275px}.hp-label{display:flex;justify-content:space-between;font:12px var(--mono);text-shadow:2px 2px #000}.hp-label span{font-size:9px}.health-track{height:13px;background:#151d24;border:2px solid #11191d;margin:7px 0;box-shadow:0 0 0 1px #abb7a166}.health-track>div{height:100%;background:var(--lime);transition:width .1s}.buffs{display:flex;gap:5px;flex-wrap:wrap}.buff-tag{font:8px var(--mono);padding:4px 5px;background:#111923dd;border:1px solid #55606a}.run-hud{text-align:right;display:grid;gap:5px;height:max-content;font:9px var(--mono);text-shadow:2px 2px #000}.run-hud strong{font:27px var(--display);color:var(--orange)}.combo{position:absolute;top:25%;right:5%;color:var(--orange);font:30px var(--display);text-shadow:3px 3px #111}.combo small{display:block;font:10px var(--mono);text-align:right;color:#fff}.level-toast{position:absolute;top:44%;left:50%;transform:translateX(-50%);font:23px var(--display);color:var(--ink);text-shadow:3px 3px #111;white-space:nowrap}.dialog{position:absolute;inset:0;z-index:5;background:#0e141ce6;display:grid;place-items:center;padding:25px;backdrop-filter:blur(4px)}.dialog-card{text-align:center;max-width:420px;width:100%}.dialog-card h2{font:clamp(22px,4vw,42px)/1.2 var(--display);margin:14px 0;color:var(--orange)}.dialog-card p{color:#b3bcb6;font-size:13px;line-height:1.7;margin:0 0 20px;white-space:pre-line}.dialog-card .primary{margin:auto;min-width:230px}.secondary{margin-top:20px;background:none;border:0;color:#a5b1ad;font:10px var(--mono);padding:8px 15px}.touch-controls{display:none;justify-content:space-between;gap:10px;margin-top:12px;touch-action:none;user-select:none}.touch-controls button{touch-action:none;user-select:none;background:#252d37;border:1px solid #535c60;min-width:46px;min-height:44px;font:10px var(--mono)}.touch-controls button.pressed{background:var(--orange);color:#15191d}.dpad{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,40px);gap:4px}.dpad button{font-size:20px;min-width:0;min-height:0}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-column:1;grid-row:2}.dpad button:nth-child(3){grid-column:2;grid-row:2}.dpad button:nth-child(4){grid-column:3;grid-row:2}.touch-actions{display:flex;gap:6px;align-items:center}.touch-actions button{height:58px;padding:8px}.touch-actions b{display:block;margin-top:6px;color:var(--orange)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body:fullscreen .app-shell{max-width:1400px}.cabinet:fullscreen{display:flex;flex-direction:column;justify-content:center;background:#0d1117}.cabinet:fullscreen .screen{width:100%;max-height:calc(100dvh - 80px);aspect-ratio:16/9}.cabinet:fullscreen canvas{object-fit:contain}.cabinet:fullscreen .game-top,.cabinet:fullscreen .game-bottom{flex:none}
@media(pointer:coarse){.touch-controls{display:flex}.key-guide{display:none}}@media(max-width:800px){.app-shell{width:calc(100% - 32px)}.edition{display:none}.topbar{padding:20px 0}.item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.item{padding:13px 10px}.item:nth-child(n+4){grid-column:auto}.menu-copy{padding:5%}.menu-copy p{margin-bottom:15px}.menu-copy h1{margin:14px 0}.menu-copy .primary{min-height:42px;font-size:10px}.start-hint{margin-top:12px;font-size:7px}.menu-foot{font-size:7px;padding:10px 5%}.stage-label{padding:12px;gap:8px}.stage-label small{font-size:9px}.stage-label b{font-size:11px}.stage-arrow{display:none}.section-heading>span{font-size:7px}.hud{padding:14px}.run-hud strong{font-size:21px}.buff-tag{font-size:7px}}
@media(max-width:540px){.app-shell{width:calc(100% - 20px)}.topbar{gap:10px;padding:16px 0}.brand{font-size:22px}.brand-mark{width:36px;height:36px;font-size:29px}.brand small{font-size:6px}.utility{padding:0 7px;font-size:8px;height:32px}.utility.square{width:32px}.utilities{gap:5px}main{padding-top:19px}.section-top{font-size:8px;letter-spacing:.4px}.cabinet{padding:4px}.game-top{font-size:7px;padding:7px 8px;letter-spacing:.5px}.game-top b{margin-left:5px}.game-top>button{height:23px}.screen{aspect-ratio:4/3}.screen canvas{height:100%;object-fit:cover}.menu-copy{width:76%;padding:7% 5%}.menu-copy .eyebrow{font-size:7px;letter-spacing:.6px}h1{font-size:37px;letter-spacing:-1px}.menu-copy p{font-size:10px;line-height:1.6;margin-bottom:16px}.menu-copy .primary{min-height:39px;font-size:9px;padding:0 13px;gap:16px}.menu-art{width:74%;opacity:.5}.menu-art img{height:102%;right:-30%}.start-hint{font-size:7px;margin-top:12px}.menu-foot>span:last-child{display:none}.menu-foot{padding:9px 5%;font-size:6px}.game-bottom{padding:9px 7px;font-size:6px;letter-spacing:.2px}.cabinet-meta{display:none}.touch-controls{display:flex}.section-heading{align-items:start;margin-top:23px;flex-direction:column;gap:7px}.section-heading h2{font-size:10px}.section-heading>span{font-size:7px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.item:last-child{grid-column:1/-1;grid-template-columns:32px 1fr}.item:last-child .item-info{display:grid;grid-template-columns:1fr 1fr;align-items:center;column-gap:8px}.item:last-child .item-count{margin:0}.stage-grid{gap:7px}.stage-scene{height:53px}.stage-label{display:block;padding:10px 8px}.stage-label>span:first-child{font-size:18px;display:block;margin-bottom:7px}.stage-label b{font-size:9px;letter-spacing:0}.stage-label small{font-size:8px;line-height:1.6;min-height:26px}.stage-scene i{transform:scale(.65)}.footer-meta{font-size:7px;flex-direction:column;gap:8px;padding-bottom:20px}.key-guide{gap:14px 8px;font-size:8px}.hud{padding:9px}.player-hud{width:43%}.hp-label{font-size:9px}.hp-label span{font-size:7px}.health-track{height:10px;margin:5px 0}.run-hud{font-size:7px;gap:3px}.run-hud strong{font-size:19px}.buff-tag{font-size:6px;padding:3px}.buffs{gap:3px}.combo{font-size:22px;top:29%}.combo small{font-size:8px}.level-toast{font-size:15px}.dialog{padding:17px}.dialog-card .eyebrow{font-size:8px}.dialog-card h2{font-size:25px;margin:9px 0}.dialog-card p{font-size:10px;margin-bottom:14px}.dialog-card .primary{min-height:38px;font-size:10px;min-width:200px}.dialog-card .secondary{margin-top:12px;font-size:8px}.dialog-card .primary span{font-size:17px}}
@media(max-height:520px) and (orientation:landscape){.app-shell{width:min(900px,calc(100% - 28px))}.topbar{padding:10px 0}.screen{aspect-ratio:16/9}.menu-copy{padding:4%}.menu-copy h1{font-size:40px;margin:12px 0}.menu-copy p{font-size:10px;margin-bottom:14px}.menu-foot{padding:9px 5%}.start-hint{margin-top:9px}.touch-controls{display:flex}.touch-actions button{height:44px}.stage-scene{height:55px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:540px){.menu-copy{padding:18px 5%;}.menu-copy h1{font-size:32px;margin:10px 0}.menu-copy p{font-size:9px;margin-bottom:10px}.menu-copy .start-hint{display:none}.menu-art img{height:125%;top:-7%;right:-40%}.screen.in-game{aspect-ratio:16/9}.screen.in-game canvas{object-fit:contain}.screen.in-game .dialog{padding:10px}.screen.in-game .dialog-card h2{font-size:20px;margin:5px 0}.screen.in-game .dialog-card p{font-size:9px;margin-bottom:8px}.screen.in-game .dialog-card .primary{min-height:31px}.screen.in-game .dialog-card .secondary{margin-top:5px;padding:4px 10px}.screen.in-game .dialog-card .eyebrow{font-size:7px}}

/* Localized controls keep physical movement independent of reading direction. */
.language-switch{display:flex;border:1px solid var(--line);align-items:stretch;flex-shrink:0;height:35px}
.language-switch button{background:transparent;border:0;padding:0 9px;color:var(--muted);font:10px var(--mono);min-width:31px}
.language-switch button+button{border-left:1px solid var(--line)}
.language-switch button[aria-pressed="true"]{background:var(--orange);color:#161b20}
.language-switch button:hover{color:var(--ink)}
.language-switch button[aria-pressed="true"]:hover{color:#161b20}
.utility>span{margin:0;color:inherit}.utility>b{color:var(--orange);margin-inline-start:7px;font-weight:500}
.edition>span{margin:0;color:inherit}.edition>span:last-child{color:#737c7c;margin-inline-start:5px}
.brand small{letter-spacing:.7px}.brand bdi{font-weight:400}
.screen.in-game{aspect-ratio:16/9}.screen.in-game canvas{object-fit:contain}
canvas,.touch-controls,.dpad,.touch-actions{direction:ltr}
.touch-actions button span{unicode-bidi:isolate}
.touch-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1;max-width:390px;gap:5px}
.touch-actions button{height:42px;min-height:42px;min-width:0;font-size:9px;padding:5px 7px;line-height:1.15}
.touch-actions b{margin-top:4px;font-size:8px}
.touch-controls{align-items:center}.touch-controls button:disabled{opacity:.4}
.touch-controls .special-button.ready{border-color:#f2bd61;background:#735024;color:#fff0c9;box-shadow:inset 0 0 18px #f5aa3922}
.touch-controls .special-button.ready b{color:#fff0c9}
.rage-label{display:flex;justify-content:space-between;gap:5px;font:7px var(--mono);text-shadow:1px 1px #000;color:#f5bb65;margin-top:5px}
.rage-label b{font-weight:500}.rage-track{height:5px;background:#211e20;border:1px solid #10151a;margin:4px 0 7px;box-shadow:0 0 0 1px #8f6c3c66}
.rage-track>div{height:100%;width:0;background:#f0a048;transition:width .1s}.rage-track.full{box-shadow:0 0 7px #ffb94377}.rage-track.full>div{background:#ffe0a0}
.help-panel{border-top:1px solid var(--line);padding-top:17px;margin-bottom:18px}.help-panel summary{cursor:pointer;font:10px var(--mono);letter-spacing:1px;color:#c3cdc3;padding:5px 0}
.help-panel summary:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.help-panel .key-guide{display:flex;border-top:0;justify-content:flex-start;padding:18px 0;gap:17px}
.key-guide>span{display:inline-flex;align-items:center;gap:4px}.key-guide kbd{direction:ltr;unicode-bidi:isolate;margin:0}
.help-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 25px}.help-copy p{font-size:11px;line-height:1.8;color:#a7b1b1;margin:0}
.item,.stage{text-align:start}.item-key{right:auto;inset-inline-end:7px}.stage-arrow{margin-left:0;margin-inline-start:auto}
.stage-label,.item-info{min-width:0}.stage-label small{overflow-wrap:normal}.game-top>span:nth-child(2){margin-left:0;margin-inline-start:auto}
.game-top b,.menu-foot b,.footer-meta b{margin-left:0;margin-inline-start:10px}.live-dot{margin-right:0;margin-inline-end:8px}
.run-hud{text-align:end}.combo{right:auto;inset-inline-end:5%}.combo small{text-align:end}
.game-bottom{align-items:flex-start}.game-bottom>span:first-child{min-width:0;line-height:1.5}.cabinet-meta{white-space:nowrap}
html[dir="rtl"]{--mono:Arial,sans-serif;--display:Arial,sans-serif}
html[dir="rtl"] h1,html[dir="rtl"] .dialog-card h2,html[dir="rtl"] .stage-label b{font-weight:800}
html[dir="rtl"] .menu-art{right:auto;left:0;mask-image:linear-gradient(270deg,transparent,#000 35%);-webkit-mask-image:linear-gradient(270deg,transparent,#000 35%)}
html[dir="rtl"] .menu-art img{right:auto;left:-12%}
html[dir="rtl"] .menu-copy{margin-inline-start:0;margin-inline-end:auto}
html[dir="rtl"] .eyebrow,html[dir="rtl"] h1,html[dir="rtl"] .section-heading h2{letter-spacing:0}
html[dir="rtl"] .stage-label small{font-size:11px;line-height:1.5}
html[dir="rtl"] .item-name{font-size:13px}
html[dir="rtl"] .brand{letter-spacing:0}
html[dir="rtl"] .buff-tag{font-size:9px}
@media(max-width:1000px){.edition{display:none}}
@media(max-width:800px){.utilities{gap:6px}.topbar{gap:12px}.menu-copy{padding-bottom:58px}.menu-copy h1{font-size:clamp(30px,5.5vw,52px)}.menu-copy .primary{max-width:100%;min-width:0;gap:15px;font-size:10px}}
@media(max-width:540px){
 .topbar{flex-wrap:wrap;gap:13px}.utilities{width:100%;justify-content:space-between}.language-switch{height:32px}.language-switch button{padding:0 11px}
 .utilities #sound{margin-inline-start:auto}.brand small{font-size:7px;letter-spacing:.4px}
 .menu-copy{padding:18px 5% 47px;width:83%}.menu-copy h1{font-size:32px;line-height:1.03;margin:10px 0}
 .menu-copy p{font-size:9px;line-height:1.45;margin-bottom:9px}.menu-copy .primary{min-height:36px;font-size:9px;max-width:100%}.menu-copy .eyebrow{font-size:7px}
 .menu-foot{padding:9px 5%;font-size:6px}.menu-foot b{margin-inline-start:6px}
 html[dir="rtl"] .menu-art img{left:-40%}
 .touch-controls{gap:8px}.dpad{grid-template-columns:repeat(3,34px);grid-template-rows:repeat(2,35px);gap:4px}
 .touch-actions{gap:4px}.touch-actions button{font-size:8px;height:38px;min-height:38px;padding:4px}.touch-actions b{font-size:7px}
 .rage-label{font-size:6px;margin-top:4px}.rage-track{height:4px;margin:3px 0 5px}
 .buff-tag{font-size:5.5px;padding:2px 3px}.buffs{gap:2px}
 html[dir="rtl"] .buff-tag{font-size:7px}
 .player-hud{width:44%}.hud{padding:8px}.hp-label{font-size:8px}.health-track{height:9px}
 .help-copy{grid-template-columns:1fr}.help-copy p{font-size:11px}.help-panel .key-guide{gap:14px 10px}
 .help-panel summary{font-size:10px}.stage-label small{min-height:40px;font-size:8px}
 html[dir="rtl"] .stage-label small{font-size:10px}
 .dialog{overflow:auto}.screen.in-game .dialog-card{margin:auto}.screen.in-game .dialog-card p{font-size:9px;line-height:1.4}
 .screen.in-game .dialog-card h2{font-size:20px}.screen.in-game .dialog-card .primary{min-width:0;width:auto;max-width:100%;gap:12px;font-size:9px}
 .screen.in-game .dialog-card .secondary{font-size:8px}
}
@media(max-width:360px){.menu-copy h1{font-size:27px}.menu-copy p{font-size:8px}.menu-copy .eyebrow{font-size:6px}.menu-copy .primary{min-height:32px;font-size:8px}.dpad{grid-template-columns:repeat(3,30px);grid-template-rows:repeat(2,33px)}.touch-actions button{font-size:7px}.stage-label{padding:9px 6px}}

/* Crop the approved art to the portrait only, without mirroring its pixels. */
.menu-art img,
html[dir="rtl"] .menu-art img{width:208%;height:auto;max-width:none;top:-8%;right:0;left:auto}
html[lang="he"] body{font-family:Arial,'Segoe UI',sans-serif}
html[lang="he"] h1,html[lang="he"] h2,html[lang="he"] .stage-label b,html[lang="he"] .dialog-card h2,html[lang="he"] .run-hud strong,html[lang="he"] .combo{font-family:Arial,'Segoe UI',sans-serif;font-weight:900}

/* Phone arena fills the viewport; controls float over the playfield. */
body.handheld.session-active{overscroll-behavior:none}
body.handheld.landscape.session-active{
 --play-viewport:var(--viewport-height,100dvh);
 position:fixed;inset:0;width:100%;height:100vh;height:var(--play-viewport);
 overflow:hidden;background:#080d13;touch-action:none
}
body.handheld.landscape.session-active .app-shell{display:block;width:100%;height:100%;max-width:none;margin:0;padding:0;direction:ltr}
body.handheld.landscape.session-active main,
body.handheld.landscape.session-active .topbar,
body.handheld.landscape.session-active .utilities,
body.handheld.landscape.session-active .game-top,
body.handheld.landscape.session-active .touch-controls{display:contents}
body.handheld.landscape.session-active .brand,
body.handheld.landscape.session-active .edition,
body.handheld.landscape.session-active .language-switch,
body.handheld.landscape.session-active .section-top,
body.handheld.landscape.session-active .game-top>span,
body.handheld.landscape.session-active .game-bottom,
body.handheld.landscape.session-active .route,
body.handheld.landscape.session-active footer{display:none}
body.handheld.landscape.session-active .cabinet{position:fixed;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;background:#080d13;box-shadow:none;overflow:visible;z-index:auto}
body.handheld.landscape.session-active .screen,
body.handheld.landscape.session-active .screen.in-game{position:fixed;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;margin:0;isolation:auto;z-index:auto}
body.handheld.landscape.session-active canvas{display:block;width:100%;height:100%;object-fit:fill;outline-offset:-3px}
body.handheld.landscape.session-active #sound,
body.handheld.landscape.session-active #fullscreen,
body.handheld.landscape.session-active #pause{position:fixed;top:calc(8px + env(safe-area-inset-top,0px));height:36px;margin:0;z-index:20;background:#14202bcc;border:1px solid #84929b88;box-shadow:0 2px 0 #05080b55;border-radius:6px;backdrop-filter:blur(6px)}
body.handheld.landscape.session-active #fullscreen{right:calc(8px + env(safe-area-inset-right,0px));width:40px;padding:0;font-size:24px}
body.handheld.landscape.session-active #pause{right:calc(54px + env(safe-area-inset-right,0px));width:40px;padding:0;font:20px Arial,sans-serif;color:var(--ink)}
body.handheld.landscape.session-active #sound{right:calc(100px + env(safe-area-inset-right,0px));min-width:67px;padding:0 8px;font-size:8px;letter-spacing:0}
body.handheld.landscape.session-active #sound b{margin-inline-start:5px}
body.handheld.landscape.session-active .dpad{position:fixed;left:calc(12px + env(safe-area-inset-left,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:12;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,43px);gap:4px;width:132px;max-width:none;margin:0;direction:ltr}
body.handheld.landscape.session-active .dpad button{min-width:0;min-height:43px;height:43px;border-radius:10px;font:25px Arial,sans-serif;background:#142434a8;border:1px solid #c4d5df80;box-shadow:0 3px 0 #0005;backdrop-filter:blur(5px)}
body.handheld.landscape.session-active .touch-actions{position:fixed;right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:12;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,43px);gap:5px;width:148px;max-width:none;margin:0;direction:ltr}
body.handheld.landscape.session-active .touch-actions button{height:43px;min-height:43px;min-width:0;padding:4px 3px;font-size:9px;line-height:1.2;letter-spacing:0;border-radius:10px;border:1px solid #c4d5df80;background:#142434a8;box-shadow:0 3px 0 #0005;backdrop-filter:blur(5px)}
body.handheld.landscape.session-active .touch-actions button b{display:none}
body.handheld.landscape.session-active .touch-actions button[data-control="punch"],
body.handheld.landscape.session-active .touch-actions button[data-control="kick"]{border-color:#ffc883aa;color:#ffe3bd;background:#603c24bc}
body.handheld.landscape.session-active .touch-controls button.pressed{background:#e5a04ee8;border-color:#ffe1ad;color:#111923;box-shadow:0 1px 0 #0004;transform:translateY(2px)}
body.handheld.landscape.session-active .touch-controls button:disabled{opacity:.4}
body.handheld.landscape.session-active .touch-controls .special-button.ready{background:#875a20ce;border-color:#ffda8f;color:#fff3d3;box-shadow:0 0 15px #ffb44b44}
body.handheld.landscape.session-active .loadout{position:fixed;left:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:12;width:min(350px,calc(100% - 328px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));height:54px;min-width:0;min-height:0;margin:0}
body.handheld.landscape.session-active .loadout .section-heading{display:none}
body.handheld.landscape.session-active .item-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;height:100%;direction:ltr}
body.handheld.landscape.session-active .item,
body.handheld.landscape.session-active .item:last-child{display:flex;flex-direction:column;justify-content:center;align-items:center;grid-column:auto;gap:2px;min-width:0;min-height:0;height:100%;padding:4px 5px;border:1px solid #9baeb380;border-radius:7px;background:#152330bc;backdrop-filter:blur(6px);overflow:hidden;position:relative}
body.handheld.landscape.session-active .item::after{content:attr(data-count);position:absolute;right:4px;top:4px;min-width:9px;text-align:center;font:9px/1 var(--mono);font-weight:700;color:var(--item-color);direction:ltr}
body.handheld.landscape.session-active .item-icon{width:21px;height:25px;flex:none}
body.handheld.landscape.session-active .item-icon svg{width:20px;height:25px}
body.handheld.landscape.session-active .item-info,
body.handheld.landscape.session-active .item:last-child .item-info{display:block;min-width:0;width:100%}
body.handheld.landscape.session-active .item-name{font-size:7px;line-height:1.15;margin:0;text-align:center;white-space:nowrap}
body.handheld.landscape.session-active .item-effect,
body.handheld.landscape.session-active .item-count,
body.handheld.landscape.session-active .item-key{display:none}
body.handheld.landscape.session-active .item:disabled{opacity:.4}
body.handheld.landscape.session-active .hud{position:fixed;inset:0;padding:0;z-index:8;pointer-events:none}
body.handheld.landscape.session-active .player-hud{position:absolute;left:calc(12px + env(safe-area-inset-left,0px));right:auto;top:calc(12px + env(safe-area-inset-top,0px));width:min(30vw,230px);max-width:none}
body.handheld.landscape.session-active .hp-label{font-size:10px}
body.handheld.landscape.session-active .hp-label span{font-size:8px}
body.handheld.landscape.session-active .health-track{height:10px;margin:5px 0}
body.handheld.landscape.session-active .rage-label{font-size:7px;margin-top:4px}
body.handheld.landscape.session-active .rage-track{height:5px;margin:4px 0 5px}
body.handheld.landscape.session-active .run-hud{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);width:130px;text-align:center;font-size:8px;gap:3px}
body.handheld.landscape.session-active .run-hud strong{font-size:21px}
body.handheld.landscape.session-active .buffs{gap:3px}
body.handheld.landscape.session-active .buff-tag{font-size:7px;padding:3px 4px;background:#101d29b8}
body.handheld.landscape.session-active .combo{font-size:24px;top:25%;inset-inline-end:17%}
body.handheld.landscape.session-active .combo small{font-size:9px}
body.handheld.landscape.session-active .level-toast{font-size:clamp(18px,3vw,28px);top:35%}
body.handheld.landscape.session-active .dialog{position:fixed;inset:0;z-index:40;padding:12px max(20px,env(safe-area-inset-right,0px)) 12px max(20px,env(safe-area-inset-left,0px));overflow:auto}
body.handheld.landscape.session-active .dialog-card{max-width:400px;margin:auto}
body.handheld.landscape.session-active .dialog-card .eyebrow{font-size:8px}
body.handheld.landscape.session-active .dialog-card h2{font-size:clamp(23px,6vh,31px);margin:8px 0}
body.handheld.landscape.session-active .dialog-card p{font-size:11px;line-height:1.5;margin:0 0 13px}
body.handheld.landscape.session-active .dialog-card .primary{min-height:40px;min-width:0;max-width:100%;padding:0 18px;font-size:10px;gap:20px}
body.handheld.landscape.session-active .dialog-card .primary span{font-size:20px}
body.handheld.landscape.session-active .dialog-card .secondary{font-size:9px;margin-top:10px;padding:8px 12px}
html[dir="rtl"] body.handheld.landscape.session-active .hud,
html[dir="rtl"] body.handheld.landscape.session-active .dialog,
html[dir="rtl"] body.handheld.landscape.session-active .item-info{direction:rtl}
html[dir="rtl"] body.handheld.landscape.session-active .item-name{font-size:9px}
html[dir="rtl"] body.handheld.landscape.session-active .buff-tag{font-size:8px}
/* The phone menu remains scrollable; its start button fits the first landscape view. */
body.handheld.landscape:not(.session-active) .app-shell{width:calc(100% - 24px)}
body.handheld.landscape:not(.session-active) .topbar{padding:8px 0;gap:10px;flex-wrap:nowrap}
body.handheld.landscape:not(.session-active) .brand{font-size:19px;gap:8px}
body.handheld.landscape:not(.session-active) .brand-mark{width:31px;height:31px;font-size:25px}
body.handheld.landscape:not(.session-active) .brand small,
body.handheld.landscape:not(.session-active) .edition{display:none}
body.handheld.landscape:not(.session-active) .utilities{width:auto;gap:5px}
body.handheld.landscape:not(.session-active) main{padding-top:9px}
body.handheld.landscape:not(.session-active) .section-top{font-size:8px;margin-bottom:7px}
body.handheld.landscape:not(.session-active) .game-top{font-size:7px;padding:5px 10px;min-height:26px}
body.handheld.landscape:not(.session-active) .game-bottom{display:none}
body.handheld.landscape:not(.session-active) .screen{width:min(100%,calc((100dvh - 112px) * 16 / 9));height:auto;aspect-ratio:16/9;margin-inline:auto}
body.handheld.landscape:not(.session-active) .menu-copy{width:67%;padding:12px 5% 36px}
body.handheld.landscape:not(.session-active) .menu-copy .eyebrow{font-size:6px;letter-spacing:.5px}
body.handheld.landscape:not(.session-active) .menu-copy h1{font-size:clamp(26px,8vh,35px);line-height:1.03;margin:7px 0}
body.handheld.landscape:not(.session-active) .menu-copy p{font-size:9px;line-height:1.4;margin-bottom:8px}
body.handheld.landscape:not(.session-active) .menu-copy .primary{min-height:33px;font-size:8px;max-width:100%;gap:12px;padding:0 12px}
body.handheld.landscape:not(.session-active) .start-hint{font-size:6px;line-height:1.4;margin-top:7px;display:block}
body.handheld.landscape:not(.session-active) .menu-foot{padding:8px 5%;font-size:6px}
body.handheld.landscape:not(.session-active) .menu-foot>span:last-child{display:none}
body.handheld.landscape:not(.session-active) .touch-controls{display:none}
.rotate-prompt{display:none;position:fixed;inset:0;z-index:100;background:radial-gradient(ellipse at 50% 30%,#26313b,#0b1016 65%);padding:max(24px,env(safe-area-inset-top,0px)) max(22px,env(safe-area-inset-right,0px)) max(24px,env(safe-area-inset-bottom,0px)) max(22px,env(safe-area-inset-left,0px));overflow:auto;overscroll-behavior:none}
body.rotate-required{overflow:hidden;touch-action:none}
body.rotate-required .rotate-prompt:not([hidden]){display:grid;place-items:center}
.rotate-card{max-width:350px;text-align:center;margin:auto}
.rotate-kicker{font:12px var(--mono);letter-spacing:5px;color:#a7b1b1}
.rotate-icon{display:block;width:120px;height:100px;margin:30px auto 21px;fill:none;stroke:var(--orange);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.rotate-icon .rotate-dot{stroke-width:3}
.rotate-card h2{font:25px/1.2 var(--display);color:var(--ink);margin:0 0 15px}
.rotate-card p{font-size:13px;line-height:1.8;color:#aebbbd;margin:0 auto 23px}
.rotate-card .secondary{font:10px var(--mono);margin:0;border:1px solid #52606a;border-radius:5px;min-height:44px;padding:10px 18px;color:var(--lime)}
@media(max-height:345px) and (orientation:landscape){
 body.handheld.landscape.session-active{--deck-top:33px;--deck-bottom:51px;--deck-side:120px}
 body.handheld.landscape.session-active .dpad{grid-template-rows:repeat(2,40px);margin-bottom:6px}
 body.handheld.landscape.session-active .dpad button{height:40px;min-height:40px}
 body.handheld.landscape.session-active .touch-actions{grid-template-rows:repeat(3,39px);margin-bottom:6px;gap:4px}
 body.handheld.landscape.session-active .touch-actions button{height:39px;min-height:39px;font-size:8px}
 body.handheld.landscape.session-active .hud{padding:5px 6px}
 body.handheld.landscape.session-active .buff-tag{font-size:5px}
 body.handheld.landscape.session-active .dialog-card h2{font-size:16px}
 body.handheld.landscape.session-active .dialog-card p{font-size:8px}
 body.handheld.landscape.session-active .dialog-card .primary{min-height:30px}
 body.handheld.landscape:not(.session-active) .menu-copy p{display:none}
 body.handheld.landscape:not(.session-active) .menu-copy h1{font-size:27px}
}
/* Small phones retain clear thumb zones and five item targets. */
@media(max-width:640px) and (orientation:landscape){
 body.handheld.landscape.session-active .dpad{width:120px}
 body.handheld.landscape.session-active .touch-actions{width:132px}
 body.handheld.landscape.session-active .loadout{width:calc(100% - 292px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));height:48px}
 body.handheld.landscape.session-active .item-name{display:none}
 body.handheld.landscape.session-active .item-icon,body.handheld.landscape.session-active .item-icon svg{width:24px;height:31px}
 body.handheld.landscape.session-active .player-hud{width:29vw}
 body.handheld.landscape.session-active .run-hud{width:100px;font-size:7px}
 body.handheld.landscape.session-active .run-hud strong{font-size:18px}
}
.standalone-hint{display:block;max-width:650px;font:11px/1.65 var(--mono);color:#b3c4c8;margin:12px 0 16px;padding:12px 14px;border:1px solid #41505a;border-radius:6px;background:#17222c}
body.handheld.landscape:not(.session-active) .standalone-hint{font-size:11px;margin-top:12px}
body.session-active .standalone-hint{display:none!important}
