.adventure-intro{display:flex;align-items:end;justify-content:space-between;gap:30px}.adventure-intro h1{font-size:clamp(52px,5.2vw,80px)}.adventure-intro .intro{max-width:650px;font-size:17px}.adventure-intro>.small{flex-shrink:0;margin-bottom:10px;color:var(--muted)}.game-shell{max-width:1020px;margin-bottom:90px}.game-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px;background:var(--olive);color:white;font-size:12px}.game-pause{background:transparent;border:1px solid #ffffff70;color:white;min-height:44px;padding:10px 15px;font-size:12px}.game-pause:disabled{opacity:.5}.progress-track{height:4px;background:var(--olive-light)}#storyProgress{height:100%;width:0;background:var(--yellow);transition:width .3s}.game-stage{position:relative;isolation:isolate;aspect-ratio:1.8;background:var(--yellow)}#gameCanvas{width:100%;height:100%;display:block;touch-action:none}.game-start{position:absolute;inset:0;background:var(--yellow);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:25px}.game-start .star{width:45px;height:45px;color:var(--red)}.game-start h2{font-size:clamp(36px,5vw,65px);color:var(--red);margin:20px 0 15px}.game-start p{font-size:14px}.game-stats{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid var(--line);border-top:0}.game-stats>div{padding:18px;border-right:1px solid var(--line)}.game-stats>div:last-child{border:0}.game-stats span{display:block;font-size:10px;color:var(--muted)}.game-stats strong{display:block;font-family:var(--serif);font-size:28px;font-weight:400;margin-top:7px;color:var(--red)}.touch-controls{display:flex;gap:10px;justify-content:center;margin-block:22px}.touch-controls button{min-width:60px;min-height:50px;padding:12px 18px;border:1px solid var(--olive);background:white;color:var(--olive);font-weight:600;font-size:13px;touch-action:none;user-select:none;-webkit-user-select:none}.touch-controls button:active{background:var(--olive);color:white}.game-instructions{text-align:center;font-size:11px;color:var(--muted);line-height:2}.game-instructions strong{color:var(--olive);font-size:9px;letter-spacing:.1em;margin-right:15px}.game-instructions span{margin-inline:8px}.game-note{text-align:center;max-width:650px;margin:22px auto 0;color:var(--muted);font-size:11px}.modal{display:none;position:fixed;inset:0;z-index:60;background:#152216bd;padding:24px;overflow:auto;place-items:center}.modal[style*="block"]{display:grid!important}.modal-content{width:min(100%,540px);background:white;border-top:5px solid var(--red);padding:36px;max-height:85dvh;overflow:auto}.modal-content h2{font-size:40px;color:var(--red);letter-spacing:-.05em}.modal-content p{font-size:14px}.modal-content .text-link{display:flex;margin-top:20px;width:fit-content}.modal-content .button{width:100%}.modal-content i{display:none}.modal-content .eyebrow{font-size:9px}.game-shell button:focus-visible,.modal button:focus-visible{outline-color:var(--yellow)}
@media(max-width:700px){.adventure-intro{display:block}.adventure-intro>.small{margin-top:25px}.game-shell{width:calc(100% - 24px);margin-bottom:55px}.game-toolbar{padding:12px;font-size:10px;gap:10px}.game-pause{font-size:10px;padding:8px;min-width:95px}.game-stage{aspect-ratio:1.4;overflow:hidden}#gameCanvas{object-fit:contain;background:var(--yellow)}.game-start{padding:15px}.game-start h2{font-size:37px;margin:10px 0}.game-start .star{width:27px;height:27px}.game-start p{font-size:12px;margin-bottom:12px}.game-start .button{min-height:45px;padding:10px 16px}.game-stats{grid-template-columns:repeat(3,1fr)}.game-stats>div{padding:12px;border-bottom:1px solid var(--line)}.game-stats>div:nth-child(3n){border-right:0}.game-stats>div:nth-child(n+4){border-bottom:0}.game-stats strong{font-size:24px}.touch-controls{gap:7px;margin-inline:8px}.touch-controls button{min-width:44px;padding:10px 14px;flex:1;font-size:12px}.game-instructions{padding-inline:12px}.modal{padding:16px}.modal-content{padding:26px}.modal-content h2{font-size:33px}.game-note{padding-inline:12px}}
