@charset "UTF-8";
:root{font-family:"Microsoft JhengHei","PingFang TC",system-ui,sans-serif;color:#183b41;background:#f2f7f7;font-size:18px;line-height:1.65;--ink:#183b41;--teal:#006c70;--orange:#ec9b35;--line:#c8dddd}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:4px solid #dc7d00;outline-offset:4px}button:disabled{cursor:default}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.9rem,4vw,3rem);line-height:1.3;letter-spacing:.02em}h2{font-size:1.6rem;line-height:1.4}h3{font-size:1.18rem}button{transition:background .15s,transform .15s}button:hover:not(:disabled){transform:translateY(-2px)}.topbar{max-width:1280px;margin:auto;padding:21px 36px;display:flex;justify-content:space-between;gap:16px;align-items:center}.brand{border:0;background:none;display:flex;align-items:center;gap:12px;text-align:left;font-weight:800;color:var(--ink);font-size:1.15rem;padding:0}.brandmark{background:var(--ink);border-radius:18px 18px 18px 5px;display:grid;place-items:center;width:52px;height:56px;font-size:1.5rem;color:white}.brand-sub{display:block;font-size:.78rem;letter-spacing:.13em}.header-actions,.actions{display:flex;gap:12px;flex-wrap:wrap}.quiet,.secondary{background:white;border:1px solid var(--line);border-radius:12px;color:var(--ink);padding:10px 18px;min-height:48px;font-weight:700}.quiet{background:transparent}.primary{background:var(--teal);border:2px solid var(--teal);border-radius:13px;padding:13px 24px;min-height:54px;color:white;font-weight:800}.primary:hover{background:#00575a}.eyebrow{font-size:.83rem;letter-spacing:.12em;font-weight:800;color:#287879;margin-bottom:10px}.intro{margin-bottom:28px}.intro p{margin-top:12px;color:#537074;font-size:1.06rem}#app{max-width:1208px;margin:0 auto;padding:26px 24px 50px;min-height:70vh}.lobby-top{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:26px}.motto{display:flex;gap:8px;align-items:center;font-weight:700;white-space:nowrap;font-size:.88rem}.motto span{background:#fff;padding:7px 13px;border-radius:30px;border:1px solid var(--line)}.rooms{display:grid;grid-template-columns:1fr 1fr;gap:26px}.room-card{border-radius:25px;overflow:hidden;background:white;border:1px solid var(--line);box-shadow:0 10px 30px #123c4309;position:relative}.room-image{height:230px;width:100%;object-fit:cover;display:block}.room-content{padding:26px 30px 30px}.room-label{font-size:.78rem;letter-spacing:.12em;font-weight:bold;color:#54767a}.room-title{display:flex;justify-content:space-between;align-items:center;margin:5px 0 10px}.room-title h2{font-size:2rem}.pill{background:#e3f2f1;padding:3px 14px;border-radius:20px;font-weight:700}.advanced .pill{background:#fff0d8;color:#805015}.room-content p{color:#526d70;margin-bottom:24px}.room-content .primary{width:100%;text-align:left;display:flex;justify-content:space-between}.advanced .primary{background:#a65a12;border-color:#a65a12}.small-note{margin-top:22px;text-align:center;color:#546e72;font-size:.9rem}.breadcrumbs{display:flex;gap:12px;align-items:center;margin-bottom:25px}.breadcrumb{background:none;border:0;color:var(--teal);padding:0;font-weight:700}.room-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.room-heading p{color:#547276;margin-top:8px}.progress{min-width:150px;text-align:right;font-size:.9rem;font-weight:700}.progress-track{height:9px;border-radius:20px;background:#dce8e8;margin-top:8px;overflow:hidden}.progress-fill{height:100%;background:#16847a}.question-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.question-card{border:1px solid var(--line);background:white;border-radius:19px;overflow:hidden;text-align:left;color:var(--ink);padding:0;box-shadow:0 5px 16px #183b4105}.question-card img{width:100%;height:148px;object-fit:cover;display:block}.question-card-body{padding:17px 20px 20px}.question-meta{display:flex;justify-content:space-between;font-size:.8rem;color:#4a6e73;margin-bottom:6px}.question-card h3{font-size:1.17rem}.question-card .card-sub{font-size:.85rem;margin-top:8px;color:#537074}.stamp{color:#00685e;font-weight:800}.question-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.question-count{font-weight:800;color:var(--teal)}.game-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}.scene{background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden}.scene img{display:block;width:100%;aspect-ratio:1.622;object-fit:contain;background:#fff}.scene-caption{padding:20px 23px;border-top:1px solid #e1eaea;font-size:1.06rem;line-height:1.65}.source-label{display:block;font-size:.78rem;color:#567276;margin-top:10px}.question-panel h1{font-size:1.65rem;margin-bottom:20px;line-height:1.5}.options{display:grid;gap:13px}.option{display:flex;align-items:center;gap:15px;text-align:left;width:100%;border:2px solid #c4d9da;border-radius:15px;background:white;padding:17px;color:var(--ink);font-weight:700;font-size:1.12rem;min-height:76px}.option-letter{display:grid;place-items:center;flex-shrink:0;height:37px;width:37px;border-radius:10px;background:#e7f0f0;font-size:.95rem}.option:hover:not(:disabled){border-color:#147d80;background:#f2ffff}.option.selected{background:#dff3ee;border-color:#16826d}.option.wrong{border-color:#b57a24;background:#fff5de}.option:disabled{opacity:.75}.option.selected:disabled{opacity:1}.help-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.hint{margin-top:14px;border-left:4px solid #d78b23;background:#fff2d9;padding:12px 16px;border-radius:0 12px 12px 0}.feedback{margin-top:18px;padding:18px;border-radius:15px;background:#e0f2eb;border:1px solid #96cabb}.feedback.retry{background:#fff3dd;border-color:#ddba7c}.feedback h2{font-size:1.2rem;margin-bottom:6px}.feedback .actions{margin-top:14px}.footnav{display:flex;justify-content:space-between;gap:12px;margin-top:26px;flex-wrap:wrap}.complete{background:#e2f3eb;border:1px solid #8abdaa;padding:23px;border-radius:18px;margin-top:25px}.sequence-slots{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:15px}.slot{flex:1;min-width:105px;background:#e7efef;border:2px dashed #9ebabb;border-radius:12px;padding:12px;text-align:center;font-size:1rem}.slot.filled{background:#dff3ee;border-style:solid}.sequence-instruction{margin-bottom:15px;color:#526f73}.teacher-record{margin-top:20px;font-size:.85rem;color:#526e72}.room-tools{margin-top:24px}.speech-note{color:#795313;font-size:.85rem;margin-top:10px}footer{padding:22px 24px 30px;text-align:center;color:#637d80;font-size:.78rem;max-width:1000px;margin:auto}dialog{border:1px solid var(--line);border-radius:22px;max-width:680px;width:calc(100% - 32px);max-height:85vh;overflow:auto;color:var(--ink);padding:28px;line-height:1.8}dialog::backdrop{background:#082d3ab3}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}dialog p,dialog ul{margin-bottom:18px}dialog h3{margin-bottom:10px}@media(max-width:850px){.motto{display:none}.game-layout{grid-template-columns:1fr;gap:24px}.scene{max-width:620px;margin:auto;width:100%}.question-grid{grid-template-columns:repeat(2,1fr)}.room-image{height:180px}.room-content{padding:22px}.topbar{padding:18px 24px}}@media(max-width:560px){:root{font-size:17px}.topbar{align-items:start;padding:18px 18px 8px}.header-actions{flex-direction:column;gap:6px}.header-actions .quiet{font-size:.83rem;padding:5px 10px;min-height:38px}.brandmark{width:42px;height:46px}.brand{gap:8px;font-size:1rem}#app{padding:22px 18px 35px}.rooms{grid-template-columns:1fr;gap:20px}.room-image{height:180px}.room-title h2{font-size:1.7rem}.question-grid{gap:12px}.question-card img{height:108px}.question-card-body{padding:12px}.question-card h3{font-size:1rem}.question-card .card-sub{font-size:.78rem}.room-heading{align-items:start}.progress{min-width:95px;font-size:.8rem}.question-head{align-items:start}.question-panel h1{font-size:1.4rem}.scene-caption{padding:15px}.quiet,.secondary{padding:9px 13px}.option{font-size:1rem;padding:14px}.question-meta{font-size:.73rem}.room-heading h1{font-size:1.7rem}.room-heading p{font-size:.9rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
