/* GYBRY_THEME_TOGGLE_20260606 */
html[data-gybry-theme="light"] {
    color-scheme: light;

    --bg: #F3F7FF;
    --card: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(233,242,255,0.98) 100%);
    --panel: rgba(255,255,255,0.78);
    --panel-2: rgba(255,255,255,0.94);
    --text: #0B1730;
    --muted: #45617F;
    --line: rgba(25, 65, 115, 0.16);
    --chip: rgba(11, 23, 48, 0.055);
    --input-bg: rgba(255,255,255,0.94);
    --soft-card: rgba(11, 23, 48, 0.045);
    --info-bg: rgba(230, 193, 90, 0.16);
    --info-line: rgba(159, 118, 20, 0.24);
    --warn-bg: rgba(255, 154, 31, 0.13);
    --warn-line: rgba(194, 104, 13, 0.28);
    --shadow: 0 20px 62px rgba(28, 54, 92, 0.14);
}

html[data-gybry-theme="light"],
html[data-gybry-theme="light"] body {
    background:
        radial-gradient(circle at 12% 8%, rgba(20, 227, 255, 0.16), transparent 31%),
        radial-gradient(circle at 92% 20%, rgba(230, 193, 90, 0.16), transparent 32%),
        linear-gradient(135deg, #F8FBFF 0%, #EAF2FF 48%, #F6FAFF 100%) !important;
    color: var(--text) !important;
}

html[data-gybry-theme="light"] .hero,
html[data-gybry-theme="light"] .match-card,
html[data-gybry-theme="light"] .country-header,
html[data-gybry-theme="light"] .card,
html[data-gybry-theme="light"] .access-card,
html[data-gybry-theme="light"] .section,
html[data-gybry-theme="light"] .product-card,
html[data-gybry-theme="light"] .identity-card,
html[data-gybry-theme="light"] .history-card,
html[data-gybry-theme="light"] .footer-card,
html[data-gybry-theme="light"] .account-top-rail {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(237,245,255,0.96)) !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
    box-shadow: var(--shadow) !important;
}

html[data-gybry-theme="light"] input,
html[data-gybry-theme="light"] select,
html[data-gybry-theme="light"] textarea,
html[data-gybry-theme="light"] .filter-select,
html[data-gybry-theme="light"] .date-input,
html[data-gybry-theme="light"] .search-input {
    background-color: rgba(255,255,255,0.96) !important;
    color: var(--text) !important;
    border-color: rgba(25, 65, 115, 0.18) !important;
}

html[data-gybry-theme="light"] .sport-tab,
html[data-gybry-theme="light"] .status-tab,
html[data-gybry-theme="light"] .expand-btn,
html[data-gybry-theme="light"] .account-link,
html[data-gybry-theme="light"] .account-home-link,
html[data-gybry-theme="light"] .lang-select,
html[data-gybry-theme="light"] .sort-toggle,
html[data-gybry-theme="light"] .country-pin-btn,
html[data-gybry-theme="light"] .favorite-btn {
    background: rgba(255,255,255,0.74) !important;
    border-color: rgba(25, 65, 115, 0.18) !important;
    color: var(--text) !important;
}

html[data-gybry-theme="light"] .sport-tab.active,
html[data-gybry-theme="light"] .status-tab.active,
html[data-gybry-theme="light"] .sort-toggle.active {
    background: linear-gradient(135deg, #14E3FF, #45D6FF) !important;
    color: #06111F !important;
}

html[data-gybry-theme="light"] .subtitle,
html[data-gybry-theme="light"] .hero-subtitle,
html[data-gybry-theme="light"] .section-note,
html[data-gybry-theme="light"] .history-meta,
html[data-gybry-theme="light"] .access-meta,
html[data-gybry-theme="light"] .match-date,
html[data-gybry-theme="light"] .meta,
html[data-gybry-theme="light"] .muted {
    color: var(--muted) !important;
}

.gybry-theme-toggle,
.gybry-theme-account-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    border: 1px solid rgba(185, 228, 255, 0.20);
    background: rgba(15, 28, 54, 0.72);
    color: rgba(244, 248, 255, 0.88);
    font-weight: 900;
    font-size: 13px;
    text-decoration: none;
    padding: 8px 13px;
    cursor: pointer;
    transition: 0.16s ease;
    white-space: nowrap;
}

.gybry-theme-toggle {
    padding: 5px;
    gap: 4px;
}

.gybry-theme-toggle button {
    width: 30px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    opacity: 0.58;
}

.gybry-theme-toggle button.is-active {
    opacity: 1;
    color: #06111F;
    background: linear-gradient(135deg, #14E3FF, #45D6FF);
    box-shadow: 0 0 16px rgba(20, 227, 255, 0.22);
}

html[data-gybry-theme="light"] .gybry-theme-toggle,
html[data-gybry-theme="light"] .gybry-theme-account-link {
    background: rgba(255,255,255,0.78) !important;
    border-color: rgba(25, 65, 115, 0.18) !important;
    color: #0B1730 !important;
}

@media (max-width: 720px) {
    .gybry-theme-toggle,
    .gybry-theme-account-link {
        min-height: 34px;
        font-size: 12px;
        padding: 7px 10px;
    }

    .gybry-theme-toggle {
        padding: 4px;
    }

    .gybry-theme-toggle button {
        width: 27px;
        height: 26px;
    }
}


/* GYBRY_LIGHT_THEME_DESIGN_FIX_20260606B */
html[data-gybry-theme="light"] {
    color-scheme: light;

    --bg: #EEF7FA;
    --card: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239,247,252,0.98));
    --panel: rgba(255,255,255,0.82);
    --panel-2: rgba(255,255,255,0.96);
    --text: #07142D;
    --muted: #395977;
    --line: rgba(40, 82, 124, 0.16);
    --chip: rgba(8, 24, 50, 0.055);
    --input-bg: rgba(255,255,255,0.96);
    --shadow: 0 18px 52px rgba(33, 73, 112, 0.13);
    --match-shell: #0C1830;
    --match-shell-2: #10213E;
    --light-card: #F7FBFF;
    --light-card-2: #EDF5FC;
    --light-blue: #DDF8FF;
    --light-cyan: #14E3FF;
    --light-gold: #D7AE34;
    --light-orange: #FF9A1F;
}

