/*
 * Deep space build: the run overlays (pause, summary) and the Deep space
 * launcher rows. Later steps add the Expedition HUD and the chart popup here.
 */

/* ---------------- the run card ---------------- */

.pp-runcard-veil {
    position: fixed;
    inset: 0;
    /* Above the game surfaces, below the header and the panels, and
       click-through: the page stays usable while the run is held. */
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 30, 43, 0.62);
    pointer-events: none;
    cursor: default;
}

.pp-runcard-veil[hidden] {
    display: none;
}

.pp-runcard {
    pointer-events: auto;
    min-width: 300px;
    max-width: 420px;
    padding: 30px 34px 26px;
    background: #1c2434;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    text-align: center;
    color: #ffffff;
    font-family: Arial, sans-serif;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}

.pp-runcard-mode {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.pp-runcard-title {
    margin-top: 6px;
    font-size: 34px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

.pp-runcard-stats {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin: 22px 0 24px;
}

.pp-runcard-stat {
    display: flex;
    flex-direction: column;
    min-width: 56px;
}

.pp-runcard-num {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.pp-runcard-lab {
    margin-top: 3px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.pp-runcard-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pp-runcard-btn {
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.pp-runcard-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.pp-runcard-accent {
    border-color: transparent;
}

.pp-runcard-accent:hover {
    filter: brightness(1.12);
}

.pp-runcard-hint {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------------- the Deep space section ---------------- */

.pp-deep-btns .pp-opt-btn.pp-deep-active {
    outline: 2px solid rgba(255, 255, 255, 0.35);
}

/* ---------------- the Expedition HUD, top right ---------------- */

.pp-exp-hud {
    position: fixed;
    top: 86px;
    right: 18px;
    width: 190px;
    background: rgba(20, 26, 38, 0.85);
    border-radius: 10px;
    padding: 10px 12px;
    z-index: 30;
    text-align: right;
}

.pp-exp-name {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.pp-exp-name span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 400;
    margin-top: 2px;
}

.pp-exp-standing {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    margin-top: 6px;
}

.pp-exp-chart {
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 11px;
    cursor: pointer;
}

.pp-exp-chart:hover {
    background: rgba(255, 255, 255, 0.18);
}


/* The census flows inside the HUD column instead of floating over it. */
.pp-exp-hud .pp-census {
    position: static;
    transform: none;
    margin-top: 10px;
    pointer-events: none;
}
