@import "https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@600;700;900&family=Noto+Sans+TC:wght@400;500;700&display=swap";:root{color:#302a22;font-synthesis:none;--ink:#302a22;--green:#365c49;--green-dark:#254434;--paper:#fbf8ef;--red:#9f3027;--gold:#d7ad5c;background:#e8e0d1;font-family:Noto Sans TC,sans-serif}*{box-sizing:border-box}html{background:#e8e0d1}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #1a73e8}.app-shell,.stage-page,.answer-page,.route-page{background:var(--paper);width:min(100%,540px);min-height:100vh;margin:0 auto;box-shadow:0 0 35px #42321c24}.route-page{padding-bottom:34px}.route-hero{color:#fff;background:linear-gradient(145deg,#244535,#3f6c53);padding:48px 24px 38px}.route-hero h1{margin:0;font-family:Noto Serif TC,serif;font-size:clamp(2rem,9vw,3rem)}.route-hero>p:last-child{color:#e9eee7;margin:12px 0 0;line-height:1.75}.route-list,.resume-card{padding:28px 18px 0}.route-list h2,.resume-card h2{margin:0 0 16px;font-family:Noto Serif TC,serif}.route-card{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:#fffdf7;border:1px solid #dfd5c4;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:12px;padding:18px;display:flex;box-shadow:0 5px 16px #48361f0f}.route-card strong,.route-card small{display:block}.route-card strong{font-family:Noto Serif TC,serif;font-size:1.15rem}.route-card small{color:#756d62;margin-top:5px}.route-card>span:last-child{color:var(--green);flex:none;font-size:.82rem;font-weight:700}.resume-card>p:not(.section-label){color:#5f584e;margin:0 0 18px}.secondary-button{border:1px solid var(--green);width:100%;color:var(--green);cursor:pointer;background:0 0;border-radius:8px;margin-top:10px;padding:12px 16px;font-weight:700}.text-button{color:var(--green);cursor:pointer;background:0 0;border:0;margin:18px auto 0;padding:6px;font-weight:700;display:block}.answer-page{padding-bottom:34px}.answer-hero{color:#fff;background:linear-gradient(145deg,#3a2824,#713e34);padding:38px 24px 30px}.answer-hero h1{margin:0;font-family:Noto Serif TC,serif;font-size:2.5rem}.answer-hero>p:last-child{color:#eee4dd;margin:8px 0 0}.answer-list{padding:24px 18px 0}.answer-list>h2{margin:0 0 15px;font-family:Noto Serif TC,serif}.answer-route+.answer-route{margin-top:28px}.answer-route>h3{margin:0 0 12px;font-family:Noto Serif TC,serif;font-size:1.2rem}.answer-route>h3 small{color:#756d62;margin-left:5px;font-family:Noto Sans TC,sans-serif;font-size:.75rem;font-weight:500}.answer-message{color:#5f584e;text-align:center;background:#f1eadf;border-radius:9px;padding:18px}.answer-message.is-error{color:#8f2d27;background:#f6e5e2}.answer-card{background:#fffdf7;border:1px solid #dfd5c4;border-radius:12px;margin-bottom:12px;padding:18px;box-shadow:0 5px 16px #48361f0f}.answer-title{align-items:center;gap:11px;display:flex}.answer-title h3{margin:0}.answer-title small{color:#756d62;margin-top:2px;display:block}.answer-card>p{color:#5f584e;margin:14px 0;line-height:1.7}.answer-value{color:#fff;background:var(--green);border-radius:8px;justify-content:space-between;align-items:center;padding:11px 14px;display:flex}.answer-value span{font-size:.8rem}.answer-value strong{letter-spacing:.08em;font-size:1.45rem}.hero{color:#fff;background:radial-gradient(circle at 90% 10%,#d7ad5c4d,#0000 25%),linear-gradient(145deg,#244535,#3f6c53);padding:34px 24px 24px}.route-back-button{color:#e9eee7;cursor:pointer;background:0 0;border:0;margin:0 0 18px;padding:0;font-size:.82rem;font-weight:700}.eyebrow,.section-label{color:#c99a45;letter-spacing:.16em;margin:0 0 5px;font-size:.75rem;font-weight:700}.hero h1,.stage-hero h1{letter-spacing:.08em;margin:0;font-family:Noto Serif TC,serif;font-size:clamp(2.35rem,10vw,3.5rem)}.hero>p:not(.eyebrow){color:#e9eee7;max-width:390px;margin:10px 0 22px;line-height:1.75}.progress-row{justify-content:space-between;margin-bottom:8px;font-size:.88rem;display:flex}.progress-track{background:#ffffff38;border-radius:99px;height:5px;overflow:hidden}.progress-track span{border-radius:inherit;background:var(--gold);height:100%;transition:width .35s;display:block}.map-section,.stage-list{padding:24px 18px}.map-heading{justify-content:space-between;align-items:end;gap:18px;margin-bottom:14px;display:flex}.map-heading h2,.stage-list h2,.story-card h2,.puzzle-card h2{margin:0;font-family:Noto Serif TC,serif}.map-note{color:#6b6358;white-space:nowrap;margin:0;font-size:.75rem}.map-wrap{background:#fff;border:1px solid #d7ccba;border-radius:15px;position:relative;overflow:hidden;box-shadow:0 8px 22px #42321c1f}.map-wrap>img{width:100%;height:auto;display:block}.map-marker{aspect-ratio:1;cursor:pointer;background:0 0;border:0;border-radius:50%;width:11%;padding:0;position:absolute;transform:translate(-50%,-50%)}.map-marker span{color:#fff;background:var(--green);border:2px solid #fff;border-radius:50%;place-items:center;width:24px;height:24px;font-size:.68rem;font-weight:700;display:grid;position:absolute;top:-3px;right:-3px;box-shadow:0 2px 6px #0000004d}.map-marker.is-unlocked{animation:2s infinite pulse}.map-marker.is-locked span{filter:grayscale();background:#766f66;font-size:.6rem}.map-marker.is-cleared span{background:#2d7048;font-size:.9rem}@keyframes pulse{50%{box-shadow:0 0 0 5px #d7ad5c8c}}@media (prefers-reduced-motion:reduce){.map-marker.is-unlocked{animation:none}}.stage-list{padding-top:4px}.stage-list h2{margin-bottom:12px}.stage-row{border-bottom:1px solid #e6ddcf;align-items:stretch;display:flex}.stage-open-button{min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:14px 2px;display:grid}.stage-number{color:#fff;background:var(--red);border-radius:50%;place-items:center;width:32px;height:32px;font-family:serif;font-weight:700;display:grid}.stage-open-button strong,.stage-open-button small{display:block}.stage-open-button small{color:#756d62;margin-top:3px}.stage-open-button>span:last-child{color:var(--green);font-size:.75rem;font-weight:700}.stage-map-button{width:44px;color:var(--green);flex:0 0 44px;place-items:center;font-size:1.2rem;text-decoration:none;display:grid}.stage-map-button:hover{background:#edf2e9}.toast{z-index:5;color:#fff;background:#302a22;border-radius:8px;width:max-content;max-width:calc(100% - 36px);padding:12px 16px;font-size:.88rem;position:fixed;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 5px 20px #00000040}.stage-page{padding-bottom:34px}.stage-nav{color:#655e54;background:#f4efe4;justify-content:space-between;padding:18px 20px;font-size:.85rem;display:flex}.stage-nav a,.stage-nav button,.back-link{color:var(--green);font-weight:700;text-decoration:none}.stage-nav button,button.back-link{cursor:pointer;background:0 0;border:0;padding:0}.stage-hero{color:#fff;background:linear-gradient(145deg,#243f31,#53765d);min-height:235px;padding:62px 24px 28px;position:relative;overflow:hidden}.stage-hero:after{content:"";border:1px solid #ffffff29;border-radius:50%;width:210px;height:210px;position:absolute;bottom:-65px;right:-50px;box-shadow:0 0 0 24px #ffffff0a,0 0 0 50px #ffffff09}.stage-badge{letter-spacing:.12em;border:1px solid #ffffffa6;border-radius:99px;padding:5px 10px;font-size:.68rem;font-weight:700;display:inline-block}.stage-hero p{color:#dce6dc;margin:20px 0 2px;font-size:.88rem}.stage-hero h1{z-index:1;letter-spacing:.02em;font-size:clamp(2rem,9vw,3rem);position:relative}.ornament{color:var(--gold);font-size:1.5rem;position:absolute;top:25px;right:24px}.stage-image{border:1px solid #dfd5c4;border-radius:13px;width:calc(100% - 36px);height:auto;margin:18px 18px 0;display:block}.story-card,.puzzle-card{background:#fffdf7;border:1px solid #dfd5c4;border-radius:13px;margin:18px;padding:22px;box-shadow:0 7px 20px #48361f12}.story-card>p:last-child,.question{color:#5f584e;line-height:1.8}.story-card>p:last-child{white-space:pre-line}.puzzle-card .question{border-left:4px solid var(--gold);white-space:pre-line;background:#f6f0e3;margin-bottom:14px;padding:16px}.map-link{color:var(--green);text-align:center;margin-bottom:22px;font-weight:700;text-decoration:none;display:block}.map-link:hover{text-decoration:underline}form label{margin-bottom:7px;font-weight:700;display:block}.answer-input{width:100%;color:var(--ink);background:#fff;border:1px solid #bdb3a5;border-radius:8px;padding:13px 14px;font-size:1rem}.answer-input:disabled{color:#5f584e;opacity:1;background:#ece8df;border-color:#d0c9be}.choice-group{border:0;margin:0;padding:0}.choice-group legend{margin-bottom:8px;font-weight:700}.choice-option{cursor:pointer;background:#fff;border:1px solid #d7ccba;border-radius:8px;align-items:center;gap:10px;margin-bottom:8px;padding:11px 12px;display:flex}.choice-option input{width:18px;height:18px;accent-color:var(--green);flex:0 0 18px;margin:0}.choice-option.is-selected{border-color:var(--green);background:#edf2e9}.choice-key{color:#fff;background:var(--green);border-radius:50%;flex:0 0 27px;place-items:center;width:27px;height:27px;font-weight:700;display:grid}.choice-group:disabled .choice-option{color:#5f584e;cursor:default;opacity:.8;background:#ece8df}.primary-button{color:#fff;background:var(--green);cursor:pointer;border:0;border-radius:8px;width:100%;margin-top:12px;padding:13px 16px;font-weight:700}.primary-button:hover{background:var(--green-dark)}.primary-button:disabled{opacity:.45;cursor:not-allowed}.error-text{color:#a32925;margin:7px 0 0;font-size:.85rem}.hint-button{color:var(--green);cursor:pointer;background:0 0;border:0;margin:18px auto 0;padding:6px;text-decoration:underline;display:block}.hint-text{color:#435343;background:#edf2e9;border-radius:7px;margin:8px 0 0;padding:12px;font-size:.9rem;line-height:1.6}.success-box{color:#28583c;background:#e3f1e7;border-radius:9px;align-items:center;gap:12px;padding:16px;display:flex}.puzzle-card form+.success-box{margin-top:14px}.success-box>span{color:#fff;background:#37724c;border-radius:50%;flex:0 0 35px;place-items:center;width:35px;height:35px;font-weight:900;display:grid}.success-box strong,.success-box p{margin:0;display:block}.success-box p{margin-top:2px;font-size:.84rem}.back-link{text-align:center;margin:26px 20px 0;display:block}.completion-overlay{z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1f1b15b8;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.completion-dialog{border:2px solid var(--gold);background:radial-gradient(circle at 50% 0, #d7ad5c38, transparent 38%), var(--paper);text-align:center;border-radius:18px;width:min(100%,430px);padding:34px 26px 26px;animation:.35s ease-out completion-arrive;box-shadow:0 18px 60px #00000059}.completion-sparkles{color:var(--gold);letter-spacing:.15em;margin-bottom:13px;font-size:1.35rem}.completion-medal{color:#fff8e8;background:var(--red);border:5px double #f4d590;border-radius:50%;place-items:center;width:76px;height:76px;margin:0 auto 18px;font-family:Noto Serif TC,serif;font-size:2rem;font-weight:900;display:grid;box-shadow:0 6px 16px #9f302747}.completion-dialog h2{margin:0;font-family:Noto Serif TC,serif;font-size:clamp(1.65rem,7vw,2.15rem)}.completion-dialog>p:not(.section-label){color:#5f584e;margin:12px 0 20px;line-height:1.75}.completion-dialog .text-button{margin-top:10px}@keyframes completion-arrive{0%{opacity:0;transform:translateY(18px)scale(.96)}}@media (prefers-reduced-motion:reduce){.completion-dialog{animation:none}}@media (width>=700px){body{padding:30px 0}.app-shell,.stage-page,.answer-page,.route-page{border-radius:18px;min-height:calc(100vh - 60px);overflow:hidden}}
