:root{color-scheme:light;font-family:Trebuchet MS,Avenir Next,sans-serif;background:linear-gradient(180deg,#f7d487,#fff4d2);color:#1f2d2c}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;min-height:100dvh}body{overflow:hidden;background:#fff4d2;overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}button,input{font:inherit}button{transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease,color .15s ease}button:focus-visible{outline:3px solid #ff9b48;outline-offset:2px}#game-shell{position:relative;width:100vw;height:100vh;height:100dvh;overflow:hidden;background:radial-gradient(circle at top left,rgba(255,255,255,.52),transparent 28%),linear-gradient(180deg,#f7d487,#fff4d2)}#game-container{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none}#game-container canvas{display:block;width:100%;height:100%}#hud{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;padding:18px 18px 0}#hud.hidden,.hidden{display:none!important}.hud-left{display:flex;flex-direction:column;gap:6px;min-width:0}.hud-right{display:flex;flex-direction:row;align-items:flex-start;gap:8px}.hud-center{display:flex;flex-direction:column;align-items:center;gap:8px}.hud-pill,.hud-button,#timer-track,.screen-card{border:3px solid rgba(64,42,12,.18);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 10px 24px #422d1124}.hud-pill{padding:7px 12px;border-radius:14px;background:#fff9ebd1;font-weight:700;font-size:13px;letter-spacing:.02em;color:#4f3414;display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;min-width:0;overflow:hidden}.hud-pill-sm{padding:4px 10px;font-size:11px;font-weight:800;letter-spacing:.06em;border-radius:10px;opacity:.88;gap:5px}.hud-pill .sep{opacity:.35}.hud-pill .hearts{color:#d24a4a;letter-spacing:.05em}#hud-status.bump{animation:status-bump .4s cubic-bezier(.34,1.56,.64,1)}#hud-status.hurt{animation:status-hurt .5s ease}@keyframes status-bump{0%{transform:scale(1)}40%{transform:scale(1.12)}to{transform:scale(1)}}@keyframes status-hurt{0%,to{transform:translate(0)}20%{transform:translate(-5px)}40%{transform:translate(5px)}60%{transform:translate(-3px)}80%{transform:translate(3px)}}.hud-right{align-items:flex-end}.hud-button{pointer-events:auto;width:38px;height:38px;padding:0;border-radius:12px;background:#fff8e1d9;color:#5d3f15;font-size:18px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center}.hud-button:hover,.hud-button.active{background:#ffcc60;transform:scale(1.08)}.hud-button:active{transform:scale(.94)}#scout-btn{min-width:46px;width:auto;padding:0 9px}#timer-track{--alice-progress: 0;position:relative;width:min(38vw,340px);min-width:190px;height:18px;margin:13px 24px 0 18px;padding:4px 7px;border-radius:999px;background:linear-gradient(90deg,#4596d733,#fff6cab8),#fff8e1d1;overflow:visible}.hud-toast{position:absolute;top:28%;left:50%;transform:translate(-50%);padding:12px 22px;border-radius:16px;background:#2e1c08c7;color:#fff5d8;font-weight:800;font-size:17px;letter-spacing:.04em;pointer-events:none;opacity:1;transition:opacity .3s ease,transform .3s cubic-bezier(.34,1.56,.64,1);border:2px solid rgba(255,213,132,.4);text-align:center;max-width:80vw}.hud-toast.hidden{opacity:0;transform:translate(-50%,-10px) scale(.92);pointer-events:none;display:block!important}.vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;transition:opacity .4s ease;background:radial-gradient(ellipse at center,transparent 45%,rgba(160,24,12,.55) 100%);z-index:8}.vignette.active{opacity:1;animation:vignette-pulse 1.4s ease-in-out infinite}@keyframes vignette-pulse{0%,to{opacity:.75}50%{opacity:1}}.hud-toast.alert{background:#782012db;border-color:#ff9a8680;color:#ffe2d2}.scout-map-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none}.scout-pin{--pin-color: #3f9cff;position:absolute;min-width:70px;padding:7px 10px 8px;border:3px solid var(--pin-color);border-radius:14px;background:#fffceef0;color:#3a2811;font-size:13px;font-weight:900;line-height:1;text-align:center;text-transform:uppercase;box-shadow:0 8px 18px #2718073d;transform:translate(-50%,-50%);white-space:nowrap}.scout-pin:after{content:"";position:absolute;left:50%;bottom:-12px;width:14px;height:14px;border-right:3px solid var(--pin-color);border-bottom:3px solid var(--pin-color);background:#fffceef0;transform:translate(-50%) rotate(45deg)}#timer-fill{width:100%;height:100%;border-radius:999px;background:linear-gradient(90deg,#ffbf4b,#ff8e57 70%,#e75b55);transform-origin:right center;transition:transform .15s linear,background .5s ease}#timer-track.danger{animation:timer-alarm .9s ease-in-out infinite}#timer-track.danger #timer-alice{animation:alice-hurry .45s ease-in-out infinite}@keyframes timer-alarm{0%,to{border-color:#402a0c2e;box-shadow:0 10px 24px #422d1124}50%{border-color:#e75b55bf;box-shadow:0 10px 24px #e75b5566}}@keyframes alice-hurry{0%,to{transform:translate(-50%,-50%) rotate(-6deg)}50%{transform:translate(-50%,-54%) rotate(6deg)}}#timer-alice,#timer-cheese{position:absolute;top:50%;width:42px;height:42px;border-radius:50%;object-fit:cover;pointer-events:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 5px 7px rgba(61,38,11,.28))}#timer-alice{left:calc(7px + (100% - 14px) * var(--alice-progress));z-index:2;transform:translate(-50%,-50%);border:3px solid #caefff;background:#116ed3;transition:left .12s linear}#timer-cheese{right:-24px;z-index:1;transform:translateY(-50%);border:3px solid #fff4be;background:#38a7df}.screen{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:20px;background:#fff1d04d;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:screen-fade .3s ease both}.screen-card{width:min(92vw,720px);padding:28px;border-radius:28px;background:linear-gradient(180deg,#ffffffe0,#fff5dbf0),linear-gradient(135deg,#ffe8aa,#fff7df);text-align:center;animation:card-pop .45s cubic-bezier(.34,1.56,.64,1) both}@keyframes screen-fade{0%{opacity:0}to{opacity:1}}@keyframes card-pop{0%{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}.hero-card{padding:36px 30px}.hero-badge{display:inline-flex;align-items:center;justify-content:center;margin-bottom:10px;padding:8px 14px;border-radius:999px;background:#ffcf6a;color:#704515;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.14em}.hero-mascots{display:flex;align-items:center;justify-content:center;gap:10px;margin:2px 0 6px;font-size:30px;line-height:1}.mascot-mouse{display:inline-block;transform:scaleX(-1);animation:mascot-scamper 3s ease-in-out infinite}.mascot-cheese{display:inline-block;animation:mascot-tempt 2.2s ease-in-out infinite}.mascot-trail{width:clamp(48px,14vw,110px);height:0;border-top:3px dotted rgba(160,116,46,.55);border-radius:3px}@keyframes mascot-scamper{0%{transform:translate(0) scaleX(-1) rotate(0)}12%{transform:translate(6px,-3px) scaleX(-1) rotate(-6deg)}24%{transform:translate(14px) scaleX(-1) rotate(4deg)}36%{transform:translate(24px,-3px) scaleX(-1) rotate(-6deg)}48%{transform:translate(32px) scaleX(-1) rotate(0)}60%{transform:translate(32px) scaleX(-1) rotate(0)}76%{transform:translate(12px,-2px) scaleX(1) rotate(5deg)}92%{transform:translate(0) scaleX(1) rotate(0)}to{transform:translate(0) scaleX(-1) rotate(0)}}@keyframes mascot-tempt{0%,to{transform:scale(1) rotate(0)}50%{transform:scale(1.14) rotate(-6deg)}}.screen-card h1,.screen-card h2{margin:0 0 10px;color:#5e3914;text-transform:uppercase;letter-spacing:.08em;text-shadow:0 2px 0 rgba(255,255,255,.65)}.screen-card h1{font-size:clamp(28px,5.5vw,52px);margin-bottom:6px}.screen-card p.hero-tagline{margin:0 auto 18px;font-size:clamp(14px,2vw,17px);font-weight:800;color:#a0742e;letter-spacing:.03em}.screen-card h2{font-size:clamp(30px,5vw,42px)}.screen-card p{margin:0 auto 16px;max-width:620px;font-size:clamp(18px,2.6vw,24px);line-height:1.45;color:#4f4026;white-space:pre-line}.overlay-icon{width:72px;height:72px;border-radius:50%;object-fit:cover;display:block;margin:0 auto 14px;border:4px solid rgba(112,69,21,.18);box-shadow:0 8px 22px #422d1138;animation:icon-pop .5s cubic-bezier(.34,1.8,.64,1) .1s both}.screen-card h2.celebrate{animation:title-cheer .7s cubic-bezier(.34,1.56,.64,1) .05s both}@keyframes title-cheer{0%{transform:scale(.6) rotate(-3deg);opacity:0}55%{transform:scale(1.12) rotate(2deg);opacity:1}to{transform:scale(1) rotate(0);opacity:1}}@keyframes icon-pop{0%{opacity:0;transform:scale(.4) rotate(-12deg)}to{opacity:1;transform:scale(1) rotate(0)}}.hero-notes{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:10px 0 0}.difficulty-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 auto;max-width:640px}.difficulty-btn{min-height:86px;padding:12px;border:3px solid rgba(112,69,21,.2);border-radius:18px;background:#fffcf2e0;color:#6b4b1e;cursor:pointer;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;transition:transform .15s ease,background .15s ease,border-color .15s ease}.difficulty-btn strong{font-size:17px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.difficulty-btn span{font-size:12px;font-weight:800;line-height:1.25}.difficulty-btn .difficulty-icon{font-size:20px;line-height:1;transition:transform .15s ease}.difficulty-btn:hover{transform:translateY(-2px);border-color:#ff9b4880}.difficulty-btn:hover .difficulty-icon{transform:scale(1.18) rotate(-6deg)}.difficulty-btn:active{transform:translateY(0) scale(.98)}.difficulty-btn.active,.difficulty-btn[aria-pressed=true]{border-color:#ff9b48c7;background:linear-gradient(180deg,#fff5ce,#ffd06c);box-shadow:0 10px 20px #e276342e;transform:translateY(-1px)}.controls-picker{grid-template-columns:repeat(2,minmax(0,1fr));max-width:440px}.picker-section{margin-bottom:16px}.picker-label{margin-bottom:8px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.14em;color:#a0742e}.maze-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:640px;margin:0 auto}.maze-btn{min-height:90px;padding:12px 8px;border:3px solid rgba(112,69,21,.2);border-radius:18px;background:#fffcf2e0;color:#6b4b1e;cursor:pointer;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;transition:transform .15s ease,background .15s ease,border-color .15s ease}.maze-icon{font-size:22px;line-height:1;transition:transform .15s ease}.maze-btn strong{font-size:14px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.maze-btn span:not(.maze-icon){font-size:11px;font-weight:700;opacity:.75}.maze-btn:hover{transform:translateY(-2px);border-color:#ff9b4880}.maze-btn:active{transform:translateY(0) scale(.98)}.maze-btn:hover .maze-icon{transform:scale(1.18) rotate(-6deg)}.maze-btn.active,.maze-btn[aria-pressed=true]{border-color:#ff9b48c7;background:linear-gradient(180deg,#fff5ce,#ffd06c);box-shadow:0 10px 20px #e276342e;transform:translateY(-1px)}.maze-btn .maze-best{font-size:11px;font-weight:900;color:#a0742e;letter-spacing:.04em}.maze-btn.locked{opacity:.55;filter:grayscale(.75);cursor:not-allowed}.maze-btn.locked:hover{transform:none;border-color:#70451533}.maze-btn.locked:hover .maze-icon{transform:none}.maze-btn.shake{animation:maze-shake .4s ease}@keyframes maze-shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}50%{transform:translate(5px)}75%{transform:translate(-3px)}}.maze-hint{margin:10px auto 0;max-width:640px;padding:8px 14px;border-radius:12px;background:#ffd68c73;border:2px solid rgba(190,130,44,.35);color:#7a5218;font-size:13px;font-weight:800;letter-spacing:.02em}.hero-controls{margin-bottom:16px;text-align:left}.hero-controls summary{display:inline-block;padding:6px 14px;border-radius:999px;background:#fffcf2e0;border:2px solid rgba(112,69,21,.15);font-size:13px;font-weight:800;color:#6b4b1e;cursor:pointer;letter-spacing:.04em;-webkit-user-select:none;user-select:none;list-style:none;text-align:center;width:100%}.hero-controls summary::-webkit-details-marker{display:none}.hero-controls summary:after{content:" ▾";opacity:.55}.hero-controls[open] summary:after{content:" ▴"}.hero-notes span{padding:7px 10px;border-radius:12px;background:#fffcf2e0;font-size:13px;font-weight:700;color:#6b4b1e;display:inline-flex;align-items:center;gap:4px}kbd{display:inline-block;padding:1px 5px;border-radius:5px;border:1px solid rgba(112,69,21,.3);background:#fff5dce6;font-size:11px;font-weight:900;font-family:inherit;line-height:1.4}.primary-btn{padding:15px 28px;border:0;border-radius:18px;background:linear-gradient(180deg,#ffcb58,#ff9b48);color:#fffdf5;font-size:20px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;box-shadow:0 14px 26px #e2763447;animation:btn-breathe 2.6s ease-in-out infinite}.primary-btn:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 18px 32px #e2763461}.primary-btn:active{transform:translateY(1px) scale(.98);box-shadow:0 8px 16px #e276344d}@keyframes btn-breathe{0%,to{box-shadow:0 14px 26px #e2763447}50%{box-shadow:0 14px 30px #e2763475}}.start-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}.fullscreen-hint-btn{display:none;padding:14px 22px;border:2px solid rgba(112,69,21,.22);border-radius:16px;background:#fffcf2e0;color:#6b4b1e;font-size:17px;font-weight:800;cursor:pointer;letter-spacing:.04em}.fullscreen-hint-btn:hover,.fullscreen-hint-btn:active{background:#ffe9a0}@media(pointer:coarse){.fullscreen-hint-btn{display:inline-flex;align-items:center;gap:8px}#fullscreen-btn{width:44px;height:44px;font-size:22px;border-radius:13px}}#touch-controls{position:fixed;top:0;right:0;bottom:0;left:0;z-index:15;pointer-events:none;display:none;touch-action:none;-webkit-user-select:none;user-select:none}#touch-controls.show{display:block}#touch-controls.scout-hidden{display:none}.touch-pad{position:absolute;bottom:max(22px,calc(env(safe-area-inset-bottom,0px) + 22px));pointer-events:auto;display:grid;gap:10px;align-items:end;padding:12px;border:2px solid rgba(255,250,238,.18);border-radius:28px;background:linear-gradient(180deg,#30200c2e,#30200c14);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.touch-pad-steer{left:max(14px,calc(env(safe-area-inset-left,0px) + 14px))}.touch-pad-drive{right:max(14px,calc(env(safe-area-inset-right,0px) + 14px));grid-template-columns:1fr}.touch-pad-label{justify-self:center;padding:4px 10px;border-radius:999px;background:#fffaee38;color:#fff4cac7;font-size:11px;font-weight:900;line-height:1;letter-spacing:.16em;text-transform:uppercase;pointer-events:none}.touch-row{display:flex;gap:clamp(16px,4.5vw,26px)}.touch-row.separated{min-width:min(46vw,210px);justify-content:space-between}.touch-btn{width:clamp(75px,19.8vw,101px);height:clamp(68px,16.5vw,86px);min-width:70px;min-height:64px;border:3px solid rgba(255,250,238,.42);border-radius:24px;background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.16),transparent 35%),#3d290eb8;color:#fff4ca;font-size:16px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;box-shadow:0 10px 22px #1c120738,inset 0 2px #ffffff29}.touch-btn.arrow{font-size:clamp(26px,6.8vw,37px);line-height:1}.touch-btn-primary{background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.22),transparent 35%),#513513c7}.touch-btn{transition:transform .06s ease,background .06s ease,border-color .06s ease}.touch-btn.active,.touch-btn:active{transform:translateY(2px) scale(.98);background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.25),transparent 36%),#ffa649f0;border-color:#fff8dbb8;color:#fff;box-shadow:0 6px 14px #1c120738,inset 0 0 0 2px #ffffff29}.touch-pad-dpad{display:none}.dpad-grid{display:grid;grid-template-columns:repeat(3,auto);gap:8px;justify-items:center;align-items:center}.dpad-grid .dpad-up{grid-column:2;grid-row:1}.dpad-grid .dpad-left{grid-column:1;grid-row:2}.dpad-grid .dpad-right{grid-column:3;grid-row:2}.dpad-grid .dpad-down{grid-column:2;grid-row:3}@media(pointer:coarse),(max-width:900px){#touch-controls{display:block}}@media(max-width:900px){#hud{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:start;gap:8px;padding:10px 10px 0}.hud-left{grid-column:1;grid-row:1;gap:4px}.hud-right{grid-column:2;grid-row:1;align-items:flex-start;gap:6px}.hud-center{grid-column:1 / -1;grid-row:2;width:100%;min-width:0;align-items:flex-start}#timer-track{width:min(calc(100vw - 44px),320px);min-width:0;margin:6px 28px 0 22px}#timer-alice,#timer-cheese{width:36px;height:36px}#timer-cheese{right:-16px}.hud-button{width:34px;height:34px;font-size:16px}#scout-btn{min-width:40px;padding:0 7px}.hud-pill{font-size:12px;padding:5px 10px}.hud-pill-sm{font-size:10px;padding:3px 8px}.screen-card{max-height:calc(100dvh - 28px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:auto;padding:24px 18px}.screen-card p{font-size:18px}.maze-picker,.difficulty-picker{grid-template-columns:1fr;gap:8px}.maze-btn{min-height:56px;flex-direction:row;gap:10px;justify-content:flex-start;padding:9px 14px}.difficulty-btn{min-height:58px;padding:9px 10px}}@media(max-width:900px)and (orientation:portrait){.hero-card .start-row{position:sticky;bottom:-24px;z-index:2;margin:4px -18px -24px;padding:16px 18px 20px;background:linear-gradient(180deg,#fff7df00,#fff6de 36%);border-radius:0 0 24px 24px}}@media(pointer:coarse),(max-width:900px){.touch-pad{bottom:max(12px,calc(env(safe-area-inset-bottom,0px) + 12px))}}@media(max-width:520px){.touch-pad{padding:10px;border-radius:24px}.touch-pad-label{font-size:10px}.touch-row.separated{min-width:min(50vw,178px)}}@media(max-height:520px){.touch-pad{bottom:max(8px,calc(env(safe-area-inset-bottom,0px) + 8px));padding:8px;gap:7px}.touch-row{gap:12px}.touch-row.separated{min-width:min(38vw,164px)}.touch-btn{width:clamp(56px,13vw,70px);height:clamp(50px,12vw,58px);min-width:52px;min-height:48px;border-radius:18px}}#playtest-panel{position:absolute;right:14px;bottom:14px;z-index:25;width:min(360px,calc(100vw - 28px));max-height:46vh;overflow:auto;padding:12px;border:3px solid rgba(64,42,12,.18);border-radius:18px;background:#fffbf1e0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 10px 24px #422d1124}.playtest-title{margin-bottom:10px;color:#6b4218;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.14em}.playtest-group{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.playtest-btn{padding:8px 10px;border:0;border-radius:10px;background:#68411a;color:#fff8ec;font-size:12px;font-weight:800;cursor:pointer}.playtest-btn:hover{background:#ff9b48}#playtest-state{margin:0;padding:10px;border-radius:12px;background:#51351314;color:#4c3517;font-size:11px;line-height:1.35;white-space:pre-wrap;word-break:break-word}@media(max-width:900px){#playtest-panel{left:12px;right:12px;bottom:108px;width:auto;max-height:28vh}}@media(orientation:landscape)and (max-height:500px){#hud{grid-template-columns:minmax(0,1fr) auto minmax(0,auto);grid-template-rows:auto;align-items:start;gap:6px;padding:8px 8px 0}.hud-left{grid-column:1;grid-row:1;flex-direction:row;gap:5px;align-items:flex-start;min-width:0}.hud-center{grid-column:2;grid-row:1;width:auto;align-items:center}.hud-right{grid-column:3;grid-row:1;flex-direction:row;align-items:flex-start;gap:4px;justify-self:end}#timer-track{width:clamp(100px,22vw,220px);min-width:0;height:14px;margin:5px 20px 0 16px}#timer-alice,#timer-cheese{width:26px;height:26px}#timer-cheese{right:-12px}.hud-pill{font-size:11px;padding:4px 8px;border-radius:10px}.hud-pill-sm{font-size:9px;padding:3px 7px;border-radius:8px}.hud-button{width:30px;height:30px;font-size:13px;border-radius:9px}#fullscreen-btn{width:36px;height:36px;font-size:18px}#scout-btn{min-width:36px;padding:0 5px}.touch-pad{bottom:auto;top:50%;transform:translateY(-50%);padding:10px;gap:8px;border-radius:22px}.touch-pad-steer{left:max(8px,calc(env(safe-area-inset-left,0px) + 8px))}.touch-pad-drive{right:max(8px,calc(env(safe-area-inset-right,0px) + 8px))}.touch-pad-dpad{left:max(8px,calc(env(safe-area-inset-left,0px) + 8px))}.dpad-grid{gap:6px}.touch-btn{width:clamp(57px,11vw,73px);height:clamp(48px,11vh,64px);min-width:53px;min-height:46px;border-radius:16px}.touch-btn.arrow{font-size:clamp(22px,5vw,31px)}.touch-row{gap:8px}.touch-row.separated{min-width:0;gap:8px;justify-content:center}.screen-card{width:min(98vw,860px);max-height:calc(100dvh - 12px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:14px 20px 12px;overflow-y:auto;border-radius:20px}.hero-card{padding:14px 20px 12px}.hero-badge{margin-bottom:6px;padding:5px 12px;font-size:11px}.screen-card h1{font-size:clamp(20px,4vw,32px);margin-bottom:8px}.screen-card h2{font-size:clamp(18px,3.5vw,28px);margin-bottom:6px}.screen-card p{font-size:14px;margin-bottom:10px}.overlay-icon{width:52px;height:52px;margin-bottom:8px}.maze-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-width:none}.difficulty-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.maze-btn{min-height:52px;flex-direction:row;gap:8px;justify-content:flex-start;padding:8px 10px}.maze-icon{font-size:18px}.maze-btn strong{font-size:13px}.difficulty-btn{min-height:54px;padding:8px}.difficulty-btn strong{font-size:14px}.difficulty-btn .difficulty-icon{font-size:15px}.picker-section,.hero-controls{margin-bottom:10px}.primary-btn{padding:11px 24px;font-size:17px;border-radius:14px}.fullscreen-hint-btn{padding:10px 18px;font-size:15px;border-radius:12px}.start-row{gap:8px}#playtest-panel{bottom:8px;max-height:55vh}}@media(prefers-reduced-motion:reduce){.screen,.screen-card,.overlay-icon,.screen-card h2.celebrate,.primary-btn,.mascot-mouse,.mascot-cheese,#timer-track.danger,#timer-track.danger #timer-alice,#hud-status.bump,#hud-status.hurt,.vignette.active{animation:none!important}button,.hud-toast,#timer-fill{transition-duration:.01s!important}}
