.fanres {
    color: inherit;
    font-family: inherit;
}

.fanres-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: #fff;
}

.fanres-table th,
.fanres-table td {
    padding: 10px 12px;
    border: 1px solid #d9e2ec;
    text-align: left;
    vertical-align: top;
}

.fanres-table thead th {
    background: #f4f7fb;
    font-weight: 700;
}

.fanres-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.fanres a,
.fanres-report-link {
    color: #0b63ce;
    text-decoration: none;
    font-weight: 600;
}

.fanres a:hover,
.fanres-report-link:hover {
    text-decoration: underline;
}

.fanres-badge,
.fanres-current-club td strong {
    font-weight: 700;
}

.fanres-current-club {
    background: #eef6ff !important;
}

.fanres-error,
.fanres-empty {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 6px;
}

.fanres-error {
    background: #fff1f0;
    border: 1px solid #f5c2c0;
    color: #8a2424;
}

.fanres-empty {
    background: #f7f8f9;
    border: 1px solid #dcdcde;
    color: #50575e;
}

.fanres-round-label {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
}

.fanres-round-select {
    min-width: 180px;
}

.fanres-round-heading {
    margin: 16px 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #334155;
    text-transform: uppercase;
}

.fanres-round-break td {
    padding: 24px 0 8px;
    border: 0;
    background: transparent !important;
}

.fanres-round-break .fanres-round-heading {
    margin: 0;
}

.fanres-team-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.fanres-team-cell__logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
}

.fanres-team-cell__name {
    display: inline-block;
}

.fanres-section-title {
    margin: 0 0 16px;
}

.fanres-report {
    margin: 20px auto;
    max-width: 1100px;
    color: #222;
}

.fanres-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.fanres-header .team-block {
    width: 30%;
    text-align: center;
}

.fanres-header img {
    max-height: 90px;
    margin-bottom: 10px;
}

.fanres-header .score-block {
    text-align: center;
}

.fanres-header .score {
    color: #08458d;
    font-size: 42px;
    font-weight: 700;
}

.fanres-header .halftime,
.fanres-header .meta {
    color: #61758a;
}

.fanres-card {
    margin: 20px 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.fanres-card h4 {
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #08458d;
    color: #08458d;
    font-size: 18px;
}

.fanres-lineups {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.fanres-lineups .fanres-card {
    flex: 1 1 320px;
}

.fanres-report-page {
    max-width: 1180px;
    margin: 32px auto;
    padding: 0 16px 32px;
    color: inherit;
}

.fanres-report-hero {
    margin-bottom: 24px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.fanres-report-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-bottom: 24px;
}

.fanres-report-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #dbe3ec;
    background: #fff;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
}

.fanres-report-pill--accent {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.fanres-report-scoreboard {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    gap: 20px;
    align-items: center;
}

.fanres-report-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.fanres-report-team img {
    max-width: 92px;
    max-height: 92px;
    object-fit: contain;
}

.fanres-report-team h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

.fanres-report-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.fanres-report-score-main {
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    color: inherit;
}

.fanres-report-score-sub {
    padding: 6px 12px;
    background: #eef2ff;
    border-radius: 999px;
    color: #334155;
    font-weight: 700;
}

.fanres-report-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.fanres-report-meta-grid div,
.fanres-report-officials-list div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.fanres-report-meta-grid strong,
.fanres-report-officials-list strong {
    font-size: 13px;
    color: #486581;
}

.fanres-report-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.fanres-report-columns .fanres-card h3,
.fanres-report-officials h3,
.fanres-report-page .fanres-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 22px;
}

.fanres-report-subsection {
    margin-top: 20px;
}

.fanres-report-subsection h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #486581;
}