html[data-gybry-theme="light"],
html[data-gybry-theme="light"] body {
    background:
        radial-gradient(circle at 12% 7%, rgba(20, 227, 255, 0.18), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(230, 193, 90, 0.15), transparent 34%),
        linear-gradient(135deg, #F8FCFF 0%, #EAF7FA 42%, #F7FAF3 100%) !important;
    color: var(--text) !important;
}

/* top controls: Account + theme + language in one compact right group */
.gybry-theme-controls {
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 9px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: max-content !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

.gybry-theme-account-link,
.gybry-theme-toggle,
.gybry-theme-controls .lang-select,
.gybry-theme-controls #langSelect {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.gybry-theme-account-link {
    padding: 0 15px !important;
}

.gybry-theme-toggle {
    padding: 4px !important;
}

.gybry-theme-toggle button {
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html[data-gybry-theme="light"] .gybry-theme-account-link,
html[data-gybry-theme="light"] .gybry-theme-toggle,
html[data-gybry-theme="light"] .gybry-theme-controls .lang-select,
html[data-gybry-theme="light"] .gybry-theme-controls #langSelect {
    background: rgba(255,255,255,0.82) !important;
    border: 1px solid rgba(46, 87, 128, 0.18) !important;
    color: #07142D !important;
    box-shadow: 0 10px 26px rgba(31, 72, 112, 0.09) !important;
}

/* main landing */
html[data-gybry-theme="light"] .page,
html[data-gybry-theme="light"] main.page {
    color: var(--text) !important;
}

html[data-gybry-theme="light"] .hero {
    background:
        radial-gradient(circle at 92% 10%, rgba(20, 227, 255, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239,247,252,0.98)) !important;
    border-color: rgba(46, 87, 128, 0.16) !important;
    color: var(--text) !important;
    box-shadow: 0 24px 70px rgba(36, 78, 118, 0.14) !important;
}

html[data-gybry-theme="light"] .hero h1,
html[data-gybry-theme="light"] h1,
html[data-gybry-theme="light"] h2,
html[data-gybry-theme="light"] h3 {
    color: #07142D !important;
}

html[data-gybry-theme="light"] .hero p,
html[data-gybry-theme="light"] .hero-subtitle,
html[data-gybry-theme="light"] .subtitle,
html[data-gybry-theme="light"] .section-note {
    color: #4B6D88 !important;
}

/* football page filters/cards */
html[data-gybry-theme="light"] .sport-tab,
html[data-gybry-theme="light"] .status-tab,
html[data-gybry-theme="light"] .expand-btn,
html[data-gybry-theme="light"] .sort-toggle,
html[data-gybry-theme="light"] .country-pin-btn,
html[data-gybry-theme="light"] .favorite-btn,
html[data-gybry-theme="light"] .pair-filter,
html[data-gybry-theme="light"] .side-filter {
    background: rgba(255,255,255,0.78) !important;
    border-color: rgba(46, 87, 128, 0.17) !important;
    color: #10213E !important;
    box-shadow: 0 8px 22px rgba(35, 76, 116, 0.07) !important;
}

html[data-gybry-theme="light"] .sport-tab.active,
html[data-gybry-theme="light"] .status-tab.active,
html[data-gybry-theme="light"] .sort-toggle.active,
html[data-gybry-theme="light"] .side-filter.active,
html[data-gybry-theme="light"] .pair-filter.active {
    background: linear-gradient(135deg, #14E3FF, #45D6FF) !important;
    color: #06111F !important;
    border-color: rgba(20, 227, 255, 0.48) !important;
}

html[data-gybry-theme="light"] input,
html[data-gybry-theme="light"] select,
html[data-gybry-theme="light"] textarea,
html[data-gybry-theme="light"] .filter-select,
html[data-gybry-theme="light"] .date-input,
html[data-gybry-theme="light"] .search-input {
    background: rgba(255,255,255,0.95) !important;
    color: #07142D !important;
    border-color: rgba(46, 87, 128, 0.17) !important;
}

html[data-gybry-theme="light"] input::placeholder {
    color: rgba(57, 89, 119, 0.72) !important;
}

html[data-gybry-theme="light"] .country-header {
    background: linear-gradient(180deg, rgba(246,251,255,0.94), rgba(232,244,252,0.98)) !important;
    border-color: rgba(46, 87, 128, 0.14) !important;
    color: #07142D !important;
}

/* bonus shell keeps premium contrast, inner card becomes readable */
html[data-gybry-theme="light"] .bonus-card,
html[data-gybry-theme="light"] .bonus-match,
html[data-gybry-theme="light"] .users-bonus,
html[data-gybry-theme="light"] [data-bonus-ribbon],
html[data-gybry-theme="light"] .match-card.is-bonus {
    background:
        linear-gradient(180deg, rgba(13, 27, 52, 0.98), rgba(9, 19, 38, 0.99)) !important;
    border-color: rgba(230, 193, 90, 0.38) !important;
    color: #F4F8FF !important;
}

html[data-gybry-theme="light"] .match-card {
    background: linear-gradient(180deg, #F8FBFF, #EFF6FC) !important;
    border-color: rgba(46, 87, 128, 0.15) !important;
    color: #07142D !important;
    box-shadow: 0 14px 38px rgba(36, 78, 118, 0.11) !important;
}

html[data-gybry-theme="light"] .match-card.is-live {
    border-color: rgba(255, 154, 31, 0.24) !important;
}

html[data-gybry-theme="light"] .match-card .team-name,
html[data-gybry-theme="light"] .match-card .match-team,
html[data-gybry-theme="light"] .match-card .score,
html[data-gybry-theme="light"] .match-card .meta-top,
html[data-gybry-theme="light"] .match-card .preview-label,
html[data-gybry-theme="light"] .match-card .preview-value {
    color: #07142D !important;
}

html[data-gybry-theme="light"] .match-card .score-home,
html[data-gybry-theme="light"] .match-card .score-away,
html[data-gybry-theme="light"] .match-card .score-sep,
html[data-gybry-theme="light"] .mobile-score-item {
    color: #D5A629 !important;
}

html[data-gybry-theme="light"] .match-card .minute,
html[data-gybry-theme="light"] .match-card .mobile-minute,
html[data-gybry-theme="light"] .match-card.is-live .meta-top {
    color: #FF9A1F !important;
}

/* expanded football card */
html[data-gybry-theme="light"] .match-card [class*="preview"],
html[data-gybry-theme="light"] .match-card [class*="assumption"],
html[data-gybry-theme="light"] .match-card [class*="quality"],
html[data-gybry-theme="light"] .match-card [class*="lineup"],
html[data-gybry-theme="light"] .match-card [class*="structure"] {
    color: #07142D !important;
}

html[data-gybry-theme="light"] .preview-warning,
html[data-gybry-theme="light"] .lineup-warning,
html[data-gybry-theme="light"] [class*="warning"] {
    background: rgba(255, 77, 94, 0.07) !important;
    border-color: rgba(255, 77, 94, 0.26) !important;
    color: #9C2431 !important;
}

/* match page: make dark unreadable cards light, keep score premium */
html[data-gybry-theme="light"] .match-page,
html[data-gybry-theme="light"] .match-container,
html[data-gybry-theme="light"] .match-layout,
html[data-gybry-theme="light"] .content,
html[data-gybry-theme="light"] .main-content {
    color: #07142D !important;
}

html[data-gybry-theme="light"] .score-card,
html[data-gybry-theme="light"] .scoreboard,
html[data-gybry-theme="light"] .match-score-card,
html[data-gybry-theme="light"] .team-card {
    background: linear-gradient(180deg, #10213E, #0B1830) !important;
    border-color: rgba(20, 227, 255, 0.18) !important;
    color: #F4F8FF !important;
}

html[data-gybry-theme="light"] .score-card *,
html[data-gybry-theme="light"] .scoreboard *,
html[data-gybry-theme="light"] .match-score-card * {
    color: inherit;
}

html[data-gybry-theme="light"] .score,
html[data-gybry-theme="light"] .match-score,
html[data-gybry-theme="light"] .score-value {
    color: #F2D98B !important;
}

html[data-gybry-theme="light"] .panel,
html[data-gybry-theme="light"] .metric-card,
html[data-gybry-theme="light"] .metrics-card,
html[data-gybry-theme="light"] .quality-card,
html[data-gybry-theme="light"] .legend-card,
html[data-gybry-theme="light"] .important-card,
html[data-gybry-theme="light"] .events-card,
html[data-gybry-theme="light"] .event-card,
html[data-gybry-theme="light"] .assumptions-card,
html[data-gybry-theme="light"] .lineup-card,
html[data-gybry-theme="light"] .analysis-card,
html[data-gybry-theme="light"] .comparison-card,
html[data-gybry-theme="light"] .side-card,
html[data-gybry-theme="light"] aside > div,
html[data-gybry-theme="light"] section[class*="card"],
html[data-gybry-theme="light"] div[class*="card"] {
    background: linear-gradient(180deg, #F8FBFF, #EDF5FC) !important;
    border-color: rgba(46, 87, 128, 0.15) !important;
    color: #07142D !important;
    box-shadow: 0 14px 38px rgba(36, 78, 118, 0.10) !important;
}

html[data-gybry-theme="light"] .panel *,
html[data-gybry-theme="light"] .metric-card *,
html[data-gybry-theme="light"] .metrics-card *,
html[data-gybry-theme="light"] .quality-card *,
html[data-gybry-theme="light"] .legend-card *,
html[data-gybry-theme="light"] .important-card *,
html[data-gybry-theme="light"] .events-card *,
html[data-gybry-theme="light"] .event-card *,
html[data-gybry-theme="light"] .assumptions-card *,
html[data-gybry-theme="light"] .lineup-card *,
html[data-gybry-theme="light"] .analysis-card *,
html[data-gybry-theme="light"] .comparison-card *,
html[data-gybry-theme="light"] .side-card * {
    color: inherit;
}

html[data-gybry-theme="light"] .muted,
html[data-gybry-theme="light"] .meta,
html[data-gybry-theme="light"] .note,
html[data-gybry-theme="light"] .event-note,
html[data-gybry-theme="light"] .quality-note,
html[data-gybry-theme="light"] .legend-note {
    color: #496A86 !important;
}

html[data-gybry-theme="light"] .live-update-indicator,
html[data-gybry-theme="light"] .live-status,
html[data-gybry-theme="light"] .status-live {
    color: #334F6A !important;
}

html[data-gybry-theme="light"] .alert,
html[data-gybry-theme="light"] .warning,
html[data-gybry-theme="light"] .lineup-warning {
    background: linear-gradient(90deg, rgba(255,77,94,0.10), rgba(230,193,90,0.08)) !important;
    border-color: rgba(255,77,94,0.30) !important;
    color: #8E2631 !important;
}

/* keep brand/logo/nav clean on light */
html[data-gybry-theme="light"] .brand-text,
html[data-gybry-theme="light"] .brand,
html[data-gybry-theme="light"] .logo-text {
    color: #07142D !important;
}

html[data-gybry-theme="light"] a {
    color: inherit;
}

@media (max-width: 720px) {
    .gybry-theme-controls {
        gap: 6px !important;
        max-width: 100% !important;
    }

    .gybry-theme-account-link,
    .gybry-theme-toggle,
    .gybry-theme-controls .lang-select,
    .gybry-theme-controls #langSelect {
        height: 34px !important;
        min-height: 34px !important;
        font-size: 12px !important;
    }

    .gybry-theme-account-link {
        padding: 0 10px !important;
    }
}


/* GYBRY_LIGHT_THEME_POLISH_20260606C */
html[data-gybry-theme="light"] {
    --light-bg-top: #F9FDFF;
    --light-bg-mid: #EAF7FA;
    --light-bg-warm: #F8FAF1;
    --light-ink: #07142D;
    --light-ink-2: #173457;
    --light-muted-strong: #31536F;
    --light-muted: #4E708B;
    --light-border: rgba(43, 87, 128, 0.18);
    --light-border-strong: rgba(43, 87, 128, 0.28);
    --light-surface: rgba(255,255,255,0.92);
    --light-surface-2: rgba(242,248,253,0.96);
    --light-surface-3: rgba(231,244,250,0.90);
    --light-premium-1: #F8FCFF;
    --light-premium-2: #EEF9FC;
    --light-premium-3: #FFF8E2;
    --light-premium-line: rgba(215, 174, 52, 0.38);
}

/* route helpers */
html.gybry-route-home[data-gybry-theme="light"] body,
html.gybry-route-football[data-gybry-theme="light"] body,
html.gybry-route-match[data-gybry-theme="light"] body {
    background:
        radial-gradient(circle at 10% 8%, rgba(20,227,255,0.18), transparent 30%),
        radial-gradient(circle at 92% 16%, rgba(230,193,90,0.16), transparent 32%),
        linear-gradient(135deg, var(--light-bg-top), var(--light-bg-mid) 44%, var(--light-bg-warm)) !important;
}

/* HOME: readable lower cards and disclaimer */
html.gybry-route-home[data-gybry-theme="light"] .page,
html.gybry-route-home[data-gybry-theme="light"] .page * {
    color: var(--light-ink) !important;
}

html.gybry-route-home[data-gybry-theme="light"] .hero p,
html.gybry-route-home[data-gybry-theme="light"] .page p,
html.gybry-route-home[data-gybry-theme="light"] .page .muted,
html.gybry-route-home[data-gybry-theme="light"] .page [class*="text"],
html.gybry-route-home[data-gybry-theme="light"] .page [class*="note"] {
    color: var(--light-muted-strong) !important;
}

html.gybry-route-home[data-gybry-theme="light"] .page [class*="card"],
html.gybry-route-home[data-gybry-theme="light"] .page section,
html.gybry-route-home[data-gybry-theme="light"] .page article {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(241,248,253,0.97)) !important;
    border-color: var(--light-border) !important;
    box-shadow: 0 16px 42px rgba(36,78,118,0.10) !important;
}

html.gybry-route-home[data-gybry-theme="light"] footer,
html.gybry-route-home[data-gybry-theme="light"] .footer,
html.gybry-route-home[data-gybry-theme="light"] [class*="disclaimer"],
html.gybry-route-home[data-gybry-theme="light"] [class*="copyright"] {
    color: var(--light-muted) !important;
}

/* TOP NAV: inactive tabs visible, active tab still branded */
html[data-gybry-theme="light"] .sport-tab {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(233,244,251,0.98)) !important;
    border: 1px solid var(--light-border) !important;
    color: var(--light-ink-2) !important;
    box-shadow: 0 9px 22px rgba(36,78,118,0.08) !important;
}

html[data-gybry-theme="light"] .sport-tab:hover {
    border-color: rgba(20,227,255,0.42) !important;
    background:
        linear-gradient(180deg, rgba(239,251,255,0.98), rgba(221,247,255,0.98)) !important;
}

html[data-gybry-theme="light"] .sport-tab.active,
html[data-gybry-theme="light"] .sport-tab[aria-current="page"],
html[data-gybry-theme="light"] .sport-tab.is-active {
    background: linear-gradient(135deg, #12DDF8, #41D7FF) !important;
    border-color: rgba(20,227,255,0.62) !important;
    color: #06111F !important;
    box-shadow: 0 0 22px rgba(20,227,255,0.24) !important;
}

/* FOOTBALL: cleaner page surface and row borders */
html.gybry-route-football[data-gybry-theme="light"] .hero,
html.gybry-route-football[data-gybry-theme="light"] .filters,
html.gybry-route-football[data-gybry-theme="light"] .filter-panel,
html.gybry-route-football[data-gybry-theme="light"] .status-row {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.90), rgba(236,248,252,0.96)) !important;
    border-color: var(--light-border) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(242,248,253,0.98)) !important;
    border: 1px solid rgba(215,174,52,0.30) !important;
    color: var(--light-ink) !important;
    box-shadow:
        0 12px 30px rgba(36,78,118,0.10),
        inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card + .match-card {
    margin-top: 14px !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card::before {
    opacity: 0.55 !important;
}

/* bonus match: premium light design, not grey */
html.gybry-route-football[data-gybry-theme="light"] .bonus-card,
html.gybry-route-football[data-gybry-theme="light"] .bonus-match,
html.gybry-route-football[data-gybry-theme="light"] .users-bonus,
html.gybry-route-football[data-gybry-theme="light"] .match-card.is-bonus,
html.gybry-route-football[data-gybry-theme="light"] [data-bonus-ribbon] {
    background:
        radial-gradient(circle at 7% 0%, rgba(230,193,90,0.22), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(20,227,255,0.16), transparent 34%),
        linear-gradient(180deg, #13243F 0%, #0D1B33 100%) !important;
    border: 1px solid rgba(230,193,90,0.42) !important;
    color: #F4F8FF !important;
    box-shadow:
        0 20px 54px rgba(9,19,38,0.24),
        inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .bonus-card .match-card,
html.gybry-route-football[data-gybry-theme="light"] .bonus-match .match-card,
html.gybry-route-football[data-gybry-theme="light"] .users-bonus .match-card,
html.gybry-route-football[data-gybry-theme="light"] .match-card.is-bonus .match-card {
    background:
        linear-gradient(180deg, #FBFDFF, #EFF7FD) !important;
    color: var(--light-ink) !important;
    border-color: rgba(230,193,90,0.34) !important;
}

/* expanded football card */
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="preview"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="quality"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="lineup"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="structure"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="assumption"] {
    color: var(--light-ink) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="preview"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="quality"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="lineup"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="assumption"] > div {
    border-color: rgba(43,87,128,0.12) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .preview-warning,
html.gybry-route-football[data-gybry-theme="light"] .lineup-warning,
html.gybry-route-football[data-gybry-theme="light"] [class*="warning"] {
    background:
        linear-gradient(90deg, rgba(255,77,94,0.08), rgba(255,246,225,0.80)) !important;
    border: 1px solid rgba(255,77,94,0.26) !important;
    color: #A02A38 !important;
}

/* country header icon and collapse button */
html.gybry-route-football[data-gybry-theme="light"] .country-header button,
html.gybry-route-football[data-gybry-theme="light"] .country-header .country-pin-btn,
html.gybry-route-football[data-gybry-theme="light"] .country-header [class*="pin"],
html.gybry-route-football[data-gybry-theme="light"] .country-header [class*="toggle"],
html.gybry-route-football[data-gybry-theme="light"] .country-header [class*="collapse"] {
    background:
        linear-gradient(180deg, #F9FDFF, #EAF6FC) !important;
    border: 1px solid rgba(43,87,128,0.18) !important;
    color: #173457 !important;
    box-shadow: 0 8px 18px rgba(36,78,118,0.08) !important;
}

/* MATCH PAGE: force light readable analytics blocks */
html.gybry-route-match[data-gybry-theme="light"] body {
    color: var(--light-ink) !important;
}

html.gybry-route-match[data-gybry-theme="light"] .topbar,
html.gybry-route-match[data-gybry-theme="light"] header,
html.gybry-route-match[data-gybry-theme="light"] .match-top {
    background:
        linear-gradient(90deg, rgba(238,250,253,0.90), rgba(248,250,241,0.92)) !important;
    border-color: var(--light-border) !important;
    color: var(--light-ink) !important;
}

html.gybry-route-match[data-gybry-theme="light"] .scoreboard,
html.gybry-route-match[data-gybry-theme="light"] .score-card,
html.gybry-route-match[data-gybry-theme="light"] .match-score-card {
    background:
        linear-gradient(180deg, #FBFDFF, #EFF7FD) !important;
    border: 1px solid rgba(43,87,128,0.16) !important;
    color: var(--light-ink) !important;
    box-shadow: 0 14px 36px rgba(36,78,118,0.10) !important;
}

html.gybry-route-match[data-gybry-theme="light"] .score,
html.gybry-route-match[data-gybry-theme="light"] .match-score,
html.gybry-route-match[data-gybry-theme="light"] .score-value {
    color: #E1B93E !important;
}

/* broad match analytics panels */
html.gybry-route-match[data-gybry-theme="light"] main section,
html.gybry-route-match[data-gybry-theme="light"] main aside,
html.gybry-route-match[data-gybry-theme="light"] main article,
html.gybry-route-match[data-gybry-theme="light"] main .panel,
html.gybry-route-match[data-gybry-theme="light"] main .card,
html.gybry-route-match[data-gybry-theme="light"] main [class*="panel"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="card"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="box"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="block"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="metric"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="quality"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="legend"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="important"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="structure"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="accent"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="assumption"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="event"] {
    background:
        linear-gradient(180deg, #FBFDFF, #EEF6FC) !important;
    border-color: rgba(43,87,128,0.16) !important;
    color: var(--light-ink) !important;
    box-shadow: 0 14px 36px rgba(36,78,118,0.10) !important;
}

html.gybry-route-match[data-gybry-theme="light"] main section *,
html.gybry-route-match[data-gybry-theme="light"] main aside *,
html.gybry-route-match[data-gybry-theme="light"] main article *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="panel"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="card"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="box"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="metric"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="quality"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="legend"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="important"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="structure"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="accent"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="assumption"] * {
    color: inherit !important;
}

html.gybry-route-match[data-gybry-theme="light"] main h1,
html.gybry-route-match[data-gybry-theme="light"] main h2,
html.gybry-route-match[data-gybry-theme="light"] main h3,
html.gybry-route-match[data-gybry-theme="light"] main strong,
html.gybry-route-match[data-gybry-theme="light"] main b {
    color: #07142D !important;
}

html.gybry-route-match[data-gybry-theme="light"] main .muted,
html.gybry-route-match[data-gybry-theme="light"] main .note,
html.gybry-route-match[data-gybry-theme="light"] main [class*="note"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="meta"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="subtitle"] {
    color: var(--light-muted-strong) !important;
}

/* event timeline can stay premium but must be readable */
html.gybry-route-match[data-gybry-theme="light"] main [class*="events"],
html.gybry-route-match[data-gybry-theme="light"] main [class*="timeline"] {
    background:
        radial-gradient(circle at 0% 0%, rgba(20,227,255,0.12), transparent 32%),
        linear-gradient(180deg, #13243F, #0D1B33) !important;
    border-color: rgba(20,227,255,0.22) !important;
    color: #F4F8FF !important;
}

html.gybry-route-match[data-gybry-theme="light"] main [class*="events"] *,
html.gybry-route-match[data-gybry-theme="light"] main [class*="timeline"] * {
    color: inherit !important;
}

html.gybry-route-match[data-gybry-theme="light"] main [class*="events"] button,
html.gybry-route-match[data-gybry-theme="light"] main [class*="events"] .event-chip,
html.gybry-route-match[data-gybry-theme="light"] main [class*="timeline"] button {
    background: rgba(20,227,255,0.10) !important;
    border-color: rgba(20,227,255,0.28) !important;
    color: #DDF8FF !important;
}

/* alerts on match page */
html.gybry-route-match[data-gybry-theme="light"] .alert,
html.gybry-route-match[data-gybry-theme="light"] .warning,
html.gybry-route-match[data-gybry-theme="light"] [class*="warning"] {
    background:
        linear-gradient(90deg, rgba(255,77,94,0.08), rgba(255,246,225,0.86)) !important;
    border-color: rgba(255,77,94,0.28) !important;
    color: #982836 !important;
}

/* readable inactive/small text everywhere */
html[data-gybry-theme="light"] .muted,
html[data-gybry-theme="light"] .meta,
html[data-gybry-theme="light"] .subtitle,
html[data-gybry-theme="light"] .section-note,
html[data-gybry-theme="light"] [class*="muted"],
html[data-gybry-theme="light"] [class*="meta"],
html[data-gybry-theme="light"] [class*="subtitle"],
html[data-gybry-theme="light"] [class*="note"] {
    color: var(--light-muted-strong) !important;
}


/* GYBRY_LIGHT_THEME_FINAL_FIX_20260606D */

/* 1) HOME / MAIN NAV: visible Home button in light theme */
html[data-gybry-theme="light"] .gybry-theme-home-tab,
html[data-gybry-theme="light"] a.gybry-theme-home-tab,
html[data-gybry-theme="light"] button.gybry-theme-home-tab {
    background:
        linear-gradient(180deg, #12345F 0%, #0B1E3A 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.34) !important;
    color: #F4F8FF !important;
    box-shadow:
        0 12px 26px rgba(8, 24, 50, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.10) !important;
    opacity: 1 !important;
}

html.gybry-route-home[data-gybry-theme="light"] .gybry-theme-home-tab,
html.gybry-route-home[data-gybry-theme="light"] a.gybry-theme-home-tab,
html.gybry-route-home[data-gybry-theme="light"] button.gybry-theme-home-tab {
    background: linear-gradient(135deg, #14E3FF, #45D6FF) !important;
    border-color: rgba(20, 227, 255, 0.62) !important;
    color: #06111F !important;
}

/* 2) HOME PAGE: force all lower text readable */
html.gybry-route-home[data-gybry-theme="light"] .page p,
html.gybry-route-home[data-gybry-theme="light"] .page small,
html.gybry-route-home[data-gybry-theme="light"] .page .subtitle,
html.gybry-route-home[data-gybry-theme="light"] .page .muted,
html.gybry-route-home[data-gybry-theme="light"] .page [class*="note"],
html.gybry-route-home[data-gybry-theme="light"] .page [class*="text"],
html.gybry-route-home[data-gybry-theme="light"] .page [class*="description"] {
    color: #2F5572 !important;
    opacity: 1 !important;
}

html.gybry-route-home[data-gybry-theme="light"] .page [class*="card"] p,
html.gybry-route-home[data-gybry-theme="light"] .page [class*="panel"] p {
    color: #3E6682 !important;
}

/* 3) FOOTBALL BONUS: blue premium shell, not grey */
html.gybry-route-football[data-gybry-theme="light"] .bonus-card,
html.gybry-route-football[data-gybry-theme="light"] .bonus-match,
html.gybry-route-football[data-gybry-theme="light"] .users-bonus,
html.gybry-route-football[data-gybry-theme="light"] .match-card.is-bonus,
html.gybry-route-football[data-gybry-theme="light"] [data-bonus-ribbon],
html.gybry-route-football[data-gybry-theme="light"] [class*="bonus"] {
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 227, 255, 0.20), transparent 30%),
        radial-gradient(circle at 98% 8%, rgba(230, 193, 90, 0.18), transparent 34%),
        linear-gradient(180deg, #123B6D 0%, #092347 48%, #071A35 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.28) !important;
    color: #F4F8FF !important;
    box-shadow:
        0 24px 60px rgba(7, 26, 53, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.10) !important;
}

/* bonus title/ribbon */
html.gybry-route-football[data-gybry-theme="light"] [class*="bonus"] > *:first-child,
html.gybry-route-football[data-gybry-theme="light"] [data-bonus-ribbon] > *:first-child {
    border-radius: 999px !important;
    color: #F2D98B !important;
}

/* bonus inner match row: rounded like normal match rows */
html.gybry-route-football[data-gybry-theme="light"] [class*="bonus"] .match-card,
html.gybry-route-football[data-gybry-theme="light"] [data-bonus-ribbon] .match-card,
html.gybry-route-football[data-gybry-theme="light"] .match-card.is-bonus .match-card,
html.gybry-route-football[data-gybry-theme="light"] .match-card.is-bonus {
    border-radius: 22px !important;
    overflow: hidden !important;
}

html.gybry-route-football[data-gybry-theme="light"] [class*="bonus"] .match-card:not(.is-bonus),
html.gybry-route-football[data-gybry-theme="light"] [data-bonus-ribbon] .match-card:not(.is-bonus) {
    background:
        linear-gradient(180deg, #FBFDFF 0%, #EEF7FC 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.34) !important;
    color: #07142D !important;
    box-shadow: 0 16px 36px rgba(7, 26, 53, 0.16) !important;
}

/* 4) Country icon / country header in light theme */
html.gybry-route-football[data-gybry-theme="light"] .country-header,
html.gybry-route-football[data-gybry-theme="light"] [class*="country"] {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .country-header button,
html.gybry-route-football[data-gybry-theme="light"] .country-header .country-pin-btn,
html.gybry-route-football[data-gybry-theme="light"] .country-header [class*="pin"],
html.gybry-route-football[data-gybry-theme="light"] .country-header [class*="icon"],
html.gybry-route-football[data-gybry-theme="light"] [class*="country"] button {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EAF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.20) !important;
    color: #12345F !important;
    box-shadow: 0 8px 18px rgba(36,78,118,0.10) !important;
    opacity: 1 !important;
}

/* 5) FOOTBALL expanded rows: premium readable row borders */
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="preview"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="quality"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="lineup"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="structure"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="assumption"] {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="assumption"] div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="event"] div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="quality"] div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="lineup"] div {
    border-color: rgba(43, 87, 128, 0.13) !important;
}

/* 6) MATCH PAGE root cause fix: match.html blocks are not reliably inside main */
html.gybry-route-match[data-gybry-theme="light"] body {
    color: #07142D !important;
    background:
        radial-gradient(circle at 10% 8%, rgba(20,227,255,0.17), transparent 30%),
        radial-gradient(circle at 92% 16%, rgba(230,193,90,0.14), transparent 32%),
        linear-gradient(135deg, #F9FDFF, #EAF7FA 46%, #F8FAF1) !important;
}

/* all analytical blocks except the live events strip */
html.gybry-route-match[data-gybry-theme="light"] body [class*="structure"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="accent"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="quality"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="qualities"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="legend"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="important"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="assumption"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="lineup"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="summary"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="analysis"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="comparison"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="metric"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="side"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="panel"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="box"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="card"] {
    background:
        linear-gradient(180deg, #FBFDFF 0%, #EEF7FC 100%) !important;
    border-color: rgba(43, 87, 128, 0.17) !important;
    color: #07142D !important;
    box-shadow: 0 14px 36px rgba(36,78,118,0.10) !important;
}

html.gybry-route-match[data-gybry-theme="light"] body [class*="structure"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="accent"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="quality"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="qualities"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="legend"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="important"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="assumption"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="lineup"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="summary"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="analysis"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="comparison"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="metric"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="side"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="panel"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="box"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="card"] * {
    color: inherit !important;
}

/* match page score card stays light, score gold */
html.gybry-route-match[data-gybry-theme="light"] body [class*="score"] {
    color: #07142D !important;
}

html.gybry-route-match[data-gybry-theme="light"] .score,
html.gybry-route-match[data-gybry-theme="light"] .match-score,
html.gybry-route-match[data-gybry-theme="light"] .score-value {
    color: #E1B93E !important;
}

/* events strip on match page: branded blue, readable */
html.gybry-route-match[data-gybry-theme="light"] body [class*="events"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="timeline"] {
    background:
        radial-gradient(circle at 0% 0%, rgba(20,227,255,0.16), transparent 30%),
        linear-gradient(180deg, #123B6D 0%, #092347 50%, #071A35 100%) !important;
    border-color: rgba(20,227,255,0.26) !important;
    color: #F4F8FF !important;
    box-shadow:
        0 20px 50px rgba(7,26,53,0.24),
        inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

html.gybry-route-match[data-gybry-theme="light"] body [class*="events"] *,
html.gybry-route-match[data-gybry-theme="light"] body [class*="timeline"] * {
    color: inherit !important;
}

html.gybry-route-match[data-gybry-theme="light"] body [class*="events"] button,
html.gybry-route-match[data-gybry-theme="light"] body [class*="events"] [class*="chip"],
html.gybry-route-match[data-gybry-theme="light"] body [class*="timeline"] button,
html.gybry-route-match[data-gybry-theme="light"] body [class*="timeline"] [class*="chip"] {
    background: rgba(20, 227, 255, 0.11) !important;
    border-color: rgba(20, 227, 255, 0.32) !important;
    color: #DDF8FF !important;
}

/* warning/notice readable */
html.gybry-route-match[data-gybry-theme="light"] .warning,
html.gybry-route-match[data-gybry-theme="light"] .alert,
html.gybry-route-match[data-gybry-theme="light"] [class*="warning"],
html.gybry-route-football[data-gybry-theme="light"] .warning,
html.gybry-route-football[data-gybry-theme="light"] .alert,
html.gybry-route-football[data-gybry-theme="light"] [class*="warning"] {
    background:
        linear-gradient(90deg, rgba(255,77,94,0.08), rgba(255,246,225,0.86)) !important;
    border: 1px solid rgba(255,77,94,0.28) !important;
    color: #982836 !important;
}

/* make disabled/faded items readable on light theme */
html[data-gybry-theme="light"] .disabled,
html[data-gybry-theme="light"] [disabled],
html[data-gybry-theme="light"] .is-disabled {
    opacity: 0.78 !important;
}


/* GYBRY_FOOTBALL_LIGHT_LIST_DESIGN_20260606E */

/* Football list page: premium light canvas */
html.gybry-route-football[data-gybry-theme="light"] body {
    background:
        radial-gradient(circle at 8% 6%, rgba(20, 227, 255, 0.18), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(230, 193, 90, 0.15), transparent 34%),
        linear-gradient(135deg, #F8FDFF 0%, #E8F7FA 46%, #F8FAF0 100%) !important;
    color: #07142D !important;
}

/* Top sports navigation: dark elegant pills, active sport cyan */
html.gybry-route-football[data-gybry-theme="light"] .sport-tab,
html.gybry-route-football[data-gybry-theme="light"] .gybry-theme-home-tab {
    background:
        linear-gradient(180deg, #153965 0%, #092347 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.26) !important;
    color: #F4F8FF !important;
    box-shadow:
        0 10px 24px rgba(7, 26, 53, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.10) !important;
    opacity: 1 !important;
}

html.gybry-route-football[data-gybry-theme="light"] .sport-tab.active,
html.gybry-route-football[data-gybry-theme="light"] .sport-tab.is-active,
html.gybry-route-football[data-gybry-theme="light"] .sport-tab[aria-current="page"] {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    border-color: rgba(20, 227, 255, 0.70) !important;
    color: #06111F !important;
    box-shadow:
        0 0 24px rgba(20, 227, 255, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.28) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .sport-soon {
    background: rgba(230, 193, 90, 0.16) !important;
    border: 1px solid rgba(230, 193, 90, 0.28) !important;
    color: #E6C15A !important;
}

/* Filter hero */
html.gybry-route-football[data-gybry-theme="light"] .hero,
html.gybry-route-football[data-gybry-theme="light"] .filter-panel,
html.gybry-route-football[data-gybry-theme="light"] .filters,
html.gybry-route-football[data-gybry-theme="light"] [class*="filter"] {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(238,248,253,0.97)) !important;
    border-color: rgba(43, 87, 128, 0.16) !important;
    color: #07142D !important;
    box-shadow: 0 14px 38px rgba(36,78,118,0.09) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .hero h1,
html.gybry-route-football[data-gybry-theme="light"] .hero h2,
html.gybry-route-football[data-gybry-theme="light"] .section-title,
html.gybry-route-football[data-gybry-theme="light"] h1,
html.gybry-route-football[data-gybry-theme="light"] h2 {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .hero p,
html.gybry-route-football[data-gybry-theme="light"] .section-note,
html.gybry-route-football[data-gybry-theme="light"] .subtitle {
    color: #31536F !important;
}

/* Inputs */
html.gybry-route-football[data-gybry-theme="light"] input,
html.gybry-route-football[data-gybry-theme="light"] select,
html.gybry-route-football[data-gybry-theme="light"] .filter-select,
html.gybry-route-football[data-gybry-theme="light"] .date-input,
html.gybry-route-football[data-gybry-theme="light"] .search-input {
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(43, 87, 128, 0.18) !important;
    color: #07142D !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72) !important;
}

html.gybry-route-football[data-gybry-theme="light"] input::placeholder {
    color: rgba(49, 83, 111, 0.68) !important;
}

/* Status tabs */
html.gybry-route-football[data-gybry-theme="light"] .status-tab,
html.gybry-route-football[data-gybry-theme="light"] .sort-toggle,
html.gybry-route-football[data-gybry-theme="light"] .side-filter,
html.gybry-route-football[data-gybry-theme="light"] .pair-filter {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EDF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.17) !important;
    color: #07142D !important;
    box-shadow: 0 10px 24px rgba(36,78,118,0.08) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .status-tab.active,
html.gybry-route-football[data-gybry-theme="light"] .sort-toggle.active,
html.gybry-route-football[data-gybry-theme="light"] .side-filter.active,
html.gybry-route-football[data-gybry-theme="light"] .pair-filter.active {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    border-color: rgba(20, 227, 255, 0.62) !important;
    color: #06111F !important;
    box-shadow: 0 0 22px rgba(20, 227, 255, 0.24) !important;
}

/* Normal country header */
html.gybry-route-football[data-gybry-theme="light"] .country-header {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(231,244,251,0.96)) !important;
    border: 1px solid rgba(43, 87, 128, 0.15) !important;
    color: #07142D !important;
    box-shadow: 0 10px 28px rgba(36,78,118,0.08) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .country-header button,
html.gybry-route-football[data-gybry-theme="light"] .country-pin-btn,
html.gybry-route-football[data-gybry-theme="light"] .country-toggle,
html.gybry-route-football[data-gybry-theme="light"] [class*="country"] button {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EAF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.20) !important;
    color: #12345F !important;
    box-shadow: 0 8px 18px rgba(36,78,118,0.09) !important;
}

/* Normal match cards */
html.gybry-route-football[data-gybry-theme="light"] .match-card {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F0F7FC 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.30) !important;
    border-radius: 22px !important;
    color: #07142D !important;
    box-shadow:
        0 14px 34px rgba(36,78,118,0.10),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
    overflow: hidden !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card * {
    color: inherit;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card .team-name,
html.gybry-route-football[data-gybry-theme="light"] .match-card .match-team,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="team"] {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card .score,
html.gybry-route-football[data-gybry-theme="light"] .match-card .score-home,
html.gybry-route-football[data-gybry-theme="light"] .match-card .score-away,
html.gybry-route-football[data-gybry-theme="light"] .match-card .score-sep,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="score"] {
    color: #D2A321 !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card .minute,
html.gybry-route-football[data-gybry-theme="light"] .match-card .mobile-minute,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] .match-card.is-live .meta-top {
    color: #FF9A1F !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card .meta,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="date"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="time"] {
    color: #31536F !important;
}

/* Expanded card: row logic, readable borders */
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="preview"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="quality"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="lineup"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="structure"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="assumption"] {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="preview"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="quality"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="lineup"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="structure"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="assumption"] > div {
    border-color: rgba(43, 87, 128, 0.13) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="assumption"] [class*="item"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="event"] [class*="item"] {
    background: rgba(255,255,255,0.42) !important;
    border: 1px solid rgba(43, 87, 128, 0.10) !important;
    border-radius: 14px !important;
}

/* Bonus shell: GYBRY blue, premium but not dark-theme copy */
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-shell {
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 227, 255, 0.22), transparent 32%),
        radial-gradient(circle at 100% 8%, rgba(230, 193, 90, 0.16), transparent 34%),
        linear-gradient(180deg, #0E4B83 0%, #0A3565 46%, #081E3D 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.32) !important;
    border-radius: 24px !important;
    color: #F4F8FF !important;
    box-shadow:
        0 24px 62px rgba(7, 26, 53, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.10) !important;
    overflow: hidden !important;
}

/* Bonus header strip */
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-shell > :first-child {
    background:
        linear-gradient(90deg, rgba(20, 227, 255, 0.22), rgba(230, 193, 90, 0.11)) !important;
    border: 1px solid rgba(20, 227, 255, 0.30) !important;
    border-radius: 999px !important;
    color: #F2D98B !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-shell > :first-child * {
    color: #F2D98B !important;
}

/* Bonus inner row: rounded, same language as normal match rows */
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F0F8FD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.36) !important;
    border-radius: 22px !important;
    color: #07142D !important;
    box-shadow:
        0 16px 38px rgba(7, 26, 53, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.90) !important;
    overflow: hidden !important;
    margin: 14px !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner * {
    color: inherit;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner [class*="score"] {
    color: #D2A321 !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner .meta-top {
    color: #FF9A1F !important;
}

/* Buttons */
html.gybry-route-football[data-gybry-theme="light"] .open-btn,
html.gybry-route-football[data-gybry-theme="light"] .btn-primary,
html.gybry-route-football[data-gybry-theme="light"] button[class*="open"] {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    color: #06111F !important;
    border-color: rgba(20, 227, 255, 0.55) !important;
    box-shadow: 0 10px 24px rgba(20, 227, 255, 0.18) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .expand-btn,
html.gybry-route-football[data-gybry-theme="light"] button[class*="expand"],
html.gybry-route-football[data-gybry-theme="light"] button[class*="collapse"] {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EEF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.17) !important;
    color: #07142D !important;
}

/* Live badges */
html.gybry-route-football[data-gybry-theme="light"] .live-badge,
html.gybry-route-football[data-gybry-theme="light"] [class*="live"] {
    border-color: rgba(20, 227, 255, 0.34);
}

html.gybry-route-football[data-gybry-theme="light"] .warning,
html.gybry-route-football[data-gybry-theme="light"] .alert,
html.gybry-route-football[data-gybry-theme="light"] [class*="warning"] {
    background:
        linear-gradient(90deg, rgba(255,77,94,0.08), rgba(255,246,225,0.86)) !important;
    border: 1px solid rgba(255,77,94,0.28) !important;
    color: #982836 !important;
}


/* GYBRY_FOOTBALL_LIGHT_FINAL_DESIGN_20260606F */

/* Clean football light page */
html.gybry-route-football[data-gybry-theme="light"],
html.gybry-route-football[data-gybry-theme="light"] body {
    background:
        radial-gradient(circle at 8% 6%, rgba(20, 227, 255, 0.13), transparent 28%),
        radial-gradient(circle at 96% 12%, rgba(230, 193, 90, 0.10), transparent 32%),
        linear-gradient(135deg, #F8FDFF 0%, #EAF7FA 48%, #F8FAF2 100%) !important;
    color: #07142D !important;
}

/* Stop previous over-wide bonus styling from painting the whole page */
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-shell:not(.gybry-light-bonus-shell-f),
html.gybry-route-football[data-gybry-theme="light"] [class*="bonus"]:not(.gybry-light-bonus-shell-f):not(.gybry-light-bonus-inner-f):not(.gybry-light-bonus-title-f) {
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* Brand/header must stay clean */
html.gybry-route-football[data-gybry-theme="light"] .brand,
html.gybry-route-football[data-gybry-theme="light"] .brand *,
html.gybry-route-football[data-gybry-theme="light"] .logo,
html.gybry-route-football[data-gybry-theme="light"] .logo *,
html.gybry-route-football[data-gybry-theme="light"] .site-logo,
html.gybry-route-football[data-gybry-theme="light"] .site-logo * {
    color: #07142D !important;
}

/* Top bar: light glass, not massive blue block */
html.gybry-route-football[data-gybry-theme="light"] header,
html.gybry-route-football[data-gybry-theme="light"] .topbar,
html.gybry-route-football[data-gybry-theme="light"] .sports-tabs,
html.gybry-route-football[data-gybry-theme="light"] .nav-row {
    background:
        linear-gradient(90deg, rgba(226, 250, 255, 0.76), rgba(247, 250, 241, 0.72)) !important;
    border-color: rgba(43, 87, 128, 0.12) !important;
    box-shadow: none !important;
}

/* Sports tabs: dark navy inactive, cyan active */
html.gybry-route-football[data-gybry-theme="light"] .sport-tab,
html.gybry-route-football[data-gybry-theme="light"] .gybry-theme-home-tab {
    background:
        linear-gradient(180deg, #12345F 0%, #092347 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.24) !important;
    color: #F4F8FF !important;
    box-shadow:
        0 8px 20px rgba(7, 26, 53, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.10) !important;
    opacity: 1 !important;
}

html.gybry-route-football[data-gybry-theme="light"] .sport-tab.active,
html.gybry-route-football[data-gybry-theme="light"] .sport-tab.is-active,
html.gybry-route-football[data-gybry-theme="light"] .sport-tab[aria-current="page"] {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    border-color: rgba(20, 227, 255, 0.70) !important;
    color: #06111F !important;
    box-shadow:
        0 0 22px rgba(20, 227, 255, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.34) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .sport-soon,
html.gybry-route-football[data-gybry-theme="light"] [class*="soon"] {
    background: rgba(230, 193, 90, 0.14) !important;
    border-color: rgba(230, 193, 90, 0.26) !important;
    color: #E6C15A !important;
}

/* Account/theme/lang group */
html.gybry-route-football[data-gybry-theme="light"] .gybry-theme-account-link,
html.gybry-route-football[data-gybry-theme="light"] .gybry-theme-toggle,
html.gybry-route-football[data-gybry-theme="light"] .gybry-theme-controls .lang-select,
html.gybry-route-football[data-gybry-theme="light"] .gybry-theme-controls #langSelect {
    background: rgba(255,255,255,0.92) !important;
    border: 1px solid rgba(43, 87, 128, 0.16) !important;
    color: #07142D !important;
    box-shadow: 0 8px 18px rgba(36,78,118,0.08) !important;
}

/* Filter panel */
html.gybry-route-football[data-gybry-theme="light"] .hero,
html.gybry-route-football[data-gybry-theme="light"] .filter-panel,
html.gybry-route-football[data-gybry-theme="light"] .filters {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,248,253,0.98)) !important;
    border: 1px solid rgba(43, 87, 128, 0.14) !important;
    color: #07142D !important;
    box-shadow: 0 12px 32px rgba(36,78,118,0.08) !important;
}

html.gybry-route-football[data-gybry-theme="light"] h1,
html.gybry-route-football[data-gybry-theme="light"] h2,
html.gybry-route-football[data-gybry-theme="light"] h3,
html.gybry-route-football[data-gybry-theme="light"] .section-title {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .hero p,
html.gybry-route-football[data-gybry-theme="light"] .subtitle,
html.gybry-route-football[data-gybry-theme="light"] .section-note {
    color: #31536F !important;
}

/* Inputs */
html.gybry-route-football[data-gybry-theme="light"] input,
html.gybry-route-football[data-gybry-theme="light"] select,
html.gybry-route-football[data-gybry-theme="light"] .filter-select,
html.gybry-route-football[data-gybry-theme="light"] .date-input,
html.gybry-route-football[data-gybry-theme="light"] .search-input {
    background: #FFFFFF !important;
    border: 1px solid rgba(43, 87, 128, 0.17) !important;
    color: #07142D !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.90) !important;
}

html.gybry-route-football[data-gybry-theme="light"] input::placeholder {
    color: rgba(49, 83, 111, 0.68) !important;
}

/* Status pills */
html.gybry-route-football[data-gybry-theme="light"] .status-tab,
html.gybry-route-football[data-gybry-theme="light"] .sort-toggle,
html.gybry-route-football[data-gybry-theme="light"] .side-filter,
html.gybry-route-football[data-gybry-theme="light"] .pair-filter {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EDF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.16) !important;
    color: #07142D !important;
    box-shadow: 0 8px 18px rgba(36,78,118,0.07) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .status-tab.active,
html.gybry-route-football[data-gybry-theme="light"] .sort-toggle.active,
html.gybry-route-football[data-gybry-theme="light"] .side-filter.active,
html.gybry-route-football[data-gybry-theme="light"] .pair-filter.active {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    border-color: rgba(20, 227, 255, 0.62) !important;
    color: #06111F !important;
    box-shadow: 0 0 18px rgba(20, 227, 255, 0.20) !important;
}

/* Live updating text */
html.gybry-route-football[data-gybry-theme="light"] .live-update,
html.gybry-route-football[data-gybry-theme="light"] [class*="live-update"] {
    color: #31536F !important;
}

/* Country headers */
html.gybry-route-football[data-gybry-theme="light"] .country-header {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(232,245,252,0.98)) !important;
    border: 1px solid rgba(43, 87, 128, 0.14) !important;
    color: #07142D !important;
    box-shadow: 0 9px 24px rgba(36,78,118,0.08) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .country-header button,
html.gybry-route-football[data-gybry-theme="light"] .country-pin-btn,
html.gybry-route-football[data-gybry-theme="light"] .country-toggle,
html.gybry-route-football[data-gybry-theme="light"] [class*="country"] button {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EAF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.18) !important;
    color: #12345F !important;
    box-shadow: 0 7px 16px rgba(36,78,118,0.08) !important;
}

/* Normal match row */
html.gybry-route-football[data-gybry-theme="light"] .match-card {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F1F8FD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.28) !important;
    border-radius: 22px !important;
    color: #07142D !important;
    box-shadow:
        0 12px 30px rgba(36,78,118,0.09),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    overflow: hidden !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card * {
    color: inherit;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] .match-card .team-name,
html.gybry-route-football[data-gybry-theme="light"] .match-card .match-team {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="score"],
html.gybry-route-football[data-gybry-theme="light"] .match-card .score,
html.gybry-route-football[data-gybry-theme="light"] .match-card .score-home,
html.gybry-route-football[data-gybry-theme="light"] .match-card .score-away,
html.gybry-route-football[data-gybry-theme="light"] .match-card .score-sep {
    color: #D2A321 !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] .match-card .minute,
html.gybry-route-football[data-gybry-theme="light"] .match-card .mobile-minute {
    color: #FF9A1F !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card .meta,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="date"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="time"] {
    color: #31536F !important;
}

/* Expanded content */
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="preview"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="quality"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="lineup"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="structure"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="assumption"] {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="preview"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="quality"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="lineup"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="structure"] > div,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="assumption"] > div {
    border-color: rgba(43, 87, 128, 0.12) !important;
}

/* Accurate bonus shell */
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-shell-f {
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 227, 255, 0.16), transparent 30%),
        radial-gradient(circle at 100% 8%, rgba(230, 193, 90, 0.12), transparent 34%),
        linear-gradient(180deg, #0E4B83 0%, #0A3565 48%, #081E3D 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.30) !important;
    border-radius: 24px !important;
    color: #F4F8FF !important;
    box-shadow:
        0 22px 56px rgba(7, 26, 53, 0.26),
        inset 0 1px 0 rgba(255,255,255,0.10) !important;
    overflow: hidden !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-title-f {
    background:
        linear-gradient(90deg, rgba(20, 227, 255, 0.20), rgba(230, 193, 90, 0.10)) !important;
    border: 1px solid rgba(20, 227, 255, 0.28) !important;
    border-radius: 999px !important;
    color: #F2D98B !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-title-f * {
    color: #F2D98B !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner-f {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F2F9FD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.36) !important;
    border-radius: 22px !important;
    color: #07142D !important;
    box-shadow:
        0 16px 38px rgba(7, 26, 53, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    overflow: hidden !important;
    margin: 14px !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner-f * {
    color: inherit;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner-f [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner-f .team-name {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner-f [class*="score"] {
    color: #D2A321 !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner-f [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner-f .meta-top {
    color: #FF9A1F !important;
}

/* Buttons */
html.gybry-route-football[data-gybry-theme="light"] .open-btn,
html.gybry-route-football[data-gybry-theme="light"] .btn-primary,
html.gybry-route-football[data-gybry-theme="light"] button[class*="open"] {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    color: #06111F !important;
    border-color: rgba(20, 227, 255, 0.55) !important;
    box-shadow: 0 10px 22px rgba(20, 227, 255, 0.16) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .expand-btn,
html.gybry-route-football[data-gybry-theme="light"] button[class*="expand"],
html.gybry-route-football[data-gybry-theme="light"] button[class*="collapse"] {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EEF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.16) !important;
    color: #07142D !important;
}

/* Warning text */
html.gybry-route-football[data-gybry-theme="light"] .warning,
html.gybry-route-football[data-gybry-theme="light"] .alert,
html.gybry-route-football[data-gybry-theme="light"] [class*="warning"] {
    background:
        linear-gradient(90deg, rgba(255,77,94,0.07), rgba(255,246,225,0.82)) !important;
    border: 1px solid rgba(255,77,94,0.25) !important;
    color: #982836 !important;
}


/* GYBRY_FOOTBALL_LIGHT_STABLE_BONUS_20260606G */

/* Keep the /football light theme calm and clean */
html.gybry-route-football[data-gybry-theme="light"],
html.gybry-route-football[data-gybry-theme="light"] body {
    background:
        radial-gradient(circle at 8% 6%, rgba(20, 227, 255, 0.12), transparent 28%),
        radial-gradient(circle at 96% 12%, rgba(230, 193, 90, 0.09), transparent 32%),
        linear-gradient(135deg, #F8FDFF 0%, #EAF7FA 48%, #F8FAF2 100%) !important;
    color: #07142D !important;
}

/* Neutralize older unstable bonus markers if they appear after live refresh */
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-shell:not([data-gybry-bonus-final-shell="1"]),
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-shell-f:not([data-gybry-bonus-final-shell="1"]) {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner:not([data-gybry-bonus-final-inner="1"]),
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-inner-f:not([data-gybry-bonus-final-inner="1"]) {
    margin: 0 !important;
}

/* Top navigation */
html.gybry-route-football[data-gybry-theme="light"] header,
html.gybry-route-football[data-gybry-theme="light"] .topbar,
html.gybry-route-football[data-gybry-theme="light"] .sports-tabs,
html.gybry-route-football[data-gybry-theme="light"] .nav-row {
    background:
        linear-gradient(90deg, rgba(226, 250, 255, 0.72), rgba(247, 250, 241, 0.68)) !important;
    border-color: rgba(43, 87, 128, 0.12) !important;
    box-shadow: none !important;
}

html.gybry-route-football[data-gybry-theme="light"] .sport-tab,
html.gybry-route-football[data-gybry-theme="light"] .gybry-theme-home-tab {
    background:
        linear-gradient(180deg, #12345F 0%, #092347 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.24) !important;
    color: #F4F8FF !important;
    box-shadow:
        0 8px 20px rgba(7, 26, 53, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.10) !important;
    opacity: 1 !important;
}

html.gybry-route-football[data-gybry-theme="light"] .sport-tab.active,
html.gybry-route-football[data-gybry-theme="light"] .sport-tab.is-active,
html.gybry-route-football[data-gybry-theme="light"] .sport-tab[aria-current="page"] {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    border-color: rgba(20, 227, 255, 0.70) !important;
    color: #06111F !important;
}

/* Filter block */
html.gybry-route-football[data-gybry-theme="light"] .hero,
html.gybry-route-football[data-gybry-theme="light"] .filter-panel,
html.gybry-route-football[data-gybry-theme="light"] .filters {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,248,253,0.98)) !important;
    border: 1px solid rgba(43, 87, 128, 0.14) !important;
    color: #07142D !important;
    box-shadow: 0 12px 30px rgba(36,78,118,0.08) !important;
}

html.gybry-route-football[data-gybry-theme="light"] h1,
html.gybry-route-football[data-gybry-theme="light"] h2,
html.gybry-route-football[data-gybry-theme="light"] h3 {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .hero p,
html.gybry-route-football[data-gybry-theme="light"] .subtitle,
html.gybry-route-football[data-gybry-theme="light"] .section-note {
    color: #31536F !important;
}

/* Pills and inputs */
html.gybry-route-football[data-gybry-theme="light"] .status-tab,
html.gybry-route-football[data-gybry-theme="light"] .sort-toggle,
html.gybry-route-football[data-gybry-theme="light"] .side-filter,
html.gybry-route-football[data-gybry-theme="light"] .pair-filter,
html.gybry-route-football[data-gybry-theme="light"] input,
html.gybry-route-football[data-gybry-theme="light"] select,
html.gybry-route-football[data-gybry-theme="light"] .filter-select,
html.gybry-route-football[data-gybry-theme="light"] .date-input,
html.gybry-route-football[data-gybry-theme="light"] .search-input {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EDF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.16) !important;
    color: #07142D !important;
    box-shadow: 0 8px 18px rgba(36,78,118,0.07) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .status-tab.active,
html.gybry-route-football[data-gybry-theme="light"] .sort-toggle.active,
html.gybry-route-football[data-gybry-theme="light"] .side-filter.active,
html.gybry-route-football[data-gybry-theme="light"] .pair-filter.active {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    border-color: rgba(20, 227, 255, 0.62) !important;
    color: #06111F !important;
}

/* Country header */
html.gybry-route-football[data-gybry-theme="light"] .country-header {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(232,245,252,0.98)) !important;
    border: 1px solid rgba(43, 87, 128, 0.14) !important;
    color: #07142D !important;
    box-shadow: 0 9px 24px rgba(36,78,118,0.08) !important;
}

/* Normal rows */
html.gybry-route-football[data-gybry-theme="light"] .match-card {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F1F8FD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.28) !important;
    border-radius: 22px !important;
    color: #07142D !important;
    box-shadow:
        0 12px 30px rgba(36,78,118,0.09),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    overflow: hidden !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card * {
    color: inherit;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] .match-card .team-name,
html.gybry-route-football[data-gybry-theme="light"] .match-card .match-team {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="score"],
html.gybry-route-football[data-gybry-theme="light"] .match-card .score {
    color: #D2A321 !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] .match-card .minute,
html.gybry-route-football[data-gybry-theme="light"] .match-card .mobile-minute {
    color: #FF9A1F !important;
}

html.gybry-route-football[data-gybry-theme="light"] .match-card .meta,
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="date"],
html.gybry-route-football[data-gybry-theme="light"] .match-card [class*="time"] {
    color: #31536F !important;
}

/* Final stable bonus shell */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 227, 255, 0.16), transparent 30%),
        radial-gradient(circle at 100% 8%, rgba(230, 193, 90, 0.12), transparent 34%),
        linear-gradient(180deg, #0E4B83 0%, #0A3565 48%, #081E3D 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.30) !important;
    border-radius: 24px !important;
    color: #F4F8FF !important;
    box-shadow:
        0 22px 56px rgba(7, 26, 53, 0.26),
        inset 0 1px 0 rgba(255,255,255,0.10) !important;
    overflow: hidden !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] {
    background:
        linear-gradient(90deg, rgba(20, 227, 255, 0.20), rgba(230, 193, 90, 0.10)) !important;
    border: 1px solid rgba(20, 227, 255, 0.28) !important;
    border-radius: 999px !important;
    color: #F2D98B !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10) !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] * {
    color: #F2D98B !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F2F9FD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.36) !important;
    border-radius: 22px !important;
    color: #07142D !important;
    box-shadow:
        0 16px 38px rgba(7, 26, 53, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    overflow: hidden !important;
    margin: 14px !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] * {
    color: inherit;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="team"] {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="score"] {
    color: #D2A321 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="minute"] {
    color: #FF9A1F !important;
}

/* Buttons */
html.gybry-route-football[data-gybry-theme="light"] .open-btn,
html.gybry-route-football[data-gybry-theme="light"] .btn-primary,
html.gybry-route-football[data-gybry-theme="light"] button[class*="open"] {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    color: #06111F !important;
    border-color: rgba(20, 227, 255, 0.55) !important;
}

html.gybry-route-football[data-gybry-theme="light"] .expand-btn,
html.gybry-route-football[data-gybry-theme="light"] button[class*="expand"],
html.gybry-route-football[data-gybry-theme="light"] button[class*="collapse"] {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EEF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.16) !important;
    color: #07142D !important;
}


/* GYBRY_FOOTBALL_LIGHT_REFRESH_STABLE_20260606H */

/* Final stable football light canvas */
html.gybry-route-football[data-gybry-theme="light"],
html.gybry-route-football[data-gybry-theme="light"] body {
    background:
        radial-gradient(circle at 8% 6%, rgba(20, 227, 255, 0.12), transparent 28%),
        radial-gradient(circle at 96% 12%, rgba(230, 193, 90, 0.09), transparent 32%),
        linear-gradient(135deg, #F8FDFF 0%, #EAF7FA 48%, #F8FAF2 100%) !important;
    color: #07142D !important;
}

/* Only final marked bonus can be blue */
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-shell:not([data-gybry-bonus-final-shell="1"]),
html.gybry-route-football[data-gybry-theme="light"] .gybry-light-bonus-shell-f:not([data-gybry-bonus-final-shell="1"]),
html.gybry-route-football[data-gybry-theme="light"] [class*="bonus"]:not([data-gybry-bonus-final-shell="1"]):not([data-gybry-bonus-final-inner="1"]):not([data-gybry-bonus-final-title="1"]) {
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* Final bonus shell */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 227, 255, 0.20), transparent 30%),
        radial-gradient(circle at 100% 10%, rgba(230, 193, 90, 0.13), transparent 34%),
        linear-gradient(180deg, #0E4B83 0%, #0A3565 48%, #071E3D 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.34) !important;
    border-radius: 24px !important;
    color: #F4F8FF !important;
    box-shadow:
        0 22px 56px rgba(7, 26, 53, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.12) !important;
    overflow: hidden !important;
}

/* Bonus header strip and CTA */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] {
    background:
        linear-gradient(90deg, rgba(20, 227, 255, 0.24), rgba(230, 193, 90, 0.12)) !important;
    border: 1px solid rgba(20, 227, 255, 0.32) !important;
    border-radius: 999px !important;
    color: #F2D98B !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12) !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] * {
    color: #F2D98B !important;
    opacity: 1 !important;
}

/* Bonus inner match row */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F2F9FD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.38) !important;
    border-radius: 22px !important;
    color: #07142D !important;
    box-shadow:
        0 16px 38px rgba(7, 26, 53, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
    overflow: hidden !important;
    margin: 14px !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] * {
    color: inherit;
    opacity: 1 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .team-name {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="score"] {
    color: #D2A321 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .meta-top {
    color: #FF9A1F !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] button[class*="open"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .open-btn {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    color: #06111F !important;
}

/* Normal rows remain clean light */
html.gybry-route-football[data-gybry-theme="light"] .match-card:not([data-gybry-bonus-final-inner="1"]) {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F1F8FD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.28) !important;
    border-radius: 22px !important;
    color: #07142D !important;
    box-shadow:
        0 12px 30px rgba(36,78,118,0.09),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    overflow: hidden !important;
}


/* GYBRY_FOOTBALL_BONUS_RADIUS_FIX_20260606I */

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    border-radius: 26px !important;
    overflow: hidden !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 14px 14px 14px !important;
    border-radius: 24px !important;
    overflow: visible !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    margin: 0 !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #F2F9FD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.38) !important;
    box-shadow:
        0 16px 38px rgba(7, 26, 53, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > * {
    border-radius: inherit !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :not([data-gybry-bonus-final-title="1"]):not([data-gybry-bonus-final-body="1"]) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] {
    margin: 14px 14px 12px 14px !important;
}


/* GYBRY_FOOTBALL_BONUS_COMPACT_FIX_20260606J */

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    min-height: 0 !important;
    height: auto !important;
    padding: 14px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    display: block !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] {
    margin: 0 0 12px 0 !important;
    border-radius: 999px !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    background: linear-gradient(180deg, #FFFFFF 0%, #F3FAFD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.38) !important;
    border-radius: 26px !important;
    box-shadow:
        0 12px 28px rgba(19, 56, 92, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.92) !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] * {
    opacity: 1 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .team-name {
    color: #0A1730 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="score"] {
    color: #D6A11A !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .meta-top {
    color: #FF9B21 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :not([data-gybry-bonus-final-title="1"]):not([data-gybry-bonus-final-body="1"]) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* no giant dark fill */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] .match-card:not([data-gybry-bonus-final-inner="1"]) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* GYBRY_FOOTBALL_BONUS_NO_FLICKER_20260606K */

/* No visual blinking on bonus re-marking */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    transition: none !important;
}

/* Compact final bonus shape */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    padding: 14px !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 26px !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    margin: 0 !important;
    border-radius: 26px !important;
}


/* GYBRY_FOOTBALL_BONUS_LIGHT_INNER_20260606L */

/* Bonus shell remains blue, compact, premium */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 227, 255, 0.18), transparent 30%),
        radial-gradient(circle at 100% 10%, rgba(230, 193, 90, 0.12), transparent 34%),
        linear-gradient(180deg, #0E4B83 0%, #0A3565 48%, #071E3D 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.34) !important;
    border-radius: 26px !important;
    padding: 14px !important;
    min-height: 0 !important;
    height: auto !important;
    color: #F4F8FF !important;
    box-shadow:
        0 22px 56px rgba(7, 26, 53, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.12) !important;
    overflow: hidden !important;
}

/* Bonus title strip */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] {
    margin: 0 0 12px 0 !important;
    padding: 9px 16px !important;
    min-height: 34px !important;
    border-radius: 999px !important;
    background:
        linear-gradient(90deg, rgba(20, 227, 255, 0.24), rgba(230, 193, 90, 0.12)) !important;
    border: 1px solid rgba(20, 227, 255, 0.32) !important;
    color: #F2D98B !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12) !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] * {
    color: #F2D98B !important;
    opacity: 1 !important;
}

/* Wrapper around the inner row must not create a square white/blue rectangle */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* Inner bonus match row: LIGHT, rounded, readable */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] [data-gybry-bonus-final-inner="1"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"].match-card {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F3FAFD 100%) !important;
    border: 1px solid rgba(230, 193, 90, 0.38) !important;
    border-radius: 26px !important;
    color: #07142D !important;
    box-shadow:
        0 14px 32px rgba(7, 26, 53, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.94) !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Reset dark/gold inheritance inside bonus row */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] a,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] span,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] div {
    color: #07142D !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Team names */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .team-name,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-team {
    color: #07142D !important;
}

/* Score */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="score"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .score,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .score-home,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .score-away,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .score-sep {
    color: #D6A11A !important;
}

/* Minute/date */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .minute,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .mobile-minute {
    color: #FF9B21 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="date"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="time"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .meta {
    color: #31536F !important;
}

/* Buttons inside bonus row */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] button,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .expand-btn {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EEF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.16) !important;
    color: #07142D !important;
    box-shadow: 0 8px 18px rgba(36,78,118,0.07) !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .open-btn,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] button[class*="open"] {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    border-color: rgba(20, 227, 255, 0.55) !important;
    color: #06111F !important;
}

/* Live badge inside bonus row */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .live-badge,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="live"] {
    color: #00B8D9 !important;
    border-color: rgba(20, 227, 255, 0.34) !important;
}


/* GYBRY_FOOTBALL_BONUS_INNER_READABLE_20260606M */

/* Final correction: light-theme bonus inner row must be LIGHT, not dark */
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"],
html.gybry-route-football[data-gybry-theme="light"] body .match-card[data-gybry-bonus-final-inner="1"],
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-shell="1"] [data-gybry-bonus-final-inner="1"] {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F4FAFD 100%) !important;
    background-color: #FFFFFF !important;
    border: 1px solid rgba(230, 193, 90, 0.40) !important;
    border-radius: 26px !important;
    color: #07142D !important;
    box-shadow:
        0 14px 32px rgba(7, 26, 53, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
    opacity: 1 !important;
    filter: none !important;
    overflow: hidden !important;
}

/* If the template has nested wrappers inside the match card, make them transparent/light too */
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] > div,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] > section,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] > article,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .match-main,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .match-row,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="row"],
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="content"] {
    background: transparent !important;
    background-color: transparent !important;
    color: #07142D !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Main text in the bonus row */
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] *,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] a,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] span,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] div {
    color: #07142D !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Team names: dark, readable */
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .team-name,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .match-team {
    color: #07142D !important;
    text-shadow: none !important;
}

/* Score: gold */
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="score"],
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .score,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .score-home,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .score-away,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .score-sep {
    color: #D6A11A !important;
    text-shadow: none !important;
}

