* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%; height: 100%;
    overflow: hidden;
    background: #000;
    font-family: 'Courier New', monospace;
}

#spaceCanvas {
    position: fixed;
    inset: 0;
    width: 100%; height: 100%;
}

.cockpit-svg {
    position: fixed;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* ── Back link ──────────────────────────── */
.back-btn {
    position: fixed;
    top: 1.4%;
    left: 7%;
    z-index: 20;
    color: #555;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid #333;
    background: rgba(0,0,0,0.7);
    letter-spacing: 1px;
    transition: color 0.2s, border-color 0.2s;
}
.back-btn:link, .back-btn:visited { color: #555; }
.back-btn:hover  { color: #aaa; border-color: #555; text-decoration: none; }

/* ── Centre console (HTML elements overlay SVG dashboard) ── */
.center-console {
    position: fixed;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dash-label {
    color: #00cc44;
    font-size: 11px;
    letter-spacing: 3px;
    text-shadow: 0 0 7px #00cc44;
    white-space: nowrap;
}

.jump-btn {
    background: linear-gradient(180deg, #4a0000, #220000);
    color: #ff5555;
    border: 1px solid #990000;
    padding: 9px 24px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(170,0,0,0.5);
    text-shadow: 0 0 7px #ff3333;
    transition: box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}
.jump-btn:hover:not(:disabled) {
    background: linear-gradient(180deg, #660000, #300000);
    box-shadow: 0 0 28px rgba(255,0,0,0.75);
}
.jump-btn:disabled { opacity: 0.35; cursor: not-allowed; }
