/* spire-buffs.css: Spire Buffs (factions page, launch preflight, Star Map strip). */
/* ============================================================================
   Spire Buffs panel (factions page). Display-only: no interactive controls, so
   no coarse-pointer target rules needed. Appended as one contiguous block so it
   can never fight the cascade with the WIP dressing-room styles above it, and so
   it is trivially removable. Every colour is an existing theme token, so all ten
   Legacy palettes and both Frontier modes come along for free.
   ============================================================================ */
.spire-buffs {
    margin: 1rem 0;
}
.spire-buffs__intro {
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
    max-width: 70ch;
}
.spire-buffs__empty {
    color: var(--text-muted);
    margin: 0;
}
.spire-buff-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 0.75rem;
}
.spire-buff-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-md, 8px);
    background: var(--bg-elevated, var(--bg-panel));
}
.spire-buff-card__icon {
    font-size: 1.5rem;
    line-height: 1;
    flex: 0 0 auto;
}
.spire-buff-card__body {
    flex: 1 1 auto;
    min-width: 0;
}
.spire-buff-card__name {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: var(--text-primary);
}
.spire-buff-card__effects {
    list-style: none;
    margin: 0;
    padding: 0;
}
.spire-buff-effect {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.35;
}
.spire-buff-card__meta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    text-align: right;
}
.spire-buff-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}
@media (width < 480px) {
    .spire-buff-card__meta {
        align-items: flex-start;
        text-align: left;
    }
}

/* Spire Buff lines on the incursion launch preflight (reuses the traits-effect scale). */
.preflight-buffs { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.5rem; }
.preflight-buffs__effect { flex-basis: 100%; margin: 0; font-size: 0.76rem; color: var(--text-secondary); line-height: 1.4; }

/* Spire Buff strip on the Star Map (compact, multi-line variant of the conditions strip). */
.spire-buff-strip__line { font-size: 0.9rem; margin: 0.1rem 0 0; }
.spire-buff-strip__line:first-of-type { margin-top: 0.15rem; }

