:root{color:#34422f;font-synthesis:none;background:#f5f3e9;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400}*{box-sizing:border-box;touch-action:pan-x pan-y}body{margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:4px;outline:3px solid #8aa34c}button:disabled{cursor:wait}button svg{width:20px;height:20px}button{transition:background .16s,transform .16s}button:active{transform:translateY(1px)}[hidden]{display:none!important}.shell{max-width:1540px;margin:auto;padding:0 48px}.header{border-bottom:1px solid #dadfce;justify-content:space-between;align-items:center;height:92px;display:flex}.brand{color:inherit;letter-spacing:-.8px;align-items:center;gap:11px;font-size:21px;font-weight:850;line-height:1.03;text-decoration:none;display:flex}.brand img{width:46px;height:46px}.brand-second{letter-spacing:1.55px;margin-top:5px;font-size:12px;display:block}.header-center{color:#77816d;align-items:center;gap:9px;font-size:13px;display:flex}.status-dot{background:#79994e;border-radius:50%;width:6px;height:6px}.version{background:#e7e9dc;border-radius:4px;margin-left:4px;padding:4px 6px;font:10px ui-monospace,monospace}.header-actions{align-items:center;gap:24px;display:flex}.text-button{color:#58674e;background:0 0;justify-content:center;align-items:center;gap:9px;padding:8px 0;font-size:13px;display:inline-flex}.question{border:1px solid #a4ad99;border-radius:50%;place-items:center;width:17px;height:17px;font-size:11px;display:inline-grid}.tune-button{background:#e8ebdd;border:1px solid #d6dcc8;border-radius:10px;align-items:center;gap:9px;padding:10px 15px;font-size:13px;display:flex}.tune-button:hover{background:#dce5cd}.tune-button svg{width:17px;height:17px}.intro{justify-content:space-between;align-items:center;padding:29px 0 26px;display:flex}.eyebrow{letter-spacing:1.7px;color:#7f8b73;margin:0 0 9px;font:10px ui-monospace,SFMono-Regular,monospace}.intro h1{letter-spacing:-.9px;margin:0;font-size:clamp(22px,2.3vw,34px);font-weight:650}.intro h1 span{color:#91a66d}.intro-note{color:#89917c;text-align:right;margin:0;font-size:12px;line-height:1.9}.scene-bar{justify-content:space-between;align-items:center;margin:0 0 14px;display:flex}.scene-tabs{gap:7px;display:flex}.scene-tab{color:#7b856f;background:0 0;border-radius:8px;align-items:center;gap:9px;padding:10px 17px;font-size:12px;display:flex}.scene-tab:hover{background:#e8ebdf}.scene-tab.active{color:#f7f8eb;background:#34492f;box-shadow:0 3px 6px #273e2b10}.tab-number{opacity:.65;font:10px ui-monospace,monospace}.lab-tag{color:#909782;align-items:center;gap:7px;font-size:11px;display:flex}.lab-tag span{border:1px solid #909782;border-radius:50%;width:5px;height:5px}.game-card{isolation:isolate;background:#d8ece5;border:1px solid #aec7ac;border-radius:18px;height:clamp(400px,55vh,670px);min-height:400px;position:relative;overflow:hidden;box-shadow:0 8px 25px #42593809}#canvas-host{touch-action:none;position:absolute;inset:0}#canvas-host canvas{width:100%;height:100%;display:block}.stage-heading{pointer-events:none;position:absolute;top:22px;left:25px}.stage-kicker{letter-spacing:2px;color:#647e6c;font:9px ui-monospace,monospace}.stage-heading p{color:#496958;margin:7px 0 0;font-size:12px}.stage-tools{gap:7px;display:flex;position:absolute;top:18px;right:18px}.stage-tools button{color:#4f6f58;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#f7fff36b;border:1px solid #72988833;border-radius:10px;place-items:center;width:48px;height:48px;display:grid}.stage-tools button:hover{background:#ffffffa8}.stage-tools svg{width:18px;height:18px}.stage-marker{color:#537452;align-items:center;gap:7px;font-size:10px;display:flex;position:absolute;bottom:103px;left:25px}.marker-dot{background:#648649;border-radius:50%;width:5px;height:5px}.marker-dot.airborne{background:#d0935a}.marker-divider{background:#76926350;width:1px;height:9px;margin:0 4px}.touch-controls{pointer-events:none;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:flex-end;display:flex;position:absolute;bottom:19px;left:23px;right:23px}.touch-controls button{pointer-events:auto;touch-action:none}.direction-controls{gap:9px;display:flex}.control{color:#405634;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#fffcf0d9;border:1px solid #5c724455;border-radius:13px;justify-content:center;align-items:center;min-width:59px;height:64px;display:flex;box-shadow:0 3px #77906760}.control.left,.control.right{flex-direction:column;gap:5px}.control.left svg{transform:rotate(180deg)}.control svg{width:22px;height:22px}.control kbd{opacity:.65;letter-spacing:.5px;font:8px ui-monospace,monospace}.control.pressed{background:#dfff73;transform:translateY(2px);box-shadow:0 1px #77906760}.control.jump{background:#e2f599e8;justify-content:flex-start;gap:12px;min-width:164px;padding:0 17px}.jump-icon{font-size:29px;font-weight:400}.jump>span:nth-child(2){font-size:13px;font-weight:550}.jump small{color:#67734e;margin-top:3px;font-size:9px;font-weight:400;display:block}.jump kbd{margin-left:5px}.control-hint{color:#7e7962;letter-spacing:.2px;text-align:center;align-self:center;padding:10px;font-size:10px}.below-stage{justify-content:space-between;align-items:center;padding:22px 3px 23px;display:flex}.play-note{align-items:center;gap:13px;display:flex}.note-icon{color:#8da36c;font-size:31px}.play-note strong{font-size:12px;font-weight:550}.play-note p{color:#919783;margin:5px 0 0;font-size:10px}.metrics{gap:30px;display:flex}.metrics>div{border-left:1px solid #dce0ce;min-width:66px;padding-left:22px}.metrics span{color:#8b9581;margin-bottom:5px;font-size:9px;display:block}.metrics strong{color:#53674c;letter-spacing:-.6px;font:19px ui-monospace,SFMono-Regular,monospace}.metrics small{color:#8b9581;letter-spacing:0;font-size:10px}footer{color:#9ca58e;border-top:1px solid #dce0ce;justify-content:space-between;align-items:center;padding:16px 0 22px;font-size:10px;display:flex}footer>span:first-child{letter-spacing:1.5px;font:8px ui-monospace,monospace}footer i{margin:0 6px;font-style:normal}.overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:4;background:#dfeddf66;place-items:center;display:grid;position:absolute;inset:0}.overlay-card{text-align:center;background:#fbfbefeb;border:1px solid #fafff6;border-radius:20px;max-width:420px;padding:24px 32px;box-shadow:0 12px 50px #27422412}.overlay-symbol{color:#7c9761;margin-bottom:8px;font-size:37px;display:block}.overlay-card h2{letter-spacing:-.5px;margin:10px 0;font-size:23px}.overlay-card>p:not(.eyebrow){color:#7a856b;max-width:290px;margin:0 auto 20px;font-size:12px;line-height:1.8}.primary-button{color:#f4f9e8;background:#34492f;border-radius:10px;justify-content:center;align-items:center;gap:12px;min-height:48px;padding:12px 19px;font-size:12px;display:inline-flex}.primary-button:hover{background:#48613e}.primary-button svg{width:16px;height:16px}.rotate-hint{display:none}.settings{z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f8f8eeef;border:1px solid #d2dac4;border-radius:18px;flex-direction:column;width:325px;padding:25px;display:flex;position:fixed;top:80px;bottom:20px;right:20px;overflow:hidden;box-shadow:0 15px 60px #293d3028}.settings-content{overscroll-behavior:contain;min-height:0;padding:0 3px;overflow-y:auto}.settings-title{flex-shrink:0;justify-content:space-between;align-items:center;display:flex}.settings-title h2{margin:0;font-size:21px}.settings-title button,.dialog-close{color:#819073;background:0 0;padding:5px;font-size:24px;line-height:1}.settings-title .eyebrow{letter-spacing:1px;font-size:8px}.settings-description{color:#86917a;margin:16px 0 21px;font-size:11px;line-height:1.8}.settings-hint{color:#617052;margin:4px 0 12px;font-size:12px;line-height:1.6}.preset-button{color:#465c36;background:#e8efda;border-radius:8px;width:100%;min-height:48px;padding:10px;font-size:14px}.select-label{margin-bottom:8px;font-size:11px;display:block}select{color:#516246;background:#fffef6;border:1px solid #d3dbc5;border-radius:7px;width:100%;margin-bottom:4px;padding:10px 8px;font-size:11px}.range-label{justify-content:space-between;margin-top:17px;font-size:11px;display:flex}output{color:#809265;font:11px ui-monospace,monospace}input[type=range]{accent-color:#718c4a;touch-action:pan-y;cursor:pointer;width:100%;height:44px;margin:9px 0 0}.check-label{align-items:center;gap:7px;margin:21px 0 15px;font-size:11px;display:flex}input[type=checkbox]{accent-color:#718c4a}.debug-readout{color:#869477;white-space:pre-line;background:#edf0e1;border-radius:8px;padding:12px;font:10px/1.9 ui-monospace,monospace}.settings-actions{border-top:1px solid #d6dcc8;flex-shrink:0;justify-content:space-between;align-items:center;margin-top:10px;padding-top:10px;display:flex}.settings-actions button{min-height:48px}.export-button{text-align:center;color:#8a967c;background:0 0;width:100%;margin-top:17px;font-size:10px}dialog{color:#34422f;background:#f9f9ed;border:1px solid #d4dcc6;border-radius:22px;width:calc(100% - 32px);max-width:490px;padding:32px;box-shadow:0 20px 80px #2333252a}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#263c3155}dialog h2{margin:10px 0 25px;font-size:24px}.dialog-close{position:absolute;top:15px;right:15px}.help-row{gap:17px;margin-bottom:21px;display:flex}.help-row>kbd{text-align:center;background:#e8eecf;border-radius:8px;flex:0 0 67px;align-self:flex-start;padding:12px 5px;font:12px ui-monospace,monospace}.help-row strong{font-size:13px}.help-row p,.help-foot{color:#859077;margin:5px 0 0;font-size:11px;line-height:1.8}.help-foot{border-top:1px solid #dce1d1;margin-bottom:22px;padding-top:15px}@media (width>=1600px){.intro{padding-top:38px;padding-bottom:32px}.game-card{height:59vh}.below-stage{padding-top:28px;padding-bottom:28px}}@media (width<=1000px){.shell{padding:0 26px}.header{height:78px}.intro{padding:24px 0}.intro h1{font-size:26px}.metrics{gap:12px}.metrics>div{padding-left:14px}.control-hint{font-size:9px}.game-card{height:53vh;min-height:360px}.header-center{display:none}}@media (width<=700px) and (orientation:portrait){.shell{padding:0 18px}.header{height:75px}.header-actions{gap:15px}.brand{font-size:17px}.brand img{width:40px;height:40px}.brand-second{font-size:10px}.intro-note{display:none}.intro{padding:25px 0 20px}.intro h1{font-size:24px}.eyebrow{font-size:8px}.scene-tab{gap:6px;padding:10px 12px;font-size:11px}.lab-tag{display:none}.game-card{height:53vh;min-height:380px}.rotate-hint{z-index:6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#d8ece5ee;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.rotate-hint>span{color:#7e9b68;font-size:55px;line-height:1.8}.rotate-hint strong{font-size:21px;font-weight:550}.rotate-hint p{color:#7b916e;font-size:12px}.play-note{display:none}.metrics{justify-content:space-between;width:100%}.metrics>div:first-child{border:0;padding-left:0}footer>span:first-child{letter-spacing:.7px;font-size:6px}footer{font-size:8px}.settings{width:auto;inset:16px 12px}}@media (height<=600px) and (orientation:landscape){.shell{max-width:none;padding:0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left))}.header{border-bottom:0;height:49px}.brand{gap:8px;font-size:14px}.brand img{width:32px;height:32px}.brand-second{letter-spacing:1.2px;margin-top:3px;font-size:7px}.header-center{display:none}.header-actions{gap:20px}.text-button{font-size:11px}.tune-button{border-radius:8px;padding:7px 10px;font-size:11px}.intro{display:none}.scene-bar{margin-bottom:7px}.scene-tabs{gap:5px}.scene-tab{gap:7px;padding:7px 12px;font-size:10px}.tab-number{font-size:8px}.lab-tag{font-size:9px}.game-card{height:calc(100dvh - 99px - env(safe-area-inset-bottom));border-radius:12px;min-height:220px}.below-stage,footer{display:none}.stage-heading{top:14px;left:17px}.stage-heading p{margin-top:5px;font-size:10px}.stage-kicker{font-size:8px}.stage-tools{top:12px;right:12px}.stage-tools button{border-radius:9px;width:48px;height:48px}.touch-controls{bottom:12px;left:15px;right:15px}.control{border-radius:11px;min-width:54px;height:52px}.control.jump{gap:9px;min-width:135px;padding:0 13px}.control.jump kbd{display:none}.control kbd{font-size:7px}.control-hint{display:none}.jump>span:nth-child(2){font-size:11px}.jump small{font-size:8px}.stage-marker{font-size:9px;bottom:77px;left:17px}.settings{width:310px;padding:20px;top:10px;bottom:10px;right:10px}.overlay-card{max-width:360px;padding:15px 24px}.overlay-symbol{margin-bottom:5px;font-size:25px}.overlay-card h2{font-size:21px}.overlay-card>p:not(.eyebrow){margin-bottom:13px;font-size:10px}.overlay-card .eyebrow{font-size:8px}dialog{max-height:90dvh;padding:23px}dialog h2{margin-bottom:15px;font-size:21px}.help-row{margin-bottom:13px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.storage-status{color:#8b957e;min-height:18px;margin:-9px 0 14px;font-size:10px}.storage-status.unsaved{color:#9a6229;background:#fff0ca;border-radius:8px;padding:9px 12px}.menu-heading{justify-content:space-between;align-items:center;margin:8px 0 20px;display:flex}.menu-heading h2{margin:0;font-size:22px;font-weight:600}.menu-heading>span{color:#82906f;font-size:12px}.level-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.level-card{text-align:left;background:#edf0df;border:1px solid #d2dcc4;border-radius:17px;flex-direction:column;align-items:flex-start;gap:10px;min-height:190px;padding:25px 26px;display:flex;position:relative;overflow:hidden}.level-card:hover{background:#e1ebcd;border-color:#8ca773;transform:translateY(-2px)}.card-number{color:#8a9977;letter-spacing:2px;font:11px ui-monospace,monospace}.level-card strong{font-size:21px;font-weight:600;position:relative}.card-description{color:#7f8b70;max-width:75%;font-size:11px;line-height:1.6;position:relative}.card-progress{color:#8f987e;margin-top:auto;font:10px ui-monospace,monospace}.card-progress.completed{color:#507b35}.level-illustration{opacity:.8;background:#d5e4b8;border-radius:50%;width:76px;height:76px;position:absolute;bottom:40px;right:24px;transform:rotate(9deg)}.level-illustration img{width:52px;height:52px;margin:6px 12px;transform:rotate(-19deg)}.illustration-steps{background:#dde4b7;border-radius:12px;transform:rotate(-9deg)}.illustration-gap{background:#c7dfd3}.illustration-trail{background:#ecd4bd}.menu-note{color:#919c81;margin:20px 0 28px;font-size:11px;line-height:1.8}.overlay-actions{flex-direction:column;align-items:center;gap:7px;display:flex}.overlay-card #overlay-copy{white-space:pre-line;overflow-wrap:anywhere;max-height:140px;overflow:auto}.run-hud{color:#4e7058;pointer-events:none;background:#f7fff35c;border:1px solid #72988822;border-radius:8px;align-items:center;gap:12px;padding:8px 10px;font:10px ui-monospace,monospace;display:flex;position:absolute;top:23px;right:142px}.run-hud b{font-weight:500}.run-hud #mode-badge{color:#749266;font:9px -apple-system,BlinkMacSystemFont,sans-serif}.health-hud{color:#4e7058;pointer-events:none;background:#f7fff3df;border:1px solid #72988833;border-radius:8px;align-items:center;gap:7px;padding:7px 10px;font-size:11px;display:flex;position:absolute;top:76px;right:24px}.health-hud b{font-variant-numeric:tabular-nums;min-width:3ch;display:inline-block}.health-meter{background:#d7ded1;border-radius:3px;width:64px;height:6px;overflow:hidden}.health-meter>span{background:#74985b;width:100%;height:100%;display:block}.health-hud[data-state=hurt],.health-hud[data-state=empty]{color:#a83e3f}.health-hud[data-state=hurt] .health-meter>span,.health-hud[data-state=empty] .health-meter>span{background:#a83e3f}.health-hud[data-state=recovering] .health-meter>span{background:#408dab}.metrics{gap:19px}.metrics strong{font-size:16px}.metrics>div{padding-left:15px}.text-button:disabled,.tune-button:disabled{opacity:.4;cursor:default}@media (width<=800px){.play-note{max-width:240px}.play-note p{line-height:1.6}.metrics{gap:12px}.metrics strong{font-size:13px}.metrics>div{min-width:45px;padding-left:9px}.scene-tab{padding:9px 10px}}@media (width<=700px) and (orientation:portrait){.level-cards{grid-template-columns:1fr}.level-card{min-height:165px;padding:20px}.menu-heading h2{font-size:19px}.menu-heading>span,.menu-note{font-size:10px}.storage-status{margin:0 0 10px}.intro{padding-bottom:17px}.menu-heading{margin-top:15px}}@media (height<=600px) and (orientation:landscape){.storage-status{min-height:12px;margin:0 0 4px;font-size:8px}.game-card{height:calc(100dvh - 112px - env(safe-area-inset-bottom));min-height:210px}.menu-heading{margin:10px 0 14px}.menu-heading h2{font-size:18px}.level-card{gap:7px;min-height:155px;padding:16px 20px}.level-card strong{font-size:18px}.level-illustration{width:62px;height:62px;bottom:35px;right:15px}.level-illustration img{width:45px;height:45px;margin:6px 8px}.run-hud{gap:9px;padding:6px 8px;font-size:9px;top:15px;right:126px}.stage-heading p{max-width:260px}.overlay-card #overlay-copy{max-height:70px}.overlay-actions{flex-direction:row;gap:17px}.overlay-actions .text-button{font-size:10px}.overlay-card{padding:13px 23px}.overlay-symbol{font-size:20px}.overlay-card .eyebrow{margin-bottom:4px}.overlay-card h2{margin:7px 0;font-size:19px}.scene-tab{padding:6px 9px}.scene-bar{margin-bottom:6px}.storage-status.unsaved{padding:3px 6px}}.card-skill{color:#61754d;background:#fafbebaa;border:1px solid #a7b89366;border-radius:20px;padding:5px 9px;font-size:10px;position:absolute;top:22px;right:22px}.illustration-thorns{background:#eec9be}.illustration-trail{background:#d1d9c1;border-radius:18px 50% 16px}.scene-bar{gap:10px}.scene-tabs{overscroll-behavior-x:contain;min-width:0;overflow-x:auto}.scene-tab,#menu-toggle{flex-shrink:0;min-height:48px}.stage-heading{width:calc(100% - 390px);max-width:330px}.stage-heading p{color:#355c46;margin-top:6px;line-height:1.6}.stage-kicker{letter-spacing:1px;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:600;display:block;overflow:hidden}.game-card{touch-action:none;-webkit-user-select:none;user-select:none}.control,.stage-tools button{-webkit-touch-callout:none}.control.pressed{outline-offset:1px;outline:2px solid #617f3d}.performance-details{color:#53674c;margin:12px 0;font-size:11px}.performance-details summary{cursor:pointer;padding:10px 0}.performance-details p{white-space:pre-line;line-height:1.8}.startup-error{max-width:600px;padding:40px 0;line-height:1.8}#help,#close-settings,.dialog-close{min-width:48px;min-height:48px}@media (height<=600px) and (orientation:landscape){.stage-heading{width:calc(100% - 400px);min-width:150px}.stage-kicker{letter-spacing:.5px;font-size:9px}.stage-heading p{font-size:10px}.scene-tabs{scrollbar-width:thin}.card-skill{font-size:9px;top:13px;right:15px}.game-card .overlay-card{max-height:100%;overflow:auto}.overlay-card .overlay-symbol,.overlay-card .eyebrow{display:none}}@media (any-pointer:coarse){select{font-size:16px}}@media (pointer:coarse){.control{min-width:64px;height:60px}.control.jump{min-width:142px}.touch-controls{bottom:max(12px, env(safe-area-inset-bottom))}.stage-marker{bottom:calc(84px + env(safe-area-inset-bottom))}}.shell{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.compact-only{display:none}#help-lesson{background:#e8eecf;border-radius:10px;margin-bottom:18px;padding:12px 15px;line-height:1.7}#help-tip{margin:5px 0 0;font-size:12px}#help-tune{min-height:48px;margin-top:8px}@media (orientation:landscape) and (any-pointer:coarse),(height<=600px) and (orientation:landscape){html[data-page=game] .shell{max-width:none;height:100dvh;padding:max(8px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));flex-direction:column;display:flex}html[data-page=game] main{flex-direction:column;flex:1;min-height:0;display:flex}html[data-page=game] .game-card{border-radius:12px;flex:1;height:auto;min-height:160px}html[data-page=game] .header,html[data-page=game] .intro,html[data-page=game] .scene-tabs,html[data-page=game] .below-stage,html[data-page=game] footer,html[data-page=game] .stage-heading,html[data-page=game] .stage-marker,html[data-page=game] .control-hint,html[data-page=game] #storage-status:not(.unsaved){display:none}html[data-page=game] .compact-only{display:inline-flex}html[data-page=game] .scene-bar{flex:0 0 48px;gap:12px;margin-bottom:4px}html[data-page=game] #menu-toggle{min-width:64px;padding:0 10px}html[data-page=game] #compact-scene-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;font-weight:600;display:block;overflow:hidden}html[data-page=game] #compact-help{flex-shrink:0;min-height:48px;padding:0 10px}html[data-page=game] .run-hud{top:12px;left:15px;right:auto}html[data-page=game] .health-hud{top:50px;left:15px;right:auto}html[data-page=game] .stage-tools{top:12px;right:12px}html[data-page=game] .touch-controls{left:15px;right:15px;bottom:max(12px, env(safe-area-inset-bottom))}html[data-page=game] #help-dialog{overscroll-behavior:contain;max-height:calc(100dvh - 24px);overflow-y:auto}}.illustration-terraces{background:#dbe2b5;border-radius:12px 28px}.illustration-islands{background:#c1ddd7;border-radius:45% 55% 35% 65%}.illustration-skybridge{background:#cbdfea;transform:rotate(-8deg)}.illustration-garden{background:#e9d0d2;border-radius:20px 50%}.illustration-highlands{background:#d3cddd;border-radius:50% 15px}.action-controls{align-items:flex-end;gap:10px;display:flex}.control.grab{background:#efe3f5ee;gap:8px;min-width:112px;padding:0 12px}.control.grab.holding{background:#dfff73}.control.grab small{margin-top:3px;font-size:9px;display:block}.grab-icon{font-size:22px}#carrot-status{color:#925b2c}@media (width<=850px){.control.grab{min-width:86px;padding:0 9px}.control.grab kbd,.control-hint{display:none}}@media (height<=600px) and (orientation:landscape){.control.grab{min-width:86px}.control.jump{min-width:100px}.action-controls,.run-hud{gap:8px}}.workshop-entry{background:#e9edda;border:1px solid #cfd9bf;border-radius:18px;justify-content:space-between;align-items:center;gap:25px;margin:30px 0 8px;padding:28px 30px;display:flex}.workshop-entry h2{letter-spacing:-.7px;margin:8px 0;font-size:23px}.workshop-entry p:not(.eyebrow){color:#738165;margin-bottom:0;font-size:12px}.workshop-entry>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.editor-button{color:#4c6241;cursor:pointer;background:#f7f8ee;border:1px solid #d5ddc9;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:9px 12px;font-size:11px;display:inline-flex}.editor-button:hover{background:#e5ebd7}.editor-button:disabled{opacity:.4;cursor:default}.editor-button.danger{color:#a5634e}#editor-panel{padding-top:28px}.editor-top{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.editor-top h1{letter-spacing:-1px;overflow-wrap:anywhere;max-width:400px;margin:7px 0 0;font-size:28px}.editor-top-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}#editor-save-status{color:#718065;margin-right:5px;font-size:10px}#editor-save-status.unsaved{color:#a1654f}.editor-menu{border-top:1px solid #dce1d0;justify-content:space-between;gap:8px;padding:12px 0;display:flex}.editor-menu>div{flex-wrap:wrap;gap:6px;display:flex}.editor-message{white-space:pre-wrap;overflow-wrap:anywhere;color:#758368;background:#ebefdf;border-radius:8px;margin-bottom:12px;padding:10px 13px;font-size:11px;line-height:1.6}.editor-message.is-error{color:#a35a43;background:#f4e4d9}.editor-layout{grid-template-columns:66px minmax(0,1fr) 230px;align-items:stretch;gap:10px;display:grid}.editor-palette{scrollbar-width:thin;scrollbar-color:#b8c6ac transparent;flex-direction:column;align-self:start;gap:6px;max-height:min(650px,clamp(420px,57dvh,700px) + 82px);display:flex;overflow:hidden auto}.editor-tool-group{flex-direction:column;flex-shrink:0;gap:4px;display:flex}.editor-tool-group h3{color:#819072;text-align:center;margin:0;font-size:10px;font-weight:500;line-height:1.4}.editor-tool-buttons{flex-direction:column;gap:4px;display:flex}.editor-palette button{color:#637554;cursor:pointer;background:#f6f7ed;border:1px solid #d9dfcb;border-radius:8px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:2px;height:44px;min-height:44px;padding:4px 2px;display:flex}.editor-palette button span{font-size:20px;line-height:1}.editor-palette button b{font-size:10px;font-weight:500;line-height:1.2}.editor-palette button[data-tool=ice-slope]:not([aria-pressed=true]){color:#40839e;background:#eef7f8;border-color:#bcdce3}.editor-palette button[aria-pressed=true]{color:#f4f8e6;background:#466040;border-color:#466040;box-shadow:0 4px 9px #344d2e1c}.editor-board{background:#f6f8ef;border:1px solid #cbd6bd;border-radius:12px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.editor-view-tools{background:#eff2e5;border-bottom:1px solid #d5dfca;justify-content:space-between;align-items:center;gap:8px;min-height:43px;padding:7px 10px;display:flex}.editor-view-tools label{color:#6e7e60;align-items:center;gap:5px;font-size:10px;display:flex}.editor-view-tools input{accent-color:#607d4c}.editor-view-tools>div{align-items:center;gap:4px;display:flex}.editor-view-tools .editor-snap-options{flex-wrap:wrap;gap:6px 12px}.editor-view-tools button{color:#5a704a;cursor:pointer;background:#f9faf3;border:1px solid #d6dfca;border-radius:5px;min-width:27px;padding:5px 7px;font-size:10px}#editor-zoom{text-align:center;color:#819072;min-width:35px;font:10px ui-monospace,monospace}#editor-canvas{touch-action:none;outline-offset:-3px;width:100%;height:clamp(420px,57dvh,700px);display:block}.editor-board-footer{color:#8b967e;background:#f4f6ea;border-top:1px solid #dce3d1;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:10px 12px;font-size:9px;display:flex}#editor-coordinates{white-space:nowrap;font-family:ui-monospace,monospace}.editor-inspector{background:#f0f2e6;border:1px solid #d6deca;border-radius:12px;min-height:498px;max-height:calc(57dvh + 82px);padding:15px;overflow:auto}.inspector-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.inspector-heading h2{margin:0;font-size:14px}.inspector-heading .editor-button{background:0 0;border:0;min-height:26px;padding:5px}.editor-field{color:#78886a;flex-direction:column;gap:5px;min-width:0;margin-bottom:11px;font-size:10px;display:flex}.editor-field input,.editor-field select,.editor-field textarea{color:#465b3c;background:#fcfdf6;border:1px solid #ced9bd;border-radius:6px;width:100%;min-width:0;padding:8px;font:12px system-ui,sans-serif;display:block}.editor-field input:focus,.editor-field select:focus,.editor-field textarea:focus{outline-offset:1px;outline:2px solid #9eb17c}.editor-field textarea{resize:vertical;font-family:ui-monospace,monospace;font-size:11px;line-height:1.6}@media (any-pointer:coarse){.editor-field input,.editor-field select,.editor-field textarea{font-size:16px}}.place-center{width:100%;margin-bottom:9px}#editor-properties h3{margin:9px 0 15px;font-size:12px}.entity-id{color:#99a28c;overflow-wrap:anywhere;margin-bottom:12px;font-size:8px;display:block}.editor-property-form{grid-template-columns:1fr 1fr;column-gap:10px;display:grid}.editor-property-form>button{grid-column:1/-1}.editor-field:has(input[type=text]){grid-column:1/-1}.editor-object-actions{border-top:1px solid #d9e1cd;gap:7px;margin-top:13px;padding-top:14px;display:flex}.editor-note{color:#929c85;overflow-wrap:anywhere;font-size:10px;line-height:1.8}.editor-dialog{color:#405435;background:#f5f5e9;border:1px solid #cfd9bd;border-radius:17px;width:min(620px,100vw - 30px);max-width:720px;max-height:calc(100dvh - 36px);padding:25px;overflow:auto}.editor-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#30422e5c}.editor-dialog p{color:#819071;font-size:12px;line-height:1.8}.editor-dialog .editor-note{font-size:10px}.editor-dialog h2{margin:3px 0 8px;font-size:23px}.editor-dialog h3{margin:22px 0 10px;font-size:12px}.editor-dialog-heading{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:15px;display:flex}.editor-dialog-heading>button{padding:0 12px;font-size:20px}.editor-dialog details{margin-top:22px;font-size:12px}.editor-dialog summary{cursor:pointer}.template-cards{grid-template-columns:1fr 1fr;gap:10px;display:grid}.template-cards button{color:#4c673c;text-align:left;cursor:pointer;background:#e9efd8;border:1px solid #d0dcb9;border-radius:10px;padding:18px}.template-cards button:last-child{background:#f0eee3}.template-cards strong{margin-bottom:9px;font-size:16px;display:block}.template-cards span{color:#879476;font-size:11px;line-height:1.8}.map-library-list{flex-direction:column;gap:7px;display:flex}.library-row{background:#fafbf3;border:1px solid #dfe4d3;border-radius:8px;align-items:center;gap:6px;padding:10px;display:flex}.library-row>div,.library-row>strong{flex:1;min-width:0}.library-row strong{overflow-wrap:anywhere;font-size:12px;font-weight:550;display:block}.library-row small{color:#97a088;margin-top:4px;font-size:9px;display:block}.library-row button{flex-shrink:0;padding:7px 9px;font-size:10px}.editor-import-error{white-space:pre-wrap;color:#a65f4b!important}#editor-file-choose{margin-bottom:15px}@media (width>=1400px){.shell:has(#editor-panel:not([hidden])){max-width:1540px}.editor-layout{grid-template-columns:70px minmax(0,1fr) 260px}}@media (width<=900px){.editor-top{align-items:flex-start}.editor-top-actions{max-width:430px}.editor-layout{grid-template-columns:52px minmax(0,1fr) 204px;gap:7px}.editor-inspector{padding:11px}.editor-view-tools,.editor-menu{flex-wrap:wrap}.workshop-entry{flex-direction:column;align-items:flex-start}.workshop-entry>div:last-child{justify-content:flex-start}}@media (width<=700px){#editor-panel{padding-top:15px}.editor-top{flex-direction:column;gap:10px}.editor-top h1{font-size:23px}.editor-top-actions{justify-content:flex-start;max-width:none}#editor-save-status{flex-basis:100%}.editor-layout{grid-template-columns:1fr}.editor-palette{flex-direction:row;max-height:none;padding-bottom:4px;overflow:auto hidden}.editor-tool-group{flex:none}.editor-tool-group+.editor-tool-group{border-left:1px solid #d9dfcb;padding-left:8px}.editor-tool-buttons{flex-direction:row}.editor-palette button{flex:0 0 52px;width:52px}.editor-inspector{min-height:0;max-height:none}#editor-canvas{height:360px}.editor-board-footer{font-size:8px}.editor-menu .editor-button{min-height:40px;padding:8px 9px}.editor-top-actions .primary-button{min-height:42px}.editor-dialog{padding:18px}.template-cards{grid-template-columns:1fr}.library-row{flex-wrap:wrap}.library-row>div{flex-basis:100%}.workshop-entry{padding:22px}.workshop-entry h2{font-size:20px}}@media (height<=600px) and (orientation:landscape){.editor-palette{max-height:422px}#editor-canvas{height:340px}.editor-inspector{min-height:422px;max-height:422px}#editor-panel{padding-top:13px}}.map-page{color:#405435;background:#f5f5e9;border:1px solid #cfd9bd;border-radius:20px;margin:24px 0 40px;padding:clamp(18px,4vw,36px)}.map-page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.map-page h2{margin:6px 0;font-size:28px}.map-page h3{overflow-wrap:anywhere;margin:16px 0 10px}.map-page p{overflow-wrap:anywhere;font-size:14px;line-height:1.8}.map-page textarea,.map-share-dialog textarea{box-sizing:border-box;width:100%;font-size:16px}.map-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.map-page button,.map-share-dialog button,.map-share-dialog a{touch-action:manipulation;min-height:44px}.map-status{white-space:pre-wrap;min-height:1.8em}.local-map-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:20px;margin-top:24px;display:grid}.local-map-card{background:#fcfcf3;border:1px solid #d5dec9;border-radius:14px;min-width:0;padding:20px}.map-share-dialog{box-sizing:border-box;width:min(640px,100vw - 30px)}.map-share-dialog.qr-expanded{width:calc(100vw - 30px);max-width:980px}.map-share-dialog.qr-expanded>p,.map-share-dialog.qr-expanded>label,.map-share-dialog.qr-expanded>.map-actions,.map-share-dialog.qr-expanded>details{display:none}#map-share-qr-panel{text-align:center;margin-top:22px}#map-share-qr-panel img{height:auto;image-rendering:pixelated;background:#fff;margin:auto;display:block}#map-share-qr-panel .map-actions{justify-content:center}#map-share-png{align-items:center;text-decoration:none;display:inline-flex}@media (width<=600px){.map-page-heading{align-items:flex-start}.map-page h2{font-size:23px}.map-share-dialog{padding:20px}.map-actions{gap:8px}}