/* Minute/date: orange + muted */
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .minute,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .mobile-minute {
    color: #FF9B21 !important;
    text-shadow: none !important;
}

html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="date"],
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="time"],
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .meta {
    color: #31536F !important;
}

/* Expand/user buttons: light row controls */
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] button,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .expand-btn,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="expand"],
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="user"] {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #EEF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.16) !important;
    color: #07142D !important;
    box-shadow: 0 8px 18px rgba(36,78,118,0.07) !important;
}

/* Open button remains cyan */
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .open-btn,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] button[class*="open"] {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    border-color: rgba(20, 227, 255, 0.55) !important;
    color: #06111F !important;
    box-shadow: 0 10px 22px rgba(20, 227, 255, 0.16) !important;
}

/* Live badge inside light row */
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] .live-badge,
html.gybry-route-football[data-gybry-theme="light"] body [data-gybry-bonus-final-inner="1"] [class*="live"] {
    color: #00B8D9 !important;
    border-color: rgba(20, 227, 255, 0.34) !important;
}


/* GYBRY_FOOTBALL_LIGHT_BONUS_STABLE_N_20260606N */

/* Bonus shell: compact blue premium block */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 227, 255, 0.18), transparent 30%),
        radial-gradient(circle at 100% 10%, rgba(230, 193, 90, 0.10), transparent 34%),
        linear-gradient(180deg, #0E4B83 0%, #0A3565 48%, #071E3D 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.34) !important;
    border-radius: 26px !important;
    padding: 14px !important;
    min-height: 0 !important;
    color: #F4F8FF !important;
    box-shadow: 0 22px 56px rgba(7, 26, 53, 0.22), inset 0 1px 0 rgba(255,255,255,0.12) !important;
    overflow: hidden !important;
}

