@font-face{font-family:Nunito;src:url('../../assets/standard/nunito-latin.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#99d6e8;color:#183e46;font-family:Nunito,system-ui,sans-serif;overscroll-behavior:none}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;font-weight:900;cursor:pointer;color:inherit;border:0;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #ffbd32;outline-offset:4px}button:active{transform:translateY(2px)}[hidden]{display:none!important}#world,.shade{position:fixed;inset:0}#world canvas{display:block;width:100%;height:100%;touch-action:none}.shade{pointer-events:none;background:linear-gradient(180deg,#14394035,transparent 25%,transparent 65%,#173d4959)}header{position:fixed;top:max(16px,env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{text-decoration:none;color:#fff;display:flex;gap:10px;align-items:center;font-size:11px;letter-spacing:1.5px;font-weight:900;text-shadow:0 1px 10px #183d4670}.brand small{display:block;font-size:13px;letter-spacing:.3px;margin-top:2px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#ffd266;color:#183e46;font-size:28px;transform:rotate(-6deg)}nav{display:flex;gap:8px;align-items:center}nav button,#score{background:#fff8e9ed;border:1px solid #fff9;box-shadow:0 4px 16px #173d4920;border-radius:14px;min-width:44px;height:44px;font-size:22px}#score{display:flex;align-items:center;padding:0 16px;font-size:18px;color:#8f650a}.mission{position:fixed;top:88px;left:20px;width:300px;padding:20px;background:#fffbf1f2;border-radius:20px;box-shadow:0 8px 30px #153a4622}.eyebrow{display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px;font-weight:900;color:#5e817e}.mission h2{font-size:23px;line-height:1.15;margin:12px 0 8px}.mission p{font-size:14px;line-height:1.4;margin:0;min-height:40px}.progress{height:8px;border-radius:5px;background:#dce7df;margin-top:16px;overflow:hidden}.progress i{display:block;background:#efb536;width:0;height:100%;transition:width .4s}.mission-foot{display:flex;justify-content:space-between;font-size:10px;font-weight:900;letter-spacing:1px;margin-top:8px}#compass{position:fixed;right:24px;top:95px;background:#173e46d9;color:#fff;border:1px solid #fff5;border-radius:50%;height:104px;width:104px;text-align:center;padding:10px}#direction{display:block;font-size:28px;line-height:30px}#compass strong{font-size:19px}#compass small{font-size:6px;letter-spacing:1px;display:block}#machineBar{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:6px;padding:8px;background:#173e46e8;border:1px solid #fff4;border-radius:21px}#machineBar button{width:79px;min-height:70px;border-radius:13px;background:transparent;color:#e0ece8;padding:6px;position:relative}#machineBar button.active{background:#ffcf60;color:#183e46}#machineBar button.needed:not(.active){box-shadow:inset 0 0 0 2px #ffd166}#machineBar span{display:block;font-size:25px;line-height:28px}#machineBar small{display:block;font-size:9px;margin-top:5px}#machineBar kbd{position:absolute;right:5px;top:3px;font-size:8px;opacity:.5}#actions{position:fixed;right:24px;bottom:140px;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.primary{background:#ffcc55;color:#263f42;padding:17px 28px;border-radius:16px;box-shadow:0 5px 0 #b68325,0 10px 25px #263e4633;font-size:17px;letter-spacing:.5px;min-height:54px}.primary kbd{margin-left:20px;border:1px solid #6c63376b;padding:2px 6px;border-radius:5px;font-size:11px}#actionHint{font-size:11px;background:#163e46c9;color:#fff;padding:5px 12px;border-radius:9px;max-width:270px}#toolButtons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:290px}#toolButtons button{background:#fff9edeb;border-radius:11px;min-height:46px;min-width:48px;padding:7px;font-size:11px;box-shadow:0 3px 10px #183e4622}#toolButtons button.held{background:#ffcc55}#keyboardHint{position:fixed;bottom:128px;left:50%;transform:translateX(-50%);font-size:10px;color:#fff;text-shadow:0 1px 4px #173e46;white-space:nowrap}#drive{position:fixed;bottom:155px;left:30px;text-align:center;color:#fff;font-size:9px;letter-spacing:2px}#joystick{width:116px;height:116px;border-radius:50%;border:2px solid #fff8;background:#fff3;display:grid;place-items:center;touch-action:none;box-shadow:0 4px 15px #173e4622}#stick{width:56px;height:56px;border-radius:50%;background:#fff9eb;display:grid;place-items:center;color:#21454b;font-size:28px;box-shadow:0 4px 12px #173e4644}#drive>span{display:block;margin-top:8px}#toast{position:fixed;top:75px;left:50%;transform:translate(-50%,-20px);opacity:0;pointer-events:none;z-index:15;max-width:min(90vw,480px);padding:13px 22px;border-radius:15px;background:#18444b;color:#fff9e8;font-size:15px;text-align:center;transition:.25s;box-shadow:0 10px 30px #173e4630}#toast.show{transform:translate(-50%,0);opacity:1}#overlay{position:fixed;inset:0;z-index:4;display:grid;place-items:center;padding:80px 24px 24px;overflow:auto;background:#143a4626;backdrop-filter:blur(2px)}#overlay.home{background:linear-gradient(90deg,#12373fed 0%,#14383fb0 42%,#173c3f0a 100%),url(../../assets/byggarbetsplatsen/cover.webp) center/cover no-repeat;backdrop-filter:none;display:flex;align-items:center}.home-copy{color:#fff8e6;max-width:560px;margin-left:5vw}.pill{display:inline-block;border:1px solid #fff5;border-radius:30px;padding:8px 14px;font-size:10px;letter-spacing:2px;font-weight:900;background:#fff1}.home-copy h1{font-size:clamp(37px,5.2vw,76px);line-height:.98;letter-spacing:-2px;margin:22px 0}.home-copy h1 em{font-style:normal;color:#ffd16a;display:block}.home-copy p{font-size:19px;color:#edf0db;max-width:370px;line-height:1.5;margin:20px 0 27px}.home-copy .primary{min-width:190px;font-size:22px}.home-copy .secondary{color:#fff;background:#fff2;border:1px solid #fff6;margin-left:10px}.home-facts{display:flex;gap:25px;margin-top:28px;font-size:11px;color:#d5e4d8}.home-facts b{display:block;font-size:22px;color:#ffda78}.panel{background:#fff9ed;border-radius:28px;padding:30px;box-shadow:0 20px 90px #123c4659;width:min(650px,96vw);max-height:100%;overflow:auto}.panel .eyebrow{justify-content:center}.panel h1{font-size:34px;line-height:1.1;letter-spacing:-1px;margin:14px 0;text-align:center}.panel p{font-size:15px;line-height:1.55;text-align:center;color:#547271}.buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:22px 0 5px}.secondary{padding:13px 20px;background:#e4ece1;border-radius:13px;min-height:46px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}.project-card{padding:18px 10px;border:2px solid #e1e8dc;border-radius:17px;background:#f2f2e5;text-align:center;min-height:135px}.project-card span{display:block;font-size:36px;color:#d09b2d}.project-card strong{display:block;font-size:15px}.project-card small{display:block;font-size:10px;margin-top:4px}.project-card:disabled{opacity:.48;cursor:default}.project-card:not(:disabled):hover{border-color:#e8b345;background:#fff3c8}.controls-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.controls-grid div{padding:12px;border-radius:10px;background:#e9ede2;font-size:12px}.controls-grid b{display:block;margin-bottom:4px}.loading{text-align:center;color:#fff}.loading>span{font-size:70px}.medal{font-size:70px;text-align:center;color:#e2ac35}.settings{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.settings button{padding:12px;border-radius:10px;background:#e5ecdf}.settings label{font-size:12px;padding:12px}.settings select{font:inherit;border:1px solid #b1c3b6;padding:7px;border-radius:8px;background:#fff}.busy{opacity:.7;pointer-events:none}#assist{padding:8px 15px;min-height:40px;font-size:11px;background:#fff8e9ee}
@media(pointer:coarse){#keyboardHint,#machineBar kbd,.primary kbd{display:none}}
@media(max-width:700px){header{top:max(9px,env(safe-area-inset-top));left:12px;right:12px}.brand small{font-size:9px}.brand{font-size:8px;gap:6px}.brand-mark{width:34px;height:36px;font-size:23px}nav{gap:5px}nav button,#score{min-width:40px;height:40px;font-size:17px;border-radius:11px}#score{padding:0 9px}.mission{top:66px;left:12px;width:230px;padding:13px;border-radius:16px}.mission h2{font-size:19px;margin:8px 0 5px}.mission p{font-size:12px;min-height:30px}.eyebrow{font-size:8px;letter-spacing:1px}.progress{margin-top:10px}.mission-foot{font-size:8px}#compass{top:70px;right:12px;width:72px;height:72px;padding:7px}#direction{font-size:21px;line-height:24px}#compass strong{font-size:15px}#compass small{display:none}#machineBar{bottom:max(12px,env(safe-area-inset-bottom));gap:2px;padding:5px;max-width:calc(100vw - 16px);border-radius:16px}#machineBar button{width:55px;min-height:61px;padding:4px}#machineBar small{font-size:7px}#machineBar span{font-size:23px}#actions{right:12px;bottom:100px;max-width:205px;gap:7px}.primary{padding:13px 19px;font-size:14px;min-height:49px}#toolButtons{max-width:205px;gap:5px}#toolButtons button{min-width:44px;min-height:44px;font-size:10px;padding:5px}#actionHint{font-size:9px;max-width:195px}#drive{left:18px;bottom:105px}#joystick{width:100px;height:100px}#stick{width:49px;height:49px}.home-copy{margin-left:1vw;margin-top:10vh}.home-copy p{font-size:16px}.home-copy h1{font-size:43px}.home-facts{gap:19px}.panel{padding:22px 18px}.panel h1{font-size:28px}.project-grid{grid-template-columns:repeat(2,1fr)}.project-card{padding:12px 8px;min-height:112px}#overlay{padding:65px 12px 15px}#toast{top:65px;font-size:13px;width:max-content;max-width:90vw}#keyboardHint{bottom:88px;font-size:8px}}
@media(max-height:520px){header{top:8px}.mission{top:61px;width:230px;padding:12px}.mission h2{font-size:18px;margin:7px 0}.mission p{min-height:0;font-size:11px}.progress{margin-top:8px}#compass{display:none}#machineBar{bottom:8px}#machineBar button{min-height:51px;width:62px}#machineBar span{font-size:20px;line-height:22px}#machineBar small{font-size:8px;margin:2px}#drive{bottom:25px;left:22px}#joystick{width:90px;height:90px}#actions{bottom:86px;right:15px}#toolButtons{max-width:265px}#toolButtons button{min-height:40px}.home-copy{margin-top:0}.home-copy h1{font-size:42px;margin:12px 0}.home-copy p{font-size:15px;margin:12px 0}.home-facts{margin-top:16px}.home-copy .primary{font-size:18px;padding:12px 20px}.pill{font-size:8px;padding:5px 10px}.panel{max-height:100%;padding:20px}#keyboardHint{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Cartoon fleet presentation, rendered from the playable Blender assets. */
.brand{background:#07535be8;border-radius:19px;padding:8px 13px;letter-spacing:.6px}.brand-mark{background:none;transform:none;font-size:30px}.shade{background:linear-gradient(180deg,#14394018,transparent 22%,transparent 80%,#173d4918)}
#machineBar{background:#064f56f2;box-shadow:0 8px 24px #153e4433;padding:7px;border:2px solid #e9c965}#machineBar button{width:91px}#machineBar img{display:block;width:88px;height:57px;object-fit:contain;margin:-7px -4px -3px}#machineBar small{font-size:10px}#machineBar button.active{background:#ffd526}.primary{background:#ffcf22;box-shadow:0 5px 0 #c39118,0 8px 20px #263e4630}.mission{background:#fff8e7f5;border:1px solid #fff9;box-shadow:0 6px 0 #cfbc8d33,0 10px 25px #173e461c}.progress i{background:#ffbd18}
#overlay.home{background:linear-gradient(90deg,#063f49e8,#063f4960 48%,transparent);backdrop-filter:none}.home-copy{max-width:520px}.home-copy h1{font-size:clamp(38px,4.7vw,68px)}
@media(max-width:700px){#machineBar button{width:51px}#machineBar img{width:55px;height:40px;margin:-3px -6px 0}#machineBar small{font-size:7px}.brand{padding:4px 8px}.mission{width:218px}}
@media(max-height:520px){#machineBar button{width:65px;min-height:52px}#machineBar img{width:65px;height:35px;margin:-5px -6px 0}#machineBar small{font-size:8px}#actions{bottom:80px}#toolButtons{max-width:270px}.mission{width:205px}.brand{padding:3px 8px}}

#overlay.home{background:linear-gradient(90deg,#063f49e8,#063f4960 48%,transparent),url(../../assets/byggarbetsplatsen/cover.webp?v=cartoon-1) center/cover no-repeat}.brand-mark svg{width:100%;height:100%}
