/* ============================================================
   丽人梦想秀® · 苹果极简主题 v1.0
   Apple Design Language — 黑白灰低饱和 / 苹果蓝强调 / 毛玻璃导航
   Body class: body.apple-theme
   加载顺序：最后加载（typography-final.css 之后），优先级最高
   ============================================================ */

/* ══════════════ 0. 设计令牌 + 基础 ══════════════ */
body.apple-theme {
  --apple-bg:          #f5f5f7;
  --apple-surface:     #ffffff;
  --apple-surface-2:   #fbfbfd;
  --apple-text:        #1d1d1f;
  --apple-text-2:      #424245;
  --apple-text-3:      #6e6e73;
  --apple-text-4:      #86868b;
  --apple-accent:      #1d1d1f;
  --apple-accent-hover:#000000;
  --apple-accent-soft: rgba(0,0,0,0.08);
  --apple-border:      rgba(0,0,0,0.06);
  --apple-shadow:      0 1px 2px rgba(0,0,0,0.03), 0 8px 30px rgba(0,0,0,0.05);
  --apple-shadow-hover:0 2px 6px rgba(0,0,0,0.05), 0 16px 48px rgba(0,0,0,0.09);

  /* 重映射平台原有的紫色语义变量 → 苹果灰阶 */
  --ink-deep:    #1d1d1f;
  --ink-rich:    #424245;
  --ink-gray:    #6e6e73;
  --ink-light:   #86868b;
  --fire-deep:   #1d1d1f;
  --fire-purple: #424245;
  --fire-amethyst:#6e6e73;
  --fire-lavender:#86868b;
  --gold-accent: #1d1d1f;
  --gold-light:  #6e6e73;

  background: var(--apple-bg) !important;
  background-attachment: scroll !important;
  color: var(--apple-text) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  letter-spacing: -0.01em !important;
}

/* 干掉暗色径向背景伪元素 */
body.apple-theme::before,
body.apple-theme::after {
  background: none !important;
  opacity: 0 !important;
}

/* ══════════════ 1. 排版 ══════════════ */
body.apple-theme h1, body.apple-theme h2, body.apple-theme h3,
body.apple-theme h4, body.apple-theme h5, body.apple-theme h6 {
  color: var(--apple-text) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
}

body.apple-theme p, body.apple-theme li {
  color: var(--apple-text-2) !important;
}

body.apple-theme small, body.apple-theme .text-muted {
  color: var(--apple-text-4) !important;
}

body.apple-theme a {
  color: var(--apple-accent) !important;
  text-decoration: none !important;
}

/* 内联金色渐变文字 → 统一深灰实色（苹果风不用渐变文字） */
body.apple-theme [style*="-webkit-text-fill-color:transparent"] {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--apple-text) !important;
  color: var(--apple-text) !important;
}

/* 内联白色文字（原本在暗色背景上）→ 深灰 */
body.apple-theme [style*="color:rgba(255,255,255,0.9)"],
body.apple-theme [style*="color:rgba(255,255,255,0.72)"],
body.apple-theme [style*="color:rgba(255,255,255,0.35)"],
body.apple-theme [style*="color:rgba(255,255,255,0.92)"] {
  color: var(--apple-text-2) !important;
}

/* ══════════════ 2. 侧边栏（毛玻璃导航） ══════════════ */
body.apple-theme .sidebar {
  background: rgba(255,255,255,0.5) !important;
  -webkit-backdrop-filter: saturate(180%) blur(48px) !important;
  backdrop-filter: saturate(180%) blur(48px) !important;
  border-right: 1px solid var(--apple-border) !important;
  box-shadow: none !important;
}

body.apple-theme .sidebar .logo h2 {
  color: var(--apple-text) !important;
}
body.apple-theme .sidebar .logo small {
  color: var(--apple-text-4) !important;
}

body.apple-theme .sidebar .nav-section {
  color: var(--apple-text-4) !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  opacity: 1 !important;
}

body.apple-theme .sidebar .nav-link {
  color: var(--apple-text-2) !important;
  border-radius: 10px !important;
  margin: 1px 10px !important;
  padding: 9px 14px !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

body.apple-theme .sidebar .nav-link:hover {
  background: rgba(0,0,0,0.05) !important;
  color: var(--apple-text) !important;
}

body.apple-theme .sidebar .nav-link.active {
  background: var(--apple-accent-soft) !important;
  color: var(--apple-accent) !important;
  border-left: 3px solid var(--apple-accent) !important;
  box-shadow: none !important;
}

body.apple-theme .sidebar-footer {
  background: rgba(255,255,255,0.6) !important;
  border-top: 1px solid var(--apple-border) !important;
}

body.apple-theme .sidebar .nav-section-toggle {
  color: var(--apple-text-4) !important;
}

body.apple-theme .sidebar-search input {
  background: rgba(0,0,0,0.04) !important;
  border-color: transparent !important;
  color: var(--apple-text) !important;
}
body.apple-theme .sidebar-search input:focus {
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.4) !important;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.1) !important;
}
body.apple-theme .sidebar-search input::placeholder {
  color: var(--apple-text-4) !important;
}

body.apple-theme .sidebar-company-select {
  background: rgba(0,0,0,0.04) !important;
  border-color: transparent !important;
  color: var(--apple-text) !important;
}
body.apple-theme .sidebar-company-select option {
  background: #ffffff !important;
  color: var(--apple-text) !important;
}

/* ══════════════ 3. Hero 首屏 ══════════════ */
body.apple-theme .hero-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%) !important;
  color: var(--apple-text) !important;
  border-radius: 24px !important;
  box-shadow: var(--apple-shadow) !important;
}

/* 去掉 hero 里的紫色装饰层 */
body.apple-theme .hero-panel > div[style*="position:absolute"] {
  background: none !important;
  border-color: rgba(0,0,0,0.03) !important;
}

/* 皇冠徽章 → 简洁白底圆角 */
body.apple-theme .hero-panel [style*="background:linear-gradient(135deg,rgba(212,165,116"] {
  background: var(--apple-accent-soft) !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
}
body.apple-theme .hero-panel h1 {
  font-family: -apple-system, "SF Pro Display", "PingFang SC", sans-serif !important;
  color: var(--apple-text) !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}
body.apple-theme .hero-panel h1 sup {
  -webkit-text-fill-color: var(--apple-accent) !important;
  color: var(--apple-accent) !important;
}
body.apple-theme .hero-panel p {
  color: var(--apple-text-3) !important;
  font-weight: 400 !important;
}
body.apple-theme .hero-panel [style*="height:1px"] {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.15), transparent) !important;
}

/* ══════════════ 4. 统计卡片 ══════════════ */
body.apple-theme .stat-card {
  background: #ffffff !important;
  border: 1px solid var(--apple-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--apple-shadow) !important;
  backdrop-filter: none !important;
}
body.apple-theme .stat-card [style*="position:absolute;top:0"] {
  background: linear-gradient(90deg, transparent, var(--apple-accent), transparent) !important;
  opacity: 0.6 !important;
}
body.apple-theme .stat-card .stat-num {
  color: var(--apple-text) !important;
}
body.apple-theme .stat-card div[style*="font-size:13px"] {
  color: var(--apple-text-3) !important;
}
body.apple-theme .stat-card svg polyline {
  stroke: var(--apple-accent) !important;
  opacity: 0.55 !important;
}

/* ══════════════ 5. 卡片 ══════════════ */
body.apple-theme .card-stat,
body.apple-theme .card-glass,
body.apple-theme .card,
body.apple-theme .eco-card,
body.apple-theme .industry-card,
body.apple-theme .hero-card {
  background: #ffffff !important;
  border: 1px solid var(--apple-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--apple-shadow) !important;
  backdrop-filter: none !important;
}

body.apple-theme .card-stat:hover,
body.apple-theme .card-glass:hover,
body.apple-theme .card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--apple-shadow-hover) !important;
  border-color: rgba(0,0,0,0.18) !important;
}

body.apple-theme .card-stat::before {
  background: linear-gradient(90deg, transparent, var(--apple-accent), transparent) !important;
  opacity: 0.5 !important;
}

body.apple-theme .card-stat strong,
body.apple-theme .card-glass strong {
  color: var(--apple-text) !important;
}

/* ══════════════ 6. 按钮 ══════════════ */
body.apple-theme .btn,
body.apple-theme button {
  border-radius: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: none !important;
}

body.apple-theme .btn-primary {
  background: var(--apple-accent-soft) !important;
  border: none !important;
  color: var(--apple-accent) !important;
  box-shadow: none !important;
}
body.apple-theme .btn-primary:hover {
  background: var(--apple-accent-hover) !important;
  transform: translateY(-1px) !important;
}

/* 内联紫色渐变按钮 → 苹果蓝 */
body.apple-theme [style*="background:linear-gradient(135deg,#7B2D8E"],
body.apple-theme [style*="background:linear-gradient(135deg, #7B2D8E"] {
  background: var(--apple-accent-soft) !important;
  color: var(--apple-accent) !important;
  border: none !important;
}

/* ══════════════ 7. 表单输入 ══════════════ */
body.apple-theme .form-control,
body.apple-theme .form-select,
body.apple-theme input[type="text"],
body.apple-theme input[type="email"],
body.apple-theme input[type="password"],
body.apple-theme input[type="tel"],
body.apple-theme textarea,
body.apple-theme select {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  border-radius: 12px !important;
  color: var(--apple-text) !important;
  box-shadow: none !important;
}
body.apple-theme .form-control:focus,
body.apple-theme input:focus,
body.apple-theme textarea:focus,
body.apple-theme select:focus {
  border-color: var(--apple-accent) !important;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.12) !important;
  outline: none !important;
}
body.apple-theme input::placeholder,
body.apple-theme textarea::placeholder {
  color: var(--apple-text-4) !important;
}

/* ══════════════ 8. 表格 ══════════════ */
body.apple-theme table {
  background: #ffffff !important;
  border-radius: 14px !important;
}
body.apple-theme table th {
  background: transparent !important;
  color: var(--apple-text-3) !important;
  font-weight: 600 !important;
  border-bottom: 1px solid var(--apple-border) !important;
}
body.apple-theme table td {
  color: var(--apple-text-2) !important;
  border-color: rgba(0,0,0,0.04) !important;
}
body.apple-theme table tr:hover td {
  background: var(--apple-accent-soft) !important;
}

/* ══════════════ 9. 弹窗 ══════════════ */
body.apple-theme .modal-card {
  background: #ffffff !important;
  border: 1px solid var(--apple-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.16) !important;
}
body.apple-theme .modal-header {
  border-bottom: 1px solid var(--apple-border) !important;
}
body.apple-theme .modal-footer {
  border-top: 1px solid var(--apple-border) !important;
}
body.apple-theme .modal-close {
  border: 1px solid rgba(0,0,0,0.1) !important;
  color: var(--apple-text-2) !important;
  background: transparent !important;
}
body.apple-theme .modal-body label {
  color: var(--apple-text-2) !important;
}

/* ══════════════ 10. 徽章 / 面包屑 ══════════════ */
body.apple-theme .badge {
  background: var(--apple-accent-soft) !important;
  color: var(--apple-accent) !important;
  border-radius: 20px !important;
}
body.apple-theme #breadcrumb {
  color: var(--apple-text-4) !important;
}

/* ══════════════ 11. 移动端 Tab 栏 ══════════════ */
body.apple-theme .mobile-tab-bar {
  background: rgba(255,255,255,0.82) !important;
  -webkit-backdrop-filter: saturate(180%) blur(38px) !important;
  backdrop-filter: saturate(180%) blur(38px) !important;
  border-top: 1px solid var(--apple-border) !important;
}
body.apple-theme .mobile-tab-item {
  color: var(--apple-text-4) !important;
}
body.apple-theme .mobile-tab-item.active {
  color: var(--apple-accent) !important;
}
body.apple-theme .mobile-tab-label {
  color: var(--apple-text-3) !important;
}
body.apple-theme .mobile-tab-item.active .mobile-tab-label {
  color: var(--apple-accent) !important;
}

/* ══════════════ 12. 滚动条 + 选中 ══════════════ */
body.apple-theme ::-webkit-scrollbar { width: 8px; }
body.apple-theme ::-webkit-scrollbar-track { background: transparent; }
body.apple-theme ::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15) !important;
  border-radius: 4px;
}
body.apple-theme ::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.25) !important;
}

body.apple-theme ::selection {
  background: rgba(0,0,0,0.18) !important;
  color: var(--apple-text) !important;
}

/* ══════════════ 13. 主题切换按钮 ══════════════ */
body button#apple-theme-toggle {
  position: fixed !important;
  right: 16px !important;
  bottom: 232px !important;
  z-index: 99990 !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  background: rgba(255,255,255,0.5) !important;
  -webkit-backdrop-filter: saturate(180%) blur(38px) !important;
  backdrop-filter: saturate(180%) blur(38px) !important;
  border: 1px solid var(--apple-border) !important;
  box-shadow: var(--apple-shadow) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#apple-theme-toggle:hover {
  transform: scale(1.08) !important;
  box-shadow: var(--apple-shadow-hover) !important;
}
#apple-theme-toggle svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}
#apple-theme-toggle {
  color: #1d1d1f !important;
}

/* 暗色主题下，切换按钮也保持毛玻璃（可读） */
body.dark-mode #apple-theme-toggle {
  background: rgba(30,30,40,0.7) !important;
  border-color: rgba(255,255,255,0.12) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
  color: #E8C9A0 !important;
}
body.apple-theme #apple-theme-toggle {
  color: #1d1d1f !important;
}

/* ══════════════ 14. 轻量滚动动效 ══════════════ */
body.apple-theme .card-stat,
body.apple-theme .card-glass,
body.apple-theme .card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease !important;
}

@keyframes appleFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.apple-theme .stat-card {
  animation: appleFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
body.apple-theme .stat-card:nth-child(1) { animation-delay: 0.05s; }
body.apple-theme .stat-card:nth-child(2) { animation-delay: 0.10s; }
body.apple-theme .stat-card:nth-child(3) { animation-delay: 0.15s; }
body.apple-theme .stat-card:nth-child(4) { animation-delay: 0.20s; }

/* ══════════════ 15. 内联紫色/金色背景兜底清理 ══════════════ */
/* 常见深紫渐变背景 → 白底 */
body.apple-theme [style*="background:linear-gradient(165deg,#050010"],
body.apple-theme [style*="background:linear-gradient(165deg, #050010"],
body.apple-theme [style*="background:linear-gradient(165deg,rgba(32,12,52"],
body.apple-theme [style*="background:linear-gradient(165deg, rgba(32,12,52"] {
  background: #ffffff !important;
}

/* 响应式：移动端切换按钮位置 */
@media (max-width: 767px) {
  body button#apple-theme-toggle {
    right: 12px !important;
    bottom: 220px !important;
  }
}

