/* =============================================================================
   new-captain-boost.css - New Captain Boost countdown line (char-summary)
   Compact single-line row below #active-task-panel while the boost is active.
   ============================================================================= */

.new-captain-boost {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 0 2px;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
}

.new-captain-boost[hidden] {
    display: none;
}

.new-captain-boost__label {
    color: var(--text-muted);
    font-weight: 600;
}

.new-captain-boost__sep {
    color: var(--text-muted);
}

.new-captain-boost__timer {
    font-variant-numeric: tabular-nums;
}

/* Command-rail variant — sits under the Current Location button (768px+). */
@media (min-width: 768px) and (pointer: fine) {
    .command-nav-section > .new-captain-boost--command {
        box-sizing: border-box;
        width: var(--shell-nav-width);
        margin: 0.545rem 0;
        padding: 0 20px;
        min-width: 0;
        font-size: 0.818rem;
        gap: 0.273rem;
    }

    .command-nav-section > .new-captain-boost--command .new-captain-boost__desc {
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .command-nav-section > .new-captain-boost--command .new-captain-boost__timer {
        flex-shrink: 0;
        font-variant-numeric: tabular-nums;
    }
}
