
.school-nav.extended{grid-template-columns:repeat(6,minmax(0,1fr))}
.school-nav.extended .school-tab{gap:4px;font-size:clamp(.84rem,2.2vw,1rem)}
#school-arcade[hidden],#school-weekly[hidden],#school-review[hidden]{display:none!important}
#school-arcade{margin-bottom:14px;background:linear-gradient(155deg,#f3edff,#fff 52%)}
#school-weekly{background:linear-gradient(155deg,#eef9ff,#fff 42%)}
#school-review{background:linear-gradient(155deg,#fff3dc,#fff 43%)}
.weekly h2,.arcade-top h2{color:#233852;font-size:clamp(1.55rem,5vw,2.15rem);margin:4px 0 6px;line-height:1.15;letter-spacing:-.04em}
.weekly>p,.arcade-top+p{margin:6px 0 12px;color:#415669;line-height:1.43}
.weekly-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:9px 0}
.weekly-chips .chip{min-height:44px;padding:6px 10px;line-height:1.1}
.week-sheet{background:#f6fbff;border:1px solid #dceaf5;border-radius:19px;padding:clamp(12px,3vw,24px);margin-top:10px}
.week-sheet h3{margin:0 0 5px;font-size:1.25rem;color:#284455}
.week-task{display:flex;gap:12px;align-items:center;margin:10px 0 11px}
.week-task .week-prompt{font-size:clamp(1.13rem,3.9vw,1.87rem);line-height:1.31;white-space:pre-line;overflow-wrap:anywhere;color:#243e5c;margin:0}
.week-sticker{display:grid;place-items:center;background:#fff0c5;border:1px solid #f5d68a;border-radius:15px;min-width:55px;min-height:55px;padding:4px 6px;font-size:clamp(1.48rem,4.5vw,2.4rem);line-height:1.12}
.week-choices{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap;margin:7px 0}
.week-option{background:white;min-height:51px;border-color:#cdddf0;color:#25416a;flex:1 1 auto;text-align:center;overflow-wrap:anywhere;max-width:100%}
.week-option.correct{background:#ddf7e4;border-color:#65af7e;opacity:1}
.week-option.wrong{background:#ffefe6;border-color:#eeb8a4;opacity:.83}
.week-option[aria-pressed=true]{background:#f0e5ff;border-color:#9d81d3;color:#492f83}
.week-meta,.week-feedback,.week-audio{color:#445a64;font-size:.93rem;margin:5px 0;line-height:1.35}
.week-feedback{font-weight:800;min-height:1.3em}.week-audio:empty{display:none}
.week-help{margin-top:8px;background:#fff;border:1px solid #e0eaf0;border-radius:13px;padding:8px 10px}
.week-help button{margin:2px 5px 2px 0}.week-help .math-text-guide{margin:8px 0 2px}
.week-word-info,.week-en,.week-formula{margin:5px 0;color:#253f6a}
.week-word-info p{margin:2px 0;font-size:.93rem;color:#46665f}.week-word-info b{font-size:1.15rem}.week-en{font-weight:800}.week-formula{background:#f5f0ff;padding:5px 7px;border-radius:7px}
.week-review-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.week-review-list li{display:grid;gap:2px;justify-items:start}.week-review-list li button{text-align:left}
.arcade-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.arcade-top .kicker{margin:0}.arcade-top .press{min-height:45px}
.arcade-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.arcade-card{display:grid;gap:4px;align-content:start;min-height:115px;padding:10px;text-align:left;border:2px solid #ddccf6;border-bottom-width:5px;border-radius:16px;background:linear-gradient(155deg,#fff,#f4ecff);line-height:1.12;color:#342461}
.arcade-card:nth-child(3n+2){background:linear-gradient(155deg,#fff,#dcf5e7);border-color:#bfdfcd;color:#205540}
.arcade-card:nth-child(3n+3){background:linear-gradient(155deg,#fff,#fff0c9);border-color:#eed598;color:#65481f}
.arcade-card:hover{box-shadow:0 5px 12px #210e4120}.arcade-card:active{transform:translateY(2px)}
.arcade-icon{font-size:1.7rem;line-height:1.2;filter:drop-shadow(1px 3px 1px #0002)}.arcade-card strong{font-size:1rem;line-height:1.22}
.arcade-card small,.arcade-win{font-size:.84rem;color:#4a5c56;font-weight:670}.arcade-win{color:#176c41}
.arcade-field{min-width:0;margin:10px 0}.arcade-result{color:#116642;font-weight:850;margin:7px 0}.arcade-result:empty{display:none}
@media(max-width:720px){.school-nav.extended{grid-template-columns:repeat(3,minmax(0,1fr))}.arcade-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:470px){.school-nav.extended .school-tab{min-height:48px;flex-direction:row}.arcade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.week-task{gap:7px}.week-sticker{min-width:40px;min-height:45px}.week-option{flex:1 1 110px}}
@media(prefers-reduced-motion:reduce){.arcade-card{transition:none!important}}
.week-question-audio{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.week-question-audio .press{min-height:44px}
.week-private-review{border:1px dashed #dfc797;border-radius:12px;background:#fffaf0;padding:9px 11px;margin:10px 0}
.week-private-review summary{cursor:pointer;font-weight:830}
.week-private-review p{margin:7px 0}.week-private-review label{font-weight:780;display:block}
.week-private-review input{display:block;width:min(100%,35rem);min-height:44px;margin:4px 0 7px;border:1px solid #ccb586;border-radius:8px;padding:6px 9px;color:#2f4936;background:#fff;font:inherit}