/* ══════════════ 16. 内联金色/紫色文字 → 苹果灰阶 ══════════════ */
/* 章节眉标（ECOSYSTEM / INDUSTRY MATRIX / BRAND MATRIX 等）*/
body.apple-theme [style*="color:#D8B56A"],
body.apple-theme [style*="color:#E8C87A"],
body.apple-theme [style*="color:#E8C9A0"],
body.apple-theme [style*="color:#E8D5A3"],
body.apple-theme [style*="color:#D4A574"],
body.apple-theme [style*="color:#C9A25B"],
body.apple-theme [style*="color:#E8A87C"],
body.apple-theme [style*="color:#D4784C"],
body.apple-theme [style*="color:#F0E0CC"],
body.apple-theme [style*="color:#F2E3B6"],
body.apple-theme [style*="color:#E8C9A0"],
body.apple-theme [style*="color:rgba(212,165,116"],
body.apple-theme [style*="color:rgba(232,201,160"],
body.apple-theme [style*="color:rgba(201,162,91"],
body.apple-theme [style*="color:rgba(232,168,124"],
body.apple-theme [style*="color:#7B2D8E"],
body.apple-theme [style*="color:#3D0F3E"],
body.apple-theme [style*="color:#9B4DCA"] {
  color: var(--apple-text-3) !important;
  -webkit-text-fill-color: var(--apple-text-3) !important;
}

/* ══════════════ 17. 侧边栏三段主题分段控件（苹果配色） ══════════════ */
body.apple-theme .theme-switcher { border-top: 1px solid rgba(0,0,0,0.06); }
body.apple-theme .theme-switcher-seg { background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.06); }
body.apple-theme .theme-switcher-seg .seg-btn { color: var(--apple-text-3); }
body.apple-theme .theme-switcher-seg .seg-btn:hover { color: var(--apple-text); }
body.apple-theme .theme-switcher-seg .seg-btn.active { background: #ffffff; color: var(--apple-accent); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }

/* ══════════════ 18. 内页苹果化精修（金色/紫色残留 → 苹果黑白灰+蓝） ══════════════ */

/* 18.1 深紫渐变 Hero 背景 → 苹果浅灰渐变 */
body.apple-theme [style*="background:linear-gradient(175deg,#0A0014"],
body.apple-theme [style*="background:linear-gradient(160deg,#0A0014"],
body.apple-theme [style*="background:linear-gradient(160deg,#0D0018"],
body.apple-theme [style*="background:linear-gradient(170deg,#0A0014"],
body.apple-theme [style*="background:linear-gradient(170deg,#0A0014 0%,#150520"],
body.apple-theme [style*="background:linear-gradient(160deg,#0A0014 0%,#1A0A2E"] {
  background: linear-gradient(180deg,#ffffff 0%,#f5f5f7 100%) !important;
}

/* 18.2 深紫背景上的半透明白字 → 苹果灰阶（补齐 0.5/0.55/0.6/0.68/0.88 等）*/
body.apple-theme [style*="color:rgba(255,255,255,0.5)"],
body.apple-theme [style*="color:rgba(255,255,255,0.55)"],
body.apple-theme [style*="color:rgba(255,255,255,0.6)"],
body.apple-theme [style*="color:rgba(255,255,255,0.68)"],
body.apple-theme [style*="color:rgba(255,255,255,0.88)"] {
  color: var(--apple-text-3) !important;
}

/* 18.3 金色渐变/实色背景 → 苹果蓝（按钮/头像/徽章）*/
body.apple-theme [style*="background:linear-gradient(135deg,#D4A574"],
body.apple-theme [style*="background:linear-gradient(135deg, #D4A574"],
body.apple-theme [style*="background:linear-gradient(135deg,#7B2D8E,#D4A574"],
body.apple-theme [style*="background:linear-gradient(135deg,#7B2D8E,#E8A0B4,#D4A574"],
body.apple-theme [style*="background:linear-gradient(135deg,#E8C9A0"],
body.apple-theme [style*="background:linear-gradient(135deg,#E8C87A"],
body.apple-theme [style*="background:linear-gradient(135deg,#E8C892"],
body.apple-theme [style*="background:linear-gradient(135deg,#D4784C"],
body.apple-theme [style*="background:linear-gradient(120deg,#D4A574"],
body.apple-theme [style*="background:linear-gradient(90deg,#D4A574"],
body.apple-theme [style*="background:#D4A574"],
body.apple-theme [style*="background: #D4A574"],
body.apple-theme [style*="background:#E8C87A"],
body.apple-theme [style*="background:#E8C9A0"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
  color: var(--apple-accent) !important;
}

/* 18.4 紫色渐变/实色背景 → 苹果蓝 */
body.apple-theme [style*="background:linear-gradient(135deg,#7B2D8E"],
body.apple-theme [style*="background:linear-gradient(135deg, #7B2D8E"],
body.apple-theme [style*="background:linear-gradient(135deg,#7B2D8E,#9B4DCA"],
body.apple-theme [style*="background:#7B2D8E"],
body.apple-theme [style*="background:#9B59B6"],
body.apple-theme [style*="background:#9B4DCA"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
  color: var(--apple-accent) !important;
}

/* 18.5 金色半透明背景（标签/卡片淡金底）→ 浅灰 */
body.apple-theme [style*="background:rgba(212,165,116,0.1)"],
body.apple-theme [style*="background:rgba(212,165,116,0.12)"],
body.apple-theme [style*="background:rgba(212,165,116,0.15)"],
body.apple-theme [style*="background:rgba(212,165,116,0.08)"],
body.apple-theme [style*="background:rgba(212,165,116,0.05)"],
body.apple-theme [style*="background:rgba(212,165,116,0.18)"],
body.apple-theme [style*="background:rgba(212,165,116,0.07)"],
body.apple-theme [style*="background:rgba(212,165,116,0.16)"],
body.apple-theme [style*="background:rgba(212,165,116,0.22)"] {
  background: rgba(0,0,0,0.04) !important;
}

/* 18.6 紫色半透明背景 → 浅灰 */
body.apple-theme [style*="background:rgba(123,45,142,0.08)"],
body.apple-theme [style*="background:rgba(123,45,142,0.07)"],
body.apple-theme [style*="background:rgba(123,45,142,0.12)"],
body.apple-theme [style*="background:rgba(123,45,142,0.04)"],
body.apple-theme [style*="background:rgba(123,45,142,0.18)"] {
  background: rgba(0,0,0,0.04) !important;
}

/* 18.7 灰紫/棕副文字 → 苹果中灰（补齐遗漏色）*/
body.apple-theme [style*="color:#8B7A8C"],
body.apple-theme [style*="color:#7A6A8A"],
body.apple-theme [style*="color:#7A6A5A"],
body.apple-theme [style*="color:#8B6E8E"],
body.apple-theme [style*="color:#3A2A5A"],
body.apple-theme [style*="color:#6A4A6E"],
body.apple-theme [style*="color:#8B7560"],
body.apple-theme [style*="color:#5C3D5E"],
body.apple-theme [style*="color:#4A3A6A"],
body.apple-theme [style*="color:#8B7A8C22"] {
  color: var(--apple-text-3) !important;
  -webkit-text-fill-color: var(--apple-text-3) !important;
}

/* 18.8 深紫文字 → 深灰 */
body.apple-theme [style*="color:#3D0F3E"] {
  color: var(--apple-text) !important;
  -webkit-text-fill-color: var(--apple-text) !important;
}

/* 18.9 米白背景 → 纯白 */
body.apple-theme [style*="background:#FFFEF9"],
body.apple-theme [style*="background:linear-gradient(160deg,#FFFFFF,#FFFEF9"] {
  background: #ffffff !important;
  background-image: none !important;
}

/* 18.10 金色边框 → 浅灰边框 */
body.apple-theme [style*="border:1px solid #E8DCC0"],
body.apple-theme [style*="border:1px solid rgba(212,165,116"],
body.apple-theme [style*="border:1px solid rgba(212, 165, 116"] {
  border-color: rgba(0,0,0,0.08) !important;
}

/* 18.11 金色装饰线 → 浅灰 */
body.apple-theme [style*="linear-gradient(90deg,transparent,#D4A574,transparent"],
body.apple-theme [style*="linear-gradient(90deg,transparent,rgba(212,165,116"],
body.apple-theme [style*="linear-gradient(90deg,transparent,#E8C9A0"],
body.apple-theme [style*="linear-gradient(90deg,transparent,#E8C87A"] {
  background: linear-gradient(90deg,transparent,rgba(0,0,0,0.15),transparent) !important;
}

/* 18.12 金色/粉色径向装饰 → 移除 */
body.apple-theme [style*="radial-gradient(ellipse at 50% 30%,rgba(212,165,116"],
body.apple-theme [style*="radial-gradient(ellipse at 25% 20%,rgba(232,160,180"],
body.apple-theme [style*="radial-gradient(ellipse at 25% 25%,rgba(212,165,116"],
body.apple-theme [style*="radial-gradient(ellipse at 30% 25%,rgba(236,72,153"],
body.apple-theme [style*="radial-gradient(ellipse at 25% 30%,rgba(212,165,116"],
body.apple-theme [style*="radial-gradient(ellipse at 30% 40%,rgba(212,165,116"],
body.apple-theme [style*="radial-gradient(ellipse at 30% 50%,rgba(212,165,116"],
body.apple-theme [style*="radial-gradient(ellipse at 30% 35%,rgba(236,72,153"] {
  background: none !important;
  background-image: none !important;
}

/* ══════════════ 19. 覆盖 typography-final.css 的东方雅韵 #page-content 规则 ══════════════ */
/* 这些规则用 #page-content ID 选择器，specificity 高于 body.apple-theme，需同前缀反制 */

/* 14.4 主按钮玫瑰金描边 + 紫阴影 → 无 */
body.apple-theme #page-content .btn-primary,
body.apple-theme #page-content .btn-gold,
body.apple-theme #page-content .btn-cta {
  box-shadow: none !important;
}

/* 14.5 金色链接 → 苹果蓝 */
body.apple-theme #page-content a:not(.btn):not(.nav-link):not(.btn-primary):not(.btn-gold) {
  color: var(--apple-accent) !important;
}

/* 16.1 h2 金色装饰线 + 菱形 → 浅灰 */
body.apple-theme #page-content h2::after {
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 50%, transparent 100%) !important;
}
body.apple-theme #page-content h2::before {
  background: rgba(0,0,0,0.18) !important;
  box-shadow: none !important;
}

/* 16.2 h3 金色竖线 → 苹果蓝 */
body.apple-theme #page-content h3::before {
  background: var(--apple-accent-soft) !important;
}

/* 16.3 :has(>h2) 金色/粉描边阴影 → 无 */
body.apple-theme #page-content :has(> h2) {
  box-shadow: none !important;
}

/* 17.1 表格玫瑰金表头 → 苹果灰 */
body.apple-theme #page-content th {
  background: rgba(0,0,0,0.03) !important;
  color: var(--apple-text-3) !important;
  border-bottom: 1px solid var(--apple-border) !important;
}
body.apple-theme #page-content td {
  color: var(--apple-text-2) !important;
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
}
body.apple-theme #page-content tbody tr:hover {
  background: var(--apple-accent-soft) !important;
}

/* 17.2 分隔线玫瑰金 → 浅灰 */
body.apple-theme #page-content hr {
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.12) 50%, transparent 100%) !important;
}

/* 17.3 列表标记 → 灰 */
body.apple-theme #page-content ul li::marker { color: var(--apple-text-3); }
body.apple-theme #page-content ol li::marker { color: var(--apple-text-3); }

/* 17.4 引用块玫瑰金 → 苹果蓝 */
body.apple-theme #page-content blockquote {
  border-left: 3px solid var(--apple-accent) !important;
  background: var(--apple-accent-soft) !important;
  color: var(--apple-text-2) !important;
}

/* 17.5 徽章/标签柔金 → 苹果蓝 */
body.apple-theme #page-content .badge,
body.apple-theme #page-content .pill,
body.apple-theme #page-content .tag,
body.apple-theme #page-content .chip {
  background: var(--apple-accent-soft) !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  color: var(--apple-accent) !important;
}

/* 18.1 创始人头像玫瑰金描边 → 灰 */
body.apple-theme #page-content img[alt="王聚才"] {
  border: 3px solid rgba(0,0,0,0.1) !important;
  box-shadow: var(--apple-shadow) !important;
}

/* 18.2 创始人名字玫瑰金渐变 → 深灰 */
body.apple-theme #page-content img[alt="王聚才"] + div {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--apple-text) !important;
  color: var(--apple-text) !important;
}

/* 18.3 头像容器玫瑰金 → 浅灰 */
body.apple-theme #page-content :has(> img[alt="王聚才"]) {
  background: rgba(0,0,0,0.03) !important;
  border: 1px solid var(--apple-border) !important;
  box-shadow: none !important;
}

/* 18.4 创始人照片玫瑰金描边 → 灰 */
body.apple-theme #page-content img[alt="创始人：聚才老师"] {
  border: 1px solid var(--apple-border) !important;
  box-shadow: var(--apple-shadow) !important;
}

/* 19.1 深紫渐变 Hero → 苹果浅灰白 */
body.apple-theme #page-content div[style*="linear-gradient(170deg,#0A0014"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#0A0015"] {
  background: linear-gradient(180deg,#ffffff 0%,#f5f5f7 100%) !important;
  border: 1px solid var(--apple-border) !important;
}

/* 19.2 暖白卡片 → 纯白 */
body.apple-theme #page-content div[style*="background:#FFFEF9"] {
  background: #ffffff !important;
  border: 1px solid var(--apple-border) !important;
  box-shadow: var(--apple-shadow) !important;
}

/* 19.3 玫瑰金顶部条 → 苹果蓝 */
body.apple-theme #page-content div[style*="border-top:3px solid"] {
  border-top: 3px solid var(--apple-accent) !important;
}

/* 19.4 玫瑰金图标容器 → 苹果蓝 */
body.apple-theme #page-content div[style*="width:56px;height:56px;background:linear-gradient(135deg,#7B2D8E"] {
  background: var(--apple-accent-soft) !important;
  box-shadow: none !important;
}

/* 19.5 玫瑰金价格大字 → 深灰 */
body.apple-theme #page-content h3[style*="font-size:22px"] {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--apple-text) !important;
  color: var(--apple-text) !important;
}

/* 19.6 卡片内文字 → 苹果灰 */
body.apple-theme #page-content div[style*="background:#FFFEF9"] h5 {
  color: var(--apple-text) !important;
}
body.apple-theme #page-content div[style*="background:#FFFEF9"] p,
body.apple-theme #page-content div[style*="background:#FFFEF9"] small {
  color: var(--apple-text-3) !important;
}

/* 19.7 玫瑰金按钮 → 苹果蓝 */
body.apple-theme #page-content button[style*="background:linear-gradient(135deg,#7B2D8E"],
body.apple-theme #page-content a[style*="background:linear-gradient(135deg,#7B2D8E"] {
  background: var(--apple-accent-soft) !important;
  color: var(--apple-accent) !important;
  box-shadow: none !important;
  border: none !important;
}

/* ══════════════ 20. 内页深色 Hero 全面苹果化（覆盖所有内联深色渐变变体）══════════════ */

/* 20.1 深色渐变 hero 容器 → 苹果浅色 + 容器文字色转深（解决 color:#fff 继承） */
body.apple-theme #page-content div[style*="linear-gradient(175deg,#0A0014"],
body.apple-theme #page-content div[style*="linear-gradient(170deg,#0A0014"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#0D0018"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#0A0014"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,#0D0018"],
body.apple-theme #page-content div[style*="linear-gradient(170deg,#1A0010"],
body.apple-theme #page-content div[style*="linear-gradient(170deg,#0A0020"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#001020"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#1A0A2E,#2D1B4E"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,#1A3A2A,#2D6E4A"] {
  background: linear-gradient(180deg,#ffffff 0%,#f5f5f7 100%) !important;
  border: 1px solid var(--apple-border) !important;
  color: var(--apple-text) !important;
}

