/* ============================================================
   顺时 · 子午流注养生 App  ·  样式
   设计令牌直接来自 Ardot 设计稿 (Tokens)
   ============================================================ */

/* --- 字体 --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500&family=Noto+Serif+SC:wght@500;600&family=Outfit:wght@500;600&display=swap');

/* --- 设计令牌（与 Ardot Tokens 1:1） --- */
:root {
  --bg:           #F5F5F2;
  --card:         #FFFFFF;
  --card-warm:    #FAF7F5;
  --border:       #E5E3E0;
  --accent:       #3D8A59;
  --accent-2:     #9BAF9C;     /* 浅鼠尾草，用于圆盘图第四段 */
  --terracotta:   #D99475;
  --honey:        #D4A64A;
  --icon-honey:   #B08529;
  --icon-terra:   #BF734F;
  --tint-sage:    #E8F0E8;
  --tint-terra:   #F7E8E0;
  --tint-honey:   #F7F0D9;
  --slate:        #5E7482;     /* 睡眠起居（雾蓝） */
  --brown:        #A0764F;     /* 饮食调养（暖棕） */
  --tint-slate:   #E8EEF1;
  --tint-brown:   #F0E8E1;
  --text-1:       #1A1A17;
  --text-2:       #6E6B6B;

  /* 阴影：sage 系列的极弱卡片阴影 */
  --shadow-card:  0 2px 12px rgba(135, 168, 120, 0.10);
  --shadow-soft:  0 1px 8px  rgba(135, 168, 120, 0.08);
  --shadow-cta:   0 4px 14px rgba(61, 138, 89, 0.20);

  --r-xs:  4px;
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 22px;
  --r-pill: 999px;
}

/* --- 重置 --- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-1);
  background: #2C2C2A;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
ol, ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* --- 设备框架（手机外框） --- */
body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px;
}
.phone-frame {
  width: 390px;
  height: 844px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: 44px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25), 0 0 0 8px #1a1a17, 0 0 0 9px #383634;
  position: relative;
  overflow: hidden;
}
@media (max-width: 420px) {
  body { padding: 0; background: var(--bg); }
  .phone-frame { border-radius: 0; box-shadow: none; height: 100vh; }
}

/* ============================================================
   状态栏
   ============================================================ */
.status-bar {
  height: 62px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  position: relative;
  z-index: 5;
}
.status-bar__time {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-1);
}
.status-bar__icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-1);
}
.status-bar__icons svg { display: block; }

/* ============================================================
   屏幕容器（内容区内部滚动，顶栏吸顶 / 底栏常驻）
   ============================================================ */
.screens {
  position: relative;
  flex: 1;
  min-height: 0;
}
.screen {
  display: none;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.screen.is-active { display: flex; }
.screen__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: none;
}
.screen__content::-webkit-scrollbar { display: none; }
.screen--detail .screen__content {
  padding-top: 8px;
  padding-bottom: 24px;
}
.screen--me .screen__content {
  padding-bottom: 8px;
}

/* ============================================================
   首页顶部栏（吸顶）
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -10px -20px 0;
  padding: 8px 20px 12px;
  background: rgba(245, 245, 242, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.topbar__time {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.topbar__clock {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  color: var(--text-1);
}
.topbar__date {
  font-size: 11px;
  color: var(--text-2);
}
.topbar .avatar--44 { font-size: 15px; }

/* ============================================================
   通用：卡片
   ============================================================ */
