/**
 * 经典暗黑主题 + 现代详情（Tailwind 007 布局）：仅 body.lh-theme-classic 下 detail.php 加载。
 * 依赖：front-common.css、front-tailwind.js
 */
/* front-common 会给 body 浅底 #f8fafc，此处拉回与全站一致的炭灰，消除详情页左右白边（手机/桌面） */
html:has(body.lh-theme-classic .detail-page--front-light) {
  background-color: #212121;
}
body.lh-theme-classic:has(.detail-page--front-light) {
  background-color: #212121 !important;
  color: #e5e7eb;
}
body.lh-theme-classic .main-content:has(.detail-page--front-light) {
  background-color: #212121 !important;
  color: #e5e7eb;
}

body.lh-theme-classic .detail-page--front-light {
  color: #e5e7eb;
}

body.lh-theme-classic .detail-page--front-light .lh-fl-detail-hero-outer {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.lh-theme-classic .detail-page--front-light aside {
  background: #1a1a1a !important;
  border-color: #2d2d2d !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

body.lh-theme-classic .detail-page--front-light aside .border-slate-50,
body.lh-theme-classic .detail-page--front-light aside .border-slate-100 {
  border-color: #2d2d2d !important;
}

body.lh-theme-classic .detail-page--front-light aside .bg-slate-50,
body.lh-theme-classic .detail-page--front-light aside div[class*='bg-slate-50'] {
  background-color: rgba(39, 39, 42, 0.85) !important;
  border-color: #3f3f46 !important;
}

body.lh-theme-classic .detail-page--front-light aside h4.text-slate-900,
body.lh-theme-classic .detail-page--front-light aside .text-slate-900 {
  color: #f4f4f5 !important;
}

body.lh-theme-classic .detail-page--front-light aside .text-slate-400,
body.lh-theme-classic .detail-page--front-light aside .text-slate-500 {
  color: #a1a1aa !important;
}

body.lh-theme-classic .detail-page--front-light aside .text-blue-600 {
  color: #60a5fa !important;
}

body.lh-theme-classic .detail-page--front-light aside .prose,
body.lh-theme-classic .detail-page--front-light aside .prose-sm {
  color: #a1a1aa !important;
}

/* 详情说明正文：白字（桌面/手机 .prose-sm.max-w-none） */
body.lh-theme-classic .detail-page--front-light .prose-sm.max-w-none,
body.lh-theme-classic .detail-page--front-light .prose.max-w-none {
  --tw-prose-body: #f5f5f5;
  color: #f5f5f5 !important;
}
body.lh-theme-classic .detail-page--front-light .prose-sm.max-w-none p,
body.lh-theme-classic .detail-page--front-light .prose.max-w-none p {
  color: #f5f5f5 !important;
}

/* 侧栏「业务加持」行：与全站卡片同色底 + 中间业务名白字 */
body.lh-theme-classic .detail-page--front-light aside .grid > div.flex.items-center.justify-between.border.bg-slate-50 {
  background-color: #1c1c1e !important;
  border-color: #2a2a2a !important;
}
body.lh-theme-classic .detail-page--front-light aside .text-slate-700 {
  color: #ffffff !important;
}

/* 业务名：专用类 + 行内 span，压过 Tailwind/继承导致的偏红偏橙观感 */
body.lh-theme-classic .detail-page--front-light aside .lh-detail-biz-name,
body.lh-theme-classic .detail-page--front-light aside .grid[role='group'] .lh-detail-biz-name {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.lh-theme-classic .detail-page--front-light .lh-detail-back.text-slate-400 {
  color: #a1a1aa !important;
}

body.lh-theme-classic .detail-page--front-light .lh-detail-back .border-slate-200 {
  border-color: #3f3f46 !important;
}

body.lh-theme-classic .detail-page--front-light .lh-detail-back:hover {
  color: #60a5fa !important;
}

body.lh-theme-classic .detail-page--front-light button[data-copy-qq].bg-white {
  background: #0f0f0f !important;
  color: #fafafa !important;
  border: 1px solid #3f3f46 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

body.lh-theme-classic .detail-page--front-light button[data-copy-qq]:hover {
  background: #18181b !important;
}

/* 桌面四格属性 */
body.lh-theme-classic .detail-page--front-light .bg-white.p-5.rounded-3xl {
  background: #1c1c1e !important;
  border-color: #2a2a2a !important;
}

body.lh-theme-classic .detail-page--front-light .text-slate-800 {
  color: #f4f4f5 !important;
}

body.lh-theme-classic .detail-page--front-light .text-slate-400 {
  color: #a1a1aa !important;
}

body.lh-theme-classic .detail-page--front-light .bg-blue-50 {
  background: rgba(37, 99, 235, 0.18) !important;
}

body.lh-theme-classic .detail-page--front-light .bg-green-50 {
  background: rgba(22, 163, 74, 0.18) !important;
}

body.lh-theme-classic .detail-page--front-light .bg-purple-50 {
  background: rgba(147, 51, 234, 0.18) !important;
}

body.lh-theme-classic .detail-page--front-light .bg-orange-50 {
  background: rgba(234, 88, 12, 0.18) !important;
}

body.lh-theme-classic .detail-page--front-light .bg-blue-100 {
  background: rgba(59, 130, 246, 0.25) !important;
}

body.lh-theme-classic .detail-page--front-light .bg-green-100 {
  background: rgba(34, 197, 94, 0.22) !important;
}

body.lh-theme-classic .detail-page--front-light .bg-purple-100 {
  background: rgba(168, 85, 247, 0.22) !important;
}

body.lh-theme-classic .detail-page--front-light .bg-orange-100 {
  background: rgba(249, 115, 22, 0.22) !important;
}

/* 手机四格问号角标 */
body.lh-theme-classic .detail-page--front-light .bg-blue-200,
body.lh-theme-classic .detail-page--front-light .bg-green-200,
body.lh-theme-classic .detail-page--front-light .bg-purple-200,
body.lh-theme-classic .detail-page--front-light .bg-orange-200 {
  background: rgba(63, 63, 70, 0.95) !important;
}

/* 详情说明块（桌面） */
body.lh-theme-classic .detail-page--front-light .rounded-3xl.border.border-slate-100.shadow-sm.p-6 {
  background: #1c1c1e !important;
  border-color: #2a2a2a !important;
}

body.lh-theme-classic .detail-page--front-light .text-slate-500 {
  color: #a1a1aa !important;
}

body.lh-theme-classic .detail-page--front-light .text-slate-900 {
  color: #fafafa !important;
}

/* 购号流程 / 联系我们 */
body.lh-theme-classic .detail-page--front-light section[aria-label='购号流程'],
body.lh-theme-classic .detail-page--front-light section[aria-label='联系我们'] {
  background: #1c1c1e !important;
  border-color: #2a2a2a !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
}

body.lh-theme-classic .detail-page--front-light section[aria-label='购号流程'] .text-slate-900,
body.lh-theme-classic .detail-page--front-light section[aria-label='购号流程'] .text-slate-800,
body.lh-theme-classic .detail-page--front-light section[aria-label='购号流程'] .text-slate-700,
body.lh-theme-classic .detail-page--front-light section[aria-label='联系我们'] .text-slate-900,
body.lh-theme-classic .detail-page--front-light section[aria-label='联系我们'] .text-slate-800 {
  color: #f4f4f5 !important;
}

body.lh-theme-classic .detail-page--front-light section[aria-label='购号流程'] .text-slate-400,
body.lh-theme-classic .detail-page--front-light section[aria-label='联系我们'] .text-slate-400 {
  color: #a1a1aa !important;
}

body.lh-theme-classic .detail-page--front-light section[aria-label='购号流程'] .bg-slate-100,
body.lh-theme-classic .detail-page--front-light section[aria-label='购号流程'] .bg-slate-200 {
  background-color: #3f3f46 !important;
}

body.lh-theme-classic .detail-page--front-light section[aria-label='购号流程'] .bg-white {
  background: #27272a !important;
  border-color: #3f3f46 !important;
  color: #93c5fd !important;
}

body.lh-theme-classic .detail-page--front-light section[aria-label='联系我们'] .bg-slate-50 {
  background: #252525 !important;
  border: 1px solid #3f3f46;
}

body.lh-theme-classic .detail-page--front-light section[aria-label='联系我们'] .bg-blue-100 {
  background: rgba(37, 99, 235, 0.22) !important;
  color: #93c5fd !important;
}

body.lh-theme-classic .detail-page--front-light section[aria-label='联系我们'] .bg-green-100 {
  background: rgba(16, 185, 129, 0.22) !important;
  color: #34d399 !important;
}