/* 20.2 整页纯深色背景（founder-intro background:#0A0018）→ 浅灰 */
body.apple-theme #page-content div[style*="background:#0A0018"] {
  background: var(--apple-bg) !important;
}

/* 20.3 半透明白字（深色 hero 正文）→ 深灰 */
body.apple-theme #page-content [style*="color:rgba(255,255,255"] {
  color: var(--apple-text-2) !important;
}

/* 20.4 金色/紫色 pill 标签文字 → 苹果蓝 */
body.apple-theme #page-content [style*="color:#D4A574"],
body.apple-theme #page-content [style*="color:#7B2D8E"],
body.apple-theme #page-content [style*="color:#9B59B6"],
body.apple-theme #page-content [style*="color:#D4784C"] {
  color: var(--apple-accent) !important;
}
/* 20.5 金色/紫色 pill 标签底色 → 淡蓝 */
body.apple-theme #page-content [style*="background:#D4A57412"],
body.apple-theme #page-content [style*="background:#7B2D8E12"],
body.apple-theme #page-content [style*="background:#9B59B610"] {
  background: var(--apple-accent-soft) !important;
}

/* 20.6 深色 hero 内保留的 emoji 图标容器（color 继承已解决）——补白字兜底 */
body.apple-theme #page-content div[style*="linear-gradient(175deg,#0A0014"] [style*="color:#fff"],
body.apple-theme #page-content div[style*="linear-gradient(170deg,#0A0014"] [style*="color:#fff"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#0D0018"] [style*="color:#fff"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#0A0014"] [style*="color:#fff"],
body.apple-theme #page-content div[style*="linear-gradient(170deg,#1A0010"] [style*="color:#fff"],
body.apple-theme #page-content div[style*="linear-gradient(170deg,#0A0020"] [style*="color:#fff"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#001020"] [style*="color:#fff"] {
  color: var(--apple-text) !important;
}

/* ══════════════ 21. 补充：剩余深色背景 + 金色/紫色文字变体 ══════════════ */

/* 21.1 深紫纯色卡片 #120625 → 白色 */
body.apple-theme #page-content div[style*="background:#120625"] {
  background: #ffffff !important;
  border: 1px solid var(--apple-border) !important;
  color: var(--apple-text) !important;
}

/* 21.2 统计卡片深色渐变（紫/绿/棕主题卡）→ 浅灰白 */
body.apple-theme #page-content div[style*="linear-gradient(135deg,#2D1B4E"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,#5C2D6E"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,#2A1A4A"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,#6A3A8A"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,#2A3A1A"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,#4A6E3A"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,#3D2A1A"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,#6E4A2A"] {
  background: linear-gradient(180deg,#ffffff 0%,#f5f5f7 100%) !important;
  border: 1px solid var(--apple-border) !important;
  color: var(--apple-text) !important;
}

/* 21.3 深蓝按钮 → 苹果蓝 */
body.apple-theme #page-content a[style*="linear-gradient(135deg,#0A1A3A"],
body.apple-theme #page-content a[style*="linear-gradient(135deg,#001530"] {
  background: var(--apple-accent-soft) !important;
  color: var(--apple-accent) !important;
  box-shadow: none !important;
}

/* 21.4 金色分隔线 → 灰色 */
body.apple-theme #page-content div[style*="linear-gradient(90deg,transparent,rgba(212,165,116"] {
  background: linear-gradient(90deg,transparent,rgba(0,0,0,0.12),transparent) !important;
}

/* 21.5 金色/粉金文字变体 → 深灰（统计卡片标题等普通 color 文字） */
body.apple-theme #page-content [style*="color:#D4A843"],
body.apple-theme #page-content [style*="color:#E8C892"],
body.apple-theme #page-content [style*="color:#E8A0A0"],
body.apple-theme #page-content [style*="color:#E8A0B4"],
body.apple-theme #page-content [style*="color:#D4A574"],
body.apple-theme #page-content [style*="color:#E8C9A0"],
body.apple-theme #page-content [style*="color:#C9A25B"] {
  color: var(--apple-text) !important;
}

/* 21.6 粉紫/紫灰文字 → 深灰 */
body.apple-theme #page-content [style*="color:#8B7A8C"],
body.apple-theme #page-content [style*="color:#7A6A5A"],
body.apple-theme #page-content [style*="color:#3A2A5A"] {
  color: var(--apple-text-3) !important;
}

/* ══════════════ 22. 金色/紫色分隔线、装饰线 → 灰色 ══════════════ */

/* 22.1 紫金/金色分隔线（90deg 水平线）→ 灰色 */
body.apple-theme #page-content [style*="linear-gradient(90deg,#7B2D8E,#D4A574"],
body.apple-theme #page-content [style*="linear-gradient(90deg,transparent,#D4A574"],
body.apple-theme #page-content [style*="linear-gradient(90deg,transparent,#E8C892"],
body.apple-theme #page-content [style*="linear-gradient(90deg,transparent,#E8C9A0"],
body.apple-theme #page-content [style*="linear-gradient(90deg,#EC4899,#D4A574"],
body.apple-theme #page-content [style*="linear-gradient(90deg,#9B59B6,#D4A574"] {
  background: linear-gradient(90deg,transparent,rgba(0,0,0,0.12),transparent) !important;
}

/* 22.2 my-center 金粉紫渐变（进度条/装饰块）→ 苹果蓝 */
body.apple-theme #page-content [style*="linear-gradient(90deg,#7B2D8E,#E8A0B4,#D4A574"],
body.apple-theme #page-content [style*="linear-gradient(180deg,#D4A574,#E8A0B4,#7B2D8E"] {
  background: var(--apple-accent-soft) !important;
}

/* 22.3 彩色分类条的金色结尾（蓝/青/绿/紫→金）→ 中性灰（保留语义前段不可行，统一中性化） */
body.apple-theme #page-content [style*="linear-gradient(90deg,#4FC3F7,#D4A574"],
body.apple-theme #page-content [style*="linear-gradient(90deg,#3BA7D9,#D4A574"],
body.apple-theme #page-content [style*="linear-gradient(90deg,#2E86C1,#D4A574"],
body.apple-theme #page-content [style*="linear-gradient(90deg,#E8C892,#D4A574"],
body.apple-theme #page-content [style*="linear-gradient(90deg,#22C55E,#D4A574"] {
  background: linear-gradient(90deg,#d1d1d6,#e8e8ed) !important;
}

/* 22.4 暖白渐变卡片（#FFFFFF→#FFFEF9）→ 纯白 */
body.apple-theme #page-content [style*="linear-gradient(160deg,#FFFFFF,#FFFEF9"] {
  background: #ffffff !important;
}

/* ══════════════ 23. 顶部面包屑栏 + 奢华特效引擎 → 苹果化 ══════════════ */

/* 23.1 面包屑栏深紫背景 → 苹果毛玻璃白 */
body.apple-theme #breadcrumb {
  background: rgba(255,255,255,0.5) !important;
  border-bottom: 1px solid var(--apple-border) !important;
  backdrop-filter: saturate(180%) blur(38px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(38px) !important;
}

/* 23.2 面包屑金色链接 → 苹果蓝 */
body.apple-theme #breadcrumb a {
  color: var(--apple-accent) !important;
}

/* 23.3 面包屑分隔符金色 → 灰 */
body.apple-theme #breadcrumb span[style*="color:rgba(212,165,116"] {
  color: var(--apple-text-3) !important;
}

/* 23.4 面包屑标题金色渐变 → 深灰 */
body.apple-theme #breadcrumb span[style*="background:linear-gradient(135deg,#F0E0B8"] {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--apple-text) !important;
  color: var(--apple-text) !important;
}

/* 23.5 奢华特效引擎（全屏花瓣/星光画布 + 金色鼠标光晕）→ 苹果主题禁用 */
body.apple-theme #luxury-fx-canvas,
body.apple-theme #luxury-cursor-glow {
  display: none !important;
}

/* 23.6 按钮金色流光（.fx-shine-on 由 luxury_fx.js 触发）→ 苹果主题去除 */
body.apple-theme .fx-shine-on::after {
  display: none !important;
}

/* ══════════════ 24. 剩余金色淡底 / 棕金按钮 / 淡紫底 → 苹果化 ══════════════ */

/* 24.1 棕金渐变按钮 → 苹果蓝 */
body.apple-theme #page-content button[style*="linear-gradient(135deg,#C67B5C"],
body.apple-theme #page-content a[style*="linear-gradient(135deg,#C67B5C"] {
  background: var(--apple-accent-soft) !important;
  color: var(--apple-accent) !important;
  box-shadow: none !important;
  border: none !important;
}

/* 24.2 金色淡底（标签/按钮/说明框）→ 淡蓝底 */
body.apple-theme #page-content [style*="background:rgba(232,200,146,0.1"],
body.apple-theme #page-content [style*="background:rgba(232,201,160,0.1"],
body.apple-theme #page-content [style*="background:rgba(212,165,116,0.0"],
body.apple-theme #page-content [style*="background:rgba(212,165,116,0.1"],
body.apple-theme #page-content [style*="background:rgba(212,165,116,0.2"],
body.apple-theme #page-content [style*="background:rgba(212,165,116,0.3"] {
  background: var(--apple-accent-soft) !important;
}

/* 24.3 淡紫底（含金色 rgba 混合）→ 淡蓝底 */
body.apple-theme #page-content [style*="background:rgba(123,45,142,0.0"] {
  background: var(--apple-accent-soft) !important;
}

/* 24.4 金色/粉金文字（标签内）→ 深灰 */
body.apple-theme #page-content [style*="color:#E8C892"],
body.apple-theme #page-content [style*="color:#E8C9A0"],
body.apple-theme #page-content [style*="color:#E8A0A0"] {
  color: var(--apple-text) !important;
}

/* ══════════════ 25. 登录弹窗 + 全局紫色组件 → 苹果化 ══════════════ */

/* 25.1 登录按钮紫金渐变 → 苹果蓝 */
body.apple-theme .btn-login {
  background: var(--apple-accent-soft) !important;
  box-shadow: none !important;
  color: var(--apple-accent) !important;
}
body.apple-theme .btn-login:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.25) !important;
  transform: none !important;
}

/* 25.2 登录卡片 → 苹果白 + 灰边框 + 轻阴影 */
body.apple-theme .login-card {
  background: #ffffff !important;
  border: 1px solid var(--apple-border) !important;
  box-shadow: var(--apple-shadow) !important;
}
body.apple-theme .login-card::before {
  display: none !important;
}

/* 25.3 登录标题深紫 → 深灰 */
body.apple-theme .login-card h3 {
  color: var(--apple-text) !important;
}

/* 25.4 登录输入框紫色边框 + 米色底 → 苹果灰 */
body.apple-theme .login-card input,
body.apple-theme .login-card select {
  border: 1px solid var(--apple-border) !important;
  background: #f5f5f7 !important;
  color: var(--apple-text) !important;
}
body.apple-theme .login-card input:focus,
body.apple-theme .login-card select:focus {
  border-color: var(--apple-accent) !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08) !important;
  background: #ffffff !important;
}

/* 25.5 登录页背景米色渐变 → 浅灰白 */
body.apple-theme .login-wrapper {
  background: var(--apple-bg) !important;
}
body.apple-theme .login-wrapper::before {
  display: none !important;
}

/* 25.6 页面标题深紫 + 金色下划线 → 深灰 + 苹果蓝 */
body.apple-theme .page-title {
  color: var(--apple-text) !important;
}
body.apple-theme .page-title::after {
  background: linear-gradient(90deg,var(--apple-accent),transparent) !important;
}

/* 25.7 表格紫色表头 → 苹果灰 */
body.apple-theme .table th {
  background: rgba(0,0,0,0.03) !important;
  color: var(--apple-text-3) !important;
  border-bottom: 1px solid var(--apple-border) !important;
}
body.apple-theme .table tbody tr:hover {
  background: rgba(0,0,0,0.03) !important;
}

/* 25.8 进度条紫色 → 苹果蓝 */
body.apple-theme .progress-bar {
  background: var(--apple-accent-soft) !important;
}

/* 25.9 按钮描边紫色 → 苹果蓝 */
body.apple-theme .btn-outline {
  border: 1px solid var(--apple-accent) !important;
  color: var(--apple-accent) !important;
  background: transparent !important;
}

/* ══════════════ 26. 登录封面图 + 残留彩色 → 苹果化 ══════════════ */

/* 26.1 登录卡片紫色封面图 → 苹果风隐藏（极简登录卡片） */
body.apple-theme .login-card img[src*="login-hero"] {
  display: none !important;
}

/* 26.2 登录图标位置修正（封面图隐藏后不再 -40px 悬空） */
body.apple-theme .login-icon {
  margin-top: 16px !important;
}

/* 26.3 登录卡片顶部渐变换成纯白（原 linear-gradient(160deg...) 金色/暖色调） */
body.apple-theme .login-card div[style*="linear-gradient(160deg"] {
  background: #ffffff !important;
}

/* ══════════════ 27. 残留紫色/金色边框 + 亮蓝金分隔线 → 苹果化 ══════════════ */

/* 27.1 亮蓝→金分隔线 → 苹果蓝渐变 */
body.apple-theme #page-content [style*="linear-gradient(180deg,#00D4FF"],
body.apple-theme [style*="linear-gradient(180deg,#00D4FF"] {
  background: linear-gradient(180deg,var(--apple-accent),transparent) !important;
}

/* 27.2 紫色/金色边框 → 苹果灰边框 */
body.apple-theme #page-content [style*="border:1px solid #7B2D8E"],
body.apple-theme #page-content [style*="border:1px solid #D4A574"],
body.apple-theme #page-content [style*="border:1px solid #9B59B6"],
body.apple-theme #page-content [style*="border:2px solid rgba(212,165,116"] {
  border: 1px solid var(--apple-border) !important;
}

/* 27.3 金色边框描边（rgba 形式）→ 灰 */
body.apple-theme #page-content [style*="border:1px solid rgba(212,165,116"] {
  border: 1px solid var(--apple-border) !important;
}

