/* Fleep — светлая тема: переопределения жёстко заданных тёмных цветов */

html[data-theme="light"] body.fleep-ui .casino-sidebar.fleep-sidebar,
html[data-theme="light"] body.fleep-ui .casino-main,
html[data-theme="light"] body.fleep-ui .casino-header.fleep-header {
    background: var(--fleep-bg) !important;
    color: var(--fleep-text) !important;
}

html[data-theme="light"] body.fleep-ui .casino-sidebar.fleep-sidebar {
    background: var(--fleep-surface) !important;
    border-right-color: var(--fleep-divider) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-sidebar-search__input {
    background: var(--fleep-panel-bg) !important;
    color: var(--fleep-text) !important;
    box-shadow: var(--fleep-shadow-btn) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-sidebar-search__input::placeholder {
    color: var(--fleep-text-muted) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-sidebar-panel a.fleep-sb-link,
html[data-theme="light"] body.fleep-ui .fleep-sidebar-panel a.fleep-sb-link .fleep-sb-link__text,
html[data-theme="light"] body.fleep-ui .fleep-sb-providers,
html[data-theme="light"] body.fleep-ui .fleep-sb-providers .fleep-sb-link__text {
    color: var(--fleep-text-muted) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-sidebar-panel a.fleep-sb-link:hover,
html[data-theme="light"] body.fleep-ui .fleep-sb-providers:hover {
    color: var(--fleep-text) !important;
    background: var(--fleep-elevated) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-sidebar-panel a.fleep-sb-link.active,
html[data-theme="light"] body.fleep-ui .fleep-sidebar-panel a.fleep-sb-link.active .fleep-sb-link__text {
    color: var(--fleep-red) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-sb-nav__label {
    color: var(--fleep-text-dim) !important;
}

html[data-theme="light"] body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-social .sidebar-social-btn {
    background: var(--fleep-elevated) !important;
}

html[data-theme="light"] body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-controls .sidebar-bottom-card,
html[data-theme="light"] body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-controls .sidebar-lang-btn {
    background: var(--fleep-elevated) !important;
    color: var(--fleep-text) !important;
    box-shadow: var(--fleep-shadow-btn) !important;
}

html[data-theme="light"] body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-controls .sidebar-bottom-card:hover,
html[data-theme="light"] body.fleep-ui .casino-sidebar.fleep-sidebar .fleep-sidebar-controls .sidebar-lang-btn:hover {
    background: var(--fleep-panel-hover) !important;
    color: var(--fleep-text) !important;
}

html[data-theme="light"] body.fleep-ui .sidebar-lang-popup {
    background: var(--fleep-surface) !important;
    border-color: var(--fleep-border) !important;
    box-shadow: var(--fleep-shadow-card) !important;
}

html[data-theme="light"] body.fleep-ui .sidebar-lang-popup-title,
html[data-theme="light"] body.fleep-ui .sidebar-lang-option .lang-name {
    color: var(--fleep-text) !important;
}

html[data-theme="light"] body.fleep-ui .sidebar-lang-popup-header {
    border-bottom-color: var(--fleep-border) !important;
}

html[data-theme="light"] body.fleep-ui .sidebar-lang-popup-section-title {
    color: var(--fleep-text-muted) !important;
}

html[data-theme="light"] body.fleep-ui .sidebar-lang-option {
    color: var(--fleep-text) !important;
}

html[data-theme="light"] body.fleep-ui .sidebar-lang-option:hover {
    background: var(--fleep-elevated) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-cat-card {
    background: var(--fleep-surface) !important;
    color: var(--fleep-text-muted) !important;
    box-shadow: var(--fleep-shadow-card) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-cat-card:hover,
html[data-theme="light"] body.fleep-ui .fleep-cat-card.is-active {
    background: var(--fleep-elevated) !important;
    color: var(--fleep-text) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-home-grid .section-title {
    color: var(--fleep-text) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-home-page,
html[data-theme="light"] body.fleep-ui .fleep-home-hero,
html[data-theme="light"] body.fleep-ui .fleep-promo-card,
html[data-theme="light"] body.fleep-ui .fleep-home-strip,
html[data-theme="light"] body.fleep-ui .fleep-home-section {
    background: transparent !important;
    color: var(--fleep-text) !important;
}

html[data-theme="light"] body.fleep-ui .fleep-home-strip__head,
html[data-theme="light"] body.fleep-ui .fleep-home-strip__title,
html[data-theme="light"] body.fleep-ui .home-section-title {
    color: var(--fleep-text) !important;
}

html[data-theme="light"] body.fleep-ui .btn-outline,
html[data-theme="light"] body.fleep-ui button.btn-outline {
    background: var(--fleep-elevated) !important;
    color: var(--fleep-text) !important;
    border-color: var(--fleep-border) !important;
}

html[data-theme="light"] body.fleep-ui .btn-outline:hover,
html[data-theme="light"] body.fleep-ui button.btn-outline:hover {
    background: var(--fleep-panel-hover) !important;
    color: var(--fleep-text) !important;
}

@media (max-width: 767px) {
    html[data-theme="light"] body.fleep-ui .casino-header.fleep-header {
        background: var(--fleep-bg) !important;
        border-bottom-color: var(--fleep-divider) !important;
    }

    html[data-theme="light"] body.fleep-ui .header-balance-trigger {
        background: var(--fleep-elevated) !important;
        color: var(--fleep-text) !important;
        box-shadow: var(--fleep-shadow-btn) !important;
    }

    html[data-theme="light"] body.fleep-ui.fleep-is-auth .mobile-tab-bar {
        background: var(--fleep-surface) !important;
        border-top-color: var(--fleep-divider) !important;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06) !important;
    }

    html[data-theme="light"] body.fleep-ui .mob-tab {
        color: var(--fleep-text-muted) !important;
    }
}