/* Remove unwanted long blue rectangular strips in bonus header row */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: max-content !important;
    min-height: 0 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #F2D98B !important;
    border-radius: 0 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"]::before,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"]::after {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #F2D98B !important;
    opacity: 1 !important;
}

/* Bonus body wrapper: no square rectangle */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

/* Inner bonus row: must stay light after refresh */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"],
html.gybry-route-football[data-gybry-theme="light"] .match-card[data-gybry-bonus-final-inner="1"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] [data-gybry-bonus-final-inner="1"] {
    background: linear-gradient(180deg, #FFFFFF 0%, #F4FAFD 100%) !important;
    background-color: #FFFFFF !important;
    border: 1px solid rgba(230, 193, 90, 0.40) !important;
    border-radius: 26px !important;
    color: #07142D !important;
    box-shadow: 0 14px 32px rgba(7, 26, 53, 0.15), inset 0 1px 0 rgba(255,255,255,0.96) !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    opacity: 1 !important;
    filter: none !important;
    overflow: hidden !important;
    transition: none !important;
}

/* Kill dark pseudo overlays inside bonus row */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"]::before,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"]::after,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] *::before,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] *::after {
    background: transparent !important;
    box-shadow: none !important;
}

/* Nested wrappers must not repaint row dark */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > div,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > section,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-main,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-row,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="row"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="content"] {
    background: transparent !important;
    background-color: transparent !important;
    color: #07142D !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Bonus row readable text */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] a,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] span,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] div {
    color: #07142D !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .team-name,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-team {
    color: #07142D !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="score"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .score {
    color: #D6A11A !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .minute,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .mobile-minute {
    color: #FF9B21 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="date"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="time"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .meta {
    color: #31536F !important;
}

