/**
 * 松泉太极 · Astra 主题新中式极简浅色版本样式系统 (Taiji Modern Light Theme System)
 * 
 * 核心美学体系：
 * 1. 宣纸素白温润底色 (#f7f6f2 / #ffffff)，取宋代生宣、澄泥玉色之温润沉静，告别刺眼死白
 * 2. 徽墨五色排版层级：焦墨主文本 (#181c22)、浓墨标题、烟墨次文本 (#4d5562)、淡墨说明 (#7a8594)
 * 3. 东方正统五行色彩：传统古印朱砂红 (#b93325)、深翠竹青 (#29744f)、紫气东来 (#6c4b82)、月华云白
 * 4. 工笔淡墨细腻微描边 (rgba(0, 0, 0, 0.08)) 与白玉通透立体微光阴影
 * 5. 支持三态主题切换组件（深色 / 浅色 / 系统一致）无缝响应
 * 
 * @package Astra
 * @subpackage TaijiCustom
 * @version 2.1.0
 */

/* ==========================================================================
   1. 主题切换器组件通用规范 (Theme Switcher Segmented Control)
   深色模式与浅色模式通用结构与新中式微晶质感排版
   ========================================================================== */
.sq-theme-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10;
  user-select: none;
}

.sq-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-family: var(--font-sans, -apple-system, sans-serif);
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.sq-theme-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.sq-theme-btn .sq-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sq-theme-btn:hover .sq-theme-icon {
  transform: scale(1.15);
}

