:root{font-family:'Segoe UI',Arial,sans-serif;color:#edf1f2;background:#161d23;color-scheme:dark;--plate:#171f25;--edge:#53646e;--muted:#b4c0c6;--cyan:#7dc8dc;--amber:#efad58;--green:#9aca9c}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;font-size:16px;color:inherit;cursor:pointer;border:0;background:none;transition:background .16s,color .16s,box-shadow .16s}button:focus-visible,a:focus-visible{outline:2px solid white;outline-offset:4px}button:disabled{color:#829096;opacity:.65;cursor:not-allowed;box-shadow:none!important}button:active:not(:disabled){filter:brightness(1.2)}[hidden]{display:none!important}.hud-icon{width:32px;height:32px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:square;stroke-linejoin:miter}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none}header{position:fixed;inset:0 0 auto;height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:linear-gradient(#11191ff5,#151e27df);border-bottom:1px solid #ffffff22;box-shadow:0 8px 28px #0002;z-index:4}.brand{display:flex;align-items:center;gap:12px;color:#f2f4f5;text-decoration:none;font-size:14px;font-weight:600;letter-spacing:2px}.brand-icon{font-size:30px;position:relative;line-height:1}.brand-icon span{position:absolute;right:-5px;top:-5px;color:var(--amber);font-size:11px}.brand small{display:block;font-size:11px;letter-spacing:1px;margin-top:5px;color:var(--muted)}.colony-telemetry{display:flex;align-items:center;gap:26px;font-size:15px;color:#c4cdd2}.colony-telemetry>div{display:flex;align-items:center;gap:10px}.colony-telemetry .hud-icon{width:25px;height:25px;color:#94aebc}.colony-telemetry strong{font-size:20px;font-weight:600;color:#f3f7f8;margin-right:4px;font-variant-numeric:tabular-nums}.status{border-left:1px solid #586873;padding-left:25px}.status i{height:6px;width:6px;background:var(--green);box-shadow:0 0 7px #9aca9c55}.header-actions{display:flex;align-items:center;gap:12px}.header-actions button{display:flex;align-items:center;gap:9px;height:42px;padding:0 10px;border:1px solid #4a5964;background:#202b32;color:#dce6eb}.header-actions button:hover{background:#344550;border-color:#9db7c6}#light .hud-icon{width:22px;height:22px;color:#f4c58b}#light span{font-size:14px}#help{font-size:22px;width:40px;justify-content:center}.intro{position:fixed;top:106px;left:30px;pointer-events:none;background:linear-gradient(90deg,#141e26c9,transparent);padding:16px 65px 19px 18px;border-left:2px solid #89aebf;min-width:340px}.eyebrow{font-size:12px;letter-spacing:1.6px;color:#b7c7d0;font-weight:500}h1{font-size:34px;letter-spacing:4px;font-weight:600;margin:6px 0 16px;line-height:1.15}.tags{display:flex;flex-direction:column;gap:8px;color:#e0e8ed;font-size:16px}.tags small{font-size:11px;letter-spacing:1px;margin-left:12px;color:#b1c1cb}#mode-tag{color:var(--cyan);font-size:13px;font-weight:600;letter-spacing:1px}.mission-prompt{position:fixed;right:30px;top:110px;padding:16px 18px 16px 22px;width:300px;background:linear-gradient(90deg,#172028c7,#17202833);border-left:2px solid #667781}.mission-prompt p{font-size:15px;line-height:1.5;color:#d0d9dd;margin:10px 0 15px}.mission-prompt button{display:flex;align-items:center;gap:10px;font-size:16px;color:#e4f5fa;padding:8px 0}.mission-prompt button:hover{color:var(--cyan)}.mission-prompt .hud-icon{width:24px;height:24px}.mission-prompt kbd{margin-left:auto}.altitude{position:fixed;right:30px;bottom:122px;color:#dbe4e9;font-size:13px;text-shadow:0 2px 6px #111}kbd{font:12px 'Segoe UI',sans-serif;padding:2px 6px;border:1px solid #70828b;color:#c9d4d9;background:#10192066;font-weight:500}footer{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:min(1040px,calc(100% - 48px));z-index:5}nav{display:flex;align-items:stretch;background:linear-gradient(#29343c,#141d24);border:1px solid #63717a;box-shadow:0 6px 0 #0d1419,0 16px 34px #0005;min-height:76px;padding:6px;position:relative}nav::before{content:'';position:absolute;top:-3px;left:24px;width:70px;height:3px;background:#9eb6c3}.view-control{display:flex;border-right:1px solid #576771;padding-right:8px;margin-right:9px}nav button{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 18px;font-size:17px;font-weight:600;border:1px solid transparent;color:#b9c7ce;position:relative;min-height:62px}nav button kbd{margin-left:12px}nav button .hud-icon{color:#96aeba}nav button:hover:not(:disabled){background:#43556366;border-color:#657d8d;color:white}nav button.active{background:linear-gradient(#40627366,#22333d);border-color:#769aad;color:#f1faff;box-shadow:inset 0 -3px var(--cyan)}nav button.active .hud-icon{color:var(--cyan)}#build{color:#f3d5ab;margin-right:10px;min-width:245px}#build .hud-icon{color:#e8b87b}#build.active{border-color:#c59154;background:linear-gradient(#5c493380,#312a23);box-shadow:inset 0 -3px var(--amber);color:#ffe1b4}#build:hover{background:#67503988;border-color:#b6956c}.command-note{display:flex;justify-content:center;flex-direction:column;gap:7px;border-left:1px solid #465761;margin-left:auto;padding:0 20px;color:#d1dbe0;font-size:12px;letter-spacing:.8px}.command-note small{font-size:10px;color:#97aab5;letter-spacing:1px}#hint{position:fixed;left:30px;bottom:119px;font-size:13px;line-height:1.6;color:#e4e9e9;text-shadow:0 2px 6px #05080c;background:#111a2366;padding:4px 9px}#hint span{margin:0 7px;color:#b4cddd}#build-dock{display:none;position:fixed;left:50%;transform:translateX(-50%);bottom:112px;width:min(1040px,calc(100% - 48px));background:linear-gradient(110deg,#1b252eea,#151e26ed);border:1px solid #5b6e7b;border-top:2px solid #a4835c;padding:16px 20px 12px;grid-template-columns:230px 1fr;gap:10px 24px;z-index:3}body[data-mode=build] #build-dock{display:grid}body[data-mode=build] #hint{bottom:316px}body[data-mode=build] .mission-prompt,body[data-mode=walk] .mission-prompt{display:none}.dock-title{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #4e626f66;padding-bottom:10px}.dock-title .eyebrow{color:#e2bd8b}#plot-count{font-size:14px;color:#d0dbe0}.building-spec{display:flex;align-items:center;gap:13px}.building-spec .hud-icon{width:46px;height:46px;color:#bed0dc}.building-spec strong{display:block;font-size:18px;font-weight:600}.building-spec span{display:block;font-size:12px;color:#b9c7cf;margin-top:5px}.plot-choices{display:flex;gap:8px}.plot-choices button{flex:1;min-width:0;min-height:56px;padding:9px 12px;background:#263540;border:1px solid #536a7a;border-left:3px solid #73a5bb;font-size:15px;line-height:1.3;color:#dce9ef;text-align:left}.plot-choices button:hover:not(:disabled){background:#405a6b;border-color:#aac8d9}.plot-choices button.selected{background:#5b4930;border-color:#d4aa75;border-left-color:var(--amber);color:#fff1d9}.plot-choices button:disabled{border-left-color:#a9c49b}.dock-bottom{display:flex;align-items:center;gap:12px;grid-column:1/-1}.quiet{font-size:13px;color:#c5d3db;padding:5px 10px;border:1px solid #536774}.quiet:hover:not(:disabled){background:#344754;color:white}#sync-state{margin-left:auto;font-size:12px;color:#b4ceaF}#plot-copy{grid-column:1/-1;font-size:13px;margin:0;color:#c5d2da;line-height:1.4}.world-marker{position:fixed;transform:translate(-50%,-100%);display:flex;align-items:center;gap:10px;padding:9px 14px 10px 9px;background:linear-gradient(100deg,#17222aee,#1c2935d9);border-left:2px solid #8abdd0;border-bottom:1px solid #829cab;box-shadow:0 4px 18px #0003;z-index:1;color:#e3f2f8;font-size:16px;text-align:left}.world-marker .hud-icon{width:30px;height:30px;color:#aad0df}.world-marker small{display:block;font-size:12px;color:#beccd3;margin-top:3px}.world-marker::after{content:'';position:absolute;left:50%;top:100%;height:20px;width:1px;background:#b1dae5}.world-marker.hovered,.world-marker:hover{background:#385768f2;border-color:#d5f4ff;box-shadow:0 0 16px #a8d6e326}.world-marker:hover .hud-icon{color:white}#build-panel{position:fixed;transform:translateX(-50%);width:280px;z-index:2}.world-action{position:relative;box-shadow:0 6px 18px #0004}.world-action::before{content:'';position:absolute;left:35px;bottom:100%;height:30px;width:1px;background:linear-gradient(transparent,#f3bb72)}.world-caption{padding:14px 18px;background:#19232cf2;border-left:3px solid var(--amber);border-bottom:1px solid #4d5a62}.world-caption small{font-size:12px;letter-spacing:1px;color:#e3b984}.world-caption h2{font-size:20px;font-weight:600;margin:6px 0;color:#f1f4f5}#cancel-plot{position:absolute;top:2px;right:4px;width:30px;height:30px;font-size:24px;color:#bbcbd3}#cancel-plot:hover{background:#455763;color:white}#confirm-build{width:100%;min-height:48px;padding:12px 16px;font-size:16px;font-weight:600;background:linear-gradient(#e0ab68,#bb8245);color:#171d23;border:1px solid #f3c890;text-align:left}#confirm-build:hover:not(:disabled){background:#f0be7e;box-shadow:0 0 16px #dfa05633}#confirm-build:disabled{background:#48483f}#toast{position:fixed;top:91px;left:50%;transform:translateX(-50%);padding:13px 23px;background:#1b292af0;border-left:3px solid #a5ca94;color:#edf5ec;font-size:15px;max-width:70%;opacity:0;transition:opacity .25s;pointer-events:none;z-index:7}#toast.show{opacity:1}.mode-announcement{position:fixed;left:50%;top:95px;transform:translateX(-50%);font-size:16px;font-weight:600;letter-spacing:2px;padding:10px 20px;background:linear-gradient(90deg,transparent,#17232adc 15%,#17232adc 85%,transparent);color:#e3edf3;opacity:0;pointer-events:none}.mode-announcement.show{animation:mode-enter 2.8s forwards}@keyframes mode-enter{0%{opacity:0;translate:0 8px}15%,65%{opacity:1;translate:0 0}100%{opacity:0}}body[data-mode=walk] .intro{display:none}#landmark{position:fixed;right:28px;top:115px;width:310px;background:linear-gradient(90deg,#17232bdf,#17232b88);border-left:2px solid #8cafc0;padding:17px 20px}#landmark h2{font-size:23px;font-weight:500;margin:9px 0}#landmark p{font-size:14px;line-height:1.6;color:#d1dbe0;margin-bottom:0}#reticle{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);color:#ffffffe0;font-size:23px;pointer-events:none}#walk-pad{display:none;position:fixed;left:30px;bottom:162px;text-align:center}body[data-mode=walk] #walk-pad{display:block}#walk-pad button{width:42px;height:42px;border:1px solid #8296a4;background:#1a2b38dd;color:#e2eff7;margin:2px;font-size:19px}dialog{max-width:550px;border:1px solid #7a8c96;border-top:3px solid #85b2c5;background:#19242f;color:#edf4f7;padding:32px}dialog::backdrop{background:#0d141ccb;backdrop-filter:blur(4px)}dialog h2{font-size:29px;font-weight:500;line-height:1.2;margin:20px 0}dialog p{font-size:15px;line-height:1.6;color:#c7d5df}dialog small{display:block;font-size:13px;line-height:1.5;margin-top:12px}.close{position:absolute;right:8px;top:6px;width:32px;height:32px;font-size:26px}.primary{font-size:15px;padding:12px 18px;background:#435f70;border:1px solid #a1bdcc;color:white}#loading{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#172029;z-index:10;transition:opacity .8s}#loading h2{font-size:40px;font-weight:500;margin:24px 0}#loading p{font-size:16px}.load-line{height:2px;width:200px;background:#bc9464;margin-top:22px;animation:load 1.5s infinite}@keyframes load{50%{opacity:.4;transform:scaleX(.7)}}
@media(max-width:1150px){.command-note{display:none}.colony-telemetry{gap:15px}.status{display:none!important}#light span{display:none}nav{justify-content:center}nav button{padding:12px 17px;font-size:16px}#build{min-width:230px}.intro{min-width:290px}.mission-prompt{width:270px}}
@media(max-width:700px){header{height:65px;padding:0 14px}.brand{font-size:11px;letter-spacing:1px}.brand small{display:none}.brand-icon{font-size:24px}.colony-telemetry{gap:0;font-size:12px}.colony-telemetry>div:nth-child(2){display:none}.colony-telemetry .hud-icon{display:none}.colony-telemetry strong{font-size:16px}.header-actions{gap:6px}.header-actions button{height:34px;padding:0 6px}#help{width:30px;font-size:18px}#light .hud-icon{width:18px}.intro{left:15px;top:85px;padding:12px 25px 13px 13px;min-width:0}.intro h1{font-size:27px;letter-spacing:2px;margin:6px 0 11px}.eyebrow{font-size:11px}.tags{font-size:14px;gap:7px}.tags small{font-size:10px;margin-left:8px}#mode-tag{font-size:12px}.mission-prompt{display:none}.altitude{display:none}footer{left:10px;right:10px;bottom:12px;transform:none;width:auto}nav{min-height:84px;padding:4px;justify-content:stretch}nav button{min-height:72px;flex-direction:column;gap:4px;padding:7px 8px;font-size:13px}nav .hud-icon{width:23px;height:23px}nav kbd{display:none}.view-control{flex:1;margin-right:4px;padding-right:4px}.view-control button{flex:1}#build{min-width:0;flex:1;margin-right:0;font-size:13px}#hint{left:15px;right:15px;bottom:106px;font-size:11px;line-height:1.4;padding:4px 6px}#hint span{margin:0 3px}body[data-mode=build] #hint{display:none}body[data-mode=build] .intro{display:none}#build-dock{left:10px;right:10px;bottom:106px;transform:none;width:auto;padding:10px;grid-template-columns:1fr;gap:8px}.dock-title{padding-bottom:7px;gap:5px}.dock-title .eyebrow{font-size:10px;letter-spacing:.5px}#plot-count{font-size:11px}.building-spec{display:none}.plot-choices{gap:5px}.plot-choices button{min-height:47px;font-size:12px;padding:6px;overflow-wrap:anywhere}.dock-bottom{gap:6px}.quiet{font-size:12px;padding:4px 5px}#sync-state{font-size:10px;max-width:135px;text-align:right}#plot-copy{font-size:11px;line-height:1.4}.world-marker{font-size:14px;gap:6px;padding:7px 9px;max-width:220px}.world-marker .hud-icon{width:23px;height:23px}.world-marker small{font-size:11px}#build-panel{width:280px}.world-caption{padding:10px 15px}.world-caption small{font-size:11px}.world-caption h2{font-size:18px}#confirm-build{font-size:15px;min-height:44px;padding:10px 14px}#toast{font-size:13px;max-width:none;width:calc(100% - 28px);top:76px;padding:10px 14px}.mode-announcement{top:76px;white-space:nowrap;font-size:11px;letter-spacing:.5px;padding:8px}#landmark{left:15px;right:15px;top:85px;width:auto;padding:12px 15px}#landmark h2{font-size:20px}#landmark p{font-size:13px}#walk-pad{left:15px;bottom:145px}#walk-pad button{width:36px;height:36px}dialog{max-width:calc(100% - 24px);padding:24px}dialog h2{font-size:26px}dialog p{font-size:14px}#loading h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Keep the construction strip below the site instead of covering the neighbourhood. */
#build-dock #plot-copy{display:none}.mission-prompt{background:linear-gradient(90deg,#17202899,transparent);border-left-color:#84949d}.world-marker:focus-visible{outline-offset:2px}@media(min-width:701px){#build-dock{padding-top:12px;padding-bottom:10px;gap:8px 20px}body[data-mode=build] #hint{bottom:284px}}

/* Reference HUD — floating instruments, outlined hex controls, open world view. */
:root{--ice:#81e4ff;--gold:#ffc26a;--cut:polygon(14px 0,calc(100% - 14px) 0,100% 14px,100% calc(100% - 14px),calc(100% - 14px) 100%,14px 100%,0 calc(100% - 14px),0 14px)}
header{inset:0 0 auto;height:104px;padding:0;background:none;border:0;box-shadow:none;pointer-events:none}.brand{position:absolute;top:22px;left:27px;gap:19px;font-size:18px;letter-spacing:5px;text-shadow:0 2px 12px #000;pointer-events:auto}.brand-icon{font-size:54px;font-weight:400;letter-spacing:-4px}.brand-icon span{font-size:23px;right:-8px;top:-9px;color:#fff3d5}.brand small{font-size:12px;letter-spacing:7px;color:#ffd480;margin-top:6px}.sector-location{position:absolute;top:86px;left:30px;font-size:12px;letter-spacing:.4px;text-shadow:0 2px 8px #000;color:#eee8df}.sector-location>span{color:var(--gold);font-size:22px;vertical-align:middle;margin-right:9px}.sector-location b{font-weight:400;margin:0 9px;color:#aaa}
.colony-telemetry{position:absolute;top:15px;left:50%;transform:translateX(-50%);height:60px;padding:1px 24px;gap:0;min-width:550px;background:linear-gradient(110deg,#13212ce8,#1e252bce);clip-path:polygon(20px 0,calc(100% - 20px) 0,100% 50%,calc(100% - 20px) 100%,20px 100%,0 50%);pointer-events:auto;filter:drop-shadow(0 0 6px #78dafb66)}.colony-telemetry::before{content:'';position:absolute;inset:0;clip-path:polygon(20px 0,calc(100% - 20px) 0,100% 50%,calc(100% - 20px) 100%,20px 100%,0 50%,20px 0,20px 1px,1px 50%,21px calc(100% - 1px),calc(100% - 21px) calc(100% - 1px),calc(100% - 1px) 50%,calc(100% - 21px) 1px,20px 1px);background:#8bd9ed;pointer-events:none}.colony-telemetry>div{padding:0 18px;gap:10px;height:31px;border-right:1px solid #a7bfcb44}.colony-telemetry .hud-icon{color:#66e6ff;width:28px;height:28px}.colony-telemetry>div:nth-child(2) .hud-icon{color:#b9ef87}.colony-telemetry strong{display:block;font-size:17px;line-height:19px;margin:0;font-weight:600}.colony-telemetry small{display:block;font-size:12px;line-height:17px;color:#ced6dc}.colony-telemetry .status{border-left:0;display:flex!important}.status i{width:6px;height:6px;border-radius:50%;background:#c3ee9b;box-shadow:0 0 10px #acff84}.status strong{font-size:14px}#light{display:flex;gap:11px;align-items:center;padding:8px 0 8px 16px;font-size:12px;color:#ffe0a2}#light span{font-size:12px;display:block;max-width:75px;text-align:left}#light .hud-icon{width:29px;height:29px;color:#ffd073}#light:hover{filter:brightness(1.4)}
.header-actions{position:absolute;right:24px;top:15px;gap:14px}.header-actions button{width:48px;height:48px;background:linear-gradient(135deg,#9ecbda,#375565);clip-path:var(--cut);position:relative;border:0;padding:0;isolation:isolate;justify-content:center}.header-actions button::before{content:'';position:absolute;inset:1px;clip-path:var(--cut);background:linear-gradient(#17212ce8,#080f15f2);z-index:-1}.header-actions button:hover{background:#bcefff;color:white;filter:drop-shadow(0 0 6px #8bdbf8)}#help{width:48px;font-weight:300;font-size:28px}.header-actions .hud-icon{width:27px;height:27px}.intro,.mission-prompt,.command-note{display:none!important}
footer{width:auto;bottom:25px;filter:drop-shadow(0 0 10px #050e1c);z-index:5}nav{padding:0;gap:6px;background:none;border:0;box-shadow:none;min-height:78px;align-items:stretch}nav::before{left:-120px;right:-120px;top:50%;width:auto;height:1px;background:linear-gradient(90deg,transparent,#69b9d766,transparent);z-index:-1}.view-control{padding:0;margin:0;border:0;gap:6px}nav button{--button-edge:#618c9b;--button-fill:#101b25ed;min-width:145px;min-height:78px;gap:6px;padding:10px 24px;flex-direction:column;font-size:14px;font-weight:500;color:#e6f4fb;border:0;background:var(--button-edge);clip-path:polygon(18px 0,calc(100% - 18px) 0,100% 65%,calc(100% - 12px) 100%,12px 100%,0 65%);isolation:isolate;transition:filter .2s,translate .2s}nav button::before{content:'';position:absolute;inset:1px;clip-path:inherit;background:radial-gradient(ellipse at 50% 100%,#1e4655b0,transparent 72%),var(--button-fill);z-index:-1}nav button .hud-icon{width:29px;height:29px;color:#87edff}nav button kbd{position:absolute;right:17px;top:9px;border:0;background:none;font-size:9px;color:#b3c8d299;margin:0;padding:0}nav button.active,nav button:hover:not(:disabled){background:#96eaff;border:0;box-shadow:none;color:#fff;filter:drop-shadow(0 0 7px #53cdfd);translate:0 -3px}nav button.active::before{background:radial-gradient(ellipse at bottom,#136084aa,transparent 78%),#0b1b27f5}#build{min-width:174px;margin:0;background:#d59b4e;color:#ffebc5}#build .hud-icon{color:#ffd27d}#build::before{background:radial-gradient(ellipse at bottom,#694723bb,transparent 76%),#191d21f2}#build.active,#build:hover:not(:disabled){background:#ffce82;box-shadow:none;filter:drop-shadow(0 0 9px #ffaf4e);color:#fff4d8}#build.active::before{background:radial-gradient(ellipse at bottom,#8c591bab,transparent 80%),#221c17f5}
#hint{bottom:45px;left:25px;max-width:27vw;padding:9px 12px;background:#101a22c9;border:1px solid #678a9780;clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px);font-size:11px;line-height:1.7}body[data-mode=build] #hint{bottom:45px}.hints-hidden #hint{display:none}.sol-signature{position:fixed;right:25px;bottom:24px;font-size:9px;letter-spacing:3px;color:#d6dfe0;text-shadow:0 2px 5px #000;pointer-events:none}.altitude{display:none}
#build-dock,body[data-mode=build] #build-dock{display:flex;flex-direction:column;gap:0;left:auto;right:24px;top:124px;bottom:auto;transform:none;width:320px;max-height:calc(100vh - 260px);padding:20px 16px 14px;border:0;background:linear-gradient(120deg,#8ddbea,#3d657a 42%,#69c1dc);clip-path:var(--cut);isolation:isolate;filter:drop-shadow(0 0 6px #5ccffa55);overflow:auto;scrollbar-width:thin;scrollbar-color:#6db6cc #14202a}#build-dock::before{content:'';position:absolute;inset:1px;clip-path:var(--cut);background:radial-gradient(ellipse at top right,#28475870,transparent 45%),linear-gradient(120deg,#0b141bef,#0b151ded);z-index:-1;pointer-events:none}.dock-title{gap:12px;padding:0;border:0;justify-content:flex-start;margin-bottom:13px}.dock-title>.hud-icon{width:32px;height:32px;color:#6deaff;filter:drop-shadow(0 0 4px #31baff55)}.dock-title h2{font-size:16px;font-weight:600;letter-spacing:1.4px;margin:0}.panel-ticks{position:absolute;right:16px;top:9px;color:#8ee4ff;font-size:12px}.dock-intro{margin:0 0 17px;color:#d2dde4;font-size:13px;line-height:1.55}.dock-intro>span{font-size:12px;color:#a5b9c6}.plot-choices{display:flex;flex-direction:column;gap:12px}.plot-choices button{display:flex;align-items:center;flex:none;gap:4px;min-height:119px;padding:9px 8px 9px 2px;border:0;border-left:0;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);background:#668694;position:relative;isolation:isolate;overflow:hidden}.plot-choices button::before{content:'';position:absolute;inset:1px;clip-path:inherit;background:radial-gradient(ellipse at 20% 75%,#44514888,transparent 60%),linear-gradient(120deg,#1b2730,#0c151d);z-index:-1}.plot-choices button:hover:not(:disabled){background:#a0ecff;box-shadow:none}.plot-choices button:hover img{transform:translateY(-3px) scale(1.04)}.plot-choices button.selected{background:#ffd18c;border:0;color:white}.plot-choices button.selected::before{background:radial-gradient(ellipse at bottom left,#6e4c2370,transparent 80%),#14232e}.plot-choices img{width:112px;height:94px;object-fit:contain;filter:drop-shadow(0 7px 5px #0007);transition:transform .2s}.plot-card-copy{display:flex;flex-direction:column;gap:7px;min-width:0;text-align:left}.plot-card-copy strong{font-size:13px;line-height:1.2;font-weight:600;color:#ecf8fe}.plot-card-copy>span{font-size:12px;line-height:1.4;color:#b8c9d3}.plot-card-copy small{font-size:11px;color:#b5dfaa;line-height:1.3}.plot-choices button.selected small{color:#ffd28d}.selection-light{position:absolute;left:0;top:20%;height:60%;width:2px;background:transparent}.selected .selection-light{background:#ffd490;box-shadow:0 0 9px #ffc777}.plot-choices button:disabled{opacity:.5;filter:saturate(.35);border:0}#plot-count{font-size:11px;color:#a7becb;letter-spacing:.5px;margin-top:14px}#plot-copy{display:none}.dock-bottom{margin-top:12px;flex-wrap:wrap;gap:8px;padding-top:11px;border-top:1px solid #506f7e55}.quiet{font-size:11px;padding:5px 7px;border-color:#537180;background:#15232c}#sync-state{font-size:10px;color:#a6c799;max-width:none}.building-spec{display:none}
#build-panel{position:relative!important;left:auto!important;top:auto!important;transform:none;width:auto;visibility:visible!important;margin-top:15px}.world-action{box-shadow:none}.world-action::before{display:none}.world-caption{padding:9px 12px;border:0;background:#1e303da8}.world-caption small{font-size:9px}.world-caption h2{font-size:15px;margin:5px 0}.world-caption #plot-title{padding-right:16px}#confirm-build{background:linear-gradient(100deg,#624321,#31291d);color:#ffdda3;border:1px solid #e6b36c;font-size:13px;min-height:42px;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));text-align:center}#confirm-build:hover:not(:disabled){background:linear-gradient(100deg,#8c5c27,#3a2b1b);box-shadow:0 0 12px #ffbf6455}.world-marker{border:1px solid #8bddf4;background:#0c2233c7;clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);font-size:12px;padding:8px;gap:6px}.world-marker .hud-icon{color:#7ee8ff}.world-marker small{font-size:10px}.world-marker::after{display:none}.world-marker:hover,.world-marker.hovered{background:#143f57dd;box-shadow:0 0 20px #67d9ff88}
body[data-mode=walk] #build-dock{display:none}body[data-mode=walk] .colony-telemetry{opacity:0;pointer-events:none}body[data-mode=walk] .sector-location{display:none}body[data-mode=walk] .brand{top:18px;transform:scale(.76);transform-origin:top left}body[data-mode=walk] #hint{max-width:30vw}#landmark{top:115px;border:1px solid #70bfd4;clip-path:var(--cut);background:#101e29da}.mode-announcement{top:88px;font-size:12px}#toast{top:88px;font-size:13px;border:1px solid #8db7a0;border-left:2px solid #b4d99f;background:#101e25ed}dialog{background:linear-gradient(135deg,#182e3e,#0b141d);border:1px solid #8ad0e6;box-shadow:0 0 50px #0009}.hud-setting{display:flex;align-items:center;gap:10px;margin:22px 0;font-size:14px;color:#cbdde5}
@media(min-width:1550px){#build-dock,body[data-mode=build] #build-dock{width:340px}.plot-choices button{min-height:136px}.plot-choices img{width:125px;height:106px}.plot-card-copy strong{font-size:14px}.colony-telemetry{min-width:670px}.colony-telemetry>div{padding:0 28px}}
@media(max-width:1150px){.brand{font-size:13px;letter-spacing:3px;gap:10px;left:19px}.brand-icon{font-size:43px}.brand small{font-size:10px;letter-spacing:5px}.sector-location{left:20px;font-size:10px;top:76px}.colony-telemetry{min-width:430px;left:52%;padding:1px 17px;height:54px}.colony-telemetry>div{padding:0 12px}.colony-telemetry .status{display:none!important}.header-actions{right:15px;gap:8px}.header-actions button,#help{width:40px;height:43px}#build-dock,body[data-mode=build] #build-dock{width:276px;right:15px;top:108px;padding:17px 12px 12px;max-height:calc(100vh - 224px)}.plot-choices img{width:88px;height:83px}.plot-choices button{min-height:108px}.plot-card-copy strong{font-size:12px}.plot-card-copy>span{font-size:11px}.dock-title h2{font-size:14px}footer{bottom:18px}nav button{min-width:125px;padding:9px 20px}#build{min-width:150px}#hint{bottom:114px;max-width:32vw}.sol-signature{display:none}}
@media(max-width:700px){header{height:110px}.brand{top:14px;left:14px;font-size:12px;gap:10px}.brand-icon{font-size:35px}.brand small{display:block;font-size:9px;letter-spacing:5px}.brand-icon span{font-size:15px}.sector-location{display:none}.header-actions{top:12px;right:12px}.header-actions button,#help{width:33px;height:36px}.header-actions .hud-icon{width:22px;height:22px}.colony-telemetry{left:12px;right:12px;top:64px;transform:none;min-width:0;height:43px;justify-content:center;padding:0 13px}.colony-telemetry>div{height:25px;padding:0 13px;gap:7px}.colony-telemetry>div:nth-child(2){display:flex}.colony-telemetry .hud-icon{display:block;width:21px;height:21px}.colony-telemetry strong{font-size:13px;line-height:15px}.colony-telemetry small{font-size:9px;line-height:12px}#light{gap:6px;padding:5px 0 5px 10px}#light .hud-icon{width:22px;height:22px}#light span{display:none}.colony-telemetry .status{display:none!important}footer{left:10px;right:10px;bottom:12px;transform:none}nav{gap:4px;min-height:65px}.view-control{flex:2;gap:4px;padding:0;margin:0}nav button{min-width:0;flex:1;min-height:65px;font-size:11px;padding:8px 12px;gap:4px}nav button .hud-icon{width:24px;height:24px}#build{min-width:0;flex:1.15;font-size:11px}nav button kbd{display:none}#hint{display:none}#build-dock{display:none}body[data-mode=build] #build-dock{display:flex;top:auto;left:12px;right:12px;bottom:88px;width:auto;max-height:46vh;padding:13px 12px 10px}.dock-title{margin-bottom:8px}.dock-title .hud-icon{width:24px;height:24px}.dock-title h2{font-size:13px}.dock-intro{font-size:11px;margin-bottom:9px}.dock-intro br,.dock-intro>span{display:none}.plot-choices{gap:6px}.plot-choices button{min-height:65px;padding:4px;gap:6px}.plot-choices img{width:67px;height:57px}.plot-card-copy{gap:3px}.plot-card-copy strong{font-size:12px}.plot-card-copy>span{display:none}.plot-card-copy small{font-size:10px}#plot-count{margin-top:8px;font-size:10px}.dock-bottom{margin-top:7px;padding-top:6px}#sync-state{font-size:9px}.world-caption{padding:7px 10px}.world-caption h2{font-size:13px}#build-panel{margin-top:8px}.mode-announcement,#toast{top:116px;font-size:11px}body[data-mode=walk] .mode-announcement,body[data-mode=walk] #toast{top:67px}body[data-mode=walk] .brand{transform:scale(.9);top:15px}#landmark{top:75px}#walk-pad{bottom:95px;left:12px}}
@media(prefers-reduced-motion:reduce){nav button,.plot-choices img{transition:none}nav button:hover{translate:none}}
/* Keep the selected site's confirmation in view without covering the world. */
@media(min-width:701px){#build-dock:has(#build-panel:not([hidden])) .dock-intro{display:none}#build-dock:has(#build-panel:not([hidden])) .plot-choices button{min-height:94px}#build-dock:has(#build-panel:not([hidden])) .plot-choices img{height:78px;width:100px}#build-dock:has(#build-panel:not([hidden])) .plot-card-copy>span{font-size:11px}#build-dock:has(#build-panel:not([hidden])){max-height:calc(100vh - 230px)}}
.header-actions{pointer-events:auto}
body[data-mode=walk] .colony-telemetry{visibility:hidden}

/* Construction is opt-in; keep the world clear on entry and while exploring. */
body:not([data-mode=build]) #build-dock{display:none}
#close-build-dock{flex:none;margin-left:auto;width:30px;height:30px;display:grid;place-items:center;padding:0;border:1px solid #6397aa;background:#142733b3;color:#c4f1ff;font-size:25px;line-height:1;clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px)}
#close-build-dock:hover{background:#30556a;color:white;border-color:#b0edff}
#build-dock .dock-title{gap:9px}
#build-dock .dock-title h2{font-size:14px}
@media(max-width:700px){#close-build-dock{width:28px;height:28px}#build-dock .dock-title h2{font-size:12px}}

/* Circular movement controls, matched to the reference HUD. */
#walk-pad{user-select:none;touch-action:none}
#walk-pad button{width:44px;height:44px;margin:3px;border-radius:50%;border:1px solid #81cde1;background:radial-gradient(circle at 35% 20%,#284453,#0d1b25 76%);color:#d5f6ff;font-size:22px;font-weight:500;line-height:1;box-shadow:inset 0 0 0 3px #142b36,0 3px 10px #0005;transition:background .15s,box-shadow .15s,transform .15s;touch-action:none}
#walk-pad button:hover{background:radial-gradient(circle at 35% 20%,#3d6577,#142e3e 76%);border-color:#c2f2ff;box-shadow:inset 0 0 0 3px #203d4b,0 0 12px #62d7ff45}
#walk-pad button:active{background:#285b70;color:#fff;border-color:#fff0bd;box-shadow:inset 0 0 0 3px #1f4051,0 0 16px #79e2ff80;transform:scale(.94)}
#walk-pad button:focus-visible{outline:2px solid #ffe0a3;outline-offset:3px}
@media(max-width:700px){#walk-pad button{width:40px;height:40px;margin:2px;font-size:21px}}
@media(prefers-reduced-motion:reduce){#walk-pad button{transition:none}}

/* Unified directional instrument: matte surfaces, precise vector chevrons. */
#walk-pad{width:142px;height:142px;left:30px;bottom:151px;border:1px solid #719eae65;border-radius:50%;background:radial-gradient(circle,#13212cbd 0 33%,#101c26ed 34% 100%);box-shadow:0 6px 16px #0003;isolation:isolate}
#walk-pad::before{content:'';position:absolute;inset:7px;border-radius:50%;border:1px solid #6ec7e22c;pointer-events:none}
#walk-pad::after{content:'';position:absolute;inset:-4px;border-radius:50%;border:1px solid transparent;border-top-color:#98e9ff;border-bottom-color:#7899a570;transform:rotate(-28deg);pointer-events:none}
#walk-pad button{position:absolute;width:42px;height:42px;margin:0;display:grid;place-items:center;padding:0;border-radius:50%;background:#182a35;border:1px solid #7095a15c;color:#b5dce7;box-shadow:none;transition:background .15s,color .15s,border-color .15s,box-shadow .15s;transform:none}
#walk-pad button[data-move=KeyW]{top:6px;left:49px}
#walk-pad button[data-move=KeyA]{top:49px;left:6px}
#walk-pad button[data-move=KeyS]{bottom:6px;left:49px}
#walk-pad button[data-move=KeyD]{top:49px;right:6px}
#walk-pad button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#walk-pad button:hover{background:#223d4b;border-color:#99dcf0;color:#ecfbff;box-shadow:0 0 12px #6ee1ff24}
#walk-pad button:active{background:#2c5060;border-color:#e6faff;color:white;box-shadow:0 0 14px #70dcff55;transform:none}
.pad-center{position:absolute;inset:53px;display:grid;place-items:center;pointer-events:none;color:#d6b783}
.pad-center svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1}
@media(max-width:700px){#walk-pad{left:15px;bottom:103px;transform:scale(.85);transform-origin:bottom left}}
@media(prefers-reduced-motion:reduce){#walk-pad button{transition:none}}

/* Desktop uses the keyboard; compact individual arrows on small/touch screens. */
body[data-mode=walk] #walk-pad{display:none}
#walk-pad,#walk-pad *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:none}
#walk-pad svg{pointer-events:none}
body[data-mode=walk] #hint{max-width:390px;padding:10px 14px;border-color:#83bdd088}
.walk-key-hint{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:500;color:#e3f6ff}
.walk-key-hint kbd{display:inline-grid;place-items:center;width:21px;height:23px;padding:0;border-color:#88b6c9;color:#d9f6ff;font-size:15px}
.walk-key-hint kbd:last-of-type{margin-right:6px}
#hint .walk-hint-details{display:block;margin:5px 0 0;color:#b5c9d4;font-size:10px}
@media(max-width:700px),(pointer:coarse){body[data-mode=walk] #walk-pad{display:block;width:138px;height:92px;left:14px;bottom:104px;transform:none;border:0;border-radius:0;background:none;box-shadow:none}#walk-pad::before,#walk-pad::after{display:none}#walk-pad button{width:42px;height:42px;border-radius:50%;background:#152733;border:1px solid #7fbdce;box-shadow:0 2px 7px #0004}#walk-pad button[data-move=KeyW]{top:0;left:48px}#walk-pad button[data-move=KeyA]{top:48px;left:0}#walk-pad button[data-move=KeyS]{top:48px;bottom:auto;left:48px}#walk-pad button[data-move=KeyD]{top:48px;left:96px;right:auto}body[data-mode=walk] #hint{display:none}}
/* Walking instructions are available in the help dialog. */
body[data-mode=walk] #hint{display:none}

/* Travel instruments: return beacon on desktop, height controls on touch. */
#return-city{position:fixed;right:24px;top:86px;z-index:6;display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #7daebe;background:#142630dc;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);color:#d7eff8;font-size:13px}
#return-city:hover{background:#294755;border-color:#bcefff}#return-city kbd{font-size:10px}body[data-mode=build] #return-city{display:none}
#flight-height{display:none}
@media(max-width:700px),(pointer:coarse){body[data-mode=overview] #walk-pad{display:block;width:138px;height:92px;left:14px;bottom:104px;transform:none;border:0;border-radius:0;background:none;box-shadow:none}#flight-height{position:fixed;right:16px;bottom:110px;z-index:5;display:flex;flex-direction:column;gap:8px}#flight-height button{width:42px;height:42px;border-radius:50%;background:#152733;border:1px solid #7fbdce;color:#d7eff8;font-size:24px;touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}body[data-mode=build] #flight-height{display:none}#return-city{top:115px;right:12px;font-size:11px;padding:7px 9px}body[data-mode=walk] #return-city{top:65px}#return-city kbd{display:none}}

/* Compact selected-plot workflow. */
#build-dock{width:290px;max-height:calc(100dvh - 210px);overflow:auto;box-sizing:border-box}.parcel-heading h3{margin:14px 0 6px;font-size:18px}.parcel-heading p{margin:5px 0;color:#b9d3dc}.parcel-heading strong{font-size:12px;color:#b5d99c}.parcel-stepper{display:flex;align-items:center;justify-content:space-between;margin:14px 0;gap:10px}.parcel-stepper button{width:36px;height:32px}.parcel-stepper span{font-size:12px}#build-dock #plot-copy{display:block;font-size:12px;line-height:1.5}#build-dock #build-panel{position:static;transform:none;width:auto;background:none;border:0;box-shadow:none;padding:0;clip-path:none}#build-dock #build-panel[hidden]{display:none}.house-option{width:105px;height:88px;object-fit:contain;float:left;margin-right:10px}#confirm-build{min-height:42px;background:#9d7336;color:#fff3d0;border:1px solid #edbc67;padding:9px;cursor:pointer}#confirm-build:disabled{opacity:.45;cursor:default}#cancel-plot{margin-top:8px}#parcel-visit{clear:both;margin:12px 0;width:100%;padding:10px}#plot-count{clear:both;display:block;padding-top:12px}#world-markers .world-marker{font-size:11px}@media(max-width:600px){#build-dock{width:250px;max-height:calc(100dvh - 175px);top:65px;right:10px}.house-option{width:74px;height:65px}.parcel-heading h3{font-size:16px}}
body[data-mode=build] #build-dock{display:block;width:300px;min-width:0;right:24px;left:auto;top:124px;bottom:auto;max-height:calc(100dvh - 224px);overflow-x:hidden;overflow-y:auto}#build-dock #build-panel{display:grid;grid-template-columns:82px 1fr;gap:8px;align-items:center;min-width:0}#build-dock .house-option{float:none;width:82px;height:72px;margin:0;grid-row:1/3}#build-dock #confirm-build{position:static;width:100%;min-width:0;font-size:12px;padding:9px 6px}#build-dock #cancel-plot{position:static;width:auto;height:auto;font-size:11px;margin:0;padding:4px;border:0;grid-column:2;white-space:normal}#build-dock #parcel-visit{font-size:12px;border:1px solid #577580;padding:8px;margin:12px 0 4px}#build-dock .parcel-stepper button{border:1px solid #52717c;background:#213842;font-size:22px}#build-dock #plot-copy{margin:10px 0}#build-dock #plot-count{padding-top:5px;font-size:11px}#build-dock .dock-bottom{display:flex;justify-content:space-between;align-items:center}#build-dock:has(#build-panel:not([hidden])){max-height:calc(100dvh - 224px)}@media(max-width:700px){body[data-mode=build] #build-dock{top:115px;right:10px;width:255px;max-height:calc(100dvh - 205px);padding:12px}#build-dock .parcel-heading h3{font-size:15px;margin-top:8px}#build-dock .parcel-stepper{margin:8px 0}#build-dock #plot-copy{font-size:11px}}
/* Pioneer's first steps, in the existing Aurelia HUD. */
[hidden]{display:none!important}
#pioneer-mission{position:fixed;left:24px;top:135px;width:290px;padding:13px 16px;background:#11242ddd;border-left:2px solid #90dced;z-index:4;pointer-events:none;color:#e5f3f5;box-sizing:border-box}
#pioneer-mission small{font-size:10px;letter-spacing:2px;color:#e9c17b}#mission-copy{font-size:15px;line-height:1.4;margin:7px 0}#mission-detail{font-size:12px;line-height:1.5;color:#b6cbd1}
#interact,#view-toggle{position:fixed;z-index:7;background:#142630e8;border:1px solid #78b5c5;color:#e3f4f8;padding:10px 15px;cursor:pointer}#interact{left:50%;transform:translateX(-50%);bottom:126px;border-color:#e3bd77}#view-toggle{right:24px;top:132px;font-size:12px}
#build-dock h3{margin:14px 0 8px;font-size:17px}#action-copy{font-size:13px;line-height:1.55;color:#c2d6df}#placement-status{display:block;margin:12px 0;font-size:12px;line-height:1.5;color:#bce5bb}#build-dock>button:not(#close-build-dock){display:block;width:100%;margin:8px 0;padding:11px;border:1px solid #6f929e;background:#203842;color:#e7f4f6;cursor:pointer}#build-dock>button.primary{background:#775c32;border-color:#e0ba76;color:#fff4d7}#build-dock button:disabled{opacity:.45;cursor:default}#sync-state{display:block;margin-top:13px;font-size:11px;line-height:1.5;color:#adc5cf}body[data-mode=build] #pioneer-mission{display:none}
@media(max-width:700px){#pioneer-mission{left:12px;top:100px;width:225px;padding:9px 12px}#mission-copy{font-size:12px}#mission-detail{font-size:10px}#pioneer-mission small{font-size:8px}#view-toggle{right:12px;top:105px;max-width:120px;font-size:10px;padding:8px}#interact{bottom:96px;font-size:12px;max-width:210px}body[data-mode=build] #build-dock{top:85px;max-height:calc(100dvh - 165px)}}
/* The coin balance stays visible while exploring. */
body[data-mode=walk] .colony-telemetry{visibility:visible}
@media(max-width:700px){.colony-telemetry,body[data-mode=walk] .colony-telemetry{display:flex;visibility:visible;position:fixed;left:12px;right:auto;top:63px;transform:none;width:auto;min-width:0;padding:5px 10px;clip-path:none;border:1px solid #668c99;background:#142630e8;gap:0}.colony-telemetry>div:not(:first-child),.colony-telemetry>#light{display:none}.colony-telemetry>div:first-child{display:flex;gap:7px}.colony-telemetry strong{font-size:14px}.colony-telemetry small{font-size:9px}.colony-telemetry .hud-icon{width:19px;height:19px}#view-toggle{top:auto;bottom:211px}#pioneer-mission{top:110px;width:210px}body[data-mode=build] #build-dock{width:min(275px,calc(100vw - 24px));right:12px;top:112px;max-height:calc(100dvh - 200px)}}
body[data-mode=walk] .colony-telemetry{opacity:1;pointer-events:auto}
@media(max-width:700px){body[data-mode=build] #build-dock{max-height:42dvh}.colony-telemetry::before{display:none}}
@media(max-width:700px){body[data-mode=build] #build-dock{top:auto;bottom:94px;max-height:36dvh}}

/* Quest pickup: 3D game lettering is rendered by Three.js beside the tool.
   The old rectangular HTML interaction sign is removed on desktop.
   Touch users retain a transparent, text-only accessible tap target. */
#interact:not([hidden]){background:none!important;border:0!important;box-shadow:none!important;color:#ffdc72;font-family:'Arial Black','Segoe UI',sans-serif;font-weight:900;font-size:19px;letter-spacing:1.2px;text-shadow:0 2px 3px #201306,0 0 12px #ffbb49,0 0 22px #201306;white-space:nowrap;padding:12px;max-width:calc(100vw - 24px)}
@media(pointer:fine){#interact:not([hidden]){display:none!important}}
@media(pointer:coarse){#interact:not([hidden]){display:block;bottom:94px;font-size:clamp(12px,3.3vw,17px);left:50%;transform:translateX(-50%)}}