.fanres-report-officials-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fanres-staff-grid {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.fanres-staff-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.fanres-lineup-list {
    display: grid;
    gap: 8px;
}

.fanres-lineup-player {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e5edf5;
    border-radius: 10px;
    background: #fbfdff;
}

.fanres-lineup-number {
    font-weight: 700;
    color: #1d4ed8;
}

.fanres-lineup-name {
    font-weight: 600;
}

.fanres-lineup-badges {
    display: flex;
    gap: 6px;
}

.fanres-player-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}

.fanres-player-badge--captain {
    background: #0284c7;
}

.fanres-player-badge--goalkeeper {
    background: #64748b;
}

.fanres-report-list {
    display: grid;
    gap: 10px;
}

.fanres-report-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.fanres-report-row-main,
.fanres-report-row-side {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}

.fanres-report-row-side {
    justify-content: flex-end;
    color: #486581;
    font-weight: 600;
}

.fanres-report-context {
    color: #64748b;
}

.fanres-report-note {
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.fanres-event-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.fanres-event-icon--text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #1d4ed8;
    font-size: 18px;
    line-height: 1;
}

.fanres-table-wrap {
    overflow-x: auto;
}

.fanres-analytics-card {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.fanres-analytics-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.fanres-analytics-head h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
}

.fanres-analytics-single-value {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.fanres-analytics-single-number {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
}

.fanres-analytics-single-unit {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
}

.fanres-analytics-single-entity {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 12px;
    color: #475569;
}

.fanres-analytics-meta {
    margin-top: 12px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.fanres-analytics-meta--chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fanres-analytics-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f7fb;
    border: 1px solid #dce6f0;
    color: #203041;
    font-size: 12px;
    line-height: 1.2;
}

.fanres-analytics-chip__icon,
.fanres-analytics-chip__label {
    font-weight: 700;
}

.fanres-analytics-chip__value {
    font-weight: 600;
}

.fanres-analytics-table th,
.fanres-analytics-table td {
    white-space: nowrap;
}

.fanres-analytics-leaderboard {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fanres-analytics-leaderboard-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.fanres-analytics-leaderboard-main,
.fanres-analytics-leaderboard-side {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.fanres-analytics-leaderboard-main strong,
.fanres-analytics-leaderboard-side strong {
    color: #0f172a;
}

.fanres-analytics-leaderboard-meta {
    width: 100%;
    margin-top: 8px;
}

.fanres-analytics-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 800;
}

.fanres-analytics-bars {
    display: grid;
    gap: 14px;
}

.fanres-analytics-bar-row {
    display: grid;
    gap: 8px;
}

.fanres-analytics-bar-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.fanres-analytics-bar-track {
    position: relative;
    overflow: hidden;
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
}

.fanres-analytics-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f766e 0%, #3b82f6 100%);
}

.fanres-analytics-debug {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px dashed #b9c8d8;
    border-radius: 12px;
    background: #f8fbff;
}

.fanres-analytics-debug summary {
    cursor: pointer;
    font-weight: 700;
    color: #16324f;
}

.fanres-analytics-debug pre {
    margin: 12px 0 0;
    padding: 12px;
    overflow: auto;
    border-radius: 10px;
    background: #122033;
    color: #e8f0fb;
    font-size: 12px;
    line-height: 1.5;
}

.fanres-delegations-table td {
    vertical-align: top;
}

.fanres-mobile-list {
    display: none;
}

@media (max-width: 782px) {
    .fanres-header {
        flex-direction: column;
        align-items: stretch;
    }

    .fanres-header .team-block {
        width: 100%;
    }

    .fanres-team-cell__logo {
        display: none;
    }

    .fanres-table--responsive {
        table-layout: fixed;
        font-size: 13px;
    }

    .fanres-table--responsive th,
    .fanres-table--responsive td {
        padding: 8px 10px;
        white-space: normal;
        word-break: break-word;
    }

    .fanres-table--responsive .fanres-team-cell {
        gap: 0;
    }

    .fanres-standings-table .fanres-table th:nth-child(3),
    .fanres-standings-table .fanres-table th:nth-child(4),
    .fanres-standings-table .fanres-table th:nth-child(5),
    .fanres-standings-table .fanres-table th:nth-child(6),
    .fanres-standings-table .fanres-table td:nth-child(3),
    .fanres-standings-table .fanres-table td:nth-child(4),
    .fanres-standings-table .fanres-table td:nth-child(5),
    .fanres-standings-table .fanres-table td:nth-child(6) {
        display: none;
    }

    .fanres-table--matches thead,
    .fanres-all-results thead,
    .fanres-results-table thead,
    .fanres-delegations-table thead {
        display: none;
    }

    .fanres-table--matches,
    .fanres-all-results,
    .fanres-results-table,
    .fanres-delegations-table,
    .fanres-table--matches tbody,
    .fanres-all-results tbody,
    .fanres-results-table tbody,
    .fanres-delegations-table tbody {
        display: block;
        width: 100%;
    }

    .fanres-table--matches tbody tr:not(.fanres-round-break),
    .fanres-all-results tbody tr:not(.fanres-round-break),
    .fanres-results-table tbody tr:not(.fanres-round-break) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 4px 10px;
        padding: 12px 0;
        border-bottom: 1px solid #e5e7eb;
        background: transparent !important;
    }

    .fanres-table--matches tbody td,
    .fanres-all-results tbody td,
    .fanres-results-table tbody td {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        text-align: left !important;
        min-width: 0;
    }

    .fanres-table--matches tbody td::before,
    .fanres-all-results tbody td::before,
    .fanres-results-table tbody td::before {
        display: none;
    }

    .fanres-table--matches tbody td[data-label="Krog"],
    .fanres-all-results tbody td[data-label="Krog"] {
        display: none;
    }

    .fanres-table--matches tbody td[data-label="Datum"],
    .fanres-all-results tbody td[data-label="Datum"],
    .fanres-results-table tbody td[data-label="Datum"] {
        grid-column: 1;
        color: #64748b;
        font-size: 12px;
    }

    .fanres-table--matches tbody td[data-label="Ura"],
    .fanres-all-results tbody td[data-label="Ura"],
    .fanres-results-table tbody td[data-label="Ura"] {
        grid-column: 2;
        color: #64748b;
        font-size: 12px;
    }

    .fanres-table--matches tbody td[data-label="Domači"],
    .fanres-table--matches tbody td[data-label="DomaÄŤi"],
    .fanres-all-results tbody td[data-label="Domači"],
    .fanres-all-results tbody td[data-label="DomaÄŤi"],
    .fanres-results-table tbody td[data-label="Domači"],
    .fanres-results-table tbody td[data-label="DomaÄŤi"] {
        grid-column: 1 / span 2;
        font-weight: 700;
    }

    .fanres-table--matches tbody td[data-label="Gostje"],
    .fanres-all-results tbody td[data-label="Gostje"],
    .fanres-results-table tbody td[data-label="Gostje"] {
        grid-column: 1 / span 2;
    }

    .fanres-table--matches tbody td[data-label="Kraj (stadion)"],
    .fanres-all-results tbody td[data-label="Kraj (stadion)"] {
        grid-column: 1 / span 3;
        color: #64748b;
        font-size: 12px;
    }

    .fanres-table--matches tbody td[data-label="Rezultat"],
    .fanres-all-results tbody td[data-label="Rezultat"],
    .fanres-results-table tbody td[data-label="Rezultat"] {
        grid-column: 3;
        grid-row: 1 / span 3;
        align-self: center;
        justify-self: end;
        text-align: right !important;
        font-size: 20px;
        font-weight: 800;
    }

    .fanres-delegations-table tbody tr:not(.fanres-round-break) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 6px 14px;
        padding: 14px 0;
        border-bottom: 1px solid #e5e7eb;
        background: transparent !important;
    }

    .fanres-delegations-table tbody td {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        text-align: left !important;
        min-width: 0;
    }

    .fanres-delegations-table tbody td::before {
        display: none;
    }

    .fanres-delegations-table tbody td[data-label="Kraj (stadion)"] {
        grid-column: 1;
        font-weight: 700;
    }

    .fanres-delegations-table tbody td[data-label="Datum in ura"] {
        grid-column: 2;
        color: #64748b;
        font-size: 12px;
        text-align: right !important;
    }

    .fanres-delegations-table tbody td[data-label="Domači"],
    .fanres-delegations-table tbody td[data-label="DomaÄŤi"] {
        grid-column: 1;
    }

    .fanres-delegations-table tbody td[data-label="Gostje"] {
        grid-column: 2;
    }

    .fanres-delegations-table tbody td[data-label="Sodniki"] {
        grid-column: 1 / span 2;
        margin-top: 4px;
    }

    .fanres-delegations-table tbody td[data-label="Delegat"] {
        grid-column: 1 / span 2;
        color: #475569;
    }

    .fanres-delegations-table tbody td[data-label="Sodniki"]::before,
    .fanres-delegations-table tbody td[data-label="Delegat"]::before {
        display: block;
        margin-bottom: 4px;
        color: #64748b;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .fanres-delegations-table tbody td[data-label="Sodniki"]::before {
        content: "Sodniki";
    }

    .fanres-delegations-table tbody td[data-label="Delegat"]::before {
        content: "Delegat";
    }

    .fanres-round-break td {
        padding: 18px 0 8px !important;
        border: 0 !important;
    }

    .fanres-round-heading {
        margin-top: 12px;
        font-size: 26px;
    }

    .fanres-report-scoreboard,
    .fanres-report-meta-grid,
    .fanres-report-columns,
    .fanres-report-officials-list {
        grid-template-columns: 1fr;
    }

    .fanres-report-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .fanres-report-row-side {
        justify-content: flex-start;
    }

    .fanres-analytics-leaderboard-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .fanres-analytics-table th,
    .fanres-analytics-table td {
        font-size: 12px;
    }

    .fanres-analytics-table th:nth-child(4),
    .fanres-analytics-table td:nth-child(4),
    .fanres-analytics-table th:nth-child(5),
    .fanres-analytics-table td:nth-child(5) {
        display: none;
    }

    .fanres-table--responsive tbody td:first-child {
        border-top: 0;
    }

    .fanres-table--matches,
    .fanres-all-results,
    .fanres-results-table,
    .fanres-delegations-table {
        display: none;
    }

    .fanres-mobile-list {
        display: block;
        margin: 12px 0 0;
    }

    .fanres-mobile-match {
        display: grid;
        grid-template-columns: minmax(96px, 1.2fr) 82px minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 0 12px;
        align-items: center;
        padding: 14px 0;
        border-top: 1px solid #d9e2ec;
        background: #fff;
    }

    .fanres-mobile-match__venue,
    .fanres-mobile-match__datetime,
    .fanres-mobile-match__home,
    .fanres-mobile-match__result,
    .fanres-mobile-match__away,
    .fanres-mobile-match__action-wrap,
    .fanres-mobile-match__officials,
    .fanres-mobile-match__delegate {
        min-width: 0;
    }

    .fanres-mobile-match__venue {
        grid-column: 1;
        color: #1f2937;
        font-size: 17px;
        line-height: 1.35;
    }

    .fanres-mobile-match__datetime {
        grid-column: 2;
        display: flex;
        flex-direction: column;
        gap: 4px;
        color: #334155;
        font-size: 14px;
        line-height: 1.25;
    }

    .fanres-mobile-match__home,
    .fanres-mobile-match__away {
        color: #1f2937;
        font-size: 17px;
        line-height: 1.35;
    }

    .fanres-mobile-match__home {
        grid-column: 3;
    }

    .fanres-mobile-match__result {
        grid-column: 5;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-align: center;
    }

    .fanres-mobile-match__away {
        grid-column: 4;
    }

    .fanres-mobile-match__result-link {
        color: #1e88e5;
        font-size: 18px;
        font-weight: 800;
        line-height: 1;
        text-decoration: none;
    }

    .fanres-mobile-match__result-link--plain {
        color: #334155;
    }

    .fanres-mobile-match__result-sub {
        color: #1e88e5;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
    }

    .fanres-mobile-match__action,
    .fanres-mobile-match__action:visited {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 3px solid #1e88e5;
        border-radius: 999px;
        color: #1e88e5;
        font-size: 16px;
        font-weight: 800;
        text-decoration: none;
    }

    .fanres-mobile-match__action--empty {
        border-color: transparent;
        color: transparent;
    }

    .fanres-mobile-match__officials,
    .fanres-mobile-match__delegate {
        grid-column: 1 / span 5;
        color: #475569;
        font-size: 13px;
        line-height: 1.45;
        margin-top: 8px;
    }

    .fanres-mobile-match__officials strong,
    .fanres-mobile-match__delegate strong {
        color: #334155;
    }

    .fanres-delegations .fanres-mobile-match {
        grid-template-columns: minmax(96px, 1.1fr) 82px minmax(0, 1fr) minmax(0, 1fr);
    }

    .fanres-delegations .fanres-mobile-match__home {
        grid-column: 3;
        font-weight: 700;
    }

    .fanres-delegations .fanres-mobile-match__result,
    .fanres-delegations .fanres-mobile-match__action-wrap {
        display: none;
    }

    .fanres-delegations .fanres-mobile-match__away {
        grid-column: 4;
    }

    .fanres-delegations .fanres-mobile-match__officials,
    .fanres-delegations .fanres-mobile-match__delegate {
        grid-column: 1 / span 4;
    }
}

