.eurocups-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1e293b;
    padding: 4px 0;
}
.euro-hero {
    background: linear-gradient(135deg, #002d62 0%, #009ddc 100%);
    color: #ffffff;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(0, 157, 220, 0.22);
}
.euro-hero-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 9px;
}
.euro-hero-sub {
    margin: 0;
    font-size: 13px;
    color: #e0f2fe;
}
.euro-cups-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
}
.euro-cup-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: #0077aa;
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.euro-cup-tab:hover {
    background: #e0f2fe;
    color: #0077aa;
    border-color: #009ddc;
}
.euro-cup-tab.active {
    background: #009ddc;
    color: #ffffff;
    border-color: #009ddc;
    box-shadow: 0 2px 6px rgba(0, 157, 220, 0.28);
}
.euro-subtabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    border-bottom: 2px solid #e0f2fe;
    padding-bottom: 10px;
}
.euro-subtab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.euro-subtab:hover {
    background: #f0f9ff;
    color: #0077aa;
    border-color: #7dd3fc;
}
.euro-subtab.active {
    background: #002d62;
    color: #ffffff;
    border-color: #002d62;
}
.euro-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.euro-select {
    padding: 6px 10px;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #002d62;
    background: #ffffff;
    cursor: pointer;
}
.euro-meta-info {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.euro-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #0077aa;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 5px;
    text-decoration: none;
}
.euro-refresh-btn:hover {
    background: #e0f2fe;
    border-color: #009ddc;
}
.euro-group-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.euro-group-title {
    background: #f0f9ff;
    border-bottom: 1px solid #bae6fd;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #002d62;
}
.euro-table-scroll {
    overflow-x: auto;
}
.euro-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.euro-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    padding: 9px 8px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    white-space: nowrap;
}
.euro-table th.col-team {
    text-align: left;
    padding-left: 10px;
}
.euro-table td {
    padding: 8px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
    vertical-align: middle;
}
.euro-table tr:last-child td {
    border-bottom: none;
}
.euro-table tr:hover td {
    background: #f0f9ff;
}
.euro-table tr.is-om td {
    background: #e0f2fe;
    font-weight: 700;
}
.euro-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: #334155;
}
.zone-r16 .euro-rank-badge {
    background: #009ddc;
    color: #ffffff;
}
.zone-playoff .euro-rank-badge {
    background: #e0f2fe;
    color: #0077aa;
    border: 1px solid #7dd3fc;
}
.zone-out .euro-rank-badge {
    background: #fee2e2;
    color: #b91c1c;
}
.euro-team-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    min-width: 170px;
}
.euro-team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.euro-om-tag {
    background: #009ddc;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
}
.euro-pts-cell {
    font-weight: 800;
    color: #002d62;
    font-size: 13.5px;
}
.euro-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #475569;
}
.euro-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.euro-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}
.euro-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.euro-filter-pill {
    padding: 5px 11px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0077aa;
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.euro-filter-pill:hover {
    background: #e0f2fe;
    border-color: #009ddc;
}
.euro-filter-pill.active {
    background: #009ddc;
    color: #ffffff;
    border-color: #009ddc;
}
.euro-matches-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.euro-match-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 11px 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.euro-match-card:hover {
    border-color: #7dd3fc;
    box-shadow: 0 2px 8px rgba(0, 157, 220, 0.12);
}
.euro-match-card.is-om-game {
    border-left: 4px solid #009ddc;
    background: #f0f9ff;
}
.euro-match-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}
.euro-stage-badge {
    background: #e0f2fe;
    color: #0077aa;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
}
.euro-status-badge {
    font-weight: 700;
    font-size: 11.5px;
    padding: 2px 8px;
    border-radius: 4px;
}
.euro-status-live {
    background: #fee2e2;
    color: #dc2626;
}
.euro-status-done {
    background: #f1f5f9;
    color: #475569;
}
.euro-status-pre {
    background: #f0f9ff;
    color: #0077aa;
    border: 1px solid #bae6fd;
}
.euro-match-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}
.euro-match-side {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
}
.euro-match-side.home {
    justify-content: flex-end;
    text-align: right;
}
.euro-match-side.away {
    justify-content: flex-start;
    text-align: left;
}
.euro-match-side.is-om {
    color: #0077aa;
    font-weight: 800;
}
.euro-match-score {
    background: #002d62;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 6px;
    min-width: 56px;
    text-align: center;
}
.euro-match-score.is-upcoming {
    background: #f0f9ff;
    color: #0077aa;
    border: 1px solid #bae6fd;
}
.euro-scorers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}
.euro-playoff-stage {
    margin-bottom: 18px;
}
.euro-playoff-stage-head {
    background: linear-gradient(135deg, #002d62 0%, #009ddc 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.euro-tie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #bae6fd;
    border-top: none;
    border-radius: 0 0 8px 8px;
}
.euro-tie-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.euro-tie-card.is-om-game {
    border-color: #009ddc;
    background: #f0f9ff;
}
.euro-tie-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 8px;
}
.euro-tie-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    padding: 3px 6px;
    border-radius: 5px;
}
.euro-tie-team.is-winner {
    background: #e0f2fe;
    color: #002d62;
    font-weight: 800;
}
.euro-tie-team.is-om {
    color: #0077aa;
}
.euro-tie-team-left {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.euro-tie-agg {
    font-size: 14px;
    font-weight: 800;
    color: #002d62;
    min-width: 24px;
    text-align: center;
}
.euro-tie-note {
    font-size: 11.5px;
    font-weight: 600;
    color: #0077aa;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 6px;
    display: inline-block;
}
.euro-tie-legs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
}
.euro-tie-leg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 0;
}
.euro-tie-leg-score {
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}
.euro-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: #009ddc;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
}
.euro-empty-btn:hover {
    background: #0082b8;
    color: #ffffff;
}
.euro-empty {
    text-align: center;
    padding: 32px 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
}
@media (max-width: 640px) {
    .euro-match-row {
        grid-template-columns: 1fr;
        gap: 6px;
        text-align: center;
    }
    .euro-match-side.home,
    .euro-match-side.away {
        justify-content: center;
        text-align: center;
    }
    .euro-match-score {
        margin: 0 auto;
    }
}

