:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#26253a;background:#f9f8f4;--ink:#27253a;--purple:#5142aa;--deep:#33256b;--lime:#c9ee75;--paper:#fff;--line:#e5e3e0;--muted:#666577;--shadow:0 8px 28px #33256b0a}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:inherit;text-decoration:none}button,a.btn,label.btn{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #8b7ed9;outline-offset:3px}button,.btn{border:1px solid #dcd9e3;background:#fff;color:var(--ink);font-weight:650;padding:10px 16px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;transition:transform .15s,background .15s,box-shadow .15s}button:not(:disabled):hover,.btn:hover{background:#f1effa;transform:translateY(-1px)}.primary{background:var(--deep)!important;color:white!important;border-color:var(--deep)!important}.primary:hover{background:#493887!important}.outline{border:1px solid #b9b4d1;background:transparent}.btn img,button img{width:23px;height:23px;object-fit:contain}.text-link{color:var(--deep);font-weight:750;white-space:nowrap}.text-link span{margin-left:5px}img{max-width:100%;object-fit:contain}button[hidden], [hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:clamp(35px,5vw,68px);line-height:1.03;font-weight:800}h2{font-size:clamp(22px,2.4vw,33px);line-height:1.15}h3{font-size:19px;line-height:1.25}p{line-height:1.65;color:var(--muted)}small,.muted{font-size:13px;color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.skip{position:absolute;top:-80px;left:10px;z-index:99;background:white;padding:10px}.skip:focus{top:4px}#top{position:sticky;top:0;z-index:20;background:#fbfaf7f5;border-bottom:1px solid #e9e6e0;backdrop-filter:blur(16px)}.topbar{max-width:1440px;margin:auto;display:flex;align-items:center;gap:25px;padding:10px 32px;min-height:82px}.brand{width:185px;flex:0 0 185px}.brand img{width:100%;display:block}.topbar nav{display:flex;justify-content:center;align-items:center;gap:8px;flex:1}.topbar nav a{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 12px;border-radius:11px;font-size:13px;font-weight:700;white-space:nowrap;min-height:45px}.topbar nav a img{width:27px;height:27px}.topbar nav a:hover,.topbar nav a[aria-current]{background:#eae6f9;color:#34256f}.top-actions{display:flex;gap:5px;align-items:center}.top-actions button,.icon-button{padding:7px;border:0;background:transparent;min-height:40px;display:flex;align-items:center;gap:4px}.top-actions img{width:26px;height:26px}.lang span{font-size:11px;font-weight:800}main{max-width:1320px;margin:0 auto;padding:32px 44px 72px;min-height:75vh}main:focus{outline:none}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:800;color:#6654a5;display:flex;align-items:center;gap:8px}.dot{width:9px;height:9px;border-radius:50%;background:#87ba46}.hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:20px;padding:22px 22px 25px 22px;background:#eee9fa;border:1px solid #e5e0f2;border-radius:28px;overflow:hidden;min-height:380px}.hero-copy{padding:22px 10px 22px 26px;position:relative;z-index:1}.hero h1{margin:20px 0 16px;font-size:clamp(42px,5.6vw,77px);color:#2e2357}.hero h1 em{font-style:normal;position:relative;white-space:nowrap;background:#d4ee8d;border-radius:7px;padding:0 8px;box-decoration-break:clone}.hero p{max-width:495px;font-size:17px;color:#534d6b}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}.hero-caption{font-size:13px;color:#625c78;margin-top:16px}.hero-visual{position:relative;min-width:0;align-self:stretch;display:grid;place-items:center}.hero-visual img{width:100%;max-height:355px;object-fit:contain;filter:drop-shadow(0 12px 14px #34256b13)}.float-tag{position:absolute;right:5px;bottom:4px;font-size:10px;font-weight:800;letter-spacing:.12em;color:#6e5f95}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:42px 0 18px}.section-heading h2{margin-top:7px}.section-heading p{margin-top:7px}.home-grid,.lab-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.lab-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;min-width:0;box-shadow:var(--shadow);transition:transform .18s,box-shadow .18s}.lab-card:hover{transform:translateY(-4px);box-shadow:0 10px 28px #30236b18}.lab-art{min-height:132px;display:grid;place-items:center;position:relative;background:#ece8fa;padding:14px}.lab-art img{width:116px;height:116px;object-fit:contain}.lab-art.sense,.lab-hero.sense{background:#e3f1ed}.lab-art.learn,.lab-hero.learn{background:#f6eadc}.lab-art.think,.lab-hero.think{background:#e7ebfa}.lab-art.play,.lab-hero.play{background:#fbe8e4}.lab-art.create,.lab-hero.create{background:#eee5f6}.lab-art.discover,.lab-hero.discover{background:#f0eddb}.lab-card-text{padding:17px 17px 14px;display:flex;flex-direction:column;flex:1}.lab-card h3{font-size:19px}.lab-card p{font-size:13px;margin:7px 0 15px;line-height:1.5;flex:1}.card-meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;font-weight:700}.circle-arrow{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#ecf2d9;color:#36452d;font-size:17px}.done{position:absolute;right:12px;top:10px;width:28px;height:28px;border-radius:50%;background:#c9ee75;display:grid;place-items:center;color:#263c19;font-weight:800}.feature{display:grid;grid-template-columns:220px 1fr;gap:30px;align-items:center;margin-top:38px;background:#253051;color:white;border-radius:22px;padding:24px 36px}.feature img{height:190px;display:block;margin:auto}.feature .eyebrow{color:#d0eb82}.feature h2{margin:9px 0 10px}.feature p{color:#dee2f0;max-width:650px}.feature .btn{margin-top:16px;background:#d8f18d!important;color:#253051!important;border-color:#d8f18d!important}.journey{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.journey a{border:1px solid var(--line);background:#fff;border-radius:14px;padding:16px 12px;display:flex;flex-direction:column;gap:6px}.journey a:hover{background:#efedf8}.journey a span{font-weight:800;color:#7a6eb5;font-size:13px}.journey a strong{font-size:15px}.journey a small{font-size:12px}.page-intro{display:grid;grid-template-columns:1fr 240px;align-items:center;gap:20px;background:#eeeaf8;border-radius:24px;padding:30px 36px;margin-bottom:24px}.page-intro h1{font-size:clamp(32px,4vw,53px);margin:12px 0}.page-intro img{width:100%;height:160px}.page-intro p{max-width:700px}.filterbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:24px 0}.filterbar input{max-width:290px;flex:1;min-width:180px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chips button{min-height:36px;padding:7px 12px;border-radius:30px;font-size:13px}.chips button.active,.category-strip button.active{background:#e2dcf6;color:#33256b;border-color:#b5a7e5}.lab-grid{gap:18px}.breadcrumb{font-size:13px;color:#6f687e;margin:0 0 15px}.breadcrumb a{text-decoration:underline}.lab-hero{border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 36px;min-height:200px;overflow:hidden}.lab-hero>div{position:relative}.lab-badge{width:60px;height:60px;margin-bottom:8px}.lab-hero h1{font-size:clamp(36px,5vw,55px);margin:6px 0 8px}.lab-hero .lab-character{width:220px;max-height:200px;object-fit:contain}.lab-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:24px 0;padding-bottom:9px;overflow:auto}.lab-tabs button{background:transparent;border:0;padding:10px 17px;white-space:nowrap}.lab-tabs button.active{background:#e8e2f6;color:#33256b}.lab-tabs img{width:26px}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.lesson-card,.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px;box-shadow:var(--shadow)}.lesson-card{min-height:190px;position:relative;padding-top:26px}.lesson-card h2{font-size:22px;margin:12px 0}.lesson-card p{font-size:15px}.lesson-num{font-size:12px;font-weight:800;color:#6d5aab;letter-spacing:.12em;border-radius:8px;padding:5px 8px;background:#f0ecfa}.lesson-next{margin-top:18px;background:#e9efdf;border-radius:18px;padding:12px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px}.lesson-next>div{display:flex;align-items:center;gap:12px}.lesson-next img{height:64px;width:64px}.panel h2{margin-bottom:18px}.panel h3{margin-bottom:12px}.panel p+p{margin-top:10px}details{margin-top:18px;background:#f8f6fc;border-radius:12px;padding:14px;line-height:1.6}summary{cursor:pointer;font-weight:700}details p{margin-top:10px}.mission{max-width:850px}.mission-top{display:flex;align-items:center;gap:12px}.mission-top img{width:72px;height:72px}.answers{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.answers .correct{background:#d9f1bc;border-color:#9cbd6f}input:not([type=file]):not([type=range]),select,textarea{padding:10px 12px;border:1px solid #dcd9e3;border-radius:10px;background:#fff;color:var(--ink);min-height:42px;width:100%;max-width:100%}textarea{min-height:90px;resize:vertical}label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:650;margin:12px 0}label.btn{flex-direction:row;margin:0}input[type=range]{width:100%;accent-color:#5948b1;cursor:pointer}progress{width:100%;accent-color:#6653b6;height:13px}.formrow{display:flex;gap:14px}.formrow label{flex:1}.agenda-row{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--line);min-height:54px}.agenda-row img{width:40px;height:40px}.agenda-row span:first-child{width:60px;color:#665c78;font-size:13px}.agenda-row span:last-child{margin-left:auto}.agenda-row:hover{background:#f8f7fc}.experiment h2{margin-bottom:16px}.experiment-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:24px;align-items:start}.experiment-split canvas,.experiment-split svg{width:100%;height:auto;display:block;border:1px solid var(--line);border-radius:14px;background:#f9f8f5}.experiment-split>div{min-width:0}.output{background:#f0edf8;border-radius:12px;padding:14px;font-weight:700;margin-top:14px;color:#352d62!important;white-space:pre-wrap;overflow-wrap:anywhere}.media-stage{position:relative}.sample-row{display:flex;gap:8px;margin-top:12px}.sample-row button{padding:3px;min-height:50px}.sample-row img{width:64px;height:47px;object-fit:cover;border-radius:7px}.prep{display:flex;align-items:center;gap:12px;background:#f6f4fb;padding:14px;border-radius:12px;margin-top:14px}.prep img{width:58px;height:58px}.prep>div{flex:1}.prep small{display:block}.game-stage{display:grid;grid-template-columns:150px 1fr;gap:25px;align-items:center}.game-stage img{max-height:180px}.data-grid,.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.fruit{display:flex;flex-direction:column;padding:16px;background:#f8f5ec}.fruit span{font-size:42px}.tree{text-align:center;padding:12px}.tree-root{display:inline-block;background:#493887;color:#fff;font-weight:700;padding:14px 20px;border-radius:12px}.branches{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px;position:relative}.branches>div{padding:20px;border-radius:14px;background:#f4f1fb;min-height:125px}.fruit-dot{display:inline-grid;place-items:center;border-radius:50%;background:#c6df9f;margin:3px;font-size:11px;font-weight:700}.maze{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:3px;background:#eceaf3;padding:8px;border-radius:12px;max-width:440px}.maze button,.maze>div{min-height:0;aspect-ratio:1;padding:0;border-radius:4px;background:#fff;border:1px solid #dfdce7;display:grid;place-items:center;font-size:16px;transition:none}.maze button:hover{transform:none;background:#e9e2f7}.maze .wall{background:#3e3a59;border-color:#3e3a59}.maze .visited{background:#b7ccf3}.maze .path{background:#b8e374}.maze .trap{background:#f3b8a9}.sample-bars{display:grid;gap:6px;margin-top:15px}.sample-bars>div{display:grid;grid-template-columns:70px 1fr 35px;gap:9px;align-items:center;font-size:12px}.sample-bars i{height:12px;border-radius:8px}.metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:20px}.metric-grid>div{display:grid;gap:8px;border:1px solid var(--line);padding:12px;border-radius:10px;text-align:center}.metric-grid span{font-size:11px;color:#68617a}.metric-grid strong{font-size:22px}.tokens{display:flex;flex-wrap:wrap;gap:8px;padding:16px;background:#f4f0fc;border-radius:12px;margin:12px 0}.tokens span{background:#e0d5f5;border-radius:8px;padding:10px 12px;font-weight:700}.coming{display:flex;align-items:center;gap:12px;padding:10px;background:#f4f0f7;margin-top:12px;border-radius:12px}.coming img{width:75px}.project-tile{padding:14px;border-radius:14px;border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:8px;background:#f9f7fc;text-align:center}.project-tile img{height:115px}.project-tile span{margin-left:auto}.sketch-top,.studio-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.sketch-top h2,.studio-head h2{margin:7px 0 0}.sketch-top .actions,.studio-head .actions{margin:0}.rounds{display:flex;gap:6px;margin:18px 0}.rounds span{flex:1;height:7px;border-radius:10px;background:#dedbe5}.rounds .win{background:#a5d666}.rounds .miss{background:#edb0a8}.rounds .current{background:#6c55c6}.draw-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.draw-top h2{margin:4px 0 0}.draw-top span{font-size:13px;color:var(--muted)}.clock{font-size:30px;font-variant-numeric:tabular-nums;color:#5c479f}.sketch canvas{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;background:#fff;border:2px solid #dedbe5;border-radius:15px;touch-action:none}.draw-tools{justify-content:center}.guess{display:flex;align-items:center;gap:13px;background:#f1ecfa;border-radius:16px;padding:9px 14px;margin:18px 0}.guess img{width:75px;height:75px}.guess p{font-size:18px;font-weight:700;color:#352a5e}.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.review-grid>div{padding:10px;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;gap:5px}.review-grid img,.review-grid svg{height:100px;width:100%;object-fit:contain}.muted-button{opacity:.4}.studio{background:white;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow)}.studio-mode{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0}.studio-mode select{max-width:340px}.studio-help{background:#f1edf9;border-radius:14px;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 15px;margin-bottom:16px}.studio-help>div:first-child{display:flex;align-items:center;gap:10px}.studio-help img{width:58px;height:58px}.studio-help p{font-size:13px}.studio-help .actions{margin:0;flex-wrap:nowrap}.category-strip{display:flex;overflow:auto;gap:6px;margin:8px 0;padding-bottom:4px}.category-strip button{white-space:nowrap;min-height:38px;font-size:13px}.block-tray{display:flex;gap:12px;overflow:auto;padding:10px 7px 15px;min-height:90px;align-items:center}.tray-block{width:86px;min-width:86px;height:58px;padding:0;border:0;border-radius:9px;background:#f7f5fb;position:relative}.tray-block img{height:54px;width:86px;object-fit:contain}.tray-block.mismatch{opacity:.52}.tray-block.suggested{outline:3px solid #94bc5b;outline-offset:3px}.tooltip{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);z-index:8;background:#252039;color:#fff;white-space:nowrap;border-radius:6px;padding:5px 8px;font-size:11px;display:none;pointer-events:none}.tray-block:hover .tooltip,.tray-block:focus-visible .tooltip,.puzzle-piece:hover .tooltip,.puzzle-piece:focus-visible .tooltip{display:block}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,.42fr);gap:15px}.workspace{display:flex;align-items:center;gap:0;min-height:260px;padding:30px 20px;overflow:auto;background-color:#f9f8fb;background-image:radial-gradient(#d8d4e5 1px,transparent 1px);background-size:16px 16px;border:1px solid #e5e0ed;border-radius:15px}.workspace.reject{box-shadow:inset 0 0 0 3px #dd7373}.puzzle-piece{flex:none;position:relative;display:grid;place-items:center;width:108px;height:73px;padding:5px 15px;cursor:pointer;--block:#426cbb;isolation:isolate}.puzzle-piece.vision{--block:#7254b8}.puzzle-piece.logic{--block:#ce8737}.puzzle-piece.language{--block:#278b82}.puzzle-piece.output{--block:#c64b83}.piece-shape{position:absolute;inset:0;z-index:-1;background:var(--block);border-radius:10px;clip-path:polygon(0 0,100% 0,100% 30%,93% 30%,93% 70%,100% 70%,100% 100%,0 100%,0 69%,8% 69%,8% 31%,0 31%);box-shadow:inset 0 -4px #0002}.puzzle-piece:first-child .piece-shape{clip-path:none}.puzzle-piece img{width:70px;height:39px;object-fit:contain;pointer-events:none}.piece-name{font-size:10px;color:white;font-weight:750;line-height:1.1;text-align:center}.socket,.plug{position:absolute;top:27px;width:16px;height:20px;border-radius:4px;display:grid;place-items:center;background:var(--port);color:white;font-size:9px;font-weight:800;z-index:2;box-shadow:0 0 0 1px #fff7}.socket{left:-1px;box-shadow:inset 2px 2px 4px #0003;opacity:.9}.plug{right:-8px;border-radius:3px 7px 7px 3px;z-index:4}.puzzle-piece.selected{filter:drop-shadow(0 0 4px #6551b5)}.puzzle-piece.selected .piece-shape{outline:3px solid #c7e777;filter:brightness(1.13)}.puzzle-piece.running{animation:pulse .6s infinite alternate}@keyframes pulse{to{filter:drop-shadow(0 0 8px #a8dc59)}}.dropzone{flex:none;margin-left:12px;width:50px;height:58px;border:2px dashed #bdb5d6;border-radius:11px;display:grid;place-items:center;font-size:23px;color:#7869a3}.studio-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;font-size:12px;color:#675a8d}.block-options{padding:14px}.block-options .actions{justify-content:space-between;margin:0}.block-options label{margin-bottom:6px}.preview{padding:15px}.preview-stage{min-height:150px;border-radius:12px;background:#f6f5fa;display:grid;place-items:center;padding:12px;overflow:hidden}.preview-stage img{width:190px}.preview-stage p{font-weight:750;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.trace{font-size:12px;color:#5b7350;display:grid;gap:5px;margin-top:12px}.preview video{width:100%;max-height:140px}.preview .prep{flex-direction:column}.footer-brand{display:flex;align-items:center;font-weight:800;color:#3b2a70;gap:8px}.footer-brand img{width:32px;height:32px}footer{border-top:1px solid var(--line);background:#f3f0e9}footer>div{max-width:1320px;margin:auto;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:20px 44px;color:#686577;font-size:12px}#toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,30px);background:#2f2853;color:#fff;box-shadow:0 4px 25px #0003;border-radius:12px;padding:12px 18px;z-index:100;opacity:0;pointer-events:none;transition:all .18s;max-width:90vw;font-size:14px}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:18px;padding:24px;width:min(90vw,420px);box-shadow:0 10px 40px #0003}dialog::backdrop{background:#201a3f88}dialog p{margin:10px 0}dialog h2{font-size:25px}
@media(max-width:1000px){.topbar{gap:12px;padding:10px 20px}.brand{flex-basis:145px;width:145px}.topbar nav{gap:2px}.topbar nav a{padding:7px;gap:4px;font-size:12px}.topbar nav a img{width:22px;height:22px}main{padding:26px 24px 54px}.hero{min-height:310px}.home-grid,.lab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.lab-card-text{padding:12px}.lab-art img{width:96px;height:96px}.lab-art{min-height:110px}.lab-card h3{font-size:16px}.journey{grid-template-columns:repeat(3,1fr)}}
@media(max-width:740px){#top{position:sticky}.topbar{padding:8px 14px;display:grid;grid-template-columns:1fr auto;gap:7px;min-height:0}.brand{width:155px;max-width:155px}.topbar nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:4px;overflow:auto;flex-wrap:nowrap;scrollbar-width:none}.topbar nav a{flex:1;flex-direction:column;gap:2px;padding:5px 6px;font-size:10px;min-height:48px;min-width:48px}.topbar nav a img{width:22px;height:22px}.top-actions{grid-column:2;grid-row:1}.top-actions img{width:23px;height:23px}main{padding:18px 14px 44px}.hero{grid-template-columns:1fr;gap:0;padding:20px;min-height:0;border-radius:21px}.hero-copy{padding:0}.hero h1{font-size:clamp(40px,11vw,59px);margin:13px 0}.hero p{font-size:15px}.hero-visual img{max-height:210px;width:100%}.hero-caption{font-size:12px}.hero .actions{gap:8px}.hero .btn{padding:9px 12px;font-size:13px}.section-heading{margin:30px 0 14px}.section-heading h2{font-size:23px}.home-grid,.lab-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lab-art{min-height:100px;padding:8px}.lab-art img{width:88px;height:88px}.lab-card-text{padding:12px}.lab-card p{font-size:12px}.feature{grid-template-columns:85px 1fr;gap:15px;padding:18px;margin-top:24px}.feature img{height:auto;width:100%}.feature h2{font-size:22px}.feature p{font-size:13px}.feature .btn{font-size:12px;padding:8px 10px}.journey{gap:7px}.journey a{padding:11px 8px}.journey a strong{font-size:13px}.page-intro{grid-template-columns:1fr 95px;padding:20px;gap:8px}.page-intro img{height:100px}.page-intro h1{font-size:32px}.page-intro p{font-size:13px}.lab-hero{padding:18px;min-height:150px;gap:5px}.lab-hero .lab-character{width:110px;max-height:150px}.lab-badge{width:44px;height:44px}.lab-hero h1{font-size:34px}.lab-hero p{font-size:14px}.lab-tabs{margin:16px 0;padding-bottom:7px;gap:3px}.lab-tabs button{padding:8px 11px;font-size:12px}.lab-tabs img{width:21px;height:21px}.lesson-grid{grid-template-columns:1fr;gap:10px}.lesson-card,.panel{padding:17px}.lesson-card{min-height:0}.lesson-card h2{font-size:21px}.lesson-next{padding:12px;flex-wrap:wrap}.lesson-next>div{gap:5px}.lesson-next img{width:45px;height:45px}.lesson-next strong{font-size:13px}.lesson-next .primary{font-size:12px}.experiment-split{grid-template-columns:1fr;gap:15px}.game-stage{grid-template-columns:75px 1fr;gap:10px}.game-stage h2{font-size:21px}.data-grid,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.metric-grid strong{font-size:19px}.sketch-top,.studio-head{align-items:start;flex-wrap:wrap}.sketch-top h2{font-size:22px}.sketch-top .actions select{width:auto;max-width:120px}.sketch canvas{aspect-ratio:5/3}.draw-tools button{font-size:12px;padding:8px 10px}.guess img{width:55px;height:55px}.guess p{font-size:15px}.studio{padding:12px}.studio-grid{grid-template-columns:1fr}.studio-help{padding:9px;align-items:start}.studio-help img{width:36px;height:36px}.studio-help p{font-size:12px}.studio-help button{font-size:12px;padding:6px 9px}.studio-mode{gap:6px;margin:12px 0}.studio-mode select{max-width:none}.workspace{min-height:190px;padding:22px 10px}.puzzle-piece{width:98px;height:70px}.studio-head .actions button,.studio-head .actions label{font-size:12px;padding:7px 9px}.studio-head .actions img{width:19px;height:19px}.block-tray{gap:8px}.tray-block{width:72px;min-width:72px}.tray-block img{width:72px}.preview-stage{min-height:120px}.preview-stage img{width:120px}footer>div{padding:16px 14px;gap:10px}.review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.lesson-visual{display:flex;align-items:start;justify-content:space-between;gap:12px;min-height:85px;background:#f6f4fa;border-radius:12px;padding:9px}.lesson-visual img{width:95px;height:85px;object-fit:contain}.lesson-card .lesson-visual .lesson-num{align-self:start}.puzzle-piece{margin-right:0}.puzzle-piece .piece-shape{clip-path:polygon(0 0,92% 0,92% 29%,100% 29%,100% 71%,92% 71%,92% 100%,0 100%,0 71%,8% 71%,8% 29%,0 29%)}.puzzle-piece:first-child .piece-shape{clip-path:polygon(0 0,92% 0,92% 29%,100% 29%,100% 71%,92% 71%,92% 100%,0 100%)}.puzzle-piece:last-of-type .piece-shape{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 71%,8% 71%,8% 29%,0 29%)}.puzzle-piece .socket{left:0;width:9px;box-shadow:none;opacity:0}.puzzle-piece .plug{right:0;width:17px;top:23px;height:27px}.puzzle-piece+.puzzle-piece{margin-left:-8px}.puzzle-piece .piece-name{display:none}.puzzle-piece img{width:78px;height:51px}.puzzle-piece.selected .piece-name{display:block;position:absolute;bottom:5px}.puzzle-piece.selected img{height:40px;transform:translateY(-4px)}.studio-help strong{font-size:14px}.block-tray .tooltip{position:fixed;bottom:auto;top:auto;transform:none;left:auto;margin-top:65px}.preview-stage canvas{height:auto;max-width:100%;display:block}

/* AIVENTOR 1.1 — compact, content-first layout. */
:root{--ink:#282443;--deep:#47338d;--purple:#5d49a4;--line:#e7e2ed;--muted:#625d73;--shadow:0 3px 0 #34205b08;background:#f8f7f3;color:var(--ink)}
#top{background:#fffdf9f7}.topbar{max-width:1480px;min-height:68px;padding:8px 26px;gap:20px}.brand{width:154px;flex-basis:154px}.topbar nav{gap:3px}.topbar nav a{padding:7px 10px;min-height:44px;font-size:13px}.topbar nav a[aria-current]{background:#eee9fa;box-shadow:inset 0 -2px #6b53bc}.topbar nav a img{width:28px;height:28px}.top-actions{gap:3px}main{max-width:1440px;padding:22px 28px 40px;min-height:calc(100vh - 160px)}.eyebrow{font-size:10px;letter-spacing:.09em;line-height:1.3}.eyebrow img{width:22px;height:22px}h2{font-size:clamp(21px,2.4vw,30px)}p{line-height:1.5}.home-top{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:15px}.hero{min-height:0;grid-template-columns:1.1fr .9fr;gap:0;padding:18px 18px 18px 24px;border-radius:22px;background:#ece7fa;border:1px solid #dfd6f0;align-items:center}.hero-copy{padding:4px 0}.hero h1{font-size:clamp(33px,4.2vw,59px);margin:12px 0 10px;letter-spacing:-.052em;line-height:1.05}.hero h1 em{background:#d8f38e;padding:0 6px}.hero p{font-size:15px;line-height:1.5;max-width:370px}.hero .actions{margin-top:15px;gap:7px}.hero .btn{font-size:13px;padding:9px 12px}.hero-visual{align-self:center;min-width:0;display:flex;align-items:center;justify-content:center}.hero-visual img{width:100%;max-height:262px;object-fit:contain}.daily-mission{display:flex;flex-direction:column;position:relative;min-height:254px;border-radius:22px;background:#33266b;color:#fff;overflow:hidden;padding:20px;border:1px solid #33266b;isolation:isolate}.daily-mission .eyebrow{color:#ddf58f}.daily-mission h2{font-size:29px;margin:9px 0 6px;position:relative;z-index:2}.daily-mission p{color:#e2dbfb;font-size:14px;max-width:56%;position:relative;z-index:2}.daily-art{position:absolute;bottom:8px;right:-6px;width:53%;height:78%;object-fit:contain;z-index:-1}.daily-cta{margin-top:auto;align-self:flex-start;background:#d7f38a;color:#2d2354;font-weight:800;border-radius:10px;padding:10px 14px;font-size:13px;position:relative;z-index:2}.daily-cta span{padding-left:10px}.daily-mission:hover .daily-art{transform:rotate(-3deg) scale(1.04);transition:transform .2s}.section-heading{margin:23px 0 12px;align-items:center}.section-heading h2{margin:0}.section-heading p{margin:3px 0 0;font-size:13px}.section-heading .text-link{font-size:13px}.home-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lab-card{display:flex;flex-direction:row;align-items:stretch;border-radius:15px;min-height:112px;box-shadow:none;position:relative}.lab-card:hover{transform:translateY(-2px);box-shadow:0 5px 12px #30236b15;border-color:#c6b8e5}.lab-art{width:105px;min-height:0;flex:0 0 105px;display:flex;align-items:center;justify-content:center;padding:10px;background:#ece8fa}.lab-art img{width:85px;height:85px}.lab-card-text{padding:13px 13px 10px;min-width:0;gap:0}.lab-card h3{font-size:17px;line-height:1.2}.lab-card p{font-size:12px;margin:4px 0 6px;line-height:1.35}.card-meta{font-size:11px}.circle-arrow{width:25px;height:25px;font-size:15px}.done{top:5px;right:5px;width:22px;height:22px;font-size:12px}.home-bottom{display:grid;grid-template-columns:1.05fr 1fr;gap:12px;margin-top:18px}.studio-callout{display:flex;gap:12px;align-items:center;border:1px solid #e4d8ee;background:#f0e7f6;border-radius:18px;padding:12px 16px;min-height:165px}.studio-callout>img{width:140px;height:140px;flex-shrink:0}.studio-callout h2{margin:4px 0;font-size:25px}.studio-callout p{font-size:13px;line-height:1.45;margin:4px 0 10px}.studio-callout .text-link{font-size:13px}.path-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 17px}.path-card h3{font-size:19px;margin:6px 0}.path-card progress{width:100%;height:7px;accent-color:#7354c7}.path-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:9px}.path-links a{display:flex;gap:6px;align-items:center;background:#f4f1fa;padding:6px 7px;border-radius:6px;font-size:11px;font-weight:700;min-width:0}.path-links span{color:#7b66a9;font-size:10px}.path-links b{margin-left:auto}.page-intro{padding:16px 22px;grid-template-columns:1fr 170px;gap:12px;border-radius:18px;margin-bottom:14px}.page-intro img{height:114px}.page-intro h1{font-size:clamp(29px,3.4vw,46px);margin:5px 0}.page-intro p{font-size:14px}.filterbar{margin:12px 0;gap:10px}.filterbar input{max-width:245px}.lab-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.lab-grid .lab-art{width:84px;flex-basis:84px;padding:6px}.lab-grid .lab-art img{width:70px;height:70px}.lab-grid .lab-card h3{font-size:15px}.lab-grid .lab-card-text{padding:11px 9px 8px}.lab-grid .lab-card{min-height:108px}.breadcrumb{margin-bottom:8px;font-size:12px}.lab-hero{min-height:0;padding:12px 20px;border-radius:18px;gap:10px}.lab-hero>div{display:grid;grid-template-columns:66px 1fr;column-gap:13px;align-items:center;flex:1}.lab-badge{grid-column:1;grid-row:1/4;width:66px;height:66px;margin:0}.lab-hero .eyebrow,.lab-hero h1,.lab-hero p{grid-column:2}.lab-hero h1{font-size:clamp(27px,3.1vw,42px);margin:2px 0 3px}.lab-hero p{font-size:14px}.lab-hero .lab-character{width:115px;height:110px;flex:0 0 115px}.lab-tabs{margin:12px 0;gap:8px;padding:0 0 8px}.lab-tabs button{min-height:40px;padding:7px 14px}.lesson-card,.panel{padding:17px;border-radius:16px}.lesson-card{min-height:0}.lesson-card h2{font-size:20px;margin:10px 0 7px}.lesson-card p{font-size:14px}.lesson-visual{min-height:88px;align-items:center;justify-content:space-between;background:#f1ecfa;padding:7px 12px}.lesson-visual img{width:95px;height:81px}.lesson-next{padding:10px 15px;margin-top:12px}.lesson-next img{width:48px;height:48px}.lesson-grid{gap:12px}.experiment-split{gap:14px}.experiment-split>div{min-width:0}.panel h2{margin-bottom:12px}.panel h3{margin-bottom:8px}main[data-tab="experiment"] .lab-hero .lab-character{height:70px;width:85px;flex-basis:85px}main[data-tab="experiment"] .lab-hero{padding:9px 16px}main[data-tab="experiment"] .lab-hero h1{font-size:30px}main[data-tab="experiment"] .lab-badge{width:52px;height:52px}main[data-tab="experiment"] .lab-hero>div{grid-template-columns:52px 1fr}.studio{padding:14px}.studio-head h2{font-size:22px}.studio-head .actions button,.studio-head .actions label{padding:7px 10px;min-height:38px;font-size:12px}.studio-mode{margin:10px 0;gap:8px}.studio-help{padding:8px 12px;margin-bottom:8px}.studio-help img{width:42px;height:42px}.studio-help p{line-height:1.35}.category-strip{margin:6px 0 0;gap:6px}.category-strip button{min-height:34px;padding:5px 11px}.block-tray{min-height:66px;padding:6px 7px 10px;gap:8px}.tray-block{width:82px;min-width:82px;height:52px}.tray-block img{width:76px;height:48px}.workspace{min-height:178px;align-items:center;padding:18px 15px;border-color:#dfd7ea}.studio-grid{grid-template-columns:minmax(0,1fr) minmax(240px,.36fr);gap:12px}.preview.panel{padding:12px}.preview-stage{min-height:110px}.preview-stage img{width:135px}.studio-bottom{min-height:40px}.block-options{padding:12px}.puzzle-piece{width:112px;height:76px}.puzzle-piece img{width:64px;height:45px}.puzzle-piece .piece-shape{clip-path:polygon(0 0,88% 0,88% 30%,100% 30%,100% 70%,88% 70%,88% 100%,0 100%,0 70%,12% 70%,12% 30%,0 30%);border-radius:8px}.puzzle-piece:first-child .piece-shape{clip-path:polygon(0 0,88% 0,88% 30%,100% 30%,100% 70%,88% 70%,88% 100%,0 100%)}.puzzle-piece:last-of-type .piece-shape{clip-path:polygon(0 0,88% 0,88% 30%,100% 30%,100% 70%,88% 70%,88% 100%,0 100%,0 70%,12% 70%,12% 30%,0 30%)}.puzzle-piece+.puzzle-piece{margin-left:-13.44px}.puzzle-piece .plug{width:13px;right:0;top:23px;height:30px;box-shadow:none;border-radius:0 3px 3px 0}.puzzle-piece[data-terminal="true"] .piece-shape{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 70%,12% 70%,12% 30%,0 30%)}.puzzle-piece .socket{width:13px}.sketch{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);gap:8px 16px;align-items:start}.sketch .sketch-top,.sketch .rounds,.sketch .draw-top{grid-column:1/-1}.sketch .draw-top{margin:0}.sketch canvas{grid-column:1;grid-row:4;max-height:355px;aspect-ratio:5/3}.sketch .draw-tools{grid-column:1;grid-row:5;margin:0}.sketch .guess{grid-column:2;grid-row:4/6;display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px;gap:10px;background:#eee9fa;border:1px solid #ddd5ee;border-radius:14px;margin:0}.sketch .guess img{width:128px;height:128px}.sketch .guess p{font-size:16px;line-height:1.4}.sketch #review,.sketch>p.muted{grid-column:1/-1}.sketch .rounds{margin:0}.sketch .draw-top h2{font-size:26px}.sketch .sketch-top h2{font-size:22px}.sketch .draw-tools button{padding:8px 12px;min-height:40px}.sketch .draw-tools .primary{margin-left:auto}footer>div{padding:12px 28px}.footer-brand img{width:28px;height:28px}
@media(max-width:1100px){.lab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-top{grid-template-columns:1.85fr 1fr}.hero{padding:16px}.hero h1{font-size:clamp(32px,4vw,49px)}.daily-mission{padding:16px}.daily-mission h2{font-size:25px}.topbar{gap:10px;padding:8px 16px}.topbar nav a{padding:6px}.topbar nav a img{width:23px;height:23px}.brand{width:130px;flex-basis:130px}}
@media(max-width:740px){.topbar{display:grid;grid-template-columns:1fr auto;gap:4px;padding:6px 12px}.brand{width:135px;max-width:135px}.topbar nav{justify-content:space-between;gap:2px;overflow-x:auto}.topbar nav a{min-width:44px;min-height:43px;padding:4px 5px;font-size:10px}.topbar nav a img{width:21px;height:21px}main{padding:12px 12px 24px}.home-top{grid-template-columns:1fr;gap:10px}.hero{grid-template-columns:1.1fr .9fr;padding:14px;gap:3px;min-height:0}.hero h1{font-size:clamp(28px,7.5vw,39px);margin:7px 0}.hero p{font-size:12px;line-height:1.45}.hero .eyebrow{font-size:8px}.hero .actions{margin-top:10px;gap:5px}.hero .btn{font-size:11px;padding:5px 8px;min-height:36px}.hero-visual img{max-height:172px}.daily-mission{min-height:134px;padding:13px 15px}.daily-mission h2{font-size:24px;margin:5px 0}.daily-mission p{font-size:12px;max-width:60%;margin-bottom:8px}.daily-art{width:36%;height:95%;right:3px;bottom:0}.daily-cta{padding:7px 10px;font-size:12px}.section-heading{margin:17px 0 9px;gap:5px}.section-heading h2{font-size:21px}.section-heading p{font-size:11px}.section-heading .text-link{font-size:11px}.home-grid,.lab-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lab-card,.lab-grid .lab-card{flex-direction:column;min-height:0}.lab-art,.lab-grid .lab-art{width:100%;flex:0 0 auto;height:75px;padding:4px}.lab-art img,.lab-grid .lab-art img{width:65px;height:65px}.lab-card-text,.lab-grid .lab-card-text{padding:9px 10px 7px}.lab-card h3,.lab-grid .lab-card h3{font-size:15px}.lab-card p{font-size:11px;margin:3px 0 4px}.card-meta{font-size:10px}.circle-arrow{width:22px;height:22px}.home-bottom{grid-template-columns:1fr;margin-top:11px;gap:9px}.studio-callout{padding:9px 12px;min-height:110px}.studio-callout>img{width:90px;height:90px}.studio-callout h2{font-size:21px}.studio-callout p{font-size:12px}.path-card{padding:12px}.page-intro{grid-template-columns:1fr 90px;padding:13px 14px;margin-bottom:9px}.page-intro img{height:88px}.page-intro h1{font-size:28px}.page-intro p{font-size:12px}.filterbar{gap:7px;margin:8px 0}.filterbar input{max-width:none}.chips button{padding:6px 9px;font-size:11px;min-height:33px}.lab-hero,.lab-hero[data-tab]{padding:10px 12px}.lab-hero>div{grid-template-columns:45px 1fr;column-gap:8px}.lab-badge{width:45px;height:45px}.lab-hero h1{font-size:28px}.lab-hero p{font-size:12px}.lab-hero .lab-character{width:75px;height:82px;flex-basis:75px}.lab-tabs{margin:8px 0;gap:3px;padding-bottom:5px}.lab-tabs button{padding:6px 9px;font-size:12px;min-height:36px}.lesson-grid{grid-template-columns:1fr;gap:8px}.lesson-card{display:grid;grid-template-columns:78px 1fr;gap:5px 10px;padding:11px}.lesson-visual{grid-row:1/3;min-height:76px;flex-direction:column;padding:5px;gap:2px;justify-content:center}.lesson-visual img{width:58px;height:54px}.lesson-num{padding:2px 4px;font-size:9px}.lesson-card h2{font-size:16px;margin:0}.lesson-card p{font-size:12px;line-height:1.5}.lesson-next{margin-top:8px;padding:8px}.lesson-next img{width:38px;height:38px}.lesson-next .primary{font-size:11px;padding:7px 9px}.panel,.studio{padding:11px}.studio-grid{grid-template-columns:1fr;gap:8px}.studio-head h2{font-size:19px}.studio-head .actions{gap:4px}.studio-head .actions button,.studio-head .actions label{min-height:36px;padding:6px 8px;font-size:11px}.studio-mode{margin:8px 0;gap:5px}.studio-help{padding:7px;gap:5px}.studio-help img{width:32px;height:32px}.studio-help p{font-size:11px}.studio-help strong{font-size:12px}.studio-help .actions{gap:4px}.studio-help button{padding:5px 7px;min-height:34px;font-size:11px}.category-strip button{font-size:11px;min-height:33px;padding:5px 8px}.block-tray{padding:5px 4px 8px;min-height:60px;gap:6px}.tray-block{width:68px;min-width:68px;height:46px}.tray-block img{width:62px;height:44px}.workspace{min-height:126px;padding:13px 10px}.puzzle-piece{width:96px;height:66px}.puzzle-piece+.puzzle-piece{margin-left:-11.52px}.puzzle-piece .plug{width:12px;top:20px;height:26px}.puzzle-piece img{width:56px;height:36px}.preview-stage{min-height:90px}.preview-stage img{width:96px}.sketch{display:flex;flex-direction:column;gap:8px}.sketch>*{width:100%}.sketch canvas{max-height:none;aspect-ratio:5/3}.sketch .guess{display:flex;flex-direction:row;text-align:left;padding:9px;gap:8px}.sketch .guess img{width:58px;height:58px}.sketch .guess p{font-size:14px}.sketch .draw-tools{gap:6px}.sketch .draw-tools button{min-height:36px;padding:6px 9px;font-size:12px}.sketch .draw-tools .primary{margin-left:0}.sketch .sketch-top h2{font-size:19px}.sketch .draw-top h2{font-size:23px}footer>div{padding:10px 12px}}
/* Keep card labels and metadata separated, including compact mobile screens. */
.lab-card-text{display:flex;flex-direction:column;justify-content:flex-start}.lab-card p{flex:0 0 auto}.card-meta{margin-top:auto;min-height:25px}.lab-card-text h3{overflow-wrap:anywhere}.lab-card-text p{overflow-wrap:anywhere}.lab-card:focus-visible{outline:3px solid #7960c6;outline-offset:2px}.daily-cta{margin-top:14px}.path-links a:hover{background:#e9dff8}.topbar nav a span{white-space:nowrap}.daily-mission:focus-visible{outline:3px solid #7c65cb;outline-offset:3px}
@media(max-width:740px){.lab-card-text,.lab-grid .lab-card-text{min-height:91px}.lab-card p{min-height:29px}.card-meta{min-height:24px}.hero .btn{min-height:40px}.daily-cta{margin-top:2px}.lab-hero>div{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.lab-hero .lab-badge{display:none}.lab-hero .lab-character{flex-shrink:0}.lab-hero p{max-width:100%}}
.lab-hero>.lab-identity,main[data-tab="experiment"] .lab-hero>.lab-identity{display:flex;flex:1;align-items:center;gap:13px;min-width:0}.lab-identity .lab-title-copy{min-width:0;flex:1}.lab-identity .lab-badge{flex-shrink:0}.lab-title-copy .eyebrow{display:block}.lesson-kicker{display:flex;align-items:center;gap:14px;margin:0 0 12px;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}.lesson-flow{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:1}.lesson-flow span{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:650}.lesson-flow span:not(:last-child)::after{content:'›';font-size:20px;color:#8b79b5;margin:0 5px}.lesson-flow b{display:grid;place-items:center;background:#e5ddfa;color:#50358f;width:24px;height:24px;border-radius:50%;font-size:11px}.studio-head .actions{flex-wrap:nowrap;flex:0 0 auto}.studio-head h2{margin:3px 0 0}.studio-mode .chips{flex:0 1 auto;align-items:center}.studio-mode .chips button{min-height:34px;max-height:42px}.studio-mode select{margin-left:auto}.workspace-header{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800;padding:0 1px 7px;gap:10px}.workspace-header small{font-size:11px;font-weight:400;text-align:right}.dropzone.finished{border-color:#94b65d;background:#e8f4d2;color:#375820}.type-tag{position:absolute;bottom:0;right:0;border-radius:4px;padding:1px 4px;background:var(--type-color);color:white;font-size:9px;font-weight:800;line-height:1.3}.tray-block.match{background:#f2edf9}.tray-block.match:hover{outline:2px solid #97be5f}.tray-block.mismatch:hover{outline:2px solid #dc8d8d}.studio-grid>div{min-width:0}.preview .trace{max-height:200px;overflow:auto}.preview-stage>p{font-size:24px;color:var(--deep)}
@media(max-width:740px){.lab-hero>.lab-identity,main[data-tab="experiment"] .lab-hero>.lab-identity{gap:8px}.lab-identity .lab-badge{display:block;width:36px;height:36px}.lab-hero .lab-character{width:70px;flex-basis:70px}.lab-hero h1{font-size:26px;overflow-wrap:anywhere}.lesson-kicker{display:block;padding:8px 10px}.lesson-flow{margin-top:6px;gap:4px}.lesson-flow span{font-size:10px}.lesson-flow b{width:19px;height:19px}.studio-head .actions{flex-wrap:wrap;flex:1 1 auto}.studio-mode select{margin-left:0}.workspace-header{font-size:11px}.workspace-header small{font-size:10px}.type-tag{font-size:8px}.preview .trace{max-height:120px}}
.studio-grid{align-items:start;grid-template-columns:minmax(0,1fr) minmax(255px,.45fr)}.studio-editor{border:1px solid #e5e0ed;border-radius:14px;padding:10px;background:#fcfbfe}.studio-editor .category-strip{margin:0}.studio-editor .workspace{min-height:205px}.studio-editor .block-tray{margin-bottom:5px}.studio-mode{justify-content:flex-start}.studio-mode .chips{flex-wrap:nowrap}.studio-head .actions{margin-left:auto}.preview.panel{background:#faf8fe}.preview-stage{min-height:190px;background:#fff;border:1px solid #e6e0ed}.preview-stage img{width:155px}.puzzle-piece .piece-shape{display:block;clip-path:none!important;box-shadow:none!important;background:none!important;border-radius:0;color:var(--block);width:100%;height:100%}.puzzle-piece img{width:37px;height:37px;margin-right:5px;filter:drop-shadow(0 2px 1px #0003)}.puzzle-piece.selected img{height:34px;transform:translateY(-5px)}.puzzle-piece.selected .piece-shape{outline:none;filter:brightness(1.15)}.puzzle-piece .plug{font-size:8px;top:30%;height:40%;width:12%;right:0}.puzzle-piece .socket{display:none}
.puzzle-piece+.puzzle-piece{margin-left:-13px}.puzzle-piece.selected .piece-name{max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-grid .preview h3{margin-bottom:9px}.studio-grid .preview{min-height:310px}.studio-grid .preview-stage>p{font-size:30px;font-weight:800;text-align:center}.studio-mode .chips button{flex:none}.workspace .puzzle-piece{flex:0 0 112px}
@media(max-width:740px){.studio-grid{grid-template-columns:1fr}.studio-editor{padding:7px}.studio-editor .workspace{min-height:144px}.studio-grid .preview{min-height:0}.preview-stage{min-height:105px}.preview-stage img{width:92px}.puzzle-piece+.puzzle-piece{margin-left:-11px}.workspace .puzzle-piece{flex-basis:96px}.puzzle-piece img{width:33px;height:33px}.studio-mode .chips{flex-wrap:wrap}.studio-head .actions{margin-left:0}}
/* V2 editorial story + utility-first workspaces */
:root{--ink:#252a3d;--deep:#393382;--purple:#574ac6;--line:#dfe2e8;--muted:#5a6274;background:#f5f6f9;color:var(--ink)}#top{background:#fff;backdrop-filter:none}.topbar{min-height:60px;padding:7px 26px;gap:18px;max-width:1550px}.brand{width:142px;flex-basis:142px}.topbar nav{gap:4px}.topbar nav a{padding:7px 12px;border-radius:8px}.topbar nav a img,.top-actions img{width:22px;height:22px}.topbar nav a[aria-current]{background:#ecebfa}button,.btn{border-radius:8px;box-shadow:none}main[data-page=home]{max-width:none;padding:0;overflow:clip}main:not([data-page=home]){max-width:1580px;padding:18px 28px 36px}.story-hero{background:#1e2543;color:#fff;overflow:hidden;position:relative}.story-inner{max-width:1320px;margin:auto;padding:36px 56px 18px;display:grid;grid-template-columns:1.12fr .88fr;min-height:440px;align-items:center;gap:22px}.story-copy{position:relative;z-index:2}.story-copy .eyebrow{color:#c6d4f4;letter-spacing:.15em}.story-copy h1{font-size:clamp(44px,5.4vw,78px);line-height:1.02;margin:20px 0 18px;letter-spacing:-.06em}.story-copy h1 em{color:#d0ef80;font-style:normal}.story-copy p{color:#d9e0f2;font-size:18px;max-width:510px}.story-copy .primary{background:#d0ef80!important;border-color:#d0ef80!important;color:#202b37!important}.story-outline{color:white;border-color:#75809d;background:transparent}.story-art,.chapter-art{position:relative;isolation:isolate;height:360px;--scroll:0;display:grid;place-items:center}.story-halo{position:absolute;width:76%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#6d7db945,transparent 70%);z-index:-2}.orbit-ring,.chapter-orbit{position:absolute;width:77%;aspect-ratio:1;border:1px solid #8596c45c;border-radius:50%;transform:translateY(calc(var(--scroll)*45px));z-index:-1}.ring2{width:94%;border-style:dashed;transform:translateY(calc(var(--scroll)*-30px))}.story-robot{width:min(68%,315px);height:340px;object-fit:contain;filter:drop-shadow(0 20px 25px #0b12274d);transform:translateY(calc(var(--scroll)*-28px));z-index:1}.floating{position:absolute;width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 9px 12px #15234424);transform:translateY(calc(var(--scroll)*60px));z-index:2}.floating.layer-slow{transform:translateY(calc(var(--scroll)*-32px))}.f1{top:12%;left:8%;rotate:-12deg}.f2{right:6%;top:23%;rotate:13deg}.f3{bottom:10%;right:10%;rotate:8deg}.story-coordinate{position:absolute;bottom:0;left:3%;font-size:10px;letter-spacing:.18em;color:#afc0e4}.story-bottom{max-width:1320px;margin:auto;padding:13px 56px 18px;border-top:1px solid #ffffff24;display:flex;justify-content:space-between;font-size:13px;color:#d5dcef}.story-bottom a{color:#d0ef80;font-weight:700}.chapter{scroll-margin-top:80px;padding:0 28px;background:#f5f6f9}.chapter-inner{max-width:1208px;margin:auto;padding:26px 0 25px}.chapter-scene{display:grid;grid-template-columns:1fr .65fr;align-items:center;overflow:hidden;min-height:220px;padding:14px 34px;border-radius:14px;background:var(--scene);color:var(--scene-ink)}.chapter.mint{--scene:#dceee6;--scene-ink:#214e44}.chapter.peach{--scene:#f4e8d4;--scene-ink:#654126}.chapter.blue{--scene:#e1e9f8;--scene-ink:#263e71}.chapter.violet{--scene:#e9e3f8;--scene-ink:#44346f}.chapter-index{font-size:12px;font-weight:800;letter-spacing:.15em}.chapter-copy h2{font-size:clamp(29px,3.6vw,54px);margin:8px 0 12px;line-height:1.08;letter-spacing:-.05em;max-width:690px}.chapter-copy p{color:var(--scene-ink);max-width:520px}.chapter-art{height:220px}.chapter-robot{width:55%;height:205px;transform:translateY(calc(var(--scroll)*-22px));z-index:1}.chapter-art .floating{width:48px;height:48px}.chapter-orbit{width:59%;border-color:#2e396d26}.chapter-divider{display:flex;align-items:center;justify-content:space-between;padding:16px 2px 9px;color:#5b6072;font-size:11px;font-weight:800;letter-spacing:.13em}.chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.chapter-grid .lab-card{display:flex;flex-direction:row;align-items:center;border-radius:10px;min-height:106px;box-shadow:none}.chapter-grid .lab-art{width:76px;min-width:76px;min-height:0;height:76px;background:transparent;padding:7px}.chapter-grid .lab-art img{width:63px;height:63px}.chapter-grid .lab-card-text{padding:10px 8px 9px 0;min-width:0}.chapter-grid .lab-card h3{font-size:16px}.chapter-grid .lab-card p{font-size:12px;line-height:1.35;margin:4px 0}.chapter-grid .card-meta{min-height:24px;font-size:11px}.chapter-grid .circle-arrow{width:23px;height:23px}.story-end{background:#232b47;color:#fff;padding:34px 28px;text-align:center}.story-end .actions{justify-content:center}.story-end .btn:not(.primary){color:#252a3d}.story-end h2{font-size:32px}.lab-hero,main[data-tab=experiment] .lab-hero{padding:9px 16px;border-radius:10px;min-height:0;max-height:98px;background:#fff!important;border:1px solid var(--line);box-shadow:none}.lab-hero .lab-character{display:none}.lab-hero h1{font-size:29px}.lab-hero p{font-size:13px}.lab-hero .lab-badge{width:48px;height:48px}.lab-tabs{margin:8px 0 12px;border-bottom:1px solid #d8dce4;padding-bottom:6px}.lab-tabs button{border-radius:7px}.panel,.experiment,.studio{border-radius:10px;box-shadow:none}.experiment{padding:14px 18px}.experiment h2{font-size:22px;margin:0 0 12px}.experiment-split{grid-template-columns:minmax(0,1.65fr) minmax(245px,.7fr);align-items:start}.experiment-split canvas{max-height:unset}.lesson-card,.lab-card{border-radius:10px;box-shadow:none}.lesson-card h2{font-size:19px}.lesson-visual{background:#f0f2f6;min-height:125px}.studio-editor .workspace{min-height:340px;background-color:#f5f6fa;background-image:radial-gradient(#c6cbd9 1px,transparent 1px);background-size:16px 16px}.studio-grid{grid-template-columns:minmax(0,1.7fr) minmax(255px,.65fr)}.studio-grid .preview{min-height:390px}.studio-editor{border-radius:9px}.studio-help{border-radius:8px}.preview-stage{min-height:235px}.category-strip button{border-radius:7px}.tray-block{border-radius:7px}.lab-grid .lab-card:hover,.chapter-grid .lab-card:hover{transform:translateY(-2px)}
@media(max-width:1000px){.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-inner{padding:30px 28px 18px}.story-bottom{padding:12px 28px}.studio-grid{grid-template-columns:1fr 280px}}
@media(max-width:740px){.topbar{padding:6px 10px;gap:4px}.brand{width:125px}.topbar nav a{padding:4px 5px;font-size:10px}.topbar nav a img{width:20px;height:20px}main:not([data-page=home]){padding:10px 10px 25px}.story-inner{grid-template-columns:1fr;padding:28px 18px 8px;gap:0;min-height:0}.story-copy h1{font-size:clamp(39px,10vw,60px);margin:14px 0}.story-copy p{font-size:15px}.story-art{height:235px}.story-robot{height:215px;width:55%}.story-art .floating{width:54px;height:54px}.story-bottom{padding:10px 18px;font-size:11px}.chapter{padding:0 12px}.chapter-inner{padding:16px 0}.chapter-scene{grid-template-columns:1fr .55fr;padding:15px 12px;min-height:157px}.chapter-copy h2{font-size:27px}.chapter-copy p{font-size:12px;line-height:1.45}.chapter-art{height:145px}.chapter-robot{width:88%;height:135px}.chapter-art .floating{width:27px;height:27px}.chapter-art .f1{left:-3%}.chapter-grid{gap:7px}.chapter-grid .lab-card{align-items:center;min-height:98px}.chapter-grid .lab-art{width:49px;min-width:49px;height:49px;padding:4px}.chapter-grid .lab-art img{width:42px;height:42px}.chapter-grid .lab-card h3{font-size:13px}.chapter-grid .lab-card p{font-size:10px}.chapter-grid .card-meta{font-size:10px}.story-end h2{font-size:23px}.lab-hero h1{font-size:23px}.lab-hero p{font-size:11px}.experiment-split,.studio-grid{grid-template-columns:1fr}.experiment{padding:10px}.studio-grid .preview{min-height:0}.studio-editor .workspace{min-height:220px}.preview-stage{min-height:130px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;scroll-behavior:auto!important;transition-duration:.001ms!important}.story-robot,.chapter-robot,.floating,.orbit-ring,.chapter-orbit{transform:none!important}}
.neural-lab{padding:18px}.neural-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:14px}.neural-toolbar h2{font-size:23px;margin:6px 0 0}.neural-toolbar .actions{margin:0}.neural-layout{display:grid;grid-template-columns:190px minmax(0,1.35fr) minmax(0,1fr);gap:18px;align-items:start}.neural-controls{background:#f4f5f9;padding:12px;border-radius:8px}.neural-controls h3{font-size:14px;margin:0 0 10px}.neural-controls label{font-size:12px;margin:10px 0;display:block}.neural-controls details{margin-top:12px}.neural-controls input,.neural-controls select{width:100%}.dataset-picks{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.dataset-picks button{display:flex;flex-direction:column;gap:3px;padding:3px;min-width:0}.dataset-picks button.active{border:2px solid #5144bc;background:#e8e7fa}.dataset-picks canvas{width:100%;border-radius:3px}.dataset-picks small{font-size:10px}.arch-row{display:flex;align-items:center;gap:4px;margin-bottom:5px}.arch-row span{flex:1;font-size:12px}.arch-row button{padding:3px 7px;min-height:30px}.neural-visual svg{display:block;width:100%;background:#f5f7fb;border:1px solid #e2e6ef;border-radius:6px;min-height:200px}.neural-visual canvas,.neural-output canvas{width:100%;display:block;border-radius:6px}.neural-visual input{width:100%}.neural-visual label{font-size:12px;display:block;margin-top:10px}.nlegend{display:flex;gap:14px;margin:8px 0 18px;font-size:11px}.nlegend span:first-child{color:#3268c8}.nlegend span:last-child{color:#b56823}.neural-tip{font-size:13px;line-height:1.5;padding:10px 12px;border-left:3px solid #a1bf55;background:#eef3e3;margin-top:10px}.neural-output .muted{font-size:12px;line-height:1.45;margin-top:8px}.neural-lab h3{letter-spacing:0}@media(max-width:1000px){.neural-layout{grid-template-columns:165px 1fr}.neural-output{grid-column:2}.neural-output canvas{max-width:360px}}@media(max-width:740px){.neural-layout{grid-template-columns:1fr;gap:12px}.neural-output{grid-column:auto}.neural-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.neural-controls h3,.dataset-picks{grid-column:1/-1}.neural-controls details{grid-column:1/-1}.neural-toolbar{flex-wrap:wrap}.neural-toolbar h2{font-size:19px}.neural-output canvas{max-width:none}.neural-lab{padding:10px}}
.forge{padding:18px}.forge-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(180px,.55fr) minmax(0,1fr);gap:18px;align-items:start}.forge-label{font-weight:750;font-size:15px;display:flex;align-items:center;gap:8px;margin-bottom:12px}.forge-label b{background:#e7e9f8;color:#433a91;padding:6px 8px;border-radius:6px;font-size:12px}.forge-class{border:1px solid var(--line);border-radius:8px;padding:10px;margin-bottom:10px;background:#f8f9fb}.forge-class-head{display:flex;align-items:center;gap:8px}.forge-class-head input{min-width:0;flex:1;background:#fff;border:1px solid var(--line);border-radius:5px;padding:8px;font-weight:700}.forge-samples{display:flex;gap:6px;flex-wrap:wrap;min-height:62px;align-items:center;padding:9px 0}.forge-samples button{padding:2px;min-height:0;border-radius:4px}.forge-samples img{width:45px;height:45px;object-fit:cover}.forge-class .actions{margin:0}.forge-class .actions>*{font-size:12px;padding:7px 10px;min-height:36px}.forge-train{background:#f2f3f8;border:1px solid var(--line);border-radius:8px;padding:13px}.forge-chip{margin:10px 0;font-weight:800;font-size:28px;color:#5144aa}.forge-train p{font-size:13px;margin-bottom:14px}.forge-train .primary{width:100%;margin-bottom:10px}.forge-preview{background:#e9edf4;border:1px solid var(--line);border-radius:8px;overflow:hidden}.forge-preview canvas,.forge-preview video{display:block;width:100%;aspect-ratio:4/3;object-fit:contain}.forge-vote{display:grid;grid-template-columns:90px 1fr 40px;align-items:center;gap:8px;font-size:12px;margin-top:10px}.forge-vote progress{width:100%}.forge-layout .muted{margin-top:12px}.forge-layout .actions{gap:7px}@media(max-width:1000px){.forge-layout{grid-template-columns:1fr 1fr}.forge-layout>section:nth-child(2){grid-column:2;grid-row:1}.forge-layout>section:nth-child(3){grid-column:1/-1}}@media(max-width:740px){.forge{padding:10px}.forge-layout{grid-template-columns:1fr}.forge-layout>section:nth-child(2),.forge-layout>section:nth-child(3){grid-column:auto;grid-row:auto}}
main[data-page=sketch][data-tab=experiment] .sketch{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;background:#fff;border:1px solid var(--line);max-width:1250px;margin:auto;padding:14px;position:relative}main[data-page=sketch][data-tab=experiment] .sketch>*{grid-column:1!important;grid-row:auto!important;width:100%}.sketch .sketch-top{display:flex;justify-content:space-between;align-items:center}.sketch .sketch-top h2{font-size:24px}.sketch .draw-top{display:flex;justify-content:space-between;align-items:center;padding:8px 14px;background:#efe6fd;border-radius:6px}.sketch .draw-top h2{font-size:25px}.sketch .clock{font-size:27px;color:#372d78}.sketch-field{position:relative;min-width:0;overflow:hidden;border:1px solid #d8dae4;border-radius:8px;background:white}.sketch .sketch-field canvas{display:block;width:100%;height:min(48vh,480px);max-height:none;aspect-ratio:auto;touch-action:none;cursor:crosshair;border:0;border-radius:0}.round-prompt{position:absolute;inset:0;background:#d9ed94;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;padding:12px;z-index:3;color:#262e36}.round-prompt>span{font-size:13px;font-weight:750;letter-spacing:.1em}.round-prompt>h2{font-size:clamp(34px,5.5vw,65px);line-height:1.1;letter-spacing:-.055em;margin:4px 0}.round-prompt p{color:#475134;font-size:18px}.round-prompt button{margin-top:12px;padding:10px 28px}.sketch .guess{display:flex;flex-direction:row;align-items:center;text-align:left;background:#f3f4f7;min-height:70px;padding:8px 14px;border-radius:8px;gap:12px}.sketch .guess img{width:52px;height:52px}.sketch .guess p{font-size:18px;color:#33394e}.sketch .draw-tools{justify-content:flex-end;margin:0}.sketch .rounds{display:flex;gap:5px}.sketch .rounds span{flex:1}.sketch .sketch-top .actions{margin:0}.sketch .muted{font-size:12px}@media(max-width:740px){main[data-page=sketch][data-tab=experiment] .sketch{padding:8px}.sketch .sketch-field canvas{height:43vh}.sketch .sketch-top h2{font-size:18px}.sketch .draw-top h2{font-size:22px}.sketch .guess p{font-size:15px}.round-prompt p{font-size:15px}}
.search-compare{display:grid;grid-template-columns:60px 1fr;gap:4px 10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.search-compare progress{width:100%}.search-compare small{text-align:right}.sound-workbench canvas{display:block;width:100%;border-radius:6px;border:1px solid #26314e}.sound-workbench .workspace-header{padding-top:10px}.sound-workbench #spectro{aspect-ratio:14/5}.sound-workbench #wave{aspect-ratio:7/4}.sound-workbench .workspace-header small{font-size:11px}
/* V3: workspaces prioritize the task; no decorative chrome during play. */
.experiment-guide{margin:0 0 10px;padding:8px 12px;background:#f4f5fb;border:1px solid #dde1eb;border-radius:8px;font-size:13px}.experiment-guide summary{cursor:pointer;display:flex;justify-content:space-between;font-weight:650}.experiment-guide p{margin:9px 0}.experiment-guide button{min-height:40px}.knowledge-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.knowledge-head+progress{width:100%;height:8px;accent-color:#5144bc}.knowledge-answers{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.knowledge-answers button{text-align:left;white-space:normal;min-height:52px;padding:12px}.knowledge-answers button.correct{background:#e3f2db;border-color:#75a24e;color:#244c24;opacity:1}.knowledge-answers button.wrong{background:#fbe4e0;border-color:#dc8b85;color:#802d28;opacity:1}#kfeedback{padding:10px 0;line-height:1.5}.knowledge-result textarea{min-height:88px;width:100%}.knowledge-result label{display:block}.dataset-picks{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.dataset-picks button{min-height:58px;padding:4px}.dataset-picks small{font-size:11px;line-height:1.2}.neural-layout{grid-template-columns:minmax(200px,.65fr) minmax(0,1.3fr) minmax(0,1fr);gap:14px}.neural-controls{padding:10px}.neural-controls label{margin:8px 0}.neural-controls select{min-height:36px}.neural-output canvas{max-height:420px;object-fit:contain}.forge-samples img{width:64px;height:64px}.forge-samples{min-height:80px}.forge-preview canvas[hidden],.forge-preview video[hidden]{display:none!important}.forge-train label{display:block}.forge-train select{width:100%;margin:4px 0 10px}.forge .neural-toolbar{flex-wrap:wrap}.studio-editor .block-tray{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;padding:9px 2px}.studio-editor .tray-block{min-width:78px;width:78px;height:68px;display:grid;place-items:center;padding:4px 3px;background:#f4f2fa;border:1px solid #d7d3e4}.studio-editor .tray-block img{height:35px;width:35px;object-fit:contain}.tray-name{font-size:10px;line-height:1.1;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tray-block.mismatch{opacity:.62}.studio-editor .workspace{min-height:174px;max-width:100%;padding:18px 12px;align-items:center;overflow:auto}.workspace .puzzle-piece{flex:0 0 126px;width:126px;height:88px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:8px 18px;color:#fff}.workspace .puzzle-piece+.puzzle-piece{margin-left:-14.6px}.workspace .puzzle-piece .piece-name{display:block;position:static;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.25;color:#fff;font-weight:650}.workspace .puzzle-piece img,.workspace .puzzle-piece.selected img{width:34px;height:34px;transform:none;margin:0}.workspace .puzzle-piece .plug,.workspace .puzzle-piece .socket{display:none}.param-indicator{position:absolute;top:8px;right:17px;font-size:12px;color:white}.studio-grid .preview{min-height:0}.preview-stage{min-height:175px}.studio-help{padding:8px 12px}.studio-help img{width:38px;height:38px}.studio-head h2{font-size:21px}.studio-editor .block-options{padding:10px}.studio-editor .block-options label{font-size:13px}.studio-editor .block-options .actions{margin:0}.game-focus{position:fixed;inset:0;z-index:100;background:#f9faf6;overflow:auto;overscroll-behavior:contain}.game-focus .sketch{min-height:100dvh;max-width:none!important;margin:0!important;border:0!important;display:flex!important;flex-direction:column;gap:8px;padding:12px 20px!important}.game-focus .sketch .sketch-field{flex:1;min-height:250px}.game-focus .sketch .sketch-field canvas{height:clamp(260px,calc(100dvh - 235px),900px)}.game-focus .sketch .sketch-top .eyebrow,.game-focus .sketch .sketch-top h2,.game-focus .sketch>.muted,.game-focus #review{display:none}.game-focus .sketch .draw-top{background:#e8f3b4;min-height:58px}.game-focus .sketch .guess{min-height:52px;padding:6px 10px;background:#f0f1f3}.game-focus .sketch .guess img{width:37px;height:37px}.game-focus .sketch .guess .eyebrow{display:none}.game-focus .round-prompt{background:#e1ef9b}.game-focus .round-prompt>h2{font-size:clamp(38px,7vw,96px)}.game-focus .draw-tools button{min-height:42px}#exitGame{display:none}.game-focus #exitGame{display:inline-flex}.game-focus #difficulty{display:none}.game-focus .sketch .sketch-top{justify-content:flex-end}.game-focus .sketch .sketch-top .actions{width:auto}.game-focus .sketch .sketch-top>div:first-child{display:none}.game-focus .sketch .rounds{height:5px}.game-focus .rounds span{height:5px}.game-focus .sketch .draw-top h2{margin:0}.game-focus .sketch .draw-top #promptLabel{font-size:12px}.game-focus .sketch .guess p{margin:0}.game-focus .sketch .guess .eyebrow{display:none}
@media(max-width:1000px){.neural-layout{grid-template-columns:190px minmax(0,1fr)}.neural-output{grid-column:2}.neural-output canvas{max-width:360px}}
@media(max-width:740px){.knowledge-answers{grid-template-columns:1fr}.neural-layout{display:flex;flex-direction:column;gap:12px}.neural-output{order:0;width:100%}.neural-output canvas{max-width:none;max-height:280px}.neural-visual{order:1;width:100%}.neural-controls{order:2;width:100%;display:grid;grid-template-columns:1fr 1fr}.neural-controls .dataset-picks{grid-template-columns:repeat(3,minmax(0,1fr))}.neural-controls .dataset-picks button{min-height:74px}.neural-controls .dataset-picks canvas{max-width:90px}.neural-toolbar .actions button{min-height:44px}.neural-toolbar h2{font-size:18px}.workspace .puzzle-piece{flex-basis:110px;width:110px;height:78px}.workspace .puzzle-piece+.puzzle-piece{margin-left:-12.8px}.studio-editor .workspace{min-height:120px}.studio-editor .tray-block{min-width:68px;width:68px;height:66px}.studio-editor .block-tray{gap:6px}.tray-name{max-width:62px}.game-focus .sketch{padding:8px!important}.game-focus .sketch .sketch-field canvas{height:clamp(235px,calc(100dvh - 260px),750px)}.game-focus .sketch .draw-tools{justify-content:center;flex-wrap:wrap}.game-focus .sketch .guess p{font-size:16px}.forge-samples img{width:58px;height:58px}}
/* Compact identity + tabs, responsive and consistent. */
.lab-topline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 15px;margin-bottom:10px;padding:9px 12px;background:#fff;border:1px solid #e0e3eb;border-radius:10px}.lab-topline .breadcrumb{grid-column:1/-1;margin:0;font-size:11px;line-height:1.2}.lab-topline .lab-hero,main[data-tab=experiment] .lab-topline .lab-hero{padding:0!important;border:0!important;background:none!important;max-height:none;min-height:0;box-shadow:none}.lab-topline .lab-hero h1{font-size:25px;margin:0}.lab-topline .lab-hero p{font-size:12px;margin:2px 0}.lab-topline .lab-hero .eyebrow{font-size:10px}.lab-topline .lab-tabs{border:0;margin:0;padding:0;align-self:center}.lab-topline .lab-tabs button{min-height:42px}.concept-intro{border:1px solid #dfe3ed;background:#fff;border-radius:10px;padding:16px;margin-bottom:15px}.concept-flow{display:flex;align-items:center;gap:12px;padding:9px 0}.concept-flow button{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:104px;border:1px solid #dee0eb;background:#f6f7fb;transition:background .2s,transform .2s;white-space:normal}.concept-flow button.active{background:#e9edfa;border-color:#6053be;transform:translateY(-3px);box-shadow:0 3px 0 #d7d3ed}.concept-flow button img{width:45px;height:45px;object-fit:contain}.concept-flow button span{font-size:13px;font-weight:650}.flow-arrow{color:#8077b0;font-size:20px}.concept-controls{display:flex;align-items:center;justify-content:space-between;gap:10px}.concept-controls p{margin:0;font-size:13px;line-height:1.45}.concept-controls button{flex:0 0 42px;min-height:42px}.workspace .puzzle-piece+.puzzle-piece{margin-left:-17.7px}.workspace .puzzle-piece{margin-top:0!important;margin-bottom:0!important;align-self:center;transform:none!important;overflow:visible}.workspace .puzzle-piece .piece-shape{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;overflow:visible;transform:none!important;filter:none}.workspace .puzzle-piece .piece-shape path{stroke:rgba(24,30,51,.28);stroke-width:.8}.studio-editor .workspace{align-items:center;gap:0!important}.game-focus .sketch .sketch-field canvas{height:clamp(240px,calc(100dvh - 255px),900px)}.game-focus .sketch .guess{flex-shrink:0}.game-focus .sketch .draw-tools{flex-shrink:0}.game-focus .sketch .sketch-field{flex:0 0 auto}
@media(max-width:740px){.lab-topline{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:8px 10px}.lab-topline .lab-tabs{width:100%;display:flex;justify-content:space-around}.lab-topline .lab-tabs button{flex:1;min-height:42px}.lab-topline .lab-hero h1{font-size:22px}.lab-topline .lab-hero p{font-size:11px}.lab-topline .lab-hero .lab-badge{width:40px;height:40px}.lab-topline .breadcrumb{display:none}.concept-flow{gap:5px}.concept-flow button{min-height:88px;padding:6px 2px}.concept-flow button img{width:34px;height:34px}.concept-flow button span{font-size:11px}.flow-arrow{font-size:15px}.workspace .puzzle-piece+.puzzle-piece{margin-left:-15.4px}.game-focus .sketch .sketch-field canvas{height:clamp(235px,calc(100dvh - 285px),750px)}}
/* Prevent generic experiment .output styles from leaking into puzzle categories. */
.workspace .puzzle-piece,.workspace .puzzle-piece.output{background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important;max-height:none!important;line-height:1.15!important;overflow:visible!important}.workspace .puzzle-piece .piece-shape{border:0!important;background:transparent!important}.workspace .puzzle-piece .piece-shape path{stroke-width:.65}.studio-editor .tray-block.output{margin:0!important;box-shadow:none!important}.workspace .puzzle-piece.selected{filter:drop-shadow(0 0 2px #5144bc)}
.chapter-art .chapter-diagram{width:100%;max-width:540px;height:auto;max-height:100%;position:relative;display:block;color:#5d647c;transform:translateY(calc(var(--scroll,0)*-20px));transition:transform .14s linear;filter:drop-shadow(0 8px 12px #1d264115)}.chapter-art:has(.chapter-diagram) .chapter-orbit{opacity:.12}.chapter-art:has(.chapter-diagram){display:grid;place-items:center}.route-dash{stroke-dasharray:10 6;animation:route-flow 2.8s linear infinite}.scan-dot{animation:scan-pulse 1.7s ease-in-out infinite}.concept-network{animation:net-pulse 2.6s ease-in-out infinite}@keyframes route-flow{to{stroke-dashoffset:-32}}@keyframes scan-pulse{50%{opacity:.3;transform:translateY(-25px)}}@keyframes net-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.chapter-art .chapter-diagram{transform:none;transition:none}.route-dash,.scan-dot,.concept-network{animation:none!important}}
.decision-workspace{padding:18px}.decision-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:24px}.decision-layout canvas{width:100%;max-height:420px;object-fit:contain;border:1px solid #e0e4ed;border-radius:8px}.decision-layout label{display:block;margin-bottom:10px;font-weight:650}.decision-layout label select,.decision-layout label input{display:block;width:100%;margin-top:5px}.decision-tree-visual{padding:18px;background:#f4f6fa;border-radius:9px;margin:10px 0}.decision-leaves{display:grid;grid-template-columns:1fr 1fr;gap:10px}.decision-leaves>div{display:grid;gap:5px;padding:12px;border:1px solid #dce1ed;background:white;border-radius:6px;text-align:center;font-size:12px}.decision-leaves b{padding:5px;border-radius:4px;font-size:15px}.leaf-A{color:#2854a1;background:#dce8fb}.leaf-B{color:#96501b;background:#ffe3ca}@media(max-width:740px){.decision-layout{grid-template-columns:1fr;gap:12px}.decision-workspace{padding:10px}.decision-layout canvas{max-height:300px}}

/* V4: working area first */
.vision-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:20px;align-items:start}.vision-layout .media-stage{background:#202038;overflow:hidden;border-radius:12px}.vision-layout canvas{width:100%;height:auto;display:block}.vision-controls{display:grid;gap:12px}.vision-controls h3{margin:0}.vision-controls label{display:grid;gap:6px}.vision-result{display:grid;grid-template-columns:minmax(0,1fr) minmax(50px,1fr) 45px;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #ddd}.vision-result progress{width:100%}.forge-preview video,.forge-preview canvas{width:100%;height:auto;object-fit:contain}.forge-samples{max-height:240px;overflow:auto}.studio #video:not([hidden]){display:block;max-width:100%;border-radius:10px}.studio #preview canvas{display:block;max-width:100%;height:auto;margin:auto}.studio #preview p{white-space:pre-wrap;overflow-wrap:anywhere}.experiment-split{align-items:start}.experiment-split .maze{width:100%;max-width:520px}.experiment-split:has(#world){grid-template-columns:minmax(280px,520px) minmax(230px,400px);justify-content:center;gap:32px}.draw-tools button{min-height:44px}@media(max-width:760px){.vision-layout,.experiment-split:has(#world){grid-template-columns:1fr;gap:12px}.vision-controls{gap:8px}.forge-samples{max-height:180px}}

.word-workspace{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);gap:24px;align-items:start}.word-workspace textarea{width:100%;resize:vertical;font:inherit;padding:12px;border:1px solid #c9c7d5;border-radius:10px}.word-workspace section{display:grid;gap:12px}.word-workspace h3{margin:0}.word-workspace .tokens{min-height:55px}.game-focus #practice{display:none}.forge-vote progress{min-width:0}.forge-vote{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 46px;gap:8px}.forge-class-head input{min-width:0}@media(max-width:760px){.word-workspace{grid-template-columns:1fr}}

.vision-source{margin:0 0 10px}.vision-layout .media-stage canvas{max-height:52vh;object-fit:contain;background:#202038}.vision-controls label{margin:0}.vision-controls .output{margin:0}.vision-controls details{margin:0}@media(max-width:760px){.vision-layout .media-stage canvas{max-height:42vh}.vision-source{flex-wrap:wrap}.vision-source>*{flex:1 1 auto}}

#world .agent-token{width:83%;height:83%;object-fit:contain;max-width:60px;pointer-events:none}#world .trap{background:repeating-linear-gradient(135deg,#f9c5b6,#f9c5b6 9px,#ffd9cb 9px,#ffd9cb 18px)}#world .path{background:#d8efad}#world>div{min-width:0;overflow:hidden;display:grid;place-items:center}/* V5 Adventure Edition: game workspaces + original layered editorial homepage */
.av-adventure{background:#111d32;color:#eff4ff;border-radius:18px;padding:20px;--av-green:#a1e4b5;--av-border:#34415b;overflow:hidden}.av-adventure *{box-sizing:border-box}.av-gamehead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 16px}.av-eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:#9de1c5}.av-gamehead h2{font-size:clamp(24px,3vw,38px);line-height:1.1;margin:6px 0;color:#fff;letter-spacing:-.04em}.av-gamehead p,.av-side p{color:#c2cce0;margin:5px 0 12px;line-height:1.5}.av-switch{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.av-adventure button,.av-adventure select,.av-adventure input[type=number],.av-adventure .btn{background:#263650;color:#f2f6ff;border:1px solid #475a76;border-radius:8px;min-height:38px;box-shadow:none}.av-adventure button.active,.av-adventure button.primary,.av-adventure .av-brush .active{background:#bceaa0;color:#142b2b;border-color:#bceaa0;font-weight:800}.av-adventure label{font-size:13px;color:#dbe4f3}.av-workbench{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,1fr);gap:16px;align-items:start}.av-playfield,.av-side{min-width:0;background:#1b2940;border:1px solid #35465e;border-radius:13px;padding:14px}.av-mapbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}.av-mapbar label{display:flex;align-items:center;gap:6px}.av-board{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:4px;padding:8px;border-radius:12px;background:#0e182a;border:1px solid #4a5b72;max-width:690px;margin:0 auto;isolation:isolate}.av-board .av-tile{aspect-ratio:1;min-width:0;min-height:0;padding:0;display:grid;place-items:center;position:relative;overflow:hidden;line-height:1;font-size:clamp(12px,2.2vw,24px);font-weight:800;background:#47786b;border:1px solid #6c9a82;border-radius:5px;color:#f5f7df;box-shadow:inset 0 -3px 0 #264d47}.av-board .av-tile:hover{outline:2px solid #f9f0ab;outline-offset:-2px}.av-board.lava .av-tile{background:#755251;border-color:#a67863;box-shadow:inset 0 -3px #442e40}.av-board.space .av-tile{background:#3d4a75;border-color:#6676a6;box-shadow:inset 0 -3px #29334f}.av-board.city .av-tile{background:#52667d;border-color:#8092a5;box-shadow:inset 0 -3px #394d66}.av-board .av-tile.wall,.av-swatch.wall{background:#273747;border-color:#718393;box-shadow:inset 0 -3px #152033;color:#8697a5}.av-board .av-tile.mud,.av-swatch.mud{background:#ad7948;border-color:#edb76b;box-shadow:inset 0 -3px #815030;color:#fff2ba}.av-board .av-tile.trap,.av-swatch.trap{background:#943d55;border-color:#e97b78;box-shadow:inset 0 -3px #6d2940;color:#ffb2a4}.av-board .av-tile.gem{color:#f6d770}.av-board .av-tile.seen{background:#6186a8}.av-board .av-tile.trail,.av-swatch.trail{background:#b2e68f;border-color:#d9ffc9;color:#1b533a;box-shadow:inset 0 -3px #7eb76c}.av-board .av-tile small{font-size:clamp(12px,2vw,24px);color:#d0fae4}.av-board .av-tile img.av-token{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px #142033);padding:2px}.av-flag{font-size:1.4em;color:#ffe77b;text-shadow:0 2px 2px #162c3c}.av-legend{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0;color:#c7d3e4;font-size:12px}.av-legend span{display:flex;align-items:center;gap:5px}.av-swatch{width:12px;height:12px;display:inline-block;border:1px solid #8b9db3;border-radius:3px}.av-adventure .actions{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.av-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:8px;margin:12px 0}.av-stats>div{background:#243753;border:1px solid #3a5270;padding:9px;border-radius:9px;font-size:11px;color:#c8d4e6;min-width:0}.av-stats b{display:block;font-size:22px;color:#d0f3b1;line-height:1.2}.av-side h3{color:#f6f7ff;font-size:19px;margin:0 0 10px}.av-side h3:not(:first-child){margin-top:18px}.av-side h4{color:#dbe6f7;margin:14px 0 8px}.av-side label{display:block;margin:10px 0}.av-side select,.av-side input[type=number]{width:100%}.av-param output{float:right;color:#bceaa0;font-weight:bold}.av-adventure input[type=range]{accent-color:#a9e5a8}.av-side details{border:1px solid #465a76;border-radius:9px;padding:10px;margin:10px 0}.av-tip{background:#283d57;border-left:3px solid #b9e6aa;padding:10px;border-radius:4px;color:#d7e5f2;font-size:13px;line-height:1.5;margin:10px 0}.av-choice{display:flex;justify-content:space-between;padding:8px;border-bottom:1px solid #40516a;color:#e1e9fa;font-size:13px}.av-choice.chosen{background:#355b50;color:#d9f6b7}.av-adventure table{width:100%;border-collapse:collapse;font-size:12px;color:#e0e7f4}.av-adventure th,.av-adventure td{padding:6px 3px;text-align:center;border-bottom:1px solid #40516a}.av-chartwrap{margin-top:12px;font-size:13px;color:#c6d4e7}.av-chartwrap canvas{display:block;width:100%;height:auto;background:#18253a;margin-top:6px;border-radius:8px}.av-duel{text-align:center}.av-duelstatus{font-size:24px;color:#d6f1ac;font-weight:800;margin:8px}.av-ttt{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:460px;margin:15px auto}.av-ttt button{aspect-ratio:1;min-height:0;font-size:clamp(35px,7vw,80px);line-height:1;background:#304666;color:#edfcff;border:2px solid #4d6487;opacity:1}.av-ttt button.X{color:#9ee8ba}.av-ttt button.O{color:#ffb179}.av-brush{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.av-brush button{display:flex;align-items:center;gap:6px;padding:7px 9px;font-size:12px}.av-brush span{font-size:18px}.av-dpad{display:grid;grid-template-columns:repeat(3,52px);gap:6px;justify-content:center}.av-dpad button:first-child{grid-column:2}.av-dpad button:nth-child(2){grid-column:1}.av-dpad button{font-size:24px;min-height:44px}.av-side #spriteDraw{display:block;background:#f4f6fa;border-radius:9px;width:100%;max-width:260px;aspect-ratio:180/130;touch-action:none}.av-side #gameCam{width:100%;border-radius:9px;margin:8px 0}.av-side #gestureRules label{display:grid;grid-template-columns:1fr 65px;align-items:center;gap:6px}.av-side #gestureRules select{min-width:0}.av-adventure input[type=checkbox]{width:auto;accent-color:#bceaa0}.av-worldhome{background:#11192e;color:#fff;overflow:hidden;border-radius:0}.av-cinematic{position:relative;min-height:min(790px,90svh);isolation:isolate;display:flex;align-items:center;padding:clamp(30px,6vw,100px);overflow:hidden;--parallax:0px}.av-landscape{position:absolute;inset:0;width:100%;height:100%;z-index:-3}.av-distant{transform:translateY(calc(var(--parallax)*.22))}.av-middle{transform:translateY(calc(var(--parallax)*.09))}.av-foreground{transform:translateY(calc(var(--parallax)*-.05))}.av-cinematic:after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#11192ef0 0%,#11192e80 45%,transparent 75%)}.av-homecopy{max-width:720px;z-index:2;padding-bottom:55px}.av-home-kicker{display:flex;align-items:center;gap:9px;letter-spacing:.17em;font-weight:800;font-size:12px;color:#b7ebd0}.av-home-kicker span{width:10px;height:10px;border-radius:100%;background:#c5f18b;box-shadow:0 0 18px #c5f18b}.av-homecopy h1{font-size:clamp(52px,7.5vw,113px);line-height:.96;letter-spacing:-.07em;color:#f6f5ed;margin:20px 0 24px;font-weight:850}.av-homecopy h1 em{font-style:normal;color:#c5ef8a}.av-homecopy p{font-size:clamp(16px,1.6vw,22px);line-height:1.5;color:#d6e4ef;max-width:490px}.av-homecopy .actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:28px 0}.av-cta{display:inline-flex;align-items:center;justify-content:center;background:#c5ef8a;color:#172b33!important;font-weight:850;text-decoration:none;padding:14px 22px;border-radius:9px;border-bottom:4px solid #729e5c;box-shadow:0 8px 25px #0b152a30}.av-plain{color:#f2f3ff!important;font-weight:700;text-decoration:none}.av-hero-robot{position:absolute;width:min(31vw,420px);right:11%;bottom:16%;z-index:-1;transform:translateY(calc(var(--parallax)*.12));filter:drop-shadow(0 22px 20px #0f1e3c80)}.av-hero-robot img{width:100%;height:auto;animation:av-float 4s ease-in-out infinite}.av-hero-label{position:absolute;right:5%;bottom:85px;font-size:12px;color:#dce9e9;text-transform:uppercase;letter-spacing:.1em}.av-hero-label span{display:block;font-size:24px;font-weight:800;color:#c5ef8a}.av-chapters{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);background:#11192ecf;backdrop-filter:blur(10px);border-top:1px solid #8194a440;z-index:3}.av-chapters a{color:#e0e9f5!important;text-decoration:none;padding:14px clamp(10px,2vw,28px);font-size:13px;border-right:1px solid #8194a440;display:flex;gap:8px;align-items:center}.av-chapters b{color:#c5ef8a;font-size:15px}.av-world-section{padding:clamp(25px,4vw,70px);background:var(--world-dark);color:#fff;scroll-margin-top:80px;border-top:1px solid #ffffff30}.av-world-story{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;min-height:275px;gap:25px;max-width:1250px;margin:0 auto 24px}.av-world-story .av-eyebrow{color:var(--world)}.av-world-story h2{font-size:clamp(34px,5.3vw,72px);letter-spacing:-.055em;color:#fff;line-height:1.03;margin:12px 0}.av-world-story p{max-width:550px;color:#e6e7ed;font-size:18px;line-height:1.55}.av-world-name{display:inline-block;font-weight:750;color:var(--world);border-bottom:1px solid var(--world);padding-bottom:4px}.av-world-art{position:relative;min-height:270px;isolation:isolate}.av-planet{position:absolute;width:70%;aspect-ratio:1;border-radius:50%;background:var(--world);opacity:.15;left:12%;top:0;transform:translateY(var(--world-scroll,0px))}.av-orbit{position:absolute;left:3%;top:18%;width:88%;height:63%;border:1px solid var(--world);border-radius:50%;transform:rotate(-18deg);opacity:.55}.av-world-robot{position:absolute;width:68%;height:98%;object-fit:contain;left:12%;top:0;filter:drop-shadow(0 16px 14px #10152b60);transform:translateY(calc(var(--world-scroll,0px)*.5))}.av-world-icon{position:absolute;width:18%;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 5px 5px #151d32a0);animation:av-float 4s ease-in-out infinite}.av-world-icon-0{left:3%;top:8%}.av-world-icon-1{right:2%;top:2%;animation-delay:-1.4s}.av-world-icon-2{right:6%;bottom:5%;animation-delay:-2.4s}.av-world-modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:1250px;margin:auto}.av-world-tile{display:flex;gap:10px;align-items:center;padding:12px;background:#ffffff10;border:1px solid #ffffff37;border-radius:12px;color:#fff!important;text-decoration:none;min-width:0;transition:transform .2s,background .2s}.av-world-tile:hover{background:#ffffff23;transform:translateY(-3px)}.av-tile-art{width:60px;flex:none;position:relative}.av-tile-art img{width:100%;height:auto;display:block}.av-tile-art span{font-size:10px;color:var(--world);position:absolute;top:-8px;left:0}.av-world-tile strong{display:block;font-size:16px;color:#fff}.av-world-tile small{display:block;color:#e0e5e8;font-size:12px;line-height:1.4;margin:4px 0}.av-world-link{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.09em;color:var(--world)}.av-world-link b{font-size:17px}.av-home-end{text-align:center;padding:55px 20px 70px;background:#11192e}.av-home-end h2{color:#fff;font-size:clamp(28px,4vw,50px);letter-spacing:-.05em}.av-worldhome a:focus-visible,.av-adventure button:focus-visible{outline:3px solid #fff0a6;outline-offset:3px}@keyframes av-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@media(max-width:1000px){.av-world-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.av-workbench{grid-template-columns:minmax(0,1fr) minmax(230px,.7fr)}.av-homecopy{max-width:65%}.av-hero-robot{right:6%;width:34vw}}@media(max-width:720px){.av-adventure{padding:10px;border-radius:12px}.av-workbench{grid-template-columns:1fr;gap:10px}.av-playfield,.av-side{padding:9px}.av-mapbar{justify-content:flex-start}.av-mapbar label{font-size:12px;flex-wrap:wrap}.av-board{gap:3px;padding:5px}.av-board .av-tile{min-height:0;border-radius:4px}.av-adventure .actions button{font-size:12px;padding:7px 9px}.av-stats b{font-size:19px}.av-cinematic{min-height:740px;align-items:flex-start;padding:36px 20px 130px}.av-homecopy{max-width:100%;padding-bottom:0}.av-homecopy h1{font-size:clamp(49px,12vw,72px)}.av-homecopy p{max-width:95%;font-size:16px}.av-cinematic:after{background:linear-gradient(180deg,#11192eda 0%,#11192e50 55%,transparent 85%)}.av-hero-robot{width:56%;right:15%;bottom:18%}.av-hero-label{right:20px;bottom:110px}.av-chapters{grid-template-columns:repeat(2,1fr)}.av-chapters a{padding:10px;font-size:12px}.av-world-story{grid-template-columns:1fr;gap:8px;min-height:0;margin-bottom:12px}.av-world-story h2{font-size:38px}.av-world-story p{font-size:15px}.av-world-art{min-height:190px;max-width:340px;width:100%;margin:auto}.av-world-section{padding:24px 15px}.av-world-modules{gap:8px}.av-world-tile{padding:9px;gap:6px;align-items:start;flex-direction:column}.av-tile-art{width:46px}.av-world-tile strong{font-size:14px}.av-world-tile small{font-size:11px}.av-worldhome .av-cta{padding:12px 14px}.av-homecopy .actions{gap:12px}.av-gamehead h2{font-size:26px}}@media(prefers-reduced-motion:reduce){.av-worldhome *{animation:none!important;transition:none!important}.av-distant,.av-middle,.av-foreground,.av-hero-robot,.av-world-robot,.av-planet{transform:none!important}}
/* Resolve global theme hover/details rules; keep game boards within the first viewport where possible. */
.av-adventure .av-workbench .av-side details,.av-adventure .av-side details summary{background:#263650!important;color:#e5eefc!important}.av-adventure .av-workbench button:not(.av-tile):not(.primary):not(.active):hover,.av-adventure .av-switch button:not(.active):hover{background:#3a5170!important;color:#fff!important}.av-adventure .av-workbench button.primary,.av-adventure .av-workbench .av-brush button.active{background:#bceaa0!important;color:#172f31!important;border-color:#bceaa0!important}.av-adventure .av-board{max-width:560px}.av-adventure .av-board .av-tile.wall{background-image:repeating-linear-gradient(0deg,transparent 0 12px,#192739 12px 14px),repeating-linear-gradient(90deg,#ffffff04 0 14px,#ffffff12 14px 16px);color:#a7b2bb}.av-adventure .av-board .av-tile.mud{background-image:repeating-linear-gradient(135deg,#b9814938 0 6px,#edb76b22 6px 8px)}.av-adventure .av-board .av-tile.trap{background-image:repeating-linear-gradient(135deg,transparent 0 7px,#eb817a26 7px 9px)}.av-mini-map{display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:2px;padding:7px 0}.av-mini-map i{aspect-ratio:1;background:#426b66;border-radius:2px;display:grid;place-items:center;font-size:10px;font-style:normal;color:#fff}.av-mini-map i.wall{background:#101b2c}.av-mini-map i.mud{background:#ad7948}.av-mini-map i.trap{background:#943d55}.av-mini-map i.trail{background:#bceaa0;color:#142b2b}.av-policy-card{margin:8px 0;padding:7px;background:#142238;border-radius:9px}.av-object-rule{display:grid;grid-template-columns:1fr 1fr;gap:8px}.av-object-rule select{font-size:12px}.av-adventure .av-board .av-tile img.av-token{padding:2px}.av-adventure .av-gamehead{margin-bottom:9px}.av-adventure .av-gamehead h2{font-size:clamp(24px,2.6vw,34px)}
main[data-page=agents] .lab-topline,main[data-page=search] .lab-topline,main[data-page=arcade] .lab-topline{margin-bottom:8px;padding:9px 13px}main[data-page=agents] .lab-hero,main[data-page=search] .lab-hero,main[data-page=arcade] .lab-hero{min-height:0;padding:0}main[data-page=agents] .lab-topline .breadcrumb,main[data-page=search] .lab-topline .breadcrumb,main[data-page=arcade] .lab-topline .breadcrumb{display:none}.av-adventure .av-mapbar{justify-content:flex-start;gap:10px}.av-adventure .av-mapbar label{display:flex;flex-direction:row;align-items:center;margin:0;gap:6px}.av-adventure .av-mapbar label:has(input[type=checkbox]){white-space:nowrap}.av-adventure .av-mapbar label select{min-width:0;max-width:180px}.av-adventure .av-board{max-width:520px}.av-quick-actions{margin:0 0 12px!important}.av-adventure .av-mapbar label input[type=checkbox]{margin:0;width:15px;height:15px}.av-homecopy h1{overflow-wrap:normal;word-break:normal}@media(max-width:720px){.av-cinematic{min-height:690px}.av-hero-robot{bottom:17%;width:58%;right:14%}.av-hero-label{bottom:99px}.av-homecopy h1{font-size:clamp(49px,12vw,72px)}.av-mapbar label select{max-width:125px}.av-adventure .av-mapbar{margin-bottom:7px}.av-adventure .av-board{max-width:100%}}
@media(max-width:720px){.av-hero-robot{width:45%;right:19%;bottom:18%}.av-hero-label{right:15px;bottom:91px}}
/* V5.1: a playable field guide instead of a marketing landing page. */
main[data-page=home]{max-width:none;padding:0;background:#f7f6ef}.field-home{color:#243b35;font-family:inherit;max-width:1480px;margin:auto}.field-hero{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);align-items:center;gap:clamp(22px,4.1vw,65px);padding:clamp(22px,4vw,62px) clamp(18px,5vw,80px) 26px}.field-intro h1{font-size:clamp(38px,4.7vw,70px);letter-spacing:-.055em;line-height:1.04;color:#203b32;max-width:520px}.field-intro p{font-size:clamp(16px,1.35vw,20px);line-height:1.55;color:#51635a;margin:20px 0 24px;max-width:400px}.field-link{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;background:#234e40;color:white;font-weight:750;padding:13px 19px;border-radius:8px;min-height:48px}.field-link:hover{background:#153c30}.field-note{display:flex;align-items:center;gap:9px;border-top:1px solid #d9ded2;margin-top:30px;padding-top:17px;max-width:360px}.field-note img{width:58px;height:58px}.field-note strong,.field-note span{display:block}.field-note strong{font-size:14px}.field-note span{font-size:12px;color:#53655a;margin-top:4px}.field-mission{background:#fff;border:1px solid #c5d3c5;border-radius:15px;box-shadow:0 7px 0 #dde3d7;overflow:hidden;min-width:0}.field-mission-top{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;gap:12px}.field-mission-top strong{font-size:17px;display:block}.field-mission-top small{font-size:12px;color:#65796c;display:block;margin-top:3px}.field-reset{min-height:38px;width:40px;padding:0;border:1px solid #c9d6cc;border-radius:7px;color:#315e4e;font-size:22px}.field-mapframe{position:relative;background:#c6e0d7;overflow:hidden}.av-field-map{width:100%;display:block;max-height:400px;aspect-ratio:710/445}.field-mapbadge{position:absolute;top:10px;left:12px;padding:6px 10px;background:#f8f8ec;border:1px solid #9eb8a2;border-radius:6px;font-size:12px;color:#36584b}.field-mapbadge b{margin-left:8px;color:#254b39;font-variant-numeric:tabular-nums}.field-maplegend{position:absolute;bottom:9px;left:12px;display:flex;align-items:center;gap:5px;background:#f8f8ecdc;padding:5px 8px;border-radius:4px;font-size:11px;color:#345447}.field-maplegend span{width:20px;height:4px;border-radius:2px;margin-left:4px}.legend-bridge{background:#b36b2e}.legend-detour{background:#356c62}.field-controls{padding:12px 15px 14px;display:grid;gap:9px}.field-weather{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:13px;font-weight:650}.field-choice{display:flex;gap:3px}.field-choice button{min-height:36px;font-size:12px;padding:7px 11px;border-radius:5px;border-color:#ccd6cb;color:#385647}.field-choice button[aria-pressed=true]{background:#f5e0bc;color:#6c4622;border-color:#d6b37e}.field-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.field-actions button{min-height:46px;border-radius:7px;background:#f5e5ce;border-color:#e3c79d;color:#633e24;font-size:13px}.field-actions button+button{background:#dcece4;color:#245d4a;border-color:#b4d0c1}.field-actions button:hover:not(:disabled){background:#fff4df}.field-actions button+button:hover:not(:disabled){background:#eaf7ee}.field-feedback{min-height:42px;background:#f4f6f0;border-radius:6px;padding:8px 10px;font-size:12px;line-height:1.5;color:#45584d}.field-feedback a{text-decoration:underline;font-weight:750}.field-index{display:grid;grid-template-columns:repeat(4,1fr);margin:7px clamp(18px,5vw,80px) 0;border-block:1px solid #d4dcd0;gap:0}.field-index a{display:flex;gap:8px;align-items:center;padding:12px 15px;border-right:1px solid #d4dcd0;font-size:14px;font-weight:700;min-width:0}.field-index a:first-child{padding-left:0}.field-index a:last-child{border:0}.field-index a img{width:37px;height:37px}.field-index a b{margin-left:auto;color:#4e705e}.field-chapter{background:var(--chapter);margin-top:28px;padding:30px clamp(18px,5vw,80px) 27px;scroll-margin-top:85px}.field-chapterhead{display:grid;grid-template-columns:1fr .8fr;align-items:center;gap:30px;margin-bottom:22px}.field-chapter h2{color:#263c34;font-size:clamp(27px,3vw,42px);letter-spacing:-.045em;max-width:600px}.field-chapter p{color:#536457;max-width:560px;font-size:15px;margin-top:10px;line-height:1.55}.field-chaptervisual{transform:translateY(var(--shift,0px));will-change:transform;min-width:0}.field-demo{display:flex;align-items:center;justify-content:center;gap:12px;min-height:140px}.pixel-original img{width:95px;height:95px}.field-arrow{font-size:25px;color:#537d65}.pixel-grid{display:grid;grid-template-columns:repeat(8,1fr);width:92px;height:92px;gap:1px}.pixel-grid i{display:block}.pixel-output{font-size:13px;display:flex;flex-direction:column;padding:12px;border-left:3px solid #377d64}.pixel-output span{color:#5b6c60}.learning-demo{flex-direction:column;gap:4px}.learning-demo svg{max-width:330px;width:100%;border-radius:7px}.learning-demo span{font-size:12px;color:#635743}.field-tictac{display:grid;grid-template-columns:repeat(3,42px);gap:3px}.field-tictac i{height:42px;display:grid;place-items:center;background:#f4f2fa;border:1px solid #bfc1dc;border-radius:5px;font-style:normal;font-size:27px;font-weight:800}.field-tictac .x{color:#385f85}.field-tictac .o{color:#ac6c39}.strategy-demo>div+div{max-width:135px}.strategy-demo b{display:block;font-size:15px}.strategy-demo a{display:block;margin-top:9px;text-decoration:underline;font-size:13px}.build-demo{gap:0}.field-block{display:grid;justify-items:center;align-content:center;min-width:85px;height:82px;position:relative;background:#437eab;color:white;padding:8px;border-radius:6px;font-size:12px}.field-block img{width:32px;height:32px;margin-bottom:6px}.field-block:not(:last-child):after{content:'';position:absolute;right:-9px;top:30px;width:12px;height:22px;border-radius:0 6px 6px 0;background:inherit;z-index:2}.field-block.b1{background:#7857a2}.field-block.b2{background:#377c65}.field-labs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.field-lab{display:flex;align-items:center;gap:9px;min-width:0;background:#fff9;border:1px solid #ffffffbf;border-radius:8px;padding:11px;transition:background .2s,transform .2s}.field-lab:hover{background:#fff;transform:translateY(-3px)}.field-lab img{width:50px;height:50px;flex:none}.field-lab strong{display:block;font-size:14px}.field-lab small{display:block;font-size:11px;line-height:1.35;color:#526459;margin-top:4px}.field-lab>span{margin-left:auto;align-self:flex-start;color:#51735f}.field-bottom{display:flex;gap:20px;justify-content:center;padding:28px;font-size:14px;font-weight:750}.field-bottom a{text-decoration:underline}.field-home a:focus-visible,.field-home button:focus-visible{outline:3px solid #956a26;outline-offset:3px}@media(max-width:1000px){.field-hero{grid-template-columns:.8fr 1.2fr;gap:24px;padding-inline:25px}.field-labs{grid-template-columns:repeat(2,minmax(0,1fr))}.field-index a{padding-inline:9px;font-size:12px}.field-index a img{width:29px;height:29px}.field-chapterhead{gap:12px}}@media(max-width:720px){.field-hero{grid-template-columns:1fr;padding:24px 14px 20px;gap:18px}.field-intro h1{font-size:clamp(37px,9.5vw,50px);max-width:500px}.field-intro p{font-size:15px;margin:10px 0 13px}.field-note{display:none}.field-link{padding:10px 14px;font-size:13px;min-height:42px}.field-mission-top{padding:10px 12px}.field-mission-top strong{font-size:15px}.field-controls{padding:10px}.field-feedback{font-size:12px}.field-index{grid-template-columns:1fr 1fr;margin:0 14px}.field-index a{font-size:12px;border-bottom:1px solid #d4dcd0;padding:9px!important}.field-index a:nth-child(2){border-right:none}.field-index a:nth-child(3),.field-index a:nth-child(4){border-bottom:none}.field-chapter{margin-top:18px;padding:21px 14px}.field-chapterhead{grid-template-columns:1fr;gap:7px;margin-bottom:14px}.field-chapter h2{font-size:29px}.field-chapter p{font-size:14px;margin-top:7px}.field-demo{min-height:105px}.field-labs{gap:7px}.field-lab{padding:8px;gap:5px;align-items:flex-start}.field-lab img{width:35px;height:35px}.field-lab strong{font-size:12px}.field-lab small{font-size:10px}.field-lab>span{font-size:11px}.field-bottom{gap:14px;font-size:12px;padding:20px}.field-maplegend{font-size:10px}.field-mapbadge{font-size:11px}.field-actions button{font-size:12px;padding:7px}.pixel-original img{width:70px;height:70px}.pixel-grid{width:66px;height:66px}.pixel-output{padding:6px;font-size:11px}}@media(prefers-reduced-motion:reduce){.field-chaptervisual{transform:none!important}.field-home *{transition:none!important}}
.field-block.b2{background:#aa7443}.field-block.b3{background:#377c65}.build-demo .field-block{min-width:0;width:24%;max-width:105px}.pixel-output{max-width:120px}
.av-field-map[data-damaged=false] .field-crack{display:none}.pixel-original svg{width:95px;height:95px;display:block}.field-intro h1{font-size:clamp(38px,4.45vw,64px)}@media(max-width:720px){.pixel-original svg{width:70px;height:70px}.field-intro h1{font-size:clamp(37px,9.5vw,50px)}}
