/* 液态玻璃七主题：晨曦之露 / 暗夜流光 / 极光幻彩 / 暖阳琥珀 / 赛博紫晶 / 冰霜极地 / 樱花甜梦
 * 选择器 html[data-theme^="glass-"]，由 index.html 与后台 homeTheme 驱动 */

@keyframes lgGlassFloatDawn {
  0% { background-position: 0% 0%; }
  50% { background-position: 20% 20%; }
  100% { background-position: 0% 0%; }
}
@keyframes lgGlassBreathDark {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}
@keyframes lgGlassAuroraMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes lgGlassAmberBreath {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 20%; }
  100% { background-position: 0% 0%; }
}
/* 勿在 body 上使用 filter 动画：会破坏 position:fixed 弹窗的视口定位（含系统公告、历史弹窗等） */
@keyframes lgGlassCyberPulse {
  0% {
    background-size: 100% 100%;
  }
  100% {
    background-size: 120% 120%;
  }
}
@keyframes lgGlassFrostFloat {
  0% { background-position: 0% 20%; }
  50% { background-position: 100% 80%; }
  100% { background-position: 0% 20%; }
}
@keyframes lgGlassSakuraBreath {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 20%; }
  100% { background-position: 0% 0%; }
}

/* （已还原）装饰继续使用海洋主题气泡簇 */

