/* ==========================================================================
   ng-crystal.css —— 多皮肤水晶玻璃主题层（移植生产站 s798.mx → vzq31.top 皮肤体系）
   视觉：磨砂玻璃卡片 + 宝石渐变按钮；旧内联 SVG 六瓣花已全部移除，
   花纹统一由 ng-pages.css 的目标站位图 ::before 伪元素提供
   作用：只换皮，不动任何 HTML / JS / PHP。亮暗双主题 + 多皮肤（data-skin 切换）。
   挂接：index.php 在 home-popup.css 之后引入；最终皮肤层 ng-pages.css 在其后加载。
   注意：本文件不得再引入任何内联 SVG 花瓣，避免刷新首帧闪旧花。
   皮肤：crystal(蓝紫水晶·默认) / original(经典紫粉) / ocean(深蓝海洋) / gold(流金璀璨)
   ========================================================================== */

/* 旧贴角线稿花卉变量：值统一置 none，花纹由 ng-pages.css 的目标站位图提供。
   保留变量名是为了让历史 background-image 引用继续合法（none 是合法图层）。 */
:root {
  --ng-line-flower-blue:   none;  /* 旧内联 SVG 手绘六瓣花已移除：改用 ng-pages.css 目标站位图花纹 */
  --ng-line-flower-blue-lt: none;  /* 旧内联 SVG 手绘六瓣花已移除：改用 ng-pages.css 目标站位图花纹 */
  --ng-line-flower-purple: none;  /* 旧内联 SVG 手绘六瓣花已移除：改用 ng-pages.css 目标站位图花纹 */
  --ng-line-flower-purple-lt: none;  /* 旧内联 SVG 手绘六瓣花已移除：改用 ng-pages.css 目标站位图花纹 */
  --ng-line-flower-gold:   none;  /* 旧内联 SVG 手绘六瓣花已移除：改用 ng-pages.css 目标站位图花纹 */
  --ng-line-flower-gold-lt: none;  /* 旧内联 SVG 手绘六瓣花已移除：改用 ng-pages.css 目标站位图花纹 */
}

/* ============================================================
   1. 设计令牌 —— 蓝紫水晶 crystal
   ============================================================ */