/* Bonus buttons */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] button,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .expand-btn,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="expand"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="user"] {
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF7FC 100%) !important;
    border: 1px solid rgba(43, 87, 128, 0.16) !important;
    color: #07142D !important;
    box-shadow: 0 8px 18px rgba(36,78,118,0.07) !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .open-btn,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] button[class*="open"] {
    background: linear-gradient(135deg, #14E3FF, #38D4FF) !important;
    border-color: rgba(20, 227, 255, 0.55) !important;
    color: #06111F !important;
}

/* Scroll-to-top button in light theme */
html[data-gybry-theme="light"] .gybry-theme-scroll-top,
html[data-gybry-theme="light"] .scroll-top,
html[data-gybry-theme="light"] .scroll-to-top,
html[data-gybry-theme="light"] .back-to-top,
html[data-gybry-theme="light"] #scrollTop,
html[data-gybry-theme="light"] #backToTop {
    background: linear-gradient(180deg, #FFFFFF 0%, #EAF7FC 100%) !important;
    border: 1px solid rgba(20, 227, 255, 0.28) !important;
    color: #12345F !important;
    box-shadow: 0 14px 30px rgba(36, 78, 118, 0.18) !important;
}

/* Arrows in language and country controls */
html[data-gybry-theme="light"] .gybry-light-arrow-fix,
html[data-gybry-theme="light"] .gybry-light-arrow-fix *,
html[data-gybry-theme="light"] select,
html[data-gybry-theme="light"] .country-header button,
html[data-gybry-theme="light"] .filter-select,
html[data-gybry-theme="light"] .lang-select,
html[data-gybry-theme="light"] #langSelect {
    color: #173457 !important;
}

