:root{color:#2b2a29;font-synthesis:none;background:#46b5ec;font-family:Trebuchet MS,Avenir Next,ui-rounded,system-ui,sans-serif}*{box-sizing:border-box}body{background:linear-gradient(#4db9ef 0,#4db9ef 44%,#8ed9e5 62%,#3e9d75 100%);min-width:320px;min-height:100vh;margin:0}body:before,body:after{z-index:-1;content:"";pointer-events:none;position:fixed}body:before{background:radial-gradient(68% 40% at 50% 21%,transparent 28%,rgba(255,255,255,.28) 28.4%,transparent 29%),radial-gradient(23% 22% at 20% 43%,#80b35e 0,#80b35e 38%,transparent 39%),radial-gradient(25% 25% at 86% 42%,#5b9f62 0,#5b9f62 39%,transparent 40%);top:0;bottom:0;left:0;right:0}body:after{background:radial-gradient(44% 58% at 10% 100%,#286f4b 0,#286f4b 40%,transparent 41%),radial-gradient(38% 65% at 88% 100%,#2f7d4c 0,#2f7d4c 45%,transparent 46%);height:28vh;bottom:0;left:0;right:0}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:transform .14s,filter .14s}button:disabled{cursor:wait;opacity:.65}.codventure-shell{width:min(1500px,100% - 32px);margin:0 auto;padding:14px 0 18px}.codventure-header{grid-template-columns:370px minmax(300px,1fr) auto auto;align-items:center;gap:20px;min-height:112px;display:grid}.brand-lockup{color:#fff;text-align:center;text-shadow:0 3px #44210f;background:linear-gradient(145deg,#9e5a27,#663719);border:4px solid #5d361d;border-radius:24px;padding:13px 27px 11px;position:relative;transform:rotate(-1deg);box-shadow:inset 0 2px rgba(255,218,135,.38),0 7px rgba(72,48,24,.4)}.codventure-logo{width:min(230px,100%);height:auto;margin:0 auto;display:block}.brand-lockup small{letter-spacing:.01em;margin-top:3px;font-family:Georgia,serif;font-size:1.15rem;font-weight:800;display:block}.level-label{background:#fff6dd;border:4px solid #714329;border-radius:19px;gap:0;min-width:0;padding:14px 34px;display:grid;transform:rotate(.3deg);box-shadow:inset 0 0 0 3px #efd6a8,0 6px rgba(74,48,26,.3)}.level-label span,.eyebrow{color:#805a37;letter-spacing:.09em;text-transform:uppercase;font-size:.76rem;font-weight:950}.level-label strong{letter-spacing:-.05em;font-size:max(1.35rem,min(2.5vw,2.45rem));line-height:1}.level-label em{color:#4d433b;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:.9rem;font-style:normal;font-weight:700;overflow:hidden}.progress-trail{background:rgba(244,253,255,.78);border:3px solid #4a6c75;border-radius:23px;align-items:center;gap:8px;padding:13px 17px;display:flex}.progress-trail b,.progress-trail i{background:#e7f1f5;border:3px solid #6d7983;border-radius:50%;width:27px;height:27px;display:block}.progress-trail b{background:#ffcf39;border-color:#624a17}.top-actions{gap:9px;display:flex}.top-actions button{color:#fff9e9;text-shadow:0 2px #432513;background:linear-gradient(135deg,#9c612c,#63371f);border:4px solid #674126;border-radius:50%;width:62px;height:62px;font-size:2rem;font-weight:950;line-height:1;box-shadow:inset 0 2px rgba(255,222,140,.35),0 5px rgba(80,45,25,.34)}.top-actions button:last-child{font-family:Georgia,serif}.game-shell{grid-template-columns:minmax(0,1.18fr) minmax(410px,.82fr);align-items:stretch;gap:24px;margin-top:23px;display:grid}.world-panel{flex-direction:column;min-width:0;padding:0 8px 0 142px;display:flex;position:relative}.program-panel{background:#fffdf8;border:5px solid #fff8e8;border-radius:28px;flex-direction:column;min-width:0;padding:0 15px 14px;display:flex;overflow:hidden;box-shadow:0 12px rgba(42,102,74,.21),0 18px 33px rgba(31,75,52,.24)}.world-intro{background:rgba(255,251,234,.85);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 6px;padding:6px 12px;display:flex;box-shadow:0 3px rgba(46,102,66,.22)}.world-intro h1,.program-title h2,.editor-heading h2{color:#2d2a24;letter-spacing:-.04em;margin:1px 0 0;font-size:1.3rem}.status-text{color:#3d6c35;white-space:nowrap;background:#eaf6c8;border:2px solid #4f8350;border-radius:999px;padding:7px 10px;font-size:.8rem;font-weight:900}.ryu-guide{z-index:2;text-align:center;pointer-events:none;width:170px;position:absolute;bottom:52px;left:-12px}.ryu-guide img{filter:drop-shadow(0 7px 5px rgba(23,67,48,.27));width:100%;display:block}.ryu-guide span{color:#63381f;background:#fff7de;border:3px solid #704326;border-radius:13px;margin-top:-18px;padding:7px 11px;font-size:.83rem;font-weight:950;display:inline-block;transform:rotate(-4deg)}.canvas-wrap{background:radial-gradient(circle,#c6e977 0,#c6e977 38%,#79b53d 39%,#79b53d 65%,#477a2a 66%);border:7px solid #477a2a;border-radius:27px;height:min(59vh,640px);min-height:380px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 4px #9edc50,0 9px rgba(46,106,52,.36),0 12px 22px rgba(28,67,47,.25)}.canvas-wrap:after{content:"";pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0;box-shadow:inset 0 0 33px rgba(22,89,38,.28)}.canvas-wrap canvas{width:100%;height:100%;display:block}.game-message{color:#583621;text-align:center;background:#fff5d9;border:3px solid #694027;border-radius:14px;flex:none;place-items:center;min-height:38px;margin:12px auto 0;padding:7px 16px;font-size:.9rem;font-weight:850;display:grid;box-shadow:0 4px rgba(77,47,27,.22)}.gameplay-notice{z-index:4;color:#443124;background:linear-gradient(135deg,#fff8df,#ffe3a0);border:4px solid #704226;border-radius:21px;grid-template-columns:auto 1fr;align-items:center;gap:13px;width:min(78%,525px);min-height:96px;padding:13px 19px;display:grid;position:absolute;bottom:46px;right:14px;box-shadow:0 7px rgba(74,44,23,.28),0 11px 25px rgba(53,84,41,.3)}.gameplay-notice[hidden]{display:none}.gameplay-notice-icon{color:#fff;text-shadow:0 2px rgba(113,63,21,.32);background:#f3ae2d;border-radius:50%;place-items:center;width:54px;height:54px;font-size:2.4rem;font-weight:950;line-height:1;display:grid}.gameplay-notice strong{letter-spacing:-.035em;font-size:max(1.1rem,min(2vw,1.55rem));line-height:1.05;display:block}.gameplay-notice p{color:#705640;margin:5px 0 0;font-size:max(.9rem,min(1.45vw,1.08rem));font-weight:750;line-height:1.18}.program-tabs{background:#e9edf2;border-bottom:3px solid #d7c8b1;grid-template-columns:1fr 1fr;margin:0 -15px 12px;display:grid;overflow:hidden}.program-tabs span{color:#303848;text-align:center;padding:17px 8px;font-size:1.25rem;font-weight:950}.program-tabs span:first-child{color:#fff;background:#2588e9;border-radius:0 0 14px;box-shadow:inset 0 -5px rgba(15,101,188,.27)}.program-title{justify-content:space-between;align-items:end;gap:10px;padding:0 5px 10px;display:flex}.program-title small{color:#897d70;text-align:right;max-width:150px;font-size:.73rem;font-weight:750}.block-budget{white-space:nowrap;background:#eaf6c8;border:1px solid #4f8350;border-radius:999px;align-items:center;min-height:25px;padding:3px 8px;display:inline-flex;color:#3d6c35!important;font-weight:900!important}.block-budget[data-state=full]{background:#fff1ba;border-color:#d49e2c;color:#73510e!important}.block-budget[data-state=over]{background:#ffe0dc;border-color:#bc6262;color:#862f2f!important}.blockly-wrap{background:#fffaf0;border:2px dashed #cfc2ae;border-radius:15px;height:min(49vh,510px);min-height:365px;overflow:hidden}.blocklyTreeRow{border-radius:9px;margin:5px 8px;height:52px!important}.blocklyTreeLabel{font-size:16px;font-weight:900;font-family:inherit!important}.blocklySvg{font-weight:900;font-family:inherit!important}.action-row{flex:none;grid-template-columns:minmax(180px,68%);justify-content:center;margin-top:13px;display:grid}.run-button{color:#fff;text-shadow:0 2px rgba(0,0,0,.18);background:linear-gradient(#30b966,#16854a);border:4px solid #14693a;border-radius:20px;min-height:59px;font-size:1.28rem;font-weight:950;box-shadow:inset 0 2px rgba(255,255,255,.25),0 5px rgba(63,41,23,.3)}.run-button b{margin-right:9px;font-size:1.4em}.run-button:hover:not(:disabled),.top-actions button:hover,.palette-button:hover,.small-button:hover,.modal-action:hover{filter:brightness(1.09);transform:translateY(-2px)}.adventure-footer{justify-content:space-between;align-items:end;min-height:84px;margin:3px 32px 0 145px;display:flex}.trail-sign{color:#422719;text-align:center;text-shadow:0 1px rgba(255,235,172,.5);background:linear-gradient(105deg,#d89345,#ad642f);border:3px solid #663a1f;border-radius:10px;padding:7px 18px;font-size:.88rem;font-weight:950;line-height:1.1;transform:rotate(-2deg);box-shadow:0 4px rgba(76,45,24,.3)}.encouragement{background:#fff8e8;border:4px solid #704226;border-radius:18px;align-items:center;gap:8px;max-width:370px;padding:8px 14px;display:flex;box-shadow:0 5px rgba(79,47,26,.27)}.encouragement span{color:#ffc530;text-shadow:0 2px #7c4a22;font-size:2.9rem;line-height:1}.encouragement p{color:#685b52;margin:0;font-size:.82rem;font-weight:700;line-height:1.2}.encouragement strong{color:#3c302a;font-size:1.04rem}.editor-panel{margin-top:20px;padding:19px}.editor-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:15px;display:flex}.editor-state{color:#bdd8ef;font-size:.88rem;font-weight:650}.editor-content{grid-template-columns:minmax(390px,1fr) 290px minmax(280px,.9fr);align-items:stretch;gap:20px;display:grid}.palette{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.palette-button{color:#ddecff;background:#0c315e;border:1px solid #4779aa;border-radius:11px;place-items:center;gap:7px;min-height:98px;font-size:.9rem;font-weight:800;transition:transform .13s,filter .13s,border-color .13s;display:grid}.palette-button.is-active{background:#174c86;border-color:#ffd467;box-shadow:inset 0 0 0 1px #ffd467}.palette-icon{width:35px;height:35px;color:var(--palette-color);text-shadow:0 0 10px rgba(221,236,255,.55);place-items:center;font-size:35px;font-weight:900;line-height:1;display:grid}.editor-controls{border-left:1px dashed #44739f;grid-template-columns:1fr 1fr;align-content:start;gap:10px;padding-left:20px;display:grid}.editor-controls>label{color:#bad7ef;gap:5px;font-size:.78rem;font-weight:800;display:grid}.editor-controls input,.editor-controls select{color:#fff;background:#0a254b;border:1px solid #5c89b2;border-radius:7px;width:100%;min-height:38px;padding:5px 8px}.command-options,.editor-actions{grid-column:1/-1}.command-options{color:#bad7ef;border:1px dashed #44739f;border-radius:7px;grid-template-columns:1fr 1fr;gap:7px;margin:0;padding:9px;display:grid}.command-options legend{color:#bad7ef;padding:0 4px;font-size:.78rem;font-weight:800}.command-options label{align-items:center;gap:6px;font-size:.76rem;font-weight:700;display:flex}.command-options input{accent-color:#ffd467;width:auto;min-height:auto}.editor-actions{gap:8px;display:grid}.small-button{color:#fff;background:#164a7c;border:1px solid #5c89b2;border-radius:7px;min-height:38px;font-weight:800}.json-preview{resize:vertical;color:#bce8ff;background:#05162f;border:1px solid #315f94;border-radius:9px;width:100%;min-height:205px;padding:12px;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}@media (min-width:760px) and (orientation:landscape){.codventure-shell{padding-top:8px;padding-bottom:8px}.game-shell{height:calc(var(--player-viewport-height) - 245px);grid-template-columns:minmax(0,1.18fr) minmax(410px,.82fr);min-height:560px;max-height:none}.world-panel,.program-panel{min-height:0}.canvas-wrap,.blockly-wrap{flex:auto;height:auto;min-height:0}}@media (max-width:1030px){.editor-content{grid-template-columns:1fr}.editor-controls{border-top:1px dashed #44739f;border-left:0;grid-template-columns:repeat(3,1fr);padding:15px 0 0}.editor-controls>label,.editor-controls button{grid-column:auto}.command-options{grid-column:1/-1}}@media (max-width:620px){.codventure-shell{width:calc(100% - 18px);padding-top:9px}.codventure-header{gap:12px;padding:8px 11px}.codventure-logo{width:auto;max-height:42px}.level-label{padding-left:12px}.canvas-wrap{height:47vh;min-height:300px}.blockly-wrap{height:420px;min-height:350px}.world-panel,.program-panel,.editor-panel{padding:11px}.palette{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.palette-button{min-height:84px;padding:4px;font-size:.66rem}.palette-icon{transform:scale(.72)}.editor-controls{grid-template-columns:1fr 1fr}.editor-controls>label:nth-child(3),.editor-controls button{grid-column:1/-1}.editor-heading{flex-direction:column;align-items:flex-start;gap:7px}}.proposal-progress{color:#4a3522;background:#fff8df;border:2px solid #b98b52;border-radius:14px;flex-wrap:wrap;gap:9px 16px;margin:14px 0;padding:12px;font-size:.84rem;font-weight:800;display:flex}.proposal-list{gap:7px;margin-top:15px;display:grid}.proposal-row{color:#42321f;background:#fffdf3;border:2px solid #d6c295;border-radius:12px;grid-template-columns:25px 108px 92px minmax(92px,1fr) 72px minmax(145px,1.3fr) minmax(110px,1fr) minmax(108px,1fr) minmax(190px,auto);align-items:center;gap:8px;padding:9px;font-size:.76rem;display:grid}.proposal-row.is-selected{background:#edf8cc;border-color:#347f4b}.proposal-header{background:#f4e6be;border-style:dashed;font-weight:1000}.proposal-row .mini-board{width:84px;min-width:84px}.proposal-row .mini-board span{min-height:8px;font-size:.42rem}.proposal-check{place-items:center;display:grid}.proposal-status{text-align:center;background:#f5e7b9;border-radius:8px;padding:4px 6px;font-weight:1000}.proposal-status.is-approved{color:#255b31;background:#bfe7a1}.proposal-status.is-needs-attention,.proposal-status.is-needs-regeneration{color:#83351d;background:#ffd3b2}.proposal-actions{flex-wrap:wrap;justify-content:end;gap:5px;display:flex}.proposal-actions .small-button{padding:6px 8px;font-size:.7rem}.proposal-alternatives{background:#fff6d4;border:3px solid #9f7847;border-radius:17px;margin-top:18px;padding:18px}.proposal-alternatives>div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.proposal-alternatives h3{margin:0}.alternative-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.alternative-grid>article{background:#fffdf5;border:2px solid #d3ba84;border-radius:12px;padding:12px}.alternative-grid h4{margin:0 0 8px}.review-details{font-size:.79rem}.review-details p{overflow-wrap:anywhere;margin:7px 0}@media (max-width:1100px){.proposal-list{overflow-x:auto}.proposal-row{min-width:1040px}.proposal-controls{align-items:end}.alternative-grid{grid-template-columns:1fr}.codventure-header{grid-template-columns:270px minmax(250px,1fr) auto;gap:12px}.progress-trail{display:none}.brand-lockup small{font-size:.85rem}.level-label{padding:12px 17px}.top-actions button{width:48px;height:48px;font-size:1.5rem}.world-panel{padding-left:90px}.ryu-guide{width:115px;left:-12px}.adventure-footer{margin-left:90px}}@media (max-width:760px){.codventure-shell{width:min(100% - 18px,620px)}.codventure-header{grid-template-columns:1fr auto;gap:11px}.brand-lockup{grid-column:1/-1;justify-self:center;width:min(100%,410px)}.level-label{min-width:0;padding:10px 14px}.level-label em{font-size:.72rem}.game-shell{grid-template-columns:1fr;gap:18px}.world-panel{padding-left:70px}.ryu-guide{width:96px;bottom:46px;left:-9px}.ryu-guide span{border-width:2px;padding:4px 6px;font-size:.65rem}.canvas-wrap{height:430px;min-height:350px}.program-panel{min-height:610px}.blockly-wrap{height:415px;min-height:415px}.adventure-footer{gap:10px;margin:10px 0 0 70px}.encouragement{padding:7px 9px}.encouragement span{font-size:2rem}.encouragement p{font-size:.68rem}.encouragement strong{font-size:.82rem}.gameplay-notice{border-width:3px;border-radius:16px;width:calc(100% - 74px);min-height:86px;padding:10px 12px;bottom:43px;right:4px}.gameplay-notice-icon{width:42px;height:42px;font-size:1.9rem}}.generation-options,.validation-output{grid-column:1/-1}.generation-options{color:#bad7ef;border:1px dashed #44739f;border-radius:7px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:9px;display:grid}.generation-options legend{color:#bad7ef;padding:0 4px;font-size:.78rem;font-weight:800}.generation-options label{align-items:center;gap:6px;font-size:.76rem;font-weight:700;display:flex}.generation-options input{accent-color:#ffd467;width:auto;min-height:auto}.generation-label{color:#94b7db;text-transform:uppercase;grid-column:1/-1;font-size:.72rem;font-weight:800}.seed-control{color:#bad7ef;grid-template-columns:1fr auto;align-items:center;gap:8px;font-size:.78rem;font-weight:800;display:grid}.seed-control input{color:#fff;background:#0a254b;border:1px solid #5c89b2;border-radius:7px;min-width:0;min-height:38px;padding:5px 8px}.validation-output{color:#bdd8ef;border:1px solid #44739f;border-radius:7px;min-height:44px;padding:9px;font-size:.78rem;line-height:1.45}.validation-output.is-valid{color:#c9f4cd;border-color:#64c978}.validation-output.is-invalid{color:#ffd1cc;border-color:#ef8275}.developer-progress-tools{color:#dcecff;background:#0b2851;border:1px solid #315f94;border-radius:14px;align-items:center;gap:12px;margin-top:20px;padding:13px 19px;display:flex}.developer-progress-tools>span{font-weight:950}.developer-progress-tools small{color:#bdd8ef}.review-panel{background:linear-gradient(145deg,#0b2851,#071c3b);border:1px solid #315f94;border-radius:17px;margin-top:20px;padding:19px;box-shadow:0 13px 34px rgba(0,0,0,.23)}.review-heading{justify-content:space-between;align-items:start;gap:20px;display:flex}.review-heading h2{color:#fff;letter-spacing:-.04em;margin:3px 0 0;font-size:1.45rem}.review-heading p,.review-summary{color:#bdd8ef;font-size:.82rem}.review-controls{grid-template-columns:1.5fr .55fr .7fr repeat(3,auto);align-items:end;gap:9px;margin:15px 0 11px;display:grid}.review-controls label{color:#bad7ef;gap:4px;font-size:.76rem;font-weight:800;display:grid}.review-controls input,.review-controls select{color:#fff;background:#0a254b;border:1px solid #5c89b2;border-radius:7px;min-width:0;min-height:38px;padding:5px 8px}.candidate-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:13px;display:grid}.candidate-card{background:#0c315e;border:1px solid #4779aa;border-radius:10px;padding:12px}.candidate-card.is-duplicate{border-color:#d5ad5a}.candidate-card>div:first-child{color:#fff;justify-content:space-between;gap:7px;display:flex}.candidate-card>div:first-child span{color:#9ecbeb;font-size:.67rem;font-weight:850}.candidate-card p{color:#c5e0f3;margin:8px 0;font-size:.77rem;line-height:1.4}.candidate-card .solution{overflow-wrap:anywhere;color:#ffd775;font-weight:750}.candidate-actions{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.mini-board{grid-template-columns:repeat(var(--board-columns), 1fr);background:#071b42;border:1px solid #4e7eae;border-radius:5px;gap:2px;width:100%;max-width:180px;margin:10px 0;padding:4px;display:grid}.mini-board span{aspect-ratio:1;color:#63d4ff;border:1px solid rgba(135,188,239,.18);place-items:center;font-size:.67rem;display:grid}.empty-review{color:#bdd8ef}.player-shell{color:#173b35;width:min(1180px,100% - 40px);min-height:100vh;margin:0 auto;padding:26px 0 42px}.player-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.player-brand{color:#fff7dc;letter-spacing:-.09em;text-shadow:0 3px #2b6946;font-size:max(2rem,min(5vw,3.3rem));font-weight:1000;text-decoration:none}.player-brand span{color:#ffd141}.player-course{color:#4c3528;background:rgba(255,249,225,.9);border:3px solid #356d45;border-radius:999px;padding:9px 15px;font-weight:900}.player-eyebrow{color:#346447;letter-spacing:.11em;text-transform:uppercase;font-size:.78rem;font-weight:950;display:block}.player-home{grid-template-columns:1.2fr .8fr;align-items:center;gap:max(28px,min(7vw,100px));min-height:calc(100vh - 150px);display:grid}.home-copy h1{color:#fff9e9;letter-spacing:-.085em;text-shadow:0 5px #2b714d;margin:9px 0 12px;font-size:max(3.3rem,min(8vw,6.6rem));line-height:.86}.home-copy p{color:#f7fff1;text-shadow:0 2px rgba(23,70,46,.35);max-width:560px;font-size:max(1.05rem,min(2vw,1.35rem));font-weight:750;line-height:1.5}.home-actions{flex-wrap:wrap;gap:14px;margin-top:28px;display:flex}.player-primary,.player-secondary{border:3px solid #5d3b24;border-radius:18px;min-height:58px;padding:12px 23px;font-size:1.05rem;font-weight:950;box-shadow:0 5px rgba(62,41,24,.28)}.player-primary{color:#523018;background:linear-gradient(#ffd94e,#f5a928)}.player-secondary{color:#4c3628;background:#fff8e5}.home-card{background:linear-gradient(145deg,#fff7d8,#c7eb91);border:5px solid #fff8e5;border-radius:30px;padding:35px;position:relative;overflow:hidden;box-shadow:0 13px rgba(27,90,54,.28)}.home-card h2{margin:7px 0;font-size:2.1rem;line-height:1}.home-card p{line-height:1.45}.home-card strong{color:#346343;margin-top:24px;display:block}.map-sparkle{color:#efae21;text-shadow:0 2px #fff;font-size:4rem;position:absolute;top:14px;right:24px}.adventure-map{background:rgba(255,250,228,.95);border:5px solid #fff9e7;border-radius:30px;margin-top:34px;padding:25px;box-shadow:0 13px rgba(29,87,52,.26)}.map-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.map-heading h1{letter-spacing:-.065em;margin:3px 0;font-size:max(2rem,min(5vw,3.4rem))}.map-heading p{margin:0;font-weight:700}.text-button{color:#2b774b;background:0 0;border:0;padding:0;font-weight:900}.map-progress{color:#245d39;text-align:center;background:#e6f5bd;border:3px solid #579158;border-radius:18px;min-width:110px;padding:13px;font-size:1.7rem;font-weight:1000;display:grid}.map-progress small{letter-spacing:.06em;text-transform:uppercase;font-size:.7rem}.map-sections{gap:9px;margin:25px 0 17px;padding:3px;display:flex;overflow-x:auto}.map-sections button{color:#624322;background:#f7e2ae;border:2px solid #b98b52;border-radius:13px;min-width:max-content;min-height:46px;padding:8px 14px;font-weight:900}.map-sections button.is-selected{color:#fff;background:#519b56;border-color:#286a3e}.map-path{background:linear-gradient(135deg,#d3efa6,#9bd57a);border:4px dashed #6da25c;border-radius:23px;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));align-items:center;gap:26px 18px;min-height:310px;padding:36px 24px;display:grid;position:relative}.map-path:before{z-index:0;content:"";background:#d29d55;border-radius:99px;height:8px;position:absolute;top:50%;left:45px;right:45px}.path-start,.map-node{z-index:1;justify-self:center;position:relative}.path-start{color:#6d4827;background:#fff7d5;border:4px solid #6d4827;border-radius:50%;place-items:center;width:64px;height:64px;font-size:.78rem;font-weight:1000;display:grid}.map-node{color:#436244;background:0 0;border:0;place-items:center;gap:4px;width:78px;min-height:100px;font-weight:900;display:grid}.map-node span{background:#fff7d7;border:4px solid #6a482a;border-radius:50%;place-items:center;width:62px;height:62px;font-size:1.3rem;display:grid;box-shadow:0 5px rgba(88,61,36,.25)}.map-node small{background:rgba(255,255,255,.75);border-radius:8px;padding:3px 7px}.map-node.is-available span{background:#ffcc38;border-color:#236b40;animation:1.5s ease-in-out infinite map-node-bob}.map-node.is-completed span{color:#fff;background:#71c872;border-color:#216a44}.map-node:disabled{opacity:.6;cursor:not-allowed}.map-footer-actions{justify-content:space-between;gap:12px;margin-top:22px;display:flex}.unit-complete{text-align:center;background:#fff1b7;border:4px solid #e1a92e;border-radius:23px;margin:25px 0;padding:27px}.unit-complete>span{color:#e2a323;font-size:3rem}.unit-complete h2{margin:0;font-size:2rem}.success-overlay{z-index:10;background:rgba(17,68,47,.58);place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.success-overlay>div{color:#493321;text-align:center;background:#fff7d7;border:5px solid #fff8e5;border-radius:28px;justify-items:center;gap:14px;width:min(430px,100%);padding:35px;display:grid;box-shadow:0 16px rgba(33,61,42,.3)}.success-overlay span{color:#efad26;font-size:4rem}.success-overlay h2,.success-overlay p{margin:0}.success-overlay h2{font-size:2.2rem}.player-loading{color:#fff;place-items:center;min-height:100vh;font-size:1.4rem;font-weight:900;display:grid}.course-units{margin-top:-38px}.course-units>div,.unit-switcher{gap:10px;margin-top:8px;padding:4px;display:flex;overflow-x:auto}.course-unit-card,.unit-switcher button{color:#284832;text-align:left;background:#f5f4cf;border:3px solid #456f43;border-radius:15px;gap:4px;min-width:185px;padding:13px;display:grid}.course-unit-card span{letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:900}.course-unit-card strong{font-size:1rem}.course-unit-card small{font-weight:800}.unit-switcher{margin:18px 0 0}.unit-switcher button{min-height:44px;padding:8px 13px;font-weight:900}.unit-switcher button.is-selected{color:#fff;background:#4e9654}@keyframes map-node-bob{50%{transform:translateY(-7px)}}@media (max-width:700px){.player-shell{width:min(100% - 24px,600px);padding-top:16px}.player-home{grid-template-columns:1fr;padding:38px 0}.home-copy h1{font-size:4rem}.home-card{padding:25px}.adventure-map{padding:16px}.map-heading{flex-direction:column;align-items:start}.map-progress{align-self:end}.map-path{grid-template-columns:repeat(3,1fr);gap:22px 7px;padding:22px 8px}.map-path:before{display:none}.map-footer-actions{flex-direction:column-reverse}.map-footer-actions button{width:100%}}.codventure-shell{z-index:0;position:relative}.codventure-header,.adventure-footer{z-index:10;position:relative}.program-panel{z-index:20;position:relative}.gameplay-notice{z-index:40}.blockly-wrap{width:100%;position:relative}.blockly-canvas{width:100%;height:100%}.blockly-wrap .injectionDiv{min-width:100%;min-height:100%}.blockly-wrap .blocklyFlyout{z-index:20}.blockly-wrap .blocklyBlockDragSurface,.blockly-wrap .blocklyAnimationLayer{z-index:80}.blockly-canvas.has-legacy-program-view .injectionDiv{visibility:hidden;pointer-events:none}.legacy-block-palette{z-index:90;user-select:none;-webkit-touch-callout:none;background:#f5ead5;border:2px solid #714329;border-radius:12px;gap:8px;width:min(42%,178px);padding:8px;display:grid;position:absolute;top:8px;left:8px;box-shadow:0 3px rgba(84,55,31,.22)}.legacy-block-palette button{-webkit-appearance:none;appearance:none;color:#fff;text-align:left;text-shadow:0 1px rgba(0,0,0,.2);user-select:none;-webkit-touch-callout:none;touch-action:manipulation;border:2px solid rgba(53,50,43,.35);border-radius:9px;min-height:42px;padding:7px 8px;font-size:.78rem;font-weight:900;box-shadow:inset 0 1px rgba(255,255,255,.3),0 2px rgba(55,40,26,.22)}.legacy-block-palette button.is-pressed,.legacy-block-palette button:active{filter:brightness(.88);transform:translateY(2px);box-shadow:inset 0 2px rgba(0,0,0,.2),0 0 rgba(55,40,26,.22)}.legacy-program-view{-webkit-overflow-scrolling:touch;user-select:none;-webkit-touch-callout:none;padding:5px 2px 10px;position:absolute;top:8px;bottom:8px;left:196px;right:8px;overflow-y:auto}.legacy-program-view[hidden]{display:none}.legacy-program-empty{color:#897d70;text-align:center;margin:18px 8px;font-size:.82rem;font-weight:800}.legacy-program-block{color:#fff;text-shadow:0 1px rgba(0,0,0,.2);border:2px solid rgba(53,50,43,.36);border-radius:10px;align-items:center;min-height:45px;margin:0 4px 8px;padding:6px 6px 6px 12px;display:flex;box-shadow:inset 0 1px rgba(255,255,255,.3),0 2px rgba(55,40,26,.2)}.legacy-program-label{flex:auto;min-width:0;font-size:.82rem;font-weight:950}.legacy-program-actions{flex:none;display:flex}.legacy-program-control{color:#fff;-webkit-appearance:none;appearance:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation;background:rgba(44,42,36,.22);border:1px solid rgba(255,255,255,.68);border-radius:7px;width:27px;min-width:27px;height:29px;min-height:29px;padding:0;font-size:1rem;font-weight:950;line-height:1;box-shadow:inset 0 1px rgba(255,255,255,.2)}.legacy-program-control+.legacy-program-control{margin-left:4px}.legacy-program-control:disabled{opacity:.35}.legacy-program-control.is-pressed,.legacy-program-control:active{filter:brightness(.84);transform:translateY(1px)}.blockly-debug{z-index:130;color:#322c28;background:#fff8e8;border:3px solid #663a1f;border-radius:12px;width:min(520px,100% - 16px);max-height:52vh;padding:11px;font:12px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;position:fixed;bottom:8px;right:8px;overflow:auto;box-shadow:0 5px rgba(54,42,27,.3)}.blockly-debug strong{font:900 .9rem/1 Trebuchet MS,sans-serif}.blockly-debug .blockly-debug-mode{color:#a53720;margin-top:7px;font-size:1rem;display:block}.blockly-debug button{float:right;color:#4d2d1b;background:#f6bc35;border:1px solid #704226;border-radius:6px;padding:5px 7px;font:800 .7rem/1 Trebuchet MS,sans-serif}.blockly-debug pre{clear:both;white-space:pre-wrap;margin:10px 0 0}.has-blocking-modal{overflow:hidden}.has-blocking-modal .blocklyWidgetDiv,.has-blocking-modal .blocklyDropDownDiv,.has-blocking-modal .blocklyTooltipDiv{pointer-events:none!important;display:none!important}.is-blocking-modal{pointer-events:none}.player-modal-layer{z-index:100;-webkit-overflow-scrolling:touch;background:rgba(17,68,47,.58);place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.player-modal-card{z-index:110;color:#493321;-webkit-overflow-scrolling:touch;background:#fff7d7;border:5px solid #fff8e5;border-radius:28px;width:100%;max-width:460px;max-height:100%;padding:30px;position:relative;overflow:auto;box-shadow:0 16px rgba(33,61,42,.3)}.player-modal-card h2,.player-modal-card p{margin-top:0}.player-modal-card h2{letter-spacing:-.055em;margin-bottom:18px;font-size:2.2rem;line-height:1}.player-modal-card p{color:#685342;font-size:1.08rem;font-weight:750;line-height:1.45}.settings-actions{gap:12px;display:grid}.modal-action{border:3px solid #5d3b24;border-radius:18px;width:100%;min-height:58px;padding:11px 18px;font-size:1.1rem;font-weight:950;box-shadow:inset 0 2px rgba(255,255,255,.25),0 5px rgba(63,41,23,.28)}.modal-action-reset{color:#fff8e5;text-shadow:0 2px rgba(0,0,0,.18);background:linear-gradient(#9a6237,#6b3e24);border-color:#6d3d21}.modal-action-close{color:#4c3628;background:#fff8e5;margin-top:14px}.modal-button-row{grid-template-columns:1fr 1fr;gap:11px;margin-top:25px;display:grid}.modal-button-row .modal-action-close{margin-top:0}.message-from-dad-card{max-width:520px}.dad-message{background:#fffdf1;border:3px solid #d3a464;border-radius:17px;margin:0 0 24px;padding:17px 18px;box-shadow:inset 0 0 0 2px #f5e4bf}.dad-message p{color:#563d2c;margin:0;font-size:1.2rem;line-height:1.5}.dad-message p+p{margin-top:22px;font-family:Georgia,serif;font-weight:800}.success-modal-card{text-align:center;justify-items:center;gap:14px;max-width:430px;display:grid}.success-modal-card span{color:#efad26;font-size:4rem}.success-modal-card h2,.success-modal-card p{margin:0}.success-modal-card h2{font-size:2.2rem}.success-modal-card .player-secondary{width:100%}.audio-settings{background:#fffdf1;border:3px solid #d3a464;border-radius:17px;gap:15px;margin:0 0 20px;padding:17px;display:grid;box-shadow:inset 0 0 0 2px #f5e4bf}.audio-settings h3{color:#4c3628;margin:0;font-size:1.25rem}.audio-volume-control{color:#5d412d;grid-template-columns:1fr auto;align-items:center;gap:6px 12px;font-size:1rem;font-weight:900;display:grid}.audio-volume-control output{color:#397341;text-align:right;min-width:42px}.audio-volume-control input{accent-color:#438c4c;touch-action:pan-x;grid-column:1/-1;width:100%;min-height:34px;margin:0}.game-shell{grid-template-columns:minmax(0,1fr) minmax(360px,1.05fr);gap:18px;margin-top:16px}.world-panel{padding-left:115px}.ryu-guide{width:142px}.canvas-wrap{height:54vh;min-height:340px;max-height:580px}.blockly-wrap{height:46vh;min-height:320px;max-height:450px}.program-tabs{margin-bottom:9px}.program-tabs span{padding:13px 8px;font-size:1.1rem}.program-title{padding-bottom:7px}.action-row{gap:9px;margin-top:10px}.codventure-shell[data-player-layout=compact-landscape]{width:calc(100% - 16px);max-width:920px;padding-top:6px;padding-bottom:8px}.codventure-shell[data-player-layout=compact-landscape] .codventure-header{grid-template-columns:170px minmax(0,1fr) auto;gap:8px;min-height:62px}.codventure-shell[data-player-layout=compact-landscape] .brand-lockup{border-width:3px;border-radius:15px;padding:7px 10px 6px;box-shadow:inset 0 1px rgba(255,218,135,.38),0 3px rgba(72,48,24,.4)}.codventure-shell[data-player-layout=compact-landscape] .codventure-logo{width:auto;max-height:32px}.codventure-shell[data-player-layout=compact-landscape] .brand-lockup small{margin-top:3px;font-size:.62rem}.codventure-shell[data-player-layout=compact-landscape] .level-label{border-width:3px;border-radius:13px;padding:7px 10px;box-shadow:inset 0 0 0 2px #efd6a8,0 3px rgba(74,48,26,.3)}.codventure-shell[data-player-layout=compact-landscape] .level-label strong{font-size:1.15rem}.codventure-shell[data-player-layout=compact-landscape] .level-label em{display:none}.codventure-shell[data-player-layout=compact-landscape] .top-actions{gap:5px}.codventure-shell[data-player-layout=compact-landscape] .top-actions button{border-width:3px;width:38px;height:38px;font-size:1.15rem;box-shadow:inset 0 1px rgba(255,222,140,.35),0 3px rgba(80,45,25,.34)}.codventure-shell[data-player-layout=compact-landscape] .progress-trail{display:none}.codventure-shell[data-player-layout=compact-landscape] .game-shell{height:var(--gameplay-height,calc(var(--player-viewport-height) - 110px));grid-template-columns:minmax(0,.92fr) minmax(270px,1.08fr);gap:8px;min-height:0;margin-top:8px}.codventure-shell[data-player-layout=compact-landscape] .world-panel,.codventure-shell[data-player-layout=compact-landscape] .program-panel{min-height:0}.codventure-shell[data-player-layout=compact-landscape] .world-panel{padding:0 2px 0 42px}.codventure-shell[data-player-layout=compact-landscape] .world-intro{gap:6px;margin-bottom:4px;padding:4px 7px}.codventure-shell[data-player-layout=compact-landscape] .world-intro h1{font-size:1rem}.codventure-shell[data-player-layout=compact-landscape] .status-text{border-width:1px;padding:4px 6px;font-size:.65rem}.codventure-shell[data-player-layout=compact-landscape] .ryu-guide{width:61px;bottom:30px;left:-5px}.codventure-shell[data-player-layout=compact-landscape] .ryu-guide span{display:none}.codventure-shell[data-player-layout=compact-landscape] .canvas-wrap,.codventure-shell[data-player-layout=compact-landscape] .blockly-wrap{flex:auto;height:auto;min-height:0;max-height:none}.codventure-shell[data-player-layout=compact-landscape] .canvas-wrap{border-width:4px;border-radius:15px;box-shadow:inset 0 0 0 2px #9edc50,0 4px rgba(46,106,52,.36)}.codventure-shell[data-player-layout=compact-landscape] .game-message{border-width:2px;border-radius:10px;min-height:28px;margin-top:6px;padding:4px 8px;font-size:.7rem}.codventure-shell[data-player-layout=compact-landscape] .program-panel{border-width:3px;border-radius:18px;padding:0 8px 8px;box-shadow:0 5px rgba(42,102,74,.21),0 8px 16px rgba(31,75,52,.2)}.codventure-shell[data-player-layout=compact-landscape] .program-tabs{border-bottom-width:2px;margin:0 -8px 5px}.codventure-shell[data-player-layout=compact-landscape] .program-tabs span{padding:8px 5px;font-size:.9rem}.codventure-shell[data-player-layout=compact-landscape] .program-title{padding:0 2px 5px}.codventure-shell[data-player-layout=compact-landscape] .program-title h2{font-size:1rem}.codventure-shell[data-player-layout=compact-landscape] .program-title small{max-width:106px;font-size:.6rem}.codventure-shell[data-player-layout=compact-landscape] .blockly-wrap{border-width:1px;border-radius:9px}.codventure-shell[data-player-layout=compact-landscape] .action-row{grid-template-columns:minmax(150px,68%);margin-top:7px}.codventure-shell[data-player-layout=compact-landscape] .run-button{border-width:3px;border-radius:13px;min-height:58px;font-size:.93rem;box-shadow:inset 0 1px rgba(255,255,255,.25),0 3px rgba(63,41,23,.3)}.codventure-shell[data-player-layout=compact-landscape] .run-button b{margin-right:4px}.codventure-shell[data-player-layout=compact-landscape] .adventure-footer{display:none}.codventure-shell[data-player-layout=large] .game-shell{height:var(--gameplay-height,calc(var(--player-viewport-height) - 160px));grid-template-columns:minmax(0,1fr) minmax(360px,1.05fr);min-height:0;max-height:none}.codventure-shell[data-player-layout=large] .world-panel,.codventure-shell[data-player-layout=large] .program-panel{min-height:0}.codventure-shell[data-player-layout=large] .canvas-wrap,.codventure-shell[data-player-layout=large] .blockly-wrap{flex:auto;height:auto;min-height:0;max-height:none}@media (max-height:650px) and (orientation:landscape){.codventure-shell[data-player-layout=large]{padding-top:6px;padding-bottom:8px}.codventure-shell[data-player-layout=large] .codventure-header{grid-template-columns:170px minmax(0,1fr) auto;gap:8px;min-height:62px}.codventure-shell[data-player-layout=large] .brand-lockup{border-width:3px;border-radius:15px;padding:7px 10px 6px;box-shadow:inset 0 1px rgba(255,218,135,.38),0 3px rgba(72,48,24,.4)}.codventure-shell[data-player-layout=large] .level-label em,.codventure-shell[data-player-layout=large] .progress-trail{display:none}.codventure-shell[data-player-layout=large] .codventure-logo{width:auto;max-height:32px}.codventure-shell[data-player-layout=large] .brand-lockup small{margin-top:3px;font-size:.62rem}.codventure-shell[data-player-layout=large] .level-label{border-width:3px;border-radius:13px;padding:7px 10px;box-shadow:inset 0 0 0 2px #efd6a8,0 3px rgba(74,48,26,.3)}.codventure-shell[data-player-layout=large] .level-label strong{font-size:1.15rem}.codventure-shell[data-player-layout=large] .top-actions{gap:5px}.codventure-shell[data-player-layout=large] .top-actions button{border-width:3px;width:38px;height:38px;font-size:1.15rem;box-shadow:inset 0 1px rgba(255,222,140,.35),0 3px rgba(80,45,25,.34)}.codventure-shell[data-player-layout=large] .game-shell{margin-top:8px}}.codventure-shell[data-player-layout=stacked] .game-shell{grid-template-columns:1fr}@media (max-width:620px){.player-modal-layer{align-items:start;padding:14px 10px}.player-modal-card{border-width:4px;border-radius:22px;margin:auto 0;padding:23px 18px}.player-modal-card h2{font-size:1.8rem}.modal-button-row{grid-template-columns:1fr;gap:10px}.modal-button-row .modal-action-reset{grid-row:1}}