/* ══════════════ 28. 全站深色背景兜底清理（苹果版 · 覆盖所有模块硬编码深色） ══════════════ */
/* 把 JS 模板/各 CSS 里硬编码的深紫/深蓝/深绿/深灰背景，在苹果主题下统一替换为苹果浅灰白。 */
body.apple-theme [style*="background"][style*="#001020" i],
body.apple-theme [style*="background"][style*="#001530" i],
body.apple-theme [style*="background"][style*="#001A0A" i],
body.apple-theme [style*="background"][style*="#002A15" i],
body.apple-theme [style*="background"][style*="#00695C" i],
body.apple-theme [style*="background"][style*="#020008" i],
body.apple-theme [style*="background"][style*="#040010" i],
body.apple-theme [style*="background"][style*="#050010" i],
body.apple-theme [style*="background"][style*="#060010" i],
body.apple-theme [style*="background"][style*="#060012" i],
body.apple-theme [style*="background"][style*="#064E3B" i],
body.apple-theme [style*="background"][style*="#080015" i],
body.apple-theme [style*="background"][style*="#0A0014" i],
body.apple-theme [style*="background"][style*="#0A0015" i],
body.apple-theme [style*="background"][style*="#0A0018" i],
body.apple-theme [style*="background"][style*="#0A0020" i],
body.apple-theme [style*="background"][style*="#0A0312" i],
body.apple-theme [style*="background"][style*="#0A0812" i],
body.apple-theme [style*="background"][style*="#0A0A0F" i],
body.apple-theme [style*="background"][style*="#0A1628" i],
body.apple-theme [style*="background"][style*="#0A1A3A" i],
body.apple-theme [style*="background"][style*="#0A1F0A" i],
body.apple-theme [style*="background"][style*="#0A2A4A" i],
body.apple-theme [style*="background"][style*="#0A3520" i],
body.apple-theme [style*="background"][style*="#0A3A6A" i],
body.apple-theme [style*="background"][style*="#0A3D20" i],
body.apple-theme [style*="background"][style*="#0B0020" i],
body.apple-theme [style*="background"][style*="#0C0022" i],
body.apple-theme [style*="background"][style*="#0D0018" i],
body.apple-theme [style*="background"][style*="#0D0020" i],
body.apple-theme [style*="background"][style*="#0D0022" i],
body.apple-theme [style*="background"][style*="#0D2B45" i],
body.apple-theme [style*="background"][style*="#0D2B4D" i],
body.apple-theme [style*="background"][style*="#0D47A1" i],
body.apple-theme [style*="background"][style*="#0D4F8E" i],
body.apple-theme [style*="background"][style*="#0E0320" i],
body.apple-theme [style*="background"][style*="#0F3460" i],
body.apple-theme [style*="background"][style*="#120022" i],
body.apple-theme [style*="background"][style*="#120028" i],
body.apple-theme [style*="background"][style*="#120428" i],
body.apple-theme [style*="background"][style*="#120625" i],
body.apple-theme [style*="background"][style*="#121212" i],
body.apple-theme [style*="background"][style*="#123A12" i],
body.apple-theme [style*="background"][style*="#140722" i],
body.apple-theme [style*="background"][style*="#150030" i],
body.apple-theme [style*="background"][style*="#150520" i],
body.apple-theme [style*="background"][style*="#150528" i],
body.apple-theme [style*="background"][style*="#150535" i],
body.apple-theme [style*="background"][style*="#155030" i],
body.apple-theme [style*="background"][style*="#160030" i],
body.apple-theme [style*="background"][style*="#160A22" i],
body.apple-theme [style*="background"][style*="#16213E" i],
body.apple-theme [style*="background"][style*="#1A0008" i],
body.apple-theme [style*="background"][style*="#1A0010" i],
body.apple-theme [style*="background"][style*="#1A0015" i],
body.apple-theme [style*="background"][style*="#1A0030" i],
body.apple-theme [style*="background"][style*="#1A052E" i],
body.apple-theme [style*="background"][style*="#1A0830" i],
body.apple-theme [style*="background"][style*="#1A0A18" i],
body.apple-theme [style*="background"][style*="#1A0A1E" i],
body.apple-theme [style*="background"][style*="#1A0A2E" i],
body.apple-theme [style*="background"][style*="#1A0A30" i],
body.apple-theme [style*="background"][style*="#1A0A38" i],
body.apple-theme [style*="background"][style*="#1A0A40" i],
body.apple-theme [style*="background"][style*="#1A0E38" i],
body.apple-theme [style*="background"][style*="#1A1A2E" i],
body.apple-theme [style*="background"][style*="#1A2A4A" i],
body.apple-theme [style*="background"][style*="#1A3A2A" i],
body.apple-theme [style*="background"][style*="#1A3A5C" i],
body.apple-theme [style*="background"][style*="#1A4A30" i],
body.apple-theme [style*="background"][style*="#1C0038" i],
body.apple-theme [style*="background"][style*="#1D1D1F" i],
body.apple-theme [style*="background"][style*="#1E0E30" i],
body.apple-theme [style*="background"][style*="#1E0E36" i],
body.apple-theme [style*="background"][style*="#1E5A1E" i],
body.apple-theme [style*="background"][style*="#1F0A35" i],
body.apple-theme [style*="background"][style*="#200500" i],
body.apple-theme [style*="background"][style*="#200E1E" i],
body.apple-theme [style*="background"][style*="#22101F" i],
body.apple-theme [style*="background"][style*="#22223A" i],
body.apple-theme [style*="background"][style*="#260055" i],
body.apple-theme [style*="background"][style*="#261226" i],
body.apple-theme [style*="background"][style*="#271525" i],
body.apple-theme [style*="background"][style*="#2A0E3D" i],
body.apple-theme [style*="background"][style*="#2A0E50" i],
body.apple-theme [style*="background"][style*="#2A1020" i],
body.apple-theme [style*="background"][style*="#2A1040" i],
body.apple-theme [style*="background"][style*="#2A1045" i],
body.apple-theme [style*="background"][style*="#2A1242" i],
body.apple-theme [style*="background"][style*="#2A1424" i],
body.apple-theme [style*="background"][style*="#2A1548" i],
body.apple-theme [style*="background"][style*="#2A1A4A" i],
body.apple-theme [style*="background"][style*="#2A2A44" i],
body.apple-theme [style*="background"][style*="#2A3A1A" i],
body.apple-theme [style*="background"][style*="#2C1628" i],
body.apple-theme [style*="background"][style*="#2D0020" i],
body.apple-theme [style*="background"][style*="#2D0028" i],
body.apple-theme [style*="background"][style*="#2D0050" i],
body.apple-theme [style*="background"][style*="#2D0A3E" i],
body.apple-theme [style*="background"][style*="#2D1548" i],
body.apple-theme [style*="background"][style*="#2D1560" i],
body.apple-theme [style*="background"][style*="#2D1B4E" i],
body.apple-theme [style*="background"][style*="#2D2D44" i],
body.apple-theme [style*="background"][style*="#2E0A1E" i],
body.apple-theme [style*="background"][style*="#2E0A4E" i],
body.apple-theme [style*="background"][style*="#2E1A00" i],
body.apple-theme [style*="background"][style*="#2E1A05" i],
body.apple-theme [style*="background"][style*="#323255" i],
body.apple-theme [style*="background"][style*="#34184E" i],
body.apple-theme [style*="background"][style*="#36203A" i],
body.apple-theme [style*="background"][style*="#3A1050" i],
body.apple-theme [style*="background"][style*="#3A1850" i],
body.apple-theme [style*="background"][style*="#3A1A3A" i],
body.apple-theme [style*="background"][style*="#3A1A5A" i],
body.apple-theme [style*="background"][style*="#3A2138" i],
body.apple-theme [style*="background"][style*="#3A2A5A" i],
body.apple-theme [style*="background"][style*="#3D0020" i],
body.apple-theme [style*="background"][style*="#3D0F3E" i],
body.apple-theme [style*="background"][style*="#3D1025" i],
body.apple-theme [style*="background"][style*="#3D1B4E" i],
body.apple-theme [style*="background"][style*="#3D1B5E" i],
body.apple-theme [style*="background"][style*="#3D1E2E" i],
body.apple-theme [style*="background"][style*="#3D1E4E" i],
body.apple-theme [style*="background"][style*="#3D1E5A" i],
body.apple-theme [style*="background"][style*="#3D2A1A" i],
body.apple-theme [style*="background"][style*="#3D2A4A" i],
body.apple-theme [style*="background"][style*="#3D2B5E" i],
body.apple-theme [style*="background"][style*="#400A00" i],
body.apple-theme [style*="background"][style*="#424245" i],
body.apple-theme [style*="background"][style*="#4A0060" i],
body.apple-theme [style*="background"][style*="#4A1035" i],
body.apple-theme [style*="background"][style*="#4A1040" i],
body.apple-theme [style*="background"][style*="#4A127A" i],
body.apple-theme [style*="background"][style*="#4A1535" i],
body.apple-theme [style*="background"][style*="#4A154B" i],
body.apple-theme [style*="background"][style*="#4A1550" i],
body.apple-theme [style*="background"][style*="#4A1850" i],
body.apple-theme [style*="background"][style*="#4A1860" i],
body.apple-theme [style*="background"][style*="#4A1A55" i],
body.apple-theme [style*="background"][style*="#4A1A5E" i],
body.apple-theme [style*="background"][style*="#4A2A42" i],
body.apple-theme [style*="background"][style*="#4A2D7A" i],
body.apple-theme [style*="background"][style*="#4A3A5A" i],
body.apple-theme [style*="background"][style*="#4A3A6A" i],
body.apple-theme [style*="background"][style*="#4A4A5A" i],
body.apple-theme [style*="background"][style*="#4E1B3A" i],
body.apple-theme [style*="background"][style*="#4E2D0A" i],
body.apple-theme [style*="background"][style*="#5A3A5E" i],
body.apple-theme [style*="background"][style*="#5B1A6E" i],
body.apple-theme [style*="background"][style*="#5B2C5E" i],
body.apple-theme [style*="background"][style*="#5B2D8E" i],
body.apple-theme [style*="background"][style*="#5C1040" i],
body.apple-theme [style*="background"][style*="#5C1A6E" i],
body.apple-theme [style*="background"][style*="#5C2D6E" i],
body.apple-theme [style*="background"][style*="#5C3D5E" i],
body.apple-theme [style*="background"][style*="#601500" i],
body.apple-theme [style*="background"][style*="#6A1B9A" i],
body.apple-theme [style*="background"][style*="#6B1850" i],
body.apple-theme [style*="background"][style*="#6B1D6E" i],
body.apple-theme [style*="background"][style*="#6B2050" i],
body.apple-theme [style*="background"][style*="#7A2D5C" i],
body.apple-theme [style*="background"][style*="#831843" i],
body.apple-theme [style*="background"][style*="#8B1850" i],
body.apple-theme [style*="background"][style*="#8B2252" i],
body.apple-theme #page-content [style*="background"][style*="#001020" i],
body.apple-theme #page-content [style*="background"][style*="#001530" i],
body.apple-theme #page-content [style*="background"][style*="#001A0A" i],
body.apple-theme #page-content [style*="background"][style*="#002A15" i],
body.apple-theme #page-content [style*="background"][style*="#00695C" i],
body.apple-theme #page-content [style*="background"][style*="#020008" i],
body.apple-theme #page-content [style*="background"][style*="#040010" i],
body.apple-theme #page-content [style*="background"][style*="#050010" i],
body.apple-theme #page-content [style*="background"][style*="#060010" i],
body.apple-theme #page-content [style*="background"][style*="#060012" i],
body.apple-theme #page-content [style*="background"][style*="#064E3B" i],
body.apple-theme #page-content [style*="background"][style*="#080015" i],
body.apple-theme #page-content [style*="background"][style*="#0A0014" i],
body.apple-theme #page-content [style*="background"][style*="#0A0015" i],
body.apple-theme #page-content [style*="background"][style*="#0A0018" i],
body.apple-theme #page-content [style*="background"][style*="#0A0020" i],
body.apple-theme #page-content [style*="background"][style*="#0A0312" i],
body.apple-theme #page-content [style*="background"][style*="#0A0812" i],
body.apple-theme #page-content [style*="background"][style*="#0A0A0F" i],
body.apple-theme #page-content [style*="background"][style*="#0A1628" i],
body.apple-theme #page-content [style*="background"][style*="#0A1A3A" i],
body.apple-theme #page-content [style*="background"][style*="#0A1F0A" i],
body.apple-theme #page-content [style*="background"][style*="#0A2A4A" i],
body.apple-theme #page-content [style*="background"][style*="#0A3520" i],
body.apple-theme #page-content [style*="background"][style*="#0A3A6A" i],
body.apple-theme #page-content [style*="background"][style*="#0A3D20" i],
body.apple-theme #page-content [style*="background"][style*="#0B0020" i],
body.apple-theme #page-content [style*="background"][style*="#0C0022" i],
body.apple-theme #page-content [style*="background"][style*="#0D0018" i],
body.apple-theme #page-content [style*="background"][style*="#0D0020" i],
body.apple-theme #page-content [style*="background"][style*="#0D0022" i],
body.apple-theme #page-content [style*="background"][style*="#0D2B45" i],
body.apple-theme #page-content [style*="background"][style*="#0D2B4D" i],
body.apple-theme #page-content [style*="background"][style*="#0D47A1" i],
body.apple-theme #page-content [style*="background"][style*="#0D4F8E" i],
body.apple-theme #page-content [style*="background"][style*="#0E0320" i],
body.apple-theme #page-content [style*="background"][style*="#0F3460" i],
body.apple-theme #page-content [style*="background"][style*="#120022" i],
body.apple-theme #page-content [style*="background"][style*="#120028" i],
body.apple-theme #page-content [style*="background"][style*="#120428" i],
body.apple-theme #page-content [style*="background"][style*="#120625" i],
body.apple-theme #page-content [style*="background"][style*="#121212" i],
body.apple-theme #page-content [style*="background"][style*="#123A12" i],
body.apple-theme #page-content [style*="background"][style*="#140722" i],
body.apple-theme #page-content [style*="background"][style*="#150030" i],
body.apple-theme #page-content [style*="background"][style*="#150520" i],
body.apple-theme #page-content [style*="background"][style*="#150528" i],
body.apple-theme #page-content [style*="background"][style*="#150535" i],
body.apple-theme #page-content [style*="background"][style*="#155030" i],
body.apple-theme #page-content [style*="background"][style*="#160030" i],
body.apple-theme #page-content [style*="background"][style*="#160A22" i],
body.apple-theme #page-content [style*="background"][style*="#16213E" i],
body.apple-theme #page-content [style*="background"][style*="#1A0008" i],
body.apple-theme #page-content [style*="background"][style*="#1A0010" i],
body.apple-theme #page-content [style*="background"][style*="#1A0015" i],
body.apple-theme #page-content [style*="background"][style*="#1A0030" i],
body.apple-theme #page-content [style*="background"][style*="#1A052E" i],
body.apple-theme #page-content [style*="background"][style*="#1A0830" i],
body.apple-theme #page-content [style*="background"][style*="#1A0A18" i],
body.apple-theme #page-content [style*="background"][style*="#1A0A1E" i],
body.apple-theme #page-content [style*="background"][style*="#1A0A2E" i],
body.apple-theme #page-content [style*="background"][style*="#1A0A30" i],
body.apple-theme #page-content [style*="background"][style*="#1A0A38" i],
body.apple-theme #page-content [style*="background"][style*="#1A0A40" i],
body.apple-theme #page-content [style*="background"][style*="#1A0E38" i],
body.apple-theme #page-content [style*="background"][style*="#1A1A2E" i],
body.apple-theme #page-content [style*="background"][style*="#1A2A4A" i],
body.apple-theme #page-content [style*="background"][style*="#1A3A2A" i],
body.apple-theme #page-content [style*="background"][style*="#1A3A5C" i],
body.apple-theme #page-content [style*="background"][style*="#1A4A30" i],
body.apple-theme #page-content [style*="background"][style*="#1C0038" i],
body.apple-theme #page-content [style*="background"][style*="#1D1D1F" i],
body.apple-theme #page-content [style*="background"][style*="#1E0E30" i],
body.apple-theme #page-content [style*="background"][style*="#1E0E36" i],
body.apple-theme #page-content [style*="background"][style*="#1E5A1E" i],
body.apple-theme #page-content [style*="background"][style*="#1F0A35" i],
body.apple-theme #page-content [style*="background"][style*="#200500" i],
body.apple-theme #page-content [style*="background"][style*="#200E1E" i],
body.apple-theme #page-content [style*="background"][style*="#22101F" i],
body.apple-theme #page-content [style*="background"][style*="#22223A" i],
body.apple-theme #page-content [style*="background"][style*="#260055" i],
body.apple-theme #page-content [style*="background"][style*="#261226" i],
body.apple-theme #page-content [style*="background"][style*="#271525" i],
body.apple-theme #page-content [style*="background"][style*="#2A0E3D" i],
body.apple-theme #page-content [style*="background"][style*="#2A0E50" i],
body.apple-theme #page-content [style*="background"][style*="#2A1020" i],
body.apple-theme #page-content [style*="background"][style*="#2A1040" i],
body.apple-theme #page-content [style*="background"][style*="#2A1045" i],
body.apple-theme #page-content [style*="background"][style*="#2A1242" i],
body.apple-theme #page-content [style*="background"][style*="#2A1424" i],
body.apple-theme #page-content [style*="background"][style*="#2A1548" i],
body.apple-theme #page-content [style*="background"][style*="#2A1A4A" i],
body.apple-theme #page-content [style*="background"][style*="#2A2A44" i],
body.apple-theme #page-content [style*="background"][style*="#2A3A1A" i],
body.apple-theme #page-content [style*="background"][style*="#2C1628" i],
body.apple-theme #page-content [style*="background"][style*="#2D0020" i],
body.apple-theme #page-content [style*="background"][style*="#2D0028" i],
body.apple-theme #page-content [style*="background"][style*="#2D0050" i],
body.apple-theme #page-content [style*="background"][style*="#2D0A3E" i],
body.apple-theme #page-content [style*="background"][style*="#2D1548" i],
body.apple-theme #page-content [style*="background"][style*="#2D1560" i],
body.apple-theme #page-content [style*="background"][style*="#2D1B4E" i],
body.apple-theme #page-content [style*="background"][style*="#2D2D44" i],
body.apple-theme #page-content [style*="background"][style*="#2E0A1E" i],
body.apple-theme #page-content [style*="background"][style*="#2E0A4E" i],
body.apple-theme #page-content [style*="background"][style*="#2E1A00" i],
body.apple-theme #page-content [style*="background"][style*="#2E1A05" i],
body.apple-theme #page-content [style*="background"][style*="#323255" i],
body.apple-theme #page-content [style*="background"][style*="#34184E" i],
body.apple-theme #page-content [style*="background"][style*="#36203A" i],
body.apple-theme #page-content [style*="background"][style*="#3A1050" i],
body.apple-theme #page-content [style*="background"][style*="#3A1850" i],
body.apple-theme #page-content [style*="background"][style*="#3A1A3A" i],
body.apple-theme #page-content [style*="background"][style*="#3A1A5A" i],
body.apple-theme #page-content [style*="background"][style*="#3A2138" i],
body.apple-theme #page-content [style*="background"][style*="#3A2A5A" i],
body.apple-theme #page-content [style*="background"][style*="#3D0020" i],
body.apple-theme #page-content [style*="background"][style*="#3D0F3E" i],
body.apple-theme #page-content [style*="background"][style*="#3D1025" i],
body.apple-theme #page-content [style*="background"][style*="#3D1B4E" i],
body.apple-theme #page-content [style*="background"][style*="#3D1B5E" i],
body.apple-theme #page-content [style*="background"][style*="#3D1E2E" i],
body.apple-theme #page-content [style*="background"][style*="#3D1E4E" i],
body.apple-theme #page-content [style*="background"][style*="#3D1E5A" i],
body.apple-theme #page-content [style*="background"][style*="#3D2A1A" i],
body.apple-theme #page-content [style*="background"][style*="#3D2A4A" i],
body.apple-theme #page-content [style*="background"][style*="#3D2B5E" i],
body.apple-theme #page-content [style*="background"][style*="#400A00" i],
body.apple-theme #page-content [style*="background"][style*="#424245" i],
body.apple-theme #page-content [style*="background"][style*="#4A0060" i],
body.apple-theme #page-content [style*="background"][style*="#4A1035" i],
body.apple-theme #page-content [style*="background"][style*="#4A1040" i],
body.apple-theme #page-content [style*="background"][style*="#4A127A" i],
body.apple-theme #page-content [style*="background"][style*="#4A1535" i],
body.apple-theme #page-content [style*="background"][style*="#4A154B" i],
body.apple-theme #page-content [style*="background"][style*="#4A1550" i],
body.apple-theme #page-content [style*="background"][style*="#4A1850" i],
body.apple-theme #page-content [style*="background"][style*="#4A1860" i],
body.apple-theme #page-content [style*="background"][style*="#4A1A55" i],
body.apple-theme #page-content [style*="background"][style*="#4A1A5E" i],
body.apple-theme #page-content [style*="background"][style*="#4A2A42" i],
body.apple-theme #page-content [style*="background"][style*="#4A2D7A" i],
body.apple-theme #page-content [style*="background"][style*="#4A3A5A" i],
body.apple-theme #page-content [style*="background"][style*="#4A3A6A" i],
body.apple-theme #page-content [style*="background"][style*="#4A4A5A" i],
body.apple-theme #page-content [style*="background"][style*="#4E1B3A" i],
body.apple-theme #page-content [style*="background"][style*="#4E2D0A" i],
body.apple-theme #page-content [style*="background"][style*="#5A3A5E" i],
body.apple-theme #page-content [style*="background"][style*="#5B1A6E" i],
body.apple-theme #page-content [style*="background"][style*="#5B2C5E" i],
body.apple-theme #page-content [style*="background"][style*="#5B2D8E" i],
body.apple-theme #page-content [style*="background"][style*="#5C1040" i],
body.apple-theme #page-content [style*="background"][style*="#5C1A6E" i],
body.apple-theme #page-content [style*="background"][style*="#5C2D6E" i],
body.apple-theme #page-content [style*="background"][style*="#5C3D5E" i],
body.apple-theme #page-content [style*="background"][style*="#601500" i],
body.apple-theme #page-content [style*="background"][style*="#6A1B9A" i],
body.apple-theme #page-content [style*="background"][style*="#6B1850" i],
body.apple-theme #page-content [style*="background"][style*="#6B1D6E" i],
body.apple-theme #page-content [style*="background"][style*="#6B2050" i],
body.apple-theme #page-content [style*="background"][style*="#7A2D5C" i],
body.apple-theme #page-content [style*="background"][style*="#831843" i],
body.apple-theme #page-content [style*="background"][style*="#8B1850" i],
body.apple-theme #page-content [style*="background"][style*="#8B2252" i] {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%) !important;
  background-image: none !important;
}

