.school-hub{display:flex;gap:22px;align-items:center;margin:18px 0;padding:24px 27px;background:linear-gradient(120deg,#f8e7b9,#e1eee4);border:2px solid #cfb77f;border-radius:24px;color:#325b61}.school-hub>div:nth-child(2){flex:1}.school-hub h2{font-size:27px;margin:6px 0 8px}.school-hub p{font-size:14px;line-height:1.5;margin:0}.school-kicker{font-size:10px;font-weight:850;letter-spacing:1.3px;color:#7c704a}.school-hub-art{width:75px;height:75px;display:grid;place-items:center;background:#fff6dc;border:3px solid #dcb66a;border-radius:20px;font-size:40px;box-shadow:0 5px 0 #b6c3a3}.school-hub>button{min-height:50px;padding:12px 18px;border:1px solid #397e7a;border-bottom:4px solid #285b61;border-radius:13px;background:#3d8180;color:#fff6d9;font-weight:850;white-space:nowrap}
.school-view{background:#c6dacb;--school-panel-space:500px}.school-view #viewport{right:420px}.school-view .quest-card,.school-view .world-caption,.school-view .camera-switch,.school-view .action-area,.school-view .place-marker,.school-view .vehicle-marker,.school-view .animal-marker,.school-view #vehicle-board,.school-view #adventure-hud,.school-view .city-minimap,.school-view .control-pad{display:none!important}.school-recess .control-pad{display:grid!important;bottom:90px}.school-preview .quest-card,.school-preview .world-caption,.school-preview .place-marker,.school-preview .vehicle-marker,.school-preview .action-area{display:none!important}.school-near .action-area{display:none!important}
.school-panel[hidden],.school-hud[hidden],.school-toolbar[hidden],.school-beacon[hidden],.school-enter[hidden],#school-class[hidden],#school-recess[hidden],#school-next[hidden]{display:none}
.school-hud{position:absolute;top:84px;left:18px;z-index:5;width:260px;padding:12px 15px;border:1px solid #c1cbb4;border-left:5px solid #d6aa52;border-radius:15px;background:#fff8e9ee;color:#315d63}.school-hud>div{display:flex;justify-content:space-between;gap:8px;align-items:center}.school-hud strong{font-size:15px}.school-hud time{font-size:23px;font-weight:850;font-variant-numeric:tabular-nums}.school-hud small{font-size:11px}.school-hud progress{display:block;width:100%;height:8px;margin:8px 0;accent-color:#478b80}.school-hud p{font-size:11px;margin:5px 0 0;line-height:1.4}
.school-panel{position:absolute;z-index:8;top:84px;bottom:84px;right:16px;width:390px;overflow:auto;overscroll-behavior:contain;padding:20px;background:#fff8e9;border:2px solid #c3cbae;border-top:5px solid #d4ac5e;border-radius:21px;color:#315864;box-shadow:0 5px 18px #3d686220}.school-panel .school-kicker{font-size:9px}.school-word-row{display:flex;gap:13px;align-items:center;margin:14px 0}.school-word-row>span{font-size:37px;line-height:1.15}.school-word-row h2{font-size:29px;margin:0;letter-spacing:.8px}.school-word-row p{font-size:14px;letter-spacing:1.6px;margin:6px 0 0;color:#8b744e}.school-panel #school-explanation{font-size:17px;line-height:1.5;margin:13px 0;padding:13px;background:#e8eed9;border-radius:13px}.school-panel h3{font-size:18px;line-height:1.4;margin:15px 0 10px}.school-answers{display:grid;gap:7px}.school-panel button,.school-toolbar button{min-height:44px;border:1px solid #a7c1b2;border-bottom:3px solid #8cac9e;border-radius:11px;padding:10px 12px;background:#e8efdc;color:#305964;font-size:12px;font-weight:800}.school-answers button{font-size:15px;background:#fffdf3;text-align:left}.school-answers button:disabled{opacity:.62}.school-answers button.correct{background:#d2e9ba;opacity:1;border-color:#779d6e}.school-panel .school-feedback{font-size:13px;line-height:1.45;min-height:37px;color:#7a6441;margin:12px 0}.school-panel .school-success{color:#3b6a4d}.school-lesson-actions{display:flex;flex-wrap:wrap;gap:7px}.school-lesson-actions #school-next{background:#f2d597;flex-basis:100%}
.school-toolbar{position:absolute;left:16px;right:16px;bottom:13px;display:flex;justify-content:flex-end;gap:8px;z-index:9}.school-toolbar #school-exit{background:#365f68;color:#fff4d4;border-color:#23474e}.school-toolbar button{box-shadow:0 2px 8px #315b6220}.school-enter{position:absolute;z-index:8;right:18px;bottom:100px;min-height:50px;background:#347a7b;color:#fff3ca;border:2px solid #c6d9bd;border-bottom:4px solid #285663;border-radius:14px;padding:12px 18px;font-size:13px;font-weight:850}.school-beacon{position:absolute;z-index:4;transform:translate(-50%,-100%);padding:9px 14px;min-height:44px;border:1px solid #b4bf9f;border-radius:12px;background:#fff0c9ed;color:#3a6368;font-size:12px;font-weight:850}
#school-recess h2{font-size:25px;margin:0 0 10px}#school-reward{padding:12px;border-radius:13px;background:#e7eac6;color:#557243;font-size:15px;font-weight:800}#school-recess-copy{font-size:15px;line-height:1.5}.school-play-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.school-play-buttons button[aria-pressed=true]{background:#f4d398}#school-new-day{margin-top:14px;width:100%;background:#f3d599}.school-panel button:focus-visible,.school-toolbar button:focus-visible,.school-enter:focus-visible{outline:3px solid #d5963f;outline-offset:2px}.school-view:fullscreen{min-height:0}
@media(max-width:850px){.school-view #viewport{right:0;bottom:var(--school-panel-space)}.school-view{height:1040px;min-height:1040px}.school-panel{left:12px;right:12px;top:auto;bottom:78px;width:auto;max-height:570px;padding:16px}.school-hud{top:78px;left:12px;width:calc(100% - 24px);max-width:340px;padding:9px 12px}.school-hud>div{gap:8px}.school-hud progress{margin:5px 0}.school-hud strong{font-size:13px}.school-hud time{font-size:20px}.school-hud p{font-size:10px}.school-toolbar{left:12px;right:12px;bottom:12px;gap:5px}.school-toolbar button{flex:1;padding:8px 5px;font-size:10px}.school-word-row{margin:10px 0}.school-word-row h2{font-size:25px}.school-panel #school-explanation{font-size:15px;padding:10px;margin:9px 0}.school-panel h3{font-size:16px;margin:10px 0}.school-answers button{font-size:13px;min-height:44px;padding:8px 10px}.school-panel .school-feedback{font-size:12px;margin:9px 0;min-height:32px}.school-lesson-actions button{font-size:11px;padding:8px}.school-recess{height:960px;min-height:960px}.school-recess .control-pad{bottom:calc(var(--school-panel-space) + 15px)}.school-enter{left:12px;right:12px;font-size:12px;bottom:86px}.school-near .control-pad{bottom:153px}}
@media(max-width:600px){.school-hub{padding:20px 16px;gap:13px;flex-wrap:wrap}.school-hub-art{width:52px;height:52px;font-size:29px;flex-shrink:0}.school-hub h2{font-size:24px}.school-hub p{font-size:12px}.school-hub .school-kicker{font-size:8px}.school-hub>button{width:100%}}
@media(max-height:720px){.school-view:fullscreen .school-hud{display:none}.school-view:fullscreen .school-panel{top:76px;bottom:79px;max-height:none;overflow:auto}.school-view:fullscreen #viewport{bottom:0}.school-view:fullscreen .school-toolbar{bottom:10px}.school-view:fullscreen .control-pad{display:none!important}}
@media(min-width:601px) and (max-height:720px){.school-view:fullscreen .school-panel{left:auto;width:360px}.school-view:fullscreen #viewport{right:386px}}
@media(max-width:600px) and (max-height:720px){.school-recess:fullscreen #viewport{bottom:var(--school-panel-space)}.school-recess:fullscreen .school-panel{top:auto;bottom:78px;max-height:250px;padding:12px}.school-recess:fullscreen #school-recess-title{font-size:18px;margin:0 0 6px}.school-recess:fullscreen #school-reward{font-size:12px;margin:6px 0;padding:6px}.school-recess:fullscreen #school-recess-copy{display:none}.school-recess:fullscreen .school-play-buttons{gap:5px}.school-recess:fullscreen .school-play-buttons button{font-size:10px;padding:7px}.school-recess:fullscreen #school-new-day{margin-top:6px;font-size:11px}}
