*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#08111d;color:#f4f7fb;font-family:system-ui,-apple-system,sans-serif;overscroll-behavior:none}button,input,select{font:inherit}button{color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,select:focus-visible{outline:2px solid #61e8fa}#game{position:relative;width:100%;height:100%;height:100dvh;overflow:hidden;touch-action:none}#world{width:100%;height:100%;display:block}.hud{position:absolute;top:max(10px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid #ffffff20;border-radius:17px;background:#081322e8;box-shadow:0 6px 24px #0005}.brand{display:flex;flex-direction:column;line-height:1;min-width:94px}.brand b{font-size:32px;font-style:italic;letter-spacing:-2px}.brand span,h1 span{color:#baf65e}.brand small,.clock small,.mission small,.map small,.eyebrow{font-size:9px;letter-spacing:1.6px;color:#a9bbce;font-weight:700}.mission{flex:1;min-width:0}.mission strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress{height:4px;margin:5px 0;background:#ffffff19;border-radius:20px;overflow:hidden}.progress i{height:100%;display:block;width:0;background:#bcf666;transition:width .2s}.clock{text-align:center;min-width:50px}.clock b{display:block;font-variant-numeric:tabular-nums;font-size:28px;line-height:1}.hud button{border:1px solid #ffffff24;background:#ffffff0c;border-radius:12px;width:42px;height:42px;font-size:19px}.map{position:absolute;right:14px;top:104px;padding:8px;border-radius:12px;background:#0a1625d9;border:1px solid #ffffff1e;text-align:center}.map canvas{display:block;width:64px;height:138px}.map small{font-size:8px}.touch{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:end;pointer-events:none}#stick{pointer-events:auto;width:132px;height:132px;border:2px solid #d0e9ff40;background:#10233666;border-radius:50%;display:grid;place-items:center;touch-action:none;box-shadow:inset 0 0 24px #0003}#knob{width:57px;height:57px;background:#d1e8f18c;border:2px solid #fff8;border-radius:50%;pointer-events:none}.actions{display:flex;gap:12px;align-items:end;pointer-events:auto}.actions button{height:74px;width:74px;border-radius:50%;background:#102b43a8;border:1px solid #8fd4ff80;font-size:30px;font-weight:800;display:grid;place-content:center;text-align:center;touch-action:none}.actions button small{font-size:9px;letter-spacing:1px}.actions button[aria-pressed=true]{background:#b9f35fc9;color:#102332;border-color:#d7ff91}.footer{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);color:#c6d5e6a0;font-size:10px;white-space:nowrap;pointer-events:none}.footer span{margin-left:10px;color:#baf65e}#effects{position:absolute;top:98px;left:15px;display:flex;gap:6px}#effects span{font-size:12px;background:#263449e8;border:1px solid #b8f56766;padding:7px 10px;border-radius:10px;color:#ddff9f}#hint{position:absolute;display:flex;align-items:center;background:#23183add;border:1px solid #bd86fd88;border-radius:13px;padding:6px 10px;font-size:11px;pointer-events:none}#hint img{width:31px;height:31px;object-fit:contain}[hidden]{display:none!important}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(115deg,#06111de8,#0813219c);padding:16px;overflow:auto}.panel{width:min(475px,100%);padding:30px;border-radius:25px;background:#0b1928ed;border:1px solid #ffffff2c;box-shadow:0 24px 90px #0009}.eyebrow{color:#9be5fa}h1{font-size:clamp(64px,12vw,100px);font-style:italic;letter-spacing:-7px;line-height:.9;margin:16px 0}h2{font-size:23px;line-height:1.14;margin:12px 0}p{font-size:14px;color:#b9c9db;line-height:1.55}.primary{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:#baf65e;color:#112316;border-radius:13px;font-weight:900;letter-spacing:1px;padding:16px 20px;margin:19px 0}.options{display:grid;gap:10px;margin:15px 0}.options label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#b9c9db}.options select{color:#e3f1ff;background:#15273a;border:1px solid #ffffff26;padding:7px;border-radius:7px;font-size:12px}.options input{accent-color:#baf65e;width:45%}.note{display:block;font-size:10px;color:#8399ae;line-height:1.6}@media(pointer:fine){.touch{opacity:.58}}@media(max-width:600px){.hud{gap:7px;padding:8px}.brand{min-width:65px}.brand b{font-size:26px}.brand small{font-size:7px;letter-spacing:.4px}.mission strong{font-size:10px}.mission small{font-size:8px;letter-spacing:.4px}.clock b{font-size:23px}.clock{min-width:32px}.hud button{width:35px;height:35px}.map{top:88px;right:8px}.map canvas{width:43px;height:93px}.map small{font-size:6px}#effects{top:83px;left:8px}.touch{left:15px;right:15px;bottom:max(23px,env(safe-area-inset-bottom))}#stick{width:117px;height:117px}.actions button{width:64px;height:64px}.actions{gap:8px}.footer{font-size:8px}.footer span{display:none}.panel{padding:23px}}@media(max-height:460px){.panel{padding:14px 23px}.panel h1{font-size:52px;margin:6px 0}.panel h2{font-size:16px;margin:4px 0}.panel p{font-size:11px;margin:4px 0}.primary{padding:9px 15px;margin:8px 0}.options{gap:4px;margin:6px 0}.note{font-size:8px}.map{display:none}#stick{width:100px;height:100px}.actions button{width:59px;height:59px}.hud{padding:5px 10px}}
 #build-id{position:absolute;left:12px;top:88px;z-index:2;padding:5px 8px;border:1px solid #baf65e66;border-radius:6px;background:#0b1928;color:#baf65e;font-size:10px;font-weight:800;pointer-events:none} @media(max-width:600px){#build-id{top:76px}} #effects{top:118px}
