/*
 * theme-apple.css — 苹果浅色润色层
 * 在 tokens.css 之上做细部打磨：去衬线斜体标题、去深蓝 hero 渐变、统一选中色等。
 * 仅做"锦上添花"的定向覆盖，不重写任何布局，不触碰 app.js 依赖的 class / id。
 */

/* 1. 标题去衬线斜体，改无衬线 + 600 字重 + 负字距（苹果风） */
.serif {
  font-style: normal !important;
  font-weight: 600 !important;
  font-family: var(--sans) !important;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1, h2, h3 { letter-spacing: -0.02em; }
.v3-diag-l h1,
.v3-section .head h2,
.wb-intro h1,
.skill-empty h2,
.morning-intro h1 {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 600 !important;
}

/* 2. 空封面深蓝渐变 → 浅色 IKB 渐变（原 .empty-preview-cover 在暗色下是深蓝块） */
.empty-preview-cover {
  background: linear-gradient(135deg, rgba(0, 47, 167, .10), rgba(0, 47, 167, .02) 60%, #f5f5f7) !important;
  border: 1px solid rgba(0, 47, 167, .14) !important;
}
.empty-preview-cover .ep-cover-bg {
  background:
    radial-gradient(circle at 30% 25%, rgba(0, 47, 167, .10), transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(0, 47, 167, .06), transparent 55%) !important;
}
.empty-preview-cover .ep-cover-title { color: var(--ikb) !important; }

/* 3. 用户聊天气泡：实心 IKB（去掉霓虹渐变） */
.chat-message.from-user p {
  background: var(--ikb) !important;
  color: #fff !important;
}

/* 4. 文本选中色（苹果蓝） */
::selection { background: rgba(0, 47, 167, .18); color: var(--text); }

/* 5. 滚动条浅色化 */
* { scrollbar-color: rgba(0, 0, 0, .18) transparent; }

/* 6. 修掉翻色后"深底深字"看不见的实心按钮（原背景走 var(--text)，文字走 #0A0A0B） */
.v3-hero-l .cta-row .primary,
.v3-diag-r .actions .solid {
  background: var(--ikb) !important;
  color: #fff !important;
}

/* 7. 进度条去掉霓虹蓝渐变，改为实心 IKB */
.sbar i { background: var(--ikb) !important; }