html[data-gybry-theme="light"] .gybry-light-arrow-fix svg,
html[data-gybry-theme="light"] .gybry-light-arrow-fix svg *,
html[data-gybry-theme="light"] .country-header button svg,
html[data-gybry-theme="light"] .country-header button svg *,
html[data-gybry-theme="light"] .lang-select svg,
html[data-gybry-theme="light"] .lang-select svg *,
html[data-gybry-theme="light"] #langSelect svg,
html[data-gybry-theme="light"] #langSelect svg * {
    color: #173457 !important;
    stroke: #173457 !important;
    fill: #173457 !important;
    opacity: 1 !important;
}


/* GYBRY_FOOTBALL_BONUS_HEADER_CLEAN_20260606O */

/* Clean premium header inside bonus shell */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 42px !important;
    margin: 0 0 14px 0 !important;
    padding: 7px 10px 7px 14px !important;
    border-radius: 999px !important;
    background:
        linear-gradient(90deg, rgba(20, 227, 255, 0.20), rgba(255,255,255,0.07) 52%, rgba(230, 193, 90, 0.10)) !important;
    border: 1px solid rgba(20, 227, 255, 0.28) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 8px 18px rgba(3, 25, 49, 0.12) !important;
    color: #F2D98B !important;
    overflow: hidden !important;
}

