

:root{--ink:#131c2b;--deep:#101b28;--panel:#1c2c3f;--line:#385169;--cream:#f7edcc;--mint:#66efd1;--yellow:#ffcd52;--orange:#ff9650;--white:#f7fcff;--muted:#acbecc;--danger:#ff7379}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:#0e1c2c;background-image:radial-gradient(ellipse at 50% -20%,#32505e 0,transparent 65%),repeating-linear-gradient(45deg,#ffffff03 0 1px,transparent 1px 14px);color:var(--white);font-family:Rubik,system-ui,Arial,sans-serif;-webkit-font-smoothing:antialiased}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #fff;outline-offset:3px}button:disabled{opacity:.4;cursor:not-allowed}
.wrap{max-width:1490px;margin:auto;padding:20px 22px 36px}.top{display:flex;align-items:center;gap:18px;justify-content:space-between;margin-bottom:14px;flex-wrap:wrap}.logo{display:flex;align-items:center;gap:13px}.logo-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;transform:rotate(-7deg);font-size:39px;background:linear-gradient(145deg,#ffde77,#ec8849);box-shadow:0 5px 0 #8c572e,0 9px 24px #0007}.eyebrow{font-size:10px;font-weight:900;letter-spacing:2.4px;color:var(--mint)}h1{font-size:clamp(23px,2.5vw,35px);line-height:1.1;letter-spacing:-1.2px;margin:3px 0}.subtitle{font-size:12px;color:#adbfcb}.subtitle strong{color:var(--yellow)}.stats{display:flex;gap:9px;flex-wrap:wrap}.stat{min-width:105px;background:#1d3042;border:1px solid #46647a;padding:9px 12px;border-radius:13px;box-shadow:inset 0 1px #ffffff16}.stat small{display:block;color:#c1cfda;font-size:10px;letter-spacing:.5px;font-weight:800;margin-bottom:4px}.stat b{font-size:16px}.stat .progress{height:4px;border-radius:20px;background:#102331;overflow:hidden;margin-top:6px}.stat .progress i{height:100%;display:block;background:var(--mint);border-radius:10px}.stat.energy i{background:var(--yellow)}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:14px}.viewport{border:2px solid #587389;background:#152f39;border-radius:19px;overflow:hidden;box-shadow:0 12px 35px #0007;min-width:0}.mapbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 16px;background:linear-gradient(90deg,#213c47,#1d3942);border-bottom:1px solid #496a75}.mapbar strong{font-size:13px}.mapbar span{font-size:11px;color:#c9dcd6}.maparea{position:relative;width:100%;aspect-ratio:1180/695;background:#2e6a66;overflow:hidden;cursor:crosshair}.maparea canvas{width:100%;height:100%;display:block;touch-action:none}.maptips{position:absolute;left:13px;bottom:12px;padding:8px 11px;border-radius:11px;background:#0c1d2ade;border:1px solid #7ea5a966;font-size:11px;pointer-events:none;color:#edfdf9}.maptips b{color:var(--yellow)}.maptop{position:absolute;top:12px;left:13px;padding:8px 11px;border:1px solid #ffffff60;background:#102531cc;border-radius:9px;color:#fff;font-size:11px;pointer-events:none;font-weight:800}.maptop em{font-style:normal;color:var(--mint)}.mobaction{position:absolute;right:10px;bottom:10px;background:var(--yellow);border:none;border-bottom:4px solid #a46934;color:#261d14;font-size:12px;font-weight:900;padding:10px 14px;border-radius:11px;display:none}
.statusrow{background:#15293b;border-top:1px solid #466171;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:13px 16px;flex-wrap:wrap}.statusrow span{font-size:12px;color:#bed0d9}.statusrow strong{color:#ffdf81}.key{font-size:10px;font-weight:900;border:1px solid #69818f;background:#263d4f;padding:5px 7px;border-radius:6px;color:#e3eff5}
.right{display:flex;flex-direction:column;gap:12px}.panel{background:linear-gradient(160deg,#20384b,#162a3b);border:1px solid #506c7d;border-radius:17px;padding:15px;box-shadow:0 10px 23px #0003}.panel h2{margin:0 0 11px;font-size:14px}.panel p{color:#bbcbd4;line-height:1.55;margin:7px 0;font-size:12px}.shift-progress{height:10px;background:#0a1d2b;border-radius:99px;overflow:hidden;margin:12px 0 7px;border:1px solid #395568}.shift-progress i{display:block;height:100%;background:linear-gradient(90deg,#6fe8c8,#c2ff7d);transition:width .3s}.quest{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid #ffffff16;font-size:11px;color:#e3edf1}.quest i{width:20px;height:20px;display:grid;place-items:center;background:#354a5d;border:1px solid #668193;border-radius:7px;font-style:normal;flex-shrink:0}.quest.done{color:#8cecc8}.quest.done i{background:#285d55;border-color:#3a9c85}.pillbtn{border:0;border-bottom:4px solid #987335;border-radius:11px;background:var(--yellow);color:#372818;font-weight:900;font-size:12px;padding:11px 14px;width:100%;margin-top:9px}.pigtalk{display:flex;gap:9px;align-items:flex-start;border:1px solid #d3718c;background:linear-gradient(120deg,#61384e,#402e43);border-radius:12px;padding:10px;margin-top:9px;font-size:12px;line-height:1.5}.pigtalk b{display:block;color:#ffc1d1}.pigtalk span:first-child{font-size:26px}.smallnote{font-size:10px;color:#9eb7c6;line-height:1.55;margin-top:7px}
.controls{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px;align-items:center}.controls button{background:#2b4253;color:#dbeef0;border:1px solid #688392;border-radius:9px;font-size:11px;font-weight:800;padding:9px 12px}.controls button:hover{background:#385568}.controls .reset{margin-left:auto;color:#ffac9f;border-color:#a36867}
.legend{font-size:11px;color:#b9c9d5;margin:16px 3px 0;line-height:1.6}.legend b{color:#ffda82}
.overlay{position:fixed;inset:0;z-index:10;display:none;align-items:center;justify-content:center;padding:16px;background:#081321df;backdrop-filter:blur(9px)}.overlay.show{display:flex}.dialog{position:relative;width:min(850px,100%);max-height:min(94dvh,920px);overflow-y:auto;border:2px solid #7a9fac;border-radius:19px;background:#1c3344;box-shadow:0 30px 110px #000b}.dialog:before{content:"";height:6px;background:repeating-linear-gradient(90deg,#ffcb5d 0 28px,#292e34 28px 56px);display:block}.modalbar{padding:15px 19px;border-bottom:1px solid #49667d;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#253e50}.modalbar small{display:block;color:#7ee9ce;font-size:10px;font-weight:900;letter-spacing:1.5px}.modalbar h2{font-size:19px;margin:3px 0 0}.modalright{display:flex;align-items:center;gap:8px}.clock{background:#111f2e;border:1px solid #577081;border-radius:10px;font-size:17px;font-weight:900;padding:8px 12px;color:#ffe18d;min-width:77px;text-align:center;font-variant-numeric:tabular-nums}.clock.low{color:#ff7779;animation:pulse .45s infinite alternate}.exit{background:#354c5b;border:1px solid #69879a;color:#fff;width:35px;height:35px;border-radius:10px;font-size:20px}.modalbody{padding:18px}.lesson{display:flex;align-items:flex-start;gap:10px;background:#173940;border:1px solid #368c81;border-left:4px solid #83e5c1;padding:11px 13px;margin-bottom:15px;border-radius:10px;font-size:12px;line-height:1.6;color:#dffaf3}.lesson b{color:#9bffcf}.lessonicon{font-size:22px}.missiondesc{font-size:12px;color:#bdceda;margin:0 0 14px}.worktop{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0 12px}.worktop strong{font-size:14px}.stepbadge{font-size:11px;color:#d8e6e9;background:#2b4557;border-radius:10px;padding:7px 10px;border:1px solid #587588}.workbench{position:relative;min-height:250px;background:repeating-linear-gradient(90deg,#1c3445 0 29px,#22394a 29px 31px);border:1px solid #517486;box-shadow:inset 0 7px 25px #04121b8e;border-radius:14px;padding:18px;overflow:hidden}.workbench:before{content:"";position:absolute;left:0;right:0;bottom:0;height:9px;background:repeating-linear-gradient(90deg,#e9ac50 0 20px,#26343b 20px 40px)}.parts{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.part{flex:1 1 145px;min-height:90px;border:1px solid #6a8b9e;border-bottom:4px solid #415768;border-radius:12px;background:linear-gradient(#375469,#294053);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px;transition:transform .12s,background .12s}.part:hover{background:#4c697c;transform:translateY(-3px)}.part:active{transform:translateY(2px)}.part .symbol{font-size:29px}.part b{font-size:12px}.part small{font-size:10px;color:#b8ccda}.part.placed{opacity:.4}.machine{height:220px;display:flex;align-items:center;justify-content:center;gap:3px;position:relative;z-index:1}.pipe-section{width:55px;height:88px;background:linear-gradient(#5c8291 0 12%,#afcbd5 22%,#829eaa 55%,#456d7f 90%);border:4px solid #274553;box-shadow:inset 0 0 6px #fff4,0 13px 8px #0004;position:relative;transition:.25s}.pipe-section:before,.pipe-section:after{content:"";position:absolute;inset:-6px auto -6px -8px;width:12px;background:linear-gradient(#b7cbd3,#668697);border:3px solid #264657;border-radius:7px}.pipe-section:after{left:auto;right:-7px}.pipe-section.missing{background:#ffffff12;border:3px dashed #9cb6bb;box-shadow:none;opacity:.75}.pipe-section.missing:before,.pipe-section.missing:after{display:none}.headpart{width:94px;height:113px;border-radius:30px 30px 18px 18px}.gasketpart{width:19px;height:104px;background:#f1b85f;border:4px solid #855b34;box-shadow:inset 0 0 7px #fff8}.clamppart{width:22px;height:124px;border-radius:9px;background:repeating-linear-gradient(0deg,#899eab 0 8px,#314d63 8px 15px)}.benchlabel{position:absolute;bottom:14px;left:18px;font-size:11px;font-weight:800;color:#adc9d0}.feedback{font-size:12px;color:#ffdc86;min-height:24px;font-weight:700;margin-top:9px}.action{background:var(--yellow);color:#322213;border:0;border-bottom:4px solid #a5762b;font-weight:900;border-radius:11px;padding:12px 17px}.action.secondary{background:#3e6477;color:#f2ffff;border-bottom-color:#213a47}.action.good{background:#69e0b6;border-bottom-color:#31886b}.action:active{transform:translateY(3px);border-bottom-width:1px}.actionrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.safety{font-size:12px;line-height:1.5;color:#ffd9a0;border:1px dashed #c09562;border-radius:9px;padding:9px 12px;margin-bottom:12px}.filtermachine{position:relative;width:min(450px,100%);height:260px;margin:auto}.hopper{position:absolute;left:15%;right:15%;top:15px;bottom:30px;background:linear-gradient(135deg,#66899b,#344f61 35%,#4b6d7e 70%,#243e50);border:6px solid #94b3c2;border-radius:24px;box-shadow:12px 13px 0 #10202f,0 0 0 3px #152b3a}.hopper:after{content:"";position:absolute;left:30%;right:30%;top:-25px;height:32px;border-radius:8px;background:#6a91a4;border:4px solid #adc8d2}.hatch{position:absolute;inset:23px;background:#101f2b;border:8px solid #adc3c8;border-radius:17px;box-shadow:inset 0 0 30px #000;display:grid;place-items:center}.filtercore{width:120px;height:108px;background:repeating-linear-gradient(90deg,#b1e5dd 0 8px,#509c9e 8px 12px);border:5px solid #7fd0c5;border-radius:12px;box-shadow:0 0 25px #57c4b04d;display:grid;place-items:center;font-size:35px;transition:.2s}.filtercore.dirty{background:repeating-linear-gradient(90deg,#886d60 0 8px,#4b4b43 8px 12px);border-color:#a7846e;filter:saturate(.7)}.filtercore.missing{opacity:.15}.bolt{position:absolute;width:38px;height:38px;border:3px solid #122434;border-radius:50%;background:linear-gradient(135deg,#c6d1d7,#738e9b);color:#213e4a;display:grid;place-items:center;font-size:22px;font-weight:900;box-shadow:0 3px 0 #091d29;transition:transform .15s}.bolt:active{transform:rotate(55deg) scale(.95)}.bolt.removed{opacity:.2;pointer-events:none}.bolt.topleft{left:14%;top:15%}.bolt.topright{right:14%;top:15%}.bolt.bottomleft{left:14%;bottom:12%}.bolt.bottomright{right:14%;bottom:12%}.gasketoptions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gasket{background:#2b4a5d;color:#fff;border:1px solid #7698a4;border-radius:11px;padding:14px 9px;text-align:center}.gasket span{font-size:31px;display:block;margin-bottom:8px}.gasket b{font-size:11px}.gasket small{display:block;color:#bcd0d7;font-size:10px;margin-top:5px}
.diagram{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;min-height:190px}.duct{background:linear-gradient(#7295a2,#3a6371);width:110px;height:90px;border:5px solid #acd3d8;border-radius:13px;display:grid;place-items:center;position:relative;box-shadow:0 9px 0 #172d3d;overflow:visible}.duct .elbow{font-size:48px;color:#d0efeb;line-height:1;transition:transform .2s}.duct .rotate{position:absolute;bottom:-28px;right:-7px;width:38px;height:38px;border-radius:50%;background:#ffce64;border:3px solid #936b2f;color:#272326;font-size:23px;font-weight:900}.duct.target{border-color:#6ce9c2}.ductlabel{position:absolute;top:-30px;font-size:10px;color:#c6dfe2;white-space:nowrap}.airsource,.airout{font-size:37px;background:#254458;border:2px solid #6997a2;border-radius:12px;padding:15px 8px}.arrow{font-size:25px;color:#6edec7;animation:airflow 1.1s infinite}.gaugegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.gauge{background:#213c4d;border:1px solid #6c8c9c;border-radius:12px;padding:12px;min-width:0}.gauge .meter{height:120px;width:23px;margin:12px auto;border-radius:20px;position:relative;background:linear-gradient(0deg,#ff616f 0 20%,#6fdab9 20% 80%,#ffb554 80%);border:3px solid #153040}.meter i{position:absolute;left:-9px;right:-9px;height:7px;top:50%;background:white;border:2px solid #0e2432;border-radius:20px;transform:translateY(-50%);transition:top .15s}.gauge label{display:block;font-size:11px;font-weight:900;text-align:center}.gauge input{display:block;width:100%;accent-color:#ffce6f;margin-top:9px}.gauge output{display:block;font-size:12px;text-align:center;font-weight:800;color:#ffe09f;margin-top:8px}.quiz{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quiz button{background:#294b5d;border:1px solid #7594a3;color:#e8f8ff;padding:15px;text-align:left;border-radius:12px;font-size:12px;font-weight:700;min-height:66px}.quiz button:hover{background:#3c6678}.teacher{display:flex;align-items:center;gap:14px;margin:0 0 20px}.teacher span{font-size:64px}.teacher div{background:#fff3d4;color:#2a3742;font-size:13px;font-weight:700;border-radius:15px 15px 15px 3px;padding:15px;line-height:1.6}.star{font-size:64px;text-align:center;animation:pop .5s cubic-bezier(.2,.9,.1,1.1)}.result{text-align:center;padding:25px 20px}.result h2{font-size:26px}.result p{font-size:13px;color:#c5d5e1;line-height:1.6}.result strong{color:var(--mint)}.footnote{margin-top:11px;font-size:10px;color:#93aab9;line-height:1.5}
.pigalert{position:absolute;z-index:11;right:16px;top:79px;width:min(310px,calc(100% - 32px));padding:14px;border-radius:14px;border:2px solid #ff99ad;background:linear-gradient(135deg,#793b5f,#4d304b);box-shadow:0 15px 30px #000a;display:none;animation:pop .3s}.pigalert.show{display:block}.pigalert .pighead{font-size:43px;float:left;margin-right:10px}.pigalert p{font-size:11px;line-height:1.5;margin:4px 0 10px}.pigalert button{padding:7px 10px;font-size:11px;border-radius:8px;background:#ffd46f;border:0;color:#3a2324;font-weight:900}.toast{position:fixed;bottom:18px;left:50%;z-index:40;transform:translateX(-50%) translateY(30px);opacity:0;pointer-events:none;max-width:min(90vw,520px);background:#ffdc78;color:#312a21;font-size:12px;font-weight:900;border-radius:12px;padding:12px 17px;box-shadow:0 15px 35px #000a;transition:.2s}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@keyframes pulse{to{background:#55323e;transform:scale(1.05)}}@keyframes airflow{50%{opacity:.4;transform:translateX(3px)}}@keyframes pop{from{transform:scale(.55);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:1060px){.layout{grid-template-columns:1fr}.right{display:grid;grid-template-columns:1fr 1fr}.maparea{aspect-ratio:1180/695}}@media(max-width:650px){.wrap{padding:11px 9px 26px}.logo-icon{width:47px;height:47px;font-size:32px}.top{gap:11px}.eyebrow{letter-spacing:1.3px;font-size:8px}.subtitle{font-size:10px}h1{font-size:22px}.stats{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.stat{min-width:0;padding:8px}.stat b{font-size:13px}.stat small{font-size:9px}.right{grid-template-columns:1fr}.panel{padding:12px}.maparea{aspect-ratio:4/3}.maparea canvas{height:100%;object-fit:cover}.mobaction{display:block}.maptips{font-size:9px;bottom:9px;left:7px;padding:6px}.maptop{font-size:9px;left:7px;top:7px;padding:6px}.statusrow{padding:10px}.statusrow span{font-size:10px}.modalbody{padding:12px}.modalbar{padding:12px;gap:4px}.modalbar h2{font-size:15px}.modalbar small{font-size:9px}.clock{font-size:13px;padding:7px;min-width:58px}.dialog{max-height:95dvh}.workbench{min-height:205px;padding:9px}.machine{height:180px;transform:scale(.8)}.pipe-section{width:46px}.headpart{width:70px}.gasketoptions{gap:5px}.gasket{padding:7px 3px}.gasket b{font-size:9px}.duct{width:59px;height:67px}.duct .elbow{font-size:34px}.duct .rotate{width:30px;height:30px;font-size:18px}.airsource,.airout{font-size:23px;padding:9px 5px}.arrow{font-size:13px}.diagram{gap:3px}.gaugegrid{gap:5px}.gauge{padding:7px}.gauge label{font-size:9px}.teacher span{font-size:40px}.teacher div{font-size:11px;padding:10px}.quiz button{padding:10px;font-size:11px}.parts{gap:6px}.part{flex:1 1 90px;min-height:83px;padding:6px}.part b{font-size:10px}.part .symbol{font-size:24px}}

/* Version 0.3: cozy hand-drawn 2D presentation. Pure CSS + Canvas, no external assets. */
:root{--ink:#514437;--deep:#386e70;--panel:#fff7e7;--line:#d3b894;--cream:#fff8e6;--mint:#7acfae;--yellow:#f8c46e;--orange:#ec996c;--white:#493b38;--muted:#88766b;--danger:#dd7289}
body{color:#513f3c;background:#f3ead1;background-image:radial-gradient(circle at 14% 12%,#fcf7e5 0 12%,transparent 32%),radial-gradient(circle at 83% 24%,#cde1d1 0 4%,transparent 42%),repeating-linear-gradient(90deg,#795d3210 0 1px,transparent 1px 30px);font-family:system-ui,-apple-system,'Trebuchet MS',Arial,sans-serif}
.wrap{max-width:1480px;padding-top:19px}
.logo-icon{background:linear-gradient(155deg,#ffe3a7,#f1b66d);border:3px solid #9e7556;border-radius:21px;box-shadow:0 6px 0 #b99473,0 12px 22px #7e5b3444}
h1{color:#4b493d;text-shadow:0 2px #fff6d9;letter-spacing:-1.4px;font-weight:950}
.eyebrow{color:#368a7c}.subtitle{color:#6c6860}.subtitle strong{color:#c97561}
.stat{background:#fff8e7;border:2px solid #c7ac88;box-shadow:0 4px 0 #cbb698;color:#504337;border-radius:16px;min-width:118px}
.stat small{color:#917967}.stat b{color:#4a493c}.stat .progress{background:#e7d7be;height:7px}.stat .progress i{background:#75bfa4}.stat.energy i{background:#f5b561}
.viewport{border:3px solid #9c8062;border-radius:23px;background:#d8f0d9;box-shadow:0 8px 0 #b5a17f,0 19px 35px #9e82504a}
.mapbar{padding:14px 16px;background:#fff7df;border-bottom:3px solid #cebc99;color:#5d5543}.mapbar strong{font-size:12px;letter-spacing:.45px}.mapbar span{color:#938071}
.maparea{background:#add2ad}.maparea canvas{image-rendering:auto}
.maptop,.maptips{border:2px solid #b58f71;background:#fff9e8f2;color:#5d4b40;box-shadow:0 4px 0 #a88d6b55;font-weight:900}.maptop em,.maptips b{color:#bd7668}
.mobaction{color:#5d453a;background:#ffdd8b;border:2px solid #947652;border-bottom-width:5px}
.statusrow{background:#fff6e2;border-top:3px solid #ccb892;padding:14px}.statusrow span{color:#655c4e}.statusrow strong{color:#b96c57}.key{background:#f9e5c7;color:#76604c;border:1px solid #bb9c77}
.panel{background:#fff8e7;border:2px solid #c9ae85;border-radius:21px;box-shadow:0 6px 0 #d7c4a8,0 13px 21px #ae99713d;color:#5b493c}.panel h2{color:#625046;font-size:14px}.panel p{color:#7f6f5e}
.shift-progress{background:#e6dbc1;border:1px solid #c9ac80}.shift-progress i{background:linear-gradient(90deg,#a4d3a1,#7ebfac)}.quest{color:#60554c;border-bottom-color:#ddcdb3}.quest.done{color:#438b74}.quest i{background:#ffedd3;color:#554738;border-color:#dec49d}.quest.done i{background:#bce0b6;border-color:#93b78c}
.pillbtn{background:#f4c783;border-bottom:4px solid #ba8c55;color:#6a503d}.pigtalk{background:#ffe8e6;border:2px dashed #db96a0;color:#865363}.pigtalk b{color:#a85a6b}.smallnote{color:#8d7b6c}
.controls button{background:#fff9ed;border:2px solid #ccb08d;color:#715c48;border-radius:11px}.controls button:hover{background:#f8e8cc}.controls .reset{color:#bb6b66;border-color:#dfb6b0}.legend{color:#76685b}.legend b{color:#ad7351}
.overlay{background:#2e3e36cf;backdrop-filter:blur(6px)}.dialog{background:#fff8e8;color:#52483f;border:3px solid #a78c6b;border-radius:22px;box-shadow:0 20px 70px #29332a99}
.dialog:before{background:repeating-linear-gradient(90deg,#f3d291 0 20px,#f5b778 20px 40px)}
.modalbar{background:#f8e7c9;color:#57483f;border-bottom:2px solid #dbc5a4}.modalbar h2{color:#4d4640}.modalbar small{color:#789e75}.clock{background:#fff8e3;border:2px solid #c19d78;color:#a16a53}.clock.low{color:#c85569}.exit{background:#fff8e3;border:2px solid #c6a37b;color:#7b6055}
.lesson{background:#eef6d9;border:2px solid #a9cf9e;border-left:6px solid #70b59d;color:#546f60;border-radius:15px}.lesson b{color:#38765f}
.missiondesc{color:#79695b}.stepbadge{background:#f6ead2;color:#7d6d5b;border:1px solid #d7ba91}
.workbench{background:repeating-linear-gradient(0deg,#eff3db 0 27px,#e3e8cc 27px 28px),repeating-linear-gradient(90deg,transparent 0 27px,#ccdbbf55 27px 28px);border:3px solid #c4af88;box-shadow:inset 0 6px 12px #c3a77e35;border-radius:18px}
.workbench:before{background:repeating-linear-gradient(90deg,#eed7a4 0 25px,#edbc89 25px 50px)}
.benchlabel{color:#7f7964}.part{background:linear-gradient(#fffcf2,#f5e5c6);border:2px solid #b5a07f;border-bottom-width:5px;color:#5f5045}.part:hover{background:#fff2dc}.part small{color:#967d67}
.pipe-section{border-color:#6e7777;box-shadow:inset 0 0 6px #fff9,0 7px 8px #99887166}.pipe-section.missing{border-color:#9bada8}
.action{background:#ffdb8b;color:#685040;border-bottom:4px solid #af895d}.feedback{color:#ae6b46}.teacher{color:#54493e}
.gasket{background:#fffbeb;color:#56483e;border-color:#bca586}.gasket small{color:#887665}.safety{background:#fff1da;color:#876248;border-color:#c8a97a}
.duct{background:linear-gradient(#b8d8d4,#7dabaa);border-color:#fff5d9;box-shadow:0 7px 0 #8ca6a1}.duct.target{border-color:#88d1a4}.ductlabel{color:#766855}.airsource,.airout{background:#f4e6ca;border:2px solid #c5a983}.arrow{color:#598b7c}
.gauge{background:#fff9e9;border-color:#ceb48f}.gauge label{color:#78654d}.gauge output{color:#966a46}.quiz button{background:#fff8e9;border:2px solid #c3ad8c;color:#5c4d41}.quiz button:hover{background:#edefd4}
.pigalert{background:linear-gradient(145deg,#ffe8e1,#fbd4d5);color:#985464;border:3px solid #cf8896;box-shadow:0 8px 0 #ac708655}.pigalert button{background:#ffdf9b;color:#744e46;border:2px solid #c09567}.pigalert p{color:#9b6872}
.mobile-quests{display:none;padding:10px;background:#fff9e8;border-top:2px solid #d7c7ac}.mobile-quests b{display:block;font-size:10px;color:#8e7661;letter-spacing:1px;margin-bottom:8px}.mobile-quests #quicklaunch{display:flex;gap:7px;flex-wrap:wrap}.quick{border:2px solid #b79a7c;background:#ffead1;color:#5c4f43;padding:9px 10px;border-radius:12px;font-size:11px;font-weight:900;flex:1 1 110px}
@media(max-width:1060px){.mobile-quests{display:block}}
@media(max-width:650px){.wrap{padding:10px 9px 26px}.top{margin-bottom:14px}.maparea{aspect-ratio:1180/695}.maparea canvas{object-fit:contain;width:100%;height:100%}.maptop{font-size:8px;max-width:66%;line-height:1.3}.maptips{display:none}.mobaction{display:none}.stat{min-width:0}.statusrow{padding:10px}.statusrow div{display:none}.mobile-quests{padding:9px}.quick{min-width:44%;padding:10px 6px}.modalbar h2{font-size:13px}.worktop strong{line-height:1.4}.teacher{color:#54493e}}
@media(prefers-reduced-motion:reduce){.clock.low,.arrow{animation:none}}
/* Keep airflow controls touchable on small screens (no label interception). */
.ductlabel{pointer-events:none}
.duct .rotate{z-index:8}
@media(max-width:650px){
 .diagram{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;justify-content:flex-start;gap:10px;min-height:207px;padding:35px 8px 34px;scrollbar-width:thin}
 .duct{flex:0 0 75px;width:75px;height:73px}
 .duct .rotate{right:5px;bottom:-29px}
 .airsource,.airout{flex:0 0 43px}
 .arrow{flex:0 0 15px}
}

/* v0.4: antagonist crew */
.enemycrew{margin-top:12px;background:linear-gradient(145deg,#fff0dc,#ffe2dc);border:2px solid #d79c81;border-radius:16px;padding:11px;color:#865647}
.enemycrew h3{font-size:13px;letter-spacing:.8px;margin:0 0 10px;color:#914d58}
.crewitem{display:flex;gap:9px;align-items:center;padding:6px 0;border-bottom:1px solid #ddbea3;line-height:1.3}.crewitem:last-of-type{border:0}
.crewitem span{font-size:25px;line-height:1}.crewitem b{display:block;color:#5b4650;font-size:12px}.crewitem small{display:block;font-size:10px;color:#8e766c}
.enemyhint{display:block;margin-top:10px;font-size:10px;line-height:1.4;color:#8e625d}
.enemybadge{display:inline-block;margin-top:5px;padding:4px 8px;border:1px solid #d9a491;border-radius:8px;background:#fff1de;color:#99545b;font-size:10px;font-weight:900}
.pigalert{width:min(360px,calc(100% - 20px));right:10px;top:84px;padding:13px;z-index:30;max-height:min(50dvh,360px);overflow-y:auto}
.enemyheader{display:flex;align-items:center;gap:10px}.enemyheader b{display:block;font-size:14px}.enemyheader small{display:block;font-size:11px;color:#895c62;margin-top:3px}
.enemyface{font-size:40px;line-height:1.2;filter:drop-shadow(0 3px 0 #fff9)}.enemyface.kolosya{animation:enemyBob .45s infinite alternate}.enemyface.porosya{animation:enemyBob .8s infinite alternate}
.pigalert .enemyaction{display:block;min-height:44px;width:100%;font-size:12px;position:relative;touch-action:manipulation;cursor:pointer}
.pigalert .enemyaction.flying:before{content:"🦅";display:inline-block;margin-right:5px;animation:birdMove .66s ease-in-out infinite alternate}
.stolen-tools{display:flex;gap:11px;justify-content:space-between}.pigalert .toolitem{font-size:25px;min-width:52px;min-height:48px;flex:1;touch-action:manipulation}
.toolitem.recovered{opacity:.45}.modalbody.blackout{filter:brightness(.31);transition:filter .18s;pointer-events:none}
@keyframes enemyBob{to{transform:translateY(-7px) rotate(-7deg)}}
@keyframes birdMove{from{transform:translateX(-12px) rotate(-2deg)}to{transform:translateX(12px) rotate(2deg)}}
@media(max-width:600px){.pigalert{right:8px;top:82px;width:calc(100% - 16px);padding:10px}.pigalert p{margin:6px 0 9px}.enemyface{font-size:31px}.enemyheader b{font-size:12px}.pigalert .enemyaction{font-size:11px}}
@media(prefers-reduced-motion:reduce){.enemyface,.pigalert .enemyaction.flying:before{animation:none}}

/* ---------------------------------------------------------------
   v0.5 visual direction: bright illustrated educational adventure.
   All effects and assets are local. No network fonts or dependencies.
   --------------------------------------------------------------- */
:root{--paper:#fff8e9;--chocolate:#624b3f;--copper:#b67c5b;--sage:#3f927f;--turquoise:#368b8c;--blush:#ffdae2;--soft-border:#dac39c}
body{background:
  radial-gradient(ellipse at 10% 2%,#fff9e5 0,transparent 32%),
  radial-gradient(ellipse at 90% 8%,#c4e7d1 0,transparent 35%),
  radial-gradient(ellipse at 50% 100%,#e5ceaa 0,transparent 60%),
  repeating-linear-gradient(90deg,#705f4a07 0 1px,transparent 1px 24px),#f4e9d2}
.wrap{max-width:1550px;padding:20px 25px 34px}
.top{margin-bottom:16px;align-items:stretch;gap:16px}
.logo{min-width:300px;flex:1;gap:15px}
.logo-art{width:166px;height:104px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 9px 0 #8a685027)}
.eyebrow{font-size:11px;letter-spacing:1.9px;font-weight:950}
h1{font-size:clamp(27px,3vw,43px);max-width:640px;line-height:1.03;margin:7px 0 9px;color:#514338;letter-spacing:-1.4px}
h1 span{color:#438a80}.subtitle{font-size:13px;line-height:1.4;color:#806d5e}.subtitle strong{color:#c56570}
.stats{align-items:center;gap:10px}.stat{min-width:118px;min-height:82px;padding:12px 14px;border-radius:20px;background:#fff9ed;box-shadow:0 6px 0 #d7c4a2,0 12px 25px #86705924}
.stat small{font-size:10px;letter-spacing:.7px}.stat b{font-size:24px}.stat .progress{margin-top:9px;height:8px}.stat .progress i{border-radius:20px}
.hero-ribbon{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;color:#65735e;font-size:12px;font-weight:850;letter-spacing:.2px;margin-bottom:17px;padding:12px 15px;background:#fffaf0;border:2px solid #ddc9a8;box-shadow:0 5px 0 #e1d2b6;border-radius:18px}
.ribbon-tag{color:#a36b54;background:#ffebc5;border:1px solid #e4bf8c;padding:7px 10px;border-radius:9px;white-space:nowrap;font-size:10px}
.hero-ribbon b{color:#efa26b;font-size:12px}
.viewport{box-shadow:0 8px 0 #baa27c,0 25px 50px #8b7b5950;overflow:hidden}
.mapbar{display:flex;flex-wrap:wrap;gap:7px}.mapbar strong{color:#6c5240;letter-spacing:.55px}
.maparea{isolation:isolate}.maparea:before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(165deg,#fffee220 0%,transparent 30%,#253f3920 100%)}
.maptop{z-index:3}.maptips{z-index:3}
.statusrow{font-size:12px}.statusrow strong{color:#3d988d}
.right{gap:15px}
.panel{padding:17px 16px;background:linear-gradient(156deg,#fffaf0,#fff2dc);border-radius:22px;box-shadow:0 6px 0 #d0b690,0 16px 24px #ae8d642c}
.panel h2{font-size:14px;letter-spacing:.4px}
.panel-kicker{color:#a77c54;font-size:10px;font-weight:950;letter-spacing:2px;margin-bottom:7px}
.career-panel{background:linear-gradient(150deg,#e8f9ed 0%,#fff8e7 78%);border-color:#a3bda1}
.career-head{display:flex;align-items:center;gap:11px;margin:14px 0 12px;background:#fff9e7;border:1px solid #d5c8a4;border-radius:16px;padding:11px}
.career-medal{font-size:31px;border:2px solid #ebc793;border-radius:13px;background:#fff2d4;padding:7px}
.career-head small{display:block;font-size:9px;letter-spacing:1px;color:#a58a74;font-weight:900}
.career-head strong{display:block;color:#5a5b48;font-size:16px;line-height:1.25;margin-top:3px}
.career-xp{font-size:11px;color:#847566;display:flex;justify-content:space-between;gap:12px}.career-xp strong{color:#368578;font-size:12px}
.career-meta{font-size:11px;color:#678575;font-weight:750;line-height:1.45;margin:11px 0}
.exam-button,.course-button{width:100%;display:block;border-radius:13px;padding:13px 11px;font-weight:950;font-size:12px;margin-top:8px;border:2px solid #ac956e;background:linear-gradient(#ffdd87,#eeba66);color:#654b37;box-shadow:0 4px 0 #b79563;transition:transform .1s ease}
.exam-button:not(:disabled):hover,.course-button:hover{transform:translateY(-2px)}
.exam-button:not(:disabled){border-color:#317d74;background:linear-gradient(#8be9c0,#48b89f);color:#194e46;box-shadow:0 4px 0 #377c76;animation:examGlow 2.8s ease-in-out infinite}
.exam-button:disabled{opacity:.75;background:#e9e2d2;color:#8f8777;box-shadow:0 3px 0 #c9c0b0}
.course-button{background:#fff9e7;border-color:#bba28a;color:#6d6953;box-shadow:0 4px 0 #c8b9a3}
@keyframes examGlow{50%{box-shadow:0 4px 0 #377c76,0 0 22px #7bdfbb}}
.antagonist-panel{background:linear-gradient(155deg,#fff1e5,#f8e2e6);border-color:#d8b09d}
.enemy-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.enemy-tiles>div{border:1px solid #e9c4b2;border-radius:14px;background:#fff9f1;padding:9px;min-height:91px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px}
.enemy-tiles span{font-size:25px;filter:drop-shadow(0 3px #b28d7050)}.enemy-tiles b{color:#85565d;font-size:11px}.enemy-tiles small{color:#a37c78;font-size:10px}
.bonus-zone{background:linear-gradient(135deg,#fff5df,#ebf8e8);border-top:3px solid #c5b496;padding:19px 18px 21px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.section-heading small{display:block;color:#a58d67;font-size:9px;font-weight:950;letter-spacing:1.3px;margin-bottom:5px}
.section-heading h2{font-size:19px;margin:0;line-height:1.25;color:#5d5747}
.section-flair{font-size:10px;font-weight:850;background:#a0ddcc;color:#346c67;padding:7px 9px;border-radius:20px}
.bonus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bonus-card{min-height:104px;display:flex;gap:13px;align-items:center;text-align:left;background:#fffaf0;border:2px solid #c4ae8c;border-bottom:6px solid #bba17d;box-shadow:0 8px 17px #967c5c22;border-radius:18px;padding:12px;transition:transform .15s ease,box-shadow .15s ease;color:#544c3d}
.bonus-card:hover{transform:translateY(-3px);box-shadow:0 12px 18px #967c5c2a}
.bonus-card.leak{background:linear-gradient(140deg,#edfaf4,#fff9ec)}.bonus-card.sort{background:linear-gradient(140deg,#fff4e8,#fffbe8)}
.bonus-art{width:61px;height:61px;border:3px solid #c6ad83;border-radius:15px;background:radial-gradient(circle at 40% 30%,#fff,#e9d6b5);display:grid;place-items:center;font-size:32px;flex-shrink:0;transform:rotate(-4deg)}
.bonus-card b{display:block;font-size:15px}.bonus-card small{display:block;line-height:1.35;font-size:11px;margin-top:6px;color:#887a68}
.bonus-arrow{align-self:flex-start;margin-left:auto;font-size:17px;color:#7b9b8c}
.controls{margin-top:20px}.controls button{font-weight:750;padding:10px 14px;background:#fff9ed;box-shadow:0 3px 0 #d1bea3}
.game-footer{font-size:9px;letter-spacing:1.2px;text-align:center;color:#ad9680;margin-top:20px;font-weight:750}
.legend{max-width:1100px;margin:18px auto 0;text-align:center;line-height:1.6;font-size:11px}

/* The course and the exam have their own designed surfaces. */
.book-intro,.chapter-intro{padding:16px 18px;background:#e8f6e3;border:2px solid #abcba3;border-radius:15px;color:#557366;font-size:14px;line-height:1.55;margin-bottom:15px}
.chapter-row{width:100%;display:flex;align-items:center;gap:12px;padding:13px 14px;border:2px solid #dac5a8;border-radius:15px;background:#fffaf1;color:#574b3d;text-align:left;margin-bottom:9px;transition:transform .15s ease}
.chapter-row.available:hover{transform:translateX(4px);background:#f2fae9}
.chapter-row.locked{background:#efeee9;opacity:.6}.chapter-emoji{font-size:27px;width:41px;flex-shrink:0;text-align:center}
.chapter-row span:nth-child(2){flex:1}.chapter-row b{display:block;font-size:14px;margin-bottom:4px}.chapter-row small{display:block;color:#8e8272;line-height:1.45;font-size:11px}.chapter-row em{font-size:10px;white-space:nowrap;color:#488977;font-style:normal;font-weight:900}
.study-note{display:flex;gap:13px;background:#fff9eb;border:1px solid #d5be9b;border-radius:13px;margin:10px 0;padding:13px}
.study-note>span{background:#96d7bd;color:#275951;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:950;flex-shrink:0}
.study-note strong{display:block;color:#5e5547;font-size:15px}.study-note p{margin:5px 0 0;color:#7a7165;font-size:13px;line-height:1.58}
.chapter-tip{padding:13px 16px;border:2px dashed #e4bd84;border-radius:13px;background:#fff0d5;color:#8b634b;font-size:12px;line-height:1.5;margin:16px 0}
.quiet-action{background:#fff9ec!important;border:2px solid #cfb993!important;margin-top:10px;color:#7c6752!important}
.exam-intro{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#537765;font-size:11px;font-weight:950;flex-wrap:wrap;margin-bottom:10px}
.exam-progress{height:9px;overflow:hidden;background:#e7dec9;border-radius:99px;margin-bottom:17px}.exam-progress i{height:100%;display:block;background:linear-gradient(90deg,#78cfad,#e2c579);border-radius:99px;transition:width .3s}
.exam-question{font-size:clamp(19px,2.3vw,25px);line-height:1.35;color:#4a5047;margin:8px 0 20px}
.exam-options{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:14px}.exam-options button{min-height:75px;line-height:1.4;border-radius:13px;text-align:left;font-size:13px;padding:12px 14px;background:#fffdf5}
.exam-options button.correct{background:#c9efd6;border-color:#72b99c;color:#3d6c58;opacity:1}.exam-options button.incorrect{background:#ffdadb;border-color:#de9498;color:#9b5159;opacity:1}
.exam-options button:disabled{opacity:.7;cursor:default}.answer-note{background:#ecf6e5;color:#516e5e;border-radius:15px;padding:14px;margin-bottom:14px;border:1px solid #acc59e;font-size:13px;line-height:1.55}.answer-note p{margin:6px 0 0}
.score-large{font-size:40px!important;font-weight:1000;color:#397f71!important;margin:10px 0}

/* Two additional minigames. */
.leak-scene{height:240px;position:relative;overflow:hidden;border:3px solid #aaad93;border-radius:17px;background:
  radial-gradient(circle at 30% 35%,#e7f7e1 0 2%,transparent 22%),
  repeating-linear-gradient(0deg,#dbe5d5 0 27px,#ccd8cc 28px 29px),#d8e6d4;box-shadow:inset 0 7px 0 #ffffff86;margin:12px 0}
.leak-duct{position:absolute;background:linear-gradient(#9cc8c3,#7baba9 40%,#639a9b 65%,#9cc8c3);border:5px solid #5a8583;box-shadow:0 8px 6px #738f7f50;border-radius:14px}
.leak-duct.horizontal{left:7%;right:7%;height:46px;top:40%}
.leak-duct.vertical{left:46%;top:12%;height:160px;width:50px}
.leak-fan{position:absolute;top:15px;right:14px;font-size:44px;animation:enemyBob 1s infinite alternate}
.leak-spot{position:absolute;z-index:2;transform:translate(-50%,-50%);width:45px;height:45px;display:grid;place-items:center;border:3px solid #c5af87;border-radius:50%;background:#fff1c5;color:#725d48;font-size:23px;box-shadow:0 4px 0 #a39375;transition:transform .1s}
.leak-spot:hover{transform:translate(-50%,-54%) scale(1.08)}.leak-spot.leaky{background:#fce8d6;border-color:#d18e84;animation:leakBreathe 1.1s infinite alternate}.leak-spot.found{background:#bce8ca;border-color:#68ad86;animation:none}.leak-spot:focus-visible{outline:3px solid #374f4a}
.scene-label{position:absolute;bottom:9px;left:12px;background:#fff7e8de;color:#547568;padding:6px 9px;border-radius:8px;font-size:10px;font-weight:900;letter-spacing:.3px}
@keyframes leakBreathe{to{box-shadow:0 0 0 10px #f1a3a62c,0 4px 0 #a39375}}
.conveyor{border:3px solid #c5a984;border-radius:19px;padding:22px 20px;background:repeating-linear-gradient(90deg,#e7dfc9 0 28px,#c8c9ba 29px 31px);margin:12px 0 15px;box-shadow:inset 0 0 15px #999e8866}
.conveyor-belt{padding:20px;border:6px solid #7e9a9a;border-radius:20px;background:repeating-linear-gradient(90deg,#718d91 0 38px,#637b7d 39px 43px);display:grid;place-items:center;min-height:150px}
.conveyor-package{animation:packageArrive .22s ease-out;background:linear-gradient(#fff4dc,#e8cfa7);border:3px solid #a37f57;border-radius:15px;box-shadow:0 8px 0 #7e594757;padding:16px 28px;text-align:center;display:flex;align-items:center;flex-direction:column;color:#5b4f41;min-width:210px}
.conveyor-package .package-icon{font-size:34px}.conveyor-package strong{font-size:25px;margin-top:7px}.conveyor-package span{font-size:11px;margin-top:7px;color:#866f59}
.conveyor-light{text-align:right;margin-top:10px;color:#52877b;font-size:10px;font-weight:950;letter-spacing:1px}
.sort-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sort-actions button{width:100%;min-height:50px}
@keyframes packageArrive{from{transform:translateX(-18px);opacity:.5}to{transform:translateX(0);opacity:1}}
@media(max-width:1250px){.logo-art{width:136px;height:86px}h1{font-size:clamp(26px,3.2vw,36px)}.stats .stat{min-width:106px}}
@media(max-width:900px){.hero-ribbon{gap:7px;padding:10px;font-size:10px}.hero-ribbon b{font-size:10px}.bonus-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){
  .wrap{padding:12px 9px 26px}.top{gap:12px}.logo{min-width:0;gap:9px}.logo-art{width:98px;height:81px}
  .eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:clamp(22px,5.9vw,28px);margin:5px 0;letter-spacing:-.7px}h1 span{display:block}
  .subtitle{font-size:10px;line-height:1.35}.stats{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
  .stats .stat{min-width:0;min-height:69px;padding:9px 10px;border-width:1px;border-radius:13px;box-shadow:0 3px 0 #d7c4a2}
  .stat small{font-size:8px;letter-spacing:0}.stat b{font-size:18px}.stat .progress{margin-top:6px;height:6px}
  .hero-ribbon{font-size:9px;border-radius:12px;gap:5px;margin-bottom:10px}.hero-ribbon .ribbon-tag{font-size:8px;padding:5px}.hero-ribbon b{display:none}
  .viewport{border-radius:16px;border-width:2px}.mapbar{padding:11px 10px}.mapbar strong{font-size:10px}.mapbar span{font-size:9px}
  .maptop{z-index:4;max-width:65%;font-size:8px}.statusrow{padding:11px 9px;font-size:10px;line-height:1.5}.mobile-quests{padding:11px}
  .bonus-zone{padding:13px 11px 17px}.section-heading h2{font-size:15px}.section-flair{font-size:8px}
  .bonus-grid{grid-template-columns:1fr;gap:9px}.bonus-card{min-height:79px;padding:9px}.bonus-art{width:47px;height:47px;font-size:27px}.bonus-card b{font-size:13px}.bonus-card small{font-size:10px;margin-top:3px}
  .exam-options{grid-template-columns:1fr;gap:9px}.exam-options button{min-height:56px;font-size:12px}.exam-question{font-size:19px}.chapter-row{padding:10px 8px;gap:8px}
  .chapter-row b{font-size:12px}.chapter-row small{font-size:10px}.chapter-row em{font-size:9px}.chapter-emoji{width:30px;font-size:22px}
  .study-note{padding:10px}.study-note p{font-size:12px}.leak-scene{height:203px}.leak-spot{width:39px;height:39px;font-size:20px}
  .scene-label{font-size:8px}.conveyor{padding:12px}.conveyor-belt{padding:12px;min-height:125px}.conveyor-package{padding:13px 18px;min-width:145px}
  .sort-actions button{font-size:11px;padding:10px 6px}.controls{margin-top:15px}.controls button{padding:10px;font-size:10px}.game-footer{font-size:8px;letter-spacing:.5px}
}
@media(prefers-reduced-motion:reduce){.exam-button:not(:disabled),.leak-spot,.leak-fan,.conveyor-package{animation:none}}
/* Avoid giant empty canvas column when the career sidebar grows taller. */
.layout{align-items:start}
.viewport{align-self:start;min-height:0}
