:root{font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#edf1dc;background:#26483e;--gold:#ead3a2;--ink:#355749;--muted:#adbfaa}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 80% 0,#63846760,transparent 60%),#26483e}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;border:0;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #ead3a2;outline-offset:3px}[hidden]{display:none!important}.site-nav{max-width:1260px;margin:auto;padding:23px 24px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#bccdb9}.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:#f0e8cc}.brand>span{display:grid;place-items:center;width:31px;height:31px;background:#e0c797;color:#395a47;border-radius:8px;font:22px serif}.brand small{font-weight:400;border-left:1px solid #b1c2a73b;padding-left:14px;margin-left:5px}main{max-width:1220px;padding:0 20px;margin:auto}.shell{border:1px solid #b9c7a74d;border-radius:17px;overflow:hidden;box-shadow:0 25px 70px #102f2859;background:#2c4d42}.heading{height:57px;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.heading>div{display:flex;align-items:center;gap:14px}.series{font:12px Georgia,serif;letter-spacing:2px;border:1px solid #bdad7670;border-radius:4px;padding:5px 7px;color:#e4d19e}.heading b{font-size:16px;letter-spacing:3px}.heading small{font-size:10px;color:#a9bfa9;border-left:1px solid #b5c4aa35;padding-left:14px}.tools{display:flex;gap:18px}.tools button{background:transparent;font-size:10px;color:#d2ddc6;padding:8px 0}.stage{height:min(66vh,600px);min-height:430px;position:relative;isolation:isolate;background:#486d55}.stage>canvas{display:block;width:100%;height:100%;object-fit:contain;touch-action:none}.screen{position:absolute;inset:0;z-index:4}.home-screen{overflow:auto;background:linear-gradient(90deg,#234638f7,#294f3de8 45%,#3f61413b)}.home-copy{position:relative;z-index:1;width:53%;max-width:540px;padding:30px 0 26px 6%}.eyebrow{font-size:9px;letter-spacing:4px;color:#cfcea9;margin:0 0 15px}.home-copy h1{font-family:"Songti SC","SimSun",serif;font-size:58px;letter-spacing:5px;margin:0;line-height:1.12;font-weight:600;color:#f5e5bd}.home-copy h1 span{display:block;font-size:.88em;margin-top:8px}.english{font-size:8px;letter-spacing:2px;color:#b8bd9c;margin:15px 0 19px}.intro{font-size:11px;line-height:1.9;color:#c0d0b7;margin:0 0 18px}.home-art{position:absolute;right:-13%;bottom:-3%;height:96%;max-width:76%;object-fit:contain;opacity:.92;pointer-events:none}.levels{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:16px}.level-button{background:#91a47a20;border:1px solid #c7c2944d;border-radius:7px;text-align:left;padding:10px 9px}.level-button b{font-size:10px;display:block;white-space:nowrap}.level-button span{font-size:9px;color:#d5c797;display:block;margin-top:5px}.level-button.selected{background:#d4c59024;border-color:#d9c38b}.choice-row{display:flex;align-items:center;gap:12px;margin:10px 0;font-size:9px}.choice-row>span{color:#a9bfa2;flex-shrink:0;width:48px}.choices{display:flex;gap:6px;flex:1}.choices button{flex:1;min-height:31px;border:1px solid #a6be9140;border-radius:5px;padding:6px 9px;background:#7e9f7920;color:#cbd8c0;font-size:10px}.choices button.selected{background:#ddcc9e;color:#3f5c42;border-color:#eddbac}.home-actions{display:flex;gap:10px;margin-top:20px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:6px;padding:11px 20px;font-size:11px;font-weight:600}.primary{background:#e8d1a1;color:#385442;box-shadow:0 3px 0 #ab9973}.primary>span{margin-left:28px}.secondary{background:#87a37c18;border:1px solid #c1c49c4d;color:#d8dfc7}.save-note{font-size:8px;color:#a9bd9e;line-height:1.7;margin:16px 0 0}.hud{position:absolute;inset:0;pointer-events:none}.route{position:absolute;left:50%;top:17px;transform:translateX(-50%);width:min(470px,80%);color:#fff3d4;text-shadow:0 1px 3px #294d3c}.route>div:first-child{display:flex;align-items:center;gap:12px;padding:0 0 7px}.route b{font-size:12px}.route>div:first-child>span{margin-left:auto;font-size:10px}.route button{pointer-events:auto;width:28px;height:26px;border:1px solid #e3d8ac69;border-radius:5px;background:#2d554580;color:#f2e2b9}.route-track{height:7px;border:1px solid #e4dabf4d;background:#375c4e94;border-radius:4px;position:relative}.route-track i{display:block;height:100%;background:#e0ca8f;border-radius:4px}.route-track span{position:absolute;right:-39px;top:-3px;font-size:9px}.cart-health{display:flex;align-items:center;gap:9px;margin-top:9px;font-size:9px}.cart-health>div{height:7px;border:1px solid #e9dec336;flex:1;background:#24473799;border-radius:3px;overflow:hidden}.cart-health i{display:block;height:100%;background:#a7d2a5}.cart-health b{font-size:9px;min-width:54px;text-align:right}.route p{font-size:9px;text-align:center;margin:9px 0;color:#f3e7c6}.player-bars{position:absolute;left:18px;right:18px;bottom:18px;display:flex;justify-content:space-between;gap:18px}.player-card{width:230px;background:#284b3cbe;border:1px solid #c6d1af50;border-radius:9px;padding:10px 12px;box-shadow:0 3px 12px #20443326}.player-card header{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#f2e4bd;margin-bottom:7px}.player-card header span{font-size:8px;color:#b9cbaa}.player-card .bar{height:7px;border-radius:3px;background:#203e3580;overflow:hidden;margin:5px 0}.player-card .bar i{height:100%;display:block;background:#b8cf9d}.player-card .bar.energy{height:4px}.player-card .bar.energy i{background:#dabd77}.player-card small{display:flex;justify-content:space-between;font-size:8px;color:#c5d6b8}.run-coins{position:absolute;right:21px;top:23px;color:#f1db9d;text-shadow:0 2px 4px #2e513c;font-size:11px}.shade{display:grid;place-items:center;background:#1c4035b8;backdrop-filter:blur(5px);padding:20px;overflow:auto}.panel{width:min(840px,96%);padding:29px;border:1px solid #f5e2af;border-radius:13px;background:linear-gradient(140deg,#f5ecd2,#e0e5c9);color:#3a5a45;max-height:100%;overflow:auto;box-shadow:0 16px 48px #173b2f5c}.panel .eyebrow{color:#8a9067;letter-spacing:3px;font-size:8px}.panel h2{font:600 29px "Songti SC",serif;letter-spacing:3px;margin:0}.panel p{font-size:11px;color:#758565;line-height:1.9}.panel .primary{background:#486a4e;color:#f9efd3;box-shadow:none}.panel .secondary{color:#4f6d4b;border-color:#92a37959;background:transparent}.compact{max-width:415px;text-align:center}.compact>button{display:flex;width:100%;margin-top:12px}.text-button{display:inline-block;background:transparent;color:inherit;padding:10px;font-size:10px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:22px 0}.guide-grid article>b{font:25px Georgia;color:#aca374}.guide-grid h3{font-size:12px;letter-spacing:1px}.guide-grid p{font-size:10px}.key-guide{border-block:1px solid #839c7838;padding:9px 0;margin-bottom:15px}.key-guide p{font-size:10px}kbd{font:9px system-ui;padding:2px 5px;border:1px solid #a7b68b76;background:#ced8b568;border-radius:4px}.panel-title{display:flex;align-items:center;justify-content:space-between}.panel-title>span{font-size:12px;color:#9b8a4b}.upgrade-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.upgrade{border:1px solid #a5b18d70;border-radius:9px;background:#f6edcd5c;padding:18px}.upgrade h3{font-size:13px;margin:4px 0 12px}.upgrade .rank{color:#ac9f64;letter-spacing:2px;font-size:14px}.upgrade p{font-size:10px;min-height:40px}.upgrade button{width:100%;border-radius:5px;background:#59794f;color:#f7efd0;font-size:10px;padding:9px}.stars{font:38px Georgia;letter-spacing:7px;color:#b5a160;margin:20px 0}.result-stats{font-size:10px;line-height:1.9;border-block:1px solid #899d763b;padding:12px 0;margin:16px 0}.controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 20px;background:#25473c;min-height:86px;touch-action:none;user-select:none}.keyboard-note{font-size:10px;color:#d9e0c9;line-height:1.9}.keyboard-note b{color:#e6d09b;letter-spacing:2px}.keyboard-note small{display:block;font-size:9px;color:#9fba9d}.actions{display:flex;gap:7px}.actions button{position:relative;overflow:hidden;width:69px;height:55px;border:1px solid #bdc9a34d;border-radius:7px;background:#3e6049;color:#eadbb5;padding:4px}.actions button b{position:relative;z-index:1;font:23px "Songti SC",serif;display:block}.actions button span{position:relative;z-index:1;font-size:8px;display:block;margin-top:3px}.actions button i{position:absolute;inset:0;pointer-events:none;transform-origin:bottom;background:#1b3b32b3}.actions button.held{background:#698666}.actions button.unready{opacity:.55}.joystick{display:none;flex-shrink:0;position:relative;width:72px;height:72px;border-radius:50%;border:1px solid #cbd3b34f;background:#92ab7e18;touch-action:none}.stick{position:absolute;width:28px;height:28px;left:21px;top:21px;border-radius:50%;border:1px solid #e5deb16e;background:#cbdaa458;pointer-events:none}.joystick>span{position:absolute;left:0;right:0;bottom:4px;text-align:center;font-size:8px;color:#9eb397;pointer-events:none}.footer-strip{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#9bb79b;border-top:1px solid #a7bb8a1f;padding:13px 20px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;padding:34px 10px}.features article{display:flex;gap:20px}.features article>b{font:27px "Songti SC",serif;color:#baa975}.features h2{font-size:12px;letter-spacing:1px;color:#dbe2cd;margin:2px 0 10px}.features p{font-size:10px;line-height:1.8;margin:0;color:#9fbc9f}footer{max-width:1180px;margin:auto;border-top:1px solid #a6bf9826;padding:20px 20px 28px;color:#88aa8e;font-size:9px;line-height:2}footer a{color:#c5ccaa;margin-left:10px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:20;max-width:92%;padding:12px 22px;border-radius:8px;background:#f0e4ba;color:#49633f;box-shadow:0 5px 25px #193a2b5e;font-size:11px;text-align:center;pointer-events:none;opacity:0;transition:opacity .15s}#toast.show{opacity:1}.shell:fullscreen,.shell.expanded{width:100vw;height:100dvh;display:flex;flex-direction:column;border:0;border-radius:0}.shell:fullscreen .stage,.shell.expanded .stage{flex:1;height:auto;min-height:0}.shell:fullscreen .heading,.shell:fullscreen .controls,.shell:fullscreen .footer-strip,.shell.expanded .heading,.shell.expanded .controls,.shell.expanded .footer-strip{flex-shrink:0}.shell.expanded{position:fixed;inset:0;z-index:50}.shell:fullscreen .home-copy,.shell.expanded .home-copy{padding-top:25px}.shell:fullscreen .home-art,.shell.expanded .home-art{height:95%}
@media(max-width:850px){.heading small{display:none}.home-copy{width:60%;padding-left:5%;padding-top:26px}.home-copy h1{font-size:47px}.home-art{right:-25%;max-width:90%;height:90%}.choice-row{gap:7px}.controls{padding:11px 14px}.actions button{width:59px}.features{gap:20px}.run-coins{top:118px;right:18px}.route{width:73%}}
@media(max-width:600px){.site-nav{padding:15px;font-size:9px}.brand{gap:7px}.brand small{padding-left:9px;margin-left:0}.brand>span{width:27px;height:27px;font-size:19px}main{padding:0 9px}.shell{border-radius:11px}.heading{height:45px;padding:0 10px}.heading>div{gap:9px}.heading b{font-size:12px;letter-spacing:2px}.series{font-size:10px;padding:3px 5px}.tools{gap:11px}.tools button{font-size:8px}.stage{width:100%;height:245px;aspect-ratio:auto;min-height:245px}.stage:has(#home-screen:not([hidden])){height:635px;min-height:635px}.home-copy{width:100%;max-width:none;padding:25px 22px}.home-copy h1{font-size:44px}.home-copy h1 span{display:inline;font-size:1em;margin-left:3px}.eyebrow{font-size:8px;letter-spacing:3px}.english{font-size:7px;letter-spacing:1px;margin:14px 0 17px}.intro{font-size:10px;margin-bottom:22px}.home-art{height:59%;max-width:100%;right:-25%;bottom:-5%;opacity:.25}.levels{gap:5px;margin-bottom:21px}.level-button{padding:11px 7px}.level-button b{font-size:10px}.level-button span{font-size:8px}.choice-row{margin:14px 0;gap:10px}.choice-row>span{font-size:9px}.choices button{min-height:37px;font-size:10px}.home-actions{margin-top:24px}.home-actions .primary{flex:1}.primary,.secondary{font-size:10px;min-height:40px;padding:10px 15px}.save-note{font-size:8px;margin-top:17px;max-width:240px}.hud .route{top:8px;width:82%}.route b{font-size:9px}.route>div:first-child{padding-bottom:4px;gap:6px}.route>div:first-child>span{font-size:8px}.route button{width:24px;height:21px;font-size:12px}.route-track{height:5px}.route-track span{font-size:7px;right:-27px}.cart-health{gap:5px;font-size:7px;margin-top:6px}.cart-health>div{height:5px}.cart-health b{font-size:7px;min-width:43px}.route p{font-size:7px;margin:6px 0}.player-bars{left:8px;right:8px;bottom:8px;gap:8px}.player-card{width:155px;padding:6px 8px;border-radius:6px}.player-card header{font-size:8px;margin-bottom:4px}.player-card header span{font-size:6px}.player-card .bar{height:5px;margin:3px 0}.player-card .bar.energy{height:3px}.player-card small{font-size:6px}.run-coins{font-size:8px;top:88px;right:13px}.controls{padding:8px;gap:8px;min-height:104px}.keyboard-note{display:none}.joystick{display:block;width:66px;height:66px}.stick{left:19px;top:19px;width:26px;height:26px}.actions{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;flex:1;max-width:260px}.actions button{width:auto;height:41px;display:flex;align-items:center;justify-content:center;gap:4px;padding:3px}.actions button:first-child{grid-row:span 2;height:auto;flex-direction:column}.actions button b{font-size:19px}.actions button span{font-size:7px;margin:0}.footer-strip{font-size:7px;padding:10px 11px}.footer-strip>span:last-child{display:none}.shade{padding:9px}.panel{padding:17px;border-radius:10px;width:100%}.panel h2{font-size:21px;letter-spacing:2px}.panel .eyebrow{font-size:7px;letter-spacing:2px;margin-bottom:11px}.panel p{font-size:9px;line-height:1.75}.compact>button{margin-top:8px;min-height:33px;padding:8px 14px}.guide-grid{grid-template-columns:1fr;gap:10px;margin:16px 0}.guide-grid article{display:grid;grid-template-columns:27px 1fr;gap:0 8px}.guide-grid article>b{grid-row:span 2;font-size:21px}.guide-grid h3{font-size:11px;margin:0 0 5px}.guide-grid p{font-size:9px;margin:0}.key-guide p{font-size:8px}.key-guide kbd{font-size:7px}.upgrade-grid{grid-template-columns:1fr;gap:8px;margin:17px 0}.upgrade{padding:11px}.upgrade h3{font-size:11px;margin:0 0 6px}.upgrade .rank{font-size:11px}.upgrade p{font-size:9px;min-height:0;margin:7px 0}.upgrade button{font-size:9px;padding:8px}.panel-title>span{font-size:10px}.stars{font-size:29px;margin:13px 0}.result-stats{font-size:9px;margin:11px 0;padding:9px 0}.features{grid-template-columns:1fr;gap:23px;padding:24px 12px}.features article{gap:15px}.features article>b{font-size:22px}.features h2{font-size:11px;margin-bottom:6px}.features p{font-size:9px}footer{font-size:8px;padding:16px}#toast{font-size:10px;padding:10px 16px;bottom:12px}}
@media(pointer:coarse){.joystick{display:block}.keyboard-note{display:none}}
@media(max-height:520px) and (orientation:landscape){.site-nav,.features,footer{display:none}main{padding:0}.shell{border:0;border-radius:0}.heading{height:34px}.heading b{font-size:12px}.stage{height:calc(100dvh - 119px);min-height:0;aspect-ratio:auto}.stage:has(#home-screen:not([hidden])){height:calc(100dvh - 58px);min-height:0}.home-copy{width:60%;padding:17px 5%;max-width:560px}.home-copy h1{font-size:37px}.home-copy h1 span{display:inline;font-size:1em;margin-left:5px}.home-copy .eyebrow{margin-bottom:8px;font-size:7px}.english{font-size:6px;margin:9px 0}.intro{display:none}.levels{margin:14px 0 10px}.level-button{padding:7px}.level-button b{font-size:9px}.level-button span{font-size:7px;margin-top:3px}.choice-row{margin:7px 0}.choices button{min-height:27px;font-size:9px;padding:4px 7px}.home-actions{margin-top:12px}.home-actions button{min-height:31px;padding:8px 15px;font-size:9px}.save-note{font-size:7px;margin-top:10px}.home-art{height:90%;right:-5%;opacity:.6;max-width:65%}.controls{height:64px;min-height:64px;padding:5px 18px}.joystick{display:block;width:52px;height:52px}.stick{width:22px;height:22px;left:14px;top:14px}.joystick>span{font-size:7px;bottom:2px}.keyboard-note{display:none}.actions{display:flex;flex:none;max-width:none;gap:7px}.actions button,.actions button:first-child{width:66px;height:43px;display:flex;flex-direction:column;gap:2px}.actions button b{font-size:19px}.actions button span{font-size:7px}.footer-strip{height:21px;padding:5px 14px;font-size:7px}.route{top:7px;width:44%}.route b{font-size:9px}.route>div:first-child>span{font-size:8px}.route p{font-size:7px;margin:5px 0}.route button{height:22px;width:24px}.route-track{height:5px}.cart-health{margin-top:5px;font-size:7px}.cart-health b{font-size:7px}.player-bars{bottom:8px;left:12px;right:12px}.player-card{width:170px;padding:6px 9px}.player-card header{font-size:8px;margin-bottom:3px}.player-card small{font-size:6px}.player-card .bar{height:5px;margin:3px 0}.run-coins{top:13px;font-size:9px}.panel{padding:16px}.panel h2{font-size:22px}.panel p{font-size:10px}.panel .eyebrow{font-size:7px;margin-bottom:8px}.compact>button{margin-top:7px;min-height:31px;padding:8px 14px}.stars{font-size:29px;margin:11px 0}.result-stats{margin:9px 0;padding:8px 0}.guide-grid{grid-template-columns:repeat(3,1fr);gap:15px;margin:16px 0}.guide-grid article{display:block}.guide-grid article>b{font-size:21px}.guide-grid h3{font-size:11px}.guide-grid p{font-size:9px}.upgrade-grid{grid-template-columns:repeat(3,1fr);margin:17px 0;gap:10px}.upgrade{padding:13px}.upgrade p{min-height:34px;font-size:9px}.upgrade h3{font-size:11px}.upgrade button{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
