/* ============================================================
   FootballConnectorV2
   ============================================================ */

/* General */

.football-v2-staff,
.football-v2-matches,
.football-v2-schedule {
    width: 100%;
    min-width: 0;
    color: var(--CSSColor, #333);
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
}

    .football-v2-staff *,
    .football-v2-matches *,
    .football-v2-schedule * {
        box-sizing: border-box;
    }


/* ============================================================
   Staff
   ============================================================ */

.football-v2-staff-group {
    margin: 0 0 38px;
}

    .football-v2-staff-group:last-child {
        margin-bottom: 0;
    }

    .football-v2-staff-group > h3 {
        margin: 0 0 18px;
        padding: 0;
        color: var(--HeadingColor, #333);
        font-size: 23px;
        font-weight: 500;
        line-height: 1.3;
    }

.football-v2-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.football-v2-staff-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid rgba(23, 62, 98, .10);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(23, 45, 63, .07);
    overflow-wrap: break-word;
}

.football-v2-staff-role {
    margin: 0 0 6px;
    color: #666;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
}

.football-v2-staff-name {
    margin: 0;
    color: var(--CSSColor, #333);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.football-v2-staff-contacts {
    margin-top: 16px;
    color: var(--CSSColor, #333);
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

    .football-v2-staff-contacts > div {
        margin: 0;
    }

        .football-v2-staff-contacts > div + div {
            margin-top: 5px;
        }

    .football-v2-staff-contacts span {
        color: #666;
    }

    .football-v2-staff-contacts a,
    .football-v2-staff-contacts a:visited {
        color: var(--LinkColor, #0A8137);
        font-size: inherit;
        font-weight: 400;
        text-decoration: underline;
        text-underline-offset: 2px;
        overflow-wrap: anywhere;
    }

        .football-v2-staff-contacts a:hover,
        .football-v2-staff-contacts a:focus-visible {
            color: var(--LinkHoverColor, #4FBE37);
        }

        .football-v2-staff-contacts a[href^="tel:"],
        .football-v2-staff-contacts a[href^="tel:"]:visited {
            color: var(--CSSColor, #333);
            text-decoration: none;
        }

            .football-v2-staff-contacts a[href^="tel:"]:hover {
                color: var(--LinkHoverColor, #4FBE37);
                text-decoration: underline;
            }


/* ============================================================
   Match Widgets
   Latest Results / Upcoming Matches
   ============================================================ */

.football-v2-matches > h3 {
    margin: 0 0 18px;
    color: var(--HeadingColor, #333);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.3;
}

.football-v2-match-list {
    display: grid;
    gap: 12px;
}

.football-v2-match {
    min-width: 0;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(23, 62, 98, .12);
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(23, 45, 63, .06);
}

.football-v2-match-meta {
    margin-bottom: 12px;
    color: #777;
    font-size: 13px;
    text-align: center;
}

.football-v2-match-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.football-v2-match-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.football-v2-match-away {
    flex-direction: row-reverse;
    text-align: right;
}

.football-v2-match-logo-wrapper {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.football-v2-match-logo {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.football-v2-match-logo-wrapper .football-v2-match-logo {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}

.football-v2-match-logo-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.football-v2-match-team-name {
    min-width: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.football-v2-match-score {
    min-width: 65px;
    color: var(--HeadingColor, #333);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.football-v2-match-location {
    margin-top: 10px;
    color: #777;
    font-size: 13px;
    text-align: center;
}


/* ============================================================
   Schedule
   ============================================================ */

.football-v2-schedule {
    --football-v2-border: #e8e8e8;
    --football-v2-muted: #777;
    --football-v2-accent: var(--LinkColor, #0A8137);
    --football-v2-surface: #f7faf8;
}


/* Title */

.football-v2-schedule-title {
    margin: 0 0 24px;
    color: var(--HeadingColor, #333);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.3;
}


/* Home / Away Tabs */

.football-v2-schedule-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 24px;
    padding: 5px;
    background: #f7f8f7;
    border: 1px solid #ededed;
    border-radius: 10px;
}

.football-v2-schedule-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #777;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

    .football-v2-schedule-tab:hover {
        color: var(--football-v2-accent);
        background: rgba(255, 255, 255, .65);
    }

    .football-v2-schedule-tab.is-active {
        background: #fff;
        color: var(--football-v2-accent);
        font-weight: 600;
        box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
    }

    .football-v2-schedule-tab:focus-visible {
        outline: 2px solid var(--football-v2-accent);
        outline-offset: 2px;
    }


/* Filter Controls */

.football-v2-schedule-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 30px;
}

    .football-v2-schedule-controls > * {
        min-width: 0;
    }

    .football-v2-schedule-controls label {
        display: block;
        margin: 0;
        color: var(--CSSColor, #333);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
    }

    .football-v2-schedule-controls select {
        display: block;
        width: 100%;
        min-height: 45px;
        margin-top: 8px;
        padding: 10px 14px;
        border: 1px solid #dcdede;
        border-radius: 8px;
        background: #fff;
        color: var(--CSSColor, #333);
        font-family: inherit;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.4;
        cursor: pointer;
        transition: border-color .18s ease, box-shadow .18s ease;
    }

        .football-v2-schedule-controls select:hover {
            border-color: #b7c1b9;
        }

        .football-v2-schedule-controls select:focus {
            outline: none;
            border-color: var(--football-v2-accent);
            box-shadow: 0 0 0 3px rgba(10, 129, 55, .10);
        }


/* Schedule Table */

.football-v2-schedule-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.football-v2-schedule-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    color: var(--CSSColor, #333);
    font-size: 15px;
    line-height: 1.5;
}

    .football-v2-schedule-table th {
        padding: 0 14px 14px 0;
        border-bottom: 2px solid var(--football-v2-border);
        color: #555;
        font-size: 13px;
        font-weight: 600;
        text-align: left;
    }

        .football-v2-schedule-table th:first-child {
            width: 145px;
        }

        .football-v2-schedule-table th:last-child {
            width: 90px;
            padding-right: 0;
            text-align: right;
        }

    .football-v2-schedule-table td {
        padding: 18px 14px 18px 0;
        border-bottom: 1px solid var(--football-v2-border);
        vertical-align: top;
        background: transparent;
        transition: background-color .18s ease;
    }

        .football-v2-schedule-table td:last-child {
            padding-right: 0;
        }

    .football-v2-schedule-table tbody tr {
        transition: background-color .18s ease;
    }

        .football-v2-schedule-table tbody tr:hover td {
            background-color: var(--football-v2-surface);
        }

        .football-v2-schedule-table tbody tr:last-child td {
            border-bottom-color: transparent;
        }


/* Date / Time */

.football-v2-schedule-date {
    color: var(--CSSColor, #333);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
}

    .football-v2-schedule-date span,
    .football-v2-schedule-date small {
        display: block;
    }

    .football-v2-schedule-date small {
        margin-top: 3px;
        color: var(--football-v2-muted);
        font-size: 13px;
        font-weight: 400;
        line-height: 1.4;
    }


/* Match / Teams */

.football-v2-schedule-game {
    min-width: 0;
}

    .football-v2-schedule-game strong {
        display: block;
        margin: 0 0 5px;
        color: var(--CSSColor, #333);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .football-v2-schedule-game small {
        display: block;
        margin: 2px 0 0;
        color: var(--football-v2-muted);
        font-size: 13px;
        font-weight: 400;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }


/* Result */

.football-v2-schedule-result {
    color: var(--CSSColor, #333);
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}


/* Match Count */

.football-v2-schedule-count {
    margin: 18px 0 0;
    color: var(--football-v2-muted);
    font-size: 13px;
    text-align: right;
}


/* Empty State */

.football-v2-schedule-empty {
    padding: 32px 18px;
    color: var(--football-v2-muted);
    font-size: 15px;
    text-align: center;
}


/* Visibility */

.football-v2-schedule [hidden] {
    display: none !important;
}


/* ============================================================
   Tablet
   ============================================================ */

@media screen and (max-width: 1023.9px) {

    .football-v2-staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .football-v2-staff-card {
        padding: 20px;
    }

    .football-v2-schedule-table th:first-child {
        width: 125px;
    }

    .football-v2-schedule-controls {
        gap: 16px;
    }
}


/* ============================================================
   Smartphone
   ============================================================ */

@media screen and (max-width: 600px) {

    /* Staff */

    .football-v2-staff-group {
        margin-bottom: 30px;
    }

        .football-v2-staff-group > h3 {
            margin-bottom: 14px;
            font-size: 21px;
        }

    .football-v2-staff-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .football-v2-staff-card {
        padding: 18px;
    }

    .football-v2-staff-name {
        font-size: 18px;
    }


    /* Match Widgets */

    .football-v2-match {
        padding: 13px 10px;
    }

    .football-v2-match-main {
        gap: 6px;
    }

    .football-v2-match-team {
        gap: 5px;
    }

    .football-v2-match-logo-wrapper,
    .football-v2-match-logo {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

        .football-v2-match-logo-wrapper .football-v2-match-logo {
            max-height: 28px;
        }

    .football-v2-match-team-name {
        font-size: 13px;
    }

    .football-v2-match-score {
        min-width: 52px;
        font-size: 17px;
    }


    /* Schedule Title */

    .football-v2-schedule-title {
        margin-bottom: 18px;
        font-size: 21px;
    }


    /* Schedule Tabs */

    .football-v2-schedule-tabs {
        gap: 3px;
        margin-bottom: 18px;
        padding: 4px;
    }

    .football-v2-schedule-tab {
        min-height: 40px;
        padding: 9px 5px;
        font-size: 12px;
    }


    /* Schedule Filters */

    .football-v2-schedule-controls {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 24px;
    }

        .football-v2-schedule-controls select {
            min-height: 43px;
            font-size: 14px;
        }


    /* Schedule Table */

    .football-v2-schedule-table {
        font-size: 14px;
    }

        .football-v2-schedule-table th {
            padding-bottom: 10px;
            font-size: 12px;
        }

            .football-v2-schedule-table th:first-child {
                width: 90px;
            }

            .football-v2-schedule-table th:last-child {
                width: 56px;
            }

        .football-v2-schedule-table td {
            padding: 15px 8px 15px 0;
        }

    .football-v2-schedule-date {
        font-size: 12px;
        white-space: normal;
    }

        .football-v2-schedule-date small {
            font-size: 12px;
        }

    .football-v2-schedule-game strong {
        margin-bottom: 5px;
        font-size: 14px;
    }

    .football-v2-schedule-game small {
        font-size: 12px;
        line-height: 1.45;
    }

    .football-v2-schedule-result {
        font-size: 14px;
    }

    .football-v2-schedule-count {
        margin-top: 14px;
        font-size: 12px;
    }
}


/* ============================================================
   Reduced Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .football-v2-schedule-tab,
    .football-v2-schedule-controls select,
    .football-v2-schedule-table td,
    .football-v2-schedule-table tbody tr {
        transition: none;
    }
}



.football-v2-dashboard {
    --fvd-accent: var(--LinkColor, #0a8137);
    --fvd-text: var(--CSSColor, #333);
    --fvd-muted: #767676;
    --fvd-border: #e5ebe7;
    --fvd-card-radius: 10px;
    --fvd-card-shadow: 0 4px 16px rgba(23, 45, 63, .065);
    color: var(--fvd-text);
    width: 100%;
    min-width: 0;
    font-size: 15px;
    line-height: 1.45;
}

    .football-v2-dashboard *,
    .football-v2-dashboard *::before,
    .football-v2-dashboard *::after {
        box-sizing: border-box;
    }

.football-v2-dashboard-section {
    margin: 0 0 36px;
}

    .football-v2-dashboard-section:last-child {
        margin-bottom: 0;
    }

    .football-v2-dashboard-section > h2 {
        color: var(--HeadingColor, #333);
        font-size: 23px;
        line-height: 1.25;
        font-weight: 500;
        margin: 0 0 16px;
    }

.football-v2-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.football-v2-dashboard-panel {
    background: #fff;
    border: 1px solid var(--fvd-border);
    border-radius: var(--fvd-card-radius);
    padding: 20px;
    min-width: 0;
    box-shadow: var(--fvd-card-shadow);
}

    .football-v2-dashboard-panel > h3 {
        margin: 0 0 16px;
        padding: 0;
        color: var(--HeadingColor, #333);
        font-size: 19px;
        font-weight: 600;
        line-height: 1.3;
    }

/* Featured next match */
.football-v2-dashboard-featured {
    border-top: 2px solid var(--fvd-accent);
}

.football-v2-dashboard-hero {
    padding: 19px 14px 16px;
    border-radius: 8px;
    background: #f5faf6;
}

.football-v2-dashboard-kickoff {
    color: var(--fvd-accent);
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 18px;
}

.football-v2-dashboard-match-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.football-v2-dashboard-side {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.football-v2-dashboard-crest {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    font-size: 30px;
}

    .football-v2-dashboard-crest img {
        display: block;
        max-width: 100%;
        width: 100%;
        height: 60px !important;
        object-fit: contain;
    }

        .football-v2-dashboard-crest img[hidden],
        .football-v2-dashboard-crest span[hidden] {
            display: none !important;
        }

.football-v2-dashboard-teamname {
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.football-v2-dashboard-center {
    font-size: 22px;
    font-weight: 700;
    color: var(--HeadingColor, #333);
    white-space: nowrap;
    text-align: center;
}

.football-v2-dashboard-location {
    text-align: center;
    color: var(--fvd-muted);
    font-size: 12px;
    margin-top: 18px;
}

.football-v2-dashboard-more-label {
    margin: 17px 0 8px;
    color: var(--fvd-muted);
    font-size: 12px;
    font-weight: 600;
}

.football-v2-dashboard-small-match {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    padding: 10px 0;
    border-top: 1px solid var(--fvd-border);
}

    .football-v2-dashboard-small-match > span {
        color: var(--fvd-muted);
        font-size: 12px;
    }

    .football-v2-dashboard-small-match > strong {
        font-size: 13px;
        font-weight: 500;
    }

/* Latest results: compact text layout, intentionally without crests */
.football-v2-dashboard-result-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--fvd-border);
}

    .football-v2-dashboard-result-item:first-of-type {
        padding-top: 0;
    }

    .football-v2-dashboard-result-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.football-v2-dashboard-result-date {
    margin: 0 0 9px;
    color: var(--fvd-muted);
    text-align: center;
    font-size: 12px;
}

/* Compatible with the previous dashboard HTML, which still emits crests. */
.football-v2-dashboard-result-item .football-v2-dashboard-crest {
    display: none !important;
}

.football-v2-dashboard-result-item .football-v2-dashboard-side {
    gap: 0;
}

.football-v2-dashboard-result-item .football-v2-dashboard-match-line {
    gap: 12px;
}

.football-v2-dashboard-result-item .football-v2-dashboard-teamname {
    font-size: 13px;
    font-weight: 500;
}

.football-v2-dashboard-result-item .football-v2-dashboard-center {
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* New dashboard HTML (step 24): results are rendered without image elements. */
.football-v2-dashboard-result-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.football-v2-dashboard-result-team {
    min-width: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

    .football-v2-dashboard-result-team:last-child {
        text-align: right;
    }

.football-v2-dashboard-result-score {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.football-v2-dashboard-other-match .football-v2-dashboard-other-location {
    display: block;
    margin-top: 5px;
    margin-bottom: 0;
    color: #858f89;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

/* ============================================================
   Dashboard - Compact standings
   ============================================================ */

.football-v2-dashboard-standing {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
    line-height: 1.25;
}

    .football-v2-dashboard-standing th {
        padding: 0 5px 7px;
        border-bottom: 1px solid var(--fvd-border);
        color: var(--fvd-muted);
        font-size: 11px;
        font-weight: 500;
        text-align: left;
    }

    .football-v2-dashboard-standing td {
        padding: 4px 5px;
        border-bottom: 1px solid #f0f0f0;
        vertical-align: middle;
    }

        .football-v2-dashboard-standing th:first-child,
        .football-v2-dashboard-standing td:first-child {
            width: 38px;
        }

        .football-v2-dashboard-standing th:last-child,
        .football-v2-dashboard-standing td:last-child {
            width: 42px;
            text-align: right;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
        }

        .football-v2-dashboard-standing td:nth-child(2) {
            overflow-wrap: anywhere;
        }

    .football-v2-dashboard-standing tr.is-own {
        background: rgba(10, 129, 55, .08);
        font-weight: 600;
    }

    .football-v2-dashboard-standing tbody tr:last-child td {
        border-bottom: 0;
    }

/* Reduce padding only for standings cards */

.football-v2-dashboard-panel:has(> .football-v2-dashboard-standing) {
    padding: 15px 16px;
}

    .football-v2-dashboard-panel:has(> .football-v2-dashboard-standing) > h3 {
        margin-bottom: 10px;
        font-size: 17px;
    }

/* Other club teams */
.football-v2-dashboard-other {
    background: #f9faf9;
}

.football-v2-dashboard-other-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--fvd-border);
    padding: 11px 0;
}

    .football-v2-dashboard-other-match:first-of-type {
        padding-top: 0;
    }

    .football-v2-dashboard-other-match:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .football-v2-dashboard-other-match > div {
        flex: 1;
        min-width: 0;
    }

    .football-v2-dashboard-other-match small {
        display: block;
        color: var(--fvd-muted);
        font-size: 12px;
        margin-bottom: 3px;
    }

    .football-v2-dashboard-other-match > div > span {
        display: block;
        color: var(--fvd-text);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .football-v2-dashboard-other-match strong {
        font-size: 15px;
        white-space: nowrap;
    }

.football-v2-dashboard-empty {
    color: var(--fvd-muted);
    margin: 4px 0;
    font-size: 14px;
}

@media screen and (max-width: 767.9px) {
    .football-v2-dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .football-v2-dashboard-panel {
        padding: 16px;
    }

    .football-v2-dashboard-section {
        margin-bottom: 30px;
    }

        .football-v2-dashboard-section > h2 {
            font-size: 21px;
        }

    .football-v2-dashboard-kickoff {
        font-size: 16px;
    }

    .football-v2-dashboard-result-line {
        gap: 7px;
    }

    .football-v2-dashboard-result-team {
        font-size: 12px;
    }

    .football-v2-dashboard-crest {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

        .football-v2-dashboard-crest img {
            height: 42px !important;
        }
}

@media (prefers-reduced-motion: reduce) {
    .football-v2-dashboard * {
        scroll-behavior: auto;
    }
}


.football-v2-overview {
    --fvo-border: #e2eae5;
    --fvo-muted: #707b74;
    --fvo-green: var(--LinkColor, #0a8137);
    width: 100%;
    min-width: 0;
    color: var(--CSSColor, #333);
    font-size: 15px;
    line-height: 1.45;
}

    .football-v2-overview *, .football-v2-overview *::before, .football-v2-overview *::after {
        box-sizing: border-box;
    }

    .football-v2-overview [hidden] {
        display: none !important;
    }

.football-v2-overview-controls {
    max-width: 420px;
    margin: 0 0 30px;
}

    .football-v2-overview-controls label {
        display: block;
        margin-bottom: 7px;
        font-weight: 600;
        font-size: 14px;
    }

    .football-v2-overview-controls select {
        width: 100%;
        min-height: 45px;
        padding: 10px 14px;
        border: 1px solid #d6dfd9;
        border-radius: 8px;
        background: #fff;
        color: inherit;
        font: inherit;
        cursor: pointer;
    }

        .football-v2-overview-controls select:focus-visible {
            outline: 2px solid var(--fvo-green);
            outline-offset: 2px;
        }

.football-v2-overview-columns {
    display: grid;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    gap: 28px;
    align-items: start;
}

    .football-v2-overview-columns > div {
        min-width: 0;
    }

        .football-v2-overview-columns > div > h2 {
            margin: 0 0 18px;
            font-size: 23px;
            font-weight: 500;
            color: var(--HeadingColor, #0a8137);
        }

.football-v2-overview-results-list {
    display: grid;
    gap: 10px;
}

.football-v2-overview-result {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--fvo-border);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(23,45,63,.045);
}

.football-v2-overview-date {
    margin-bottom: 8px;
    color: var(--fvo-muted);
    font-size: 12px;
}

.football-v2-overview-result-line {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    gap: 8px;
}

    .football-v2-overview-result-line span {
        min-width: 0;
        color: var(--CSSColor, #333);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

        .football-v2-overview-result-line span:last-child {
            text-align: right;
        }

    .football-v2-overview-result-line strong {
        white-space: nowrap;
        font-size: 18px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
    }

.football-v2-overview-subline {
    margin-top: 8px;
    font-size: 12px;
    color: var(--fvo-muted);
}

.football-v2-overview-more {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 11px 16px;
    border: 1px solid #c9dbd0;
    border-radius: 8px;
    background: #f5faf6;
    color: var(--fvo-green);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .football-v2-overview-more:hover {
        background: #eaf5ee;
    }

    .football-v2-overview-more:focus-visible {
        outline: 2px solid var(--fvo-green);
        outline-offset: 2px;
    }

.football-v2-overview-standing-card {
    min-width: 0;
    padding: 17px 18px;
    margin: 0 0 18px;
    border: 1px solid var(--fvo-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(23,45,63,.05);
}

    .football-v2-overview-standing-card h3 {
        margin: 0 0 13px;
        font-size: 17px;
        line-height: 1.35;
        font-weight: 600;
        color: var(--HeadingColor, #0a8137);
    }

.football-v2-overview-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.football-v2-overview-standing-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
}

.football-v2-overview-standing-card th {
    padding: 6px 4px 9px;
    border-bottom: 1px solid var(--fvo-border);
    color: var(--fvo-muted);
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

.football-v2-overview-standing-card td {
    padding: 6px 4px;
    border-bottom: 1px solid #f0f2f0;
    text-align: right;
    white-space: nowrap;
}

    .football-v2-overview-standing-card th:first-child, .football-v2-overview-standing-card td:first-child {
        text-align: left;
        width: 36px;
    }

    .football-v2-overview-standing-card th:nth-child(2), .football-v2-overview-standing-card td:nth-child(2) {
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .football-v2-overview-standing-card th:last-child, .football-v2-overview-standing-card td:last-child {
        font-weight: 700;
    }

.football-v2-overview-standing-card tr.is-own {
    background: rgba(10,129,55,.09);
    font-weight: 600;
}

.football-v2-overview-standing-card tbody tr:last-child td {
    border-bottom: 0;
}

.football-v2-overview-empty {
    margin: 12px 0;
    padding: 18px 14px;
    background: #f7faf8;
    border-radius: 8px;
    color: var(--fvo-muted);
}

@media screen and (max-width: 1150px) {
    .football-v2-overview-columns {
        gap: 18px;
    }

    .football-v2-overview-standing-card {
        padding: 14px 12px;
    }

    .football-v2-overview-extra {
        display: none;
    }
}

@media screen and (max-width: 767.9px) {
    .football-v2-overview-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

        .football-v2-overview-columns > div > h2 {
            font-size: 21px;
        }

    .football-v2-overview-extra {
        display: table-cell;
    }
}

@media screen and (max-width: 450px) {
    .football-v2-overview-result {
        padding: 12px 10px;
    }

    .football-v2-overview-result-line span {
        font-size: 12px;
    }

    .football-v2-overview-extra {
        display: none;
    }
}


.football-v2-team {
    --fvt-green: var(--LinkColor,#0a8137);
    --fvt-border: #e5ebe7;
    color: var(--CSSColor,#333);
    width: 100%;
    min-width: 0;
    font-size: 15px;
}

    .football-v2-team * {
        box-sizing: border-box;
    }

    .football-v2-team [hidden] {
        display: none !important;
    }

.football-v2-team-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.football-v2-team-card {
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--fvt-border);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(23,45,63,.065);
    margin-bottom: 22px;
}

.football-v2-team-grid .football-v2-team-card {
    margin-bottom: 0;
}

.football-v2-team-card > h2 {
    margin: 0 0 16px;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--HeadingColor,#333);
}

    .football-v2-team-card > h2 span {
        font-size: 16px;
        font-weight: 400;
    }

.football-v2-team-match {
    padding: 12px 0;
    border-bottom: 1px solid var(--fvt-border);
}

    .football-v2-team-match:first-child {
        padding-top: 0;
    }

    .football-v2-team-match:last-child {
        border-bottom: 0;
    }

    .football-v2-team-match time {
        display: block;
        margin-bottom: 7px;
        font-size: 12px;
        color: #777;
    }

.football-v2-team-match-main {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    gap: 10px;
}

    .football-v2-team-match-main span {
        font-size: 14px;
        line-height: 1.4;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

        .football-v2-team-match-main span:last-child {
            text-align: right;
        }

    .football-v2-team-match-main strong {
        font-size: 18px;
        font-weight: 700;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

.football-v2-team-venue {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
    color: #777;
}

.football-v2-team-empty {
    font-size: 14px;
    color: #777;
}

.football-v2-team-toggle {
    width: 100%;
    display: block;
    margin-top: 16px;
    padding: 11px 14px;
    border: 1px solid #c9dbd0;
    border-radius: 8px;
    background: #f5faf6;
    color: var(--fvt-green);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .football-v2-team-toggle:hover {
        background: #eaf5ee;
    }

    .football-v2-team-toggle:focus-visible {
        outline: 2px solid var(--fvt-green);
        outline-offset: 2px;
    }

.football-v2-team-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.football-v2-team-standing table {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.football-v2-team-standing th, .football-v2-team-standing td {
    padding: 8px 6px;
    text-align: right;
    border-bottom: 1px solid #edf0ee;
    white-space: nowrap;
}

.football-v2-team-standing th {
    font-weight: 500;
    color: #777;
    border-bottom-color: var(--fvt-border);
}

    .football-v2-team-standing th:first-child, .football-v2-team-standing td:first-child {
        width: 38px;
        text-align: left;
    }

    .football-v2-team-standing th:nth-child(2), .football-v2-team-standing td:nth-child(2) {
        width: 35%;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

.football-v2-team-standing td:last-child {
    font-weight: 700;
}

.football-v2-team-standing .is-own {
    background: rgba(10,129,55,.09);
    font-weight: 600;
}

@media (max-width:767.9px) {
    .football-v2-team-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 14px;
    }

    .football-v2-team-card {
        padding: 16px;
    }

    .football-v2-team-detail {
        display: none;
    }
}

@media (max-width:420px) {
    .football-v2-team-match-main {
        gap: 6px;
    }

        .football-v2-team-match-main span {
            font-size: 12px;
        }

        .football-v2-team-match-main strong {
            font-size: 16px;
        }
}


/* ============================================================
   FootballTeam: Trainer and compact standing card
   ============================================================ */

.football-team-trainers {
    margin: 0 0 22px;
}

    .football-team-trainers > h2 {
        margin: 0 0 16px;
        color: var(--HeadingColor, #333);
        font-size: 23px;
        font-weight: 500;
        line-height: 1.3;
    }

    .football-team-trainers .football-v2-staff-group {
        margin-bottom: 18px;
    }

        .football-team-trainers .football-v2-staff-group:last-child {
            margin-bottom: 0;
        }

.football-v2-team .football-v2-team-standing.football-v2-team-card {
    width: 100%;
    max-width: 800px;
    margin-left: 0;
    margin-right: 0;
}

.football-v2-team .football-v2-team-standing .football-v2-team-table-wrap {
    max-width: none;
}

.football-v2-team .football-v2-team-standing table {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

@media screen and (max-width: 767.9px) {
    .football-team-trainers > h2 {
        font-size: 21px;
    }
}

/* ============================================================
   Standalone Results and Standings
   ============================================================ */

.football-v2-overview-columns:has(> :only-child) {
    grid-template-columns: minmax(0, 1fr);
}

    .football-v2-overview-columns:has(> :only-child) > div {
        width: 100%;
        min-width: 0;
    }

/* Keep standalone standings readable on wide screens. */
.football-v2-overview-columns > .football-v2-overview-standings:only-child {
    width: 100%;
    max-width: 850px;
    min-width: 0;
    margin-right: auto;
}

.football-v2-overview-standings:only-child .football-v2-overview-standing-card {
    width: 100%;
}
