.game-viewport{min-width:0}.game-view-toolbar{background:var(--p-surface,#fff);border:1px solid var(--p-line,#a6b4ce);color:var(--p-text,#192741);border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 18px;padding:10px 14px;display:flex}.game-view-title{font-size:.85rem;font-weight:800}.game-view-toolbar>div{flex-wrap:wrap;gap:7px;display:flex}.game-view-toolbar button,.game-scratch-actions button{border:1px solid var(--p-line,#a6b4ce);background:var(--p-surface,#fff);min-height:44px;color:var(--p-text,#192741);font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:.83rem;font-weight:700;display:inline-flex}.game-view-toolbar button:hover,.game-view-toolbar button[aria-expanded=true]{background:var(--p-soft,#eee9fa)}:is(.game-view-toolbar button:focus-visible,.game-scratch-actions button:focus-visible){outline-offset:3px;outline:3px solid #8d66d3}.game-view-notice{background:var(--p-soft,#f0edf7);color:var(--p-text,#192741);border-radius:10px;padding:10px 14px;font-size:.85rem}.game-view-content{min-width:0}.game-view-layout.with-notes{grid-template-columns:minmax(0,1fr) minmax(260px,330px);align-items:start;gap:18px;display:grid}.game-notes[hidden]{display:none}.game-notes{border:1px solid var(--p-line,#a6b4ce);background:var(--p-surface,#fff);color:var(--p-text,#192741);border-radius:16px;padding:14px;position:sticky;top:90px}.game-notes h2{align-items:center;gap:7px;margin:0;display:flex;font-size:1rem!important}.game-notes p{color:var(--p-muted,#526079);font-size:.8rem;line-height:1.5}.game-scratch-paper{touch-action:none;cursor:crosshair;stroke:#202b4a;fill:#202b4a;background:repeating-linear-gradient(0deg,#0000 0 23px,#c2cfe066 24px),#fff;border:1px solid #98a8c3;border-radius:8px;width:100%;height:190px;display:block}.game-scratch-actions{flex-wrap:wrap;gap:5px;margin:8px 0 14px;display:flex}.game-scratch-actions button{flex:1;padding:6px;font-size:.73rem}.game-scratch-actions button:disabled{opacity:.6;cursor:default}.game-notes label{gap:6px;font-size:.85rem;display:grid}.game-notes textarea{resize:vertical;border:1px solid var(--p-line,#a6b4ce);background:var(--p-surface,#fff);width:100%;color:var(--p-text,#192741);border-radius:10px;min-height:120px;padding:10px;font-size:16px;line-height:1.6}.game-viewport-expanded{z-index:10000;overscroll-behavior:contain;background:var(--p-bg,#f6f5fa);color:var(--p-text,#192741);padding:env(safe-area-inset-top,0px) max(12px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(12px,env(safe-area-inset-left,0px));isolation:isolate;height:100dvh;position:fixed;inset:0;overflow:auto;max-width:none!important}.game-viewport-expanded>.game-view-toolbar{z-index:30;margin-top:8px;position:sticky;top:0;box-shadow:0 5px 18px #15203620}.game-viewport-expanded>.game-view-layout{max-width:1600px;margin:0 auto}.game-viewport-expanded .school-main{width:100%;max-width:none;margin:0;padding:0 0 20px}.game-viewport-expanded .school-title-row,.game-viewport-expanded .school-back,.game-viewport-expanded .school-note,.game-viewport-expanded .compact-game-extras,.game-viewport-expanded .curriculum-save-note{display:none}.game-viewport-expanded .curriculum-stats{margin-top:0}.game-viewport-expanded .curriculum-topic{margin:12px 0}.game-viewport-expanded .world-play{margin-top:12px}.game-viewport-expanded .race-canvas,.game-viewport-expanded .platform-stage{max-height:70dvh}.game-focus [data-slot=dialog-overlay]{z-index:10010!important}.game-focus [data-slot=dialog-content]{z-index:10011!important}.game-focus [data-slot=select-content],.game-focus [data-slot=popover-content]{z-index:10012!important}.game-focus .portal-tools,.game-focus .portal-report-entry{visibility:hidden}.curriculum-experiment-note{color:var(--p-muted,#53617c);font-size:.85rem}@media (max-width:1000px){.game-view-layout.with-notes{grid-template-columns:1fr}.game-notes{max-width:none;position:static}.game-scratch-paper{height:220px}}@media (max-width:620px){.game-view-toolbar{flex-direction:column;align-items:flex-start;gap:8px;padding:10px}.game-view-toolbar>div{gap:6px;width:100%}.game-view-toolbar button{flex:auto;padding:7px 9px;font-size:.76rem}.game-view-title{font-size:.8rem}.game-viewport-expanded{padding-left:8px;padding-right:8px}.game-viewport-expanded .school-title-row{display:none}}@media (orientation:landscape) and (max-height:550px){.game-view-toolbar{flex-direction:row;margin-bottom:8px;padding:6px 10px}.game-view-toolbar .game-view-title{display:none}.game-view-toolbar>div{justify-content:flex-end;width:100%}.game-view-toolbar button{flex:0 auto;min-height:38px}.game-viewport-expanded .curriculum-topic{padding:8px}.game-viewport-expanded .curriculum-topic h2{font-size:1rem}.game-viewport-expanded .world-prompt{font-size:1.1rem}.game-viewport-expanded .world-play{padding:12px}.game-viewport-expanded .race-canvas{height:55dvh}}.game-focus [inert]{visibility:hidden}.game-focus .game-viewport-expanded{visibility:visible}.game-viewport:not(.game-viewport-expanded)>.game-view-toolbar,.game-viewport:not(.game-viewport-expanded)>.game-view-notice{width:calc(100% - 28px);max-width:1160px;margin-left:auto;margin-right:auto}.game-viewport-expanded :is(.activity-shell,.race-shell,.football-shell,.platform-shell,.rpg-shell,.logos-shell,.party-app,.stop-shell,.mix-shell,.spell-shell,.ideas-shell,.million-shell,.tempo-shell){width:100%;max-width:1500px;margin:0 auto;padding:12px 0 28px}.game-viewport-expanded :is(.activity-header,.platform-header,.race-header,.football-header,.platform-help,.activity-save-note,.arcade-mentor,.platform-timeline){display:none}.game-viewport-expanded .rush-scene{height:65dvh;min-height:300px}@media (orientation:landscape) and (max-height:550px){.game-viewport-expanded .rush-scene{height:62dvh;min-height:220px}.game-viewport-expanded :is(.runner-controls,.race-controls,.logos-controls){gap:6px}.game-viewport-expanded :is(.platform-heading,.activity-title){margin:8px 0}.game-viewport-expanded .game-view-content{overflow-x:hidden}}
