@import url('data:text/css,');
:root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#eaf4e8;background:#91b9bd;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden;height:100dvh}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;border:1px solid #ffffff25;background:#203c42;border-radius:12px;padding:12px 17px;transition:background .15s,transform .15s}button:hover{background:#38595b}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}button:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #f3c66c;outline-offset:3px}#world{position:fixed;inset:0;width:100%;height:100%}header{position:fixed;top:24px;left:28px;right:28px;display:flex;justify-content:space-between;pointer-events:none}.brand{display:flex;gap:13px;align-items:center;text-shadow:0 2px 8px #17353470}.bolt{background:#f3cb73;color:#214d46;font-size:32px;border-radius:15px;padding:2px 17px;box-shadow:0 5px 0 #a88545}.brand strong{font-size:22px;letter-spacing:2px}.brand small{display:block;font-size:9px;font-weight:750;letter-spacing:1.2px;margin-top:4px}.wallet{background:#102b32e8;border:1px solid #ffffff24;padding:12px 20px;border-radius:16px;display:flex;align-items:center;gap:12px}.wallet span{font-size:27px;color:#f3cb73;font-weight:750}.wallet small{width:50px;font-size:9px;letter-spacing:1px}.objective{position:fixed;top:116px;left:28px;width:270px;background:#132f36eb;box-shadow:0 12px 30px #193a3820;padding:22px;border-radius:18px;border:1px solid #ffffff20}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#f0c97d}h1{font-size:21px;line-height:1.25;margin:10px 0}p{color:#b8d1ce;line-height:1.5}.objective p{font-size:12px;margin:0}#progress{display:flex;gap:5px;margin-top:20px}#progress i{height:4px;flex:1;background:#4a6566;border-radius:4px}#progress i.done{background:#f3cb73}.world-label{position:fixed;color:#fff;font-size:12px;font-weight:800;letter-spacing:1px;text-shadow:0 2px 4px #183731;pointer-events:none;transform:translateX(-50%);white-space:nowrap}.world-label span{display:block;font-size:9px;text-align:center;color:#fbe3a6;letter-spacing:2px;margin-top:5px}nav{position:fixed;bottom:40px;left:50%;transform:translateX(-50%);display:flex;gap:6px;background:#122e35ee;padding:8px;border-radius:19px;border:1px solid #ffffff25;box-shadow:0 10px 30px #10282d35}nav button{display:flex;gap:9px;white-space:nowrap;padding:13px 17px;font-size:16px;background:transparent;border:none}nav button span{font-size:12px;font-weight:600}footer{position:fixed;bottom:13px;left:28px;right:28px;display:flex;justify-content:space-between;color:#14383e;font-size:10px;font-weight:650}.movement{position:fixed;left:25px;bottom:65px;text-align:center}.movement button{width:40px;height:38px;padding:3px;background:#1d414bbd}.movement div{display:flex;gap:3px;margin-top:3px}#interact{position:fixed;bottom:120px;left:50%;transform:translateX(-50%);background:#f2ce80;color:#133b3b;font-weight:800}#toast{position:fixed;bottom:130px;right:24px;max-width:300px;background:#12373bec;padding:14px 20px;border-radius:12px;font-size:13px;display:none;border:1px solid #eac78070}#toast.show{display:block}#overlay{position:fixed;inset:0;background:#0921268c;backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}#overlay[hidden]{display:none}#panel{background:#102d34;border:1px solid #72928a;border-radius:24px;width:min(720px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:24px 30px;box-shadow:0 28px 100px #061c2870}.panel-top{display:flex;justify-content:space-between;align-items:center}.panel-top button{border:none;background:transparent;padding:5px 10px}h2{font-size:28px;margin:10px 0 20px;letter-spacing:-.6px}.bubble{position:relative;background:#24454a;border-radius:15px 15px 15px 0;padding:18px 20px;margin:12px 0 20px}.bubble strong{color:#f4ce7c;font-size:12px}.bubble p{margin:8px 0;color:#ecf4e9;font-size:14px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.primary{background:#efca7e;color:#173a3e;border-color:#efca7e;font-weight:750}.primary:hover{background:#ffe2a2}.quiet{background:transparent}.hint{font-size:12px;color:#9fbfbe}.card{background:#193b42;border-radius:14px;border:1px solid #436365;padding:15px;margin:10px 0}.card h3{margin:0;font-size:16px}.card p{font-size:13px;margin:8px 0}textarea{resize:vertical;width:100%;min-height:80px;max-height:160px;background:#092127;color:#b7e7ca;border:1px solid #608586;border-radius:10px;padding:12px;font-family:ui-monospace,monospace;font-size:14px}pre{background:#092127;padding:14px;border-radius:10px;overflow:auto;font-size:12px;line-height:1.5;color:#b9e9d2}input,select{background:#153e45;color:#f3e5c6;border:1px solid #719a9a;border-radius:8px;padding:10px}#results{font-size:12px;line-height:1.6;margin:12px 0}.pass{color:#a9e2ae}.fail{color:#ffc99c}.inventory{font-size:13px;color:#d7e3cf}.diagram{display:grid;grid-template-columns:1fr 1fr;gap:10px}.wire{border-left:3px solid #f2ca7b;padding:9px 14px;font-size:13px;background:#193a40}.notice{padding:12px;border-left:3px solid #f4ce7c;background:#203c40;font-size:12px;line-height:1.5;color:#d1dbcf}#fallback{position:fixed;top:45%;left:20%;right:20%;padding:20px;background:#18383f;text-align:center}a{color:#f4ce7c}label{display:block;font-size:13px;margin:12px 0 6px}@media(max-width:900px){.objective{top:95px;left:18px;width:220px;padding:15px}.objective h1{font-size:17px}header{top:18px;left:18px;right:18px}.movement{bottom:130px;left:18px}nav{bottom:36px;width:max-content;max-width:calc(100vw - 20px)}nav button{padding:12px 10px}footer{left:18px;right:18px}footer span:first-child{display:none}.world-label{font-size:10px}#toast{bottom:118px;max-width:230px;font-size:12px}#interact{bottom:110px}}@media(max-width:600px){header .brand strong{font-size:15px;letter-spacing:1px}.brand small{font-size:7px;max-width:150px}.bolt{font-size:25px;padding:2px 12px}.wallet{padding:8px 11px;gap:5px}.wallet span{font-size:21px}.wallet small{font-size:8px;width:42px}.objective{width:185px;top:88px;padding:13px}.objective h1{font-size:15px}.objective p{font-size:11px}#progress{margin-top:12px}nav{gap:0;padding:5px}nav button{padding:10px 8px;display:grid;justify-items:center;gap:4px}nav button span{font-size:9px}#panel{padding:18px;border-radius:18px}#overlay{padding:10px}h2{font-size:23px;margin:8px 0 14px}.bubble{padding:12px}.bubble p{font-size:13px}.world-label{font-size:8px}footer{font-size:9px}.diagram{gap:5px}.wire{font-size:11px;padding:8px}.movement{bottom:118px}.movement button{width:34px;height:32px}.row button{padding:10px 12px;font-size:12px}}@media(max-height:550px){.objective{top:85px;width:190px}.objective p,#progress{display:none}nav{bottom:25px}header{top:10px}.movement{bottom:80px}footer{bottom:5px}#panel{max-height:calc(100dvh - 20px)}}
.objective{z-index:2}.brand,.wallet{position:relative;z-index:3}.movement{touch-action:none}
@media(max-width:600px){.objective{width:calc(100vw - 36px);padding:10px 13px}.objective h1{margin:5px 0;font-size:14px}.objective p,#progress{display:none}#interact{left:auto;right:18px;transform:none;font-size:12px;padding:11px}pre{padding:8px;margin:8px 0}textarea{min-height:64px}.bubble{margin:8px 0 12px}.bubble .replay{font-size:12px;padding:8px}#panel-title{font-size:20px}#codehelp{font-size:10px;line-height:1.35}.panel-top{position:sticky;top:-18px;background:#102d34;z-index:1}}

#overlay{z-index:20}#toast{z-index:30}

/* Campaign board and the earned bench tools. */
.objective-board{margin-top:14px;padding:8px 12px;font-size:11px;color:#f1d18d}.job-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.job-card{margin:0}.job-card h3{margin-top:8px}.job-card .row{gap:6px}.job-card button{padding:9px 11px;font-size:12px}.job-done{border-color:#83b988}.bench-actions{margin-top:16px}details{margin:12px 0;font-size:12px;line-height:1.6}summary{cursor:pointer;color:#f3d088;padding:8px 0}details .pass,details .fail{margin:7px 0}.completion{margin-top:16px;padding:16px;background:#204e44;border:1px solid #8abb8b;border-radius:12px}.completion p{margin:8px 0}.contract-note{padding:10px;background:#39504a;border-radius:8px;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#results{overflow-wrap:anywhere}.objective{max-height:calc(100dvh - 280px);overflow:auto}@media(max-width:600px){.job-grid{grid-template-columns:1fr}.objective-board{margin-top:5px;padding:5px 8px}.objective{max-height:130px}.job-card h3{font-size:15px}}@media(max-height:550px){.objective-board{margin-top:5px}.objective{max-height:125px}}
