#app dialog.tutorial-practice{width:100%;height:var(--play-viewport,100dvh);max-width:none;max-height:none;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-sizing:border-box;color:#203e49;overscroll-behavior:none;overflow-anchor:none;background:#f7f1df;border:0;margin:0;position:fixed;inset:0;overflow:hidden}#app dialog.tutorial-practice[open]{grid-template-rows:52px 76px minmax(0,1fr) 60px;gap:6px;display:grid}.tutorial-practice::backdrop{background:#f7f1df}#app .tutorial-practice .practice-instruction.practice-warning{color:#852b28;background:#fff0e8;border:2px solid #b93632}#app .tutorial-practice [data-stack-block][data-practice-stack-error]>polygon{stroke:#c62c31;stroke-width:5px;stroke-dasharray:6 3}#app .tutorial-practice .stack-cell[data-practice-stack-error] .stack-cell-face{fill:#d42d3326;stroke:#c62c31;stroke-width:4px;stroke-dasharray:6 3}#app .practice-header{grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:10px;min-width:0;display:grid}#app .practice-header h1{word-break:keep-all;min-width:0;margin:0;font-size:20px;line-height:1.3}#app .tutorial-practice button{font-family:inherit}#app .practice-header button,#app .practice-footer button{border-radius:8px;min-height:44px;padding:10px 14px;font-size:15px;line-height:1.25;color:#fff!important;box-shadow:none!important;filter:none!important;text-shadow:none!important;-webkit-text-stroke:0!important;background:#236878!important;border:1px solid #174c59!important}#app .practice-header button[data-practice=close]{width:44px;min-width:44px;padding:4px;font-size:26px}#app .tutorial-practice .practice-instruction{text-align:center;box-sizing:border-box;word-break:keep-all;overflow-wrap:anywhere;background:#fff8e8;border:1px solid #bdc9c3;border-radius:10px;justify-content:center;place-self:center;align-items:center;width:fit-content;max-width:min(760px,100%);min-height:44px;max-height:100%;margin:0;padding:8px 16px;font-size:18px;line-height:1.45;display:flex}#app .tutorial-practice .practice-board{border-radius:12px;background:#fffaf0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;position:relative!important;inset:auto!important;overflow:hidden!important}#app .tutorial-practice .practice-board>.mechanism-box{background:0 0!important;grid-template-rows:48px minmax(0,1fr)!important;grid-template-columns:minmax(0,1fr)!important;gap:2px!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;display:grid!important;position:relative!important;inset:auto!important}#app .tutorial-practice .device-goals{justify-content:center;align-items:center;gap:12px;min-height:0;grid-area:1/1!important;margin:0!important;padding:2px 6px!important;display:flex!important}#app .tutorial-practice .puzzle-objective,#app .tutorial-practice .mechanism-controls{display:none!important}#app .tutorial-practice .goal-readouts{flex-wrap:nowrap;justify-content:center;display:flex;gap:16px!important}#app .tutorial-practice .device-goal small{font-size:13px;line-height:1.2}#app .tutorial-practice .device-goal b{font-size:22px;line-height:1.1}#app .tutorial-practice .device-goal :is(i,em){font-size:14px}#app .tutorial-practice .device-body{align-content:stretch;place-items:center;container-type:size;background:0 0!important;grid-area:2/1!important;align-self:stretch!important;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:none!important;padding:0!important;display:grid!important;position:relative!important;inset:auto!important;overflow:hidden!important}#app .tutorial-practice .device-body>.direct-device{object-fit:contain;display:block;aspect-ratio:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important}#app .practice-footer{justify-content:center;align-items:center;gap:8px;font-size:13px;line-height:1.3;display:flex}#app .practice-footer span{margin-right:auto}#app .tutorial-practice .practice-footer button:disabled{opacity:1;color:#63706b!important;background:#d7ddd7!important;border-color:#bec8c2!important}#app .tutorial-practice button:focus-visible{outline-offset:3px;outline:3px solid #b76d15}.practice-cue{width:100%;height:var(--play-viewport,100dvh);pointer-events:none;z-index:2;position:fixed;inset:0}.practice-cue polyline{fill:none;stroke:#cf7020;stroke-width:2px;stroke-dasharray:5 5}.practice-cue circle{fill:#fff8df;stroke:#cf7020;stroke-width:3px}#app .tutorial-practice .beginner-first-action,#app .tutorial-practice .fleet-board>.fleet-score,#app .tutorial-practice .fleet-board>.lock-next-action{display:none!important}@media (width<=600px){#app dialog.tutorial-practice[open]{grid-template-rows:56px 90px minmax(0,1fr) 80px;gap:4px}#app .practice-header{gap:6px}#app .practice-header h1{font-size:16px}#app .practice-header button{padding:6px;font-size:14px}#app .tutorial-practice .practice-instruction{padding:6px 10px;font-size:16px}#app .practice-footer{grid-template-rows:24px 44px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}#app .practice-footer span{text-align:center;grid-column:1/-1;margin:0}#app .practice-footer button{min-width:0;padding:6px 2px;font-size:13px}}@media (orientation:landscape) and (height<=550px){#app dialog.tutorial-practice[open]{grid-template-rows:44px 52px minmax(0,1fr) 46px;gap:4px}#app .practice-header h1{font-size:18px}#app .tutorial-practice .practice-instruction{padding:5px 12px;font-size:16px}#app .practice-footer span{max-width:180px;font-size:12px}#app .practice-footer button{padding:6px 10px;font-size:14px}}#app .tutorial-practice .practice-board:has(.erosion-preview-controls)>.mechanism-box{grid-template-rows:48px minmax(0,1fr) 52px!important}#app .tutorial-practice .mechanism-controls:has(.erosion-preview-controls){box-sizing:border-box;align-self:stretch;width:100%;height:52px;grid-area:3/1!important;margin:0!important;padding:2px 6px!important;display:block!important}#app .tutorial-practice .erosion-preview-controls :is(p,small){display:none!important}#app .tutorial-practice .erosion-preview-controls>div{flex-wrap:nowrap;gap:4px;display:flex}#app .tutorial-practice .erosion-preview-controls button{flex:1 1 0;min-width:0;min-height:44px;padding:4px;font-size:13px;line-height:1.2}@media (width<=600px){#app .tutorial-practice .erosion-preview-controls button{font-size:12px}#app .tutorial-practice .erosion-preview-controls [data-erosion-replay]{flex:1.5 1 0}}#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty]{grid-area:3/1;max-height:100%;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;display:block!important;position:relative!important;overflow:hidden!important}#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty]>.mechanism-box{border:0;align-content:stretch;max-height:100%;grid-template-rows:48px minmax(0,1fr)!important;grid-template-columns:minmax(0,1fr)!important;gap:2px!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;display:grid!important}#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty] .device-goals{height:48px;max-height:48px;grid-area:1/1!important;min-height:0!important;padding:2px 6px!important;display:flex!important}#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty] .device-body{align-content:stretch;place-items:center;grid-area:2/1!important;align-self:stretch!important;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;display:grid!important;overflow:hidden!important;container-type:size!important}#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty] .device-body>.direct-device{aspect-ratio:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;transform:none!important}#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty] .puzzle-objective{display:none!important}#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty]:has(.erosion-preview-controls)>.mechanism-box{grid-template-rows:48px minmax(0,1fr) 52px!important}#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty] .mechanism-controls:has(.erosion-preview-controls){grid-area:3/1!important;height:52px!important;min-height:0!important;padding:2px 6px!important;display:block!important}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=somuui] .erosion-preview-controls{width:100%;max-width:none;margin:0}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=somuui] .erosion-preview-controls>div[role=group]{grid-template-rows:44px;grid-template-columns:repeat(5,minmax(44px,1fr));gap:4px;width:100%;min-width:0;height:44px;display:grid!important}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=somuui] .erosion-preview-controls>div[role=group]>button{box-sizing:border-box;white-space:normal;word-break:keep-all;overflow-wrap:normal;justify-content:center;align-items:center;max-width:100%;margin:0;padding:3px 4px;font-size:13px;line-height:1.2;display:flex;flex:none!important;width:100%!important;min-width:44px!important;height:44px!important;min-height:44px!important}@media (width<=360px){#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty]:has(.erosion-preview-controls)>.mechanism-box{grid-template-rows:48px minmax(0,1fr) 96px!important}#app>dialog.tutorial-practice[open]>.practice-board.puzzle-closeup[data-puzzle][data-difficulty] .mechanism-controls:has(.erosion-preview-controls){height:96px!important}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=somuui] .erosion-preview-controls>div[role=group]{grid-template-rows:44px 44px;grid-template-columns:repeat(4,minmax(44px,1fr));height:92px}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=somuui] .erosion-preview-controls>div[role=group]>[data-erosion-replay]{grid-column:1/-1}}#app .tutorial-practice .goal-readouts{min-width:0;gap:20px!important}#app .tutorial-practice .goal-readouts .device-goal{flex:none;align-items:center;gap:8px;width:auto;min-width:0;display:flex}@media (width<=600px){#app .tutorial-practice .goal-readouts{gap:10px!important}#app .tutorial-practice .goal-readouts .device-goal{justify-items:center;gap:2px;display:grid}}.practice-cue{overflow:visible;pointer-events:none!important}.practice-cue .practice-path{fill:none;stroke:#a44b0d;stroke-width:2px;stroke-dasharray:5 5;opacity:.8}.practice-cue .practice-focus-halo{fill:#ffd457;fill-opacity:.22;stroke:none;transform-box:fill-box;transform-origin:50%;animation:1.8s ease-in-out infinite practice-focus-breathe}.practice-cue .practice-focus-ring{fill:none;stroke:#ad4a0a;stroke-width:2px;stroke-dasharray:3 4}.practice-cue .practice-destination{fill:#fff5cc;fill-opacity:.28;stroke:#ad4a0a;stroke-width:2px;stroke-dasharray:4 4}.practice-cue .practice-finger{fill:#fffaf0;stroke:#24414b;stroke-width:2.5px;stroke-linejoin:round;filter:drop-shadow(0 2px 2px #152f4055)}.practice-cue .practice-finger-detail{fill:none;stroke:#657b7e;stroke-width:1.5px;stroke-linecap:round}@keyframes practice-focus-breathe{0%,to{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1.18)}}.practice-cue[data-gesture=tap]:not(.practice-cue-complete):not(.rhythm-practice-pointer) .practice-hand{transform-origin:0 0;animation:1.8s ease-in-out infinite practice-tap-press}@keyframes practice-tap-press{0%,65%,to{transform:translateY(9px)scale(1.04)}25%,40%{transform:translateY(0)scale(.96)}}.practice-cue[data-gesture=drag] .practice-hand{transform-origin:0 0;animation:2.4s linear infinite practice-drag-contact}@keyframes practice-drag-contact{0%,to{opacity:.7;transform:translateY(7px)scale(1.04)}15%,74%{opacity:1;transform:translateY(0)scale(.96)}88%,99%{opacity:.25;transform:translateY(7px)scale(1.04)}}@media (prefers-reduced-motion:reduce){.practice-cue .practice-focus-halo{opacity:.7;animation:none;transform:none}.practice-cue[data-gesture=tap]:not(.practice-cue-complete) .practice-hand{animation:none;transform:none}.practice-cue[data-gesture=drag] .practice-hand{opacity:1;animation:none;transform:none}}.practice-cue-complete .practice-hand{transform-origin:0 0;animation:1.8s ease-in-out infinite practice-start-press}@keyframes practice-start-press{0%,65%,to{transform:translateY(-9px)rotate(180deg)scale(1.04)}25%,40%{transform:translateY(0)rotate(180deg)scale(.96)}}@media (prefers-reduced-motion:reduce){.practice-cue-complete .practice-hand{animation:none;transform:rotate(180deg)}}.practice-cue[data-hand-side=above]:not(.practice-cue-complete):not(.rhythm-practice-pointer) .practice-hand{transform-origin:0 0;animation:1.8s ease-in-out infinite practice-start-press}.practice-cue[data-hand-side=above][data-gesture=drag] .practice-hand{animation:2.4s linear infinite practice-drag-above}@keyframes practice-drag-above{0%,to{opacity:.7;transform:translateY(-7px)rotate(180deg)scale(1.04)}15%,74%{opacity:1;transform:rotate(180deg)scale(.96)}88%,99%{opacity:.25;transform:translateY(-7px)rotate(180deg)scale(1.04)}}@media (prefers-reduced-motion:reduce){.practice-cue[data-hand-side=above] .practice-hand{opacity:1;animation:none!important;transform:rotate(180deg)!important}}@font-face{font-family:Noto Sans KR;src:url(/fonts/NotoSansKR-UI.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}html,body,#app,#app *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}img,a{-webkit-user-drag:none}:root{--ui-font:"Noto Sans KR","Malgun Gothic",sans-serif;font-family:var(--ui-font);font-variant-numeric:tabular-nums;color:#243d46;font-synthesis:none;--ink:#243d46;--paper:#fff0cd;--coral:#df7856;--teal:#6dbdc2;background:#21363e;font-weight:500}*{box-sizing:border-box}body{background:#243c45;margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:var(--ink);cursor:pointer;border:3px solid var(--ink);background:var(--paper);touch-action:manipulation;border-radius:2px;min-height:44px;padding:10px 14px;font-weight:800;box-shadow:2px 3px #192e36}button:hover{background:#ffe1a4}button:active{box-shadow:none;transform:translateY(2px)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline-offset:4px;outline:4px solid #fff}a{color:inherit}img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}#app{min-height:100dvh}.adventure-hud{color:#fff0d0;background:#1f353e;justify-content:space-between;align-items:center;gap:10px;height:64px;padding:9px 20px;display:flex}.adventure-hud>span{letter-spacing:.05em;font-size:20px;font-weight:900}.adventure-hud nav{gap:9px;display:flex}.adventure-hud button{color:#f7e5bd;box-shadow:none;background:0 0;border:0;padding:5px 9px;font-size:15px}.adventure-room,.inspection{max-width:1350px;margin:auto}.room-picture{aspect-ratio:3/2;background:#9fcbd0;position:relative;overflow:hidden}.room-art{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.world-hits{width:100%;height:100%;position:absolute;inset:0}.object-contour{fill:#0000;stroke:#fff8e9;stroke-width:8px;stroke-linejoin:round;opacity:.12;vector-effect:non-scaling-stroke;cursor:zoom-in;transition:opacity .2s}.world-hits a:hover .object-contour,.world-hits a:focus .object-contour{opacity:1;fill:#fff4d523}.object-contour.opened{opacity:.7;stroke:#ffe6a0}.supply-box-target{width:12%;height:17%;box-shadow:none;border:0;padding:0;position:absolute;top:69%;left:1%;background:0 0!important}.look-mark{color:#fff;text-shadow:1px 2px 0 var(--ink);font-size:35px;position:absolute;top:10%;left:60%}.treasure-plinth{width:20%;height:22%;box-shadow:none;border:0;padding:0;position:absolute;top:65%;left:55%;background:0 0!important}.treasure-plinth img{object-fit:contain;filter:drop-shadow(0 4px #fff);width:100%;height:100%}.opened-glint{color:#fff1af;filter:drop-shadow(0 0 5px #234);font-size:35px;text-decoration:none;animation:2s ease-in-out infinite glint;position:absolute}@keyframes glint{50%{opacity:.6;transform:scale(.8)}}.scene-note{color:#fff0cc;text-align:center;background:#213640;min-height:44px;margin:0;padding:12px 15px;font-size:16px;font-weight:700}.inventory{color:#e6dcc2;background:#374e55;border-top:3px solid #152e37;align-items:center;gap:10px;min-height:108px;padding:10px 15px;display:flex}.tools-in-bag{flex-wrap:wrap;flex:1;align-items:center;gap:9px;display:flex}.inventory-tool{color:#ffe8b7;width:85px;height:90px;box-shadow:none;background:#213b44;border-color:#70858a;flex-direction:column;justify-content:center;align-items:center;padding:2px;font-size:11px;display:flex}.inventory-tool.selected{background:#526b68;border-color:#fff2ba;transform:translateY(-4px)}.tool-sprite{background-repeat:no-repeat;background-size:500% 100%;flex-shrink:0;width:62px;height:54px;display:inline-block}.tool-0{background-position:0}.tool-1{background-position:25%}.tool-2{background-position:50%}.tool-3{background-position:75%}.tool-4{background-position:100%}.bag-shards{display:flex}.bag-piece{width:49px;height:58px;box-shadow:none;opacity:.3;background:#253c44;border:1px solid #6a858c;padding:0;position:relative;overflow:hidden}.bag-piece.found{opacity:1}.bag-piece>span{width:85px;height:85px;display:block;position:absolute;top:-13px;left:-17px}.bag-piece img{object-fit:contain;width:100%;height:100%}.inspection-picture{aspect-ratio:3/2;background:#3d575a;position:relative;overflow:hidden}.inspection-picture:after{content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 150px #18323d80}.inspection h1{color:var(--paper);z-index:1;background:#263e46e8;margin:0;padding:10px 18px;font-size:24px;position:absolute;top:20px;left:20px}.device-inspection{text-align:center;z-index:2;background:#e5d1a7;border:8px solid #344b51;width:min(430px,75%);padding:22px 35px;position:absolute;top:55%;left:50%;transform:translate(-50%,-50%);box-shadow:10px 12px #182f38b0}.device-socket{background:#253d42;border:7px solid #9c8666;place-items:center;width:100px;height:90px;margin:auto;display:grid}.device-socket .tool-sprite{filter:brightness(.1);opacity:.8}.device-inspection.ready .tool-sprite{filter:none}.device-inspection.ready{background:#f1ddb3}.open-recess{z-index:2;width:280px;height:230px;color:var(--paper);text-align:center;background:#162e38;border:18px solid #b19265;position:absolute;top:49%;left:50%;transform:translate(-50%,-30%);box-shadow:10px 12px #213c4960}.recess-lid{transform-origin:bottom;background:#bea475;border:10px solid #344a4d;width:280px;height:90px;position:absolute;bottom:100%;left:-18px;transform:skew(-10deg)}.recess-found{width:100%;height:100%;box-shadow:none;color:var(--paper);border:0;justify-content:center;align-items:end;display:flex;position:relative;background:0 0!important}.fragment-preview{display:block;position:absolute;inset:0}.fragment-preview img{object-fit:contain;width:100%;height:100%}.recess-found>span:last-child{z-index:1;background:#203d48;padding:6px;position:relative}.device-workbench{background-image:linear-gradient(#243e4b80,#243e4bcc),var(--scene);background-position:50%;background-size:cover;min-height:calc(100dvh - 64px);padding:22px 14px}.mechanism-box{background:#ead9b8;border:8px solid #344b51;max-width:1080px;margin:auto;padding:15px;box-shadow:9px 12px #182c35}.mechanism-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.mechanism-heading h1{margin:0;font-size:25px}.mechanism-heading>span{font-size:13px}.one-rule{margin:10px 0 15px;font-size:17px;font-weight:750}.device-body{background:#d9e3d8;border:3px solid #465b5e;position:relative;overflow:hidden}.mechanism-diagram{background:#dfebdf;width:100%;max-height:480px;display:block}.mechanism-diagram [role=button]{cursor:pointer;outline:none}.mechanism-diagram [role=button]:focus{filter:drop-shadow(0 0 4px #fff)}.mechanism-status{text-align:center;margin:12px 0;font-size:16px;font-weight:800}.mechanism-controls{flex-wrap:wrap;justify-content:center;gap:9px;padding:5px;display:flex}.mechanic-button{min-width:44px;padding:8px 12px}.mechanic-button.chosen{background:#dd936c;transform:translateY(-3px)}.dial-row{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.physical-dial{background:#d3bb8b;border:3px solid #4d625e;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:8px;display:flex}.physical-dial>span{text-align:center;width:100%;font-size:13px;font-weight:800}.physical-dial b{text-align:center;min-width:24px;display:inline-block}.physical-dial button{border-radius:50%;min-width:44px;padding:2px;font-size:20px}.height-grid{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.height-grid>span{background:#c3c6ae;align-items:center;gap:6px;padding:4px;font-weight:800;display:flex}.piece-select{align-items:center;gap:6px;display:flex}.piece-select>svg{width:70px;height:60px}.utility-controls{flex-wrap:wrap;justify-content:center;gap:10px;padding-top:15px;display:flex}.utility-controls button{font-size:13px}.mechanism-solved{color:#fff0c7;text-align:center;background:#233f48ce;flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex;position:absolute;inset:0}.mechanism-solved h2{font-size:23px}.device-workbench .scene-note{color:var(--ink);background:0 0;min-height:20px;padding:8px}.travel-desk{color:#173b47;background:#b9d9d2 url(/art/v3/map.webp) 50%/cover;min-height:calc(100dvh - 64px);padding:35px max(20px,5vw);position:relative}.travel-title h1{letter-spacing:-.05em;margin:16px 0;font-size:clamp(30px,5vw,65px);line-height:1.05}.travel-title p{background:#fff0cbe8;padding:8px;font-weight:800;display:inline-block}.travel-title small{letter-spacing:.12em;font-weight:900}.travel-places{grid-template-columns:repeat(4,1fr);align-items:start;gap:25px;max-width:1050px;margin:25px auto;display:grid}.travel-sticker{filter:drop-shadow(2px 6px #1c435a45);flex-direction:column;align-items:center;text-decoration:none;transition:transform .2s;display:flex;transform:rotate(-3deg)}.travel-sticker:nth-child(2n){transform:rotate(3deg)}.travel-sticker:hover{transform:rotate(0)translateY(-7px)}.travel-sticker img{object-fit:contain;filter:drop-shadow(3px 0 #fff)drop-shadow(-3px 0 #fff)drop-shadow(0 3px #fff)drop-shadow(0 -3px #fff);width:100%;height:140px}.travel-sticker>span{text-align:center;clip-path:polygon(3% 0,100% 4%,98% 100%,0 93%);background:#fff2cc;border:3px solid #24444e;padding:9px 15px;font-size:20px;font-weight:900}.travel-sticker small{margin-top:3px;font-size:12px;display:block}.offline-badge{background:#fff0cb;padding:8px;font-size:13px;font-weight:800;display:inline-block}.settings{background:#e9dec1;max-width:720px;margin:30px auto;padding:30px}.settings label{margin:23px 0;display:block}.settings input[type=range]{width:100%;margin-top:12px;display:block}.settings canvas{margin:20px auto;display:block}.settings button{margin:6px}.collection{background:#eadcba;flex-wrap:wrap;justify-content:center;gap:25px;min-height:calc(100dvh - 64px);padding:30px;display:flex}.collection h1{text-align:center;width:100%}.collection-item{filter:grayscale();opacity:.55;flex-direction:column;align-items:center;gap:10px;width:220px;text-decoration:none;display:flex}.collection-item.complete{filter:none;opacity:1}.collection-item img{object-fit:contain;width:100%;height:170px}.assembly-screen{color:#213b45;text-align:center;background:#b5c7bc;min-height:calc(100dvh - 64px);padding:25px 15px}.fracture-stage img{object-fit:contain;width:100%;height:100%}.assembly-screen .scene-note{color:#233e43;background:0 0}.fracture-controls button{font-size:15px}.empty-bag{padding:15px;font-size:14px}.rhythm-workbench{background:#d2e3db;min-height:calc(100dvh - 64px);padding:18px}.rhythm-workbench h1{text-align:center}.rhythm-world{aspect-ratio:3/2;background:#80bbca url(/art/v3/cheongna.webp) 50%/cover;max-width:1050px;margin:auto;position:relative;overflow:hidden}.rhythm-overlay{background:#233f4d28;position:absolute;inset:0}.rhythm-world canvas{width:100%;height:100%;display:block}.rhythm-screen-cover{color:#fff3d1;text-align:center;background:#213c4bd9;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:20px;display:flex;position:absolute;inset:0}.rhythm-screen-cover h2{font-size:30px}.rhythm-controls{justify-content:center;gap:15px;max-width:800px;margin:15px auto;display:flex}.rhythm-pad{touch-action:none;-webkit-user-select:none;user-select:none;flex:1;min-height:90px;font-size:23px}.rhythm-pad.held{background:#edb55f}.rhythm-status{text-align:center;padding:9px;font-weight:800}.rhythm-timeline{accent-color:#d67b5b;width:90%;max-width:900px;margin:10px auto;display:block}.rhythm-phase{text-align:center}.rhythm-tools{justify-content:center;gap:10px;display:flex}.rhythm-workbench .one-rule{text-align:center}.rhythm-math{background:#fff0cd;max-width:700px;margin:20px auto;padding:20px}dialog{color:#223b43;background:#f4e3bf;border:5px solid #2b4247;max-width:min(90vw,520px);padding:25px;box-shadow:9px 12px #1235}dialog::backdrop{background:#102b36a0}dialog form{justify-content:end;gap:12px;margin-top:20px;display:flex}dialog p{line-height:1.65}.sr-only{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=1100px){.adventure-room,.inspection{max-width:min(1350px,150dvh - 315px)}.room-picture,.inspection-picture{min-height:380px}.travel-places{grid-template-columns:repeat(4,1fr);margin-left:25%}.travel-title{max-width:500px}.travel-sticker img{height:130px}}@media (width<=700px){.adventure-hud{height:55px;padding:6px}.adventure-hud>span{font-size:15px}.adventure-hud nav{gap:0}.adventure-hud button{font-size:12px}.room-picture,.inspection-picture{aspect-ratio:1/1.1}.room-art{object-fit:cover}.world-hits{width:165%;max-width:none;left:-32.5%}.room-picture>.room-art{width:165%;max-width:none;position:absolute;left:-32.5%}.room-picture{overflow-x:auto}.supply-box-target{width:15%;height:17%;top:70%;left:1%}.treasure-plinth{top:65%;left:55%}.inventory{flex-wrap:wrap;gap:6px;padding:8px}.inventory-tool{width:68px;height:82px;font-size:10px}.tool-sprite{width:54px;height:48px}.tools-in-bag{flex-basis:65%;gap:5px}.bag-shards{margin-left:auto}.bag-piece{width:37px;height:50px}.inventory>button{min-height:40px;font-size:12px}.device-inspection{width:80%;padding:17px}.inspection h1{font-size:18px;top:12px;left:12px}.device-workbench{padding:10px 5px}.mechanism-box{border-width:4px;padding:9px}.mechanism-heading h1{font-size:20px}.one-rule{font-size:15px}.mechanism-status{font-size:13px;line-height:1.5}.mechanism-controls{gap:6px}.mechanic-button{padding:8px;font-size:12px}.dial-row{gap:5px}.physical-dial{gap:6px;width:45%;padding:5px}.physical-dial>span,.height-grid>span{font-size:12px}.height-grid button{min-width:40px;padding:5px}.utility-controls{gap:6px}.utility-controls button{padding:7px;font-size:12px}.travel-desk{padding:20px 13px}.travel-title h1{font-size:43px}.travel-title small{font-size:9px}.travel-title p{font-size:12px}.travel-places{grid-template-columns:repeat(2,1fr);gap:22px 13px}.travel-sticker img{height:105px}.travel-sticker>span{padding:9px 15px;font-size:16px}.settings{margin:0;padding:20px}.collection{gap:20px;padding:16px}.collection-item{width:42%}.collection-item img{height:120px}.rhythm-workbench{padding:12px 6px}.rhythm-world{aspect-ratio:1}.rhythm-pad{min-height:85px;font-size:18px}.rhythm-controls{gap:9px}.rhythm-screen-cover h2{font-size:24px}.scene-note{font-size:13px}.assembly-screen{padding:20px 5px}.fracture-controls{padding:8px;font-size:12px}}@media (height<=540px) and (orientation:landscape){.adventure-hud{height:45px}.adventure-room,.inspection{max-width:800px}.room-picture,.inspection-picture{aspect-ratio:3/2;height:auto;min-height:220px;max-height:calc(100dvh - 155px)}.room-art{object-fit:contain}.world-hits{width:100%;left:0}.room-picture>.room-art{width:100%;position:static}.inventory{min-height:70px}.inventory-tool{flex-direction:row;width:110px;height:60px}.tool-sprite{width:45px;height:45px}.scene-note{min-height:30px;padding:5px}.device-workbench{padding-top:8px}.mechanism-diagram{max-height:230px}.rhythm-world{aspect-ratio:2;max-width:620px}.rhythm-pad{min-height:55px}.rhythm-workbench h1{margin:5px;font-size:20px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media (width<=700px){.room-picture{aspect-ratio:3/2}.room-picture>.room-art{object-fit:contain;width:100%;position:static}.world-hits{width:100%;left:0}.supply-box-target{top:69%;left:1%}.treasure-plinth{top:65%}.object-contour{opacity:.6;stroke-width:4px}.room-picture [role=button]{min-width:44px}}.tool-sprite{background-position-y:50%;background-size:500%;width:62px;height:62px}.rhythm-controls:has(.rhythm-pad:nth-child(4)){grid-template-columns:1fr 1fr;max-width:700px;display:grid}.rhythm-controls:has(.rhythm-pad:nth-child(4)) .rhythm-pad{min-height:60px}@media (hover:none){.object-contour{opacity:.65;stroke-width:4px}}@media (height<=540px) and (orientation:landscape){.adventure-room{width:calc(150dvh - 232.5px);min-width:330px}.room-picture{min-height:0;max-height:none}.inspection-picture{min-height:300px;max-height:none}}.tool-sprite{object-fit:contain;background:0 0;width:62px;height:62px}.mechanism-diagram{max-height:clamp(180px,100dvh - 350px,440px)}.device-workbench{padding-top:12px}.mechanism-box{padding:12px}.device-body{min-height:180px}.fracture-stage{max-width:min(900px,130dvh - 364px);margin:auto}.natural-shard{min-height:0;box-shadow:none!important}.assembly-screen{padding-top:15px}.assembly-screen h1{margin:8px 0}.assembly-screen>p{margin:10px}.rhythm-workbench{padding:8px 12px}.rhythm-workbench h1{margin:4px 0;font-size:24px;line-height:1.2}.rhythm-workbench .one-rule{margin:6px 0 10px;font-size:15px}.rhythm-world{aspect-ratio:20/13;background-size:100% 100%;width:min(100%,153.8dvh - 507.54px);min-width:240px;max-width:1050px}.rhythm-workbench[data-kind=pulse] .rhythm-overlay{display:none}.rhythm-workbench[data-kind=reflection] .rhythm-world{width:min(100%,153.8dvh - 569.06px)}.rhythm-timeline{max-width:700px;height:7px;margin:7px auto 0}.rhythm-status{min-height:29px;padding:7px;font-size:14px}.rhythm-controls{max-width:680px;margin:3px auto 10px}.rhythm-pad{min-height:60px;font-size:21px}.rhythm-controls:has(.rhythm-pad:nth-child(4)) .rhythm-pad{min-height:46px;font-size:17px}.rhythm-tools{flex-wrap:wrap}.rhythm-tools button{padding:7px 12px;font-size:13px}.rhythm-screen-cover{gap:8px}.rhythm-screen-cover h2{margin:0;font-size:24px}.rhythm-screen-cover p{margin:3px 0;font-size:15px}.rhythm-math{margin:15px auto;padding:12px}.rhythm-screen-cover button{min-height:44px;font-size:16px}@media (height<=540px) and (orientation:landscape){.rhythm-workbench{grid-template-rows:24px 28px minmax(70px,1fr) auto 26px;grid-template-columns:minmax(0,1fr) 220px;gap:4px;height:calc(100dvh - 45px);min-height:0;padding:4px 12px;display:grid}.rhythm-workbench h1{grid-area:1/1/2/3;margin:0;font-size:20px}.rhythm-workbench .one-rule{grid-area:2/1/3/3;margin:0;font-size:13px}.rhythm-world,.rhythm-workbench[data-kind=reflection] .rhythm-world{grid-area:3/1/6/2;width:min(100%,153.8dvh - 173.794px);min-width:0;height:100%;max-height:none}.rhythm-controls{flex-wrap:wrap;grid-area:3/2/4/3;align-self:center;gap:5px;width:100%;margin:0}.rhythm-pad{min-height:54px;font-size:17px}.rhythm-controls:has(.rhythm-pad:nth-child(4)) .rhythm-pad{min-height:44px;padding:4px;font-size:13px}.rhythm-status{grid-area:5/2/6/3;padding:2px;font-size:12px}.rhythm-tools{grid-area:4/2/5/3;gap:4px}.rhythm-tools button{min-height:36px;padding:4px 7px;font-size:11px}.rhythm-timeline{z-index:2;grid-area:5/1/6/2;align-self:end;width:80%;margin-bottom:6px}.rhythm-math{display:none}.rhythm-screen-cover{gap:4px;padding:6px}.rhythm-screen-cover h2{font-size:19px}.rhythm-screen-cover p{font-size:12px}.rhythm-screen-cover button{min-height:36px;padding:6px 12px;font-size:13px}}input,select,textarea{font:inherit}svg text{font-family:var(--ui-font);font-variant-numeric:tabular-nums}:root{--ui-ink:#25434d;--ui-muted:#506971;--ui-paper:#fff9eb;--ui-paper-raised:#fffdf7;--ui-line:#36535c;--ui-line-soft:#a8beb9;--ui-accent:#176d7a;--ui-selected:#e4f2ec;--ui-gold:#f5d68c;--ui-success:#246c50;--ui-danger:#954534;--ui-night-success:#bcf4d7;--ui-night:#17343f;--ui-night-raised:#234752;--ui-night-ink:#fff4d9;--ui-radius-sm:8px;--ui-radius-control:12px;--ui-radius-panel:16px;--ui-border:2px solid var(--ui-line);--ui-shadow:0 4px 0 #17343f24;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-6:24px;--ui-caption:14px;--ui-body:16px;--ui-action:18px;--ui-heading:24px;--ui-hit:44px;--ui-focus:3px solid var(--ui-accent)}.fracture-stage{aspect-ratio:1.3;isolation:isolate;touch-action:none;background:#d5c7a4 radial-gradient(#8a826c33 1px,#0000 1px) 0 0/18px 18px;border:3px solid #213c49;width:100%;position:relative;overflow:hidden}.treasure-ghost,.natural-shard{aspect-ratio:1;background:0 0;border:0;width:46%;padding:0;position:absolute;top:50%;left:50%}.treasure-ghost{opacity:.1;pointer-events:none;transform:translate(-50%,-50%)}.natural-shard{transform:translate(calc(-50% + var(--px)),calc(-50% + var(--py))) rotate(var(--turn));cursor:grab;touch-action:none;filter:drop-shadow(3px 5px #213c4966)}.natural-shard img,.natural-shard svg,.treasure-ghost img,.treasure-ghost svg{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}.natural-shard.selected{filter:brightness(1.15);z-index:5}.natural-shard:focus-visible{filter:brightness(1.3);outline:0}.natural-shard.joined{z-index:-1;filter:none;opacity:1;cursor:default}.fracture-stage.complete .treasure-ghost{opacity:1}.fracture-controls{justify-content:center;align-items:center;gap:18px;margin:18px 0;display:flex}.fracture-controls span{font-size:14px;line-height:1.6}.fracture-controls small{opacity:.7;font-size:12px}@media (width<=600px){.fracture-stage{aspect-ratio:.95}.treasure-ghost,.natural-shard{width:50%}.fracture-controls{gap:12px}.fracture-controls span{font-size:12px}}.treasure-ghost:has(.shard-alignment-guide){opacity:.45}.shard-alignment-guide{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.shard-alignment-guide polygon{fill:#fff3bd22;stroke:#fff6cc;stroke-width:2px;stroke-dasharray:4 2;vector-effect:non-scaling-stroke}.shard-alignment-guide circle{fill:#244b57;stroke:#fff6cc;stroke-width:1.2px;vector-effect:non-scaling-stroke}.shard-reference{pointer-events:none;background:#244b57;border:2px solid #fff7d5;border-radius:50%;width:9px;height:9px;position:absolute;transform:translate(-50%,-50%)}#app .shard-local-turn{z-index:10;color:#244955;touch-action:manipulation;background:#fff9e6;border:2px solid #294c58;border-radius:10px;justify-content:center;align-items:center;gap:4px;width:64px;height:44px;min-height:44px;padding:2px 4px;display:flex;position:absolute;box-shadow:0 2px 4px #183e4440}.shard-local-turn>span{font-size:25px}.shard-local-turn small{font-size:10px}.natural-shard.shard-dragging{z-index:8;opacity:.88}.shard-input-hint{color:#294c58;white-space:nowrap;pointer-events:none;z-index:11;background:#fff8e5e8;border-radius:6px;max-width:calc(100% - 12px);padding:5px 9px;font-size:12px;line-height:1.4;position:absolute;top:5px;left:50%;transform:translate(-50%)}#app .fracture-stage .treasure-ghost:has(.shard-alignment-guide){opacity:.65}#app .fracture-stage .treasure-ghost:has(.shard-alignment-guide)>img{opacity:.4}#app .fracture-stage .treasure-ghost:has(.shard-alignment-guide)>svg:not(.shard-alignment-guide){opacity:.4}.play-screen:has(.fleet-board){height:auto;min-height:calc(100dvh - 82px)}.play-stage:has(.fleet-board){background:#c4dedd;flex:none;align-items:stretch;overflow:visible}.play-screen:has(.fleet-board) .play-status{min-height:40px}.fleet-board{color:#213c49;background:#c4dedd;width:100%;min-height:440px;padding:16px}.fleet-score{justify-content:space-between;padding:0 6px 15px;font-size:15px;display:flex}.fleet-score b{margin-left:8px;font-size:22px}.fleet-layout{grid-template-columns:1fr 1.35fr 1fr;align-items:start;gap:18px;display:grid}.fleet-dock h2{border-bottom:3px solid;margin:0 0 12px;padding-bottom:6px;font-size:20px}.fleet-dock h2 span{opacity:.65;margin-top:4px;font-size:12px;display:block}.fleet-dock.connected h2{border-color:#d47b36}.moored-ships{flex-direction:column;gap:12px;min-height:240px;display:flex}.fleet-ship{width:calc(var(--length)/var(--capacity)*100% + 8%);cursor:pointer;touch-action:manipulation;background:0 0;border:0;min-width:46px;min-height:42px;padding:0;transition:filter .15s;position:relative}.fleet-ship img{filter:drop-shadow(0 2px #fff);pointer-events:none;width:100%;height:auto;display:block}.fleet-ship.returning img{transform:scaleX(-1)}.fleet-ship:not(:disabled):hover,.fleet-ship:focus-visible,.fleet-ship.hinted{filter:drop-shadow(0 0 3px #fff)drop-shadow(0 0 2px #fff)}.fleet-ship:disabled{opacity:.65;cursor:default}.ship-number{font:900 16px/1 var(--ui-font,sans-serif);color:#fff;text-shadow:1px 1px 1px #213c49,-1px -1px 1px #213c49;pointer-events:none;position:absolute;top:51%;left:50%;transform:translate(-50%,-50%)}.ship-direction{pointer-events:none;font-size:14px;font-weight:900;position:absolute;top:40%;right:-16px}.fleet-chamber{text-align:center}.capacity-label{margin:2px 0 12px;font-weight:900}.chamber-shell{background:#e3d6b9;border:4px solid #213c49;border-top:0;height:205px;position:relative;overflow:visible;box-shadow:5px 4px #87a5a4}.chamber-water{background:#63abb8;border-top:4px solid #fff8dc;flex-direction:column;justify-content:flex-start;height:65%;display:flex;position:absolute;bottom:0;left:0;right:0}.chamber-ships{align-items:flex-end;min-height:54px;display:flex;position:absolute;bottom:calc(100% - 4px);left:2%;right:2%}.chamber-ships .fleet-ship{width:calc(var(--length)/var(--capacity)*100%);flex-shrink:0;min-width:0;min-height:44px}.chamber-ships .ship-number{font-size:14px;top:68%}.capacity-ruler{width:100%;height:16px;display:flex;position:absolute;bottom:-5px;left:0}.capacity-ruler i{background:#e3d6b9;border:1px solid #213c49;flex:1}.water-link{opacity:.15;color:#213c49;font-size:23px;position:absolute}.water-link.left{top:20%;left:-20px}.water-link.right{top:67%;right:-20px}.water-link.open{opacity:1}.load-label{padding:20px 0 12px;font-size:20px;font-weight:900}.load-label small{margin-top:5px;font-size:12px;font-weight:600;display:block}.pump-lever{color:#213c49;cursor:pointer;background:#e5a951;border:3px solid #213c49;padding:8px 18px;font-size:17px;font-weight:900;box-shadow:4px 4px #213c49}.pump-lever span{margin-right:8px;font-size:25px}.pump-lever small{font-size:11px;display:block}.pump-lever:disabled{opacity:.65;background:#b4b8a7;box-shadow:1px 1px #213c49}.pump-lever:active:not(:disabled){transform:translate(2px,2px);box-shadow:2px 2px #213c49}.empty-dock{color:#51727a;font-size:12px}@media (width<=600px){.fleet-board{min-height:490px;padding:14px 8px}.fleet-layout{grid-template-columns:1fr 1.45fr 1fr;gap:9px}.fleet-dock h2{font-size:17px}.fleet-dock h2 span{font-size:10px}.moored-ships{gap:15px}.fleet-score{font-size:12px}.fleet-score b{margin-left:3px;font-size:18px}.ship-number{font-size:13px}.ship-direction{font-size:12px;right:-10px}.chamber-shell{height:220px}.pump-lever{padding:8px;font-size:14px}.load-label small{font-size:10px}.water-link.left{left:-14px}.water-link.right{right:-14px}.fleet-ship{min-width:37px}.chamber-ships{flex-wrap:nowrap}.chamber-ships .ship-number{font-size:12px}}@media (height<=560px) and (width>=601px){.fleet-board{min-height:0;padding:10px 14px}.fleet-layout{grid-template-columns:1fr 1.1fr 1fr;gap:22px}.moored-ships{grid-template-columns:1fr 1fr;align-content:start;gap:8px;min-height:140px;display:grid}.fleet-ship{width:100%;min-height:44px}.fleet-dock h2{margin-bottom:8px;font-size:15px}.fleet-dock h2 span{font-size:10px}.chamber-shell{height:100px}.capacity-label{margin:0 0 8px;font-size:13px}.capacity-label b{font-size:17px}.load-label{padding:12px 0 5px;font-size:16px}.load-label small{font-size:10px}.pump-lever{padding:4px 12px;font-size:12px}.pump-lever span{font-size:18px}.pump-lever small{font-size:9px}.fleet-score{padding-bottom:8px;font-size:12px}.fleet-score b{font-size:17px}.play-screen:has(.fleet-board) .controls{display:none}.moored-ships .fleet-ship{width:calc(var(--length)/var(--capacity)*100% + 8%);min-width:54px}}#app [hidden]{display:none!important}html,body{background:#bfd5cd}.sr-only{top:0;left:0}.adventure-hud{padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}#app button,dialog button{color:#203945;-webkit-text-stroke:3px #fff7df;paint-order:stroke fill;text-shadow:0 2px #163a4540;border-radius:0;font-weight:400;box-shadow:none!important;background:0 0!important;border:0!important}#app button:hover,dialog button:hover{filter:brightness(1.06)}#app button:disabled{opacity:.4}#app button:active{transform:translateY(2px)}.sticker-control{justify-content:center;align-items:center;gap:5px;min-height:44px;padding:5px 8px;display:inline-flex}.sticker-control>span{line-height:1.12}.ui-glyph{object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px #17384450);flex-shrink:0;width:36px;height:36px;display:block}.adventure-hud{z-index:20;pointer-events:none;color:#213c48;-webkit-text-stroke:3px #fff7df;paint-order:stroke fill;text-shadow:0 2px #15384350;background:0 0;height:55px;padding:5px 14px;position:absolute;top:0;left:0;right:0}.adventure-hud>*{pointer-events:auto}.adventure-hud>span{font-size:18px}.adventure-hud button{min-height:44px;padding:3px 6px;font-size:12px}.adventure-hud nav{gap:7px}.adventure-hud .ui-glyph{width:31px;height:31px}.travel-desk{min-height:100dvh;padding-top:64px}.offline-badge,.travel-title p{-webkit-text-stroke:3px #fff8de;paint-order:stroke fill;background:0 0}.travel-sticker>span{clip-path:none;-webkit-text-stroke:4px #fff5db;paint-order:stroke fill;text-shadow:0 3px #2347;background:0 0;border:0}.travel-sticker img{height:135px}.adventure-room,.inspection{background:0 0;max-width:1350px;margin:auto;padding-top:55px}.room-picture,.inspection-picture{box-shadow:none;border:0}.scene-note{color:#fff5db;-webkit-text-stroke:2px #243c45;paint-order:stroke fill;text-shadow:0 2px #1235;background:0 0;font-size:14px}.inventory{background:0 0;border:0;min-height:90px}.inventory-tool{box-shadow:none;border:0;min-width:68px;height:82px;background:0 0!important}.inventory-tool.selected{transform:translateY(-3px)}.inventory-tool.selected .tool-sprite{filter:drop-shadow(3px 0 #fff)drop-shadow(-3px 0 #fff)drop-shadow(0 3px #fff)drop-shadow(0 -3px #fff)}.inventory-tool span:last-child{-webkit-text-stroke:2px #fff6d9;paint-order:stroke fill;font-size:11px}.bag-piece{box-shadow:none;border:0;background:0 0!important}.bag-shards{gap:4px}.empty-bag{color:#fff3d3;-webkit-text-stroke:2px #213d46;paint-order:stroke fill}.tools-in-bag{gap:5px}.inspection h1{color:#263c45;-webkit-text-stroke:4px #fff3d2;paint-order:stroke fill;text-shadow:0 3px #2345;background:0 0;font-size:23px}.device-inspection{background:#d5c196;border:5px solid #334d55;box-shadow:5px 6px #233b4855}.device-inspection .ui-glyph{width:40px;height:40px}.device-workbench{background-image:linear-gradient(#26424b8c,#26424bbc),var(--scene);min-height:100dvh;padding:60px 14px 12px}.mechanism-box{box-shadow:none;background:0 0;border:0;max-width:1250px;padding:0}.mechanism-heading,.device-workbench .one-rule,.mechanism-status,.device-workbench .scene-note{color:#203d48;-webkit-text-stroke:3px #fff6d8;paint-order:stroke fill;text-shadow:0 2px #193b4540}.mechanism-heading h1{font-size:24px}.device-body{background:#dce8dc;border:0;box-shadow:3px 4px #193a4540}.physical-dial,.height-grid>span{background:0 0;border:0;padding:4px}.physical-dial>span,.physical-dial b,.height-grid>span{color:#203c46;-webkit-text-stroke:3px #fff5d7;paint-order:stroke fill}.physical-dial button{min-width:44px;font-size:30px}.mechanism-controls{gap:6px}.utility-controls{gap:5px}.utility-controls .sticker-control{font-size:12px}.utility-controls .ui-glyph{width:30px;height:30px}.mechanic-button.chosen{filter:drop-shadow(0 0 3px #fff);text-decoration:underline;text-decoration-thickness:3px}.rhythm-workbench{background:#bcd9d3;min-height:100dvh;padding-top:58px}.rhythm-workbench h1,.rhythm-workbench .one-rule,.rhythm-status{color:#203a45;-webkit-text-stroke:3px #fff6dc;paint-order:stroke fill}.rhythm-pad{flex-direction:column;min-height:72px;padding:0;font-size:21px}.rhythm-pad .ui-glyph{width:58px;height:52px}.rhythm-pad.held .ui-glyph{filter:drop-shadow(0 0 5px #fff);transform:scale(.9)translateY(3px)}.rhythm-controls:has(.rhythm-pad:nth-child(4)) .rhythm-pad{flex-direction:row;min-height:48px;font-size:15px}.rhythm-controls:has(.rhythm-pad:nth-child(4)) .ui-glyph{width:35px;height:35px}.rhythm-tools{gap:3px}.rhythm-tools .ui-glyph{width:28px;height:28px}.rhythm-tools button{font-size:12px}.rhythm-screen-cover{background:#1c3c48cc}.rhythm-screen-cover h2{-webkit-text-stroke:0;color:#fff0cc}.rhythm-screen-cover .ui-glyph{width:36px;height:36px}.rhythm-math{background:0 0;padding:8px}.rhythm-controls{margin-bottom:4px}.assembly-screen{background:#abc9c2;min-height:100dvh;padding-top:62px}.assembly-screen h1,.assembly-screen>p{-webkit-text-stroke:3px #fff5d6;paint-order:stroke fill}.fracture-stage{box-shadow:none;background:0 0;border:0;max-width:min(950px,130dvh - 331.5px)}.fracture-controls{background:0 0}.natural-shard:active{transform:translate(calc(-50% + var(--px)),calc(-50% + var(--py))) rotate(var(--turn))!important}.fracture-controls>span{-webkit-text-stroke:3px #fff4d9;paint-order:stroke fill}.settings{min-height:100dvh;margin-top:0;padding-top:70px}.collection{min-height:100dvh;padding-top:70px}@media (orientation:landscape) and (width>=700px){.adventure-room,.inspection{grid-template-rows:minmax(0,1fr) 32px;grid-template-columns:minmax(0,1fr) 165px;align-items:center;gap:0 10px;width:100%;max-width:none;height:100dvh;padding:52px 18px 8px;display:grid}.room-picture,.inspection-picture{aspect-ratio:3/2;grid-area:1/1/2/2;width:min(100%,150dvh - 138px);height:auto;min-height:0;max-height:none;margin:auto}.room-picture>.room-art,.inspection-picture>.room-art{object-fit:contain;width:100%;height:100%}.world-hits{width:100%;left:0}.adventure-room>.scene-note,.inspection>.scene-note{grid-area:2/1/3/2;min-height:0;padding:4px;font-size:12px}.inventory{flex-direction:column;grid-area:1/2/3/3;justify-content:center;align-self:stretch;align-items:center;gap:6px;min-height:0;padding:0;display:flex}.tools-in-bag{flex-wrap:wrap;flex:0;justify-content:center;align-items:center;gap:5px;display:flex}.inventory-tool{flex-direction:column;width:75px;height:80px}.tool-sprite{width:57px;height:57px}.bag-shards{flex-wrap:wrap;justify-content:center;max-width:155px;margin:0}.bag-piece{width:31px;height:45px}.bag-piece>span{width:75px;height:75px;top:-13px;left:-22px}.inventory>.sticker-control{font-size:12px}.inventory>.sticker-control .ui-glyph{width:27px;height:27px}.device-workbench{height:100dvh;min-height:0;padding:54px 16px 7px}.mechanism-box{grid-template-rows:auto auto minmax(0,1fr) auto auto;grid-template-columns:minmax(0,1fr) minmax(235px,29%);gap:5px 14px;height:100%;max-height:none;display:grid}.mechanism-heading{grid-area:1/1/2/3}.one-rule{grid-area:2/1/3/3;margin:0 0 3px;font-size:14px}.device-body{grid-area:3/1/4/2;align-self:center;width:100%;min-height:0;max-height:100%;overflow:auto}.mechanism-diagram{aspect-ratio:750/390;width:100%;height:auto;min-height:0;max-height:calc(100dvh - 200px)}.mechanism-controls{grid-area:3/2/5/3;align-content:center;align-self:stretch;gap:4px;min-height:0;padding:0;overflow-y:auto}.dial-row{gap:4px}.physical-dial{gap:4px;width:46%}.physical-dial>span{font-size:12px}.physical-dial button{min-width:40px;min-height:40px;padding:0}.height-grid{gap:1px}.height-grid>span{flex-wrap:wrap;justify-content:center;gap:0;padding:0;font-size:12px}.height-grid button{min-width:36px;min-height:36px;padding:0;font-size:19px}.mechanism-status{grid-area:4/1/5/2;margin:0;font-size:12px}.device-workbench .scene-note{grid-area:5/2/6/3;align-self:center;min-height:0;padding:0;font-size:11px}.utility-controls{grid-area:5/1/6/2;justify-content:center;gap:4px;min-height:42px;padding:0}.utility-controls button{padding:1px 4px;font-size:11px}.utility-controls .ui-glyph{width:28px;height:28px}.mechanism-heading h1{font-size:21px}.mechanism-box:has(.fleet-board){grid-template-columns:1fr}.mechanism-box:has(.fleet-board) .device-body{grid-area:3/1/4/3}.mechanism-box:has(.fleet-board) .mechanism-controls{display:none}.mechanism-box:has(.fleet-board) .mechanism-status{grid-area:4/1/5/3}.mechanism-box:has(.fleet-board) .scene-note{display:none}.mechanism-box:has(.fleet-board) .utility-controls{grid-area:5/1/6/3}.fleet-board{min-height:0}.fleet-ship{-webkit-text-stroke:0!important}.assembly-screen{grid-template-rows:30px 22px minmax(0,1fr);grid-template-columns:minmax(0,1fr) 200px;align-items:center;gap:5px 15px;height:100dvh;min-height:0;padding:54px 20px 12px;display:grid}.assembly-screen h1{grid-area:1/1/2/3;margin:0;font-size:23px}.assembly-screen>p:not(.scene-note){grid-area:2/1/3/3;margin:0;font-size:13px}.fracture-stage{aspect-ratio:1.3;grid-area:3/1/4/2;width:min(100%,130dvh - 171.6px);max-width:none;max-height:100%;margin:auto}.fracture-controls{flex-direction:column;grid-area:3/2/4/3;align-self:start;gap:14px;margin:25px 0 0}.fracture-controls>span{font-size:12px}.assembly-screen>.scene-note{grid-area:3/2/4/3;align-self:end;font-size:13px}.assembly-screen>button{grid-area:3/2/4/3;align-self:center}.rhythm-workbench{grid-template-rows:27px 28px minmax(70px,1fr) auto 29px;grid-template-columns:minmax(0,1fr) minmax(220px,27%);gap:4px 12px;height:100dvh;min-height:0;padding:55px 16px 9px;display:grid}.rhythm-workbench h1{grid-area:1/1/2/3;margin:0;font-size:23px}.rhythm-workbench .one-rule{grid-area:2/1/3/3;margin:0;font-size:14px}.rhythm-world,.rhythm-workbench[data-kind=reflection] .rhythm-world{aspect-ratio:20/13;grid-area:3/1/6/2;width:min(100%,153.8dvh - 201.478px);min-width:0;max-width:none;height:auto;max-height:100%;margin:auto}.rhythm-controls{flex-wrap:wrap;grid-area:3/2/4/3;align-self:center;gap:5px;width:100%;margin:0}.rhythm-pad{min-height:65px;font-size:18px}.rhythm-status{grid-area:5/2/6/3;align-self:center;min-height:0;padding:0;font-size:12px;line-height:1.2}.rhythm-tools{grid-area:4/2/5/3;align-content:end;gap:3px}.rhythm-tools button{min-height:39px;padding:2px 4px;font-size:11px}.rhythm-tools .ui-glyph{width:26px;height:26px}.rhythm-timeline{z-index:2;grid-area:5/1/6/2;align-self:end;width:65%;height:5px;margin:0 auto 7px}.rhythm-math{display:none}.rhythm-screen-cover{gap:5px;padding:8px}.rhythm-screen-cover h2{font-size:21px}.rhythm-screen-cover p{font-size:13px}.rhythm-screen-cover button{min-height:42px;padding:2px 6px;font-size:15px}}@media (height<=450px) and (orientation:landscape){.adventure-hud{height:46px;padding:3px 10px}.adventure-hud>span{font-size:14px}.adventure-hud .ui-glyph{width:26px;height:26px}.adventure-hud button{font-size:10px}.rhythm-workbench{grid-template-rows:23px 25px minmax(65px,1fr) auto 28px;grid-template-columns:minmax(0,1fr) 220px;padding-top:48px}.rhythm-world,.rhythm-workbench[data-kind=reflection] .rhythm-world{width:min(100%,153.8dvh - 173.794px)}.rhythm-workbench h1{font-size:19px}.rhythm-workbench .one-rule{font-size:12px}.rhythm-pad .ui-glyph{width:45px;height:45px}.rhythm-screen-cover .ui-glyph{width:28px;height:28px}.rhythm-screen-cover h2{font-size:18px}.rhythm-screen-cover p{font-size:11px}.rhythm-screen-cover button{min-height:36px;font-size:13px}.adventure-room,.inspection{grid-template-columns:minmax(0,1fr) 145px;padding-top:46px}.inventory-tool{width:65px;height:66px}.tool-sprite{width:45px;height:45px}.mechanism-heading h1{font-size:18px}.device-workbench{padding-top:47px}.device-workbench .one-rule{font-size:12px}.mechanism-diagram{max-height:calc(100dvh - 167px)}.mechanism-box{gap:3px 9px}.assembly-screen{padding-top:49px}.fracture-controls{gap:6px;margin-top:10px}}@media (orientation:portrait) and (width<=700px){.adventure-hud>span{font-size:13px}.adventure-hud{padding:4px 6px}.adventure-hud button{flex-direction:column;gap:0;font-size:10px}.adventure-hud .ui-glyph{width:25px;height:25px}.adventure-room,.inspection{padding-top:54px}.inventory{justify-content:center;gap:3px}.scene-note{font-size:12px}.rhythm-workbench{padding-top:59px}.rhythm-world{width:100%;min-width:0}.rhythm-workbench[data-kind=reflection] .rhythm-world{width:100%}.rhythm-pad{font-size:18px}.rhythm-screen-cover h2{font-size:19px}.rhythm-screen-cover p,.rhythm-status{font-size:12px}.rhythm-tools .ui-glyph{width:25px;height:25px}.rhythm-tools button{font-size:11px}.fracture-stage{width:100%;max-width:none}.assembly-screen .ui-glyph{width:29px;height:29px}}@media (orientation:landscape) and (width>=700px){.rhythm-workbench{grid-template-rows:minmax(80px,1fr) auto 32px;padding-top:55px}.rhythm-workbench>h1,.rhythm-workbench>.one-rule{clip:rect(0,0,0,0);width:1px;height:1px;margin:0;position:absolute;overflow:hidden}.rhythm-world,.rhythm-workbench[data-kind=reflection] .rhythm-world{grid-area:1/1/4/2;width:min(100%,153.8dvh - 106.122px)}.rhythm-controls{grid-area:1/2/2/3}.rhythm-tools{grid-area:2/2/3/3}.rhythm-status{grid-area:3/2/4/3}.rhythm-timeline{grid-area:3/1/4/2}.rhythm-screen-cover{gap:6px}}@media (orientation:portrait){.adventure-room{flex-direction:column;justify-content:center;min-height:100dvh;padding-bottom:20px;display:flex}.adventure-room .room-picture{flex-shrink:0;width:100%}.adventure-room>.scene-note,.adventure-room .inventory{flex-shrink:0}}.sticker-control>span{word-break:keep-all}.rhythm-controls:has(.rhythm-pad:nth-child(4)) .rhythm-pad{flex-direction:column;gap:2px;min-height:72px;padding:3px;font-size:13px}.rhythm-controls:has(.rhythm-pad:nth-child(4)) .rhythm-pad>span{white-space:nowrap}@media (orientation:landscape) and (width>=700px){.mechanism-box:has(.height-grid){grid-template-columns:minmax(0,1fr) minmax(295px,36%)}.height-grid{gap:3px;width:100%}.height-grid>span{text-align:center;grid-template-columns:repeat(2,minmax(44px,1fr));gap:0;display:grid}.height-grid>span>b{grid-column:1/-1;font-size:11px;line-height:14px}.height-grid button{min-width:44px;min-height:44px}}@media (orientation:landscape) and (height<=560px) and (width>=700px){.fleet-board{padding:4px 10px}.fleet-score{padding:0 0 3px;font-size:11px}.fleet-score b{font-size:14px}.fleet-dock h2{margin-bottom:2px;padding-bottom:2px;font-size:13px;line-height:16px}.fleet-dock h2 span{margin-top:0;font-size:9px;line-height:13px}.moored-ships{gap:0 8px;min-height:132px}.capacity-label{margin:0 0 3px;font-size:12px;line-height:16px}.capacity-label b{font-size:14px}.chamber-shell{height:70px}.load-label{padding:3px 0 1px;font-size:14px;line-height:16px}.load-label small{margin-top:0;font-size:9px;line-height:12px}.pump-lever{min-height:44px;padding:0 7px;font-size:12px;line-height:14px}.pump-lever span{font-size:17px}.pump-lever small{font-size:9px;line-height:11px}}.adventure-room,.inspection{background:#97bfc4;width:100%;min-width:0;max-width:none;height:100dvh;min-height:100dvh;margin:0;padding:0;display:block;position:relative;overflow:hidden}.scene-viewport{touch-action:none;outline:none;position:absolute;inset:0;overflow:hidden}.adventure-room,.scene-viewport,.inspection,.inspection .inspection-picture{overflow:clip}.scene-viewport .room-picture{aspect-ratio:auto;will-change:transform;min-width:0;max-width:none;min-height:0;max-height:none;margin:0;padding:0;position:absolute;top:0;left:0;overflow:visible}.scene-viewport .room-picture>.room-art{object-fit:fill;width:100%;max-width:none;height:100%;position:absolute;inset:0}.scene-viewport .world-hits{width:100%;max-width:none;height:100%;position:absolute;inset:0}.adventure-room>.scene-note,.inspection>.scene-note{z-index:15;bottom:max(12px,env(safe-area-inset-bottom));pointer-events:none;min-height:0;padding:2px 7px;font-size:13px;line-height:1.35;transition:opacity .18s;position:absolute;left:65px;right:100px}.has-open-bag>.scene-note{opacity:0}.scene-pan{z-index:18;touch-action:manipulation;width:48px;height:48px;font-size:34px;line-height:1;position:absolute;padding:4px!important}.scene-pan[data-pan=left]{top:48%;left:4px}.scene-pan[data-pan=right]{top:48%;right:4px}.scene-pan[data-pan=up]{top:49px;left:calc(50% - 24px)}.scene-pan[data-pan=down]{bottom:10px;left:calc(50% - 24px)}.scene-pan:disabled{pointer-events:none;opacity:.12!important}.scene-pan .ui-glyph{width:31px;height:31px}.scene-pan[data-pan=right] .ui-glyph{transform:rotate(180deg)}.scene-pan[data-pan=up] .ui-glyph{transform:rotate(90deg)}.scene-pan[data-pan=down] .ui-glyph{transform:rotate(-90deg)}.inspection .inspection-picture{aspect-ratio:auto;width:100%;height:100%;min-height:0;max-height:none;margin:0;position:absolute;inset:0}.inspection .inspection-picture>.room-art{object-fit:cover;width:100%;height:100%}.inspection .inspection-picture:after{content:none}.inspection h1{padding:0;font-size:clamp(20px,3vw,30px);top:60px;left:20px}.inspection .device-inspection{max-height:calc(100dvh - 150px);box-shadow:none;background:0 0;border:0;top:52%;overflow:auto}.inspection .device-inspection p{color:#203945;-webkit-text-stroke:3px #fff7df;paint-order:stroke fill;text-shadow:0 2px #163a4566}.inspection .device-socket{background:0 0;border:0}.inspection .device-socket .tool-sprite{opacity:1;filter:brightness(.2)drop-shadow(3px 0 #fff7df)drop-shadow(-3px 0 #fff7df)drop-shadow(0 3px #fff7df)drop-shadow(0 -3px #fff7df)}.inspection .device-inspection.ready .tool-sprite{filter:drop-shadow(3px 0 #fff7df)drop-shadow(-3px 0 #fff7df)drop-shadow(0 3px #fff7df)drop-shadow(0 -3px #fff7df)}.inspection .open-recess{max-height:calc(100dvh - 150px);top:48%}.bag-toggle{right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));z-index:32;flex-direction:column;gap:0;width:82px;min-height:78px;transition:bottom .28s cubic-bezier(.2,.8,.2,1);display:flex;position:absolute;padding:0!important}.bag-toggle .ui-glyph{width:62px;height:59px}.bag-toggle>span{font-size:12px}.bag-toggle .carried-tool{object-fit:contain;filter:drop-shadow(1px 1px #fff)drop-shadow(-1px -1px #fff);width:35px;height:35px;position:absolute;top:-5px;right:-1px}.inventory-drawer{--drawer-size:164px;z-index:30;height:var(--drawer-size);visibility:hidden;pointer-events:none;padding:29px max(15px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(15px,env(safe-area-inset-left));background:#ead7acf2;border-top:4px solid #304f56;border-radius:30px 30px 0 0;transition:transform .28s cubic-bezier(.2,.8,.2,1),visibility .28s;position:absolute;bottom:0;left:0;right:0;transform:translateY(110%);box-shadow:0 -6px #fff2d566}.inventory-drawer:before{content:"";background:#6f7770;border-radius:4px;width:52px;height:5px;position:absolute;top:9px;left:calc(50% - 26px)}.drawer-close{font-size:12px;position:absolute;top:0;right:12px;min-height:32px!important;padding:1px 7px!important}.drawer-close .ui-glyph{width:23px;height:23px;transform:rotate(-90deg)}.inventory-drawer .inventory{scrollbar-width:thin;scrollbar-color:#687a72 transparent;flex-flow:row;justify-content:flex-start;align-items:center;gap:18px;height:100%;min-height:0;max-height:none;margin:0;padding:0;display:flex;overflow:auto hidden}.inventory-drawer .tools-in-bag{flex-flow:row;flex:none;gap:12px;max-width:none;display:flex}.inventory-drawer .inventory-tool{flex:0 0 78px;width:78px;height:97px}.inventory-drawer .tool-sprite{width:62px;height:62px}.inventory-drawer .inventory-tool>span{word-break:keep-all;font-size:11px}.inventory-drawer .bag-shards{flex-wrap:nowrap;flex:none;gap:7px;max-width:none;margin:0;display:flex}.inventory-drawer .bag-piece{width:43px;height:64px}.inventory-drawer .bag-piece>span{width:90px;height:90px;top:-11px;left:-23px}.inventory-drawer .inventory>.sticker-control{flex:none;max-width:115px;font-size:12px}.has-open-bag .inventory-drawer{visibility:visible;pointer-events:auto;transform:translateY(0)}.has-open-bag .bag-toggle{bottom:174px}@media (width<=600px){.inventory-drawer{--drawer-size:154px;gap:8px;padding-left:10px;padding-right:10px}.has-open-bag .bag-toggle{bottom:164px}.bag-toggle{width:74px;min-height:69px}.bag-toggle .ui-glyph{width:54px;height:51px}.inventory-drawer .inventory-tool{flex-basis:72px;width:72px;height:88px}.inventory-drawer .tool-sprite{width:55px;height:55px}.adventure-room>.scene-note,.inspection>.scene-note{font-size:12px;left:45px;right:86px}.inspection h1{top:59px;left:12px}.inspection .device-inspection{width:84%}}@media (height<=450px) and (orientation:landscape){.inventory-drawer{--drawer-size:135px;padding-top:25px}.has-open-bag .bag-toggle{bottom:142px}.inventory-drawer .inventory-tool{height:84px}.inventory-drawer .tool-sprite{width:53px;height:53px}.inspection h1{font-size:20px;top:50px}.inspection .device-inspection{max-height:calc(100dvh - 110px);padding:10px 20px}.inspection .device-socket{border-width:4px;width:63px;height:57px}.inspection .device-socket .tool-sprite{width:48px;height:48px}.inspection .device-inspection p{margin:7px 0;font-size:13px}.inspection .open-recess{height:185px;max-height:none}.scene-pan[data-pan=up]{top:44px}}@media (prefers-reduced-motion:reduce){.bag-toggle,.inventory-drawer{transition:none}}.fleet-board{color:#173b49;background:0 0;min-height:0;padding:10px 20px}.device-body:has(.fleet-board){box-shadow:none;background:0 0;overflow:visible}.mechanism-box:has(.fleet-board) .mechanism-controls{display:none}.mechanism-box:has(.fleet-board) .scene-note:empty{display:none}.fleet-score,.fleet-dock h2,.arrivals>span,.capacity-label,.load-label,.empty-dock{paint-order:stroke fill;-webkit-text-stroke:3px #fff5dc;text-shadow:0 2px #213c4933}#app .fleet-board button.fleet-ship:disabled{opacity:.68}#app .fleet-board[aria-busy] button.fleet-ship:disabled{opacity:1}.fleet-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.8fr) minmax(0,1fr);align-items:start;gap:28px}.fleet-score{padding:0 0 12px}.fleet-dock h2{border:0;margin:0 0 6px;padding:0}.fleet-dock h2 span{opacity:1;font-size:11px}.fleet-dock.connected h2{color:#136960}.moored-ships{grid-template-columns:1fr 1fr;align-content:start;align-items:end;gap:6px 10px;min-height:156px;display:grid}@media (orientation:landscape) and (height>=561px){.moored-ships{grid-template-columns:1fr;gap:0;min-height:288px}.moored-ships .ship-art{width:calc(var(--length)/12*100%)}}.fleet-ship{isolation:isolate;justify-content:flex-start;align-items:flex-end;width:100%;min-width:0;min-height:48px;padding:0 0 10px;display:flex}.ship-art{width:calc(var(--length)/10*100%);transform-origin:0 0;will-change:transform;min-width:30px;display:block;position:relative}.fleet-ship img{filter:drop-shadow(0 2px #fff9e5);width:100%;height:auto;max-height:none}.ship-number{font:900 14px/1 var(--ui-font,sans-serif);color:#173b49;text-shadow:1px 1px #fff,-1px -1px #fff,1px -1px #fff,-1px 1px #fff;-webkit-text-stroke:0;top:auto;bottom:-9px;left:50%;transform:translate(-50%)}.ship-direction{font-size:12px;top:auto;bottom:-8px;right:-11px}.fleet-ship:disabled{opacity:.65}.fleet-ship.delivered{opacity:.8}.arrivals{margin-top:8px;font-size:11px}.arrivals>div{flex-wrap:wrap;align-items:end;gap:4px;min-height:26px;display:flex}.arrivals .fleet-ship{width:calc(var(--length)*5px);min-height:24px;padding-bottom:8px}.arrivals .ship-art{width:100%;min-width:0}.arrivals .ship-number{font-size:10px}.arrivals .ship-direction{color:#136960;font-size:10px;right:-5px}.capacity-label{margin:0 0 20px;font-size:15px}.capacity-label b{font-size:22px}.chamber-shell{background:#e9d7b8;border:5px solid #213c49;border-top:0;height:245px;margin:0 9px;overflow:visible;box-shadow:5px 5px #43677955}.chamber-water{z-index:2;background:#59bbc9;border-top:3px solid #fffbe6;height:70%;transition:none;display:block}.level-1 .chamber-water{height:22%}.chamber-ships{z-index:4;gap:0;min-height:0;bottom:calc(100% - 5px);left:0;right:0}.chamber-ships .fleet-ship{width:calc(var(--length)/var(--capacity)*100%);z-index:5;flex-shrink:0;align-items:flex-end;min-width:0;min-height:44px;padding:0}.chamber-ships .ship-art{width:100%;min-width:0}.chamber-ships .ship-number{color:#173b49;font-size:13px;top:auto;bottom:-14px}.chamber-ships .ship-direction{display:none}.level-mark{text-align:right;color:#456266;z-index:1;border-top:2px dashed #58757366;padding-right:8px;font-size:10px;position:absolute;left:0;right:0}.level-mark.high{bottom:70%}.level-mark.low{bottom:22%}.water-ripples{opacity:.5;background:repeating-linear-gradient(0deg,#0000 0 18px,#e8fafa66 18px 20px,#0000 20px 32px);position:absolute;inset:25px 12px 9px}.gate-track{z-index:6;pointer-events:none;background:#94a39b;border:3px solid #213c49;width:15px;position:absolute;top:-18px;bottom:0;overflow:hidden}.gate-0{left:-13px}.gate-1{right:-13px}.lock-gate{--open:0;transform:translateY(calc(var(--open)*-88%));background:#d79543;border:2px solid #213c49;flex-direction:column;justify-content:space-around;display:flex;position:absolute;inset:0}.lock-gate.is-open{--open:1}.lock-gate i{background:#213c49;height:5px}.capacity-ruler{z-index:7;height:12px;bottom:-12px}.capacity-ruler i{background:#fff4d9;border-width:1px}.capacity-ruler i.occupied{background:#e6a541}.chamber-actions{justify-content:space-between;align-items:center;gap:8px;margin-top:20px;display:flex}.load-label{white-space:nowrap;padding:0;font-size:18px}.load-label small{margin:4px 0 0;font-size:11px;font-weight:600}.pump-lever{align-items:center;gap:8px;min-height:108px;padding:0;font-size:15px;display:flex}.pump-lever span{margin-right:0}.pump-art{flex:0 0 104px;width:104px;height:108px;display:block;position:relative}.pump-track{background:#b8c8bc;border:4px solid #173b49;border-radius:11px;width:19px;height:82px;position:absolute;top:7px;left:43px;box-shadow:inset 4px 0 #e9f0da,inset -4px 0 #718d87,3px 3px #173b4933}.pump-track:after{content:"";background:#45686b;border-radius:2px;width:3px;position:absolute;top:8px;bottom:8px;left:5px}.pump-track-mark{border-top:3px solid #173b49;width:17px;position:absolute;left:22px}.pump-track-mark:after{font:900 10px/1 var(--ui-font,sans-serif);color:#173b49;white-space:nowrap;position:absolute;top:-8px;left:20px}.mark-high{top:7px}.mark-low{bottom:7px}.mark-high:after{content:"높음"}.mark-low:after{content:"낮음"}.pump-carriage{--lever-travel:58;z-index:2;width:94px;transform:translate(-50%,calc(var(--lever-state,0)*1px + var(--lever-drag,0px)));transform-origin:50%;will-change:transform;position:absolute;top:4px;left:50%}.level-1 .pump-carriage{--lever-state:58}.pump-carriage img{filter:drop-shadow(0 3px #173b4944);pointer-events:none;width:100%;height:auto;display:block}.pump-base{background:#d49a45;border:4px solid #173b49;border-radius:6px 6px 12px 12px;width:43px;height:22px;position:absolute;bottom:0;left:31px;box-shadow:inset 0 5px #f5cf70,3px 3px #173b4933}.pump-copy{text-align:left;margin:0;font-size:13px;line-height:1.15}.pump-copy b{font-size:14px;display:block}.pump-lever small{margin-top:4px;font-size:10px}.pump-carriage.spring-back{transition:transform .18s cubic-bezier(.2,.8,.25,1.15)}.fleet-in-motion .mechanism-solved{visibility:hidden}.fleet-board[aria-busy] .fleet-ship{opacity:1;cursor:wait}.fleet-board[aria-busy] .pump-lever{opacity:.82}.fleet-board[data-motion=water] .water-ripples{animation:.7s linear infinite lock-ripple}@keyframes lock-ripple{to{background-position:24px 32px}}@media (orientation:landscape) and (height<=560px){.fleet-board{padding:2px 12px}.fleet-layout{grid-template-columns:1fr 1.8fr 1fr;gap:24px}.fleet-score{padding-bottom:4px;font-size:11px}.fleet-score b{font-size:14px}.fleet-dock h2{margin-bottom:3px;font-size:14px;line-height:16px}.fleet-dock h2 span{font-size:10px;line-height:13px}.moored-ships{gap:0 8px;min-height:132px}.fleet-ship{min-height:44px;padding-bottom:9px}.ship-number{font-size:12px}.arrivals{margin-top:3px;font-size:10px}.arrivals>div,.arrivals .fleet-ship{min-height:20px}.capacity-label{margin:0 0 18px;font-size:12px;line-height:16px}.capacity-label b{font-size:16px}.chamber-shell{height:clamp(105px,100dvh - 280px,190px)}.chamber-actions{gap:3px;margin-top:7px}.load-label{padding:0;font-size:14px;line-height:16px}.load-label small{margin:0;font-size:9px;line-height:12px}.pump-lever{min-height:78px;padding:0;line-height:14px}.pump-art{transform-origin:50%;flex-basis:82px;width:82px;height:78px;transform:scale(.75)}.pump-copy{font-size:11px}.pump-copy b{font-size:12px}.pump-lever small{font-size:8px;line-height:10px}.chamber-ships .ship-number{font-size:12px}.level-mark{font-size:9px}}@media (orientation:portrait) and (width<=700px){.fleet-board{padding:6px 8px}.fleet-layout{grid-template-columns:1fr 1fr;gap:10px 22px}.fleet-chamber{grid-area:1/1/2/3;margin:0}.fleet-dock{grid-row:2}.fleet-dock h2{font-size:16px}.capacity-label{margin-bottom:22px}.chamber-actions{margin-top:18px}.moored-ships{gap:0 8px;min-height:132px}.fleet-ship{min-height:44px}.arrivals{margin-top:3px}.fleet-score{padding-bottom:12px;font-size:12px}.fleet-score b{font-size:17px}.chamber-ships .ship-number{font-size:13px}.mechanism-box:has(.fleet-board) .utility-controls{grid-template-columns:repeat(auto-fit,minmax(50px,1fr));gap:0;padding:5px 0 0;display:grid}.mechanism-box:has(.fleet-board) .utility-controls button{flex-direction:column;gap:0;min-width:0;padding:2px;font-size:10px}.mechanism-box:has(.fleet-board) .utility-controls .ui-glyph{width:26px;height:26px}.mechanism-box:has(.fleet-board) .mechanism-status{margin:8px 0;font-size:12px}.chamber-shell{height:160px}}@media (prefers-reduced-motion:reduce){.fleet-board[data-motion=water] .water-ripples{animation:none}.pump-carriage.spring-back{transition:none}}#app .puzzle-closeup .lock-next-action{text-align:center;color:#234b55;margin:0 0 12px;font-size:14px;font-weight:700;line-height:1.45}#app .puzzle-closeup .fleet-board{width:100%;max-width:1060px;margin:auto;padding:4px 10px}#app .puzzle-closeup .fleet-ship{outline-offset:1px;border-radius:8px;align-items:center;min-width:44px;min-height:54px;padding:5px 4px 15px}#app .puzzle-closeup .fleet-ship:not(:disabled){background:linear-gradient(#0000 65%,#d9f0e5a6);box-shadow:0 2px #428b7f55}#app .puzzle-closeup .fleet-ship:focus-visible{filter:none;background:#e4f3d9;outline:3px solid #176d79}#app .puzzle-closeup .fleet-ship:active:not(:disabled){background:#d1eac5}#app .puzzle-closeup .ship-art{min-width:38px}#app .puzzle-closeup .ship-number{font-size:15px;bottom:-13px}#app .puzzle-closeup .chamber-ships .fleet-ship{box-shadow:none;background:0 0;align-items:flex-end;min-width:0;min-height:48px;padding:0}#app .puzzle-closeup .chamber-ships .ship-art{min-width:0}#app .puzzle-closeup .arrivals .fleet-ship{min-width:0;min-height:24px;box-shadow:none;background:0 0;padding:0 0 8px}#app .puzzle-closeup .arrivals .ship-art{min-width:0}#app .puzzle-closeup .arrivals .ship-number{font-size:10px;bottom:-8px}#app .puzzle-closeup .pump-copy{text-align:center;font-size:12px;line-height:1.35;display:block}#app .puzzle-closeup .pump-copy b{font-size:13px}#app .puzzle-closeup .pump-copy small{display:none}#app .puzzle-closeup .fleet-dock h2{margin-bottom:8px;font-size:17px;line-height:1.4}#app .puzzle-closeup .fleet-dock h2 span{font-size:12px}#app .puzzle-closeup .moored-ships{align-items:start;gap:8px;min-height:0}@media (orientation:portrait) and (width<=700px){#app .puzzle-closeup .fleet-layout{grid-template-columns:1fr 1fr;gap:16px 18px}#app .puzzle-closeup .fleet-chamber{grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:12px;display:grid}#app .puzzle-closeup .chamber-shell{height:clamp(128px,20dvh,170px);margin:12px 9px 0}#app .puzzle-closeup .chamber-actions{justify-content:center;margin:0}#app .puzzle-closeup .pump-lever{flex-direction:column;gap:6px;width:92px;min-height:144px}#app .puzzle-closeup .pump-art{flex-basis:108px;width:94px;height:108px;transform:none}#app .puzzle-closeup .moored-ships{grid-template-columns:1fr 1fr}#app .puzzle-closeup .moored-ships .ship-art{width:calc(var(--length)/9*100%)}#app .puzzle-closeup .arrivals{margin-top:8px}}@media (orientation:landscape) and (height<=560px){#app .puzzle-closeup .lock-next-action{margin-bottom:6px;font-size:12px}#app .puzzle-closeup .fleet-layout{grid-template-columns:minmax(0,1fr) minmax(190px,1.8fr) minmax(0,1fr);gap:16px}#app .puzzle-closeup .fleet-dock h2{margin-bottom:4px;font-size:14px}#app .puzzle-closeup .fleet-dock h2 span{font-size:11px}#app .puzzle-closeup .moored-ships{gap:3px 6px}#app .puzzle-closeup .fleet-ship{min-height:44px;padding:2px 2px 12px}#app .puzzle-closeup .ship-number{font-size:13px;bottom:-11px}#app .puzzle-closeup .chamber-shell{height:clamp(90px,29dvh,145px)}#app .puzzle-closeup .chamber-actions{margin-top:8px}#app .puzzle-closeup .pump-lever{min-height:72px}#app .puzzle-closeup .pump-copy b{font-size:12px}}#app .puzzle-closeup .fleet-board .pump-copy{display:block}@media (orientation:landscape) and (height<=560px){#app .puzzle-closeup .fleet-chamber{grid-template-columns:minmax(0,1fr) 84px;align-items:center;gap:9px;padding-top:8px;display:grid}#app .puzzle-closeup .chamber-shell{height:clamp(110px,36dvh,150px);margin:0 8px}#app .puzzle-closeup .chamber-actions{margin:0;display:block}#app .puzzle-closeup .pump-lever{flex-direction:column;gap:2px;width:84px;min-height:126px}#app .puzzle-closeup .pump-art{transform-origin:50%;flex-basis:100px;width:84px;height:100px;transform:scale(.85)}#app .puzzle-closeup .pump-copy{max-width:84px}#app .puzzle-closeup .fleet-layout{grid-template-columns:minmax(0,1fr) minmax(215px,2.6fr) minmax(0,1fr)}}@media (orientation:landscape) and (height>=561px){#app .puzzle-closeup .moored-ships{row-gap:0}#app .puzzle-closeup .moored-ships .fleet-ship{min-height:44px;padding:2px 4px 12px}#app .puzzle-closeup .chamber-shell{height:clamp(170px,100dvh - 495px,245px)}#app .puzzle-closeup .chamber-actions{margin-top:8px}}.pump-copy b{word-break:keep-all;overflow-wrap:normal}.device-workbench{background-image:linear-gradient(#edf4e51a,#edf4e526),var(--scene);background-position:50%;background-size:cover}.device-body,.mechanism-diagram{box-shadow:none;background:0 0;border:0}.mechanism-diagram text{paint-order:stroke fill;stroke:#fff5dc;stroke-width:3px;stroke-linejoin:round}.assembly-screen{background:linear-gradient(#eef4df30,#eef4df30),var(--scene) center/cover}.assembly-screen .fracture-stage{box-shadow:none;background:0 0;border:0}.assembly-screen .treasure-ghost{opacity:.25;filter:drop-shadow(2px 0 #fff)drop-shadow(-2px 0 #fff)}#app .assembly-screen .natural-shard.joined:disabled{opacity:1}.rhythm-workbench{background:#52bed2 url(/art/v3/rhythm-lake.webp) 50%/cover;width:100%;height:100dvh;min-height:100dvh;padding:0;display:block;position:relative;overflow:hidden}.rhythm-workbench>h1,.rhythm-workbench>.one-rule{clip:rect(0,0,0,0);width:1px;height:1px;margin:0;position:absolute;overflow:hidden}.rhythm-workbench[data-kind] .rhythm-world{aspect-ratio:auto;width:100%;min-width:0;max-width:none;height:100%;max-height:none;box-shadow:none;background:0 0;border:0;margin:0;position:absolute;inset:0;overflow:hidden}.rhythm-workbench .rhythm-overlay{display:none}.rhythm-workbench .rhythm-world canvas{aspect-ratio:20/13;width:min(100% - 24px,153.846dvh - 166.154px);max-width:none;height:auto;position:absolute;top:48px;left:50%;transform:translate(-50%)}.rhythm-workbench .rhythm-screen-cover{z-index:8;background:#173e4b73;gap:10px;padding:60px 24px 100px;inset:0}.rhythm-workbench .rhythm-screen-cover h2{margin:0;font-size:clamp(23px,3vw,32px)}.rhythm-workbench .rhythm-screen-cover p{max-width:540px;margin:3px auto;font-size:16px}.rhythm-workbench .rhythm-controls{z-index:3;right:max(16px,env(safe-area-inset-right));flex-wrap:nowrap;gap:10px;width:auto;max-width:40%;margin:0;display:flex;position:absolute;bottom:20px}.rhythm-workbench .rhythm-pad{min-width:80px;min-height:72px;font-size:17px}.rhythm-workbench .rhythm-tools{z-index:9;left:max(12px,env(safe-area-inset-left));bottom:max(8px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:3px;width:52%;display:flex;position:absolute}.rhythm-workbench .rhythm-tools button{min-height:44px;padding:3px 6px;font-size:11px}.rhythm-workbench .rhythm-status{text-align:left;width:50%;margin:0;padding:0;font-size:13px;line-height:1.3;position:absolute;bottom:68px;left:16px}.rhythm-workbench .rhythm-timeline{z-index:2;width:42%;height:4px;margin:0;position:absolute;bottom:58px;left:16px}.rhythm-workbench .rhythm-math{display:none}.rhythm-workbench[data-kind=reflection] .rhythm-controls{grid-template-columns:1fr 1fr;gap:4px;display:grid}.rhythm-workbench[data-kind=reflection] .rhythm-pad{flex-direction:row;min-height:44px;font-size:13px}.rhythm-workbench[data-kind=reflection] .rhythm-pad .ui-glyph{width:30px;height:30px}@media (orientation:portrait){.rhythm-workbench .rhythm-world canvas{width:100%;top:44%;transform:translate(-50%,-50%)}.rhythm-workbench .rhythm-controls{justify-content:center;max-width:none;bottom:130px;left:12px;right:12px}.rhythm-workbench[data-kind=reflection] .rhythm-controls{width:270px;left:50%;right:auto;transform:translate(-50%)}.rhythm-workbench .rhythm-status{text-align:center;width:calc(100% - 28px);bottom:94px;left:14px}.rhythm-workbench .rhythm-timeline{width:76%;bottom:83px;left:12%}.rhythm-workbench .rhythm-tools{left:10px;bottom:max(10px,env(safe-area-inset-bottom));justify-content:center;width:calc(100% - 20px)}.rhythm-workbench .rhythm-screen-cover{padding-bottom:100px}}@media (orientation:landscape) and (height<=450px){.rhythm-workbench .rhythm-world canvas{width:min(100% - 24px,153.846dvh - 141.538px);top:42px}.rhythm-workbench .rhythm-pad{min-width:65px;font-size:14px}.rhythm-workbench .rhythm-pad .ui-glyph{width:45px;height:45px}.rhythm-workbench .rhythm-controls{gap:5px;bottom:8px;right:12px}.rhythm-workbench .rhythm-tools{width:48%}.rhythm-workbench .rhythm-tools button{padding:1px 3px;font-size:10px}.rhythm-workbench .rhythm-status{font-size:11px}.rhythm-workbench .rhythm-screen-cover{gap:4px;padding-top:50px;padding-bottom:64px}.rhythm-workbench .rhythm-screen-cover p{font-size:13px}}.puzzle-closeup{background:var(--scene) center top/cover no-repeat #f5e8ca;padding:clamp(86px,20dvh,170px) max(18px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom));min-height:100dvh}.puzzle-closeup .mechanism-box{max-width:1250px;margin:auto;padding:0}.puzzle-closeup .mechanism-heading h1{outline:none}.puzzle-closeup .mechanism-diagram{filter:drop-shadow(0 3px 1px #31414b20)}.puzzle-closeup .mechanism-status{font-size:14px}.puzzle-closeup .mechanism-controls:empty,.puzzle-closeup .scene-note:empty{display:none}.puzzle-closeup .mechanism-solved{background:#203e48ed}.puzzle-closeup .mechanism-solved h2{color:#fff4d2;-webkit-text-stroke:0}.puzzle-closeup.scene-enter{animation:.18s ease-out puzzle-enter}@keyframes puzzle-enter{0%{opacity:.25}to{opacity:1}}@media (orientation:landscape) and (width>=700px){.puzzle-closeup{height:100dvh;padding-top:clamp(76px,20dvh,170px)}.puzzle-closeup .mechanism-box{height:100%}.puzzle-closeup .mechanism-diagram{aspect-ratio:36/19;max-height:calc(100dvh - clamp(76px,20dvh,170px) - 150px)}.puzzle-closeup .device-body{overflow:visible}.puzzle-closeup[data-puzzle=noodle] .mechanism-box{grid-template-rows:auto auto minmax(0,1fr) auto auto;grid-template-columns:1fr}.puzzle-closeup[data-puzzle=noodle] .device-body{grid-area:3/1/4/3}.puzzle-closeup[data-puzzle=noodle] .mechanism-status{grid-area:4/1/5/3}.puzzle-closeup[data-puzzle=noodle] .utility-controls{grid-area:5/1/6/3}.puzzle-closeup[data-puzzle=noodle] .scene-note{pointer-events:none;grid-area:4/1/5/3;align-self:start;min-height:0;padding:0;font-size:12px;transform:translateY(-100%)}}@media (prefers-reduced-motion:reduce){.puzzle-closeup.scene-enter{animation:none}}@media (orientation:landscape) and (height<=450px){.puzzle-closeup{padding:65px 16px 5px}.puzzle-closeup .mechanism-diagram{max-height:calc(100dvh - 190px)}.puzzle-closeup .mechanism-status{font-size:11px}}.noodle-workspace{grid-template-rows:auto 100px auto;gap:12px;width:min(100%,1050px);margin:auto;padding:12px 36px 16px;display:grid}.noodle-instruction{text-align:center;color:#9a5229;margin:0;font-size:18px}.noodle-strand{align-self:center;width:100%;height:30px;position:relative}.noodle-portions{width:100%;height:100%;position:relative}.noodle-portions>span{left:calc(var(--start) + 4px);width:calc(var(--extent) - 8px);background:#f4d48a;border:3px solid #b37836;border-radius:22px;min-width:0;height:100%;display:flex;position:absolute;overflow:hidden;box-shadow:0 5px #b7844530,inset 0 6px #fff0b7}.noodle-portions i{border-right:2px solid #d9aa61;flex:1;min-width:0}.noodle-portions i:last-child{border:0}#app .noodle-cut{left:var(--at);touch-action:manipulation;width:48px;height:94px;min-height:44px;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%)}#app .noodle-cut:active{transform:translate(-50%,-50%)scale(.94)}.cut-mark{pointer-events:none;border-left:2px dashed #6c715d;height:40px;position:absolute;top:16px;left:50%;transform:translate(-50%)}.cut-mark:before{content:"✂";color:#795836;-webkit-text-stroke:2px #fff8e0;font-size:21px;position:absolute;top:-24px;left:-12px}.cut-number{text-align:center;font-size:13px;position:absolute;bottom:2px;left:0;right:0}.noodle-cut[aria-pressed=true] .cut-mark{border-left:4px solid #c95534}.noodle-cut[aria-pressed=true] .cut-mark:before{color:#c95534}.noodle-cut:focus-visible{outline-offset:1px;outline:3px solid #318b96}.noodle-orders{grid-template-columns:repeat(4,1fr);align-items:start;gap:18px;display:grid}.noodle-order{color:#80684a;grid-template-rows:auto 30px auto;justify-items:center;gap:7px;font-size:13px;display:grid}.order-strand{width:calc(var(--units)*22px);background:#e9c37a;border:2px solid #b08042;border-radius:10px;align-self:center;max-width:100%;height:18px;display:flex;box-shadow:0 3px #9e783520}.order-strand i{border-right:1px solid #b08042;flex:1}.order-strand i:last-child{border:0}.noodle-order b{font-size:16px}.noodle-order.matched b{color:#177760}@media (orientation:landscape) and (height<=550px){.noodle-workspace{grid-template-rows:18px 68px auto;gap:4px;padding:2px 24px}.noodle-instruction{font-size:13px}.noodle-orders{gap:12px}.noodle-order{grid-template-rows:14px 20px 18px;gap:2px;font-size:11px}.noodle-order b{font-size:13px}#app .noodle-cut{height:76px}.cut-mark{height:35px;top:10px}.cut-mark:before{font-size:18px;top:-19px}.noodle-strand{height:24px}}@media (orientation:portrait){.puzzle-closeup{padding-top:clamp(95px,12dvh,150px)}.puzzle-closeup[data-puzzle=noodle]{padding-top:clamp(85px,10dvh,125px)}.puzzle-closeup .mechanism-heading{align-items:center;gap:8px}.puzzle-closeup .mechanism-heading h1{font-size:22px}.puzzle-closeup .mechanism-heading>span{white-space:nowrap;font-size:12px}.puzzle-closeup .mechanism-diagram{width:100%;max-height:350px}.puzzle-closeup .one-rule{margin:10px 0;font-size:14px;line-height:1.55}.puzzle-closeup .mechanism-controls{margin:10px 0}.puzzle-closeup .utility-controls{padding-top:8px}.noodle-workspace{grid-template-rows:auto 440px;grid-template-columns:85px 1fr;gap:14px 30px;padding:14px 12px 6px}.noodle-instruction{grid-column:1/-1;font-size:15px}.noodle-strand{justify-self:center;width:28px;height:440px}.noodle-portions>span{left:0;top:calc(var(--start) + 4px);height:calc(var(--extent) - 8px);flex-direction:column;width:100%;box-shadow:4px 0 #b7844530,inset 5px 0 #fff0b7}.noodle-portions i{border-bottom:2px solid #d9aa61;border-right:0}#app .noodle-cut{left:50%;top:var(--at);width:86px;height:44px}.cut-mark{border-top:2px dashed #6c715d;border-left:0;width:48px;height:0;top:50%;left:20px;transform:none}.cut-mark:before{top:-13px;left:-23px;transform:rotate(90deg)}.cut-number{bottom:12px;left:auto;right:-8px}.noodle-cut[aria-pressed=true] .cut-mark{border-top:4px solid #c95534;border-left:0}.noodle-orders{grid-template-rows:repeat(4,1fr);grid-template-columns:1fr;gap:10px}.noodle-order{grid-template-rows:16px 22px 22px;align-content:center}}.noodle-portions i{position:relative}.noodle-portions i.sesame:after{content:"";background:#493421;border-radius:50%;width:6px;height:11px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(25deg)}@media (orientation:portrait) and (height<=720px){.puzzle-closeup{padding-top:76px}.puzzle-closeup .one-rule{margin:5px 0;font-size:13px}.puzzle-closeup .mechanism-controls{margin:6px 0}.puzzle-closeup[data-puzzle=noodle]{padding-top:70px}.noodle-workspace{gap:5px 18px;padding-top:3px}}.puzzle-closeup[data-puzzle=window] .mechanism-box{grid-template-columns:1fr}.puzzle-closeup[data-puzzle=window] .device-body{grid-area:3/1/4/3;overflow:visible}.puzzle-closeup[data-puzzle=window] .mechanism-status{grid-area:4/1/5/3}.puzzle-closeup[data-puzzle=window] .utility-controls{grid-area:5/1/6/3}.puzzle-closeup[data-puzzle=window] .scene-note{pointer-events:none;grid-area:4/1/5/3;align-self:start;padding:0;font-size:12px;transform:translateY(-100%)}.lattice-workspace{--unit:clamp(44px,min(8vw,calc((100dvh - 245px)/var(--rows,3))),105px);grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:34px;width:min(100%,1020px);margin:auto;padding:14px;display:grid}.lattice-board{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(var(--rows,3),1fr);width:calc(var(--unit)*4);height:calc(var(--unit)*var(--rows,3));touch-action:none;outline:7px solid #745046;justify-self:center;display:grid;position:relative;box-shadow:0 0 0 11px #edc58d,0 8px 0 11px #4a3d3333}#app .lattice-cell{touch-action:manipulation;width:100%;min-width:0;height:100%;min-height:0;padding:0;position:relative}.lattice-hole{pointer-events:none;background:#e0eff0b8;border:2px solid #b8bcaa;position:absolute;inset:2px;box-shadow:inset 0 3px #35556115}.lattice-cell.preview-good .lattice-hole{background:#65b5a2;border:3px dashed #fff9df}.lattice-cell.preview-bad .lattice-hole{background:#cf846e;border:3px dashed #763e32}.lattice-piece{--piece-color:#eead67;--edge:#945c37;width:calc(var(--cols)*var(--unit));height:calc(var(--rows)*var(--unit));touch-action:none;cursor:grab;pointer-events:none;filter:drop-shadow(0 4px #263d4933);position:relative;border:0!important;min-height:0!important;padding:0!important}.piece-1{--piece-color:#77bbb8;--edge:#367f83}.piece-2{--piece-color:#db7f65;--edge:#a14733}.piece-3{--piece-color:#bbafcf;--edge:#75618d}.lattice-block{left:calc(var(--x)*100%/var(--cols));top:calc(var(--y)*100%/var(--rows));width:calc(100%/var(--cols));height:calc(100%/var(--rows));background:var(--piece-color);border:4px solid var(--edge);pointer-events:auto;position:absolute;box-shadow:inset 0 5px #ffffff38,inset 0 -5px #233d4918}.lattice-block:after{content:"";pointer-events:none;border:2px solid #fff1c680;position:absolute;inset:16%;transform:rotate(45deg)}#app .lattice-piece.in-window{z-index:2;position:absolute}#app .lattice-piece:active{transform:none}#app .lattice-piece.selected .lattice-block{outline-offset:-5px;outline:3px solid #fff5d5}#app .lattice-piece:focus-visible{filter:drop-shadow(0 0 4px #fff)drop-shadow(0 0 2px #123);outline:none}.lattice-piece.drag-origin{opacity:.18}.lattice-tray{--unit:28px;touch-action:none;grid-template-columns:1fr 1fr;gap:22px 16px;min-height:190px;padding:12px 0;display:grid}.lattice-slot{justify-content:center;align-items:center;gap:3px;min-height:90px;display:flex}#app .lattice-turn{flex-shrink:0;width:44px;min-height:44px;padding:0;font-size:29px}.lattice-empty{color:#467a68;opacity:.55;place-items:center;width:86px;height:86px;font-size:28px;display:grid}.lattice-shelf p{text-align:center;margin:0 0 12px;font-size:16px}.lattice-shelf .lattice-help{color:#775945;margin:8px 0 0;font-size:12px;line-height:1.5}.lattice-drag-ghost{filter:drop-shadow(0 10px 3px #263d4944);z-index:1000!important;pointer-events:none!important;min-height:0!important;box-shadow:none!important;background:0 0!important;border:0!important;margin:0!important;padding:0!important;position:fixed!important;transform:none!important}.lattice-drag-ghost *{pointer-events:none!important}.lattice-drag-ghost.invalid-drop{opacity:.8}.lattice-drag-ghost.returning{transition:left .16s ease-out,top .16s ease-out,width .16s ease-out,height .16s ease-out,opacity .16s ease-out}@media (orientation:portrait){.lattice-workspace{--unit:clamp(44px,min(20vw,calc((100dvh - 645px)/var(--rows,3))),85px);grid-template-columns:1fr;gap:20px;padding:14px 0}.lattice-tray{--unit:28px;gap:6px 12px;width:min(100%,310px);min-height:166px;margin:auto;padding:0}.lattice-slot{min-height:80px}.lattice-shelf p{margin-bottom:4px;font-size:14px}.lattice-shelf .lattice-help{font-size:11px}.puzzle-closeup[data-puzzle=window] .scene-note{transform:none}}@media (orientation:portrait) and (height<=720px){.lattice-tray{--unit:28px;grid-template-columns:repeat(4,1fr);gap:8px;min-height:102px}.lattice-slot{flex-direction:column;gap:0;min-height:102px}.lattice-empty{width:56px;height:56px}.lattice-workspace{gap:15px;padding:10px 0}.lattice-shelf>p:first-child{display:none}}@media (orientation:landscape) and (height<=550px){.lattice-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:18px;padding:10px 4px}.lattice-tray{--unit:30px;gap:2px 8px;min-height:136px;padding:0}.lattice-slot{min-height:66px}.lattice-empty{width:60px;height:60px}.lattice-shelf p{margin-bottom:3px;font-size:12px}.lattice-shelf .lattice-help{margin-top:3px;font-size:10px}}#app .lattice-workspace{--unit:clamp(48px,min(18vw,calc((100dvh - 350px)/var(--rows,4))),100px);align-content:center;gap:20px;padding:14px}#app .lattice-tray{--unit:28px;gap:12px;min-height:0}#app .lattice-slot{grid-template-rows:minmax(90px,auto) 44px;place-items:center;gap:6px;min-height:140px;display:grid;position:relative}#app .lattice-turn{background:#fff9e8;border:1px solid #8b7655;border-radius:8px;justify-content:center;align-items:center;gap:5px;width:76px;min-width:44px;height:44px;min-height:44px;padding:3px;font-size:25px;display:flex;position:static;box-shadow:0 2px #8b765530}#app .lattice-turn small{color:#29464e;font-size:12px}#app .lattice-feedback{color:#245e67;min-height:20px;margin:0 0 8px;font-size:14px}#app .lattice-shelf .lattice-help{margin-top:8px;font-size:12px;line-height:1.45}#app .lattice-piece.selected .lattice-block{outline-offset:-5px;outline:4px solid #fffaf0;box-shadow:inset 0 0 0 7px #2f727e}@media (orientation:portrait){#app .lattice-workspace{--unit:clamp(48px,min(19vw,calc((100dvh - 340px)/var(--rows,4))),100px);grid-template-columns:1fr;gap:22px;width:100%;padding:12px 2px}#app .lattice-tray{--unit:clamp(21px,6vw,30px);grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}#app .lattice-shelf{justify-self:center;width:100%;max-width:500px}#app .lattice-slot{grid-template-rows:78px 44px;min-height:128px}#app .lattice-turn{width:100%;max-width:76px}}@media (orientation:landscape) and (height<=550px){#app .lattice-workspace{--unit:clamp(42px,calc((100dvh - 148px)/var(--rows,4)),75px);grid-template-columns:minmax(0,1fr) 300px;gap:18px;padding:10px 4px}#app .lattice-tray{--unit:23px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#app .lattice-slot{grid-template-rows:74px 44px;min-height:124px}#app .lattice-feedback{font-size:13px}.lattice-shelf .lattice-help{display:none}}#app .lattice-tray .lattice-piece{pointer-events:auto}@media (orientation:landscape) and (height<=550px){#app.has-puzzle-dock .puzzle-closeup[data-puzzle=window] .device-body{container-type:size}#app .lattice-workspace{--unit:clamp(40px,calc((100cqh - 40px)/var(--rows,4)),75px);height:100%}}.piece-4{--piece-color:#d8b464;--edge:#947126}.piece-5{--piece-color:#7da8d7;--edge:#41668d}#app .lattice-workspace[data-variant] .lattice-slot{grid-template-rows:minmax(calc(4 * var(--unit)),auto) 44px;min-height:0}@media (width<=600px),(orientation:landscape) and (height<=550px){#app .lattice-workspace[data-variant] .lattice-tray{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px}}#app .lattice-workspace .reference-cell:before{content:"";z-index:1;pointer-events:none;background:#243d46;border:2px solid #fff9df;border-radius:50%;position:absolute;inset:32%}.lattice-art{pointer-events:none;width:100%;height:100%;display:block;position:relative}#app .lattice-tray .lattice-piece{place-items:center;min-width:44px;display:grid;min-height:44px!important}#app .lattice-tray .lattice-art{width:calc(var(--cols)*var(--unit));height:calc(var(--rows)*var(--unit))}.lattice-drag-ghost .lattice-art{width:100%;height:100%}#app .lattice-feedback{height:3em;min-height:3em;line-height:1.45;overflow:hidden}.lattice-drag-ghost{opacity:.86}.lattice-workspace[data-rotatable=true] .lattice-piece.selected .reference-cell:after{content:"↻";color:#153e46;border:0;font-size:15px;font-weight:900;inset:auto 2px 0 auto;transform:none}@media (orientation:portrait){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=window] .lattice-workspace{--unit:min(80px,calc((100cqh - 194px)/var(--rows,4)),calc((100cqw - 44px)/4));grid-template-rows:minmax(0,1fr) 154px;grid-template-columns:minmax(0,1fr);align-content:stretch;align-items:center;gap:12px;width:100%;height:100%;min-height:0;max-height:100%;margin:0;padding:14px 10px}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace .lattice-shelf{grid-template-rows:36px 106px;align-content:center;gap:6px;width:100%;min-width:0;max-width:none;height:154px;min-height:0;display:grid}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace .lattice-feedback{height:36px;min-height:36px;margin:0;font-size:12px;line-height:1.45;display:block}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace .lattice-help{display:none}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace .lattice-tray{--unit:min(18px,calc((100cqw - 56px)/16));grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:106px;gap:6px;width:100%;height:106px;min-height:0;margin:0;padding:0}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace .lattice-slot{grid-template-rows:58px 44px;gap:4px;height:106px;min-height:0}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace .lattice-turn{width:100%;max-width:76px;height:44px;min-height:44px}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace .lattice-empty{width:44px;height:44px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=window] .lattice-workspace:has(.lattice-slot:nth-child(5)){--shelf-width:clamp(104px,30cqw,170px);--unit:min(calc((100cqh - 28px)/var(--rows,6)),calc((100cqw - var(--shelf-width) - 32px)/4));grid-template-columns:minmax(0,1fr) var(--shelf-width);grid-template-rows:minmax(0,1fr);gap:12px}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-shelf{grid-template-rows:28px minmax(0,1fr);gap:6px;height:100%}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-feedback{height:28px;min-height:28px;font-size:12px;line-height:1.15}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-tray{--unit:min(18px,calc((100cqh - 82px)/24),calc((var(--shelf-width) - 48px)/4));grid-template-rows:repeat(6,minmax(44px,1fr));grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:4px;height:100%}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-slot{grid-template-rows:minmax(44px,1fr);grid-template-columns:minmax(44px,1fr) 44px;gap:4px;width:100%;height:100%;min-height:44px}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-turn{flex-direction:column;gap:0;width:44px;min-width:44px;font-size:22px;line-height:1}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-turn small{font-size:12px;line-height:1}}@container (height<=348px){@media (orientation:portrait){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=window] .lattice-workspace:has(.lattice-slot:nth-child(5)){--unit:min(calc((100cqh - 16px)/var(--rows,6)),calc((100cqw - var(--shelf-width) - 32px)/4));padding-block:8px}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-shelf{grid-template-rows:minmax(0,1fr);gap:0}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-feedback{display:none}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-tray{--unit:min(18px,calc((100cqh - 36px)/24),calc((var(--shelf-width) - 48px)/4))}}}.assembly-screen.treasure-room{background:var(--scene) center/cover no-repeat #429798}.treasure-room .fracture-stage{box-shadow:none;background:0 0;border:0}.treasure-room .treasure-ghost{opacity:.2;filter:drop-shadow(2px 0 #fff7da)drop-shadow(-2px 0 #fff7da)}.treasure-room .natural-shard{filter:drop-shadow(0 4px 2px #153e4666)}.treasure-room .natural-shard.selected{filter:drop-shadow(0 0 3px #fff5d5)brightness(1.12)}.treasure-room .natural-shard.joined{filter:none}.item-pickup{z-index:80;pointer-events:none;opacity:0;flex-direction:column;align-items:center;width:170px;display:flex;position:fixed;transform:translate(-50%,-50%)}.pickup-picture{filter:drop-shadow(2px 0 #fff8dd)drop-shadow(-2px 0 #fff8dd)drop-shadow(0 3px #fff8dd);width:108px;height:108px;display:block}.pickup-picture img{object-fit:contain;width:100%;height:100%}.item-pickup strong{text-align:center;color:#203945;-webkit-text-stroke:4px #fff7df;paint-order:stroke fill;text-shadow:0 3px 1px #20394555;font-size:16px;line-height:1.3}.inspection .device-socket{place-items:center;display:grid;position:relative}.tool-sprite{object-fit:contain}.inspection .device-socket .socket-shadow{opacity:.86;filter:brightness(0)!important}.inspection .device-socket .socket-item{opacity:0;filter:drop-shadow(2px 0 #fff7df)drop-shadow(-2px 0 #fff7df)drop-shadow(0 2px #fff7df);margin:auto;position:absolute;inset:0}.inspection .device-inspection.ready .socket-item{opacity:1}.inspection .device-inspection.ready .socket-shadow{opacity:0}.inspection .device-socket:focus-visible{outline-offset:6px;outline:3px solid #fff7df}.inspection .device-trigger{justify-content:center;align-items:center;height:56px;display:flex}dialog.tool-combination{color:#233f48;text-align:center;background:#fff1cc;border:4px solid #29434c;border-radius:6px;width:min(560px,100vw - 28px);max-height:calc(100dvh - 26px);padding:20px 28px;overflow:auto;box-shadow:8px 8px #172f3b55}.tool-combination::backdrop{background:#112c3d80}.tool-combination h2{margin:0 0 12px;font-size:25px}.tool-combination p{margin:14px 0;font-size:17px}.combination-parts{justify-content:center;align-items:center;gap:24px;display:flex}.combination-parts>span{font-size:30px}.tool-combination figure{justify-items:center;gap:4px;margin:0;display:grid}.tool-combination figcaption{font-size:14px}.tool-combination img{object-fit:contain;filter:drop-shadow(2px 2px #fff)drop-shadow(-2px -2px #fff);width:88px;height:88px}.combination-result{justify-content:center;align-items:center;gap:16px;display:flex}.combination-result img{width:108px;height:108px}.combination-result strong{color:#2f7c68;font-size:23px}.tool-combination small{color:#63716b;margin-top:14px;font-size:12px;display:block}@media (orientation:landscape) and (height<=450px){dialog.tool-combination{padding:10px 22px}.tool-combination h2{margin:0 0 6px;font-size:21px}.tool-combination img{width:60px;height:60px}.combination-result img{width:74px;height:74px}.tool-combination p{margin:6px 0;font-size:15px}.tool-combination small{margin-top:7px}}.direct-device .device-object{cursor:grab;touch-action:none;outline:none}.direct-device .device-object:active,.direct-device .device-object.held{cursor:grabbing}.direct-device .object-focus{fill:none;stroke:#fff7d8;stroke-width:5px;stroke-dasharray:5 5;opacity:0;pointer-events:none}.direct-device .device-object:focus-visible>.object-focus,.direct-device .device-object.held>.object-focus{opacity:1}.direct-device .object-touch{pointer-events:all;stroke:none}.direct-device .device-object>:not(.object-touch):not(.object-focus){pointer-events:visiblePainted}.direct-device text{stroke-width:3px;pointer-events:none}.fleet-ship,.pump-lever{touch-action:none;cursor:grab}.fleet-ship.held{opacity:.35}.pump-lever.held .pump-carriage{filter:brightness(1.06)}.lock-drag-ghost{z-index:90!important;pointer-events:none!important;opacity:.9!important;min-height:0!important;margin:0!important;transition:none!important;position:fixed!important}.lock-drag-ghost .ship-art{width:100%;height:100%}.lock-drag-ghost img{object-fit:contain;max-width:100%;max-height:100%}#app .pump-lever{box-shadow:none;background:0 0;border:0;justify-content:center;align-items:center;gap:4px;padding:0;display:flex}.pump-lever small{font-size:10px}@media (height<=720px) and (orientation:portrait){.pump-art{flex-basis:94px;width:94px;height:102px}.chamber-actions{margin-top:12px}}.lattice-board{outline-offset:5px;outline:3px solid #536567;box-shadow:inset 0 0 0 7px #c6a771,0 7px #38565a50}.lattice-block{box-shadow:inset 3px 3px #fff0ba88,inset -3px -3px #344d5140}#app .lattice-piece{overflow:visible}.lattice-rotate-grip{color:#29464e;cursor:grab;touch-action:none;pointer-events:auto;z-index:2;background:#ead39c;border:3px solid #344f55;border-radius:50%;place-items:center;width:44px;height:44px;font-size:27px;display:grid;position:absolute;top:-18px;right:-14px;box-shadow:inset 2px 2px #fff1c6,0 3px #344f5540}.lattice-rotate-grip:focus-visible{outline-offset:3px;outline:3px solid #fff}.lattice-drag-ghost .lattice-rotate-grip{display:none}.order-strand{isolation:isolate;position:relative}.order-strand:after{content:"";z-index:-1;background:#adcac2;border:2px solid #355459;border-radius:0 0 45% 45%;height:19px;position:absolute;top:7px;left:-8%;right:-8%;box-shadow:inset 0 5px #e5e3bf}.noodle-portions>span{box-shadow:0 5px #8b663c30,inset 0 5px #fff0ba,inset 0 -4px #b88e5140}.direct-workbench .device-body{touch-action:none}.direct-workbench .mechanism-box{grid-template-rows:auto auto minmax(0,1fr) auto auto auto;grid-template-columns:1fr;gap:4px;display:grid}.direct-workbench .device-body{grid-area:3/1;place-items:center;min-height:0;display:grid}.direct-workbench .mechanism-heading{grid-area:1/1}.direct-workbench .one-rule{grid-area:2/1}.direct-workbench .mechanism-status{grid-area:4/1}.direct-workbench .scene-note{grid-area:5/1}.direct-workbench .utility-controls{flex-wrap:wrap;grid-area:6/1;justify-content:center;display:flex}.puzzle-closeup.direct-workbench .direct-device{aspect-ratio:3/2;width:100%;height:100%;min-height:0;max-height:none;overflow:visible}@media (orientation:landscape){.puzzle-closeup.direct-workbench{padding-top:70px;padding-bottom:6px}.direct-workbench .mechanism-status{margin:3px 0}.direct-workbench .utility-controls button{min-height:44px}}@media (orientation:landscape) and (height>=551px){.direct-workbench .mechanism-box{grid-template-rows:auto auto minmax(0,1fr) auto 40px auto}.direct-workbench .scene-note{align-self:center;max-height:40px;padding:0 8px;line-height:20px;overflow-y:auto}}@media (orientation:portrait){.direct-workbench .device-body{aspect-ratio:auto;width:100%;min-width:0;height:clamp(240px,65vw,420px);min-height:0}.direct-workbench .mechanism-status{font-size:13px;line-height:1.5}.direct-workbench .scene-note{font-size:12px}}@media (orientation:landscape) and (height<=450px){.direct-workbench .mechanism-heading h1{font-size:20px}.direct-workbench .one-rule{margin:0;font-size:12px}.direct-workbench .mechanism-heading>span,.direct-workbench .mechanism-status{font-size:11px}.direct-workbench .utility-controls button{padding:3px 5px;font-size:11px}.direct-workbench .scene-note{min-height:0;padding:0;font-size:11px}}@media (orientation:landscape) and (height<=550px){.direct-workbench .mechanism-box{grid-template-rows:auto auto 1fr auto 44px;grid-template-columns:minmax(160px,26%) minmax(0,1fr);column-gap:10px}.direct-workbench .device-body{grid-area:1/2/5/3}.direct-workbench .mechanism-heading{grid-area:1/1;display:block}.direct-workbench .mechanism-heading>span{margin-top:4px;display:block}.direct-workbench .one-rule{grid-area:2/1;margin:8px 0;line-height:1.5}.direct-workbench .mechanism-status{text-align:left;grid-area:4/1;line-height:1.5}.direct-workbench .scene-note{grid-area:3/1;align-self:end}.direct-workbench .utility-controls{grid-area:5/1/6/3;align-self:end}}.lattice-rotate-grip{grid-template-rows:18px 14px;align-content:center;gap:0;font-size:21px;line-height:18px}.lattice-rotate-label{text-shadow:none;-webkit-text-stroke:0;font-size:12px;font-weight:800;line-height:14px}.chamber-ships,.direct-device{touch-action:none}#app,#app *,#app button,dialog,dialog *,dialog button,.item-pickup,.item-pickup strong{-webkit-text-stroke:0;text-shadow:0 1px 3px #18374238}#app svg text{stroke:none;stroke-width:0;text-shadow:0 1px 3px #fff5dfaa}#app .scene-note,.rhythm-screen-cover,.rhythm-screen-cover *,#app .item-pickup strong{text-shadow:0 1px 4px #142f43b0}#app .mechanism-heading,#app .one-rule,#app .mechanism-status,#app .utility-controls{text-shadow:0 1px 4px #fff8e2dd}#app .adventure-hud .icon-only{width:52px;min-width:52px;height:52px;min-height:52px;padding:2px}#app .adventure-hud .icon-only .ui-glyph{width:48px;height:48px}#app .adventure-hud{align-items:center;height:62px}#app .adventure-hud>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:16px;overflow:hidden}#app .scene-pan .ui-glyph{width:42px;height:42px;transform:none}#app .drawer-close .ui-glyph{transform:none}#app .ui-glyph{filter:drop-shadow(0 1px 2px #18374255)}#app .travel-desk{max-width:none;height:auto;min-height:100dvh;padding:94px clamp(18px,5vw,72px) 30px;display:block;overflow:visible}#app .travel-title{text-align:center;max-width:980px;margin:0 auto 30px;position:static}#app .travel-title h1{letter-spacing:-.04em;word-break:keep-all;color:#223f48;margin:0 0 18px;font-size:clamp(42px,5.5vw,72px);line-height:1.15}.title-line{display:block}#app .travel-title .travel-subtitle{word-break:keep-all;letter-spacing:0;color:#294b52;font-size:clamp(17px,2vw,23px);line-height:1.5;display:block}#app .travel-title p{margin:10px 0;font-size:17px;line-height:1.5}#app .travel-places{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 28px;max-width:1120px;margin:0 auto;display:grid}#app .travel-sticker{flex-direction:column;align-items:center;min-width:0;text-decoration:none;display:flex;transform:none}#app .travel-sticker img{object-fit:contain;width:100%;height:clamp(110px,12vw,158px)}#app .travel-sticker>span{text-align:center;padding:8px 0;font-size:21px;line-height:1.25;transform:none}#app .travel-sticker small{margin-top:4px;font-size:15px;line-height:1.4;display:block}#app .travel-desk>.offline-badge{text-align:center;margin:22px auto 8px;font-size:14px;display:block;position:static}#app .travel-desk>[data-cmd=collection]{margin:0 auto;font-size:16px;display:flex}@media (orientation:portrait) and (width<=700px){#app .travel-desk{padding:80px 20px 28px}#app .travel-title{margin-bottom:25px}#app .travel-title h1{font-size:clamp(38px,10.5vw,58px);line-height:1.18}#app .travel-title .travel-subtitle{max-width:330px;margin:auto;font-size:17px}#app .travel-title p{max-width:330px;margin:10px auto;font-size:16px}#app .travel-places{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}#app .travel-sticker img{height:130px}#app .travel-sticker>span{font-size:20px}#app .travel-sticker small{font-size:15px}#app .adventure-hud>span,#app .utility-controls .sticker-control{font-size:14px}#app .mechanism-status,#app .one-rule{font-size:15px}}@media (orientation:landscape) and (height<=550px){#app .adventure-hud{height:50px}#app .adventure-hud .icon-only{width:46px;min-width:46px;height:46px;min-height:46px}#app .adventure-hud .icon-only .ui-glyph{width:42px;height:42px}#app .travel-desk{padding-top:66px}#app .travel-title h1{font-size:42px}#app .travel-title{margin-bottom:20px}}#app .travel-sticker{filter:none}#app .mechanism-diagram{filter:drop-shadow(0 1px 3px #31414b20)}#app .adventure-hud>span{color:#fff8de;text-shadow:0 1px 4px #133744cc}#app .home-hud{align-items:flex-start;height:auto;min-height:240px;padding-top:10px}#app .home-hud h1{text-align:center;letter-spacing:-.04em;color:#223f48;pointer-events:none;word-break:keep-all;margin:0;font-size:clamp(42px,5.5vw,72px);line-height:1.15;position:absolute;top:65px;left:70px;right:70px}#app .home-hud+main.travel-desk{padding-top:260px}@media (orientation:portrait) and (width<=700px){#app .home-hud{min-height:180px}#app .home-hud h1{font-size:clamp(38px,10.5vw,58px);top:80px;left:12px;right:12px}#app .home-hud+main.travel-desk{padding-top:195px}}@media (orientation:landscape) and (height<=550px){#app .home-hud h1{font-size:42px;top:58px}#app .home-hud+main.travel-desk{padding-top:174px}}.region-treasure-button{z-index:15;min-height:44px;font:inherit;color:#fff4bd;background:#473b2de8;border:2px solid #eed999;border-radius:16px;padding:10px 18px;position:absolute;bottom:24px;right:20px}dialog.gesture-demo{z-index:60;width:100vw;max-width:none;height:100dvh;max-height:none;box-shadow:none;color:#fff8de;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}dialog.gesture-demo::backdrop{background:#092a3d70}.demo-trail{pointer-events:none;filter:drop-shadow(0 1px 4px #1238);width:100%;height:100%;position:absolute;inset:0;overflow:visible}.demo-highlight{fill:none;stroke:#d9ff69;stroke-width:14px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:.7}.demo-origin{fill:none;stroke:#efffb9;stroke-width:3px;stroke-dasharray:5 5}.demo-target{fill:#d6ff7628;stroke:#dfff8b;stroke-width:3px}.demo-dot{fill:#f6ffda;stroke:#639049;stroke-width:3px}.demo-finger{object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 5px #162c3b66);width:76px;height:76px;position:absolute;transform:translate(-42%,-6%)}.demo-heading{top:max(9px,env(safe-area-inset-top));justify-content:space-between;align-items:center;font-size:20px;display:flex;position:absolute;left:20px;right:12px}dialog.gesture-demo .demo-dismiss{min-width:52px;height:52px;padding:0}.demo-dismiss .ui-glyph{width:48px;height:48px}.demo-caption{bottom:max(15px,env(safe-area-inset-bottom));color:#fff8de;pointer-events:none;grid-template-columns:auto auto;align-items:center;gap:5px 14px;display:grid;position:absolute;left:20px}.demo-caption strong{font-size:24px}.demo-caption span{font-size:15px}.demo-caption button{pointer-events:auto;grid-column:1/3;justify-self:start;padding:3px 0;font-size:17px;color:#fff8de!important}.gesture-demo .demo-heading,.gesture-demo .demo-caption *{text-shadow:0 1px 5px #082331}@media (orientation:portrait){.demo-caption strong{font-size:21px}.demo-finger{width:62px;height:62px}}@media (prefers-reduced-motion:reduce){.demo-finger{opacity:1!important}}.rhythm-screen-cover.is-control-demo{visibility:hidden;pointer-events:none}.gesture-demo.is-following .demo-trail{opacity:.35}.gesture-demo.is-following .demo-finger{visibility:hidden}.guide-dialogue{z-index:70;pointer-events:auto;touch-action:none;--guide-edge:18px;position:fixed;inset:0}.guide-character{object-fit:contain;object-position:bottom;pointer-events:none;filter:drop-shadow(0 2px 4px #132c4940);width:auto;max-width:26vw;height:min(35dvh,285px);position:absolute;bottom:0;left:16px}.guide-bubble{text-align:left;pointer-events:auto;cursor:pointer;max-width:760px;font-family:inherit;bottom:18px;left:clamp(140px,20vw,235px);right:24px;min-height:105px!important;padding:17px 38px 20px 24px!important;position:absolute!important;transform:none!important}.guide-title{margin-bottom:7px;line-height:1.2;display:block;color:#44656b!important;font-size:15px!important}.guide-text{word-break:keep-all;white-space:pre-line;line-height:1.45;display:block;color:#203942!important;font-size:clamp(18px,2vw,24px)!important}.guide-bubble *{text-shadow:none!important;-webkit-text-stroke:0!important}.guide-count{margin-top:6px;display:block;color:#54747b!important;font-size:13px!important}.guide-next{font-size:24px;animation:1s ease-in-out infinite guide-nod;position:absolute;bottom:10px;right:17px}.guide-advance{text-align:left;width:100%;min-height:0;color:inherit;pointer-events:auto;border-radius:0;display:block;box-shadow:none!important;background:0 0!important;border:0!important;padding:0 8px 0 0!important;transform:none!important}.guide-advance:focus-visible{outline-offset:5px;border-radius:10px;outline:2px solid #4a949f}.guide-bubble .guide-dismiss{pointer-events:auto;border-radius:50%;width:36px;height:36px;min-height:36px;padding:2px;position:absolute;top:6px;bottom:auto;right:7px;box-shadow:none!important;background:0 0!important;border:0!important;transform:none!important}.guide-bubble .guide-dismiss:focus-visible{outline-offset:0;outline:2px solid #4a949f}.guide-bubble .guide-dismiss img{width:30px;height:30px}.gesture-demo .guide-character{height:min(30dvh,230px)}.gesture-demo.guide-at-top .guide-bubble{top:58px;bottom:auto}.gesture-demo.guide-at-top .guide-character{height:min(32dvh,220px);top:51px;bottom:auto}@keyframes guide-nod{50%{transform:translateY(4px)}}@media (orientation:portrait){.guide-character{max-width:32vw;height:200px;left:0}.guide-bubble{bottom:14px;left:100px;right:12px;min-height:125px!important;padding:14px 36px 17px 16px!important}.guide-title{font-size:13px!important}.guide-text{font-size:18px!important}.gesture-demo .guide-character{height:170px}}@media (orientation:landscape) and (height<=550px){.guide-character,.gesture-demo .guide-character{max-width:150px;height:164px;left:12px}.guide-bubble{bottom:10px;left:145px;right:65px;min-height:86px!important;padding:10px 38px 12px 18px!important}.guide-title{margin-bottom:4px;font-size:13px!important}.guide-text{font-size:18px!important}.gesture-demo.guide-at-top .guide-character{height:140px}.gesture-demo.guide-at-top .guide-bubble{top:51px}}@media (prefers-reduced-motion:reduce){.guide-next{animation:none}}#app .adventure-room>.scene-note,#app .inspection>.scene-note,#app .device-message,#app .inspection-picture>h1,#app .one-rule,#app .mechanism-status,#app .puzzle-closeup .scene-note,#app .assembly-screen>p,#app .fracture-controls>span,#app .rhythm-math{display:none}#app .device-trigger .sticker-control,#app .utility-controls .sticker-control,#app .rhythm-tools .sticker-control{gap:0;min-width:48px;min-height:48px;padding:3px;font-size:0}#app .device-trigger .sticker-control>span,#app .utility-controls .sticker-control>span,#app .rhythm-tools .sticker-control>span{display:none}#app .device-trigger .ui-glyph{width:72px;height:72px}#app .mechanism-heading h1{color:#163743;text-shadow:0 0 6px #fff8ed,0 1px 3px #fff8ed;font-size:clamp(20px,2.6vw,30px)}#app .mechanism-heading>span{color:#244754;text-shadow:0 0 5px #fff8ed;font-size:17px}#app .adventure-hud>span{color:#193a46;text-shadow:0 0 6px #fff8ed,0 1px 3px #fff8ed;font-size:clamp(16px,2vw,22px)}#app .device-trigger{margin-top:12px}#app .device-instruction{display:none}#app .inspection[data-inspection=hongye] .device-socket{width:clamp(140px,22vw,220px);height:clamp(115px,20vw,195px)}#app .inspection[data-inspection=hongye] .tool-sprite{object-fit:contain;width:100%;height:100%}.guide-action{color:#29444c;pointer-events:auto;min-height:44px;font:18px var(--ui-font);background:#fff8e9;border:3px solid #29444c;border-radius:8px;padding:10px 16px;position:absolute;bottom:150px;right:35px}#app .puzzle-closeup .fleet-score,#app .puzzle-closeup .capacity-label,#app .puzzle-closeup .load-label,#app .puzzle-closeup .pump-copy{display:none}#app .puzzle-closeup .chamber-shell{margin-top:20px}#app .puzzle-closeup .chamber-actions{justify-content:center}@media (orientation:landscape) and (height<=550px){#app .puzzle-closeup .pump-art{width:82px;height:78px}}#app .inspection .device-inspection{flex-direction:column;align-items:center;gap:8px;padding:0;display:flex;overflow:visible}#app .inspection .device-trigger{margin:0}.guide-portrait{aspect-ratio:.8;pointer-events:none;z-index:2;width:clamp(200px,26vw,320px);position:absolute;bottom:0;left:8px;overflow:hidden}.guide-portrait .guide-character{object-position:top;pointer-events:none;width:100%;max-width:none;display:block;position:static;height:auto!important}.guide-dialogue .guide-bubble{cursor:pointer;z-index:1;max-height:calc(100dvh - 90px);left:clamp(178px,23vw,290px);overflow:auto}.guide-dialogue.guide-on-right .guide-portrait{left:auto;right:8px}.guide-dialogue.guide-on-right .guide-character{transform:scaleX(-1)}.guide-dialogue.guide-on-right .guide-bubble{left:24px;right:clamp(178px,23vw,290px)}.guide-dialogue .guide-continue,.guide-dialogue .guide-action{color:#29444c;min-height:44px;box-shadow:none;font:17px var(--ui-font);pointer-events:auto;background:#fff8e9;border:2px solid #29444c;border-radius:12px;margin:10px 0 0 auto;padding:7px 12px;display:block;position:static}.gesture-demo.guide-at-top .guide-portrait{top:var(--guide-menu-edge,58px);aspect-ratio:.8;width:180px;bottom:auto}@media (orientation:portrait){.guide-portrait{width:182px;left:-6px}.guide-dialogue .guide-bubble{bottom:12px;left:132px;right:10px;padding-left:62px!important}.guide-dialogue.guide-on-right .guide-portrait{left:auto;right:-6px}.guide-dialogue.guide-on-right .guide-bubble{left:10px;right:132px;padding-left:14px!important;padding-right:62px!important}.guide-dialogue .guide-count{font-size:11px!important}.gesture-demo .guide-portrait{width:156px}.gesture-demo.guide-at-top .guide-portrait{width:144px}}@media (orientation:landscape) and (height<=550px){.guide-portrait{width:184px;left:0}.guide-dialogue .guide-bubble{max-height:calc(100dvh - 72px);bottom:10px;left:162px;right:16px}.guide-dialogue.guide-on-right .guide-portrait{left:auto;right:0}.guide-dialogue.guide-on-right .guide-bubble{left:16px;right:162px}.gesture-demo .guide-portrait{width:160px}.gesture-demo.guide-at-top .guide-portrait{width:142px}}.guide-dialogue .guide-bubble .guide-dismiss{width:44px;min-width:44px;height:44px;min-height:44px;top:0;right:0}.guide-dialogue .guide-bubble{padding-right:48px!important}.guide-dialogue.puzzle-guide .guide-bubble{width:auto!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 80px)!important;inset:auto 16px 16px 170px!important}.guide-dialogue.puzzle-guide .guide-portrait{width:160px!important;height:200px!important;bottom:0!important;left:0!important}.gesture-demo .guide-bubble .guide-dismiss{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;top:0!important;right:0!important}.gesture-demo .guide-bubble{padding-right:48px!important}@media (orientation:portrait){.guide-dialogue.puzzle-guide .guide-bubble{padding-left:12px!important;bottom:12px!important;left:110px!important;right:10px!important}.guide-dialogue.puzzle-guide .guide-portrait{width:110px!important;height:145px!important}}.guide-dialogue[aria-modal=true]{z-index:110}.world-hits .object-contour{stroke-width:4px;opacity:0;vector-effect:non-scaling-stroke;pointer-events:all}.world-hits [data-cmd]:hover .object-contour,.world-hits [data-cmd]:focus .object-contour{opacity:1;fill:#fff9e612;stroke:#fff9e8}.world-hits .object-contour.opened{opacity:.42;stroke:#ffeab3}.world-hits [data-cmd]{cursor:pointer;outline:none}.scene-missing-item{object-fit:fill;pointer-events:none;filter:brightness(0);z-index:1;max-width:none;display:block;position:absolute}#app .inspection .device-socket{isolation:isolate;border-radius:0;min-width:0;min-height:0}#app .inspection .device-socket:after{content:"";z-index:2;width:max(100%,44px);height:max(100%,44px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#app .inspection .device-socket .socket-shadow{object-fit:fill;opacity:1;filter:brightness(0);transition:opacity .45s}#app .inspection .device-socket .socket-item{object-fit:fill;opacity:0!important;filter:none!important}#app .inspection .device-inspection.ready .socket-shadow{opacity:0;filter:brightness(0)}#app .inspection .device-socket:focus-visible{outline-offset:6px;outline:3px solid #fff7df}#app .inspection .device-socket:hover .socket-shadow{filter:brightness(0)drop-shadow(1px 0 #fff7df)drop-shadow(-1px 0 #fff7df)drop-shadow(0 1px #fff7df)drop-shadow(0 -1px #fff7df)}#app .inspection .device-message{text-align:center;pointer-events:none;width:min(80%,480px);position:absolute;bottom:85px;left:50%;transform:translate(-50%)}.treasure-reveal{isolation:isolate;background:var(--chest-scene) center/cover;width:100%;height:100dvh;position:relative;overflow:clip}.treasure-reveal:before{content:"";z-index:-1;background:#152c3810;position:absolute;inset:0}.treasure-reveal>h1{z-index:3;text-align:center;color:#182e3f;-webkit-text-stroke:5px #fff5de;paint-order:stroke fill;width:80%;margin:0;font-size:clamp(18px,2.3vw,28px);position:absolute;top:68px;left:50%;transform:translate(-50%)}#app .treasure-reveal .chest-stage{width:min(92vw,calc((100dvh - 270px)*var(--chest-width)/var(--chest-height)),920px);aspect-ratio:var(--chest-ratio);height:auto;min-height:0;max-height:none;box-shadow:none;isolation:isolate;background:0 0;border:0;padding:0;position:absolute;top:48%;left:50%;transform:translate(-50%,-50%)}.chest-stage:before{content:"";filter:blur(3px);z-index:-1;background:#2632424d;border-radius:50%;height:5%;position:absolute;bottom:-1%;left:8%;right:6%}.chest-back,.chest-rim{object-fit:fill;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.chest-back{z-index:0}.chest-rim{z-index:2}.chest-reward{z-index:1;transform:translate(-50%,-50%) rotate(var(--reward-tilt)) scaleY(.62);filter:drop-shadow(2px 8px 2px #392d3266);pointer-events:none;display:block;position:absolute}.chest-reward img{object-fit:contain;width:100%;height:100%}.chest-stage[data-reward-phase=empty] .chest-reward{visibility:hidden}.scene-reward{z-index:7;pointer-events:none;width:min(210px,38vw,38dvh);position:absolute;bottom:86px;left:50%;transform:translate(-50%)}#app .scene-reward .chest-stage{width:100%;height:auto;aspect-ratio:var(--chest-ratio);min-height:0;max-height:none;box-shadow:none;background:0 0;border:0;padding:0;position:relative;inset:auto;transform:none}.scene-reward .chest-caption{text-align:center;color:#132d3a;-webkit-text-stroke:4px #fff6df;paint-order:stroke fill;margin:6px -30px 0;font-size:14px;font-weight:800}.chest-actions{z-index:4;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;width:calc(100% - 150px);display:flex;position:absolute;bottom:40px;left:50%;transform:translate(-50%)}.chest-actions p{text-align:center;color:#132d3a;-webkit-text-stroke:4px #fff6df;paint-order:stroke fill;flex-basis:100%;margin:0;font-weight:800}#app .chest-actions .sticker-control{gap:4px;width:auto;max-width:none;min-height:44px;padding:2px 5px;font-size:13px;display:flex}#app .chest-actions .sticker-control .ui-glyph{width:38px;height:38px}@media (orientation:portrait){#app .treasure-reveal .chest-stage{top:46%}.chest-actions{width:calc(100% - 30px);bottom:118px}}@media (height<=450px) and (orientation:landscape){.treasure-reveal>h1{font-size:18px;top:48px}#app .treasure-reveal .chest-stage{width:min(66vw,calc((100dvh - 145px)*var(--chest-width)/var(--chest-height)));top:50%}.chest-actions{gap:2px 12px;width:calc(100% - 190px);bottom:8px}.chest-actions p{font-size:12px}#app .chest-actions .sticker-control{min-height:42px;font-size:12px}}#app .long-noodle{grid-template-rows:auto auto;grid-template-columns:1fr;gap:8px;width:100%;max-width:1100px;padding:5px 0 10px;display:grid}#app .long-noodle .noodle-strand{aspect-ratio:800/280;width:100%;height:auto;position:relative}.noodle-drawing{filter:drop-shadow(0 3px 4px #3a291740);width:100%;height:100%;display:block}#app .long-noodle .noodle-cut{left:var(--cut-x);top:var(--cut-y);width:48px;height:55px;padding:0;transform:translate(-50%,-50%)}.noodle-cut>svg{filter:drop-shadow(0 1px 2px #fff8e9);width:32px;height:38px}#app .long-noodle .cut-number{color:#213d42;text-shadow:0 0 4px #fff8e9;font-size:15px;position:absolute;top:-16px;left:50%;transform:translate(-50%)}.long-noodle .noodle-cut[aria-pressed=true]>svg{filter:drop-shadow(0 0 4px #f97948);transform:rotate(-12deg)}#app .long-noodle .noodle-orders{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:0 10px;display:grid}#app .long-noodle .noodle-order{flex-direction:column;justify-content:center;align-items:center;gap:0;min-width:0;display:flex}.long-noodle .noodle-order>svg{width:min(100%,120px);height:32px}#app .long-noodle .noodle-order b{color:#29434c;text-shadow:0 0 5px #fff8e9;align-items:center;gap:12px;font-size:30px;line-height:1.2;display:flex}.long-noodle .noodle-order em{color:#98700f;font-style:normal}.long-noodle .noodle-order em:before{content:"●";vertical-align:middle;color:#ebc136;margin-right:3px;font-size:12px}.long-noodle .noodle-order i{color:#566d75;font-size:24px;font-style:normal}.long-noodle .noodle-order.matched i{color:#187c62}#app .puzzle-closeup[data-puzzle=noodle]{height:max(100dvh,560px);padding-top:clamp(76px,15dvh,118px);padding-bottom:max(14px,env(safe-area-inset-bottom))}#app .puzzle-closeup[data-puzzle=noodle] .mechanism-box{grid-template-rows:auto 70px minmax(210px,1fr) 52px;grid-template-columns:minmax(0,1fr);gap:8px;height:100%;display:grid}#app .puzzle-closeup[data-puzzle=noodle] .mechanism-heading{grid-area:1/1;margin:0}#app .puzzle-closeup[data-puzzle=noodle] .device-goals{grid-area:2/1}#app .puzzle-closeup[data-puzzle=noodle] .device-body{grid-area:3/1;align-self:stretch;align-items:stretch;min-width:0;height:100%;min-height:0;display:flex}#app .puzzle-closeup[data-puzzle=noodle] .utility-controls{flex-wrap:nowrap;grid-area:4/1;align-self:end;gap:8px;margin:0;padding:0}#app .long-noodle{grid-template-rows:minmax(130px,1fr) 68px;gap:10px;height:100%;min-height:0;margin:0 auto;padding:2px 0 12px}#app .long-noodle .noodle-strand{aspect-ratio:auto;height:100%;min-height:0;max-height:none}.long-noodle .noodle-drawing{position:absolute;inset:0}#app .long-noodle .cut-number{width:30px;bottom:auto;right:auto}@media (orientation:portrait){#app .puzzle-closeup[data-puzzle=noodle]{height:max(100dvh,560px);padding-top:84px}#app .long-noodle .noodle-orders{gap:6px;padding:0}#app .long-noodle .noodle-order b{gap:6px;font-size:24px}#app .long-noodle .noodle-cut{width:44px;height:44px}.noodle-cut>svg{width:26px;height:32px}#app .long-noodle .cut-number{font-size:13px;top:-12px}#app .puzzle-closeup[data-puzzle=noodle] .utility-controls{justify-content:space-evenly;gap:2px}}@media (orientation:landscape) and (height<=550px){#app .puzzle-closeup[data-puzzle=noodle]{height:max(100dvh,390px);padding-top:57px;padding-bottom:10px}#app .puzzle-closeup[data-puzzle=noodle] .mechanism-box{grid-template-rows:28px 42px minmax(190px,1fr) 48px;gap:4px}#app .puzzle-closeup[data-puzzle=noodle] .mechanism-heading h1{margin:0;font-size:22px;line-height:28px}#app .puzzle-closeup[data-puzzle=noodle] .device-goals{min-height:42px}#app .long-noodle{grid-template-rows:minmax(120px,1fr) 50px;gap:4px;max-width:850px;padding:0 0 10px}#app .long-noodle .noodle-order>svg{height:23px}#app .long-noodle .noodle-order b{font-size:24px}#app .long-noodle .noodle-cut{height:44px}.noodle-cut>svg{width:28px;height:33px}#app .long-noodle .cut-number{font-size:13px;top:-11px}}#app .puzzle-closeup[data-puzzle=noodle] .long-noodle{grid-template-rows:minmax(180px,1fr) auto;align-content:center;gap:18px;max-width:1000px;height:100%;padding:8px 18px 12px}#app .long-noodle .noodle-strand{align-self:center;height:100%;min-height:180px;max-height:330px}#app .long-noodle .noodle-cut{border-radius:12px;width:48px;min-width:48px;height:48px;min-height:48px}#app .long-noodle .noodle-cut[aria-pressed=true]{outline-offset:-3px;background:#fff9e8e8;outline:2px solid #3c7c74}#app .long-noodle .noodle-cut:focus-visible{outline-offset:1px;outline:3px solid #246b78}.noodle-comparison{gap:16px;padding:4px 0;display:grid}.noodle-pieces{color:#29434c;justify-content:center;align-items:center;gap:10px;min-height:32px;display:flex}.noodle-pieces strong{font-size:13px}.noodle-pieces>span{text-align:center;border-bottom:2px solid #8eaeaa;min-width:40px;font-size:22px}.noodle-pieces small{color:#836515;font-size:16px}#app .long-noodle .noodle-order b{gap:7px;font-size:24px}.noodle-order b>span,.noodle-order b>em{justify-items:center;gap:2px;display:grid}.noodle-order b small{color:#566d75;font-size:11px;font-style:normal;font-weight:400;line-height:14px}.noodle-order em:before{display:none!important}#app .long-noodle .noodle-order i{align-self:center;font-size:20px}@media (orientation:portrait){#app .puzzle-closeup[data-puzzle=noodle] .long-noodle{grid-template-rows:minmax(180px,280px) auto;align-content:center;gap:26px;padding:12px 18px}#app .long-noodle .noodle-order>svg{height:24px}.noodle-comparison{gap:20px}#app .long-noodle .cut-number{font-size:14px;top:-14px}}@media (orientation:landscape) and (height<=550px){#app .puzzle-closeup[data-puzzle=noodle] .long-noodle{grid-template-rows:minmax(160px,1fr);grid-template-columns:minmax(0,1fr) 220px;align-content:center;gap:24px;padding:4px 18px}#app .long-noodle .noodle-strand{min-height:160px;max-height:220px}#app .long-noodle .noodle-orders{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#app .long-noodle .noodle-order b{gap:5px;font-size:21px}.noodle-comparison{align-self:center;gap:8px}.noodle-pieces{flex-wrap:wrap;gap:4px}.noodle-pieces strong{text-align:center;width:100%}.noodle-pieces>span{min-width:30px;font-size:17px}.noodle-pieces small{font-size:13px}}#app .puzzle-closeup[data-puzzle=noodle] .long-noodle .noodle-strand{aspect-ratio:800/280;align-self:center;width:100%;height:auto;min-height:0;max-height:none}#app .noodle-order-rule{color:#29434c;text-align:center;min-height:42px;margin:0;font-size:15px;line-height:1.4}#app .long-noodle .noodle-order b small{font-size:13px;line-height:17px}#app .noodle-pieces>span{gap:2px;min-width:80px;font-size:17px;display:grid}#app .noodle-pieces small{font-size:14px}#app .noodle-comparison{gap:8px}#app .long-noodle .noodle-order b{grid-template-columns:1fr 1fr auto;gap:4px;display:grid}#app .long-noodle .noodle-order b small{text-align:center;min-height:32px;font-size:12px;line-height:16px}#app .long-noodle .noodle-pieces{box-sizing:border-box;grid-template-rows:18px 42px 42px;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-items:start;gap:4px 8px;height:110px;min-height:110px;display:grid}#app .long-noodle .noodle-pieces strong{text-align:center;grid-column:1/-1}.device-goals{pointer-events:none;grid-area:2/1;justify-content:center;align-items:center;gap:clamp(15px,4vw,45px);min-height:65px;padding:3px 0;display:flex}.device-goal{color:#29444c;white-space:nowrap;text-align:center;filter:drop-shadow(0 1px 3px #fff4dd)}.device-goal small{color:#29444c;font-size:15px;line-height:1.15;display:block;text-shadow:0 0 5px #fff9ed!important}.device-goal>span{justify-content:center;align-items:baseline;gap:5px;line-height:1.1;display:flex}.device-goal b{color:#233f49;font-variant-numeric:tabular-nums;font-size:clamp(30px,4.5vw,52px);text-shadow:0 0 4px #fff9ed!important}.device-goal em{color:#496168;font-size:18px;font-style:normal}.device-goal i{color:#657b7e;font-size:22px;font-style:normal}.device-goal.met:not(.budget) b,.device-goal.met:not(.budget) i{color:#176e57}.device-goal.met:not(.budget) i{animation:.18s ease-out goal-pop}@keyframes goal-pop{0%{transform:scale(.7)}to{transform:scale(1)}}#app .direct-workbench .mechanism-box{grid-template-rows:auto 70px minmax(0,1fr) 0 0 auto}@media (orientation:portrait){.device-goals{gap:12px}.device-goal b{font-size:30px}.device-goal small{font-size:13px}.device-goal em{font-size:15px}.device-goal i{font-size:17px}#app .direct-workbench .mechanism-box{grid-template-rows:auto 65px minmax(0,1fr) 0 0 auto}}@media (orientation:landscape) and (height<=550px){#app .direct-workbench .mechanism-box{grid-template-rows:auto 1fr 0 0 44px}.direct-workbench .device-goals{flex-direction:column;grid-area:2/1;justify-content:center;align-self:center;gap:9px;display:flex}.direct-workbench .device-goal small{font-size:13px}.direct-workbench .device-goal b{font-size:34px}.direct-workbench .device-goal em{font-size:16px}.puzzle-closeup:not(.direct-workbench) .device-goals{gap:25px;min-height:46px;padding:0}.puzzle-closeup:not(.direct-workbench) .device-goal{align-items:center;gap:8px;display:flex}.puzzle-closeup:not(.direct-workbench) .device-goal b{font-size:28px}}@media (prefers-reduced-motion:reduce){.device-goal.met i{animation:none!important}}.device-goals.has-objective{flex-direction:column;gap:8px;min-width:0}.goal-readouts{justify-content:center;align-items:center;gap:clamp(12px,3vw,30px);width:100%;display:flex}.puzzle-objective{color:#233f49;text-align:center;text-shadow:0 1px 3px #fff9ed;justify-content:center;align-items:baseline;gap:7px;margin:0;line-height:1.35;display:flex}.puzzle-objective>small{color:#53665f;white-space:nowrap;font-size:12px;font-weight:800}.puzzle-objective>strong{word-break:keep-all;text-wrap:balance;font-size:clamp(16px,1.7vw,22px);font-weight:900}@media (orientation:portrait){#app .direct-workbench .mechanism-box:has(>.has-objective){grid-template-rows:auto 96px minmax(0,1fr) 0 0 auto}.has-objective .device-goal b{font-size:28px}.has-objective .device-goal small{font-size:13px}.has-objective .device-goal em{font-size:14px}.has-objective .goal-readouts{gap:12px}.has-objective .puzzle-objective{padding:0 4px}}@media (orientation:landscape){.has-objective .goal-readouts{flex-wrap:wrap;gap:10px 15px}.has-objective .device-goal b{font-size:clamp(28px,3.4vw,42px)}.has-objective .puzzle-objective{flex-direction:column;align-items:center;gap:3px}}.goal-readouts{flex-wrap:nowrap;gap:clamp(5px,1.5vw,16px);min-width:0}.device-goal.goal-status{flex:0 96px;width:96px;min-width:0}.device-goal.goal-status small{min-height:17px;font-size:13px;line-height:1.25}.device-goal.goal-status>.goal-status-content{align-items:center;gap:6px;height:26px}.device-goal.goal-status .goal-status-mark{box-sizing:border-box;color:#176e57;border:2px dashed #71817b;border-radius:50%;flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:20px;font-size:16px;line-height:1;display:inline-flex}.device-goal.goal-status.met .goal-status-mark{background:#e8f2d5;border-style:solid;border-color:#176e57}.device-goal.goal-status .goal-status-content em{text-align:left;color:#4f6666;width:45px;font-size:13px;line-height:1.2;display:inline-block}.device-goal.goal-status.met .goal-status-content em{color:#176e57}.device-goal.goal-number{flex:0 108px;min-width:0}.device-goal.goal-number b{font-size:clamp(26px,3.4vw,38px)}.device-goal.goal-number em{font-size:15px}.device-goal.goal-number i{width:14px;font-size:16px;display:inline-block}.device-goal.goal-number.budget i{display:none}@media (orientation:portrait){.has-objective .goal-readouts{gap:5px}.device-goal.goal-number b{font-size:26px}.device-goal.goal-number em{font-size:14px}.device-goal.goal-number>span{gap:3px}}@media (orientation:landscape){.has-objective .goal-readouts{flex-wrap:wrap;gap:8px}}.puzzle-closeup .mechanism-box{isolation:isolate;position:relative}.puzzle-closeup .mechanism-box:before{content:"";z-index:-1;-webkit-backdrop-filter:blur(10px)saturate(.8);backdrop-filter:blur(10px)saturate(.8);pointer-events:none;background:#fff8e5bf;border:1px solid #fffaf0c9;border-radius:22px;position:absolute;inset:-8px -8px 0;box-shadow:0 6px 24px #20394624}#app .puzzle-closeup .mechanism-heading h1,#app .puzzle-closeup .mechanism-heading>span{color:#173b48;text-shadow:none}.puzzle-closeup .device-goal{filter:none}.puzzle-closeup .device-goal small,.puzzle-closeup .device-goal b{text-shadow:none!important}.puzzle-closeup .device-goal em,.puzzle-closeup .device-goal i{color:#34515a}.puzzle-closeup .device-goal.met:not(.budget) i{color:#176e57}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.puzzle-closeup .mechanism-box:before{background:#fff8e5ed}}@media (orientation:landscape) and (height<=550px){.puzzle-closeup .mechanism-box:before{border-radius:17px;inset:-5px -7px 0}}#app .adventure-hud.has-game-tools{height:auto;min-height:60px;padding:4px max(12px,env(safe-area-inset-right)) 4px max(12px,env(safe-area-inset-left));padding-top:max(4px,env(safe-area-inset-top));box-shadow:none;background:0 0;border:0;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:8px;display:grid}#app .has-game-tools>span{text-align:center;min-width:0;font-size:clamp(15px,1.8vw,20px);line-height:1.2}#app .has-game-tools>nav{align-items:center;gap:4px;display:flex}#app .has-game-tools .puzzle-toolbar{width:auto;max-width:none;min-height:48px;box-shadow:none;background:0 0;border:0;flex-flow:row;grid-area:auto;justify-content:center;align-self:center;align-items:center;gap:5px;margin:0;padding:0;display:flex;position:static;transform:none}#app .has-game-tools .puzzle-toolbar>span{display:none}#app .adventure-hud.has-game-tools button{flex:0 0 48px;place-items:center;gap:0;width:48px;min-width:48px;height:48px;min-height:48px;margin:0;padding:3px;font-size:0;display:grid;transform:none}#app .has-game-tools .ui-glyph{width:42px;height:42px}#app .adventure-hud.has-game-tools button>span{display:none}#app .adventure-hud.has-game-tools button:focus-visible{outline-offset:0;border-radius:12px;outline:2px solid #4a949f}#app .adventure-hud.has-game-tools button:disabled{opacity:.35}#app .has-game-tools [hidden]{display:none!important}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup{height:100dvh;min-height:0;padding-top:calc(var(--game-menu-height,60px) + 12px);padding-bottom:max(12px,env(safe-area-inset-bottom))}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup .mechanism-box{height:100%}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup:not(.direct-workbench) .mechanism-box{grid-template-rows:auto 70px minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:8px;display:grid}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup:not(.direct-workbench) .device-body{grid-area:3/1;align-self:stretch}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .direct-workbench .mechanism-box{grid-template-rows:auto 70px minmax(0,1fr);grid-template-columns:minmax(0,1fr);row-gap:4px}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup[data-puzzle=noodle] .mechanism-box{grid-template-rows:auto 70px minmax(210px,1fr);grid-template-columns:minmax(0,1fr);gap:8px}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup[data-puzzle=window] .mechanism-box{grid-template-rows:auto 65px minmax(0,1fr);grid-template-columns:minmax(0,1fr)}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup[data-puzzle=window] .device-body{grid-area:3/1}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup[data-puzzle=lock] .device-body{overscroll-behavior:contain;overflow:hidden auto}#app.has-puzzle-toolbar .treasure-room{padding-top:calc(var(--game-menu-height,60px) + 12px)}#app.has-puzzle-toolbar .rhythm-world canvas{top:calc(var(--game-menu-height,60px) + 6px);width:min(calc(100% - 24px),calc((100dvh - var(--game-menu-height,60px) - 60px)*1.53846))}#app.has-puzzle-toolbar .rhythm-screen-cover{padding-top:calc(var(--game-menu-height,60px) + 16px)}#app.has-puzzle-toolbar .rhythm-status{bottom:24px}#app.has-puzzle-toolbar .rhythm-timeline{bottom:14px}@media (orientation:portrait) and (width<=700px){#app .adventure-hud.has-game-tools{grid-template-columns:48px minmax(0,1fr) auto;gap:2px 6px;padding-left:8px;padding-right:8px}#app .has-game-tools>button{grid-area:1/1}#app .has-game-tools>span{grid-area:1/2}#app .has-game-tools>nav{grid-area:1/3}#app .has-game-tools .puzzle-toolbar{grid-area:2/1/3/4;gap:6px}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .direct-workbench .mechanism-box{grid-template-rows:auto 65px minmax(0,1fr)}}@media (orientation:portrait){#app.has-puzzle-toolbar .rhythm-world canvas{top:calc(var(--game-menu-height,60px) + (100dvh - var(--game-menu-height,60px) - 150px)/2);width:min(100%,calc((100dvh - var(--game-menu-height,60px) - 150px)*1.53846));transform:translate(-50%,-50%)}#app.has-puzzle-toolbar .rhythm-status{text-align:center;width:auto;bottom:28px;left:12px;right:12px}#app.has-puzzle-toolbar .rhythm-timeline{width:calc(100% - 24px);bottom:15px;left:12px}#app.has-puzzle-toolbar .rhythm-controls{bottom:66px}}@media (orientation:landscape) and (height<=550px){#app .adventure-hud.has-game-tools{min-height:52px;padding-top:max(2px,env(safe-area-inset-top));gap:5px;padding-bottom:2px}#app .has-game-tools .puzzle-toolbar{gap:3px}#app .adventure-hud.has-game-tools button{flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px}#app .has-game-tools .ui-glyph{width:38px;height:38px}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup{padding-top:calc(var(--game-menu-height,52px) + 9px);padding-bottom:8px}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .direct-workbench .mechanism-box{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(160px,26%) minmax(0,1fr);column-gap:10px}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .direct-workbench .device-body{grid-area:1/2/3/3}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup[data-puzzle=noodle] .mechanism-box{grid-template-rows:28px 42px minmax(190px,1fr);grid-template-columns:minmax(0,1fr);gap:4px}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup[data-puzzle=noodle] .device-body{grid-area:3/1}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup[data-puzzle=window] .mechanism-box{grid-template-rows:28px 46px minmax(0,1fr)}#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup[data-puzzle=window] .mechanism-heading h1{margin:0;font-size:22px;line-height:28px}}@media (orientation:landscape) and (width<=700px){#app .has-game-tools>span{display:none}#app .adventure-hud.has-game-tools{grid-template-columns:44px minmax(0,1fr) auto}}@media (orientation:portrait) and (height<=600px){#app.has-puzzle-toolbar:not(.has-puzzle-dock) .puzzle-closeup[data-puzzle=window] .lattice-workspace{padding:4px 10px}}@media (width<=360px){#app .adventure-hud.has-game-tools button{flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px}#app .has-game-tools .puzzle-toolbar{gap:3px}#app .has-game-tools .ui-glyph{width:38px;height:38px}}.gesture-demo.guide-at-top .guide-bubble{top:var(--guide-menu-edge,58px)}.gesture-demo.guide-at-top .guide-character{top:var(--guide-menu-edge,51px)}#app .has-game-tools .puzzle-toolbar button.has-tool-label{flex-basis:56px;grid-template-rows:34px 18px;align-content:center;gap:2px;width:56px;min-width:56px;height:62px;min-height:62px;padding:2px 0}#app .has-game-tools .puzzle-toolbar .has-tool-label .ui-glyph{width:34px;height:34px}#app .has-game-tools .puzzle-toolbar .has-tool-label>.tool-label{white-space:nowrap;color:var(--ink);text-shadow:0 1px 3px #fff9eacc,0 0 5px #fff9ea;-webkit-text-stroke:0;paint-order:normal;font-size:12px;font-weight:800;line-height:18px;display:block}#app .has-game-tools .fracture-controls button.has-tool-label{flex-basis:82px;width:82px;min-width:82px}@media (width<=700px){#app .has-game-tools .puzzle-toolbar{gap:3px}#app .has-game-tools .puzzle-toolbar button.has-tool-label{flex-basis:52px;width:52px;min-width:52px}#app .has-game-tools .fracture-controls button.has-tool-label{flex-basis:82px;width:82px;min-width:82px}}@media (width<=360px){#app .has-game-tools .puzzle-toolbar button.has-tool-label{flex-basis:46px;width:46px;min-width:46px}#app .has-game-tools .puzzle-toolbar .has-tool-label>.tool-label{font-size:11px}#app .has-game-tools .fracture-controls button.has-tool-label{flex-basis:76px;width:76px;min-width:76px}}#app.has-puzzle-toolbar .rhythm-workbench.one-button-scene .rhythm-world canvas{aspect-ratio:auto;touch-action:none;width:100%;max-width:none;height:100%;max-height:none;inset:0;transform:none}#app .rhythm-workbench.one-button-scene .rhythm-controls{justify-content:center;gap:0;width:auto;max-width:none;display:flex;bottom:43px;left:50%;right:auto;transform:translate(-50%)}#app .rhythm-workbench.one-button-scene .rhythm-pad{touch-action:none;flex-direction:row;justify-content:center;align-items:center;gap:10px;min-width:150px;min-height:64px;padding:4px 12px;font-size:22px;display:flex}#app .rhythm-workbench.one-button-scene .rhythm-pad .ui-glyph{width:48px;height:48px}#app .rhythm-workbench.one-button-scene .rhythm-status{text-align:center;width:auto;font-size:12px;bottom:17px;left:12px;right:12px}#app .rhythm-workbench.one-button-scene .rhythm-timeline{width:calc(100% - 24px);bottom:7px;left:12px}#app .rhythm-workbench.one-button-scene .rhythm-screen-cover{padding-bottom:110px}@media (orientation:landscape) and (height<=450px){#app .rhythm-workbench.one-button-scene .rhythm-pad{min-height:54px;font-size:19px}#app .rhythm-workbench.one-button-scene .rhythm-pad .ui-glyph{width:40px;height:40px}}.rhythm-coach-visual{z-index:12;pointer-events:none;color:#fff7d3;width:0;height:0;position:fixed}.rhythm-coach-visual[hidden]{display:none}.rhythm-coach-visual .coach-ring{transform-origin:50%;border:3px solid #fff4b2;border-radius:50%;width:62px;height:62px;position:absolute;top:0;left:0;box-shadow:0 0 10px #24556a55}.rhythm-coach-visual.is-now .coach-ring{border-width:5px;border-color:#b3ffe9}.rhythm-coach-visual>img{filter:drop-shadow(0 2px 3px #29495777);width:42px;height:42px;position:absolute;top:-4px;left:9px}.rhythm-coach-visual>strong{text-align:center;width:130px;font:24px var(--ui-font);text-shadow:0 1px 4px #173742,0 0 8px #173742;position:absolute;top:-82px;transform:translate(-50%)}.rhythm-coach-visual.is-now>strong{color:#d0ffe4}@media (height<=450px){.rhythm-coach-visual>strong{font-size:22px;top:-74px}}#app .rhythm-workbench{touch-action:none}#app .rhythm-workbench[data-kind] .rhythm-controls{left:auto;right:max(18px,env(safe-area-inset-right));width:auto;max-width:34%;bottom:36px;transform:none}#app .rhythm-workbench[data-kind] .rhythm-pad{touch-action:none;min-width:100px;font-size:20px}.practice-mastery{z-index:9;bottom:max(22px,env(safe-area-inset-bottom));pointer-events:none;color:#fff7db;text-align:center;position:fixed;left:50%;transform:translate(-50%)}.practice-mastery[hidden]{display:none}.practice-mastery>strong{font:20px var(--ui-font);text-shadow:0 1px 4px #173742,0 0 8px #173742;margin-bottom:5px;display:block}.practice-mastery>div{gap:12px;display:flex}.practice-mastery i{width:48px;height:48px;font:32px var(--ui-font);color:#214c51;background:#244d6555;border:4px solid #fff5d4;border-radius:50%;place-items:center;font-style:normal;transition:background .16s,transform .16s;display:grid;box-shadow:0 2px 5px #102e4b44}.practice-mastery i.filled{background:#bcf4d7;border-color:#fff9de;transform:scale(1.08)}#app .rhythm-workbench.is-practice .rhythm-status{clip-path:inset(50%);width:1px;height:1px;overflow:hidden}@media (orientation:portrait){#app .rhythm-workbench[data-kind] .rhythm-controls{max-width:none;bottom:118px;left:50%;right:auto;transform:translate(-50%)}.practice-mastery{bottom:26px}}@media (orientation:landscape) and (height<=450px){.practice-mastery{bottom:16px}.practice-mastery i{border-width:3px;width:42px;height:42px;font-size:29px}.practice-mastery>strong{margin-bottom:3px;font-size:18px}#app .rhythm-workbench[data-kind] .rhythm-controls{bottom:20px}#app .rhythm-workbench[data-kind] .rhythm-pad{min-width:80px;font-size:18px}}.rhythm-coach-visual.has-practice-pointer .rhythm-practice-pointer{width:1px;height:1px;position:absolute;inset:0 auto auto 0;overflow:visible;pointer-events:none!important}.rhythm-coach-visual.has-practice-pointer>strong{width:184px;line-height:1.2;top:-100px}.rhythm-practice-pointer .practice-path,.rhythm-practice-pointer .practice-destination{display:none}.rhythm-practice-pointer .practice-focus-halo{fill:#ffe09a;fill-opacity:.28;transform:none;animation:none!important}.rhythm-practice-pointer .practice-focus-ring{stroke:#fff0ad;stroke-width:2.5px;stroke-dasharray:3 4;filter:drop-shadow(0 1px 2px #173742)}.rhythm-practice-pointer .practice-pointer{transform-origin:0 0;opacity:.84;transform:translateY(-9px)rotate(180deg)scale(.8)}.rhythm-coach-visual[data-mode=demo] .practice-finger{fill:#e2f3f5}.rhythm-coach-visual[data-mode=demo]>strong{color:#e2f3f5}.rhythm-coach-visual.is-now .practice-focus-ring{stroke:#b3ffe9;stroke-width:4px;stroke-dasharray:none}.rhythm-coach-visual[data-phase=press] .practice-pointer,.rhythm-coach-visual[data-phase=hold] .practice-pointer{opacity:1;transform:rotate(180deg)scale(.76)}.rhythm-coach-visual[data-phase=hold] .practice-focus-ring{stroke-dasharray:none}.rhythm-coach-visual[data-phase=release] .practice-pointer{opacity:.8;transform:translateY(-10px)rotate(180deg)scale(.8)}.rhythm-coach-visual.is-complete .practice-pointer{opacity:1;transform:none}.rhythm-coach-visual.has-practice-pointer.is-complete>strong{display:none}@media (prefers-reduced-motion:reduce){.rhythm-practice-pointer .practice-focus{transform:scale(1)!important}.rhythm-coach-visual .rhythm-practice-pointer .practice-pointer{transform:rotate(180deg)scale(.8)!important}.rhythm-coach-visual.is-complete .rhythm-practice-pointer .practice-pointer{transform:none!important}}#rhythm-mount{--rhythm-ink:var(--ui-ink);--rhythm-paper:var(--ui-paper);--rhythm-water:#9ee5dc;--rhythm-hit:var(--ui-gold);--rhythm-success:var(--ui-night-success)}#app .rhythm-workbench.is-covered .rhythm-controls{visibility:hidden;pointer-events:none}#app .rhythm-workbench .rhythm-status{clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.rhythm-session{z-index:3;left:max(24px,env(safe-area-inset-left));top:calc(var(--game-menu-height,60px) + 16px);pointer-events:none;color:var(--rhythm-ink);-webkit-text-stroke:3px var(--rhythm-paper);paint-order:stroke fill;font:18px var(--ui-font);gap:8px;display:grid;position:absolute}.rhythm-session>div{align-items:center;gap:8px;display:flex}.rhythm-session i{border:2px solid var(--rhythm-ink);background:var(--rhythm-paper);width:16px;height:16px;font:12px var(--ui-font);-webkit-text-stroke:0;border-radius:50%;place-items:center;font-style:normal;display:grid}.rhythm-session i.current{background:var(--rhythm-hit);outline:2px solid var(--rhythm-paper);outline-offset:2px}.rhythm-session i.done{background:var(--rhythm-success)}.rhythm-feedback{z-index:4;pointer-events:none;white-space:nowrap;color:var(--rhythm-paper);font:22px/1 var(--ui-font);-webkit-text-stroke:4px var(--rhythm-ink);paint-order:stroke fill;text-shadow:0 2px 0 var(--rhythm-ink);position:absolute;bottom:-3px;left:50%;transform:translate(-50%)}.rhythm-controls:has(.rhythm-feedback:not([hidden]))>.rhythm-input-help{visibility:hidden}.rhythm-feedback[data-kind=success]{color:var(--rhythm-success)}.rhythm-feedback[data-kind=hold]{color:var(--rhythm-hit)}.rhythm-song-progress{z-index:3;left:max(24px,env(safe-area-inset-left));bottom:max(28px,env(safe-area-inset-bottom));pointer-events:none;width:min(280px,32%);color:var(--rhythm-paper);font:16px var(--ui-font);text-shadow:0 1px 3px var(--rhythm-ink),0 0 4px var(--rhythm-ink);position:absolute}.rhythm-song-progress>div{justify-content:space-between;gap:12px;margin-bottom:8px;display:flex}.rhythm-song-progress output{font-variant-numeric:tabular-nums;white-space:nowrap}#app .rhythm-song-progress .rhythm-timeline{appearance:none;border:2px solid var(--rhythm-paper);background:#203d4977;border-radius:8px;width:100%;max-width:none;height:8px;margin:0;display:block;position:static;overflow:hidden}.rhythm-song-progress progress::-webkit-progress-bar{background:#203d4977}.rhythm-song-progress progress::-webkit-progress-value{background:var(--rhythm-hit);border-radius:8px}.rhythm-song-progress progress::-moz-progress-bar{background:var(--rhythm-hit);border-radius:8px}#app .rhythm-workbench[data-kind] .rhythm-controls{bottom:max(28px,env(safe-area-inset-bottom));right:max(24px,env(safe-area-inset-right));flex-direction:column;align-items:center;gap:6px;width:210px;max-width:32%;display:flex;left:auto;transform:none}#app .rhythm-workbench[data-kind] .rhythm-pad{width:auto;min-width:120px;max-width:100%;min-height:90px;font:22px var(--ui-font);box-shadow:none;background:0 0;border:0;flex-direction:column;align-items:center;gap:2px;padding:0;display:flex}#app .rhythm-workbench[data-kind] .rhythm-pad .ui-glyph{width:72px;height:64px;transition:transform .1s}#app .rhythm-workbench .rhythm-pad:focus-visible{outline:3px solid var(--rhythm-paper);outline-offset:6px;border-radius:50%}#app .rhythm-workbench .rhythm-pad.held .ui-glyph{filter:drop-shadow(0 0 5px var(--rhythm-hit));transform:translateY(4px)scale(.92)}.rhythm-input-help{color:var(--rhythm-paper);font:13px var(--ui-font);text-shadow:0 1px 3px var(--rhythm-ink),0 0 5px var(--rhythm-ink);white-space:nowrap;display:block}.practice-mastery{bottom:max(28px,env(safe-area-inset-bottom))}.practice-mastery i{width:52px;height:52px}.practice-mastery i.filled{transform:none}.practice-mastery i.just-filled{animation:.26s ease-out rhythm-stamp}.rhythm-coach-visual .coach-ring{border-color:#fff0ad;width:78px;height:78px;box-shadow:0 0 0 2px #203d4977}.rhythm-coach-visual>strong{font-size:24px;top:-90px}#app .rhythm-workbench .rhythm-screen-cover{padding:calc(var(--game-menu-height,60px) + 16px) 24px max(20px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);overscroll-behavior:contain;background:#173e4ba6;justify-content:center;overflow-y:auto}.rhythm-cover-content{flex-direction:column;flex-shrink:0;align-items:center;gap:12px;width:min(100%,560px);display:flex}.rhythm-cover-eyebrow{font:16px var(--ui-font);color:#c5eee5;letter-spacing:.04em}#app .rhythm-screen-cover .rhythm-cover-content h2{font:clamp(28px,4vw,42px)/1.2 var(--ui-font);color:#fff6db;text-shadow:0 3px #203d4966;margin:0}#app .rhythm-screen-cover .rhythm-cover-content>p{word-break:keep-all;max-width:440px;margin:0;font-size:17px;line-height:1.5}.rhythm-cover-actions{flex-direction:column;align-items:center;gap:12px;margin-top:10px;display:flex}#app .rhythm-screen-cover button.rhythm-primary{min-width:210px;min-height:76px;font:26px var(--ui-font);color:#fff6db;-webkit-text-stroke:4px #203d49;paint-order:stroke fill;justify-content:center;align-items:center;gap:14px;padding:4px 12px;display:flex}.rhythm-cover-secondary{flex-wrap:wrap;justify-content:center;gap:20px;display:flex}#app .rhythm-screen-cover button.rhythm-secondary{min-height:48px;font:17px var(--ui-font);color:#fff6db;text-shadow:0 2px 2px #203d49;-webkit-text-stroke:0;gap:5px}#app .rhythm-screen-cover .rhythm-secondary .ui-glyph{width:28px;height:28px}#app .rhythm-screen-cover button:focus-visible{outline-offset:4px;border-radius:8px;outline:3px solid #ffe18b}#app .rhythm-screen-cover .rhythm-cover-notice{color:#ffe3a4;min-height:24px;font-size:15px}.rhythm-cover-stamps{gap:10px;margin-top:4px;display:flex}.rhythm-cover-stamps i{width:32px;height:32px;font:22px var(--ui-font);color:#203d49;border:3px solid #fff6db;border-radius:50%;place-items:center;font-style:normal;display:grid}.rhythm-cover-stamps i.filled{background:#bcf4d7}.rhythm-session[hidden],.rhythm-song-progress[hidden],.rhythm-feedback[hidden]{display:none}@keyframes rhythm-stamp{50%{transform:scale(1.2)}to{transform:scale(1)}}@media (orientation:portrait){.rhythm-session{left:18px;top:calc(var(--game-menu-height,60px) + 14px);gap:6px;font-size:16px}#app .rhythm-workbench[data-kind] .rhythm-controls{left:50%;right:auto;bottom:max(76px,env(safe-area-inset-bottom));width:240px;max-width:80%;transform:translate(-50%)}#app .rhythm-workbench.is-practice[data-kind] .rhythm-controls{bottom:126px}#app .rhythm-workbench[data-kind] .rhythm-pad{min-height:80px;font-size:21px}#app .rhythm-workbench[data-kind] .rhythm-pad .ui-glyph{width:64px;height:58px}.practice-mastery{bottom:22px}.practice-mastery i{width:48px;height:48px}.rhythm-song-progress{width:calc(100% - 48px);font-size:14px;bottom:22px;left:24px}.rhythm-coach-visual>strong{font-size:22px;top:-86px}}@media (orientation:landscape) and (height<=550px){.rhythm-session{left:18px;top:calc(var(--game-menu-height,52px) + 12px);gap:6px;font-size:16px}#app .rhythm-workbench[data-kind] .rhythm-controls{gap:4px;width:175px;max-width:28%;bottom:16px;right:18px}#app .rhythm-workbench[data-kind] .rhythm-pad{min-width:90px;min-height:74px;font-size:18px}#app .rhythm-workbench[data-kind] .rhythm-pad .ui-glyph{width:56px;height:50px}.rhythm-input-help{font-size:12px}.practice-mastery{bottom:16px}.practice-mastery i{width:44px;height:44px}.practice-mastery>strong{margin-bottom:6px;font-size:16px}.rhythm-feedback{font-size:20px}.rhythm-song-progress{width:28%;font-size:13px;bottom:20px;left:18px}.rhythm-coach-visual>strong{font-size:21px;top:-80px}.rhythm-coach-visual .coach-ring{width:64px;height:64px}#app .rhythm-workbench .rhythm-screen-cover{padding-top:calc(var(--game-menu-height,52px) + 8px);padding-bottom:12px}.rhythm-cover-content{gap:6px}.rhythm-cover-eyebrow{font-size:13px}.rhythm-cover-actions{gap:2px;margin-top:2px}#app .rhythm-screen-cover .rhythm-cover-content h2{font-size:28px}#app .rhythm-screen-cover .rhythm-cover-content>p{font-size:14px}#app .rhythm-screen-cover button.rhythm-primary{min-height:56px;font-size:22px}.rhythm-screen-cover .rhythm-primary .ui-glyph{width:48px!important;height:48px!important}#app .rhythm-screen-cover button.rhythm-secondary{min-height:44px;font-size:15px}#app .rhythm-screen-cover .rhythm-cover-notice:empty{display:none}}@media (prefers-reduced-motion:reduce){.practice-mastery i.just-filled{animation:none}#app .rhythm-workbench .rhythm-pad .ui-glyph,.practice-mastery i{transition:none}.rhythm-screen-cover{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}#app .rhythm-workbench .rhythm-screen-cover{-webkit-backdrop-filter:none;backdrop-filter:none;padding:calc(var(--game-menu-height,60px) + 12px) 20px max(24px,env(safe-area-inset-bottom));background:linear-gradient(#173e4b08 12%,#173e4b70 40%,#173e4bf2 78%);justify-content:flex-end;gap:0}#app .rhythm-screen-cover .rhythm-cover-content{text-align:left;align-items:stretch;gap:8px;width:min(100%,520px)}#app .rhythm-screen-cover .rhythm-cover-content h2{font-size:clamp(25px,4vw,34px);line-height:1.22}#app .rhythm-screen-cover .rhythm-cover-content>p{max-width:none;margin:0;font-size:16px;line-height:1.5}#app .rhythm-screen-cover .rhythm-cover-eyebrow{color:#c9f0e6;font-size:14px}#app .rhythm-screen-cover .rhythm-cover-actions{align-items:stretch;gap:4px;margin-top:12px}#app .rhythm-screen-cover button.rhythm-primary{color:#203d49;width:100%;min-width:0;min-height:60px;text-shadow:none;-webkit-text-stroke:0;background:#f9e7b7;border:2px solid #fff6db;border-radius:18px;justify-content:center;gap:10px;padding:8px 16px;font-size:23px;box-shadow:0 4px #142e3a}#app .rhythm-screen-cover .rhythm-primary .ui-glyph{width:40px;height:40px}#app .rhythm-screen-cover .rhythm-cover-secondary{justify-content:center;gap:16px}#app .rhythm-screen-cover button.rhythm-secondary{min-height:48px;padding:6px 12px;font-size:16px}#app .rhythm-screen-cover .rhythm-cover-notice:empty{display:none}#app .rhythm-screen-cover .rhythm-input-help{text-align:center;color:#e1eee9;font-size:13px}#app .rhythm-screen-cover .rhythm-cover-stamps{margin:4px 0}#app .rhythm-workbench .rhythm-screen-cover:has([data-cover-state=result]){background:#173e4bef;justify-content:center}#app .rhythm-screen-cover [data-cover-state=result]{text-align:center;align-items:center}#app .rhythm-screen-cover [data-cover-state=result] .rhythm-cover-actions{width:100%}#app .rhythm-workbench[data-kind] .rhythm-controls{gap:6px;width:240px;max-width:calc(100% - 40px)}#app .rhythm-workbench[data-kind] .rhythm-pad,#app .rhythm-workbench[data-kind].is-song .rhythm-pad{color:#fff6db;width:100%;min-width:220px;min-height:64px;font:20px/1.25 var(--ui-font);-webkit-text-stroke:0;text-shadow:none;background:#173e4bd9;border:2px solid #fff6dbb3;border-radius:20px;flex-direction:row;justify-content:center;align-items:center;gap:10px;padding:8px 14px;display:flex}#app .rhythm-workbench[data-kind] .rhythm-pad .ui-glyph{flex:none;width:38px;height:38px}#app .rhythm-workbench[data-kind] .rhythm-pad.held{background:#2a6868;border-color:#ffe091}#app .rhythm-workbench[data-kind] .rhythm-pad:focus-visible{outline-offset:4px;border-radius:20px;outline:3px solid #ffe091}#app .rhythm-workbench .rhythm-feedback{margin-bottom:12px;font-size:21px;bottom:100%}#app .rhythm-workbench .rhythm-input-help{font-size:13px}#app .rhythm-workbench .rhythm-pad:disabled{opacity:.58}#app .rhythm-workbench .practice-mastery{bottom:20px}.practice-mastery>strong{margin-bottom:5px;font-size:15px}.practice-mastery>div{gap:9px}.practice-mastery i{border-width:2px;width:34px;height:34px;font-size:22px}@media (orientation:portrait){#app .rhythm-workbench[data-kind] .rhythm-controls{bottom:76px}#app .rhythm-workbench.is-practice[data-kind] .rhythm-controls{bottom:104px}.rhythm-song-progress{bottom:18px}}@media (orientation:landscape) and (height<=550px){#app .rhythm-workbench .rhythm-screen-cover{padding:calc(var(--game-menu-height,52px) + 8px) 26px 12px;background:linear-gradient(90deg,#173e4b08 5%,#173e4b7a 35%,#173e4bf2 65%);justify-content:center;align-items:flex-end}#app .rhythm-screen-cover .rhythm-cover-content{gap:4px;width:44%;min-width:290px}#app .rhythm-screen-cover .rhythm-cover-content h2{font-size:24px}#app .rhythm-screen-cover .rhythm-cover-content>p{font-size:14px;line-height:1.35}#app .rhythm-screen-cover .rhythm-cover-actions{gap:2px;margin-top:4px}#app .rhythm-screen-cover button.rhythm-primary{border-radius:14px;min-height:48px;padding:4px 10px;font-size:20px}#app .rhythm-screen-cover .rhythm-primary .ui-glyph{width:32px!important;height:32px!important}#app .rhythm-screen-cover button.rhythm-secondary{min-height:44px;padding:2px 8px;font-size:14px}#app .rhythm-screen-cover .rhythm-input-help{font-size:12px}#app .rhythm-workbench[data-kind] .rhythm-controls{width:220px;max-width:32%;bottom:18px;right:18px}#app .rhythm-workbench[data-kind] .rhythm-pad,#app .rhythm-workbench[data-kind].is-song .rhythm-pad{min-width:0;min-height:58px;padding:6px 10px;font-size:18px}#app .rhythm-workbench[data-kind] .rhythm-pad .ui-glyph{width:32px;height:32px}#app .rhythm-workbench .rhythm-feedback{margin-bottom:10px;font-size:18px}#app .rhythm-workbench .rhythm-screen-cover:has([data-cover-state=result]){align-items:center}#app .rhythm-screen-cover [data-cover-state=result]{width:min(100%,600px)}}@media (width<=360px){#app .rhythm-screen-cover .rhythm-cover-content h2{font-size:23px}#app .rhythm-screen-cover .rhythm-cover-content>p{font-size:14px}#app .rhythm-workbench .rhythm-screen-cover{padding-left:16px;padding-right:16px}}#app .rhythm-screen-cover button.rhythm-primary{color:#fff6db;text-shadow:0 2px 2px #173e4b}#app .rhythm-screen-cover .rhythm-input-help{display:block}#app .rhythm-workbench.is-covered{touch-action:pan-y}#app .rhythm-workbench .rhythm-screen-cover{touch-action:pan-y;padding-bottom:calc(20px + env(safe-area-inset-bottom));justify-content:flex-start;scroll-padding-block:16px}#app .rhythm-screen-cover .rhythm-cover-content{margin-block:auto 0}#app .rhythm-workbench .rhythm-screen-cover:has([data-cover-state=result]) .rhythm-cover-content{margin-block:auto}#app .rhythm-song-progress{color:#fff6db;text-shadow:none;box-sizing:border-box;background:#173e4be8;border-radius:12px;padding:8px 10px}#app .rhythm-song-progress>div{margin-bottom:5px}@media (orientation:portrait){#app .rhythm-workbench[data-kind] .rhythm-controls{bottom:calc(84px + env(safe-area-inset-bottom))}#app .rhythm-workbench.is-practice[data-kind] .rhythm-controls{bottom:calc(108px + env(safe-area-inset-bottom))}#app .rhythm-song-progress{left:max(16px,env(safe-area-inset-left));width:calc(100% - 32px);bottom:calc(12px + env(safe-area-inset-bottom))}#app .rhythm-workbench .practice-mastery{bottom:calc(16px + env(safe-area-inset-bottom))}}@media (orientation:landscape) and (height<=550px){#app .rhythm-workbench[data-kind] .rhythm-controls{right:max(18px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom))}#app .rhythm-song-progress{left:max(18px,env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom))}}@media (orientation:landscape) and (width>=900px) and (height<=800px){#app .rhythm-workbench.one-button-scene .rhythm-screen-cover:not(:has([data-cover-state=result])){padding-bottom:max(16px,env(safe-area-inset-bottom))}#app .rhythm-screen-cover:not(:has([data-cover-state=result])) .rhythm-cover-content{width:min(52%,560px);min-width:360px}#app .rhythm-screen-cover:not(:has([data-cover-state=result])) p{font-size:16px;line-height:1.45}#app .rhythm-screen-cover:not(:has([data-cover-state=result])) .rhythm-secondary{min-height:44px;font-size:16px}#app .rhythm-screen-cover:not(:has([data-cover-state=result])) .rhythm-input-help{font-size:14px}}.rhythm-cast{z-index:2;pointer-events:none;position:absolute;inset:0}.rhythm-cast[hidden]{display:none}.rhythm-actor{pointer-events:none;position:absolute;transform:translate(-50%,-100%)}.rhythm-actor:before{content:"";filter:blur(2px);background:#173f5133;border-radius:50%;width:62%;height:8%;position:absolute;bottom:0;left:19%}.rhythm-actor img{object-fit:contain;transform-origin:50% 96.25%;filter:drop-shadow(0 2px 1px #173b4930);will-change:transform;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.rhythm-actor img[hidden]{display:none}#app .rhythm-workbench.is-song .rhythm-pad{font-size:0}.rhythm-workbench.is-song .rhythm-input-help{display:none}.direct-device .shade-landing{opacity:.75;pointer-events:none}.direct-device .shade-landing[data-ready=true]{filter:drop-shadow(0 0 5px #eeff68);opacity:1}.device-body[data-animating=true] .device-object{cursor:wait;pointer-events:none}.direct-device [data-demo].tutorial-focus{filter:drop-shadow(0 0 5px #cfff67)}.gesture-demo.is-device-moving .demo-trail,.gesture-demo.is-device-moving .demo-finger{visibility:hidden}.gesture-demo[data-gesture=look] .demo-finger,.gesture-demo[data-gesture=look] .demo-dot{display:none}@media (orientation:landscape){#app .puzzle-closeup:is([data-puzzle=salt],[data-puzzle=masian]) .mechanism-box{grid-template-rows:auto 1fr 0 0 0;grid-template-columns:clamp(175px,23%,270px) minmax(0,1fr);column-gap:10px}#app .puzzle-closeup:is([data-puzzle=salt],[data-puzzle=masian]) .device-body{grid-area:1/2/6/3}#app .puzzle-closeup:is([data-puzzle=salt],[data-puzzle=masian]) .mechanism-heading{grid-area:1/1;display:block}#app .puzzle-closeup:is([data-puzzle=salt],[data-puzzle=masian]) .device-goals{flex-direction:column;grid-area:2/1;align-self:center}.gesture-demo.coastal-lesson .guide-bubble{left:12px;right:auto;top:var(--guide-menu-edge,58px);width:210px;max-width:26vw;bottom:auto;padding:12px 27px 12px 12px!important}.gesture-demo.coastal-lesson .guide-character{opacity:.9;max-width:100px;height:110px;top:auto;bottom:0;left:0}.gesture-demo.coastal-lesson .guide-text{line-height:1.45;font-size:17px!important}.gesture-demo.coastal-lesson .guide-title{font-size:12px!important}}@media (orientation:portrait){.gesture-demo.coastal-lesson .guide-bubble{inset:auto 10px 10px 75px;min-height:0!important;padding:12px 28px 12px 13px!important}.gesture-demo.coastal-lesson .guide-character{max-width:95px;height:140px;top:auto;bottom:0;left:0}.gesture-demo.coastal-lesson .guide-text{line-height:1.4;font-size:16px!important}}#app .puzzle-closeup[data-puzzle=fairy] .device-goals{display:none}#app .puzzle-closeup[data-puzzle=fairy] .direct-device{overflow:hidden}@media (orientation:portrait){#app .puzzle-closeup:is([data-puzzle=eurwang],[data-puzzle=fairy]) .device-body{align-self:stretch;height:100%;min-height:0}#app .puzzle-closeup:is([data-puzzle=eurwang],[data-puzzle=fairy]) .direct-device{aspect-ratio:auto}}.rope-device .device-object .rope-bar{transition:filter .1s}.rope-device .device-object:is(:hover,:focus-visible,.held) .rope-bar{filter:drop-shadow(0 0 5px #fffdf0)}.rope-device .rope-hit{stroke:none}.rope-device .object-focus{display:none}.rope-device .device-object:focus-visible .rope-bar rect{stroke:#277b88;stroke-width:5px}.rope-device text{pointer-events:none}#app .puzzle-closeup[data-puzzle=wangsan] .device-goals{display:none}#app .puzzle-closeup:is([data-puzzle=wangsan],[data-puzzle=fairy]) .mechanism-box{grid-template-rows:auto 0 minmax(0,1fr) 0 0 auto;grid-template-columns:1fr}#app .puzzle-closeup:is([data-puzzle=wangsan],[data-puzzle=fairy]) .mechanism-heading{grid-area:1/1;display:flex}#app .puzzle-closeup:is([data-puzzle=wangsan],[data-puzzle=fairy]) .device-body{grid-area:3/1}@media (orientation:portrait){#app .puzzle-closeup[data-puzzle=wangsan] .device-body{align-self:stretch;height:100%;min-height:0}#app .puzzle-closeup[data-puzzle=wangsan] .direct-device{aspect-ratio:auto}}.acoustics-board .device-object{cursor:pointer}.acoustics-board .device-object:focus{filter:none}.acoustics-board .device-object:focus-visible [data-reflector],.acoustics-board [data-reflector].tutorial-focus{filter:drop-shadow(0 0 3px #f2b534)}.acoustics-board .sound-paths.tutorial-focus{filter:drop-shadow(0 0 2px #fff)}.acoustics-board [data-sound-source].tutorial-focus,.acoustics-board [data-sound-target].tutorial-focus{filter:drop-shadow(0 0 4px #e6b561)}.acoustics-board text{paint-order:stroke fill;stroke:#fff1cc;stroke-width:2px}@media (orientation:portrait){#app .puzzle-closeup[data-puzzle=artcenter] .device-body{align-self:stretch;height:100%;min-height:0}#app .puzzle-closeup[data-puzzle=artcenter] .direct-device{aspect-ratio:auto}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter]{padding-bottom:166px!important}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] .mechanism-box{grid-template-rows:40px minmax(0,1fr)!important}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] .mechanism-heading{display:none}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] .device-goals{flex-direction:row;grid-area:1/1;align-items:center;gap:8px;min-height:0}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] .puzzle-objective{flex:1;min-width:0}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] .puzzle-objective strong{font-size:14px}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] .goal-readouts{flex-shrink:0;width:auto}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] .device-goal small{display:none}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] .device-goal b{font-size:24px}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] .device-body{grid-area:2/1}}@media (orientation:landscape) and (width<=900px){body:has(.puzzle-closeup[data-puzzle=artcenter]) .gesture-demo.puzzle-guide .guide-bubble{height:calc(100dvh - 182px);width:calc(26vw - 10px)!important;bottom:108px!important;left:10px!important;right:auto!important}body:has(.puzzle-closeup[data-puzzle=artcenter]) .gesture-demo.puzzle-guide .guide-portrait{width:95px!important;height:103px!important;bottom:0!important;left:40px!important}#app.has-puzzle-guide .puzzle-closeup[data-puzzle=artcenter] :is(.mechanism-heading,.goal-readouts){visibility:hidden}}.qa-puzzle-hub{color:#173b47;background:#c7ddd8;min-height:calc(100dvh - 64px);padding:clamp(18px,4vw,44px)}.qa-puzzle-intro{max-width:960px;margin:0 auto 24px;padding:16px 20px}.qa-puzzle-intro h1{margin:0 0 8px;font-size:clamp(26px,4vw,44px)}.qa-puzzle-intro p{margin:6px 0;line-height:1.55}.qa-region-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;max-width:1100px;margin:auto;display:grid}.qa-region-card{padding:15px}.qa-region-card h2{margin:0 0 12px;font-size:22px}.qa-puzzle-links{gap:9px;display:grid}.qa-puzzle-link{justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:9px 12px;font-weight:900;text-decoration:none;display:flex}.qa-puzzle-link:hover,.qa-puzzle-link:focus-visible{background:#f6c979;transform:translateY(-2px)}.qa-puzzle-link small{opacity:.72;font-size:11px;font-weight:800}@media (width<=560px){.qa-puzzle-hub{padding:14px}.qa-region-list{grid-template-columns:1fr}.qa-puzzle-intro{padding:13px}}.puzzle-closeup .device-body{isolation:isolate;position:relative}.puzzle-closeup .mechanism-solved{z-index:20;pointer-events:auto;align-content:center;max-height:100%;overflow:auto}.puzzle-closeup .device-body>[inert]{pointer-events:none}.puzzle-closeup .lattice-workspace{z-index:0;position:relative}#app .mechanism-solved h2{color:#fff8dc;text-shadow:none;font-size:clamp(23px,3vw,34px);position:relative}#app .mechanism-solved button{color:#fff8dc;pointer-events:auto;min-height:48px;font-size:20px;position:relative}#app .mechanism-solved button .ui-glyph{width:48px;height:48px}#app .mechanism-solved button:focus-visible{outline-offset:4px;outline:3px solid #f6dc8d}@media (orientation:landscape) and (height<=450px){.puzzle-closeup .mechanism-solved{padding:10px;inset:0}.puzzle-closeup .mechanism-solved h2{margin:4px}}.stage-celebration{text-align:center;color:#fff8dc;max-width:620px;margin:auto;position:relative}.celebration-art{isolation:isolate;width:min(350px,70vw);height:clamp(105px,20vh,190px);margin:0 auto;position:relative}.celebration-treasure{object-fit:contain;filter:drop-shadow(0 0 12px #ffd35d);width:60%;height:90%;animation:.65s ease-out both treasure-arrive;position:absolute;top:5%;left:20%}.celebration-guide{object-fit:contain;object-position:bottom;width:36%;height:90%;animation:.7s ease-out both companion-cheer;position:absolute;bottom:0;right:-3%}.celebration-rays{background:radial-gradient(#ffde8990,#0000 70%);border-radius:50%;animation:.9s ease-out 3 treasure-halo;position:absolute;inset:0 16%}.celebration-spark{left:calc(8% + var(--i)*12%);top:calc(10% + var(--row)*23%);color:#ffe181;animation:1.2s ease-out both spark-rise;animation-delay:calc(var(--i)*70ms);font-size:22px;font-style:normal;position:absolute}.stage-celebration h2{margin:5px 0}.celebration-reward{margin:8px 0;line-height:1.4;font-size:16px!important}.celebration-place{border-top:1px solid #ffe18170;padding:10px 14px}.celebration-place p{margin:5px 0;line-height:1.5;font-size:16px!important}#app .mechanism-solved{background:#20262cf5;flex-direction:column;justify-content:flex-start;padding:16px;display:flex}.assembly-celebration{z-index:25;text-align:center;background:#20262cf5;border-radius:14px;padding:18px;position:absolute;inset:70px 12px 12px;overflow:auto}.assembly-celebration button{color:#fff8dc;min-height:48px;font-size:20px}.rhythm-cover-content>.stage-celebration{margin-top:-8px}.rhythm-cover-content:has(.stage-celebration)>.rhythm-cover-eyebrow{display:none}.rhythm-cover-content:has(.stage-celebration)>h2{display:none}@keyframes treasure-arrive{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@keyframes companion-cheer{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes treasure-halo{50%{opacity:.6;transform:scale(1.15)}}@keyframes spark-rise{0%{opacity:0;transform:translateY(28px)scale(.4)}40%{opacity:1}to{opacity:0;transform:translateY(-18px)}}@media (height<=500px){.celebration-art{height:78px}.celebration-place{padding:4px}.celebration-place p,.celebration-reward{margin:3px;font-size:14px!important}.stage-celebration h2{font-size:22px!important}.assembly-celebration{padding:8px;inset:55px 8px 8px}}@media (prefers-reduced-motion:reduce){.stage-celebration *{animation:none!important}.celebration-spark{opacity:.7}}#app .puzzle-closeup .mechanism-solved{z-index:80;isolation:isolate;border-radius:12px;justify-content:center;width:auto;height:auto;max-height:none;position:fixed;inset:120px 12px 12px}#app .mechanism-solved .stage-celebration,#app .mechanism-solved>button{flex:none}@media (height<=500px){#app .puzzle-closeup .mechanism-solved{justify-content:flex-start;padding:8px;inset:64px 8px 8px}}#app .assembly-celebration button,#app .assembly-celebration button span{color:#fff8dc;text-shadow:none}#app .assembly-celebration button:focus-visible{outline-offset:4px;outline:3px solid #f6dc8d}.direct-device [data-tow-zone]>rect{transition:fill 90ms,stroke 90ms}.direct-device [data-tow-zone][data-active=true][data-valid=true]>rect{fill:#d6e9ad;stroke:#537d3d;stroke-width:5px}.direct-device [data-tow-zone][data-active=true][data-valid=false]>rect{stroke:#b7825c;stroke-dasharray:7 5}.direct-device [data-tug] text{paint-order:stroke fill;stroke:#fff4d7;stroke-width:3px}.direct-device [data-tow-zone].tutorial-focus>rect{stroke:#749440;stroke-width:5px}.direct-device .device-object.drop-option>.object-focus{opacity:1;stroke:#90ae4b;stroke-width:5px}@media (orientation:landscape){#app .puzzle-closeup:is([data-puzzle=tow],[data-puzzle=sundial],[data-puzzle=windmill],[data-puzzle=birds],[data-puzzle=creek]) .mechanism-box{grid-template-rows:auto 1fr 0 0 0;grid-template-columns:clamp(175px,23%,270px) minmax(0,1fr);column-gap:10px}#app .puzzle-closeup:is([data-puzzle=tow],[data-puzzle=sundial],[data-puzzle=windmill],[data-puzzle=birds],[data-puzzle=creek]) .device-body{grid-area:1/2/6/3}#app .puzzle-closeup:is([data-puzzle=tow],[data-puzzle=sundial],[data-puzzle=windmill],[data-puzzle=birds],[data-puzzle=creek]) .mechanism-heading{grid-area:1/1;display:block}#app .puzzle-closeup:is([data-puzzle=tow],[data-puzzle=sundial],[data-puzzle=windmill],[data-puzzle=birds],[data-puzzle=creek]) .device-goals{flex-direction:column;grid-area:2/1;align-self:center}#app .mechanism-box:has(>.has-objective) .puzzle-objective{z-index:2;flex-direction:row;align-items:baseline;gap:7px;position:absolute;top:0;left:calc(clamp(175px,23%,270px) + 10px);right:0}#app .mechanism-box:has(>.has-objective) .device-body{box-sizing:border-box;padding-top:30px}body:has(.gesture-demo.coastal-lesson) #app .mechanism-box .device-goals.has-objective{align-self:end;padding-bottom:8px}}@media (orientation:landscape) and (height<=550px){body:has(.gesture-demo.coastal-lesson) .has-objective .device-goal b{font-size:26px}body:has(.gesture-demo.coastal-lesson) .has-objective .device-goal small{font-size:12px}body:has(.gesture-demo.coastal-lesson) .has-objective .goal-readouts{gap:7px 12px}}@media (width<=600px) and (orientation:portrait){#app .puzzle-closeup[data-puzzle=tow] .mechanism-box{grid-template-rows:auto auto minmax(0,1fr);gap:3px;padding:8px}#app .puzzle-closeup[data-puzzle=tow] .device-body{grid-row:3;align-self:stretch;height:100%;min-height:0;padding:0}#app .puzzle-closeup[data-puzzle=tow] .direct-device{aspect-ratio:440/740;max-height:none}#app .puzzle-closeup[data-puzzle=tow] .goal-readouts{display:none}#app .puzzle-closeup[data-puzzle=tow] .device-goals{min-height:0;padding:0}#app .puzzle-closeup[data-puzzle=tow] .puzzle-objective{font-size:13px}#app .puzzle-closeup[data-puzzle=windmill] .direct-device{aspect-ratio:440/600}#app .puzzle-closeup[data-puzzle=creek] .direct-device{aspect-ratio:440/560}#app .puzzle-closeup[data-puzzle=crane] .direct-device{aspect-ratio:440/480}#app .puzzle-closeup[data-puzzle=sundial] .direct-device{aspect-ratio:440/660}}#app .puzzle-closeup:is([data-puzzle=windmill],[data-puzzle=birds]) .device-body{container-type:size}#app .puzzle-closeup[data-puzzle=windmill] .direct-device{width:min(100cqw,150cqh)!important;max-width:none!important;height:auto!important}#app .puzzle-closeup[data-puzzle=birds] .direct-device{width:min(100cqw,110.77cqh)!important;max-width:none!important;height:auto!important}@media (width<=600px) and (orientation:portrait){#app .puzzle-closeup[data-puzzle=windmill] .direct-device{width:min(100cqw,73.33cqh)!important}}.direct-device [data-ferry-zone][data-valid=true] .object-focus{stroke:#518d62;opacity:1}.direct-device [data-deck-target].tutorial-focus circle{stroke-width:6px}.direct-device [data-erosion-rock],.direct-device [data-tide-forecast]{isolation:isolate}@media (orientation:portrait) and (width<=500px){.puzzle-closeup:is([data-puzzle=silmi],[data-puzzle=muui-bridge],[data-puzzle=somuui]) .direct-device text{font-size:28px}.puzzle-closeup:is([data-puzzle=silmi],[data-puzzle=muui-bridge],[data-puzzle=somuui]) .direct-device .device-object text{font-size:24px}}@media (orientation:landscape){#app.has-puzzle-toolbar .puzzle-closeup:is([data-puzzle=hanagae],[data-puzzle=silmi],[data-puzzle=muui-bridge],[data-puzzle=somuui]) .mechanism-box{grid-template-rows:auto 1fr;grid-template-columns:clamp(175px,23%,270px) minmax(0,1fr);column-gap:10px}#app.has-puzzle-toolbar .puzzle-closeup:is([data-puzzle=hanagae],[data-puzzle=silmi],[data-puzzle=muui-bridge],[data-puzzle=somuui]) .device-body{grid-area:1/2/3/3;align-self:stretch;width:100%;min-width:0;max-width:none;height:100%}#app .puzzle-closeup:is([data-puzzle=hanagae],[data-puzzle=silmi],[data-puzzle=muui-bridge],[data-puzzle=somuui]) .mechanism-heading{grid-area:1/1;display:block}#app .puzzle-closeup:is([data-puzzle=hanagae],[data-puzzle=silmi],[data-puzzle=muui-bridge],[data-puzzle=somuui]) .device-goals{grid-area:2/1;align-self:center}}@media (orientation:landscape) and (width<=900px){body:has(.puzzle-closeup:is([data-puzzle=hanagae],[data-puzzle=silmi],[data-puzzle=muui-bridge],[data-puzzle=somuui])) .gesture-demo.puzzle-guide .guide-bubble{height:calc(100dvh - 182px);width:calc(clamp(175px,23vw,270px) - 10px)!important;padding:10px 27px 10px 10px!important;bottom:108px!important;left:10px!important;right:auto!important}body:has(.puzzle-closeup:is([data-puzzle=hanagae],[data-puzzle=silmi],[data-puzzle=muui-bridge],[data-puzzle=somuui])) .gesture-demo.puzzle-guide .guide-portrait{width:95px!important;height:103px!important;bottom:0!important;left:40px!important}#app.has-puzzle-guide .puzzle-closeup:is([data-puzzle=hanagae],[data-puzzle=silmi],[data-puzzle=muui-bridge],[data-puzzle=somuui]) :is(.mechanism-heading,.goal-readouts){visibility:hidden}}@media (orientation:portrait){.puzzle-closeup[data-puzzle=hanagae] .device-body{height:clamp(280px,85vw,440px)}.puzzle-closeup[data-puzzle=hanagae] .direct-device{aspect-ratio:1}#app .puzzle-closeup[data-puzzle=muui-bridge] .device-body{container-type:size;overflow:hidden!important}#app .puzzle-closeup[data-puzzle=muui-bridge] .direct-device{transform-origin:50%;transform:rotate(90deg);aspect-ratio:670/420!important;width:min(100cqh,159.5cqw)!important;max-width:none!important;height:auto!important}}#app .puzzle-closeup[data-puzzle=somuui] .device-body{container-type:size}#app .puzzle-closeup[data-puzzle=somuui] .direct-device{width:min(100cqw,136.73cqh)!important;max-width:none!important;height:auto!important}@media (orientation:portrait){#app .puzzle-closeup[data-puzzle=somuui] .direct-device{width:min(100cqw,85.89cqh)!important}}#app .puzzle-closeup:is([data-puzzle=silmi],[data-puzzle=hanagae]) .device-body{container-type:size}#app .puzzle-closeup[data-puzzle=silmi] .direct-device{width:min(100cqw,136.73cqh)!important;max-width:none!important;height:auto!important}#app .puzzle-closeup[data-puzzle=hanagae] .direct-device{width:min(100cqw,100cqh)!important;max-width:none!important;height:auto!important}.puzzle-guide{--companion-body:min(34dvh,250px);--companion-bubble:clamp(150px,25dvh,200px);--companion-rail:clamp(215px,28vw,310px)}.puzzle-guide .guide-portrait{aspect-ratio:auto;overflow:visible;width:calc(var(--companion-rail) - 24px)!important;height:var(--companion-body)!important;top:auto!important;bottom:6px!important;left:12px!important}.puzzle-guide .guide-portrait .guide-character{object-fit:contain;object-position:center bottom;opacity:1!important;width:100%!important;max-width:none!important;height:100%!important;position:static!important}.puzzle-guide .guide-bubble{height:var(--companion-bubble);scrollbar-width:thin;overflow:auto;top:auto!important;left:12px!important;right:auto!important;bottom:calc(var(--companion-body) + 18px)!important;width:calc(var(--companion-rail) - 24px)!important;max-width:none!important;min-height:0!important;max-height:none!important;padding:12px 30px 12px 14px!important}.puzzle-guide .guide-text{font-size:17px!important;line-height:1.4!important}.puzzle-guide .guide-title{margin-bottom:6px;line-height:1.2;font-size:13px!important}.puzzle-guide .guide-count{line-height:1.3;font-size:12px!important}.puzzle-guide .guide-next{bottom:5px;right:12px}.puzzle-guide .guide-continue,.puzzle-guide .guide-action{font-size:16px!important}@media (orientation:landscape) and (width>=901px){#app.has-puzzle-guide .puzzle-closeup{padding-left:calc(clamp(215px,28vw,310px) + 14px)!important}#app.has-puzzle-guide .puzzle-closeup .mechanism-box{grid-template-rows:auto auto minmax(0,1fr)!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;display:grid!important}#app.has-puzzle-guide .puzzle-closeup .mechanism-heading{min-height:0;grid-area:1/1!important;display:flex!important}#app.has-puzzle-guide .puzzle-closeup .device-goals{flex-wrap:wrap;gap:7px 14px;min-height:0;flex-direction:row!important;grid-area:2/1!important;align-self:center!important;padding:0!important}#app.has-puzzle-guide .puzzle-closeup .device-body{grid-area:3/1!important;align-self:stretch!important;height:100%!important;min-height:0!important;padding-top:0!important}#app.has-puzzle-guide .puzzle-objective{flex-direction:row!important;position:static!important}#app.has-puzzle-guide .rhythm-workbench:not(.one-button-scene) .rhythm-world canvas{width:min(calc(100% - clamp(215px,28vw,310px) - 20px),calc((100dvh - var(--game-menu-height,80px) - 20px)*1.53846))!important;left:calc(50% + clamp(215px,28vw,310px)/2)!important}#app.has-puzzle-guide.has-puzzle-toolbar .rhythm-workbench.one-button-scene .rhythm-world canvas{width:100%!important;height:100%!important;inset:0!important;transform:none!important}}@media (orientation:portrait),(width<=900px){.puzzle-guide{--companion-body:155px;--companion-bubble:144px;--companion-rail:100vw}.puzzle-guide .guide-portrait{aspect-ratio:.8;overflow:hidden;width:124px!important;height:155px!important;bottom:0!important;left:0!important}.puzzle-guide .guide-portrait .guide-character{object-position:top;width:100%!important;height:auto!important}.puzzle-guide .guide-bubble{height:144px;width:auto!important;padding:10px 30px 10px 12px!important;bottom:10px!important;left:120px!important;right:10px!important}.puzzle-guide .guide-text{font-size:16px!important;line-height:1.35!important}.puzzle-guide .guide-title{margin-bottom:4px;font-size:12px!important}.puzzle-guide .guide-count{font-size:11px!important}}@media (orientation:landscape) and (width<=900px){.puzzle-guide .guide-portrait{width:90px!important;height:112px!important}.puzzle-guide .guide-bubble{height:108px;width:min(480px,100vw - 96px)!important;bottom:8px!important;left:86px!important;right:auto!important}}@media (orientation:landscape) and (height<=550px){.puzzle-guide .guide-text{font-size:16px!important;line-height:1.35!important}.puzzle-guide .guide-bubble{padding-top:10px!important;padding-bottom:10px!important}#app.has-puzzle-guide .device-goal b{font-size:27px!important}#app.has-puzzle-guide .device-goal small{font-size:12px!important}#app.has-puzzle-guide .mechanism-heading h1{font-size:20px!important}#app.has-puzzle-guide .has-objective .goal-readouts{gap:7px 12px}}@media (orientation:landscape) and (width<=900px) and (height<=550px){body:has(.puzzle-closeup:is([data-puzzle=central],[data-puzzle=tribowl],[data-puzzle=incheon-bridge],[data-puzzle=artcenter],[data-puzzle=paeru],[data-puzzle=hongye],[data-puzzle=noodle],[data-puzzle=window])) .gesture-demo.puzzle-guide .guide-bubble{height:calc(100dvh - 182px);width:calc(23vw - 33px)!important;padding:10px 27px 10px 10px!important;bottom:108px!important;left:10px!important;right:auto!important}body:has(.puzzle-closeup:is([data-puzzle=central],[data-puzzle=tribowl],[data-puzzle=incheon-bridge],[data-puzzle=artcenter],[data-puzzle=paeru],[data-puzzle=hongye],[data-puzzle=noodle],[data-puzzle=window])) .gesture-demo.puzzle-guide .guide-portrait{width:95px!important;height:103px!important;bottom:0!important;left:32px!important}body:has(.puzzle-closeup[data-puzzle=window][data-difficulty=easy]) .gesture-demo.puzzle-guide .guide-bubble{height:104px;left:12px!important;top:calc(var(--guide-menu-edge,56px) + 4px)!important;width:calc(100vw - 110px)!important;bottom:auto!important}}#app.has-puzzle-toolbar.has-puzzle-dock .adventure-hud.has-game-tools{min-height:52px;padding:2px 10px;padding-top:max(2px,env(safe-area-inset-top));grid-template-columns:44px minmax(0,1fr) auto;gap:6px}#app.has-puzzle-toolbar.has-puzzle-dock .adventure-hud>button{grid-area:1/1}#app.has-puzzle-toolbar.has-puzzle-dock .adventure-hud>span{grid-area:1/2;font-size:15px}#app.has-puzzle-toolbar.has-puzzle-dock .adventure-hud>nav{grid-area:1/3}#app.has-puzzle-toolbar.has-puzzle-dock .adventure-hud button{flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px}#app.has-puzzle-toolbar.has-puzzle-dock .adventure-hud .ui-glyph{width:36px;height:36px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar{z-index:90;bottom:max(4px,env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 16px);height:64px;box-shadow:none;background:0 0;border:0;justify-content:center;align-items:center;gap:clamp(8px,4vw,28px);margin:0;padding:0 12px;display:flex;position:fixed;left:50%;transform:translate(-50%)}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar>button,#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more>summary{cursor:pointer;color:#25434d;background:#fff9e9ed;border:0;border-radius:12px;grid-template-rows:32px 18px;align-content:center;place-items:center;gap:2px;width:66px;min-width:44px;min-height:60px;padding:4px;list-style:none;display:grid;box-shadow:0 2px #27454e33}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar .ui-glyph{width:32px;height:32px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar .tool-label,#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more summary span:last-child{text-shadow:none;-webkit-text-stroke:0;color:#25434d;white-space:nowrap;font-size:12px;font-weight:800;line-height:18px;display:block}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more summary span:first-child{letter-spacing:2px;font-size:25px;line-height:30px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more summary::-webkit-details-marker{display:none}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more{position:relative}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more-panel{grid-template-columns:repeat(2,minmax(88px,1fr));gap:8px;min-width:216px;padding:12px;display:grid;position:absolute;bottom:72px;right:0}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more-panel button{place-items:center;gap:4px;min-height:62px;padding:6px;display:grid}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-toolbar button:disabled{opacity:.4}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-toolbar :is(button,summary):focus-visible{outline-offset:2px;outline:3px solid #167d95}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup{height:100dvh;min-height:0;padding:calc(var(--game-menu-height,52px) + 4px) 10px calc(76px + env(safe-area-inset-bottom));scroll-padding-bottom:80px;overflow:auto}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-box{max-width:1180px;height:100%;min-height:0;box-shadow:none;background:#fff9ebeb;border:0;border-radius:14px;grid-template-rows:auto auto minmax(180px,1fr) auto auto;grid-template-columns:minmax(0,1fr);gap:5px;padding:10px 8px 5px;display:grid}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-heading{grid-area:1/1;justify-content:space-between;align-items:center;gap:8px;min-height:26px;margin:0;padding:0 4px;display:flex}#app.has-puzzle-toolbar.has-puzzle-dock .mechanism-heading h1{margin:0;font-size:clamp(18px,2.3vw,25px);line-height:1.25}#app.has-puzzle-toolbar.has-puzzle-dock .mechanism-heading>span{white-space:nowrap;margin:0;font-size:12px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-goals{flex-direction:column;grid-area:2/1;justify-content:center;gap:4px;min-height:0;margin:0;padding:2px 0;display:flex}#app.has-puzzle-toolbar.has-puzzle-dock .device-goals .goal-readouts{justify-content:center;gap:16px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-objective{flex-direction:row;justify-content:center;gap:6px;margin:0;font-size:14px;line-height:1.3;display:flex;position:static}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-objective strong{font-size:14px;line-height:1.3}#app.has-puzzle-toolbar.has-puzzle-dock .device-goal small{font-size:12px;line-height:1.2}#app.has-puzzle-toolbar.has-puzzle-dock .device-goal b{font-size:24px;line-height:1.1}#app.has-puzzle-toolbar.has-puzzle-dock .device-goal em,#app.has-puzzle-toolbar.has-puzzle-dock .device-goal i{font-size:14px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-body{aspect-ratio:auto;grid-area:3/1;align-self:stretch;place-items:center;width:100%;height:100%;min-height:0;padding:0;display:grid;overflow:visible}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .direct-device{width:100%;height:100%;min-height:0;max-height:none}#app.has-puzzle-toolbar.has-puzzle-dock .mechanism-status{text-align:center;color:#2b5159;grid-area:4/1;min-height:18px;margin:0;padding:2px 4px;font-size:13px;line-height:1.35;display:block;position:static}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note{grid-area:5/1;min-height:0;max-height:36px;margin:0;padding:0 4px;font-size:12px;line-height:18px;position:static;overflow:auto;transform:none}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note:empty,#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .one-rule,#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-controls:empty{display:none}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-solved{inset:calc(var(--game-menu-height,52px) + 6px) 10px 76px}@media (orientation:landscape) and (height<=550px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup{padding:calc(var(--game-menu-height,48px) + 2px) 82px 8px 8px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar{flex-direction:column;gap:7px;width:68px;height:auto;padding:0;inset:55px 6px 8px auto;transform:none}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar>button,#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more>summary{grid-template-rows:28px 16px;width:62px;height:52px;min-height:52px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar .ui-glyph{width:28px;height:28px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more-panel{bottom:0;right:72px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-box{grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(145px,23%) minmax(0,1fr);gap:5px 8px;padding:7px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-heading{grid-area:1/1;display:block}#app.has-puzzle-toolbar.has-puzzle-dock .mechanism-heading h1{font-size:18px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-goals{grid-area:2/1;align-self:start}#app.has-puzzle-toolbar.has-puzzle-dock .goal-readouts{flex-wrap:wrap;gap:8px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-body{grid-area:1/2/5/3}#app.has-puzzle-toolbar.has-puzzle-dock .mechanism-status{text-align:left;grid-area:3/1;align-self:end;font-size:12px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note{grid-area:4/1}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-solved{inset:56px 82px 8px 8px}}@media (width<=360px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar{gap:9px;padding:0 6px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar>button,#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more>summary{width:60px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup{padding-left:6px;padding-right:6px}}@media (prefers-reduced-motion:reduce){#app.has-puzzle-toolbar.has-puzzle-dock *{scroll-behavior:auto}}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-goals:not(.has-objective){flex-direction:row;gap:clamp(12px,5vw,32px)}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-box:before{display:none}@media (orientation:portrait){#app.has-puzzle-guide.has-puzzle-dock .puzzle-closeup{padding-bottom:166px}#app.has-puzzle-guide.has-puzzle-dock>.puzzle-toolbar{visibility:hidden}}@media (orientation:landscape) and (height<=550px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-goals:not(.has-objective){flex-wrap:wrap;justify-content:flex-start;gap:8px 12px}}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-box{background:0 0}#app.has-puzzle-toolbar.has-puzzle-dock .mechanism-heading,#app.has-puzzle-toolbar.has-puzzle-dock .device-goals{background:#fff9ebed;border-radius:10px;padding:5px 8px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .direct-device{background:#fff9ebed;border-radius:14px;width:100%;height:auto;max-height:100%}#app.has-puzzle-toolbar.has-puzzle-dock .mechanism-status{background:#fff9ebed;border-radius:8px;padding:5px 8px}#app.has-puzzle-toolbar.has-puzzle-dock .scene-note:not(:empty){background:#fff9ebed;border-radius:8px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-body{box-shadow:none;background:0 0;border:0}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-box{width:100%!important;height:100%!important;margin:0 auto!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .direct-device{aspect-ratio:auto;max-width:100%}.adventure-hud>span:has(.difficulty-control){justify-content:center;align-items:center;gap:8px;min-width:0;display:flex}.adventure-hud .location-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.difficulty-control{text-shadow:none;color:#25434d;flex:none;align-items:center;gap:5px;font-size:12px;display:flex}.difficulty-control>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.difficulty-control select{appearance:auto;color:#25434d;min-width:82px;max-width:92px;min-height:44px;font:600 14px var(--ui-font);cursor:pointer;background:#fffdf7;border:1px solid #a8beb9;border-radius:12px;padding:6px 5px}.difficulty-control select:focus-visible{outline-offset:2px;outline:3px solid #167d95}@media (width<=380px){.adventure-hud>span:has(.difficulty-control){gap:3px}.difficulty-control select{min-width:72px;font-size:13px}}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note:not(:empty){display:block}@media (orientation:portrait) and (width<=700px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup{overscroll-behavior-y:contain;scroll-padding-top:calc(var(--game-menu-height,52px) + 12px);scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom));padding-bottom:calc(88px + env(safe-area-inset-bottom))}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-box{grid-template-rows:auto auto minmax(var(--mobile-board-height,300px),1fr) auto auto;min-height:100%;height:auto!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-body{min-height:var(--mobile-board-height,300px);height:100%}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-status{margin-top:8px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note:not(:empty){max-height:none;padding:5px 8px;font-size:13px;line-height:1.5;overflow:visible}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar{background:#fff9ebf5;border-radius:16px;box-shadow:0 -2px 12px #27454e18}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .fleet-board{align-self:start}}@media (orientation:landscape) and (height<=550px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup{padding-left:max(8px,env(safe-area-inset-left));padding-right:calc(82px + env(safe-area-inset-right))}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar{right:max(6px,env(safe-area-inset-right))}}.difficulty-welcome,.difficulty-resume{box-sizing:border-box;width:100%;max-width:680px;max-height:100dvh;margin:auto;padding:clamp(20px,5vw,48px);overflow:auto}.difficulty-resume{max-height:calc(100dvh - 64px);margin-top:64px}.difficulty-welcome h1,.difficulty-resume h1{font-size:clamp(24px,5vw,36px);line-height:1.35}.difficulty-welcome p,.difficulty-resume p,.global-difficulty-setting p{line-height:1.6}.difficulty-options{border:0;gap:12px;margin:24px 0;padding:0;display:grid}.difficulty-options legend{margin-bottom:10px;font-weight:700}.difficulty-options label{cursor:pointer;align-items:center;gap:14px;min-height:60px;padding:16px;display:flex}.difficulty-options label:has(input:checked){border-color:#167d95}.difficulty-options input{accent-color:#167d95;flex:none;width:24px;height:24px}.difficulty-options strong,.difficulty-options small{display:block}.difficulty-options strong{font-size:20px}.difficulty-options small{margin-top:4px;font-size:15px;line-height:1.5}.difficulty-welcome button,.difficulty-resume button{white-space:normal;min-height:48px;font:inherit;cursor:pointer;margin:6px;padding:12px 20px}.global-difficulty-setting{padding:16px}.global-difficulty-setting .difficulty-control{font-size:16px}.global-difficulty-setting .difficulty-control select{min-width:160px;max-width:none;font-size:18px}.difficulty-badge{color:#25434d;text-shadow:none;white-space:nowrap;background:#fff9eb;border-radius:8px;margin-left:8px;padding:4px 7px;font-size:13px;display:inline-block}.difficulty-options input:focus-visible,.difficulty-welcome button:focus-visible,.difficulty-resume button:focus-visible{outline-offset:3px;outline:3px solid #167d95}@media (height<=500px){.difficulty-welcome{padding:16px 24px}.difficulty-options{grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}.difficulty-options label{gap:6px;padding:10px}.difficulty-options small{font-size:13px}}#app.has-puzzle-dock .puzzle-closeup.has-accessible-device .mechanism-box{min-height:100%;height:auto!important}#app.has-puzzle-dock .puzzle-closeup .device-body.accessible-device-workspace{min-height:var(--device-board-height,300px);overscroll-behavior:contain;scrollbar-width:thin;place-items:start;height:auto;display:block;overflow:auto}#app.has-puzzle-dock .puzzle-closeup .accessible-device-workspace>.direct-device{min-width:var(--device-min-width,0px);overflow:visible;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;aspect-ratio:var(--device-aspect)!important}@media (orientation:portrait){#app.has-puzzle-dock .puzzle-closeup[data-puzzle=muui-bridge] .device-body.accessible-device-workspace{height:var(--device-board-height);min-height:var(--device-board-height);place-items:center;display:grid;overflow:auto!important}#app.has-puzzle-dock .puzzle-closeup[data-puzzle=muui-bridge] .accessible-device-workspace>.direct-device{min-width:0;width:min(100cqh,calc(100cqw * var(--rotated-device-ratio)))!important;aspect-ratio:var(--device-aspect)!important}}@media (orientation:portrait) and (width>=701px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-difficulty]:not([data-difficulty=medium]){scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom));padding-bottom:calc(88px + env(safe-area-inset-bottom))}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-difficulty]:not([data-difficulty=medium]) .mechanism-box{grid-template-rows:auto auto minmax(var(--mobile-board-height,300px),1fr) auto auto;min-height:100%;height:auto!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-difficulty]:not([data-difficulty=medium]) .device-body{min-height:var(--mobile-board-height,300px);height:auto}}@media (orientation:landscape){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup{scroll-padding-top:calc(var(--game-menu-height,52px) + 12px);scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom));overscroll-behavior-y:contain}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-box{min-height:100%;height:auto!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-body:not(:has(>svg)){align-content:start;height:auto;min-height:min-content}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note:not(:empty){max-height:none;overflow:visible}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=window] .device-body{container-type:inline-size}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace{--unit:clamp(40px,calc((100dvh - 210px)/var(--rows,4)),75px);height:auto}}@media (orientation:landscape) and (height>=551px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=tribowl] .device-body{min-height:440px}}#app.has-puzzle-dock .puzzle-closeup .device-body.accessible-device-workspace{overscroll-behavior-y:auto}.puzzle-closeup[data-puzzle=tribowl] .device-body{overflow:visible;container-type:size}.stack-workspace{--ink:#263b44;--unit:clamp(12px,calc((100cqh - 120px)/7),34px);--slot:clamp(54px,calc((100cqh - 60px)/2.6),112px);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(12px,2.4vw,32px);width:min(100%,1080px);height:100%;margin:auto;padding:4px 12px;display:grid}.stack-cards{align-content:center;gap:clamp(6px,1.4cqh,14px);display:grid}.stack-card{border:3px solid var(--ink);background:#fff8e5;border-radius:6px;grid-template-rows:auto auto;grid-template-columns:auto auto;justify-content:start;align-items:end;gap:6px 10px;margin:0;padding:clamp(5px,1.2cqh,10px) clamp(7px,1.4cqh,12px);display:grid;box-shadow:0 4px #263b4426}.stack-card.met{background:#eef8df;border-color:#3f7f5f}.stack-card figcaption{font:22px var(--ui-font);color:var(--ink);grid-column:1/3;align-items:baseline;gap:6px;display:flex}.stack-card figcaption small{color:#56707a;font-size:13px}.stack-card.met figcaption small{color:#2f7050}.stack-grid{grid-template-columns:repeat(3,var(--cell));grid-template-rows:repeat(3,var(--cell));border:2px solid var(--ink);background:#dccfae;border-radius:3px;gap:2px;padding:3px;display:grid}.stack-goal{--cell:var(--unit)}.stack-current{--cell:calc(var(--unit)*.48);opacity:.95;align-self:end}.stack-grid span{background:var(--c);border-radius:2px;box-shadow:inset 0 -3px #0000002a}.stack-grid span.empty{box-shadow:none;background:#f5efdc}.stack-want.empty{background:repeating-linear-gradient(45deg,#f5efdc 0 4px,#e9dfc4 4px 8px)}.stack-now:not(.ok):not(.empty),.stack-now.empty:not(.ok){outline-offset:-2px;outline:2px solid #d98b6f}.stack-board{justify-content:center;align-items:center;min-width:0;height:100%;display:flex}.stack-board-art{touch-action:none;-webkit-user-select:none;user-select:none;width:auto;max-width:100%;height:min(100cqh - 8px,520px);overflow:visible}.stack-cell{cursor:pointer;outline:none}.stack-cell-face{fill:#0000;stroke:#0000;stroke-width:3px}.stack-cell:hover .stack-cell-face,.stack-cell:focus-visible .stack-cell-face{fill:#ffffff40;stroke:#fff8e5}.stack-cell.preview-good .stack-cell-face{fill:#6fbf9f99;stroke:#fff8e5;stroke-dasharray:6 4}.stack-cell.preview-bad .stack-cell-face{fill:#cf846e99;stroke:#763e32;stroke-dasharray:6 4}.stack-voxel{cursor:grab}.stack-voxel.lifting{opacity:.45}.stack-eye text{font:18px var(--ui-font);fill:var(--ink,#263b44)}.stack-shelf{align-content:center;gap:10px;display:grid}.stack-tray{grid-template-columns:repeat(2,calc(var(--slot)*1.05));gap:8px;display:grid}.stack-slot{height:var(--slot);background:#f6eed6a8;border:2px dashed #9f8f6e;border-radius:4px;place-items:center;padding:4px;display:grid;position:relative}#app .stack-piece{width:100%;min-height:0;box-shadow:none;cursor:grab;touch-action:none;background:0 0;border:0;border-radius:4px;justify-items:center;gap:2px;padding:4px;display:grid}#app .stack-piece.selected{outline-offset:2px;background:#fffdf3;outline:3px solid #2f8f9d}#app .stack-piece.drag-origin{opacity:.35}.stack-piece-art{width:auto;max-width:100%;height:auto;max-height:calc(var(--slot) - 30px);pointer-events:none}.stack-piece-name{font:14px var(--ui-font);color:var(--ink,#263b44)}#app .stack-turn{width:34px;height:34px;min-height:34px;font:20px/1 var(--ui-font);color:#263b44;background:#fff8e5;border:2px solid #263b44;border-radius:4px;place-items:center;padding:0;display:grid;position:absolute;top:3px;right:3px;box-shadow:0 2px #263b4430}.stack-slot-empty{font:24px var(--ui-font);color:#6f9a78}.stack-help{color:#4f6770;text-align:center;margin:0;font-size:13px;line-height:1.45}.stack-ghost{z-index:60;pointer-events:none;filter:drop-shadow(0 8px 6px #263b4440);position:fixed;transform:translate(-50%,-60%)}@media (orientation:portrait){.puzzle-closeup[data-puzzle=tribowl] .device-body{container-type:normal}.stack-workspace{--unit:clamp(18px,4.6vw,34px);--slot:clamp(64px,13vw,104px);grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"board board""cards shelf";align-content:center;place-items:start center;row-gap:18px}.stack-board{grid-area:board}.stack-cards{grid-area:cards}.stack-shelf{grid-area:shelf}.stack-board{width:100%}.stack-board-art{width:min(100%,560px);height:auto}.stack-cards{justify-self:end}.stack-shelf{justify-self:start}}@media (orientation:landscape) and (height<=550px){.stack-workspace{gap:12px;padding:0 6px}.stack-card figcaption{font-size:16px}.stack-card figcaption small,.stack-piece-name,.stack-help{display:none}#app .puzzle-closeup[data-puzzle=tribowl] .device-body{padding-top:0}}@media (orientation:portrait) and (height<=760px){.stack-workspace{--unit:15px;--slot:58px;row-gap:8px;padding:0 4px}.stack-board-art{width:auto;height:min(32dvh,230px)}.stack-card figcaption{font-size:15px}.stack-card figcaption small,.stack-piece-name,.stack-help{display:none}.stack-workspace{grid-template-columns:1fr;grid-template-areas:"board""cards""shelf"}.stack-cards{grid-template-columns:auto auto;justify-self:center;gap:6px}.stack-shelf{justify-self:center}.stack-tray{grid-template-columns:repeat(4,var(--slot))}}.stack-comparison{justify-items:center;gap:4px;display:grid}.stack-view-label{color:#4d6269;font-size:12px;font-weight:700}#app .stack-card{box-shadow:none;border-width:2px;gap:6px 10px;padding:8px}.stack-card figcaption{font-size:18px}.stack-card figcaption small{font-size:12px}#app .stack-turn{border-width:1px;border-radius:6px;justify-content:center;align-items:center;gap:4px;width:100%;height:44px;min-height:44px;font-size:24px;display:flex;position:static}.stack-turn small{font-size:11px}.stack-slot{background:0 0;border:0;grid-template-rows:minmax(56px,1fr) 44px;gap:5px;height:auto;min-height:114px;padding:0}#app .stack-piece{align-content:center;min-height:56px;padding:4px}.stack-piece-art{max-height:55px}#app .stack-help{min-height:20px;font-size:13px;line-height:1.4}.stack-slot-empty{grid-row:1/3}@media (orientation:portrait){#app .stack-workspace{--unit:18px;--slot:72px;grid-template:"cards""board"minmax(210px,1fr)"shelf"/1fr;align-content:start;gap:8px;width:100%;height:100%;min-height:510px;padding:4px}#app .stack-cards{grid-template-columns:repeat(2,minmax(0,1fr));justify-self:center;gap:12px;width:min(100%,350px)}#app .stack-card{grid-template-columns:1fr 1fr;justify-content:center;gap:4px 8px}#app .stack-card figcaption{grid-column:1/3;font-size:17px}.stack-card figcaption small{display:none}#app .stack-current{--cell:var(--unit)}#app .stack-board{width:100%;height:100%;min-height:0}#app .stack-board-art{width:100%;height:100%;max-height:320px}#app .stack-shelf{justify-self:center;gap:5px;width:100%;max-width:440px}#app .stack-tray{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#app .stack-piece-name{font-size:12px;display:block}.stack-piece-art{max-height:48px}#app .stack-help{margin:0;font-size:12px;display:block}}@media (orientation:landscape) and (height<=550px){#app .stack-workspace{--unit:15px;--slot:66px;gap:12px;height:100%;min-height:225px;padding:4px}#app .stack-cards{gap:6px}.stack-card figcaption{font-size:15px}#app .stack-card{gap:3px 6px;padding:4px}.stack-view-label{font-size:10px}#app .stack-shelf{gap:4px}.stack-tray{gap:6px}#app .stack-slot{grid-template-rows:54px 44px;min-height:102px}.stack-piece-art{max-height:45px}#app .stack-board-art{height:100%;max-height:320px}.stack-help{display:none!important}}@media (orientation:portrait){#app .stack-workspace{--unit:14px;grid-template-rows:auto minmax(280px,1fr) auto;gap:6px;min-height:530px}#app .stack-card{gap:3px 8px;padding:5px 8px}#app .stack-card figcaption{font-size:16px}.stack-view-label{font-size:11px}#app .stack-board-art{max-height:none}}@media (orientation:landscape) and (height<=550px){#app.has-puzzle-dock .puzzle-closeup:is([data-puzzle=tribowl],[data-puzzle=window],[data-puzzle=noodle]) .mechanism-box{grid-template-rows:38px minmax(200px,1fr) 20px;grid-template-columns:minmax(180px,1fr) auto;gap:4px 8px}#app.has-puzzle-dock .puzzle-closeup:is([data-puzzle=tribowl],[data-puzzle=window],[data-puzzle=noodle]) .mechanism-heading{grid-area:1/1;justify-content:flex-start;gap:12px;display:flex}#app.has-puzzle-dock .puzzle-closeup:is([data-puzzle=tribowl],[data-puzzle=window],[data-puzzle=noodle]) .device-goals{flex-direction:row;grid-area:1/2;gap:8px;display:flex}#app.has-puzzle-dock .puzzle-closeup:is([data-puzzle=tribowl],[data-puzzle=window],[data-puzzle=noodle]) .device-goals .puzzle-objective{display:none}#app.has-puzzle-dock .puzzle-closeup:is([data-puzzle=tribowl],[data-puzzle=window],[data-puzzle=noodle]) .device-goal b{font-size:19px}#app.has-puzzle-dock .puzzle-closeup:is([data-puzzle=tribowl],[data-puzzle=window],[data-puzzle=noodle]) .device-body{grid-area:2/1/3/3}#app.has-puzzle-dock .puzzle-closeup:is([data-puzzle=tribowl],[data-puzzle=window],[data-puzzle=noodle]) .mechanism-status{text-align:center;grid-area:3/1/4/3;min-height:0;font-size:12px}#app .stack-workspace{grid-template-rows:minmax(0,1fr)}#app .stack-board{height:100%;min-height:0}#app .stack-board-art{width:100%;height:100%;max-height:100%}#app .stack-current{--cell:var(--unit)}#app .stack-workspace{gap:8px}}@media (orientation:portrait){#app .stack-workspace{grid-template-rows:auto minmax(0,1fr) auto;min-height:0}}.stack-board{position:relative}.stack-placement[hidden]{display:none!important}.stack-placement{touch-action:none;background:#fff8e5;border-radius:12px;grid-template-rows:auto minmax(144px,1fr) 24px;align-content:center;justify-items:center;gap:4px;max-height:360px;margin:auto;padding:4px 24px;display:grid;position:absolute;inset:0}.stack-placement-title{text-align:center;color:#263b44;font-size:16px;line-height:1.4}.stack-placement-grid{grid-template-rows:repeat(3,minmax(44px,1fr));grid-template-columns:repeat(3,minmax(44px,1fr));gap:4px;width:100%;max-width:300px;min-height:144px;max-height:280px;display:grid}#app .stack-placement-cell{background:var(--top);color:#263b44;width:100%;min-width:44px;height:100%;min-height:44px;box-shadow:none;touch-action:none;border:2px solid #263b44;border-radius:6px;padding:0;font-size:20px}#app .stack-placement-cell.preview-good{outline-offset:-5px;outline:3px solid #238066}#app .stack-placement-cell.preview-bad{outline-offset:-5px;outline:3px solid #b4422e}.stack-placement-front,.stack-placement-side{color:#263b44;font-size:16px;font-weight:700}.stack-placement-side{position:absolute;top:50%;right:2px}#app .stack-workspace .stack-placement .stack-placement-cell{text-shadow:none;background:var(--top)!important;border:2px solid #263b44!important}#app .stack-workspace .stack-placement .stack-placement-goal{outline:3px dashed var(--goal);outline-offset:-6px}.stack-workspace.placing .stack-board-art{visibility:visible!important}.stack-workspace.placing .stack-cell-face{stroke:#7d9b9255;stroke-width:1.5px}.stack-board-art [data-stack-landing-preview] polygon{stroke-dasharray:4 2;stroke-width:2.6px;filter:brightness(1.12)}#app .stack-help{height:3.1em;min-height:3.1em;overflow:hidden}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-piece-art{max-width:100%;height:48px;max-height:48px}@media (orientation:landscape) and (height>=650px){#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-slot{grid-template-rows:80px 44px;height:128px;min-height:128px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-piece-art{height:64px;max-height:64px}}@media (orientation:portrait){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=tribowl] .stack-workspace{--unit:clamp(11px,2.4cqw,14px);grid-template:"cards board"minmax(0,1fr)"shelf shelf"150px/clamp(114px,24cqw,132px) minmax(0,1fr);align-content:stretch;align-items:center;gap:8px;width:100%;height:100%;min-height:0;margin:0;padding:4px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-cards{grid-template-columns:minmax(0,1fr);place-self:center stretch;gap:8px;width:100%}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-card{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 6px;min-width:0;padding:5px 4px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-card figcaption{font-size:15px;line-height:1.2}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-view-label{font-size:11px;line-height:1.2}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-board{width:100%;min-width:0;height:100%;min-height:0}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-board-art{width:100%;max-width:100%;height:100%;max-height:100%}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-shelf{grid-template-rows:118px 30px;align-content:stretch;gap:2px;width:100%;max-width:none;height:150px;min-height:0}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-tray{grid-template-columns:none;grid-auto-columns:minmax(44px,1fr);grid-auto-flow:column;gap:6px;height:118px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-slot{grid-template-rows:70px 44px;gap:4px;height:118px;min-height:118px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace .stack-help{height:30px;min-height:30px;margin:0;font-size:12px;line-height:1.25;display:block}}#app .puzzle-closeup .mechanism-box{width:calc(100% - 24px)!important;height:calc(100% - 14px)!important;margin:6px auto 8px!important}.puzzle-closeup .mechanism-box:before{border-radius:8px;inset:-14px -20px}#app .mechanism-heading{align-items:baseline}#app .puzzle-closeup .device-goals{margin-block:2px 6px}.noodle-portions>span{border-radius:6px}.order-strand{border-radius:4px}@media (orientation:landscape) and (height<=550px){#app .puzzle-closeup .mechanism-box{width:calc(100% - 12px)!important;height:calc(100% - 6px)!important;margin:3px auto!important}.puzzle-closeup .mechanism-box:before{border-radius:6px;inset:-8px -12px -6px}}@media (orientation:portrait){#app .puzzle-closeup .mechanism-box{width:calc(100% - 16px)!important}.puzzle-closeup .mechanism-box:before{inset:-14px -16px}#app .puzzle-closeup .device-body{flex-direction:column;justify-content:center;align-self:center;display:flex}#app .puzzle-closeup .device-body>*{flex:none}}.settings .qa-entry{border:2px dashed #7d8f94;border-radius:6px;margin-top:14px;padding:10px 12px}.settings .qa-entry h2{margin:0 0 4px;font-size:18px}.settings .qa-entry p{margin:0 0 6px;font-size:13px}.settings .qa-entry-link{word-break:break-all;color:#1f6c78;font-weight:800}#app>.completion-overlay{z-index:100;width:auto;height:auto;max-height:none;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overscroll-behavior:contain;touch-action:pan-y;color:#fff8df;text-align:center;box-sizing:border-box;background:linear-gradient(155deg,#102d38,#17222d 70%);border:0;border-radius:0;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:10px;margin:0;display:flex;position:fixed;inset:0;overflow:auto}#app .stage-celebration{width:100%;max-width:600px;text-shadow:none;flex:none;margin:0 auto}.celebration-topline{text-align:left;color:#d8e5e5;justify-content:space-between;align-items:center;gap:8px;min-height:44px;font-size:14px;display:flex}#app [data-celebration-skip]{color:#fff8df;background:#ffffff12;border:1px solid #ffffff40;border-radius:24px;min-width:110px;min-height:44px;padding:8px 12px;font-size:14px}#app [data-celebration-skip][hidden]{display:none}#app .celebration-art{isolation:isolate;pointer-events:none;width:min(100%,440px);height:clamp(175px,30dvh,280px);margin:5px auto 0;position:relative;overflow:visible}#app .celebration-art *{pointer-events:none;animation:none}.reward-chest{width:64%;aspect-ratio:var(--chest-ratio);isolation:isolate;position:absolute;bottom:6%;left:18%}.reward-chest img{object-fit:fill;width:100%;height:100%;position:absolute;inset:0}.reward-chest-body{clip-path:polygon(0 var(--hinge),100% var(--hinge),100% 100%,0 100%)}.reward-chest-lid{clip-path:polygon(0 0,100% 0,100% var(--hinge),0 var(--hinge));transform-origin:50% var(--hinge);z-index:2}.reward-chest-rim{z-index:3}.flying-fragment{object-fit:contain;z-index:5;filter:drop-shadow(0 3px 2px #050f1c);width:31%;height:33%;position:absolute;top:35%;left:50%}#app .celebration-guide{z-index:6;object-fit:contain;object-position:bottom;width:26%;height:76%;bottom:0;right:0}#app .celebration-rays{background:radial-gradient(#f5ce79a0,#0000 68%);border-radius:50%;inset:0 8%}#app .celebration-spark{z-index:4;color:#ffe9b0;font-size:20px;top:40%;left:50%}#app .stage-celebration h2{color:#fff3ce;text-shadow:none;margin:6px 0;font-size:clamp(25px,5vw,36px);line-height:1.2}#app .celebration-reward{color:#edf4ef;min-height:24px;margin:8px 0;font-size:16px!important}.reward-collection{background:#0e1b23;border:1px solid #e2c99066;border-radius:16px;max-width:360px;margin:16px auto 0;padding:12px 14px;font-size:14px}.reward-slots{justify-content:center;gap:10px;margin-top:8px;display:flex}.reward-slot{background:#ffffff06;border:1px dashed #ffffff40;border-radius:8px;place-items:center;width:56px;height:44px;display:grid}.reward-slot img{object-fit:contain;opacity:.12;filter:grayscale();width:90%;height:38px}.reward-slot.owned img{opacity:1;filter:none}.reward-slot.incoming:not(.landed) img{visibility:hidden}.reward-slot.landed{background:#ffe19b22;border:1px solid #f2d291}#app .celebration-place{text-align:left;color:#e8f0ef;border-top:1px solid #ffffff26;margin-top:14px;padding:16px 0 0;line-height:1.6}#app .celebration-place strong{color:#fff0cb;font-size:18px}#app .celebration-place p{word-break:keep-all;overflow-wrap:anywhere;margin:8px 0;line-height:1.65;font-size:16px!important}.landmark-details summary{cursor:pointer;color:#ffe3a8;align-content:center;min-height:44px;display:list-item}.landmark-details a{color:#b6e6ec;align-content:center;min-height:44px;text-decoration:underline;display:inline-block}.collection-complete-note{color:#ffe4ab;font-size:16px;line-height:1.6}#app .mechanism-solved>button,#app .assembly-celebration>button{flex:none;align-self:center;width:100%;max-width:600px;min-height:48px;margin:4px auto}#app .rhythm-cover-content:has(.stage-celebration) .rhythm-cover-actions{flex:none;align-self:center;width:100%;max-width:600px;min-height:48px;margin:4px auto}#app .mechanism-solved>button,#app .assembly-celebration>button{color:#fff4d9;background:#ffffff0c;border:1px solid #e6d8b770;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:6px 12px;font-size:17px;display:flex}#app .mechanism-solved>button span,#app .assembly-celebration>button span{color:inherit;text-shadow:none}#app .mechanism-solved>button .ui-glyph,#app .assembly-celebration>button .ui-glyph{width:34px;height:34px}.final-join{z-index:3;position:absolute;inset:3% 18%}.final-join img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.final-ring{border:3px solid #ffe3a0;border-radius:50%;position:absolute;inset:5% 20%}#app .second-guide{left:-2%;right:auto}#app [data-celebration-mode=final] .celebration-art{height:clamp(220px,38dvh,350px)}#app [data-celebration-mode=final] .celebration-rays{background:conic-gradient(from 10deg,#0000,#edca7650,#0000,#d7edc955,#0000,#edca7650,#0000)}.repeat-treasure{object-fit:contain;width:50%;height:80%;position:absolute;inset:10% 25%}#app .stage-celebration [hidden]{display:none!important}#app .stage-celebration :focus-visible{outline-offset:3px;outline:3px solid #ffe19b}#app .stage-celebration h2:focus{outline:none}@media (width<=360px){#app .celebration-art{height:185px}.reward-slot{width:50px}.reward-slots{gap:8px}}@media (height<=500px) and (orientation:landscape){#app .celebration-art{width:320px;height:170px}#app [data-celebration-mode=final] .celebration-art{height:210px}#app .stage-celebration{max-width:540px}}@media (prefers-reduced-motion:reduce){#app .celebration-spark{display:none}.reward-chest-lid{transform:none!important}}#app>.completion-overlay.mechanism-solved{max-height:none;inset:0}#app>.completion-overlay .stage-celebration{margin-top:0}.place-kind{color:#b8d9df;margin-bottom:4px;font-size:13px;display:block}#app .landmark-details h3{color:#ffdfa0;margin:16px 0 4px;font-size:17px}#app .celebration-place .place-safety{color:#f6daa9;font-size:14px!important}@media (width>=760px) and (orientation:landscape){#app>.completion-overlay{gap:8px}#app .stage-celebration{grid-template-rows:auto auto auto auto auto;grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr);align-items:start;column-gap:32px;max-width:1080px;display:grid}#app .celebration-topline{grid-area:1/1/auto/-1}#app .celebration-art{grid-area:2/1;width:min(100%,280px);height:clamp(185px,28dvh,220px);margin:0 auto}#app [data-celebration-mode=final] .celebration-art{height:clamp(170px,31dvh,250px)}#app .stage-celebration h2{grid-area:3/1;margin:4px 0;font-size:28px}#app .celebration-reward{grid-area:4/1;margin:4px 0}#app .reward-collection{grid-area:5/1;margin:6px auto 0;padding:8px 14px}#app .celebration-reading{grid-area:2/2/6;align-self:center;min-width:0}#app .celebration-place{border-top:0;margin:0;padding:0}#app .celebration-place p{line-height:1.65;font-size:17px!important}#app .collection-complete-note{margin:8px 0;font-size:16px}#app .rhythm-cover-content:has(.stage-celebration){width:100%;max-width:1080px}#app .rhythm-cover-content:has(.stage-celebration) .rhythm-cover-actions{margin-top:8px}#app .rhythm-workbench .rhythm-screen-cover:has(.stage-celebration){z-index:100;background:#173e4b;justify-content:flex-start;align-items:center;padding:12px 20px;position:fixed;inset:0}#app .rhythm-screen-cover .rhythm-cover-content:has(.stage-celebration){gap:6px;width:100%;max-width:1080px}#app .rhythm-cover-content:has(.stage-celebration)>.rhythm-cover-eyebrow{display:none}#app .rhythm-cover-content:has(.stage-celebration)>h2{display:none}#app .rhythm-cover-content:has(.stage-celebration)>.rhythm-input-help{display:none}#app .rhythm-screen-cover .rhythm-cover-content:has(.stage-celebration) .rhythm-cover-actions{flex-direction:row;justify-content:center;align-items:center;gap:12px;margin:0 auto;display:flex}#app .rhythm-screen-cover .rhythm-cover-content:has(.stage-celebration) button.rhythm-primary{width:auto;min-height:48px;padding:6px 16px;font-size:18px}#app .rhythm-cover-content:has(.stage-celebration) .rhythm-cover-secondary{display:flex}}#app>.rhythm-cover-content.completion-overlay .rhythm-cover-actions{flex-direction:row;justify-content:center;align-items:center;gap:12px;width:100%;max-width:600px;margin:0 auto;display:flex}#app>.rhythm-cover-content.completion-overlay .rhythm-cover-actions button{border:1px solid #adc2b9;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:auto;min-height:48px;padding:6px 14px;font-size:17px;display:flex}#app>.rhythm-cover-content.completion-overlay .rhythm-cover-actions .ui-glyph{width:32px;height:32px}#app>.rhythm-cover-content.completion-overlay .rhythm-cover-actions button span{clip-path:none;width:auto;height:auto;font-size:17px;position:static;overflow:visible}#app>.rhythm-cover-content.completion-overlay>.rhythm-cover-eyebrow,#app>.rhythm-cover-content.completion-overlay>h2,#app>.rhythm-cover-content.completion-overlay>.rhythm-input-help,#app>.rhythm-cover-content.completion-overlay>.rhythm-cover-notice:empty{display:none}#app>.rhythm-cover-content.completion-overlay>p{margin:0;font-size:16px;line-height:1.5}@media (width>=760px) and (orientation:landscape){#app>.rhythm-cover-content.completion-overlay{gap:6px;max-width:none}#app>.completion-overlay:is(.mechanism-solved,.assembly-celebration){flex-flow:wrap;place-content:flex-start center}#app>.completion-overlay:is(.mechanism-solved,.assembly-celebration)>.stage-celebration{flex-basis:100%}#app>.completion-overlay:is(.mechanism-solved,.assembly-celebration)>button{flex:220px;width:auto;max-width:520px;margin:4px 0}}#app .completion-math{text-align:left;color:#e8f0ef;margin:0 0 14px}#app .completion-math strong{color:#ffe3a8;font-size:17px}#app .completion-math p{word-break:keep-all;margin:6px 0;line-height:1.55;font-size:16px!important}@media (width<=480px) and (orientation:portrait){#app .stage-celebration:not([data-celebration-mode=final]) .celebration-art{width:min(100%,280px);height:155px}}:is(.difficulty-welcome,.difficulty-resume,.settings,dialog:not(.gesture-demo),.guide-bubble){color:var(--ui-ink);text-shadow:none}:is(.difficulty-welcome,.difficulty-resume,.settings) :is(p,small,label,h1,h2),dialog:not(.gesture-demo) *{text-shadow:none!important}:is(.difficulty-welcome,.difficulty-resume,.global-difficulty-setting,.qa-entry,.qa-puzzle-intro,.qa-region-card),#app .puzzle-more-panel,dialog:not(.gesture-demo),.guide-bubble{background:var(--ui-paper);border:var(--ui-border);border-radius:var(--ui-radius-panel);box-shadow:var(--ui-shadow)}.guide-bubble{background:var(--ui-paper)!important;border:var(--ui-border)!important;border-radius:var(--ui-radius-panel)!important;box-shadow:var(--ui-shadow)!important}.guide-title,.guide-count{color:var(--ui-muted)!important}#app :is(.difficulty-welcome,.difficulty-resume,.settings,.completion-overlay) button,#app .rhythm-screen-cover button:is(.rhythm-primary,.rhythm-secondary),dialog:not(.gesture-demo) button,.guide-bubble :is(.guide-action,.guide-continue),.qa-puzzle-link{min-height:var(--ui-hit);padding:var(--ui-space-2) var(--ui-space-4);border-radius:var(--ui-radius-control);color:var(--ui-ink);font-size:var(--ui-body);-webkit-text-stroke:0;white-space:normal;cursor:pointer;line-height:1.4;border:var(--ui-border)!important;background:var(--ui-paper-raised)!important;box-shadow:var(--ui-shadow)!important;text-shadow:none!important}#app :is(.difficulty-welcome,.difficulty-resume,.settings,.completion-overlay) button span{color:inherit;text-shadow:none}#app :is(.difficulty-welcome,.difficulty-resume) button:is([data-cmd=choose-difficulty],[data-cmd=preferred-difficulty]),#app .rhythm-screen-cover button.rhythm-primary,dialog:not(.gesture-demo) button[value=yes],.guide-bubble .guide-action{color:var(--ui-ink);font-size:var(--ui-action);background:var(--ui-gold)!important}#app .difficulty-welcome [data-cmd=choose-difficulty]{width:100%;margin:var(--ui-space-4) 0 0;min-height:48px;display:block}#app .settings [data-cmd=reset]{color:var(--ui-danger);border-color:var(--ui-danger)!important}#app :is(.difficulty-welcome,.difficulty-resume,.settings,.completion-overlay) button:disabled,#app .rhythm-screen-cover button:disabled{opacity:.5;cursor:default;transform:none;box-shadow:none!important}:is(#app,.guide-dialogue,dialog) :is(button,summary,a,input,select):focus-visible{outline:var(--ui-focus);outline-offset:3px}#app .settings{background:var(--ui-paper);padding-inline:var(--ui-space-6);color:var(--ui-ink)}#app .settings>label{min-height:var(--ui-hit);margin-block:var(--ui-space-4);align-content:center}#app .settings input[type=checkbox]{vertical-align:middle;width:20px;height:20px;margin-right:var(--ui-space-2);accent-color:var(--ui-accent)}#app .settings input[type=range]{accent-color:var(--ui-accent)}#app .settings :is(p,small){overflow-wrap:anywhere;line-height:1.6}#app .settings button{margin:var(--ui-space-2) 0}#app .settings .qa-entry{padding:var(--ui-space-4);border:var(--ui-border);border-radius:var(--ui-radius-panel)}#app :is(.difficulty-control select,.difficulty-options label){border:2px solid var(--ui-line-soft);border-radius:var(--ui-radius-control);background:var(--ui-paper-raised);color:var(--ui-ink)}#app .difficulty-control select{font-family:inherit}#app .difficulty-options label{gap:var(--ui-space-3);padding:var(--ui-space-4)}#app .difficulty-options label:has(input:checked){border-color:var(--ui-accent);background:var(--ui-selected);box-shadow:none}#app .difficulty-options input{accent-color:var(--ui-accent)}#app .global-difficulty-setting{padding:var(--ui-space-4)}#app .difficulty-badge{background:var(--ui-paper);color:var(--ui-ink);border-radius:var(--ui-radius-sm)}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar{background:var(--ui-paper);border:var(--ui-border);border-radius:var(--ui-radius-panel);box-shadow:var(--ui-shadow)}#app.has-puzzle-toolbar.has-puzzle-dock :is(.puzzle-toolbar>button,.puzzle-more>summary){border-radius:var(--ui-radius-control);color:var(--ui-ink);box-shadow:none!important;background:0 0!important;border:0!important}#app.has-puzzle-dock .puzzle-more[open]>summary{background:var(--ui-selected)!important;box-shadow:inset 0 -3px var(--ui-accent)!important}#app.has-puzzle-dock .puzzle-toolbar :is(button:focus-visible,summary:focus-visible){outline:var(--ui-focus);outline-offset:0}#app.has-puzzle-dock .puzzle-more-panel{gap:var(--ui-space-2);padding:var(--ui-space-3)}#app .puzzle-toolbar button:disabled{opacity:.45;filter:grayscale();cursor:default}#app .puzzle-toolbar :is(.tool-label,summary span:last-child){color:var(--ui-ink);text-shadow:none}#app .puzzle-closeup .mechanism-box:before{border-radius:var(--ui-radius-panel);border-color:var(--ui-line-soft);box-shadow:var(--ui-shadow)}dialog:not(.gesture-demo){padding:var(--ui-space-6);box-sizing:border-box;max-width:min(520px,100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}dialog:not(.gesture-demo)::backdrop{background:#17343f99}dialog:not(.gesture-demo) h2{font-size:var(--ui-heading);margin:0 0 var(--ui-space-4);line-height:1.35}dialog:not(.gesture-demo) p{font-size:var(--ui-body);line-height:1.6}dialog:not(.gesture-demo) form{gap:var(--ui-space-3);margin-top:var(--ui-space-6);flex-wrap:wrap}dialog:not(.gesture-demo) form button{min-width:88px}#app :is(.completion-overlay,.rhythm-screen-cover){--ui-focus:3px solid var(--ui-gold)}#app>.completion-overlay{background:var(--ui-night)}#app .completion-overlay :is(.reward-collection,.reward-slot){border-radius:var(--ui-radius-control);background:var(--ui-night-raised);border-color:#78918d}#app .completion-overlay .reward-slot.landed{border:2px solid var(--ui-gold);background:#456152}#app .completion-overlay button{color:var(--ui-night-ink);background:var(--ui-night-raised)!important;box-shadow:none!important;border-color:#adc2b9!important}#app .completion-overlay button[data-cmd=assemble]{color:var(--ui-ink);background:var(--ui-gold)!important;border-color:var(--ui-gold)!important}#app .completion-overlay [data-celebration-skip]{font-size:var(--ui-caption);border-radius:var(--ui-radius-control)}#app .completion-overlay :is(button span,.celebration-topline){color:inherit}#app .rhythm-screen-cover button.rhythm-secondary{color:var(--ui-night-ink);background:var(--ui-night-raised)!important;box-shadow:none!important;border-color:#adc2b9!important}#app .rhythm-workbench[data-kind] .rhythm-pad{border-radius:var(--ui-radius-control);color:var(--ui-night-ink);background:var(--ui-night)!important;border:2px solid var(--ui-gold)!important;box-shadow:var(--ui-shadow)!important}#app .rhythm-workbench[data-kind] .rhythm-pad.held{background:var(--ui-success)!important;box-shadow:inset 0 3px #102c3640!important}#app .rhythm-song-progress{background:var(--ui-night);border-radius:var(--ui-radius-control)}#app .device-goal.met:not(.budget) i{color:var(--ui-success)}@media (hover:hover){#app :is(.difficulty-welcome,.difficulty-resume,.settings) button:not(:disabled):hover,dialog:not(.gesture-demo) button:hover{filter:brightness(.97)}#app.has-puzzle-dock .puzzle-toolbar :is(button:not(:disabled):hover,summary:hover){background:var(--ui-selected)!important}}@media (height<=500px){dialog:not(.gesture-demo){padding:var(--ui-space-4)}dialog:not(.gesture-demo) form{margin-top:var(--ui-space-4)}}#app .settings .app-version{margin:var(--ui-space-2) 0;color:var(--ui-muted);font-size:var(--ui-caption);display:block}#app .rhythm-screen-cover button.rhythm-primary span{color:var(--ui-ink);text-shadow:none!important}#app .rhythm-screen-cover button.rhythm-secondary span{color:var(--ui-night-ink);text-shadow:none!important}.festival-screen{background:var(--ui-paper);max-width:1060px;color:var(--ui-ink);box-sizing:border-box;min-height:100dvh;margin:auto;padding:80px 24px 40px}.festival-screen h1{font-size:clamp(28px,5vw,40px);line-height:1.25}.festival-screen p{word-break:keep-all;overflow-wrap:anywhere;line-height:1.65}.festival-screen h2{font-size:23px}.festival-screen header>small{color:var(--ui-muted)}.festival-invitation{border:var(--ui-border);border-radius:var(--ui-radius-panel);background:var(--ui-paper);max-width:900px;color:var(--ui-ink);text-align:left;box-sizing:border-box;justify-content:space-between;align-items:center;gap:16px;margin:24px auto;padding:16px;display:flex}.festival-invitation strong{font-size:20px}.festival-invitation p{margin:8px 0 0;line-height:1.5}.collection>.festival-invitation{width:100%}#app :is(.festival-screen,.festival-invitation) button{min-height:44px;color:var(--ui-ink);font:inherit;text-shadow:none;cursor:pointer;touch-action:manipulation;border-radius:12px;padding:10px 16px;background:var(--ui-paper-raised)!important;border:var(--ui-border)!important;box-shadow:var(--ui-shadow)!important}#app :is(.festival-screen,.festival-invitation) button:focus-visible{outline:var(--ui-focus);outline-offset:4px}#app :is(.festival-screen,.festival-invitation) button:disabled{opacity:.55;cursor:default}.festival-invitation button{flex:none}.festival-screen :is(.festival-play,.festival-locked,.festival-staff-note,.festival-binary){border:var(--ui-border);border-radius:16px;margin:24px 0;padding:20px}.festival-staff-note{background:#edf2e8}.festival-staff-note h2{font-size:20px}.festival-binary summary,.festival-courses summary{cursor:pointer;align-content:center;min-height:44px}.festival-combinations{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.festival-combinations button span{font-size:13px;display:block}#app .festival-combinations button[aria-pressed=true]{background:var(--ui-selected)!important;border-color:var(--ui-accent)!important}.festival-object{max-width:840px;margin:20px auto;position:relative}.festival-product-canvas{aspect-ratio:960/520;touch-action:manipulation;border-radius:16px;width:100%;height:auto;display:block}.festival-product-canvas[hidden]{display:none}.festival-product-controls{justify-content:flex-end;gap:8px;margin:12px 0;display:flex}.festival-key-trigger{width:21%;font-weight:700!important}.festival-key-trigger small{font:12px sans-serif;display:block}.festival-product-fallback{background:#edf2e8;border-radius:12px;padding:24px}.festival-object-caption{text-align:center;color:var(--ui-muted);margin-top:24px;font-size:13px}.festival-free-play{font-size:14px}.completion-overlay .festival-invitation{flex:none;width:100%;max-width:600px}.completion-overlay .festival-invitation button{background:var(--ui-gold)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important}@media (width<=600px){.festival-screen{padding:76px 16px 24px}.festival-invitation{flex-direction:column;align-items:stretch;margin:16px auto}.festival-screen :is(.festival-play,.festival-locked,.festival-staff-note,.festival-binary){padding:16px}.festival-combinations{gap:8px}#app .festival-combinations button{padding:8px 4px}}@media (prefers-reduced-motion:reduce){#app .festival-screen .festival-key{transition:none}}.festival-key-surface{isolation:isolate;position:relative}.festival-key-targets{pointer-events:none;position:absolute;inset:0}#app .festival-key-targets button{pointer-events:auto;touch-action:pan-y;cursor:pointer;outline:none;min-width:0;min-height:0;display:block;position:absolute;box-shadow:none!important;color:#0000!important;background:0 0!important;border:0!important;border-radius:0!important;padding:0!important}#app .festival-key-targets button[hidden]{display:none}.festival-key-help{font-size:14px}.festival-key-targets button:focus-visible{filter:drop-shadow(0 0 3px #c88813)}#app .festival-screen .festival-key-targets button,#app .festival-screen .festival-key-targets button[aria-pressed=true]{opacity:1;box-shadow:none!important;background:0 0!important;border:0!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note{min-height:44px;margin:0;display:block}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note:empty{visibility:hidden;display:block}@media (orientation:landscape) and (width>=900px) and (width<=1600px) and (height>=400px) and (height<=1000px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup{height:100dvh;min-height:0;padding:calc(var(--game-menu-height,52px) + 4px) 12px calc(62px + env(safe-area-inset-bottom));scroll-padding:0}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-box{grid-template-rows:56px minmax(0,1fr) 44px;grid-template-columns:minmax(220px,30%) minmax(0,1fr);gap:5px 10px;max-width:none;padding:0;display:grid;height:100%!important;min-height:0!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .mechanism-heading{grid-area:1/1;justify-content:space-between;align-items:center;gap:6px;min-height:40px;display:flex}#app.has-puzzle-toolbar.has-puzzle-dock .mechanism-heading h1{font-size:20px;line-height:1.25}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-goals{flex-direction:row;grid-area:1/2;justify-content:center;align-items:center;gap:12px;min-height:40px;display:flex}#app.has-puzzle-toolbar.has-puzzle-dock .goal-readouts{flex-wrap:nowrap;flex:none;width:auto;gap:12px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-objective{flex-wrap:wrap;flex:1 1 0;align-content:center;min-width:0}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-objective .beginner-first-action{white-space:normal;flex-basis:100%;line-height:1.35}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-objective{font-size:14px;line-height:1.3}#app.has-puzzle-toolbar.has-puzzle-dock .device-goal b{font-size:23px}#app.has-puzzle-toolbar.has-puzzle-dock .device-goal small{font-size:13px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-body{grid-area:2/1/3/3;align-content:stretch;place-items:center;width:100%;min-width:0;display:grid;overflow:visible;height:100%!important;min-height:0!important;container-type:size!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .device-body>.direct-device{aspect-ratio:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important}#app.has-puzzle-toolbar.has-puzzle-dock .mechanism-status{text-align:center;grid-area:3/1/4/3;place-self:stretch start;width:45%;min-height:0;margin:0;padding:4px 8px;font-size:14px;line-height:1.4}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note{grid-area:3/1/4/3;place-self:center end;width:55%;min-height:0;max-height:none;margin:0;padding:2px 8px;font-size:13px;line-height:1.4;display:block;overflow:visible;transform:none}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar{top:auto;left:50%;right:auto;bottom:max(4px,env(safe-area-inset-bottom));flex-direction:row;gap:20px;width:max-content;height:52px;padding:0 12px;position:fixed;transform:translate(-50%)}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar>button,#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more>summary{grid-template-rows:26px 18px;width:72px;height:52px;min-height:52px;padding:2px 6px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar .ui-glyph{width:28px;height:28px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more-panel{bottom:60px;right:0}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace{--unit:clamp(44px,calc((100cqh - 32px)/var(--rows,4)),92px);grid-template-columns:minmax(0,1fr) minmax(320px,42%);gap:20px;width:100%;max-width:1100px;height:100%;min-height:0;padding:12px 8px}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-tray{--unit:24px;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))!important}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-slot{gap:3px;min-height:0;grid-template-rows:86px 44px!important}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-feedback{min-height:20px;margin:0 0 4px;font-size:14px}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-shelf .lattice-help{display:none}#app.has-puzzle-toolbar.has-puzzle-dock .stack-workspace{--unit:clamp(18px,calc((100cqh - 120px)/9),25px);--slot:76px;grid-template-rows:minmax(0,1fr);grid-template-columns:auto minmax(0,1fr) 252px;gap:12px;height:100%;min-height:0;padding:4px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-tray{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-slot{grid-template-rows:56px 44px;gap:4px;height:104px;min-height:104px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-board{min-height:0}#app.has-puzzle-toolbar.has-puzzle-dock .stack-piece-art{max-height:30px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-board-art{width:100%;max-width:100%;height:100%;max-height:100%}#app.has-puzzle-toolbar.has-puzzle-dock .stack-card figcaption{font-size:17px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-view-label{font-size:12px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-card{gap:4px;padding:5px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-help{margin:0;font-size:13px;line-height:1.35;display:block}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=noodle] .long-noodle{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 260px;align-content:center;gap:24px;padding:4px 18px}#app.has-puzzle-toolbar.has-puzzle-dock .long-noodle .noodle-orders{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0}#app.has-puzzle-toolbar.has-puzzle-dock .noodle-comparison{align-self:center;gap:8px}#app.has-puzzle-toolbar.has-puzzle-dock .noodle-pieces{flex-wrap:wrap;gap:4px}#app.has-puzzle-toolbar.has-puzzle-dock .noodle-pieces strong{text-align:center;width:100%}#app.has-puzzle-toolbar.has-puzzle-dock .noodle-pieces>span{min-width:30px;font-size:18px}#app.has-puzzle-toolbar.has-puzzle-dock .noodle-pieces small{font-size:13px}#app.has-puzzle-toolbar.has-puzzle-dock .fleet-board{flex-direction:column;width:100%;max-width:none;height:100%;padding:4px 8px;display:flex}#app.has-puzzle-toolbar.has-puzzle-dock .lock-next-action{margin:0 0 6px;font-size:14px;line-height:1.4}#app.has-puzzle-toolbar.has-puzzle-dock .fleet-layout{flex:1;grid-template-columns:minmax(0,1fr) minmax(300px,1.55fr) minmax(0,1fr);gap:16px;min-height:0;display:grid}#app.has-puzzle-toolbar.has-puzzle-dock .fleet-dock h2{margin:0 0 4px;font-size:16px;line-height:1.25}#app.has-puzzle-toolbar.has-puzzle-dock .fleet-dock h2 span{font-size:12px}#app.has-puzzle-toolbar.has-puzzle-dock .moored-ships{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px;min-height:0}#app.has-puzzle-toolbar.has-puzzle-dock .moored-ships .fleet-ship{min-height:48px;padding:0 4px 14px}#app.has-puzzle-toolbar.has-puzzle-dock .moored-ships .ship-art{width:calc(var(--length)/12*100%);min-width:32px}#app.has-puzzle-toolbar.has-puzzle-dock .fleet-chamber{grid-template-columns:minmax(0,1fr) 88px;align-items:center;gap:10px;padding:0;display:grid}#app.has-puzzle-toolbar.has-puzzle-dock .chamber-shell{height:clamp(130px,100cqh - 100px,270px);margin:12px 9px 0}#app.has-puzzle-toolbar.has-puzzle-dock .chamber-actions{margin:0;display:block}#app.has-puzzle-toolbar.has-puzzle-dock .pump-lever{flex-direction:column;gap:4px;width:88px;min-height:142px}#app.has-puzzle-toolbar.has-puzzle-dock .pump-art{flex-basis:108px;width:88px;height:108px;transform:none}#app.has-puzzle-toolbar.has-puzzle-dock .pump-copy{max-width:88px}#app.has-puzzle-toolbar.has-puzzle-dock .pump-copy b{font-size:13px}#app.has-puzzle-toolbar.has-puzzle-dock .arrivals{margin-top:4px}}@media (orientation:landscape) and (width>=900px) and (width<=1600px) and (height>=400px) and (height<=550px){#app.has-puzzle-toolbar.has-puzzle-dock .lattice-workspace{--unit:clamp(40px,calc((100cqh - 12px)/var(--rows,4)),64px);gap:12px;padding:4px 8px}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-tray{--unit:24px;gap:6px}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-slot{gap:2px;grid-template-rows:60px 44px!important}#app.has-puzzle-toolbar.has-puzzle-dock .lattice-feedback{min-height:20px;margin:0}#app.has-puzzle-toolbar.has-puzzle-dock .stack-slot{grid-template-rows:50px 44px;height:98px;min-height:98px}#app .stage-celebration .celebration-art,#app [data-celebration-mode=final] .celebration-art{height:130px}#app .stage-celebration h2{margin:2px 0;font-size:24px}#app .stage-celebration .reward-collection{margin-top:4px;padding:4px 12px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=window] .mechanism-box{grid-template-rows:44px minmax(0,1fr) 44px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=window] .lattice-workspace{--unit:clamp(44px,calc(100cqh/var(--rows,4)),64px);padding:0 8px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-cards{gap:4px}#app.has-puzzle-toolbar.has-puzzle-dock .stack-card{gap:2px 6px;padding:2px}#app.has-puzzle-toolbar.has-puzzle-dock .fleet-board{padding:2px 8px}#app.has-puzzle-toolbar.has-puzzle-dock .moored-ships{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:4px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=noodle][data-difficulty=hard] .long-noodle{grid-template-columns:minmax(0,1fr) 300px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=noodle][data-difficulty=hard] .noodle-orders{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (orientation:portrait),(width<=899px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup.direct-workbench .mechanism-box{grid-template-rows:auto auto var(--mobile-board-height,300px) auto minmax(44px,auto);align-content:start;height:auto!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup.direct-workbench .device-body{min-height:var(--mobile-board-height,300px);height:var(--mobile-board-height,300px)!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note{min-height:44px;margin:0;padding:5px 8px;display:block}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup .scene-note:empty{visibility:hidden;display:block}}#app .settings{max-width:1100px;min-height:100dvh;margin:0 auto;padding:76px 24px 24px;font-size:16px}#app .settings>h1{margin:0 0 16px;font-size:24px;line-height:1.25}.settings-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.settings-grid>section{min-width:0}#app .settings .global-difficulty-setting{padding:var(--ui-space-4,16px)}#app .settings .settings-visitor-reset{min-width:0;margin-block:12px}#app .settings .settings-visitor-reset>p{font-size:14px}#app .settings .settings-visitor-reset>[data-cmd=reset]{max-width:100%;margin:4px 0}#app .settings .global-difficulty-setting h2{margin:0 0 8px;font-size:18px}#app .settings .settings-grid p{margin:8px 0;line-height:1.45}#app .settings .settings-grid label{align-items:center;gap:8px;min-height:44px;margin:4px 0;font-size:16px;display:flex}#app .settings label:has(input[type=range]){grid-template-columns:1fr auto;gap:0 8px;display:grid}#app .settings input[type=range]{grid-column:1/-1;min-height:44px;margin:0}#app .settings select{min-height:44px}#app .settings .settings-grid :is(p,small):empty{display:none}#app .settings .settings-extra{margin-top:12px}#app .settings .settings-extra>summary{cursor:pointer;align-content:center;min-height:44px;font-size:17px;font-weight:800}#app .settings .settings-extra canvas{max-width:100%;height:auto}@media (orientation:landscape) and (height<=600px) and (width>=760px){#app .settings{padding:58px 20px 12px}#app .settings>h1{margin-bottom:8px;font-size:22px}.settings-grid{gap:24px}#app .settings .settings-grid p{margin:4px 0}#app .settings .settings-extra[open]{inset:56px max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));z-index:50;background:var(--ui-paper,#fff8e9);border:2px solid var(--ui-ink,#29444c);overscroll-behavior:contain;border-radius:12px;padding:12px 20px;position:fixed;overflow:auto}#app .settings .settings-extra[open]>summary{background:var(--ui-paper,#fff8e9);padding-block:8px;position:sticky;top:-12px}}@media (orientation:portrait),(width<=759px){#app .settings{padding:68px 16px 24px}.settings-grid{grid-template-columns:minmax(0,1fr);gap:16px}}@media (orientation:landscape) and (height<=430px) and (width>=760px){.settings-audio{grid-template-columns:1fr 1fr;align-items:center;column-gap:8px;display:grid}:is(.settings-audio>p,.settings-audio>label:has(input[type=range])){grid-column:1/-1}#app .settings .settings-audio>label,#app .settings .settings-audio>p{margin:0}}#app .settings .settings-audio{border-bottom:1px solid var(--ui-line-soft,#bac9c4);margin-bottom:12px;padding-bottom:12px}#app .settings .settings-update{border-bottom:1px solid var(--ui-line-soft,#bac9c4);grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:16px;padding-bottom:12px;display:grid}#app .settings .settings-update>small{overflow-wrap:anywhere;margin:0;display:block}#app .settings .settings-update>[data-cmd=check-update]{justify-self:start;min-width:160px;min-height:44px;margin:0;transform:none}#app .settings .settings-update>.app-update-status{min-height:4.5em;margin:0;font-size:14px;line-height:1.5}#app .fleet-dock{isolation:isolate;position:relative}#app .dock-water-target{left:0;right:0;top:var(--water-top,0px);height:var(--water-height,240px);z-index:-1;box-sizing:border-box;pointer-events:none;background:#e9d7b8;border:2px solid #365b69;border-top:0;border-radius:0 0 8px 8px;position:absolute;overflow:hidden}#app .dock-water-fill{height:var(--water-fill);background:#78c8d4;border-top:3px solid #fff;position:absolute;bottom:0;left:0;right:0}#app .dock-water-fill:after{content:"";border-top:2px solid var(--destination-color);height:18px;position:absolute;bottom:0;left:0;right:0}#app .dock-0{--destination-color:#1768aa}#app .dock-1{--destination-color:#a84d12}#app .dock-0 .dock-water-fill:after{background:repeating-linear-gradient(135deg,#1768aa 0 3px,#d9efff 3px 10px)}#app .dock-1 .dock-water-fill:after{background:radial-gradient(circle,#a84d12 2px,#fff0d5 2.5px) 0 0/10px 10px}#app .fleet-dock h2{background:#fff6df;border-radius:5px;position:relative;padding:4px!important}#app .fleet-dock .moored-ships,#app .fleet-dock .arrivals{position:relative}#app .fleet-board .fleet-ship:disabled,#app .fleet-board .fleet-ship.delivered{opacity:1}#app .fleet-board .fleet-ship .ship-art{box-sizing:border-box;background:#fff4df;border:2px solid #a84d12;border-radius:8px}#app .fleet-board .fleet-ship.returning .ship-art{background:#e8f5ff;border:2px dashed #1768aa}#app .fleet-board .fleet-ship:not(.returning) .ship-art{border-style:dotted}#app .fleet-board .fleet-ship.held{opacity:1;z-index:110;box-shadow:none;background:0 0}#app .fleet-board .fleet-ship.held .ship-art{z-index:111;pointer-events:none;opacity:1}#app .fleet-board .fleet-ship.delivered .ship-art{box-shadow:0 0 0 2px #32804e}@media (orientation:landscape){#app .fleet-board .fleet-dock{padding-bottom:0}#app .fleet-board .moored-ships{top:calc(var(--dock-water-bottom,280px) + 8px);grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:2px 8px;min-height:0;display:grid;position:absolute;left:0;right:0}#app .fleet-board .moored-ships .fleet-ship{min-height:44px;padding:3px 3px 10px}#app .fleet-board .moored-ships .ship-art{width:clamp(40px,calc(var(--length)/var(--capacity)*100%),96px)}#app .fleet-board .arrivals{top:calc(var(--dock-water-bottom,280px) - 32px);margin:0;position:absolute;left:6px;right:6px}#app .fleet-board .arrivals>span{background:#fff6df;border-radius:4px;padding:2px 5px}}#app .fleet-board .chamber-ships .ship-direction{color:#173b49;background:#fff;border-radius:3px;font-weight:900;display:block;bottom:2px;right:3px}#app .fleet-board .fleet-ship .ship-art,#app .fleet-board .fleet-ship.returning .ship-art{background:0 0}#app .fleet-board .ship-number{background:#fff8e7;border-radius:4px;padding:1px 3px}#app .fleet-board .moored-ships .ship-art{width:96px;min-width:64px;max-width:100%}#app .fleet-board .arrivals .fleet-ship{width:68px;min-width:68px;min-height:40px}#app .fleet-board .arrivals .ship-number{font-size:13px;bottom:-9px}#app .fleet-board .arrivals{top:calc(var(--dock-water-bottom,280px) - 64px)}#app .fleet-board .moored-ships .ship-art{width:96px!important;min-width:64px!important}#app .fleet-board .arrivals .ship-art{width:64px!important;min-width:64px!important}#app .fleet-board button.fleet-ship:disabled,#app .fleet-board button.fleet-ship.delivered{filter:none;opacity:1!important}#app .result-review{z-index:95;left:50%;bottom:calc(var(--play-bottom,68px) + 4px);width:min(1464px,calc(100% - 48px - env(safe-area-inset-left) - env(safe-area-inset-right)));height:var(--play-feedback,58px);box-sizing:border-box;color:#173b49;text-align:left;background:#fff9ea;border:2px solid #246877;border-radius:10px;align-items:center;gap:12px;padding:3px 10px;display:flex;position:absolute;transform:translate(-50%)}#app .result-review p{word-break:keep-all;overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:15px;line-height:1.35}#app .result-review button,#app .puzzle-failure button{opacity:1;border-radius:8px;flex:none;min-width:140px;min-height:44px;padding:8px 14px;font-family:inherit;font-size:16px;line-height:1.25;color:#fff!important;box-shadow:none!important;filter:none!important;text-shadow:none!important;-webkit-text-stroke:0!important;background:#1d6576!important;border:0!important;width:auto!important}#app .result-review button:focus-visible,#app .puzzle-failure button:focus-visible{outline-offset:3px;outline:3px solid #b76d15}#app .puzzle-failure{z-index:96;width:min(640px,calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));box-sizing:border-box;color:#173b49;text-align:center;background:#fff9ea;border:2px solid #a65a20;border-radius:12px;padding:18px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 3px 12px #172e3926}#app .puzzle-failure h2{margin:0 0 8px;font-size:20px;line-height:1.3}#app .puzzle-failure p{word-break:keep-all;margin:5px 0 14px;font-size:16px;line-height:1.45}#app .puzzle-failure-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}#app .puzzle-failure button:disabled{opacity:.5}@media (width<=600px){#app .result-review{text-align:center;width:calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right));grid-template-rows:minmax(0,1fr) 44px;gap:3px;padding:4px 8px;display:grid}#app .result-review p{font-size:14px;line-height:1.3}#app .result-review button{min-height:44px;padding:6px 10px;font-size:15px}}@media (orientation:landscape) and (height<=550px){#app .result-review{left:max(18px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));grid-template-rows:minmax(0,1fr) 44px;gap:5px;width:calc(24% - 25.92px);min-width:180px;height:142px;padding:7px;display:grid;transform:none}#app .result-review p{font-size:13px;line-height:1.3}#app .result-review button{min-width:0;padding:6px;font-size:14px}#app .puzzle-failure{padding:12px}#app .puzzle-failure p{margin-bottom:10px}}body .guide-dialogue{--bubble-left:clamp(170px,23vw,290px);--bubble-edge:max(12px,env(safe-area-inset-right))}body .guide-dialogue .guide-bubble,body .guide-dialogue.puzzle-guide .guide-bubble{box-sizing:border-box;left:var(--bubble-left)!important;width:fit-content!important;max-width:min(660px,calc(100vw - var(--bubble-left) - var(--bubble-edge)))!important;min-width:0!important;height:auto!important;min-height:0!important;padding:16px 18px!important;right:auto!important}body .guide-dialogue.guide-on-right .guide-bubble{left:auto!important;right:var(--bubble-left)!important}body .guide-dialogue .guide-advance{width:auto;max-width:100%;padding:0!important}body .guide-dialogue .guide-title{margin-bottom:12px;padding-right:34px}body .guide-dialogue .guide-dismiss{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;top:4px!important;right:4px!important}body .guide-dialogue .guide-text{overflow-wrap:anywhere;word-break:keep-all}#app .tutorial-practice .practice-instruction{place-self:center;width:fit-content;max-width:min(760px,100%);height:auto;min-height:44px;padding:10px 18px}@media (orientation:portrait){body .guide-dialogue{--bubble-left:112px;--bubble-edge:max(10px,env(safe-area-inset-right))}body .guide-dialogue .guide-bubble,body .guide-dialogue.puzzle-guide .guide-bubble{padding:14px!important}#app .tutorial-practice .practice-instruction{padding:8px 12px}}@media (orientation:landscape) and (height<=550px){body .guide-dialogue{--bubble-left:150px}body .guide-dialogue .guide-bubble,body .guide-dialogue.puzzle-guide .guide-bubble{padding:12px 16px!important}}body .guide-dialogue:not(.guide-on-right) .guide-bubble{padding-left:34px!important}@media (orientation:portrait){body .guide-dialogue:not(.guide-on-right) .guide-bubble{padding-left:38px!important}}@media (orientation:landscape) and (height<=550px){body .guide-dialogue:not(.guide-on-right) .guide-bubble{padding-left:32px!important}}#app .puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-comparison{grid-template-rows:22px 44px 142px 22px;align-content:center;gap:5px;min-width:0;padding:0;display:grid}#app .noodle-visual .noodle-orders-title{text-align:center;color:#29434c;font-size:16px;line-height:22px}#app .noodle-visual .noodle-order-rule{text-wrap:balance;align-self:center;max-width:480px;min-height:0;margin:0 auto;font-size:13px;line-height:1.5}#app .puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-orders{grid-template-columns:repeat(var(--noodle-order-count),minmax(0,1fr));grid-template-rows:142px;align-items:stretch;gap:8px;min-width:0;padding:0 8px;display:grid}#app .noodle-visual .noodle-order{background:#fff8e9b8;border:1px solid #b9a47b70;border-radius:16px;flex-direction:column;justify-content:flex-start;align-items:center;gap:0;min-width:0;padding:7px 3px 0;transition:background .22s,box-shadow .22s,border-color .22s;display:flex;box-shadow:inset 0 1px #ffffffb3}#app .noodle-visual .noodle-order>.noodle-order-shape{flex:none;width:32px;max-width:none;height:120px;display:block}#app .noodle-visual .noodle-order.matched{background:#ecfff0;border-color:#3d9d77;box-shadow:0 0 0 2px #9ad7ae60,0 0 16px #a4f1b9b3,inset 0 0 14px #c2ffd485}#app .noodle-visual .noodle-match-mark{color:#197456;text-align:center;border-radius:50%;width:18px;height:18px;font-size:16px;font-weight:800;line-height:18px;display:block;position:absolute;bottom:4px;right:4px}#app .noodle-visual .noodle-order{position:relative}#app .noodle-visual .noodle-match-guide{text-align:center;color:#446c5b;white-space:nowrap;margin:0;font-size:12px;line-height:22px}#app .noodle-visual .noodle-match-guide>span{color:#248766;vertical-align:-1px;font-size:17px}#app .noodle-visual .noodle-cut{box-shadow:none;background:0 0;border:0;overflow:visible}#app .noodle-visual .noodle-cut>svg{transform-origin:61% 90%;filter:drop-shadow(0 2px 1px #3d322c66);width:54px;max-width:none;height:36px;transition:transform .18s,opacity .18s;position:absolute;top:50%;left:50%;transform:translate(-61%,-90%)rotate(-12deg)}#app .noodle-visual .noodle-cut[aria-pressed=true]{box-shadow:none;background:0 0;outline:0}#app .noodle-visual .noodle-cut[aria-pressed=true]>svg{filter:drop-shadow(0 2px 1px #3d322c55);opacity:.8;transform:translate(-61%,-135%)rotate(-22deg)}#app .noodle-visual .noodle-cut:focus-visible{outline-offset:1px;background:#fff9e890;outline:3px solid #246b78}#app .noodle-visual .cut-number{color:#425c5b;text-shadow:0 0 4px #fff8e9;font-size:12px;line-height:16px;top:23px}.noodle-visual .noodle-segment{filter:drop-shadow(0 3px 2px #60451c40)}.noodle-visual .noodle-piece-glow{opacity:.65;filter:blur(4px)}.noodle-visual .noodle-segment.matched{filter:drop-shadow(0 0 5px #76d8a780)drop-shadow(0 3px 2px #60451c30)}.noodle-visual .noodle-segment[data-separated=true]{animation:.24s ease-out both noodle-separate}@keyframes noodle-separate{0%{transform:translateY(0)}to{transform:translateY(var(--piece-y))}}@media (width<=600px){#app .puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-comparison{grid-template-rows:22px 44px 128px 22px}#app .puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-orders{grid-template-rows:128px;gap:6px;padding:0}#app .noodle-visual .noodle-order>.noodle-order-shape{width:29px;height:108px}#app .noodle-visual .noodle-cut>svg{width:48px;height:32px}}@media (orientation:landscape) and (height<=550px){#app .puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-comparison{grid-template-rows:20px 40px 116px 20px;gap:2px}#app .puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-orders{grid-template-rows:116px;gap:5px;padding:0}#app .noodle-visual .noodle-order>.noodle-order-shape{width:27px;height:100px}#app .noodle-visual .noodle-orders-title{font-size:14px;line-height:20px}#app .noodle-visual .noodle-order-rule{font-size:12px}#app .noodle-visual .noodle-match-guide{font-size:11px;line-height:20px}}@media (prefers-reduced-motion:reduce){.noodle-visual .noodle-segment[data-separated=true]{animation:none}#app .noodle-visual .noodle-cut>svg,#app .noodle-visual .noodle-order{transition:none}}@media (orientation:portrait) and (width<=600px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .long-noodle.noodle-visual{box-sizing:border-box;grid-template-rows:minmax(0,1fr) 182px;grid-template-columns:minmax(0,1fr);align-content:stretch;gap:4px;width:100%;max-width:none;height:100%;min-height:0;max-height:100%;margin:0;padding:0 12px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .long-noodle.noodle-visual .noodle-strand{box-sizing:border-box;aspect-ratio:800/280;place-self:end center;width:min(100%,2.85714*max(40px,100cqh - 208px));height:auto;min-height:0;max-height:none;margin:0 0 2px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-comparison{box-sizing:border-box;grid-template-rows:20px 36px 100px 18px;align-content:start;align-self:stretch;gap:2px;height:182px;min-height:0;padding:0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-orders{grid-template-columns:repeat(var(--noodle-order-count),minmax(0,1fr));grid-template-rows:100px;gap:6px;height:100px;min-height:0;padding:0}#app .noodle-visual .noodle-orders-title{font-size:15px;line-height:20px}#app .noodle-visual .noodle-order-rule{max-width:100%;margin:0 auto;font-size:13px;line-height:18px}#app .noodle-visual .noodle-order{border-radius:12px;padding-top:5px}#app .noodle-visual .noodle-order>.noodle-order-shape{width:23px;height:84px}#app .noodle-visual .noodle-match-guide{font-size:12px;line-height:18px}}.erosion-preview-controls{color:#29444c;text-align:center;width:100%;max-width:900px;margin:0 auto}.erosion-preview-controls p{text-wrap:balance;margin:0 0 8px;font-size:14px;line-height:1.45}.erosion-preview-controls p span{display:inline-block}.erosion-preview-controls>div{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.erosion-preview-controls button{color:#29444c;min-height:44px;font:inherit;cursor:pointer;background:#fbf7e8;border:2px solid #63847a;border-radius:8px;padding:6px 11px;font-size:13px}.erosion-preview-controls button[aria-pressed=true]{background:#dcebc4;border-color:#3d7258;font-weight:800;box-shadow:inset 0 -3px #84a26a}.erosion-preview-controls button:focus-visible{outline-offset:3px;outline:3px solid #d39c2e}.erosion-preview-controls button:disabled{opacity:.6;cursor:wait}.erosion-preview-controls small{margin-top:7px;font-size:12px;line-height:1.4;display:block}#app .puzzle-closeup[data-puzzle=somuui] .mechanism-controls:has(.erosion-preview-controls){grid-area:4/1/-1/-1;align-self:start;margin:0;padding:5px 0;display:block;overflow:visible}.practice-board[data-puzzle=somuui] .mechanism-controls:has(.erosion-preview-controls){grid-area:4/1/-1/-1;align-self:start;margin:0;padding:5px 0;display:block;overflow:visible}#app .puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .mechanism-status{display:none}#app .puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .scene-note{grid-area:5/1}.puzzle-closeup[data-puzzle=somuui] .direct-device [data-erosion-frame] text{font-size:14px}.puzzle-closeup[data-puzzle=somuui] .direct-device>.device-object text{font-size:15px}.puzzle-closeup[data-puzzle=somuui] .direct-device [data-erosion-target] text{font-size:23px}@media (orientation:landscape){#app.has-puzzle-toolbar .puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .mechanism-box{grid-template-rows:auto minmax(230px,1fr) auto!important}#app.has-puzzle-toolbar .puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .device-body{grid-area:1/2/3/3!important}#app .puzzle-closeup[data-puzzle=somuui] .mechanism-controls:has(.erosion-preview-controls){grid-area:3/1/4/3}.erosion-preview-controls p{font-size:13px}}@media (orientation:portrait){#app .puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .device-body{min-height:360px}.erosion-preview-controls button{flex:65px;padding:5px 7px}.erosion-preview-controls [data-erosion-replay]{flex-basis:160px}}.puzzle-closeup[data-puzzle=somuui] .direct-device [data-erosion-label] text{font-size:15px}.world-hits .landscape-contour{fill:#0000;stroke:#0000;stroke-width:2px;vector-effect:non-scaling-stroke;pointer-events:all;cursor:pointer;transition:stroke .15s}.world-hits [data-landscape]:hover .landscape-contour{stroke:#fff5d366}.world-hits [data-landscape]:focus-visible .landscape-contour{stroke:#fff5d3;stroke-width:3px;stroke-dasharray:8 6}@media (prefers-reduced-motion:reduce){.world-hits .landscape-contour{transition:none}}:root{--play-viewport:100vh;--play-safe-top:env(safe-area-inset-top,0px);--play-safe-right:env(safe-area-inset-right,0px);--play-safe-bottom:env(safe-area-inset-bottom,0px);--play-safe-left:env(safe-area-inset-left,0px)}@supports (height:100dvh){:root{--play-viewport:100dvh}}:is(body:has(#app>.puzzle-closeup),body:has(#app>dialog.tutorial-practice[open])){overscroll-behavior:none;overflow:hidden}#app.has-puzzle-toolbar.has-puzzle-dock{--play-top:calc(var(--game-menu-height,52px) + 6px);--play-bottom:calc(68px + var(--play-safe-bottom));--play-heading:36px;--play-goals:76px;--play-feedback:58px;height:var(--play-viewport);min-height:0;overflow:hidden}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup{box-sizing:border-box;max-height:var(--play-viewport);scrollbar-gutter:auto;overflow-anchor:none;position:relative;height:var(--play-viewport)!important;min-height:0!important;padding:var(--play-top) max(12px,var(--play-safe-right)) var(--play-bottom) max(12px,var(--play-safe-left))!important;overflow:hidden!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup>.mechanism-box{box-sizing:border-box;position:relative;overflow:visible;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:var(--play-heading) var(--play-goals) minmax(0,1fr) var(--play-feedback)!important;gap:4px!important;width:100%!important;max-width:1480px!important;height:100%!important;min-height:0!important;margin:0 auto!important;padding:4px 8px!important;display:grid!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .mechanism-heading{gap:8px;min-width:0;min-height:0;margin:0;padding:0 4px;grid-area:1/1!important;align-items:center!important;display:flex!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .mechanism-heading h1{overflow-wrap:anywhere;min-width:0;margin:0;font-size:clamp(18px,1.7vw,24px);line-height:1.25}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .mechanism-heading>span{font-variant-numeric:tabular-nums;flex:none;font-size:13px;line-height:1.3}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-goals{box-sizing:border-box;flex-direction:column;justify-content:center;align-self:stretch;gap:4px;min-width:0;min-height:0;padding:0;display:flex;grid-area:2/1!important;margin:0!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .goal-readouts{font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;justify-content:center;min-width:0;gap:clamp(8px,2vw,22px)!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-goal small{font-size:13px;line-height:1.2}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-goal b{font-size:24px;line-height:1.1}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-goal :is(em,i){font-size:14px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .puzzle-objective{flex-wrap:wrap;justify-content:center;gap:3px 6px;min-width:0;margin:0;font-size:14px;line-height:1.35}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .puzzle-objective strong{font-size:14px;line-height:1.35}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .beginner-first-action{flex-basis:100%;font-size:13px;line-height:1.3}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-body{box-sizing:border-box;overflow-anchor:none;align-content:stretch;place-items:center;max-height:100%;position:relative;aspect-ratio:auto!important;grid-area:3/1!important;align-self:stretch!important;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;padding:0!important;display:grid!important;overflow:hidden!important;container-type:size!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-body>.direct-device{display:block;overflow:visible;transform:none;aspect-ratio:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup :is(.mechanism-status,.scene-note){box-sizing:border-box;overflow-wrap:anywhere;text-align:center;justify-content:center;align-items:center;height:100%;grid-area:4/1!important;width:50%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:3px 8px!important;font-size:14px!important;line-height:1.35!important;display:flex!important;position:static!important;overflow:hidden!important;transform:none!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .mechanism-status{place-self:stretch start}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .scene-note{place-self:stretch end}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .scene-note:empty{visibility:hidden;display:flex!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup :is(.one-rule,.mechanism-controls){display:none!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar{max-width:calc(100% - 16px - var(--play-safe-left) - var(--play-safe-right));display:flex;top:auto!important;left:50%!important;right:auto!important;bottom:max(4px,var(--play-safe-bottom))!important;flex-direction:row!important;gap:clamp(6px,3vw,24px)!important;width:max-content!important;height:60px!important;padding:0 8px!important;transform:translate(-50%)!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar>button,#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more>summary{box-sizing:border-box;min-width:44px;grid-template-rows:30px 18px!important;width:66px!important;height:56px!important;min-height:56px!important;padding:3px 5px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more-panel{bottom:64px!important;right:0!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup:has(.result-review) :is(.mechanism-status,.scene-note){visibility:hidden}@media (orientation:landscape) and (width>=900px){#app.has-puzzle-toolbar.has-puzzle-dock{--play-heading:76px;--play-feedback:50px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup>.mechanism-box{grid-template-columns:minmax(210px,27%) minmax(0,1fr)!important;grid-template-rows:var(--play-heading) minmax(0,1fr) var(--play-feedback)!important;gap:4px 10px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .mechanism-heading{flex-wrap:wrap;align-content:center;gap:4px 8px;grid-area:1/1!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .mechanism-heading h1{flex-basis:100%}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-goals{flex-direction:row;gap:12px;grid-area:1/2!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .puzzle-objective{flex:1 1 0;align-content:center}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-body{grid-area:2/1/3/3!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup :is(.mechanism-status,.scene-note){grid-area:3/1/4/3!important}}@media (width<=600px){#app.has-puzzle-toolbar.has-puzzle-dock{--play-heading:46px;--play-goals:112px;--play-feedback:108px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup>.mechanism-box{padding-inline:2px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .mechanism-heading h1{font-size:18px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-goal b{font-size:22px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup :is(.mechanism-status,.scene-note){padding-inline:4px!important;font-size:13px!important}}@media (orientation:landscape) and (height<=550px){#app.has-puzzle-toolbar.has-puzzle-dock{--play-bottom:8px;--play-heading:50px;--play-feedback:60px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup{padding-right:calc(82px + var(--play-safe-right))!important;padding-bottom:max(8px,var(--play-safe-bottom))!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup>.mechanism-box{grid-template-columns:minmax(180px,24%) minmax(0,1fr)!important;grid-template-rows:var(--play-heading) minmax(0,1fr) var(--play-feedback)!important;gap:4px 8px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .mechanism-heading{flex-wrap:wrap;align-content:center;gap:2px;grid-area:1/1!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .mechanism-heading h1{font-size:18px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-goals{flex-direction:column;justify-content:center;gap:6px;grid-area:2/1!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .puzzle-objective{flex:none}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .goal-readouts{flex-wrap:wrap;gap:7px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-body{grid-area:1/2/4/3!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup :is(.mechanism-status,.scene-note){place-self:stretch stretch;grid-area:3/1!important;width:100%!important;font-size:13px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup:has(.scene-note:not(:empty)) .mechanism-status{visibility:hidden}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-toolbar{justify-content:center;left:auto!important;right:max(6px,var(--play-safe-right))!important;top:var(--play-top)!important;bottom:max(8px,var(--play-safe-bottom))!important;flex-direction:column!important;gap:6px!important;width:68px!important;height:auto!important;padding:0!important;transform:none!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-more-panel{bottom:0!important;right:74px!important}}@media (prefers-reduced-motion:reduce){#app .puzzle-closeup{scroll-behavior:auto;animation:none!important}}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls){--play-feedback:158px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui] .mechanism-controls:has(.erosion-preview-controls){box-sizing:border-box;align-self:start;width:100%;height:112px;min-height:0;overflow:hidden;grid-area:4/1!important;margin:0!important;padding:2px 4px!important;display:block!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .mechanism-status{display:none!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .scene-note{align-self:end;height:42px;width:100%!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.result-review) .mechanism-controls{visibility:hidden}@media (orientation:landscape) and (width>=900px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui] .mechanism-controls:has(.erosion-preview-controls){grid-area:3/1/4/3!important}}@media (width<=600px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls){--play-feedback:180px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui] .mechanism-controls:has(.erosion-preview-controls){height:138px}#app .puzzle-closeup[data-puzzle=somuui] .erosion-preview-controls p{margin-bottom:4px;font-size:13px;line-height:1.3}#app .puzzle-closeup[data-puzzle=somuui] .erosion-preview-controls>div{gap:4px}#app .puzzle-closeup[data-puzzle=somuui] .erosion-preview-controls button{flex:1 1 0;min-width:0;padding-inline:4px;font-size:12px}#app .puzzle-closeup[data-puzzle=somuui] .erosion-preview-controls [data-erosion-replay]{flex-basis:100%;min-height:44px}#app .puzzle-closeup[data-puzzle=somuui] .erosion-preview-controls small{display:none}}@media (orientation:landscape) and (height<=550px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls){--play-feedback:116px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls)>.mechanism-box{grid-template-rows:52px minmax(0,1fr) var(--play-feedback)!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui] .device-body{grid-area:1/2/3/3!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui] .mechanism-controls:has(.erosion-preview-controls){height:100%;grid-area:3/1/4/3!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui] .scene-note{display:none!important}#app .puzzle-closeup[data-puzzle=somuui] .erosion-preview-controls p{margin-bottom:4px;font-size:13px;line-height:1.3}#app .puzzle-closeup[data-puzzle=somuui] .erosion-preview-controls small{margin-top:4px;font-size:12px}}body:has(#app>.assembly-screen){overscroll-behavior:none;overflow:hidden}#app>.assembly-screen.treasure-room{--play-bottom:max(8px,var(--play-safe-bottom));--play-feedback:64px;box-sizing:border-box;grid-template-columns:minmax(0,1fr);grid-template-rows:40px 32px minmax(0,1fr) var(--play-feedback);width:100%;height:var(--play-viewport);min-height:0;padding:calc(var(--game-menu-height,60px) + 6px) max(12px,var(--play-safe-right)) var(--play-bottom) max(12px,var(--play-safe-left));overflow-anchor:none;gap:4px;display:grid;position:relative;overflow:hidden;container-type:size}#app>.assembly-screen.treasure-room>h1{grid-area:1/1;align-self:center;margin:0;font-size:clamp(20px,2.5vw,28px);line-height:1.25}#app>.assembly-screen.treasure-room>p:not(.scene-note){grid-area:2/1;align-self:center;margin:0;font-size:15px;line-height:1.3}#app>.assembly-screen.treasure-room>.fracture-stage{aspect-ratio:1.3;grid-area:3/1;place-self:center;width:min(100%,130cqh - 192.4px);max-width:1200px;height:auto;min-height:0;max-height:100%;margin:0}#app>.assembly-screen.treasure-room>.scene-note{grid-area:4/1;justify-content:center;align-self:stretch;align-items:center;height:100%;min-height:0;margin:0;padding:4px;font-size:15px;line-height:1.35;display:flex}#app>.assembly-screen.treasure-room:has(.result-review)>.scene-note{visibility:hidden}#app>.assembly-screen.treasure-room>.result-review{bottom:var(--play-bottom);max-width:1200px}#app>.assembly-screen.treasure-room>.assembly-celebration{inset:calc(var(--game-menu-height,60px) + 6px) max(12px,var(--play-safe-right)) max(12px,var(--play-safe-bottom)) max(12px,var(--play-safe-left))}@media (width<=600px){#app>.assembly-screen.treasure-room{--play-feedback:104px;grid-template-rows:36px 30px minmax(0,1fr) var(--play-feedback)}#app>.assembly-screen.treasure-room>.fracture-stage{aspect-ratio:1;width:min(100%,100cqh - 182px)}}@media (orientation:landscape) and (height<=550px){#app>.assembly-screen.treasure-room{--play-feedback:54px;grid-template-rows:30px 22px minmax(0,1fr) var(--play-feedback)}#app>.assembly-screen.treasure-room>.fracture-stage{width:min(100%,130cqh - 153.4px)}#app>.assembly-screen.treasure-room>.result-review{width:calc(100% - 32px - var(--play-safe-left) - var(--play-safe-right));height:var(--play-feedback);gap:12px;min-width:0;padding:3px 10px;display:flex;left:50%;transform:translate(-50%)}}#app>.assembly-screen.treasure-room>.assembly-result-review{box-sizing:border-box;color:#173b49;text-align:left;background:#fff9ea;border:2px solid #246877;border-radius:10px;grid-area:4/1;place-self:stretch center;align-items:center;gap:14px;width:min(100%,1200px);height:100%;margin:0;padding:4px 12px;display:flex}#app>.assembly-screen.treasure-room>.assembly-result-review>span{flex:1;min-width:0;font-size:15px;line-height:1.35}#app>.assembly-screen.treasure-room>.assembly-result-review>button{flex:none;min-height:44px;padding:7px 14px;font-size:16px;line-height:1.25;color:#fff!important;box-shadow:none!important;text-shadow:none!important;-webkit-text-stroke:0!important;background:#1d6576!important}#app>.assembly-screen.treasure-room:has(.assembly-result-review)>.scene-note{visibility:hidden}@media (width<=600px){#app>.assembly-screen.treasure-room>.assembly-result-review{text-align:center;grid-template-rows:minmax(0,1fr) 44px;gap:4px;display:grid}#app>.assembly-screen.treasure-room>.assembly-result-review>span{font-size:14px}}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls)>.mechanism-box{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:var(--play-heading) var(--play-goals) minmax(0,1fr) var(--play-feedback)!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .device-body{grid-area:3/1!important}@media (orientation:landscape){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls)>.mechanism-box{grid-template-columns:minmax(180px,24%) minmax(0,1fr)!important;grid-template-rows:64px minmax(0,1fr) var(--play-feedback)!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .mechanism-heading{align-content:center;grid-area:1/1!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .device-goals{justify-content:center;flex-direction:column!important;grid-area:2/1!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .device-body{grid-area:1/2/3/3!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .mechanism-controls{grid-area:3/1/4/3!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .scene-note{grid-area:3/1/4/3!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .goal-readouts{width:100%;flex-wrap:wrap!important;gap:8px!important}}@media (orientation:landscape) and (height<=550px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-goals>.goal-readouts{width:100%;max-width:100%;flex-wrap:wrap!important;gap:8px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .device-goals .device-goal{flex:0 auto;min-width:0}}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-board{--fleet-water-height:clamp(80px,calc(100cqh - 250px),250px);box-sizing:border-box;grid-template-rows:32px minmax(0,1fr);gap:0;width:100%;height:100%;max-height:100%;margin:0 auto;min-height:0!important;padding:0 4px!important;display:grid!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .lock-next-action{box-sizing:border-box;grid-area:1/1;justify-content:center;align-items:center;height:32px;min-height:0;padding:1px 4px;line-height:1.3;display:flex;margin:0!important;font-size:14px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-layout{grid-area:2/1;grid-template-rows:minmax(0,1fr);align-items:stretch;height:100%;min-height:0;grid-template-columns:minmax(132px,1fr) minmax(210px,1.4fr) minmax(132px,1fr)!important;gap:12px!important;display:grid!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-chamber{grid-template-rows:minmax(0,1fr);align-items:start;min-height:0;margin:0;grid-area:1/2!important;grid-template-columns:minmax(0,1fr) 78px!important;gap:8px!important;padding:30px 0 0!important;display:grid!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .chamber-shell{grid-area:1/1;min-height:0;height:var(--fleet-water-height)!important;margin:0 8px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .chamber-actions{grid-area:1/2;align-self:start;padding:0;margin:0!important;display:block!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .pump-lever{flex-direction:column;gap:2px;display:flex;width:78px!important;min-height:126px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .pump-art{transform-origin:top;transform:scale(.88);flex-basis:100px!important;width:78px!important;height:100px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .pump-copy{max-width:78px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock{box-sizing:border-box;grid-row:1;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:44px;align-content:start;gap:2px 4px;height:100%;display:grid;position:relative;min-height:0!important;padding:calc(var(--dock-water-bottom,140px) + 6px) 0 0!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .dock-0{grid-column:1}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .dock-1{grid-column:3}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock h2{line-height:1.2;position:absolute;top:0;left:0;right:0;margin:0!important;padding:1px 3px!important;font-size:16px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock h2 span{margin-left:5px;line-height:1.2;display:inline;font-size:12px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] :is(.moored-ships,.arrivals,.arrivals>div){height:auto;min-height:0!important;margin:0!important;padding:0!important;display:contents!important;position:static!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .arrivals>span{bottom:auto;left:4px;top:calc(var(--dock-water-bottom,140px) - 22px);font-size:13px;line-height:18px;position:absolute}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .empty-dock{display:none}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock .fleet-ship{box-sizing:border-box;justify-content:center;align-items:center;display:flex;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important;padding:2px 2px 12px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock .fleet-ship .ship-art{box-sizing:border-box;width:min(96px,100%)!important;min-width:0!important;max-width:100%!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock .ship-number{font-size:13px!important;bottom:-12px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock .ship-direction{font-size:13px;bottom:-12px;right:0}@media (orientation:landscape) and (height<=550px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-board{--fleet-water-height:clamp(80px,calc(100cqh - 204px),250px)}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-layout{grid-template-columns:minmax(140px,1fr) minmax(180px,1.4fr) minmax(140px,1fr)!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (orientation:portrait){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock]{--play-heading:40px;--play-goals:76px;--play-feedback:76px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-board{--fleet-side-water:clamp(44px,calc(100cqh - 370px),112px);--fleet-water-height:112px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-layout{grid-template-rows:132px minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px 12px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-chamber{grid-area:1/1/2/3!important;grid-template-columns:minmax(0,1fr) 88px!important;padding-top:12px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .pump-lever{min-height:120px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock{grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:calc(36px + var(--fleet-side-water) + 4px)!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .dock-0{grid-column:1}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .dock-1{grid-column:2}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .dock-water-target{height:var(--fleet-side-water)!important;top:36px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock h2 span{margin:0;display:block;font-size:12px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .arrivals>span{top:calc(36px + var(--fleet-side-water) - 20px)}}@media (orientation:portrait) and (width<=600px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock]{--play-feedback:100px}}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle][data-difficulty]>.mechanism-box{align-content:stretch;max-height:100%;height:100%!important;min-height:0!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle][data-difficulty] .device-body{max-height:100%;align-self:stretch!important;height:100%!important;min-height:0!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls)>.mechanism-box{align-content:stretch;max-height:100%;height:100%!important;min-height:0!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=somuui]:has(.erosion-preview-controls) .device-body{max-height:100%;height:100%!important;min-height:0!important}@media (orientation:portrait) and (width>=500px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-board{--fleet-water-height:clamp(100px,calc(100cqh - 250px),160px)}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(110px,1fr) minmax(200px,1.4fr) minmax(110px,1fr)!important;gap:10px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-chamber{grid-area:1/2!important;grid-template-columns:minmax(0,1fr) 74px!important;padding-top:30px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock{grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));padding-top:calc(var(--dock-water-bottom,140px) + 6px)!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .dock-0{grid-column:1}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .dock-1{grid-column:3}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .dock-water-target{top:var(--water-top,30px)!important;height:var(--water-height,160px)!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock h2 span{margin:0;display:block}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .arrivals>span{top:calc(var(--dock-water-bottom,140px) - 22px)}}@media (orientation:portrait),(orientation:landscape) and (height<=550px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock{--arrival-height:72px;--arrival-top:calc(var(--dock-water-bottom,140px) - var(--arrival-height))}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock h2 span{margin-left:0;display:block}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals{left:4px;right:4px;top:var(--arrival-top);bottom:auto;overflow:visible;height:var(--arrival-height)!important;display:block!important;position:absolute!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals>span{top:calc(2px - var(--arrival-top));padding:0 2px;font-size:12px;line-height:16px;bottom:auto;left:auto;right:0}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals>div{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:24px;align-content:end;gap:0 2px;height:100%!important;display:grid!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals .fleet-ship{filter:none;opacity:1!important;height:24px!important;min-height:24px!important;padding:0!important;display:flex!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals .ship-art{height:18px;min-height:18px;width:min(40px,100%)!important;min-width:0!important;max-width:100%!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals .ship-art img{object-fit:contain;width:100%;height:100%}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals .ship-number{line-height:11px;font-size:11px!important;bottom:-2px!important}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals .ship-direction{font-size:10px;line-height:11px;bottom:-2px;right:0}}@media (orientation:portrait) and (width<=499px){#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock{--arrival-height:44px;--arrival-top:calc(36px + var(--fleet-side-water) - var(--arrival-height))}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals>div{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:22px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals .fleet-ship{height:22px!important;min-height:22px!important}}@media (orientation:portrait) and (width<=600px){#app.has-puzzle-toolbar.has-puzzle-dock{--play-feedback:88px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup:not([data-puzzle=somuui]) :is(.mechanism-status,.scene-note){place-self:center stretch;width:100%!important;height:auto!important;min-height:44px!important;max-height:100%!important;padding:6px 8px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup:has(.scene-note:not(:empty)) .mechanism-status{visibility:hidden}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock]{--play-feedback:76px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=fairy]{--play-heading:40px;--play-goals:48px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=fairy] .puzzle-objective{display:none!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=fairy] .device-goals{display:flex!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup>.result-review{text-align:left;gap:8px;padding:4px 8px;display:flex}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup>.result-review p{font-size:13px;line-height:1.3}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup>.result-review button{white-space:normal;flex:0 0 100px;min-width:100px;font-size:14px;width:100px!important}}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock .moored-ships .ship-art{height:28px;max-height:28px}#app.has-puzzle-toolbar.has-puzzle-dock .puzzle-closeup[data-puzzle=lock] .fleet-dock .moored-ships .ship-art img{object-fit:contain;width:100%;height:100%}body:has(#app>.completion-overlay){overscroll-behavior:none;overflow:hidden}#app>.completion-overlay{--clear-art:clamp(80px,calc((100dvh - 590px)*.5),150px);--clear-text:16px;box-sizing:border-box;width:100%;min-height:0;padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overscroll-behavior:none;touch-action:auto;grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(44px,auto);place-content:stretch;align-items:stretch;gap:8px;position:fixed;inset:0;height:var(--play-viewport,100dvh)!important;max-height:var(--play-viewport,100dvh)!important;margin:0!important;display:grid!important;overflow:hidden!important}#app>.completion-overlay>.stage-celebration{grid-area:1/1/2/-1;grid-template-columns:minmax(0,1fr);grid-template-rows:44px var(--clear-art) 30px 24px 68px minmax(0,1fr);align-content:stretch;align-items:stretch;gap:4px;width:100%;max-width:1200px;height:100%;min-height:0;max-height:100%;display:grid;margin:0 auto!important}#app>.completion-overlay .celebration-topline{grid-area:1/1;height:44px;min-height:44px;margin:0;font-size:14px}#app>.completion-overlay [data-celebration-skip]{height:44px;min-height:44px;padding:5px 10px;font-size:14px}#app>.completion-overlay .celebration-art{width:min(100%,calc(var(--clear-art)*1.65));grid-area:2/1;place-self:center;min-height:0;max-height:100%;height:var(--clear-art)!important;margin:0!important}#app>.completion-overlay .stage-celebration h2{grid-area:3/1;align-self:center;line-height:1.2;margin:0!important;font-size:24px!important}#app>.completion-overlay .celebration-reward{grid-area:4/1;align-self:center;min-height:0;line-height:1.3;margin:0!important;font-size:15px!important}#app>.completion-overlay .reward-collection{grid-area:5/1;place-self:stretch center;align-items:center;gap:12px;width:max-content;max-width:100%;height:68px;min-height:0;padding:6px 10px;font-size:13px;display:flex;margin:0!important}#app>.completion-overlay .reward-collection>span{max-width:64px;line-height:1.35}#app>.completion-overlay .reward-slots{gap:6px;margin:0}#app>.completion-overlay .reward-slot{width:48px;height:44px}#app>.completion-overlay .reward-slot img{height:38px}#app>.completion-overlay .celebration-reading{grid-area:6/1;align-self:start;min-width:0;min-height:0;max-height:100%;margin:0;overflow:visible}#app>.completion-overlay .completion-math{text-align:left;margin:2px 0 8px}#app>.completion-overlay .completion-math strong{font-size:17px;line-height:1.3}#app>.completion-overlay .completion-math p{word-break:normal;overflow-wrap:anywhere;margin:4px 0 0;line-height:1.4;font-size:var(--clear-text)!important}#app>.completion-overlay .celebration-place{text-align:left;border-top:1px solid #ffffff26;margin:0;padding:6px 0 44px;line-height:1.4;position:relative}#app>.completion-overlay .place-kind{margin:0 0 2px;font-size:12px;line-height:16px}#app>.completion-overlay .celebration-place strong{font-size:17px;line-height:1.3}#app>.completion-overlay .celebration-place p{word-break:normal;overflow-wrap:anywhere;margin:4px 0;line-height:1.4;font-size:var(--clear-text)!important}#app>.completion-overlay .celebration-place .place-safety{margin:4px 0;line-height:1.4;font-size:max(14px,calc(var(--clear-text) - 1px))!important}#app>.completion-overlay .collection-complete-note{margin:4px 0 0;font-size:14px;line-height:1.4}#app>.completion-overlay>.stage-celebration:is([data-celebration-mode=final],[data-celebration-mode=repeat]){grid-template-rows:44px var(--clear-art) 30px 24px 0 minmax(0,1fr)}#app>.completion-overlay>button{white-space:normal;justify-content:center;place-self:stretch stretch;align-items:center;gap:6px;min-width:0;max-width:none;height:100%;min-height:44px;padding:5px 8px;font-size:15px;line-height:1.25;display:flex;width:100%!important;margin:0!important}#app>.completion-overlay>button .ui-glyph{flex:none;width:28px!important;height:28px!important}#app>.completion-overlay>button span{min-width:0;font-size:15px;line-height:1.25}#app>.completion-overlay .landmark-details{margin:0;position:absolute;bottom:0;left:0;right:0}#app>.completion-overlay .landmark-details>summary{align-content:center;height:44px;min-height:44px;padding:4px 0;font-size:14px;line-height:1.3;display:list-item}#app>.completion-overlay .landmark-details[open]{z-index:130;inset:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overscroll-behavior:contain;touch-action:pan-y;text-align:left;background:#172d37;border:2px solid #d8be83;border-radius:12px;height:auto;max-height:none;padding:0 18px 16px;position:fixed;overflow:auto}#app>.completion-overlay .landmark-details[open]>summary{z-index:1;color:#ffe4ac;background:#172d37;height:auto;min-height:52px;padding:10px 0;font-weight:800;position:sticky;top:0}#app>.completion-overlay .landmark-details[open]>summary:after{content:" · 닫기"}#app>.completion-overlay .landmark-details[open] p{margin:12px 0;line-height:1.6;font-size:16px!important}#app>.completion-overlay .landmark-details[open] a{overflow-wrap:anywhere;min-height:44px}#app>.completion-overlay>.festival-invitation{flex-direction:row;grid-column:1/-1;align-items:center;gap:10px;width:100%;max-width:1200px;min-height:0;margin:0 auto;padding:8px 10px;display:flex}#app>.completion-overlay>.festival-invitation>div{flex:1;min-width:0}#app>.completion-overlay>.festival-invitation strong{font-size:16px;line-height:1.3}#app>.completion-overlay>.festival-invitation p{margin:3px 0 0;font-size:14px;line-height:1.35}#app>.completion-overlay>.festival-invitation button{flex:0 0 116px;min-height:44px;padding:6px;font-size:14px;line-height:1.3}#app>.rhythm-cover-content.completion-overlay>p{grid-column:1/-1;align-self:center;min-height:0;margin:0;font-size:14px;line-height:1.35}#app>.rhythm-cover-content.completion-overlay>.rhythm-cover-actions{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;width:100%;max-width:1200px;margin:0 auto;display:grid!important}#app>.rhythm-cover-content.completion-overlay .rhythm-cover-secondary{display:contents}#app>.rhythm-cover-content.completion-overlay .rhythm-cover-actions button{width:100%;min-width:0;height:100%;min-height:44px;padding:5px 8px;font-size:15px;line-height:1.3}#app>.rhythm-cover-content.completion-overlay .rhythm-cover-actions button span{font-size:15px}@media (orientation:portrait) and (width<=480px){#app>.completion-overlay{--clear-art:80px;--clear-text:14px;gap:6px}#app>.completion-overlay>.stage-celebration{grid-template-rows:44px var(--clear-art) 28px 24px 64px minmax(0,1fr);gap:3px}#app>.completion-overlay .reward-collection{gap:8px;height:64px;padding:4px 8px}#app>.completion-overlay .reward-slot{width:44px}#app>.completion-overlay .completion-math strong,#app>.completion-overlay .celebration-place strong{font-size:16px}#app>.completion-overlay>.stage-celebration:is([data-celebration-mode=final],[data-celebration-mode=repeat]){grid-template-rows:44px var(--clear-art) 28px 24px 0 minmax(0,1fr)}}@media (orientation:landscape) and (width>=760px){#app>.completion-overlay{--clear-art:clamp(110px,calc(100dvh - 340px),220px);--clear-text:16px}#app>.completion-overlay>.stage-celebration{grid-template-rows:44px minmax(0,1fr) 32px 24px 68px;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:4px 24px}#app>.completion-overlay .celebration-topline{grid-area:1/1/2/3}#app>.completion-overlay .celebration-art{grid-area:2/1;align-self:center}#app>.completion-overlay .stage-celebration h2{grid-area:3/1}#app>.completion-overlay .celebration-reward{grid-area:4/1}#app>.completion-overlay .reward-collection{grid-area:5/1}#app>.completion-overlay .celebration-reading{grid-area:2/2/6/3;align-self:center}#app>.completion-overlay .celebration-place{padding-top:8px}#app>.completion-overlay>.stage-celebration:is([data-celebration-mode=final],[data-celebration-mode=repeat]){grid-template-rows:44px minmax(0,1fr) 32px 24px 0}}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup .puzzle-objective>.beginner-first-action{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}@media (orientation:portrait){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup:has(.device-goals:not(.has-objective)){--play-goals:56px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup:not([data-puzzle=fairy]):has(.beginner-first-action){--play-goals:112px}}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-chamber{min-width:0;grid-template-columns:minmax(0,1fr) 104px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .chamber-actions{min-width:0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .pump-lever{box-sizing:border-box;min-width:104px;padding-inline:0;width:104px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .pump-art{width:104px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .pump-copy{max-width:104px}@media (orientation:portrait) and (width<=499px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .device-body{justify-content:stretch;grid-template-columns:minmax(0,1fr)!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-board{--fleet-water-height:96px;box-sizing:border-box;grid-template-columns:minmax(0,1fr);justify-self:stretch;min-width:0;width:100cqw!important;max-width:none!important;margin:0!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-layout{justify-self:stretch;width:100%;min-width:0;grid-template-rows:118px minmax(0,1fr)!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-chamber{padding-top:10px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .pump-lever{min-height:108px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .pump-art{flex-basis:88px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-dock{--arrival-top:calc(20px + var(--fleet-side-water) - var(--arrival-height));display:block;padding-top:calc(20px + var(--fleet-side-water) + 4px)!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-dock h2{height:20px;line-height:18px;font-size:14px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-dock h2 span{white-space:nowrap;margin-left:4px;display:inline;font-size:12px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .dock-water-target{top:20px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-dock.has-manifest-pager{box-sizing:border-box;grid-template-rows:minmax(44px,1fr);grid-template-columns:44px minmax(44px,1fr) 44px;justify-self:stretch;gap:2px;width:100%;min-width:0;display:grid}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .has-manifest-pager>.moored-ships{overscroll-behavior:contain;scroll-snap-type:x mandatory;scrollbar-width:none;grid-area:1/2;grid-template-rows:44px;grid-template-columns:none;grid-auto-columns:100%;grid-auto-flow:column;align-content:center;gap:0;width:100%;max-height:100%;inset:auto;overflow:auto;height:100%!important;min-height:44px!important;display:grid!important;position:relative!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .has-manifest-pager>.moored-ships::-webkit-scrollbar{display:none}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .has-manifest-pager>.moored-ships>.fleet-ship{scroll-snap-align:start;touch-action:none}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .lock-manifest-page{width:44px;min-width:44px;height:44px;min-height:44px;box-shadow:none;color:#25434d;touch-action:manipulation;background:#fff9eb;border:1px solid #397785;border-radius:6px;grid-template-rows:22px 14px;align-content:center;align-self:center;place-items:center;margin:0;padding:0;font-size:24px;line-height:22px;display:grid}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .lock-manifest-page small{font-size:11px;line-height:14px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .lock-manifest-page[data-direction="-1"]{grid-area:1/1}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .lock-manifest-page[data-direction="1"]{grid-area:1/3}}.lock-manifest-page[hidden]{display:none!important}@media (orientation:portrait) and (width<=499px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals>span{white-space:normal;text-align:center;justify-content:center;align-items:center;width:48px;height:44px;padding:0;font-size:12px;line-height:16px;display:flex;inset:0 auto auto 0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock] .fleet-dock>.arrivals>div{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:22px;width:calc(100% - 48px);bottom:0;left:48px;right:0;height:44px!important;position:absolute!important}}@media (orientation:portrait) and (width<=499px) and (height<=600px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock]{--play-top:calc(var(--game-menu-height,52px) + 2px);--play-bottom:calc(64px + var(--play-safe-bottom));--play-heading:38px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock]>.mechanism-box{row-gap:2px!important;padding-block:0!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock]>.result-review{bottom:var(--play-bottom)}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock].short-beginner-lock{--play-heading:30px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock].short-beginner-lock .mechanism-heading{padding-block:3px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock].short-beginner-lock .fleet-dock{--arrival-top:20px;--arrival-height:44px;padding-top:20px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock].short-beginner-lock .dock-water-target{width:44px;left:0;right:auto;height:44px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock].short-beginner-lock .fleet-dock>.arrivals{width:44px;left:0;right:auto}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock].short-beginner-lock .fleet-dock>.arrivals>span{white-space:nowrap;width:44px;height:14px;font-size:11px;line-height:14px;top:0;left:0;right:0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=lock].short-beginner-lock .fleet-dock>.arrivals>div{grid-template-columns:minmax(0,1fr);width:100%;left:0;right:0;height:22px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=window] .lattice-workspace:has(.lattice-slot:nth-child(5)){--shelf-width:188px;--unit:min(calc((100cqh - 8px)/var(--rows,6)),calc((100cqw - 204px)/4));grid-template-columns:minmax(0,1fr) 188px;gap:8px;padding:4px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=window] .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-tray{--unit:10px;grid-template-rows:repeat(3,minmax(44px,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=window] .lattice-workspace:has(.lattice-slot:nth-child(5)) .lattice-slot{grid-template-rows:minmax(44px,1fr);grid-template-columns:minmax(44px,1fr) 44px;gap:4px;min-height:44px}}@media (orientation:portrait) and (width<=600px) and (height<=600px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle]{--play-top:calc(var(--game-menu-height,52px) + 2px);--play-bottom:calc(64px + var(--play-safe-bottom));--play-heading:34px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle]>.mechanism-box{row-gap:2px!important;padding-block:0!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle]>.result-review{bottom:var(--play-bottom)}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .long-noodle.noodle-visual{grid-template-rows:minmax(0,1fr) 110px;gap:4px;padding:0 12px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .long-noodle.noodle-visual .noodle-strand{aspect-ratio:800/280;align-self:center;width:min(100%,285.714cqh - 325.714px);height:auto;min-height:0;margin:0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-comparison{grid-template-rows:18px 30px 40px 16px;gap:2px;height:110px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-visual .noodle-orders{grid-template-rows:40px;gap:4px;height:40px;padding:0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-orders-title{font-size:14px;line-height:18px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-order-rule{font-size:12px;line-height:15px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-match-guide{font-size:12px;line-height:16px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-order{justify-content:center;padding:0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-order>.noodle-order-shape{width:16px;height:min(56px,calc((100cqw - 24px)/var(--noodle-order-count) - 4px));transform-origin:50%;transform:rotate(-90deg)}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-match-mark{width:12px;height:12px;font-size:12px;line-height:12px;top:0;bottom:auto;right:0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .long-noodle .noodle-cut{width:44px;min-width:44px;height:44px;min-height:44px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-cut>svg{width:36px;height:24px;transform:translate(-61%,-70%)rotate(-12deg)}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=noodle] .noodle-cut[aria-pressed=true]>svg{transform:translate(-61%,-70%)rotate(-18deg)}}#app>dialog.tutorial-practice[open]{grid-template-columns:minmax(0,1fr)}#app>dialog.tutorial-practice[open] :is(.practice-header,.practice-footer){min-width:0;min-height:0}#app>dialog.tutorial-practice[open] :is(.practice-header,.practice-footer)>button{box-sizing:border-box;white-space:nowrap;word-break:keep-all;flex:none;transition:background-color .12s,color .12s;transform:none}#app>dialog.tutorial-practice[open]>.practice-instruction{overflow-wrap:anywhere;border-width:2px;width:100%;min-width:0;max-width:760px}#app>dialog.tutorial-practice[open]>.practice-footer>span{word-break:keep-all;min-width:0}#app>dialog.tutorial-practice[open] .device-goals>.goal-readouts{font-variant-numeric:tabular-nums;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;justify-content:center;align-items:center;min-width:0;max-width:100%;visibility:visible!important;gap:8px!important;width:min(100%,580px)!important;display:grid!important}#app>dialog.tutorial-practice[open] .goal-readouts>.device-goal{flex:none;grid-template-rows:17px 26px;align-content:center;place-items:center;gap:1px;width:100%;min-width:0;max-width:100%;display:grid!important}#app>dialog.tutorial-practice[open] .goal-readouts>.device-goal>small{white-space:nowrap;min-height:17px;line-height:17px;font-size:13px!important}#app>dialog.tutorial-practice[open] .goal-readouts>.device-goal>span{white-space:nowrap;align-items:center;gap:3px;min-width:0;max-width:100%;height:26px}#app>dialog.tutorial-practice[open] .goal-readouts>.device-goal b{font-variant-numeric:tabular-nums;line-height:1.1;font-size:22px!important}#app>dialog.tutorial-practice[open] .goal-readouts>.device-goal :is(em,i){font-size:14px!important}@media (width<=760px){#app>dialog.tutorial-practice[open]{grid-template-rows:52px 76px minmax(0,1fr) 76px;gap:6px}#app>dialog.tutorial-practice[open]>.practice-footer{grid-template-rows:24px 44px;grid-template-columns:repeat(3,minmax(0,1fr));align-content:center;align-items:stretch;gap:4px;display:grid}#app>dialog.tutorial-practice[open]>.practice-footer>span{text-align:center;grid-column:1/-1;align-self:center;max-width:none;margin:0;font-size:13px;line-height:1.3}#app>dialog.tutorial-practice[open]>.practice-footer>button{width:100%;min-width:0;height:44px;min-height:44px;padding:6px 2px;font-size:13px;line-height:1.25}}@media (width<=600px){#app>dialog.tutorial-practice[open]{grid-template-rows:56px 90px minmax(0,1fr) 76px;gap:4px}}@media (orientation:landscape) and (height<=550px) and (width<=760px){#app>dialog.tutorial-practice[open]{grid-template-rows:44px 68px minmax(0,1fr) 76px;gap:4px}}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=lock] .fleet-board{grid-template-rows:minmax(0,1fr)}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=lock] .fleet-layout{grid-area:1/1}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=lock] .fleet-chamber{min-width:0;grid-template-columns:minmax(0,1fr) 104px!important}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=lock] .chamber-actions{min-width:0;max-width:104px}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=lock] .pump-lever{box-sizing:border-box;min-width:0;max-width:100%;padding:0;transform:none;width:104px!important;min-height:120px!important}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=lock] .pump-art{flex-shrink:0;max-width:100%;width:104px!important}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=lock] .pump-track{left:40px}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=lock] .pump-copy{white-space:nowrap;width:104px;max-width:100%}@media (orientation:portrait) and (width<=600px) and (height<=650px){#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=tribowl] .device-body{justify-content:stretch;grid-template-columns:minmax(0,1fr)!important}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=tribowl] .stack-workspace{--practice-stack-tray:118px;grid-template-columns:114px minmax(0,1fr);grid-template-rows:minmax(0,1fr) var(--practice-stack-tray) 30px;grid-template-areas:"cards board""cards shelf""help help";align-content:stretch;gap:4px;width:100%;min-width:0;min-height:0;padding:4px}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=tribowl] .stack-cards{grid-area:cards;align-self:center;gap:4px;min-height:0}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=tribowl] .stack-card{padding:3px 4px}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=tribowl] .stack-shelf{display:contents}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=tribowl] .stack-tray{height:var(--practice-stack-tray);grid-area:shelf;grid-auto-columns:minmax(44px,1fr);gap:4px;min-width:0}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=tribowl] .stack-slot{height:var(--practice-stack-tray);min-height:var(--practice-stack-tray);grid-template-rows:70px 44px}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=tribowl] .stack-slot-empty{grid-area:1/1/-1/-1}#app>dialog.tutorial-practice[open] .practice-board[data-puzzle=tribowl] .stack-help{grid-area:help;align-self:center;width:100%;height:30px;min-height:30px;font-size:12px;line-height:15px}}@media (orientation:portrait) and (width<=499px) and (height<=600px){#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl]{--play-top:calc(var(--game-menu-height,52px) + 2px);--play-bottom:calc(64px + var(--play-safe-bottom));--play-heading:30px;--play-feedback:68px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl]:has(.beginner-first-action){--play-goals:96px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl]>.mechanism-box{row-gap:2px!important;padding-block:0!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .mechanism-heading{padding-block:3px!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .device-body{justify-content:stretch;grid-template-columns:minmax(0,1fr)!important}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl]>.result-review{bottom:var(--play-bottom)}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-workspace{--practice-stack-side:92px;grid-template-columns:minmax(0,1fr) var(--practice-stack-side);grid-template-rows:96px minmax(0,1fr) 30px;grid-template-areas:"cards cards""board shelf""help help";align-content:stretch;gap:4px;width:100%;min-width:0;min-height:0;padding:4px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-workspace:has(.stack-slot:nth-child(3)){--practice-stack-side:188px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-cards{grid-area:cards;grid-template-columns:repeat(2,minmax(0,1fr));align-self:center;gap:8px;width:100%;max-width:none;min-height:0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-card{padding:3px 4px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-shelf{display:contents}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-tray{grid-area:shelf;grid-template-columns:minmax(0,1fr);grid-auto-rows:44px;grid-auto-columns:auto;grid-auto-flow:row;align-content:center;gap:2px 4px;height:100%;min-height:0}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-workspace:has(.stack-slot:nth-child(3)) .stack-tray{grid-template-columns:repeat(2,minmax(0,1fr))}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-slot{grid-template-rows:44px;grid-template-columns:minmax(44px,1fr) 44px;gap:4px;height:44px;min-height:44px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-slot:not(:has(.stack-turn)){grid-template-columns:minmax(44px,1fr)}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-piece{grid-template-rows:28px 12px;align-content:center;gap:0;height:44px;min-height:44px;padding:2px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-piece-art{height:28px;max-height:28px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-piece-name{white-space:nowrap;font-size:12px;line-height:12px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-piece.selected{outline-offset:-2px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-turn{grid-template-rows:24px 12px;gap:0;width:44px;height:44px;min-height:44px;padding:2px;line-height:24px;display:grid}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-turn small{font-size:11px;line-height:12px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-slot-empty{grid-area:1/1/2/-1;place-self:center}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl] .stack-help{grid-area:help;align-self:center;width:100%;height:30px;min-height:30px;font-size:12px;line-height:15px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl]:not(:has(.beginner-first-action)){--play-goals:80px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl]:not(:has(.beginner-first-action)) .stack-workspace{--unit:9px;grid-template-rows:86px minmax(0,1fr) 30px;row-gap:1px;padding-block:1px}#app.has-puzzle-toolbar.has-puzzle-dock>.puzzle-closeup[data-puzzle=tribowl]:not(:has(.beginner-first-action)) .stack-card{padding-block:1px}}.festival-snack-screen{max-width:900px;padding-bottom:32px}.festival-snack-screen header{margin-bottom:24px}.festival-snack-screen h1{margin:10px 0}.festival-snack-card{border:var(--ui-border);border-radius:var(--ui-radius-panel);background:var(--ui-paper-raised);box-shadow:var(--ui-shadow);grid-template-columns:88px minmax(0,1fr);align-items:center;gap:24px;margin:24px 0;padding:28px;display:grid}.festival-snack-symbol{border:var(--ui-border);background:var(--ui-gold);width:88px;height:88px;color:var(--ui-ink);border-radius:50%;place-items:center;font-size:48px;line-height:1;display:grid}.festival-snack-status{border:1px solid var(--ui-line-soft);background:var(--ui-selected);color:var(--ui-success);border-radius:999px;padding:5px 12px;font-size:14px;font-weight:700;line-height:1.5;display:inline-block}.festival-snack-card h2{margin:12px 0 8px;font-size:clamp(24px,4vw,30px)}.festival-snack-message{margin:0;font-size:clamp(17px,2.3vw,20px)}.festival-snack-screen .festival-snack-note{background:var(--ui-selected);margin:20px 0}.festival-snack-note h2{margin:0 0 8px}.festival-snack-note p{margin:0}.festival-snack-screen .festival-snack-qa{background:var(--ui-gold)}.festival-snack-locked h2{margin:12px 0}.festival-snack-locked ol{word-break:keep-all;overflow-wrap:anywhere;padding-left:24px;line-height:1.8}.festival-snack-locked li+li{margin-top:8px}.festival-snack-locked .festival-snack-status{background:var(--ui-paper-raised);color:var(--ui-muted)}.festival-snack-screen .festival-courses{padding:0 4px}.festival-snack-screen .festival-courses summary:focus-visible{outline:var(--ui-focus);outline-offset:4px;border-radius:var(--ui-radius-sm)}.festival-snack-screen .festival-courses ul{line-height:1.8}@media (width<=600px){.festival-snack-screen header{margin-bottom:20px}.festival-snack-card{grid-template-columns:1fr;gap:16px;margin:20px 0;padding:20px}.festival-snack-symbol{width:64px;height:64px;font-size:36px}.festival-snack-card h2{font-size:25px}}#app .rhythm-workbench .rhythm-screen-cover:has(>.rhythm-solved-review){pointer-events:none;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0 max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;background:0 0!important;justify-content:flex-end!important;align-items:center!important;overflow:visible!important}#app .rhythm-screen-cover .rhythm-cover-content.rhythm-solved-review{color:#203d49;pointer-events:auto;text-align:left;background:#fff8eaf5;border:2px solid #526e73;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 18px;padding:10px 14px;display:grid;box-shadow:0 3px #19343d45;width:min(100%,900px)!important;min-width:0!important;margin:0!important}#app .rhythm-solved-review .rhythm-result-copy{min-width:0}#app .rhythm-solved-review .rhythm-result-copy strong{font-size:16px;line-height:1.35;display:block}#app .rhythm-screen-cover .rhythm-solved-review .rhythm-result-math{color:#203d49;word-break:keep-all;margin:3px 0 0;font-size:15px;line-height:1.4}#app .rhythm-screen-cover .rhythm-solved-review button.rhythm-primary{color:#203d49;width:auto;min-width:0;max-width:230px;min-height:48px;text-shadow:none;-webkit-text-stroke:0;box-shadow:none;background:#fff2c6;border:2px solid #526e73;border-radius:6px;padding:8px 12px;font-size:17px;line-height:1.3}#app .rhythm-screen-cover .rhythm-solved-review button.rhythm-primary:focus-visible{outline-offset:3px;outline:3px solid #125a79}@media (width<=600px) and (orientation:portrait){#app .rhythm-screen-cover .rhythm-cover-content.rhythm-solved-review{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 12px}#app .rhythm-screen-cover .rhythm-solved-review button.rhythm-primary{justify-self:end;min-height:44px;font-size:16px}#app .rhythm-screen-cover .rhythm-solved-review .rhythm-result-math{font-size:14px}}@media (orientation:landscape) and (height<=550px){#app .rhythm-screen-cover .rhythm-cover-content.rhythm-solved-review{gap:12px;padding:8px 12px}#app .rhythm-screen-cover .rhythm-solved-review .rhythm-result-math{font-size:14px;line-height:1.3}#app .rhythm-screen-cover .rhythm-solved-review button.rhythm-primary{min-height:44px;font-size:16px}}
