@font-face{font-family:'Warehouse Sans';src:url('assets/warehouse-sans.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:'Warehouse Serif';src:url('assets/warehouse-serif.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}

:root{--paper:#f7f7ef;--white:#fffefa;--ink:#354b40;--muted:#7d8778;--line:#e7e8dc;--sage:#7f9875;--orange:#c67b59;--orange-dark:#a75e3f;--soft-orange:#f6e9dd;--sans:'Warehouse Sans','Noto Sans SC','Microsoft YaHei',sans-serif;--serif:'Warehouse Serif','Noto Serif SC','Songti SC','SimSun',serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:20px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased;background-image:radial-gradient(#71836408 .7px,transparent .7px);background-size:7px 7px}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0}
button:disabled{cursor:default;opacity:.38}
button,a{-webkit-user-select:none;user-select:none}
button:focus-visible,a:focus-visible{outline:3px solid #c78354;outline-offset:4px}
button{touch-action:manipulation}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
svg{display:block}
button svg{flex-shrink:0}
[hidden]{display:none!important}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.svg-library{position:absolute;width:0;height:0;overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-shell{max-width:1192px;margin:0 auto;padding:0 30px}
.site-header{height:93px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:40px}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{width:44px;height:44px;background:#eac698;border-radius:13px;display:grid;place-items:center;transform:rotate(-7deg)}
.brand-mark .icon{width:28px;height:28px;stroke:#775638;stroke-width:1.4;transform:rotate(7deg)}
.brand-name{font-family:var(--serif);font-weight:600;font-size:25px;line-height:1.25;letter-spacing:5px}
.brand-english{display:block;font-family:var(--sans);font-size:8px;letter-spacing:1.65px;font-weight:600;margin-top:5px;color:#7b8775}
.header-nav{display:flex;align-items:center;gap:36px;margin-left:auto;height:100%;font-size:13px;letter-spacing:.4px}
.header-nav a,.header-nav button{display:flex;align-items:center;gap:8px;height:100%;position:relative;color:#7b8475;transition:color .2s}
.header-nav a:hover,.header-nav button:hover{color:var(--orange)}
.header-nav .nav-current{color:var(--ink);font-weight:600}
.nav-current>span{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--orange);bottom:22px;left:calc(50% - 2px)}
.header-nav .icon{width:16px;height:16px}
.sound-button{display:flex;align-items:center;gap:8px;border-left:1px solid #dfe3d5;padding-left:27px;font-size:12px;color:#727d6d;min-height:30px;min-width:99px}
.sound-button .icon{width:17px;height:17px}
.sound-button:hover{color:var(--orange)}
.intro{display:flex;align-items:center;justify-content:space-between;padding:34px 0 31px;animation:rise-in .6s ease both}
.eyebrow{font-size:11px;color:#859077;letter-spacing:2px;display:flex;align-items:center;gap:7px;margin-bottom:8px}
.tiny-spark{font-size:19px;color:#899c77;line-height:1}
h1{font-family:var(--serif);font-weight:600;font-size:37px;letter-spacing:1px;line-height:1.5}
h1>span{color:var(--orange)}
.intro-description{font-size:12px;color:#879080;margin-top:7px;letter-spacing:.5px}
.intro-note{display:flex;align-items:center;gap:16px;color:#94a286;padding-right:13px;transform:rotate(-7deg);margin-top:10px}
.intro-note svg{width:67px;height:54px}
.intro-note span{font-family:var(--serif);font-size:16px;line-height:1.8;letter-spacing:2px}
.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:24px;align-items:start}
.game-card{background:var(--white);border:1px solid #e3e6d8;border-radius:20px;box-shadow:0 6px 22px #34482c04;overflow:hidden;animation:rise-in .65s .06s ease both}
.game-toolbar{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.level-title-block{display:flex;align-items:center;gap:11px}
.level-number{display:grid;place-items:center;border:1px solid #e8dccb;width:42px;height:44px;border-radius:10px;background:#f6eee3;font-family:Georgia,serif;font-size:24px;color:#b38058;line-height:1}
.small-label{font-size:10px;letter-spacing:1px;color:#8a907e}
.level-title-block .small-label{font-size:9px;line-height:1.4;letter-spacing:1.5px;margin-bottom:4px}
.level-title-block h2{font-weight:600;font-size:16px;letter-spacing:.3px;line-height:1.4}
.difficulty{font-size:9px;color:#83916c;border:1px solid #dfe5d2;background:#f4f6ec;padding:2px 7px;border-radius:4px;margin-left:1px;white-space:nowrap}
.difficulty[data-group="1"]{background:#f7f0e2;color:#a78a53;border-color:#e7ddc7}
.difficulty[data-group="2"]{background:#f6eae1;color:#b1856a;border-color:#ecdbcf}
.game-stats{display:flex;align-items:center;gap:22px}
.game-stats>div{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:30px}
.game-stats>div>span{font-size:9px;letter-spacing:1px;color:#919783}
.game-stats strong{font-family:Georgia,serif;font-size:23px;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.2}
.game-stats .goal-stat{border-left:1px solid var(--line);padding-left:22px}
.goal-stat strong{display:flex;align-items:center;gap:6px;font-size:21px}
.goal-stat b{font-weight:400;color:#8a9f75}
.goal-stat b:first-child{color:#5f7b51}
.goal-stat i{font-size:17px;font-style:normal;color:#c0c9b5}
.play-area{height:390px;margin:0 20px;position:relative;display:flex;align-items:center;justify-content:center;border-radius:12px;isolation:isolate;background:#f0f2e7;background-image:radial-gradient(#b7c3a750 .8px,transparent .8px);background-size:16px 16px;overflow:hidden;touch-action:none}
.play-area:after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 45px 10px #f0f2e77d;pointer-events:none;z-index:-1}
.stage-label{position:absolute;top:17px;left:20px;display:flex;align-items:center;gap:7px;font-size:7px;letter-spacing:1.9px;color:#98a18b}
.stage-label>span:first-child{height:4px;width:4px;background:#a8b793;border-radius:50%}
#warehouse-number{color:#a4ac9a;font-size:8px;margin-left:2px;letter-spacing:1px}
.stage-bottom{position:absolute;bottom:14px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#a0a892;pointer-events:none}
.stage-bottom .icon{width:20px;height:20px;transform:rotate(13deg);opacity:.8}
.board{position:relative;flex-shrink:0;outline:none;--cell:44px;width:calc(var(--cols)*var(--cell));height:calc(var(--rows)*var(--cell));filter:drop-shadow(0 10px 9px #63745116);margin-top:10px;touch-action:none}
.board:focus-visible{outline:2px dashed #9bab89;outline-offset:11px;border-radius:6px}
.tile,.actor,.hint-marker{position:absolute;left:0;top:0;width:var(--cell);height:var(--cell);transform:translate(calc(var(--x)*var(--cell)),calc(var(--y)*var(--cell)));pointer-events:none}
.tile.floor:before{content:'';position:absolute;inset:1.4px;border-radius:3px;background:#e4e8d8;box-shadow:inset 0 1px 0 #f8faef90,0 1px 0 #d5dcc8}
.tile.floor.variant:before{background:#e0e5d3}
.tile.goal>svg{position:absolute;inset:0;width:100%;height:100%;opacity:.9}
.tile.wall>svg{position:absolute;width:100%;height:112.5%;left:0;bottom:0}
.actor{transition:transform 105ms cubic-bezier(.22,.61,.36,1);will-change:transform}
.actor>svg{position:absolute;width:94%;height:106%;left:3%;bottom:5%;overflow:visible}
.crate.on-goal,.win-art{--crate-dark:#6f9171;--crate-main:#97b292;--crate-inset:#86a681;--crate-light:#bfd0a9;--mark-opacity:1}
.crate.arrived>svg{animation:land .32s ease}
.player>svg{width:91%;height:114%;left:4.5%;bottom:9%;transform-origin:50% 85%;filter:drop-shadow(0 2px 0 #56664a18)}
.player.stepping>svg{animation:step .13s ease}
.player.bump>svg{animation:bump .2s ease}
.board.level-enter{animation:board-in .35s ease}
.board.is-complete .player>svg{animation:happy .65s ease 2}
.hint-marker{z-index:200!important;display:grid;place-items:center;transition:none}
.hint-marker svg{width:28px;height:28px;color:#fefcf3;background:var(--orange);border:2px solid #fff8e9;border-radius:50%;padding:4px;box-shadow:0 2px 8px #5d6e5540;animation:hint-pulse 1s ease infinite}
.hint-marker[data-direction="U"] svg{rotate:-90deg}.hint-marker[data-direction="D"] svg{rotate:90deg}.hint-marker[data-direction="L"] svg{rotate:180deg}
.board-message{position:absolute;left:50%;bottom:37px;transform:translate(-50%,8px);border:1px solid #e1d9c5;background:#fffdf3f5;box-shadow:0 4px 12px #4d57471a;border-radius:9px;padding:9px 15px;font-size:11px;line-height:1.7;color:#847151;z-index:300;max-width:90%;width:max-content;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}
.board-message.visible{opacity:1;transform:translate(-50%,0)}
.board-message.warning{border-color:#e5cab4;background:#fff6e9;color:#ae7450}
.game-actions{display:flex;align-items:center;justify-content:space-between;padding:17px 23px;gap:10px}
.action-buttons{display:flex;gap:10px}
.action-button,.hint-button,.next-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 13px;border-radius:7px;font-size:11px;border:1px solid #e6e7dd;background:#fdfdf8;transition:background .18s,border-color .18s,transform .18s}
.action-button .icon,.hint-button .icon,.next-button .icon{width:15px;height:15px}
kbd{display:inline-grid;place-items:center;font-family:var(--sans);font-size:9px;min-width:17px;height:17px;padding:0 3px;border:1px solid #e2e3d7;border-bottom-width:2px;border-radius:3px;line-height:1;color:#9a9f90;background:#f8f8f0}
.action-button kbd{margin-left:3px}
.action-button:hover:not(:disabled){background:#eff2e5;border-color:#cdd7bf;transform:translateY(-1px)}
.hint-button{color:#aa7d4e;background:#faf1e1;border-color:#eee0c7;gap:6px}
.hint-button:hover:not(:disabled){background:#f2e6ce;transform:translateY(-1px)}
.next-button{background:var(--orange);color:white;border-color:var(--orange)}
.next-button:hover{background:var(--orange-dark)}
.game-bottom{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid #eeeee4;margin:0 23px;padding:14px 0 17px;font-size:9px;color:#929986}
.keyboard-tip{display:flex;align-items:center;gap:7px}
.keyboard-tip .icon{width:16px;height:16px;color:#939f87}
.keyboard-tip b{font-weight:500;letter-spacing:1px}
.legend{display:flex;gap:15px;align-items:center}
.legend>span{display:flex;align-items:center;gap:5px;white-space:nowrap}
.legend svg{width:17px;height:20px}
.legend .legend-player{width:16px;height:21px}
.sidebar{display:flex;flex-direction:column;gap:16px;animation:rise-in .65s .14s ease both}
.levels-card{background:var(--white);border:1px solid #e3e6d8;border-radius:17px;padding:23px 22px 18px}
.section-heading{display:flex;justify-content:space-between;align-items:center}
.section-heading h2{font-size:16px;font-weight:600;letter-spacing:.5px}
.section-heading>span{font-size:8px;color:#9da28e;letter-spacing:1.3px}
.progress-caption{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#929885;margin-top:21px}
.progress-caption strong{font-family:Georgia,serif;font-size:15px;font-weight:400;color:#7e9470}
.progress-total{font-size:12px;color:#a4ad97}
.progress-track{height:4px;overflow:hidden;border-radius:3px;background:#eff0e5;margin-top:7px}
.progress-track>span{height:100%;width:0;display:block;background:#94a87d;border-radius:inherit;transition:width .5s ease}
.level-list{margin-top:21px}
.level-group+.level-group{margin-top:17px}
.level-group-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:9px;color:#8b957e;letter-spacing:.6px}
.level-group-label>span:last-child{display:flex;gap:3px}
.difficulty-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#c5ceba}
.difficulty-dot.filled{background:#93a67f}
.level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.level-button{height:42px;border:1px solid #e9eade;border-radius:7px;background:#f6f7ee;position:relative;font-family:Georgia,serif;font-size:19px;font-weight:400;color:#919881;transition:background .18s,transform .18s,border-color .18s}
.level-button:hover{background:#edf0e2;transform:translateY(-2px);border-color:#c9d4b9}
.level-button.completed{color:#607a55;background:#eef3e6;border-color:#dce5ce}
.level-button.active{background:var(--orange);border-color:var(--orange);color:#fff8ec;box-shadow:0 3px 6px #ad755320}
.level-button.active:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;bottom:4px;left:calc(50% - 2px);background:#f8dfc5}
.level-button .completed-check{position:absolute;right:4px;top:4px;width:10px;height:10px;stroke-width:2.4}
.levels-footnote{font-size:8px;color:#a2a791;display:flex;align-items:center;justify-content:center;gap:5px;margin-top:18px;letter-spacing:.4px}
.levels-footnote>span{width:3px;height:3px;background:#afba9e;border-radius:50%}
.gentle-card{position:relative;border:1px solid #e8e6d4;background:#f1f0e2;border-radius:14px;padding:19px 19px 21px;overflow:hidden}
.gentle-card .small-label{font-size:9px;color:#a39a79;letter-spacing:1.5px}
.gentle-card h3{font-family:var(--serif);font-size:15px;font-weight:600;margin:7px 0 8px;letter-spacing:.5px}
.gentle-card p{font-size:9px;line-height:2;color:#939078}
.gentle-card kbd{font-size:8px;height:14px;min-width:14px;border-color:#dddcc9;background:#f9f7e9;color:#a2987e;margin:0 2px;vertical-align:baseline}
.plant-illustration{position:absolute;right:10px;bottom:11px;width:63px;height:81px;transform:rotate(3deg)}
.plant-illustration svg{width:100%;height:100%}
.touch-controls{display:flex;justify-content:space-between;align-items:center;padding:0 5px;gap:10px}
.control-copy .small-label{font-size:9px;letter-spacing:.8px;color:#95a086}
.control-copy p{font-size:9px;color:#a7ae9b;margin-top:5px}
.dpad{display:grid;grid-template-columns:repeat(3,31px);grid-template-rows:repeat(2,29px);gap:4px}
.dpad button{display:grid;place-items:center;border:1px solid #dce1cf;border-bottom-width:3px;border-radius:6px;background:#fdfcf5;transition:transform .12s,background .12s;color:#889779}
.dpad button:hover{background:#e9eddc}
.dpad button:active,.dpad button.pressed{transform:translateY(2px);background:#e4eacb;border-bottom-width:1px}
.dpad .icon{width:15px;height:15px;stroke-width:1.9}
.dpad-up{grid-column:2;grid-row:1}.dpad-left{grid-column:1;grid-row:2}.dpad-down{grid-column:2;grid-row:2}.dpad-right{grid-column:3;grid-row:2}
.dpad-up .icon{rotate:-90deg}.dpad-left .icon{rotate:180deg}.dpad-down .icon{rotate:90deg}
.site-footer{display:flex;justify-content:space-between;align-items:center;padding:24px 2px 26px;font-size:9px;color:#a1a893;letter-spacing:.3px}
#save-status{display:flex;align-items:center;gap:7px}
#save-status .icon{width:12px;height:12px;color:#99a58a}
.site-footer>p{display:flex;gap:17px;align-items:center;font-size:8px;letter-spacing:1.6px}
.site-footer>p>span{font-size:20px;line-height:1;color:#b1bba0}
.modal{border:1px solid #e0e5d2;padding:37px 34px 26px;max-width:460px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);border-radius:22px;color:var(--ink);background:var(--white);box-shadow:0 24px 100px #263f3440;overflow:auto}
.modal[open]{animation:modal-in .26s ease both}
.modal::backdrop{background:#273d3659;backdrop-filter:blur(5px)}
.modal-close{width:30px;height:30px;position:absolute;right:15px;top:14px;display:grid;place-items:center;border-radius:50%;color:#929e86}
.modal-close:hover{background:#f0f2e7}
.modal-close .icon{width:17px;height:17px}
.modal-eyebrow{font-size:9px;letter-spacing:2.5px;color:#a8ae95}
.modal h2{font-family:var(--serif);font-size:24px;font-weight:600;letter-spacing:.5px;margin-top:10px;line-height:1.5}
.help-illustration{display:flex;align-items:center;justify-content:center;gap:15px;background:#f0f3e6;border-radius:11px;padding:15px;margin:23px 0}
.help-illustration>svg{width:47px;height:55px}
.help-illustration>.icon{width:25px;height:25px;color:#a6b195}
.rules-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:19px}
.rules-list>li{display:flex;gap:12px}
.rules-list>li>span{font-family:Georgia,serif;color:#c5966c;font-size:18px;line-height:1.4}
.rules-list h3{font-size:12px;font-weight:600;margin-bottom:4px}
.rules-list p{font-size:11px;color:#90977f;line-height:1.9}
.shortcut-guide{margin-top:23px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px 20px;font-size:9px;color:#8e9880;align-items:center}
.shortcut-guide>span{display:flex;align-items:center;gap:3px}
.help-mobile-note{font-size:9px;color:#9fa48f;margin:13px 0 19px}
.primary-button{display:flex;align-items:center;justify-content:center;gap:12px;background:var(--orange);color:#fff9ed;padding:13px 22px;border-radius:9px;min-height:45px;font-size:12px;letter-spacing:.5px;box-shadow:0 3px 0 #a9654740;transition:background .2s,transform .2s}
.primary-button:hover{background:#b9704f;transform:translateY(-1px)}
.primary-button .icon{width:17px;height:17px}
.full-width{width:100%}
.text-button{color:#939d84;font-size:11px;padding:12px 20px;margin-top:7px}
.text-button:hover{color:var(--orange)}
.win-modal{text-align:center;padding-top:33px;overflow:hidden}
.win-art{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 9px;height:106px;width:180px}
.win-art>svg{width:84px;height:95px;rotate:-7deg;animation:float 3s ease-in-out infinite}
.win-art>span{font-size:25px;color:#cba671;align-self:flex-start;rotate:13deg;margin-top:10px}
.win-art>span:nth-of-type(2){align-self:flex-end;margin-bottom:10px;color:#9bae87;font-size:37px}
.win-art>i{position:absolute;top:-3px;right:32px;font-style:normal;color:#b0bd96;font-size:17px}
.win-description{font-size:11px;color:#8c987b;margin-top:9px}
.win-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#f2f5e9;border:1px solid #e7ecda;border-radius:12px;padding:20px 7px;margin:25px 0 16px}
.win-stats>div{display:flex;flex-direction:column;align-items:center;gap:5px}
.win-stats>div+div{border-left:1px solid #dfe6d1}
.win-stats strong{font-family:Georgia,serif;font-weight:400;font-size:29px;color:#6b8660;line-height:1.2}
.win-stats span{font-size:9px;color:#9aab86}
.win-note{font-size:10px;color:#a1a78f;margin-bottom:24px}
.confetti{position:absolute;width:6px;height:9px;background:var(--confetti-color);left:var(--left);top:-20px;animation:confetti-fall var(--duration) var(--delay) ease-out forwards;pointer-events:none;z-index:2;border-radius:2px}
.noscript-message{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:20px;background:var(--white);border:1px solid var(--orange);border-radius:10px;z-index:999}
@keyframes rise-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes board-in{from{opacity:.25;transform:translateY(5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes step{50%{transform:translateY(-3px) rotate(-3deg)}}
@keyframes bump{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
@keyframes land{50%{transform:translateY(-5px) scale(1.05)}}
@keyframes happy{25%,75%{transform:translateY(-8px) rotate(-5deg)}50%{transform:translateY(0) rotate(5deg)}}
@keyframes hint-pulse{50%{scale:1.12}}
@keyframes modal-in{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes float{50%{transform:translateY(-5px) rotate(4deg)}}
@keyframes confetti-fall{to{transform:translate(var(--drift),470px) rotate(580deg);opacity:0}}
@media(min-width:1400px){.site-shell{max-width:1232px}.game-layout{grid-template-columns:minmax(0,1fr) 306px}.play-area{height:410px}.levels-card{padding:24px}.level-button{height:45px}.level-group+.level-group{margin-top:19px}.gentle-card{padding:21px}}
@media(max-width:1100px){.site-shell{padding:0 24px}.game-layout{grid-template-columns:minmax(0,1fr) 266px;gap:19px}.levels-card{padding:21px 18px 18px}.game-toolbar{padding:21px 20px}.difficulty{display:none}.game-stats{gap:16px}.game-stats .goal-stat{padding-left:16px}.legend{gap:9px}.play-area{margin:0 16px}.game-actions{padding:17px 19px}.game-bottom{margin:0 19px}.plant-illustration{width:51px;right:5px}.gentle-card{padding:18px 16px}}
@media(max-width:850px){.site-shell{max-width:690px;padding:0 23px}.site-header{height:79px;gap:24px}.header-nav{gap:23px}.sound-button{padding-left:20px;min-width:85px}.brand-mark{width:38px;height:38px;border-radius:11px}.brand-name{font-size:23px}.brand-english{font-size:7px}.intro{padding:28px 0}h1{font-size:34px}.intro-note{padding-right:0}.intro-note svg{width:45px}.intro-note span{font-size:13px}.game-layout{grid-template-columns:1fr;gap:18px}.play-area{height:390px}.difficulty{display:inline}.game-toolbar{padding:22px}.game-stats{gap:22px}.game-stats .goal-stat{padding-left:22px}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.levels-card{grid-column:1;grid-row:1 / 3}.gentle-card{grid-column:2;grid-row:2}.touch-controls{grid-column:2;grid-row:1;padding:15px 9px 0;flex-direction:column;gap:13px}.control-copy{text-align:center}.dpad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,41px);gap:5px}.dpad .icon{width:18px;height:18px}.control-copy p{font-size:10px}.levels-card{padding:20px}.level-group+.level-group{margin-top:13px}.level-button{height:39px}.level-grid{gap:7px}.plant-illustration{width:60px}.site-footer{padding-top:21px}}
@media(max-width:520px){.site-shell{padding:0 15px}.site-header{height:72px;gap:18px}.brand{gap:8px}.brand-mark{width:33px;height:33px;border-radius:10px}.brand-mark .icon{width:24px;height:24px}.brand-name{font-size:21px;letter-spacing:4px}.brand-english{font-size:6px;letter-spacing:1.15px;margin-top:3px}.header-nav{gap:18px;font-size:11px}.header-nav .nav-current{display:none}.header-nav .icon{width:14px;height:14px}.sound-button{padding-left:15px;min-width:auto}.sound-button>span{display:none}.sound-button .icon{width:18px;height:18px}.intro{padding:23px 1px 24px}.eyebrow{font-size:9px;letter-spacing:1.3px;margin-bottom:7px}.tiny-spark{font-size:16px}h1{font-size:29px;letter-spacing:.4px}.intro-description{font-size:10px;letter-spacing:.1px;margin-top:6px}.intro-note{display:none}.game-layout{gap:15px}.game-card{border-radius:15px}.game-toolbar{padding:16px 15px;gap:7px}.level-title-block{gap:8px}.level-number{width:35px;height:38px;font-size:21px;border-radius:8px}.level-title-block h2{font-size:14px}.level-title-block .small-label{font-size:8px;margin-bottom:4px}.difficulty{display:none}.game-stats{gap:13px}.game-stats .goal-stat{padding-left:13px}.game-stats>div{min-width:22px;gap:4px}.game-stats>div>span{font-size:8px;letter-spacing:.4px}.game-stats strong{font-size:20px}.goal-stat strong{font-size:18px;gap:4px}.play-area{height:326px;margin:0 11px;border-radius:9px}.stage-label{top:14px;left:13px;font-size:6px;letter-spacing:1.3px}.stage-bottom{bottom:12px;left:13px;right:13px;font-size:8px;letter-spacing:.2px}.stage-bottom .icon{width:17px;height:17px}.game-actions{padding:15px 12px;gap:7px}.action-buttons{gap:7px}.action-button,.hint-button,.next-button{font-size:10px;padding:8px 10px;gap:5px;min-height:37px}.action-button kbd{display:none}.game-bottom{margin:0 14px;padding:12px 0 13px;gap:8px;font-size:8px}.keyboard-tip{gap:5px}.keyboard-tip .icon{display:none}.keyboard-tip b{letter-spacing:.6px}.legend{gap:9px}.legend>span{gap:3px}.legend svg{width:14px;height:17px}.legend .legend-player{width:13px;height:18px}.sidebar{display:flex;gap:14px}.touch-controls{order:-1;flex-direction:row;padding:0 10px;justify-content:space-between}.control-copy{text-align:left}.control-copy .small-label{font-size:10px}.control-copy p{font-size:10px;margin-top:5px}.dpad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,42px);gap:5px}.levels-card{padding:19px 19px 16px;border-radius:14px}.section-heading h2{font-size:15px}.progress-caption{margin-top:14px}.level-list{margin-top:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.level-group+.level-group{margin-top:0}.level-group-label{font-size:8px;letter-spacing:0;gap:4px;white-space:nowrap}.level-group-label>span:last-child{display:none}.level-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.level-button{height:39px;font-size:18px}.levels-footnote{margin-top:15px;font-size:8px}.gentle-card{padding:16px 20px}.gentle-card h3{font-size:16px;margin:6px 0}.gentle-card p{font-size:10px}.plant-illustration{right:23px;width:67px;bottom:9px}.site-footer{padding:20px 0 23px;justify-content:center;font-size:8px}.site-footer>p{display:none}.board-message{font-size:10px;max-width:92%;padding:8px 12px;bottom:33px}.modal{padding:33px 24px 23px}.modal h2{font-size:22px}.shortcut-guide{gap:10px}.win-modal{padding-top:29px}.win-stats{margin-top:23px}.win-art{height:96px}.win-art>svg{width:76px;height:85px}}
@media(max-width:360px){.site-shell{padding:0 10px}.game-toolbar{padding:14px 12px}.game-stats{gap:9px}.game-stats .goal-stat{padding-left:9px}.level-title-block h2{font-size:13px}.play-area{height:302px}.level-list{gap:9px}.levels-card{padding:16px}.legend{gap:6px}.game-bottom{font-size:7px}h1{font-size:27px}}
.win-modal{overflow-x:hidden;overflow-y:auto}
@media(max-width:850px){.dpad{grid-template-rows:repeat(2,44px)}}
@media(max-width:520px){.sidebar{align-items:stretch}.touch-controls{width:100%}.level-button{min-height:44px}}

.level-filters{display:grid;gap:10px;margin-top:18px}
.level-filters label{display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center;font-size:11px;color:var(--muted)}
.level-filters select,.level-jump-form input{min-width:0;width:100%;background:#f8f9f0;color:#58634d;border:1px solid #dde3d2;border-radius:7px;padding:9px;font:inherit;font-size:12px}
.levels-card .level-list{display:block;margin-top:17px}
.levels-card .level-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.levels-card .level-button{font-size:18px;min-height:44px}
.level-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px;font-size:11px;color:#737f65}
.level-pagination button,.level-jump-form button{border:1px solid #dce3cf;border-radius:7px;background:#f4f6ea;padding:9px 10px;color:#596b4d;font:inherit;font-size:11px;min-height:38px;cursor:pointer}
.level-pagination button:disabled{opacity:.4;cursor:default}
.level-jump-form{display:flex;align-items:center;gap:9px;margin-top:13px;font-size:11px;color:#737f65}
.level-jump-form label,.level-jump-form button{white-space:nowrap}
.level-jump-form input{flex:1}
.levels-footnote a{color:inherit;text-underline-offset:3px}
.stage-bottom>span{max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:850px){.levels-card .level-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:380px){.levels-card .level-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.confetti{display:none}}
