:root{color:#25483d;font-synthesis:none;--ink:#25483d;--muted:#677064;--green:#285a46;--line:#dfdfd0;--gold:#e9ad45;--paper:#fdfcf7;background:#f6f3ea;font-family:Inter,Segoe UI,Arial,Noto Sans TC,sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;min-height:44px}button:disabled{cursor:default;opacity:.58}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:5px;outline:3px solid #a55e18}button{transition:background .15s,box-shadow .15s,transform .15s}button:hover:enabled{filter:brightness(.97)}svg{flex-shrink:0;width:22px;height:22px}button svg,button span{pointer-events:none}.site-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;height:100px;padding:0 max(4vw,24px);display:flex}.brand{color:var(--ink);letter-spacing:-1px;align-items:center;gap:12px;font-family:Georgia,Times New Roman,serif;font-size:26px;font-weight:700;text-decoration:none;display:flex}.brand>svg{background:var(--green);color:#fff3ce;border-radius:12px;width:44px;height:44px;padding:7px}.brand-sub{color:var(--muted);letter-spacing:1px;margin-top:4px;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:10px;font-weight:500;display:block}.header-tools{align-items:center;gap:12px;display:flex}.workshop{letter-spacing:1.8px;color:#65705f;margin-right:20px;font-size:10px}.icon-button{border:1px solid var(--line);background:0 0;border-radius:50%;place-items:center;width:44px;height:44px;font-size:17px;display:grid}.text-button{background:0 0;border:0;font-size:12px;font-weight:700}.lang-button{border-right:1px solid var(--line);margin-right:2px;padding:0 20px 0 10px}main{max-width:1440px;margin:auto;padding:42px max(4vw,24px) 0}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;display:flex}.eyebrow{letter-spacing:1.9px;color:#64705e;text-transform:uppercase;margin:0 0 14px;font-size:10px;font-weight:700;line-height:1.5}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.6px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:40px;font-weight:400;line-height:1.2}.title-number{letter-spacing:0;color:#788272;vertical-align:middle;font-family:Inter,Segoe UI,sans-serif;font-size:21px;font-weight:400}.title-number span{color:#adb3a3;margin:0 13px;font-size:30px;font-weight:200}.outline-button{white-space:nowrap;background:0 0;border:1px solid #cbd0bd;border-radius:8px;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:0 17px;font-size:12px;font-weight:600;display:flex}.outline-button svg{width:17px;height:17px}.game-layout{grid-template-columns:minmax(0,1fr) 290px;align-items:stretch;gap:38px;display:grid}.scene-card{background:#e8eddf;border:1px solid #dce2d1;border-radius:18px;flex-direction:column;min-width:0;display:flex;position:relative;overflow:hidden}.scene-top{z-index:1;justify-content:space-between;align-items:center;gap:10px;padding:20px 22px 0;display:flex}.phase{white-space:nowrap;background:#f5f6edc9;border-radius:30px;align-items:center;gap:8px;padding:8px 12px;font-size:11px;font-weight:600;display:flex}.status-dot{background:#5c7d4f;border-radius:50%;width:6px;height:6px}.status-dot.moving{animation:1s infinite pulse}.scene-meta{color:#5c6c55;letter-spacing:.15px;font-size:10px}#world{isolation:isolate;flex:1;width:100%;height:520px;min-height:490px;position:relative}#world canvas{width:100%;height:100%;display:block}#switches{pointer-events:none;z-index:2;position:absolute;inset:0}.map-switch{pointer-events:auto;color:#463e24;background:#fff9e9;border:1px solid #c29547;border-radius:22px;justify-content:center;align-items:center;gap:6px;width:68px;height:44px;padding:0 8px;font-size:14px;font-weight:700;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 3px #9e7c3a,0 5px 10px #31433320}.map-switch:before{content:"";pointer-events:none;background:#977335;width:1px;height:27px;position:absolute;bottom:43px;left:50%}.map-switch svg{color:#7c5e22;width:16px;height:16px}.map-switch:disabled{opacity:.8}.scene-bottom{color:#5e6c57;z-index:1;justify-content:space-between;align-items:center;gap:12px;padding:0 22px 20px;font-size:10px;display:flex}.legend{align-items:center;gap:8px;display:flex}.legend i{outline-offset:2px;background:#c38a21;outline:1px solid #92621340;width:19px;height:3px;display:inline-block}.scene-count{letter-spacing:1px;white-space:nowrap}.planning-panel{flex-direction:column;min-width:0;padding:9px 0 0;display:flex}.panel-intro .eyebrow{margin-bottom:11px}.panel-intro h2{letter-spacing:-.6px;margin-bottom:12px;font-family:Georgia,Times New Roman,serif;font-size:29px;font-weight:400;line-height:1.19}.panel-intro>p:last-child{color:#667061;margin-bottom:24px;font-size:12px;line-height:1.8}.journey-card{background:#efeee3;border:1px solid #e0e0d1;border-radius:10px;margin-bottom:24px;padding:17px 20px}.journey-card>.eyebrow{margin-bottom:15px;font-size:9px}.stop{align-items:center;gap:14px;padding-bottom:19px;display:flex;position:relative}.stop:last-child{padding-bottom:0}.stop:first-of-type:after{content:"";background:#a7b19a;width:1px;height:30px;position:absolute;top:25px;left:4px}.stop-dot{background:#efeee3;border:1.5px solid #64805d;border-radius:50%;flex-shrink:0;width:9px;height:9px}.finish-dot{outline-offset:2px;background:#426248;outline:3px solid #d8dfcd}.small-label{color:#6a7465;letter-spacing:.7px;margin-bottom:5px;font-size:9px;display:block}.stop strong{font-size:12px;font-weight:600}.stop svg{color:#607e5a;width:19px;height:19px;margin-left:auto}.route-button{text-align:left;background:#faf9f2;border:1px solid #d9ddcd;border-radius:8px;align-items:center;gap:12px;width:100%;min-height:64px;margin-bottom:8px;padding:10px 12px;display:flex}.switch-number{color:#655023;background:#f4e9c8;border:1px solid #d3b064;border-radius:50%;flex-shrink:0;place-items:center;width:30px;height:30px;font-size:12px;font-weight:600;display:grid}.route-button strong{font-size:12px;font-weight:600;display:block}.route-value{color:#68715f;margin-top:4px;font-size:10px;display:block}.change-icon{color:#65745a;margin-left:auto;font-size:21px}.route-explainer{color:#68715f;margin:11px 0 18px;font-size:10px;line-height:1.7}#route-controls>.eyebrow{margin-bottom:10px;font-size:9px}.primary-button{color:#fffdf2;background:#285a46;border:1px solid #285a46;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:50px;font-size:12px;font-weight:600;display:flex;box-shadow:0 3px #1c4032}.primary-button svg{width:20px;height:20px}.subtle-button{background:0 0;border:0;justify-content:center;align-items:center;gap:7px;width:100%;min-height:44px;margin-top:6px;font-size:11px;display:flex}.subtle-button svg{width:14px;height:14px}.reassurance{text-align:center;color:#74806b;margin:6px 0 0;font-family:Georgia,serif;font-size:11px;font-style:italic;line-height:1.6}.outcome{background:#f5e8d4;border:1px solid #ddcbaa;border-radius:9px;margin:0 0 19px;padding:17px;position:relative}.outcome.won{background:#e4ebdc;border-color:#bdcdb1}.outcome h3{margin-bottom:9px;padding-right:18px;font-family:Georgia,serif;font-size:23px;font-weight:400;line-height:1.2}.outcome p{color:#5f6958;margin:0;font-size:11px;line-height:1.7}.outcome-icon{font-size:20px;position:absolute;top:14px;right:13px}.below-board{color:#6d7766;justify-content:space-between;align-items:start;gap:15px;width:calc(100% - 328px);margin-top:14px;font-size:10px;line-height:1.7;display:flex}.below-board>p{margin:0}.below-board details{text-align:right;max-width:50%}.below-board summary{cursor:pointer;text-underline-offset:3px;min-height:44px;text-decoration:underline}.below-board details p{text-align:left;margin-top:5px}.journey-strip{border-top:1px solid var(--line);margin-top:26px;padding-top:23px}.strip-heading{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.strip-heading .eyebrow{margin:0}.strip-heading>span{color:#6a7564;font-size:10px}#level-cards{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.level-card{text-align:left;background:0 0;border:1px solid #d9ddce;border-radius:9px;align-items:center;gap:15px;min-height:86px;padding:16px;display:flex}.level-card.active{background:#eeefe3;border-color:#a4b49a}.card-number{color:#808c75;border:1px solid #d6ddcb;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;font-family:Georgia,serif;font-size:20px;display:grid}.active .card-number{color:#fff6d8;background:#355d45;border-color:#355d45}.level-card strong{font-size:13px;font-weight:600;display:block}.level-card .small-label{letter-spacing:1px;font-size:8px}.card-state{color:#6f8560;margin-left:auto;font-size:13px}.active .card-state{color:#547747;font-size:9px}footer{color:#75806d;letter-spacing:1.5px;justify-content:space-between;gap:20px;max-width:1440px;margin:28px auto 0;padding:23px max(4vw,24px) 30px;font-size:8px;display:flex}footer>span:first-child{letter-spacing:2px;font-family:Georgia,serif;font-size:10px}dialog{width:min(480px,100% - 32px);color:var(--ink);background:#f9f7ee;border:1px solid #ccd3be;border-radius:16px;max-height:85dvh;padding:36px;overflow:auto;box-shadow:0 20px 80px #17322533}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#203b3266}dialog h2{margin-right:15px;font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1.2}dialog h3{margin-top:25px;font-size:14px}dialog p{color:#626f5c;font-size:12px;line-height:1.9}.dialog-close{background:0 0;border:0;border-radius:50%;width:44px;font-size:27px;position:absolute;top:12px;right:14px}.keyboard-note{border-top:1px solid var(--line);padding-top:16px}.menu-level{border:1px solid var(--line);text-align:left;background:0 0;border-radius:8px;align-items:center;gap:20px;width:100%;margin-top:12px;padding:12px 16px;display:flex}.menu-level span:last-child{margin-left:auto}.menu-level strong{font-size:13px}.render-error{padding:40px;line-height:1.7}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}#storage-warning:empty{display:none}#storage-warning{color:#675326;border:1px solid #bdb28b;border-radius:8px;margin:20px 0 0;padding:16px;font-size:12px;line-height:1.7}@keyframes pulse{50%{opacity:.35}}@media (width>=1600px){#world{min-height:580px}}@media (width<=1100px){.game-layout{grid-template-columns:minmax(0,1fr) 260px;gap:24px}main{padding-top:30px}.scene-meta{display:none}#world{min-height:450px}.below-board{width:calc(100% - 284px)}.workshop{margin-right:8px;font-size:9px}.panel-intro h2{font-size:26px}.level-card{gap:10px;padding:12px}}@media (width<=800px){.site-header{height:82px;padding:0 22px}.workshop{display:none}.header-tools{gap:8px}.brand{font-size:23px}.brand-sub{letter-spacing:.5px;font-size:8px}.brand>svg{width:40px;height:40px}.lang-button{padding-right:12px}main{padding:28px 22px 0}.page-heading{margin-bottom:22px}h1{font-size:34px}.game-layout{grid-template-columns:1fr;gap:26px}#world{flex:initial;height:520px;min-height:520px}.scene-top{padding:18px 20px 0}.scene-meta{display:block}.planning-panel{grid-template-columns:1fr 1fr;gap:0 24px;padding:0;display:grid}.panel-intro{grid-column:1}.panel-intro h2{font-size:29px}.journey-card{grid-column:1;align-self:end;margin:0}.route-controls{grid-column:2}#route-controls{grid-area:1/2/3}#outcome{grid-column:1/-1;margin-top:15px}#outcome:empty{margin:0}#actions{grid-column:2;margin-top:8px}.reassurance{grid-area:3/1;align-self:center;margin-top:12px;font-size:11px}.below-board{width:100%;margin-top:23px}.journey-strip{margin-top:20px}footer{padding-left:22px;padding-right:22px}.level-card{gap:10px;padding:12px}.level-card strong{font-size:11px}.card-number{width:31px;height:31px;font-size:17px}}@media (width<=520px){.site-header{gap:6px;height:76px;padding:0 16px}.brand{gap:9px;font-size:21px}.brand-sub{letter-spacing:.2px;font-size:7px}.brand>svg{border-radius:9px;width:36px;height:36px;padding:6px}.header-tools{gap:4px}.icon-button{border:0;width:36px;height:44px}.icon-button svg{width:20px;height:20px}.lang-button{min-width:38px;padding:0 8px;font-size:11px}.header-tools #help{display:none}main{padding:25px 16px 0}.eyebrow{letter-spacing:1.3px;margin-bottom:10px;font-size:8px}.page-heading{gap:10px;margin-bottom:19px}.page-heading h1{letter-spacing:-.8px;font-size:30px}.title-number{font-size:16px}.title-number span{margin:0 8px;font-size:23px}.outline-button{flex-shrink:0;width:44px;padding:0}.outline-button span{clip-path:inset(50%);width:1px;height:1px;position:absolute}.outline-button svg{width:20px;height:20px}.scene-card{border-radius:13px}.scene-top{padding:13px 13px 0}.scene-meta{font-size:8px}.phase{padding:7px 9px;font-size:9px}.scene-bottom{gap:7px;padding:0 13px 15px;font-size:8px}.scene-count{letter-spacing:.5px;font-size:8px}.legend{gap:6px}.legend i{width:13px}#world{height:370px;min-height:370px}.game-layout{gap:27px}.planning-panel{display:flex}.panel-intro h2{max-width:300px;margin-bottom:10px;font-size:29px}.panel-intro .eyebrow{font-size:9px}.panel-intro>p:last-child{margin-bottom:19px;font-size:12px}.journey-card{justify-content:space-between;align-items:center;gap:10px;width:100%;margin-bottom:23px;padding:14px 16px;display:flex}.journey-card>.eyebrow{display:none}.stop{gap:9px;padding:0}.stop:first-of-type:after,.stop svg{display:none}.small-label{font-size:8px}.stop strong{font-size:11px}.stop:last-child:before{content:"→";color:#75896a;font-size:14px;position:absolute;left:-24px}.route-button{min-height:64px;padding:10px 14px}.route-button strong{font-size:12px}.route-value{font-size:11px}.route-explainer{margin:11px 0 18px;font-size:11px}.primary-button{min-height:52px;font-size:13px}.subtle-button,.reassurance{margin-top:7px;font-size:12px}#actions{margin-top:0}.below-board{margin-top:21px;font-size:9px}.below-board details{max-width:46%}.below-board>p{max-width:48%}.journey-strip{margin-top:15px;padding-top:20px}.strip-heading .eyebrow,.strip-heading>span{font-size:9px}#level-cards{grid-template-columns:1fr;gap:10px}.level-card{gap:14px;min-height:70px;padding:13px 16px}.card-number{width:36px;height:36px}.level-card strong{font-size:13px}.level-card .small-label{font-size:8px}.card-state{font-size:14px}footer{letter-spacing:.7px;gap:12px;padding:22px 16px;font-size:7px}footer>span:first-child{letter-spacing:1px;font-size:8px}footer>span:last-child{display:none}.outcome{margin-top:0!important}.outcome h3{font-size:24px}.outcome p{font-size:12px}dialog{padding:29px 24px}}@media (width<=350px){.brand{font-size:19px}.brand-sub{font-size:6px}.brand>svg{width:32px;height:32px}.site-header{padding:0 12px}.header-tools{gap:0}main{padding-left:12px;padding-right:12px}.page-heading h1{font-size:26px}.scene-meta{display:none}#world{height:330px;min-height:330px}.scene-bottom{font-size:7px}.legend i{display:none}.scene-count{font-size:7px}.stop strong{font-size:10px}.stop:last-child:before{left:-20px}.journey-card{gap:20px;padding:13px 12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.view-tools{z-index:3;background:#f6f7ed;border:1px solid #cbd4bf;border-radius:8px;justify-content:center;align-items:center;gap:3px;width:max-content;max-width:100%;margin:-12px auto 15px;padding:2px;display:flex;position:relative}.view-tools button{color:#49613f;background:0 0;border:0;border-radius:5px;width:44px;height:44px;font-size:21px}.pan-tools{border-left:1px solid #d8dfcc;display:flex}.pan-tools[hidden]{display:none}.view-tools button:hover{background:#e3e9d7}.landmark{letter-spacing:1px;white-space:nowrap;pointer-events:none;color:#38533c;text-shadow:0 1px 2px #f5f6e9;background:#edf0e2cc;border-radius:4px;padding:5px 7px;font-size:8px;font-weight:700;position:absolute;transform:translate(-50%)}.start-tag{text-transform:uppercase;font-size:9px}.station-tag{font-size:8px}#landmarks{pointer-events:none;z-index:1;position:absolute;inset:0;overflow:hidden}@media (width<=520px){.view-tools{margin:-18px auto 13px}.view-tools button{width:40px;min-width:40px}.view-tools:has(.pan-tools:not([hidden])){gap:0}.landmark{letter-spacing:.5px;padding:4px;font-size:6px}.start-tag{font-size:7px}.station-tag{font-size:6px}}.brand-sub,.workshop,.eyebrow,.small-label,.route-value,.route-explainer,.reassurance,.below-board,.strip-heading>span,footer,.title-number,.card-number,.scene-meta,.scene-bottom{color:#53624d}.active .card-number{color:#fff6d8}.title-number span{color:#66735d}.panel-intro>p:last-child{color:#53624d;font-size:13px}.eyebrow{font-size:11px}.brand-sub,.workshop{font-size:10px}.phase{font-size:12px}.scene-meta,.scene-bottom{font-size:11px}.scene-count,.panel-intro .eyebrow,.journey-card>.eyebrow,#route-controls>.eyebrow{font-size:10px}.small-label{font-size:11px}.stop strong{font-size:13px}.route-button strong{font-size:14px}.route-value{font-size:12px}.route-explainer{font-size:12px;line-height:1.65}.primary-button{font-size:14px}.subtle-button,.reassurance,.below-board{font-size:12px}.strip-heading>span{font-size:11px}.level-card strong{font-size:14px}.level-card .small-label{font-size:10px}.level-card{position:relative}.outcome p{font-size:13px}footer{font-size:9px}.outline-button span{overflow:hidden}.sr-only{border:0;margin:-1px;padding:0;top:0;left:0}.landmark{color:#284c35;font-size:9px}.view-tools button{font-size:21px}@media (width<=800px){.brand-sub{font-size:9px}.eyebrow{font-size:10px}.level-card strong{font-size:12px}.level-card .small-label{font-size:9px}}@media (width<=520px){.brand-sub{letter-spacing:0;font-size:8px}.scene-meta{display:none}.phase{font-size:11px}.scene-bottom,.scene-count{font-size:9px}.panel-intro>p:last-child{font-size:14px}.route-explainer,.stop strong{font-size:12px}.small-label{font-size:10px}.primary-button{font-size:14px}.subtle-button{font-size:13px}.below-board{font-size:11px}.strip-heading .eyebrow{font-size:10px}.strip-heading>span{font-size:11px}.level-card strong{font-size:14px}.level-card .small-label{font-size:10px}.landmark,.start-tag,.station-tag{font-size:8px}.view-tools button{width:44px;min-width:44px}.view-tools:has(.pan-tools:not([hidden])){flex-wrap:wrap;width:180px}.pan-tools{border:0;border-top:1px solid #d8dfcc}footer{font-size:8px}footer>span:first-child{font-size:9px}.journey-card{gap:22px}.map-switch{width:62px}}@media (width<=350px){.brand{font-size:18px}.brand-sub{font-size:7px}.stop strong{font-size:11px}.scene-bottom,.scene-count{font-size:8px}.legend i{display:inline-block}.title-number{font-size:15px}}.stage-actions{display:none}@media (width<=800px){.stage-actions:not(:empty){flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;margin:0 16px 25px;display:flex}.stage-actions strong{text-align:center;flex-basis:100%;font-family:Georgia,serif;font-size:20px;font-weight:400}.stage-button{background:#f3f5e9;border:1px solid #9dad91;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:6px 15px;font-size:13px;display:flex}.stage-button svg{width:17px;height:17px}.scene-card{scroll-margin-top:12px}}@media (width<=520px){.header-tools #help{display:grid}.icon-button{width:44px;height:44px}.lang-button{min-width:44px;padding:0 5px}.header-tools{gap:0}.site-header{gap:4px}}.map-switch:before{height:var(--stem-height,30px)}#level-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.level-card{flex-wrap:wrap;align-content:center;gap:10px;padding:12px}.level-card strong{flex:1;min-width:65px;font-size:13px}.level-card:disabled{opacity:.6}.group-badge{color:#385344;background:#e4eadb;border:1px dashed;border-radius:4px;place-items:center;width:18px;height:18px;margin-left:5px;font:700 11px/1 system-ui;display:inline-grid}.linked-preview{outline-offset:3px;background:#fff1cb;outline:3px dashed #805724}.objective-list{gap:10px;margin:8px 0 20px;padding:0;list-style:none;display:grid}.objective-list li{color:#385344;align-items:center;gap:10px;font-size:13px;display:flex}.objective-number{border:1px solid #8e9d7c;border-radius:50%;flex-shrink:0;place-items:center;width:27px;height:27px;font-weight:700;display:grid}.objective-list small{color:#59674e;margin-top:3px;font-size:11px;display:block}.objective-list .visited .objective-number{color:#fff9e9;background:#315e4b}.objective-tag{white-space:normal;text-align:center;max-width:126px;font-size:10px}[hidden]{display:none!important}#menu-levels h3{margin:26px 0 12px;font-size:14px}.menu-level .card-number{width:34px;height:34px}.all-complete{background:#f7edcc;border:2px solid #b68c35}@media (width<=1000px){#level-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=600px){#level-cards{grid-template-columns:1fr}.level-card{flex-wrap:nowrap}}@media (width>=801px){.scene-card{align-self:start;position:sticky;top:16px}#world{flex:none;height:clamp(490px,43vw,640px)}}.scene-card[data-phase=running] .map-switch{visibility:hidden}@media (width<=600px){.map-switch:has(.group-badge){width:54px;padding:0 4px}.map-switch:has(.group-badge) svg{display:none}.map-switch:has(.group-badge)>span{align-items:center;display:flex}}.map-switch:before{display:none}.control-leaders{pointer-events:none;stroke:#977335;stroke-width:1px;width:100%;height:100%;position:absolute;inset:0}.scene-card[data-phase=running] .control-leaders{visibility:hidden}
