/* =============================================================================
   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-secondary);
    white-space: nowrap;
    overflow: hidden;
}

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

.new-captain-boost__icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-top: -2px;
    opacity: 0.85;
}

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

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

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

/* Command-rail variant — sits below the player badge, not inside it (768px+). */
@media (min-width: 768px) {
    .command-nav > .new-captain-boost--command {
        box-sizing: border-box;
        width: var(--shell-nav-width);
        margin: 0 0 0.545rem;
        padding: 0 1.273rem;
        min-width: 0;
        font-size: 0.818rem;
        gap: 0.273rem;
    }

    .command-nav > .new-captain-boost--command .new-captain-boost__icon {
        width: 0.909rem;
        height: 0.909rem;
        margin-top: 0;
    }

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

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