/* ========== 1. 晨曦之露 ========== */
html[data-theme="glass-dawn"] {
  --theme-body-bg: #e8ecff;
  --theme-text: #1e293b;
  --theme-card-bg: rgba(255, 255, 255, 0.42);
  --theme-card-border: rgba(255, 255, 255, 0.75);
  --theme-title-bg: rgba(99, 102, 241, 0.42);
  --theme-title-text: #f8fafc;
  --theme-notice-bg: rgba(14, 165, 233, 0.45);
  --theme-notice-text: #f0f9ff;
  --theme-tab-active-bg: rgba(59, 130, 246, 0.55);
  --theme-tab-active-text: #f8fafc;
  --theme-tab-bg: rgba(255, 255, 255, 0.28);
  --theme-tab-text: #312e81;
  --theme-shadow: 0 8px 32px rgba(79, 70, 229, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  --lg-shadow-tint: rgba(79, 70, 229, 0.15);
  --lg-nav-title-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.55) 0%, rgba(59, 130, 246, 0.48) 55%, rgba(14, 165, 233, 0.5) 100%);
  --lg-widget-body-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(240, 249, 255, 0.42) 48%, rgba(224, 242, 254, 0.38) 100%);
  --lg-widget-hd-bg: linear-gradient(135deg, rgba(129, 140, 248, 0.82) 0%, rgba(59, 130, 246, 0.75) 48%, rgba(14, 165, 233, 0.78) 100%);
  --lg-bubble-a: rgba(56, 189, 248, 0.55);
  --lg-bubble-b: rgba(14, 116, 144, 0.45);
  --lg-jmxc-biaoti-bg: linear-gradient(135deg, rgba(129, 140, 248, 0.78) 0%, rgba(59, 130, 246, 0.72) 52%, rgba(14, 165, 233, 0.75) 100%);
  --lg-float-nav-1: linear-gradient(135deg, rgba(52, 211, 153, 0.82) 0%, rgba(16, 185, 129, 0.78) 45%, rgba(14, 165, 233, 0.75) 100%);
  --lg-float-nav-2: linear-gradient(135deg, rgba(56, 189, 248, 0.78) 0%, rgba(14, 165, 233, 0.75) 48%, rgba(99, 102, 241, 0.72) 100%);
  --lg-history-panel-grad: linear-gradient(165deg, rgba(255, 255, 255, 0.38) 0%, rgba(238, 242, 255, 0.28) 45%, rgba(224, 242, 254, 0.32) 100%);
  --lg-history-year-sheet: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(238, 242, 255, 0.38) 100%);
  --lg-sys-popup-grad: linear-gradient(160deg, rgba(255, 255, 255, 0.4) 0%, rgba(237, 242, 255, 0.32) 50%, rgba(224, 242, 254, 0.36) 100%);
  --lg-sys-header-grad: linear-gradient(135deg, rgba(129, 140, 248, 0.72) 0%, rgba(59, 130, 246, 0.65) 52%, rgba(14, 165, 233, 0.7) 100%);
  --lg-year-confirm-grad: linear-gradient(135deg, rgba(59, 130, 246, 0.75) 0%, rgba(14, 165, 233, 0.8) 100%);
  --lg-hd-text: #ecfeff;
  --lg-hd-text-shadow: rgba(8, 47, 73, 0.35);
  --lg-lottys-color: #0c4a6e;
  --lg-countdown: #0284c7;
  --lg-ft-color: #0e7490;
  --lg-ft-bg: linear-gradient(180deg, rgba(230, 248, 255, 0.88) 0%, rgba(216, 244, 255, 0.88) 100%);
  --lg-ft-border: #9ed9ed;
  --lg-slot-text: #0e7490;
  --lg-jmxc-title: #ecfeff;
  --lg-dir-title: #0f5f7a;
  --lg-dir-item-color: #1e3a5f;
  --lg-history-header-text: #1e3a5f;
  --lg-history-header-left: #312e81;
  --lg-history-text: #1e3a5f;
  --lg-history-btn-color: #1e3a5f;
  --lg-history-year-h1: #312e81;
  --lg-history-selected-bg: rgba(99, 102, 241, 0.22);
  --lg-history-selected-text: #312e81;
  --lg-sys-link: #2563eb;
  --lg-sys-body-text: #1e3a5f;
  --lg-sys-btn: #2563eb;
  --lg-sys-btn-muted: rgba(30, 58, 95, 0.75);
  --lg-overlay: rgba(30, 27, 75, 0.42);
  --lg-overlay-strong: rgba(30, 27, 75, 0.45);
  --lg-dir-item-hover: #cff4ff;
}
html[data-theme="glass-dawn"] body {
  background-image:
    radial-gradient(ellipse 120% 90% at 8% 15%, rgba(139, 92, 246, 0.28), transparent 52%),
    radial-gradient(ellipse 100% 80% at 92% 8%, rgba(56, 189, 248, 0.26), transparent 48%),
    linear-gradient(135deg, #e0f2fe 0%, #fef6e6 100%);
  background-attachment: fixed;
  background-size: 150% 150%;
  animation: lgGlassFloatDawn 14s ease infinite;
  min-height: 100vh;
}

/* ========== 2. 暗夜流光 ========== */
html[data-theme="glass-night"] {
  --theme-body-bg: #0a0c1a;
  --theme-text: #f0f3fa;
  --theme-card-bg: rgba(20, 25, 45, 0.65);
  --theme-card-border: rgba(80, 100, 160, 0.5);
  --theme-title-bg: rgba(60, 80, 140, 0.55);
  --theme-title-text: #f8fafc;
  --theme-notice-bg: rgba(180, 140, 60, 0.35);
  --theme-notice-text: #fff8e8;
  --theme-tab-active-bg: rgba(224, 185, 90, 0.45);
  --theme-tab-active-text: #1a1408;
  --theme-tab-bg: rgba(30, 35, 55, 0.55);
  --theme-tab-text: #e8e4ff;
  --theme-shadow: 0 18px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --lg-shadow-tint: rgba(0, 0, 0, 0.35);
  --lg-nav-title-bg: linear-gradient(135deg, rgba(55, 65, 110, 0.88) 0%, rgba(35, 45, 85, 0.85) 52%, rgba(25, 35, 70, 0.88) 100%);
  --lg-widget-body-bg: linear-gradient(180deg, rgba(38, 45, 72, 0.75) 0%, rgba(28, 32, 52, 0.72) 48%, rgba(22, 26, 44, 0.78) 100%);
  --lg-widget-hd-bg: linear-gradient(135deg, rgba(90, 100, 150, 0.9) 0%, rgba(55, 70, 130, 0.88) 48%, rgba(40, 55, 110, 0.9) 100%);
  --lg-bubble-a: rgba(180, 160, 255, 0.45);
  --lg-bubble-b: rgba(80, 100, 160, 0.55);
  --lg-jmxc-biaoti-bg: linear-gradient(135deg, rgba(85, 95, 145, 0.9) 0%, rgba(55, 70, 125, 0.88) 52%, rgba(45, 55, 105, 0.9) 100%);
  --lg-float-nav-1: linear-gradient(135deg, rgba(224, 185, 90, 0.85) 0%, rgba(200, 155, 70, 0.82) 45%, rgba(90, 110, 170, 0.78) 100%);
  --lg-float-nav-2: linear-gradient(135deg, rgba(120, 135, 190, 0.85) 0%, rgba(80, 100, 160, 0.82) 48%, rgba(224, 185, 90, 0.75) 100%);
  --lg-history-panel-grad: linear-gradient(165deg, rgba(35, 40, 65, 0.55) 0%, rgba(28, 32, 52, 0.5) 45%, rgba(22, 26, 44, 0.52) 100%);
  --lg-history-year-sheet: linear-gradient(180deg, rgba(40, 45, 70, 0.58) 0%, rgba(30, 34, 55, 0.55) 100%);
  --lg-sys-popup-grad: linear-gradient(160deg, rgba(40, 45, 72, 0.58) 0%, rgba(32, 36, 58, 0.52) 50%, rgba(26, 30, 50, 0.55) 100%);
  --lg-sys-header-grad: linear-gradient(135deg, rgba(85, 95, 145, 0.88) 0%, rgba(55, 70, 125, 0.85) 52%, rgba(45, 55, 105, 0.88) 100%);
  --lg-year-confirm-grad: linear-gradient(135deg, rgba(224, 185, 90, 0.88) 0%, rgba(200, 155, 75, 0.85) 100%);
  --lg-hd-text: #ffe8a8;
  --lg-hd-text-shadow: rgba(0, 0, 0, 0.45);
  --lg-lottys-color: #1a1408;
  --lg-countdown: #c9a035;
  --lg-ft-color: #d4c4a8;
  --lg-ft-bg: linear-gradient(180deg, rgba(28, 32, 48, 0.92) 0%, rgba(22, 26, 40, 0.92) 100%);
  --lg-ft-border: rgba(120, 100, 60, 0.45);
  --lg-slot-text: #f0d878;
  --lg-jmxc-title: #ffe8a8;
  --lg-dir-title: #e8d8a8;
  --lg-dir-item-color: #f0e8d8;
  --lg-history-header-text: #f0e8c8;
  --lg-history-header-left: #ffd86b;
  --lg-history-text: #e8e0c8;
  --lg-history-btn-color: #f0e8d8;
  --lg-history-year-h1: #ffd86b;
  --lg-history-selected-bg: rgba(224, 185, 90, 0.25);
  --lg-history-selected-text: #ffd86b;
  --lg-sys-link: #8ab4ff;
  --lg-sys-body-text: #e8e4d8;
  --lg-sys-btn: #8ab4ff;
  --lg-sys-btn-muted: rgba(220, 210, 180, 0.65);
  --lg-overlay: rgba(5, 8, 20, 0.62);
  --lg-overlay-strong: rgba(5, 8, 20, 0.68);
  --lg-dir-item-hover: rgba(60, 70, 110, 0.55);
}
html[data-theme="glass-night"] body {
  background-image: radial-gradient(circle at 30% 20%, #12162c, #0a0c1a);
  background-attachment: fixed;
  background-size: 200% 200%;
  animation: lgGlassBreathDark 10s ease infinite;
  min-height: 100vh;
}

/* ========== 3. 极光幻彩 ========== */
html[data-theme="glass-aurora"] {
  --theme-body-bg: #fff5f8;
  --theme-text: #2c3e50;
  --theme-card-bg: rgba(255, 248, 245, 0.38);
  --theme-card-border: rgba(255, 255, 255, 0.7);
  --theme-title-bg: rgba(236, 72, 153, 0.38);
  --theme-title-text: #fffafd;
  --theme-notice-bg: rgba(56, 189, 248, 0.4);
  --theme-notice-text: #f0f9ff;
  --theme-tab-active-bg: rgba(167, 139, 250, 0.5);
  --theme-tab-active-text: #faf5ff;
  --theme-tab-bg: rgba(255, 255, 255, 0.32);
  --theme-tab-text: #4c1d95;
  --theme-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
  --lg-shadow-tint: rgba(139, 92, 246, 0.14);
  --lg-nav-title-bg: linear-gradient(135deg, rgba(236, 72, 153, 0.5) 0%, rgba(167, 139, 250, 0.48) 45%, rgba(56, 189, 248, 0.5) 100%);
  --lg-widget-body-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 240, 252, 0.4) 48%, rgba(224, 242, 254, 0.38) 100%);
  --lg-widget-hd-bg: linear-gradient(135deg, rgba(244, 114, 182, 0.78) 0%, rgba(167, 139, 250, 0.75) 48%, rgba(56, 189, 248, 0.76) 100%);
  --lg-bubble-a: rgba(244, 114, 182, 0.55);
  --lg-bubble-b: rgba(56, 189, 248, 0.45);
  --lg-jmxc-biaoti-bg: linear-gradient(135deg, rgba(236, 72, 153, 0.75) 0%, rgba(167, 139, 250, 0.72) 52%, rgba(45, 212, 191, 0.72) 100%);
  --lg-float-nav-1: linear-gradient(135deg, rgba(52, 211, 153, 0.78) 0%, rgba(45, 212, 191, 0.75) 45%, rgba(167, 139, 250, 0.72) 100%);
  --lg-float-nav-2: linear-gradient(135deg, rgba(56, 189, 248, 0.78) 0%, rgba(236, 72, 153, 0.72) 48%, rgba(167, 139, 250, 0.75) 100%);
  --lg-history-panel-grad: linear-gradient(165deg, rgba(255, 250, 252, 0.42) 0%, rgba(238, 242, 255, 0.32) 45%, rgba(224, 242, 254, 0.34) 100%);
  --lg-history-year-sheet: linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(250, 245, 255, 0.4) 100%);
  --lg-sys-popup-grad: linear-gradient(160deg, rgba(255, 255, 255, 0.42) 0%, rgba(252, 245, 255, 0.34) 50%, rgba(224, 242, 254, 0.36) 100%);
  --lg-sys-header-grad: linear-gradient(135deg, rgba(236, 72, 153, 0.7) 0%, rgba(167, 139, 250, 0.68) 52%, rgba(56, 189, 248, 0.7) 100%);
  --lg-year-confirm-grad: linear-gradient(135deg, rgba(167, 139, 250, 0.78) 0%, rgba(236, 72, 153, 0.75) 100%);
  --lg-hd-text: #fffafd;
  --lg-hd-text-shadow: rgba(76, 29, 149, 0.25);
  --lg-lottys-color: #5b21b6;
  --lg-countdown: #7c3aed;
  --lg-ft-color: #0f766e;
  --lg-ft-bg: linear-gradient(180deg, rgba(240, 253, 250, 0.9) 0%, rgba(224, 242, 254, 0.88) 100%);
  --lg-ft-border: rgba(45, 212, 191, 0.45);
  --lg-slot-text: #0d9488;
  --lg-jmxc-title: #fffafd;
  --lg-dir-title: #5b21b6;
  --lg-dir-item-color: #4c1d95;
  --lg-history-header-text: #4c1d95;
  --lg-history-header-left: #6d28d9;
  --lg-history-text: #4c1d95;
  --lg-history-btn-color: #4c1d95;
  --lg-history-year-h1: #6d28d9;
  --lg-history-selected-bg: rgba(167, 139, 250, 0.25);
  --lg-history-selected-text: #6d28d9;
  --lg-sys-link: #7c3aed;
  --lg-sys-body-text: #4c1d95;
  --lg-sys-btn: #7c3aed;
  --lg-sys-btn-muted: rgba(76, 29, 149, 0.65);
  --lg-overlay: rgba(76, 29, 149, 0.35);
  --lg-overlay-strong: rgba(76, 29, 149, 0.4);
  --lg-dir-item-hover: #e9d5ff;
}
html[data-theme="glass-aurora"] body {
  background-image: linear-gradient(125deg, #ffd6e0, #c0e0ff, #d9f0ec, #ffe3c9);
  background-size: 300% 300%;
  background-attachment: fixed;
  animation: lgGlassAuroraMove 12s ease infinite;
  min-height: 100vh;
}

/* ========== 4. 暖阳琥珀 ========== */
html[data-theme="glass-amber"] {
  --theme-body-bg: #fde2c4;
  --theme-text: #4a2a1a;
  --theme-card-bg: rgba(255, 245, 235, 0.55);
  --theme-card-border: rgba(255, 230, 200, 0.8);
  --theme-title-bg: rgba(217, 119, 6, 0.42);
  --theme-title-text: #fffbeb;
  --theme-notice-bg: rgba(234, 88, 12, 0.42);
  --theme-notice-text: #fff7ed;
  --theme-tab-active-bg: rgba(245, 158, 11, 0.55);
  --theme-tab-active-text: #422006;
  --theme-tab-bg: rgba(255, 250, 240, 0.4);
  --theme-tab-text: #78350f;
  --theme-shadow: 0 12px 28px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 200, 0.6);
  --lg-shadow-tint: rgba(180, 83, 9, 0.12);
  --lg-nav-title-bg: linear-gradient(135deg, rgba(245, 158, 11, 0.65) 0%, rgba(217, 119, 6, 0.58) 52%, rgba(234, 88, 12, 0.55) 100%);
  --lg-widget-body-bg: linear-gradient(180deg, rgba(255, 252, 245, 0.65) 0%, rgba(255, 237, 213, 0.45) 48%, rgba(254, 215, 170, 0.4) 100%);
  --lg-widget-hd-bg: linear-gradient(135deg, rgba(251, 191, 36, 0.82) 0%, rgba(245, 158, 11, 0.78) 48%, rgba(217, 119, 6, 0.8) 100%);
  --lg-bubble-a: rgba(251, 191, 36, 0.6);
  --lg-bubble-b: rgba(180, 83, 9, 0.45);
  --lg-jmxc-biaoti-bg: linear-gradient(135deg, rgba(245, 158, 11, 0.8) 0%, rgba(217, 119, 6, 0.76) 52%, rgba(234, 88, 12, 0.78) 100%);
  --lg-float-nav-1: linear-gradient(135deg, rgba(52, 211, 153, 0.78) 0%, rgba(245, 158, 11, 0.75) 45%, rgba(217, 119, 6, 0.72) 100%);
  --lg-float-nav-2: linear-gradient(135deg, rgba(251, 191, 36, 0.78) 0%, rgba(234, 88, 12, 0.75) 48%, rgba(180, 83, 9, 0.72) 100%);
  --lg-history-panel-grad: linear-gradient(165deg, rgba(255, 252, 245, 0.45) 0%, rgba(255, 237, 213, 0.35) 45%, rgba(254, 215, 170, 0.32) 100%);
  --lg-history-year-sheet: linear-gradient(180deg, rgba(255, 250, 240, 0.5) 0%, rgba(255, 237, 213, 0.42) 100%);
  --lg-sys-popup-grad: linear-gradient(160deg, rgba(255, 252, 245, 0.45) 0%, rgba(255, 237, 213, 0.38) 50%, rgba(254, 215, 170, 0.36) 100%);
  --lg-sys-header-grad: linear-gradient(135deg, rgba(251, 191, 36, 0.75) 0%, rgba(217, 119, 6, 0.72) 52%, rgba(234, 88, 12, 0.72) 100%);
  --lg-year-confirm-grad: linear-gradient(135deg, rgba(245, 158, 11, 0.85) 0%, rgba(217, 119, 6, 0.82) 100%);
  --lg-hd-text: #fffbeb;
  --lg-hd-text-shadow: rgba(66, 32, 6, 0.35);
  --lg-lottys-color: #78350f;
  --lg-countdown: #b45309;
  --lg-ft-color: #9a3412;
  --lg-ft-bg: linear-gradient(180deg, rgba(255, 247, 237, 0.92) 0%, rgba(255, 237, 213, 0.9) 100%);
  --lg-ft-border: rgba(251, 146, 60, 0.5);
  --lg-slot-text: #c2410c;
  --lg-jmxc-title: #fffbeb;
  --lg-dir-title: #9a3412;
  --lg-dir-item-color: #7c2d12;
  --lg-history-header-text: #7c2d12;
  --lg-history-header-left: #9a3412;
  --lg-history-text: #7c2d12;
  --lg-history-btn-color: #7c2d12;
  --lg-history-year-h1: #9a3412;
  --lg-history-selected-bg: rgba(245, 158, 11, 0.28);
  --lg-history-selected-text: #9a3412;
  --lg-sys-link: #c2410c;
  --lg-sys-body-text: #7c2d12;
  --lg-sys-btn: #c2410c;
  --lg-sys-btn-muted: rgba(120, 53, 15, 0.7);
  --lg-overlay: rgba(66, 32, 6, 0.38);
  --lg-overlay-strong: rgba(66, 32, 6, 0.42);
  --lg-dir-item-hover: #ffedd5;
}
html[data-theme="glass-amber"] body {
  background-image: linear-gradient(145deg, #fde2c4, #f5b37f, #e7a76f);
  background-attachment: fixed;
  background-size: 180% 180%;
  animation: lgGlassAmberBreath 10s ease infinite;
  min-height: 100vh;
}

/* ========== 5. 赛博紫晶 ========== */
html[data-theme="glass-cyber"] {
  --theme-body-bg: #0f0a2a;
  --theme-text: #f0e6ff;
  --theme-card-bg: rgba(30, 20, 50, 0.65);
  --theme-card-border: rgba(180, 100, 255, 0.5);
  --theme-title-bg: rgba(147, 51, 234, 0.45);
  --theme-title-text: #faf5ff;
  --theme-notice-bg: rgba(168, 85, 247, 0.4);
  --theme-notice-text: #faf5ff;
  --theme-tab-active-bg: rgba(217, 70, 239, 0.55);
  --theme-tab-active-text: #fdf4ff;
  --theme-tab-bg: rgba(45, 25, 80, 0.55);
  --theme-tab-text: #e9d5ff;
  --theme-shadow: 0 0 20px rgba(180, 100, 255, 0.3), inset 0 0 8px rgba(200, 120, 255, 0.35);
  --lg-shadow-tint: rgba(168, 85, 247, 0.35);
  --lg-nav-title-bg: linear-gradient(135deg, rgba(147, 51, 234, 0.72) 0%, rgba(126, 34, 206, 0.68) 48%, rgba(88, 28, 135, 0.72) 100%);
  --lg-widget-body-bg: linear-gradient(180deg, rgba(55, 35, 95, 0.72) 0%, rgba(40, 25, 72, 0.7) 48%, rgba(30, 18, 55, 0.75) 100%);
  --lg-widget-hd-bg: linear-gradient(135deg, rgba(168, 85, 247, 0.88) 0%, rgba(147, 51, 234, 0.85) 48%, rgba(192, 38, 211, 0.85) 100%);
  --lg-bubble-a: rgba(232, 121, 249, 0.55);
  --lg-bubble-b: rgba(126, 34, 206, 0.5);
  --lg-jmxc-biaoti-bg: linear-gradient(135deg, rgba(168, 85, 247, 0.85) 0%, rgba(147, 51, 234, 0.82) 52%, rgba(192, 38, 211, 0.82) 100%);
  --lg-float-nav-1: linear-gradient(135deg, rgba(52, 211, 153, 0.65) 0%, rgba(168, 85, 247, 0.75) 45%, rgba(217, 70, 239, 0.72) 100%);
  --lg-float-nav-2: linear-gradient(135deg, rgba(217, 70, 239, 0.78) 0%, rgba(147, 51, 234, 0.75) 48%, rgba(168, 85, 247, 0.75) 100%);
  --lg-history-panel-grad: linear-gradient(165deg, rgba(55, 35, 95, 0.55) 0%, rgba(40, 25, 72, 0.5) 45%, rgba(30, 18, 55, 0.52) 100%);
  --lg-history-year-sheet: linear-gradient(180deg, rgba(50, 32, 85, 0.58) 0%, rgba(38, 22, 65, 0.55) 100%);
  --lg-sys-popup-grad: linear-gradient(160deg, rgba(55, 35, 95, 0.58) 0%, rgba(42, 26, 75, 0.52) 50%, rgba(32, 18, 58, 0.55) 100%);
  --lg-sys-header-grad: linear-gradient(135deg, rgba(168, 85, 247, 0.82) 0%, rgba(147, 51, 234, 0.78) 52%, rgba(192, 38, 211, 0.78) 100%);
  --lg-year-confirm-grad: linear-gradient(135deg, rgba(217, 70, 239, 0.85) 0%, rgba(168, 85, 247, 0.82) 100%);
  --lg-hd-text: #fdf4ff;
  --lg-hd-text-shadow: rgba(88, 28, 135, 0.5);
  --lg-lottys-color: #3b0764;
  --lg-countdown: #e879f9;
  --lg-ft-color: #e9d5ff;
  --lg-ft-bg: linear-gradient(180deg, rgba(45, 25, 75, 0.92) 0%, rgba(35, 18, 58, 0.92) 100%);
  --lg-ft-border: rgba(168, 85, 247, 0.45);
  --lg-slot-text: #f0abfc;
  --lg-jmxc-title: #fdf4ff;
  --lg-dir-title: #e9d5ff;
  --lg-dir-item-color: #f3e8ff;
  --lg-history-header-text: #f3e8ff;
  --lg-history-header-left: #e879f9;
  --lg-history-text: #ede9fe;
  --lg-history-btn-color: #f3e8ff;
  --lg-history-year-h1: #e879f9;
  --lg-history-selected-bg: rgba(168, 85, 247, 0.35);
  --lg-history-selected-text: #f0abfc;
  --lg-sys-link: #c084fc;
  --lg-sys-body-text: #ede9fe;
  --lg-sys-btn: #c084fc;
  --lg-sys-btn-muted: rgba(237, 233, 254, 0.65);
  --lg-overlay: rgba(15, 5, 35, 0.65);
  --lg-overlay-strong: rgba(15, 5, 35, 0.72);
  --lg-dir-item-hover: rgba(88, 28, 135, 0.55);
}
html[data-theme="glass-cyber"] body {
  background-image: radial-gradient(circle at 80% 10%, #1a0033, #2a105a, #0f0a2a);
  background-attachment: fixed;
  animation: lgGlassCyberPulse 4s ease infinite alternate;
  min-height: 100vh;
}

/* ========== 6. 冰霜极地 ========== */
html[data-theme="glass-frost"] {
  --theme-body-bg: #e0f0ff;
  --theme-text: #1e466e;
  --theme-card-bg: rgba(255, 255, 255, 0.7);
  --theme-card-border: rgba(255, 255, 255, 0.9);
  --theme-title-bg: rgba(14, 165, 233, 0.38);
  --theme-title-text: #f0f9ff;
  --theme-notice-bg: rgba(56, 189, 248, 0.4);
  --theme-notice-text: #f0f9ff;
  --theme-tab-active-bg: rgba(14, 165, 233, 0.5);
  --theme-tab-active-text: #f8fafc;
  --theme-tab-bg: rgba(255, 255, 255, 0.45);
  --theme-tab-text: #0c4a6e;
  --theme-shadow: 0 10px 20px rgba(0, 0, 0, 0.02), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  --lg-shadow-tint: rgba(14, 116, 144, 0.1);
  --lg-nav-title-bg: linear-gradient(135deg, rgba(125, 211, 252, 0.55) 0%, rgba(56, 189, 248, 0.5) 52%, rgba(14, 165, 233, 0.52) 100%);
  --lg-widget-body-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(240, 249, 255, 0.55) 48%, rgba(224, 242, 254, 0.48) 100%);
  --lg-widget-hd-bg: linear-gradient(135deg, rgba(56, 189, 248, 0.82) 0%, rgba(14, 165, 233, 0.78) 48%, rgba(2, 132, 199, 0.8) 100%);
  --lg-bubble-a: rgba(125, 211, 252, 0.65);
  --lg-bubble-b: rgba(14, 116, 144, 0.4);
  --lg-jmxc-biaoti-bg: linear-gradient(135deg, rgba(56, 189, 248, 0.78) 0%, rgba(14, 165, 233, 0.75) 52%, rgba(2, 132, 199, 0.78) 100%);
  --lg-float-nav-1: linear-gradient(135deg, rgba(52, 211, 153, 0.75) 0%, rgba(56, 189, 248, 0.72) 45%, rgba(14, 165, 233, 0.72) 100%);
  --lg-float-nav-2: linear-gradient(135deg, rgba(125, 211, 252, 0.78) 0%, rgba(14, 165, 233, 0.75) 48%, rgba(2, 132, 199, 0.72) 100%);
  --lg-history-panel-grad: linear-gradient(165deg, rgba(255, 255, 255, 0.48) 0%, rgba(240, 249, 255, 0.36) 45%, rgba(224, 242, 254, 0.34) 100%);
  --lg-history-year-sheet: linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(240, 249, 255, 0.42) 100%);
  --lg-sys-popup-grad: linear-gradient(160deg, rgba(255, 255, 255, 0.45) 0%, rgba(240, 249, 255, 0.36) 50%, rgba(224, 242, 254, 0.36) 100%);
  --lg-sys-header-grad: linear-gradient(135deg, rgba(56, 189, 248, 0.72) 0%, rgba(14, 165, 233, 0.68) 52%, rgba(2, 132, 199, 0.7) 100%);
  --lg-year-confirm-grad: linear-gradient(135deg, rgba(14, 165, 233, 0.8) 0%, rgba(2, 132, 199, 0.78) 100%);
  --lg-hd-text: #f0f9ff;
  --lg-hd-text-shadow: rgba(8, 47, 73, 0.3);
  --lg-lottys-color: #0c4a6e;
  --lg-countdown: #0369a1;
  --lg-ft-color: #0c4a6e;
  --lg-ft-bg: linear-gradient(180deg, rgba(240, 249, 255, 0.95) 0%, rgba(224, 242, 254, 0.92) 100%);
  --lg-ft-border: rgba(125, 211, 252, 0.65);
  --lg-slot-text: #0369a1;
  --lg-jmxc-title: #f0f9ff;
  --lg-dir-title: #0c4a6e;
  --lg-dir-item-color: #1e466e;
  --lg-history-header-text: #1e466e;
  --lg-history-header-left: #0369a1;
  --lg-history-text: #1e466e;
  --lg-history-btn-color: #1e466e;
  --lg-history-year-h1: #0369a1;
  --lg-history-selected-bg: rgba(14, 165, 233, 0.22);
  --lg-history-selected-text: #0369a1;
  --lg-sys-link: #0284c7;
  --lg-sys-body-text: #1e466e;
  --lg-sys-btn: #0284c7;
  --lg-sys-btn-muted: rgba(30, 70, 110, 0.65);
  --lg-overlay: rgba(12, 74, 110, 0.35);
  --lg-overlay-strong: rgba(12, 74, 110, 0.4);
  --lg-dir-item-hover: #bae6fd;
}
html[data-theme="glass-frost"] body {
  background-image: linear-gradient(120deg, #c8e8ff, #e0f0ff, #ffffff);
  background-attachment: fixed;
  background-size: 200% 200%;
  animation: lgGlassFrostFloat 12s ease infinite;
  min-height: 100vh;
}

/* ========== 7. 樱花甜梦 ========== */
html[data-theme="glass-sakura"] {
  --theme-body-bg: #ffe9f4;
  --theme-text: #8b5a6b;
  --theme-card-bg: rgba(255, 248, 250, 0.55);
  --theme-card-border: rgba(255, 200, 220, 0.8);
  --theme-title-bg: rgba(244, 114, 182, 0.4);
  --theme-title-text: #fff1f2;
  --theme-notice-bg: rgba(251, 113, 133, 0.42);
  --theme-notice-text: #fff1f2;
  --theme-tab-active-bg: rgba(244, 114, 182, 0.5);
  --theme-tab-active-text: #fff1f2;
  --theme-tab-bg: rgba(255, 250, 252, 0.42);
  --theme-tab-text: #9f1239;
  --theme-shadow: 0 12px 28px rgba(255, 128, 128, 0.08);
  --lg-shadow-tint: rgba(244, 114, 182, 0.12);
  --lg-nav-title-bg: linear-gradient(135deg, rgba(251, 113, 133, 0.55) 0%, rgba(244, 114, 182, 0.5) 52%, rgba(236, 72, 153, 0.52) 100%);
  --lg-widget-body-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 241, 246, 0.45) 48%, rgba(254, 205, 211, 0.38) 100%);
  --lg-widget-hd-bg: linear-gradient(135deg, rgba(251, 113, 133, 0.78) 0%, rgba(244, 114, 182, 0.75) 48%, rgba(236, 72, 153, 0.76) 100%);
  --lg-bubble-a: rgba(251, 182, 206, 0.6);
  --lg-bubble-b: rgba(219, 39, 119, 0.4);
  --lg-jmxc-biaoti-bg: linear-gradient(135deg, rgba(251, 113, 133, 0.78) 0%, rgba(244, 114, 182, 0.75) 52%, rgba(236, 72, 153, 0.76) 100%);
  --lg-float-nav-1: linear-gradient(135deg, rgba(52, 211, 153, 0.72) 0%, rgba(244, 114, 182, 0.72) 45%, rgba(251, 113, 133, 0.7) 100%);
  --lg-float-nav-2: linear-gradient(135deg, rgba(251, 182, 206, 0.78) 0%, rgba(244, 114, 182, 0.75) 48%, rgba(236, 72, 153, 0.72) 100%);
  --lg-history-panel-grad: linear-gradient(165deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 241, 246, 0.34) 45%, rgba(254, 205, 211, 0.32) 100%);
  --lg-history-year-sheet: linear-gradient(180deg, rgba(255, 250, 252, 0.48) 0%, rgba(255, 241, 246, 0.4) 100%);
  --lg-sys-popup-grad: linear-gradient(160deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 241, 246, 0.34) 50%, rgba(254, 205, 211, 0.34) 100%);
  --lg-sys-header-grad: linear-gradient(135deg, rgba(251, 113, 133, 0.72) 0%, rgba(244, 114, 182, 0.68) 52%, rgba(236, 72, 153, 0.7) 100%);
  --lg-year-confirm-grad: linear-gradient(135deg, rgba(244, 114, 182, 0.78) 0%, rgba(236, 72, 153, 0.75) 100%);
  --lg-hd-text: #fff1f2;
  --lg-hd-text-shadow: rgba(157, 23, 77, 0.28);
  --lg-lottys-color: #9f1239;
  --lg-countdown: #e11d48;
  --lg-ft-color: #be185d;
  --lg-ft-bg: linear-gradient(180deg, rgba(255, 241, 246, 0.92) 0%, rgba(254, 205, 211, 0.88) 100%);
  --lg-ft-border: rgba(251, 182, 206, 0.65);
  --lg-slot-text: #be185d;
  --lg-jmxc-title: #fff1f2;
  --lg-dir-title: #9f1239;
  --lg-dir-item-color: #831843;
  --lg-history-header-text: #831843;
  --lg-history-header-left: #be185d;
  --lg-history-text: #831843;
  --lg-history-btn-color: #831843;
  --lg-history-year-h1: #be185d;
  --lg-history-selected-bg: rgba(244, 114, 182, 0.25);
  --lg-history-selected-text: #be185d;
  --lg-sys-link: #e11d48;
  --lg-sys-body-text: #831843;
  --lg-sys-btn: #e11d48;
  --lg-sys-btn-muted: rgba(131, 24, 67, 0.65);
  --lg-overlay: rgba(131, 24, 67, 0.32);
  --lg-overlay-strong: rgba(131, 24, 67, 0.38);
  --lg-dir-item-hover: #fce7f3;
}
html[data-theme="glass-sakura"] body {
  background-image: linear-gradient(135deg, #ffe9f4, #ffd9e8, #ffe0f0);
  background-attachment: fixed;
  background-size: 180% 180%;
  animation: lgGlassSakuraBreath 9s ease infinite;
  min-height: 100vh;
}

/* ========== 液态玻璃：共享组件（变量驱动） ========== */
/* 液态玻璃：顶栏、公告、Tab、广告区磨砂 */
html[data-theme^="glass-"] .home-nav-title {
  background: var(--lg-nav-title-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 10px 36px var(--lg-shadow-tint), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

html[data-theme^="glass-"] .home-notice-bar {
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

html[data-theme^="glass-"] .tabs button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

html[data-theme^="glass-"] .tabs button.active {
  box-shadow: 0 6px 20px var(--lg-shadow-tint), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-theme^="glass-"] .home-ad-images,
html[data-theme^="glass-"] .home-mid-ad-images,
html[data-theme^="glass-"] .home-footer-ad-images {
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  box-shadow: 0 12px 36px var(--lg-shadow-tint), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* 资料区（吉美凶丑等）：整块液态玻璃壳，与开奖区 #widget 同材料体系（覆盖 theme-tokens 的纯色 card-bg） */
html[data-theme^="glass-"] .jmxc-open-log {
  background: var(--lg-widget-body-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.52) !important;
  border-radius: 14px !important;
  box-shadow:
    0 12px 40px var(--lg-shadow-tint),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  overflow: hidden !important;
}

/* 开奖区海洋化：与其他板块保持同一蓝青层次与圆角语义 */
html[data-theme^="glass-"] #widget {
  border-radius: 12px;
}

/* 整块开奖区略加宽（相对 .wrap），与其它资料卡对齐时更宽一行 */
html[data-theme^="glass-"] #widget.border-ws {
  margin-left: -8px;
  margin-right: -8px;
  width: calc(100% + 16px);
  max-width: calc(100% + 16px);
  box-sizing: border-box;
}

html[data-theme^="glass-"] #widget .border-box-body {
  background: var(--lg-widget-body-bg);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  box-shadow: 0 12px 40px var(--lg-shadow-tint), inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  padding: 4px 2px 6px !important;
}

/* 开奖区顶栏：海洋渐变条宽度小于下方白底区（左右内缩），避免与球区同宽 */
html[data-theme^="glass-"] #widget .border-box-body-hd {
  position: relative;
  z-index: 1;
  min-height: 0;
  box-sizing: border-box;
  margin-left: 1px;
  margin-right: 1px;
  margin-bottom: 4px;
  background: var(--lg-widget-hd-bg) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px 10px 0 0;
  padding: 5px 22px 4px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

html[data-theme^="glass-"] #widget .border-box-body-hd::before,
html[data-theme^="glass-"] #widget .border-box-body-hd::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  top: 50%;
  bottom: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 30%,
    #ffffff 0%,
    rgba(224, 250, 255, 0.95) 28%,
    var(--lg-bubble-a) 62%,
    var(--lg-bubble-b) 100%
  );
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 5px rgba(8, 47, 73, 0.2);
  transform: translateY(-50%);
}