.card {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.card--time { gap: 12px; }
.card--text { gap: 14px; }
.card__title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-1);
}
.card__sub {
  font-size: 11px;
  color: var(--text-2);
}
.card__body {
  font-size: 13px;
  line-height: 21px;
  color: var(--text-2);
}
.card__row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__link {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   通用：分隔线 / 标签 / 徽章
   ============================================================ */
.tag-text {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 500;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.pill--sage       { background: var(--tint-sage);  color: var(--accent); }
.pill--sage-soft  { background: var(--tint-sage);  color: var(--accent); }
.pill--terra-soft { background: var(--tint-terra); color: var(--icon-terra); }
.pill--honey-soft { background: var(--tint-honey); color: var(--icon-honey); }
.pill--slate-soft { background: var(--tint-slate); color: var(--slate); }
.pill--brown-soft { background: var(--tint-brown); color: var(--brown); }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 500;
}
.chip--sage  { background: var(--tint-sage);  color: var(--accent); }
.chip--terra { background: var(--tint-terra); color: var(--icon-terra); }
.chip--honey { background: var(--tint-honey); color: var(--icon-honey); }
.chip--slate { background: var(--tint-slate); color: var(--slate); }
.chip--brown { background: var(--tint-brown); color: var(--brown); }
.chip--warm  { background: var(--card-warm);  color: var(--text-2); }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   通用：头像
   ============================================================ */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  background: linear-gradient(135deg, #87A879 0%, var(--accent) 100%);
  flex-shrink: 0;
}
.avatar--44 { width: 44px; height: 44px; font-size: 16px; }
.avatar--56 { width: 56px; height: 56px; font-size: 20px; }

/* ============================================================
   首页
   ============================================================ */

/* 问候区 */
.greet {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.greet__title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--text-1);
  line-height: 1.2;
}
.greet__sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-2);
}

/* 时辰卡 */
.time-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.time-row__shichen {
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
}
.time-row__clock {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--text-1);
  line-height: 1;
}
.card--time .card__desc {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-2);
}

/* 节标题 */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.section-head__title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-1);
}
.section-head__sub {
  font-size: 11px;
  color: var(--text-2);
}

/* 推荐卡 */
.rec-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 12px;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  transition: transform .15s ease;
}
.rec-card:active { transform: scale(0.99); }
.rec-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rec-card__icon svg { width: 24px; height: 24px; }
.rec-card__icon--sage  { background: var(--tint-sage);  color: var(--accent); }
.rec-card__icon--terra { background: var(--tint-terra); color: var(--icon-terra); }
.rec-card__icon--honey { background: var(--tint-honey); color: var(--icon-honey); }
.rec-card__icon--slate { background: var(--tint-slate); color: var(--slate); }
.rec-card__icon--brown { background: var(--tint-brown); color: var(--brown); }

/* 推荐卡列表容器 */
.rec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 特殊时辰提示条（丑时等） */
.note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  background: var(--tint-slate);
  color: #4C5B66;
  font-size: 12px;
  line-height: 19px;
}
.note svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.rec-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rec-card__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.3;
}
.rec-card__desc {
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.4;
}

/* ============================================================
   广告位
   ============================================================ */
.ad {
  position: relative;
  height: 84px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--honey) 100%);
  padding: 0 18px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  overflow: hidden;
}
.ad--short { height: 78px; }
.ad__text { display: flex; flex-direction: column; gap: 4px; }
.ad__title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}
.ad--short .ad__title { font-size: 15px; }
.ad__sub {
  font-size: 11px;
  opacity: 0.88;
  line-height: 1.3;
}
.ad__cta {
  flex-shrink: 0;
  background: #fff;
  color: #B4703F;
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
}
.ad__tag {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255,255,255,0.25);
  border-radius: var(--r-xs);
  padding: 2px 6px;
  font-size: 9px;
  line-height: 1;
}

/* ============================================================
   详情页
   ============================================================ */
.topnav {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 12px;
}
.topnav__title {
  flex: 1;
  text-align: center;
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.iconbtn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  flex-shrink: 0;
}
.iconbtn svg { width: 20px; height: 20px; }

/* 视频 */
.video {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #B8A98C;
  box-shadow: var(--shadow-card);
}
.video__poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 35%, rgba(255, 240, 200, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(180, 200, 170, 0.45) 0%, transparent 60%),
    linear-gradient(135deg, #C9B891 0%, #8E9A77 100%);
}
/* 夜间主题（安眠引导） */
.video--night .video__poster {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(180, 200, 235, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 65%, rgba(120, 140, 180, 0.30) 0%, transparent 60%),
    linear-gradient(135deg, #3E4A5E 0%, #232B38 100%);
}
.video--night .video__play svg path { fill: #6B7F8E; }
/* 暖食主题（饮食调养） */
.video--warm .video__poster {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255, 235, 205, 0.60) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 65%, rgba(215, 175, 130, 0.45) 0%, transparent 60%),
    linear-gradient(135deg, #DDBE8E 0%, #B98F6A 100%);
}
.video--warm .video__play svg path { fill: #A0764F; }
.video__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}
.video__duration {
  position: absolute;
  bottom: 16px;
  left: 12px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(26,26,23,0.55);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 10px;
}
.video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.video__play svg { width: 24px; height: 24px; }

/* 步骤 */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tint-sage);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  margin-top: 1px;
}
.step__text {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-1);
}

