:root{color-scheme:light;--ink:#233e35;--muted:#67776b;--paper:#f6f4eb;--green:#254f41;--line:#dce1d3;--gold:#bc9149;--vitality:#986637;--strength:#8d6660;--mobility:#577d64;--recovery:#73789a;font-family:Inter,"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-synthesis:none;background:var(--paper);color:var(--ink)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #bc9149;outline-offset:4px}button{min-height:46px}button:disabled{opacity:.55}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:"Noto Serif TC","Songti TC",Georgia,serif}h1{font-size:clamp(27px,5vw,40px);font-weight:500;line-height:1.35;letter-spacing:.03em}h2{font-size:25px;line-height:1.4;font-weight:500}h3{font-size:19px;font-weight:600}p{line-height:1.85}small{line-height:1.7}.shell{max-width:1120px;margin:auto;padding:0 28px 22px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;align-items:center;gap:10px;font-family:Georgia,serif;font-size:26px;letter-spacing:-.8px}.brand-mark{width:29px;height:34px;background:#345947;border-radius:55% 10% 55% 40%;transform:rotate(-20deg);display:grid;place-items:center;color:#e7edc9;font-size:20px}.edition{font-size:10px;letter-spacing:.2em;color:var(--muted);margin-top:3px}.day-tag{font-size:11px;letter-spacing:.15em;border:1px solid #c9d2c0;padding:8px 13px;border-radius:24px;white-space:nowrap}.main-home{display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:center}.world-scene{position:relative;overflow:hidden;border-radius:150px 150px 22px 22px;background:#ced9c6;box-shadow:0 24px 50px -30px #254f4160}.world-scene svg{display:block;width:100%;height:560px;object-fit:cover}.scene-label{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11px;color:#fbf9e9;letter-spacing:.06em;background:#183e38bd;backdrop-filter:blur(10px);padding:10px 15px;border:1px solid #ffffff25;border-radius:30px}.scene-label i{display:inline-block;width:5px;height:5px;border-radius:100%;background:#d2deb2;margin-right:8px}.eyebrow{font-size:10px;letter-spacing:.22em;color:#8a7955;text-transform:uppercase;margin-bottom:13px}.intro{padding:24px 0}.intro p{font-size:14px;color:var(--muted);margin-top:14px;max-width:360px}.need-callout{margin:20px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:center}.need-glyph{width:43px;height:43px;border:1px solid #c6cfb9;border-radius:50%;display:grid;place-items:center;font-size:25px;color:#748762;flex-shrink:0}.need-callout strong{display:block;font-size:15px;font-weight:500}.need-callout small{font-size:12px;color:var(--muted)}.primary,.secondary,.text-button{border-radius:12px;padding:14px 20px;border:1px solid transparent;transition:background .2s}.primary{background:var(--green);color:#fffdf0;box-shadow:0 8px 18px -12px #163f35;font-weight:500}.primary:hover:not(:disabled){background:#356750}.secondary{background:transparent;border-color:#bfcbb9;color:var(--ink)}.secondary:hover:not(:disabled){background:#e8edde}.text-button{background:transparent;color:var(--muted);padding:10px 4px}.full{width:100%}.actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}.actions>*{flex:1}.wallet{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:25px 0 8px;border-top:1px solid var(--line);padding-top:17px}.resource{text-align:center;font-size:11px;color:var(--muted);white-space:nowrap}.resource .symbol{color:var(--resource-color);margin-right:4px}.resource strong{font-family:Georgia,serif;font-size:22px;font-weight:400;display:block;color:var(--ink);margin-top:5px}.wallet-title{font-size:10px;letter-spacing:.15em;color:var(--muted);margin-top:24px}.wallet-title+.wallet{margin-top:9px}.footer{margin-top:32px;border-top:1px solid var(--line);padding:17px 0 0;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:10px;color:#748171;letter-spacing:.05em}.footer button{font-size:11px;min-height:44px}.page{max-width:660px;margin:0 auto;padding-bottom:24px}.back{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px}.page>p{margin-top:12px;color:var(--muted);font-size:14px}.page .wallet{margin-top:20px;margin-bottom:24px}.solutions{margin:16px 0}.solution{padding:20px 0;border-top:1px solid var(--line)}.solution-top{display:flex;gap:15px;align-items:baseline}.solution-num{font-family:Georgia,serif;color:#8b977b;font-size:14px}.solution p{font-size:13px;color:var(--muted);margin:6px 0 12px}.costs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.cost{border-radius:6px;background:#e7ecdf;padding:7px 10px;font-size:12px;color:var(--ink)}.missing{font-size:12px;color:#866644;display:block;margin:9px 0}.enough{font-size:12px;color:#4c7159;margin:9px 0}.solution button{padding:11px 16px}.section-label{display:block;font-size:13px;margin:25px 0 11px}.activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.activity{border:1px solid #d6ddcd;background:#fafaf4;border-radius:14px;padding:16px 10px;text-align:left;color:var(--ink);min-height:93px}.activity[aria-pressed=true]{border:2px solid #466c50;background:#eaf0e2;padding:15px 9px}.activity strong{display:block;font-size:14px;font-weight:500;margin-bottom:8px}.activity span{font-size:11px;color:var(--muted)}.duration{display:flex;align-items:center;gap:12px}.duration input{width:100%;min-width:0;border:1px solid #c7d0be;border-radius:11px;background:#fffef8;padding:13px 15px;color:var(--ink);font-size:24px}.duration span{white-space:nowrap;font-size:14px}.presets{display:flex;gap:8px;margin-top:12px}.presets button{background:transparent;border:1px solid #cbd5c2;border-radius:8px;padding:9px 14px;color:var(--ink);flex:1}.helper{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.8}.reward-preview{margin:24px 0 18px;padding:17px;background:#e9eee1;border-radius:14px}.reward-preview .costs{margin-bottom:0}.fine{font-size:11px;color:var(--muted);margin-top:12px;line-height:1.8}.result-emblem{width:85px;height:85px;margin:18px auto 25px;border:1px solid #c3d1b7;border-radius:50%;display:grid;place-items:center;background:#edf1df;font-size:42px;color:#78946a;box-shadow:0 0 0 12px #eaf0e255}.result{text-align:center;max-width:490px}.result .costs{justify-content:center;margin:24px 0}.result .cost{font-size:16px;padding:14px}.result p{margin:14px 0;color:var(--muted);font-size:14px}.result .wallet{margin:22px 0 30px}.completed-note{font-size:12px;color:#537458;margin:12px 0}.journey-note{font-family:Georgia,"Songti TC",serif;color:#7a836b;font-size:13px;margin-top:21px;line-height:1.8}.dev-panel{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:12px}.dev-panel summary{font-size:13px;cursor:pointer}.dev-panel pre{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;background:#e9eddf;padding:12px}.dev-panel p{font-size:12px;margin-top:12px;color:var(--muted)}.danger{color:#96514b;border-color:#cfa69a}#notice{position:fixed;z-index:10;left:50%;bottom:20px;transform:translateX(-50%);width:min(90%,520px);padding:17px;border:1px solid #c59673;border-radius:12px;background:#fff4dd;color:#744c30;box-shadow:0 8px 40px #0002;font-size:13px;line-height:1.8}dialog{border:1px solid #d5ddc8;border-radius:21px;padding:26px;background:var(--paper);color:var(--ink);width:min(440px,calc(100% - 30px));max-height:90dvh;overflow:auto;box-shadow:0 30px 120px #102e3c40}dialog::backdrop{background:#17393099;backdrop-filter:blur(5px)}dialog p{font-size:14px;color:var(--muted);margin:14px 0}.dry .water-layer,.dry .sprouts,.dry .blooms,.dry .awake-eyes{opacity:0}.dry .plants{opacity:.45;filter:sepia(1) saturate(.55)}.dry .wisp-aura{opacity:.3}.dry .water-tail{opacity:.38;filter:saturate(.55)}.dry .water-crest{opacity:.68}.restored .dry-details,.restored .sleep-eyes{opacity:0}.restored .water-layer,.restored .awake-eyes{opacity:1}.restored .plants{opacity:.62;filter:sepia(.35) saturate(.72)}.restored .sprouts{opacity:1}.restored .blooms{opacity:0}.restored .water-tail,.restored .water-crest{opacity:1}.restored .spring-trickle{animation:trickle 4s ease-in-out infinite;stroke-dasharray:1 6}.restored .wisp-character{animation:float 4s ease-in-out infinite;transform-origin:center}.restored .fireflies{animation:glimmer 4s ease-in-out infinite}.dry .fireflies{opacity:.15}.restored .ripple{animation:ripple 3s ease-in-out infinite;transform-origin:405px 403px}.arrival .water-layer{animation:reveal .65s both}.arrival .plants{animation:reveal .6s .35s both}.arrival .wisp-aura,.arrival .awake-eyes{animation:reveal .6s .7s both}.first-pulse .wisp-character{animation:float 2.4s .75s ease-in-out 2,first-pulse-glow 1.4s ease-out both;transform-origin:center}.first-pulse .pulse-sparkles{animation:pulse-sparkle .9s .25s ease-out both}.sleep-eyes,.awake-eyes,.water-tail,.pulse-sparkles{transition:opacity .4s ease}@keyframes reveal{from{opacity:0}to{opacity:1}}@keyframes trickle{50%{stroke-dashoffset:7;opacity:.7}}@keyframes float{50%{transform:translateY(-10px)}}@keyframes glimmer{50%{opacity:.3}}@keyframes ripple{50%{transform:scale(1.2);opacity:.3}}@keyframes first-pulse-glow{0%{filter:brightness(.8)}45%{filter:brightness(1.45) drop-shadow(0 0 18px #a9e7ff)}100%{filter:brightness(1)}}@keyframes pulse-sparkle{0%{opacity:0;transform:scale(.4)}35%{opacity:1}100%{opacity:0;transform:scale(1.5)}}}
.story-page{position:relative;max-width:820px;margin:0 auto}.story-page .world-scene{max-width:760px;margin:0 auto}.story-page .world-scene svg{height:500px}.story-card{position:relative;z-index:4;width:min(520px,calc(100% - 40px));margin:-62px auto 0;padding:25px 28px 27px;border:1px solid var(--line);border-radius:20px;background:#f9f7efee;backdrop-filter:blur(14px);box-shadow:0 20px 50px -35px #183e38}.story-card h1{font-size:28px}.story-copy{min-height:82px;margin:12px 0 18px}.story-copy p{font-size:14px;color:var(--muted);line-height:1.8}.story-copy p+p{margin-top:5px}.story-action{margin-top:4px}.story-progress{display:flex;gap:7px;margin-bottom:17px}.story-progress i{display:block;width:24px;height:3px;border-radius:4px;background:#d7ddcf}.story-progress i.current{background:#6e8a6d}.story-target{position:absolute;z-index:3;width:64px;height:64px;min-height:64px;border:1px solid #e4f5dc;background:#f8ffe5cc;border-radius:50%;color:#244d43;box-shadow:0 0 0 9px #e8f5c840,0 0 30px #f4ffd8;padding:0;animation:target-pulse 1.8s ease-in-out infinite}.story-target span{position:absolute;top:69px;left:50%;transform:translateX(-50%);white-space:nowrap;border-radius:20px;background:#183e38dc;color:#fffef1;font-size:11px;padding:6px 10px}.spring-target{left:44%;top:60%;transform:translate(-50%,-50%)}.lumi-target{left:73%;top:56%;transform:translate(-50%,-50%)}.story-connection{opacity:0}.story-stage-arrival .spring-feature,.story-stage-arrival .wisp-character,.story-stage-spring .wisp-character{opacity:0;visibility:hidden}.story-stage-arrival svg{animation:world-arrival 3.4s ease-out both}.story-stage-spring .spring-feature{animation:spring-glow 2.3s ease-in-out infinite}.story-stage-lumi .wisp-aura{fill:#bcebf2;opacity:.45}.story-stage-lumi.discovered .wisp-character{animation:story-stir .7s ease-in-out}.story-stage-connection .story-connection{opacity:.75;animation:connection-glow 2s ease-in-out infinite}.story-stage-hope .wisp-aura{fill:#d9f5de;animation:hope-glow 2s ease-in-out infinite}.story-stage-hope .wisp-character{transform-origin:center;animation:story-stir 1.8s ease-in-out infinite}.story-scene .spring-feature,.story-scene .wisp-character{transition:opacity .5s ease}@keyframes world-arrival{from{opacity:.08;filter:saturate(.25) brightness(.65)}to{opacity:1;filter:saturate(1) brightness(1)}}@keyframes target-pulse{50%{box-shadow:0 0 0 16px #e8f5c815,0 0 42px #f4ffd8}}@keyframes spring-glow{50%{filter:drop-shadow(0 0 15px #e8edab)}}@keyframes story-stir{50%{transform:translateY(-5px) rotate(1deg)}}@keyframes connection-glow{50%{opacity:.3;stroke-dashoffset:24}}@keyframes hope-glow{50%{opacity:.75;transform:scale(1.05);transform-origin:652px 368px}}
@media(max-width:760px){.shell{padding:0 22px 20px;max-width:520px}.topbar{height:76px}.brand{font-size:25px}.main-home{display:block}.world-scene{border-radius:95px 95px 18px 18px}.world-scene svg{height:295px}.intro{padding:25px 0 0}.intro p{max-width:none}.need-callout{margin:16px 0;padding:13px 0}.wallet{margin-top:22px}.footer{margin-top:23px}.page{padding-top:3px}.back{margin-bottom:10px}.page h1{font-size:29px}.page>p{font-size:13px}.solution{padding:17px 0}.scene-label{bottom:13px;font-size:10px;padding:8px 12px}.result{padding-top:15px}.story-page .world-scene svg{height:295px}.story-card{width:calc(100% - 18px);margin-top:-35px;padding:21px 20px 23px}.story-card h1{font-size:25px}.story-copy{min-height:72px;margin:9px 0 15px}.story-target{width:56px;height:56px;min-height:56px}.story-target span{top:60px}.spring-target{left:43%;top:59%}.lumi-target{left:75%;top:54%}}
@media(max-width:350px){.shell{padding-left:16px;padding-right:16px}.topbar{height:67px}.edition{font-size:8px}.day-tag{padding:7px 10px;font-size:10px}.world-scene svg{height:246px}.intro{padding-top:20px}h1,.page h1{font-size:26px}.activity-grid{gap:8px}.activity strong{font-size:13px}.activity span{font-size:10px}.actions{gap:8px}.actions button{padding:12px 10px}.presets{gap:6px}.presets button{padding:8px}.wallet{gap:2px}.cost{font-size:11px}dialog{padding:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* M3.4: only the initiating tab adds these temporary presentation states. */
.main-home{position:relative}
.recovery-skip{position:absolute;z-index:2;top:16px;left:16px;min-height:44px;padding:8px 14px;border:1px solid #d3e9de;border-radius:24px;background:#183e38e8;color:#fffef1;box-shadow:0 3px 12px #183e3855}
.recovery-skip:hover{background:#285c50}
.recovery-feedback{padding:11px 14px;border-left:3px solid #78a99d;background:#e7eee5;border-radius:0 9px 9px 0;color:#315e52!important;font-size:14px!important;line-height:1.7}
.recovery-light,.recovery-ring{opacity:0;pointer-events:none}
.recovery .water-layer,.recovery .sprouts,.recovery .awake-eyes,.recovery .pulse-sparkles{opacity:0}
.recovery .sleep-eyes{opacity:1}
.recovery .dry-details{opacity:.8}
.recovery .spring-trickle{opacity:0;animation:none}
.recovery .wisp-character,.recovery .ripple,.recovery .pulse-sparkles{animation:none}
.recovery .water-layer,.recovery .sprouts,.recovery .awake-eyes,.recovery .sleep-eyes,.recovery .dry-details,.recovery .spring-trickle,.recovery-light{transition:opacity .35s ease}
.recovery-phase-1 .recovery-light{opacity:.28}
.recovery-phase-2 .recovery-light{opacity:.45}
.recovery-phase-2 .recovery-ring{animation:recovery-wave .7s ease-out both;transform-origin:405px 403px}
.recovery-phase-2 .water-layer,.recovery-phase-3 .water-layer,.recovery-phase-4 .water-layer,.recovery-phase-5 .water-layer{opacity:1}
.recovery-phase-2 .spring-trickle{opacity:0}
.recovery-phase-3 .recovery-light{opacity:.14}
.recovery-phase-3 .sprouts,.recovery-phase-4 .sprouts,.recovery-phase-5 .sprouts,.recovery-phase-3 .spring-trickle,.recovery-phase-4 .spring-trickle,.recovery-phase-5 .spring-trickle{opacity:1}
.recovery-phase-3 .dry-details,.recovery-phase-4 .dry-details,.recovery-phase-5 .dry-details{opacity:0}
.recovery-phase-4 .awake-eyes,.recovery-phase-5 .awake-eyes{opacity:1}
.recovery-phase-4 .sleep-eyes,.recovery-phase-5 .sleep-eyes{opacity:0}
.recovery-phase-4 .wisp-character{animation:recovery-awaken .7s ease-out both;transform-origin:center}
.recovery-phase-4 .wisp-aura{filter:drop-shadow(0 0 8px #b9eaff)}
.recovery-phase-5 .recovery-light,.recovery-phase-5 .recovery-ring{opacity:0}
@keyframes recovery-wave{0%{opacity:.8;transform:scale(.7)}100%{opacity:0;transform:scale(1.55)}}
@keyframes recovery-awaken{0%{transform:translateY(0);filter:brightness(1)}55%{transform:translateY(-7px);filter:brightness(1.14) drop-shadow(0 0 9px #b9eaff)}100%{transform:translateY(-3px);filter:brightness(1.04)}}
@media(max-width:760px){.recovery-skip{top:12px;left:12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.recovery *{animation:none!important;transition:none!important}}

/* M3.5: the far light is a separate distant layer and only Home schedules attention cues. */
.distant-mystery{pointer-events:none}.distant-haze{opacity:.9}.distant-core{opacity:1}.distant-air{opacity:.2}
.mystery-entry{position:absolute;z-index:2;left:34%;top:26%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:100px;min-height:46px;padding:10px 13px;border:1px solid #7eaaa8;border-radius:23px;background:#f3f8eedb;color:#214d50;font-size:12px;font-weight:600;backdrop-filter:blur(7px);box-shadow:0 2px 10px #214d5026;white-space:nowrap}
.mystery-entry::before{content:"";width:15px;height:15px;flex:none;border:1.5px solid currentColor;border-radius:50%;background:radial-gradient(circle,#3e7c83 1.5px,transparent 2px);opacity:.8}
.mystery-entry::after{content:"";position:absolute;top:100%;left:36%;width:1px;height:21px;background:linear-gradient(#77aeb0bb,#77aeb000);transform:rotate(12deg);transform-origin:top;pointer-events:none}
.mystery-entry:hover{background:#f9fcf5f2;border-color:#4e8f91;box-shadow:0 3px 13px #214d5038}.mystery-entry:active{transform:translate(-50%,-50%) scale(.97);background:#e3f1ec}.mystery-entry:focus-visible{outline:3px solid #ffe7a3;outline-offset:4px}
.mystery-cue .distant-haze{animation:mystery-light-pulse 2.2s ease-in-out both}.mystery-cue .distant-air{animation:mystery-air 2.2s ease-in-out both}
.mystery-cue .wisp-character,.mystery-first-attention .wisp-character{animation-play-state:paused}
.mystery-cue .wisp-attention,.mystery-first-attention .wisp-attention{animation:lumi-notice 2.2s ease-in-out both;transform-origin:652px 368px}
.mystery-cue .awake-eyes,.mystery-first-attention .awake-eyes{animation:lumi-distant-look 2.2s ease-in-out both}
@keyframes mystery-light-pulse{0%,100%{opacity:.78}48%{opacity:1;filter:brightness(1.25)}}
@keyframes mystery-air{0%,100%{opacity:.2}50%{opacity:.42}}
@keyframes lumi-notice{0%,15%,100%{transform:rotate(0)}35%,62%{transform:rotate(-4deg)}}
@keyframes lumi-distant-look{0%,15%,100%{transform:translateX(0)}35%,62%{transform:translateX(-3px)}}
.mystery-attention{padding:9px 13px;border-left:3px solid #7abfce;background:#e5f1ed;border-radius:0 9px 9px 0;color:#315e62!important;font-size:13px!important}
.mystery-page{max-width:760px;margin:0 auto}.mystery-page:focus{outline:none}.mystery-page .world-scene svg{height:410px}.mystery-page .scene-label{display:none}.mystery-card{position:relative;max-width:520px;margin:-48px auto 0;padding:24px 27px;border:1px solid #d2e5e1;border-radius:19px;background:#f9f9f1f5;box-shadow:0 20px 45px -32px #173f44}.mystery-card p{margin:16px 0 22px;font-size:15px;color:#49635f}.mystery-clue{margin:14px 0;padding:13px 15px;background:#e7f0ed;border-left:3px solid #84bfc9;border-radius:0 9px 9px 0}.intro .mystery-clue p{margin:0;color:#365f62}
@media(max-width:760px){.mystery-page .world-scene svg{height:295px}.mystery-card{width:calc(100% - 18px);margin-top:-30px;padding:20px}.mystery-entry{left:34%;top:19%;font-size:11px}}
@media(max-width:350px){.mystery-entry{left:34%;top:19%;min-width:94px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.mystery-cue .distant-haze,.mystery-cue .distant-air,.mystery-cue .wisp-attention,.mystery-first-attention .wisp-attention,.mystery-cue .awake-eyes,.mystery-first-attention .awake-eyes{animation:none!important}.mystery-cue .wisp-character,.mystery-first-attention .wisp-character{animation-play-state:running}}
