/*
 * Baseline structural styles for Soee.League:Content.MatchSquads.
 * Theme overrides live in the consuming site package.
 */

.c-match-squads {
    width: 100%;
}

.c-match-squads__line {
    margin: 0 0 0.75rem;
    line-height: 1.7;
}

.c-match-squads__line:last-child {
    margin-bottom: 0;
}

.c-match-squads__team-name {
    font-weight: 700;
}

/* Each player + their cards + their substitution note travels together — no
 * mid-name line break, so "(64' Kowalski Sz.)" never orphans onto the next
 * row away from the player it replaces. */
.c-match-squads__player {
    display: inline-block;
    white-space: nowrap;
}

.c-match-squads__goalkeeper {
    /* Visually identical to other players; the trailing " – " in the markup
     * is what sets the keeper apart. */
}

/* Middot between players is a regular separator, but the dash after the
 * keeper is the formation marker — slightly different rule so each can be
 * styled independently if needed. */
.c-match-squads__separator {
    color: inherit;
    opacity: 0.6;
}

.c-match-squads__separator--keeper {
    opacity: 1;
}

/* Substitution annotation (minute' substituteName) — present but secondary
 * to the starter who got subbed off. */
.c-match-squads__sub-note {
    opacity: 0.65;
    font-size: 0.92em;
}

.c-match-squads__substitutes-label {
    opacity: 0.75;
}

.c-match-squads__placeholder {
    padding: 1rem;
    text-align: center;
    opacity: 0.7;
    font-style: italic;
}

/* Card badge styles live in card-badge.css and are loaded
 * automatically by the shared Soee.League:Presentation.CardBadge
 * Fusion prototype. */
