.pygame-lesson-slider{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.4rem;margin-block:.75rem;display:grid}.pygame-lesson-slider>button{min-width:44px;min-height:44px;padding-inline:.5rem;font-size:1.5rem;line-height:1}.pygame-lesson-track{scrollbar-width:thin;gap:.5rem;min-width:0;padding:.25rem .15rem;display:flex;overflow-x:auto}.pygame-lesson-track button{white-space:nowrap;flex:none;min-height:44px}@media (max-width:480px){.pygame-lesson-track button{white-space:normal;max-width:100%}}.shape-theory{padding-inline-start:1.25rem}.shape-theory li{padding-block:.25rem}.shape-theory span{display:block}.shape-exercise>*{min-width:0}.shape-exercise pre{max-width:100%;overflow:auto}.shape-exercise .hint-actions :is(button,a){min-height:44px}@media (max-width:740px){.shape-exercise{grid-template-columns:minmax(0,1fr)}}.studio{--st-ink:#292638;--st-purple:#7054cb;--st-line:#e8e5ef;color:var(--st-ink);max-width:1440px;margin:auto}.studio a{text-decoration:none}.studio-topline{justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.studio-brand{color:var(--st-purple);align-items:center;gap:9px;font-size:21px;font-weight:800;display:flex}.studio-kicker{letter-spacing:1.4px;color:#7654ae;font-size:12px;font-weight:800;line-height:1.7}.studio-hero{background:linear-gradient(125deg,#f7f2ff,#fff7e9);border:1px solid #e6dcfa;border-radius:26px;grid-template-columns:1.2fr 1fr;align-items:center;gap:40px;margin-bottom:28px;padding:44px;display:grid}.studio-hero h1{letter-spacing:-1.4px;margin:16px 0;font-size:clamp(32px,3.7vw,54px);line-height:1.15}.studio-hero p{color:#746f82;max-width:480px;margin-bottom:24px;line-height:1.8}.studio-block-art{filter:drop-shadow(0 10px 12px #61546718);gap:3px;max-width:320px;margin:auto;display:grid;transform:rotate(-3deg)}.studio-block-art>span{color:#fff;background:#ffab19;border:2px solid #e99a12;border-radius:8px;padding:14px 20px;font-weight:750}.studio-block-art>span:nth-child(2){background:#96f;border-color:#8850ed}.studio-block-art>span:nth-child(3){background:#ffab19}.studio-block-art div{background:#4c97ff;border:2px solid #3988f5;border-radius:6px;margin:12px 0 0 12px;padding:12px}.studio-block-art b{color:#897d96;text-align:center;margin-top:18px;font-size:13px}.studio-topics{scrollbar-width:thin;gap:8px;padding:6px 0 18px;display:flex;overflow-x:auto}.studio-topics button{border:1px solid var(--st-line);color:#716b80;cursor:pointer;background:#fff;border-radius:24px;flex-shrink:0;min-height:44px;padding:10px 16px}.studio-topics button[aria-pressed=true]{color:#fff;background:#7054cb;border-color:#7054cb}.studio-topic-section{margin:28px 0 36px}.studio-topic-heading{align-items:center;gap:14px;margin-bottom:18px;display:flex}.studio-topic-heading>span{color:#7759bd;background:#efebfa;border-radius:15px;place-items:center;width:52px;height:52px;font-size:22px;font-weight:800;display:grid}.studio-topic-heading p{letter-spacing:1.4px;color:#8e879d;margin:0 0 4px;font-size:10px;font-weight:800}.studio-topic-heading h2{margin:0;font-size:22px}.studio-topic-heading>small{color:#8e879d;margin-left:auto}.studio-lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.studio-lesson{border:1px solid var(--st-line);background:#fff;border-radius:18px;flex-direction:column;padding:22px;transition:box-shadow .2s;display:flex}.studio-lesson:hover{box-shadow:0 6px 24px #49357a0d}.studio-lesson-label{color:#91869f;letter-spacing:.6px;justify-content:space-between;gap:8px;font-size:11px;font-weight:750;display:flex}.studio-lesson-label>span+span{letter-spacing:0;color:#8365b6;background:#f4f0fb;border-radius:20px;align-items:center;gap:4px;padding:4px 8px;display:flex}.studio-lesson h3{margin:18px 0 9px;font-size:18px;line-height:1.5}.studio-lesson h3 a{color:#30283f}.studio-lesson p{color:#93899f;margin:0 0 24px;font-size:13px}.studio-lesson>div:last-child{justify-content:space-between;align-items:center;margin-top:auto;display:flex}.studio-open{color:#7654be;font-size:14px;font-weight:750}.studio-lesson button{color:#8e7ba8;cursor:pointer;background:#f8f6fc;border:0;border-radius:10px;place-items:center;min-width:44px;min-height:44px;display:grid}.studio-unlock{background:#f0ebfb;border:1px solid #e1d7f5;border-radius:22px;grid-template-columns:1.2fr 1fr;gap:32px;margin:26px 0;padding:30px;display:grid}.studio-unlock h2{font-size:26px}.studio-unlock p{color:#7a6b90;line-height:1.8}.studio-unlock a{color:#7054cb;font-weight:750}.studio-unlock form{flex-direction:column;align-self:center;gap:12px;display:flex}.studio-unlock small{color:#82748f;font-size:12px;line-height:1.6}.studio input:not([type=checkbox]):not([type=file]){width:100%;min-width:0;max-width:100%;font:inherit;background:#fff;border:1px solid #d9d0e8;border-radius:10px;padding:12px 14px}.studio-status{color:#5c4494;background:#f1ecfa;border-radius:10px;padding:12px}.studio-lesson-header{margin:24px 0}.studio-lesson-header h1{font-size:clamp(26px,3vw,36px);line-height:1.4}.studio-study-grid{grid-template-columns:1.4fr 1fr;gap:20px;margin:24px 0;display:grid}.studio-study-grid .card{margin:0}.studio-study-grid p,.studio-study-grid li{line-height:1.8}.studio-checks{list-style:none;padding:0!important}.studio-checks li{border-bottom:1px solid var(--st-line);align-items:start;gap:12px;padding:12px 0;font-size:15px;display:flex}.studio-checks b{white-space:nowrap;color:#8a6db4;margin-left:auto}.studio-hints{color:#76633d;background:#fff7e5;border:1px solid #f2e2b9;border-radius:20px;padding:28px}.studio-hints h2{color:#55462f;font-size:23px}.studio-hints>div{margin-top:14px}.studio-hints p{font-size:15px}.studio-workspace{border:1px solid var(--st-line);background:#fff;border-radius:20px;min-width:0;max-width:100%;margin:24px 0;padding:24px}.studio-workspace:-webkit-full-screen{background:#fff;border-radius:0;padding:10px;overflow:auto}.studio-workspace:fullscreen{background:#fff;border-radius:0;padding:10px;overflow:auto}.studio-workspace-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.studio-workspace-heading h2{margin:8px 0;font-size:23px}.studio-tools{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.studio-tools button,.studio-tools label{min-height:42px;font-size:13px}.studio-editor-scroll{background:#e5f0ff;border:1px solid #e0dbea;border-radius:12px;max-width:100%;overflow:auto}.studio-editor-scroll iframe{border:0;width:100%;min-width:1024px;height:730px;display:block}.studio-file-label{cursor:pointer;align-items:center;gap:8px;display:inline-flex;position:relative;overflow:hidden}.studio-file-label input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.studio-file-label:has(input:focus-visible){outline-offset:3px;outline:3px solid #8a5ce0}.studio-file-label:has(input:disabled){opacity:.5;cursor:wait}.studio-attribution{color:#9a91a3;margin-bottom:0;font-size:11px;line-height:1.7}.studio-attribution a{color:#826d9c;text-decoration:underline}.studio-result{background:#faf8ff;border:1px solid #ded4f3;border-radius:20px;margin:24px 0;padding:28px}.studio-result h2{color:#7054cb;margin:12px 0 24px;font-size:48px}.studio-result h2 small{color:#998bab;margin-left:12px;font-size:15px}.studio-result>div{background:#fff;border:1px solid #ece7f3;border-radius:12px;align-items:start;gap:12px;margin:10px 0;padding:15px;display:flex}.studio-result>div>svg{flex-shrink:0;margin-top:3px}.studio-result .passed>svg{color:#42a08a}.studio-result .failed>svg{color:#d79b56}.studio-result p{color:#807489;font-size:14px;line-height:1.7}.studio-result strong{white-space:nowrap;margin-left:auto}.studio-prev-next{justify-content:space-between;gap:12px;margin:28px 0;display:flex}.studio-admin-form{gap:18px;display:grid}.studio-admin-form label{gap:10px;display:grid}.studio-checkbox{align-items:start;display:flex!important}.studio-checkbox input{width:18px;height:18px}.studio-code-list article{border-bottom:1px solid var(--st-line);justify-content:space-between;align-items:center;gap:16px;padding:18px 0;display:flex}.studio-code-list p{color:#96879f;font-size:13px}.studio-new-code{background:#f2eefb;border-radius:12px;gap:12px;margin-top:20px;padding:20px;display:grid}.studio button:disabled{opacity:.5;cursor:not-allowed}.studio .primary,.studio .secondary{min-height:44px}:is(.studio a:focus-visible,.studio button:focus-visible){outline-offset:3px;outline:3px solid #b3a0ed}@media (max-width:1100px){.studio-lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-hero{gap:22px;padding:30px}.studio-study-grid{grid-template-columns:1fr}.studio-block-art{max-width:260px;font-size:14px}.studio-unlock{grid-template-columns:1fr}}@media (max-width:640px){.studio-hero{grid-template-columns:1fr;padding:26px}.studio-hero h1{font-size:36px}.studio-hero p{font-size:15px}.studio-block-art{width:100%;max-width:270px;margin:8px auto}.studio-lesson-grid{grid-template-columns:1fr}.studio-topic-heading h2{font-size:19px}.studio-lesson{padding:20px}.studio-unlock,.studio-hints,.studio-result{padding:22px}.studio-workspace{padding:16px}.studio-workspace-heading{flex-direction:column;align-items:start}.studio-workspace-heading h2{font-size:21px}.studio-result h2 small{margin:6px 0;display:block}.studio-code-list article{align-items:start}.studio-prev-next .primary,.studio-prev-next .secondary{padding:10px;font-size:13px}.studio-lesson-header h1{font-size:25px}.studio-topline{flex-wrap:wrap}.studio-editor-scroll iframe{height:640px}}.robot-mode-tabs{flex-wrap:wrap;gap:10px;margin:24px 0;display:flex}.robot-mode-tabs button{min-height:44px}.delivery{--delivery-green:#318575;--delivery-line:#e2e9e7;min-width:0}.delivery-heading{justify-content:space-between;align-items:center;gap:20px;margin:24px 0;display:flex}.delivery-heading h2{margin-bottom:10px;font-size:30px}.delivery-heading>svg{color:#419c89;flex-shrink:0}.delivery-heading p{color:#81908a;margin-bottom:0}.delivery-lesson-picker{border:1px solid var(--delivery-line);background:#fff;border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;padding:20px;display:flex}.delivery-lesson-picker label{font-weight:700}.delivery-lesson-picker select{background:#fff;border:1px solid #ddd;border-radius:8px;flex:1;min-width:0;max-width:100%;padding:10px}.delivery-copy{border:1px solid #ddd;border-radius:8px;width:100%;padding:12px}.delivery-brief{background:#f0f7f4;border:1px solid #dcebe3;border-radius:18px;grid-template-columns:1.3fr 1fr;gap:26px;margin-bottom:20px;padding:26px;display:grid}.delivery-brief h3{margin:10px 0;font-size:22px}.delivery-brief p{line-height:1.8}.delivery-brief aside{background:#fffaf0;border:1px solid #f1e6cd;border-radius:12px;min-width:0;padding:18px}.delivery-brief aside>div{margin-top:12px}.delivery-brief aside p{margin:12px 0 0;font-size:14px}.delivery-addresses{flex-wrap:wrap;gap:8px;display:flex}.delivery-addresses>span{background:#fff;border-left:3px solid;border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 10px;font-size:13px;display:inline-flex}.delivery-challenges{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px;display:grid}.delivery-challenges>div{border:1px solid var(--delivery-line);background:#fff;border-radius:14px;align-items:start;gap:12px;padding:18px;display:flex}.delivery-challenges>div>svg{color:#b1935d;flex-shrink:0}.delivery-challenges .won{background:#f0faf4;border-color:#9bd2b2}.delivery-challenges strong{margin-top:6px;font-size:25px;display:block}.delivery-challenges small{color:#8a9591;font-size:12px;font-weight:400;display:inline}.delivery-challenges span{color:#8a9591;font-size:11px;display:block}.delivery-layout{grid-template-columns:1.05fr 1fr;align-items:start;gap:20px;display:grid}.delivery-layout>.card{min-width:0;margin:0;padding:24px}.delivery-palette{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.delivery-palette button{color:#26765f;background:#e9f6f0;border:1px solid #c8dfd6;border-radius:8px;align-items:center;gap:7px;min-height:42px;padding:10px;font-size:13px;display:flex}.delivery-palette button.repeat,.delivery-palette button.if,.delivery-palette button.until{color:#9b7029;background:#fff1d9;border-color:#efdbb8}.delivery-palette button.pick,.delivery-palette button.drop{color:#7959b0;background:#f0eaff;border-color:#d9cdef}.delivery-program{border:2px dashed #dce7e2;border-radius:12px;min-height:160px;margin-bottom:18px;padding:14px}.delivery-start{color:#c28c23;background:#fff2d3;border-radius:8px;align-items:center;gap:8px;margin-bottom:12px;padding:12px;font-weight:700;display:flex}.delivery-empty{color:#9aa69e;text-align:center;padding:24px 5px;font-size:14px}.delivery-block{background:#edf7f1;border:1px solid #d0e3d9;border-radius:8px;margin:8px 0;padding:10px;transition:background .15s,box-shadow .15s}.delivery-block.pick,.delivery-block.drop{background:#f4edff;border-color:#e0d3f0}.delivery-block.repeat,.delivery-block.if,.delivery-block.until{background:#fff7e7;border-color:#eadfbd}.delivery-block.executing{background:#fff0bd;outline:3px solid #f1b52d;box-shadow:0 0 0 5px #f9df8a55}.delivery-block.failed{box-shadow:none;background:#ffdfdc;outline-color:#e5726d}.delivery-block-head{flex-wrap:wrap;align-items:center;gap:7px;font-size:13px;display:flex}.delivery-block-head>b{font-size:13px}.delivery-block-head>svg{flex-shrink:0}.delivery-block-head input{border:1px solid #dbcda5;border-radius:6px;width:54px;padding:5px}.delivery-block-head select{background:#fff;border:1px solid #dbcda5;border-radius:6px;min-width:0;max-width:100%;padding:7px;font-size:12px}.delivery-block-actions{gap:4px;margin-left:auto;display:flex}.delivery-block-actions button{background:#ffffffc9;border:1px solid #dcded4;border-radius:5px;place-items:center;min-width:29px;min-height:32px;padding:3px;display:grid}.delivery-nest{border-left:3px solid #e9cc8e;min-height:45px;margin:12px 0 2px 7px;padding-left:10px}.delivery-nest p{color:#aa9975;font-size:12px}.delivery-nest-add{flex-wrap:wrap;gap:5px;margin-top:10px;display:flex}.delivery-nest-add button{color:#8d7950;background:#fff;border:1px solid #e9dcbc;border-radius:5px;min-height:32px;padding:6px;font-size:11px}.delivery-hud{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.delivery-hud>span{background:#f2f7f5;border-radius:7px;align-items:center;gap:5px;padding:7px 9px;font-size:12px;display:flex}.delivery-sensors{flex-wrap:wrap;gap:5px;margin-bottom:14px;display:flex}.delivery-sensors span{color:#929a97;background:#f3f5f4;border:1px solid #e6eae8;border-radius:7px;padding:5px 7px;font-size:11px}.delivery-sensors .yes{color:#43866b;background:#e6f4ed;border-color:#b5d9c6}.delivery-board{background:#e2eae6;border-radius:12px;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;width:100%;max-width:540px;margin:auto;padding:8px;display:grid}.delivery-cell{aspect-ratio:1;background:#fff;border-radius:6px;place-items:center;min-width:0;display:grid;position:relative}.delivery-cell small{color:#afb9b2;font-size:8px;line-height:1;position:absolute;top:2px;left:3px}.delivery-cell.wall{color:#e4eee8;background:#8da498}.delivery-wall{font-size:24px}.delivery-cell.exit{box-shadow:inset 0 0 0 2px #e8c15a}.delivery-cell.trail{background:#eef6ee}.delivery-ground{flex-wrap:wrap;justify-content:center;align-items:center;gap:1px;padding-top:6px;display:flex}.delivery-exit{color:#b68e28;position:absolute;top:2px;right:2px}.delivery-robot{z-index:2;background:#426a81;border:2px solid #fff;border-radius:10px;place-items:center;width:34px;height:34px;display:grid;position:absolute;box-shadow:0 2px 6px #284b4a33}.delivery-robot>span{color:#fff;font-size:27px;line-height:1;transition:transform .16s;display:block}.delivery-carried{box-sizing:content-box;background:#fff;border-radius:3px;padding:1px;position:absolute;bottom:-5px;right:-5px}.delivery-legend{color:#8b9892;flex-wrap:wrap;gap:10px;margin:12px 0;font-size:11px;display:flex}.delivery-legend span{align-items:center;gap:3px;display:flex}.delivery-controls{flex-wrap:wrap;gap:8px;margin:18px 0;display:flex}.delivery-controls button{min-height:42px;font-size:13px}.delivery-controls label{align-items:center;gap:7px;font-size:12px;display:flex}.delivery-controls select{background:#fff;border:1px solid #ddd;border-radius:6px;padding:7px}.delivery-status{background:#f3f6f4;border:1px solid #dfe8e2;border-radius:10px;padding:16px;font-size:14px;line-height:1.7}.delivery-status p{margin:8px 0 0}.delivery-status.success{color:#3e7d55;background:#e9f7ee;border-color:#a8d7b8}.delivery-status.error{color:#a55c51;background:#fff0ed;border-color:#e8b1a9}.delivery-status.success p{align-items:center;gap:8px;display:flex}.delivery-log{color:#829089;margin-top:16px;font-size:12px}.delivery-log summary{cursor:pointer;font-weight:700}.delivery-log li{margin:7px 0;line-height:1.7}.delivery-privacy{color:#829189;background:#f4f7f5;border:1px solid #e2e8e5;border-radius:10px;margin:22px 0;padding:18px;font-size:13px}.delivery .muted{font-size:13px;line-height:1.8}.delivery button:disabled{opacity:.45;cursor:not-allowed}@media (max-width:1150px){.delivery-layout,.delivery-brief{grid-template-columns:1fr}.delivery-challenges strong small{display:block}.delivery-board{max-width:480px}}@media (max-width:600px){.delivery-heading h2{font-size:26px}.delivery-heading>svg{display:none}.delivery-lesson-picker{flex-direction:column;align-items:stretch;padding:16px}.delivery-brief{gap:16px;padding:18px}.delivery-challenges{grid-template-columns:1fr}.delivery-challenges>div{padding:13px}.delivery-challenges strong{font-size:20px}.delivery-challenges strong small{display:inline}.delivery-layout>.card{padding:16px}.delivery-board{gap:3px;padding:6px}.delivery-robot{border-radius:8px;width:28px;height:28px}.delivery-robot>span{font-size:24px}.delivery-ground svg{width:19px;height:19px}.delivery-block-head{gap:5px}.delivery-block-actions{margin-left:0}.delivery-palette{gap:6px}.delivery-palette button{padding:9px;font-size:12px}.delivery-nest{margin-left:2px;padding-left:7px}.delivery-status{padding:13px}}.cleaning .delivery-heading>svg{color:#b88745}.cleaning .delivery-brief{background:#f8f5ed;border-color:#e9dfcc}.cleaning .delivery-board{background:#e9e5da}.cleaning .delivery-cell.wall{color:#fbf6e9;background:#a59b88}.cleaning .delivery-cell.dirty{background:#fff1da}.cleaning .delivery-cell.cleaned{background:#eaf7ee}.cleaning .delivery-cell.exit{background:#edf4fa;box-shadow:inset 0 0 0 2px #7c9aaf}.cleaning .delivery-robot{background:#7860a7;border-radius:50%}.cleaning .delivery-palette button.clean,.cleaning .delivery-palette button.empty,.cleaning .delivery-block.clean,.cleaning .delivery-block.empty{color:#71509f;background:#f4edff;border-color:#ddcfee}.cleaning .delivery-block.executing{color:#4b4027;background:#fff0bd}.cleaning .delivery-block.failed{color:#83443d;background:#ffdfdc}.cleaning-dirt{color:#b67b2d;align-items:center;gap:2px;display:flex}.cleaning-dirt b{text-align:center;color:#fff;background:#b67b2d;border-radius:10px;min-width:16px;font-size:13px}.cleaning-dock{color:#4f819a;position:absolute;top:5px;right:5px}.cleaning-cleaned{color:#62a67b}.cleaning .delivery-cell .delivery-robot+.cleaning-dirt{bottom:2px}.cleaning .delivery-ground{z-index:3;pointer-events:none}.cleaning .delivery-cell:has(.delivery-robot) .delivery-ground{padding:0;position:absolute;bottom:2px;right:2px}.cleaning .delivery-cell:has(.delivery-robot) .cleaning-dirt svg{display:none}.cleaning .delivery-cell:has(.delivery-robot) .cleaning-cleaned{background:#fff;border-radius:50%;width:13px;height:13px}@media (max-width:600px){.cleaning-dock{width:18px;height:18px;top:3px;right:3px}.cleaning-dirt b{min-width:14px;font-size:11px}}
