/* 页面级布局 */

.layout-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.layout-2col-wide {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
}

/* —— 今日首页（高级格调版） —— */
.today-premium {
  --ink: #12121a;
  --ink-soft: #3d3d50;
  --ink-muted: #9494a8;
  --line: rgba(18, 18, 26, 0.08);
  --line-strong: rgba(18, 18, 26, 0.14);
  --paper: #ffffff;
  --wash: #f6f5f8;
  --accent-wash: rgba(171, 71, 188, 0.06);
  --accent-line: rgba(171, 71, 188, 0.35);
  --paper-grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  position: relative;
}

/* 时段氛围 — 极淡，不抢戏 */
.today-premium.time-dawn { --accent-wash: rgba(255, 183, 120, 0.07); --accent-line: rgba(212, 140, 90, 0.4); }
.today-premium.time-day { --accent-wash: rgba(171, 71, 188, 0.06); }
.today-premium.time-dusk { --accent-wash: rgba(147, 100, 200, 0.08); --accent-line: rgba(126, 87, 194, 0.4); }
.today-premium.time-night { --accent-wash: rgba(90, 80, 160, 0.08); --accent-line: rgba(100, 90, 180, 0.35); }

.today-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 80px;
}

.today-watermark {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: var(--font-serif);
  font-size: clamp(120px, 14vw, 200px);
  color: var(--accent-wash);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: watermark-drift 24s ease-in-out infinite;
}

@keyframes watermark-drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.85; }
  50% { transform: translate(-6px, 8px); opacity: 1; }
}

.today-premium > *:not(.today-watermark) {
  position: relative;
  z-index: 1;
}

/* 分段入场 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: today-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.12s; }
.reveal-3 { animation-delay: 0.2s; }
.reveal-4 { animation-delay: 0.28s; }
.reveal-5 { animation-delay: 0.36s; }

@keyframes today-reveal {
  to { opacity: 1; transform: none; }
}

.section-serif {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink);
}

.section-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-line), transparent);
  flex-shrink: 0;
  animation: rule-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

@keyframes rule-grow {
  to { width: 28px; }
}

/* Hero */
.today-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.today-date-line {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.today-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.today-name {
  display: block;
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--ink) 20%, var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.today-meta {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.today-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.today-nav-link {
  border: none;
  background: none;
  padding: 0;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  cursor: pointer;
  position: relative;
  transition: color var(--ease);
}

.today-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--ease);
}

.today-nav-link:hover {
  color: var(--primary-dark);
}

.today-nav-link:hover::after {
  transform: scaleX(1);
}

.today-nav-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* 综合运势 */
.today-fortune {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
  padding: 44px 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    var(--paper-grain),
    linear-gradient(145deg, var(--accent-wash) 0%, transparent 42%),
    linear-gradient(180deg, #fff 0%, #fcfbfe 100%);
  box-shadow:
    0 12px 48px rgba(18, 18, 26, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.today-fortune::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}

.today-fortune-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.fortune-arc-wrap {
  position: relative;
  width: 180px;
  height: 180px;
}

.fortune-arc-halo {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-wash) 0%, transparent 72%);
  animation: halo-breathe 5s ease-in-out infinite;
}

@keyframes halo-breathe {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.02); }
}

.fortune-arc-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.arc-track {
  stroke: var(--line);
}

.arc-progress {
  stroke-dasharray: 465;
  transition: stroke-dashoffset 0.1s linear;
}

.fortune-score-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.fortune-score-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.fortune-score-unit {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
}

.fortune-quote {
  margin: 0;
  padding: 10px 18px;
  max-width: 220px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.1em;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: center;
  border-left: 2px solid var(--accent-line);
  background: linear-gradient(90deg, var(--accent-wash), transparent);
}

.today-fortune-body .section-serif {
  margin-bottom: 32px;
}

.lucky-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0 0 40px;
  padding: 0;
}

.lucky-item {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.lucky-item dt {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
}

.lucky-item dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 450;
}

.lucky-color-dd {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(18, 18, 26, 0.12);
}

.color-chip.stagger-in {
  opacity: 0;
  transform: scale(0.82);
  animation: chip-pop 0.45s cubic-bezier(0.34, 1.2, 0.64, 1) var(--stagger-delay, 0ms) forwards;
}

@keyframes chip-pop {
  to { opacity: 1; transform: none; }
}

