:root{font-family:"Microsoft JhengHei","PingFang TC",system-ui,sans-serif;color:#183f3e;background:#f4f2e7;font-synthesis:none;--green:#215b50;--gold:#eabe63;--muted:#60766e}
*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;border:0;color:inherit;touch-action:manipulation}button:focus-visible{outline:4px solid #cd852d;outline-offset:5px}button:disabled{cursor:default}button:not(:disabled){transition:transform .17s,background .17s,box-shadow .17s}button:not(:disabled):active{transform:translateY(2px)}.world{max-width:1600px;min-height:100dvh;margin:auto;padding:0 4.5%;background:radial-gradient(ellipse at 78% 40%,#d6e3cf88,transparent 47%)}.topbar{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #35564824;gap:16px}.brand{display:flex;gap:12px;background:transparent;align-items:center;text-align:left;font-size:21px;font-weight:800;letter-spacing:2px;padding:0}.brand small{display:block;font-size:9px;letter-spacing:3px;margin-top:4px}.brand-icon{display:grid;place-items:center;background:#23594e;color:#f3d187;border-radius:15px;width:46px;height:48px;font-size:32px}.tools{display:flex;gap:8px}.tools button{font-size:14px;background:#fffdf58c;border:1px solid #254e3f25;padding:12px 16px;border-radius:12px;min-height:48px}.tools button[aria-pressed=true]{background:#e2e8d8}.scene{animation:appear .3s ease;min-height:calc(100dvh - 157px)}h1,h2,p{margin-top:0}h1{letter-spacing:2px}p{line-height:1.8}.eyebrow{font-size:13px;letter-spacing:3px;font-weight:700;color:#748363;margin-bottom:24px}.hero{min-height:630px;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:1%}.hero-copy{padding:44px 0 60px 5%}.hero h1{font-size:clamp(40px,4.4vw,69px);line-height:1.35;font-weight:900;margin-bottom:24px}.hero h1 span{color:#a77b36}.intro{font-size:19px;color:var(--muted);line-height:1.9;margin-bottom:34px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:34px;background:var(--green);color:#fff7dc;padding:19px 30px;min-height:60px;border-radius:15px;font-size:21px;font-weight:800;box-shadow:0 5px 0 #153f37}.primary:hover{background:#2d7160}.primary span{color:#eac875}.hero-meta{display:flex;gap:24px;font-size:13px;color:#6b7c6b;margin-top:28px}.hero-art{position:relative;isolation:isolate}.hero-art>img{display:block;width:110%;margin-left:-6%;filter:drop-shadow(0 26px 30px #486b4e18);animation:float 7s ease-in-out infinite}.orbit{position:absolute;border:1px solid #728b6229;border-radius:50%;z-index:-1;left:3%;top:14%;width:91%;height:75%;transform:rotate(-25deg)}.orbit-two{transform:rotate(25deg);width:80%;left:10%}.floating-star{position:absolute;left:6%;top:15%;color:#c79a48;font-size:40px}.art-label{display:flex;align-items:center;gap:13px;position:absolute;bottom:2%;left:27%;font-size:17px;font-weight:700;background:#fffaf0e8;border:1px solid #e2d8b9;padding:15px 23px;border-radius:15px;box-shadow:0 8px 24px #203e3710}.art-label>span{color:#9b7e43;font-size:26px;border-right:1px solid #d7d7b8;padding-right:15px}.art-label small{display:block;font-size:12px;color:#7d8971;font-weight:400;margin-top:5px}footer{display:flex;justify-content:space-between;gap:12px;padding:18px 0;font-size:12px;color:#7c8877;letter-spacing:1px;border-top:1px solid #35564820}.level-head{padding:40px 0 0;text-align:center}.level-head .eyebrow{margin-bottom:10px}.level-head h1{font-size:35px;margin-bottom:10px}.level-head p:last-child{color:var(--muted)}.level-layout{max-width:1080px;margin:auto;display:grid;grid-template-columns:1.15fr 1fr;gap:8%;align-items:center;padding-bottom:44px}.map-art{position:relative}.map-art img{width:100%}.map-pin{position:absolute;left:33%;top:52%;background:#f4ce77;border:5px solid #fff1c8;border-radius:50%;width:50px;height:50px;display:grid;place-items:center;font-weight:800;font-size:23px;box-shadow:0 5px 14px #35564844}.level-card{padding:30px;border:1px solid #d7ddc9;background:#fffcf2d9;border-radius:24px;box-shadow:0 18px 40px #334c3710}.tag{display:inline-block;background:#e6ecd9;border:1px solid #cad6b9;border-radius:8px;padding:7px 13px;font-size:14px;font-weight:700;color:#4b6c50}.level-card h2{font-size:38px;margin:20px 0 12px}.level-card p{color:var(--muted);font-size:18px}.mode-tags{display:flex;gap:7px;flex-wrap:wrap}.mode-tags span{font-size:12px;border:1px solid #d5dac8;border-radius:6px;padding:6px}.record{display:flex;justify-content:space-between;border-top:1px dashed #cbd3bd;margin-top:24px;padding:20px 0;font-size:15px;color:#7d713c}.level-card .primary{width:100%}.game-top{display:flex;align-items:center;gap:24px;padding:20px 0}.back,.pause{background:transparent;min-height:48px;padding:10px;font-size:16px;white-space:nowrap}.progress-group{flex:1}.progress-group>div{display:flex;justify-content:space-between;font-size:13px;margin-bottom:7px}.progress-group progress{width:100%;height:10px;display:block;border:0;border-radius:10px;overflow:hidden;background:#dce2d0;accent-color:#518775}progress::-webkit-progress-bar{background:#dce2d0}progress::-webkit-progress-value{background:#518775;border-radius:10px}.game-stat{display:flex;align-items:center;gap:20px;white-space:nowrap}.game-stat>span:first-child{color:#987124;font-size:22px}.clock{font-variant-numeric:tabular-nums;color:#587065;font-size:16px}.question-panel{max-width:1050px;margin:0 auto 22px;padding:22px 32px 20px;border-radius:26px;background:#fffcf4;border:1px solid #d8ddc9;box-shadow:0 15px 35px #264b3910;text-align:center}.question-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.question-tools{display:flex;gap:8px}.secondary{padding:12px 20px;border:1px solid #cbd6bf;background:#f1f3e7;border-radius:12px;font-size:17px;min-height:48px;font-weight:700}.secondary:hover{background:#e5ecda}.question-panel h1{font-size:clamp(23px,2.3vw,34px);margin:17px 0 10px}.word-target{font-size:52px;line-height:1.3;font-weight:900;color:#9a702e;margin:0 auto 18px}.question-image{display:block;height:145px;max-width:100%;margin:0 auto 17px;border-radius:18px}.listen-target{display:flex;align-items:center;gap:18px;justify-content:center;margin:4px auto 20px;background:#e9efda;border:2px solid #a9bd93;padding:12px 25px;border-radius:20px;font-size:43px;min-height:92px}.listen-target span{font-size:21px;font-weight:700}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:870px;margin:auto}.choice{position:relative;border:3px solid #d5dfc8;background:#f4f5e6;border-radius:20px;padding:7px;box-shadow:0 5px 0 #d5ddc4;min-height:143px}.choice:not(:disabled):hover{border-color:#65967e;background:#e8efdc;transform:translateY(-3px)}.choice img{width:100%;display:block;max-height:200px;object-fit:contain}.choice-number{position:absolute;left:10px;top:10px;display:grid;place-items:center;background:#fffaf0;border:1px solid #c9d2bb;border-radius:50%;width:30px;height:30px;color:#5c775d;font-size:14px}.choice-word{display:block;padding:32px 12px;font-size:38px;font-weight:800}.choice.tried{opacity:.52;box-shadow:none;border-style:dashed}.choice.correct{border-color:#51834e;box-shadow:0 0 0 5px #daeab8,0 0 30px #dfc65b88;animation:star-pop .4s ease}.choice.correct .choice-number{background:#3f7959;color:white;border-color:transparent}.feedback{min-height:65px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 18px;margin:18px 0 5px;border-radius:12px;padding:10px 15px;color:#6d7f69;font-size:16px}.feedback strong{font-size:19px}.success{background:#e9efd8;color:#3c6948}.encourage{background:#f8efd9;color:#8b6a30}.game-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center}.game-bottom>span{font-size:13px;color:#8a743d;text-align:left}.next{min-height:52px;font-size:18px;padding:13px 25px}.next:disabled{background:#e2e5d8;color:#84917b;box-shadow:none}.result{text-align:center;padding:40px 0 60px;max-width:850px;margin:auto}.result .eyebrow{margin-bottom:12px}.treasure{height:135px;display:flex;align-items:center;justify-content:center;gap:26px;font-size:34px;color:#c49437}.treasure span{font-size:110px;line-height:1;color:#c99b42;filter:drop-shadow(0 10px 15px #bba06544)}.result h1{font-size:43px;margin:12px 0}.result>p{color:var(--muted);font-size:18px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:32px 12px;margin:30px 0 35px;background:#fffaf0;border:1px solid #d9dfc9;border-radius:24px}.result-stats>div+div{border-left:1px solid #d9dfc9}.result-stats strong{display:block;font-size:35px;color:#986e2b;font-variant-numeric:tabular-nums}.result-stats small{font-size:17px}.result-stats span{display:block;color:var(--muted);font-size:15px;margin-top:12px}.result-actions{display:flex;justify-content:center;gap:18px}.modal-shade{position:fixed;inset:0;background:#102e2bcc;z-index:100;display:grid;place-items:center;backdrop-filter:blur(6px);padding:20px}.modal{background:#fff9e9;border:1px solid #d7dcbe;border-radius:28px;padding:35px;text-align:center;max-width:500px;width:100%;box-shadow:0 25px 80px #0004}.modal h2{font-size:27px}.modal p{color:var(--muted)}.modal-star{display:block;font-size:45px;color:#bd9140;margin-bottom:12px}.modal button{display:block;width:100%;margin-top:20px}.pause:hover,.back:hover{background:#e8eddd;border-radius:10px}
@keyframes float{50%{transform:translateY(-12px)}}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes star-pop{50%{transform:scale(1.03)}}
@media(min-aspect-ratio:16/9) and (min-width:1000px){.hero{min-height:calc(100dvh - 157px)}.question-panel{max-width:1080px}.choice img{max-height:170px}.question-image{height:126px}}
@media(max-width:1000px){.world{padding:0 3%}.hero-copy{padding-left:1%}.hero{min-height:580px}.hero-meta{gap:12px;font-size:11px}.tools button{padding:10px}.game-top{gap:10px}.question-panel{padding:18px}.choices{gap:14px}.level-layout{gap:3%}.level-card{padding:24px}}
@media(max-width:680px){.topbar{height:auto;min-height:110px;flex-wrap:wrap;padding:15px 0;justify-content:center;gap:14px}.brand{font-size:18px}.brand-icon{width:36px;height:38px}.tools button{font-size:12px;min-height:44px}.hero{grid-template-columns:1fr;min-height:auto;text-align:center}.hero-copy{padding:35px 0 0}.hero h1{font-size:42px}.intro{font-size:16px;margin-bottom:24px}.hero-meta{justify-content:center}.hero-art{max-width:450px;margin:auto}.hero-art>img{width:100%;margin:0}.art-label{font-size:13px;left:20%;bottom:6%}.hero .eyebrow{font-size:11px;margin-bottom:18px}.hero-art .orbit{display:none}.level-head h1{font-size:27px}.level-layout{grid-template-columns:1fr;max-width:440px}.map-art{max-width:300px;margin:auto}.level-card{margin-bottom:25px}.game-top{flex-wrap:wrap;padding:12px 0}.progress-group{order:3;flex-basis:100%}.game-stat{margin-left:auto}.game-top .back,.game-top .pause{font-size:13px}.question-heading .tag{font-size:12px;padding:7px}.question-tools .secondary{padding:9px;font-size:14px}.question-panel{padding:14px 10px}.question-panel h1{font-size:23px;letter-spacing:0;margin:18px 0 12px}.word-target{font-size:42px}.choices{gap:8px}.choice{min-height:108px;padding:2px;border-radius:14px}.choice-word{font-size:26px;padding:35px 0 16px}.choice-number{width:24px;height:24px;left:5px;top:5px;font-size:12px}.feedback{min-height:85px;font-size:14px;gap:3px;margin-top:13px}.feedback strong{font-size:16px}.result h1{font-size:31px}.result-stats{padding:24px 0}.result-stats strong{font-size:26px}.result-stats small{font-size:13px}.result-stats span{font-size:12px}.result-actions .primary{font-size:18px;gap:0;padding:16px 23px}footer{font-size:10px;letter-spacing:0}.scene{min-height:calc(100dvh - 175px)}}
@media(min-width:681px) and (max-height:850px){.topbar{height:76px}.scene{min-height:calc(100dvh - 123px)}.hero{min-height:calc(100dvh - 123px)}.hero-copy{padding-top:30px;padding-bottom:30px}.game-top{padding:10px 0;min-height:66px}.question-panel{padding:14px 24px;margin-bottom:14px}.question-panel h1{font-size:28px;margin:8px 0}.question-tools .secondary{min-height:44px;padding:9px 16px}.word-target{font-size:43px;margin-bottom:10px;line-height:1.1}.question-image{height:85px;margin-bottom:10px}.listen-target{min-height:65px;font-size:33px;padding:7px 22px;margin:5px auto 12px}.choice{min-height:110px}.choice img{max-height:135px}.choice-word{padding:24px 12px;font-size:33px}.feedback{min-height:52px;margin:10px 0 3px;padding:7px 12px}.feedback strong{font-size:18px}.next{min-height:48px;padding:11px 24px}.game-bottom{min-height:48px}footer{padding:15px 0}.level-head{padding-top:25px}.level-layout{max-width:960px;gap:5%;padding-bottom:25px}.level-card{padding:24px}.result{padding-top:24px}.result-stats{margin:22px 0 28px;padding:24px 12px}.treasure{height:110px}}
.treasure img{height:100%;width:200px;object-fit:contain;filter:drop-shadow(0 8px 13px #bba06533)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
