/* Критически важные переопределения с максимальной специфичностью */
:root,
:root[data-theme],
:root[class*="theme"],
html,
html[data-theme],
html[class*="theme"] {
    --tg-color-scheme: light !important;
    --tg-theme-bg-color: #ffffff !important;
    --tg-theme-secondary-bg-color: #f1f1f1 !important;
    --tg-theme-text-color: #000000 !important;
    --tg-theme-hint-color: #999999 !important;
    --tg-theme-link-color: #2481cc !important;
    --tg-theme-button-color: #2481cc !important;
    --tg-theme-button-text-color: #ffffff !important;
    --tg-theme-header-bg-color: #ffffff !important;
    --tg-theme-accent-text-color: #2481cc !important;
    --tg-theme-section-bg-color: #ffffff !important;
    --tg-theme-section-header-text-color: #2481cc !important;
    --tg-theme-subtitle-text-color: #999999 !important;
    --tg-theme-destructive-text-color: #ff3b30 !important;
    --tg-theme-section-separator-color: #e7e7e7 !important;
    --tg-theme-bottom-bar-bg-color: #ffffff !important;
}

/* Переопределение для всех возможных селекторов */
body,
body[data-theme],
body[class*="theme"],
body[class*="dark"],
body.dark,
body.night {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
}

/* Убираем любые тёмные фильтры */
* {
    filter: none !important;
}