html[data-theme^="glass-"] #widget .border-box-body-hd::before {
  left: 10px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 5px rgba(8, 47, 73, 0.2),
    11px 5px 0 -2px rgba(255, 255, 255, 0.45), 6px -7px 0 -3px rgba(186, 230, 253, 0.55);
}

html[data-theme^="glass-"] #widget .border-box-body-hd::after {
  right: 10px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 5px rgba(8, 47, 73, 0.2),
    -11px 5px 0 -2px rgba(255, 255, 255, 0.45), -6px -7px 0 -3px rgba(186, 230, 253, 0.55);
}

/* 开奖区顶栏两侧装饰：按液态玻璃子主题定制 */
html[data-theme="glass-dawn"] #widget .border-box-body-hd::before,
html[data-theme="glass-dawn"] #widget .border-box-body-hd::after {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 30% 28%, #ffffff 0%, rgba(224, 242, 254, 0.95) 26%, rgba(125, 211, 252, 0.88) 62%, rgba(14, 165, 233, 0.85) 100%) !important;
}

html[data-theme="glass-night"] #widget .border-box-body-hd::before,
html[data-theme="glass-night"] #widget .border-box-body-hd::after {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 248, 210, 0.95) 0%, rgba(255, 248, 210, 0.55) 18%, transparent 38%),
    radial-gradient(circle at 70% 68%, rgba(138, 180, 255, 0.9) 0%, rgba(85, 115, 190, 0.85) 55%, rgba(35, 45, 85, 0.9) 100%) !important;
}
html[data-theme="glass-night"] #widget .border-box-body-hd::before {
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.28), 0 2px 6px rgba(0, 0, 0, 0.45),
    11px 5px 0 -2px rgba(138, 180, 255, 0.35), 6px -7px 0 -3px rgba(255, 225, 160, 0.22) !important;
}
html[data-theme="glass-night"] #widget .border-box-body-hd::after {
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.28), 0 2px 6px rgba(0, 0, 0, 0.45),
    -11px 5px 0 -2px rgba(138, 180, 255, 0.35), -6px -7px 0 -3px rgba(255, 225, 160, 0.22) !important;
}