/* HUG Universe art direction: UI accents only, no layout or input changes. */
:root{--ink:#0d1029;--cyan:#46dfff;--violet:#bb65ff;--gold:#ffce81}
.hud,.map,.panel{background:#12132ded;border-color:#655c9d;box-shadow:0 5px 20px #08071466}
.brand b,h1{color:#fff;text-shadow:0 0 2px #36d9ff,2px 2px #7240ac}.brand span,h1 span,.footer span{color:#50e4ff}
.progress i{background:linear-gradient(90deg,#46dfff,#c06bff)}.primary{background:linear-gradient(105deg,#4ae4ff,#c076ff);color:#10122d}.options input{accent-color:#aa7dff}
.eyebrow{color:#54e5ff}#build-id{background:#15132c;color:#f3ceff;border-color:#a270d8}.actions button{background:#171938b8;border-color:#a18ff0}.actions button[aria-pressed=true]{background:#ba82ff;color:#13102c;border-color:#f1caff}#stick{border-color:#a8a8ff66;background:#191c3b80}#knob{background:#b3b7e799;border-color:#a6dfffbb}
.overlay{background:linear-gradient(115deg,#0b1126e6,#251333ad)}

/* v0.11 Cinematic: subtle premium finish, same controls and hit areas. */
.hud,.map{background:linear-gradient(135deg,#11132cee,#19112ced);border-color:#8172bb}.hud .progress i{background:linear-gradient(90deg,#adf65f,#d5fc88)}.actions button{background:linear-gradient(150deg,#343052c7,#1c1435d9);border-color:#b78dea;color:#ffebff}.actions button[aria-pressed=true]{background:#a66ce2;color:#fff}.primary{background:linear-gradient(100deg,#baf65e,#d9ff92);color:#111d18}.panel{background:linear-gradient(150deg,#10162cf5,#281c3af5)}#build-id{color:#f5d4ff;border-color:#a97ed2}.clock b{font-variant-numeric:tabular-nums}

/* Landscape only: rotation prompt overlays the whole viewport, including menu. */
#rotate-screen{position:absolute;inset:0;z-index:1000;background:radial-gradient(ellipse at 50% 30%,#28234e,#101328 70%);display:grid;place-items:center;padding:24px;text-align:center;touch-action:manipulation}#rotate-screen[hidden]{display:none!important}#rotate-screen .rotate-card{max-width:360px}#rotate-screen svg{width:96px;height:96px;margin:0 auto 18px;color:#74e6ff}#rotate-screen h2{font-size:25px;color:#fff}#rotate-screen p{font-size:15px;color:#c7c5df}#rotate-screen .rotate-brand{font-size:46px;font-weight:900;font-style:italic;color:#fff;letter-spacing:-3px}#rotate-screen .rotate-brand span{color:#baf65e}.orientation-blocked .touch{pointer-events:none}@media(orientation:portrait){#rotate-screen{display:grid!important}}

#bits-locator{position:absolute;z-index:1;display:flex;align-items:center;gap:5px;transform:translate(-50%,-50%);padding:4px 8px;border:1px solid #c4a6ffb8;border-radius:999px;background:#21123aeb;color:#f3eaff;font:800 10px/1.2 system-ui;letter-spacing:.08em;pointer-events:none;box-shadow:0 2px 12px #08081880}#bits-locator i{display:inline-block;transform:rotate(var(--heading));font-style:normal;color:#d6b7ff}@media(pointer:coarse),(max-height:460px){.footer{display:none}}
