*{box-sizing:border-box}.rotate-notice{display:none}.settings-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);overflow:auto;padding:20px;border:2px solid #afc8c5;border-radius:20px;color:#f6f1da;background:#183947;box-shadow:0 16px 60px #0008}.settings-dialog::backdrop{background:#071c29b3}.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.settings-heading h2{margin:0;font-size:22px}.settings-dialog button{min-height:44px;border:1px solid #8babb4;border-radius:10px;padding:8px 12px;background:#2d5361;color:#fff;cursor:pointer}.settings-heading button,.settings-levels button[aria-current=true]{background:#f2e9ca;color:#183947}.settings-options{display:flex;flex-wrap:wrap;gap:8px}.settings-levels{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.restart-confirm p{line-height:1.6}.settings-dialog .confirm-restart{background:#a54438}.game.settings-layout .settings-button{width:48px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;border-radius:12px;font-size:25px;line-height:1}button:focus-visible{outline:3px solid #9bf9ff;outline-offset:3px}html,body,#root{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:ui-rounded,PingFang SC,system-ui,sans-serif;background:#122633}button{font:inherit}.hud button{white-space:nowrap;flex-shrink:0}.page-shell{position:relative;isolation:isolate;width:100%;height:100%;display:grid;place-items:center;overflow:hidden;background:#132d38}.page-shell:before{content:"";position:absolute;z-index:-1;top:-5%;right:-5%;bottom:-5%;left:-5%;background:linear-gradient(#0a1f287a,#0a1f28b3),url(/assets/background.png) center/cover no-repeat;filter:blur(26px) saturate(.72);transform:scale(1.08)}.game{position:relative;width:min(100vw,177.683vh);height:min(100vh,calc(100vw * .5628));aspect-ratio:1672/941;overflow:hidden;background:#223b43;box-shadow:0 1.2vw 3vw #030f167a;-webkit-user-select:none;user-select:none;touch-action:manipulation}.room{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.room-vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 5.5vw #08172042}.hud{position:absolute;z-index:30;inset:2.2% 2.2% auto;display:flex;justify-content:space-between;align-items:center;gap:.6rem;pointer-events:none}.level{display:flex;align-items:center;gap:.75rem;color:#f5fbff;text-shadow:0 2px 5px #14252d;font-weight:800;font-size:clamp(12px,1.4vw,25px)}.level b{display:grid;place-items:center;width:2.15em;aspect-ratio:1;border-radius:40%;color:#102f3e;background:#f2e9ca;box-shadow:0 4px #9a8a61}.level-copy{display:grid;line-height:1.05}.level-copy strong{font-size:1em}.level-copy small{margin-top:.35em;color:#cce0e7;font-size:.48em;letter-spacing:.04em}.level i{font-style:normal;padding-left:.75rem;border-left:1px solid rgba(255,255,255,.5)}.hud button{pointer-events:auto;border:1px solid #79939e;color:#fff;background:linear-gradient(#294756,#132e3b);border-radius:12px;padding:.55em 1.25em;font-weight:800;box-shadow:0 5px 12px #0b1b2399;cursor:pointer}.hud-actions{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;min-width:0;pointer-events:auto}.item-statuses{display:flex;gap:.35rem;margin-left:auto;pointer-events:none}.item-statuses span{padding:.45em .75em;border:1px solid #78919a;border-radius:999px;color:#e8f5f7;background:#122d38e0;box-shadow:0 4px 12px #07182088;font-size:clamp(9px,.72vw,13px);font-weight:900;white-space:nowrap}.item-statuses span.complete{color:#3e3013;border-color:#ffe69a;background:#ffd65d}.item-statuses span.used{opacity:.58}.hud button:disabled{cursor:default;opacity:.6}.board{position:absolute;z-index:5;top:0;right:0;bottom:0;left:0}.routes{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;overflow:visible;pointer-events:none}.routes line{fill:none;stroke-linecap:round}.route-underlay{stroke:#15323d;stroke-width:25;opacity:.88}.route{stroke-width:18}.route-blue{stroke:#1dbde9}.route-red{stroke:#f35b62}.route-yellow{stroke:#f2c84d}.route-white{stroke:#e7f1ec}.route-shine{stroke:#ffffff6b;stroke-width:3}.node{position:absolute;z-index:5;width:11.55%;aspect-ratio:1.13;padding:0;border:0;background:transparent;transform:translate(-50%,-50%);cursor:pointer;overflow:visible}.node.exit{width:10.8%}.exit-platform{position:absolute;top:13%;right:5%;bottom:13%;left:5%;border:clamp(2px,.32vw,6px) solid #d8f4dc;border-radius:34%;background:linear-gradient(145deg,#a9ffcb 0,#a9ffcb 12%,#35d979 42%,#15944f);box-shadow:inset 0 .3vw .32vw #ffffffbf,inset 0 -.5vw .4vw #00462859,0 .48vw #0b5739,0 0 1.1vw #3bff87a6}.exit-platform:before{content:"";position:absolute;top:12%;right:9%;bottom:32%;left:9%;border-radius:40%;background:linear-gradient(155deg,#ffffffad,#cdffe01f)}.exit-platform span{position:absolute;left:50%;top:53%;width:18%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);background:#d9ffe7;box-shadow:0 0 .8vw #fff}.platform{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 .5vw .35vw rgba(6,21,28,.28));pointer-events:none;transition:opacity .16s,transform .16s,filter .16s}.platform.state{z-index:2;display:none}.node.selected .normal{opacity:0}.node.selected .selected-state{display:block}.node.reachable .normal{opacity:1}.node.reachable:after{content:"";position:absolute;z-index:3;left:50%;top:45%;width:10%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.node.reachable:not(.selected):after{border:0;background:#8af7f7;box-shadow:0 0 .65vw #6bf4f6f2;animation:breathe 1.25s ease-in-out infinite}.node.locked .exit-platform{filter:grayscale(.45) brightness(.68);box-shadow:inset 0 .3vw .32vw #ffffff61,0 .48vw #3a4e47,0 0 .6vw #ff5a5a80}.node.locked .exit-platform:after{content:"🔒";position:absolute;z-index:4;left:50%;top:49%;transform:translate(-50%,-50%);font-size:clamp(11px,1.35vw,24px)}.node.attack-target{filter:drop-shadow(0 0 .7vw #ff4d52)}.node.attack-target:after{content:"";position:absolute;z-index:4;top:16%;right:16%;bottom:16%;left:16%;border:clamp(2px,.25vw,5px) solid #ff6569;border-radius:30%;box-shadow:0 0 1vw #ff3b41;animation:attackPulse .75s ease-in-out infinite}.node:hover .platform{transform:translateY(-2%)}.actors-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:8;pointer-events:none}.actor{position:absolute;width:13.8%;height:38%;padding:0;border:0;background:transparent;transform:translate(-50%,-92%);pointer-events:none;transition:left .42s cubic-bezier(.22,.72,.22,1),top .42s cubic-bezier(.22,.72,.22,1),opacity .35s,transform .35s}.actors-layer *{pointer-events:none}.actor-mia,.actor-blue,.actor-red,.actor-green,.actor-yellow{width:13.8%;height:38%;transform:translate(-50%,-92%)}.actor-mia{margin-left:-.45%}.actor:after{content:none}.actor img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 .28vw .18vw rgba(8,16,22,.34));transform-origin:center bottom}.actor.selected img{animation:selectedActorPulse 1.25s ease-in-out infinite}.actor.moving img{animation:walkPulse .21s ease-in-out infinite alternate}.actor.attack-target img{filter:drop-shadow(0 0 .55vw #ff4148) drop-shadow(0 .28vw .18vw rgba(8,16,22,.34));animation:attackActorPulse .75s ease-in-out infinite}.items-layer{position:absolute;z-index:9;top:0;right:0;bottom:0;left:0;pointer-events:none}.key-item,.baton-item{position:absolute;transform:translate(-50%,-135%);pointer-events:none}.key-item{width:4.5%;aspect-ratio:1;transform:translate(-50%,-100%);transition:left .25s ease,top .25s ease}.key-item:before{content:"";position:absolute;top:12%;right:12%;bottom:12%;left:12%;border-radius:50%;background:radial-gradient(circle,#fff091cc,#ffce3c14 70%);box-shadow:0 0 .6vw #ffdd6466}.key-item img{position:relative;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 .15vw .1vw #5b360c) drop-shadow(0 0 .25vw #ffed94)}.key-item.occupied{width:3.8%;transform:translate(-50%,-65%)}.key-item.occupied:before{top:0;right:0;bottom:0;left:0}.key-1 img{filter:hue-rotate(155deg) drop-shadow(0 .15vw .1vw #244b68) drop-shadow(0 0 .25vw #74dfff)}.key-2 img{filter:hue-rotate(280deg) drop-shadow(0 .15vw .1vw #562458) drop-shadow(0 0 .25vw #f5b6ff)}.baton-item{width:5.8%;aspect-ratio:1;transform:translate(-50%,-85%)}.baton-item img{width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 .16vw .12vw #102332) drop-shadow(0 0 .15vw #b9ebff)}.baton-item{transition:left .25s ease,top .25s ease}.baton-item.occupied{width:4.6%;transform:translate(-50%,-55%)}.attack-effect{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.swing-baton{position:absolute;width:6.5%;aspect-ratio:1;left:var(--from-x);top:var(--from-y);transform:translate(-30%,-85%);animation:batonTravel .32s ease-in forwards}.swing-baton img{width:100%;height:100%;object-fit:contain;transform-origin:15% 85%;animation:batonSwing .32s ease-in forwards;filter:drop-shadow(0 0 .2vw #d4f5ff)}.impact-stars{position:absolute;left:var(--to-x);top:var(--to-y);color:#fff1a0;font-size:clamp(16px,2.5vw,44px);white-space:nowrap;text-shadow:0 0 .4vw #eebc40;animation:impactBurst .18s ease-out both}.actor.striking img{animation:actorStrike .32s ease-in-out both}.actor.hit img{animation:guardHit .18s linear both}.fallen-actor{animation:guardFall .2s ease-in both}@keyframes batonTravel{to{left:var(--to-x);top:var(--to-y)}}@keyframes batonSwing{0%{transform:rotate(-60deg)}60%{transform:rotate(-80deg)}to{transform:rotate(35deg)}}@keyframes actorStrike{0%,to{transform:rotate(0)}35%{transform:rotate(-9deg)}75%{transform:rotate(9deg)}}@keyframes guardHit{0%,to{transform:translate(0)}25%,75%{transform:translate(-5%) rotate(-5deg)}50%{transform:translate(5%) rotate(5deg)}}@keyframes impactBurst{0%{transform:translate(-50%,-50%) scale(.5);opacity:.5}to{transform:translate(-50%,-70%) scale(1.2);opacity:1}}@keyframes guardFall{0%{transform:translate(-50%,-94%) rotate(0)}to{transform:translate(-22%,-42%) rotate(80deg)}}@media(prefers-reduced-motion:reduce){.swing-baton,.swing-baton img,.actor.striking img,.actor.hit img,.fallen-actor,.impact-stars{animation:none}.swing-baton{left:var(--to-x);top:var(--to-y)}.impact-stars{transform:translate(-50%,-50%)}}.fallen-actor{position:absolute;z-index:8;width:12%;height:21%;transform:translate(-22%,-42%) rotate(80deg);pointer-events:none;filter:saturate(.55) drop-shadow(.25vw .35vw .25vw #0007)}.fallen-actor img{width:100%;height:100%;object-fit:contain}.fallen-actor i{position:absolute;right:-8%;top:-7%;color:#fff07a;font-size:clamp(13px,1.8vw,30px);animation:stars 1s ease-in-out infinite}.attack-button{position:absolute;z-index:20;right:3%;bottom:4%;min-width:9em;padding:.7em 1em;border:2px solid #ffc16a;border-radius:13px;color:#47240f;background:linear-gradient(#ffd568,#ee8b32);box-shadow:0 .35em #9a4a22,0 .7em 1em #0005;font-weight:900;cursor:pointer}.attack-button:disabled{opacity:.48;cursor:default;filter:grayscale(.35)}.attack-button.active{color:#fff;border-color:#ffc1c1;background:linear-gradient(#f4776f,#c9363b);box-shadow:0 .35em #7e2428,0 0 1.2em #ff4a51}.door-open .exit-platform{filter:brightness(1.18);box-shadow:inset 0 .3vw .32vw #ffffffd9,inset 0 -.5vw .4vw #0046284d,0 .48vw #0b5739,0 0 2vw #3bff87f2}.actor.escaping{animation:escape .9s .18s ease-in forwards!important}.instruction{position:absolute;z-index:25;left:50%;bottom:2.5%;transform:translate(-50%);padding:.55em 1.25em;border:1px solid rgba(190,240,248,.48);border-radius:999px;color:#effcff;background:#0e2d39db;box-shadow:0 6px 20px #03141b4d;font-size:clamp(11px,1.05vw,18px);font-weight:700;white-space:nowrap}.game.level-2{width:min(100vw,150vh);height:min(100vh,calc(100vw / 1.5));aspect-ratio:3/2}.game.level-2 .node{width:10.8%}.game.level-2 .node.exit{width:10.4%}.game.level-6 .node,.game.level-6 .node.exit{width:9.4%}.game.level-2 .actor{width:13.2%;height:34%}.game:not(.level-1):not(.level-2) .actor{width:9.5%;height:22%;transform:translate(-50%,-94%)}.game:not(.level-1):not(.level-2) .actor-mia{width:10.4%;height:24%}.game:not(.level-1):not(.level-2) .fallen-actor{width:9%;height:16%}.game .actors-layer .actor.actor-yellow{width:10.925%;height:25.3%;transform:translate(-61.44%,-98%)}.level-switch{display:flex;gap:.3rem;max-width:min(46vw,680px);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;pointer-events:auto}.level-switch::-webkit-scrollbar{display:none}.level-switch button{flex:0 0 auto;min-width:2.8em;min-height:44px;padding:.4em .6em}.level-switch button.active{color:#123442;background:#f2e9ca;box-shadow:0 4px #9a8a61}.level-switch button:disabled{cursor:default;opacity:.6}.win-panel{position:absolute;z-index:40;left:50%;top:50%;display:grid;gap:.65rem;min-width:min(330px,70vw);padding:1.3rem 1.6rem;transform:translate(-50%,-50%);border:4px solid #d9c994;border-radius:24px;color:#1b3b47;background:#fff3cf;box-shadow:0 24px 70px #030f168c;text-align:center}.win-panel strong{font-size:clamp(22px,2.4vw,38px)}.win-panel span{font-weight:800}.win-panel button{justify-self:center;border:0;border-radius:12px;padding:.7em 1.5em;color:#193441;background:#ffd65e;box-shadow:0 5px #b9912f;font-weight:900;cursor:pointer}.opening{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;overflow:hidden;color:#fff;background:#101b22;cursor:pointer}.opening-image{position:absolute;top:-3%;right:-3%;bottom:-3%;left:-3%;width:106%;height:106%;object-fit:cover;animation:storyPan 4.8s ease-out both}.opening-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#07101666 0%,transparent 32%,transparent 53%,#071016ed 100%)}.opening-top{position:absolute;z-index:3;left:clamp(18px,4vw,55px);right:clamp(18px,4vw,55px);top:clamp(12px,3vw,32px);display:flex;justify-content:space-between;align-items:center}.opening-top span{padding:8px 15px;border:2px solid #fff3c9aa;border-radius:9px;background:#243742d9;color:#ffe5a0;font-weight:900;letter-spacing:.12em}.opening-top button{padding:9px 17px;border:2px solid #ffffffaa;border-radius:999px;color:#fff;background:#172a35c9;font-weight:900;cursor:pointer}.opening-copy{position:absolute;z-index:3;left:clamp(25px,7vw,105px);right:clamp(25px,7vw,105px);bottom:clamp(24px,6vh,70px);text-align:center;text-shadow:0 3px 9px #000}.opening-copy h2{margin:0 auto 9px;max-width:950px;color:#fff4cb;font-size:clamp(22px,3.4vw,48px);line-height:1.16}.opening-copy p{margin:0 auto;max-width:820px;font-size:clamp(14px,1.65vw,23px);line-height:1.45;font-weight:800}.opening-copy small{display:block;margin-top:10px;color:#fffa;font-weight:700}.opening-progress{display:flex;justify-content:center;gap:8px;margin-top:18px}.opening-progress i{width:28px;height:5px;border-radius:5px;background:#fff5}.opening-progress i.on{background:#ffd55f;box-shadow:0 0 9px #ffc83c}.opening-finale{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at 50% 42%,#315f6cd9,#0d1b23f5)}.opening-finale small{color:#ffd55f;font-size:14px;font-weight:1000;letter-spacing:.24em}.opening-finale h1{margin:6px 0 0;color:#fff0bc;font-size:clamp(48px,8vw,105px);line-height:1;text-shadow:0 7px 0 #b44f27,0 13px 30px #000}.opening-finale p{margin:15px 0 24px;font-size:clamp(17px,2vw,28px);font-weight:900}.opening-finale button{padding:14px 34px;border:4px solid #fff0b5;border-radius:17px;color:#38230f;background:linear-gradient(#ffcb4e,#ed7b29);box-shadow:0 7px #a54b1e,0 14px 28px #0007;font-size:clamp(17px,1.7vw,23px);font-weight:1000;cursor:pointer}@keyframes breathe{50%{filter:drop-shadow(0 0 1vw #37e9ff) brightness(1.08)}}@keyframes attackPulse{50%{transform:scale(1.09);opacity:.62}}@keyframes attackActorPulse{50%{transform:translateY(-3%);filter:drop-shadow(0 0 .9vw #ff323a)}}@keyframes stars{50%{transform:translateY(-20%) rotate(20deg);opacity:.65}}@keyframes storyPan{0%{transform:scale(1.025) translate3d(-.5%,.3%,0)}to{transform:scale(1.105) translate3d(.5%,-.4%,0)}}@keyframes selectedActorPulse{50%{transform:translateY(-2.5%);filter:drop-shadow(0 .28vw .18vw rgba(8,16,22,.34)) drop-shadow(0 0 .42vw rgba(61,235,255,.9))}}@keyframes walkPulse{0%{transform:translateY(0) rotate(-1.2deg)}to{transform:translateY(-3%) rotate(1.2deg)}}@keyframes escape{55%{transform:translate(-15%,-96%) scale(.82);opacity:1}to{transform:translate(45%,-115%) scale(.28);opacity:0}}@media(max-aspect-ratio:4/3){.game{width:100vw}.instruction{bottom:1%}}@media(max-height:480px){.instruction{display:none}.hud{top:1%;inset-inline:1.2%;gap:.25rem}.level-copy,.item-statuses{display:none}.level{gap:.3rem}.level i{padding-left:.35rem}.hud-actions{flex:1;min-width:0}.level-switch{flex:1;max-width:none}.level-switch button{min-width:42px;min-height:40px;padding:.25em .45em}.hud .story-button{max-width:42px;overflow:hidden;white-space:nowrap;text-indent:-999px}.hud .story-button:after{content:"📖";display:block;text-indent:0}.hud button{padding:.42em .7em}.opening-copy{bottom:14px}.opening-copy h2{font-size:21px}.opening-copy p{font-size:12px}.opening-progress{margin-top:8px}.opening-copy small{margin-top:5px}}@media(max-width:1200px),(max-height:700px){.page-shell{height:100dvh;padding:0}.page-shell:before{display:none}.game,.game.level-2{--board-ratio:1.77683;--board-width:min( calc(100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - 20px) , calc((100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 148px) * var(--board-ratio)));width:100vw;height:100dvh;aspect-ratio:auto;overflow:hidden}.game.level-2{--board-ratio:1.5}.game .board{inset:calc(env(safe-area-inset-top,0px) + 96px) env(safe-area-inset-right,0px) calc(env(safe-area-inset-bottom,0px) + 52px) env(safe-area-inset-left,0px);margin:auto;width:var(--board-width);height:calc(var(--board-width) / var(--board-ratio))}.room{object-fit:cover}.hud{position:fixed;top:calc(env(safe-area-inset-top,0px) + 4px);left:calc(env(safe-area-inset-left,0px) + 10px);right:calc(env(safe-area-inset-right,0px) + 10px);display:grid;grid-template-columns:auto minmax(0,1fr) 44px 44px 44px;grid-template-rows:44px 44px;height:92px;gap:4px}.hud .hud-actions{display:contents}.hud .level{grid-column:1;grid-row:1}.hud .item-statuses{grid-column:2;grid-row:1}.hud .level-switch{grid-column:1 / -1;grid-row:2;width:100%;max-width:none;min-width:0;gap:5px}.hud .level-switch button{min-width:44px;min-height:44px}.hud .story-button,.hud .music-button,.hud .reset-button{grid-row:1;width:44px;min-height:44px;padding:4px}.hud .story-button{grid-column:3;text-indent:-9999px;overflow:hidden}.hud .story-button:after{content:"📖";display:block;text-indent:0}.hud .music-button{grid-column:4}.hud .reset-button{grid-column:5;text-indent:-9999px;overflow:hidden}.hud .reset-button:after{content:"↻";display:block;text-indent:0;font-size:22px}.level{font-size:14px;gap:8px}.level-copy{display:none}.level b{width:32px}.level i{padding-left:8px;white-space:nowrap}.item-statuses{display:flex;gap:5px}.item-statuses span{font-size:12px;padding:6px 8px}.attack-button{position:fixed;bottom:calc(env(safe-area-inset-bottom,0px) + 5px);right:calc(env(safe-area-inset-right,0px) + 12px);min-height:44px;min-width:116px;padding:8px 14px;font-size:14px}.instruction{position:fixed;display:block;left:calc(env(safe-area-inset-left,0px) + 12px);right:calc(env(safe-area-inset-right,0px) + 148px);bottom:calc(env(safe-area-inset-bottom,0px) + 8px);transform:none;width:fit-content;max-width:calc(100vw - 180px);font-size:12px;white-space:normal;padding:7px 10px}.node:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,min(48px,var(--touch-limit)));height:max(100%,min(48px,var(--touch-limit)));background:transparent}.node:hover .platform{transform:none}.win-panel{position:fixed;max-height:calc(100dvh - 24px);overflow:auto;padding:16px}.win-panel button{min-height:48px}.opening-top{top:calc(env(safe-area-inset-top,0px) + 8px);left:calc(env(safe-area-inset-left,0px) + 12px);right:calc(env(safe-area-inset-right,0px) + 12px)}.opening-top button{min-height:44px}.opening-copy{bottom:calc(env(safe-area-inset-bottom,0px) + 12px)}}.game.settings-layout{--board-width:100vw}.game.settings-layout .room{object-fit:fill}.game.settings-layout .board{top:0;right:0;bottom:0;left:0;margin:0;width:100%;height:100%}.game.settings-layout .hud{display:flex;height:44px;align-items:center;top:calc(env(safe-area-inset-top,0px) + 12px);left:calc(env(safe-area-inset-left,0px) + 14px);right:calc(env(safe-area-inset-right,0px) + 14px);gap:10px}.game.settings-layout .level-copy{display:none}.game.level-6 .level-picker,.game.level-6 .reset-button{width:48px;height:44px;min-width:48px;min-height:44px;padding:0;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:5px;line-height:1;text-indent:0;box-shadow:0 2px 6px #10263255}.game.level-6 .level-picker{background:#f2e9ca;color:#173946;font-size:14px}.picker-chevron{width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}.level-picker[aria-expanded=true] .picker-chevron{transform:translateY(2px) rotate(225deg)}.game.level-6 .hud-actions{display:contents}.game.level-6 .level-switch{display:none}.game.level-6 .level-switch.expanded{display:flex;position:absolute;left:0;right:0;top:52px;max-width:100%;padding:6px;border-radius:12px;background:#193643ee}.game.settings-layout .item-statuses{margin-left:auto}.game.level-6 .music-button{position:fixed;bottom:calc(env(safe-area-inset-bottom,0px) + 12px);right:calc(env(safe-area-inset-right,0px) + 14px);width:44px;height:44px;min-height:44px;display:grid;place-items:center;line-height:1;font-size:20px;padding:0;text-indent:0;background:#17313c52;border-color:#bcdae24d;box-shadow:none}.game.level-6 .reset-button{font-size:24px}.game.level-6 .reset-button:after{content:none}@media(orientation:portrait)and (pointer:coarse)and (max-width:1100px),(orientation:portrait)and (max-width:700px){.rotate-notice{position:fixed;z-index:200;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px;background:#142f3e;color:#fff2c8}.rotate-notice>span{font-size:76px;color:#8ee8eb}.rotate-notice strong{font-size:24px}.rotate-notice p{line-height:1.7;color:#d0e6e9}.rotate-notice small{color:#9bbdc5}.game,.opening{visibility:hidden}}
