@font-face{font-family:LocalSerif;src:local('Georgia')}*{box-sizing:border-box} :root{--paper:#f5f3eb;--ink:#263e34;--muted:#7b8277;--green:#285344;--line:#dedfd3;--accent:#d3a359;--white:#fffef8}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Segoe UI',Arial,sans-serif;font-size:14px}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #bd883d;outline-offset:4px}button{color:inherit}button[hidden],div[hidden],p[hidden]{display:none!important}.header{height:94px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4.5%;gap:16px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);font-size:20px;font-weight:850;letter-spacing:1px;line-height:1.2}.brand small{display:block;font-size:8px;letter-spacing:2.1px;font-weight:600;margin-top:5px}.brand-mark{background:var(--green);color:#f3f0d9;width:43px;height:47px;border-radius:12px 12px 18px 18px;display:grid;place-items:center;font-family:Georgia,serif;font-size:36px;font-weight:400}.header-actions{display:flex;gap:27px;align-items:center}.saved-progress{font-size:12px;color:var(--muted)}.text-button,.icon-button{border:0;background:transparent}.text-button{padding:8px 0;font-size:12px}.text-button span{margin-left:10px}.icon-button{border:1px solid var(--line);border-radius:50%;width:32px;height:32px;font-weight:600}.header .icon-button{font-family:Georgia,serif}main{max-width:1720px;margin:auto;padding:38px 4.5% 0}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:#7e8a75;margin:0 0 12px}h1{font-family:Georgia,LocalSerif,serif;font-size:clamp(25px,2.5vw,40px);letter-spacing:-1.4px;font-weight:400;line-height:1.15;margin:0}.intro-note{font-size:12px;line-height:1.8;color:var(--muted);margin:0 4px 0 20px}.levels{display:flex;gap:8px;align-items:center;margin-bottom:24px;overflow-x:auto;padding:3px 2px 8px;scrollbar-width:thin}.level-button{flex:1;min-width:66px;max-width:130px;height:42px;border:1px solid var(--line);border-radius:9px;background:#eeeee5;display:flex;align-items:center;justify-content:center;gap:8px;color:#888d80;font-size:12px;position:relative}.level-button .level-mini{width:19px;height:20px;display:flex;opacity:.75}.level-button.active{background:var(--green);border-color:var(--green);color:#fffdf2;box-shadow:0 3px 7px #28534422}.level-button.active .level-mini{opacity:1}.level-button.complete:after{content:'✓';position:absolute;right:4px;top:2px;font-size:9px;color:#8a9f6e}.level-button.active.complete:after{color:#e8d69c}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 287px;gap:25px;align-items:stretch}.board{border:1px solid #d6ddcb;border-radius:17px;overflow:hidden;background:#e1e8d5;min-width:0;box-shadow:0 6px 20px #243d3310}.board-top{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;background:#e4eadb}.mode-label{font-size:9px;letter-spacing:1.6px;font-weight:700;display:flex;align-items:center;gap:8px}.mode-label i{width:6px;height:6px;border-radius:50%;background:#699274}.mode-label.running i{background:#c49745;box-shadow:0 0 0 4px #c4974520}.board-reset{border:0;background:transparent;font-size:22px;color:#6a7b64;display:flex;gap:6px;align-items:center}.board-reset span{font-size:10px}.scene{position:relative;aspect-ratio:1200/650;isolation:isolate;overflow:hidden;background:#dce6ce}canvas{display:block;width:100%;height:100%}.slot-layer{position:absolute;inset:0;pointer-events:none}.slot{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);width:38px;height:25px;border-radius:50%;border:2px dashed #fdfcf3;background:#fdfcf32e;box-shadow:0 0 0 4px #53694715;transition:background .18s,box-shadow .18s;touch-action:manipulation;padding:0;z-index:3}.slot:after{content:'+';display:block;position:absolute;inset:0;color:#fffef4;text-shadow:0 1px 2px #4f674f;font-size:20px;line-height:19px}.slot:hover,.slot.targeted{background:#f9e2a6a8;box-shadow:0 0 0 7px #f5de9d33;border-color:#fffdf3}.slot.filled{border:0;background:transparent;box-shadow:none}.slot.filled:after{content:none}.slot .mounted{position:absolute;width:47px;height:65px;left:50%;bottom:8px;transform:translateX(-50%);filter:drop-shadow(2px 3px 2px #1d342d33);pointer-events:none}.slot .mounted:after{content:'';width:4px;height:32px;background:linear-gradient(90deg,#bcc1b1,#f5f3e4,#8e998c);position:absolute;left:calc(50% - 2px);bottom:0;z-index:-1}.slot .mounted svg{width:100%;height:44px}.slot .direction{position:absolute;top:12px;left:50%;transform:translateX(-50%);font-size:9px;white-space:nowrap;background:#f8f4dfeb;border-radius:10px;padding:1px 5px;color:#486044}.slot.chosen{box-shadow:0 0 0 5px #e9bb6475}.slot.error{box-shadow:0 0 0 6px #c36d4566;border-color:#c77555}.slot.success{box-shadow:0 0 0 5px #6a967855}.slot:disabled{opacity:1}.scene-caption{position:absolute;bottom:17px;left:22px;font-size:9px;letter-spacing:.8px;color:#62735b;background:#eff2e2b8;border:1px solid #f6f8ee80;border-radius:6px;padding:7px 10px;pointer-events:none}.placed-counter{position:absolute;right:20px;bottom:17px;font-size:10px;color:#5b7155;background:#f6f7ecdd;padding:7px 10px;border-radius:6px;pointer-events:none}.inventory{background:var(--white);padding:17px 23px 20px;border-top:1px solid #d5ddcb}.inventory-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.inventory-heading>span:first-child{font-size:9px;letter-spacing:1.8px;font-weight:700}.inventory-heading>span:last-child{color:#8c9286;font-size:10px}.sign-tray{display:flex;gap:11px;min-height:96px;align-items:stretch;overflow-x:auto;padding:3px}.sign-card{min-width:106px;max-width:145px;border-radius:10px;background:#f4f3ea;border:1px solid #e0e1d5;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:11px 12px 9px;transition:transform .16s,background .16s;user-select:none;touch-action:manipulation}.sign-card svg{width:46px;height:46px;pointer-events:none}.sign-card .sign-name{font-size:9px;line-height:1.25;max-width:108px;text-align:center}.sign-card .quantity{position:absolute;top:6px;right:7px;font-size:9px;color:#8b907e}.sign-card:hover{background:#e9eddc;transform:translateY(-2px)}.sign-card.selected{border:2px solid #577551;background:#edf0df;padding:10px 11px 8px;box-shadow:0 0 0 3px #5775510d}.sign-card.empty{opacity:.35}.sign-card.selected:after{content:'✓';position:absolute;left:5px;top:4px;color:#577551;font-size:10px}.task-panel{padding:9px 0 0;display:flex;flex-direction:column}.task-number{display:flex;justify-content:space-between;gap:7px;align-items:center;font-size:9px;letter-spacing:1.2px;color:#7a866e;font-weight:650}.task-number span:last-child{font-size:9px;letter-spacing:0;font-weight:400;background:#e8eadf;padding:5px 8px;border-radius:5px;color:#858b7c}h2{font-family:Georgia,serif;font-size:32px;line-height:1.12;font-weight:400;letter-spacing:-.8px;margin:18px 0 16px}.story{font-size:12px;line-height:1.8;color:#798174;margin:0 0 21px}.objective{border-top:1px solid var(--line);padding-top:20px}.tiny-label{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#8d927f}.objective p{font-size:13px;line-height:1.7;margin:9px 0 18px}.feedback{font-size:11px;line-height:1.7;color:#76816c;border-radius:10px;padding:13px;background:#e8ecdd;border:1px solid #dce3cf}.feedback b{display:block;font-size:12px;color:#456343;margin-bottom:4px}.feedback.error{color:#8a6747;background:#f0e4d0;border-color:#e7d4b7}.feedback.error b{color:#955d39}.feedback.success{background:#e2ebd9;border-color:#cbdabe}.selected-controls{padding:13px 0 0;font-size:10px;color:#7a836f}.selected-controls>div{display:flex;gap:7px;margin-top:8px}.small-button{background:transparent;border:1px solid #d6ddc9;border-radius:7px;padding:7px 10px;font-size:10px}.task-bottom{margin-top:auto;padding-top:22px}.hint-button{background:transparent;border:0;padding:5px 0;color:#7d886f;font-size:11px}.hint-text{font-size:11px;line-height:1.6;background:#eeebde;padding:12px;border-radius:8px}.play-button,.next-button{width:100%;display:flex;align-items:center;justify-content:space-between;background:var(--green);color:#fffdf0;border:0;border-radius:9px;padding:18px 20px;font-size:15px;margin-top:15px;font-weight:500;box-shadow:0 3px 0 #1e4236;transition:background .15s,transform .15s}.play-button:hover,.next-button:hover{background:#366650;transform:translateY(-1px)}.play-button span{font-size:12px}.next-button{background:#bd904e;box-shadow:0 3px 0 #9e793e;font-size:13px}.next-button:hover{background:#ac8041}.task-footnote{font-size:9px;color:#959b8b;text-align:center;margin-top:14px}footer{display:flex;justify-content:space-between;padding:22px 0 25px;color:#9ba18f;font-size:10px}footer>span:last-child{font-size:8px;letter-spacing:1.3px}.footer-dot{font-size:5px;vertical-align:middle;margin:0 6px}.simulation-bar{display:flex;align-items:center;gap:11px;padding:10px 20px;background:#f2f0e4;border-top:1px solid #d7dfcc}.simulation-bar input{min-width:40px;flex:1;accent-color:var(--green)}.simulation-bar>span{font-size:9px;white-space:nowrap;color:#7a856e}.simulation-bar .text-button{font-size:10px;white-space:nowrap}.simulation-bar .icon-button{width:28px;height:28px;font-size:11px}.scene.simulating .slot:not(.filled){visibility:hidden}.scene.simulating .slot.filled{pointer-events:none}dialog{border:1px solid var(--line);border-radius:20px;padding:40px;max-width:min(600px,92vw);background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #19332a44}dialog::backdrop{background:#19332a70;backdrop-filter:blur(5px)}dialog h2{font-size:34px;margin-top:5px}.dialog-close{position:absolute;right:17px;top:13px;border:0;background:transparent;font-size:27px;color:#7a866d}.help-steps{padding-left:22px}.help-steps li{padding:10px 0 10px 5px}.help-steps b{display:block;font-size:14px;font-weight:600;margin-bottom:6px}.help-steps span{display:block;font-size:12px;line-height:1.7;color:#7a836f}.dialog-note{font-size:11px;line-height:1.7;color:#8a8d7f}.art-dialog{max-width:min(1100px,94vw)}.art-dialog p{line-height:1.7;color:#7a836f;font-size:12px}.art-dialog img{width:100%;border-radius:12px;border:1px solid var(--line);margin:12px 0 7px}.art-dialog figure{margin:0 0 15px}.art-dialog figcaption{font-size:11px;color:#8a927c}.drag-ghost{position:fixed;pointer-events:none;width:60px;height:60px;z-index:100;filter:drop-shadow(0 5px 7px #243e3440);transform:translate(-50%,-50%)}
@media(min-width:1650px){.workspace{grid-template-columns:minmax(0,1fr) 330px;gap:34px}.story{font-size:14px}.objective p{font-size:15px}.feedback{font-size:13px}.sign-card{min-width:130px}h2{font-size:38px}}
@media(max-width:1050px){main{padding:27px 3% 0}.header{padding:0 3%;height:80px}.workspace{grid-template-columns:minmax(0,1fr) 245px;gap:19px}.task-panel h2{font-size:28px}.inventory{padding:14px}.inventory-heading>span:last-child{font-size:9px}.board-top{padding:0 16px;height:40px}.intro-note{display:none}.sign-card{min-width:94px;padding:9px}.sign-card.selected{padding:8px}.sign-card svg{width:40px;height:40px}.feedback{padding:10px}.task-bottom{padding-top:12px}.level-button{min-width:57px}.slot{width:32px;height:23px}.slot .mounted{width:40px;height:59px}.slot .mounted svg{height:40px}}
@media(max-width:760px){.header{height:73px}.brand{font-size:16px;gap:9px}.brand-mark{width:35px;height:40px;font-size:29px}.brand small{font-size:6px;letter-spacing:1.5px}.header-actions{gap:13px}.saved-progress{font-size:10px}.header .text-button{font-size:10px}.header .icon-button{width:27px;height:27px}main{padding:24px 4% 0}.eyebrow{font-size:8px;letter-spacing:1.3px}h1{font-size:28px;max-width:330px;line-height:1.1;letter-spacing:-.7px}.intro{margin-bottom:20px}.levels{gap:6px;margin-bottom:15px}.level-button{flex:none;width:51px;min-width:51px;height:37px;font-size:11px;gap:5px}.level-button .level-mini{width:15px;height:17px}.workspace{display:flex;flex-direction:column;gap:23px}.board{border-radius:12px}.board-top{height:35px;padding:0 12px}.mode-label{font-size:8px;letter-spacing:1px}.board-reset{font-size:18px}.board-reset span{font-size:9px}.scene{aspect-ratio:1200/760}canvas{position:absolute;height:100%;width:100%;object-fit:fill}.scene-caption{font-size:7px;left:9px;bottom:9px;padding:5px}.placed-counter{right:9px;bottom:9px;font-size:8px;padding:5px}.inventory{padding:12px}.inventory-heading{margin-bottom:9px}.inventory-heading>span:first-child{font-size:8px}.inventory-heading>span:last-child{font-size:8px}.sign-tray{min-height:83px;gap:8px}.sign-card{min-width:86px;max-width:111px;border-radius:8px;gap:5px}.sign-card svg{width:34px;height:34px}.sign-card .sign-name{font-size:8px}.slot{width:30px;height:23px}.slot .mounted{width:32px;height:49px;bottom:5px}.slot .mounted svg{height:32px}.slot .mounted:after{height:26px;width:3px}.slot .direction{font-size:8px;top:11px}.slot:after{font-size:17px}.task-panel{padding:0 3px}.task-number{font-size:9px}.task-panel h2{font-size:31px;margin:12px 0}.story{font-size:13px;margin-bottom:16px}.objective{padding-top:16px}.objective p{font-size:14px;margin-bottom:15px}.feedback{font-size:12px;padding:13px}.task-bottom{padding-top:12px}.task-bottom .play-button,.task-bottom .next-button{padding:17px 20px}.selected-controls{font-size:12px}.small-button{font-size:12px}.task-footnote{margin-top:12px}footer{font-size:8px;gap:10px;padding:24px 0}.simulation-bar{gap:6px;padding:8px}.simulation-bar .text-button{font-size:9px}.simulation-bar>span{display:none}dialog{padding:29px 24px}.art-dialog{padding:30px 16px}dialog h2{font-size:28px}.help-steps{padding-left:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(min-width:761px) and (max-height:900px){.header{height:72px}main{padding-top:23px}.intro{margin-bottom:20px}.levels{margin-bottom:15px}.board-top{height:37px}.scene{aspect-ratio:1200/540}.inventory{padding:12px 18px}.inventory-heading{margin-bottom:7px}.sign-tray{min-height:79px}.sign-card{padding:7px 10px;gap:4px}.sign-card.selected{padding:6px 9px}.sign-card svg{width:37px;height:37px}.task-panel h2{margin-top:13px;margin-bottom:12px}.story{margin-bottom:15px}.objective{padding-top:14px}.task-bottom{padding-top:12px}footer{padding-top:15px}}
.board{border:6px solid #ece6d5;box-shadow:0 5px 0 #d8d2c2,0 12px 35px #55492c13;background:#eae2ce}.board-top{background:#f4efdf;color:#686b51}.scene{background:#d2d6a9}.inventory{background:linear-gradient(110deg,#fffcf0,#f6efdf);border-top:1px solid #d9cfb9}.sign-card{background:linear-gradient(130deg,#fffdf2,#ebe4d2);border-color:#d9cfb8;box-shadow:0 2px 2px #7f6e4c13,inset 0 1px #fffdf7}.sign-card.selected{background:linear-gradient(130deg,#fffde9,#e7e9cf);border-color:#657c4b}.sign-card:hover{background:#f0eed8}.slot{border-color:#fffae3;background:#fff6d936;box-shadow:0 0 0 5px #263e351c,0 2px 5px #263e3533}.slot:after{text-shadow:0 1px 3px #263e35;font-weight:600}.slot.filled:before{content:'';position:absolute;left:calc(50% - 10px);top:8px;width:20px;height:7px;border-radius:50%;background:#ddd6b7;border:1px solid #a8a58b;box-shadow:5px 4px 5px #263e3544}.slot .mounted{filter:drop-shadow(3px 4px 2px #20362b55)}.slot .direction{background:#fff9e6f0;color:#384c34;box-shadow:0 1px 2px #263e3533}.scene-caption,.placed-counter{background:#fffae8e8;color:#5b6548;box-shadow:0 2px 5px #394d2c20}.simulation-bar{background:#f3eddd}.play-button{background:linear-gradient(135deg,#315b45,#254936)}