html[data-theme="glass-aurora"] #widget .border-box-body-hd::before,
html[data-theme="glass-aurora"] #widget .border-box-body-hd::after {
  width: 13px !important;
  height: 13px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.98) 0%, rgba(254, 242, 255, 0.9) 20%, rgba(244, 114, 182, 0.75) 45%, rgba(167, 139, 250, 0.82) 70%, rgba(56, 189, 248, 0.78) 100%) !important;
}

html[data-theme="glass-amber"] #widget .border-box-body-hd::before,
html[data-theme="glass-amber"] #widget .border-box-body-hd::after {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 34% 28%, rgba(255, 251, 235, 1) 0%, rgba(254, 243, 199, 0.95) 24%, rgba(251, 191, 36, 0.88) 55%, rgba(217, 119, 6, 0.9) 100%) !important;
}
html[data-theme="glass-amber"] #widget .border-box-body-hd::before {
  box-shadow: inset 0 1px 2px rgba(255, 255, 220, 0.9), 0 2px 6px rgba(146, 64, 14, 0.35),
    11px 5px 0 -2px rgba(253, 224, 71, 0.38), 6px -7px 0 -3px rgba(245, 158, 11, 0.32) !important;
}
html[data-theme="glass-amber"] #widget .border-box-body-hd::after {
  box-shadow: inset 0 1px 2px rgba(255, 255, 220, 0.9), 0 2px 6px rgba(146, 64, 14, 0.35),
    -11px 5px 0 -2px rgba(253, 224, 71, 0.38), -6px -7px 0 -3px rgba(245, 158, 11, 0.32) !important;
}

