/* Scoped to actual RoboChole gameplay; professional homepage structure is retained. */
.gx-hud{display:grid;grid-template-columns:minmax(210px,1.6fr) minmax(170px,1fr) auto;gap:12px 20px;align-items:center;background:linear-gradient(115deg,#12374b,#0a2639);border:1px solid #49718b;border-radius:12px;padding:15px 18px;margin:12px 0 18px;color:#edf6fb;box-shadow:0 8px 24px #020b1426}.gx-hud-title{display:grid;gap:3px}.gx-hud-title>span,.gx-eyebrow{font-size:.75rem;letter-spacing:.13em;color:#96c9dc}.gx-hud-title strong{font-size:1.13rem}.gx-hud-title small{font-size:.875rem;color:#c1d2dd}.gx-hud-progress label{display:block;font-size:.875rem}.gx-hud-progress label span{float:right}.gx-hud progress{display:block;width:100%;height:9px;margin:8px 0;accent-color:#a5dcd0}.gx-hud nav{display:flex;flex-wrap:wrap;gap:7px}.gx-hud button,.gx-summary button{min-height:44px;padding:9px 12px;background:#163c53;border:1px solid #668fa9;border-radius:6px;color:#f4f8fb;font:inherit;font-size:.875rem;cursor:pointer}.gx-hud button:focus-visible,.gx-summary button:focus-visible{outline:3px solid #e9ce8c;outline-offset:3px}.gx-current-objective{grid-column:1/-1;border-top:1px solid #416176;margin:0;padding-top:10px;font-size:1rem}.gx-active .s14-nav,.gx-active .g12-journey-count{display:none}.gx-active .g11-context{box-shadow:none}.gx-active .g12-progress-summary>b{display:none}.gx-active .s7-tools,.gx-active .s7-metrics{font-size:.875rem}.gx-active .s7-choices [draggable=true],.gx-active [data-s12-select],.gx-active [data-g11-work^="select:"]{cursor:grab;transition:transform 120ms ease,box-shadow 120ms ease,border-color 120ms ease}.gx-active .s7-choices [draggable=true]:hover{transform:translateY(-3px);box-shadow:0 8px 20px #020b1444}.gx-active [aria-pressed=true][draggable=true]{outline:2px solid #e7cd8b;outline-offset:2px;transform:translateY(-3px)}[data-gx-feedback=incorrect]{animation:gx-corrective 330ms ease-out}[data-gx-feedback=correct],[data-gx-feedback=completed]{animation:gx-confirm 360ms ease-out}.gx-feedback{position:fixed;z-index:1200;left:50%;bottom:22px;transform:translateX(-50%);max-width:min(650px,calc(100vw - 32px));padding:13px 20px;background:#16394e;border:1px solid #82a6bc;border-left:4px solid #9ec9dd;border-radius:9px;color:#f7fbfd;font-size:1rem;box-shadow:0 12px 38px #0005;pointer-events:none}.gx-feedback[data-state=incorrect]{border-left-color:#efba89}.gx-feedback[data-state=correct]{border-left-color:#92d1b4}.gx-feedback[data-state=completed],.gx-feedback[data-state=xp]{border-left-color:#e5c67c}.gx-feedback[hidden]{display:none}.gx-xp-flight{position:fixed;z-index:1300;color:#f3d592;font:700 1.05rem system-ui,sans-serif;text-shadow:0 2px 5px #000;pointer-events:none;animation:gx-fly 950ms ease-out forwards}.gx-summary{position:relative;border:1px solid #9a895c;border-radius:13px;background:linear-gradient(125deg,#15394b,#102a3c);color:#f0f6f9;padding:26px;margin:18px 0;animation:gx-reveal 260ms ease-out}.gx-completion-mark{display:inline-grid;place-items:center;border:1px solid #c5ad6c;background:#ccb57020;color:#ecd397;width:46px;height:46px;border-radius:50%;font-size:1.7rem}.gx-summary h2{font-size:1.9rem;line-height:1.2;margin:10px 0}.gx-summary dl{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.gx-summary dl>div{border-top:1px solid #58778a;padding-top:10px}.gx-summary dt{font-size:.875rem;color:#c4d4dc}.gx-summary dd{margin:5px 0;font-size:1.3rem}.gx-summary-note{font-size:.875rem;color:#c7d6df}.gx-summary-actions{display:flex;gap:8px;flex-wrap:wrap}.gx-summary-actions button:first-child{background:#d7c18b;color:#172d39;border-color:#d7c18b}.gx-active .s14-progress .current{transition:background-color 160ms ease}.gx-active .s7-destinations button:hover{border-color:#bdd7e8}.gx-active .s7-destinations img{animation:gx-reveal 180ms ease-out}.gx-active .s7-workflow p{line-height:1.5}.gx-active details>summary{cursor:pointer;min-height:38px}.gx-active .g11-clock{max-height:75px}.gx-active .g11-clock svg{height:48px}@keyframes gx-fly{to{transform:translate(var(--gx-x,0),var(--gx-y,-90px)) scale(.8);opacity:0}}@keyframes gx-reveal{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes gx-confirm{50%{box-shadow:0 0 0 3px #8bcead}}@keyframes gx-corrective{50%{box-shadow:0 0 0 3px #eeb786}}@media(max-width:800px){.gx-hud{grid-template-columns:1fr 1fr}.gx-hud nav{grid-column:1/-1}.gx-summary dl{grid-template-columns:1fr 1fr}}@media(max-width:480px){.gx-hud{grid-template-columns:1fr;padding:13px}.gx-hud nav,.gx-current-objective{grid-column:1}.gx-summary{padding:19px}.gx-summary h2{font-size:1.5rem}.gx-feedback{bottom:12px;font-size:.9rem}}@media(prefers-reduced-motion:reduce){.gx-active *,.gx-summary,.gx-xp-flight,[data-gx-feedback]{animation:none!important;transition:none!important;scroll-behavior:auto!important}.gx-active .s7-choices [draggable=true]:hover{transform:none}}

.gx-live{grid-column:1/-1;margin:0;font-size:.9rem;color:#c5e2de;min-height:1.5em}.gx-live[data-state=incorrect]{color:#f5cba4}.gx-hud progress::-webkit-progress-value{transition:width 180ms ease}.gx-active [draggable=true]:active{cursor:grabbing}.gx-active .s7-small{font-size:.875rem}@media(prefers-reduced-motion:reduce){.gx-hud progress::-webkit-progress-value{transition:none}}

.gx-native-completion{display:none}.gx-hint{border-left:3px solid #d1bb80;padding:10px 14px;background:#203b48}.gx-hud[data-gx-feedback=incorrect]{border-color:#efba89}.gx-hud[data-gx-feedback=correct]{border-color:#92d1b4}

.landing-grid .procedure-card{transition:border-color 140ms ease,box-shadow 140ms ease}.landing-grid .procedure-card:focus-visible{outline:3px solid #e3c987;outline-offset:3px}@media(prefers-reduced-motion:reduce){.landing-grid .procedure-card{transition:none!important;transform:none!important}}

.gx-hud{position:sticky;top:var(--gx-top,8px);z-index:35}@media(max-width:480px){.gx-hud{gap:7px;padding:10px 12px}.gx-hud-title>span{display:none}.gx-hud-title{gap:0}.gx-hud-title strong{font-size:1rem}.gx-hud-progress{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gx-hud-progress label{flex:1;min-width:150px}.gx-hud nav button{padding:7px 10px}.gx-current-objective{padding-top:7px}.gx-live{font-size:.875rem}}
/* Existing Habitat section resets use !important; override only the new HUD. */
body .screen.gx-active .gx-hud{display:grid!important;position:sticky!important;top:var(--gx-top,8px)!important;grid-template-columns:minmax(210px,1.6fr) minmax(170px,1fr) auto!important;gap:10px 18px!important;z-index:35!important}
@media(max-width:800px){body .screen.gx-active .gx-hud{grid-template-columns:1fr 1fr!important}}
@media(max-width:480px){body .screen.gx-active .gx-hud{grid-template-columns:1fr!important;gap:7px!important}}
body .screen.gx-active .gx-hud nav{display:flex!important;gap:6px!important;align-items:center!important;flex-wrap:wrap!important}
body .screen.gx-active .gx-hud nav>button{width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;margin:0!important;padding:8px 11px!important}
body .screen.gx-active .gx-hud>p{margin:0!important}

.gx-demo-audio{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0;color:#b9d0dc;font-size:.875rem}.gx-demo-audio button{min-height:44px;padding:9px 15px;border:1px solid #6c9bb2;border-radius:7px;background:#183d50;color:#eaf6fa;font:inherit;cursor:pointer}.gx-demo-audio button[aria-pressed=true]{border-color:#a9d5ba;background:#214c4c}.gx-demo-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;width:min(100%,420px);margin-top:12px}.gx-demo-steps>span{height:10px;border:1px solid #648a9d;border-radius:5px;background:#152f40;transition:background 140ms ease,box-shadow 140ms ease;color:transparent}.gx-demo-steps>.is-done{background:#a5d9c5;border-color:#a5d9c5;box-shadow:0 0 14px #91d7bc33}.gx-demo-instructions{font-size:.875rem;margin:8px 0}.gx-demo-instructions summary{cursor:pointer;color:#bad3df}.gx-demo-instructions p{max-width:760px}@media(prefers-reduced-motion:reduce){.gx-demo-steps>span{transition:none}}
