*{box-sizing:border-box}[hidden]{display:none!important}:root{color-scheme:dark;--cream:#fff0c8;--gold:#fbd277;--blue:#0a2628;--leaf:#21977d}body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 50% 0,#325a49 0,#102f2e 56%,#092421);color:var(--cream);font-family:system-ui,-apple-system,"Hiragino Sans","Yu Gothic",sans-serif}main{width:min(100%,610px);margin:auto;padding:max(10px,env(safe-area-inset-top)) max(9px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left))}header{text-align:center;margin-bottom:10px}.brand{margin:0;color:#ebd098;letter-spacing:.12em;font-size:.75rem;font-weight:800}.brand span{color:#8fba9d}h1{margin:.22rem 0 0;font-size:clamp(1.4rem,6vw,2.25rem);letter-spacing:.035em;line-height:1.18}.machine{border:2px solid #cfaa70;background:#214542;padding:clamp(6px,2.2vw,13px);border-radius:16px;box-shadow:0 7px 0 #091d1d,0 12px 33px #081d1ad2}.hud{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:4px 6px 9px;font-size:clamp(.75rem,3.45vw,1.05rem);font-weight:850;white-space:nowrap}.hud strong,.gold{color:var(--gold)}#life{letter-spacing:1px;color:#ff9a9c}#stage{color:#bde6ad}.screen{position:relative;aspect-ratio:1;max-height:calc(100svh - 220px);min-height:268px;background:#102a32;border:2px solid #0a2022;border-radius:9px;overflow:hidden;display:grid;place-items:center}canvas{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;touch-action:none}.overlay{position:absolute;inset:0;display:grid;place-items:center;padding:12px;background:#08282dc2}.card{width:min(100%,360px);padding:17px 12px;text-align:center;border:2px solid #e5c281;border-radius:14px;background:#123e3bf5;box-shadow:0 6px 0 #0b2224}.card p{margin:.4rem 0 .75rem;line-height:1.48}.card p:first-child{font-weight:800;font-size:.78rem;letter-spacing:.13em;color:#f9cc71}.card h2{font-size:clamp(1.32rem,5vw,1.85rem);margin:.18rem 0}button{font:inherit;color:inherit;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer;border:1px solid #acd29b;border-bottom-width:3px;border-radius:8px;background:#36735d;font-weight:850;min-width:44px;min-height:44px}button.active,button:active{border-bottom-width:1px;transform:translateY(2px);background:#408d72}button:focus-visible{outline:3px solid #fff4b0;outline-offset:2px}button:disabled{opacity:.48;cursor:default}.main-btn{padding:5px 24px;color:#273122;background:#f5c978;border-color:#ffe5a5}#pause,#sound{background:#254f4b;border-color:#71958a}.control{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:7px}.dpad,.options{display:flex;align-items:center;gap:4px}.dpad{flex:1}.dpad button{flex:1;max-width:97px}.help{margin:.75rem 0 0;text-align:center;color:#ccddc1;font-size:.83rem;line-height:1.4}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(100%)}@media(max-width:360px){.dpad button,.options button{min-width:44px}.dpad,.options{gap:3px}.help{font-size:.76rem}}@media(orientation:landscape) and (max-height:540px){main{max-width:520px}.brand,.help{display:none}h1{font-size:1.22rem}.screen{max-height:calc(100svh - 112px);min-height:184px}.control{margin-top:4px}}

.foe-guide{color:#d5e6bd;font-size:.77rem;margin-top:.35rem}