html[data-theme="glass-cyber"] #widget .border-box-body-hd::before,
html[data-theme="glass-cyber"] #widget .border-box-body-hd::after {
  width: 11px !important;
  height: 11px !important;
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(245, 243, 255, 0.95) 0%, rgba(216, 180, 255, 0.82) 28%, rgba(168, 85, 247, 0.88) 56%, rgba(88, 28, 135, 0.92) 100%) !important;
}
html[data-theme="glass-cyber"] #widget .border-box-body-hd::before {
  transform: translateY(-50%) rotate(45deg) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 10px rgba(217, 70, 239, 0.45),
    10px 4px 0 -2px rgba(168, 85, 247, 0.4), 6px -7px 0 -3px rgba(217, 70, 239, 0.35);
}
html[data-theme="glass-cyber"] #widget .border-box-body-hd::after {
  transform: translateY(-50%) rotate(45deg) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 10px rgba(217, 70, 239, 0.45),
    -10px 4px 0 -2px rgba(168, 85, 247, 0.4), -6px -7px 0 -3px rgba(217, 70, 239, 0.35);
}

html[data-theme="glass-frost"] #widget .border-box-body-hd::before,
html[data-theme="glass-frost"] #widget .border-box-body-hd::after {
  width: 13px !important;
  height: 13px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(186, 230, 253, 0.78) 40%, rgba(14, 165, 233, 0.7) 100%),
    conic-gradient(from 0deg, rgba(224, 242, 254, 0.9), rgba(125, 211, 252, 0.65), rgba(224, 242, 254, 0.9)) !important;
}

