:root{font-family:Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif;color:#352b49;background:#fcfaf3;font-synthesis:none;line-height:1.55;--ink: #352b49;--plum: #654887;--paper: #fffcf6;--border: #e4d9ed}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit}:focus-visible{outline:3px solid #673bb0;outline-offset:4px}h1,h2,p{margin:0}.masthead{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.65rem 1.2rem;padding:.75rem max(1rem,calc((100vw - 1150px)/2));background:#fffcf7;border-bottom:1px solid #e9e1ea}.brand{text-decoration:none;font-size:1.05rem;font-weight:850}.brand span{color:#8d62b5;margin-right:.25rem}nav{display:flex;flex-wrap:wrap;gap:.45rem}.primary,.secondary,.character-button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;border:1px solid transparent;border-radius:999px;padding:.58rem 1rem;line-height:1.3;min-height:44px;text-decoration:none;font-weight:800}.primary{color:#fff;background:var(--plum);box-shadow:0 3px #4b3465}.primary:hover:not(:disabled){background:#543973}.secondary{background:#fffdf9;color:#573e71;border-color:var(--border)}.character-button{background:#f1e6fb;color:#50376c;border-color:#dcc8ed}.character-button svg{width:24px;height:24px}.hero{position:relative;min-height:clamp(305px,37vw,435px);overflow:hidden;isolation:isolate;background:#d9edfb}.landscape{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.hero-text{position:relative;max-width:64rem;margin:auto;text-align:center;padding:clamp(1.5rem,4vw,3rem) .9rem 0}.hero-text h1{font-size:clamp(1.8rem,5.7vw,4.2rem);letter-spacing:.015em;line-height:1.17;color:#4c356a;margin:.42rem 0 .7rem;text-shadow:0 2px #fff}.hero-text p:not(.eyebrow){font-weight:750;color:#473757;text-shadow:0 1px #fff}.eyebrow{display:inline-block;background:#fffcf6;border:1px solid #eddae7;border-radius:999px;padding:.28rem .8rem;font-size:.9rem;font-weight:800}.walker{position:absolute;width:clamp(34px,5vw,68px);bottom:4%;left:43%;animation:walk 7s ease-in-out infinite alternate}.map-section{max-width:1160px;margin:auto;padding:1.5rem 1rem 2rem}.map-heading{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:.75rem;margin-bottom:1rem}.map-heading h2{font-size:clamp(1.45rem,4vw,2.15rem)}.buildings{display:grid;gap:.85rem;grid-template-columns:repeat(4,minmax(0,1fr));padding:clamp(.55rem,2vw,1.3rem);border:1px solid #d9e7c8;border-radius:24px;background-color:#eaf4db;background-image:radial-gradient(circle,#f9ffe9 2px,transparent 3px),linear-gradient(25deg,#edf5d6,#e4f3dc);background-size:25px 25px,auto}.stage-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.tile{position:relative;display:flex;align-items:center;flex-direction:column;gap:.18rem;text-align:center;background:#fffdf5;border:1px solid #dce5ca;border-radius:18px;box-shadow:0 3px #d1dfbe;padding:.4rem .3rem .7rem;text-decoration:none}.tile strong{font-size:clamp(.85rem,1.6vw,1.08rem);overflow-wrap:anywhere}.tile.open{transition:transform .2s,box-shadow .2s;background:hsl(var(--tile-hue, 326) 75% 97%);border-color:#ddc8e5;box-shadow:0 3px #d5c7dc}.tile.open:hover,.tile.open:focus-visible{transform:translateY(-4px);box-shadow:0 7px #cfbada}.tile.open:hover .building-art,.tile.open:focus-visible .building-art{animation:bounce .55s ease}.tile.featured{border:2px solid #a876bd}.building-art{width:min(100%,160px);height:auto;display:block}.tile-number{color:#654581;font-weight:850;font-size:.77rem}.status{display:inline-block;font-size:.78rem;font-weight:750;color:#4c4752;background:#f0ede8;border-radius:999px;padding:.12rem .5rem}.open .status{color:#56336f;background:#eee0f5}.review-note{margin-top:1rem;color:#5e5367;font-size:.9rem}.back{display:inline-block;color:#654887;font-weight:800;padding:.3rem 0}.play-heading{max-width:760px;margin:1.4rem auto .75rem;padding-inline:1rem}.play-heading h1{font-size:clamp(1.45rem,5vw,2.25rem);margin-bottom:.45rem}.question-card{max-width:728px;margin:0 auto 2rem;background:var(--paper);border:1px solid #e6d9ec;border-radius:22px;padding:clamp(1rem,4vw,2rem);box-shadow:0 6px #eee4f2}.progress-label{display:flex;justify-content:space-between;color:#654887;font-weight:850}progress{width:100%;accent-color:#8a5dae;height:15px}.question-card h2{font-size:clamp(1.15rem,4vw,1.6rem);margin:.8rem 0}fieldset{padding:0;margin:0 0 1rem;border:0;display:grid;gap:.5rem;min-width:0}.option{position:relative;display:flex;align-items:center;gap:.75rem;min-height:50px;border:2px solid #e6dded;border-radius:14px;padding:.5rem .65rem;background:#fff;cursor:pointer;font-size:1.05rem;font-weight:750}.option input{position:absolute;opacity:0;width:1px;height:1px}.option:has(input:focus-visible){outline:3px solid #673bb0;outline-offset:2px}.option:has(input:checked){border-color:#9162b4;background:#f3e7fe}.option.right{border-color:#6aa782;background:#e5f5e5}fieldset:disabled .option{cursor:default}.option-letter{flex:0 0 1.85rem;text-align:center;border-radius:8px;background:#eee5f3;color:#634780}.feedback{border-radius:14px;padding:.8rem;margin-bottom:.85rem;animation:appear .4s ease both}.feedback p{margin-top:.15rem}.feedback.yay{background:#e3f3df;color:#264b38}.feedback.try{background:#f9ebd8;color:#664522}.summary{text-align:center}.summary svg{width:105px;margin:auto;animation:bounce .7s ease}.summary p{margin-bottom:1rem}.summary .secondary{margin-left:.4rem}footer{text-align:center;color:#625671;padding:1rem;font-size:.8rem;border-top:1px solid #eae1ef}dialog{width:min(530px,calc(100% - 1rem));max-height:85vh;border:1px solid #dbc6ec;border-radius:20px;background:#fffcf6;color:var(--ink);padding:1rem}dialog::backdrop{background:#34234370}.dialog-title{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.8rem}.dialog-title h2{font-size:1.2rem}dialog>p{margin-bottom:.8rem}.character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.character-grid button{border:1px solid #ded0e8;border-radius:16px;color:var(--ink);background:#f6edf9;padding:.4rem}.character-grid button[aria-pressed=true]{border:2px solid #8653ad}.character-grid svg{display:block;width:min(100%,105px);margin:auto}.mistake-list{padding-left:1.4rem}.mistake-list li{padding:.6rem .25rem;border-bottom:1px solid var(--border)}.save-error{padding:.5rem 1rem;background:#ffe4ba;text-align:center}.cloud{animation:clouds 13s ease-in-out infinite alternate}.water{animation:water 2s linear infinite}.train{animation:train 7s ease-in-out infinite alternate}.windmill{transform-origin:0px 12px;animation:spin 5s linear infinite}.butterfly{animation:flutter 3s ease-in-out infinite alternate}@keyframes clouds{to{translate:37px 0}}@keyframes water{to{stroke-dashoffset:-52}}@keyframes train{to{translate:160px 0}}@keyframes spin{to{rotate:360deg}}@keyframes flutter{25%{translate:8px -9px}65%{translate:20px 4px}to{translate:27px -15px}}@keyframes walk{25%,75%{translate:1rem -4px}to{translate:2.2rem 0}}@keyframes bounce{45%{transform:translateY(-7px) rotate(-3deg)}}@keyframes appear{0%{opacity:0;transform:translateY(7px)}}@media(max-width:850px){.stage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:580px){.buildings{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.question-card{margin-inline:.75rem}.brand{width:100%}.landscape{object-fit:cover}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:580px){.hero{min-height:clamp(242px,68vw,305px)}}@media(hover:none){.tile.open:active .building-art{animation:bounce .55s ease}}
