.first-grade{background:#f8f5f0;color:#342337}.g1-main{max-width:1000px;margin:auto;padding:28px 24px 50px}.g1-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0}.g1-heading h1{font-size:clamp(28px,5vw,42px);margin:8px 0}.g1-heading p{margin:8px 0}.g1-heading .g1-art{width:124px;height:124px}.g1-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.g1-toolbar label{display:grid;gap:6px;flex:1;min-width:180px;font-weight:700}.g1-toolbar select,.g1-toolbar button{min-height:48px;padding:10px 14px;border:1px solid #d5c7d4;border-radius:12px;background:#fff;color:inherit;font:inherit;max-width:100%}.g1-settings,.g1-teacher{margin:18px 0;padding:15px 18px;border:1px solid #ded5dc;border-radius:14px;background:#fff}.g1-settings summary,.g1-teacher summary{cursor:pointer;font-weight:700}.g1-settings p,.g1-teacher p{font-size:14px;line-height:1.65;color:#655667}.g1-settings button{border:1px solid #d8cad7;background:#fff;border-radius:10px;padding:12px;margin:5px;font:inherit}.g1-settings button[aria-pressed=true]{background:#593453;color:#fff}.round-auto,.g1-check{display:flex;align-items:center;gap:10px;margin:15px 0;line-height:1.5}.g1-check input,.round-auto input{width:20px;height:20px;accent-color:#593453}.g1-game{border:1px solid #e1d6de;border-radius:24px;background:#fff;padding:24px;box-shadow:0 12px 35px #38243c08}.g1-progress{display:flex;align-items:center;gap:14px;color:#746577;font-size:14px}.g1-progress progress{flex:1;height:9px;accent-color:#668d73}.g1-question{display:flex;align-items:center;justify-content:center;gap:14px;text-align:center;margin:24px auto 20px}.g1-question h2{font-size:clamp(23px,3vw,30px);line-height:1.4;margin:0;max-width:670px}.g1-prompt-art{display:flex;justify-content:center;margin:14px auto}.g1-prompt-art .g1-art{width:180px;height:180px}.g1-art{display:block;flex:none;width:150px;height:150px;background-size:400% 400%;background-repeat:no-repeat;border-radius:14px;background-color:#fffaf4;object-fit:contain}.g1-art.native{background:none}.g1-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.g1-choice{position:relative;background:#fffaf4;border:2px solid #e5dce2;border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.g1-pick{width:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:118px;padding:18px 12px;background:transparent;color:#38243c;border:0;font:inherit;font-size:20px;line-height:1.45;cursor:pointer}.g1-pick .g1-art{width:min(100%,170px);height:auto;aspect-ratio:1}.g1-choice .g1-listen{align-self:center;margin:0 0 12px}.g1-choice:hover{border-color:#ac8baa}.g1-choice.correct{background:#edf6ef;border-color:#4b8661}.g1-choice.wrong{background:#fff0eb;border-color:#c3765c}.g1-choice.selected{border-color:#654064;background:#f1e7f2}.g1-choice button:disabled{cursor:default;opacity:1}.g1-listen{font:inherit;font-size:14px;color:#563650;background:#f3edf3;border:1px solid #d5c6d5;border-radius:20px;min-height:42px;padding:8px 12px;cursor:pointer;flex:none}.g1-feedback{font-size:19px;line-height:1.6;border-radius:14px;margin:14px 0}.g1-feedback:not(:empty){background:#f6f2f6;padding:16px}.g1-primary,.g1-actions button{font:inherit;font-weight:700;background:#583453;color:white;border:0;border-radius:12px;padding:15px 24px;min-height:48px;cursor:pointer}.g1-primary[hidden]{display:none}.g1-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:24px 0}.g1-result{text-align:center;padding:24px 0}.g1-result h2{font-size:32px}.g1-result .g1-art{margin:auto}.g1-result ul{text-align:left;line-height:1.7;padding-left:22px}.g1-pairs{display:grid;grid-template-columns:1fr 1fr;gap:20px}.g1-pair-column{display:grid;gap:12px}.g1-pairs .g1-pick{font-size:18px;min-height:140px;padding:12px}.g1-pairs .g1-art{width:90px;height:90px}.g1-choice.matched{background:#eaf5ee;border-color:#6b957a}.g1-order{display:grid;gap:12px;margin:22px 0}.g1-order .g1-choice{flex-direction:row;align-items:center}.g1-order .g1-pick{min-height:70px;align-items:flex-start;text-align:left;padding:16px}.g1-order .g1-listen{margin:10px}.g1-order .done{background:#edf6ef;border-color:#6b957a}.g1-order-list{line-height:1.8;font-size:19px;background:#edf6ef;border-radius:14px;padding:16px 16px 16px 44px}.g1-credits{font-size:12px;line-height:1.6;color:#786d78;margin:15px 0}.g1-hint{text-align:center;line-height:1.6;color:#736076}.g1-game button:focus-visible,.g1-toolbar :focus-visible,.g1-settings :focus-visible{outline:3px solid #c7922d;outline-offset:4px}.g1-teacher a{color:#633d63}button{touch-action:manipulation}@media(max-width:600px){.g1-main{padding:20px 14px}.g1-heading .g1-art{width:86px;height:86px}.g1-heading .eyebrow{font-size:10px;letter-spacing:1px}.g1-game{padding:18px 12px}.g1-choices{gap:8px}.g1-pick{font-size:17px;padding:12px 6px;gap:8px}.g1-choice .g1-listen{font-size:11px;padding:8px 5px}.g1-question{gap:8px;flex-wrap:wrap}.g1-prompt-art .g1-art{width:140px;height:140px}.g1-pairs{gap:10px}.g1-pairs .g1-pick{font-size:15px}.g1-toolbar label{min-width:130px}.g1-toolbar button{width:100%}.g1-result h2{font-size:27px}.g1-choice.text-only{grid-column:1/-1}.g1-choice.text-only .g1-pick{min-height:65px}.g1-choice.text-only .g1-listen{margin-bottom:8px}.g1-pairs .g1-choice.text-only{grid-column:auto}}

.g1-voice-note{font-size:13px;color:#746477;line-height:1.5;margin:12px 2px}.g1-listen:disabled{cursor:default;opacity:.6}
.g1-toolbar select{min-width:0;width:100%}.g1-toolbar label{min-width:0;flex:1 1 180px}@media(max-width:600px){.g1-toolbar label{flex-basis:130px}.g1-toolbar select{font-size:15px;padding-left:9px;padding-right:5px}}
/* Exact teaching diagrams retain their proportions and remain legible on phones. */
.g1-art.native svg{display:block;width:100%;height:100%}.g1-prompt-art .g2-diagram{width:min(100%,360px);height:auto;aspect-ratio:auto;background:#fffaf4;border-radius:18px}.g1-prompt-art .g2-diagram svg{height:auto}.g1-prompt-art .g2-scene{width:240px;height:240px}.g1-pick .g2-diagram svg{height:auto}.g2-town{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:600px;margin:22px auto}.g2-town button{min-height:92px;border:2px solid #d7c9d7;border-radius:14px;background:#fff8e9;font:inherit;font-size:21px;color:#38243c;cursor:pointer}.g2-town button:first-child{background:#e3efde}.g2-town button:nth-child(5){background:#eee2f0}.g2-town button.correct{background:#e7f4ea;border-color:#4b8661}.g2-town button.wrong{background:#fff0eb;border-color:#c3765c}.g2-town button:disabled{opacity:1;cursor:default}.g1-order .g1-pick:has(.g1-art){flex-direction:row;align-items:center;gap:16px}.g1-order .g1-art{width:85px;height:85px;aspect-ratio:1}.g1-feedback .g1-listen{margin:5px}
@media(max-width:600px){.g1-prompt-art .g2-scene{width:210px;height:210px}.g2-town{gap:6px}.g2-town button{font-size:16px;min-height:80px;padding:5px}.g1-prompt-art .g2-diagram{width:min(100%,330px)}.g1-order .g1-choice:has(.g1-art){flex-direction:column}.g1-order .g1-pick:has(.g1-art){justify-content:flex-start}.g1-order .g1-art{width:64px;height:64px}}