html[data-theme="glass-sakura"] #widget .border-box-body-hd::before,
html[data-theme="glass-sakura"] #widget .border-box-body-hd::after {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 228, 236, 0.9) 24%, rgba(251, 182, 206, 0.85) 54%, rgba(236, 72, 153, 0.82) 100%) !important;
}
html[data-theme="glass-sakura"] #widget .border-box-body-hd::before {
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 5px rgba(157, 23, 77, 0.24),
    11px 5px 0 -2px rgba(253, 164, 175, 0.4), 6px -7px 0 -3px rgba(244, 114, 182, 0.3);
}
html[data-theme="glass-sakura"] #widget .border-box-body-hd::after {
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 5px rgba(157, 23, 77, 0.24),
    -11px 5px 0 -2px rgba(253, 164, 175, 0.4), -6px -7px 0 -3px rgba(244, 114, 182, 0.3);
}

html[data-theme^="glass-"] #widget .border-box-body-hd .van-row--justify-space-between {
  align-items: center !important;
  position: relative;
  z-index: 1;
}

html[data-theme^="glass-"] #widget .border-box-body-hd .text-left,
html[data-theme^="glass-"] #widget .border-box-body-hd .text-right,
html[data-theme^="glass-"] #widget .border-box-body-hd #historyLink {
  color: var(--lg-hd-text) !important;
  font-weight: 700;
  text-shadow: 0 1px 0 var(--lg-hd-text-shadow);
}

html[data-theme^="glass-"] #widget .border-box-body-hd .text-left span {
  color: var(--lg-hd-text) !important;
}

html[data-theme^="glass-"] #widget .border-box-body-hd .lottys {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(236, 254, 255, 0.95);
  background: rgba(255, 255, 255, 0.92);
  color: var(--lg-lottys-color) !important;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.05;
  text-shadow: none;
  box-shadow: 0 1px 3px rgba(8, 47, 73, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-theme^="glass-"] #widget .border-box-body-hd .lottys .lottys-label {
  color: var(--lg-lottys-color) !important;
}

html[data-theme^="glass-"] #widget .border-box-body-hd .van-count-down {
  color: var(--lg-countdown) !important;
  font-weight: 900;
  text-shadow: none;
  font-size: 14px;
  line-height: 1;
}

html[data-theme^="glass-"] #widget .border-box-body-hd #historyLink {
  color: var(--lg-hd-text) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html[data-theme^="glass-"] #widget .border-box-body-ft {
  color: var(--lg-ft-color) !important;
  background: var(--lg-ft-bg);
  border-top: 1px solid var(--lg-ft-border);
}

html[data-theme^="glass-"] #widget.border-ws {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

html[data-theme^="glass-"] #widget .border-box {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html[data-theme^="glass-"] #widget .border-box-body-bd .slot-text {
  color: var(--lg-slot-text) !important;
}

/* 球区相对顶栏更宽：在父级已少 padding 基础上再铺满；与顶栏拉开，减轻与球体重叠感 */
html[data-theme^="glass-"] #widget .border-box-body-bd {
  position: relative;
  z-index: 2;
  padding: 6px 6px 4px !important;
  margin-top: 2px;
}

