/* ============================================================
   GLASS THEME v6 «Ember» — оптимизированная версия
   Тёплая гамма, стеклянные поверхности без backdrop-filter,
   минимум blur, лёгкие анимации. data-theme="glass".
   ============================================================ */

/* ---------- 1. Дизайн-токены ---------- */
html[data-theme="glass"] {
    --primary: #fb923c;
    --primary-dark: #ea580c;
    --primary-light: #fed7aa;
    --bg-dark: #150b12;
    --bg-card: rgba(34, 20, 28, 0.82);
    --bg-card-hover: rgba(44, 26, 33, 0.88);
    --text: #fdf3ea;
    --text-secondary: #d6c3bb;
    --text-muted: #97837e;
    --border: rgba(240, 190, 160, 0.15);
    --border-hover: rgba(251, 146, 60, 0.5);
    --shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 10px 28px -8px rgba(249, 115, 22, 0.35);
    --grad-btn: linear-gradient(115deg, #b45309, #c2410c, #be185d);
    --bg-input: rgba(20, 11, 17, 0.8);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 2. Фон ---------- */
html[data-theme="glass"],
html[data-theme="glass"] body {
    background:
        radial-gradient(70% 45% at 50% -5%, rgba(124, 45, 18, 0.35), transparent 72%),
        linear-gradient(180deg, #200f1a 0%, #170b13 55%, #120a10 100%);
}
html[data-theme="glass"] body::before {
    content: '';
    position: fixed;
    inset: -25%;
    z-index: -3;
    background:
        radial-gradient(40% 32% at 78% 12%, rgba(245, 158, 11, 0.18), transparent 62%),
        radial-gradient(36% 30% at 12% 32%, rgba(236, 72, 153, 0.14), transparent 62%),
        radial-gradient(34% 28% at 58% 92%, rgba(249, 115, 22, 0.13), transparent 62%);
    animation: emberSky 24s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes emberSky { 0% { transform: rotate(0) scale(1); } 100% { transform: rotate(4deg) scale(1.06); } }
html[data-theme="glass"] body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(251, 180, 130, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 180, 130, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, #000 30%, transparent 82%);
    -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, #000 30%, transparent 82%);
    animation: gridFlow 20s linear infinite;
    pointer-events: none;
}
@keyframes gridFlow { to { background-position: 0 46px, 46px 0; } }

/* пятна — лёгкие, без filter:blur на каждом кадре */
html[data-theme="glass"] .glass-glow {
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    contain: layout;
}
html[data-theme="glass"] .glass-glow.gg1 { width: 500px; height: 500px; background: rgba(217,119,6,.3); filter: blur(90px); top: -180px; left: -140px; animation: gg1 20s ease-in-out infinite; }
html[data-theme="glass"] .glass-glow.gg2 { width: 440px; height: 440px; background: rgba(219,39,119,.24); filter: blur(90px); bottom: -150px; right: -120px; animation: gg2 26s ease-in-out infinite; }
html[data-theme="glass"] .glass-glow.gg3 { width: 380px; height: 380px; background: rgba(234,88,12,.22); filter: blur(90px); top: 40%; left: 64%; animation: gg3 16s ease-in-out infinite; }
@keyframes gg1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,60px) scale(1.12); } }
@keyframes gg2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-70px,-50px) scale(1.1); } }
@keyframes gg3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-60px,45px) scale(1.15); } }

/* боковые полосы — простые градиенты, без blur */
html[data-theme="glass"] .glass-side {
    position: fixed;
    top: 0; bottom: 0;
    width: 200px;
    z-index: -1;
    pointer-events: none;
}
html[data-theme="glass"] .glass-side.gsl {
    left: -80px;
    background: linear-gradient(180deg, transparent, rgba(245,158,11,.1) 30%, rgba(236,72,153,.07) 60%, transparent);
    animation: sideL 12s ease-in-out infinite;
}
html[data-theme="glass"] .glass-side.gsr {
    right: -80px;
    background: linear-gradient(180deg, transparent, rgba(219,39,119,.09) 35%, rgba(249,115,22,.07) 65%, transparent);
    animation: sideR 14s ease-in-out infinite;
}
@keyframes sideL { 0%,100% { opacity:.6; transform: translateX(0); } 50% { opacity:1; transform: translateX(20px); } }
@keyframes sideR { 0%,100% { opacity:.55; transform: translateX(0); } 50% { opacity:1; transform: translateX(-20px); } }