.om-cal-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #2c3e50;
    padding: 5px 0;
}
.om-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #009ddc 0%, #002d62 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 157, 220, 0.2);
}
.om-cal-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.om-cal-logo {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    padding: 3px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    flex-shrink: 0 !important;
}
.om-cal-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}
.om-cal-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 3px;
}
.om-cal-header-right {
    text-align: right;
    font-size: 12px;
}
.om-cal-badge-cache {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    margin-left: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.om-cal-main-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}
.om-cal-main-tab-btn {
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.om-cal-main-tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    text-decoration: none;
}
.om-cal-main-tab-btn.active {
    background: #009ddc;
    color: #ffffff;
    border-color: #009ddc;
    box-shadow: 0 2px 6px rgba(0, 157, 220, 0.25);
}

.om-cal-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.om-cal-filter-btn {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}
.om-cal-filter-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
    text-decoration: none;
}
.om-cal-filter-btn.active {
    background: #203a60;
    color: #ffffff;
    border-color: #203a60;
}

.om-tour-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.om-tour-nav-btn {
    padding: 6px 14px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    user-select: none;
}
.om-tour-nav-btn:hover {
    background: #009ddc;
    color: #ffffff;
    border-color: #009ddc;
    text-decoration: none;
}
.om-tour-nav-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}
.om-tour-select-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.om-tour-select {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
}

.om-cal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.om-match-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.om-match-card:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
.om-match-card.is-om-game {
    border-left: 4px solid #009ddc;
    background: #fcfdfe;
}