@media (max-width: 540px) {
  html[data-theme^="glass-"] #widget.border-ws {
    margin-left: -4px;
    margin-right: -4px;
    width: calc(100% + 8px);
    max-width: calc(100% + 8px);
  }

  html[data-theme^="glass-"] #widget .border-box-body {
    padding: 3px 2px 5px !important;
  }

  /* 海洋主题：胶囊内上下两行（覆盖桌面端 inline-flex 横排） */
  html[data-theme^="glass-"] #widget .border-box-body-hd {
    margin-left: 1px;
    margin-right: 1px;
    margin-bottom: 3px;
    padding: 4px 16px 3px;
  }

  html[data-theme^="glass-"] #widget .border-box-body-hd .lottys {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    white-space: normal !important;
    padding: 2px 8px !important;
  }

  html[data-theme^="glass-"] #widget .border-box-body-hd .lottys .lottys-label {
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.15;
    text-align: center;
    color: var(--lg-lottys-color) !important;
  }

  html[data-theme^="glass-"] #widget .border-box-body-hd .van-count-down {
    font-size: 12px !important;
    line-height: 1;
  }

  /* 历史开奖记录：移动端统一左期号/右时间字号 */
  html[data-theme^="glass-"] .history-modal .history-list .body-list-item .hd-text .van-col:first-child,
  html[data-theme^="glass-"] .history-modal .history-list .body-list-item .hd-text .van-col:last-child,
  html[data-theme^="glass-"] .history-modal .history-list .body-list-item .hd-text .van-col:last-child span {
    font-size: 13px !important;
  }
}

html[data-theme^="glass-"] .jmxc-biaoti {
  background: var(--lg-jmxc-biaoti-bg) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px) saturate(155%);
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* jmxc 标题条：按液态玻璃子主题做差异化覆盖 */
/* （已还原）不做子主题差异化，统一使用通用玻璃样式 */

/* 两侧装饰：按玻璃子主题切换不同风格 */
html[data-theme^="glass-"] .jmxc-biaoti::before,
html[data-theme^="glass-"] .jmxc-biaoti::after {
  top: 50%;
  bottom: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 30%,
    #ffffff 0%,
    rgba(224, 250, 255, 0.95) 28%,
    var(--lg-bubble-a) 62%,
    var(--lg-bubble-b) 100%
  );
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 5px rgba(8, 47, 73, 0.2);
  transform: translateY(-50%);
}

html[data-theme^="glass-"] .jmxc-biaoti::before {
  left: 10px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 5px rgba(8, 47, 73, 0.2),
    11px 5px 0 -2px rgba(255, 255, 255, 0.45), 6px -7px 0 -3px rgba(186, 230, 253, 0.55);
}

html[data-theme^="glass-"] .jmxc-biaoti::after {
  right: 10px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 5px rgba(8, 47, 73, 0.2),
    -11px 5px 0 -2px rgba(255, 255, 255, 0.45), -6px -7px 0 -3px rgba(186, 230, 253, 0.55);
}


html[data-theme^="glass-"] .jmxc-biaoti-title {
  color: var(--lg-jmxc-title) !important;
  text-shadow: 0 1px 0 var(--lg-hd-text-shadow);
}

/* 资料区内层：去掉实色白底，磨砂条 + 主题字色 */
html[data-theme^="glass-"] .jmxc-open-log .jmxc-content,
html[data-theme^="glass-"] .jmxc-open-log .content.bg-fff {
  background: rgba(255, 255, 255, 0.07) !important;
  color: var(--theme-text) !important;
  border-top: 0 !important;
  backdrop-filter: blur(12px) saturate(155%);
  -webkit-backdrop-filter: blur(12px) saturate(155%);
}