.score-strip {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.score-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 100px;
}

.score-bar {
  width: 100%;
  max-width: 120px;
  height: 3px;
  margin-top: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.score-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #c084d9, var(--primary-dark));
  position: relative;
  overflow: hidden;
}

.score-bar span.bar-filled::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: bar-shine 0.75s ease 0.15s forwards;
}

@keyframes bar-shine {
  to { transform: translateX(120%); }
}

.score-name {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.score-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* 双栏面板 */
.today-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  margin-bottom: 72px;
}

.today-panel {
  position: relative;
  min-width: 0;
  padding: 28px 30px 32px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper-grain), linear-gradient(180deg, #fff 0%, #faf9fc 100%);
  box-shadow:
    0 8px 32px rgba(18, 18, 26, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.today-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, rgba(171, 71, 188, 0.45), rgba(171, 71, 188, 0.08) 70%, transparent);
}

.today-panel:hover {
  box-shadow: 0 16px 44px rgba(18, 18, 26, 0.06);
  transform: translateY(-2px);
}

.today-panel.is-loaded .panel-body {
  animation: panel-body-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes panel-body-in {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-head-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.panel-index {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: rgba(171, 71, 188, 0.35);
  letter-spacing: 0.08em;
  line-height: 1;
}

.panel-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.panel-more {
  flex-shrink: 0;
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity var(--ease);
}

.panel-more:hover { opacity: 0.7; }

.panel-more.block {
  display: inline-block;
  margin-top: 20px;
}

.panel-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 宜忌 — 杂志排版，无彩色标签 */
.guide-editorial {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.guide-editorial.compact { gap: 22px; }

.guide-passage-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.guide-passage-label {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
}

.guide-seal {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.55;
}

.guide-seal.yi { color: var(--yi); }
.guide-seal.ji { color: var(--ji); }

.guide-passage-list {
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.guide-passage-list li {
  position: relative;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.guide-passage-list li:last-child { margin-bottom: 0; }

.guide-passage-list li::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 0.75em;
  width: 16px;
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
}

.guide-passage-list li.stagger-in::before {
  animation: line-grow 0.45s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--stagger-delay, 0ms) + 100ms) forwards;
}

@keyframes line-grow {
  to { transform: scaleX(1); }
}

.guide-passage-empty,
.almanac-flow {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.almanac-flow .flow-sep {
  margin: 0 10px;
  color: var(--ink-muted);
  opacity: 0.45;
}

.guide-featured {
  margin: 32px 0 0;
  padding: 24px 0 0;
  border: none;
  border-top: 1px solid var(--line);
  background: none;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.guide-notes {
  margin: 28px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.guide-notes li {
  position: relative;
  padding: 0 0 0 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.guide-notes li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--ink-muted);
}

.guide-notes li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.almanac-block {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.almanac-solar {
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.today-panel.is-loaded .almanac-solar {
  animation: almanac-date-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.almanac-lunar {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.almanac-ganzhi {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.fortune-mood {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* 骨架屏 */
.skeleton-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary-light) 25%, rgba(255,255,255,0.8) 50%, var(--primary-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-line:nth-child(2) { width: 88%; }
.skeleton-line:nth-child(3) { width: 72%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 探索 — 名录式 */
.today-explore {
  padding-top: 16px;
}

.explore-header {
  margin-bottom: 36px;
}

.explore-lead {
  margin: 12px 0 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.explore-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.explore-entry {
  display: grid;
  grid-template-columns: 48px 40px 1fr 32px;
  gap: 16px;
  align-items: center;
  padding: 28px 8px 28px 12px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), padding-left var(--ease);
}

.explore-entry:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.explore-entry:nth-child(even) {
  padding-left: 32px;
}

.explore-entry:hover {
  background: rgba(255, 255, 255, 0.75);
  padding-left: 16px;
}

.explore-entry.accent-violet:hover { border-left-color: #ab47bc; }
.explore-entry.accent-mist:hover { border-left-color: #7c8fd4; }
.explore-entry.accent-gold:hover { border-left-color: #d4a84b; }
.explore-entry.accent-jade:hover { border-left-color: #4f8f6f; }
.explore-entry.accent-dusk:hover { border-left-color: #7e57c2; }

.explore-entry:hover .explore-glyph {
  background: var(--primary-light);
  border-color: var(--border-strong);
  color: var(--primary-dark);
}

.explore-entry:hover .explore-go {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.explore-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.explore-glyph {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink-soft);
}

.explore-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.explore-copy strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.explore-copy small {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.explore-go {
  font-size: 18px;
  color: var(--ink-muted);
  transition: transform var(--ease), color var(--ease);
}

/* 数据加载后错落入场（初始隐藏由 JS 设置，避免缓存半更新导致内容不可见） */
.stagger-item.stagger-in,
.stagger-block.stagger-in {
  animation: stagger-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger-delay, 0ms) forwards;
}

.fade-target.fade-in {
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger-delay, 0ms) forwards;
}

@keyframes stagger-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.fortune-quote.fade-in {
  border-left-color: transparent;
  animation: quote-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger-delay, 0ms) forwards;
}

@keyframes quote-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
    border-left-color: transparent;
  }
  to {
    opacity: 1;
    transform: none;
    border-left-color: var(--accent-line);
  }
}

@keyframes almanac-date-in {
  from { opacity: 0; letter-spacing: 0.2em; }
  to { opacity: 1; letter-spacing: 0.08em; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .today-watermark,
  .section-rule,
  .stagger-item,
  .stagger-block,
  .fade-target,
  .score-bar span.bar-filled::after,
  .today-panel.is-loaded .panel-body,
  .today-panel.is-loaded .almanac-solar {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .guide-passage-list li::before {
    transform: none;
  }

  .section-rule { width: 28px; }
}

/* 旧探索卡片（其他页可能复用） */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.discover-tile {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-solid);
}

/* 运势页摘要条 */
.fortune-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  margin-bottom: 28px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
}

.fortune-summary-copy .fortune-mood { margin-bottom: 8px; }

.fortune-ring {
  --score: 0;
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--primary) 0deg,
    var(--primary-dark) calc(var(--score) * 3.6deg),
    rgba(171, 71, 188, 0.1) calc(var(--score) * 3.6deg),
    rgba(171, 71, 188, 0.1) 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fortune-ring.md { width: 96px; height: 96px; }

.fortune-ring::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #fff;
}

.fortune-ring.md::before { inset: 10px; }

.fortune-ring span {
  position: relative;
  z-index: 1;
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
}

.fortune-ring.md span { font-size: 28px; }

/* 数据展示（业务页复用） */
.layout-3col-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-cell {
  padding: 20px 22px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stat-cell .label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-cell .value {
  font-size: 30px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stat-cell .value.sm { font-size: 22px; }

.stat-cell.highlight .value { color: var(--primary-dark); }

.data-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.data-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.65;
}

.data-list li:last-child { border-bottom: none; }

.data-kv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.data-kv dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.data-kv dd {
  margin: 0;
  font-size: 15px;
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.score-bar-row {
  display: grid;
  grid-template-columns: 56px 1fr 40px;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.score-bar-track {
  height: 8px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-full);
  transition: width 0.6s var(--ease);
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.month-cell {
  padding: 10px 4px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--ease);
}

.month-cell:hover {
  border-color: var(--border-strong);
  background: var(--primary-light);
}

.month-cell.is-today {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 500;
}

.month-cell strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.month-cell span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-list .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.table-list .row:last-child { border-bottom: none; }

.table-list .row.is-active {
  margin: 0 -12px;
  padding: 14px 12px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.bazi-display {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.22em;
  font-family: var(--font-serif);
}

.analysis-pre {
  margin: 0;
  padding: 18px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.lot-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.lot-block .level {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.lot-block .poem {
  margin: 12px 0;
  padding: 18px;
  background: var(--bg-warm);
  border-left: 3px solid var(--primary-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

@media (max-width: 1000px) {
  .today-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .today-nav { flex-wrap: wrap; }

  .today-fortune {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .lucky-strip {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .lucky-item { padding-left: 16px; }

  .score-strip {
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
  }

  .today-columns,
  .layout-2col,
  .layout-2col-wide,
  .layout-3col-stats,
  .discover-grid {
    grid-template-columns: 1fr;
  }

  .explore-list { grid-template-columns: 1fr; }

  .explore-entry:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .explore-entry:nth-child(even) { padding-left: 0; }

  .fortune-summary {
    flex-direction: column;
    text-align: center;
  }
}