.sq-theme-btn .sq-theme-text {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* 激活选中态（深色模式下） */
.sq-theme-btn.active,
.sq-theme-btn[aria-checked="true"] {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.sq-theme-btn.active .sq-theme-icon,
.sq-theme-btn[aria-checked="true"] .sq-theme-icon {
  color: #ffb199;
}

/* 手机超窄屏幕下导航栏切换按钮仅展示图标以保持极简与防换行 */
@media (max-width: 640px) {
  .header-nav .sq-theme-switcher .sq-theme-text {
    display: none;
  }
  .header-nav .sq-theme-btn {
    padding: 6px 8px;
  }
}

/* 移动端抽屉内部主题切换区域 */
.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  margin: 20px auto 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.mobile-theme-label {
  font-size: 0.88rem;
  color: var(--text-secondary, #aab2be);
  font-family: var(--font-serif, "Noto Serif SC", serif);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   2. 浅色模式核心设计令牌与全局重置 (Light Mode Design Tokens & Root Reset)
   ========================================================================== */
:root[data-theme="light"],
html[data-theme="light"],
html.sq-theme-light,
body.sq-theme-light {
  /* ── 基础主色：宋代素宣纸微暖玉白底色，温润不刺眼 ── */
  --bg-deep: #f7f6f2;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);

  /* ── 层次边框与工笔描边 ── */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-active: rgba(0, 0, 0, 0.22);
  --border-glow: rgba(185, 51, 37, 0.25);

  /* ── 文字与笔墨五色 ── */
  --text-primary: #181c22;
  --text-secondary: #4d5562;
  --text-muted: #7a8594;
  --ink-light: rgba(24, 28, 34, 0.88);

  /* ── 东方传统点缀色（五行色彩） ── */
  --color-vermilion: #b93325;
  --color-vermilion-glow: rgba(185, 51, 37, 0.18);
  --color-bamboo: #29744f;
  --color-bamboo-glow: rgba(41, 116, 79, 0.18);
  --color-quartz-purple: #6c4b82;
  --color-quartz-glow: rgba(108, 75, 130, 0.18);
  --color-moonlight: #e4eaf2;
  --color-moonlight-glow: rgba(0, 0, 0, 0.06);

  /* ── 浅色阴影 ── */
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   3. 浅色模式全局背景、容器与全站覆盖
   ========================================================================== */
[data-theme="light"],
html.sq-theme-light,
body.sq-theme-light,
[data-theme="light"] body,
[data-theme="light"] body.custom-background,
[data-theme="light"] #page,
[data-theme="light"] .site,
[data-theme="light"] .site-content,
[data-theme="light"] .ast-container,
[data-theme="light"] .entry-content,
[data-theme="light"] #primary,
[data-theme="light"] #secondary,
[data-theme="light"] .ast-separate-container #primary,
[data-theme="light"] .ast-separate-container .ast-article-post,
[data-theme="light"] .ast-separate-container .ast-article-single,
[data-theme="light"] .ast-separate-container .comment-respond,
[data-theme="light"] .taiji-front-main {
  background-color: #f7f6f2 !important;
  color: var(--text-primary, #181c22) !important;
}

/* 浅色模式全站晨曦光晕环境层 */
[data-theme="light"] body::before,
body.sq-theme-light::before {
  content: "" !important;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(195, 222, 246, 0.45) 0%, transparent 60%),
    radial-gradient(circle at 6% 38%, rgba(67, 140, 107, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 94% 62%, rgba(185, 51, 37, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 88%, rgba(108, 75, 130, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #f7f6f2 0%, #faf8f5 35%, #f4f2ec 70%, #edeae2 100%) !important;
  pointer-events: none !important;
  z-index: -2 !important;
}

/* 宣纸微质感噪点层适配 */
[data-theme="light"] .taiji-noise-overlay {
  opacity: 0.018;
}

/* ==========================================================================
   4. 浅色模式下的主题切换器按钮样式微调 (高对比明晰排版)
   ========================================================================== */
[data-theme="light"] .sq-theme-switcher,
body.sq-theme-light .sq-theme-switcher {
  background: rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .sq-theme-btn,
body.sq-theme-light .sq-theme-btn {
  color: #2d3748 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .sq-theme-btn:hover,
body.sq-theme-light .sq-theme-btn:hover {
  color: #111418 !important;
  background: rgba(0, 0, 0, 0.07) !important;
}

[data-theme="light"] .sq-theme-btn.active,
[data-theme="light"] .sq-theme-btn[aria-checked="true"],
body.sq-theme-light .sq-theme-btn.active,
body.sq-theme-light .sq-theme-btn[aria-checked="true"] {
  background: #ffffff !important;
  color: #111418 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sq-theme-btn.active .sq-theme-icon,
[data-theme="light"] .sq-theme-btn[aria-checked="true"] .sq-theme-icon,
body.sq-theme-light .sq-theme-btn.active .sq-theme-icon {
  color: #b93325 !important;
}

[data-theme="light"] .mobile-theme-row {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .mobile-theme-label {
  color: #111418 !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   5. 顶部状态栏与极简悬浮导航栏 (Top Bar & Floating Header - 高对比度增强)
   ========================================================================== */
[data-theme="light"] .taiji-top-bar,
body.sq-theme-light .taiji-top-bar {
  background: rgba(238, 235, 227, 0.98) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09) !important;
  color: #4a5568 !important;
}

[data-theme="light"] .taiji-top-bar .top-bar-notice,
body.sq-theme-light .taiji-top-bar .top-bar-notice {
  color: #4a5568 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .taiji-top-bar .top-bar-actions a,
body.sq-theme-light .taiji-top-bar .top-bar-actions a {
  color: #2d3748 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .taiji-top-bar .top-bar-actions a:hover,
body.sq-theme-light .taiji-top-bar .top-bar-actions a:hover {
  color: var(--color-vermilion, #b93325) !important;
}

[data-theme="light"] .sq-user-points-pill,
body.sq-theme-light .sq-user-points-pill {
  background: rgba(184, 142, 30, 0.14) !important;
  color: #7b5908 !important;
  border-color: rgba(184, 142, 30, 0.35) !important;
  font-weight: 600 !important;
}

/* 导航栏全状态背景：彻底覆盖 taiji-global.css 的强制深黑色，初始与滚动后统一为素宣温润浅色底 */
[data-theme="light"] .header-nav,
[data-theme="light"] .header-nav.scrolled,
html[data-theme="light"] .header-nav,
html[data-theme="light"] .header-nav.scrolled,
html.sq-theme-light .header-nav,
html.sq-theme-light .header-nav.scrolled,
body.sq-theme-light .header-nav,
body.sq-theme-light .header-nav.scrolled {
  background: rgba(247, 246, 242, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* 品牌标识容器与文字：苍劲焦墨深色，对比极其鲜明 */
[data-theme="light"] .nav-brand,
html[data-theme="light"] .nav-brand,
body.sq-theme-light .nav-brand {
  color: #111418 !important;
}

[data-theme="light"] .nav-title-zh,
html[data-theme="light"] .nav-title-zh,
body.sq-theme-light .nav-title-zh {
  color: #111418 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .nav-title-en,
html[data-theme="light"] .nav-title-en,
body.sq-theme-light .nav-title-en {
  color: #4a5568 !important;
  font-weight: 600 !important;
}

/* 导航菜单所有链接项：高对比度深浓墨色，彻底根除看不清问题 */
[data-theme="light"] .nav-menu a,
[data-theme="light"] .nav-menu li a,
[data-theme="light"] .header-nav nav a,
html[data-theme="light"] .nav-menu a,
html[data-theme="light"] .nav-menu li a,
html[data-theme="light"] .header-nav nav a,
html.sq-theme-light .nav-menu a,
html.sq-theme-light .nav-menu li a,
html.sq-theme-light .header-nav nav a,
body.sq-theme-light .nav-menu a,
body.sq-theme-light .nav-menu li a,
body.sq-theme-light .header-nav nav a {
  color: #1e2530 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.08em !important;
}

/* 导航菜单悬停态与当前激活项：醒目正统古印朱砂红 */
[data-theme="light"] .nav-menu a:hover,
[data-theme="light"] .nav-menu li a:hover,
[data-theme="light"] .nav-menu .current-menu-item > a,
[data-theme="light"] .nav-menu li.current-menu-item > a,
[data-theme="light"] .nav-menu .current_page_item > a,
[data-theme="light"] .header-nav nav a:hover,
html[data-theme="light"] .nav-menu a:hover,
html[data-theme="light"] .nav-menu li a:hover,
html[data-theme="light"] .nav-menu .current-menu-item > a,
html[data-theme="light"] .nav-menu li.current-menu-item > a,
html[data-theme="light"] .nav-menu .current_page_item > a,
html[data-theme="light"] .header-nav nav a:hover,
body.sq-theme-light .nav-menu a:hover,
body.sq-theme-light .nav-menu li a:hover,
body.sq-theme-light .nav-menu .current-menu-item > a,
body.sq-theme-light .nav-menu li.current-menu-item > a {
  color: var(--color-vermilion, #b93325) !important;
  font-weight: 700 !important;
}

[data-theme="light"] .nav-menu a::after,
[data-theme="light"] .nav-menu li a::after,
html[data-theme="light"] .nav-menu a::after,
html[data-theme="light"] .nav-menu li a::after,
body.sq-theme-light .nav-menu a::after,
body.sq-theme-light .nav-menu li a::after {
  background: var(--color-vermilion, #b93325) !important;
  height: 2px !important;
}

/* 下拉菜单箭头指示器在浅色下的高对比度墨色 */
[data-theme="light"] .header-nav .dropdown-menu-toggle,
[data-theme="light"] .header-nav .ast-menu-toggle,
[data-theme="light"] .header-nav .ast-arrow-svg,
[data-theme="light"] .header-nav .ast-arrow-svg path,
html[data-theme="light"] .header-nav .dropdown-menu-toggle,
html[data-theme="light"] .header-nav .ast-menu-toggle,
html[data-theme="light"] .header-nav .ast-arrow-svg,
html[data-theme="light"] .header-nav .ast-arrow-svg path,
body.sq-theme-light .header-nav .dropdown-menu-toggle,
body.sq-theme-light .header-nav .ast-menu-toggle,
body.sq-theme-light .header-nav .ast-arrow-svg,
body.sq-theme-light .header-nav .ast-arrow-svg path {
  fill: #1e2530 !important;
  color: #1e2530 !important;
}

/* ==========================================================================
   深色模式下的导航条高对比度双重保障
   ========================================================================== */
[data-theme="dark"] .header-nav,
html[data-theme="dark"] .header-nav,
body.sq-theme-dark .header-nav {
  background: rgba(12, 16, 22, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .nav-brand,
html[data-theme="dark"] .nav-brand {
  color: #ffffff !important;
}

[data-theme="dark"] .nav-title-zh,
html[data-theme="dark"] .nav-title-zh,
body.sq-theme-dark .nav-title-zh {
  color: #f8fafc !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .nav-title-en,
html[data-theme="dark"] .nav-title-en,
body.sq-theme-dark .nav-title-en {
  color: #94a3b8 !important;
}

[data-theme="dark"] .nav-menu a,
[data-theme="dark"] .nav-menu li a,
[data-theme="dark"] .header-nav nav a,
html[data-theme="dark"] .nav-menu a,
html[data-theme="dark"] .nav-menu li a,
html[data-theme="dark"] .header-nav nav a,
body.sq-theme-dark .nav-menu a,
body.sq-theme-dark .nav-menu li a,
body.sq-theme-dark .header-nav nav a {
  color: #e2e8f0 !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.08em !important;
}

[data-theme="dark"] .nav-menu a:hover,
[data-theme="dark"] .nav-menu li a:hover,
[data-theme="dark"] .nav-menu .current-menu-item > a,
[data-theme="dark"] .nav-menu li.current-menu-item > a,
[data-theme="dark"] .nav-menu .current_page_item > a,
[data-theme="dark"] .header-nav nav a:hover,
html[data-theme="dark"] .nav-menu a:hover,
html[data-theme="dark"] .nav-menu li a:hover,
html[data-theme="dark"] .nav-menu .current-menu-item > a,
html[data-theme="dark"] .nav-menu li.current-menu-item > a,
html[data-theme="dark"] .nav-menu .current_page_item > a,
html[data-theme="dark"] .header-nav nav a:hover,
body.sq-theme-dark .nav-menu a:hover,
body.sq-theme-dark .nav-menu li a:hover,
body.sq-theme-dark .nav-menu .current-menu-item > a,
body.sq-theme-dark .nav-menu li.current-menu-item > a {
  color: #ff6b52 !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .header-nav .dropdown-menu-toggle,
[data-theme="dark"] .header-nav .ast-menu-toggle,
[data-theme="dark"] .header-nav .ast-arrow-svg,
[data-theme="dark"] .header-nav .ast-arrow-svg path,
html[data-theme="dark"] .header-nav .dropdown-menu-toggle,
html[data-theme="dark"] .header-nav .ast-menu-toggle,
html[data-theme="dark"] .header-nav .ast-arrow-svg,
html[data-theme="dark"] .header-nav .ast-arrow-svg path {
  fill: #e2e8f0 !important;
  color: #e2e8f0 !important;
}

/* 二级下拉子菜单 */
[data-theme="light"] .nav-menu .sub-menu,
body.sq-theme-light .nav-menu .sub-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .nav-menu .sub-menu li a,
body.sq-theme-light .nav-menu .sub-menu li a {
  color: #1e2530 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .nav-menu .sub-menu li a:hover,
body.sq-theme-light .nav-menu .sub-menu li a:hover {
  color: var(--color-vermilion, #b93325) !important;
  background: rgba(0, 0, 0, 0.04) !important;
  font-weight: 600 !important;
}

/* 移动端汉堡切换按钮与移动端全屏抽屉菜单 */
[data-theme="light"] .mobile-toggle,
body.sq-theme-light .mobile-toggle {
  color: #111418 !important;
}

[data-theme="light"] .mobile-drawer,
body.sq-theme-light .mobile-drawer {
  background: rgba(247, 246, 242, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}

[data-theme="light"] .mobile-drawer-close,
body.sq-theme-light .mobile-drawer-close {
  color: #111418 !important;
}

[data-theme="light"] .mobile-nav-list li a,
body.sq-theme-light .mobile-nav-list li a {
  color: #1e2530 !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
}

[data-theme="light"] .mobile-nav-list li a:hover,
body.sq-theme-light .mobile-nav-list li a:hover {
  color: var(--color-vermilion, #b93325) !important;
}

/* ==========================================================================
   6. 首屏视差体验 (Hero Section - 松泉太极 · 弘道养正)
   ========================================================================== */
[data-theme="light"] .hero-section {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(185, 218, 248, 0.35) 0%, rgba(67, 140, 107, 0.06) 35%, transparent 70%),
    radial-gradient(circle at 80% 30%, rgba(185, 51, 37, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(247, 246, 242, 0.1) 0%, rgba(247, 246, 242, 0.75) 100%) !important;
}

/* 首屏主标题：前半段苍劲浓墨，后半段赤金丹砂 */
[data-theme="light"] .hero-title,
[data-theme="light"] .taiji-front-main .section-title,
[data-theme="light"] .taiji-front-main .cta-title,
[data-theme="light"] .section-philosophy .section-title,
[data-theme="light"] .section-eight-methods .section-title,
[data-theme="light"] .section-courses .section-title,
[data-theme="light"] .section-masters .section-title,
[data-theme="light"] .section-cta .cta-title {
  background: linear-gradient(180deg, #181c22 0%, #28303a 60%, #3e4856 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  filter: none !important;
  text-shadow: none !important;
}

/* 强调词：温润赤金丹砂高光 */
[data-theme="light"] .hero-title .emphasis,
[data-theme="light"] .taiji-front-main .section-title .emphasis,
[data-theme="light"] .taiji-front-main .cta-title .emphasis,
[data-theme="light"] .section-philosophy .section-title .emphasis,
[data-theme="light"] .section-eight-methods .section-title .emphasis,
[data-theme="light"] .section-courses .section-title .emphasis,
[data-theme="light"] .section-masters .section-title .emphasis,
[data-theme="light"] .section-cta .cta-title .emphasis {
  background: linear-gradient(135deg, #c23525 0%, #d85d1e 50%, #b88e1e 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  filter: none !important;
  text-shadow: none !important;
}

[data-theme="light"] .hero-subtitle-en {
  color: rgba(30, 40, 55, 0.65) !important;
  text-shadow: none !important;
}

[data-theme="light"] .hero-desc {
  color: #4d5562 !important;
  text-shadow: none !important;
}

/* 首屏按钮 */
[data-theme="light"] .btn-outline-zen {
  color: #181c22 !important;
  border-color: rgba(0, 0, 0, 0.18) !important;
  background: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="light"] .btn-outline-zen:hover {
  border-color: rgba(0, 0, 0, 0.35) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

/* 向下滚动指示器 */
[data-theme="light"] .mouse-icon {
  border-color: rgba(0, 0, 0, 0.25) !important;
}

[data-theme="light"] .mouse-wheel {
  background-color: #181c22 !important;
}

/* ==========================================================================
   7. 水墨光芒分隔线 (Ink Beam Divider)
   ========================================================================== */
[data-theme="light"] .ink-divider {
  opacity: 0.85;
}

[data-theme="light"] .ink-divider-line {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.16), transparent) !important;
}

[data-theme="light"] .ink-divider-symbol {
  color: #2c3540 !important;
  text-shadow: none !important;
}

/* ==========================================================================
   8. 哲学内核板块 (Philosophy Section - 修心·修性·修身)
   ========================================================================== */
[data-theme="light"] .section-philosophy {
  background: radial-gradient(ellipse at 50% 50%, rgba(200, 220, 240, 0.4) 0%, rgba(247, 246, 242, 0) 75%) !important;
}

[data-theme="light"] .philo-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 250, 246, 0.88) 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 1) !important;
}

[data-theme="light"] .philo-card::before {
  background: linear-gradient(90deg, transparent, rgba(185, 51, 37, 0.4), transparent) !important;
}

[data-theme="light"] .philo-card:hover {
  border-color: rgba(0, 0, 0, 0.18) !important;
  background: #ffffff !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.08),
    0 0 24px rgba(185, 51, 37, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 1) !important;
}

[data-theme="light"] .philo-watermark {
  color: rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .philo-card:hover .philo-watermark {
  color: rgba(0, 0, 0, 0.07) !important;
}

[data-theme="light"] .philo-icon-wrap {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #181c22 !important;
}

[data-theme="light"] .philo-title {
  color: #181c22 !important;
}

[data-theme="light"] .philo-text {
  color: #525c6a !important;
}

/* ==========================================================================
   9. 息道调心 · 互动减压舱 (Interactive Breath Guide)
   ========================================================================== */
[data-theme="light"] .section-breath {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(41, 116, 79, 0.1) 0%, rgba(230, 240, 235, 0.4) 45%, transparent 75%),
    radial-gradient(circle at 20% 70%, rgba(108, 75, 130, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(240, 238, 232, 0.6) 50%, transparent 100%) !important;
}

[data-theme="light"] .breath-mode-btn {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #4d5562 !important;
}

[data-theme="light"] .breath-mode-btn:hover {
  border-color: rgba(0, 0, 0, 0.25) !important;
  color: #181c22 !important;
  background: #ffffff !important;
}

[data-theme="light"] .breath-mode-btn.active {
  background: #ffffff !important;
  border-color: #181c22 !important;
  color: #181c22 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .breath-instruction {
  background: rgba(255, 255, 255, 0.9) !important;
  border-left-color: var(--color-bamboo, #29744f) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .breath-instruction-phase {
  color: #181c22 !important;
}

[data-theme="light"] .breath-instruction-tips {
  color: #657080 !important;
}

/* ==========================================================================
   10. 研习课程与工坊 (Curated Courses & Workshops)
   ========================================================================== */
[data-theme="light"] .section-courses {
  background: radial-gradient(ellipse at 50% 30%, rgba(210, 225, 245, 0.4) 0%, rgba(247, 246, 242, 0) 72%) !important;
}

[data-theme="light"] .course-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 250, 246, 0.9) 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 1) !important;
}

[data-theme="light"] .course-card:hover {
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.09),
    inset 0 1px 1px rgba(255, 255, 255, 1) !important;
}

/* 课程光晕边框 */
[data-theme="light"] .course-card:nth-child(1) {
  border-color: rgba(41, 116, 79, 0.22) !important;
}

[data-theme="light"] .course-card:nth-child(1):hover {
  border-color: rgba(41, 116, 79, 0.45) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.09), 0 0 28px rgba(41, 116, 79, 0.12) !important;
}

[data-theme="light"] .course-card:nth-child(2) {
  border-color: rgba(185, 51, 37, 0.22) !important;
}

[data-theme="light"] .course-card:nth-child(2):hover {
  border-color: rgba(185, 51, 37, 0.45) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.09), 0 0 28px rgba(185, 51, 37, 0.12) !important;
}

[data-theme="light"] .course-card:nth-child(3) {
  border-color: rgba(108, 75, 130, 0.22) !important;
}

[data-theme="light"] .course-card:nth-child(3):hover {
  border-color: rgba(108, 75, 130, 0.45) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.09), 0 0 28px rgba(108, 75, 130, 0.12) !important;
}

[data-theme="light"] .course-visual-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(247, 246, 242, 0.9) 100%) !important;
}

[data-theme="light"] .course-badge {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #181c22 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .course-body {
  background: transparent !important;
}

[data-theme="light"] .course-title {
  color: #181c22 !important;
}

[data-theme="light"] .course-desc {
  color: #525c6a !important;
}

[data-theme="light"] .course-meta-item {
  color: #727e8e !important;
}

/* ==========================================================================
   10.1 精彩课程专栏归档页 (Course Archive & Vertical Columns System)
   解决课程列表色彩暗沉与对比度不足，注入新中式白玉晶石质感
   ========================================================================== */
[data-theme="light"] .sq-courses-archive-page,
html[data-theme="light"] .sq-courses-archive-page,
body.sq-theme-light .sq-courses-archive-page {
  background: var(--bg-primary, #f7f6f2) !important;
}

/* 顶部水墨 Banner 区域 */
[data-theme="light"] .sq-hero-badge,
html[data-theme="light"] .sq-hero-badge {
  background: rgba(185, 51, 37, 0.08) !important;
  border: 1px solid rgba(185, 51, 37, 0.25) !important;
}

[data-theme="light"] .sq-badge-dot,
html[data-theme="light"] .sq-badge-dot {
  background-color: #b93325 !important;
  box-shadow: 0 0 8px rgba(185, 51, 37, 0.6) !important;
}

[data-theme="light"] .sq-badge-text,
html[data-theme="light"] .sq-badge-text {
  color: #b93325 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .sq-archive-title,
html[data-theme="light"] .sq-archive-title {
  color: #111418 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .sq-archive-subtitle,
html[data-theme="light"] .sq-archive-subtitle {
  color: #4a5568 !important;
  font-weight: 500 !important;
}

/* 课程搜索条：白玉温润背景与高对比度边框 */
[data-theme="light"] .sq-archive-search-form,
html[data-theme="light"] .sq-archive-search-form {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

[data-theme="light"] .sq-archive-search-form:focus-within,
html[data-theme="light"] .sq-archive-search-form:focus-within {
  border-color: rgba(185, 51, 37, 0.6) !important;
  box-shadow: 0 0 16px rgba(185, 51, 37, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sq-search-icon,
html[data-theme="light"] .sq-search-icon {
  color: #4a5568 !important;
  opacity: 0.8 !important;
}

[data-theme="light"] .sq-archive-search-form .sq-search-input,
[data-theme="light"] .sq-search-input,
html[data-theme="light"] .sq-archive-search-form .sq-search-input,
html[data-theme="light"] .sq-search-input {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #111418 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .sq-search-input::placeholder,
html[data-theme="light"] .sq-search-input::placeholder {
  color: #718096 !important;
}

[data-theme="light"] .sq-search-clear,
html[data-theme="light"] .sq-search-clear {
  color: #718096 !important;
}

[data-theme="light"] .sq-search-clear:hover,
html[data-theme="light"] .sq-search-clear:hover {
  color: #111418 !important;
}

[data-theme="light"] .sq-search-submit,
html[data-theme="light"] .sq-search-submit {
  background: linear-gradient(135deg, #b93325, #9e271a) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(185, 51, 37, 0.25) !important;
}

[data-theme="light"] .sq-search-submit:hover,
html[data-theme="light"] .sq-search-submit:hover {
  background: linear-gradient(135deg, #cc3828, #af2b1d) !important;
  box-shadow: 0 4px 14px rgba(185, 51, 37, 0.4) !important;
}

[data-theme="light"] .sq-search-notice,
html[data-theme="light"] .sq-search-notice {
  color: #8c6508 !important;
  background: rgba(184, 134, 11, 0.08) !important;
  border-color: rgba(184, 134, 11, 0.2) !important;
}

/* 三个竖着的栏目大卡片：素宣白玉微透底质与高雅立体阴影 */
[data-theme="light"] .sq-column-card,
html[data-theme="light"] .sq-column-card,
body.sq-theme-light .sq-column-card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(0, 0, 0, 0.09) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

[data-theme="light"] .sq-column-card:hover,
html[data-theme="light"] .sq-column-card:hover,
body.sq-theme-light .sq-column-card:hover {
  border-color: rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

/* 专栏顶部流光装饰线与印章色彩增强 */
[data-theme="light"] .sq-col-taiji-shi-dao .sq-column-seal {
  background: rgba(184, 134, 11, 0.1) !important;
  border: 1.5px solid #b8860b !important;
  color: #9e720e !important;
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.15) !important;
}

[data-theme="light"] .sq-col-taijiquan-yu-jiankang-shenghuo .sq-column-seal {
  background: rgba(41, 116, 79, 0.1) !important;
  border: 1.5px solid #29744f !important;
  color: #1b6840 !important;
  box-shadow: 0 2px 8px rgba(41, 116, 79, 0.15) !important;
}

[data-theme="light"] .sq-col-chenshi-taijiquan-laojia-yilu .sq-column-seal {
  background: rgba(185, 51, 37, 0.1) !important;
  border: 1.5px solid #b93325 !important;
  color: #b93325 !important;
  box-shadow: 0 2px 8px rgba(185, 51, 37, 0.15) !important;
}

[data-theme="light"] .sq-column-count-badge,
html[data-theme="light"] .sq-column-count-badge {
  color: #4a5568 !important;
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-weight: 500 !important;
}

/* 栏目大标题：苍劲焦墨深黑，彻底消除暗沉模糊 */
[data-theme="light"] .sq-column-title,
html[data-theme="light"] .sq-column-title {
  color: #111418 !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}

/* 专栏副标（五行典雅配色） */
[data-theme="light"] .sq-col-taiji-shi-dao .sq-column-tagline {
  color: #9e720e !important;
  font-weight: 600 !important;
}

[data-theme="light"] .sq-col-taijiquan-yu-jiankang-shenghuo .sq-column-tagline {
  color: #1b6840 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .sq-col-chenshi-taijiquan-laojia-yilu .sq-column-tagline {
  color: #b93325 !important;
  font-weight: 600 !important;
}

/* 专栏阐释说明：烟墨深色，清晰可读 */
[data-theme="light"] .sq-column-desc,
html[data-theme="light"] .sq-column-desc {
  color: #2d3748 !important;
  line-height: 1.8 !important;
  opacity: 1 !important;
}

/* 渐变分割线 */
[data-theme="light"] .sq-column-divider,
html[data-theme="light"] .sq-column-divider {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent) !important;
  opacity: 0.8 !important;
}

/* 内部课程卡片：温润白玉卡片与精细悬浮阴影 */
[data-theme="light"] .sq-course-card,
html[data-theme="light"] .sq-course-card,
body.sq-theme-light .sq-course-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.09) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sq-course-card:hover,
html[data-theme="light"] .sq-course-card:hover,
body.sq-theme-light .sq-course-card:hover {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sq-course-cover-box,
html[data-theme="light"] .sq-course-cover-box {
  background: #edf2f7 !important;
}

[data-theme="light"] .sq-course-cover-overlay,
html[data-theme="light"] .sq-course-cover-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45) 100%) !important;
}

[data-theme="light"] .sq-course-lessons-pill,
html[data-theme="light"] .sq-course-lessons-pill {
  background: rgba(15, 20, 26, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-weight: 500 !important;
}

[data-theme="light"] .sq-course-info,
html[data-theme="light"] .sq-course-info {
  background: #ffffff !important;
}

/* 课程状态与分类标签 */
[data-theme="light"] .sq-tag-status,
html[data-theme="light"] .sq-tag-status {
  background: rgba(41, 116, 79, 0.1) !important;
  color: #1b6840 !important;
  border: 1px solid rgba(41, 116, 79, 0.25) !important;
  font-weight: 600 !important;
}

[data-theme="light"] .sq-tag-access,
html[data-theme="light"] .sq-tag-access {
  background: rgba(184, 134, 11, 0.1) !important;
  color: #8c6508 !important;
  border: 1px solid rgba(184, 134, 11, 0.25) !important;
  font-weight: 600 !important;
}

[data-theme="light"] .sq-tag-enrolled,
html[data-theme="light"] .sq-tag-enrolled {
  color: #5a6575 !important;
  font-weight: 500 !important;
}

/* 课程卡片内部标题：焦墨深黑，对比极其鲜活 */
[data-theme="light"] .sq-course-card-title a,
html[data-theme="light"] .sq-course-card-title a {
  color: #111418 !important;
  font-weight: 700 !important;
  transition: color 0.25s ease !important;
}

[data-theme="light"] .sq-course-card-title a:hover,
html[data-theme="light"] .sq-course-card-title a:hover {
  color: #b93325 !important;
}

/* 进入研学按钮：优雅宣白底 + 悬停朱砂红蜕变 */
[data-theme="light"] .sq-enter-course-btn,
html[data-theme="light"] .sq-enter-course-btn {
  background: #f7f6f2 !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #1e2530 !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sq-enter-course-btn:hover,
html[data-theme="light"] .sq-enter-course-btn:hover {
  background: #b93325 !important;
  border-color: #b93325 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(185, 51, 37, 0.3) !important;
}

[data-theme="light"] .sq-empty-text,
html[data-theme="light"] .sq-empty-text {
  color: #718096 !important;
}

/* ==========================================================================
   深色模式下的精彩课程专栏对比度双重保障
   ========================================================================== */
[data-theme="dark"] .sq-column-card,
html[data-theme="dark"] .sq-column-card {
  background: rgba(14, 19, 27, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .sq-column-title,
html[data-theme="dark"] .sq-column-title {
  color: #f8fafc !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .sq-column-desc,
html[data-theme="dark"] .sq-column-desc {
  color: #cbd5e1 !important;
  opacity: 0.95 !important;
}

[data-theme="dark"] .sq-course-card,
html[data-theme="dark"] .sq-course-card {
  background: rgba(22, 29, 41, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .sq-course-card-title a,
html[data-theme="dark"] .sq-course-card-title a {
  color: #f8fafc !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .sq-course-card-title a:hover,
html[data-theme="dark"] .sq-course-card-title a:hover {
  color: #f3d37a !important;
}

[data-theme="dark"] .sq-archive-search-form,
html[data-theme="dark"] .sq-archive-search-form {
  background: rgba(16, 22, 31, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .sq-search-input,
html[data-theme="dark"] .sq-search-input {
  color: #f8f7f2 !important;
}

[data-theme="dark"] .sq-archive-title,
html[data-theme="dark"] .sq-archive-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .sq-archive-subtitle,
html[data-theme="dark"] .sq-archive-subtitle {
  color: #9aa4b2 !important;
}

/* ==========================================================================
   11. 名师正宗道脉传承 (Lineage & Masters)
   ========================================================================== */
[data-theme="light"] .section-masters {
  background: radial-gradient(circle at 75% 50%, rgba(230, 220, 205, 0.3) 0%, rgba(220, 230, 240, 0.2) 45%, transparent 75%) !important;
}

[data-theme="light"] .lineage-frame {
  background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.98) 0%, rgba(245, 240, 230, 0.85) 55%, rgba(235, 230, 220, 0.95) 100%) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.08),
    0 0 32px rgba(0, 0, 0, 0.04),
    inset 0 1px 2px rgba(255, 255, 255, 1) !important;
}

[data-theme="light"] .ancient-taiji-ring {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .lineage-tree-container {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .lineage-tree-header {
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .lineage-tree-title {
  color: #181c22 !important;
}

[data-theme="light"] .lineage-tree-tag {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #555f6d !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .lineage-person-node {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  color: #181c22 !important;
}

[data-theme="light"] .lineage-person-node:hover {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.18) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .lineage-person-node.highlight-master {
  background: linear-gradient(90deg, rgba(185, 51, 37, 0.08) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
  border-color: rgba(185, 51, 37, 0.3) !important;
}

[data-theme="light"] .lineage-person-node.highlight-master:hover {
  border-color: var(--color-vermilion, #b93325) !important;
  box-shadow: 0 4px 18px rgba(185, 51, 37, 0.18) !important;
}

[data-theme="light"] .lineage-person-name {
  color: #181c22 !important;
}

[data-theme="light"] .lineage-gen-badge {
  color: #6c7888 !important;
}

[data-theme="light"] .lineage-tree-footer {
  color: #727e8e !important;
  border-top-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .lineage-original-btn {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #2b333e !important;
}

[data-theme="light"] .lineage-original-btn:hover {
  background: #ffffff !important;
  border-color: var(--color-vermilion, #b93325) !important;
  color: var(--color-vermilion, #b93325) !important;
}

/* 谱系手抄真迹弹窗 */
[data-theme="light"] .lineage-modal-box {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="light"] button.lineage-modal-close,
[data-theme="light"] .lineage-modal-close {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #181c22 !important;
  border: none !important;
}

[data-theme="light"] button.lineage-modal-close:hover,
[data-theme="light"] .lineage-modal-close:hover {
  background: rgba(185, 51, 37, 0.15) !important;
  color: #b93325 !important;
}

/* ==========================================================================
   12. 学员心声与身心转化 (Testimonials)
   ========================================================================== */
[data-theme="light"] .section-testimonials {
  background: radial-gradient(ellipse at 50% 50%, rgba(108, 75, 130, 0.08) 0%, rgba(247, 246, 242, 0) 70%) !important;
}

[data-theme="light"] .testi-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 250, 246, 0.88) 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 1) !important;
}

[data-theme="light"] .testi-card:hover {
  border-color: rgba(0, 0, 0, 0.18) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(108, 75, 130, 0.08) !important;
}

[data-theme="light"] .testi-quote {
  color: #2b333e !important;
}

[data-theme="light"] .testi-author-name {
  color: #181c22 !important;
}

[data-theme="light"] .testi-author-title {
  color: #727e8e !important;
}

/* ==========================================================================
   13. 底部预约号召大光箱 (CTA Section)
   ========================================================================== */
[data-theme="light"] .cta-box {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(185, 51, 37, 0.12) 0%, rgba(252, 248, 242, 0.95) 55%, rgba(245, 240, 232, 0.98) 100%) !important;
  border: 1px solid rgba(185, 51, 37, 0.18) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.07),
    0 0 45px rgba(185, 51, 37, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 1) !important;
}

[data-theme="light"] .cta-desc {
  color: #4d5562 !important;
}

/* ==========================================================================
   14. 东方留白水墨公共页脚 (Site Footer)
   ========================================================================== */
[data-theme="light"] .site-footer {
  background: #edeae2 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .site-footer .footer-col h5 {
  color: #181c22 !important;
}

[data-theme="light"] .site-footer .footer-links li a,
[data-theme="light"] .site-footer .footer-links li span {
  color: #555f6d !important;
}

[data-theme="light"] .site-footer .footer-links li a:hover {
  color: var(--color-vermilion, #b93325) !important;
}

[data-theme="light"] .site-footer .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.06) !important;
  color: #727e8e !important;
}

[data-theme="light"] .sq-footer-feedback-btn {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #384250 !important;
}

[data-theme="light"] .sq-footer-feedback-btn:hover {
  background: rgba(185, 51, 37, 0.12) !important;
  border-color: rgba(185, 51, 37, 0.4) !important;
  color: #b93325 !important;
}

/* ==========================================================================
   15. 全站模态弹窗 (Booking Modal & Global Forms)
   ========================================================================== */
[data-theme="light"] .sq-modal-window {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .sq-modal-header {
  background: #f7f6f2 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sq-modal-tab-btn {
  color: #555f6d !important;
}

[data-theme="light"] .sq-modal-tab-btn.active {
  color: #181c22 !important;
  border-bottom-color: var(--color-vermilion, #b93325) !important;
}

[data-theme="light"] .sq-form-field label {
  color: #2b333e !important;
}

[data-theme="light"] .sq-form-field input,
[data-theme="light"] .sq-form-field textarea,
[data-theme="light"] .sq-form-field select {
  background: #fbfbfa !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  color: #181c22 !important;
}

[data-theme="light"] .sq-form-field input:focus,
[data-theme="light"] .sq-form-field textarea:focus,
[data-theme="light"] .sq-form-field select:focus {
  border-color: var(--color-vermilion, #b93325) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(185, 51, 37, 0.12) !important;
}

[data-theme="light"] .sq-modal-close {
  color: #555f6d !important;
}

[data-theme="light"] .sq-modal-close:hover {
  color: #181c22 !important;
}

/* ==========================================================================
   16. 细节精细化调优 (Micro Refinements & Contrast Perfection)
   ========================================================================== */
/* 课程卡片操作按钮与分割线 */
[data-theme="light"] .course-btn {
  color: #181c22 !important;
}

[data-theme="light"] .course-btn:hover {
  color: var(--color-vermilion, #b93325) !important;
}

[data-theme="light"] .course-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .course-tag {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #181c22 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* 水印汉字与数字暗纹（淡墨工笔印痕） */
[data-theme="light"] .course-chinese-symbol {
  color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .eight-step-num {
  color: rgba(0, 0, 0, 0.06) !important;
}

/* 模态弹窗内部标题、说明与下拉选单选项 */
[data-theme="light"] .sq-modal-window h3,
[data-theme="light"] .sq-modal-window h4,
[data-theme="light"] .modal-dialog h3,
[data-theme="light"] .modal-dialog h4 {
  color: #181c22 !important;
}

[data-theme="light"] .sq-modal-window p,
[data-theme="light"] .modal-dialog p {
  color: #525c6a !important;
}

[data-theme="light"] select option {
  background-color: #ffffff !important;
  color: #181c22 !important;
}

[data-theme="light"] .sq-modal-close-btn,
[data-theme="light"] .modal-close {
  color: #2b333e !important;
}

[data-theme="light"] .sq-modal-close-btn:hover,
[data-theme="light"] .modal-close:hover {
  color: var(--color-vermilion, #b93325) !important;
}

/* ==========================================================================
   18. 学员中心 · 我的课程页新中式浅色与深色主题适配 (My Courses - mcv-my-courses)
   ========================================================================== */

/* 18.1 页面外层容器与主体留白 */
[data-theme="light"] body.page-template-user-courses,
[data-theme="light"] .page-template-user-courses #page,
[data-theme="light"] .page-template-user-courses .site-content,
[data-theme="light"] #mcv-user-courses-body {
  background: transparent !important;
  color: #1e2530 !important;
}

[data-theme="light"] #mcv-user-courses-body {
  padding: 36px 0 70px 0 !important;
}

[data-theme="light"] .mcv-uc {
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif) !important;
}

/* 18.2 左侧新中式导航菜单 (白玉微晶卡片) */
[data-theme="light"] .mcv-nav-area {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  overflow: hidden !important;
  margin-bottom: 24px !important;
}

[data-theme="light"] .mcv-nav-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .mcv-nav-item:last-child {
  border-bottom: none !important;
}

[data-theme="light"] .mcv-nav-item a {
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all 0.22s ease !important;
}

[data-theme="light"] .mcv-nav-item a:hover {
  background: rgba(185, 51, 37, 0.05) !important;
  color: #b93325 !important;
  border-left-color: #b93325 !important;
}

[data-theme="light"] .mcv-nav-item a.active {
  background: rgba(185, 51, 37, 0.08) !important;
  color: #b93325 !important;
  border-left: 3px solid #b93325 !important;
  font-weight: 600 !important;
}

/* 18.3 顶部分类 Tab 筛选栏 */
[data-theme="light"] .wrapper-plan .tabs {
  border-bottom: 2px solid rgba(0, 0, 0, 0.06) !important;
  height: 46px !important;
  margin-bottom: 24px !important;
}

[data-theme="light"] .wrapper-plan .tabs .tab a {
  color: #475569 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

[data-theme="light"] .wrapper-plan .tabs .tab a:hover {
  color: #b93325 !important;
}

[data-theme="light"] .wrapper-plan .tabs .tab a.active {
  color: #b93325 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .wrapper-plan .tabs .tab a.active:after {
  background: #b93325 !important;
  height: 3px !important;
  border-radius: 2px !important;
  bottom: -2px !important;
}

/* 18.4 课程卡片 (白玉卡片、朱砂红交互) */
[data-theme="light"] .tab-item-ctn,
[data-theme="light"] .sq-mcv-tab-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  border-radius: 12px !important;
  color: #334155 !important;
  margin-bottom: 18px !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease !important;
}

[data-theme="light"] .tab-item-ctn:hover,
[data-theme="light"] .sq-mcv-tab-card:hover {
  border-color: rgba(185, 51, 37, 0.45) !important;
  box-shadow: 0 12px 32px rgba(185, 51, 37, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transform: translateY(-2px) !important;
}

[data-theme="light"] .tab-item-ctn.active,
[data-theme="light"] .sq-mcv-tab-card.active {
  background: #ffffff !important;
  border-color: #b93325 !important;
  box-shadow: 0 10px 32px rgba(185, 51, 37, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  color: #1e2530 !important;
}

[data-theme="light"] .tab-item-ctn.active:after {
  border-top-color: #b93325 !important;
}

[data-theme="light"] .tab-item-ctn img {
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .tab-item-ctn .tab-title {
  color: #111418 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

[data-theme="light"] .tab-item-ctn:hover .tab-title {
  color: #b93325 !important;
}

[data-theme="light"] .tab-item-ctn .course-date {
  color: #64748b !important;
}

/* 课程标签 (付费 / 免费) */
[data-theme="light"] .course-tag-ctn {
  background: #b93325 !important;
  color: #ffffff !important;
}

[data-theme="light"] .course-tag-ctn .top-right-angle {
  border-top-color: #b93325 !important;
}

[data-theme="light"] .course-tag-ctn .bottom-right-angle {
  border-bottom-color: #b93325 !important;
}

/* 18.5 进度条组件 */
[data-theme="light"] .tab-item-ctn .process-full {
  background: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .tab-item-ctn .process-done {
  background: linear-gradient(90deg, #b93325 0%, #e05338 100%) !important;
}

[data-theme="light"] .tab-item-ctn.active .process-done {
  background: linear-gradient(90deg, #b93325 0%, #e05338 100%) !important;
}

[data-theme="light"] .tab-item-ctn .process-text {
  color: #64748b !important;
  font-weight: 500 !important;
}

[data-theme="light"] .tab-item-ctn.active .process-text {
  color: #475569 !important;
  font-weight: 600 !important;
}

/* 18.6 当前研学提示条 */
[data-theme="light"] .sq-card-current-hint {
  color: #475569 !important;
}

[data-theme="light"] .sq-cur-pill {
  background: rgba(185, 51, 37, 0.1) !important;
  color: #b93325 !important;
  border: 1px solid rgba(185, 51, 37, 0.25) !important;
}

[data-theme="light"] .sq-cur-txt {
  color: #334155 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .tab-item-ctn.active .sq-card-current-hint {
  color: #334155 !important;
}

/* 18.7 右侧折叠指示器 */
[data-theme="light"] .sq-card-toggle-action {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

[data-theme="light"] .sq-toggle-label {
  color: #475569 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .tab-item-ctn:hover .sq-toggle-label {
  color: #b93325 !important;
}

[data-theme="light"] .sq-toggle-chevron {
  color: #64748b !important;
}

/* 激活展开状态下的收起指示器 (避免出现突兀的亮蓝色) */
[data-theme="light"] .tab-item-ctn.active .sq-card-toggle-action {
  background: rgba(185, 51, 37, 0.08) !important;
  border-color: rgba(185, 51, 37, 0.25) !important;
}

[data-theme="light"] .tab-item-ctn.active .sq-toggle-label {
  color: #b93325 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .tab-item-ctn.active .sq-toggle-chevron {
  color: #b93325 !important;
}

/* 18.8 展开后的详情区域 (Details Container) */
[data-theme="light"] .details-ctn {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  border-radius: 12px !important;
  color: #1e2530 !important;
}

[data-theme="light"] .details-ctn-wrapper {
  background: transparent !important;
}

[data-theme="light"] .sq-details-header-bar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .sq-details-course-name {
  color: #111418 !important;
  font-family: var(--font-serif, "Noto Serif SC", serif) !important;
}

[data-theme="light"] .sq-pill-progress {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #475569 !important;
}

[data-theme="light"] .sq-pill-progress strong {
  color: #b93325 !important;
}

[data-theme="light"] .sq-btn-quick-study {
  background: #b93325 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(185, 51, 37, 0.28) !important;
}

[data-theme="light"] .sq-btn-quick-study:hover {
  background: #9e2b1f !important;
  color: #ffffff !important;
}

[data-theme="light"] .sq-btn-course-home {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  color: #334155 !important;
}

[data-theme="light"] .sq-btn-course-home:hover {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: #b93325 !important;
  color: #b93325 !important;
}

[data-theme="light"] .details-ctn h2.sections-title {
  color: #111418 !important;
}

[data-theme="light"] .details-ctn h2 .section-nums {
  color: #64748b !important;
}

/* 18.9 章节目录折叠卡片 */
[data-theme="light"] .detail-item-ctn {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .detail-item-header {
  background: rgba(247, 246, 242, 0.8) !important;
}

[data-theme="light"] .detail-item-header:hover {
  background: rgba(240, 238, 233, 0.95) !important;
}

[data-theme="light"] .detail-item-ctn.expend .detail-item-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .detail-item-header .section-title {
  color: #111418 !important;
}

[data-theme="light"] .detail-item-header .icon .index {
  color: #b93325 !important;
}

[data-theme="light"] .sq-section-badge.completed {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

[data-theme="light"] .sq-section-badge.in-progress {
  background: rgba(185, 51, 37, 0.08) !important;
  color: #b93325 !important;
  border: 1px solid rgba(185, 51, 37, 0.25) !important;
}

[data-theme="light"] .sq-section-badge.locked {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #64748b !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sq-chevron {
  color: #64748b !important;
}

/* 18.10 课时列表项目 */
[data-theme="light"] .detail-item-body {
  background: #ffffff !important;
}

[data-theme="light"] .task-item-ctn {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  background: #ffffff !important;
}

[data-theme="light"] .task-item-ctn:hover {
  background: rgba(247, 246, 242, 0.7) !important;
}

[data-theme="light"] .task-item-ctn.sq-item-current {
  background: rgba(185, 51, 37, 0.05) !important;
  border-left: 3px solid #b93325 !important;
}

[data-theme="light"] .task-item-ctn .task-title a {
  color: #1e2530 !important;
}

[data-theme="light"] .task-item-ctn:hover .task-title a {
  color: #b93325 !important;
}

[data-theme="light"] .task-item-ctn.sq-item-current .task-title a {
  color: #111418 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .task-item-ctn.sq-item-locked a {
  color: #94a3b8 !important;
}

[data-theme="light"] .sq-current-indicator {
  background: #b93325 !important;
  color: #ffffff !important;
}

[data-theme="light"] .task-item-ctn .sub-title {
  color: #64748b !important;
}

[data-theme="light"] .sq-lesson-status.completed {
  color: #059669 !important;
}

[data-theme="light"] .sq-lesson-status.in-progress {
  color: #b93325 !important;
}

[data-theme="light"] .sq-lesson-status.locked {
  color: #94a3b8 !important;
}

[data-theme="light"] .sq-lesson-status.ready {
  color: #64748b !important;
}

/* 18.11 课时操作按钮 */
[data-theme="light"] .task-btn.primary a {
  background: #b93325 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(185, 51, 37, 0.25) !important;
}

[data-theme="light"] .task-btn.primary a:hover {
  background: #9e2b1f !important;
}

[data-theme="light"] .task-btn.info {
  border-color: rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .task-btn.info a {
  color: #334155 !important;
}

[data-theme="light"] .task-btn.info:hover {
  background: rgba(185, 51, 37, 0.08) !important;
  border-color: #b93325 !important;
  color: #b93325 !important;
}

[data-theme="light"] .task-btn.disabled {
  border-color: rgba(0, 0, 0, 0.08) !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .task-btn.disabled span {
  color: #94a3b8 !important;
}

/* 18.12 环形与各类进度 SVG 底槽圆环在浅色下的适应 */
[data-theme="light"] .detail-item-header circle[stroke="rgba(255, 255, 255, 0.12)"],
[data-theme="light"] .task-item-ctn circle[stroke="rgba(255, 255, 255, 0.12)"] {
  stroke: rgba(0, 0, 0, 0.1) !important;
}

/* 18.13 浅色过渡体验扩充 */
.mcv-nav-area,
.tab-item-ctn,
.details-ctn,
.detail-item-ctn,
.detail-item-header,
.sq-mc-header-card,
.sq-mc-tabs-bar,
.sq-mc-tab-contents,
.sq-mc-subcard,
.sq-mc-ticket-card,
.sq-mc-apply-card,
.sq-mc-stat-box {
  transition: background-color 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              color 0.35s ease !important;
}

/* ==========================================================================
   19. 学员会员中心新中式浅色主题适配 (Member Center - /会员中心/ 及 #orders 等各 Tab)
   ========================================================================== */

/* 19.1 页面外层容器与 Astra 默认卡片净化 */
[data-theme="light"] .page-id-4914 #page,
[data-theme="light"] .page-id-4914 .site-content,
[data-theme="light"] .page-id-4914 .ast-container,
[data-theme="light"] .page-id-4914 .ast-article-single,
[data-theme="light"] .page-id-4914 .entry-content,
[data-theme="light"] .sq-member-center-wrapper {
  background: transparent !important;
  color: #1e2530 !important;
}

[data-theme="light"] .page-id-4914 .ast-article-single {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 隐藏 Astra 模板默认输出的死板大标题，由会员中心新中式学员名片统一统摄 */
[data-theme="light"] .page-id-4914 .entry-header {
  display: none !important;
}

[data-theme="light"] .sq-member-center-wrapper {
  max-width: 1120px !important;
  margin: 30px auto 60px !important;
  color: #1e2530 !important;
}

/* 19.2 顶部学员名片 Header Card (温润白玉微晶质感) */
[data-theme="light"] .sq-mc-header-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 246, 242, 0.95) 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  color: #1e2530 !important;
}

[data-theme="light"] .sq-mc-header-card::after {
  color: #111418 !important;
  opacity: 0.035 !important;
}

/* 头像交互区 */
[data-theme="light"] .sq-mc-avatar-wrap {
  border-color: #c5a059 !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2) !important;
  background: #ffffff !important;
}

[data-theme="light"] .sq-mc-avatar-overlay {
  background: rgba(17, 20, 24, 0.72) !important;
}

/* 学员姓名与角色徽章 */
[data-theme="light"] .sq-mc-display-name {
  color: #111418 !important;
}

[data-theme="light"] .sq-mc-role-badge {
  background: rgba(197, 160, 89, 0.12) !important;
  border-color: rgba(197, 160, 89, 0.35) !important;
  color: #9a762a !important;
}

[data-theme="light"] .sq-mc-subtitle-line {
  color: #475569 !important;
}

[data-theme="light"] .sq-mc-info-item strong {
  color: #111418 !important;
}

[data-theme="light"] .sq-mc-info-sep {
  color: rgba(0, 0, 0, 0.18) !important;
}

/* 顶部右侧积分卡片 */
[data-theme="light"] .sq-mc-points-highlight {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(197, 160, 89, 0.3) !important;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.08) !important;
}

[data-theme="light"] .sq-mc-pt-label {
  color: #64748b !important;
}

[data-theme="light"] .sq-mc-pt-value {
  color: #b88e1e !important;
}

[data-theme="light"] .sq-mc-redeem-link {
  color: #b93325 !important;
}

[data-theme="light"] .sq-mc-redeem-link:hover {
  color: #9e2b1f !important;
}

/* 19.3 Tabs 选项卡导航栏 (白玉胶囊横栏) */
[data-theme="light"] .sq-mc-tabs-bar {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

/* 浅色模式下 Tab 按钮高优先级覆盖（防止被 .site-content button 强制染红） */
[data-theme="light"] .site-content button.sq-mc-tab-btn,
[data-theme="light"] #sq-member-center .sq-mc-tab-btn,
[data-theme="light"] .sq-mc-tab-btn {
  background: transparent !important;
  background-color: transparent !important;
  color: #475569 !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

[data-theme="light"] .site-content button.sq-mc-tab-btn:hover,
[data-theme="light"] #sq-member-center .sq-mc-tab-btn:hover,
[data-theme="light"] .sq-mc-tab-btn:hover {
  color: #b93325 !important;
  background: rgba(185, 51, 37, 0.05) !important;
  background-color: rgba(185, 51, 37, 0.05) !important;
  border: 1px solid transparent !important;
}

[data-theme="light"] .site-content button.sq-mc-tab-btn.is-active,
[data-theme="light"] #sq-member-center .sq-mc-tab-btn.is-active,
[data-theme="light"] .sq-mc-tab-btn.is-active {
  background: rgba(185, 51, 37, 0.08) !important;
  background-color: rgba(185, 51, 37, 0.08) !important;
  color: #b93325 !important;
  border: 1px solid transparent !important;
  border-left: 3px solid #b93325 !important;
  box-shadow: 0 2px 8px rgba(185, 51, 37, 0.12) !important;
}

/* 深色模式下恢复 Tab 按钮原本的新中式雅致设计（未激活透明墨青灰，激活深渊蓝金） */
html:not([data-theme="light"]) .site-content button.sq-mc-tab-btn,
[data-theme="dark"] .site-content button.sq-mc-tab-btn {
  background: transparent !important;
  background-color: transparent !important;
  color: #94a3b8 !important;
  border: none !important;
  box-shadow: none !important;
}

html:not([data-theme="light"]) .site-content button.sq-mc-tab-btn:hover,
[data-theme="dark"] .site-content button.sq-mc-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

html:not([data-theme="light"]) .site-content button.sq-mc-tab-btn.is-active,
[data-theme="dark"] .site-content button.sq-mc-tab-btn.is-active {
  background: #1a2536 !important;
  background-color: #1a2536 !important;
  color: #ffffff !important;
  border-left: 3px solid #c5a059 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="light"] .sq-mc-count-bubble {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #64748b !important;
}

[data-theme="light"] .sq-mc-tab-btn.is-active .sq-mc-count-bubble {
  background: rgba(185, 51, 37, 0.15) !important;
  color: #b93325 !important;
}

/* 19.4 选项卡主体承载容器 (白玉宣纸质感) */
[data-theme="light"] .sq-mc-tab-contents {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  color: #1e2530 !important;
}

[data-theme="light"] .sq-mc-section-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] body .entry-content h3.sq-mc-sec-title,
[data-theme="light"] body .entry-content .sq-mc-sec-title,
[data-theme="light"] .sq-mc-sec-title {
  color: #111418 !important;
}

[data-theme="light"] body .entry-content p.sq-mc-sec-desc,
[data-theme="light"] body .entry-content .sq-mc-sec-desc,
[data-theme="light"] .sq-mc-sec-desc {
  color: #64748b !important;
}

/* 19.5 订购商品记录与表格组件 (#orders) */
[data-theme="light"] .sq-mc-table th {
  background: rgba(247, 246, 242, 0.85) !important;
  color: #334155 !important;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sq-mc-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  color: #1e2530 !important;
}

[data-theme="light"] .sq-mc-table tr:hover td {
  background: rgba(247, 246, 242, 0.6) !important;
}

/* 状态药丸与徽章 (高对比度新中式配色) */
[data-theme="light"] .sq-st-pending,
[data-theme="light"] .sq-status-pill.pending {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #b45309 !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

[data-theme="light"] .sq-st-success,
[data-theme="light"] .sq-status-pill.shipped,
[data-theme="light"] .sq-status-pill.completed {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

[data-theme="light"] .sq-st-contacted {
  background: rgba(14, 165, 233, 0.12) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(14, 165, 233, 0.25) !important;
}

[data-theme="light"] .sq-st-cancelled,
[data-theme="light"] .sq-status-pill.cancelled {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #b91c1c !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

[data-theme="light"] .sq-pts-badge {
  background: rgba(185, 51, 37, 0.1) !important;
  color: #b93325 !important;
}

[data-theme="light"] .sq-track-num {
  color: #0284c7 !important;
  background: rgba(14, 165, 233, 0.1) !important;
}

[data-theme="light"] .sq-log-tag {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #475569 !important;
}

[data-theme="light"] .sq-date-text {
  color: #64748b !important;
}

[data-theme="light"] .sq-order-badge {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #334155 !important;
}

/* 空状态框 (无商品订购记录提示) */
[data-theme="light"] .sq-mc-empty-box {
  background: rgba(247, 246, 242, 0.7) !important;
  border: 1px dashed rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .sq-mc-empty-box p {
  color: #64748b !important;
}

/* 19.6 表单组件与输入框 (高特异性覆盖 taiji-global.css 的 .site-content input) */
[data-theme="light"] .sq-mc-label,
[data-theme="light"] #sq-member-center .sq-mc-label,
[data-theme="light"] .site-content label.sq-mc-label {
  color: #334155 !important;
}

[data-theme="light"] .sq-mc-input,
[data-theme="light"] .site-content .sq-mc-input,
[data-theme="light"] .site-content input.sq-mc-input,
[data-theme="light"] .site-content input[type="text"].sq-mc-input,
[data-theme="light"] .site-content input[type="email"].sq-mc-input,
[data-theme="light"] .site-content input[type="tel"].sq-mc-input,
[data-theme="light"] .site-content textarea.sq-mc-input,
[data-theme="light"] .site-content select.sq-mc-input,
[data-theme="light"] #sq-member-center input,
[data-theme="light"] #sq-member-center textarea,
[data-theme="light"] #sq-member-center select {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  color: #111418 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) inset !important;
}

[data-theme="light"] .sq-mc-input:focus,
[data-theme="light"] .site-content .sq-mc-input:focus,
[data-theme="light"] .site-content input.sq-mc-input:focus,
[data-theme="light"] .site-content input[type="text"].sq-mc-input:focus,
[data-theme="light"] .site-content input[type="email"].sq-mc-input:focus,
[data-theme="light"] .site-content input[type="tel"].sq-mc-input:focus,
[data-theme="light"] .site-content textarea.sq-mc-input:focus,
[data-theme="light"] #sq-member-center input:focus,
[data-theme="light"] #sq-member-center textarea:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #b93325 !important;
  box-shadow: 0 0 0 3px rgba(185, 51, 37, 0.15) !important;
  color: #111418 !important;
}

[data-theme="light"] .sq-mc-input.is-readonly,
[data-theme="light"] .site-content .sq-mc-input.is-readonly,
[data-theme="light"] .site-content input[readonly].sq-mc-input,
[data-theme="light"] #sq-member-center input.is-readonly,
[data-theme="light"] #sq-member-center input[readonly] {
  background: rgba(0, 0, 0, 0.035) !important;
  background-color: rgba(0, 0, 0, 0.035) !important;
  color: #64748b !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  cursor: not-allowed !important;
}

[data-theme="light"] .sq-mc-tip,
[data-theme="light"] #sq-member-center .sq-mc-tip {
  color: #788290 !important;
}

/* 密码与安全子卡片 (Subcard) */
[data-theme="light"] .sq-mc-subcard {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .sq-mc-subcard-header {
  background: rgba(247, 246, 242, 0.8) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] body .entry-content .sq-mc-subcard-header h4,
[data-theme="light"] .sq-mc-subcard-header h4 {
  color: #111418 !important;
}

/* 按钮通用风格 */
[data-theme="light"] .sq-mc-btn-primary {
  background: #b93325 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(185, 51, 37, 0.25) !important;
}

[data-theme="light"] .sq-mc-btn-primary:hover {
  background: #9e2b1f !important;
  box-shadow: 0 6px 18px rgba(185, 51, 37, 0.35) !important;
}

[data-theme="light"] .sq-mc-btn-secondary {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .sq-mc-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: #b93325 !important;
  color: #b93325 !important;
}

[data-theme="light"] .sq-mc-btn-logout {
  color: #dc2626 !important;
}

[data-theme="light"] .sq-mc-btn-logout:hover {
  color: #b91c1c !important;
}

/* 19.7 研学积分面板统计卡片行 */
[data-theme="light"] .sq-mc-stat-box {
  background: rgba(247, 246, 242, 0.75) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .sq-mc-stat-num {
  color: #111418 !important;
}

[data-theme="light"] .sq-mc-stat-num.sq-gold {
  color: #b88e1e !important;
}

[data-theme="light"] .sq-mc-stat-title {
  color: #64748b !important;
}

/* 19.8 课程提问与答疑工单 */
[data-theme="light"] .sq-mc-ticket-card {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .sq-mc-ticket-card:hover {
  background: #ffffff !important;
  border-color: rgba(185, 51, 37, 0.35) !important;
  box-shadow: 0 8px 24px rgba(185, 51, 37, 0.06) !important;
}

[data-theme="light"] .sq-ticket-badge {
  color: #475569 !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .sq-ticket-lesson {
  color: #b93325 !important;
}

[data-theme="light"] .sq-ticket-time {
  color: #788290 !important;
}

[data-theme="light"] .sq-mc-ticket-toggle-btn {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #475569 !important;
}

[data-theme="light"] .sq-mc-ticket-toggle-btn:hover {
  background: rgba(185, 51, 37, 0.06) !important;
  border-color: #b93325 !important;
  color: #b93325 !important;
}

[data-theme="light"] body .entry-content h4.sq-ticket-title,
[data-theme="light"] body .entry-content .sq-ticket-title,
[data-theme="light"] .sq-ticket-title {
  color: #111418 !important;
}

[data-theme="light"] .sq-ticket-content {
  color: #334155 !important;
  background: rgba(247, 246, 242, 0.75) !important;
  border-left: 3px solid #b93325 !important;
}

[data-theme="light"] .sq-ticket-dialog-drawer {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sq-reply-waiting {
  background: rgba(245, 158, 11, 0.08) !important;
  color: #b45309 !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
}

[data-theme="light"] .sq-reply-bubble.is-teacher {
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-left: 4px solid #059669 !important;
  color: #064e3b !important;
}

[data-theme="light"] .sq-reply-bubble.is-student {
  background: rgba(247, 246, 242, 0.8) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-left: 4px solid #b93325 !important;
  color: #1e2530 !important;
}

[data-theme="light"] .sq-reply-author {
  color: #111418 !important;
}

[data-theme="light"] .sq-reply-date {
  color: #788290 !important;
}

[data-theme="light"] .sq-followup-input {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  color: #111418 !important;
}

[data-theme="light"] .sq-followup-input:focus {
  border-color: #b93325 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(185, 51, 37, 0.15) !important;
}

[data-theme="light"] .sq-followup-submit-btn {
  background: #b93325 !important;
  color: #ffffff !important;
}

[data-theme="light"] .sq-followup-submit-btn:hover {
  background: #9e2b1f !important;
}

/* 19.9 线下课程预约卡片网格 */
[data-theme="light"] .sq-mc-apply-card {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .sq-apply-card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .sq-apply-type {
  color: #111418 !important;
}

[data-theme="light"] .sq-apply-label {
  color: #64748b !important;
}

[data-theme="light"] .sq-apply-val {
  color: #1e2530 !important;
}

[data-theme="light"] .sq-apply-card-footer {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

/* 19.10 访客未登录引导卡片 */
[data-theme="light"] body .entry-content .sq-mc-guest-card,
[data-theme="light"] .sq-mc-guest-card {
  background: linear-gradient(145deg, #ffffff 0%, #f7f6f2 100%) !important;
  border: 1px solid rgba(197, 160, 89, 0.35) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06), 0 0 25px rgba(197, 160, 89, 0.08) !important;
  color: #1e2530 !important;
}

[data-theme="light"] .sq-mc-guest-title {
  color: #111418 !important;
}

[data-theme="light"] .sq-mc-guest-desc {
  color: #64748b !important;
}

/* ==========================================================================
   20. 单门课程详情页新中式浅色主题适配 (Single Course - /mcv_course/*)
   ========================================================================== */

/* 20.1 页面基础与大背景净化 */
[data-theme="light"] body.single-mcv_course,
[data-theme="light"] .single-mcv_course,
[data-theme="light"] .single-mcv_course #page,
[data-theme="light"] .single-mcv_course .site-content,
[data-theme="light"] .single-mcv_course .ast-container,
[data-theme="light"] .single-mcv_course .mcv-global-main,
[data-theme="light"] .mcv-global-main {
  background: #f7f6f2 !important;
  background-color: #f7f6f2 !important;
  color: #1e2530 !important;
}

[data-theme="light"] .single-mcv_course .section-main {
  background: transparent !important;
  background-color: transparent !important;
}

/* 清除 section-apply 与 apply-bar 周围深黑渐变伪元素背景 */
[data-theme="light"] .course-banner--pay .section-apply,
[data-theme="light"] .course-banner--pay .section-apply:before,
[data-theme="light"] .apply-bar,
[data-theme="light"] .apply-bar-workspace {
  background: transparent !important;
  background-color: transparent !important;
}

/* 顶部 Banner 背景层温润淡化，告别深黑死光 */
[data-theme="light"] .course-banner--pay .course-banner-bg {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 246, 242, 0.92) 100%) !important;
  opacity: 1 !important;
  filter: none !important;
}

/* 20.2 课程头部 Banner 信息区 */
/* 面包屑导航 */
[data-theme="light"] .course-banner--pay .mcv-breadcrumb,
[data-theme="light"] .course-banner--pay .mcv-breadcrumb a {
  color: #64748b !important;
}

[data-theme="light"] .course-banner--pay .mcv-breadcrumb a:hover {
  color: #b93325 !important;
}

[data-theme="light"] .course-banner--pay .mcv-breadcrumb .ke-icon {
  color: rgba(0, 0, 0, 0.25) !important;
}

/* 收藏按钮 (白玉胶囊微晶质感) */
[data-theme="light"] .course-banner--pay .btn-fav {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #475569 !important;
  border-radius: 22px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s ease !important;
}

[data-theme="light"] .course-banner--pay .btn-fav:hover {
  background: rgba(185, 51, 37, 0.06) !important;
  background-color: rgba(185, 51, 37, 0.06) !important;
  border-color: #b93325 !important;
  color: #b93325 !important;
  box-shadow: 0 4px 12px rgba(185, 51, 37, 0.15) !important;
}

[data-theme="light"] .course-banner--pay .btn-fav .icon-fav {
  color: inherit !important;
}

/* 封面试看胶囊徽章 */
[data-theme="light"] .cover-pay-wrapper .cover-mask--trial {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  color: #111418 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

[data-theme="light"] .cover-pay-wrapper .cover-mask--trial .cover-mask-txt,
[data-theme="light"] .cover-pay-wrapper .cover-mask--trial .ke-icon {
  color: #111418 !important;
}

/* 课程大标题与课时信息 */
[data-theme="light"] .course-banner--pay .course-title {
  color: #111418 !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

[data-theme="light"] .course-banner--pay .course-hints {
  color: #64748b !important;
}

[data-theme="light"] .course-banner--pay .course-hints .num,
[data-theme="light"] .course-banner--pay .course-hints strong {
  color: #1e2530 !important;
  font-weight: 600 !important;
}

/* 20.3 底部操作条 (Apply Bar) */
[data-theme="light"] .course-banner--pay .apply-bar-main {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  border-radius: 14px !important;
}

/* 价格文字 */
[data-theme="light"] .apply-bar-main .course-price,
[data-theme="light"] .apply-bar-main .price-container {
  color: #b93325 !important;
  font-weight: 700 !important;
}

/* 分隔竖线 */
[data-theme="light"] .apply-bar-main .dividing {
  color: rgba(0, 0, 0, 0.15) !important;
}

/* 学习状态（完成/已购等） */
[data-theme="light"] .apply-bar-main .apply-promise {
  color: #047857 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  font-weight: 500 !important;
}

/* 开始学习行动主按钮 (朱砂红微晶渐变) */
[data-theme="light"] .apply-bar-main .general-btn-main,
[data-theme="light"] .apply-bar-main .institution-btn-main,
[data-theme="light"] .course-banner--pay .general-btn-main {
  background: linear-gradient(135deg, #b93325 0%, #9e2a1e 100%) !important;
  background-color: #b93325 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(185, 51, 37, 0.3) !important;
  border: 1px solid rgba(185, 51, 37, 0.4) !important;
  border-radius: 24px !important;
  transition: all 0.25s ease !important;
}

[data-theme="light"] .apply-bar-main .general-btn-main:hover,
[data-theme="light"] .apply-bar-main .institution-btn-main:hover,
[data-theme="light"] .course-banner--pay .general-btn-main:hover {
  background: linear-gradient(135deg, #c73829 0%, #ad2d20 100%) !important;
  background-color: #c73829 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(185, 51, 37, 0.42) !important;
  transform: translateY(-1px) !important;
}

[data-theme="light"] .apply-bar-main .general-btn-txt,
[data-theme="light"] .apply-bar-main .institution-btn-txt {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* 20.4 选项卡主体 (.mcv-tab-panel) */
[data-theme="light"] .mcv-tab-panel {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  overflow: hidden !important;
}

/* Tab 头部横栏 */
[data-theme="light"] .mcv-tab-panel .components-tab-panel__tabs {
  background: rgba(247, 246, 242, 0.85) !important;
  background-color: rgba(247, 246, 242, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 4px 8px !important;
}

/* Tab 切换按钮（覆盖 .site-content button 染红） */
[data-theme="light"] .site-content button.components-tab-panel__tabs-item,
[data-theme="light"] .mcv-tab-panel button.components-tab-panel__tabs-item,
[data-theme="light"] .components-tab-panel__tabs-item {
  background: transparent !important;
  background-color: transparent !important;
  color: #64748b !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 10px 20px !important;
  transition: all 0.2s ease !important;
}

[data-theme="light"] .site-content button.components-tab-panel__tabs-item:hover,
[data-theme="light"] .mcv-tab-panel button.components-tab-panel__tabs-item:hover {
  background: rgba(0, 0, 0, 0.04) !important;
  background-color: rgba(0, 0, 0, 0.04) !important;
  color: #111418 !important;
}

/* 激活的 Tab 按钮 (白玉底、朱砂红字、底部高光红条) */
[data-theme="light"] .site-content button.components-tab-panel__tabs-item.is-active,
[data-theme="light"] .mcv-tab-panel button.components-tab-panel__tabs-item.is-active {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #b93325 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* 深色模式下保护恢复 Tab 按钮 */
html:not([data-theme="light"]) .site-content button.components-tab-panel__tabs-item,
[data-theme="dark"] .site-content button.components-tab-panel__tabs-item {
  background: transparent !important;
  background-color: transparent !important;
  color: #94a3b8 !important;
  border: none !important;
  box-shadow: none !important;
}

html:not([data-theme="light"]) .site-content button.components-tab-panel__tabs-item:hover,
[data-theme="dark"] .site-content button.components-tab-panel__tabs-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

html:not([data-theme="light"]) .site-content button.components-tab-panel__tabs-item.is-active,
[data-theme="dark"] .site-content button.components-tab-panel__tabs-item.is-active {
  background: #1a2536 !important;
  background-color: #1a2536 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

/* 20.5 课程详情面板图文排版 (.detail-content) */
[data-theme="light"] .mcv-tab-panel .detail-content {
  color: #24292f !important;
  padding: 24px 20px !important;
}

[data-theme="light"] .mcv-tab-panel .detail-content p,
[data-theme="light"] .mcv-tab-panel .detail-content .wp-block-paragraph {
  color: #24292f !important;
  line-height: 1.85 !important;
  font-size: 15px !important;
}

/* 20.6 课程目录面板 (.detail-catalogue) */
[data-theme="light"] .mcv-tab-panel .detail-catalogue {
  padding: 16px 20px !important;
  background: transparent !important;
}

/* 章节外壳与标题栏 (微晶浅宣卡片) */
[data-theme="light"] .detail-catalogue .section-wrapper {
  margin-bottom: 12px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .detail-catalogue .section-info-wrapper {
  background: rgba(247, 246, 242, 0.95) !important;
  background-color: rgba(247, 246, 242, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 14px 18px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

[data-theme="light"] .detail-catalogue .section-info-wrapper:hover {
  background: rgba(242, 240, 233, 1) !important;
  background-color: rgba(242, 240, 233, 1) !important;
}

[data-theme="light"] .detail-catalogue .section-title {
  color: #111418 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

[data-theme="light"] .detail-catalogue .section-operate svg,
[data-theme="light"] .detail-catalogue .section-operate {
  color: #64748b !important;
}

/* 课时列表与条目 (.task-item) */
[data-theme="light"] .detail-catalogue .task-item-expo-wrapper {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

[data-theme="light"] .detail-catalogue .task-item {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 12px 18px !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
}

[data-theme="light"] .detail-catalogue .task-item:hover {
  background: rgba(247, 246, 242, 0.8) !important;
  background-color: rgba(247, 246, 242, 0.8) !important;
}

[data-theme="light"] .detail-catalogue .task-item:hover .task-name {
  color: #b93325 !important;
}

[data-theme="light"] .detail-catalogue .task-type svg {
  color: #94a3b8 !important;
}

[data-theme="light"] .detail-catalogue .task-item:hover .task-type svg {
  color: #b93325 !important;
}

[data-theme="light"] .detail-catalogue .task-name {
  color: #1e2530 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

[data-theme="light"] .detail-catalogue .task-info {
  color: #64748b !important;
  font-size: 13px !important;
}

/* 20.7 侧边栏推荐课程卡片 (aside.aside .recommend) */
[data-theme="light"] aside.aside .recommend {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  padding: 20px !important;
  color: #1e2530 !important;
}

[data-theme="light"] aside.aside .recommend .recommend-tt,
[data-theme="light"] .recommend-tt,
[data-theme="light"] aside.aside .recommend .recommend-title,
[data-theme="light"] aside.aside .recommend h2,
[data-theme="light"] aside.aside .recommend h3,
[data-theme="light"] aside.aside .recommend h4 {
  color: #111418 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  padding-bottom: 12px !important;
  margin-bottom: 16px !important;
}

[data-theme="light"] aside.aside .recommend .course-list:empty::after {
  content: "暂无其他相关推荐";
  display: block;
  font-size: 13px;
  color: #94a3b8;
  padding: 10px 0;
}

[data-theme="light"] aside.aside .recommend a {
  color: #1e2530 !important;
}

[data-theme="light"] aside.aside .recommend a:hover {
  color: #b93325 !important;
}


/* ==========================================================================
   21. 单课时视频播放页新中式浅色主题适配 (Single Lesson Player - /mcv_course/*/mcv_lesson/*)
   ========================================================================== */

/* 21.0 播放页顶栏主题切换器微晶胶囊通用布局适配 (深色与浅色双模自适应) */
.study-header .operations {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.study-header .sq-lesson-switcher {
  margin: 0 !important;
  padding: 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 20px !important;
  height: 34px !important;
  box-sizing: border-box !important;
  z-index: 10 !important;
}

.study-header .sq-lesson-switcher .sq-theme-btn {
  height: 28px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  border-radius: 14px !important;
  line-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* 21.1 页面全局与视口底色 */
[data-theme="light"] body.single-mcv_lesson,
[data-theme="light"] .mcv-lesson-body,
[data-theme="light"] .mcv_lesson-template-default.single.single-mcv_lesson {
  background-color: #f7f6f2 !important;
  color: #1e2530 !important;
}

/* 21.2 顶部顶栏 (Study Header) 与 面包屑导航 (Breadcrumb) */
[data-theme="light"] .study-header {
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .mcv-breadcrumb {
  background-color: transparent !important;
}

[data-theme="light"] .mcv-breadcrumb a {
  color: #475569 !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

[data-theme="light"] .mcv-breadcrumb a:hover {
  color: #b93325 !important;
}

[data-theme="light"] .mcv-breadcrumb .mcv-curlesson,
[data-theme="light"] .mcv-breadcrumb a.mcv-curlesson {
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] .mcv-breadcrumb .ke-icon,
[data-theme="light"] .mcv-breadcrumb .ke-icon svg {
  color: #94a3b8 !important;
}

/* 提问老师交互微晶胶囊 */
[data-theme="light"] .sq-qa-header-item,
[data-theme="light"] .study-header .sq-qa-header-item {
  background: rgba(185, 51, 37, 0.08) !important;
  border: 1px solid rgba(185, 51, 37, 0.25) !important;
  border-radius: 20px !important;
  padding: 4px 14px !important;
  transition: all 0.25s ease !important;
}

[data-theme="light"] .sq-qa-header-item:hover,
[data-theme="light"] .study-header .sq-qa-header-item:hover {
  background: #b93325 !important;
  border-color: #b93325 !important;
}

[data-theme="light"] .sq-qa-header-item:hover span {
  color: #ffffff !important;
}

/* 顶部学员名片与下拉菜单 */
[data-theme="light"] .study-header .s-profile-trigger .s-username {
  color: #1e2530 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .study-header .profile-menu {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .study-header .profile-menu .li-item a {
  color: #334155 !important;
  transition: all 0.2s ease !important;
}

[data-theme="light"] .study-header .profile-menu .li-item a:hover {
  background-color: #f7f6f2 !important;
  color: #b93325 !important;
}

/* 21.3 播放器外壳与学习主体 (Study Body & Video Wrapper) */
[data-theme="light"] .study-body {
  background-color: #f2f1ec !important;
}

[data-theme="light"] .video-wrap.mcv-video.vod {
  background-color: #0b0f14 !important; /* 视频播放核心区保持深色以优化观影视野 */
}

/* 21.4 侧边栏折叠/展开按钮 (Fold / Expand Button) */
[data-theme="light"] .right-side-bar .fold-btn,
[data-theme="light"] .right-side-bar .expand-btn {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-right: none !important;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.06) !important;
  border-radius: 6px 0 0 6px !important;
}

[data-theme="light"] .right-side-bar .fold-btn .btn-img,
[data-theme="light"] .right-side-bar .expand-btn .btn-img {
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(320deg) brightness(0.6) !important;
}

/* 21.5 右侧课时侧边栏整体 (Right Side Bar & Playlist) */
[data-theme="light"] .right-side-bar {
  background-color: #ffffff !important;
  border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .side-bar-cnt,
[data-theme="light"] .playlist-cnt {
  background-color: #ffffff !important;
}

/* 侧边栏“目录” Tab */
[data-theme="light"] .mcv-tab-panel .components-tab-panel__tabs {
  background-color: #faf9f6 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .mcv-tab-panel .components-tab-panel__tabs-item.tab-mulu {
  color: #1e2530 !important;
  font-weight: 600 !important;
  background: transparent !important;
  border: none !important;
}

[data-theme="light"] .mcv-tab-panel .components-tab-panel__tabs-item.tab-mulu.active-tab {
  color: #b93325 !important;
  position: relative !important;
}

[data-theme="light"] .mcv-tab-panel .components-tab-panel__tabs-item.tab-mulu.active-tab::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 20% !important;
  right: 20% !important;
  height: 2px !important;
  background: #b93325 !important;
  border-radius: 2px !important;
}

/* 课程名称 (Course Name) */
[data-theme="light"] .playlist-cnt .course-name {
  color: #0f172a !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 16px 18px 12px 18px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  background: #ffffff !important;
}

/* 章节标题 (Chapter Sub-title) */
[data-theme="light"] .playlist-cnt .chapters .sub-title {
  background-color: #f7f6f2 !important;
  color: #1e2530 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 10px 18px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  letter-spacing: 0.5px !important;
}

/* 21.6 课时项 (Task Item) */
[data-theme="light"] .playlist-cnt .task-item {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 10px 16px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

[data-theme="light"] .playlist-cnt .task-item:hover {
  background-color: #fbfbfa !important;
}

/* 课时名称 */
[data-theme="light"] .playlist-cnt .task-item .task-name {
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

[data-theme="light"] .playlist-cnt .task-item:hover .task-name {
  color: #b93325 !important;
}

/* 课时时长与后缀 */
[data-theme="light"] .playlist-cnt .task-item .task-suffix {
  color: #94a3b8 !important;
  font-size: 12px !important;
}

/* 课时类型图标 (播放三角形/锁定图标) */
[data-theme="light"] .playlist-cnt .task-item .task-type svg {
  color: #94a3b8 !important;
  fill: currentColor !important;
  transition: color 0.2s ease !important;
}

[data-theme="light"] .playlist-cnt .task-item:hover .task-type svg {
  color: #b93325 !important;
}

/* 当前正在播放的激活课时项 (.active) */
[data-theme="light"] .playlist-cnt .task-item.active {
  background-color: rgba(185, 51, 37, 0.06) !important;
  border-left: 3px solid #b93325 !important;
}

[data-theme="light"] .playlist-cnt .task-item.active .task-name {
  color: #b93325 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .playlist-cnt .task-item.active .task-type svg {
  color: #b93325 !important;
}

/* 已学完徽章 (✓ 已学完) */
[data-theme="light"] .playlist-cnt .task-label.sq-completed-tag,
[data-theme="light"] .playlist-cnt .task-labels .sq-completed-tag {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  font-weight: 500 !important;
}

/* 滚动条美化 */
[data-theme="light"] .playlist-cnt::-webkit-scrollbar,
[data-theme="light"] body.single-mcv_lesson::-webkit-scrollbar {
  width: 6px !important;
  background-color: #f7f6f2 !important;
}

[data-theme="light"] .playlist-cnt::-webkit-scrollbar-thumb,
[data-theme="light"] body.single-mcv_lesson::-webkit-scrollbar-thumb {
  background-color: #cbd5e1 !important;
  border-radius: 4px !important;
}

[data-theme="light"] .playlist-cnt::-webkit-scrollbar-thumb:hover,
[data-theme="light"] body.single-mcv_lesson::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8 !important;
}

/* 21.7 讨论区与问答弹窗浅色适配 (Discussion & Modal) */
[data-theme="light"] .mcv-discussion {
  background-color: #ffffff !important;
  color: #1e2530 !important;
}

[data-theme="light"] .mcv-disc-input {
  background-color: #faf9f6 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .mcv-disc-input textarea,
[data-theme="light"] .mcv-disc-reply-input textarea {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #1e2530 !important;
}

[data-theme="light"] .mcv-disc-input textarea:focus,
[data-theme="light"] .mcv-disc-reply-input textarea:focus {
  border-color: #b93325 !important;
}

[data-theme="light"] .mcv-disc-submit {
  background: #b93325 !important;
  color: #ffffff !important;
}

[data-theme="light"] .mcv-disc-name {
  color: #0f172a !important;
}

[data-theme="light"] .mcv-disc-con {
  color: #334155 !important;
}

[data-theme="light"] .mcv-disc-replies {
  background: #f7f6f2 !important;
}

[data-theme="light"] .mcv-disc-reply-con {
  color: #475569 !important;
}


/* 21.8 太极课程提问老师客服模态框浅色微晶适配 (Support QA Modal) */
[data-theme="light"] #sq-support-modal-overlay {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-support-modal {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  color: #1e2530 !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-modal-title {
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-modal-subtitle {
  color: #64748b !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-modal-close {
  color: #94a3b8 !important;
  transition: color 0.2s ease !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-modal-close:hover {
  color: #b93325 !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-modal-tabs {
  background: #faf9f6 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-modal-tabs .sq-tab-btn {
  color: #64748b !important;
  font-weight: 500 !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-modal-tabs .sq-tab-btn.is-active {
  color: #b93325 !important;
  border-bottom-color: #b93325 !important;
  font-weight: 600 !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-meta-card {
  background: #f7f6f2 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-meta-card .sq-meta-label {
  color: #64748b !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-meta-card .sq-meta-val {
  color: #0f172a !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-meta-card .sq-lesson-highlight {
  color: #b93325 !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-question-form label {
  color: #334155 !important;
  font-weight: 500 !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-question-form input[type="text"],
[data-theme="light"] #sq-support-modal-overlay .sq-question-form textarea {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  color: #0f172a !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-question-form input[type="text"]:focus,
[data-theme="light"] #sq-support-modal-overlay .sq-question-form textarea:focus {
  border-color: #b93325 !important;
  box-shadow: 0 0 0 3px rgba(185, 51, 37, 0.12) !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-captcha-refresh {
  color: #64748b !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-captcha-refresh:hover {
  color: #b93325 !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-form-tips {
  color: #94a3b8 !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-submit-btn,
[data-theme="light"] #sq-support-modal-overlay .sq-question-form button[type="submit"] {
  background: #b93325 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(185, 51, 37, 0.25) !important;
}

[data-theme="light"] #sq-support-modal-overlay .sq-submit-btn:hover,
[data-theme="light"] #sq-support-modal-overlay .sq-question-form button[type="submit"]:hover {
  background: #9c271b !important;
}


/* ==========================================================================
   22. 预约体验全局模态框新中式浅色适配 (Booking Modal - #booking-modal)
   ========================================================================== */

/* 22.1 模态背景与窗口容器 */
[data-theme="light"] #booking-modal,
[data-theme="light"] .sq-modal-backdrop.modal-overlay {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

[data-theme="light"] #booking-modal .sq-modal-window,
[data-theme="light"] #booking-modal .modal-dialog,
[data-theme="light"] .sq-modal-window.modal-dialog {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  color: #1e2530 !important;
}

/* 22.2 弹窗顶栏 (Header) 与选项卡 (Tabs) */
[data-theme="light"] #booking-modal .sq-modal-header,
[data-theme="light"] .sq-modal-window .sq-modal-header,
[data-theme="light"] .sq-modal-backdrop .sq-modal-header {
  background: #faf9f6 !important;
  background-color: #faf9f6 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* 顶部选项卡按钮 */
[data-theme="light"] #booking-modal .sq-modal-tab-btn {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #475569 !important;
  font-weight: 500 !important;
  transition: all 0.25s ease !important;
}

[data-theme="light"] #booking-modal .sq-modal-tab-btn:hover {
  border-color: #b93325 !important;
  color: #b93325 !important;
}

[data-theme="light"] #booking-modal .sq-modal-tab-btn.active {
  background: rgba(185, 51, 37, 0.08) !important;
  background-color: rgba(185, 51, 37, 0.08) !important;
  border-color: #b93325 !important;
  color: #b93325 !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(185, 51, 37, 0.15) !important;
}

/* 关闭按钮 */
[data-theme="light"] #booking-modal .sq-modal-close-btn,
[data-theme="light"] #booking-modal .modal-close {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #64748b !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] #booking-modal .sq-modal-close-btn:hover,
[data-theme="light"] #booking-modal .modal-close:hover {
  background: #b93325 !important;
  background-color: #b93325 !important;
  border-color: #b93325 !important;
  color: #ffffff !important;
}

/* 22.3 弹窗内部滚动区与标题文字 */
[data-theme="light"] #booking-modal .sq-modal-body {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* 细滚动条浅色适配 */
[data-theme="light"] #booking-modal .sq-modal-body::-webkit-scrollbar-track {
  background: #f7f6f2 !important;
}

[data-theme="light"] #booking-modal .sq-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
}

[data-theme="light"] #booking-modal .sq-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8 !important;
}

/* 各选项卡标题与说明段落 */
[data-theme="light"] #booking-modal .sq-tab-pane h3,
[data-theme="light"] #booking-modal .modal-title,
[data-theme="light"] #booking-modal #sq-global-modal-title {
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] #booking-modal .sq-tab-pane p,
[data-theme="light"] #booking-modal .modal-desc {
  color: #475569 !important;
}

/* 22.4 表单字段与输入组件 (彻底告别黑色背景块) */
[data-theme="light"] #booking-modal .sq-field-label,
[data-theme="light"] #booking-modal .form-group label {
  color: #1e2530 !important;
  font-weight: 600 !important;
}

[data-theme="light"] #booking-modal .sq-field-label .req {
  color: #b93325 !important;
  font-weight: bold !important;
}

/* 输入框、下拉选择框与文本域 */
[data-theme="light"] #booking-modal .sq-field-input,
[data-theme="light"] #booking-modal .sq-field-select,
[data-theme="light"] #booking-modal .sq-field-textarea,
[data-theme="light"] #booking-modal .form-control {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  color: #0f172a !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] #booking-modal .sq-field-input::placeholder,
[data-theme="light"] #booking-modal .sq-field-textarea::placeholder,
[data-theme="light"] #booking-modal .form-control::placeholder {
  color: #94a3b8 !important;
}

[data-theme="light"] #booking-modal .sq-field-input:focus,
[data-theme="light"] #booking-modal .sq-field-select:focus,
[data-theme="light"] #booking-modal .sq-field-textarea:focus,
[data-theme="light"] #booking-modal .form-control:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #b93325 !important;
  box-shadow: 0 0 0 3px rgba(185, 51, 37, 0.12) !important;
  color: #0f172a !important;
}

[data-theme="light"] #booking-modal .sq-field-select option,
[data-theme="light"] #booking-modal select option {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
}

/* 22.5 单选与复选标签药丸 (.sq-choice-pill) */
[data-theme="light"] #booking-modal .sq-choice-pill {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #334155 !important;
  font-weight: 500 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.2s ease !important;
}

[data-theme="light"] #booking-modal .sq-choice-pill:hover {
  background: #faf9f6 !important;
  background-color: #faf9f6 !important;
  border-color: rgba(0, 0, 0, 0.22) !important;
  color: #0f172a !important;
}

/* 选中高亮态 */
[data-theme="light"] #booking-modal .sq-choice-item input:checked + .sq-choice-pill {
  background: rgba(185, 51, 37, 0.08) !important;
  background-color: rgba(185, 51, 37, 0.08) !important;
  border-color: #b93325 !important;
  color: #b93325 !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(185, 51, 37, 0.12) !important;
}

/* 22.6 图形验证码与消息反馈模块 */
[data-theme="light"] #booking-modal .sq-captcha-box {
  background: #f7f6f2 !important;
  background-color: #f7f6f2 !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] #booking-modal .sq-captcha-box:hover,
[data-theme="light"] #booking-modal .sq-captcha-box:focus {
  border-color: #b93325 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 10px rgba(185, 51, 37, 0.12) !important;
}

[data-theme="light"] #booking-modal .sq-captcha-img,
[data-theme="light"] .sq-captcha-img {
  background-color: #f1f0ea !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  filter: invert(0.92) hue-rotate(180deg) contrast(1.1) !important;
}

[data-theme="light"] #booking-modal .sq-captcha-refresh-hint {
  color: #64748b !important;
}

[data-theme="light"] #booking-modal .sq-captcha-box:hover .sq-captcha-refresh-hint {
  color: #b93325 !important;
}

/* 提示信息反馈盒子 (.sq-msg-box) */
[data-theme="light"] #booking-modal .sq-msg-box,
[data-theme="light"] .sq-msg-box {
  background: #f7f6f2 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #1e2530 !important;
}

[data-theme="light"] #booking-modal .sq-msg-box.success,
[data-theme="light"] .sq-msg-box.success {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #065f46 !important;
}

[data-theme="light"] #booking-modal .sq-msg-box.error,
[data-theme="light"] .sq-msg-box.error {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #991b1b !important;
}

/* 22.7 提交按钮与保密提示 */
[data-theme="light"] #booking-modal .sq-submit-note {
  color: #64748b !important;
}

[data-theme="light"] #booking-modal .sq-btn-submit {
  box-shadow: 0 4px 14px rgba(185, 51, 37, 0.2) !important;
  transition: all 0.25s ease !important;
}

[data-theme="light"] #booking-modal .sq-btn-submit:hover {
  transform: translateY(-1px) !important;
}


/* ==========================================================================
   23. 线下课程介绍专属专题页新中式浅色适配 (Offline Courses - /线下课程介绍/)
   ========================================================================== */

/* 23.1 页面大背景与主容器 */
[data-theme="light"] body.page-template-template-offline-courses,
[data-theme="light"] .page-template-template-offline-courses {
  background-color: #f7f6f2 !important;
  background: #f7f6f2 !important;
  color: #1e2530 !important;
}

[data-theme="light"] .sq-offline-coming-soon {
  color: #1e2530 !important;
}

/* 23.2 顶部水墨光晕雅致淡化 */
[data-theme="light"] .sq-offline-hero::before {
  background: radial-gradient(circle, rgba(185, 51, 37, 0.06) 0%, rgba(67, 140, 107, 0.03) 40%, transparent 70%) !important;
  filter: blur(48px) !important;
}

/* 23.3 顶部朱砂印章与英文辅助标 */
[data-theme="light"] .sq-seal-badge {
  background: rgba(185, 51, 37, 0.06) !important;
  border-color: rgba(185, 51, 37, 0.35) !important;
  color: #b93325 !important;
  box-shadow: 0 0 20px rgba(185, 51, 37, 0.12) !important;
}

[data-theme="light"] .sq-seal-badge:hover {
  background: rgba(185, 51, 37, 0.12) !important;
  border-color: #b93325 !important;
}

[data-theme="light"] .sq-hero-eyebrow {
  color: #64748b !important;
  opacity: 1 !important;
}

/* 23.4 核心大标题与诗意释义文案 */
[data-theme="light"] .sq-hero-title {
  color: #0f172a !important;
  text-shadow: none !important;
}

[data-theme="light"] .sq-hero-title span.sq-highlight {
  color: #b93325 !important;
}

[data-theme="light"] .sq-hero-subtitle {
  color: #475569 !important;
}

/* 23.5 顶部行动按钮组与咨询提示 */
[data-theme="light"] .sq-btn-primary {
  background: linear-gradient(135deg, #b93325 0%, #9e2a1e 100%) !important;
  border-color: #b93325 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(185, 51, 37, 0.32) !important;
}

[data-theme="light"] .sq-btn-primary:hover {
  background: linear-gradient(135deg, #c73829 0%, #ad2d20 100%) !important;
  border-color: #c73829 !important;
  box-shadow: 0 10px 28px rgba(185, 51, 37, 0.45) !important;
  color: #ffffff !important;
}

[data-theme="light"] .sq-btn-ghost {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #1e2530 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sq-btn-ghost:hover {
  background: rgba(185, 51, 37, 0.05) !important;
  background-color: rgba(185, 51, 37, 0.05) !important;
  border-color: #b93325 !important;
  color: #b93325 !important;
  box-shadow: 0 4px 14px rgba(185, 51, 37, 0.15) !important;
}

[data-theme="light"] .sq-hero-tips {
  color: #64748b !important;
}

/* 23.6 底部行动号召 CTA 卡片 (静心以待 · 与松泉同修太极之美) */
[data-theme="light"] .sq-offline-bottom-cta {
  background: linear-gradient(145deg, #ffffff 0%, #faf8f5 100%) !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(199, 67, 50, 0.22) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.05), 0 0 25px rgba(185, 51, 37, 0.04) !important;
  color: #1e2530 !important;
}

/* 底部卡片右侧“道”字水墨暗纹 */
[data-theme="light"] .sq-offline-bottom-cta::before {
  color: rgba(15, 23, 42, 0.035) !important;
}

/* 诗意引言文案 */
[data-theme="light"] .sq-cta-quote {
  color: #b93325 !important;
  font-weight: 500 !important;
}

/* 底部卡片主标题 */
[data-theme="light"] .sq-cta-heading {
  color: #0f172a !important;
  font-weight: 600 !important;
}

/* 底部卡片描述文案 */
[data-theme="light"] .sq-cta-desc {
  color: #475569 !important;
}


/* ==========================================================================
   24. 订单列表页新中式浅色主题适配 (Order List - /mcv-order-list/ 及相关用户中心子页)
   ========================================================================== */

/* 24.1 页面大背景与主容器 */
[data-theme="light"] body.page-id-4480,
[data-theme="light"] body.page-id-4481,
[data-theme="light"] body.page-template-order-list,
[data-theme="light"] body.page-template-favorites,
[data-theme="light"] .page-template-order-list,
[data-theme="light"] .page-template-favorites,
[data-theme="light"] #mcv-order-list-body,
[data-theme="light"] #mcv-fav-body {
  background: #f7f6f2 !important;
  background-color: #f7f6f2 !important;
  color: #1e2530 !important;
}

[data-theme="light"] body.page-id-4480 #page,
[data-theme="light"] body.page-id-4480 .site-content,
[data-theme="light"] body.page-id-4480 .ast-container,
[data-theme="light"] body.page-id-4480 .ast-article-single,
[data-theme="light"] body.page-id-4480 .entry-content,
[data-theme="light"] body.page-id-4481 #page,
[data-theme="light"] body.page-id-4481 .site-content,
[data-theme="light"] body.page-id-4481 .ast-container,
[data-theme="light"] body.page-id-4481 .ast-article-single,
[data-theme="light"] body.page-id-4481 .entry-content {
  background: #f7f6f2 !important;
  background-color: #f7f6f2 !important;
}

/* 24.2 用户中心双栏布局 (.mcv-uc) 与左侧侧边栏微晶卡片 (.mcv-nav-area) */
[data-theme="light"] .mcv-uc {
  color: #1e2530 !important;
}

[data-theme="light"] #mcv-order-list-body .mcv-nav-area,
[data-theme="light"] #mcv-fav-body .mcv-nav-area {
  background: rgba(255, 255, 255, 0.95) !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  overflow: hidden !important;
}

[data-theme="light"] #mcv-order-list-body .mcv-nav-item,
[data-theme="light"] #mcv-fav-body .mcv-nav-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] #mcv-order-list-body .mcv-nav-item:last-child,
[data-theme="light"] #mcv-fav-body .mcv-nav-item:last-child {
  border-bottom: none !important;
}

[data-theme="light"] #mcv-order-list-body .mcv-nav-item a,
[data-theme="light"] #mcv-fav-body .mcv-nav-item a {
  color: #475569 !important;
  background: transparent !important;
  border-left: 3px solid transparent !important;
  transition: all 0.25s ease !important;
}

[data-theme="light"] #mcv-order-list-body .mcv-nav-item a:hover,
[data-theme="light"] #mcv-fav-body .mcv-nav-item a:hover {
  background: rgba(185, 51, 37, 0.04) !important;
  color: #b93325 !important;
  border-left-color: rgba(185, 51, 37, 0.35) !important;
}

[data-theme="light"] #mcv-order-list-body .mcv-nav-item a.active,
[data-theme="light"] #mcv-fav-body .mcv-nav-item a.active {
  background: rgba(185, 51, 37, 0.08) !important;
  color: #b93325 !important;
  font-weight: 600 !important;
  border-left-color: #b93325 !important;
}

/* 24.3 右侧订单组件白玉宣纸主容器 (.order-component) */
[data-theme="light"] .order-component {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  padding: 24px 28px !important;
  color: #1e2530 !important;
}

/* 24.4 订单 Tabs 切换横栏 (.order-component .tabs) */
[data-theme="light"] .order-component .tabs {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  height: 44px !important;
  margin-bottom: 20px !important;
}

[data-theme="light"] .order-component .tabs .tab a {
  color: #64748b !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

[data-theme="light"] .order-component .tabs .tab a:hover {
  color: #b93325 !important;
}

/* 激活的 Tab：朱砂红字与朱砂红底部横条（替代原有刺眼蓝色） */
[data-theme="light"] .order-component .tabs .tab a.active {
  color: #b93325 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .order-component .tabs .tab a.active:after {
  background: #b93325 !important;
  background-color: #b93325 !important;
  height: 3px !important;
  border-radius: 2px !important;
  bottom: -1px !important;
}

/* 24.5 订单列表表头 (.flex-list-header) */
[data-theme="light"] .order-component .flex-list-header {
  background: #faf9f6 !important;
  background-color: #faf9f6 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px 8px 0 0 !important;
  color: #475569 !important;
  font-weight: 600 !important;
  margin-top: 10px !important;
  line-height: 42px !important;
}

[data-theme="light"] .order-component .flex-list-header .flex-cell {
  color: #334155 !important;
  font-weight: 600 !important;
}

/* 24.6 订单列表项 (.flex-list-item) */
[data-theme="light"] .order-component .flex-list-item {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  margin-top: 16px !important;
  overflow: hidden !important;
}

/* 订单条目顶部头栏 (.head) */
[data-theme="light"] .order-component .flex-list-item .head {
  background: #faf9f6 !important;
  background-color: #faf9f6 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: #64748b !important;
  font-size: 13px !important;
}

[data-theme="light"] .order-component .flex-list-item .head .time {
  color: #64748b !important;
}

[data-theme="light"] .order-component .flex-list-item .head .order-id {
  color: #334155 !important;
}

[data-theme="light"] .order-component .flex-list-item .head .agent-name span {
  color: #1e2530 !important;
}

/* 订单单元格分割与内容 */
[data-theme="light"] .order-component .flex-list-item .flex-cell {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: #1e2530 !important;
}

[data-theme="light"] .order-component .flex-list-item .content .title span {
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] .order-component .flex-list-item .content .title .sub {
  color: #64748b !important;
}

/* 价格展示 (朱砂红重点标出) */
[data-theme="light"] .order-component .flex-list-item .content .price {
  color: #b93325 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .order-component .flex-list-item .content .price .original {
  color: #94a3b8 !important;
}

/* 状态文字 (已报名翠竹绿 / 待支付朱砂红) */
[data-theme="light"] .order-component .flex-list-item .content .wording .black {
  color: #047857 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .order-component .flex-list-item .content .wording .red {
  color: #b93325 !important;
  font-weight: 500 !important;
}

/* 操作按钮 (新中式朱砂红印章按钮) */
[data-theme="light"] .order-component .flex-list-item .content .operating a,
[data-theme="light"] .order-component .flex-list-item .content .operating-btn {
  background: linear-gradient(135deg, #b93325 0%, #9e2a1e 100%) !important;
  background-color: #b93325 !important;
  color: #ffffff !important;
  border: 1px solid #b93325 !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(185, 51, 37, 0.25) !important;
  transition: all 0.25s ease !important;
}

[data-theme="light"] .order-component .flex-list-item .content .operating a:hover,
[data-theme="light"] .order-component .flex-list-item .content .operating-btn:hover {
  background: linear-gradient(135deg, #c73829 0%, #ad2d20 100%) !important;
  box-shadow: 0 4px 12px rgba(185, 51, 37, 0.38) !important;
  color: #ffffff !important;
}

/* 24.7 空状态提示框 (.flex-list-no-data) */
[data-theme="light"] .order-component .flex-list-no-data {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-top: none !important;
  border-radius: 0 0 8px 8px !important;
  color: #64748b !important;
}

[data-theme="light"] .order-component .flex-list-no-data-wrapper .switch-account-tips {
  color: #64748b !important;
}

[data-theme="light"] .order-component .flex-list-no-data-wrapper .switch-account-tips-btn {
  color: #b93325 !important;
}

/* 24.8 收藏页面表格组件兼容适配 (#mcv-fav-body & .im-table) */
[data-theme="light"] #mcv-fav-body .im-table-wrap {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  padding: 24px 28px !important;
  overflow: hidden !important;
}

[data-theme="light"] #mcv-fav-body .im-table th {
  background: #faf9f6 !important;
  background-color: #faf9f6 !important;
  color: #334155 !important;
  font-weight: 600 !important;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] #mcv-fav-body .im-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: #1e2530 !important;
  vertical-align: middle !important;
}

[data-theme="light"] #mcv-fav-body .im-table tbody tr:hover {
  background-color: rgba(247, 246, 242, 0.75) !important;
}

[data-theme="light"] #mcv-fav-body .im-table tbody tr:hover td {
  background-color: transparent !important;
}

[data-theme="light"] #mcv-fav-body .fav-info-cover img {
  border-radius: 6px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] #mcv-fav-body .im-table .fav-info-name a {
  color: #0f172a !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

[data-theme="light"] #mcv-fav-body .im-table .fav-info-name a:hover {
  color: #b93325 !important;
}

[data-theme="light"] #mcv-fav-body .im-table .fav-price,
[data-theme="light"] #mcv-fav-body .im-table .fav-price--free {
  color: #b93325 !important;
  font-weight: 600 !important;
}

[data-theme="light"] #mcv-fav-body .im-table a.link-3 {
  color: #64748b !important;
  transition: color 0.2s ease !important;
}

[data-theme="light"] #mcv-fav-body .im-table a.link-3:hover {
  color: #b93325 !important;
}