html[data-skin="crystal"][data-theme="light"] body.ng-skin,
body.ng-skin {                                   /* 兜底：未设置 data-skin 时即 crystal 亮色 */
  --ng-bg: #eaf0ff; --ng-bg-2: #dde7ff; --ng-ink: #14223a; --ng-ink-strong: #0a1830;
  --ng-muted: #5b72a0; --ng-muted-2: #8493b0;
  --ng-primary: #2f6bff; --ng-primary-deep: #1f4fd0; --ng-primary-soft: rgba(47,107,255,.12);
  --ng-line: rgba(74,126,211,.22);
  --ng-card: rgba(255,255,255,.80); --ng-card-border: rgba(47,107,255,.22);
  --ng-surface: rgba(255,255,255,.66); --ng-shadow: 0 18px 42px rgba(22,59,118,.14);
  --ng-radius: 22px;
  --ng-gem: linear-gradient(120deg,#2f6bff 0%,#5146ad 100%);
  --ng-gem-shadow: 0 11px 26px rgba(47,107,255,.30), inset 0 1px rgba(255,255,255,.30);
  --ng-bloom-a: rgba(124,108,240,.22); --ng-bloom-b: rgba(47,107,255,.18);
  --ng-flower: none;
  --ng-shell-nav-pedestal: linear-gradient(180deg,#2f6bff,#5146ad);
  --ng-shell-nav-icon-border: rgba(47,107,255,.55); --ng-shell-card-border: rgba(47,107,255,.28);
  --ng-shell-nav-bg: rgba(255,255,255,.86); --ng-shell-nav-label-bg: rgba(47,107,255,.10);
  --me-accent: #2f6bff; --me-accent-2: #5146ad; --me-accent-soft: rgba(47,107,255,.12);
  --me-surface: rgba(255,255,255,.80); --me-surface-2: rgba(255,255,255,.66);
  --me-border: rgba(74,126,211,.22); --me-text: #14223a; --me-text-sub: #5b72a0;
  --dc-primary: #2f6bff; --dc-grad: linear-gradient(135deg,#2f6bff,#5146ad);
  --dc-card: rgba(255,255,255,.80); --dc-card-strong: rgba(255,255,255,.92);
  --dc-border: rgba(74,126,211,.22); --dc-text: #14223a; --dc-sub: #5b72a0;
  --lottery-night-page: #eaf0ff; --lottery-night-deep: #dde7ff;
  --lottery-night-panel: rgba(255,255,255,.82); --lottery-night-surface: rgba(255,255,255,.70);
  --lottery-night-text: #14223a; --lottery-night-muted: #5b72a0;
  --lottery-night-line: rgba(74,126,211,.22); --lottery-night-accent: #2f6bff;
}
html[data-skin="crystal"][data-theme="dark"] body.ng-skin {
  --ng-bg: #0b1326; --ng-bg-2: #0a1020; --ng-ink: #eaf2ff; --ng-ink-strong: #ffffff;
  --ng-muted: #93a6c4; --ng-muted-2: #6f82a3;
  --ng-primary: #5b8cff; --ng-primary-deep: #3f7bff; --ng-primary-soft: rgba(91,140,255,.16);
  --ng-line: rgba(91,140,255,.22);
  --ng-card: rgba(22,34,60,.55); --ng-card-border: rgba(91,140,255,.30);
  --ng-surface: rgba(22,34,60,.42); --ng-shadow: 0 18px 44px rgba(0,0,0,.45);
  --ng-gem: linear-gradient(120deg,#3f7bff 0%,#7c6cf0 100%);
  --ng-gem-shadow: 0 12px 26px rgba(91,140,255,.42), inset 0 1px rgba(255,255,255,.22);
  --ng-bloom-a: rgba(124,108,240,.24); --ng-bloom-b: rgba(91,140,255,.22);
  --ng-flower: none;
  --ng-shell-nav-pedestal: linear-gradient(180deg,#3f7bff,#7c6cf0);
  --ng-shell-nav-icon-border: rgba(124,108,240,.6); --ng-shell-card-border: rgba(91,140,255,.30);
  --ng-shell-nav-bg: rgba(11,19,38,.92); --ng-shell-nav-label-bg: rgba(91,140,255,.14);
  --me-accent: #5b8cff; --me-accent-2: #7c6cf0; --me-accent-soft: rgba(91,140,255,.16);
  --me-surface: rgba(22,34,60,.55); --me-surface-2: rgba(22,34,60,.42);
  --me-border: rgba(91,140,255,.26); --me-text: #eaf2ff; --me-text-sub: #93a6c4;
  --dc-primary: #5b8cff; --dc-grad: linear-gradient(135deg,#3f7bff,#7c6cf0);
  --dc-card: rgba(22,34,60,.55); --dc-card-strong: rgba(28,44,76,.72);
  --dc-border: rgba(91,140,255,.26); --dc-text: #eaf2ff; --dc-sub: #93a6c4;
  --lottery-night-page: #0b1326; --lottery-night-deep: #0a1020;
  --lottery-night-panel: rgba(22,34,60,.55); --lottery-night-surface: rgba(30,46,78,.50);
  --lottery-night-text: #eaf2ff; --lottery-night-muted: #93a6c4;
  --lottery-night-line: rgba(91,140,255,.22); --lottery-night-accent: #5b8cff;
}

/* ============================================================
   2. 设计令牌 —— 经典紫粉 original
   ============================================================ */
html[data-skin="original"][data-theme="light"] body.ng-skin {
  --ng-bg: #f7eefb; --ng-bg-2: #f0e0f7; --ng-ink: #2a1530; --ng-ink-strong: #1a0c20;
  --ng-muted: #8a5f9e; --ng-muted-2: #a983bd;
  --ng-primary: #b15cff; --ng-primary-deep: #8a2fe0; --ng-primary-soft: rgba(177,92,255,.12);
  --ng-line: rgba(177,92,255,.22);
  --ng-card: rgba(255,255,255,.82); --ng-card-border: rgba(177,92,255,.28);
  --ng-surface: rgba(255,255,255,.68); --ng-shadow: 0 18px 42px rgba(80,30,110,.16);
  --ng-gem: linear-gradient(120deg,#b15cff 0%,#ff7ad9 100%);
  --ng-gem-shadow: 0 11px 26px rgba(177,92,255,.30), inset 0 1px rgba(255,255,255,.35);
  --ng-bloom-a: rgba(255,122,217,.20); --ng-bloom-b: rgba(177,92,255,.18);
  --ng-flower: none;
  --ng-shell-nav-pedestal: linear-gradient(180deg,#b15cff,#ff7ad9);
  --ng-shell-nav-icon-border: rgba(177,92,255,.6); --ng-shell-card-border: rgba(177,92,255,.30);
  --ng-shell-nav-bg: rgba(255,255,255,.88); --ng-shell-nav-label-bg: rgba(177,92,255,.12);
  --me-accent: #b15cff; --me-accent-2: #ff7ad9; --me-accent-soft: rgba(177,92,255,.12);
  --me-surface: rgba(255,255,255,.82); --me-surface-2: rgba(255,255,255,.68);
  --me-border: rgba(177,92,255,.24); --me-text: #2a1530; --me-text-sub: #8a5f9e;
  --dc-primary: #b15cff; --dc-grad: linear-gradient(135deg,#b15cff,#ff7ad9);
  --dc-card: rgba(255,255,255,.82); --dc-card-strong: rgba(255,255,255,.92);
  --dc-border: rgba(177,92,255,.24); --dc-text: #2a1530; --dc-sub: #8a5f9e;
  --lottery-night-page: #f7eefb; --lottery-night-deep: #f0e0f7;
  --lottery-night-panel: rgba(255,255,255,.84); --lottery-night-surface: rgba(255,255,255,.72);
  --lottery-night-text: #2a1530; --lottery-night-muted: #8a5f9e;
  --lottery-night-line: rgba(177,92,255,.22); --lottery-night-accent: #b15cff;
}
html[data-skin="original"][data-theme="dark"] body.ng-skin {
  --ng-bg: #1a0f24; --ng-bg-2: #140a1e; --ng-ink: #f3e9fb; --ng-ink-strong: #ffffff;
  --ng-muted: #c2a3d4; --ng-muted-2: #9c7bb0;
  --ng-primary: #c87bff; --ng-primary-deep: #a64cff; --ng-primary-soft: rgba(200,123,255,.16);
  --ng-line: rgba(200,123,255,.24);
  --ng-card: rgba(40,22,56,.55); --ng-card-border: rgba(200,123,255,.30);
  --ng-surface: rgba(40,22,56,.42); --ng-shadow: 0 18px 44px rgba(0,0,0,.45);
  --ng-gem: linear-gradient(120deg,#c87bff 0%,#ff8fe0 100%);
  --ng-gem-shadow: 0 12px 26px rgba(200,123,255,.40), inset 0 1px rgba(255,255,255,.25);
  --ng-bloom-a: rgba(255,122,217,.22); --ng-bloom-b: rgba(200,123,255,.20);
  --ng-flower: none;
  --ng-shell-nav-pedestal: linear-gradient(180deg,#c87bff,#ff8fe0);
  --ng-shell-nav-icon-border: rgba(200,123,255,.6); --ng-shell-card-border: rgba(200,123,255,.30);
  --ng-shell-nav-bg: rgba(26,15,36,.92); --ng-shell-nav-label-bg: rgba(200,123,255,.14);
  --me-accent: #c87bff; --me-accent-2: #ff8fe0; --me-accent-soft: rgba(200,123,255,.16);
  --me-surface: rgba(40,22,56,.55); --me-surface-2: rgba(40,22,56,.42);
  --me-border: rgba(200,123,255,.26); --me-text: #f3e9fb; --me-text-sub: #c2a3d4;
  --dc-primary: #c87bff; --dc-grad: linear-gradient(135deg,#c87bff,#ff8fe0);
  --dc-card: rgba(40,22,56,.55); --dc-card-strong: rgba(52,30,72,.72);
  --dc-border: rgba(200,123,255,.26); --dc-text: #f3e9fb; --dc-sub: #c2a3d4;
  --lottery-night-page: #1a0f24; --lottery-night-deep: #140a1e;
  --lottery-night-panel: rgba(40,22,56,.55); --lottery-night-surface: rgba(52,32,72,.50);
  --lottery-night-text: #f3e9fb; --lottery-night-muted: #c2a3d4;
  --lottery-night-line: rgba(200,123,255,.22); --lottery-night-accent: #c87bff;
}

/* ============================================================
   3. 设计令牌 —— 深蓝海洋 ocean
   ============================================================ */
html[data-skin="ocean"][data-theme="light"] body.ng-skin {
  --ng-bg: #e8f3fb; --ng-bg-2: #d8ecf7; --ng-ink: #0c2233; --ng-ink-strong: #06131f;
  --ng-muted: #3f6f8e; --ng-muted-2: #6a91ab;
  --ng-primary: #1f7bff; --ng-primary-deep: #0f5fc0; --ng-primary-soft: rgba(31,123,255,.12);
  --ng-line: rgba(31,123,255,.22);
  --ng-card: rgba(255,255,255,.82); --ng-card-border: rgba(31,123,255,.26);
  --ng-surface: rgba(255,255,255,.68); --ng-shadow: 0 18px 42px rgba(15,60,110,.14);
  --ng-gem: linear-gradient(120deg,#1f7bff 0%,#0fb8d6 100%);
  --ng-gem-shadow: 0 11px 26px rgba(31,123,255,.30), inset 0 1px rgba(255,255,255,.30);
  --ng-bloom-a: rgba(15,184,214,.20); --ng-bloom-b: rgba(31,123,255,.18);
  --ng-flower: none;
  --ng-shell-nav-pedestal: linear-gradient(180deg,#1f7bff,#0fb8d6);
  --ng-shell-nav-icon-border: rgba(31,123,255,.6); --ng-shell-card-border: rgba(31,123,255,.30);
  --ng-shell-nav-bg: rgba(255,255,255,.88); --ng-shell-nav-label-bg: rgba(31,123,255,.12);
  --me-accent: #1f7bff; --me-accent-2: #0fb8d6; --me-accent-soft: rgba(31,123,255,.12);
  --me-surface: rgba(255,255,255,.82); --me-surface-2: rgba(255,255,255,.68);
  --me-border: rgba(31,123,255,.24); --me-text: #0c2233; --me-text-sub: #3f6f8e;
  --dc-primary: #1f7bff; --dc-grad: linear-gradient(135deg,#1f7bff,#0fb8d6);
  --dc-card: rgba(255,255,255,.82); --dc-card-strong: rgba(255,255,255,.92);
  --dc-border: rgba(31,123,255,.24); --dc-text: #0c2233; --dc-sub: #3f6f8e;
  --lottery-night-page: #e8f3fb; --lottery-night-deep: #d8ecf7;
  --lottery-night-panel: rgba(255,255,255,.84); --lottery-night-surface: rgba(255,255,255,.72);
  --lottery-night-text: #0c2233; --lottery-night-muted: #3f6f8e;
  --lottery-night-line: rgba(31,123,255,.22); --lottery-night-accent: #1f7bff;
}
html[data-skin="ocean"][data-theme="dark"] body.ng-skin {
  --ng-bg: #06121f; --ng-bg-2: #04101a; --ng-ink: #e6f3fb; --ng-ink-strong: #ffffff;
  --ng-muted: #8fb4cf; --ng-muted-2: #6b93ac;
  --ng-primary: #3f9bff; --ng-primary-deep: #1f7bff; --ng-primary-soft: rgba(63,155,255,.16);
  --ng-line: rgba(63,155,255,.24);
  --ng-card: rgba(14,30,46,.55); --ng-card-border: rgba(63,155,255,.30);
  --ng-surface: rgba(14,30,46,.42); --ng-shadow: 0 18px 44px rgba(0,0,0,.45);
  --ng-gem: linear-gradient(120deg,#3f9bff 0%,#1fd6e0 100%);
  --ng-gem-shadow: 0 12px 26px rgba(63,155,255,.40), inset 0 1px rgba(255,255,255,.22);
  --ng-bloom-a: rgba(31,214,224,.20); --ng-bloom-b: rgba(63,155,255,.22);
  --ng-flower: none;
  --ng-shell-nav-pedestal: linear-gradient(180deg,#3f9bff,#1fd6e0);
  --ng-shell-nav-icon-border: rgba(63,155,255,.6); --ng-shell-card-border: rgba(63,155,255,.30);
  --ng-shell-nav-bg: rgba(6,18,31,.92); --ng-shell-nav-label-bg: rgba(63,155,255,.14);
  --me-accent: #3f9bff; --me-accent-2: #1fd6e0; --me-accent-soft: rgba(63,155,255,.16);
  --me-surface: rgba(14,30,46,.55); --me-surface-2: rgba(14,30,46,.42);
  --me-border: rgba(63,155,255,.26); --me-text: #e6f3fb; --me-text-sub: #8fb4cf;
  --dc-primary: #3f9bff; --dc-grad: linear-gradient(135deg,#3f9bff,#1fd6e0);
  --dc-card: rgba(14,30,46,.55); --dc-card-strong: rgba(20,40,58,.72);
  --dc-border: rgba(63,155,255,.26); --dc-text: #e6f3fb; --dc-sub: #8fb4cf;
  --lottery-night-page: #06121f; --lottery-night-deep: #04101a;
  --lottery-night-panel: rgba(14,30,46,.55); --lottery-night-surface: rgba(22,42,62,.50);
  --lottery-night-text: #e6f3fb; --lottery-night-muted: #8fb4cf;
  --lottery-night-line: rgba(63,155,255,.22); --lottery-night-accent: #3f9bff;
}

/* ============================================================
   4. 设计令牌 —— 流金璀璨 gold
   ============================================================ */
html[data-skin="gold"][data-theme="light"] body.ng-skin {
  --ng-bg: #fbf6e8; --ng-bg-2: #f3e9cf; --ng-ink: #2e2410; --ng-ink-strong: #1a1405;
  --ng-muted: #8c7642; --ng-muted-2: #b09a63;
  --ng-primary: #e0a020; --ng-primary-deep: #b87c10; --ng-primary-soft: rgba(224,160,32,.14);
  --ng-line: rgba(224,160,32,.26);
  --ng-card: rgba(255,255,255,.86); --ng-card-border: rgba(224,160,32,.30);
  --ng-surface: rgba(255,255,255,.70); --ng-shadow: 0 18px 42px rgba(110,80,10,.14);
  --ng-gem: linear-gradient(120deg,#ffce4f 0%,#e0a020 100%);
  --ng-gem-shadow: 0 11px 26px rgba(224,160,32,.32), inset 0 1px rgba(255,255,255,.45);
  --ng-bloom-a: rgba(255,206,79,.22); --ng-bloom-b: rgba(224,160,32,.18);
  --ng-flower: none;
  --ng-shell-nav-pedestal: linear-gradient(180deg,#ffce4f,#e0a020);
  --ng-shell-nav-icon-border: rgba(224,160,32,.6); --ng-shell-card-border: rgba(224,160,32,.32);
  --ng-shell-nav-bg: rgba(255,255,255,.90); --ng-shell-nav-label-bg: rgba(224,160,32,.12);
  --me-accent: #e0a020; --me-accent-2: #ffce4f; --me-accent-soft: rgba(224,160,32,.14);
  --me-surface: rgba(255,255,255,.86); --me-surface-2: rgba(255,255,255,.70);
  --me-border: rgba(224,160,32,.26); --me-text: #2e2410; --me-text-sub: #8c7642;
  --dc-primary: #e0a020; --dc-grad: linear-gradient(135deg,#ffce4f,#e0a020);
  --dc-card: rgba(255,255,255,.86); --dc-card-strong: rgba(255,255,255,.94);
  --dc-border: rgba(224,160,32,.26); --dc-text: #2e2410; --dc-sub: #8c7642;
  --lottery-night-page: #fbf6e8; --lottery-night-deep: #f3e9cf;
  --lottery-night-panel: rgba(255,255,255,.88); --lottery-night-surface: rgba(255,255,255,.76);
  --lottery-night-text: #2e2410; --lottery-night-muted: #8c7642;
  --lottery-night-line: rgba(224,160,32,.24); --lottery-night-accent: #e0a020;
}
html[data-skin="gold"][data-theme="dark"] body.ng-skin {
  --ng-bg: #1c160a; --ng-bg-2: #15110a; --ng-ink: #fbf3df; --ng-ink-strong: #ffffff;
  --ng-muted: #d4bf8c; --ng-muted-2: #ad9763;
  --ng-primary: #ffce4f; --ng-primary-deep: #e0a020; --ng-primary-soft: rgba(255,206,79,.16);
  --ng-line: rgba(255,206,79,.26);
  --ng-card: rgba(42,34,16,.55); --ng-card-border: rgba(255,206,79,.32);
  --ng-surface: rgba(42,34,16,.42); --ng-shadow: 0 18px 44px rgba(0,0,0,.45);
  --ng-gem: linear-gradient(120deg,#ffd86f 0%,#e0a020 100%);
  --ng-gem-shadow: 0 12px 26px rgba(255,206,79,.40), inset 0 1px rgba(255,255,255,.30);
  --ng-bloom-a: rgba(255,206,79,.22); --ng-bloom-b: rgba(224,160,32,.18);
  --ng-flower: none;
  --ng-shell-nav-pedestal: linear-gradient(180deg,#ffd86f,#e0a020);
  --ng-shell-nav-icon-border: rgba(255,206,79,.6); --ng-shell-card-border: rgba(255,206,79,.32);
  --ng-shell-nav-bg: rgba(28,22,10,.92); --ng-shell-nav-label-bg: rgba(255,206,79,.14);
  --me-accent: #ffce4f; --me-accent-2: #e0a020; --me-accent-soft: rgba(255,206,79,.16);
  --me-surface: rgba(42,34,16,.55); --me-surface-2: rgba(42,34,16,.42);
  --me-border: rgba(255,206,79,.28); --me-text: #fbf3df; --me-text-sub: #d4bf8c;
  --dc-primary: #ffce4f; --dc-grad: linear-gradient(135deg,#ffd86f,#e0a020);
  --dc-card: rgba(42,34,16,.55); --dc-card-strong: rgba(58,46,22,.72);
  --dc-border: rgba(255,206,79,.28); --dc-text: #fbf3df; --dc-sub: #d4bf8c;
  --lottery-night-page: #1c160a; --lottery-night-deep: #15110a;
  --lottery-night-panel: rgba(42,34,16,.55); --lottery-night-surface: rgba(58,46,22,.50);
  --lottery-night-text: #fbf3df; --lottery-night-muted: #d4bf8c;
  --lottery-night-line: rgba(255,206,79,.24); --lottery-night-accent: #ffce4f;
}

/* ============================================================
   5. 页面底色（旧角落线稿花卉已移除）
   ============================================================ */
body.ng-skin {
  background-color: var(--ng-bg) !important;
  background-image:
    var(--ng-flower),
    radial-gradient(58rem 58rem at 90% -12%, var(--ng-bloom-a), transparent 60%),
    radial-gradient(48rem 48rem at -12% 112%, var(--ng-bloom-b), transparent 60%) !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-position: right -42px top -42px, 0 0, 0 0 !important;
  background-size: 220px 220px, cover, cover !important;
  background-attachment: fixed !important;
  color: var(--ng-ink) !important;
}
body.ng-skin::before { content: none !important; }   /* 清掉 ng-theme.css 旧暗层 */

/* ============================================================
   6. 水晶玻璃卡片（右下角贴角线稿花卉 + 角落光晕）
   ============================================================ */
body.ng-skin .ng-card,
body.ng-skin #serviceView .svc-card,
body.ng-skin #serviceView .svc-tip,
body.ng-skin .ng-cs-link,
body.ng-skin #noticeView .nc-card,
body.ng-skin .dc-card,
body.ng-skin .me-card,
body.ng-skin .me-auth,
body.ng-skin .me-stat,
body.ng-skin .lottery-shell .draw-card,
body.ng-skin .lottery-shell .stat-card,
body.ng-skin .lottery-shell .panel,
body.ng-skin .ng-hp__panel,
body.ng-skin .ng-home-popup__panel,
body.ng-skin .ng-contact-modal__panel,
body.ng-skin .ng-brand-header__row,
body.ng-skin .marquee-wrap,
body.ng-skin .carousel-wrap,
body.ng-skin .lottery-shell .lottery-header,
body.ng-skin .lottery-shell .result-bar {
  background-color: var(--ng-card) !important;
  background-image:
    var(--ng-flower),
    radial-gradient(circle at 86% 4%, var(--ng-bloom-a), transparent 47%),
    radial-gradient(circle at 4% 106%, var(--ng-bloom-b), transparent 45%) !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-position: right -18px bottom -18px, 0 0, 0 0 !important;
  background-size: 120px 120px, cover, cover !important;
  border-color: var(--ng-card-border) !important;
  box-shadow: var(--ng-shadow) !important;
  color: var(--ng-ink) !important;
}

/* 卡片内文字 / 边框跟随 */
body.ng-skin .ng-card__title,
body.ng-skin .ng-card__desc,
body.ng-skin .svc-meta em,
body.ng-skin .svc-tip p,
body.ng-skin .ng-cs-link__txt em,
body.ng-skin .nc-body p,
body.ng-skin .nc-body h3,
body.ng-skin .dc-card * { color: var(--ng-ink) !important; }
body.ng-skin .ng-card__desc,
body.ng-skin .svc-meta em,
body.ng-skin .ng-cs-link__txt em,
body.ng-skin .nc-body p,
body.ng-skin .dc-sub { color: var(--ng-muted) !important; }

/* ============================================================
   7. 宝石按钮（渐变 + 内高光 + 外发光）
   ============================================================ */
body.ng-skin .ng-head-cta,
body.ng-skin #serviceView .svc-btn--primary,
body.ng-skin #serviceView .svc-btn--copy,
body.ng-skin .me-action--primary,
body.ng-skin .me-btn:not(.me-btn--ghost):not(.me-btn--danger),
body.ng-skin .me-tab[aria-selected="true"],
body.ng-skin .ng-hp__action,
body.ng-skin .dc-composer__send,
body.ng-skin .dc-loadmore__btn,
body.ng-skin .lottery-shell .sound-toggle.active,
body.ng-skin .lottery-shell .scratch-toggle.active,
body.ng-skin .lottery-shell .lottery-category-item.active,
body.ng-skin .lottery-shell .robot-tab.active,
body.ng-skin .ng-btn--primary {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  background: var(--ng-gem) !important;
  box-shadow: var(--ng-gem-shadow) !important;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
/* 次级 / 幽灵按钮描边化 */
body.ng-skin .me-btn--ghost,
body.ng-skin #serviceView .svc-btn--copy {
  color: var(--ng-primary) !important;
  border: 1px solid color-mix(in srgb, var(--ng-primary) 45%, transparent) !important;
  background: var(--ng-primary-soft) !important;
  box-shadow: none !important;
}

/* ============================================================
   8. 底栏 / 导航（压住紫粉 pedestal）
   ============================================================ */
body.ng-skin .ng-bottom-nav::before {
  background: var(--ng-shell-nav-bg) !important;
  box-shadow: 0 -8px 24px rgba(22,59,118,.18) !important;
}
body.ng-skin .ng-bottom-nav__icon::after {
  background: var(--ng-shell-nav-pedestal) !important;
  border-color: var(--ng-shell-nav-icon-border) !important;
}
body.ng-skin .ng-bottom-nav__label {
  background: var(--ng-shell-nav-label-bg) !important;
  color: var(--ng-ink) !important;
  border-color: color-mix(in srgb, var(--ng-primary) 30%, transparent) !important;
}
body.ng-skin .ng-bottom-nav__item[aria-current="page"] .ng-bottom-nav__label {
  background: color-mix(in srgb, var(--ng-primary) 38%, var(--ng-shell-nav-bg)) !important;
  border-color: color-mix(in srgb, var(--ng-primary) 62%, #fff) !important;
}

/* ============================================================
   9. 区块标题 / 公告 / 轮播 / 顶栏
   ============================================================ */
body.ng-skin .ng-section-head h2,
body.ng-skin #cardsScroll .ng-section-head h2,
body.ng-skin #cardsScroll .section h2 { color: var(--ng-ink) !important; }
body.ng-skin .ng-section-head__meta { color: var(--ng-muted) !important; }
body.ng-skin .marquee-wrap::before { background: var(--ng-primary) !important; }
body.ng-skin .marquee-tag { background: var(--ng-primary-soft) !important; color: var(--ng-primary) !important; }
body.ng-skin .marquee-text { color: var(--ng-ink) !important; }
body.ng-skin .carousel-wrap .dot { background: color-mix(in srgb, var(--ng-primary) 30%, transparent) !important; }
body.ng-skin .carousel-wrap .dot.active { background: var(--ng-primary) !important; }

/* ============================================================
   10. 我的 / 发现 / 开奖 结构补完
   ============================================================ */
body.ng-skin .me-auth { border-radius: var(--ng-radius) !important; }
body.ng-skin .me-input,
body.ng-skin .me-input-border {
  background: var(--ng-surface) !important;
  border-color: var(--ng-card-border) !important;
  color: var(--ng-ink) !important;
}
body.ng-skin .dc-composer,
body.ng-skin .dc-input {
  background: var(--ng-surface) !important;
  border-color: var(--ng-card-border) !important;
  color: var(--ng-ink) !important;
}
body.ng-skin .lottery-shell .draw-ball {
  background: var(--ng-gem) !important;
  color: #fff !important;
  box-shadow: var(--ng-gem-shadow) !important;
}
/* 开奖中心令牌重定向到当前皮肤（覆盖 data-ui-theme=arcade 的紫粉，直接定义在 .lottery-shell 上） */
html[data-skin="crystal"] body.ng-skin .lottery-shell { --lottery-night-page:#eaf0ff;--lottery-night-deep:#dde7ff;--lottery-night-panel:rgba(255,255,255,.82);--lottery-night-surface:rgba(255,255,255,.70);--lottery-night-text:#14223a;--lottery-night-muted:#5b72a0;--lottery-night-line:rgba(74,126,211,.22);--lottery-night-accent:#2f6bff; }
html[data-skin="crystal"][data-theme="dark"] body.ng-skin .lottery-shell { --lottery-night-page:#0b1326;--lottery-night-deep:#0a1020;--lottery-night-panel:rgba(22,34,60,.55);--lottery-night-surface:rgba(30,46,78,.50);--lottery-night-text:#eaf2ff;--lottery-night-muted:#93a6c4;--lottery-night-line:rgba(91,140,255,.22);--lottery-night-accent:#5b8cff; }
html[data-skin="original"] body.ng-skin .lottery-shell { --lottery-night-page:#f7eefb;--lottery-night-deep:#f0e0f7;--lottery-night-panel:rgba(255,255,255,.84);--lottery-night-surface:rgba(255,255,255,.72);--lottery-night-text:#2a1530;--lottery-night-muted:#8a5f9e;--lottery-night-line:rgba(177,92,255,.22);--lottery-night-accent:#b15cff; }
html[data-skin="original"][data-theme="dark"] body.ng-skin .lottery-shell { --lottery-night-page:#1a0f24;--lottery-night-deep:#140a1e;--lottery-night-panel:rgba(40,22,56,.55);--lottery-night-surface:rgba(52,32,72,.50);--lottery-night-text:#f3e9fb;--lottery-night-muted:#c2a3d4;--lottery-night-line:rgba(200,123,255,.22);--lottery-night-accent:#c87bff; }
html[data-skin="ocean"] body.ng-skin .lottery-shell { --lottery-night-page:#e8f3fb;--lottery-night-deep:#d8ecf7;--lottery-night-panel:rgba(255,255,255,.84);--lottery-night-surface:rgba(255,255,255,.72);--lottery-night-text:#0c2233;--lottery-night-muted:#3f6f8e;--lottery-night-line:rgba(31,123,255,.22);--lottery-night-accent:#1f7bff; }
html[data-skin="ocean"][data-theme="dark"] body.ng-skin .lottery-shell { --lottery-night-page:#06121f;--lottery-night-deep:#04101a;--lottery-night-panel:rgba(14,30,46,.55);--lottery-night-surface:rgba(22,42,62,.50);--lottery-night-text:#e6f3fb;--lottery-night-muted:#8fb4cf;--lottery-night-line:rgba(63,155,255,.22);--lottery-night-accent:#3f9bff; }
html[data-skin="gold"] body.ng-skin .lottery-shell { --lottery-night-page:#fbf6e8;--lottery-night-deep:#f3e9cf;--lottery-night-panel:rgba(255,255,255,.88);--lottery-night-surface:rgba(255,255,255,.76);--lottery-night-text:#2e2410;--lottery-night-muted:#8c7642;--lottery-night-line:rgba(224,160,32,.24);--lottery-night-accent:#e0a020; }
html[data-skin="gold"][data-theme="dark"] body.ng-skin .lottery-shell { --lottery-night-page:#1c160a;--lottery-night-deep:#15110a;--lottery-night-panel:rgba(42,34,16,.55);--lottery-night-surface:rgba(58,46,22,.50);--lottery-night-text:#fbf3df;--lottery-night-muted:#d4bf8c;--lottery-night-line:rgba(255,206,79,.24);--lottery-night-accent:#ffce4f; }

/* 弹窗遮罩偏当前皮肤深色 */
body.ng-skin .ng-home-popup__mask,
body.ng-skin .ng-contact-modal__mask,
body.ng-skin .me-modal__mask { background: rgba(8,16,38,.62) !important; }

/* ============================================================
   11. 深浅切换浮动按钮
   ============================================================ */
body.ng-skin #ngThemeToggle {
  position: fixed; right: 14px; bottom: 80px; z-index: 230;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  background: var(--ng-gem); box-shadow: var(--ng-gem-shadow);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; line-height: 1; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
body.ng-skin #ngThemeToggle:active { transform: scale(.94); }
@media (max-width: 480px) {
  body.ng-skin #ngThemeToggle { bottom: 76px; width: 44px; height: 44px; }
}

/* 2026-11-09：以目标站亮色首屏为依据的紫金花纹与按钮修正。
   仅覆盖默认 crystal 亮色；其他皮肤及暗色模式保持各自配置。 */
html[data-skin="crystal"][data-theme="light"] body.ng-skin {
  --ng-bg:#f8f3fb; --ng-bg-2:#efe8f5; --ng-ink:#362743; --ng-ink-strong:#30213f;
  --ng-muted:#796a86; --ng-primary:#7149ac; --ng-primary-deep:#50316f;
  --ng-primary-soft:rgba(113,73,172,.12); --ng-line:#e4d8ed;
  --ng-card:rgba(255,253,255,.94); --ng-card-border:#e4d8ed;
  --ng-bloom-a:rgba(178,147,199,.09); --ng-bloom-b:rgba(218,185,130,.06);
  --ng-shadow:0 5px 16px rgba(74,44,93,.10);
  --ng-gem:linear-gradient(120deg,#583173,#a15dd0 26%,#e5c48f 41%,#55316f 53%,#ad73cb 72%,#5a3379);
  --ng-gem-shadow:inset 0 1px 2px rgba(255,255,255,.9),inset 0 -2px 3px rgba(46,18,64,.48),0 2px 5px rgba(70,36,88,.3);
  --ng-shell-nav-pedestal:linear-gradient(180deg,#f6d889,#a55bd0 47%,#633184);
  --ng-shell-nav-bg:rgba(255,252,255,.94); --ng-shell-nav-label-bg:transparent;
  --me-accent:#7149ac; --dc-primary:#7149ac; --lottery-night-accent:#7149ac;
  background:linear-gradient(135deg,#f8f3fb,#efe8f5) !important;
}
html[data-skin="crystal"][data-theme="light"] body.ng-skin .ng-card,
html[data-skin="crystal"][data-theme="light"] body.ng-skin .ng-brand-header__row {
  background-color:#fffdfd !important;
  background-image:none,radial-gradient(circle at 0 0,rgba(230,202,231,.18),transparent 42%) !important;
  background-size:65px 65px,cover !important;
  background-position:left -31px top -31px,center !important;
  border-color:#e4d8ed !important;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.74),0 3px 9px rgba(84,47,103,.15) !important;
}
html[data-skin="crystal"][data-theme="light"] body.ng-skin .marquee-wrap {
  background:#fffdfd !important; border-color:#e4d8ed !important;
  box-shadow:0 2px 7px rgba(89,51,107,.08) !important;
}
html[data-skin="crystal"][data-theme="light"] body.ng-skin #homeView .ng-card__cta {
  width:82% !important; min-height:29px !important; padding:2px 4px !important;
  border:1px solid #b58b71 !important; border-radius:999px !important;
  background:var(--ng-gem) !important; box-shadow:var(--ng-gem-shadow) !important;
  color:#fff !important; text-shadow:0 1px 2px #281132; font-size:12px !important;
}
html[data-skin="crystal"][data-theme="light"] body.ng-skin #homeView .ng-card__title {font-weight:500 !important;}
html[data-skin="crystal"][data-theme="light"] body.ng-skin .marquee-tag {display:none !important;}
@media (max-width:600px) {
  html[data-skin="crystal"][data-theme="light"] body.ng-skin #homeView .carousel {padding:0 !important;margin:0 0 10px !important;}
  html[data-skin="crystal"][data-theme="light"] body.ng-skin #homeView .carousel-wrap {border-radius:15px !important;}
  html[data-skin="crystal"][data-theme="light"] body.ng-skin #homeView .ng-section-head {justify-content:center !important;padding-top:18px !important;margin-bottom:14px !important;}
  html[data-skin="crystal"][data-theme="light"] body.ng-skin #homeView .ng-section-head h2 {font-weight:500 !important;font-size:24px !important;text-align:center;}
  html[data-skin="crystal"][data-theme="light"] body.ng-skin #homeView .ng-card {min-height:143px !important;border-radius:18px !important;}
}