/* Match and delegation lists - modern unified layout */
.fanres-schedule-list,
.fanres-delegations-list {
    display: grid;
    gap: 0;
}

.fanres-schedule-list__forced-round,
.fanres-delegations-list__forced-round {
    margin-bottom: 8px;
}

.fanres-schedule-row,
.fanres-delegation-row {
    padding: 18px 0;
    border-top: 1px solid #dbe4ee;
}

.fanres-schedule-row:nth-of-type(even),
.fanres-delegation-row:nth-of-type(even) {
    background: rgba(248, 250, 252, 0.72);
}

.fanres-schedule-row__teams {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    gap: 18px;
    align-items: center;
}

.fanres-schedule-row__team {
    min-width: 0;
    color: #1f334a;
    font-size: 31px;
    line-height: 1.22;
    font-weight: 700;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.fanres-schedule-row__team--home {
    text-align: right;
}

.fanres-schedule-row__team--away {
    text-align: left;
}

.fanres-schedule-row__score {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fanres-schedule-score,
.fanres-schedule-score:visited {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    gap: 4px;
    padding: 8px 10px;
    background: #97d83e;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.fanres-schedule-score:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(0.96);
}

.fanres-schedule-score--upcoming,
.fanres-schedule-score--upcoming:visited {
    background: #f3f4f6;
    color: #334155;
}

.fanres-schedule-score__main {
    display: block;
    font-size: 31px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.fanres-schedule-score__sub {
    display: block;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    color: inherit;
}

.fanres-schedule-row__meta {
    margin-top: 12px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
}

.fanres-delegation-row__top {
    display: grid;
    grid-template-columns: minmax(220px, 1.25fr) 110px minmax(150px, 1fr) minmax(150px, 1fr);
    gap: 18px;
    align-items: center;
}

.fanres-delegation-row__venue {
    color: #1f334a;
    font-size: 19px;
    line-height: 1.45;
}

.fanres-delegation-row__datetime {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #475569;
    font-size: 18px;
    line-height: 1.3;
}

.fanres-delegation-row__team {
    min-width: 0;
    color: #1f334a;
    font-size: 24px;
    line-height: 1.22;
    font-weight: 600;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.fanres-delegation-row__meta {
    margin-top: 9px;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.fanres-delegation-row__meta strong {
    color: #1f334a;
}

@media (max-width: 1280px) {
    .fanres-schedule-row__team {
        font-size: 25px;
    }

    .fanres-schedule-score__main {
        font-size: 26px;
    }

    .fanres-delegation-row__team {
        font-size: 21px;
    }
}

@media (max-width: 782px) {
    .fanres-schedule-row,
    .fanres-delegation-row {
        padding: 14px 0;
    }

    .fanres-round-heading {
        margin: 18px 0 10px;
        font-size: 24px;
    }

    .fanres-schedule-row__teams {
        grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
        gap: 10px;
    }

    .fanres-schedule-row__team {
        font-size: 17px;
        line-height: 1.38;
    }

    .fanres-schedule-score,
    .fanres-schedule-score:visited {
        min-width: 60px;
        padding: 7px 4px;
    }

    .fanres-schedule-score__main {
        font-size: 21px;
    }

    .fanres-schedule-score__sub {
        font-size: 13px;
    }

    .fanres-schedule-row__meta {
        margin-top: 9px;
        font-size: 13px;
        line-height: 1.5;
    }

    .fanres-delegation-row__top {
        grid-template-columns: minmax(0, 1.15fr) 86px minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    .fanres-delegation-row__venue {
        font-size: 15px;
        line-height: 1.45;
    }

    .fanres-delegation-row__datetime {
        font-size: 14px;
    }

    .fanres-delegation-row__team {
        font-size: 16px;
        line-height: 1.35;
        font-weight: 600;
    }

    .fanres-delegation-row__meta {
        margin-top: 8px;
        font-size: 13px;
    }
}

/* Unified premium styling for core shortcode outputs */
.fanres a:visited,
.fanres-report-link:visited,
.fanres-summary-card__result a:visited,
.fanres-schedule-score--played:visited {
    color: inherit;
}

.fanres-panel {
    margin: 18px 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dbe4ee;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.fanres-panel--table {
    padding: 0;
}

.fanres-table--premium {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}

.fanres-table--premium th,
.fanres-table--premium td {
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid #e7edf4;
    color: #5f7186;
    font-size: 16px;
    line-height: 1.45;
}

.fanres-table--premium thead th {
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6fb 100%);
    color: #66778c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fanres-table--premium tbody tr:nth-child(even) {
    background: #fbfdff;
}

.fanres-table--premium tbody tr:last-child td {
    border-bottom: 0;
}

.fanres-table--premium td:first-child,
.fanres-table--premium th:first-child {
    padding-left: 26px;
}

.fanres-table--premium td:last-child,
.fanres-table--premium th:last-child {
    padding-right: 26px;
}

.fanres-cell-strong {
    color: #24374d !important;
    font-weight: 700;
}

.fanres-cell-badge {
    color: #24374d !important;
    font-weight: 800;
}

.fanres-cell-center,
.fanres-th-center {
    text-align: center !important;
}

.fanres-inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.fanres-summary-card {
    padding: 22px 24px;
}

.fanres-summary-card__teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #24374d;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

.fanres-summary-card__teams--result {
    gap: 20px;
}

.fanres-summary-card__team {
    min-width: 0;
}

.fanres-summary-card__separator {
    color: #7b8ea3;
    font-weight: 500;
}

.fanres-summary-card__result a,
.fanres-summary-card__result span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 56px;
    padding: 8px 14px;
    background: #97d83e;
    color: #fff;
    text-decoration: none;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.fanres-summary-card__result a:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(0.96);
}

.fanres-summary-card__meta {
    margin-top: 10px;
    color: #6a7c91;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.fanres-schedule-score--upcoming {
    background: #f1f5f9;
    color: transparent;
}

.fanres-schedule-score--upcoming .fanres-schedule-score__main {
    min-height: 28px;
}

.fanres-schedule-score--played,
.fanres-schedule-score--played:visited {
    color: #fff;
}

.fanres-schedule-row__meta,
.fanres-delegation-row__meta {
    padding: 0 14px;
}

@media (max-width: 782px) {
    .fanres-table--premium th,
    .fanres-table--premium td {
        padding: 13px 12px;
        font-size: 14px;
    }

    .fanres-table--premium td:first-child,
    .fanres-table--premium th:first-child,
    .fanres-table--premium td:last-child,
    .fanres-table--premium th:last-child {
        padding-left: 14px;
        padding-right: 14px;
    }

    .fanres-summary-card {
        padding: 16px 18px;
    }

    .fanres-summary-card__teams {
        gap: 10px;
        font-size: 18px;
    }

    .fanres-summary-card__result a,
    .fanres-summary-card__result span {
        min-width: 58px;
        min-height: 40px;
        padding: 6px 10px;
        font-size: 20px;
    }

    .fanres-summary-card__meta {
        font-size: 13px;
    }
}

/* Core shortcode visual unification */
.fanres-panel--list {
    border: 0;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.07);
}

.fanres-panel--list .fanres-empty,
.fanres-panel--list .fanres-error {
    margin: 0;
    border: 0;
    border-radius: 0;
}

.fanres-results .fanres-schedule-list,
.fanres-matches .fanres-schedule-list,
.fanres-all-results-list .fanres-schedule-list,
.fanres-delegations .fanres-delegations-list,
.fanres-matches .fanres-list {
    padding: 0 26px 18px;
}

.fanres-round-heading {
    margin: 0;
    padding: 24px 26px 14px;
    color: #2d3f55;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.fanres-schedule-row,
.fanres-delegation-row,
.fanres-matches .fanres-item {
    margin: 0;
    padding: 18px 0;
    border-top: 1px solid #e5edf5;
    background: transparent;
}

.fanres-schedule-row:nth-of-type(even),
.fanres-delegation-row:nth-of-type(even),
.fanres-matches .fanres-item:nth-of-type(even) {
    background: rgba(246, 249, 252, 0.7);
}

.fanres-schedule-row__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 0 18px;
}

.fanres-schedule-row__team {
    color: #21364b;
    font-size: 28px;
    line-height: 1.22;
    font-weight: 700;
}

.fanres-schedule-row__team--home {
    text-align: right;
}

.fanres-schedule-row__team--away {
    text-align: left;
}

.fanres-schedule-row__score {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fanres-schedule-score,
.fanres-schedule-score:visited {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 52px;
    padding: 8px 14px;
    border-radius: 0;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.fanres-schedule-score:hover {
    text-decoration: none;
    transform: translateY(-1px);
    filter: brightness(0.97);
}

.fanres-schedule-score--played,
.fanres-schedule-score--played:visited,
.fanres-summary-card__result a,
.fanres-summary-card__result a:visited,
.fanres-summary-card__result span {
    background: #97d83e;
    color: #ffffff;
}

.fanres-schedule-score--upcoming,
.fanres-schedule-score--upcoming:visited {
    background: #eef3f7;
    color: transparent;
}

.fanres-schedule-score__main {
    color: inherit;
    font-size: 29px;
    font-weight: 800;
    line-height: 1;
}

.fanres-schedule-score__sub {
    margin-top: 4px;
    color: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.fanres-schedule-row__meta {
    margin-top: 10px;
    padding: 0 18px;
    color: #66788d;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
}

.fanres-delegation-row__top {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) 112px minmax(150px, 1fr) minmax(150px, 1fr);
    gap: 18px;
    align-items: center;
    padding: 0 18px;
}

.fanres-delegation-row__venue {
    color: #2b4057;
    font-size: 19px;
    line-height: 1.48;
}

.fanres-delegation-row__datetime {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #627489;
    font-size: 15px;
    line-height: 1.35;
}

.fanres-delegation-row__team {
    color: #21364b;
    font-size: 24px;
    line-height: 1.24;
    font-weight: 600;
}

.fanres-delegation-row__meta {
    margin-top: 10px;
    padding: 0 18px;
    color: #66788d;
    font-size: 14px;
    line-height: 1.6;
}

.fanres-delegation-row__meta strong {
    color: #21364b;
}

.fanres-matches .fanres-list {
    display: block;
}

.fanres-matches .fanres-item {
    display: block;
}

.fanres-matches .fanres-match__meta {
    margin-bottom: 8px;
    padding: 0 18px;
    color: #66788d;
    font-size: 14px;
    line-height: 1.4;
}

.fanres-matches .fanres-match__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 0 18px;
}

.fanres-matches .fanres-team {
    color: #21364b;
    font-size: 24px;
    line-height: 1.24;
    font-weight: 700;
}

.fanres-matches .fanres-team--home {
    text-align: right;
}

.fanres-matches .fanres-team--away {
    text-align: left;
}

.fanres-matches .fanres-result a,
.fanres-matches .fanres-result a:visited,
.fanres-matches .fanres-result span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 52px;
    padding: 8px 14px;
    background: #97d83e;
    color: #ffffff;
    text-decoration: none;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.fanres-summary-card {
    border: 0;
    border-radius: 28px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.07);
}

.fanres-summary-card__teams {
    color: #21364b;
    font-size: 26px;
}

.fanres-summary-card__meta {
    color: #66788d;
}

.fanres-current-club {
    background: #f2f8ff !important;
}

@media (max-width: 1200px) {
    .fanres-schedule-row__team {
        font-size: 24px;
    }

    .fanres-delegation-row__team,
    .fanres-matches .fanres-team {
        font-size: 20px;
    }
}

@media (max-width: 782px) {
    .fanres-results .fanres-schedule-list,
    .fanres-matches .fanres-schedule-list,
    .fanres-all-results-list .fanres-schedule-list,
    .fanres-delegations .fanres-delegations-list,
    .fanres-matches .fanres-list {
        padding: 0 16px 14px;
    }

    .fanres-round-heading {
        padding: 20px 16px 12px;
        font-size: 24px;
    }

    .fanres-schedule-row,
    .fanres-delegation-row,
    .fanres-matches .fanres-item {
        padding: 14px 0;
    }

    .fanres-schedule-row__teams,
    .fanres-matches .fanres-match__teams {
        grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .fanres-schedule-row__team,
    .fanres-matches .fanres-team {
        font-size: 15px;
        line-height: 1.42;
    }

    .fanres-schedule-score,
    .fanres-schedule-score:visited,
    .fanres-matches .fanres-result a,
    .fanres-matches .fanres-result a:visited,
    .fanres-matches .fanres-result span {
        min-width: 54px;
        min-height: 38px;
        padding: 6px 8px;
    }

    .fanres-schedule-score__main,
    .fanres-matches .fanres-result a,
    .fanres-matches .fanres-result span {
        font-size: 19px;
    }

    .fanres-schedule-score__sub {
        font-size: 12px;
    }

    .fanres-schedule-row__meta,
    .fanres-matches .fanres-match__meta {
        margin-top: 8px;
        padding: 0 10px;
        font-size: 12px;
        line-height: 1.5;
        text-align: center;
    }

    .fanres-delegation-row__top {
        grid-template-columns: minmax(0, 1.25fr) 76px minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
        padding: 0 10px;
    }

    .fanres-delegation-row__venue {
        font-size: 14px;
    }

    .fanres-delegation-row__datetime {
        font-size: 13px;
    }

    .fanres-delegation-row__team {
        font-size: 15px;
        line-height: 1.35;
    }

    .fanres-delegation-row__meta {
        margin-top: 8px;
        padding: 0 10px;
        font-size: 12px;
    }

    .fanres-table--premium.fanres-table--responsive {
        table-layout: auto;
    }

    .fanres-table--premium.fanres-table--responsive th,
    .fanres-table--premium.fanres-table--responsive td {
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .fanres-summary-card__teams {
        font-size: 18px;
    }
}