/* 小贴士 */
.tip {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: var(--card-warm);
  border-radius: var(--r-lg);
  align-items: flex-start;
}
.tip__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--tint-honey);
  color: var(--icon-honey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tip__icon svg { width: 20px; height: 20px; }
.tip__col { display: flex; flex-direction: column; gap: 2px; }
.tip__title {
  font-size: 12px;
  font-weight: 500;
  color: var(--icon-honey);
}
.tip__body {
  font-size: 12px;
  line-height: 19px;
  color: var(--text-1);
}

/* 打卡提示 + CTA */
.checkin-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-2);
  margin-top: 4px;
}
.cta {
  height: 52px;
  border-radius: 26px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow-cta);
  margin-top: 4px;
}
.cta svg { width: 18px; height: 18px; }
.cta.is-done {
  background: var(--tint-sage);
  color: var(--accent);
  box-shadow: none;
}

/* ============================================================
   我的
   ============================================================ */
.me-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.me-header__id {
  display: flex;
  align-items: center;
  gap: 12px;
}
.me-header__name {
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--text-1);
  line-height: 1.2;
}
.me-header__sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-2);
}

/* 统计 */
.card--stats {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  gap: 12px;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat__num {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--text-1);
  line-height: 1;
}
.stat__label {
  font-size: 11px;
  color: var(--text-2);
  text-align: center;
}
.divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* 圆盘 */
.donut-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.donut {
  position: relative;
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}
.donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.donut__num {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--text-1);
  line-height: 1;
}
.donut__label {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-2);
}
.legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend__pct {
  margin-left: auto;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}