/* ══════════════ 29. class 深色 hero（.hero-gradient/.fed-hero/.hf-hero）→ 苹果浅色 ══════════════ */
body.apple-theme .hero-gradient,
body.apple-theme .fed-hero,
body.apple-theme .hf-hero,
body.apple-theme #page-content .hero-gradient,
body.apple-theme #page-content .fed-hero,
body.apple-theme #page-content .hf-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%) !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%) !important;
  color: var(--apple-text) !important;
  border: 1px solid var(--apple-border) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 8px 30px rgba(0,0,0,0.05) !important;
}
body.apple-theme .hero-gradient::before,
body.apple-theme .fed-hero::before,
body.apple-theme .hf-hero::before {
  background: none !important;
  background-image: none !important;
}
body.apple-theme .hero-gradient h1, body.apple-theme .hero-gradient h2, body.apple-theme .hero-gradient h3, body.apple-theme .hero-gradient p,
body.apple-theme .fed-hero h1, body.apple-theme .fed-hero h2, body.apple-theme .fed-hero h3, body.apple-theme .fed-hero p,
body.apple-theme .hf-hero h1, body.apple-theme .hf-hero h2, body.apple-theme .hf-hero h3, body.apple-theme .hf-hero p {
  color: var(--apple-text) !important;
  -webkit-text-fill-color: var(--apple-text) !important;
  text-shadow: none !important;
}

/* ══════════════ 30. 紫色/粉色残留 → 苹果蓝 ══════════════ */
/* 30.1 实心紫徽章/图标背景 → 苹果蓝 */
body.apple-theme [style*="background:#7B2D8E" i],
body.apple-theme [style*="background: #7B2D8E" i],
body.apple-theme [style*="background-color:#7B2D8E" i],
body.apple-theme [style*="background-color: #7B2D8E" i],
body.apple-theme [style*="background:rgb(123,45,142)" i],
body.apple-theme [style*="background: rgb(123, 45, 142)" i],
body.apple-theme .badge-queen {
  background: var(--apple-accent-soft) !important;
  background-color: var(--apple-accent-soft) !important;
  color: var(--apple-accent) !important;
}
/* 30.2 紫色/粉色 rgba tint 渐变装饰 → 苹果淡蓝 */
body.apple-theme [style*="background"][style*="rgba(123,45,142,0." i],
body.apple-theme [style*="background"][style*="rgba(123, 45, 142, 0." i],
body.apple-theme [style*="background"][style*="rgba(107,29,110,0." i],
body.apple-theme [style*="background"][style*="rgba(107, 29, 110, 0." i],
body.apple-theme [style*="background"][style*="rgba(139,34,82,0." i],
body.apple-theme [style*="background"][style*="rgba(139, 34, 82, 0." i],
body.apple-theme [style*="background"][style*="rgba(232,160,160,0." i],
body.apple-theme [style*="background"][style*="rgba(232, 160, 160, 0." i] {
  background: none !important;
  background-image: none !important;
  background-color: var(--apple-accent-soft) !important;
  border-color: rgba(0,0,0,0.16) !important;
}
/* 30.3 金色低透明度 tint 渐变装饰 → 苹果淡蓝/灰 */
body.apple-theme [style*="background"][style*="rgba(212,165,116,0." i],
body.apple-theme [style*="background"][style*="rgba(212, 165, 116, 0." i],
body.apple-theme [style*="background"][style*="rgba(232,201,160,0." i],
body.apple-theme [style*="background"][style*="rgba(232, 201, 160, 0." i],
body.apple-theme [style*="background"][style*="rgba(232,200,146,0." i],
body.apple-theme [style*="background"][style*="rgba(232, 200, 146, 0." i] {
  background-image: none !important;
  background-color: var(--apple-accent-soft) !important;
  border-color: rgba(0,0,0,0.16) !important;
}
/* 30.4 黑色/深灰遮罩 overlay → 淡灰半透明 */
body.apple-theme [style*="background"][style*="rgba(0,0,0,0.3" i],
body.apple-theme [style*="background"][style*="rgba(0, 0, 0, 0.3" i],
body.apple-theme [style*="background"][style*="rgba(0,0,0,0.4" i],
body.apple-theme [style*="background"][style*="rgba(0, 0, 0, 0.4" i],
body.apple-theme [style*="background"][style*="rgba(0,0,0,0.5" i],
body.apple-theme [style*="background"][style*="rgba(0, 0, 0, 0.5" i] {
  background: rgba(0,0,0,0.10) !important;
  background-image: none !important;
}
/* 30.5 横向装饰线/连接线（90deg 渐变含 #7B2D8E）→ 苹果灰 */
body.apple-theme [style*="background:linear-gradient(90deg"][style*="#7B2D8E" i],
body.apple-theme [style*="background: linear-gradient(90deg"][style*="#7B2D8E" i] {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.15), transparent) !important;
}

/* ══════════════ 28. 标题颜色 + 低对比度文字修复（根治「板块看不清」） ══════════════ */

/* 28.1 内页标题：typography-final.css 用 `#page-content h1..h6 {color:#E8C9A0!important}`
   特异性(1,0,1) 压过 section1 的 `body.apple-theme h1`(0,1,1)，导致标题浅金(ratio1.45)白底看不清
   → 用 `body.apple-theme #page-content h1..h6`(1,1,1) 反制为深灰 */
body.apple-theme #page-content h1,
body.apple-theme #page-content h2,
body.apple-theme #page-content h3,
body.apple-theme #page-content h4,
body.apple-theme #page-content h5,
body.apple-theme #page-content h6 {
  color: var(--apple-text) !important;
  -webkit-text-fill-color: var(--apple-text) !important;
}

/* 28.2 内页渐变文字（inline background:linear-gradient + background-clip:text）→ 深灰实色 */
body.apple-theme #page-content [style*="-webkit-text-fill-color:transparent"],
body.apple-theme #page-content [style*="background-clip: text"],
body.apple-theme #page-content [style*="background-clip:text"] {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: var(--apple-text) !important;
  color: var(--apple-text) !important;
}

/* 28.3 亮蓝数字 #00D4FF（ratio 1.77）→ 苹果蓝 */
body.apple-theme #page-content [style*="color:#00D4FF"] {
  color: var(--apple-accent) !important;
  -webkit-text-fill-color: var(--apple-accent) !important;
}

/* 28.4 浅橙 #F5C6A5（ratio 1.43）→ 深灰 */
body.apple-theme #page-content [style*="color:#F5C6A5"] {
  color: var(--apple-text-2) !important;
}

/* 28.5 浅橙 #FFB74D（ratio 1.73）→ 深橙 */
body.apple-theme #page-content [style*="color:#FFB74D"] {
  color: #B45309 !important;
}

/* 28.6 浅绿 #81C784（ratio 2.01）→ 深绿 */
body.apple-theme #page-content [style*="color:#81C784"] {
  color: #16A34A !important;
}

/* 28.7 浅蓝 #4FC3F7（ratio 2）→ 苹果蓝 */
body.apple-theme #page-content [style*="color:#4FC3F7"] {
  color: var(--apple-accent) !important;
}

/* 28.8 绿色 #22C55E（ratio 2.28，状态标签）→ 深绿 */
body.apple-theme #page-content [style*="color:#22C55E"] {
  color: #16A34A !important;
}

/* 28.9 浅灰 #B5B5B5（coach 等级 L2-L9 未解锁弱化）→ 略加深 */
body.apple-theme #page-content [style*="color:#B5B5B5"] {
  color: var(--apple-text-4) !important;
}

/* 28.10 金色描边按钮 .btn-outline（typography-final 21.3）→ 苹果蓝描边 */
body.apple-theme #page-content .btn-outline {
  color: var(--apple-accent) !important;
  border-color: var(--apple-accent) !important;
  background: transparent !important;
}

/* ══════════════ 29. 金色/玫瑰金渐变按钮 → 苹果蓝底白字（根治「按钮看不清」） ══════════════ */
/* 部分 CTA 按钮 inline 用 `linear-gradient(135deg,#D4A574,#9B59B6)` 等金色渐变，
   section18 的 `body.apple-theme [style*=...]`(0,2,0) 被 typography-final 的
   `#page-content button[style*=...]`(1,1,1) 压过，背景仍是玫瑰金。
   用 `body.apple-theme #page-content ...`(1,3,1) 反制 → 苹果蓝实心底 + 白字 */

