:root{--paper:#171a17;--ink:#edeee5;--muted:#959d8b;--line:#42483a;--coral:#ff5035;--green:#d6ff3f;--serif:"Arial Black","PingFang SC","Microsoft YaHei",sans-serif;--sans:"PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;opacity:.06;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid var(--coral);outline-offset:3px}button:active{transform:translateY(2px)}button:disabled{cursor:default}[hidden]{display:none!important}.masthead{height:60px;margin:0 30px;display:flex;align-items:center;border-bottom:2px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none;font-weight:800;font-size:12px}.brand svg{width:27px;height:27px;color:var(--green)}.brand b{font-size:10px;letter-spacing:.04em}.brand-separator{margin:0 8px;color:var(--coral)}.edition{margin-left:auto;font-family:monospace;font-size:10px;display:flex;gap:30px;color:var(--muted)}.edition span{color:var(--ink)}.icon-button{display:flex;align-items:center;gap:9px;padding-left:20px;border-left:2px solid var(--line);font-size:20px}.icon-button span{font-size:10px;color:var(--muted)}.layout{display:grid;grid-template-columns:360px auto 20px;justify-content:center;align-items:center;gap:70px;padding:25px 30px 20px;margin:auto;min-height:calc(100dvh - 105px)}.story{width:360px;position:relative;padding:0 0 15px}.eyebrow{display:block;font-size:11px;letter-spacing:.07em;font-weight:700;color:var(--muted)}.story>.eyebrow{display:inline-block;color:var(--paper);background:var(--coral);transform:rotate(-3deg);padding:7px 12px;font-size:13px}.eyebrow i{display:none}h1{font-size:105px;font-family:var(--serif);line-height:1.04;letter-spacing:-.06em;font-weight:950;margin:25px 0 22px;transform:rotate(-2deg);text-shadow:3px 2px #5b6252}.coral{color:var(--green);display:inline-block;transform:rotate(4deg);text-shadow:3px 2px #566b27}.title-dot{display:none}.tagline{font-size:22px;font-weight:800;line-height:1.5;margin:25px 0;color:#e7e9db}.intro{margin:24px 0;color:var(--muted);font-size:12px;line-height:1.7}.intro p{margin:10px 0}.intro b{font-family:monospace;color:var(--green);font-size:11px;margin-right:12px}.story-bottom{margin-top:32px;border-top:2px solid var(--line);padding-top:16px}.fine-rule{display:none}.story-bottom p{font-size:12px;margin:0 0 8px}.small-print{font-size:10px;color:var(--muted)}.game-column{width:min(440px,calc((100dvh - 140px)*.552632));min-width:330px}.frame-top,.frame-bottom{height:25px;display:flex;align-items:center;justify-content:space-between;font-family:monospace;font-size:10px;color:var(--muted)}.frame-top{border-bottom:2px solid var(--green);margin-bottom:6px;color:var(--ink)}.frame-top span:last-child{font-size:9px;color:var(--green)}.frame-bottom .text-button{margin:0;padding:4px;font-size:10px}.frame-bottom .text-button span{margin-left:10px}#game-shell{position:relative;width:100%;aspect-ratio:420/760;background:#141714;overflow:hidden;border:1px solid #637049;isolation:isolate;touch-action:pan-y;box-shadow:7px 7px #0c0f0b}#canvas-host{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}#canvas-host canvas{display:block!important}#overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}#overlay.blocking{pointer-events:auto}.title-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:30px 24px 25px}.stamp{align-self:flex-end;border:3px solid var(--coral);color:var(--coral);font-size:26px;font-weight:900;padding:9px 13px;line-height:1.1;text-align:center;transform:rotate(12deg);position:relative}.stamp:before{content:"";height:3px;position:absolute;top:25px;left:-5px;right:-5px;background:var(--coral);transform:rotate(-9deg)}.stamp b{display:block;font-size:13px;font-weight:900;color:var(--paper);background:var(--coral);padding:5px;margin-top:6px}.start-card{width:100%;pointer-events:auto;text-align:center}.card-kicker{font-size:18px;color:var(--ink);font-weight:900;letter-spacing:-.03em;margin-bottom:12px;text-shadow:2px 2px #171a17}.primary{width:100%;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:var(--green);color:#171b12;font-size:16px;font-weight:900;border:2px solid var(--green);box-shadow:4px 4px #080b08}.primary:hover{background:#e3ff74}.primary span{font-size:24px;line-height:1}.start-card p{font-size:10px;color:#ced6bd;margin:13px 0 0;background:#171a17b5;padding:5px}.resume{display:block;font-size:11px;margin:14px auto 0;border-bottom:1px solid var(--muted);padding:3px 0}.margin-note{writing-mode:vertical-rl;color:var(--muted);font-size:12px;letter-spacing:.15em}.margin-note i{display:block;height:100px;width:2px;margin:35px auto;background:var(--coral)}footer{display:flex;justify-content:space-between;margin:0 30px;padding:15px 0;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}footer b{font-family:monospace;margin-left:8px;color:var(--green)}#hud{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;padding:17px 18px}#hud:before{content:"";position:absolute;inset:0 0 auto;height:102px;background:linear-gradient(#141714 75%,transparent);z-index:-1}.hud-top{display:flex;align-items:center;gap:12px}.generation b{font-family:monospace;font-weight:900;font-size:30px;color:var(--green)}.generation small{font-size:10px;color:var(--muted);margin-left:4px}.height{margin-left:auto;text-align:right}.height b{font-family:monospace;font-size:20px}.height small{display:block;font-size:8px;color:var(--muted);margin-top:1px}.round-button{pointer-events:auto;width:30px;height:30px;border:1px solid #879274;display:grid;place-items:center;font-size:14px}.water-row{display:flex;align-items:center;gap:9px;margin-top:8px;font-size:10px}.water-track{height:6px;background:#394132;flex:1}.water-track i{display:block;height:100%;background:var(--green)}.water-track i.low{background:var(--coral)}.water-row b{font-family:monospace;font-size:11px;min-width:20px;text-align:right}.route-progress{position:absolute;right:8px;top:125px;height:calc(100% - 290px);width:3px;background:#67755150}.route-progress i{position:absolute;bottom:0;width:3px;background:var(--green)}.route-progress span{position:absolute;top:-24px;left:-5px;font-size:17px;color:var(--green)}#toast{position:absolute;left:22px;right:22px;top:92px;text-align:left;font-size:10px;line-height:1.5;color:var(--green);text-shadow:1px 1px #111}.combo-badge{position:absolute;right:24px;top:137px;background:var(--green);color:#161a13;font-size:17px;font-weight:900;padding:4px 8px;transform:rotate(-5deg)}.play-bottom{position:absolute;left:18px;right:18px;bottom:13px;pointer-events:auto;text-align:center}.play-bottom:before{content:"";position:absolute;z-index:-1;top:-17px;right:-18px;bottom:-13px;left:-18px;background:linear-gradient(transparent,#141714 30%)}#tip{display:block;color:#c7d4b2;font-size:10px;line-height:1.5;min-height:15px;margin-bottom:8px}.steering{display:flex;gap:6px}.steering button{background:#2c3426;border:1px solid #657a4e;color:var(--ink);font-size:22px;min-height:40px;min-width:57px;touch-action:none;-webkit-user-select:none;user-select:none}.steering #grow{flex:1;font-size:13px;font-weight:800;background:#d6ff3f;color:#171a17;border-color:#d6ff3f}.steering button.held{background:#a4cd26;color:#171a17}.steering #grow.held{background:#f1ffb2}.action-row{display:flex;gap:12px;align-items:center;margin-top:8px}.burst-button{flex:1;border:1px solid var(--coral);color:var(--coral);padding:8px 9px;text-align:left;font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:space-between}.burst-button small{font-size:9px;font-weight:400}.burst-button:disabled{border-color:#4c5345;color:#88917c}.text-button{color:var(--muted);font-size:10px;margin:4px auto 0;padding:8px 2px}.action-row .text-button{margin:0;font-size:9px}.modal-wrap{position:absolute;top:0;right:0;bottom:0;left:0;background:#10140edb;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#e8e9dd;color:#1c2217;border:2px solid #0b0e08;box-shadow:6px 6px 0 var(--coral);width:100%;padding:25px 20px;max-height:calc(100% - 10px);overflow:auto}.modal>.eyebrow{color:#576147;font-family:monospace;font-size:9px}.modal h2{font-size:30px;font-weight:950;line-height:1.15;letter-spacing:-.05em;margin:17px 0}.modal>p{font-size:11px;line-height:1.8;color:#626a56;margin-bottom:20px}.modal strong{font-family:monospace;font-size:18px;color:#1b2214}.choice-list{display:flex;flex-direction:column;gap:8px}.choice-list button{display:flex;gap:11px;align-items:center;text-align:left;padding:14px 10px;border:1px solid #9ea78e;background:#d9dfcb}.choice-list button:hover{background:var(--green);border-color:#1b2410}.choice-symbol{font-size:27px;width:25px;text-align:center;color:#35452a}.choice-list button>span:nth-child(2){flex:1}.choice-list b{display:block;font-size:13px;font-weight:900;margin-bottom:4px}.choice-list em{display:block;font-size:9px;font-style:normal;color:#59654b;line-height:1.5}.choice-list button>span:last-child{font-size:20px}.modal-foot{display:block;font-size:9px;color:#637151;text-align:center;margin-top:15px}.instructions p{font-size:10px;line-height:1.8;color:#58634a;margin-bottom:19px}.instructions b{color:#1c2714;font-size:12px}.modal .primary{font-size:14px;border-color:#1c2714}.modal>.text-button{display:block;color:#626e52}.secondary{border:1px solid #8f9c7b;font-size:11px;font-weight:600;padding:10px 6px;flex:1}.full{width:100%;margin-top:12px}.end-card{text-align:center}.end-flower{font-size:40px;color:var(--coral);line-height:1.2;margin-top:12px}.end-card h2{font-size:29px;margin:10px 0}.end-card>p{font-size:11px;margin-bottom:16px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);border-block:2px solid #a8b298;padding:15px 0;gap:6px}.result-stats div{display:flex;flex-direction:column;gap:5px}.result-stats b{font-family:monospace;font-size:25px}.result-stats span{font-size:9px;color:#657151}.life-lines{margin:15px 0;max-height:100px;overflow:auto}.life-lines div{display:flex;font-size:9px;padding:5px 0;border-bottom:1px dashed #9fae8c;color:#61704d}.life-lines b{flex:1;font-weight:600;color:#273b1a}.life-lines small{font-size:9px}.end-actions{display:flex;gap:8px;margin-top:10px}.end-card>.text-button{font-size:9px}.in-game .layout{grid-template-columns:210px auto 20px;gap:45px}.in-game .story{width:210px;align-self:start;margin-top:25px}.in-game .story>.eyebrow{font-size:10px;padding:5px 8px}.in-game h1{font-size:54px;line-height:1;margin:22px 0 12px;letter-spacing:-.04em}.in-game .tagline{font-size:13px;line-height:1.6;margin:16px 0}.in-game .intro,.in-game .story-bottom{display:none}.journal{margin-top:30px;border-top:2px solid var(--line);padding-top:15px}.journal>.eyebrow{font-size:10px;color:var(--muted)}.rings{display:flex;gap:8px;margin-top:15px}.rings span{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);color:#646e59;font-size:10px;font-family:monospace}.rings .used{border-color:#819e46;color:var(--green)}.rings .current{background:var(--green);color:#171a17;border-color:var(--green)}.journal p{font-size:10px;line-height:2;color:#a5b88d;margin-top:18px}.journal small{display:block;font-family:monospace;font-size:9px;line-height:1.7;color:var(--muted)}.bursting #game-shell{border-color:var(--green);box-shadow:6px 6px #d6ff3f}.water-danger .water-row{color:var(--coral)}#notice{position:fixed;bottom:20px;left:50%;transform:translate(-50%,15px);padding:13px 20px;background:var(--green);color:#171a17;z-index:30;max-width:90%;font-size:12px;font-weight:700;text-align:center;opacity:0;pointer-events:none;box-shadow:4px 4px #070a05}#notice.visible{opacity:1;transform:translate(-50%)}@media(min-width:1100px){.in-game .game-column{width:min(470px,calc((100dvh - 130px)*.552632))}.in-game .layout{padding-top:18px;grid-template-columns:210px auto 210px}.in-game .margin-note{writing-mode:horizontal-tb;align-self:start;margin-top:40px;font-size:22px;font-weight:900;color:#697858;padding-left:25px;line-height:2}.in-game .margin-note i{height:3px;width:70px;margin:20px 0;background:var(--coral)}.in-game .margin-note:after{content:"上键 长 / 左右键 转向\a空格：冲破岩墙\a\a绕墙取水，还是\a花水换一条近路？";white-space:pre-line;display:block;font-size:11px;font-weight:400;color:#9ba98a;letter-spacing:0;line-height:2}}@media(max-width:900px){.layout{gap:30px;padding-inline:20px;grid-template-columns:280px auto}.story{width:280px}h1{font-size:83px}.tagline{font-size:19px}.game-column{min-width:300px}.margin-note{display:none}.in-game .layout{grid-template-columns:170px auto;gap:25px}.in-game .story{width:170px}.in-game h1{font-size:45px}.rings{gap:5px}.rings span{width:28px;height:28px}.edition{display:none}.icon-button{margin-left:auto}}@media(max-width:650px){.masthead{height:47px;margin:0 12px;gap:10px}.brand{font-size:10px;gap:6px}.brand svg{width:20px;height:20px}.brand b{font-size:9px}.brand-separator{margin:0 5px}.icon-button{padding-left:12px;gap:6px;font-size:18px}.icon-button span{font-size:9px}.layout,.in-game .layout{display:flex;flex-direction:column;gap:0;padding:10px 10px 0;min-height:0}.story{width:100%;padding:0 7px 12px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px}.story>.eyebrow{grid-column:1/-1;justify-self:start;font-size:9px;padding:4px 6px;transform:rotate(-2deg)}h1{font-size:39px;margin:0;line-height:1.2;white-space:nowrap;text-shadow:2px 1px #4e5a3d}h1 br{display:none}.tagline{font-size:10px;margin:0 0 0 auto;line-height:1.6}.intro,.story-bottom,.margin-note{display:none}.game-column,.in-game .game-column{width:min(100%,calc((100dvh - 192px)*.552632));min-width:0}.frame-top{height:19px;font-size:9px;margin-bottom:4px}.frame-bottom{height:23px;font-size:8px}#game-shell{box-shadow:3px 3px #070a05}.title-overlay{padding:18px 17px}.stamp{font-size:21px;padding:7px 9px;border-width:2px}.stamp b{font-size:11px}.card-kicker{font-size:15px;margin-bottom:9px}.primary{font-size:14px;padding:13px 14px}.start-card p{font-size:8px;margin-top:8px}.resume{font-size:10px;margin-top:9px}.in-game .story{display:none}.in-game .game-column{width:min(100%,calc((100dvh - 98px)*.552632))}.in-game .layout{padding-top:6px}.in-game .frame-top{font-size:8px}footer{display:none}#hud{padding:12px}.generation b{font-size:25px}.generation small{font-size:8px}.height b{font-size:17px}.height small{font-size:7px}.round-button{width:27px;height:27px}.water-row{margin-top:6px;font-size:9px}.water-track{height:5px}#toast{top:78px;left:16px;right:16px;font-size:9px}.play-bottom{bottom:9px;left:12px;right:12px}.steering button{min-height:36px;min-width:46px;font-size:19px}.steering #grow{font-size:11px}.burst-button{font-size:11px;padding:6px 8px}.burst-button small{font-size:8px}.action-row{margin-top:6px;gap:7px}.action-row .text-button{font-size:8px}#tip{font-size:9px;margin-bottom:6px}.modal-wrap{padding:13px}.modal{padding:19px 15px;box-shadow:4px 4px 0 var(--coral)}.modal h2{font-size:25px;margin:12px 0}.modal>p{font-size:10px;margin-bottom:13px}.choice-list{gap:7px}.choice-list button{padding:11px 8px;gap:8px}.choice-list b{font-size:12px}.choice-list em{font-size:8px}.modal-foot{font-size:8px;margin-top:12px}.end-flower{font-size:28px;margin-top:7px}.end-card h2{font-size:24px}.result-stats{padding:10px 0}.result-stats b{font-size:21px}.life-lines{margin:10px 0;max-height:65px}.end-actions{gap:6px;margin-top:8px}.secondary{font-size:9px;padding:8px 5px}.end-card .text-button{font-size:8px;padding:5px}.instructions p{font-size:9px;margin-bottom:12px}.instructions b{font-size:11px}}@media(max-width:650px)and (max-height:720px){.story{padding-bottom:6px}.story>.eyebrow{display:none}h1{font-size:31px}.game-column{width:min(100%,calc((100dvh - 140px)*.552632))}.title-overlay{padding:14px}.stamp{font-size:17px}.card-kicker{font-size:12px}.primary{font-size:12px;padding:10px 12px}.start-card p{font-size:7px}.in-game .game-column{width:min(100%,calc((100dvh - 94px)*.552632))}#tip{font-size:8px}.play-bottom{bottom:7px}.steering button{min-height:31px}.burst-button{font-size:10px}.modal h2{font-size:21px}.choice-list button{padding:8px}.modal>p{font-size:9px}.choice-list em{font-size:7px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.stage-track{display:flex;gap:6px;margin-top:11px;color:#74816a;font-size:9px;letter-spacing:.04em}.stage-track>span{flex:1;border-top:2px solid #3e4936;padding-top:5px}.stage-track b{font-family:monospace;font-size:8px;margin-right:3px}.stage-track .current{color:var(--green);border-color:var(--green)}.stage-track .passed{color:#b4c598;border-color:#829d58}#toast{top:124px;background:#141714dc;padding:6px 8px;border-left:2px solid var(--green);max-width:340px}.trait-summary{display:flex;flex-wrap:wrap;gap:5px;margin:15px 0}.trait-summary span{border:1px solid #657451;padding:4px 6px;font-size:9px;color:#c1d59d}.choice-list b small{font-size:9px;font-weight:400;color:#6a755c;float:right}.end-card .run-details{font-family:monospace;font-size:9px;line-height:1.7;margin:10px 0 4px}.start-card .map-warning{color:#ffb59e;border:1px solid var(--coral);line-height:1.6;margin-bottom:12px}.modal[role=dialog]{overscroll-behavior:contain}@media(max-width:650px){.stage-track{font-size:8px;gap:4px;margin-top:8px}.stage-track>span{padding-top:3px}.stage-track b{font-size:7px}#toast{top:106px;left:12px;right:12px;font-size:8px;padding:4px 6px}.choice-list b small{font-size:8px}}@media(max-width:650px)and (max-height:720px){.stage-track{font-size:7px;margin-top:5px}#toast{top:95px;font-size:7px}.stage-track b{display:none}}#canvas-host canvas,.steering,.burst-button{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.modal{touch-action:pan-y;-webkit-overflow-scrolling:touch}@media(max-width:650px),(pointer:coarse){.steering button{min-height:52px;min-width:58px}.steering #grow{font-size:13px}.burst-button{min-height:44px;font-size:12px}.action-row .text-button{min-height:44px;padding-inline:6px;font-size:9px}.round-button{width:44px;height:44px}.icon-button{min-height:44px}.frame-bottom{height:32px}.frame-bottom .text-button{min-height:32px;padding:8px 4px}#tip{line-height:1.5;min-height:2.9em}}@media(max-width:650px){.masthead{margin-top:env(safe-area-inset-top,0px);margin-left:max(12px,env(safe-area-inset-left,0px));margin-right:max(12px,env(safe-area-inset-right,0px))}.layout,.in-game .layout{padding-left:max(10px,env(safe-area-inset-left,0px));padding-right:max(10px,env(safe-area-inset-right,0px));padding-bottom:env(safe-area-inset-bottom,0px)}.in-game .game-column{width:min(100%,calc((100dvh - 112px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))*.552632))}}@media(max-height:500px)and (orientation:landscape){.layout,.in-game .layout{display:flex;justify-content:flex-start;padding:10px max(12px,env(safe-area-inset-right,0px)) max(12px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));min-height:0}.story,.in-game .story,.margin-note{display:none}.game-column,.in-game .game-column{width:340px;min-width:0;margin:auto}}.thumb-control{display:none}.burst-button.armed{background:#ff503522;border-color:#ff8a78}.pause-leave{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 10px}.pause-leave small{font-size:9px;font-weight:400;color:#626e52}@media(max-width:650px),(pointer:coarse){.play-bottom{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px 18px}#tip{grid-column:1/-1;margin:0;min-height:2.9em}.steering{display:none}.thumb-control{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:78px;padding:9px 6px;background:var(--green);border:1px solid var(--green);color:var(--paper);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.thumb-control b{font-size:14px}.thumb-control small{font-size:9px;line-height:1.2;font-weight:500}.thumb-control.held{background:#f1ffb2}.thumb-control:active{transform:none}.thumb-track{display:flex;align-items:center;gap:8px;width:min(100%,112px);height:13px}.thumb-track .ui-icon{width:12px;height:12px}.thumb-track i{position:relative;flex:1;height:1px;background:#171a1755}.thumb-track em{position:absolute;left:calc(50% + var(--turn,0)*32%);top:50%;width:7px;height:7px;background:currentColor;transform:translate(-50%,-50%)}.action-row{grid-column:2;grid-row:2;margin:0;display:flex}.burst-button{width:100%;min-height:78px;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:9px 4px;text-align:center}.burst-button small{font-size:8px;line-height:1.4}.burst-button:active{transform:none}}.ui-icon{display:inline-block;width:1em;height:1em;vertical-align:-.14em;flex-shrink:0;pointer-events:none}.round-button .ui-icon{width:14px;height:14px}.steering .ui-icon{vertical-align:-.12em}.steering #grow .ui-icon{margin-left:3px}.choice-symbol .ui-icon{display:block;width:25px;height:27px}.end-flower .ui-icon{vertical-align:-.08em}