/* 本周打卡 */
.week {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.day {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif SC', serif;
  font-size: 13px;
  background: #EDEBE6;
  color: var(--text-2);
  font-weight: 400;
}
.day--done {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}
.day--today {
  background: var(--card);
  color: var(--accent);
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 500;
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
/* 今日已打卡：填充为完成态，保留描边提示“今天” */
.day--today.day--done {
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

/* 最近记录 */
.records {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.record {
  display: flex;
  align-items: center;
  gap: 12px;
}
.record__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.record__icon svg { width: 20px; height: 20px; }
.record__icon--sage  { background: var(--tint-sage);  color: var(--accent); }
.record__icon--terra { background: var(--tint-terra); color: var(--icon-terra); }
.record__icon--honey { background: var(--tint-honey); color: var(--icon-honey); }
.record__icon--slate { background: var(--tint-slate); color: var(--slate); }
.record__icon--brown { background: var(--tint-brown); color: var(--brown); }
.record { cursor: pointer; }
.record__col { flex: 1; min-width: 0; }
.record__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.3;
}
.record__meta {
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-2);
}

/* ============================================================
   底部 Tab Bar（胶囊式）
   ============================================================ */
.tabbar {
  padding: 12px 21px 21px;
  width: 100%;
  background: var(--bg);
}
.tabbar__pill {
  height: 62px;
  border-radius: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 4px;
  display: flex;
  gap: 4px;
  box-shadow: var(--shadow-soft);
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 26px;
  color: var(--text-2);
}
.tab svg { width: 18px; height: 18px; }
.tab__label {
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}
.tab.is-active {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   时辰轮盘
   ============================================================ */
.screen--wheel .screen__content > .section-head:first-child { margin-top: 8px; }
.card--wheel {
  padding: 12px;
  align-items: center;
}
.wheel {
  width: 100%;
  height: auto;
  display: block;
}
.wheel .sector {
  cursor: pointer;
  transition: fill .18s, stroke .18s;
}
.wheel .sector:hover { fill: #EFEEE9; }
.wheel .sector.is-current  { fill: var(--tint-sage); }
.wheel .sector.is-selected { fill: var(--tint-sage); stroke: var(--accent); stroke-width: 1.6; }
.wheel .sec-label { pointer-events: none; }
.wheel .sec-label .zh {
  font-family: 'Noto Serif SC', serif;
  font-size: 19px;
  font-weight: 600;
  fill: var(--text-2);
}
.wheel .sec-label .mer {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 8px;
  fill: var(--text-2);
  opacity: .75;
}
.wheel .sec-label.is-current .zh,
.wheel .sec-label.is-selected .zh { fill: var(--accent); }
.wheel .sec-label.is-current .mer,
.wheel .sec-label.is-selected .mer { fill: var(--accent); opacity: .9; }
.now-mark { pointer-events: none; }
.now-mark__dot { fill: var(--accent); }
.now-mark__ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  opacity: .5;
  animation: breathe 2.2s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .2; } 50% { opacity: .7; } }
.wheel-center__zh {
  font-family: 'Noto Serif SC', serif;
  font-size: 30px;
  font-weight: 600;
  fill: var(--accent);
}
.wheel-center__mer {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 11px;
  fill: var(--text-1);
}
.wheel-center__time {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  fill: var(--text-2);
}
.wheel-now {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  transition: all .18s;
}
.wheel-now:active { background: var(--accent); color: #fff; }

/* 轮盘信息卡 */
.wheel-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wheel-panel__zh {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.wheel-panel__range {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: var(--text-2);
}
.pill--now {
  background: var(--card);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.yj-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.yj {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 11.5px;
  line-height: 18px;
  color: var(--text-1);
}
.yj b {
  font-family: 'Noto Serif SC', serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}
.yj--yi { background: var(--tint-sage); }
.yj--yi b { color: var(--accent); }
.yj--ji { background: var(--tint-terra); }
.yj--ji b { color: var(--icon-terra); }

/* 首页时辰卡 → 轮盘入口 */
.card--time { cursor: pointer; }
.card--time:active { transform: scale(0.99); }
.time-row__enter {
  margin-left: auto;
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

/* ============================================================
   v2 · 个人版 15 分钟格计划
   ============================================================ */

/* 换一批按钮 */
.section-head__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
}
.section-head__more svg { width: 13px; height: 13px; }

/* 「重点」徽章（加粗拍打格） */
.badge-bold {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: var(--r-xs);
  background: var(--tint-terra);
  color: var(--icon-terra);
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  vertical-align: 1.5px;
}

/* 详情页时段上下文 */
.ctx-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ctx-range {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: var(--text-2);
}
.pill--warm { background: var(--card-warm); color: var(--text-2); }

/* 备注 / 禁忌卡 */
.warn {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: var(--tint-terra);
  border-radius: var(--r-lg);
  align-items: flex-start;
}
.warn__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--icon-terra);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.warn__icon svg { width: 20px; height: 20px; }
.warn__col { display: flex; flex-direction: column; gap: 3px; }
.warn__title {
  font-size: 12px;
  font-weight: 500;
  color: var(--icon-terra);
}
.warn__body {
  font-size: 12px;
  line-height: 19px;
  color: var(--text-1);
}

/* ---- 24 小时环 ---- */
.wheel .sector--rest { cursor: pointer; }
.wheel .sec-label .zh--rest { font-size: 13px; opacity: .55; }
.wheel .ring-hour {
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  fill: var(--text-2);
  opacity: .7;
}
.wheel .sec-label .zh {
  font-size: 15px;
}
.wheel .sec-label .mer {
  font-size: 7.5px;
}

/* ---- 拍打速查 ---- */
.tap-list {
  display: flex;
  flex-direction: column;
}
.tap-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.tap-row:last-child { border-bottom: none; }
.tap-row__block {
  flex-shrink: 0;
  width: 34px;
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  color: var(--accent);
}
.tap-row__main { flex-shrink: 0; width: 150px; display: flex; flex-direction: column; gap: 1px; }
.tap-row__main b { font-weight: 500; color: var(--text-1); line-height: 1.3; }
.tap-row__main i {
  font-style: normal;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  color: var(--text-2);
}
.tap-row__note { flex: 1; font-size: 11px; line-height: 17px; color: var(--text-2); }
.tap-rule {
  font-size: 11px;
  line-height: 18px;
  color: var(--text-2);
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--card-warm);
}
.tap-rule--warn { background: var(--tint-terra); color: #8C5B3F; }

/* 详情页实时时钟 */
.ctx-clock {
  margin-left: auto;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}