html[data-theme^="glass-"] .jmxc-open-log .jmxc-tip,
html[data-theme^="glass-"] .jmxc-open-log .sanguo-tip {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

html[data-theme^="glass-"] .jmxc-open-log .jmxc-tip-row,
html[data-theme^="glass-"] .jmxc-open-log .jmxc-tip-row .jmxc-zodiac-j,
html[data-theme^="glass-"] .jmxc-open-log .jmxc-tip-row .jmxc-zodiac-x,
html[data-theme^="glass-"] .jmxc-open-log .jmxc-tip-row .jmxc-tip-lbl {
  color: var(--theme-text) !important;
}

html[data-theme^="glass-"] .jmxc-open-log .color-1e90ff {
  color: var(--lg-sys-link) !important;
}

html[data-theme^="glass-"] .jmxc-open-log .sanguo-tip p {
  color: var(--theme-text) !important;
}

html[data-theme^="glass-"] .jmxc-open-log .jmxc-rows-inner .text.juzhong.waibiankuang {
  background: rgba(255, 255, 255, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: var(--theme-text) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

html[data-theme^="glass-"] .jmxc-open-log .jmxc-empty {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  color: var(--theme-text) !important;
}

html[data-theme^="glass-"] .jmxc-open-log .jmxc-err {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(252, 165, 165, 0.5) !important;
  color: #fecaca !important;
}

/* 右下导航键海洋化 */
html[data-theme^="glass-"] .floating-nav button {
  background: var(--lg-float-nav-1) !important;
  color: var(--theme-title-text) !important;
  box-shadow: 0 10px 28px var(--lg-shadow-tint), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

html[data-theme^="glass-"] .floating-nav button.secondary {
  background: var(--lg-float-nav-2) !important;
  color: var(--theme-title-text) !important;
}

html[data-theme^="glass-"] .floating-nav button:hover {
  filter: brightness(1.04);
}

html[data-theme^="glass-"] .floating-directory {
  background: rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 14px 40px var(--lg-shadow-tint), inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
}

html[data-theme^="glass-"] .floating-directory .dir-title {
  color: var(--lg-dir-title) !important;
}

html[data-theme^="glass-"] .floating-directory .dir-item {
  background: rgba(224, 242, 254, 0.55) !important;
  color: var(--lg-dir-item-color) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-theme^="glass-"] .floating-directory .dir-item:hover {
  background: var(--lg-dir-item-hover) !important;
}

html[data-theme^="glass-"] .floating-directory .dir-empty {
  color: var(--lg-dir-title) !important; opacity: 0.85;
}

/* 暗夜流光 / 赛博紫晶：资料目录 = 半透明 + 强磨砂（勿用 0.9+ 实色，否则看不出液态玻璃） */
html[data-theme="glass-night"] .floating-directory {
  background: linear-gradient(
    165deg,
    rgba(42, 50, 82, 0.48) 0%,
    rgba(28, 34, 58, 0.44) 48%,
    rgba(22, 26, 46, 0.46) 100%
  ) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    0 14px 44px var(--lg-shadow-tint),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

html[data-theme="glass-cyber"] .floating-directory {
  background: linear-gradient(
    165deg,
    rgba(88, 48, 130, 0.5) 0%,
    rgba(52, 28, 92, 0.44) 48%,
    rgba(38, 20, 72, 0.48) 100%
  ) !important;
  border-color: rgba(232, 180, 255, 0.28) !important;
  box-shadow:
    0 14px 44px var(--lg-shadow-tint),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
}

html[data-theme="glass-night"] .floating-directory .dir-item,
html[data-theme="glass-cyber"] .floating-directory .dir-item {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: var(--lg-dir-item-color) !important;
  backdrop-filter: blur(14px) saturate(165%);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
}

html[data-theme="glass-night"] .floating-directory .dir-item:hover,
html[data-theme="glass-cyber"] .floating-directory .dir-item:hover {
  background: var(--lg-dir-item-hover) !important;
  backdrop-filter: blur(16px) saturate(175%);
  -webkit-backdrop-filter: blur(16px) saturate(175%);
}

html[data-theme="glass-night"] .floating-directory .dir-title,
html[data-theme="glass-cyber"] .floating-directory .dir-title {
  color: var(--lg-dir-title) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

html[data-theme="glass-night"] .floating-directory .dir-empty,
html[data-theme="glass-cyber"] .floating-directory .dir-empty {
  color: var(--lg-dir-title) !important;
  opacity: 0.92;
}

/* 历史弹窗：遮罩层磨砂 + 内层半透明，避免实色盖住 glass */
html[data-theme^="glass-"] .history-modal {
  background: var(--lg-overlay) !important;
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
}

html[data-theme^="glass-"] .history-modal .history-panel {
  background: var(--lg-history-panel-grad) !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  border-radius: 20px !important;
  box-shadow:
    0 24px 64px var(--lg-shadow-tint),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(42px) saturate(200%);
  -webkit-backdrop-filter: blur(42px) saturate(200%);
  overflow: hidden;
}

html[data-theme^="glass-"] .history-modal .history-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.38) !important;
  color: var(--lg-history-header-text) !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

html[data-theme^="glass-"] .history-modal .history-header-left span {
  color: var(--lg-history-header-left) !important;
}

html[data-theme^="glass-"] .history-modal .history-year-btn,
html[data-theme^="glass-"] .history-modal .history-close-btn {
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.35) !important;
  color: var(--lg-history-btn-color) !important;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

html[data-theme^="glass-"] .history-modal .history-list {
  background: transparent !important;
}

html[data-theme^="glass-"] .history-modal .history-list .body-list-item {
  background: rgba(255, 255, 255, 0.13) !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 12px !important;
  padding: 6px 8px 8px;
  margin-bottom: 10px;
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-theme^="glass-"] .history-modal .history-list .body-list-item .hd-text,
html[data-theme^="glass-"] .history-modal .history-list .body-list-item .hd-text span {
  color: var(--lg-history-text) !important;
}

html[data-theme^="glass-"] .history-modal .history-list .body-list-item .hd-text,
html[data-theme^="glass-"] .history-modal .history-list .body-list-item .hd-text .van-row {
  background: transparent !important;
}

html[data-theme^="glass-"] .history-modal .history-list .body-list-item .border-box {
  border-color: rgba(255, 255, 255, 0.38) !important;
  background: transparent !important;
}

html[data-theme^="glass-"] .history-modal .history-list .body-list-item .border-box-body {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* 历史弹窗开奖号码：左移并避免最后一球被 overflow:hidden 裁切 */
html[data-theme^="glass-"] .history-modal .history-list .body-list-item .border-box-body-bd {
  padding-right: 8px !important;
  background: transparent !important;
  border-color: transparent !important;
}

html[data-theme^="glass-"] .history-modal .history-list .body-list-item .border-box-body-bd .van-row {
  background: transparent !important;
  overflow: visible !important;
  transform: translateX(-6px);
}

html[data-theme^="glass-"] .history-modal .history-list .body-list-item .border-box-body-bd .van-col {
  background: transparent !important;
}

html[data-theme^="glass-"] .history-modal .history-list .body-list-item .connect {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-1px);
}

html[data-theme^="glass-"] .history-modal .history-list .body-list-item .slot-text {
  color: var(--lg-slot-text) !important;
}

/* 年份选择：底部抽屉整体磨砂 */
html[data-theme^="glass-"] .history-modal .history-year-mask {
  background: var(--lg-overlay) !important;
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
}

html[data-theme^="glass-"] .history-modal .history-year-sheet {
  background: var(--lg-history-year-sheet) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 -12px 40px var(--lg-shadow-tint), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(36px) saturate(195%);
  -webkit-backdrop-filter: blur(36px) saturate(195%);
}

html[data-theme^="glass-"] .history-modal .history-year-sheet > div:first-child {
  color: var(--lg-history-header-left) !important;
  border-bottom-color: rgba(255, 255, 255, 0.42) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[data-theme^="glass-"] .history-modal .history-year-sheet #xinxin-year-list {
  background: rgba(255, 255, 255, 0.12) !important;
}

html[data-theme^="glass-"] .history-modal .history-year-sheet #xinxin-year-list button {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--lg-history-text) !important;
  border-bottom-color: rgba(255, 255, 255, 0.28) !important;
}

html[data-theme^="glass-"] .history-modal .history-year-sheet #xinxin-year-list button[style*="#f2fff7"] {
  background: var(--lg-history-selected-bg) !important;
  color: var(--lg-history-selected-text) !important;
  font-weight: 700;
}

html[data-theme^="glass-"] .history-modal .history-year-sheet > div:last-child {
  border-top-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html[data-theme^="glass-"] .history-modal .history-year-sheet button[data-action="cancel"] {
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.32) !important;
  color: var(--lg-history-btn-color) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-theme^="glass-"] .history-modal .history-year-sheet button[data-action="confirm"] {
  background: var(--lg-year-confirm-grad) !important;
  color: var(--theme-title-text) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* 系统公告弹窗：遮罩 + 壳体 + 内容区层层半透明 */
html[data-theme^="glass-"] #sys-owned-popup-root {
  background: var(--lg-overlay-strong) !important;
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
}

html[data-theme^="glass-"] #sys-owned-popup-root > div {
  background: var(--lg-sys-popup-grad) !important;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  border-radius: 20px !important;
  box-shadow:
    0 24px 64px var(--lg-shadow-tint),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(40px) saturate(195%);
  -webkit-backdrop-filter: blur(40px) saturate(195%);
  overflow: hidden;
}

html[data-theme^="glass-"] #sys-owned-popup-root > div > div:first-child {
  background: var(--lg-sys-header-grad) !important;
  color: var(--theme-title-text) !important;
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

html[data-theme^="glass-"] #sys-owned-popup-root > div > div:first-child button {
  color: var(--theme-title-text) !important;
}

html[data-theme^="glass-"] #sys-owned-popup-root > div > div:nth-child(2) {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--lg-sys-body-text) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-theme^="glass-"] #sys-owned-popup-root a {
  color: var(--lg-sys-link) !important;
}

html[data-theme^="glass-"] #sys-owned-popup-root > div > div:nth-child(2) > div {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  /* 与 addInfoCard 内联 10px 一致；正文块 extra 无内联圆角，此处补全避免直角 */
  border-radius: 10px !important;
  color: var(--lg-sys-body-text) !important;
  backdrop-filter: blur(14px) saturate(155%);
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-theme^="glass-"] #sys-owned-popup-root > div > div:nth-child(2) > div span {
  color: inherit;
}

/* 第三块正文兜底（勿加 !important，避免旧缓存覆盖首页 JS 写入的内联 padding） */
html[data-theme^="glass-"] #sys-owned-popup-root > div > div:nth-child(2) > div.sys-owned-popup-body-extra {
  padding-left: calc(12px + 1em);
  padding-right: calc(12px + 1em);
}

/* 底部 tipText（灰字小字）：与正文块同水平留白，颜色跟主题 */
html[data-theme^="glass-"] #sys-owned-popup-root > div > div:nth-child(2) > div.sys-owned-popup-tip {
  padding-left: calc(12px + 1em);
  padding-right: calc(12px + 1em);
  color: var(--lg-sys-btn-muted) !important;
}

html[data-theme^="glass-"] #sys-owned-popup-root > div > div:last-child {
  background: rgba(255, 255, 255, 0.2) !important;
  border-top-color: rgba(255, 255, 255, 0.42) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[data-theme^="glass-"] #sys-owned-popup-root > div > div:last-child button {
  background: transparent !important;
  color: var(--lg-sys-link) !important;
  font-weight: 700 !important;
}

html[data-theme^="glass-"] #sys-owned-popup-root > div > div:last-child button:first-child {
  color: var(--lg-sys-btn-muted) !important;
}

/* 倒计时 5 分钟“官网摇奖进行中”占位：液态玻璃主题可读性兜底 */
html[data-theme^="glass-"] {
  --rolling-plus-color: var(--lg-lottys-color, #94a3b8);
  --rolling-slash-color: var(--lg-lottys-color, #94a3b8);
  --rolling-active-shadow: drop-shadow(0 3px 10px rgba(14, 116, 144, 0.35));
}