/* Remove nested ugly rectangular strips inside bonus header */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child > *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child > * > * {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Bonus title itself */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #F2D98B !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em !important;
    opacity: 1 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] span,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] strong,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] b {
    color: #F2D98B !important;
    background: transparent !important;
    border: 0 !important;
    opacity: 1 !important;
}

/* Right CTA in bonus header: readable and compact */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child a,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child button,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child [role="button"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child [class*="analytics"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child [class*="open"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    padding: 5px 16px !important;
    border-radius: 999px !important;
    background: rgba(20, 227, 255, 0.12) !important;
    border: 1px solid rgba(20, 227, 255, 0.32) !important;
    color: #F2D98B !important;
    font-weight: 800 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10) !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

/* Text inside right CTA */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child a *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child button *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child [role="button"] *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child [class*="analytics"] *,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child [class*="open"] * {
    color: #F2D98B !important;
    background: transparent !important;
    border: 0 !important;
    opacity: 1 !important;
}

/* Inner row remains light and separated from shell */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    background: linear-gradient(180deg, #FFFFFF 0%, #F4FAFD 100%) !important;
    border-radius: 26px !important;
    border: 1px solid rgba(230, 193, 90, 0.40) !important;
}

/* Prevent dark text inside the bonus header only */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child * {
    opacity: 1 !important;
}


/* GYBRY_FOOTBALL_BONUS_COMPACT_ONLY_20260606P */

/* Keep current colors. Only compact the bonus block layout. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    padding: 12px 14px !important;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    border-radius: 24px !important;
}

/* Compact header row */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child {
    min-height: 34px !important;
    height: 34px !important;
    margin: 0 0 10px 0 !important;
    padding: 5px 10px 5px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    border-radius: 999px !important;
}

/* Compact title and CTA inside header */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.05 !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child a,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child button,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child [role="button"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child [class*="analytics"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child [class*="open"] {
    min-height: 24px !important;
    height: 24px !important;
    padding: 3px 12px !important;
    line-height: 1 !important;
}

/* Body wrapper: no extra vertical space */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}

/* Compact match row itself */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    margin: 0 !important;
    min-height: 72px !important;
    height: 72px !important;
    max-height: 72px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
}

/* Make nested row content vertically centered and compact */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > div,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > section,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > article,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-main,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-row,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="row"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="content"] {
    min-height: 0 !important;
    height: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center !important;
}

/* Compact controls inside bonus row */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] button,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .expand-btn,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .open-btn {
    min-height: 36px !important;
    height: 36px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* GYBRY_FOOTBALL_BONUS_RESPONSIVE_COMPACT_20260606Q */

/* Причина фикса: старое правило P зажимало бонусную строку в 72px и обрезало LIVE/контент. */

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    padding: 12px 14px !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border-radius: 24px !important;
}

