@import url('./style.release-9946ca31cec6.css');
:root{--teal:#377d81;--ink:#294b54}
.app{max-width:1180px}.layout{grid-template-columns:1fr 510px;gap:42px}.story h1{font-size:34px}.story-lead{font-size:14px}
.arcade{background:#edf4ed;border-color:#c0d4c8;box-shadow:0 5px 0 #c8d8ca,0 18px 50px #324b4314}
.stage{height:clamp(430px,63svh,580px);background:#cde8ed}
.stage #scene3d{z-index:0}.stage #canvas{z-index:1;pointer-events:none}.stage.is-3d .player{opacity:0}
.stage-top{top:15px;left:14px;right:14px}.stage-top span{font-size:10px;color:#3e675b;background:#fffdf4e8;border-color:#ffffffc9;backdrop-filter:blur(8px)}
.overlay{background:linear-gradient(#f8fcf4ed,#f2f7eded);backdrop-filter:blur(3px)}.stage.is-3d .overlay{background:linear-gradient(#f8fcf4e8,#f2f7edf2)}
.feedback{font-size:12px;max-width:calc(100% - 24px);white-space:normal;text-align:center;line-height:1.6;top:21%}
.controls button{color:#527967}.control-hint{color:#547760;font-size:10px}.hud{background:#fffef8}.stage-top #zone{max-width:55%}
@media(max-width:1000px){.app{max-width:590px;padding:20px;margin:14px auto}.layout{display:block}.story{display:none}.arcade,.header{max-width:510px;margin-left:auto;margin-right:auto}.mobile-legend{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;margin:0 0 10px}.mobile-legend img{width:18px;height:18px}.mobile-legend span{margin:0 5px}.stage{height:clamp(400px,61svh,565px)}}
@media(max-width:600px){.app{margin:0;padding:11px 10px max(14px,env(safe-area-inset-bottom));max-width:none}.header{margin-bottom:10px}.stage{height:clamp(365px,calc(100svh - 250px),560px)}.stage-top{left:10px;right:10px;top:10px}.stage-top span{font-size:9px;padding:5px 8px}.hud{height:61px}.controls button{min-height:55px}.control-hint{font-size:9px}.mobile-legend{font-size:8px;margin-bottom:7px}.mobile-legend img{width:16px;height:16px}.feedback{font-size:11px}.overlay{padding-left:20px;padding-right:20px}}
@media(max-width:360px){.app{padding-left:8px;padding-right:8px}.stage{height:365px}.stage-top span{font-size:8px}.controls button{min-height:51px}.control-hint{font-size:8px}}
@media(prefers-reduced-motion:reduce){.overlay{backdrop-filter:none}}

/* Game-specific painted portraits and matching two-frame running sprites. */
.player>img{display:none}.player #playerArt{position:relative;width:100%;height:100%;z-index:2;pointer-events:none}
.character-options img{height:126px}.character-options button{transition:background .2s,transform .2s}.character-options button.selected img{filter:drop-shadow(0 5px 5px #527c7924)}.story-art>img{height:230px}.story-art>img+img{height:220px}.result #resultCharacter{height:135px}
@media(max-width:600px){.character-options img{height:110px}}
@media(max-height:700px){.character-options img{height:90px}}

.endless-note{font-size:11px;color:#527967;letter-spacing:.04em;margin:12px 0 2px}