/* орбы — убраны для производительности */

html[data-theme="glass"] .site-background { opacity: 0.3; filter: saturate(1.05); }
html[data-theme="glass"] .background-overlay { background: linear-gradient(180deg, rgba(23,11,19,0.55), rgba(18,10,16,0.88)); }
html[data-theme="glass"] .floating-particles { opacity: 0.22; }

/* ---------- 3. Типографика и ссылки ---------- */
html[data-theme="glass"] h1, html[data-theme="glass"] h2, html[data-theme="glass"] h3 { color: var(--text); }
html[data-theme="glass"] a { color: #fdba74; transition: color 0.2s; }
html[data-theme="glass"] a:hover { color: #ffedd5; }
html[data-theme="glass"] .sub { color: var(--text-muted) !important; }
html[data-theme="glass"] ::selection { background: rgba(251, 146, 60, 0.45); color: #fff; }
html[data-theme="glass"] ::-webkit-scrollbar { width: 9px; height: 9px; }
html[data-theme="glass"] ::-webkit-scrollbar-track { background: #1a0d15; }
html[data-theme="glass"] ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #7c2d12, #831843); border-radius: 6px; }
html[data-theme="glass"] ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #f59e0b, #ec4899); }

/* ---------- 4. Шапка и навигация ---------- */
html[data-theme="glass"] .main-header {
    background: rgba(26, 13, 21, 0.9);
    border-bottom: 1px solid rgba(240, 190, 160, 0.12);
}
html[data-theme="glass"] .server-title {
    background: linear-gradient(90deg, #fde68a, #fdba74, #f9a8d4, #fde68a);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFlow 8s linear infinite;
}
@keyframes titleFlow { to { background-position: 250% 0; } }
html[data-theme="glass"] .nav-link {
    border-radius: 999px;
    padding: 7px 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.25s var(--spring);
}
html[data-theme="glass"] .nav-link:hover {
    color: #fff;
    background: rgba(251, 146, 60, 0.14);
    transform: translateY(-2px);
}
html[data-theme="glass"] .nav-link.active {
    color: #fff;
    background: linear-gradient(115deg, rgba(180,83,9,.3), rgba(194,65,12,.28), rgba(190,24,93,.26));
    border: 1px solid rgba(253, 186, 116, 0.35);
}

/* ---------- 5. Стеклянные карточки ---------- */
html[data-theme="glass"] .card,
html[data-theme="glass"] .post-card,
html[data-theme="glass"] .topic-row,
html[data-theme="glass"] .chat-item,
html[data-theme="glass"] .preview-area,
html[data-theme="glass"] .profile-hero,
html[data-theme="glass"] .custom-modal-content,
html[data-theme="glass"] .stat-card,
html[data-theme="glass"] .action-card,
html[data-theme="glass"] .card-header,
html[data-theme="glass"] .admin-header,
html[data-theme="glass"] .form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform 0.3s var(--spring), border-color 0.25s ease, box-shadow 0.3s ease;
}
html[data-theme="glass"] .card:hover,
html[data-theme="glass"] .post-card:hover,
html[data-theme="glass"] .chat-item:hover,
html[data-theme="glass"] .stat-card:hover,
html[data-theme="glass"] .action-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow), var(--shadow-glow);
}
html[data-theme="glass"] .topic-row:hover { transform: translateY(-3px) translateX(4px); }
html[data-theme="glass"] .post-card-reply { border-left: 2px solid rgba(251, 146, 60, 0.4); }
html[data-theme="glass"] .reply-indicator {
    background: rgba(251, 146, 60, 0.07);
    border-left-color: rgba(253, 186, 116, 0.5);
}

/* каскадное появление — экономичное */
html[data-theme="glass"] .card,
html[data-theme="glass"] .topic-row,
html[data-theme="glass"] .action-card,
html[data-theme="glass"] .stat-card {
    animation: glassRise 0.45s var(--spring) backwards;
}
@keyframes glassRise { from { opacity: 0; transform: translateY(18px); } }

html[data-theme="glass"] .action-card .action-icon {
    color: #fdba74;
}
html[data-theme="glass"] .stat-label { color: var(--text-muted); }
html[data-theme="glass"] .card-header p, html[data-theme="glass"] .admin-header p { color: var(--text-muted); }
html[data-theme="glass"] .card-header h1,
html[data-theme="glass"] .admin-header h1 {
    background: linear-gradient(90deg, #fde68a, #fdba74, #f9a8d4, #fde68a);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFlow 8s linear infinite;
}

/* ---------- 6. Кнопки ---------- */
html[data-theme="glass"] .btn { border-radius: 999px; font-weight: 700; transition: all 0.25s var(--spring); }
html[data-theme="glass"] .btn:active { transform: scale(0.95); }
html[data-theme="glass"] .btn-primary {
    background: var(--grad-btn);
    border: none;
    color: #fff;
    box-shadow: 0 8px 22px -8px rgba(249, 115, 22, 0.5);
}
html[data-theme="glass"] .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(249, 115, 22, 0.75);
}
html[data-theme="glass"] .btn-secondary {
    background: rgba(240, 190, 160, 0.08);
    border: 1px solid rgba(240, 190, 160, 0.24);
    color: var(--text-secondary);
}
html[data-theme="glass"] .btn-secondary:hover {
    color: #fff;
    border-color: rgba(251, 146, 60, 0.5);
    background: rgba(251, 146, 60, 0.14);
    transform: translateY(-2px);
}
html[data-theme="glass"] .btn-danger {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fecaca;
    border-radius: 999px;
}
html[data-theme="glass"] .btn-danger:hover { background: rgba(239, 68, 68, 0.3); color: #fff; }
html[data-theme="glass"] .action-btn {
    border-radius: 999px;
    background: rgba(240, 190, 160, 0.08);
    border: 1px solid rgba(240, 190, 160, 0.22);
    color: var(--text-secondary);
    transition: all 0.25s var(--spring);
}
html[data-theme="glass"] .action-btn:hover {
    color: #fff;
    border-color: rgba(251, 146, 60, 0.5);
    background: rgba(251, 146, 60, 0.14);
}
html[data-theme="glass"] .like-btn { transition: all 0.25s var(--spring) !important; }
html[data-theme="glass"] .like-btn:hover { transform: scale(1.15); }
html[data-theme="glass"] .like-btn.liked { color: #fb7185; }

/* ---------- 7. Формы ---------- */
html[data-theme="glass"] input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="glass"] select,
html[data-theme="glass"] textarea {
    background: var(--bg-input);
    border: 1px solid rgba(240, 190, 160, 0.18);
    border-radius: 12px;
    color: var(--text);
    transition: border-color 0.25s, box-shadow 0.25s;
}
html[data-theme="glass"] input:focus, html[data-theme="glass"] select:focus, html[data-theme="glass"] textarea:focus {
    outline: none;
    border-color: rgba(253, 186, 116, 0.7);
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.12);
}
html[data-theme="glass"] input::placeholder, html[data-theme="glass"] textarea::placeholder { color: #8a7570 !important; }
html[data-theme="glass"] select option { background: #1e1118; color: var(--text); }
html[data-theme="glass"] label { color: var(--text-secondary); }

/* ---------- 8. Уведомления и статусы ---------- */
html[data-theme="glass"] .flash-message {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
}
html[data-theme="glass"] .flash-message.success { border-left: 3px solid #4ade80; }
html[data-theme="glass"] .flash-message.warning { border-left: 3px solid #fbbf24; }
html[data-theme="glass"] .flash-message.info    { border-left: 3px solid #fb923c; }
html[data-theme="glass"] .flash-message.danger  { border-left: 3px solid #f87171; }
html[data-theme="glass"] .status-pending  { background: rgba(251,191,36,0.12); color: #fcd34d; border-color: rgba(251,191,36,0.4); }
html[data-theme="glass"] .status-approved { background: rgba(74,222,128,0.12); color: #86efac; border-color: rgba(74,222,128,0.4); }
html[data-theme="glass"] .status-rejected { background: rgba(248,113,113,0.12); color: #fca5a5; border-color: rgba(248,113,113,0.4); }
html[data-theme="glass"] .unread-badge {
    background: var(--grad-btn);
    color: #fff;
    font-weight: 800;
}

/* ---------- 9. Таблицы ---------- */
html[data-theme="glass"] table { border-color: rgba(240, 190, 160, 0.12); }
html[data-theme="glass"] th {
    background: rgba(240, 190, 160, 0.06);
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(240, 190, 160, 0.15) !important;
}
html[data-theme="glass"] td { border-bottom: 1px solid rgba(240, 190, 160, 0.07) !important; }
html[data-theme="glass"] tr:hover td { background: rgba(251, 146, 60, 0.07); }

/* ---------- 10. Чат ---------- */
html[data-theme="glass"] .message.my-message {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(236, 72, 153, 0.16));
    border: 1px solid rgba(253, 186, 116, 0.38);
}
html[data-theme="glass"] .message.other-message {
    background: rgba(240, 190, 160, 0.08);
    border: 1px solid rgba(240, 190, 160, 0.14);
}
html[data-theme="glass"] .chat-item { transition: all 0.25s var(--spring) !important; }
html[data-theme="glass"] .chat-item:hover { transform: translateX(4px) !important; }
html[data-theme="glass"] .admin-message h4 { color: #fdba74; }

/* ---------- 11. Главная: hero ---------- */
html[data-theme="glass"] .home-hero-badge {
    border: 1px solid rgba(253, 186, 116, 0.4);
    background: rgba(251, 146, 60, 0.1);
    color: #fed7aa;
}
html[data-theme="glass"] .home-hero-title {
    background: linear-gradient(90deg, #ffffff, #fde68a, #fdba74, #f9a8d4, #ffffff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFlow 9s linear infinite;
}
html[data-theme="glass"] .hero-status-dot.online { background: #4ade80; }
html[data-theme="glass"] .player-count-value.offline { color: #fca5a5 !important; }
html[data-theme="glass"] .home-news-date { color: var(--text-muted) !important; }

/* ---------- 12. Профиль ---------- */
html[data-theme="glass"] .profile-avatar {
    border: 3px solid rgba(253, 186, 116, 0.45);
    box-shadow: 0 0 0 6px rgba(251, 146, 60, 0.1), 0 10px 30px -10px rgba(0,0,0,0.6);
    transition: all 0.3s var(--spring);
}
html[data-theme="glass"] .profile-avatar:hover { transform: scale(1.04); }
html[data-theme="glass"] .stat-number {
    background: linear-gradient(90deg, #fcd34d, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
html[data-theme="glass"] .stat-item { transition: transform 0.25s var(--spring); }
html[data-theme="glass"] .stat-item:hover { transform: scale(1.08); }

/* ---------- 13. Модальные окна ---------- */
html[data-theme="glass"] .custom-modal { background: rgba(12, 6, 10, 0.85); }
html[data-theme="glass"] .image-modal-content img { border-radius: 14px; box-shadow: var(--shadow); }

/* ---------- 14. Подвал ---------- */
html[data-theme="glass"] .main-footer {
    background: rgba(20, 11, 16, 0.92);
    border-top: 1px solid rgba(240, 190, 160, 0.1);
}
html[data-theme="glass"] .main-footer h3 {
    background: linear-gradient(90deg, #fcd34d, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
html[data-theme="glass"] .main-footer a { color: var(--text-muted); transition: all 0.2s; }
html[data-theme="glass"] .main-footer a:hover { color: #fed7aa; }

/* ---------- 15. Кнопки шапки ---------- */
html[data-theme="glass"] .nav-link.admin-link,
html[data-theme="glass"] .nav-link.register {
    background: rgba(180,83,9,.3);
    color: #fff;
    border: 1px solid rgba(253, 186, 116, 0.35);
}
html[data-theme="glass"] .nav-link.admin-link:hover,
html[data-theme="glass"] .nav-link.register:hover {
    background: rgba(180,83,9,.5);
    transform: translateY(-2px);
}
html[data-theme="glass"] .nav-link.logout { color: #fca5a5; border-color: rgba(248,113,113,.3); }
html[data-theme="glass"] .btn-cta {
    background: linear-gradient(115deg, #c2410c, #be185d, #9333ea);
    box-shadow: 0 8px 30px rgba(194,65,12,0.5);
    animation: ctaPulseGlass 2.5s ease-in-out infinite;
}
@keyframes ctaPulseGlass {
    0%, 100% { box-shadow: 0 8px 30px rgba(194,65,12,0.5); }
    50% { box-shadow: 0 8px 40px rgba(194,65,12,0.8), 0 0 60px rgba(190,24,93,0.2); }
}

/* ---------- 16. Мелочи ---------- */
html[data-theme="glass"] .sdot.on { background: #4ade80; }
html[data-theme="glass"] .portal-form input.invalid { border-color: rgba(248,113,113,.6) !important; }
html[data-theme="glass"] .action-icon { transition: all 0.25s var(--spring) !important; }
html[data-theme="glass"] .action-card:hover .action-icon { transform: scale(1.15) rotate(-5deg); }
html[data-theme="glass"] .bg-role-btn.bg-role-main:hover { border-color: #fb923c; color: #fdba74; }
html[data-theme="glass"] .bg-role-badge.bg-role-main { background: rgba(251,146,60,0.12); border-color: #fb923c; color: #fdba74; }

/* ---------- 17. Карта порталов ---------- */
html[data-theme="glass"] #portal-map {
    background: rgba(18, 10, 14, 0.9);
    border-color: rgba(240, 190, 160, 0.15);
}
html[data-theme="glass"] .portal-name {
    fill: #ffffff;
    stroke: none;
}
html[data-theme="glass"] .portal-coords {
    fill: rgba(255,255,255,0.7);
    stroke: none;
}
html[data-theme="glass"] .portal-info-bar {
    background: rgba(251, 146, 60, 0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(240, 190, 160, 0.1);
}
html[data-theme="glass"] .portal-form {
    background: rgba(34, 20, 28, 0.5);
    border: 1px solid rgba(240, 190, 160, 0.12);
    border-radius: 14px;
}
html[data-theme="glass"] .portal-search-input {
    background: var(--bg-input);
    border-color: rgba(240, 190, 160, 0.18);
}
html[data-theme="glass"] .portal-search-input:focus {
    outline: none;
    border-color: rgba(253, 186, 116, 0.7);
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.12);
}
html[data-theme="glass"] .portal-list-group h3 {
    border-bottom-color: rgba(240, 190, 160, 0.12);
}
html[data-theme="glass"] .portal-list-group h3 button {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(240, 190, 160, 0.18);
}
html[data-theme="glass"] .portal-list-group h3 button:hover {
    background: rgba(251, 146, 60, 0.25);
}
html[data-theme="glass"] .portal-list-item {
    background: rgba(34, 20, 28, 0.45);
    border-color: transparent;
}
html[data-theme="glass"] .portal-list-item:hover {
    background: rgba(251, 146, 60, 0.08);
    border-color: rgba(251, 146, 60, 0.3);
}
html[data-theme="glass"] .portal-list-item.active {
    background: rgba(251, 146, 60, 0.14);
    border-color: rgba(251, 146, 60, 0.5);
}
html[data-theme="glass"] .zoom-controls .btn-secondary {
    background: rgba(240, 190, 160, 0.08);
    border-color: rgba(240, 190, 160, 0.2);
}
html[data-theme="glass"] .zoom-controls .btn-secondary:hover {
    background: rgba(251, 146, 60, 0.15);
    border-color: rgba(251, 146, 60, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme="glass"] *, html[data-theme="glass"] *::before, html[data-theme="glass"] *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Голосования */
html[data-theme="glass"] .poll-block {
    background: linear-gradient(145deg, rgba(255,235,215,0.06), rgba(255,235,215,0.02));
    border: 1px solid rgba(253, 186, 116, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
html[data-theme="glass"] .poll-question { color: #fff7ed; }
html[data-theme="glass"] .poll-question i { color: #fb923c; }
html[data-theme="glass"] .poll-option:hover {
    background: rgba(251, 146, 60, 0.10);
    border-color: rgba(251, 146, 60, 0.5);
}
html[data-theme="glass"] .poll-opt-inner {
    border: 1.5px solid rgba(253, 186, 116, 0.22);
    color: #fef3e2;
    background: rgba(255, 245, 230, 0.03);
}
html[data-theme="glass"] .poll-opt-dot { border-color: #a8a29e; }
html[data-theme="glass"] .poll-opt-card:hover .poll-opt-inner {
    border-color: rgba(251, 146, 60, 0.65);
    background: rgba(251, 146, 60, 0.12);
}
html[data-theme="glass"] .poll-opt-card:hover .poll-opt-dot { border-color: #fb923c; }
html[data-theme="glass"] .poll-opt-card input:checked + .poll-opt-inner {
    background: linear-gradient(135deg, #f97316, #e11d48);
    border-color: rgba(251, 146, 60, 0.9);
    color: #fff;
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.45);
}
html[data-theme="glass"] .poll-submit {
    background: linear-gradient(135deg, #f97316, #e11d48);
    color: #fff;
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.4);
}
html[data-theme="glass"] .poll-submit:hover {
    box-shadow: 0 8px 26px rgba(249, 115, 22, 0.55);
}
html[data-theme="glass"] .poll-badge-verified { background: rgba(251,146,60,0.14); color: #fdba74; }
html[data-theme="glass"] .poll-badge-all { background: rgba(125,211,252,0.12); color: #7dd3fc; }
html[data-theme="glass"] .poll-badge-closed { background: rgba(250,250,250,0.1); color: #d1d5db; }
html[data-theme="glass"] .poll-bar { background: rgba(255,255,255,0.1); }
html[data-theme="glass"] .poll-bar-fill {
    background: linear-gradient(90deg, #fb923c, #e879f9);
}
html[data-theme="glass"] .poll-result-row.poll-voted .poll-bar-fill {
    background: linear-gradient(90deg, #4ade80, #22c55e);
}
html[data-theme="glass"] .poll-result-row.poll-voted {
    background: rgba(74, 222, 128, 0.08);
}
html[data-theme="glass"] .poll-tick { background: #22c55e; }
html[data-theme="glass"] .poll-chip {
    background: rgba(251,146,60,0.14);
    color: #fdba74;
}
html[data-theme="glass"] .poll-chip-active {
    background: rgba(34,197,94,0.16);
    color: #4ade80;
    border: 1px solid rgba(74,222,128,0.5);
}
html[data-theme="glass"] .poll-chip-closed {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
}
html[data-theme="glass"] .stream-card {
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(253,186,116,0.2);
    backdrop-filter:blur(14px);
}
html[data-theme="glass"] .stream-title {
    background:linear-gradient(90deg,#fdba74,#fb7185);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
}
html[data-theme="glass"] .stream-chat iframe { border:1px solid rgba(255,255,255,0.15); }
html[data-theme="glass"] .stream-chat-head {
    background:rgba(255,255,255,0.06);
    border-color:rgba(255,255,255,0.15);
    color:#fdba74;
}
html[data-theme="glass"] .stream-avatar { background:rgba(253,186,116,0.15); }