body.apple-theme #page-content button[style*="linear-gradient"][style*="#D4A574"],
body.apple-theme #page-content a[style*="linear-gradient"][style*="#D4A574"],
body.apple-theme #page-content button[style*="linear-gradient"][style*="#E8C9A0"],
body.apple-theme #page-content a[style*="linear-gradient"][style*="#E8C9A0"],
body.apple-theme #page-content button[style*="linear-gradient"][style*="#E8C87A"],
body.apple-theme #page-content a[style*="linear-gradient"][style*="#E8C87A"],
body.apple-theme #page-content button[style*="linear-gradient"][style*="#E8C892"],
body.apple-theme #page-content a[style*="linear-gradient"][style*="#E8C892"],
body.apple-theme #page-content button[style*="linear-gradient"][style*="#9B59B6"],
body.apple-theme #page-content a[style*="linear-gradient"][style*="#9B59B6"],
body.apple-theme #page-content button[style*="linear-gradient"][style*="#7B2D8E"],
body.apple-theme #page-content a[style*="linear-gradient"][style*="#7B2D8E"] {
  background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(255,255,255,0.46)) !important;
  -webkit-backdrop-filter: saturate(170%) blur(22px) !important;
  backdrop-filter: saturate(170%) blur(22px) !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 2px 10px rgba(0,0,0,0.06) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
}

/* 29.2 兜底：所有内页 button/a 实心渐变背景 → 深灰实心 + 白字（主 CTA 按钮） */
body.apple-theme #page-content button[style*="background:linear-gradient"],
body.apple-theme #page-content a[style*="background:linear-gradient"] {
  background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(255,255,255,0.46)) !important;
  -webkit-backdrop-filter: saturate(170%) blur(22px) !important;
  backdrop-filter: saturate(170%) blur(22px) !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 2px 10px rgba(0,0,0,0.06) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
}

/* ══════════════ 30. 主按钮类 .btn-primary/.btn-gold/.btn-cta → 苹果蓝底白字 ══════════════ */
/* section14.4 只清了 box-shadow，漏了 background。typography-final 的
   `#page-content .btn-primary{background:linear-gradient(135deg,#D4A574,#E8A0A0,#E8C892)!important}`
   把主按钮染成玫瑰金渐变 + 暖白字(对比度低)。这里补 background → 苹果蓝实心 + 白字 */

body.apple-theme #page-content .btn-primary,
body.apple-theme #page-content .btn-gold,
body.apple-theme #page-content .btn-cta {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
  color: var(--apple-accent) !important;
  -webkit-text-fill-color: var(--apple-accent) !important;
  box-shadow: none !important;
  border: none !important;
}

body.apple-theme #page-content .btn-primary:hover,
body.apple-theme #page-content .btn-gold:hover,
body.apple-theme #page-content .btn-cta:hover {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
  color: var(--apple-accent) !important;
}

/* ══════════════ 31. 会员等级徽章/卡片 → 苹果蓝实心 + 白字 ══════════════ */
/* 等级徽章「当前」标签用金→紫渐变 + 白字，被某规则改成淡蓝底后白字看不清。
   统一恢复为苹果蓝实心底 + 白字（清晰且符合苹果风） */

/* 31.1 「当前」等级标签（金→深紫 #D4A574,#8B3A8E）→ 苹果蓝实心 + 白字 */
body.apple-theme #page-content [style*="linear-gradient(135deg,#D4A574,#8B3A8E"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
  color: var(--apple-accent) !important;
  -webkit-text-fill-color: var(--apple-accent) !important;
  box-shadow: none !important;
}

/* 31.2 等级卡片浅金渐变 #FFF3D6,#FBE6C0 → 白色卡片 + 灰边框 */
body.apple-theme #page-content [style*="linear-gradient(160deg,#FFF3D6"] {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--apple-border) !important;
  box-shadow: var(--apple-shadow) !important;
}

/* 31.3 等级徽章金→紫渐变 + 白字（my-center 等）→ 苹果蓝实心 + 白字 */
body.apple-theme #page-content [style*="linear-gradient(135deg,#D4A574,#9B59B6"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#7B2D8E,#D4A574"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#7B2D8E,#9B4DCA"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#D4A574,#E8A0B4"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
  color: var(--apple-accent) !important;
  -webkit-text-fill-color: var(--apple-accent) !important;
  box-shadow: none !important;
}

/* 31.4 金色 2px 边框（等级卡片描边）→ 灰边框 */
body.apple-theme #page-content [style*="border:2px solid #D4A574"] {
  border: 1px solid var(--apple-border) !important;
}

/* ══════════════ 32. 金色半透明渐变头像/装饰 → 浅灰底 + 深灰字 ══════════════ */
/* section18.3 的 `#D4A574` 前缀误伤了 `#D4A57420/#D4A57408`（带 alpha 的 8 位 hex
   金色半透明渐变，如讲师头像圆形），把它们也改成苹果蓝实心，与同样被染蓝的金字
   `color:#D4A574` 叠加成「蓝底蓝字」。这里恢复为浅灰底 + 深灰字 */

body.apple-theme #page-content [style*="linear-gradient(135deg,#D4A57420"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#D4A57408"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#D4A5741"] {
  background: rgba(0, 0, 0, 0.04) !important;
  background-image: none !important;
  color: var(--apple-text-2) !important;
  -webkit-text-fill-color: var(--apple-text-2) !important;
  box-shadow: none !important;
}

/* ══════════════ 33. 紫色半透明背景 #9B59B6xx（带 alpha）→ 淡蓝 ══════════════ */
/* section18.4 的 `background:#9B59B6` 前缀误伤 `#9B59B612/#9B59B615` 等带 alpha 的
   紫色半透明标签，覆盖成苹果蓝实心，与 section19 染蓝的紫字 `color:#9B59B6`
   叠加成「蓝底蓝字」。这里恢复为淡蓝底（苹果蓝字在淡蓝上清晰） */

body.apple-theme #page-content [style*="background:#9B59B612"],
body.apple-theme #page-content [style*="background:#9B59B615"],
body.apple-theme #page-content [style*="background:#9B59B608"],
body.apple-theme #page-content [style*="background:#9B59B614"],
body.apple-theme #page-content [style*="background:#9B59B618"],
body.apple-theme #page-content [style*="background:#9B59B60A"],
body.apple-theme #page-content [style*="background:#9B59B616"],
body.apple-theme #page-content [style*="background:#9B59B61A"] {
  background: var(--apple-accent-soft) !important;
}

/* 33.2 同类的 #7B2D8E 带 alpha（紫色半透明）→ 淡蓝 */
body.apple-theme #page-content [style*="background:#7B2D8E1"],
body.apple-theme #page-content [style*="background:#7B2D8E0"] {
  background: var(--apple-accent-soft) !important;
}

/* ══════════════ 34. 苹果主题「颜色不协调/太淡」收敛 ══════════════ */
/* 暗金主题残留了大量彩色文字/标签/边框（金褐#B8860B、橙金#F59E0B/#FF9500、
   绿#34C759/#059669/#07C160、红#E74C3C、紫蓝#A855F7/#8B5CF6/#3B82F6 等），
   在苹果黑白灰蓝主题下杂乱不搭。统一收敛为：
   紫/青/蓝 → 苹果蓝(强调)；金/橙/绿/红 → 深灰(中性)；
   彩色标签底 → 苹果蓝浅色；彩色边框 → 中性浅灰。 */

/* 34.1 紫色/蓝色强调文字（补充未覆盖的紫蓝）→ 苹果蓝 */
body.apple-theme #page-content [style*="color:#A855F7"],
body.apple-theme #page-content [style*="color:#8B5CF6"],
body.apple-theme #page-content [style*="color:#3B82F6"],
body.apple-theme #page-content [style*="color:#6366F1"],
body.apple-theme #page-content [style*="color:#9333EA"] {
  color: var(--apple-accent) !important;
  -webkit-text-fill-color: var(--apple-accent) !important;
}

/* 34.2 金色/橙色文字 → 深灰（正文/价格/数字中性化） */
body.apple-theme #page-content [style*="color:#B8860B"],
body.apple-theme #page-content [style*="color:#B8862E"],
body.apple-theme #page-content [style*="color:#F59E0B"],
body.apple-theme #page-content [style*="color:#FF9500"],
body.apple-theme #page-content [style*="color:#FF6B00"],
body.apple-theme #page-content [style*="color:#FFB74D"],
body.apple-theme #page-content [style*="color:#F5C6A5"],
body.apple-theme #page-content [style*="color:#C67B5C"],
body.apple-theme #page-content [style*="color:#B45309"] {
  color: var(--apple-text-2) !important;
  -webkit-text-fill-color: var(--apple-text-2) !important;
}

/* 34.3 绿色文字 → 深灰（报名人数/成功/数字中性化） */
body.apple-theme #page-content [style*="color:#22C55E"],
body.apple-theme #page-content [style*="color:#81C784"],
body.apple-theme #page-content [style*="color:#34C759"],
body.apple-theme #page-content [style*="color:#059669"],
body.apple-theme #page-content [style*="color:#00A86B"],
body.apple-theme #page-content [style*="color:#10B981"],
body.apple-theme #page-content [style*="color:#07C160"],
body.apple-theme #page-content [style*="color:#16A34A"],
body.apple-theme #page-content [style*="color:#6B8E5A"] {
  color: var(--apple-text-2) !important;
  -webkit-text-fill-color: var(--apple-text-2) !important;
}

/* 34.4 红色/粉色文字 → 深灰 */
body.apple-theme #page-content [style*="color:#E74C3C"],
body.apple-theme #page-content [style*="color:#EF4444"],
body.apple-theme #page-content [style*="color:#FF6B8A"],
body.apple-theme #page-content [style*="color:#F87171"] {
  color: var(--apple-text-2) !important;
  -webkit-text-fill-color: var(--apple-text-2) !important;
}

/* 34.5 彩色标签/胶囊背景（8位hex带alpha + rgba）→ 苹果蓝浅色 */
/* 绿色系 */
body.apple-theme #page-content [style*="background:#22C55E"],
body.apple-theme #page-content [style*="background:#34C759"],
body.apple-theme #page-content [style*="background:#059669"],
body.apple-theme #page-content [style*="background:#00A86B"],
body.apple-theme #page-content [style*="background:#10B981"],
body.apple-theme #page-content [style*="background:#07C160"],
body.apple-theme #page-content [style*="background:#16A34A"],
body.apple-theme #page-content [style*="background:#81C784"],
/* 橙色系 */
body.apple-theme #page-content [style*="background:#D4784C"],
body.apple-theme #page-content [style*="background:#FF9500"],
body.apple-theme #page-content [style*="background:#FF6B00"],
body.apple-theme #page-content [style*="background:#F59E0B"],
body.apple-theme #page-content [style*="background:#FFB74D"],
/* 红色系 */
body.apple-theme #page-content [style*="background:#E74C3C"],
body.apple-theme #page-content [style*="background:#EF4444"],
/* 浅蓝/青 */
body.apple-theme #page-content [style*="background:#4FC3F7"],
body.apple-theme #page-content [style*="background:#00D4FF"],
/* 紫蓝 */
body.apple-theme #page-content [style*="background:#A855F7"],
body.apple-theme #page-content [style*="background:#8B5CF6"],
body.apple-theme #page-content [style*="background:#3B82F6"],
body.apple-theme #page-content [style*="background:#6366F1"],
/* 金色 */
body.apple-theme #page-content [style*="background:#B8860B"],
body.apple-theme #page-content [style*="background:#B8862E"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
}

/* 34.6 彩色 rgba 标签背景 → 苹果蓝浅色 */
body.apple-theme #page-content [style*="background:rgba(34,197,94"],
body.apple-theme #page-content [style*="background:rgba(231,76,60"],
body.apple-theme #page-content [style*="background:rgba(79,195,247"],
body.apple-theme #page-content [style*="background:rgba(255,149,0"],
body.apple-theme #page-content [style*="background:rgba(5,150,105"],
body.apple-theme #page-content [style*="background:rgba(16,185,129"],
body.apple-theme #page-content [style*="background:rgba(245,158,11"],
body.apple-theme #page-content [style*="background:rgba(7,193,96"],
body.apple-theme #page-content [style*="background:rgba(212,120,76"],
body.apple-theme #page-content [style*="background:rgba(123,45,142"],
body.apple-theme #page-content [style*="background:rgba(212,165,116"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
}

/* 34.7 彩色渐变标签背景（linear-gradient(...#xxx08,#xxx02 等）→ 苹果蓝浅色 */
body.apple-theme #page-content [style*="linear-gradient(180deg,#22C55E"],
body.apple-theme #page-content [style*="linear-gradient(180deg,#34C759"],
body.apple-theme #page-content [style*="linear-gradient(180deg,#059669"],
body.apple-theme #page-content [style*="linear-gradient(180deg,#10B981"],
body.apple-theme #page-content [style*="linear-gradient(180deg,#4FC3F7"],
body.apple-theme #page-content [style*="linear-gradient(180deg,#D4784C"],
body.apple-theme #page-content [style*="linear-gradient(180deg,#FF9500"],
body.apple-theme #page-content [style*="linear-gradient(180deg,#E74C3C"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#059669"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#10B981"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#22C55E"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#4FC3F7"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#F59E0B"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
}

/* 34.8 彩色边框 → 中性浅灰（卡片/标签描边统一） */
body.apple-theme #page-content [style*="border:1px solid #D4784C"],
body.apple-theme #page-content [style*="border:1px solid #22C55E"],
body.apple-theme #page-content [style*="border:1px solid #34C759"],
body.apple-theme #page-content [style*="border:1px solid #059669"],
body.apple-theme #page-content [style*="border:1px solid #10B981"],
body.apple-theme #page-content [style*="border:1px solid #16A34A"],
body.apple-theme #page-content [style*="border:1px solid #4FC3F7"],
body.apple-theme #page-content [style*="border:1px solid #A855F7"],
body.apple-theme #page-content [style*="border:1px solid #8B5CF6"],
body.apple-theme #page-content [style*="border:1px solid #3B82F6"],
body.apple-theme #page-content [style*="border:1px solid #F59E0B"],
body.apple-theme #page-content [style*="border:1px solid #FF9500"],
body.apple-theme #page-content [style*="border:1px solid #7B2D8E"],
body.apple-theme #page-content [style*="border:1px solid #9B59B6"] {
  border-color: var(--apple-border) !important;
}

/* 34.9 彩色 rgba 边框 → 中性浅灰 */
body.apple-theme #page-content [style*="border:1px solid rgba(34,197,94"],
body.apple-theme #page-content [style*="border:1px solid rgba(231,76,60"],
body.apple-theme #page-content [style*="border:1px solid rgba(79,195,247"],
body.apple-theme #page-content [style*="border:1px solid rgba(255,149,0"],
body.apple-theme #page-content [style*="border:1px solid rgba(5,150,105"],
body.apple-theme #page-content [style*="border:1px solid rgba(16,185,129"],
body.apple-theme #page-content [style*="border:1px solid rgba(212,120,76"],
body.apple-theme #page-content [style*="border:1px solid rgba(123,45,142"],
body.apple-theme #page-content [style*="border:1px solid rgba(212,165,116"],
body.apple-theme #page-content [style*="border:1px solid rgba(245,158,11"] {
  border-color: var(--apple-border) !important;
}

/* 34.10 CSS 变量彩色文字 → 深灰/苹果蓝 */
body.apple-theme #page-content [style*="color:var(--gold-accent)"],
body.apple-theme #page-content [style*="color: var(--gold-accent)"] {
  color: var(--apple-text-2) !important;
  -webkit-text-fill-color: var(--apple-text-2) !important;
}
body.apple-theme #page-content [style*="color:var(--fire-purple)"],
body.apple-theme #page-content [style*="color: var(--fire-purple)"],
body.apple-theme #page-content [style*="color:var(--fire-deep)"] {
  color: var(--apple-accent) !important;
  -webkit-text-fill-color: var(--apple-accent) !important;
}

