/*
 * bakuriani.ski — светлая тема для всех страниц основного сайта (07.11.2026, решение владельца: весь сайт светлый).
 * Страницы свёрстаны тёмными классами Tailwind (CDN). Этот файл подключается последним и переопределяет их цвета.
 * Контраст по WCAG AA: основной текст #0f172a, второстепенный #475569 (7:1), акцент #0f766e (5,5:1 на белом),
 * белый текст на кнопках с фоном #0f766e. Белый текст поверх фото (затемнения from-black) остаётся белым.
 */
:root { --accent: #0f766e; --accent-glow: rgba(15, 118, 110, .18); --dark: #ffffff; }
html body { background-color: #ffffff !important; color: #0f172a !important; }

/* панели и карточки */
html body .glass { background: rgba(255, 255, 255, .92) !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
html body .glass-card { background: #ffffff !important; border: 1px solid #e2e8f0 !important; }
html body .glass-card:hover { border-color: #0f766e !important; box-shadow: 0 16px 32px -20px rgba(15, 23, 42, .25) !important; }
html body .glass-dark { background: rgba(255, 255, 255, .98) !important; }
html body .bg-mesh { background: radial-gradient(circle at 10% 10%, rgba(15, 118, 110, .05) 0%, transparent 50%), radial-gradient(circle at 90% 90%, rgba(59, 130, 246, .04) 0%, transparent 50%) !important; }
html body .text-glow { text-shadow: none !important; }

/* текст */
html body .text-white, html body .text-slate-100, html body .text-slate-200 { color: #0f172a !important; }
html body .text-white\/90, html body .text-white\/70 { color: #1e293b !important; }
html body .text-white\/60, html body .text-white\/50 { color: #475569 !important; }
html body .text-slate-300 { color: #334155 !important; }
html body .text-slate-400, html body .text-slate-500, html body .text-slate-600, html body .text-slate-700 { color: #475569 !important; }
html body .text-teal-300, html body .text-teal-400, html body .text-teal-500, html body .text-teal-500\/50 { color: #0f766e !important; }
html body .text-yellow-500, html body .text-yellow-500\/80 { color: #a16207 !important; }
html body .text-emerald-400 { color: #047857 !important; }
html body .text-blue-400 { color: #1d4ed8 !important; }
html body .hover\:text-white:hover { color: #0f172a !important; }
html body .hover\:text-teal-300:hover, html body .hover\:text-teal-400:hover { color: #115e59 !important; }

/* фоны */
html body .bg-teal-500, html body .bg-emerald-500 { background-color: #0f766e !important; color: #ffffff !important; }
html body .bg-teal-500 *, html body .bg-emerald-500 * { color: #ffffff !important; }
html body .hover\:bg-teal-600:hover { background-color: #115e59 !important; }
html body .bg-teal-500\/30, html body .bg-teal-500\/20 { background-color: #ccfbf1 !important; }
html body .bg-teal-500\/10, html body .bg-teal-500\/5 { background-color: #f0fdfa !important; }
html body .bg-white\/5, html body .bg-white\/10, html body .bg-white\/\[0\.02\], html body .bg-white\/\[0\.05\] { background-color: #f1f5f9 !important; }
html body .hover\:bg-white\/10:hover, html body .hover\:bg-white\/5:hover, html body .hover\:bg-white\/\[0\.05\]:hover { background-color: #e2e8f0 !important; }
html body .bg-slate-950, html body .bg-slate-950\/90, html body .bg-slate-900, html body .bg-slate-900\/50, html body .bg-slate-900\/40 { background-color: #f8fafc !important; }
html body .hover\:bg-slate-900\/60:hover { background-color: #f1f5f9 !important; }
html body .bg-yellow-500\/10 { background-color: #fefce8 !important; }
html body .from-teal-900\/10 { --tw-gradient-from: rgba(204, 251, 241, .5) var(--tw-gradient-from-position) !important; }
html body .to-slate-900\/50 { --tw-gradient-to: rgba(241, 245, 249, .8) var(--tw-gradient-to-position) !important; }

/* рамки */
html body .border-white\/5, html body .border-white\/10, html body .border-slate-800\/50 { border-color: #e2e8f0 !important; }
html body .border-teal-500\/20, html body .border-teal-500\/30, html body .border-teal-500\/5 { border-color: #99f6e4 !important; }

/* поверх фото и видео (затемнение снизу) текст остаётся белым */
html body [class*="from-black"] .text-white, html body [class*="from-black"].text-white,
html body [class*="from-black"] .text-white\/90, html body [class*="from-black"] .text-white\/70,
html body [class*="from-black"] .text-white\/60, html body [class*="from-black"] .text-slate-300,
html body [class*="from-black"] .text-slate-400 { color: #ffffff !important; }
html body [class*="via-black"] .text-white { color: #ffffff !important; }

/* поля форм */
html body input, html body select, html body textarea { color-scheme: light; }

/* собственные стили страниц (таблицы ски-пасса и «Как добраться», статьи, вкладки) */
html body .tab-active { background: #0f766e !important; color: #ffffff !important; border-color: #0f766e !important; }
html body table { border-color: #e2e8f0 !important; }
html body th { background: #f0fdfa !important; color: #0f766e !important; }
html body td { color: #334155 !important; border-bottom-color: #e2e8f0 !important; }
html body .prose strong { color: #0f766e !important; }
html body .prose h2, html body .prose h3 { color: #0f172a !important; }
html body .prose p, html body .prose li { color: #334155 !important; }
html body .prose blockquote { color: #475569 !important; }
html body .toc-link:hover { color: #0f766e !important; }
html body .webcam-container { background: #f1f5f9 !important; }
html body iframe { border-color: #e2e8f0 !important; }
html body #map-viewer { background: #eef2f6 !important; border-color: #e2e8f0 !important; box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .25) !important; }
html body .osd-btn { background: #ffffff !important; color: #0f172a !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 2px 8px rgba(15, 23, 42, .12); }
html body .osd-btn:hover { background: #0f766e !important; color: #ffffff !important; }
html body .osd-btn i { color: inherit !important; }
