/*
  StarshipOS — Stations-Blocker-Overlay
  Deutliches Vollbild-Overlay ueber unbemannte / unterversorgte Stationen.
  Sperrt die darunterliegenden Kontrollen (pointer-events bleiben am Overlay)
  und erklaert, warum die Station gerade nicht bedienbar ist.
*/

.station-block-overlay {
    position: fixed;
    inset: 0;
    z-index: 8000;            /* unter dem Puzzle-Blocker (9000), ueber dem Rest */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(5, 8, 14, 0.82);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    animation: station-block-fade 0.2s ease-out;
}

.station-block-card {
    max-width: 540px;
    width: 100%;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    background: var(--bg-primary, #11161f);
    border: 2px solid var(--accent-yellow, #f59e0b);
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.6);
    animation: station-block-pop 0.25s ease-out;
}

.station-block-overlay--power .station-block-card {
    border-color: var(--accent-red, #ef4444);
}

.station-block-icon {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto 1rem;
    color: var(--accent-yellow, #f59e0b);
}

.station-block-overlay--power .station-block-icon {
    color: var(--accent-red, #ef4444);
}

.station-block-headline {
    font-family: var(--font-mono, monospace);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-yellow, #f59e0b);
    animation: station-block-pulse 2s ease-in-out infinite;
}

.station-block-overlay--power .station-block-headline {
    color: var(--accent-red, #ef4444);
}

.station-block-station {
    margin-top: 0.4rem;
    font-family: var(--font-mono, monospace);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary, #e6edf3);
}

.station-block-text {
    margin-top: 1.25rem;
    color: var(--text-secondary, #9fb0c0);
    font-size: 0.95rem;
    line-height: 1.5;
}

.station-block-note {
    margin-top: 0.75rem;
    color: var(--accent-red, #ef4444);
    font-size: 0.85rem;
    font-weight: 600;
}

@keyframes station-block-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.65; }
}

@keyframes station-block-pop {
    from { transform: scale(0.94); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

@keyframes station-block-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 600px) {
    .station-block-headline { font-size: 1.7rem; }
    .station-block-card { padding: 1.75rem 1.25rem; }
}