.res-win { border-left: 4px solid #2ecc71; }
.res-draw { border-left: 4px solid #f39c12; }
.res-loss { border-left: 4px solid #e74c3c; }
.res-upcoming { border-left: 4px solid #009ddc; }
.res-live { border-left: 4px solid #ef4444; background: #fffafa; }

.om-match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
}
.om-match-tour-badge {
    font-weight: 600;
    color: #0f172a;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}
.om-match-status-badge {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
}
.status-completed { background: #e2f9eb; color: #166534; }
.status-scheduled { background: #f1f5f9; color: #475569; }
.status-live { background: #fee2e2; color: #b91c1c; }

.om-match-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}
.om-match-team {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 40%;
}
.om-match-team.team-away {
    justify-content: flex-end;
    text-align: right;
}
.om-match-team-logo {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
.om-match-team-logo-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.om-match-team-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}
.om-match-team.is-om .om-match-team-name {
    color: #0077aa;
    font-weight: 700;
}

.om-match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
}
.om-match-score-box {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    background: #f1f5f9;
    padding: 4px 14px;
    border-radius: 6px;
    letter-spacing: 2px;
    display: inline-block;
}
.om-match-score-box.is-live-score {
    background: #fee2e2;
    color: #b91c1c;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.28);
}
.om-match-time-box {
    font-size: 14px;
    font-weight: 700;
    color: #0077aa;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.om-match-bottom {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.om-match-venue {
    color: #64748b;
    font-size: 11px;
}
.om-match-goals {
    color: #334155;
    font-size: 11px;
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: 4px;
}
.om-match-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #009ddc;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 4px 10px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: auto;
    transition: background 0.15s, color 0.15s;
}
.om-match-detail-link:hover {
    background: #e0f2fe;
    color: #0077aa;
    text-decoration: none;
}

.om-cal-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.om-cal-footer {
    margin-top: 15px;
    font-size: 11px;
    color: #94a3b8;
    text-align: right;
}

@media screen and (max-width: 768px) {
    .om-cal-header {
        padding: 12px 14px;
        margin-bottom: 14px;
        gap: 10px;
    }
    .om-cal-header-left {
        gap: 10px;
    }
    .om-cal-logo {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        min-width: 38px !important;
        padding: 2px !important;
    }
    .om-cal-title {
        font-size: 16px;
    }
    .om-cal-subtitle {
        font-size: 11px;
    }
    .om-cal-main-tabs {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .om-cal-main-tab-btn {
        flex: 1 1 auto;
        justify-content: center;
        padding: 8px 12px;
        font-size: 13px;
        text-align: center;
    }
    .om-cal-filters {
        gap: 6px;
        margin-bottom: 14px;
    }
    .om-cal-filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .om-tour-nav {
        padding: 8px 10px;
        gap: 8px;
        justify-content: space-between;
    }
    .om-tour-select-wrap {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    .om-tour-select {
        width: 100%;
        font-size: 13px;
    }
    .om-tour-nav-btn {
        order: 2;
        flex: 1 1 0%;
        text-align: center;
        padding: 6px 8px;
        font-size: 12px;
    }
    .om-match-card {
        padding: 10px 12px;
    }
    .om-match-team {
        width: 38%;
        gap: 8px;
        min-width: 0;
    }
    .om-match-team-logo {
        width: 26px !important;
        height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;
        min-width: 26px !important;
    }
    .om-match-team-name {
        font-size: 13px;
        line-height: 1.25;
        word-break: break-word;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .om-match-center {
        width: 24%;
        flex-shrink: 0;
    }
    .om-match-score-box {
        font-size: 16px;
        padding: 3px 8px;
        letter-spacing: 1px;
    }
    .om-match-time-box {
        font-size: 13px;
        padding: 3px 8px;
    }
    .om-match-bottom {
        font-size: 11px;
        margin-top: 8px;
        padding-top: 6px;
    }
}

@media screen and (max-width: 480px) {
    .om-cal-main-tab-btn {
        font-size: 12px;
        padding: 7px 8px;
        width: 100%;
    }
    .om-cal-filters {
        gap: 4px;
    }
    .om-cal-filter-btn {
        font-size: 11.5px;
        padding: 5px 8px;
        flex: 1 1 auto;
        text-align: center;
    }
    .om-match-team {
        width: 37%;
        gap: 5px;
    }
    .om-match-team-logo {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        min-width: 24px !important;
    }
    .om-match-team-name {
        font-size: 12px;
    }
    .om-match-center {
        width: 26%;
    }
    .om-match-score-box {
        font-size: 14px;
        padding: 2px 6px;
    }
    .om-match-time-box {
        font-size: 12px;
        padding: 2px 6px;
    }
}

.om-md-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1e293b;
}
.om-md-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.om-md-back-link, .om-md-online-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #009ddc;
    text-decoration: none;
    padding: 6px 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.om-md-back-link:hover, .om-md-online-link:hover {
    background: #e0f2fe;
    color: #0077aa;
    text-decoration: none;
}
.om-md-hero {
    background: linear-gradient(135deg, #002d62 0%, #009ddc 100%);
    color: #ffffff;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0, 157, 220, 0.25);
}
.om-md-hero.is-live {
    background: linear-gradient(135deg, #002d62 0%, #0082b8 100%);
    border: 2px solid #ef4444;
}
.om-md-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 12px;
}
.om-md-tour-badge {
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
}
.om-md-date {
    color: #e0f2fe;
    font-weight: 500;
}
.om-md-status-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
}
.om-md-status-badge.is-live {
    background: #ef4444;
    color: #fff;
}
.om-md-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    margin-right: 4px;
    animation: omMdPulse 1.2s infinite;
}
@keyframes omMdPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.om-md-scoreboard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.om-md-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}
.om-md-team-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    padding: 6px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.om-md-logo-fallback {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 26px;
    margin-bottom: 8px;
}
.om-md-team-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}
.om-md-team.is-om .om-md-team-name {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #7dd3fc;
    text-underline-offset: 4px;
}
.om-md-team-side {
    font-size: 11px;
    color: #bae6fd;
    margin-top: 3px;
}
.om-md-center {
    flex: 0 0 auto;
    text-align: center;
    padding: 0 10px;
}
.om-md-score {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.22);
    padding: 8px 18px;
    border-radius: 10px;
    line-height: 1;
}
.om-md-score span {
    color: #7dd3fc;
}
.om-md-live-clock {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #fecaca;
}
.om-md-vs-time {
    font-size: 26px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
}
.om-md-countdown {
    margin-top: 6px;
    font-size: 12px;
    color: #e0f2fe;
    font-weight: 600;
}
.om-md-meta-row {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 12px;
    color: #e0f2fe;
}
.om-md-meta-row i {
    margin-right: 4px;
    color: #7dd3fc;
}
.om-md-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.om-md-tab {
    border: 1px solid #bae6fd;
    background: #f0f9ff;
    color: #002d62;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}
.om-md-tab:hover {
    background: #e0f2fe;
    color: #0077aa;
}
.om-md-tab.active {
    background: #009ddc;
    border-color: #009ddc;
    color: #ffffff;
}
.om-md-tab-panel {
    display: none;
}
.om-md-tab-panel.active {
    display: block;
}
.om-md-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.om-md-card-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 700;
    color: #002d62;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f9ff;
}
.om-md-card-title i {
    color: #009ddc;
    margin-right: 6px;
}
.om-md-info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #002d62;
    font-size: 13px;
}
.om-md-info-banner i {
    font-size: 20px;
    color: #009ddc;
}
.om-md-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.om-md-ev-divider {
    text-align: center;
    margin: 6px 0;
    position: relative;
}
.om-md-ev-divider span {
    background: #f0f9ff;
    color: #009ddc;
    border: 1px solid #bae6fd;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
}
.om-md-ev-row {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 12.5px;
}
.om-md-ev-side-home {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.om-md-ev-side-away {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
}
.om-md-ev-min {
    text-align: center;
    font-weight: 700;
    color: #009ddc;
    background: #e0f2fe;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 11.5px;
}
.om-md-ev-icon.is-goal {
    color: #009ddc;
}
.om-md-ev-icon.is-yellow {
    display: inline-block;
    width: 10px;
    height: 14px;
    background: #facc15;
    border: 1px solid #ca8a04;
    border-radius: 2px;
}
.om-md-ev-icon.is-red {
    display: inline-block;
    width: 10px;
    height: 14px;
    background: #ef4444;
    border: 1px solid #b91c1c;
    border-radius: 2px;
}
.om-md-ev-icon.is-sub {
    color: #009ddc;
}
.om-md-ev-sub {
    color: #64748b;
    font-size: 11.5px;
}
.om-md-sub-in {
    color: #15803d;
    font-weight: 600;
}
.om-md-sub-out {
    color: #b91c1c;
    font-size: 11.5px;
}
.om-md-stats-head {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 12px;
}
.om-md-stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.om-md-stat-vals {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    margin-bottom: 4px;
}
.om-md-stat-num {
    font-weight: 700;
    color: #002d62;
}
.om-md-stat-label {
    color: #64748b;
}
.om-md-stat-bar {
    display: flex;
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
    gap: 2px;
}
.om-md-stat-fill-home.is-om, .om-md-stat-fill-away.is-om {
    background: #009ddc;
}
.om-md-stat-fill-home.is-opp, .om-md-stat-fill-away.is-opp {
    background: #64748b;
}
.om-md-rosters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.om-md-roster-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f9ff;
}
.om-md-roster-team {
    font-size: 15px;
    font-weight: 700;
    color: #002d62;
}
.om-md-formation-badge {
    background: #009ddc;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}
.om-md-roster-subhead {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin: 10px 0 6px 0;
}
.om-md-player-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.om-md-player-item {
    background: #f8fafc;
    border-radius: 5px;
    padding: 5px 8px;
}
.om-md-player-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
}
.om-md-pl-badges {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.om-md-pl-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    line-height: 1.3;
}
.om-md-pl-badge.is-goal {
    background: #e0f2fe;
    color: #0077aa;
    border: 1px solid #bae6fd;
}
.om-md-pl-badge.is-assist {
    background: #f0f9ff;
    color: #009ddc;
    border: 1px solid #bae6fd;
}
.om-md-pl-badge.is-yellow {
    background: #fef08a;
    color: #854d0e;
    border: 1px solid #eab308;
}
.om-md-pl-badge.is-red {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #ef4444;
}
.om-md-pl-badge.is-in {
    background: #dcfce7;
    color: #15803d;
}
.om-md-pl-badge.is-out {
    background: #fee2e2;
    color: #b91c1c;
}
.om-md-pl-stats {
    margin-top: 3px;
    padding-left: 28px;
    font-size: 11px;
    color: #64748b;
}
.om-md-jersey {
    width: 22px;
    text-align: center;
    font-weight: 700;
    color: #009ddc;
}
.om-md-player-name {
    flex: 1;
    font-weight: 500;
}
.om-md-player-pos {
    font-size: 11px;
    color: #64748b;
}
.om-md-sub-tag.is-in { color: #16a34a; }
.om-md-sub-tag.is-out { color: #dc2626; }
.om-md-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.om-md-form-team {
    font-weight: 700;
    font-size: 13.5px;
    margin-bottom: 8px;
    color: #002d62;
}
.om-md-form-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.om-md-form-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 5px 8px;
    background: #f8fafc;
    border-radius: 5px;
}
.om-md-form-badge {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    color: #fff;
}
.om-md-form-badge.is-w { background: #16a34a; }
.om-md-form-badge.is-d { background: #f59e0b; }
.om-md-form-badge.is-l { background: #dc2626; }
.om-md-form-opp { flex: 1; }
.om-md-form-score { font-weight: 700; color: #002d62; }
.om-md-notfound {
    text-align: center;
    padding: 40px 20px;
}
.om-md-nf-icon {
    font-size: 42px;
    color: #009ddc;
    margin-bottom: 10px;
}
.om-md-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #009ddc;
    color: #fff;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}
.om-md-btn-primary:hover {
    background: #0082b8;
    color: #fff;
    text-decoration: none;
}
@media (max-width: 700px) {
    .om-md-rosters-grid, .om-md-form-grid {
        grid-template-columns: 1fr;
    }
    .om-md-score {
        font-size: 24px;
        padding: 6px 12px;
    }
    .om-md-team-logo, .om-md-logo-fallback {
        width: 48px;
        height: 48px;
    }
    .om-md-team-name {
        font-size: 13.5px;
    }
}

.om-on-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    padding: 4px 0 15px 0;
}

.om-on-container img,
.main-body .om-on-container img {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.om-on-header {
    background: linear-gradient(135deg, #002d62 0%, #009ddc 100%);
    color: #ffffff;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0, 157, 220, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.om-on-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.om-on-header-icon {
    font-size: 32px;
    background: rgba(255, 255, 255, 0.15);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}
.om-on-header-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.2px;
}
.om-on-header-subtitle {
    font-size: 13px;
    opacity: 0.92;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.om-on-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.om-on-live-badge-top {
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    animation: omPulse 2s infinite ease-in-out;
}
.om-on-live-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: omBlink 1s infinite alternate;
}
@keyframes omBlink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}
@keyframes omPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.om-on-refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.om-on-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    text-decoration: none;
}
.om-on-refresh-btn i.rotating {
    animation: omSpin 1s linear infinite;
}
@keyframes omSpin {
    100% { transform: rotate(360deg); }
}

.om-on-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    gap: 10px;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.om-on-dates-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.om-on-date-btn {
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.om-on-date-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    text-decoration: none;
}
.om-on-date-btn.active {
    background: #009ddc;
    color: #ffffff;
    border-color: #009ddc;
    box-shadow: 0 2px 6px rgba(0, 157, 220, 0.3);
}
.om-on-date-picker-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.om-on-date-input {
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    color: #1e293b;
    background: #ffffff;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
.om-on-date-input:focus {
    border-color: #009ddc;
    box-shadow: 0 0 0 2px rgba(0, 157, 220, 0.15);
}

.om-on-autotimer {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}
.om-on-autotimer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
}

.om-on-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.om-on-filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.om-on-filter-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    text-decoration: none;
}
.om-on-filter-btn.active {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
    box-shadow: 0 2px 6px rgba(30, 41, 59, 0.25);
}
.om-on-filter-btn.btn-live.active {
    background: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}
.om-on-badge-count {
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 700;
}
.om-on-filter-btn.active .om-on-badge-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.om-on-league-block {
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.om-on-league-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 11px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}
.om-on-league-header:hover {
    background: #f1f5f9;
}
.om-on-league-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.om-on-league-flag {
    font-size: 18px;
    line-height: 1;
}
.om-on-league-logo,
.main-body img.om-on-league-logo {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    min-width: 22px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
}
.om-on-league-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}
.om-on-league-country {
    font-size: 12px;
    color: #64748b;
    background: #e2e8f0;
    padding: 1px 7px;
    border-radius: 4px;
}
.om-on-league-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.om-on-league-count {
    font-size: 12px;
    font-weight: 700;
    background: #009ddc;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
}
.om-on-league-arrow {
    font-size: 12px;
    color: #64748b;
    transition: transform 0.2s ease;
}
.om-on-league-block.collapsed .om-on-league-arrow {
    transform: rotate(-90deg);
}
.om-on-league-block.collapsed .om-on-matches-list {
    display: none;
}

.om-on-matches-list {
    display: flex;
    flex-direction: column;
}
.om-on-match-card {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}
.om-on-match-card:last-child {
    border-bottom: none;
}
.om-on-match-card:hover {
    background: #f8fafc;
}
.om-on-match-card.is-om-match {
    border-left: 4px solid #009ddc;
    background: #f0f9ff;
}
.om-on-match-card.is-live-match {
    border-left: 4px solid #ef4444;
    background: #fef2f2;
}

.om-on-match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}
.om-on-match-time-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.om-on-match-time {
    font-weight: 600;
    color: #475569;
}
.om-on-badge-om {
    background: #009ddc;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}
.om-on-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.status-live {
    background: #fee2e2;
    color: #b91c1c;
}
.status-completed {
    background: #dcfce7;
    color: #15803d;
}
.status-scheduled {
    background: #f1f5f9;
    color: #475569;
}
.status-postponed {
    background: #fef3c7;
    color: #b45309;
}
.status-canceled {
    background: #f1f5f9;
    color: #94a3b8;
}

.om-on-match-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}
.om-on-team {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 41%;
}
.om-on-team.team-away {
    justify-content: flex-end;
    text-align: right;
}
.om-on-team-logo,
.main-body img.om-on-team-logo {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    min-width: 28px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
}
.om-on-team-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
}
.om-on-team.is-om .om-on-team-name {
    color: #009ddc;
    font-weight: 800;
}
.om-on-red-card {
    font-size: 13px;
    line-height: 1;
}

.om-on-center-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 18%;
    text-align: center;
}
.om-on-score {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    background: #f1f5f9;
    padding: 3px 12px;
    border-radius: 6px;
    letter-spacing: 2px;
    display: inline-block;
}
.om-on-score.is-live {
    background: #fee2e2;
    color: #b91c1c;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.3);
}
.om-on-live-clock {
    font-size: 11px;
    font-weight: 700;
    color: #b91c1c;
    margin-top: 3px;
}
.om-on-sched-time {
    font-size: 14px;
    font-weight: 700;
    color: #009ddc;
    background: #e0f2fe;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

.om-on-match-bottom {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed #e2e8f0;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.om-on-match-venue {
    color: #64748b;
    font-size: 11px;
}
.om-on-match-goals {
    color: #334155;
    font-size: 11px;
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: 4px;
}
.om-on-detail-wrap {
    margin-top: 4px;
    display: flex;
    justify-content: flex-end;
}
.om-on-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #009ddc;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 4px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.om-on-detail-link:hover {
    background: #e0f2fe;
    color: #0077aa;
    text-decoration: none;
}

