/* Robotics field guide: quiet chrome, generous stage, sea-glass accents. */
:root { --teal:#78ded2; --card:rgba(15,27,40,.86); --muted:#afc1cc; --faint:#94a9b8; --r:18px; }
[hidden] { display:none!important; }
* { scrollbar-width:thin; scrollbar-color:#456170 transparent; }
button:disabled { opacity:.35; cursor:not-allowed; }
.hot { pointer-events:none; } .hot.show { pointer-events:auto; }
#credit { background:rgba(15,27,40,.8); padding:9px 12px; border-radius:10px; }
button:focus-visible,input:focus-visible { outline:2px solid #78ded2; outline-offset:4px; }
header { padding:20px 26px; }
#intro { display:none; }
#world-panel { position:fixed; left:24px; top:84px; width:270px; padding:22px; z-index:12; max-height:calc(100vh - 210px); overflow:auto; }
#world-panel .eyebrow { font-size:10px; letter-spacing:.15em; }
#world-panel h1 { margin:12px 0 8px; font-size:28px; line-height:1.12; letter-spacing:-.04em; }
#world-panel p { color:var(--muted); font-size:13px; line-height:1.6; margin:0 0 18px; }
.worlds { display:grid; gap:5px; margin-bottom:18px; }
.worlds button { display:flex; align-items:center; gap:12px; padding:12px; border:1px solid transparent; border-radius:10px; background:transparent; text-align:left; cursor:pointer; color:var(--muted); }
.worlds button span { font:11px var(--mono); color:var(--faint); }
.worlds button small { display:none; margin-top:3px; font-size:11px; color:var(--faint); }
.worlds button b { font-size:13px; font-weight:550; }
.worlds button:hover { background:#ffffff09; }
.worlds button.on { border-color:#78ded24d; background:#78ded212; color:#d6fff4; }
.worlds button.on span { color:#78ded2; }
.world-data { display:flex; justify-content:space-between; gap:8px; padding:14px 0; border-block:1px solid var(--line); }
.world-data small { display:block; color:var(--faint); font-size:10px; margin-bottom:5px; text-transform:uppercase; letter-spacing:.06em; }
.world-data b { font:13px var(--mono); }
#world-note { display:block; font-size:10px; color:var(--faint); line-height:1.5; margin-top:12px; }
.world-actions { display:flex; gap:8px; margin-top:16px; }
.world-actions button,.service-btn { padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:#ffffff08; cursor:pointer; font-size:12px; }
.world-actions button:hover,.service-btn:hover { background:#ffffff12; }
#talk { background:#78ded2; color:#10262d; border-color:transparent; flex:1; font-weight:650; }
#service-controls,#course-controls { position:fixed; right:24px; top:84px; width:280px; padding:22px; z-index:14; max-height:calc(100vh - 230px); overflow:auto; }
#service-controls h2,#course-controls h2 { font-size:23px; letter-spacing:-.03em; margin:12px 0; }
#service-controls p,#course-controls p { color:var(--muted); font-size:12px; line-height:1.6; margin:0 0 20px; }
#upgrade-note { display:block; margin-top:12px; font-size:11px; line-height:1.6; color:var(--faint); }
.camera-choice { display:flex; align-items:center; justify-content:space-between; font-size:11px; color:var(--muted); margin-top:14px; gap:6px; }
.camera-choice select { min-width:0; max-width:145px; font:inherit; color:#d8e9ed; background:#1d3344; border:1px solid #41596b; border-radius:7px; padding:7px; }
#service-controls label { display:block; font-size:12px; color:var(--muted); }
#service-explode { width:100%; margin:18px 0; }
#service-controls .service-btn { width:100%; margin:4px 0; }
#course-progress { color:#78ded2; font-size:12px; }
#course-time { float:right; font:12px var(--mono); }
#bay-travel { width:100%; margin-top:12px; }
#caption { position:fixed; left:50%; bottom:156px; transform:translateX(-50%); max-width:480px; padding:14px 20px; z-index:24; font-size:15px; text-align:center; line-height:1.5; }
#bar { bottom:22px; padding:6px; border-radius:16px; }
#bar .pill { border-radius:10px; font-size:12px; padding:11px 12px; }
#hud { top:auto; bottom:94px; font-size:12px; max-width:calc(100vw - 36px); white-space:normal; text-align:center; }
#credit { left:auto; right:24px; bottom:100px; max-width:225px; font-size:10px; }
#lab,#card { right:24px; width:310px; top:84px; }
#world-panel[data-world="bay"] ~ #card { left:30px; right:auto; top:246px; }
#rebuild { bottom:143px; }
#toast { bottom:210px; max-width:80vw; text-align:center; }
#drive-pad { position:fixed; bottom:116px; left:308px; display:grid; grid-template-columns:repeat(3,40px); gap:4px; z-index:22; }
#drive-pad button { width:40px; height:40px; background:var(--card); border:1px solid var(--line); border-radius:9px; touch-action:none; cursor:pointer; }
#drive-pad button:active { background:#367b7b; }
#dock-action { position:fixed; left:50%; transform:translateX(-50%); bottom:144px; z-index:23; padding:14px 24px; background:#80ded2; color:#0c262a; border:0; border-radius:12px; box-shadow:0 8px 32px #0005; cursor:pointer; font-weight:650; }
#drive-pad button:first-child { grid-column:2; } #drive-pad button:nth-child(2) { grid-row:2; } #drive-pad button:nth-child(3),#drive-pad button:nth-child(4) { grid-row:2; }
#view { touch-action:none; }
@media(max-width:1180px) { #world-panel { width:232px; left:14px; padding:16px; } #bar { max-width:calc(100vw - 24px); overflow-x:auto; } #bar .elbow { display:none; } #lab,#card { width:270px; right:14px; } }
@media(max-height:780px) { #world-panel { top:70px; max-height:calc(100vh - 185px); padding:18px; } #world-panel h1 { font-size:23px; } #world-panel p { font-size:12px; margin-bottom:10px; } .worlds { margin-bottom:10px; } .worlds button { padding:8px; } .worlds button small { display:none; } .world-data { padding:10px 0; } #drive-pad { left:308px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }
