/* Xưa preview — cùng hệ Giá Tiền v25 / Ngày Sinh v36. Tokens: sepxo-tokens.css */
:root {
  --bg: #F6F1E8;
  --bg-soft: #EFE8DC;
  --surface: #FFFCF7;
  --ink: #16140F;
  --ink-soft: #5C564C;
  --line: rgba(22, 20, 15, 0.10);
  --accent: #8E2A1B;
  --accent-ink: #FFFCF7;
  --gold: #E8D4A8;
  --chip: #16140F;
  --chip-ink: #F6F1E8;
  --shadow: 0 1px 2px hsl(30 20% 12% / 0.04), 0 8px 24px hsl(30 20% 12% / 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1420;
    --bg-soft: #151C2A;
    --surface: #121A28;
    --ink: #F3EDE3;
    --ink-soft: #C9C0B3;
    --line: rgba(243, 237, 227, 0.12);
    --accent: #E8A090;
    --accent-ink: #0E1420;
    --gold: #E8A090;
    --chip: #F3EDE3;
    --chip-ink: #0E1420;
  }
}
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-sans, "Be Vietnam Pro", system-ui, sans-serif);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, .hero h1, .cname {
  font-family: var(--font-display, "Source Serif 4", "Source Serif Pro", Georgia, serif);
  letter-spacing: -0.02em;
  font-weight: 700;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 8px 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.site-header .brand {
  font-family: var(--font-sans, "Be Vietnam Pro", system-ui, sans-serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.site-header .brand:hover { color: var(--accent); }
.site-header .product {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.license-banner {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: 12px 16px;
  margin: 0 0 24px;
  border-radius: 6px;
}
.license-banner p { margin: 0; font-size: 14px; color: var(--ink); }
.hero { margin: 0 0 24px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 700;
}
.hero h1 em { font-style: italic; font-weight: 700; color: var(--accent); }
.lede, .hero .lede { font-size: 17px; color: var(--ink-soft); max-width: 40em; }
.quicknav {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.city-tab, button[type="submit"], .qn-share, .quiz-next, .city-switch button {
  border-radius: 8px;
}
footer a[href*="sepxolabs.com"] { color: var(--accent); text-underline-offset: 3px; }
.cmp img, .quiz-photo img, .era-figure img, .layer-old img, .layer-now img {
  background: var(--bg-soft);
}

/* Keep fact labels readable: do not put ink on rust */
.fact.kept, .kept.fact, .facts .kept {
  background: #F4E4DC !important;
  color: #16140F !important;
}
.fact.kept b, .kept.fact > b, .facts .kept > b {
  color: #6F2014 !important;
}
.fact.changed, .changed.fact, .facts .changed {
  background: #EFE8DC !important;
  color: #16140F !important;
}
.fact.changed b, .changed.fact > b, .facts .changed > b {
  color: #16140F !important;
}

.fact.kept b, .kept.fact > b {
  background: #E8D4A8 !important;
  color: #16140F !important;
}
.fact.changed b, .changed.fact > b {
  background: #8E2A1B !important;
  color: #FFFCF7 !important;
}