.om-on-empty-box {
    text-align: center;
    padding: 45px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
}
.om-on-empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
}
.om-on-empty-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}
.om-on-empty-text {
    font-size: 13px;
    max-width: 480px;
    margin: 0 auto;
}
.om-on-btn-reset {
    background: #009ddc;
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}
.om-on-btn-reset:hover {
    background: #0082b8;
}

.om-on-footer {
    margin-top: 16px;
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.om-on-toolbar-subrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .om-on-container {
        padding: 0 0 10px 0;
        overflow-x: hidden;
    }
    .om-on-header {
        padding: 12px 14px;
        margin-bottom: 12px;
        gap: 10px;
        border-radius: 8px;
    }
    .om-on-header-left {
        gap: 10px;
        width: 100%;
    }
    .om-on-header-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .om-on-header-title {
        font-size: 15px;
    }
    .om-on-header-subtitle {
        font-size: 11px;
    }
    .om-on-header-right {
        width: 100%;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 2px;
    }
    .om-on-live-badge-top {
        font-size: 11px;
        padding: 3px 8px;
    }
    .om-on-refresh-btn {
        font-size: 11px;
        padding: 5px 10px;
        margin-left: auto;
    }

    .om-on-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 10px;
        gap: 8px;
        margin-bottom: 12px;
    }
    .om-on-dates-group {
        width: 100%;
        display: flex;
        gap: 4px;
    }
    .om-on-date-btn {
        flex: 1 1 0%;
        justify-content: center;
        text-align: center;
        padding: 7px 3px;
        font-size: 12px;
        white-space: nowrap;
    }
    .om-on-toolbar-subrow {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .om-on-date-picker-wrap {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
    }
    .om-on-date-input {
        padding: 5px 6px;
        font-size: 12px;
        max-width: 130px;
    }
    .om-on-autotimer {
        font-size: 11px;
        margin-left: auto;
        white-space: nowrap;
    }

    .om-on-filters {
        display: flex;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        padding: 0;
        margin-bottom: 14px;
        gap: 6px;
        width: 100%;
        box-sizing: border-box;
    }
    .om-on-filter-btn {
        flex: 0 1 auto;
        white-space: nowrap;
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 6px;
        line-height: 1.25;
    }

    .om-on-league-block {
        margin-bottom: 14px;
    }
    .om-on-league-header {
        padding: 8px 10px;
    }
    .om-on-league-info {
        gap: 6px;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }
    .om-on-league-flag {
        font-size: 15px;
    }
    .om-on-league-logo,
    .main-body img.om-on-league-logo {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        min-width: 18px !important;
        object-fit: contain !important;
        display: inline-block !important;
        vertical-align: middle !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        flex-shrink: 0 !important;
    }
    .om-on-league-title {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .om-on-league-country {
        display: none;
    }
    .om-on-league-meta {
        flex-shrink: 0;
        gap: 6px;
    }
    .om-on-league-count {
        font-size: 11px;
        padding: 1px 6px;
    }

    .om-on-match-card {
        padding: 10px 10px;
    }
    .om-on-match-top {
        font-size: 11px;
        margin-bottom: 5px;
    }
    .om-on-badge-om {
        font-size: 9px;
        padding: 1px 5px;
    }
    .om-on-status-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    .om-on-match-main {
        padding: 2px 0;
    }
    .om-on-team {
        width: 38%;
        gap: 6px;
        min-width: 0;
    }
    .om-on-team-logo,
    .main-body img.om-on-team-logo {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
        min-width: 22px !important;
        object-fit: contain !important;
        display: inline-block !important;
        vertical-align: middle !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        flex-shrink: 0 !important;
    }
    .om-on-team-name {
        font-size: 12px;
        line-height: 1.25;
        word-break: break-word;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .om-on-center-box {
        width: 24%;
        flex-shrink: 0;
        padding: 0 2px;
    }
    .om-on-score {
        font-size: 15px;
        font-weight: 800;
        padding: 3px 6px;
        letter-spacing: 1px;
        min-width: 48px;
        text-align: center;
    }
    .om-on-sched-time {
        font-size: 12px;
        padding: 3px 6px;
    }
    .om-on-live-clock {
        font-size: 10px;
    }
    .om-on-match-bottom {
        margin-top: 6px;
        padding-top: 5px;
        font-size: 11px;
        gap: 3px;
    }
    .om-on-match-venue {
        font-size: 10px;
    }
    .om-on-match-goals {
        font-size: 10.5px;
        padding: 4px 6px;
        line-height: 1.35;
    }
    .om-on-footer {
        font-size: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .om-on-filters {
        gap: 5px;
        margin-bottom: 12px;
    }
    .om-on-filter-btn {
        padding: 5px 8px;
        font-size: 11px;
        gap: 4px;
        border-radius: 5px;
    }
    .om-on-filter-btn i {
        margin-right: 2px !important;
    }
    .om-on-badge-count {
        font-size: 10px;
        padding: 1px 4px;
    }
}

@media (max-width: 400px) {
    .om-on-filters {
        gap: 4px;
    }
    .om-on-filter-btn {
        padding: 4px 6px;
        font-size: 10.5px;
    }
    .om-on-team-name {
        font-size: 11px;
    }
    .om-on-team-logo,
    .main-body img.om-on-team-logo {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        min-width: 18px !important;
    }
    .om-on-score {
        font-size: 14px;
        padding: 2px 4px;
        min-width: 44px;
    }
    .om-on-date-btn {
        font-size: 11px;
        padding: 6px 2px;
    }
}

.ligue1-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #333;
    padding: 5px 0;
}

.france-leagues-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
}
.france-league-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #0077aa;
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.france-league-tab:hover {
    background: #e0f2fe;
    color: #0077aa;
    border-color: #009ddc;
}
.france-league-tab.active {
    background: #009ddc;
    color: #ffffff;
    border-color: #009ddc;
    box-shadow: 0 2px 4px rgba(0, 157, 220, 0.25);
}

.ligue1-season-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 15px;
}
.ligue1-season-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.season-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.season-pill:hover {
    background: #e0f2fe;
    color: #0077aa;
    border-color: #009ddc;
}
.season-pill.active {
    background: #009ddc;
    color: #ffffff;
    border-color: #009ddc;
    box-shadow: 0 2px 4px rgba(0, 157, 220, 0.25);
}
.season-pill .season-pill-badge {
    display: inline-block;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 4px;
}
.season-pill.active .season-pill-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.season-pill:not(.active) .season-pill-badge {
    background: #e0f2fe;
    color: #0077aa;
}
.season-pill-archive {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}
.season-pill-archive .season-pill-badge {
    background: #e2e8f0;
    color: #475569;
}
.season-select-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.season-select-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}
.season-select {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.season-select:focus {
    border-color: #009ddc;
    box-shadow: 0 0 0 2px rgba(0, 157, 220, 0.2);
}

.ligue1-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: #f4f7f9;
    border: 1px solid #dbe2e8;
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 15px;
}
.ligue1-title {
    font-size: 15px;
    font-weight: bold;
    color: #1b355a;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}
.season-badge-tag {
    display: inline-block;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.season-badge-current {
    background: #e0f2fe;
    color: #0077aa;
    border: 1px solid #bae6fd;
}
.season-badge-archive {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.ligue1-badge-status {
    font-size: 12px;
    color: #666;
}
.ligue1-badge-cache {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    background: #e8f4fc;
    color: #0077aa;
    margin-left: 6px;
}
.ligue1-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #dbe2e8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ligue1-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}
.ligue1-table th {
    background: #203a60;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}
.ligue1-table th.team-col {
    text-align: left;
    padding-left: 12px;
}
.ligue1-table td {
    padding: 9px 8px;
    border-top: 1px solid #edf1f5;
    vertical-align: middle;
}
.ligue1-table tbody tr:hover {
    background-color: #f8fbff;
}
.ligue1-table .team-cell {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
}
.ligue1-table .team-logo {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    min-width: 26px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
.ligue1-table .team-name-ru {
    font-weight: 600;
    color: #222;
    font-size: 13px;
    line-height: 1.2;
}
.ligue1-table .team-name-orig {
    font-size: 11px;
    color: #888;
}
.ligue1-table .pts-cell {
    font-size: 14px;
    font-weight: bold;
    color: #1b355a;
    background-color: rgba(0, 119, 182, 0.04);
}
.ligue1-table .diff-positive {
    color: #2e7d32;
    font-weight: 600;
}
.ligue1-table .diff-negative {
    color: #c62828;
    font-weight: 600;
}
.ligue1-table .diff-zero {
    color: #757575;
}

.ligue1-table tr.team-row-om {
    background-color: #e0f2fe !important;
    font-weight: 500;
}
.ligue1-table tr.team-row-om td {
    border-top: 1px solid #bce1f7;
    border-bottom: 1px solid #bce1f7;
}
.ligue1-table tr.team-row-om .team-name-ru {
    color: #0077aa;
    font-weight: bold;
    font-size: 14px;
}
.om-star-badge {
    display: inline-block;
    background: #009ddc;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}

.zone-rank {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
}
.zone-cl {
    background-color: #0056b3;
    color: #fff;
}
.zone-cl_qual {
    background-color: #17a2b8;
    color: #fff;
}
.zone-el {
    background-color: #e67e22;
    color: #fff;
}
.zone-ecl {
    background-color: #27ae60;
    color: #fff;
}
.zone-relegation_playoff {
    background-color: #f39c12;
    color: #fff;
}
.zone-relegation {
    background-color: #e74c3c;
    color: #fff;
}
.zone-promotion {
    background-color: #27ae60;
    color: #fff;
}
.zone-promotion_playoff {
    background-color: #009ddc;
    color: #fff;
}
.zone-normal {
    background-color: #eceff1;
    color: #455a64;
}

.ligue1-legend {
    margin-top: 15px;
    padding: 12px 15px;
    background: #fafbfc;
    border: 1px solid #e1e7ec;
    border-radius: 6px;
    font-size: 12px;
}
.ligue1-legend-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}
.ligue1-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}
.legend-cl { background-color: #0056b3; }
.legend-cl_qual { background-color: #17a2b8; }
.legend-el { background-color: #e67e22; }
.legend-ecl { background-color: #27ae60; }
.legend-playoff { background-color: #f39c12; }
.legend-relegation { background-color: #e74c3c; }
.legend-promotion { background-color: #27ae60; }
.legend-promotion_playoff { background-color: #009ddc; }

.ligue1-footer-info {
    margin-top: 10px;
    font-size: 11px;
    color: #888;
    text-align: right;
}
.ligue1-footer-info a {
    color: #0077aa;
    text-decoration: none;
}
.ligue1-footer-info a:hover {
    text-decoration: underline;
}

@media (max-width: 680px) {
    .ligue1-season-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .season-select-wrapper {
        margin-left: 0;
        justify-content: space-between;
    }
    .season-select {
        flex-grow: 1;
    }
    .ligue1-table .team-logo {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
        min-width: 22px !important;
    }
    .ligue1-table th, .ligue1-table td {
        padding: 6px 4px;
        font-size: 12px;
    }
    .ligue1-table .team-name-ru {
        font-size: 12px;
    }
    .ligue1-header {
        padding: 8px 10px;
    }
    .ligue1-title {
        font-size: 14px;
    }
}

.om-sc-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c3e50;
    padding: 4px 0 24px 0;
    overflow-x: clip;
}
.om-sc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #002d62 0%, #009ddc 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0, 157, 220, 0.22);
}
.om-sc-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.om-sc-container img {
    box-shadow: none;
    margin: 0;
}
.om-sc-logo {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    padding: 3px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    margin: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
}
.om-sc-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}
.om-sc-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 3px;
}
.om-sc-header-right {
    text-align: right;
    font-size: 12px;
}
.om-sc-badge-cache {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    margin-left: 5px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.om-sc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.om-sc-tab-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    display: inline-block;
}
.om-sc-tab-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
    text-decoration: none;
}
.om-sc-tab-btn:focus-visible {
    outline: 2px solid #009ddc;
    outline-offset: 2px;
}
.om-sc-tab-btn.active {
    background: #009ddc;
    color: #ffffff;
    border-color: #009ddc;
    box-shadow: 0 2px 6px rgba(0, 157, 220, 0.25);
}

.om-sc-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.om-sc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.om-sc-table th {
    background: #203a60;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.om-sc-table th.player-col {
    text-align: left;
    padding-left: 14px;
}
.om-sc-table th.team-col {
    text-align: left;
}
.om-sc-table td {
    padding: 8px 8px;
    border-top: 1px solid #edf2f7;
    vertical-align: middle;
}
.om-sc-table tbody tr:hover {
    background-color: #f8fbff;
}

.om-sc-table tr.is-om {
    background-color: #f0f9ff;
    font-weight: 600;
}
.om-sc-table tr.is-om:hover {
    background-color: #e0f2fe;
}
.om-sc-table tr.is-om td {
    border-top: 1px solid #bae6fd;
    border-bottom: 1px solid #bae6fd;
}
.om-sc-table tr.is-om .player-name {
    color: #0077aa;
    font-weight: 700;
}

.player-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding-left: 6px;
}
.player-avatar {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background: #e2e8f0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}
.player-avatar-placeholder {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    background: #cbd5e1 !important;
    color: #ffffff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}
.player-name {
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
}

.team-cell-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}
.team-logo-mini {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: inline-block !important;
    border: none !important;
}

.rank-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    background: #f1f5f9;
    color: #475569;
}
.rank-1 { background: #fef08a; color: #854d0e; }
.rank-2 { background: #e2e8f0; color: #475569; }
.rank-3 { background: #fed7aa; color: #9a3412; }

.main-stat-cell {
    font-size: 15px;
    font-weight: 800;
    color: #0077aa;
    background-color: rgba(0, 119, 182, 0.04);
}

.om-sc-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.om-sc-footer {
    margin-top: 15px;
    font-size: 11px;
    color: #94a3b8;
    text-align: right;
}

@media screen and (max-width: 768px) {
    .om-sc-header {
        padding: 12px 14px;
        margin-bottom: 14px;
        gap: 10px;
    }
    .om-sc-logo {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        padding: 2px !important;
    }
    .om-sc-title {
        font-size: 16px;
    }
    .om-sc-subtitle {
        font-size: 11px;
    }
    .om-sc-tabs {
        gap: 6px;
        margin-bottom: 12px;
    }
    .om-sc-tab-btn {
        padding: 6px 12px;
        font-size: 12px;
        flex: 1 1 auto;
        text-align: center;
    }
    .player-avatar,
    .player-avatar-placeholder {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        font-size: 11px !important;
    }
    .team-logo-mini {
        width: 16px !important;
        height: 16px !important;
        max-width: 16px !important;
        max-height: 16px !important;
        min-width: 16px !important;
        min-height: 16px !important;
    }
    .om-sc-table th, .om-sc-table td {
        padding: 6px 4px;
        font-size: 12px;
    }
    .player-name {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .om-sc-logo {
        width: 32px !important;
        height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        padding: 2px !important;
    }
    .om-sc-tab-btn {
        font-size: 11px;
        padding: 5px 8px;
    }
    .player-cell {
        gap: 6px;
        padding-left: 2px;
    }
    .player-avatar,
    .player-avatar-placeholder {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        font-size: 10px !important;
    }
    .team-logo-mini {
        width: 15px !important;
        height: 15px !important;
        max-width: 15px !important;
        max-height: 15px !important;
        min-width: 15px !important;
        min-height: 15px !important;
    }
    .om-sc-table th, .om-sc-table td {
        padding: 6px 3px;
        font-size: 11px;
    }
    .player-name {
        font-size: 11px;
    }
    .team-cell-mini {
        gap: 5px;
        font-size: 11px;
    }
    .rank-badge {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    .main-stat-cell {
        font-size: 13px;
    }
}

.om-squad-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c3e50;
    padding: 4px 0 24px 0;
    overflow-x: clip;
}
.om-squad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #002d62 0%, #009ddc 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0, 157, 220, 0.22);
}
.om-squad-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.om-squad-logo {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    padding: 4px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    flex-shrink: 0 !important;
}
.om-squad-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}
.om-squad-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 3px;
}
.om-squad-header-right {
    text-align: right;
    font-size: 12px;
}
.om-squad-badge-cache {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    margin-left: 5px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.om-group-section {
    margin-bottom: 25px;
}
.om-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.om-group-title {
    font-size: 18px;
    font-weight: 700;
    color: #1b355a;
    margin: 0;
}
.om-group-desc {
    font-size: 12px;
    color: #7f8c8d;
}
.om-group-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    background: #e0f2fe;
    color: #0077aa;
    padding: 2px 8px;
    border-radius: 12px;
    font-variant-numeric: tabular-nums;
}

.om-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.om-player-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.om-player-photo-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.om-player-photo {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.om-player-card:hover .om-player-photo {
    transform: scale(1.03);
}
.om-player-photo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 50px;
}
.om-player-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #009ddc;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}
.om-player-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.om-player-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.2;
}
.om-player-pos {
    font-size: 12px;
    color: #0077aa;
    font-weight: 600;
    margin-bottom: 8px;
}
.om-player-meta {
    font-size: 11px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-variant-numeric: tabular-nums;
}
.om-player-meta-row {
    display: flex;
    justify-content: space-between;
}

.om-coach-card {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.om-coach-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    border: 2px solid #009ddc;
    box-shadow: 0 2px 6px rgba(0, 157, 220, 0.25);
    background: #f1f5f9;
}
.om-coach-title {
    font-size: 12px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.om-coach-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2px;
}

.om-squad-footer {
    margin-top: 15px;
    font-size: 11px;
    color: #94a3b8;
    text-align: right;
}
.om-squad-footer a {
    color: #009ddc;
    text-decoration: none;
}
.om-squad-footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .om-squad-header {
        padding: 12px 14px;
        margin-bottom: 14px;
        gap: 10px;
    }
    .om-squad-logo {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        padding: 2px !important;
    }
    .om-squad-title {
        font-size: 16px;
    }
    .om-squad-subtitle {
        font-size: 11px;
    }
    .om-players-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    .om-player-photo-wrapper {
        height: 145px !important;
    }
    .om-player-photo {
        max-height: 135px !important;
        max-width: 90% !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
    .om-player-name {
        font-size: 13px;
    }
    .om-coach-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
    }
    .om-coach-photo {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        margin-right: 12px;
    }
}

@media screen and (max-width: 480px) {
    .om-players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .om-player-photo-wrapper {
        height: 135px !important;
    }
    .om-player-photo {
        max-height: 125px !important;
        max-width: 90% !important;
        width: auto !important;
        height: auto !important;
    }
    .om-player-info {
        padding: 8px 10px;
    }
    .om-player-name {
        font-size: 12px;
    }
    .om-player-pos {
        font-size: 11px;
        margin-bottom: 4px;
    }
    .om-player-meta {
        font-size: 10px;
        padding-top: 5px;
    }
}