/* 34.11 金色分隔线（border-top/border-bottom 金色）→ 中性浅灰 */
body.apple-theme #page-content [style*="border-top:1px solid rgba(212,165,116"],
body.apple-theme #page-content [style*="border-top:2px solid #E8C892"],
body.apple-theme #page-content [style*="border-bottom:2px solid #E8C892"],
body.apple-theme #page-content [style*="border-top:3px solid #D4A574"],
body.apple-theme #page-content [style*="border-left:3px solid #D4A574"],
body.apple-theme #page-content [style*="border-left:3px solid #22C55E"] {
  border-color: var(--apple-border) !important;
}

/* 34.12 粉色系（#E8A0B4/#F5C6A5/#F2B8C6）背景/边框/文字 → 收敛 */
/* 粉色圆点（幸运色指示）→ 苹果蓝实心 + 苹果蓝光晕 */
body.apple-theme #page-content [style*="background:#F5C6A5"] {
  background: var(--apple-accent-soft) !important;
  box-shadow: 0 0 14px rgba(0,0,0, 0.45) !important;
}
/* 粉色 rgba 标签背景 → 苹果蓝浅色 */
body.apple-theme #page-content [style*="background:rgba(232,160,180"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
}
/* 粉色渐变条 → 苹果蓝浅色 */
body.apple-theme #page-content [style*="linear-gradient(90deg,rgba(232,160,180"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
}
/* 粉色实心背景（#E8A0B4/#F2B8C6）→ 苹果蓝 */
body.apple-theme #page-content [style*="background:#E8A0B4"],
body.apple-theme #page-content [style*="background:#F2B8C6"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
}
/* 粉色文字 → 深灰 */
body.apple-theme #page-content [style*="color:#E8A0B4"],
body.apple-theme #page-content [style*="color:#F2B8C6"],
body.apple-theme #page-content [style*="color:#E8A0A0"] {
  color: var(--apple-text-2) !important;
  -webkit-text-fill-color: var(--apple-text-2) !important;
}
/* 粉色边框 → 浅灰 */
body.apple-theme #page-content [style*="border:1px solid #E8A0B4"],
body.apple-theme #page-content [style*="border:1px solid #F2B8C6"] {
  border-color: var(--apple-border) !important;
}
/* 粉色渐变（按钮/图标底）→ 苹果蓝 */
body.apple-theme #page-content [style*="linear-gradient(90deg,#E8A0B4"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#E8A0B4"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#7B2D8E,#E8A0B4"],
body.apple-theme #page-content [style*="linear-gradient(135deg,#D4A574,#E8A0B4"],
body.apple-theme #page-content [style*="linear-gradient(180deg,#D4A574,#E8A0B4"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
  color: var(--apple-accent) !important;
  -webkit-text-fill-color: var(--apple-accent) !important;
}

/* 34.13 白色半透明玻璃（暗金玻璃残留）→ 白色实心卡片 + 边框（解决「太淡看不清」） */
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.06"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.05"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.04"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.03"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.02"] {
  background: var(--apple-surface) !important;
  background-image: none !important;
  border: 1px solid var(--apple-border) !important;
  box-shadow: var(--apple-shadow) !important;
}

/* 34.14 残留紫色→金色 3% 透明渐变（基金赛道卡等）→ 苹果蓝浅色 */
body.apple-theme #page-content [style*="linear-gradient(135deg,rgba(123,45,142"],
body.apple-theme #page-content [style*="linear-gradient(135deg,rgba(155,89,182"],
body.apple-theme #page-content [style*="linear-gradient(160deg,rgba(123,45,142"],
body.apple-theme #page-content [style*="linear-gradient(160deg,rgba(155,89,182"],
body.apple-theme #page-content [style*="linear-gradient(180deg,rgba(123,45,142"],
body.apple-theme #page-content [style*="linear-gradient(180deg,rgba(155,89,182"] {
  background: var(--apple-accent-soft) !important;
  background-image: none !important;
}

/* 34.15 红色/彩色边框（2px + 带空格 rgba 变体）→ 浅灰 */
body.apple-theme #page-content [style*="border:2px solid rgba(231,76,60"],
body.apple-theme #page-content [style*="border:1px solid rgba(231, 76, 60"],
body.apple-theme #page-content [style*="border:2px solid rgba(231, 76, 60"],
body.apple-theme #page-content [style*="border:1px solid rgba(255, 149, 0"],
body.apple-theme #page-content [style*="border:1px solid rgba(34, 197, 94"],
body.apple-theme #page-content [style*="border:1px solid rgba(79, 195, 247"],
body.apple-theme #page-content [style*="border:1px solid rgba(212, 165, 116"] {
  border-color: var(--apple-border) !important;
}

/* 34.16 彩色边框（任意方向 top/left/right/bottom，任意 1px/2px/3px）→ 浅灰 */
/* 用 [style*="solid #彩色"] 前缀匹配，覆盖所有 hex 彩色边框变体 */
body.apple-theme #page-content [style*="solid #D4784C"],
body.apple-theme #page-content [style*="solid #22C55E"],
body.apple-theme #page-content [style*="solid #4FC3F7"],
body.apple-theme #page-content [style*="solid #F59E0B"],
body.apple-theme #page-content [style*="solid #7B2D8E"],
body.apple-theme #page-content [style*="solid #9B59B6"],
body.apple-theme #page-content [style*="solid #E74C3C"],
body.apple-theme #page-content [style*="solid #EF4444"],
body.apple-theme #page-content [style*="solid #D4A574"],
body.apple-theme #page-content [style*="solid #E8C892"],
body.apple-theme #page-content [style*="solid #A855F7"],
body.apple-theme #page-content [style*="solid #8B5CF6"],
body.apple-theme #page-content [style*="solid #3B82F6"],
body.apple-theme #page-content [style*="solid #FF9500"],
body.apple-theme #page-content [style*="solid #059669"],
body.apple-theme #page-content [style*="solid #10B981"],
body.apple-theme #page-content [style*="solid #16A34A"],
body.apple-theme #page-content [style*="solid #07C160"],
body.apple-theme #page-content [style*="solid #FF6B00"],
body.apple-theme #page-content [style*="solid #B8860B"],
body.apple-theme #page-content [style*="solid #34C759"],
body.apple-theme #page-content [style*="solid #00A86B"] {
  border-color: var(--apple-border) !important;
}
/* rgba 彩色边框（含空格与无空格变体）→ 浅灰 */
body.apple-theme #page-content [style*="solid rgba(231,76,60"],
body.apple-theme #page-content [style*="solid rgba(231, 76, 60"],
body.apple-theme #page-content [style*="solid rgba(255,149,0"],
body.apple-theme #page-content [style*="solid rgba(255, 149, 0"],
body.apple-theme #page-content [style*="solid rgba(34,197,94"],
body.apple-theme #page-content [style*="solid rgba(34, 197, 94"],
body.apple-theme #page-content [style*="solid rgba(79,195,247"],
body.apple-theme #page-content [style*="solid rgba(79, 195, 247"],
body.apple-theme #page-content [style*="solid rgba(212,165,116"],
body.apple-theme #page-content [style*="solid rgba(212, 165, 116"],
body.apple-theme #page-content [style*="solid rgba(5,150,105"],
body.apple-theme #page-content [style*="solid rgba(16,185,129"],
body.apple-theme #page-content [style*="solid rgba(212,120,76"],
body.apple-theme #page-content [style*="solid rgba(123,45,142"],
body.apple-theme #page-content [style*="solid rgba(123, 45, 142"],
body.apple-theme #page-content [style*="solid rgba(245,158,11"] {
  border-color: var(--apple-border) !important;
}

/* ══════════════ 35. 玻璃拟态 · 晶莹剔透（iOS 毛玻璃） ══════════════ */

/* 35.1 背景柔和光晕 —— 让玻璃有内容可透，形成晶莹空气感 */
body.apple-theme {
  background:
    radial-gradient(120% 90% at 8% -12%, rgba(255,255,255,0.95), transparent 52%),
    radial-gradient(100% 80% at 94% -4%, rgba(224,230,242,0.55), transparent 52%),
    radial-gradient(90% 85% at 50% 112%, rgba(238,235,247,0.42), transparent 52%),
    var(--apple-bg) !important;
}

/* 35.2 通用卡片 → 毛玻璃（半透明白 + 背景模糊 + 玻璃高光边） */
body.apple-theme .card,
body.apple-theme .card-glass,
body.apple-theme .card-stat,
body.apple-theme .stat-card,
body.apple-theme .industry-card,
body.apple-theme .eco-card,
body.apple-theme [class*="panel"] {
  background: rgba(255,255,255,0.5) !important;
  background-image: none !important;
  -webkit-backdrop-filter: saturate(170%) blur(48px) !important;
  backdrop-filter: saturate(170%) blur(48px) !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.15),
    0 1px 2px rgba(0,0,0,0.03),
    0 12px 36px rgba(0,0,0,0.06) !important;
}

body.apple-theme .card:hover,
body.apple-theme .card-glass:hover,
body.apple-theme .card-stat:hover,
body.apple-theme .stat-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 2px 6px rgba(0,0,0,0.05),
    0 20px 50px rgba(0,0,0,0.09) !important;
}

/* 35.3 内联玻璃卡（34.13 曾改白实心）→ 还原为毛玻璃 */
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.06"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.05"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.04"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.03"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.02"] {
  background: rgba(255,255,255,0.44) !important;
  background-image: none !important;
  -webkit-backdrop-filter: saturate(170%) blur(38px) !important;
  backdrop-filter: saturate(170%) blur(38px) !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 1px 2px rgba(0,0,0,0.03),
    0 8px 28px rgba(0,0,0,0.05) !important;
}

/* 35.4 暖白/米白大卡（18.9/19.2/22.4 曾改纯白）→ 毛玻璃 */
body.apple-theme #page-content [style*="background:#FFFEF9"],
body.apple-theme #page-content [style*="background:#FFF0E0"],
body.apple-theme #page-content [style*="background:#FFFBF5"],
body.apple-theme #page-content [style*="background:#FFFDF6"],
body.apple-theme #page-content [style*="background:#FAF6EF"],
body.apple-theme #page-content [style*="linear-gradient(160deg,#FFFFFF,#FFFEF9"] {
  background: rgba(255,255,255,0.5) !important;
  background-image: none !important;
  -webkit-backdrop-filter: saturate(170%) blur(48px) !important;
  backdrop-filter: saturate(170%) blur(48px) !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 1px 2px rgba(0,0,0,0.03),
    0 12px 36px rgba(0,0,0,0.06) !important;
}

/* 35.5 修正暖白卡 #FFFEF9 —— 用 div 提升 specificity 覆盖 19.2 的纯白 */
body.apple-theme #page-content div[style*="background:#FFFEF9"] {
  background: rgba(255,255,255,0.5) !important;
  background-image: none !important;
  -webkit-backdrop-filter: saturate(170%) blur(48px) !important;
  backdrop-filter: saturate(170%) blur(48px) !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 1px 2px rgba(0,0,0,0.03),
    0 12px 36px rgba(0,0,0,0.06) !important;
}

/* ══════════════ 36. 底部用户区 + 收尾 ══════════════ */

/* 36.1 侧边栏底部用户区：头像浅灰 + 深色 emoji，用户名深灰，角色中灰 */
body.apple-theme .user-avatar,
body.apple-theme #sidebar-avatar {
  background: rgba(0,0,0,0.08) !important;
  background-image: none !important;
  color: var(--apple-text) !important;
  -webkit-text-fill-color: var(--apple-text) !important;
}
body.apple-theme .user-name,
body.apple-theme #sidebar-name {
  color: var(--apple-text) !important;
}
body.apple-theme .user-role,
body.apple-theme #sidebar-role {
  color: var(--apple-text-3) !important;
}
body.apple-theme .sidebar-footer {
  border-top: 1px solid var(--apple-border) !important;
}
body.apple-theme .btn-logout {
  color: var(--apple-text-3) !important;
  border-color: var(--apple-border) !important;
}

/* 36.2 主题切换按钮激活态：白底 + 深灰字（去黑底） */
body.apple-theme .theme-switcher-seg .seg-btn.active {
  background: #ffffff !important;
  color: var(--apple-accent) !important;
  -webkit-text-fill-color: var(--apple-accent) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12) !important;
}

/* ══════════════ 37. 丽小蜜悬浮球角标去玫红 + 侧边栏玻璃残留清理 ══════════════ */

/* 37.1 丽小蜜「AI闺蜜」角标 → 深灰底白字（黑白灰） */
body.apple-theme {
  --lx-badge-bg: #424245;
  --lx-badge-fg: #ffffff;
}

/* 37.2 侧边栏导航链接 → 透明底（清理暗金玻璃 0.02 残留） */
body.apple-theme .sidebar a,
body.apple-theme .sidebar .nav-link,
body.apple-theme .nav-item a,
body.apple-theme aside a {
  background: transparent !important;
  background-image: none !important;
}

/* ══════════════ 38. 深紫渐变卡 → 白色玻璃（恢复晶莹剔透） ══════════════ */

/* 38.1 首页统计卡/深紫渐变卡（内联 linear-gradient(165deg,rgba(32,12,52...)）
   曾被收敛成浅灰 0.08，现恢复为白色晶莹玻璃 */
body.apple-theme #page-content div[style*="background:linear-gradient(165deg,rgba(32,12,52"],
body.apple-theme #page-content div[style*="background:linear-gradient(165deg, rgba(32,12,52"],
body.apple-theme #page-content div[style*="background:linear-gradient(165deg,#050010"],
body.apple-theme #page-content div[style*="background:linear-gradient(165deg, #050010"],
body.apple-theme #page-content div[style*="background:linear-gradient(160deg,rgba(18,4,34"],
body.apple-theme #page-content div[style*="background:linear-gradient(160deg, rgba(18,4,34"] {
  background: rgba(255,255,255,0.5) !important;
  background-image: none !important;
  -webkit-backdrop-filter: saturate(170%) blur(48px) !important;
  backdrop-filter: saturate(170%) blur(48px) !important;
  border: 1px solid rgba(255,255,255,0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.2),
    0 8px 32px rgba(0,0,0,0.05) !important;
}

/* ══════════════ 39. 修复 30.3「金色 tint」过度匹配误伤 ══════════════ */
/* 30.3 用 [style*="background"][style*="rgba(212,165,116,0."] 匹配「金色背景」，
   但会把「暖白渐变卡(背景)+金色边框(border)」和「金色径向光晕装饰层」也误判成金色背景，
   整卡被染成浅灰 0.08 → 底部栏目背景色不对。此处针对性恢复。 */

/* 39.1 暖白渐变卡（八大赋能/九大产业/品牌矩阵等，12 处）→ 白色晶莹玻璃 */
body.apple-theme #page-content div[style*="linear-gradient(180deg,rgba(255,254,249"],
body.apple-theme #page-content div[style*="linear-gradient(180deg, rgba(255,254,249"],
body.apple-theme #page-content div[style*="linear-gradient(180deg,rgba(253,248,242"],
body.apple-theme #page-content div[style*="linear-gradient(180deg, rgba(253,248,242"] {
  background: rgba(255,255,255,0.5) !important;
  background-image: none !important;
  -webkit-backdrop-filter: saturate(170%) blur(48px) !important;
  backdrop-filter: saturate(170%) blur(48px) !important;
  border: 1px solid rgba(255,255,255,0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.2),
    0 8px 32px rgba(0,0,0,0.05) !important;
}