/* Верхняя строка бонуса компактная, но не обрезается */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child {
    height: auto !important;
    min-height: 34px !important;
    max-height: none !important;
    margin: 0 0 10px 0 !important;
    padding: 6px 12px 6px 14px !important;
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    flex-wrap: wrap !important;
    border-radius: 999px !important;
    overflow: visible !important;
}

html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] {
    white-space: nowrap !important;
    line-height: 1.1 !important;
}

/* Обёртка строки матча не должна создавать лишнюю высоту */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Строка бонусного матча: компактная, но адаптивная */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    margin: 0 !important;
    min-height: 82px !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 22px !important;
    overflow: visible !important;
}

/* Перебиваем старое жёсткое height: 72px на вложенных рядах */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > div,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > section,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > article,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-main,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-row,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="row"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="content"] {
    min-height: 82px !important;
    height: auto !important;
    max-height: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    align-items: center !important;
    overflow: visible !important;
}

/* Не обрезать левый LIVE/звезду */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .live-badge,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="badge"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="star"] {
    flex-shrink: 0 !important;
    overflow: visible !important;
}

/* Команды не должны ломать строку на узком экране */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .team-name,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-team {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
}

/* Кнопки компактные, но не обрезанные */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] button,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .expand-btn,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .open-btn {
    min-height: 34px !important;
    height: auto !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
        padding: 10px !important;
        border-radius: 20px !important;
    }

    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child {
        width: 100% !important;
        gap: 8px !important;
        min-height: 32px !important;
        padding: 6px 10px !important;
        justify-content: space-between !important;
    }

    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
        min-height: 96px !important;
        border-radius: 18px !important;
    }

    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > div,
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > section,
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] > article,
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-main,
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .match-row,
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="row"],
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="content"] {
        min-height: 96px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

/* GYBRY_FOOTBALL_BONUS_LIGHT_PREMIUM_U_20260606U */
/* Light theme: bonus card only. Match rows outside bonus are untouched. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.20), transparent 34%),
        linear-gradient(135deg, #12345c 0%, #0b2547 48%, #06152b 100%) !important;
    border: 1px solid rgba(251, 191, 36, 0.40) !important;
    border-radius: 26px !important;
    color: #f8fafc !important;
    overflow: hidden !important;
    box-shadow: 0 18px 44px rgba(8, 18, 38, 0.22) !important;
}
/* Header line: no cyan boxes, just text. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #fde68a !important;
}
/* Left bonus title. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] * {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fde68a !important;
}
/* Right header label. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child > :not([data-gybry-bonus-final-title="1"]) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #eaf6ff !important;
}
/* Body wrapper. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* Inner match row: same premium-dark surface as dark theme. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    background: linear-gradient(135deg, #10264c 0%, #0b1d3d 100%) !important;
    border: 1px solid rgba(251, 191, 36, 0.28) !important;
    border-radius: 22px !important;
    color: #f8fafc !important;
    overflow: hidden !important;
    box-shadow: none !important;
}
/* Scoped text colors inside bonus only. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] * {
    color: inherit;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .team-name {
    color: #f8fafc !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="score"] {
    color: #fde68a !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .meta-top {
    color: #fb923c !important;
}
/* Bonus buttons only. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] button,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .open-btn,
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .expand-btn {
    color: #020617 !important;
}
@media (max-width: 760px) {
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
        border-radius: 24px !important;
    }
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
        border-radius: 20px !important;
    }
}

/* GYBRY_FOOTBALL_BONUS_LIGHT_SIZE_V_20260606V */
/* Light theme bonus: restore dark-theme-like block size and structure.
   Scope: only final bonus shell/body/inner. */
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    margin: 0 0 20px 0 !important;
    padding: 12px 14px 14px 14px !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 26px !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.18), transparent 32%),
        linear-gradient(135deg, #12345c 0%, #0b2547 48%, #06152b 100%) !important;
    border: 1px solid rgba(251, 191, 36, 0.36) !important;
    box-shadow: 0 18px 44px rgba(8, 18, 38, 0.22) !important;
    color: #f8fafc !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child {
    width: 100% !important;
    min-height: 34px !important;
    margin: 0 0 10px 0 !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-title="1"] * {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fde68a !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child > :not([data-gybry-bonus-final-title="1"]) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #eaf6ff !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-body="1"] {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    min-height: 92px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #10264c 0%, #0b1d3d 100%) !important;
    border: 1px solid rgba(251, 191, 36, 0.28) !important;
    color: #f8fafc !important;
    box-shadow: none !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] * {
    opacity: 1 !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="team"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .team-name {
    color: #f8fafc !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="score"] {
    color: #fde68a !important;
}
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] [class*="minute"],
html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] .meta-top {
    color: #fb923c !important;
}
@media (max-width: 760px) {
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] {
        padding: 10px !important;
        border-radius: 24px !important;
    }
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-shell="1"] > :first-child {
        min-height: 32px !important;
        margin-bottom: 8px !important;
        padding: 0 8px !important;
    }
    html.gybry-route-football[data-gybry-theme="light"] [data-gybry-bonus-final-inner="1"] {
        min-height: 164px !important;
        border-radius: 22px !important;
    }
}
