/* v344: verified club/player facts and database-backed season selector */
.football-player-page-v344 {
    --football-panel-border: rgba(15, 23, 42, .09);
    --football-panel-bg: rgba(255, 255, 255, .94);
    --football-soft-bg: #f7fafc;
    --football-heading: #07152f;
    --football-copy: #4b5e7a;
    --football-accent: #0e9f9a;
}

.football-player-identity-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .75rem;
    margin: 1rem 0 1.25rem;
}

.football-player-identity-grid > div {
    display: grid;
    align-content: center;
    min-width: 0;
    min-height: 106px;
    padding: 1rem;
    border: 1px solid var(--football-panel-border);
    border-radius: 18px;
    background: var(--football-panel-bg);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}

.football-player-identity-grid span {
    margin-bottom: .35rem;
    color: #6b7b91;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.football-player-identity-grid strong {
    overflow-wrap: anywhere;
    color: var(--football-heading);
    font-size: 1.18rem;
    font-weight: 950;
    line-height: 1.16;
}

.football-player-identity-grid small {
    display: block;
    margin-top: .32rem;
    color: var(--football-copy);
    font-size: .73rem;
    font-weight: 720;
    line-height: 1.3;
}

.football-player-season-panel {
    overflow: visible;
}

.football-player-season-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
    align-items: end;
    gap: 1.25rem;
}

.football-player-season-heading > div:first-child {
    min-width: 0;
}

.football-player-season-heading p {
    margin: .32rem 0 0;
    color: var(--football-copy);
    font-weight: 750;
}

.football-player-season-filter {
    display: grid;
    min-width: 0;
    gap: .42rem;
}

.football-player-season-filter label {
    color: #5b6b83;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.football-player-season-filter select {
    width: 100%;
    min-height: 48px;
    padding: .72rem 2.65rem .72rem .85rem;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 13px;
    background-color: #fff;
    color: #07152f;
    font: inherit;
    font-size: .9rem;
    font-weight: 780;
    line-height: 1.25;
    cursor: pointer;
}

.football-player-season-filter select:focus {
    border-color: rgba(14, 159, 154, .72);
    outline: 3px solid rgba(14, 159, 154, .14);
    outline-offset: 1px;
}

.football-player-season-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.15rem;
}

.football-player-season-summary > div {
    display: grid;
    min-height: 96px;
    align-content: center;
    justify-items: center;
    gap: .25rem;
    padding: .85rem .65rem;
    border: 1px solid var(--football-panel-border);
    border-radius: 16px;
    background: var(--football-soft-bg);
    text-align: center;
}

.football-player-season-summary strong {
    color: var(--football-heading);
    font-size: 1.32rem;
    font-weight: 950;
    line-height: 1;
}

.football-player-season-summary span {
    color: #66758b;
    font-size: .75rem;
    font-weight: 820;
}

.football-player-performance {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--football-panel-border);
}

.football-player-performance__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.football-player-performance__group {
    overflow: hidden;
    border: 1px solid var(--football-panel-border);
    border-radius: 16px;
    background: var(--football-panel-bg);
}

.football-player-performance__group h3 {
    margin: 0;
    padding: .78rem .9rem;
    border-bottom: 1px solid var(--football-panel-border);
    color: var(--football-heading);
    font-size: .88rem;
    font-weight: 950;
}

.football-player-performance__group span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .68rem .9rem;
}

.football-player-performance__group span + span {
    border-top: 1px solid rgba(15, 23, 42, .055);
}

.football-player-performance__group em {
    color: var(--football-copy);
    font-size: .82rem;
    font-style: normal;
    font-weight: 710;
}

.football-player-performance__group b {
    color: var(--football-heading);
    font-size: .86rem;
    font-weight: 950;
}

.football-player-other-seasons {
    margin-top: 1.35rem;
}

.football-player-other-seasons .football-profile-history__row {
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.football-player-other-seasons .football-profile-history__row:hover {
    transform: translateY(-1px);
}

.football-player-other-seasons .football-profile-history__row.is-active {
    border-color: rgba(14, 159, 154, .5);
    background: rgba(14, 159, 154, .075);
    box-shadow: inset 3px 0 0 var(--football-accent);
}

.football-player-position-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .42rem;
    margin-top: .8rem;
}

.football-player-position-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .35rem .62rem;
    border-radius: 999px;
    background: rgba(14, 159, 154, .1);
    color: #087d79;
    font-size: .74rem;
    font-weight: 850;
}

.football-side-note {
    margin: .48rem 0 0;
    color: var(--football-copy);
    font-size: .82rem;
    font-weight: 720;
    line-height: 1.4;
}

@media (max-width: 1120px) {
    .football-player-identity-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .football-player-identity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .58rem;
    }

    .football-player-identity-grid > div {
        min-height: 92px;
        padding: .82rem;
        border-radius: 15px;
    }

    .football-player-identity-grid strong {
        font-size: 1rem;
    }

    .football-player-season-heading {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: .9rem;
    }

    .football-player-season-filter {
        width: 100%;
    }

    .football-player-season-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
    }

    .football-player-season-summary > div {
        min-height: 82px;
    }

    .football-player-performance__groups {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 390px) {
    .football-player-identity-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

html[data-theme="dark"] .football-player-page-v344 {
    --football-panel-border: rgba(255, 255, 255, .09);
    --football-panel-bg: rgba(15, 23, 42, .82);
    --football-soft-bg: rgba(15, 23, 42, .62);
    --football-heading: #f8fafc;
    --football-copy: #cbd5e1;
}

html[data-theme="dark"] .football-player-identity-grid span,
html[data-theme="dark"] .football-player-season-filter label,
html[data-theme="dark"] .football-player-season-summary span {
    color: #aebcd0;
}

html[data-theme="dark"] .football-player-season-filter select {
    border-color: rgba(255, 255, 255, .13);
    background-color: #111c31;
    color: #f8fafc;
}

html[data-theme="dark"] .football-player-position-tags span {
    background: rgba(45, 212, 191, .12);
    color: #7ee5d8;
}

html[data-theme="dark"] .football-player-other-seasons .football-profile-history__row.is-active {
    border-color: rgba(45, 212, 191, .42);
    background: rgba(45, 212, 191, .09);
}