/* 39.2 金色径向光晕装饰层（radial-gradient 含金）→ 透明，避免灰实心块 */
body.apple-theme #page-content [style*="radial-gradient"][style*="rgba(212,165,116,0." i],
body.apple-theme #page-content [style*="radial-gradient"][style*="rgba(212, 165, 116, 0." i] {
  background: transparent !important;
  background-image: none !important;
}

/* ══════════════ 40. 主按钮 → 深灰实心 + 白字（黑白灰层次，明显可点） ══════════════ */
/* 之前主按钮被统一成浅灰 0.08，在白色玻璃卡上几乎看不出按钮边界。
   苹果黑白灰下，主 CTA 用深灰实心 + 白字，与玻璃卡片形成层次。 */

body.apple-theme .btn-primary,
body.apple-theme .btn-login,
body.apple-theme #page-content .btn-primary,
body.apple-theme #page-content .btn-gold,
body.apple-theme #page-content .btn-cta {
  background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(255,255,255,0.46)) !important;
  -webkit-backdrop-filter: saturate(170%) blur(22px) !important;
  backdrop-filter: saturate(170%) blur(22px) !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 2px 10px rgba(0,0,0,0.06) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
}

body.apple-theme .btn-primary:hover,
body.apple-theme .btn-login:hover,
body.apple-theme #page-content .btn-primary:hover,
body.apple-theme #page-content .btn-gold:hover,
body.apple-theme #page-content .btn-cta:hover {
  background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,255,255,0.62)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.98), 0 6px 18px rgba(0,0,0,0.08) !important;
}

/* 40.2 内联渐变按钮（主 CTA，如「进入丽人生态」紫色渐变）→ 深灰实心 + 白字 */
body.apple-theme #page-content button[style*="background:linear-gradient"],
body.apple-theme #page-content a[style*="background:linear-gradient"] {
  background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(255,255,255,0.46)) !important;
  -webkit-backdrop-filter: saturate(170%) blur(22px) !important;
  backdrop-filter: saturate(170%) blur(22px) !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 2px 10px rgba(0,0,0,0.06) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
}
body.apple-theme #page-content button[style*="background:linear-gradient"]:hover,
body.apple-theme #page-content a[style*="background:linear-gradient"]:hover {
  background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,255,255,0.62)) !important;
}

/* ══════════════ 41. 更多被金色/紫色 tint 误伤的卡片 → 白色玻璃 ══════════════ */
/* dream-fund「梦想LP」金色8hex tint、coach「教练实时提醒」紫金 tint、
   coach「认识丽人梦想秀」暖白渐变+金边，均被 30.2/30.3 过度匹配误伤成浅灰 0.08 */

body.apple-theme #page-content div[style*="#D4A5740"],
body.apple-theme #page-content div[style*="linear-gradient(135deg,rgba(123,45,142,0.05"],
body.apple-theme #page-content div[style*="linear-gradient(135deg, rgba(123,45,142,0.05"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#FFFDF5"],
body.apple-theme #page-content div[style*="linear-gradient(160deg, #FFFDF5"],
body.apple-theme #page-content div[style*="linear-gradient(180deg,#FFFDF5"],
body.apple-theme #page-content div[style*="linear-gradient(180deg, #FFFDF5"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,#FBF3E6"],
body.apple-theme #page-content div[style*="linear-gradient(160deg, #FBF3E6"],
body.apple-theme #page-content div[style*="linear-gradient(180deg,#FBF3E6"],
body.apple-theme #page-content div[style*="linear-gradient(180deg, #FBF3E6"] {
  background: rgba(255,255,255,0.5) !important;
  background-image: none !important;
  -webkit-backdrop-filter: saturate(170%) blur(48px) !important;
  backdrop-filter: saturate(170%) blur(48px) !important;
  border: 1px solid rgba(255,255,255,0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.2),
    0 8px 32px rgba(0,0,0,0.05) !important;
}

/* ══════════════ 42. 生态入口/产业矩阵深紫渐变卡片 → 白色玻璃 ══════════════ */
/* .eco-card / .industry-card 内联深紫渐变 linear-gradient(160deg,rgba(42,14,61...)，
   因含金色边框 rgba(212,165,116,0.18) 被 30.3 金色tint过度匹配误伤成浅灰 0.08；
   另覆盖 180deg rgba(21,5,32,0.88) 深紫大卡。用 class/属性 + #page-content 提高优先级 */

body.apple-theme #page-content .eco-card,
body.apple-theme #page-content .industry-card,
body.apple-theme #page-content div[style*="linear-gradient(160deg,rgba(42,14,61"],
body.apple-theme #page-content div[style*="linear-gradient(160deg, rgba(42,14,61"],
body.apple-theme #page-content div[style*="linear-gradient(180deg,rgba(21,5,32"],
body.apple-theme #page-content div[style*="linear-gradient(180deg, rgba(21,5,32"] {
  background: rgba(255,255,255,0.5) !important;
  background-image: none !important;
  background-color: rgba(255,255,255,0.5) !important;
  -webkit-backdrop-filter: saturate(170%) blur(48px) !important;
  backdrop-filter: saturate(170%) blur(48px) !important;
  border: 1px solid rgba(255,255,255,0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.2),
    0 8px 32px rgba(0,0,0,0.05) !important;
}

/* 紫色 tint 渐变（rgba(123,45,142,0.04) 很淡装饰）→ 透明，避免灰蒙蒙 */
body.apple-theme #page-content div[style*="linear-gradient(135deg,rgba(123,45,142,0.04"],
body.apple-theme #page-content div[style*="linear-gradient(135deg, rgba(123,45,142,0.04"] {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
}

/* ══════════════ 43. 玻璃透亮升级 · 背景光晕增强 + 品牌标签玻璃化 ══════════════ */

/* 43.1 背景光晕增强：更亮 + 增加暖白光晕，让毛玻璃有更丰富的色温可透 */
body.apple-theme {
  background:
    radial-gradient(120% 90% at 8% -12%, rgba(255,255,255,0.98), transparent 55%),
    radial-gradient(110% 90% at 96% -6%, rgba(210,224,244,0.70), transparent 55%),
    radial-gradient(95% 90% at 10% 108%, rgba(232,228,248,0.60), transparent 55%),
    radial-gradient(80% 70% at 90% 114%, rgba(255,242,230,0.55), transparent 52%),
    var(--apple-bg) !important;
}

/* 43.2 底部品牌标签 .partner-chip → 白色毛玻璃胶囊（金色 tint 被 30.3 误伤成灰 0.08） */
body.apple-theme #page-content .partner-chip {
  background: rgba(255,255,255,0.5) !important;
  background-image: none !important;
  background-color: rgba(255,255,255,0.5) !important;
  -webkit-backdrop-filter: saturate(170%) blur(24px) !important;
  backdrop-filter: saturate(170%) blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.7) !important;
  color: var(--apple-text) !important;
  -webkit-text-fill-color: var(--apple-text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 2px 8px rgba(0,0,0,0.04) !important;
}

/* ══════════════ 45. 玻璃晶莹剔透·高级细腻升级 ══════════════ */
/* 核心思路：①背景铺更丰富柔和的多彩光斑（浅蓝/浅紫/浅粉/暖橙），让毛玻璃有
   真实色彩可折射，呈现苹果官网那种"空气感"；②玻璃卡片提高折射饱和 + 整体
   细描边高光 + 更细腻多层阴影，边缘更"晶莹"、悬浮感更高级。 */

/* 45.1 背景光晕升级：6 个柔和光斑，色彩层次更丰富 */
body.apple-theme {
  background:
    radial-gradient(120% 90% at 8% -12%, rgba(255,255,255,0.98), transparent 55%),
    radial-gradient(90% 80% at 92% -8%, rgba(210,225,245,0.72), transparent 55%),
    radial-gradient(75% 70% at 100% 28%, rgba(222,233,250,0.50), transparent 50%),
    radial-gradient(70% 75% at 0% 52%, rgba(232,228,248,0.55), transparent 52%),
    radial-gradient(60% 60% at 22% 100%, rgba(248,231,240,0.48), transparent 50%),
    radial-gradient(55% 55% at 96% 100%, rgba(255,242,228,0.50), transparent 50%),
    var(--apple-bg) !important;
}

/* 45.2 主玻璃卡片：折射饱和 170%→185%，整体细描边高光 + 更细腻多层阴影 */
body.apple-theme .card,
body.apple-theme .card-glass,
body.apple-theme .card-stat,
body.apple-theme .stat-card,
body.apple-theme .industry-card,
body.apple-theme .eco-card,
body.apple-theme [class*="panel"] {
  -webkit-backdrop-filter: saturate(185%) blur(48px) !important;
  backdrop-filter: saturate(185%) blur(48px) !important;
  border: 1px solid rgba(255,255,255,0.62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.98),
    inset 0 0 0 0.5px rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.15),
    0 1px 2px rgba(0,0,0,0.03),
    0 14px 40px rgba(0,0,0,0.055) !important;
}

/* 45.3 内联小玻璃卡：同款升级 */
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.06"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.05"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.04"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.03"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.02"] {
  -webkit-backdrop-filter: saturate(185%) blur(38px) !important;
  backdrop-filter: saturate(185%) blur(38px) !important;
  border: 1px solid rgba(255,255,255,0.62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.98),
    inset 0 0 0 0.5px rgba(255,255,255,0.40),
    0 1px 2px rgba(0,0,0,0.03),
    0 10px 30px rgba(0,0,0,0.05) !important;
}

/* 45.4 侧边栏玻璃：折射饱和 1.8→1.95 + 细描边高光 */
body.apple-theme .sidebar {
  -webkit-backdrop-filter: saturate(1.95) blur(48px) !important;
  backdrop-filter: saturate(1.95) blur(48px) !important;
  box-shadow:
    inset 0 0 0 0.5px rgba(255,255,255,0.45),
    1px 0 24px rgba(0,0,0,0.04) !important;
}

/* ══════════════ 45.5 覆盖高优先级玻璃卡（section 38/42 的 #page-content 规则）══════════════ */
/* section 38/42 用了 body.apple-theme #page-content ...（specificity 1,2,2），
   其 backdrop-filter 仍是 saturate(170%)，45.2 的 .eco-card(1,1,1) 打不过。
   此处用相同/更高 specificity 统一升级折射饱和 + 细描边高光 + 细腻多层阴影。 */
body.apple-theme #page-content .eco-card,
body.apple-theme #page-content .industry-card,
body.apple-theme #page-content .card,
body.apple-theme #page-content .card-glass,
body.apple-theme #page-content .card-stat,
body.apple-theme #page-content .stat-card,
body.apple-theme #page-content [class*="panel"],
body.apple-theme #page-content div[style*="linear-gradient(165deg,rgba(32,12,52"],
body.apple-theme #page-content div[style*="linear-gradient(165deg, rgba(32,12,52"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,rgba(42,14,61"],
body.apple-theme #page-content div[style*="linear-gradient(160deg, rgba(42,14,61"],
body.apple-theme #page-content div[style*="linear-gradient(180deg,rgba(21,5,32"],
body.apple-theme #page-content div[style*="linear-gradient(180deg, rgba(21,5,32"] {
  -webkit-backdrop-filter: saturate(185%) blur(48px) !important;
  backdrop-filter: saturate(185%) blur(48px) !important;
  border: 1px solid rgba(255,255,255,0.62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.98),
    inset 0 0 0 0.5px rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.15),
    0 1px 2px rgba(0,0,0,0.03),
    0 14px 40px rgba(0,0,0,0.055) !important;
}

/* ══════════════ 46. 玻璃上缘斜向高光反光 + 光晕提档 ══════════════ */
/* ①玻璃卡片叠加一道从左上到右下的极淡白色斜向高光，模拟光线打在玻璃表面的
   反光，让玻璃有"立体折光"的晶莹感；②光晕颜色/透明度再提一档，折射色更鲜活。 */

/* 46.1 光晕颜色提一档（浅蓝/浅紫/浅粉更饱和一点） */
body.apple-theme {
  background:
    radial-gradient(120% 90% at 8% -12%, rgba(255,255,255,0.99), transparent 55%),
    radial-gradient(90% 80% at 92% -8%, rgba(205,221,245,0.82), transparent 55%),
    radial-gradient(75% 70% at 100% 28%, rgba(218,232,250,0.60), transparent 50%),
    radial-gradient(70% 75% at 0% 52%, rgba(231,225,251,0.64), transparent 52%),
    radial-gradient(60% 60% at 22% 100%, rgba(250,227,242,0.58), transparent 50%),
    radial-gradient(55% 55% at 96% 100%, rgba(255,240,224,0.60), transparent 50%),
    var(--apple-bg) !important;
}

/* 46.2 主玻璃卡 + 生态/产业卡：叠加左上→右下斜向高光反光 */
body.apple-theme #page-content .eco-card,
body.apple-theme #page-content .industry-card,
body.apple-theme #page-content .card,
body.apple-theme #page-content .card-glass,
body.apple-theme #page-content .card-stat,
body.apple-theme #page-content .stat-card,
body.apple-theme #page-content [class*="panel"],
body.apple-theme #page-content div[style*="linear-gradient(165deg,rgba(32,12,52"],
body.apple-theme #page-content div[style*="linear-gradient(165deg, rgba(32,12,52"],
body.apple-theme #page-content div[style*="linear-gradient(160deg,rgba(42,14,61"],
body.apple-theme #page-content div[style*="linear-gradient(160deg, rgba(42,14,61"],
body.apple-theme #page-content div[style*="linear-gradient(180deg,rgba(21,5,32"],
body.apple-theme #page-content div[style*="linear-gradient(180deg, rgba(21,5,32"] {
  background-image: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.28) 38%, rgba(255,255,255,0) 60%) !important;
}

/* 46.3 内联小玻璃卡：同样叠加斜向高光 */
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.06"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.05"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.04"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.03"],
body.apple-theme #page-content [style*="background:rgba(255,255,255,0.02"] {
  background-image: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.25) 40%, rgba(255,255,255,0) 62%) !important;
}

/* 46.4 侧边栏：叠加极淡斜向高光 */
body.apple-theme .sidebar {
  background-image: linear-gradient(160deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.55) 45%, rgba(255,255,255,0.3) 100%) !important;
}

/* ══════════════ 47. 移动端底部导航：隐藏暗金深紫 .mobile-bottom-nav ══════════════ */
/* 根因：站点有两套移动端底部导航 —— .mobile-tab-bar（白色玻璃，apple 已美化）
   与 .mobile-bottom-nav（内联深紫渐变 linear-gradient(180deg,#150520,#1A0A30)，
   暗金主题遗留）。两者同为 position:fixed;bottom:0;z-index:999，重叠在底部，
   .mobile-bottom-nav 后出现、渲染在上层，深紫底透出白玻璃，导致"底部导航底色
   太深、与整体不协调"。apple 主题下隐藏深紫 .mobile-bottom-nav，保留白色玻璃
   .mobile-tab-bar（两套导航 page 一致，不减少功能入口）。 */
body.apple-theme .mobile-bottom-nav {
  display: none !important;
}

/* 顺带：apple 下 .mobile-tab-bar 确保纯白玻璃、去掉可能的深色底/边框 */
body.apple-theme .mobile-tab-bar {
  background: rgba(255,255,255,0.82) !important;
  background-image: none !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
}
