/* Astrology Tarot AI — Light theme, derived from compare.html v5 */

:root {
  color-scheme: light only;
  --ink: #23253F;
  --ink-soft: #5B5F7A;
  --bg: #FAF6EE;
  --bg-2: #F2ECDF;
  --surface: #FFFFFF;
  --surface-warm: #FBF7EF;
  --primary: #4F548C;
  --primary-soft: #8085B8;
  --gold: #C9A24B;
  --gold-soft: #E3C988;
  --gold-deep: #9A7727;
  --violet: #6E5DA8;
  --night: #10142E;
  --night-2: #1A1F3D;
  --line: rgba(35, 37, 63, .12);
  --line-strong: rgba(35, 37, 63, .20);
  --line-gold: rgba(201, 162, 75, .45);
  --line-night: rgba(201, 162, 75, .22);
  --card-shadow: 0 1px 2px rgba(35, 37, 63, .05), 0 18px 44px -26px rgba(35, 37, 63, .28);
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 9999px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Fraunces', Georgia, serif;
  --cjk: 'Noto Serif SC', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html, body { width: 100%; min-height: 100vh }
html { background: var(--bg) }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1300px 760px at 80% -6%, rgba(110, 93, 168, .12), transparent),
    radial-gradient(900px 600px at 4% 2%, rgba(79, 84, 140, .08), transparent),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary); text-decoration: none }
a:hover { text-decoration: underline }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px }

.nav {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 32px; background: rgba(251, 247, 239, .92);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 22px; font-weight: 600;
}
.brand-full { display: inline-flex; align-items: baseline; gap: 6px }
.brand-short { display: none }
.brand .zh { font-family: var(--cjk); font-size: 13px; color: var(--gold-deep); letter-spacing: .16em; font-weight: 500 }
.brand svg { color: var(--gold-deep) }
.nav-links { display: flex; gap: 22px; margin-left: 8px }
.nav-links a {
  color: var(--ink-soft); font-size: 14px; text-decoration: none;
  padding: 6px 4px; position: relative; transition: color .15s;
  cursor: pointer;
}
.nav-links a:hover { color: var(--ink); text-decoration: none }
.nav-links a:hover::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: 0;
  height: 2px; background: var(--gold-deep); border-radius: 2px;
}
.nav-links a.active { color: var(--ink); font-weight: 600 }
.nav-links a.active::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: 0;
  height: 2px; background: var(--gold-deep); border-radius: 2px;
}
/* Dropdown — for grouped nav items */
.nav-dropdown { position: relative }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; color: var(--ink-soft) }
.nav-dropdown:hover > .nav-dropdown-menu { display: block }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 10px 30px -8px rgba(35,37,63,.20); padding: 8px 0; z-index: 100;
}
.nav-dropdown-menu a {
  display: block; padding: 10px 18px; font-size: 13px; color: var(--ink-soft);
  text-decoration: none; transition: background .12s;
}
.nav-dropdown-menu a:hover { background: var(--surface-warm); color: var(--ink) }
.nav-right { margin-left: auto; display: flex; gap: 12px; align-items: center }
.language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}
.language-switch select {
  min-height: 34px;
  padding: 6px 26px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.62);
  color: var(--ink);
  font: 500 12.5px var(--font);
  cursor: pointer;
}
@media (max-width: 720px) {
  .nav {
    gap: 12px;
    padding: 12px 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none }
  .brand { flex: 0 0 auto; font-size: 19px }
  .brand-full { display: none }
  .brand-short { display: inline }
  .brand .zh { display: none }
  .nav-links {
    flex: 0 0 auto;
    gap: 14px;
    margin-left: 0;
  }
  .nav-links a {
    white-space: nowrap;
    font-size: 13px;
  }
  .nav-right {
    flex: 0 0 auto;
    gap: 8px;
    margin-left: 0;
  }
  .language-switch select {
    max-width: 88px;
    padding-right: 18px;
  }
  .nav-right .btn {
    white-space: nowrap;
    padding: 6px 10px;
  }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: var(--font); font-size: 14px; font-weight: 500; cursor: pointer;
  background: var(--surface); color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(35,37,63,.15); text-decoration: none; filter: brightness(1.04) }
.btn:active { transform: translateY(0); filter: brightness(0.96) }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; filter: none }
.btn.disabled, .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; cursor: not-allowed; transform: none; filter: none }
.btn-gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: #231905; border-color: var(--gold-deep) }
.btn-gold:hover { color: #231905 }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink) }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary) }
.btn-primary:hover { color: #fff }
.btn-sm { min-height: 34px; padding: 7px 12px; font-size: 12.5px }
.btn-lg { padding: 14px 28px; font-size: 16px }
.paywall-alt-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px }
.field-help {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.hero {
  padding: 56px 32px 58px;
  background:
    radial-gradient(800px 400px at 80% 50%, rgba(110, 93, 168, .15), transparent),
    radial-gradient(600px 300px at 20% 30%, rgba(201, 162, 75, .10), transparent);
  text-align: center;
}
.hero h1 {
  font-family: var(--display); font-weight: 500; font-size: 56px;
  line-height: 1.08; letter-spacing: -.015em; margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--gold-deep) }
.hero p { font-size: 18px; color: var(--ink-soft); max-width: 580px; margin: 0 auto 22px; line-height: 1.6 }
.hero .cta { display: flex; gap: 14px; justify-content: center; margin-bottom: 0 }
.hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.hero-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(244, 199, 107, .42);
  background: rgba(244, 199, 107, .1);
  color: var(--gold-soft);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}
.hero-link-chip::after {
  content: '→';
  font-size: 14px;
  opacity: .85;
  transition: transform .15s ease;
}
.hero-link-chip:hover {
  color: #fff;
  border-color: rgba(244, 199, 107, .72);
  background: rgba(244, 199, 107, .18);
  text-decoration: none;
  transform: translateY(-1px);
}
.hero-link-chip:hover::after {
  transform: translateX(2px);
}
.hero-link-chip-muted {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .78);
}
.hero-link-chip-muted:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
}
.btn-ghost-gold {
  border-color: var(--line-gold);
  color: var(--gold);
}
.btn-ghost-gold:hover {
  color: var(--gold-soft);
  border-color: rgba(244, 199, 107, .65);
  background: rgba(244, 199, 107, .08);
}
.home-final-compare {
  margin: 0 auto 20px;
  max-width: 34em;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: .88;
}
.home-final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.hero .hero-note {
  max-width: none;
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
  opacity: .76;
}
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
  display: inline-block;
}

.section { padding: 60px 32px }
.section h2 { font-family: var(--display); font-weight: 500; font-size: 36px; text-align: center; margin-bottom: 8px; line-height: 1.2 }
.section h2 em { font-style: italic; color: var(--gold-deep) }
.section .sub { text-align: center; color: var(--ink-soft); font-size: 14px; margin-bottom: 36px }
.onboarding-section {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 56px;
}
.onboarding-section .wrap-narrow { width: min(100%, 760px) }
.onboarding-section .text-center.mb-4 { margin-bottom: 18px }
.onboarding-section .sub { margin-bottom: 28px }

.grid { display: grid; gap: 22px; min-width: 0 }
.grid > * { min-width: 0 }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) }
@media (max-width: 960px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--card-shadow); text-align: left; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease }
.card,
.card * {
  min-width: 0;
}
.card h3 { font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 8px }
.card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6 }
.card-gold { border-color: var(--line-gold); background: linear-gradient(180deg, var(--surface) 0%, var(--surface-warm) 100%) }
.chart-fact-card {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.chart-fact-card [style*="grid-template-columns:repeat(3,1fr)"] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.chart-fact-card [style*="grid-template-columns:repeat(4,1fr)"] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.chart-fact-card [style*="grid-template-columns:repeat(2,1fr)"] {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.fact-sub {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.energy-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.energy-hero > div {
  min-height: 108px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(154, 119, 39, .18);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,247,226,.56));
}
.energy-hero span,
.energy-bars span {
  font-size: 11px;
  color: var(--ink-soft);
}
.energy-hero strong {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.2;
  color: var(--gold-deep);
}
.energy-hero em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.energy-bars {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}
.energy-bars > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
}
.energy-bars b {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: rgba(35, 37, 63, .08);
}
.energy-bars b::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-soft), var(--primary-soft));
}
.energy-bars em {
  font-style: normal;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: right;
}
.energy-note {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-style: italic;
}
.method-evidence {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.method-evidence summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
}
.migration-panel {
  padding: 34px;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--surface-warm));
  box-shadow: var(--card-shadow);
  text-align: center;
}
.migration-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}
.kcol a,
.kcol .kpending {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 600px) {
  .energy-hero,
  .energy-bars > div {
    grid-template-columns: 1fr;
  }
  .energy-bars em {
    text-align: left;
  }
}
/* Clickable cards lift on hover */
a.card, .card.clickable { cursor: pointer; text-decoration: none; color: inherit; display: block }
a.card:hover, .card.clickable:hover, .card-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(35,37,63,.08), 0 28px 60px -28px rgba(35,37,63,.36);
  border-color: var(--gold-deep);
}
a.card:hover { text-decoration: none }

.form { max-width: 520px; margin: 0 auto; display: grid; gap: 16px }
.field { display: grid; gap: 6px }
.field label { font-size: 13px; color: var(--ink); font-weight: 500 }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 14px;
  padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s;
  width: 100%; cursor: text;
}
.field input[type="date"], .field input[type="time"] {
  cursor: pointer; min-height: 48px;
}
.field input[type="date"]::-webkit-calendar-picker-indicator,
.field input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer; padding: 8px; opacity: 0.7;
}
.field input:hover, .field select:hover { border-color: var(--gold-deep) }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 84, 140, .12);
}
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr } }
.check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}
.check-row input { width: auto; min-height: auto; cursor: pointer }
.precision-note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--line-gold);
  border-radius: var(--r-md);
  background: rgba(201,162,75,.08);
  color: var(--gold-deep);
  font-size: 12px;
  line-height: 1.65;
}

.speakable {
  position: relative; padding: 14px 16px 14px 42px;
  background: linear-gradient(180deg, #FFF7E2, #FFEEC4);
  border: 1px solid var(--line-gold); border-radius: var(--r-md);
  font-size: 14px; line-height: 1.6; color: var(--ink); margin: 14px 0;
}
.speakable::before { content: '🔊'; position: absolute; left: 14px; top: 14px; font-size: 16px }
.speakable .lab { display: block; font-family: var(--display); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 4px }

.data-source { margin-top: 14px; padding: 12px 16px; background: rgba(35, 37, 63, .03); border: 1px dashed var(--line); border-radius: var(--r-md); font-size: 12px; color: var(--ink-soft); line-height: 1.7 }
.data-source strong { font-family: var(--display); color: var(--ink); font-weight: 600 }

.premium-report { display: grid; gap: 22px }
.chart-value-summary:empty { display: none }
.chart-value-summary {
  margin-top: 26px;
}
.birth-simple-page {
  max-width: 920px;
}
.birth-simple-head {
  margin-bottom: 24px;
}
.birth-simple-head .sub {
  max-width: 620px;
}
.birth-simple-report {
  max-width: 760px;
  margin: 0 auto;
}
.simple-report {
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 34px 40px;
  box-shadow: 0 18px 48px -34px rgba(35,37,63,.34);
}
.simple-report-cover {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.simple-kicker {
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: .18em;
  font-weight: 700;
  margin-bottom: 8px;
}
.simple-report h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.22;
  margin-bottom: 12px;
}
.simple-quote {
  margin: 12px 0 12px;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--gold);
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.55;
}
.simple-model-note {
  margin: -4px 0 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.simple-generation-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  margin: 10px 0 14px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.72);
}
.simple-generation-info > b {
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: .08em;
  white-space: nowrap;
}
.simple-generation-info > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.simple-generation-info span {
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.simple-generation-info em {
  display: inline;
  margin-right: 4px;
  margin-bottom: 0;
  font-style: normal;
  color: var(--ink-soft);
}
.simple-report-warning,
.simple-report-block-error {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid rgba(180,132,42,.26);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  background: rgba(255,248,232,.72);
  color: var(--ink);
}
.simple-report-warning b,
.simple-report-block-error b {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--ink);
}
.simple-report-warning span,
.simple-report-block-error span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}
.simple-report-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 10px 0 14px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.simple-report-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink);
  font-size: 12px;
  text-decoration: none;
  background: rgba(255,255,255,.72);
}
.birth-data-check {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid rgba(35,37,63,.12);
  border-left: 3px solid rgba(201,162,75,.72);
  border-radius: 8px;
  background: rgba(255,255,255,.62);
}
.birth-data-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.birth-data-title b {
  color: var(--gold-deep);
  font-size: 12px;
}
.birth-data-title span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}
.birth-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.birth-data-grid div,
.birth-axis-strip span {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.birth-data-grid em,
.birth-axis-strip b {
  color: var(--ink-soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}
.birth-data-grid strong,
.birth-axis-strip span {
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.birth-axis-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(35,37,63,.14);
}
.simple-overview {
  padding-top: 20px;
}
.overview-theme {
  padding: 13px 18px 14px 16px;
  border-left: 3px solid var(--gold);
  border-top: 1px solid rgba(154,119,39,.14);
  border-bottom: 1px solid rgba(154,119,39,.14);
  background: linear-gradient(90deg, rgba(251,247,237,.82), rgba(255,255,255,0));
}
.overview-theme b,
.overview-grid b,
.checklist-grid b,
.final-command-grid b {
  display: block;
  color: var(--gold-deep);
  font-size: 12px;
  margin-bottom: 6px;
}
.overview-theme-text {
  display: block;
  margin: 0;
  max-width: 920px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0;
}
.energy-cue {
  display: grid;
  gap: 4px;
  margin: 16px 0 0;
  padding: 0 0 0 14px;
  border-left: 2px solid rgba(79,84,140,.34);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75;
}
.energy-cue b {
  color: var(--gold-deep);
  font-size: 12px;
}
.energy-cue-subtitle {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
  opacity: .76;
}
.energy-rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  border: 0;
}
.energy-rank-card {
  position: relative;
  min-width: 0;
  min-height: calc(58px + var(--energy-share) * .42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 12px 64px 12px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(248,246,241,.84));
  color: var(--energy-tone, var(--gold-deep));
}
.energy-rank-list > .energy-rank-card {
  display: grid;
}
.energy-rank-card:first-child {
  border-color: rgba(154,119,39,.42);
  background: linear-gradient(135deg, rgba(255,251,241,.96), rgba(247,242,230,.88));
}
.energy-rank-no {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--energy-tone, var(--gold-deep)) !important;
  background: rgba(255,255,255,.64);
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1;
}
.energy-rank-name {
  display: block;
  text-align: center;
  color: var(--ink) !important;
  font-size: 18px !important;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}
.energy-rank-sub {
  display: block;
  margin-top: 5px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.energy-rank-copy {
  display: block;
  min-width: 0;
}
.energy-rank-meter {
  display: block;
  width: 100%;
  min-width: 0;
  height: calc(6px + var(--energy-share) * .08px);
  min-height: 7px;
  max-height: 14px;
  border-radius: 999px;
  background: rgba(35,37,63,.08);
  overflow: hidden;
}
.energy-rank-meter i {
  display: block;
  width: calc(var(--energy-share) * 1%);
  min-width: 18%;
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
  opacity: .88;
}
.energy-rank-tag {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  align-self: center;
  justify-self: end;
  min-width: 42px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--energy-tone, var(--gold-deep)) !important;
  background: rgba(255,255,255,.64);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  font-style: normal;
  white-space: nowrap;
}
.energy-tone-earth { --energy-tone: #9b8150; }
.energy-tone-fire { --energy-tone: #c45f42; }
.energy-tone-air { --energy-tone: #668aa6; }
.energy-tone-water { --energy-tone: #5d9288; }
.overview-grid,
.checklist-grid,
.final-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.overview-grid article,
.checklist-grid article,
.final-command-grid article {
  min-width: 0;
  padding: 4px 0 4px 12px;
  border-left: 2px solid rgba(154,119,39,.22);
  background: transparent;
}
.overview-grid span,
.checklist-grid span,
.final-command-grid span {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.simple-report h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.simple-report p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
}
.simple-report ul {
  margin: 10px 0 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}
.simple-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.simple-tags span {
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--gold-deep);
  background: var(--surface-warm);
}
.simple-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.simple-section:last-of-type {
  border-bottom: 0;
}
.simple-section-lead {
  max-width: 760px;
  color: var(--ink-soft) !important;
  font-size: 13.5px !important;
  line-height: 1.9 !important;
  margin-top: -2px;
}
.simple-evidence {
  color: var(--ink-soft) !important;
  font-size: 13.5px !important;
}
.simple-result-list,
.simple-term-list,
.simple-guidance-list {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}
.simple-result-list > div,
.simple-term-list > div,
.simple-guidance-list > section {
  padding-top: 12px;
  border-top: 1px solid rgba(35,37,63,.08);
}
.simple-result-list b,
.simple-term-list b {
  display: block;
  color: var(--gold-deep);
  font-size: 12px;
  margin-bottom: 4px;
}
.simple-result-list em {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-style: normal;
}
.simple-result-list strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 3px;
}
.simple-result-list span,
.simple-term-list span {
  display: block;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
}
.simple-core-evidence {
  margin-top: 16px;
  border-top: 1px solid rgba(35,37,63,.08);
  padding-top: 12px;
}
.simple-core-evidence summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 800;
}
.simple-core-evidence p {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
}
.simple-core-evidence b {
  color: var(--gold-deep);
  font-size: 12px;
}
.simple-eastern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.simple-eastern-card {
  border-top: 1px solid rgba(35,37,63,.08);
  padding-top: 12px;
  min-width: 0;
}
.simple-eastern-card b {
  display: block;
  color: var(--gold-deep);
  font-size: 12px;
  margin-bottom: 5px;
}
.simple-eastern-card strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}
.simple-eastern-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}
.simple-guidance-list h5 {
  font-family: var(--display);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
}
.simple-guidance-list p b {
  color: var(--ink);
}
.domain-golden-line {
  margin: 8px 0 10px;
  padding: 8px 0 8px 14px;
  border-left: 3px solid rgba(154,119,39,.46);
  color: var(--ink) !important;
  font-family: var(--display);
  font-size: 16px !important;
  line-height: 1.7 !important;
}
.domain-golden-line span {
  display: inline-flex;
  margin-right: 8px;
  color: var(--gold-deep);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.simple-guidance-list p + p {
  margin-top: 4px;
}
.guidance-takeaway {
  margin-top: 7px;
  padding: 0 0 0 10px;
  border-left: 2px solid rgba(154,119,39,.32);
  color: var(--ink) !important;
  font-size: 13.5px !important;
  line-height: 1.72 !important;
}
.guidance-takeaway b {
  color: var(--gold-deep) !important;
}
.guidance-structure {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}
.guidance-structure > div {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 4px 0 4px 12px;
  border-left: 2px solid rgba(35,37,63,.10);
  background: transparent;
}
.guidance-structure > div:last-child {
  border-left-color: rgba(154,119,39,.45);
  padding: 8px 0 8px 14px;
  background: transparent;
}
.guidance-structure b {
  color: var(--gold-deep);
  font-size: 11.5px;
}
.guidance-structure span {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}
.guidance-signal .signal-badge,
.fusion-year-grid .signal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}
.guidance-signal-opportunity {
  border-left-color: rgba(34,126,82,.45) !important;
  background: transparent !important;
}
.guidance-signal-opportunity .signal-badge,
.signal-badge-opportunity {
  color: #1D6E49;
  background: transparent;
  border: 1px solid rgba(34,126,82,.24);
}
.guidance-signal-risk {
  border-left-color: rgba(177,63,44,.50) !important;
  background: transparent !important;
}
.guidance-signal-risk .signal-badge,
.signal-badge-risk {
  color: #A73419;
  background: transparent;
  border: 1px solid rgba(177,63,44,.24);
}
.guidance-command {
  grid-column: 1 / -1;
  border: 0 !important;
  border-left: 3px solid rgba(154,119,39,.62) !important;
  background: transparent !important;
}
.guidance-command b::before {
  content: '执行指令';
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(154,119,39,.24);
  color: var(--gold-deep);
  font-size: 11px;
}
.guidance-command b {
  font-size: 0;
}
.context-follow {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(79,84,140,.18);
  border-radius: var(--r-sm);
  background: rgba(79,84,140,.06);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
}
.context-follow:hover {
  border-color: var(--primary);
  background: rgba(79,84,140,.10);
  text-decoration: none;
}
.simple-fusion {
  margin: 0 -16px;
  padding: 28px 16px;
  background: transparent;
}
.fusion-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}
.fusion-score {
  min-width: 108px;
  padding: 10px 12px;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: center;
}
.fusion-score b {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  color: var(--gold-deep);
  line-height: 1.2;
}
.fusion-score span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 12px;
}
.fusion-theme {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(35,37,63,.08);
}
.fusion-theme b,
.fusion-signal b,
.fusion-feedback b {
  display: block;
  color: var(--gold-deep);
  font-size: 12px;
  margin-bottom: 5px;
}
.fusion-theme strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 5px;
}
.fusion-theme span,
.fusion-signal span,
.fusion-signal em,
.fusion-feedback span,
.fusion-feedback small {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
  font-style: normal;
}
.fusion-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.fusion-list {
  min-width: 0;
  border-top: 1px solid rgba(35,37,63,.08);
  padding-top: 12px;
}
.fusion-list b {
  display: block;
  color: var(--ink);
  font-size: 13px;
}
.fusion-list ul {
  margin-left: 16px;
}
.fusion-list li {
  margin-top: 5px;
}
.fusion-signal,
.fusion-feedback {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(35,37,63,.08);
}
.fusion-feedback > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.fusion-feedback small {
  min-height: 20px;
  margin-top: 8px;
}
.fusion-year {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(35,37,63,.08);
}
.fusion-year > b {
  display: block;
  color: var(--gold-deep);
  font-size: 12px;
  margin-bottom: 5px;
}
.fusion-year > p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}
.fusion-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.fusion-rhythm-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}
.fusion-rhythm-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 18px;
}
.fusion-rhythm-legend i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: inline-block;
}
.fusion-rhythm-legend .legend-opportunity { background: #5f9f79 }
.fusion-rhythm-legend .legend-steady { background: #b9954d }
.fusion-rhythm-legend .legend-defense { background: #b86865 }
.fusion-rhythm-strip {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  gap: 0;
  align-items: end;
  margin: 14px 0 16px;
  padding: 18px 0 14px;
  border-top: 1px solid rgba(35,37,63,.08);
  border-bottom: 1px solid rgba(35,37,63,.08);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(154,119,39,.38) transparent;
}
.fusion-turning-points {
  display: grid;
  gap: 9px;
  margin: 10px 0 14px;
  padding: 10px 0 0;
  border-top: 1px solid rgba(35,37,63,.08);
}
.fusion-turning-points > b {
  color: var(--gold-deep);
  font-size: 12px;
}
.fusion-turning-points > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.fusion-turning-points article {
  min-width: 0;
  padding: 4px 0 4px 10px;
  border-left: 2px solid rgba(154,119,39,.24);
}
.fusion-turning-points em {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.fusion-turning-points strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
.fusion-turning-points span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}
.fusion-rhythm-strip::-webkit-scrollbar {
  height: 6px;
}
.fusion-rhythm-strip::-webkit-scrollbar-track {
  background: transparent;
}
.fusion-rhythm-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(154,119,39,.34);
}
.rhythm-point {
  min-width: 0;
  flex: 0 0 max(92px, calc(100% / 12));
  display: grid;
  grid-template-rows: 24px 118px 22px 34px 34px;
  gap: 5px;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  border-left: 1px solid rgba(35,37,63,.08);
  scroll-snap-align: start;
}
.rhythm-point:first-child {
  border-left: 0;
}
.rhythm-tag {
  justify-self: center;
  align-self: start;
  min-width: 54px;
  max-width: 100%;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: rgba(255,255,255,.42);
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rhythm-tag-empty {
  visibility: hidden;
}
.rhythm-point i {
  align-self: end;
  justify-self: center;
  width: clamp(28px, 58%, 48px);
  height: var(--bar-h);
  min-height: 42px;
  max-height: 112px;
  display: block;
  border-radius: 16px 16px 6px 6px;
  border: 1px solid rgba(35,37,63,.08);
  background: rgba(35,37,63,.10);
  box-shadow: inset 0 -34px 0 rgba(35,37,63,.16);
}
.rhythm-high .rhythm-tag {
  color: #4b8868;
  background: #dfeee6;
}
.rhythm-low .rhythm-tag {
  color: #a45753;
  background: #f1dddd;
}
.rhythm-high i {
  background: #dfeee6;
  box-shadow: inset 0 -48px 0 rgba(95,159,121,.86);
}
.rhythm-mid i {
  background: #f1e6cf;
  box-shadow: inset 0 -42px 0 rgba(185,149,77,.82);
}
.rhythm-low i {
  background: #f1dddd;
  box-shadow: inset 0 -46px 0 rgba(184,104,101,.82);
}
.rhythm-point b,
.rhythm-point span,
.rhythm-point em {
  word-break: keep-all;
  overflow-wrap: normal;
  font-style: normal;
  line-height: 1.3;
}
.rhythm-point b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.rhythm-point span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}
.rhythm-point em {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 700;
}
.fusion-highlight-grid section {
  min-width: 0;
  padding: 4px 0 4px 12px;
  border-left: 2px solid rgba(154,119,39,.20);
  background: transparent;
}
.fusion-highlight-grid h5 {
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 8px;
}
.fusion-highlight-grid article + article {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(35,37,63,.08);
}
.fusion-highlight-grid strong,
.fusion-highlight-grid span,
.fusion-highlight-grid em {
  display: block;
  overflow-wrap: anywhere;
}
.fusion-highlight-grid strong {
  color: var(--gold-deep);
  font-size: 13px;
}
.fusion-highlight-grid span {
  margin-top: 3px;
  color: var(--ink);
  font-size: 12.5px;
}
.fusion-highlight-grid em {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
  font-style: normal;
}
.fusion-steady-months p {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.65;
}
.fusion-month-details {
  margin-top: 14px;
}
.fusion-month-details summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 13px;
}
.fusion-year-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.fusion-year-grid article {
  min-width: 0;
  padding: 12px 0 12px 12px;
  border-left: 2px solid rgba(35,37,63,.12);
  background: transparent;
}
.month-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.month-card-head strong {
  color: var(--ink);
  font-size: 13px;
}
.month-card-head span {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(79,84,140,.18);
  color: var(--primary);
  font-size: 11px;
}
.month-meter {
  width: min(148px, 48%);
  min-width: 116px;
  display: grid;
  gap: 3px;
}
.fusion-score .month-meter {
  width: 100%;
  min-width: 0;
  margin: 7px 0 4px;
}
.month-meter span {
  justify-self: end;
  padding: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
}
.month-meter b {
  height: 7px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(35,37,63,.10);
}
.month-meter i {
  height: 100%;
  display: block;
  border-radius: inherit;
}
.month-meter-high i { background: #2F9A61 }
.month-meter-mid i { background: #C99A2D }
.month-meter-low i { background: #B13F2C }
.fusion-year-grid dl {
  display: grid;
  gap: 9px;
  margin: 0;
}
.fusion-year-grid dl > div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
}
.fusion-year-grid dt,
.fusion-year-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.5;
}
.fusion-year-grid dt {
  color: var(--gold-deep);
  font-weight: 700;
}
.fusion-year-grid dd {
  color: var(--ink-soft);
}
.simple-follow-link {
  display: inline-block;
  margin-top: 14px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  background: transparent;
  border: 1px solid rgba(154,119,39,.22);
}
.simple-follow-link:hover { text-decoration: none; background: rgba(154,119,39,.06) }
.final-command-grid {
  grid-template-columns: 1fr;
}
.final-command-grid article {
  display: grid;
  grid-template-columns: 26px minmax(0, 92px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-left-color: rgba(154,119,39,.36);
  background: transparent;
}
.final-command-grid article::before {
  content: attr(data-step);
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(154,119,39,.24);
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
}
.simple-east-detail summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 13px;
}
.guidance-footnote {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(35,37,63,.16);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
  font-style: normal;
}
.simple-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0 14px;
}
.simple-unlock-note {
  flex: 1 0 100%;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: var(--ink-soft) !important;
  margin-bottom: 2px;
}
.simple-method {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.simple-method summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 13px;
}
.simple-method p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.simple-report-disclaimer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.report-head {
  padding: 4px 0 2px;
  border-bottom: 1px solid var(--line);
}
.report-head h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 12px;
}
.report-head p { font-size: 15px; line-height: 1.85; color: var(--ink); max-width: 820px }
.value-board {
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #FFF9EA, #FFF3D7);
  padding: 18px;
}
.value-board-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  box-shadow: 0 24px 52px -34px rgba(154,119,39,.45);
}
.value-intro {
  max-width: 820px;
  margin-bottom: 0;
}
.value-intro h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 8px;
}
.value-intro p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
}
.value-keywords { display: flex; flex-wrap: wrap; gap: 8px }
.value-keywords span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(154, 119, 39, .10);
  border: 1px solid rgba(154, 119, 39, .24);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 600;
}
.member-value-strip {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(154,119,39,.18);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.48);
}
.member-value-strip.compact {
  align-items: center;
  padding: 8px 10px;
  gap: 10px;
}
.member-value-strip.is-unlocked {
  border-color: rgba(154,119,39,.32);
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,247,226,.76)),
    rgba(255,255,255,.52);
}
.member-value-status {
  display: grid;
  gap: 5px;
  align-content: center;
}
.member-value-status span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(154,119,39,.12);
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
}
.member-value-strip.compact .member-value-status span {
  padding: 3px 8px;
  font-size: 10.5px;
}
.member-value-status strong {
  font-family: var(--display);
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
}
.member-value-strip.compact .member-value-status strong {
  font-size: 13.5px;
  line-height: 1.28;
}
.member-value-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.member-value-items div {
  min-height: 74px;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(154,119,39,.14);
  border-radius: calc(var(--r-md) - 2px);
  background: rgba(255,255,255,.58);
}
.member-value-strip.compact .member-value-items div {
  min-height: 54px;
  padding: 8px 10px;
}
.member-value-items b {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.15;
  color: var(--gold-deep);
}
.member-value-strip.compact .member-value-items b {
  font-size: 15px;
}
.member-value-items span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}
.member-value-strip.compact .member-value-items span {
  font-size: 11px;
}
.member-value-items em {
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.takeaway-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.takeaway-strip div {
  min-height: 88px;
  padding: 11px 12px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(154,119,39,.16);
  border-radius: var(--r-md);
}
.takeaway-strip b {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.takeaway-strip span {
  display: block;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.value-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.value-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 14px;
  align-items: stretch;
  padding-top: 4px;
}
.value-quick-plan {
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 10px;
  border: 1px solid rgba(154,119,39,.14);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.38);
}
.value-quick-plan div {
  min-height: 52px;
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid rgba(154,119,39,.16);
  border-radius: calc(var(--r-md) - 2px);
  background: rgba(255,255,255,.68);
}
.value-quick-plan b {
  font-size: 11.5px;
  color: var(--gold-deep);
}
.value-quick-plan span {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.mini-list { background: rgba(255,255,255,.56); border: 1px solid rgba(35,37,63,.08); border-radius: var(--r-md); padding: 14px }
.mini-list > div { font-family: var(--display); font-size: 14px; color: var(--ink); margin-bottom: 8px }
.mini-list ul { margin: 0; padding-left: 18px; display: grid; gap: 6px }
.mini-list li { font-size: 13px; line-height: 1.55; color: var(--ink-soft) }
.next-step-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  margin-top: 0;
  padding: 10px;
  border: 1px solid rgba(154,119,39,.14);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.38);
}
.value-bottom-row .next-step-rail {
  border-top: 1px solid rgba(154,119,39,.14);
  border-left: 1px solid rgba(154,119,39,.14);
  padding-left: 12px;
}
.next-step-rail .report-section-title { grid-column: 1 / -1; margin-bottom: 0 }
.next-step-rail a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9px 10px;
  border: 1px solid rgba(154,119,39,.22);
  border-radius: calc(var(--r-md) - 2px);
  background: rgba(255,255,255,.68);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}
.next-step-rail a:hover {
  border-color: var(--gold-deep);
  background: rgba(255,255,255,.9);
  text-decoration: none;
}
.subscription-loop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(154,119,39,.34);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(255,249,234,.92), rgba(247,239,214,.86)),
    var(--surface-warm);
  box-shadow: 0 16px 34px rgba(74,55,16,.07);
}
.subscription-loop.detailed { margin-top: 18px }
.subscription-copy h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.subscription-copy p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
}
.member-benefits {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.member-benefits div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(154,119,39,.15);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.54);
}
.member-benefits b {
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 15px;
}
.member-benefits span {
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.cadence-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cadence-board article {
  min-height: 150px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(154,119,39,.18);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.64);
}
.cadence-board article > div {
  font-size: 11px;
  color: var(--gold-deep);
  font-weight: 800;
}
.cadence-board strong {
  font-family: var(--display);
  font-size: 15px;
  color: var(--ink);
}
.cadence-board p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.cadence-board a, .subscription-cta a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(154,119,39,.38);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #FFF2C9, #F6E4AE);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.cadence-board a:hover, .subscription-cta a:hover {
  border-color: var(--gold-deep);
  text-decoration: none;
  transform: translateY(-1px);
}
.tracking-hooks {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(154,119,39,.18);
}
.tracking-hooks b {
  font-size: 11.5px;
  color: var(--gold-deep);
}
.tracking-hooks span {
  padding: 5px 9px;
  border: 1px solid rgba(154,119,39,.18);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.52);
  font-size: 12px;
  color: var(--ink-soft);
}
.subscription-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(154,119,39,.16);
}
.subscription-cta span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}
.report-section-title {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.unlocked-value-catalog {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(154,119,39,.28);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(255,249,234,.92), rgba(255,255,255,.70)),
    var(--surface-warm);
  box-shadow: 0 16px 34px rgba(74,55,16,.06);
}
.unlocked-value-catalog.is-unlocked {
  border-color: rgba(154,119,39,.42);
}
.catalog-copy {
  display: grid;
  align-content: center;
}
.catalog-copy h4 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.28;
  margin-bottom: 8px;
}
.catalog-copy p {
  font-size: 13.2px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.catalog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.catalog-cards article {
  min-height: 174px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 7px;
  padding: 13px;
  border: 1px solid rgba(154,119,39,.15);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.64);
}
.catalog-cards span {
  font-size: 10.8px;
  color: var(--gold-deep);
  font-weight: 800;
}
.catalog-cards strong {
  font-family: var(--display);
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--ink);
}
.catalog-cards p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.catalog-cards a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(79,84,140,.18);
  border-radius: var(--r-md);
  background: rgba(79,84,140,.06);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.catalog-cards a:hover {
  border-color: var(--primary);
  background: rgba(79,84,140,.10);
  text-decoration: none;
  transform: translateY(-1px);
}
.evidence-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px }
.evidence-grid article {
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.evidence-label { font-size: 11px; color: var(--gold-deep); margin-bottom: 8px; font-weight: 700 }
.evidence-grid strong { display: block; font-size: 13px; line-height: 1.45; color: var(--ink); margin-bottom: 8px }
.evidence-grid p { font-size: 12.5px; line-height: 1.65; color: var(--ink-soft) }
.calculation-evidence {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(79,84,140,.16);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.68);
}
.calculation-evidence-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.calculation-evidence-head h3 {
  font-family: var(--display);
  font-size: 20px;
  color: var(--ink);
}
.calculation-evidence-head p {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}
.calculation-source-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.calculation-source-row div,
.calculation-group-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.calculation-source-row b,
.calculation-group-grid h4 {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
}
.calculation-source-row span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}
.calculation-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.calculation-group-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
}
.calculation-group-grid p {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.55;
}
.calculation-group-grid p b {
  color: var(--ink);
  font-weight: 700;
}
.calculation-group-grid p span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.calculation-boundary {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}
.calculation-boundary span::before {
  content: "· ";
  color: var(--gold-deep);
}
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.topic-card {
  min-height: 250px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: 0 12px 30px -26px rgba(35,37,63,.35);
}
.topic-card.locked { background: linear-gradient(180deg, rgba(255,255,255,.80), rgba(251,247,239,.88)); border-style: dashed }
.topic-topline { font-size: 11.5px; line-height: 1.45; color: var(--ink-soft) }
.topic-card h4 { font-family: var(--display); font-size: 18px; line-height: 1.25 }
.topic-card p { font-size: 13.5px; line-height: 1.75; color: var(--ink) }
.topic-strategy {
  display: grid;
  gap: 7px;
}
.topic-strategy > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(35,37,63,.08);
}
.topic-strategy b {
  color: var(--gold-deep);
  font-size: 11.5px;
}
.topic-strategy span {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.topic-deliverable {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(79,84,140,.05);
  border: 1px solid rgba(79,84,140,.10);
  border-radius: var(--r-md);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.topic-deliverable b {
  color: var(--primary);
  font-size: 11.5px;
}
.topic-action {
  display: grid;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
}
.topic-action b { color: var(--gold-deep); font-size: 12px }
.topic-follow {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(79,84,140,.18);
  border-radius: var(--r-md);
  color: var(--primary);
  background: rgba(79,84,140,.05);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.topic-follow:hover { text-decoration: none; border-color: var(--primary); background: rgba(79,84,140,.09) }
.timeline-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.timeline-step {
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface), var(--surface-warm));
}
.timeline-step.locked { border-style: dashed; opacity: .82 }
.timeline-window { color: var(--gold-deep); font-size: 12px; font-weight: 700; margin-bottom: 8px }
.timeline-step strong { display: block; font-family: var(--display); font-size: 16px; margin-bottom: 6px }
.timeline-step p { font-size: 13px; line-height: 1.7; color: var(--ink-soft) }
.timeline-detail {
  display: grid;
  gap: 3px;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(154,119,39,.14);
}
.timeline-detail b {
  font-size: 10.5px;
  color: var(--gold-deep);
}
.timeline-detail span {
  font-size: 11.8px;
  line-height: 1.55;
  color: var(--ink);
}
.upgrade-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #FFF7E2, #FBF1D3);
}
.upgrade-panel h4 { font-family: var(--display); font-size: 20px; font-weight: 500; margin-bottom: 10px }
.upgrade-panel ul { margin: 0; padding-left: 18px; display: grid; gap: 5px }
.upgrade-panel li { font-size: 13px; line-height: 1.55; color: var(--ink-soft) }
.unlock-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.unlock-catalog div {
  min-height: 92px;
  padding: 12px;
  border: 1px solid rgba(154,119,39,.16);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.48);
}
.unlock-catalog strong {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 6px;
}
.unlock-catalog span {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.sample-questions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(154,119,39,.20);
}
.sample-questions > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 7px;
}
.sample-questions p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 5px;
}
.premium-unlocked {
  padding: 20px;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #FFF9EA, #FBF1D3);
}
.unlocked-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.unlocked-card {
  min-height: 172px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 8px;
  padding: 15px;
  border: 1px solid rgba(154,119,39,.18);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.62);
}
.unlocked-kicker { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700 }
.unlocked-card h4 { font-family: var(--display); font-size: 15.5px; line-height: 1.3 }
.unlocked-card p { font-size: 12.8px; line-height: 1.7; color: var(--ink-soft) }
.unlocked-card a { align-self: end }
.unlocked-card.paid-depth {
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,250,237,.72)),
    rgba(255,255,255,.68);
  box-shadow: 0 10px 24px rgba(74,55,16,.06);
}
.paid-evidence {
  padding: 8px 10px;
  border-left: 3px solid var(--gold);
  background: rgba(201,162,75,.10);
  border-radius: 6px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--gold-deep);
}
.paid-detail-list {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}
.paid-detail-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(154,119,39,.13);
}
.paid-detail-row b {
  font-size: 11px;
  line-height: 1.5;
  color: var(--gold-deep);
  white-space: nowrap;
}
.paid-detail-row span {
  min-width: 0;
  font-size: 12.4px;
  line-height: 1.65;
  color: var(--ink);
}
.unlocked-follow {
  width: 100%;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(154,119,39,.38);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255,247,226,.96), rgba(251,241,211,.96));
  color: var(--gold-deep);
  box-shadow: 0 6px 14px rgba(74,55,16,.08);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 2px;
}
.unlocked-follow::after {
  content: "→";
  font-size: 14px;
  line-height: 1;
  transition: transform .16s ease;
}
.unlocked-follow:hover {
  border-color: var(--gold-deep);
  background: linear-gradient(180deg, #FFF2C9, #F6E4AE);
  color: var(--gold-deep);
  text-decoration: none;
  transform: translateY(-1px);
}
.unlocked-follow:hover::after { transform: translateX(2px) }
.unlocked-follow:focus-visible {
  outline: 2px solid rgba(154,119,39,.45);
  outline-offset: 2px;
}
.review-closeout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .62fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(154,119,39,.32);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(255,249,234,.94), rgba(255,255,255,.70)),
    var(--surface-warm);
  box-shadow: 0 16px 34px rgba(74,55,16,.06);
}
.review-closeout h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.28;
  margin-bottom: 8px;
}
.review-closeout p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.review-checks {
  display: grid;
  gap: 8px;
}
.review-checks span {
  padding: 9px 11px;
  border: 1px solid rgba(154,119,39,.16);
  border-radius: calc(var(--r-md) - 2px);
  background: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
}
.review-closeout > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(154,119,39,.42);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #FFF2C9, #F6E4AE);
  color: var(--gold-deep);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}
.review-closeout > a:hover {
  border-color: var(--gold-deep);
  text-decoration: none;
  transform: translateY(-1px);
}
.report-disclaimer { font-size: 12px; line-height: 1.7; color: var(--ink-soft) }

body:has(.birth-simple-report) {
  background:
    radial-gradient(760px 480px at 14% 8%, rgba(139, 92, 246, .18), transparent 62%),
    radial-gradient(680px 440px at 86% 18%, rgba(245, 158, 11, .10), transparent 60%),
    #0B0C10;
}
.birth-simple-page {
  max-width: 1240px;
}
.birth-simple-head {
  color: #EDEDF0;
}
.birth-simple-head .sub {
  color: #9A9CA8;
}
.birth-simple-report {
  max-width: 1160px;
}
.simple-report {
  --ink: #EDEDF0;
  --ink-soft: #A9ABB8;
  --surface: #13151A;
  --surface-warm: rgba(28, 30, 36, .88);
  --primary: #8B5CF6;
  --primary-soft: #B8A4FF;
  --gold: #F59E0B;
  --gold-soft: #FCD34D;
  --gold-deep: #F59E0B;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --line-gold: rgba(245,158,11,.34);
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background:
    radial-gradient(620px 360px at 15% -8%, rgba(139, 92, 246, .22), transparent 64%),
    radial-gradient(520px 300px at 93% 4%, rgba(245, 158, 11, .12), transparent 58%),
    linear-gradient(180deg, rgba(19,21,26,.98), rgba(11,12,16,.98));
  box-shadow: 0 28px 80px -36px rgba(0,0,0,.82);
}
.simple-report::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.26) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 22%, rgba(255,255,255,.18) 0 1px, transparent 1.5px),
    radial-gradient(circle at 42% 8%, rgba(245,158,11,.28) 0 1px, transparent 1.5px),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 24%);
  opacity: .6;
}
.simple-report > * {
  position: relative;
  z-index: 1;
}
.simple-report-cover.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 28px;
  padding: 42px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.report-hero-main {
  min-width: 0;
  align-self: center;
}
.simple-kicker,
.section-heading-row span,
.start-panel-eyebrow {
  color: var(--gold);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.simple-report h3 {
  max-width: 760px;
  color: #F7F7FA;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}
.simple-quote {
  max-width: 720px;
  margin: 22px 0 18px;
  padding: 0 0 0 18px;
  border-left: 3px solid rgba(245,158,11,.82);
  color: #F7F7FA;
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.55;
}
.report-hero-main > p {
  max-width: 700px;
  color: #BFC1CC;
  font-size: 15px;
  line-height: 1.9;
}
.simple-tags span {
  border-color: rgba(245,158,11,.34);
  color: #FCD34D;
  background: rgba(245,158,11,.08);
}
.report-start-panel {
  min-width: 0;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(28,30,36,.72);
  backdrop-filter: blur(20px);
}
.report-start-panel h4 {
  margin: 0;
  color: #F7F7FA;
  font-size: 20px;
}
.report-start-panel > p {
  color: #D7D8E0;
  font-size: 14px;
  line-height: 1.75;
}
.start-panel-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.start-panel-months span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(11,12,16,.46);
  color: #D7D8E0;
  font-size: 12px;
  line-height: 1.45;
}
.start-panel-months b {
  color: var(--gold);
  font-size: 11px;
}
.start-panel-link {
  justify-self: start;
}
.simple-generation-info,
.birth-data-check {
  margin: 0;
  border-color: rgba(255,255,255,.08);
  background: rgba(11,12,16,.34);
}
.simple-generation-info {
  grid-template-columns: 1fr;
}
.simple-generation-info > b,
.birth-data-title b {
  color: #FCD34D;
}
.simple-generation-info span,
.birth-data-grid strong,
.birth-axis-strip span {
  color: #EDEDF0;
}
.simple-generation-info em,
.birth-data-title span,
.birth-data-grid em,
.birth-axis-strip b {
  color: #9A9CA8;
}
.birth-data-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.birth-axis-strip {
  border-top-color: rgba(255,255,255,.10);
}
.simple-report-nav {
  top: 0;
  margin: 0;
  padding: 12px 42px;
  border-bottom-color: rgba(255,255,255,.08);
  background: rgba(11,12,16,.74);
  backdrop-filter: blur(18px);
}
.simple-report-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-color: rgba(255,255,255,.10);
  color: #D7D8E0;
  background: rgba(255,255,255,.04);
}
.simple-report-nav a:hover {
  border-color: rgba(139,92,246,.55);
  color: #FFFFFF;
  background: rgba(139,92,246,.16);
  text-decoration: none;
}
.report-reading-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0 42px 42px;
}
.report-reading-flow > *,
.simple-section {
  min-width: 0;
}
.simple-section {
  padding: 38px 0;
  border-bottom-color: rgba(255,255,255,.08);
}
.section-heading-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.section-heading-row h4,
.simple-report h4 {
  margin: 0;
  color: #F7F7FA;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
}
.simple-section-lead,
.simple-report p,
.simple-report ul,
.report-disclaimer,
.simple-report-disclaimer {
  color: #A9ABB8 !important;
}
.overview-theme {
  padding: 18px 20px;
  border: 1px solid rgba(245,158,11,.18);
  border-left: 3px solid rgba(245,158,11,.82);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(139,92,246,.05));
}
.overview-theme b,
.overview-grid b,
.checklist-grid b,
.final-command-grid b {
  color: #FCD34D;
}
.overview-theme-text {
  color: #F7F7FA;
  font-size: 15px;
}
.overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.overview-grid article {
  min-height: 160px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-top: 2px solid rgba(245,158,11,.46);
  border-left: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(19,21,26,.78);
}
.overview-grid span,
.checklist-grid span,
.final-command-grid span {
  color: #E1E2E8;
}
.energy-pattern-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(28,30,36,.62);
}
.energy-cue {
  margin: 0;
  padding-left: 0;
  border-left: 0;
}
.energy-cue b {
  color: #F7F7FA;
  font-size: 16px;
}
.energy-cue-subtitle {
  color: #9A9CA8;
}
.energy-rank-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.energy-rank-card {
  min-height: calc(92px + var(--energy-share) * .72px);
  padding: 54px 14px 14px;
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(19,21,26,.98), rgba(11,12,16,.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.energy-rank-card:first-child {
  border-color: rgba(245,158,11,.34);
  background: linear-gradient(180deg, rgba(245,158,11,.12), rgba(19,21,26,.92));
}
.energy-rank-no {
  top: 14px;
  left: 14px;
  transform: none;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.05);
}
.energy-rank-tag {
  top: 17px;
  right: 14px;
  transform: none;
  background: rgba(255,255,255,.05);
}
.energy-rank-name {
  color: #F7F7FA !important;
}
.energy-rank-sub {
  color: #A9ABB8;
}
.energy-rank-meter {
  height: calc(8px + var(--energy-share) * .12px);
  background: rgba(255,255,255,.08);
}
.energy-rank-meter i {
  box-shadow: 0 0 18px currentColor;
}
.energy-tone-earth { --energy-tone: #D4A373; }
.energy-tone-fire { --energy-tone: #F87171; }
.energy-tone-air { --energy-tone: #B8A4FF; }
.energy-tone-water { --energy-tone: #60A5FA; }
.simple-result-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.simple-result-list > div,
.simple-term-list > div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-top: 2px solid rgba(139,92,246,.55);
  border-radius: 16px;
  background: rgba(19,21,26,.72);
}
.simple-result-list b,
.simple-term-list b,
.simple-core-evidence summary {
  color: #FCD34D;
}
.simple-result-list strong {
  color: #F7F7FA;
}
.simple-result-list em,
.simple-result-list span,
.simple-term-list span,
.simple-core-evidence p {
  color: #A9ABB8;
}
.simple-core-evidence {
  border-top-color: rgba(255,255,255,.08);
}
.simple-guidance-list {
  gap: 18px;
}
.simple-guidance-list > section.life-domain-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(19,21,26,.72);
}
.life-domain-index {
  color: rgba(245,158,11,.62);
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}
.life-domain-body {
  min-width: 0;
}
.simple-guidance-list h5 {
  color: #F7F7FA;
  font-size: 22px;
}
.guidance-takeaway {
  margin-top: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(139,92,246,.18);
  border-left: 3px solid rgba(139,92,246,.72);
  border-radius: 12px;
  background: rgba(139,92,246,.08);
  color: #EDEDF0 !important;
}
.guidance-takeaway b {
  display: block;
  margin-bottom: 4px;
  color: #B8A4FF !important;
}
.domain-golden-line {
  margin: 12px 0;
  padding: 0 0 0 14px;
  border-left-color: rgba(245,158,11,.72);
  color: #F7F7FA !important;
}
.domain-golden-line span {
  color: #FCD34D;
}
.guidance-structure {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.guidance-structure > div,
.guidance-structure > div:last-child {
  min-height: 158px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-top: 2px solid rgba(255,255,255,.10) !important;
  border-radius: 14px;
  background: rgba(11,12,16,.36) !important;
}
.guidance-mode {
  grid-column: 1 / -1;
  min-height: auto !important;
  border-top-color: rgba(139,92,246,.50) !important;
}
.guidance-structure b {
  color: #FCD34D;
}
.guidance-structure span {
  color: #E1E2E8;
}
.guidance-signal-opportunity {
  border-top-color: rgba(52,211,153,.42) !important;
}
.guidance-signal-opportunity .signal-badge,
.signal-badge-opportunity {
  color: #34D399;
  border-color: rgba(52,211,153,.30);
  background: rgba(52,211,153,.08);
}
.guidance-signal-risk {
  border-top-color: rgba(248,113,113,.46) !important;
}
.guidance-signal-risk .signal-badge,
.signal-badge-risk {
  color: #F87171;
  border-color: rgba(248,113,113,.30);
  background: rgba(248,113,113,.08);
}
.guidance-command {
  border-top-color: rgba(245,158,11,.52) !important;
}
.guidance-command b::before {
  border-color: rgba(245,158,11,.34);
  color: #FCD34D;
  background: rgba(245,158,11,.08);
}
.guidance-footnote {
  border-top-color: rgba(255,255,255,.09);
  color: #A9ABB8;
}
.life-domain-evidence {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,.11);
}
.life-domain-evidence summary {
  cursor: pointer;
  color: #B8A4FF;
  font-size: 13px;
  font-weight: 800;
}
.life-domain-evidence p {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
}
.life-domain-evidence b {
  color: #FCD34D !important;
  font-size: 12px;
}
.life-domain-evidence span,
.simple-evidence {
  color: #A9ABB8 !important;
}
.context-follow,
.simple-follow-link {
  border-color: rgba(139,92,246,.30);
  color: #D8CCFF;
  background: rgba(139,92,246,.10);
}
.context-follow:hover,
.simple-follow-link:hover {
  border-color: rgba(139,92,246,.62);
  background: rgba(139,92,246,.18);
}
.simple-fusion {
  margin: 0;
  padding: 38px 0;
}
.fusion-head {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
}
.fusion-score,
.fusion-theme,
.fusion-year {
  border-color: rgba(255,255,255,.08);
  background: rgba(19,21,26,.72);
}
.fusion-score {
  padding: 14px;
}
.fusion-score b,
.fusion-year > b,
.fusion-theme b {
  color: #FCD34D;
}
.fusion-theme {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
}
.fusion-theme strong {
  color: #F7F7FA;
}
.fusion-theme span,
.fusion-year > p,
.fusion-highlight-grid em,
.fusion-steady-months p,
.fusion-turning-points span,
.fusion-year-grid dd {
  color: #A9ABB8;
}
.fusion-year {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
}
.fusion-rhythm-strip {
  border-color: rgba(255,255,255,.08);
}
.rhythm-point {
  border-left-color: rgba(255,255,255,.08);
}
.rhythm-tag {
  background: rgba(255,255,255,.05);
}
.rhythm-point b,
.fusion-highlight-grid h5,
.fusion-highlight-grid span,
.fusion-turning-points strong,
.month-card-head strong {
  color: #F7F7FA;
}
.rhythm-point span,
.rhythm-point em,
.fusion-turning-points em {
  color: #A9ABB8;
}
.rhythm-high .rhythm-tag {
  color: #34D399;
  background: rgba(52,211,153,.10);
}
.rhythm-low .rhythm-tag {
  color: #F87171;
  background: rgba(248,113,113,.10);
}
.rhythm-high i {
  background: rgba(52,211,153,.14);
  box-shadow: inset 0 -48px 0 rgba(52,211,153,.80), 0 0 18px rgba(52,211,153,.16);
}
.rhythm-mid i {
  background: rgba(245,158,11,.14);
  box-shadow: inset 0 -42px 0 rgba(245,158,11,.72), 0 0 18px rgba(245,158,11,.12);
}
.rhythm-low i {
  background: rgba(248,113,113,.14);
  box-shadow: inset 0 -46px 0 rgba(248,113,113,.74), 0 0 18px rgba(248,113,113,.13);
}
.fusion-turning-points {
  border-top-color: rgba(255,255,255,.08);
}
.fusion-turning-points article,
.fusion-highlight-grid section,
.fusion-year-grid article {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(11,12,16,.32);
}
.fusion-highlight-grid strong,
.fusion-year-grid dt,
.fusion-month-details summary {
  color: #FCD34D;
}
.fusion-highlight-grid article + article {
  border-top-color: rgba(255,255,255,.08);
}
.month-meter b {
  background: rgba(255,255,255,.08);
}
.fusion-year-grid article {
  border-left: 1px solid rgba(255,255,255,.08);
}
.fusion-year-grid dl > div {
  grid-template-columns: 86px minmax(0, 1fr);
}
.simple-checklist .simple-section-lead {
  max-width: 680px;
}
.final-command-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.final-command-grid article {
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(245,158,11,.22);
  border-top: 2px solid rgba(245,158,11,.56);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(245,158,11,.10), rgba(19,21,26,.74));
}
.final-command-grid article::before {
  width: 28px;
  height: 28px;
  border-color: rgba(245,158,11,.38);
  color: #FCD34D;
  background: rgba(245,158,11,.08);
}
.final-command-grid article b {
  margin-bottom: 8px;
  color: #FCD34D;
  font-size: 13px;
}
.final-command-grid article span {
  grid-column: 1 / -1;
  color: #F7F7FA;
  font-size: 14px;
}
.simple-actions {
  gap: 10px;
  padding-top: 20px;
}
.simple-method {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(19,21,26,.60);
}
.simple-method summary {
  cursor: pointer;
  color: #FCD34D;
  font-weight: 800;
}
.simple-eastern-card {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(11,12,16,.32);
}
.simple-eastern-card b {
  color: #FCD34D;
}
.simple-eastern-card strong {
  color: #F7F7FA;
}
.simple-eastern-card span {
  color: #A9ABB8;
}
.simple-report-warning,
.simple-report-block-error {
  border-color: rgba(245,158,11,.28);
  background: rgba(245,158,11,.09);
  color: #F7F7FA;
}
@media (max-width: 900px) {
  .evidence-grid, .topic-grid, .timeline-steps, .value-cols, .takeaway-strip, .unlock-catalog, .unlocked-grid, .next-step-rail, .subscription-loop, .value-bottom-row, .member-value-strip, .unlocked-value-catalog, .review-closeout, .calculation-source-row, .calculation-group-grid { grid-template-columns: 1fr }
  .paywall-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .paywall-plan--checkout { transform: none; order: -1 }
  .member-value-items { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .catalog-cards { grid-template-columns: 1fr }
  .cadence-board { grid-template-columns: 1fr }
  .value-board-hero { grid-template-columns: 1fr }
  .value-board-hero .takeaway-strip { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .value-board-hero .takeaway-strip div { min-height: 112px }
  .value-bottom-row .next-step-rail { border-left: 0; padding-left: 0; padding-top: 12px; border-top: 1px solid rgba(154,119,39,.20) }
  .upgrade-panel { align-items: stretch; flex-direction: column }
  .subscription-cta { align-items: stretch; flex-direction: column }
  .review-closeout > a { width: 100% }
  .energy-rank-list { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 640px) {
  .member-value-items { grid-template-columns: 1fr }
  .value-board-hero .takeaway-strip { grid-template-columns: 1fr }
  .value-board-hero .takeaway-strip div { min-height: 86px }
  .paid-detail-row { grid-template-columns: 1fr; gap: 2px }
  .birth-simple-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .birth-simple-head,
  .birth-simple-head .sub,
  .birth-simple-report,
  .simple-report {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .simple-report { padding: 24px 18px }
  .simple-report h3 { font-size: 25px }
  .simple-report h4 { font-size: 18px }
  .energy-rank-card { min-height: calc(56px + var(--energy-share) * .28px) }
  .simple-generation-info { grid-template-columns: 1fr }
  .simple-generation-info > div { display: grid; grid-template-columns: 1fr }
  .birth-data-title { display: grid; gap: 4px }
  .birth-data-title span { text-align: left }
  .birth-data-grid,
  .birth-axis-strip,
  .fusion-turning-points > div {
    grid-template-columns: 1fr;
  }
  .birth-axis-strip span {
    border-radius: 8px;
  }
  .simple-report-nav { position: static }
  .overview-grid, .checklist-grid, .final-command-grid, .fusion-highlight-grid, .guidance-structure { grid-template-columns: 1fr }
  .simple-eastern-grid { grid-template-columns: 1fr }
  .energy-rank-list { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .energy-rank-card {
    padding: 11px 50px;
  }
  .energy-rank-no {
    left: 10px;
    width: 30px;
    height: 30px;
    font-size: 12px !important;
  }
  .energy-rank-name { font-size: 15px !important }
  .energy-rank-sub { font-size: 11px }
  .energy-rank-tag {
    right: 10px;
    min-width: 36px;
    min-height: 22px;
    padding: 2px 7px;
    font-size: 11px;
  }
  .fusion-head, .fusion-columns, .fusion-year-grid { grid-template-columns: 1fr }
  .fusion-rhythm-legend { justify-content: flex-start }
  .fusion-rhythm-strip {
    margin-left: -6px;
    margin-right: -6px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .rhythm-point {
    flex-basis: 96px;
    padding: 0 6px;
  }
  .fusion-score { text-align: left }
  .simple-actions { display: grid; grid-template-columns: 1fr }
  .simple-actions .btn { width: 100% }
}

.daily-page {
  flex: 1;
  padding-bottom: 64px;
}
.daily-hero {
  padding-top: 56px;
  padding-bottom: 30px;
}
.daily-hero-copy h1 {
  max-width: 760px;
  font-family: var(--display);
  font-size: 54px;
  line-height: 1.08;
  font-weight: 500;
  margin-bottom: 16px;
}
.daily-hero-copy h1 em {
  font-style: italic;
  color: var(--gold-deep);
}
.daily-hero-copy p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
.daily-panel-head span,
.daily-guidance-grid article span,
.daily-action-panel span,
.daily-personalize span {
  display: block;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.daily-tool {
  padding-top: 18px;
  padding-bottom: 42px;
}
.daily-tool-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}
.daily-control-panel,
.daily-reading-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.78);
  box-shadow: var(--card-shadow);
}
.daily-control-panel {
  padding: 20px;
  display: grid;
  gap: 18px;
  align-content: start;
}
.daily-panel-head h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  margin-top: 4px;
}
.daily-day-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.daily-day-tabs button,
.daily-sign-picker button {
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid rgba(35,37,63,.14);
  background: rgba(251,247,239,.88);
  color: var(--ink);
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease, box-shadow .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.daily-day-tabs button:hover,
.daily-sign-picker button:hover {
  border-color: rgba(154,119,39,.55);
  transform: translateY(-1px);
}
.daily-day-tabs button {
  min-height: 42px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
}
.daily-day-tabs button.active,
.daily-sign-picker button.active {
  border-color: var(--gold-deep);
  background: linear-gradient(180deg, #FFF4D4, #F4DF9F);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
  color: #2B220D;
}
.daily-sign-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.daily-sign-picker button {
  min-height: 70px;
  border-radius: var(--r-md);
  padding: 12px;
  text-align: left;
}
.daily-sign-picker span {
  display: block;
  font-family: var(--cjk);
  font-size: 16px;
  font-weight: 700;
}
.daily-sign-picker small {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: .04em;
}
.daily-personalize {
  padding: 16px;
  border: 1px solid rgba(79,84,140,.16);
  border-radius: var(--r-md);
  background: rgba(79,84,140,.055);
}
.daily-personalize p {
  margin: 8px 0 12px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.65;
}
.daily-reading-card {
  min-height: 660px;
  padding: 26px;
}
.daily-reading-status {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}
.daily-reading-status[hidden],
#daily-reading-result[hidden] {
  display: none;
}
.daily-reading-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.daily-reading-topline span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
}
.daily-reading-topline h2 {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 38px;
  line-height: 1.16;
  font-weight: 500;
}
.daily-energy {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(154,119,39,.34);
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,.82), rgba(243,226,176,.72));
  display: grid;
  place-items: center;
  text-align: center;
}
.daily-energy small {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
}
.daily-energy strong {
  display: block;
  margin-top: 2px;
  font-family: var(--display);
  font-size: 34px;
  color: var(--gold-deep);
}
.daily-summary {
  margin: 22px 0;
  max-width: 800px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
}
.daily-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.daily-metrics div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(35,37,63,.10);
  border-radius: var(--r-md);
  background: var(--surface-warm);
}
.daily-metrics span {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  margin-bottom: 8px;
}
.daily-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.daily-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.daily-guidance-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(35,37,63,.10);
  border-radius: var(--r-md);
  background: #fff;
}
.daily-guidance-grid article p {
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.72;
}
.daily-guidance-grid .daily-caution {
  border-color: rgba(167,52,25,.20);
  background: rgba(253,226,221,.42);
}
.daily-guidance-grid .daily-caution span {
  color: #A73419;
}
.daily-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(79,84,140,.18);
  background: rgba(79,84,140,.06);
}
.daily-action-panel ol {
  margin: 10px 0 0 19px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.75;
}
.daily-action-panel li + li {
  margin-top: 5px;
}
.daily-evidence-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed rgba(79,84,140,.22);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.62);
}
.daily-evidence-panel > span {
  display: block;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
#daily-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
}
#daily-evidence section {
  min-width: 0;
}
#daily-evidence b {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--ink);
}
#daily-evidence ul {
  margin: 0;
  padding-left: 17px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}
#daily-evidence p {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}
.daily-disclaimer {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}
.zodiac-reference {
  padding-top: 18px;
}
.zodiac-reference-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.zodiac-reference-head h2 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
}
.zodiac-reference-head p {
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}
.ztable-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
}
.ztable { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 13.5px; background: var(--surface); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line) }
.ztable th { background: linear-gradient(180deg, #FFF7E2, #FBF1D3); color: var(--ink); text-align: left; font-family: var(--display); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line-gold) }
.ztable td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink-soft) }
.ztable tr:hover td { background: rgba(201, 162, 75, .04) }
.ztable td.zh { font-family: var(--cjk); color: var(--ink); font-weight: 600 }

.learn-page-hero {
  padding-top: 28px;
  padding-bottom: 8px;
  margin-bottom: -8px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(201, 162, 75, .12), transparent 70%),
    linear-gradient(180deg, rgba(19, 21, 26, .92), transparent);
}
.learn-page-hero-inner {
  max-width: 1200px;
}
.learn-page-hero-head {
  max-width: none;
}
.learn-page-hero h2 {
  font-family: var(--display);
  text-align: left;
  font-size: clamp(32px, 4.5vw, 42px);
  margin-bottom: 10px;
}
.learn-page-hero .sub {
  text-align: left;
  margin-bottom: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.65;
}
.ele { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600 }
.ele.fire { background: #FDE2DD; color: #A73419 }
.ele.earth { background: #E8E3D3; color: #5C5226 }
.ele.air { background: #E0EFF7; color: #1F5D80 }
.ele.water { background: #DDEBE1; color: #225C32 }

@media (max-width: 980px) {
  .daily-tool-grid {
    grid-template-columns: 1fr;
  }
  .daily-reading-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .daily-page .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .daily-hero {
    padding-top: 34px;
    gap: 18px;
  }
  .daily-hero-copy h1 {
    font-size: 38px;
  }
  .daily-hero-copy p {
    font-size: 14px;
  }
  .daily-action-panel,
  .zodiac-reference-head {
    display: grid;
    grid-template-columns: 1fr;
  }
  .daily-control-panel,
  .daily-reading-card {
    padding: 16px;
  }
  .daily-sign-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .daily-reading-topline {
    grid-template-columns: minmax(0, 1fr) 82px;
  }
  .daily-reading-topline h2 {
    font-size: 29px;
  }
  .daily-energy strong {
    font-size: 26px;
  }
  .daily-summary {
    font-size: 15px;
  }
  .daily-metrics,
  .daily-guidance-grid,
  #daily-evidence {
    grid-template-columns: 1fr;
  }
  .daily-metrics div,
  .daily-guidance-grid article {
    min-height: 0;
  }
  .daily-action-panel .btn {
    width: 100%;
  }
}

.chat-wrap { max-width: 760px; margin: 24px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); height: 580px; display: flex; flex-direction: column; box-shadow: var(--card-shadow) }
body[data-page="polaris"] .btn-primary,
body[data-page="polaris"] #chat-send {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: rgba(201, 162, 75, .45);
  color: #231905;
}
body[data-page="polaris"] .btn-primary:hover,
body[data-page="polaris"] #chat-send:hover {
  color: #231905;
  filter: brightness(1.04);
}
body[data-page="polaris"] .chat-header .avatar {
  background: linear-gradient(135deg, rgba(201, 162, 75, .22), rgba(110, 93, 168, .18));
  color: var(--gold-deep);
}
.chat-header { padding: 16px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px }
.chat-header .avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff }
.chat-header h3 { font-family: var(--display); font-size: 16px; font-weight: 600 }
.chat-header small { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 400 }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px }
.msg { max-width: 80%; padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.6; white-space: pre-wrap }
.msg.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px }
.msg.assistant { align-self: flex-start; background: var(--surface-warm); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px }
.msg.error { background: #FDE2DD; color: #A73419 }
.msg.assistant.markdown { white-space: normal }
.msg.assistant.markdown > :first-child { margin-top: 0 }
.msg.assistant.markdown > :last-child { margin-bottom: 0 }
.msg.assistant.markdown p { margin: 0 0 10px }
.msg.assistant.markdown h1,
.msg.assistant.markdown h2,
.msg.assistant.markdown h3 { margin: 14px 0 7px; font-family: var(--display); line-height: 1.35 }
.msg.assistant.markdown h1 { font-size: 19px }
.msg.assistant.markdown h2 { font-size: 17px }
.msg.assistant.markdown h3 { font-size: 15px }
.msg.assistant.markdown ul,
.msg.assistant.markdown ol { margin: 7px 0 10px; padding-left: 22px }
.msg.assistant.markdown li + li { margin-top: 4px }
.msg.assistant.markdown blockquote { margin: 8px 0; padding-left: 11px; border-left: 2px solid var(--primary); color: var(--ink-soft) }
.msg.assistant.markdown code { padding: 1px 5px; border-radius: 5px; background: rgba(79,84,140,.1); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em }
.msg.assistant.markdown a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px }
.msg.assistant.chat-stage { color: var(--ink-soft); font-style: italic }
.msg.assistant.chat-card-envelope { width: min(100%, 620px); max-width: 88%; white-space: normal; display: grid; gap: 10px }
.chat-card + .chat-card { padding-top: 10px; border-top: 1px solid var(--line) }
.chat-card-text > :first-child { margin-top: 0 }
.chat-card-text > :last-child { margin-bottom: 0 }
.chat-card-text p { margin: 0 0 10px }
.chat-card-text h1,
.chat-card-text h2,
.chat-card-text h3 { margin: 14px 0 7px; font-family: var(--display); line-height: 1.35 }
.chat-card-text h1 { font-size: 19px }
.chat-card-text h2 { font-size: 17px }
.chat-card-text h3 { font-size: 15px }
.chat-card-text ul,
.chat-card-text ol { margin: 7px 0 10px; padding-left: 22px }
.chat-card-text li + li { margin-top: 4px }
.chat-card-text blockquote { margin: 8px 0; padding-left: 11px; border-left: 2px solid var(--primary); color: var(--ink-soft) }
.chat-card-text code { padding: 1px 5px; border-radius: 5px; background: rgba(79,84,140,.1); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em }
.chat-card-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px }
.chat-card-stage { color: var(--ink-soft); font-style: italic }
.chat-card-prompt,
.chat-card-quota p,
.chat-card-error p { margin: 0 0 9px; color: var(--ink-soft); font-size: 13px }
.chat-card-quota,
.chat-card-error { display: grid; gap: 8px }
.chat-card-quota .btn { justify-self: start }
.chat-card-error { color: #A73419 }
.chat-card-actions { display: flex; flex-wrap: wrap; gap: 7px }
.chat-card-action {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(79,84,140,.2);
  border-radius: var(--r-pill);
  background: rgba(79,84,140,.06);
  color: var(--primary);
  font: 600 12px/1.4 var(--font);
  cursor: pointer;
}
.chat-card-action:hover { border-color: var(--primary); background: rgba(79,84,140,.1) }
.chat-card-action:disabled,
.chat-card-action[data-used="true"] { opacity: .68; cursor: default }
.chat-report-picker-list { display: grid; gap: 8px }
.chat-report-option {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.chat-report-option:hover { border-color: var(--primary); background: rgba(79,84,140,.1) }
.chat-report-option:disabled,
.chat-report-option[data-used="true"] { opacity: .68; cursor: default }
.chat-report-option-mode {
  display: inline-flex;
  align-self: start;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-soft);
}
.chat-report-option-label { font-size: 14px; font-weight: 600 }
.chat-report-option-desc { font-size: 12px; color: var(--ink-soft); line-height: 1.45 }
.chat-turn-state { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; font-style: normal }
.chat-input { padding: 14px 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center }
.chat-input input,
.chat-input textarea { flex: 1; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-family: var(--font); font-size: 14px }
/* textarea 自动增高:1~6 行,顶部对齐避免多行时文字下沉 */
.chat-input textarea { resize: none; max-height: 168px; min-height: 44px; line-height: 1.5; overflow-y: auto; border-radius: var(--r-md); align-self: end }
.chat-input button:disabled { opacity: .55; cursor: not-allowed }
.context-card {
  margin: 0 22px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.context-copy { min-width: 0; display: grid; gap: 3px }
.context-copy strong { font-family: var(--display); font-size: 13px; color: var(--ink) }
.context-copy span { font-size: 12px; line-height: 1.55; color: var(--ink-soft) }

/* 历史侧栏布局(JS 注入 .chat-layout 包裹 .chat-wrap) */
.chat-layout { max-width: 1060px; margin: 24px auto; display: flex; gap: 18px; align-items: stretch }
.chat-layout .chat-wrap { margin: 0; flex: 1; min-width: 0 }
.chat-history { width: 248px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); display: flex; flex-direction: column; height: 580px; padding: 14px }
.chat-history-head { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--ink); padding: 4px 6px 10px }
.conv-new { width: 100%; justify-content: center; margin-bottom: 10px }
.conv-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 4px }
.conv-item { padding: 9px 10px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s }
.conv-item:hover { background: var(--surface-warm) }
.conv-item.active { background: var(--surface-warm); border-color: var(--line-strong) }
.conv-title { font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.conv-meta { font-size: 11px; color: var(--ink-soft); margin-top: 2px }
.conv-empty { font-size: 12px; color: var(--ink-soft); padding: 10px 6px; text-align: center }

/* 打字机光标:流式中 assistant 气泡尾部闪烁竖线 */
.msg.assistant.streaming::after { content: '▋'; display: inline-block; margin-left: 1px; color: var(--primary); animation: caret-blink 1s steps(1) infinite }
@keyframes caret-blink { 50% { opacity: 0 } }

@media (max-width: 860px) {
  .chat-layout { flex-direction: column; margin: 16px 12px }
  .chat-history { width: auto; height: auto; max-height: 200px }
  .chat-layout .chat-wrap { height: 70vh }
}

.faq-item { border-top: 1px solid var(--line); padding: 18px 0 }
.faq-item:last-child { border-bottom: 1px solid var(--line) }
.faq-item h3 { font-family: var(--display); font-size: 17px; font-weight: 600; margin-bottom: 6px; display: flex; gap: 8px }
.faq-item h3::before { content: '问'; color: var(--gold-deep); font-weight: 700 }
.faq-item .ans { font-size: 14px; line-height: 1.7; color: var(--ink-soft); padding-left: 22px; position: relative }
.faq-item .ans::before { content: '答'; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700 }
/* 英文页面：服务端渲染会把 <html lang> 设为 en（见 src/i18nServer.mjs），
   「问/答」是中文语境的图标字符，英文读者看不懂，换成 Q/A */
html[lang="en"] .faq-item h3::before { content: 'Q' }
html[lang="en"] .faq-item .ans::before { content: 'A' }
.faq-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.knowledge-hub { padding: 50px 32px; background: linear-gradient(180deg, var(--surface-warm), var(--bg-2)); border-top: 1px solid var(--line) }
.kcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; max-width: 1200px; margin: 0 auto }
@media (max-width: 900px) { .kcols { grid-template-columns: repeat(2, 1fr) } }
.kcol h4 { font-family: var(--display); font-size: 14px; font-weight: 600; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line-gold) }
.kcol ul { list-style: none }
.kcol li { padding: 5px 0; font-size: 12.5px }
.kcol li a { color: var(--ink-soft) }
.kcol li a:hover { color: var(--ink) }
.kpending { color: var(--ink-soft); opacity: .55; cursor: default }
.kpending small { font-size: 10px; opacity: .8; margin-left: 4px; padding: 1px 5px; border: 1px solid var(--line-gold); border-radius: 8px; white-space: nowrap }

.footer { margin-top: auto; padding: 30px 32px; background: var(--bg-2); border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--ink-soft); line-height: 1.7 }

.text-center { text-align: center }
.mt-4 { margin-top: 16px }
.mt-6 { margin-top: 24px }
.mb-4 { margin-bottom: 16px }
.gap-2 { gap: 8px }
.row { display: flex; gap: 12px; align-items: center }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line-strong); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }

.tarot-card { width: 140px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-gold); background: linear-gradient(180deg, #1c2142, #11142d); color: #fff; text-align: center; padding: 14px; box-shadow: var(--card-shadow) }
.tarot-card .pos { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px }
.tarot-card .name { font-family: var(--display); font-size: 16px; margin: 8px 0 }
.tarot-card .orient { font-size: 11px; color: var(--gold-soft) }

.tarot-page {
  /* 这两个变量原为深藏青(#111632/#1B2044)，是旧奶油纸背景时代的标题色；
     全站切换暗色主题后卡片/页面背景都变深，深藏青文字几乎与背景同色不可读，
     故改为亮色。--tarot-primary 仍是深藏青，继续给 .tarot-luna-cta 当按钮底色，未受影响。 */
  --tarot-night: #F7F1FF;
  --tarot-primary: #343A72;
  --tarot-primary-deep: #ECE6FA;
  --tarot-sage: #6F8A78;
  --tarot-panel-radius: 16px;
  --tarot-panel-padding: 24px;
  --tarot-grid-gap: 24px;
  --display: 'Cormorant Garamond', 'Noto Serif SC', var(--font);
}
.tarot-hero {
  display: grid;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}
.tarot-hero-copy {
  width: 100%;
  max-width: none;
  min-width: 0;
}
.tarot-member-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.tarot-member-hint a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tarot-member-hint a:hover {
  color: var(--gold);
}
.tarot-hero .eyebrow {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tarot-moon-icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: 0 0 auto;
}
.tarot-hero h2 {
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 4.1vw, 58px);
  line-height: 1.1;
  max-width: min(100%, 920px);
  color: var(--tarot-night);
  text-wrap: balance;
}
.tarot-hero h2 em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold), var(--primary-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tarot-hero .sub {
  max-width: min(100%, 920px);
  margin: 16px 0 0;
  text-align: left;
  font-size: 15.5px;
  line-height: 1.72;
}
.tarot-workbench-grid {
  display: grid;
  gap: 22px;
}
.tarot-value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.tarot-value-strip div {
  min-height: 98px;
  padding: 14px 15px;
  border: 1px solid rgba(244,199,107,.22);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  box-shadow: 0 14px 34px -28px rgba(0,0,0,.6);
}
.tarot-value-strip b {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  color: var(--gold-soft);
  margin-bottom: 6px;
}
.tarot-value-strip span {
  display: block;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.tarot-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.tarot-hero-actions .btn,
.tarot-subscribe-preview .btn {
  min-height: 36px;
  align-items: center;
}
.tarot-reading-desk {
  min-width: 0;
  border-radius: var(--tarot-panel-radius);
  padding: var(--tarot-panel-padding);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,249,234,.78)),
    var(--surface);
  border: 1px solid rgba(201,162,75,.34);
  box-shadow: 0 22px 60px -38px rgba(17,22,50,.42);
  color: var(--ink);
}
.tarot-desk-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(201,162,75,.22);
  margin-bottom: 16px;
}
.tarot-desk-head strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--tarot-primary-deep);
}
.tarot-desk-head span {
  color: var(--ink-soft);
  font-size: 12px;
  text-align: right;
}
.tarot-reading-desk .field + .field { margin-top: 16px }
.tarot-reading-desk .field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--gold-deep);
  font-weight: 800;
}
.tarot-reading-desk .field label small {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
}
.tarot-reading-desk input {
  min-height: 50px;
  background: #fff;
}
.tarot-desk-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.tarot-desk-path div {
  min-height: 74px;
  border: 1px solid rgba(201,162,75,.24);
  border-radius: var(--r-md);
  background: rgba(255,249,234,.82);
  padding: 12px;
}
.tarot-desk-path b {
  display: block;
  color: var(--tarot-primary-deep);
  font-size: 12.5px;
  margin-bottom: 4px;
}
.tarot-desk-path span {
  display: block;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.45;
}
.tarot-desk-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(201,162,75,.22);
}
.tarot-reading-flow {
  max-width: 1040px;
  margin: 28px auto 0;
  padding: 26px 0 6px;
  border-top: 1px solid rgba(201,162,75,.24);
  border-bottom: 1px solid rgba(201,162,75,.18);
}
.tarot-flow-copy {
  max-width: min(100%, 920px);
}
.tarot-flow-copy h3 {
  font-family: var(--display);
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.18;
  color: var(--tarot-primary-deep);
  text-wrap: balance;
}
.tarot-flow-copy p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75;
}
.tarot-preview-deck {
  position: relative;
  height: 174px;
  margin: 22px 0 12px;
}
.tarot-preview-deck span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 104px;
  height: 150px;
  border-radius: 15px;
  border: 1px solid rgba(227,201,136,.72);
  background-image: url('/assets/tarot/tarot-card-back.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 46px -28px rgba(0,0,0,.80);
  transform-origin: 50% 112%;
}
.tarot-preview-deck span:nth-child(1) { transform: translateX(-92px) rotate(-12deg) }
.tarot-preview-deck span:nth-child(2) { transform: translateX(-52px) rotate(0deg); top: 0 }
.tarot-preview-deck span:nth-child(3) { transform: translateX(-12px) rotate(12deg) }
.tarot-flow-rail {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: tarot-flow;
}
.tarot-flow-rail li {
  counter-increment: tarot-flow;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}
.tarot-flow-rail li::before {
  content: counter(tarot-flow, decimal-leading-zero);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(244,199,107,.5);
  background: rgba(244,199,107,.08);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}
.tarot-flow-rail b,
.tarot-flow-rail span {
  grid-column: 2;
}
.tarot-flow-rail b {
  display: block;
  color: var(--tarot-primary-deep);
  font-size: 14px;
  margin-bottom: -8px;
}
.tarot-inline-note {
  margin-top: 18px;
  padding-left: 54px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}
.tarot-output {
  margin-top: 32px;
}
.tarot-before-loop {
  max-width: 1040px;
  margin: 34px auto 0;
}
.tarot-subscribe-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px clamp(20px, 4vw, 44px);
  border: 1px solid rgba(244,199,107,.4);
  border-radius: var(--tarot-panel-radius);
  background:
    radial-gradient(520px 260px at 88% 0%, rgba(139,92,246,.24), transparent 65%),
    radial-gradient(420px 220px at 6% 100%, rgba(244,199,107,.18), transparent 60%),
    rgba(19,21,26,.9);
  box-shadow: 0 0 0 1px rgba(244,199,107,.07) inset, 0 30px 70px -34px rgba(0,0,0,.85), 0 0 70px -32px rgba(244,199,107,.3);
}
.tarot-subscribe-preview h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin: 6px 0 10px;
}
.tarot-subscribe-preview p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75;
  max-width: 520px;
}
.tarot-subscribe-preview ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}
.tarot-subscribe-preview .btn {
  white-space: nowrap;
}

/* Real-image tarot card layout */
.tarot-spread {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  margin-top: 24px;
}
.tarot-real-card {
  width: 200px;
  background: linear-gradient(180deg, #FBF7EF, #F2ECDF);
  border: 1px solid var(--line-gold);
  border-radius: 14px;
  padding: 14px 14px 18px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(35,37,63,.06), 0 30px 60px -28px rgba(35,37,63,.32);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: default;
  position: relative;
}
.tarot-real-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 8px rgba(35,37,63,.10), 0 38px 70px -28px rgba(35,37,63,.40);
}
.tarot-real-card .pos-label {
  font-family: var(--display); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
  margin-bottom: 10px;
}
.tarot-real-card .card-img-wrap {
  width: 100%; aspect-ratio: 3/4;
  border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #1c2142 0%, #11142d 100%);
  border: 1px solid rgba(201, 162, 75, .4);
  box-shadow: 0 12px 28px -14px rgba(16, 20, 46, .55);
  position: relative;
}
.tarot-real-card .card-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.tarot-real-card.reversed .card-img { transform: rotate(180deg) }
.tarot-real-card .card-back {
  width: 100%; height: 100%;
  background-image: url('/assets/tarot/tarot-card-back.webp');
  background-size: cover;
  background-position: center;
}
.tarot-real-card .card-name-cn {
  font-family: var(--cjk); font-size: 17px; font-weight: 600;
  color: var(--ink); margin-top: 12px;
}
.tarot-real-card .card-name-en {
  font-family: var(--display); font-size: 11.5px; font-style: italic;
  color: var(--ink-soft); margin-top: 2px;
}
.tarot-real-card .card-orient {
  display: inline-block; font-size: 11px; letter-spacing: .12em;
  margin-top: 8px; padding: 3px 10px; border-radius: 9999px;
  font-weight: 600;
}
.tarot-real-card .card-orient.upright {
  background: rgba(46, 125, 50, .12); color: #2E7D32;
}
.tarot-real-card .card-orient.reversed {
  background: rgba(154, 119, 39, .15); color: var(--gold-deep);
}

/* Shuffle button — large rich icon, no SVG placeholder */
.shuffle-btn {
  position: relative; padding: 17px 40px;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #211805; border: 1px solid var(--gold-deep);
  border-radius: 9999px;
  box-shadow: 0 12px 30px -18px rgba(74,55,16,.55), inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 rgba(244,199,107,0);
  letter-spacing: 0; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease, filter .25s ease; display: inline-flex; align-items: center; gap: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
  animation: tarot-cta-glow 3.2s ease-in-out infinite;
}
.shuffle-btn:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -18px rgba(74,55,16,.68), inset 0 1px 0 rgba(255,255,255,.42), 0 0 54px -10px rgba(244,199,107,.6);
  color: #211805; border-color: var(--gold-deep);
}
@keyframes tarot-cta-glow {
  0%, 100% { box-shadow: 0 12px 30px -18px rgba(74,55,16,.55), inset 0 1px 0 rgba(255,255,255,.35), 0 0 30px -10px rgba(244,199,107,.35); }
  50% { box-shadow: 0 12px 30px -18px rgba(74,55,16,.55), inset 0 1px 0 rgba(255,255,255,.35), 0 0 48px -8px rgba(244,199,107,.62); }
}
@media (prefers-reduced-motion: reduce) {
  .shuffle-btn { animation: none; }
}
.shuffle-btn:active { transform: translateY(0) }
.shuffle-btn:focus-visible,
.spread-chip:focus-visible,
.scenario-chip:focus-visible,
.tarot-luna-cta:focus-visible,
.tarot-subscribe-preview .btn:focus-visible {
  outline: 3px solid rgba(244,199,107,.55);
  outline-offset: 3px;
}
.shuffle-btn::before {
  content: ''; width: 36px; height: 36px;
  background-image: url('/assets/tarot/shuffle-icon.svg');
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(1.2);
}
.shuffle-btn:disabled { opacity: .6; cursor: not-allowed; transform: none }

/* ---------- Tarot ritual: spread picker · shuffle · fan · flip ---------- */

/* 牌阵选择器 */
.spread-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.spread-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  min-width: 0; min-height: 86px; padding: 12px 13px; border-radius: 12px;
  border: 1px solid rgba(201,162,75,.34); background: #fff; cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
  text-align: left;
}
.spread-chip:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(35,37,63,.5) }
.spread-chip.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(244,199,107,.18), rgba(244,199,107,.06));
  box-shadow: 0 0 0 1px var(--gold) inset, 0 14px 30px -20px rgba(0,0,0,.55);
}
.spread-chip-name { font-family: var(--display); font-size: 15px; color: var(--ink); font-weight: 600 }
.spread-chip-count { font-size: 11px; letter-spacing: .08em; color: var(--gold-deep); font-weight: 600 }
.spread-chip-desc { font-size: 11px; color: var(--ink-soft); text-align: left; line-height: 1.35 }
.tarot-intake {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 16px;
}
.scenario-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scenario-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}
.scenario-chip:hover { border-color: var(--gold-deep); color: var(--ink) }
.scenario-chip.active {
  border-color: var(--gold-deep);
  background: linear-gradient(180deg, rgba(244,199,107,.22), rgba(244,199,107,.1));
  color: var(--gold-soft);
}

.tarot-stage { display: flex; flex-direction: column; align-items: center }
.tarot-deck-status {
  width: min(1040px, 100%);
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(244,199,107,.12), rgba(244,199,107,.05));
  color: var(--gold-soft);
  font-family: var(--cjk);
  font-size: 13px;
  letter-spacing: .03em;
  text-align: center;
}
.ritual-hint {
  margin: 18px 0 4px; font-family: var(--cjk); font-size: 13.5px;
  letter-spacing: .04em; color: var(--ink-soft);
}

/* 阶段 1：洗牌叠牌动画 */
.shuffle-stage { position: relative; width: 132px; height: 188px; margin: 32px auto 6px }
.shuffle-card {
  position: absolute; inset: 0; border-radius: 12px;
  border: 1px solid var(--gold);
  background-image: url('/assets/tarot/tarot-card-back.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 38px -22px rgba(16,20,46,.7);
  transform: translateY(calc(var(--n) * -2px));
}
.shuffle-stage.shuffling .shuffle-card {
  animation: tarot-riffle 1.1s cubic-bezier(.45,.05,.35,1) both;
  animation-delay: calc(var(--n) * .06s);
}
@keyframes tarot-riffle {
  0%   { transform: translateX(0) translateY(0) rotate(0) }
  22%  { transform: translateX(-66px) translateY(-6px) rotate(-13deg) }
  50%  { transform: translateX(64px) translateY(2px) rotate(12deg) }
  74%  { transform: translateX(-22px) translateY(-3px) rotate(-5deg) }
  100% { transform: translateX(0) translateY(0) rotate(0) }
}

/* 阶段 1.5：切牌 */
.cut-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1040px, 100%);
  margin: 8px 0 4px;
}
.cut-stack {
  position: relative;
  width: 108px;
  height: 168px;
  margin: 10px auto 6px;
}
.cut-card {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid var(--gold);
  background-image: url('/assets/tarot/tarot-card-back.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 38px -22px rgba(16,20,46,.7);
  transform: translateY(calc(var(--i) * -1.5px));
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i) * .02s);
}
.cut-stage.cutting .cut-card.cut-top {
  transform: translate(-54px, -30px) rotate(-14deg);
  z-index: 2;
}
.cut-stage.cutting .cut-card.cut-bottom {
  transform: translate(12px, 8px) rotate(5deg);
  z-index: 1;
}
.cut-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.cut-btn { min-width: 148px }
.cut-skip {
  min-width: 108px;
  color: var(--ink-soft);
  border-color: var(--line);
}

/* 阶段 2：揭牌槽 */
.reveal-slots { margin-top: 12px }
.reveal-slot { width: 180px; display: flex; flex-direction: column; align-items: center }
.reveal-slots.spread-relationship .reveal-slot { width: 150px }
.reveal-slots.spread-celtic .reveal-slot { width: 122px }
.slot-placeholder {
  width: 100%; aspect-ratio: 3/4; border-radius: 12px;
  border: 1.5px dashed var(--line-gold);
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: rgba(201,162,75,.05);
}
.slot-pos-label {
  font-family: var(--display); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); font-weight: 600; padding: 0 6px;
}

/* 翻牌 3D */
.flip-card { width: 100%; perspective: 1100px }
.flip-inner {
  position: relative; width: 100%;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.flip-card.revealed .flip-inner { transform: rotateY(180deg) }
.flip-front, .flip-back { backface-visibility: hidden; -webkit-backface-visibility: hidden }
.flip-front {
  position: absolute; inset: 0; border-radius: 12px;
  border: 1px solid var(--gold);
  background-image: url('/assets/tarot/tarot-card-back.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 38px -22px rgba(16,20,46,.7);
}
.flip-back { transform: rotateY(180deg); position: relative }
.flip-back .tarot-real-card { width: 100%; padding: 12px 12px 16px }
.flip-back .tarot-real-card:hover { transform: none }

/* 阶段 3：扇形牌背 */
.tarot-fan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
  justify-items: center;
  gap: 10px 8px;
  width: min(1040px, 100%);
  margin: 14px auto 0;
  padding: 20px 10px 4px;
}
.fan-card {
  width: 56px; height: 88px; margin: 0; padding: 0;
  border-radius: 11px; border: 1px solid var(--gold);
  background-image: url('/assets/tarot/tarot-card-back.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 30px -18px rgba(16,20,46,.7);
  cursor: pointer; transform-origin: bottom center;
  transform: rotate(var(--angle)) translateY(26px);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .45s ease, box-shadow .2s ease;
  transition-delay: calc(var(--i) * .018s);
}
.tarot-fan.fanned .fan-card { opacity: 1; transform: rotate(var(--angle)) translateY(0) }
.fan-card:hover:not(.used) {
  transform: rotate(var(--angle)) translateY(-10px) scale(1.04); z-index: 6;
  box-shadow: 0 22px 40px -16px rgba(16,20,46,.85);
}
.fan-card.drawn {
  opacity: 0; pointer-events: none;
  transform: rotate(var(--angle)) translateY(-36px) scale(.75);
}
.tarot-fan.done .fan-card:not(.drawn) { opacity: .3; pointer-events: none }

.tarot-reading-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}
.tarot-output:has(.tarot-reading-bridge) + .tarot-before-loop {
  display: none;
}
.tarot-continue-card,
.tarot-safe-note {
  border: 1px solid rgba(201,162,75,.28);
  border-radius: var(--r-lg);
  background: rgba(19,21,26,.82);
  box-shadow: var(--card-shadow);
}
.tarot-continue-card h3,
.tarot-safe-note h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--tarot-primary-deep);
  margin-bottom: 10px;
}
.tarot-continue-card p,
.tarot-safe-note p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.tarot-continue-card {
  padding: 22px;
}
.tarot-bridge-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 15px;
  border-radius: var(--r-md);
  background: #F4F1FF;
  border: 1px solid rgba(52,58,114,.18);
}
.tarot-bridge-panel b {
  display: block;
  color: var(--tarot-primary-deep);
  font-family: var(--display);
  font-size: 17px;
  margin-bottom: 5px;
}
.tarot-bridge-panel span {
  display: block;
  color: var(--ink-soft);
  font-size: 12.8px;
  line-height: 1.6;
}
.tarot-luna-cta {
  min-height: 44px;
  border-radius: var(--r-pill);
  background: var(--tarot-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.tarot-luna-cta:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.tarot-followup-hint {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.tarot-followup-hint b {
  color: var(--gold-deep);
  font-weight: 700;
}
.tarot-continue-divider {
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, transparent, rgba(201,162,75,.35), transparent);
}
.tarot-upsell-block {
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(244,199,107,.18);
  background:
    linear-gradient(135deg, rgba(244,199,107,.16), rgba(19,21,26,.9)),
    var(--surface-warm);
}
.tarot-upsell-block h3 {
  margin-top: 8px;
}
.tarot-safe-note {
  padding: 18px;
}
.tarot-member-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.tarot-member-benefits div {
  padding: 12px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,162,75,.18);
}
.tarot-member-benefits b {
  display: block;
  font-size: 12px;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.tarot-member-benefits span {
  display: block;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.55;
}
.tarot-safe-note {
  background: rgba(111,138,120,.12);
  border-color: rgba(111,138,120,.35);
}
.tarot-safe-note h3 {
  color: #BFD6C2;
}
.tarot-safe-note p {
  color: #9FB6A2;
}
.tarot-about {
  max-width: 1040px;
  margin: 36px auto 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.tarot-about summary {
  cursor: pointer;
  padding: 8px 0;
  font-family: var(--display);
  color: var(--gold-deep);
}
.tarot-about div {
  padding: 12px 0 4px;
  line-height: 1.7;
}

@media (max-width: 680px) {
  .tarot-page {
    padding-left: 16px;
    padding-right: 16px;
  }
  .tarot-hero {
    display: block;
  }
  .tarot-hero h2 {
    font-size: 38px;
  }
  .tarot-hero .sub {
    font-size: 14px;
  }
  .tarot-value-strip {
    grid-template-columns: 1fr;
  }
  .tarot-hero-actions {
    display: grid;
  }
  .tarot-reading-desk {
    margin-top: 22px;
    padding: 14px;
    border-radius: var(--r-lg);
  }
  .tarot-desk-head {
    display: block;
  }
  .tarot-desk-head span {
    display: block;
    text-align: left;
    margin-top: 5px;
  }
  .tarot-desk-path {
    grid-template-columns: 1fr;
  }
  .tarot-reading-flow {
    margin-top: 20px;
    padding-top: 20px;
  }
  .tarot-flow-copy h3 {
    font-size: 23px;
  }
  .tarot-preview-deck {
    height: 166px;
    margin: 20px 0 12px;
  }
  .tarot-preview-deck span {
    width: 98px;
    height: 144px;
  }
  .tarot-preview-deck span:nth-child(1) { transform: translateX(-82px) rotate(-12deg) }
  .tarot-preview-deck span:nth-child(2) { transform: translateX(-49px) rotate(0deg) }
  .tarot-preview-deck span:nth-child(3) { transform: translateX(-16px) rotate(12deg) }
  .spread-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .spread-chip {
    min-height: 82px;
    padding: 11px;
  }
  .tarot-desk-action {
    display: grid;
  }
  .shuffle-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 18px;
  }
  .tarot-subscribe-preview {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    text-align: left;
  }
  .tarot-subscribe-preview .btn {
    width: 100%;
    justify-content: center;
  }
  .tarot-inline-note {
    padding-left: 0;
  }
  .tarot-reading-bridge {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tarot-bridge-panel {
    grid-template-columns: 1fr;
  }
  .tarot-luna-cta {
    width: 100%;
  }
  .tarot-member-benefits {
    grid-template-columns: 1fr;
  }
  .tarot-fan {
    grid-template-columns: repeat(7, 44px);
    width: auto;
    gap: 8px 6px;
    margin-top: 4px;
    padding-left: 0;
    padding-right: 0;
  }
  .fan-card { width: 44px; height: 70px; border-radius: 9px }
  .reveal-slot { width: 150px }
  .reveal-slots.spread-celtic .reveal-slot { width: 104px }
  .reveal-slots.spread-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .reveal-slots.spread-three .reveal-slot {
    width: auto;
  }
  .flip-back .tarot-real-card {
    padding: 7px;
  }
  .flip-back .tarot-real-card .card-name-cn {
    font-size: 13px;
  }
}
@media (max-width: 1040px) {
  .tarot-desk-action {
    margin-top: 20px;
  }
}
@media (min-width: 960px) {
  .tarot-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 500px);
    align-items: start;
    gap: 44px;
    max-width: 1180px;
  }
  .tarot-hero-copy {
    width: 100%;
  }
}

/* Tarot input — card grids adapt to wider page shell */
@media (min-width: 720px) {
  .tarot-reading-desk .scenario-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .tarot-reading-desk .scenario-chip {
    justify-content: center;
    text-align: center;
  }

  .spread-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tarot-flow-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
  }

  .tarot-inline-note {
    padding-left: 0;
  }
}

@media (min-width: 720px) and (max-width: 959px) {
  .tarot-reading-desk .spread-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .tarot-reading-desk .spread-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tarot-reading-desk .scenario-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .shuffle-stage.shuffling .shuffle-card { animation: none }
  .flip-inner, .fan-card, .cut-card { transition: none }
}

.disclaimer { background: rgba(154, 119, 39, 0.08); border: 1px solid var(--line-gold); padding: 12px 16px; border-radius: var(--r-md); font-size: 12px; color: var(--ink-soft); line-height: 1.6; margin: 14px 0 }
.badge { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600 }
.badge-success { background: #E8F0FF; color: #1E4FA8 }
.badge-warn { background: #FFF1E0; color: #A35900 }
.pre { font-family: ui-monospace, monospace; font-size: 12.5px; background: var(--surface); padding: 12px; border-radius: var(--r-md); white-space: pre-wrap; word-break: break-word; border: 1px solid var(--line) }
.stream-panel {
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(255, 250, 238, .96), rgba(255, 255, 255, .9));
  border-radius: var(--r-md);
  padding: 16px;
  margin-top: 14px;
}
.stream-head {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
}
.stream-head small {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-weight: 400;
}
.stream-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.stream-progress span {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 7px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.72);
}
.stream-progress[data-stage="chart"] [data-step="chart"],
.stream-progress[data-stage="llm"] [data-step="chart"],
.stream-progress[data-stage="llm"] [data-step="llm"],
.stream-progress[data-stage="save"] [data-step="chart"],
.stream-progress[data-stage="save"] [data-step="llm"],
.stream-progress[data-stage="save"] [data-step="save"],
.stream-progress[data-stage="done"] span {
  border-color: var(--line-gold);
  background: #FFF7E2;
  color: var(--gold-deep);
}
.stream-preview {
  min-height: 110px;
  max-height: 220px;
  overflow: auto;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.78);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px; color: var(--ink-soft); padding: 14px 32px;
  background: rgba(251, 247, 239, 0.6); border-bottom: 1px solid var(--line);
}
.breadcrumb a {
  color: var(--ink-soft); text-decoration: none;
  padding: 4px 6px; border-radius: 4px; transition: color .12s, background .12s;
}
.breadcrumb a:hover { color: var(--ink); background: rgba(154,119,39,.08); text-decoration: none }
.breadcrumb .sep { margin: 0 6px; color: var(--ink-soft); opacity: .5 }
.breadcrumb .current { color: var(--ink); font-weight: 500 }

/* Tooltip on hover */
.tooltip { position: relative; border-bottom: 1px dotted var(--gold-deep); cursor: help }
.tooltip::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px;
  font-size: 12px; white-space: nowrap; max-width: 280px;
  opacity: 0; pointer-events: none; transition: opacity .15s;
  z-index: 200; line-height: 1.5; font-weight: 400;
}
.tooltip:hover::after { opacity: 1 }

/* Service card grid items get clickable cursor */
.svc-card { cursor: pointer }

/* Gender radio group */
.radio-group { display: flex; gap: 12px; margin-top: 4px }
.radio-group label {
  flex: 1; padding: 10px 16px; border: 1px solid var(--line-strong);
  border-radius: var(--r-md); text-align: center; cursor: pointer;
  font-size: 14px; transition: border-color .15s ease, background .15s ease, color .15s ease; user-select: none;
}
.radio-group label:hover { border-color: var(--gold-deep); background: var(--surface-warm) }
.radio-group input[type="radio"] { display: none }
.radio-group input[type="radio"]:checked + span { color: var(--gold-deep); font-weight: 600 }
.radio-group label:has(input:checked) {
  border-color: var(--gold-deep); background: linear-gradient(180deg, #FFF7E2, #FBF1D3);
}

/* Dark cosmic redesign — production layer */
:root {
  color-scheme: dark only;
  --ink: #F7F8FF;
  --ink-soft: #D8DBEA;
  --bg: #040618;
  --bg-2: #090A12;
  --surface: #13151A;
  --surface-warm: #1C1E24;
  --primary: #8B5CF6;
  --primary-soft: #B79CFF;
  --gold: #F4C76B;
  --gold-soft: #FFE1A0;
  --gold-deep: #F4C76B;
  --violet: #8B5CF6;
  --night: #05060B;
  --night-2: #101223;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .17);
  --line-gold: rgba(244, 199, 107, .28);
  --line-night: rgba(244, 199, 107, .20);
  --card-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 28px 86px -46px rgba(0,0,0,.86);
  --r-md: 12px;
  --r-lg: 20px;
  --font: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --display: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
  --cjk: 'Noto Sans SC', 'PingFang SC', sans-serif;
}

html {
  background: var(--bg);
}

body {
  background:
    radial-gradient(900px 520px at 78% 5%, rgba(139, 92, 246, .22), transparent 62%),
    radial-gradient(680px 460px at 9% 12%, rgba(244, 199, 107, .11), transparent 64%),
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 56px 56px, 56px 56px, auto;
  color: var(--ink);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 24%, rgba(255,255,255,.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 18%, rgba(244,199,107,.72) 0 1px, transparent 1.7px),
    radial-gradient(circle at 52% 62%, rgba(183,156,255,.68) 0 1px, transparent 1.6px),
    radial-gradient(circle at 24% 78%, rgba(255,255,255,.54) 0 1px, transparent 1.7px);
  background-size: 220px 180px, 260px 210px, 310px 240px, 280px 260px;
  opacity: .48;
}

a {
  color: var(--primary-soft);
}

a:hover {
  color: var(--gold);
}

.nav {
  min-height: 72px;
  padding: 0 32px;
  background: rgba(9, 10, 18, .78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(20px);
}

.brand {
  letter-spacing: -.02em;
}

.brand svg,
.brand .zh {
  color: var(--gold);
}

.nav-links a {
  color: #C4C7D6;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  background: linear-gradient(90deg, var(--gold), var(--primary));
}

.nav-dropdown-menu {
  background: rgba(19, 21, 26, .96);
  border-color: var(--line-strong);
  box-shadow: var(--card-shadow);
}

.nav-dropdown-menu a:hover {
  background: rgba(139,92,246,.14);
}

.nav-upgrade-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(183,156,255,.42);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(139,92,246,.13);
  text-decoration: none;
  font-size: 13px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.nav-upgrade-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(244,199,107,.56);
  background: rgba(244,199,107,.12);
  text-decoration: none;
}

.nav-upgrade-pill strong {
  color: var(--ink);
  font-weight: 800;
}

.nav-upgrade-pill span:last-child {
  color: var(--ink-soft);
}

.nav-coin {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #1A1204;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}

.nav-coin .nav-menu-icon {
  width: 16px;
  height: 16px;
}

.nav-account-menu {
  position: relative;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-login-btn {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(222, 187, 112, 0.28);
  border-radius: 999px;
  background: rgba(222, 187, 112, 0.08);
  color: #f5e6c0;
  font: 600 13px var(--font);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-login-btn:hover {
  background: rgba(222, 187, 112, 0.14);
  border-color: rgba(222, 187, 112, 0.45);
  color: #fff;
}

.nav-login-btn[hidden],
.nav-avatar-btn[hidden] {
  display: none !important;
}

.nav-avatar-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(244,199,107,.24);
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #5E9E34, #78AD42);
  font: 800 13px var(--font);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.nav-avatar-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(244,199,107,.52);
  box-shadow: 0 10px 32px -20px rgba(244,199,107,.9);
}

.nav-account-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(310px, calc(100vw - 24px));
  display: none;
  padding: 14px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  color: #1F2937;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 60px -28px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
}

.nav-account-menu.open .nav-account-popover {
  display: grid;
  gap: 8px;
}

.nav-account-profile {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 4px 4px 10px;
}

.nav-account-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #5E9E34, #78AD42);
  font-weight: 800;
}

.nav-account-profile b,
.nav-account-profile span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-account-profile span {
  color: #6B7280;
  font-size: 13px;
}

.nav-account-plan-card {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F7F8FB;
}

.nav-account-plan-card span {
  color: #6B7280;
  font-weight: 700;
}

.nav-account-plan-card a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 9px;
  color: white;
  background: #654CFF;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.nav-account-popover > a,
.nav-account-popover > button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 8px;
  border: 0;
  border-radius: 10px;
  color: #263041;
  background: transparent;
  font: 500 14px var(--font);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav-account-popover > a:hover,
.nav-account-popover > button:hover {
  background: #F7F8FB;
  color: #111827;
}

.nav-account-popover hr {
  width: 100%;
  height: 1px;
  border: 0;
  background: #EEF0F5;
}

.nav-account-popover [hidden] {
  display: none !important;
}

.nav-menu-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.nav-logout {
  color: #EF4444 !important;
}

.nav-account-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 8px;
  color: #263041;
  font: 500 14px var(--font);
}

.nav-account-lang-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-lang-dropdown {
  position: relative;
}

.nav-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: var(--r-pill);
  background: #F7F8FB;
  color: #263041;
  font: 600 13px var(--font);
  cursor: pointer;
}

.nav-lang-trigger:hover { background: #EEF0F5 }

.nav-lang-chevron {
  width: 14px;
  height: 14px;
  transition: transform .15s ease;
}

.nav-lang-dropdown.open .nav-lang-chevron { transform: rotate(180deg) }

.nav-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  min-width: 120px;
  margin: 0;
  padding: 6px;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .28);
}

.nav-lang-dropdown.open .nav-lang-menu { display: flex }

.nav-lang-menu li {
  padding: 8px 10px;
  border-radius: 8px;
  font: 500 13px var(--font);
  color: #263041;
  cursor: pointer;
  white-space: nowrap;
}

.nav-lang-menu li:hover { background: #F7F8FB }

.nav-lang-menu li.active {
  background: #654CFF;
  color: #FFFFFF;
  font-weight: 700;
}

.language-switch select,
.field input,
.field select,
.field textarea,
.chat-input input,
.chat-input textarea {
  min-height: 46px;
  background: var(--surface-warm);
  border-color: var(--line-strong);
  color: var(--ink);
}

.language-switch select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.chat-input input:focus,
.chat-input textarea:focus,
.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(139, 92, 246, .18);
}

.btn {
  min-height: 44px;
  border-radius: var(--r-md);
  color: var(--ink);
  background: var(--surface-warm);
  border-color: transparent;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 34px -24px rgba(244,199,107,.7);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4F46E5);
  color: #fff;
  border-color: rgba(183,156,255,.52);
  box-shadow: 0 0 22px rgba(139,92,246,.32);
}

.btn-gold {
  color: #1A1204;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-color: rgba(244,199,107,.62);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,.035);
  border-color: var(--line-strong);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.account-page {
  color-scheme: dark;
  background:
    linear-gradient(180deg, rgba(75,15,28,.40), rgba(4,6,24,.96) 360px),
    var(--bg);
}

.account-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.settings-shell {
  width: min(1120px, calc(100% - 48px));
}

.account-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid rgba(244,199,107,.24);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(244,199,107,.12), rgba(139,92,246,.10)),
    rgba(9,10,18,.68);
  box-shadow: 0 28px 80px -58px rgba(244,199,107,.85);
}

.account-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.account-hero p,
.account-panel p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.account-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 16px;
  align-items: start;
}

.settings-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.settings-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(19,21,26,.78);
}

.settings-sidebar a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.settings-sidebar a:hover,
.settings-sidebar a.active {
  color: var(--ink);
  background: rgba(255,255,255,.07);
}

.settings-content {
  display: grid;
  gap: 16px;
}
.settings-content .account-panel {
  scroll-margin-top: 96px;
}

.settings-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.account-main,
.account-side {
  display: grid;
  gap: 16px;
}

.account-panel,
.account-mini-bind {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(19,21,26,.78);
}

.account-panel.member-panelish,
.account-mini-bind {
  border-color: rgba(244,199,107,.28);
  background: linear-gradient(135deg, rgba(244,199,107,.10), rgba(139,92,246,.12));
}

.account-section-head {
  display: grid;
  gap: 6px;
}

.account-section-head h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.account-section-head h2::before {
  content: "";
  width: 2px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--primary));
}

.account-field {
  gap: 8px;
}

.account-field input,
.account-inline-form input {
  width: 100%;
  min-height: 46px;
}

.account-actions,
.account-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.account-actions[hidden] {
  display: none;
}

.account-actions.stack {
  display: grid;
}

.account-actions .btn,
.account-inline-form .btn {
  min-width: 148px;
}

.account-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.account-live {
  min-width: 0;
}

.account-message,
.account-empty,
.account-callout {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  background: rgba(5,6,11,.44);
  font-size: 13px;
  line-height: 1.6;
}

.account-message.error,
.account-callout.is-warn {
  border-color: rgba(248,113,113,.32);
  color: #FFCBC7;
  background: rgba(248,113,113,.08);
}

.account-message a {
  overflow-wrap: anywhere;
}

.account-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-status-grid div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md);
  background: rgba(5,6,11,.38);
}

.account-status-grid span,
.account-row small,
.account-callout small,
.account-note span {
  color: var(--ink-soft);
  font-size: 12px;
}

.account-status-grid b,
.account-row b,
.account-callout b {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.account-list {
  display: grid;
  gap: 8px;
}

.account-list.compact {
  gap: 6px;
}

.account-row {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md);
  color: inherit;
  background: rgba(5,6,11,.36);
  text-decoration: none;
}

.account-row:hover {
  border-color: rgba(244,199,107,.42);
  text-decoration: none;
}

.account-row > span:first-child,
.account-callout {
  display: grid;
  gap: 4px;
}

.account-row > span:last-child {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* "我的报告"横向 Tab（占星 / 塔罗 / 起名） */
.account-assets-tabs {
  display: grid;
  gap: 12px;
}
.account-assets-tablist {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow-x: auto;
  scrollbar-width: none;
}
.account-assets-tablist::-webkit-scrollbar {
  display: none;
}
.account-assets-tab {
  flex: 1 1 0;
  min-width: 88px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  font: 600 13px/1.2 var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.account-assets-tab small {
  min-width: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(203, 213, 225, 0.82);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.account-assets-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}
.account-assets-tab.is-active {
  color: #f5e6c0;
  background: rgba(222, 187, 112, 0.14);
  box-shadow: inset 0 0 0 1px rgba(222, 187, 112, 0.2);
}
.account-assets-tab.is-active small {
  background: rgba(222, 187, 112, 0.18);
  color: #f5e6c0;
}
.account-assets-tabpanels {
  min-height: 120px;
}
.account-assets-tabpanel {
  display: none;
}
.account-assets-tabpanel.is-active {
  display: block;
  animation: astraSettingsFade 0.16s ease;
}
.account-assets-toolbar {
  margin-bottom: 4px;
}
.astra-settings-modal .account-assets-tablist {
  margin-top: 2px;
}
.astra-settings-modal .settings-split.account-assets-toolbar {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.astra-settings-modal .settings-split.account-assets-toolbar .btn {
  justify-self: start;
}
@media (min-width: 560px) {
  .astra-settings-modal .settings-split.account-assets-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

/* legacy stacked groups — kept for any non-modal fallback */
.account-assets-groups {
  display: grid;
  gap: 18px;
}
.account-assets-group-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-assets-group-title small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255,255,255,.08);
  padding: 1px 7px;
  border-radius: 999px;
}
/* 报告付费状态徽章 */
.asset-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.asset-badge-paid {
  color: var(--gold);
  background: rgba(244,199,107,.12);
  border-color: rgba(244,199,107,.32);
}
.asset-badge-free {
  color: var(--ink-soft);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}
/* paywall "其他开通方式"分隔线 + 备选链接 */
.paywall-alt-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 8px;
  color: var(--ink-soft);
  font-size: 12px;
}
.paywall-alt-divider::before,
.paywall-alt-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.10);
}
.paywall-alt-link {
  display: block;
  text-align: center;
  width: 100%;
}

/* Paywall page redesign */
.paywall-page .section.paywall-shell {
  padding-top: 48px;
  padding-bottom: 56px;
}
.paywall-hero {
  max-width: 760px;
  margin: 0 auto 28px;
}
.paywall-hero .sub {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}
.paywall-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 32px;
}
.paywall-pillar {
  display: grid;
  gap: 10px;
  padding: 18px 16px;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-lg);
  background: rgba(19, 21, 26, .78);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(14px);
}
.paywall-pillar-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--gold);
  background: rgba(244, 199, 107, .08);
  border: 1px solid rgba(244, 199, 107, .18);
}
.paywall-pillar-icon svg {
  width: 20px;
  height: 20px;
}
.paywall-pillar h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.paywall-pillar p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.paywall-tarot-unlock {
  max-width: 720px;
  margin: 0 auto 28px;
}
.paywall-tarot-card {
  position: relative;
  border-color: var(--line-gold);
}
.paywall-tarot-badge,
.paywall-plan-badge {
  position: absolute;
  top: -10px;
  left: 20px;
}
.paywall-tarot-price,
.paywall-plan-price {
  font-family: var(--display);
  font-size: 38px;
  margin: 10px 0;
  line-height: 1.1;
}
.paywall-tarot-price small,
.paywall-plan-price small {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.paywall-plan-note {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 13px;
}
.paywall-plans {
  max-width: 980px;
  margin: 0 auto 30px;
}
.paywall-plans-compare {
  align-items: stretch;
}
.paywall-plans--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 600px) {
  .paywall-plans--dual {
    grid-template-columns: 1fr;
  }
}
.paywall-plan {
  display: flex;
  flex-direction: column;
}
.paywall-plan[hidden] {
  display: none !important;
}
.paywall-plan--static {
  position: relative;
  opacity: 0.84;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 20, 0.58);
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.paywall-plan--static:hover {
  opacity: 0.94;
  border-color: rgba(244, 199, 107, 0.28);
}
.paywall-plan--static:focus-visible {
  outline: 2px solid rgba(244, 199, 107, 0.4);
  outline-offset: 2px;
}
.paywall-plan--paid {
  position: relative;
  cursor: pointer;
  border-color: rgba(244, 199, 107, 0.22);
  background: rgba(12, 14, 20, 0.72);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.paywall-plan--paid:hover {
  border-color: rgba(244, 199, 107, 0.42);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.paywall-plan--paid:focus-visible {
  outline: 2px solid rgba(244, 199, 107, 0.4);
  outline-offset: 2px;
}
.paywall-plan-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 4px;
}
.paywall-plan-static-foot {
  margin-top: 14px;
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
.paywall-plan-static-foot:last-child {
  margin-top: auto;
}
.paywall-plan-checkout-hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: rgba(244, 199, 107, 0.88);
}
.paywall-plan-cta {
  width: 100%;
  margin-top: auto;
  white-space: nowrap;
  font-size: 15px;
  padding: 12px 14px;
  line-height: 1.2;
  text-align: center;
}
/* 会员已开通：只禁用点击，不走全局 .btn.disabled 的 55% 透明度蒙层 */
.btn.btn-gold.paywall-plan-cta.paywall-plan-cta--member,
.btn.btn-gold.paywall-plan-cta[aria-disabled="true"].paywall-plan-cta--member {
  opacity: 1;
  filter: none;
  pointer-events: none;
  cursor: default;
  transform: none;
}
.paywall-plan-nudge {
  margin-top: 8px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease;
}
.paywall-plan-nudge:hover {
  background: rgba(244, 199, 107, 0.08);
}
.paywall-plan--featured {
  position: relative;
  border-color: var(--line-gold);
}
.paywall-plan--checkout {
  z-index: 2;
  transform: scale(1.03);
  box-shadow:
    0 0 0 1px rgba(244, 199, 107, 0.35),
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(244, 199, 107, 0.12);
}
@keyframes paywall-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 199, 107, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(244, 199, 107, 0); }
}
.paywall-plan-cta--pulse {
  animation: paywall-cta-pulse 0.75s ease 2;
}
.paywall-tarot-cta {
  width: 100%;
  margin-top: auto;
}
.paywall-benefit-list {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 0;
}
.paywall-benefit-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.paywall-benefit-list--soft {
  color: var(--ink-soft);
}
.paywall-check {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(244, 199, 107, .14);
  border: 1px solid rgba(244, 199, 107, .42);
  position: relative;
}
.paywall-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid var(--gold);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.paywall-check--muted {
  opacity: .45;
  border-style: dashed;
}
.paywall-check--muted::after {
  display: none;
}
.paywall-tarot-alt {
  text-align: center;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 13px;
}
.paywall-loop {
  max-width: 980px;
  margin: 0 auto 28px;
}
.paywall-security {
  max-width: 980px;
  margin: 0 auto;
}

.account-note {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(244,199,107,.22);
  border-radius: var(--r-lg);
  background: rgba(244,199,107,.06);
}

.account-mini-bind {
  width: min(760px, 100%);
  margin: 16px auto 0;
  text-align: left;
}

.account-mini-bind h3 {
  margin: 0;
  font-size: 20px;
}

.account-mini-bind p {
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .account-shell {
    width: min(100% - 28px, 720px);
    padding-top: 28px;
  }
  .account-layout,
  .settings-layout,
  .account-status-grid,
  .account-inline-form {
    grid-template-columns: 1fr;
  }
  .settings-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    overflow: visible;
    scrollbar-width: auto;
  }
  .settings-sidebar::-webkit-scrollbar { display: none }
  .settings-split {
    grid-template-columns: 1fr;
  }
  .account-actions .btn,
  .account-inline-form .btn {
    width: 100%;
  }
  .account-hero,
  .account-panel,
  .account-mini-bind {
    padding: 16px;
  }
}

@media (max-width: 720px) {
  .account-page .nav {
    overflow: visible;
  }
  .account-page .nav-links {
    display: none;
  }
  .account-page .brand {
    min-width: 0;
  }
  .account-page .nav-right {
    margin-left: auto;
  }
  .nav-upgrade-pill {
    padding: 0 10px;
  }
  .nav-upgrade-pill span:last-child {
    display: none;
  }
  .nav-account-popover {
    right: -6px;
  }
}

@media (max-width: 520px) {
  .nav-right {
    margin-left: auto;
  }
  .language-switch select {
    max-width: 92px;
  }
  .nav-upgrade-pill {
    min-width: 44px;
  }
  .settings-sidebar {
    margin: 0 -2px;
  }
}

/* ============ Account Settings Modal (PersonalModal-style) ============ */
.astra-settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px 14px;
  background: rgba(4, 6, 24, 0.62);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.astra-settings-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.astra-settings-modal {
  width: min(820px, 100%);
  height: min(580px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(222, 187, 112, 0.14);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(101, 76, 255, 0.16), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(222, 187, 112, 0.08), transparent 50%),
    linear-gradient(165deg, rgba(18, 14, 36, 0.98), rgba(8, 7, 20, 0.99));
  box-shadow:
    0 40px 100px -24px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s ease;
}
.astra-settings-backdrop.is-open .astra-settings-modal {
  transform: translateY(0) scale(1);
}
.astra-settings-layout {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.astra-settings-sidebar {
  width: 240px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 24px 12px 18px;
  background: rgba(255, 255, 255, 0.055);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 0 0 12px;
}
.astra-settings-sidebar-head {
  padding: 0 10px 10px;
}
.astra-settings-sidebar-head h2 {
  margin: 0;
  font-family: var(--display, 'Fraunces', Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  color: #F8FAFC;
  letter-spacing: -0.02em;
}
.astra-settings-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.astra-settings-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(226, 232, 240, 0.78);
  font: 500 13px/1.4 var(--font);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.astra-settings-menu-item .nav-menu-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.82;
}
.astra-settings-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #F8FAFC;
}
.astra-settings-menu-item.is-active {
  background: rgba(222, 187, 112, 0.12);
  color: #F5E6C0;
  box-shadow: inset 0 0 0 1px rgba(222, 187, 112, 0.18);
}
.astra-settings-delete-fold {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.astra-settings-delete-fold summary {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.astra-settings-delete-fold summary::-webkit-details-marker {
  display: none;
}
.astra-settings-delete-fold summary::before {
  content: "›";
  display: inline-block;
  margin-right: 6px;
  font-size: 0.75rem;
  opacity: 0.55;
  transition: transform 0.15s ease;
}
.astra-settings-delete-fold[open] summary::before {
  transform: rotate(90deg);
}
.astra-settings-delete-fold summary:hover {
  color: rgba(255, 255, 255, 0.58);
}
.astra-settings-delete-body {
  margin-top: 12px;
  padding-top: 4px;
}
.astra-settings-delete-hint {
  margin: 0 0 12px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.38);
}
.astra-settings-delete-body .field label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.astra-settings-delete-body .account-actions-compact {
  margin-bottom: 8px;
}
.astra-settings-sidebar-foot {
  margin-top: auto;
  padding: 10px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.astra-settings-delete {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #f87171;
  font: 500 13px/1.4 var(--font);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.astra-settings-delete .nav-menu-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.astra-settings-delete:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}
.astra-settings-delete.is-active-danger {
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}
.astra-settings-upgrade-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(222, 187, 112, 0.18);
  background: linear-gradient(135deg, rgba(222, 187, 112, 0.1), rgba(101, 76, 255, 0.08));
}
.astra-settings-upgrade-banner p {
  margin: 0;
  flex: 1 1 220px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
}
.astra-settings-upgrade-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5e6c0, #debb70);
  color: #1a1028;
  font: 600 13px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.astra-settings-upgrade-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(222, 187, 112, 0.55);
}
.astra-settings-upgrade-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #F5E6C0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.astra-settings-upgrade-link:hover { color: #fff; }
.astra-settings-panel-cta {
  margin-top: 16px;
  padding: 14px 16px;
}
.astra-settings-panel-cta h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #F8FAFC;
}
.astra-settings-panel-cta p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.78);
}
.account-launcher-card {
  width: min(420px, 100%);
  padding: 24px 20px;
  text-align: center;
}
.account-launcher-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}
.account-launcher-card .account-actions {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.polaris-hero-card { padding: 22px 24px; }
.polaris-hero-card h2 {
  margin: 8px 0 10px;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
}
.polaris-hero-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}
.polaris-hero-copy {
  display: grid;
  gap: 0;
  min-width: 0;
}
.polaris-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.legal-cta-panel {
  padding: 22px 24px;
  display: grid;
  gap: 16px;
  align-items: center;
}
.legal-cta-copy {
  min-width: 0;
}
.legal-cta-panel h3 { margin: 0 0 10px; font-family: var(--display); }
.legal-cta-panel .legal-cta-copy p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.legal-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.legal-cta-actions .btn {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}
@media (min-width: 600px) {
  .legal-cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 24px;
  }
  .legal-cta-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    width: max-content;
    max-width: min(100%, 240px);
  }
  .legal-cta-actions .btn {
    flex: 0 0 auto;
    width: 100%;
    min-width: max-content;
  }
}
@media (max-width: 599px) {
  .legal-cta-actions {
    flex-direction: column;
  }
  .legal-cta-actions .btn {
    width: 100%;
  }
}
.wrap-narrow p a,
.legal-cta-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}
.daily-upgrade-section { margin-top: 20px; margin-bottom: 8px; }
.daily-upgrade-panel { padding: 18px 20px; }
.daily-upgrade-panel h3 { margin: 0 0 8px; font-size: 18px; }
.daily-upgrade-panel p { margin: 0 0 14px; color: var(--ink-soft); line-height: 1.6; font-size: 14px; }
.daily-upgrade-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.astra-settings-sidebar-foot a {
  color: rgba(222, 187, 112, 0.85);
  text-decoration: none;
}
.astra-settings-sidebar-foot a:hover {
  text-decoration: underline;
}
.astra-settings-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  flex: 1;
  background: rgba(255, 255, 255, 0.018);
}
.astra-settings-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
  padding: 18px 20px 0;
}
.astra-settings-panel-heading {
  display: none;
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}
.astra-settings-panel-heading h3 {
  margin: 0;
  font-family: var(--display, 'Fraunces', Georgia, serif);
  font-size: 20px;
  font-weight: 600;
  color: #F8FAFC;
}
.astra-settings-panel-heading p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.78);
  max-width: 46ch;
}
.astra-settings-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 232, 240, 0.8);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.astra-settings-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}
.astra-settings-main-body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px 22px 22px;
}
.astra-settings-panel {
  display: none;
}
.astra-settings-panel.is-active {
  display: block;
  animation: astraSettingsFade 0.18s ease;
}
@keyframes astraSettingsFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.astra-settings-modal .account-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.astra-settings-modal .account-section-head {
  display: none;
}
.astra-settings-modal .account-status-grid {
  margin-top: 4px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.astra-settings-modal .account-status-grid b {
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}
.astra-settings-modal .account-status-grid div:nth-child(2) b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.01em;
}
.astra-settings-pref-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.astra-settings-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.astra-settings-pref-row > span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
}
.astra-settings-reports-card .account-panel-nested {
  display: grid;
  gap: 12px;
}
.astra-settings-reports-card .settings-split.account-assets-toolbar p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.72);
}
.astra-settings-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 4px;
}
.astra-settings-legal-links a {
  font-size: 13px;
  color: rgba(222, 187, 112, 0.9);
  text-decoration: none;
}
.astra-settings-legal-links a:hover {
  text-decoration: underline;
}
.astra-settings-mobile-tabs {
  display: none;
}
.account-launcher-shell {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 14px;
  padding: 48px 20px;
}
.account-launcher-hint {
  margin: 0;
  font-size: 14px;
  color: rgba(203, 213, 225, 0.72);
  text-align: center;
}

@media (max-width: 720px) {
  .astra-settings-backdrop {
    padding: 10px 8px;
    overflow: hidden;
  }
  .astra-settings-modal {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    height: min(640px, calc(100vh - 24px));
    border-radius: 16px;
  }
  .astra-settings-layout {
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  .astra-settings-sidebar {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    flex: 0 0 auto;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 12px 10px 10px;
  }
  .astra-settings-sidebar-head {
    display: none;
  }
  .astra-settings-panel-heading {
    display: block;
  }
  .astra-settings-main-head {
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 16px 0;
  }
  .astra-settings-main-body {
    padding: 8px 16px 18px;
  }
  .astra-settings-modal .account-status-grid {
    grid-template-columns: 1fr;
  }
  .astra-settings-upgrade-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .astra-settings-upgrade-btn {
    width: 100%;
  }
  .account-assets-tab {
    flex: 0 0 auto;
    min-width: 76px;
  }
  .astra-settings-sidebar-foot {
    margin-top: 0;
    padding: 0 8px 2px;
    border-top: 0;
  }
  .astra-settings-delete {
    min-height: 34px;
    font-size: 12px;
    justify-content: center;
  }
  .astra-settings-main {
    min-width: 0;
    overflow-x: hidden;
  }
  .astra-settings-menu {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .astra-settings-menu::-webkit-scrollbar { display: none; }
  .astra-settings-menu-item {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }
  .astra-settings-main-head {
    padding: 16px 16px 8px;
  }
  .astra-settings-main-body {
    padding: 0 16px 18px;
  }
}

/* ============ Astra Modal ============ */
.astra-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(4, 6, 24, 0.58);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.astra-modal-backdrop.is-open {
  opacity: 1;
}
.astra-modal {
  width: min(480px, 100%);
  max-height: min(88vh, 620px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #ffffff;
  color: #1F2937;
  border-radius: 18px;
  border: 1px solid rgba(35, 37, 63, 0.08);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transform: translateY(8px) scale(0.98);
  transition: transform 0.2s ease;
}
.astra-modal-backdrop.is-open .astra-modal {
  transform: translateY(0) scale(1);
}
.astra-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 12px;
  border-bottom: 1px solid rgba(35, 37, 63, 0.06);
}
.astra-modal-head-text {
  min-width: 0;
}
.astra-modal-title {
  font-family: var(--display, 'Fraunces', Georgia, serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0F172A;
}
.astra-modal-subtitle {
  margin-top: 4px;
  color: #6B7280;
  font-size: 13px;
  line-height: 1.55;
}
.astra-modal-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #F3F4F6;
  color: #6B7280;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.astra-modal-close:hover {
  background: #E5E7EB;
  color: #0F172A;
}
.astra-modal-close .nav-menu-icon {
  width: 18px;
  height: 18px;
}
.astra-modal-body {
  overflow-y: auto;
  padding: 18px 22px 10px;
}
.astra-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px 20px;
  border-top: 1px solid rgba(35, 37, 63, 0.06);
}
.astra-btn-ghost,
.astra-btn-primary {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font: 600 14px var(--font);
  cursor: pointer;
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.astra-btn-ghost {
  background: #F3F4F6;
  color: #374151;
}
.astra-btn-ghost:hover {
  background: #E5E7EB;
  color: #111827;
}
.astra-btn-primary {
  background: linear-gradient(135deg, #654CFF, #8B5CF6);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(101, 76, 255, 0.7);
}
.astra-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -12px rgba(101, 76, 255, 0.8);
}
.astra-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Confirm dialogs on dark pages (tarot, birth-chart, etc.) */
.astra-modal-backdrop--dark .astra-modal {
  background: linear-gradient(165deg, #16121f 0%, #0c0a14 100%);
  color: var(--ink, #F7F8FF);
  border: 1px solid var(--line-gold, rgba(244, 199, 107, .28));
  box-shadow: 0 32px 96px -24px rgba(0, 0, 0, .82), 0 0 0 1px rgba(255, 255, 255, .04) inset;
}
.astra-modal-backdrop--dark .astra-modal-head {
  border-bottom-color: rgba(255, 255, 255, .08);
}
.astra-modal-backdrop--dark .astra-modal-title {
  color: var(--ink, #F7F8FF);
}
.astra-modal-backdrop--dark .astra-modal-subtitle {
  color: var(--ink-soft, #D8DBEA);
}
.astra-modal-backdrop--dark .astra-modal-close {
  background: rgba(255, 255, 255, .06);
  color: var(--ink-soft, #D8DBEA);
}
.astra-modal-backdrop--dark .astra-modal-close:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--ink, #F7F8FF);
}
.astra-modal-backdrop--dark .astra-modal-foot {
  border-top-color: rgba(255, 255, 255, .08);
}
.astra-modal-backdrop--dark .astra-confirm-body {
  color: var(--ink-soft, #D8DBEA);
}
.astra-modal-backdrop--dark .astra-btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--ink-soft, #D8DBEA);
  border: 1px solid rgba(255, 255, 255, .12);
}
.astra-modal-backdrop--dark .astra-btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--ink, #F7F8FF);
}
.astra-modal-backdrop--dark .astra-btn-primary {
  background: linear-gradient(135deg, #DEBB70, #c4a05c);
  color: #1a1024;
  box-shadow: 0 12px 28px -14px rgba(222, 187, 112, .55);
}
.astra-modal-backdrop--dark .astra-btn-primary:hover {
  box-shadow: 0 16px 32px -12px rgba(222, 187, 112, .65);
}

/* Contact form */
.astra-contact-form {
  display: grid;
  gap: 14px;
}
.astra-field {
  display: grid;
  gap: 6px;
}
.astra-field span {
  font-size: 12px;
  font-weight: 600;
  color: #4B5563;
  letter-spacing: 0.02em;
}
.astra-field input,
.astra-field select,
.astra-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  background: #F9FAFB;
  color: #1F2937;
  font: 400 14px/1.55 var(--font);
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.astra-field textarea {
  min-height: 100px;
  resize: vertical;
}
.astra-field input:focus,
.astra-field select:focus,
.astra-field textarea:focus {
  border-color: #8B5CF6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}
.astra-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.astra-contact-tip {
  font-size: 12px;
  color: #6B7280;
  margin: 2px 0 0;
  line-height: 1.5;
}
.astra-contact-status {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}
.astra-contact-status.is-success {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}
.astra-contact-status.is-info {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.astra-contact-fallback {
  margin: 4px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6B7280;
  font-size: 12px;
}
.astra-contact-fallback a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #654CFF;
  text-decoration: none;
}
.astra-contact-fallback a:hover {
  text-decoration: underline;
}

/* About me */
.astra-about-profile {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(101, 76, 255, 0.08), rgba(244, 199, 107, 0.10));
  border: 1px solid rgba(101, 76, 255, 0.14);
}
.astra-about-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #654CFF, #8B5CF6);
  font: 800 20px var(--font);
  letter-spacing: 0.02em;
}
.astra-about-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.astra-about-meta strong {
  font-size: 16px;
  color: #0F172A;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.astra-about-meta span {
  font-size: 13px;
  color: #6B7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.astra-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.astra-about-card {
  grid-column: span 1;
  padding: 14px;
  border-radius: 14px;
  background: #F7F8FB;
  border: 1px solid rgba(35, 37, 63, 0.04);
  display: grid;
  gap: 6px;
  min-height: 130px;
}
.astra-about-card:last-child {
  grid-column: span 2;
}
.astra-about-card-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6B7280;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.astra-about-card-head .nav-menu-icon {
  width: 16px;
  height: 16px;
  color: #654CFF;
}
.astra-about-card > strong {
  font-family: var(--display, 'Fraunces', Georgia, serif);
  font-size: 24px;
  color: #0F172A;
  font-weight: 600;
}
.astra-about-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: #654CFF;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.astra-about-cta:hover {
  text-decoration: underline;
}
.astra-about-links {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}
.astra-about-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}
.astra-about-links a .nav-menu-icon {
  width: 15px;
  height: 15px;
  color: #654CFF;
}
.astra-about-links a:hover {
  background: #fff;
  color: #654CFF;
}
.astra-about-social {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(35, 37, 63, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: center;
}
.astra-about-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4B5563;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.12s;
}
.astra-about-social a .nav-menu-icon {
  width: 16px;
  height: 16px;
}
.astra-about-social a:hover {
  color: #654CFF;
}
.astra-about-social a[href*='discord'] {
  color: #5865F2;
}
.astra-about-social a[href*='discord']:hover {
  color: #4752C4;
}
.astra-about-social a[href*='x.com']:hover {
  color: #0F172A;
}

@media (max-width: 560px) {
  .astra-modal {
    width: 100%;
    max-height: calc(100dvh - 32px);
    border-radius: 14px;
  }
  .astra-about-grid {
    grid-template-columns: 1fr;
  }
  .astra-about-card:last-child {
    grid-column: span 1;
  }
  .astra-modal-head,
  .astra-modal-body,
  .astra-modal-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(600px, calc(100dvh - 88px));
  display: grid;
  align-content: center;
  padding: 72px 32px 64px;
  background-color: #040618;
  background-image:
    linear-gradient(90deg, rgba(4,6,24,.97) 0%, rgba(4,6,24,.88) 42%, rgba(4,6,24,.55) 68%, rgba(4,6,24,.82) 100%),
    url('/assets/home/hero-cosmos.webp'),
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.42), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,.34), transparent),
    radial-gradient(1.4px 1.4px at 44% 34%, rgba(255,255,255,.28), transparent),
    radial-gradient(1px 1px at 58% 12%, rgba(255,255,255,.36), transparent),
    radial-gradient(1.2px 1.2px at 71% 58%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 84% 24%, rgba(255,255,255,.38), transparent),
    radial-gradient(1.3px 1.3px at 18% 48%, rgba(255,255,255,.24), transparent),
    radial-gradient(1px 1px at 36% 88%, rgba(255,255,255,.32), transparent),
    radial-gradient(1.1px 1.1px at 52% 64%, rgba(255,255,255,.26), transparent),
    radial-gradient(1px 1px at 66% 82%, rgba(255,255,255,.3), transparent),
    radial-gradient(1.2px 1.2px at 8% 86%, rgba(255,255,255,.22), transparent),
    radial-gradient(1px 1px at 92% 68%, rgba(255,255,255,.34), transparent);
  background-size: auto, auto 108%, 280px 280px, 320px 320px, 360px 360px, 300px 300px, 340px 340px, 310px 310px, 350px 350px, 330px 330px, 290px 290px, 370px 370px, 300px 300px, 340px 340px;
  background-position: center, 72% 42%, center, center, center, center, center, center, center, center, center, center, center, center;
  border-bottom: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    radial-gradient(1.6px 1.6px at 24% 22%, rgba(244,199,107,.55), transparent),
    radial-gradient(1.2px 1.2px at 78% 16%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 88% 44%, rgba(255,255,255,.32), transparent),
    radial-gradient(1.4px 1.4px at 14% 64%, rgba(255,255,255,.28), transparent),
    radial-gradient(1px 1px at 48% 8%, rgba(255,255,255,.36), transparent);
  background-size: 420px 420px, 380px 380px, 360px 360px, 400px 400px, 340px 340px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      #090a12 0%,
      rgba(9, 10, 18, .94) 5%,
      rgba(4, 6, 24, .62) 14%,
      rgba(4, 6, 24, .18) 24%,
      transparent 34%
    ),
    linear-gradient(
      to top,
      var(--bg) 0%,
      rgba(4, 6, 24, .96) 6%,
      rgba(4, 6, 24, .72) 14%,
      rgba(4, 6, 24, .28) 22%,
      transparent 32%
    );
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1,
.section h2,
.simple-report h3,
.report-head h3,
.value-intro h4,
.subscription-copy h4 {
  letter-spacing: -.045em;
}

.hero h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 78px);
}

.hero p,
.section .sub,
.field-help,
.disclaimer,
.footer,
.faq-item .ans,
.simple-section-lead,
.simple-report p,
.simple-report ul,
.simple-evidence,
.fusion-theme span,
.fusion-signal span,
.fusion-signal em,
.fusion-feedback span,
.fusion-feedback small,
.fusion-year > p,
.fusion-year-grid dd,
.topic-card p,
.data-source,
.card p {
  color: var(--ink-soft) !important;
}

.eyebrow,
.simple-kicker,
.report-section-title,
.simple-result-list b,
.simple-term-list b,
.overview-theme b,
.overview-grid b,
.checklist-grid b,
.final-command-grid b,
.fusion-theme b,
.fusion-signal b,
.fusion-feedback b,
.fusion-year > b,
.fusion-highlight-grid strong,
.simple-method summary,
.simple-core-evidence summary,
.simple-east-detail summary,
.domain-golden-line span {
  color: var(--gold) !important;
}

.section {
  padding: 72px 32px;
}

.card,
.migration-panel,
.simple-report,
.value-board,
.value-keywords span,
.member-value-strip,
.member-value-items div,
.takeaway-strip div,
.mini-list,
.subscription-loop,
.topic-card,
.evidence-grid article,
.chat-wrap,
.stream-panel,
.data-source,
.birth-data-check {
  background: rgba(19, 21, 26, .82);
  border-color: var(--line);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(18px);
}

.card-gold {
  background: linear-gradient(180deg, rgba(19,21,26,.92), rgba(28,30,36,.86));
  border-color: var(--line-gold);
}

a.card:hover,
.card.clickable:hover,
.card-gold:hover {
  border-color: rgba(244,199,107,.58);
}

.hero-cases a,
.simple-tags span,
.data-chip,
.simple-generation-info,
.context-follow,
.simple-follow-link,
.status-pill,
.month-card-head span,
.signal-badge,
.badge {
  background: rgba(255,255,255,.045);
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

.simple-report {
  max-width: 820px;
  border-radius: var(--r-lg);
  padding: 38px 42px;
}

.simple-report-cover {
  border-bottom-color: var(--line);
}

.simple-quote,
.overview-theme,
.domain-golden-line,
.guidance-command,
.action-card {
  border-left-color: var(--gold);
}

.overview-theme {
  background: linear-gradient(90deg, rgba(244,199,107,.10), transparent);
  border-top-color: rgba(244,199,107,.12);
  border-bottom-color: rgba(244,199,107,.12);
}

.energy-rank-card,
.energy-hero > div,
.overview-grid article,
.checklist-grid article,
.final-command-grid article,
.simple-guidance-list > section,
.fusion-highlight-grid section,
.fusion-year-grid article,
.fusion-turning-points article,
.simple-eastern-card,
.topic-card {
  background: rgba(255,255,255,.035);
  border-color: var(--line);
}

.member-benefits div,
.cadence-board article {
  background: rgba(255, 255, 255, .035);
  border-color: var(--line);
}

.member-benefits span,
.cadence-board p,
.subscription-copy p {
  color: var(--ink-soft);
}

.member-benefits b,
.cadence-board strong,
.cadence-board article > div {
  color: var(--gold);
}

.energy-rank-card:first-child {
  background: linear-gradient(135deg, rgba(244,199,107,.10), rgba(139,92,246,.07));
  border-color: rgba(244,199,107,.34);
}

.energy-rank-no,
.energy-rank-tag,
.energy-rank-meter {
  background: rgba(4,6,24,.48);
}

.energy-rank-name,
.simple-report h4,
.overview-theme-text,
.overview-grid span,
.checklist-grid span,
.final-command-grid span,
.simple-result-list strong,
.guidance-structure span,
.fusion-theme strong,
.fusion-list b,
.fusion-turning-points strong,
.fusion-highlight-grid span,
.month-card-head strong,
.member-value-status strong,
.topic-action span,
.topic-strategy span,
.field label,
.breadcrumb .current {
  color: var(--ink) !important;
}

.fusion-rhythm-note {
  flex: 1 1 100%;
  margin: 0 0 2px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.fusion-rhythm-legend {
  justify-content: flex-start;
  padding-top: 2px;
}

.fusion-rhythm-strip {
  border-color: var(--line);
}

.rhythm-tag {
  background: rgba(255,255,255,.045);
  border-color: currentColor;
}

.rhythm-point i {
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 -34px 0 rgba(255,255,255,.12);
}

.rhythm-high .rhythm-tag,
.signal-badge-opportunity {
  color: #8EF0B5;
  background: rgba(104,211,145,.12);
}

.rhythm-high i,
.month-meter-high i {
  background: #68D391;
  box-shadow: 0 0 18px rgba(104,211,145,.28);
}

.rhythm-mid i,
.month-meter-mid i {
  background: #F4C76B;
  box-shadow: 0 0 18px rgba(244,199,107,.24);
}

.rhythm-low .rhythm-tag,
.signal-badge-risk {
  color: #FFAAA3;
  background: rgba(248,113,113,.13);
}

.rhythm-low i,
.month-meter-low i {
  background: #F87171;
  box-shadow: 0 0 18px rgba(248,113,113,.22);
}

.month-meter b,
.energy-rank-meter,
.energy-bars b,
.summary-progress {
  background: rgba(255,255,255,.09);
}

.final-command-grid article {
  position: relative;
  border: 1px solid rgba(244,199,107,.20);
  border-left: 3px solid rgba(244,199,107,.62);
  border-radius: var(--r-md);
  padding: 14px 16px 14px 14px;
}

.final-command-grid article::before {
  background: rgba(244,199,107,.10);
}

.final-command-grid article small {
  width: fit-content;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(244,199,107,.28);
  border-radius: 999px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.action-evidence-tip {
  cursor: help;
}

.action-evidence-tip:hover,
.action-evidence-tip:focus-visible {
  border-color: rgba(244,199,107,.48);
  box-shadow: 0 0 0 1px rgba(244,199,107,.14), 0 18px 44px -32px rgba(244,199,107,.6);
}

.chat-body {
  background: rgba(4,6,24,.5);
}

.msg.ai,
.chat-header,
.chat-input,
.stream-preview,
.pre {
  background: rgba(255,255,255,.045);
  border-color: var(--line);
  color: var(--ink);
}

.msg.user {
  background: linear-gradient(135deg, var(--primary), #4F46E5);
  color: #fff;
}

.knowledge-hub,
.footer,
.breadcrumb {
  background: rgba(9,10,18,.74);
  border-color: var(--line);
}

.faq-item h3::before {
  color: var(--gold);
}

.faq-item .ans::before {
  color: var(--primary-soft);
}

.tarot-reading-desk,
.tarot-bridge-panel,
.spread-chip,
.reveal-slot,
.tarot-real-card {
  background: rgba(19,21,26,.82);
  border-color: var(--line);
}

.tarot-page {
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(247,225,160,.55), transparent 60%),
    radial-gradient(1px 1px at 22% 38%, rgba(247,225,160,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 36% 8%, rgba(247,225,160,.5), transparent 60%),
    radial-gradient(1px 1px at 64% 22%, rgba(247,225,160,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 46%, rgba(247,225,160,.55), transparent 60%),
    radial-gradient(1px 1px at 92% 14%, rgba(247,225,160,.4), transparent 60%),
    radial-gradient(1px 1px at 12% 68%, rgba(247,225,160,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 55% 82%, rgba(247,225,160,.4), transparent 60%),
    radial-gradient(1px 1px at 88% 74%, rgba(247,225,160,.35), transparent 60%);
  background-repeat: no-repeat;
  background-size: 100% 1400px;
  background-position: top center;
}
.tarot-hero {
  position: relative;
  background:
    radial-gradient(680px 420px at 74% 12%, rgba(139,92,246,.24), transparent 62%),
    radial-gradient(520px 320px at 12% 10%, rgba(244,199,107,.16), transparent 60%),
    radial-gradient(900px 500px at 50% 100%, rgba(139,92,246,.08), transparent 70%);
  border-radius: 28px;
  padding: 36px clamp(0px, 3vw, 28px);
}
.tarot-reading-desk {
  border-color: rgba(244,199,107,.34);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 34px 74px -42px rgba(0,0,0,.85), 0 0 64px -34px rgba(139,92,246,.4);
}

.tooltip::after {
  background: #05060B;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--card-shadow);
}

.badge-success {
  background: rgba(104,211,145,.12);
  color: #8EF0B5;
}

.badge-warn {
  background: rgba(244,199,107,.12);
  color: var(--gold);
}

.radio-group label:hover,
.radio-group label:has(input:checked) {
  background: rgba(139,92,246,.14);
  border-color: var(--primary);
}

@media (max-width: 720px) {
  .nav {
    min-height: 64px;
    padding: 10px 14px;
  }
  .hero {
    min-height: auto;
    padding: 52px 18px 40px;
  }
  .hero p {
    max-width: 36em;
    font-size: 16px;
    line-height: 1.55;
  }
  .hero h1 {
    font-size: clamp(38px, 13vw, 58px);
    text-align: left;
  }
  .hero p,
  .hero .cta,
  .hero-links {
    justify-content: flex-start;
    text-align: left;
  }
  .hero-link-chip {
    width: 100%;
    justify-content: center;
  }
  .home-final-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .home-final-ctas .btn {
    width: 100%;
  }
  .section {
    padding: 54px 18px;
  }
  .simple-report {
    padding: 24px 18px;
  }
  .fusion-rhythm-note {
    font-size: 12px;
  }
}

/* Dark-mode final compatibility overrides for legacy light inline styles. */
.section[style*="background"] {
  background: rgba(9, 10, 18, .74) !important;
}

.stream-progress span {
  background: rgba(255,255,255,.045) !important;
  border-color: var(--line) !important;
  color: var(--ink-soft) !important;
}

.stream-progress[data-stage="chart"] [data-step="chart"],
.stream-progress[data-stage="llm"] [data-step="chart"],
.stream-progress[data-stage="llm"] [data-step="llm"],
.stream-progress[data-stage="save"] [data-step="chart"],
.stream-progress[data-stage="save"] [data-step="llm"],
.stream-progress[data-stage="save"] [data-step="save"],
.stream-progress[data-stage="done"] span {
  background: rgba(244,199,107,.12) !important;
  border-color: var(--line-gold) !important;
  color: var(--gold) !important;
}

.stream-preview,
.pre,
.field input::placeholder,
.field textarea::placeholder,
.chat-input input::placeholder,
.chat-input textarea::placeholder {
  color: #AEB3C8;
}

.simple-report-warning,
.simple-report-block-error,
.precision-note,
.disclaimer {
  background: rgba(244,199,107,.10);
  border-color: rgba(244,199,107,.28);
  color: var(--ink-soft);
}

body[data-page="birthChart"] .birth-simple-page {
  width: min(100%, 1440px);
  max-width: 1440px;
}

body[data-page="birthChart"] .birth-simple-report {
  width: 100%;
  max-width: 1280px;
}

.simple-report.report-reader-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.report-reader-shell .report-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 300px;
  background:
    linear-gradient(90deg, rgba(11,12,16,.78), rgba(11,12,16,.18)),
    radial-gradient(680px 280px at 68% 28%, rgba(245,199,107,.20), transparent 62%),
    radial-gradient(560px 260px at 38% 16%, rgba(139,92,246,.22), transparent 64%);
}

.report-reader-shell .report-hero-main {
  max-width: 900px;
}

.report-scope-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.report-scope-strip span {
  border-color: rgba(255,255,255,.14);
  color: #F4F0FF;
  background: rgba(11,12,16,.46);
  backdrop-filter: blur(12px);
}

.report-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  align-items: start;
  min-width: 0;
}

.report-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  gap: 18px;
  min-height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(19,21,26,.82);
  backdrop-filter: blur(20px);
}

.report-sidebar-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F7F7FA;
  font-weight: 800;
}

.report-sidebar-title svg {
  color: #FCD34D;
}

.report-sidebar .report-start-panel {
  gap: 12px;
  padding: 16px;
  border-color: rgba(245,199,107,.24);
  background: rgba(245,158,11,.08);
}

.report-sidebar .report-start-panel .start-panel-eyebrow,
.report-sidebar .report-start-panel h4,
.report-sidebar .report-start-panel > p,
.report-sidebar .start-panel-months,
.report-sidebar .start-panel-link {
  display: none;
}

.report-sidebar .birth-data-check {
  padding: 0;
  border: 0;
  background: transparent;
}

.report-sidebar .birth-data-title {
  gap: 6px;
}

.report-sidebar .birth-data-grid {
  grid-template-columns: 1fr;
}

.report-sidebar .birth-axis-strip {
  display: none;
}

.report-sidebar .simple-report-nav {
  position: static;
  display: grid;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.report-sidebar .simple-report-nav a {
  min-height: 42px;
  justify-content: flex-start;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #A9ABB8;
  background: transparent;
}

.report-sidebar .simple-report-nav a:hover,
.report-sidebar .simple-report-nav a:focus-visible {
  border-color: rgba(139,92,246,.42);
  color: #FFFFFF;
  background: rgba(139,92,246,.22);
}

.report-side-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: #8F93A6;
  font-size: 12px;
}

.report-side-meta a {
  color: #A9ABB8;
}

.report-reader-shell .report-reading-flow {
  padding: 0 34px 42px;
}

.report-reader-shell .simple-section {
  scroll-margin-top: 24px;
}

.inner-compass-ask {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid rgba(139,92,246,.48);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(139,92,246,.18), rgba(19,21,26,.86));
  box-shadow: 0 18px 48px -34px rgba(139,92,246,.82);
}

.inner-compass-ask span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: #DADCE7;
  background: rgba(11,12,16,.62);
}

.inner-compass-ask a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #FFFFFF;
  font-weight: 800;
  background: linear-gradient(135deg, #8B5CF6, #6D5DF6);
  text-decoration: none;
}

.report-member-bridge {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(245,199,107,.34);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(139,92,246,.18));
}

.member-bridge-copy span {
  color: #FCD34D;
  font-size: 12px;
  font-weight: 800;
}

.member-bridge-copy h4 {
  margin-top: 8px;
  font-size: clamp(20px, 2vw, 27px);
}

.member-bridge-list {
  margin: 0;
  padding-left: 18px;
  color: #E1E2E8 !important;
}

.member-bridge-list li + li {
  margin-top: 6px;
}

.member-bridge-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-bridge-actions .btn {
  min-height: 44px;
}

.fusion-rhythm-legend {
  gap: 10px;
}

.rhythm-help {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(139,92,246,.42);
  border-radius: 999px;
  color: #D8CCFF;
  background: rgba(139,92,246,.16);
  cursor: help;
}

.fusion-rhythm-note {
  flex-basis: 100%;
  margin: 0;
  color: #A9ABB8 !important;
  font-size: 12px !important;
}

@media (max-width: 980px) {
  .report-layout {
    grid-template-columns: 1fr;
  }
  .report-sidebar {
    position: static;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .report-sidebar .simple-report-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .report-sidebar .simple-report-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .simple-report-cover.report-hero {
    grid-template-columns: 1fr;
  }
  .overview-grid,
  .energy-rank-list,
  .simple-result-list,
  .fusion-highlight-grid,
  .final-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guidance-structure {
    grid-template-columns: 1fr;
  }
  .fusion-head {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .report-reader-shell .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-reader-shell .overview-grid article {
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .birth-simple-page {
    padding-left: 12px;
    padding-right: 12px;
  }
  .simple-report {
    padding: 0;
    border-radius: 16px;
  }
  .report-reader-shell .report-reading-flow {
    padding: 0 18px 28px;
  }
  .simple-report-cover.report-hero {
    gap: 20px;
    padding: 28px 18px;
  }
  .simple-report h3 {
    font-size: clamp(32px, 12vw, 46px);
    line-height: 1.06;
  }
  .simple-quote {
    font-size: 18px;
  }
  .report-start-panel {
    padding: 16px;
    border-radius: 16px;
  }
  .report-sidebar {
    padding: 18px;
  }
  .report-sidebar .birth-data-grid {
    grid-template-columns: 1fr 1fr;
  }
  .start-panel-months,
  .birth-axis-strip,
  .overview-grid,
  .energy-rank-list,
  .simple-result-list,
  .simple-guidance-list > section.life-domain-card,
  .fusion-highlight-grid,
  .fusion-turning-points > div,
  .fusion-year-grid,
  .final-command-grid,
  .simple-eastern-grid {
    grid-template-columns: 1fr;
  }
  .simple-report-nav {
    position: sticky;
    padding: 10px 18px;
    overflow-x: visible;
    flex-wrap: wrap;
    scrollbar-width: none;
  }
  .simple-report-nav a {
    flex: 1 1 auto;
    justify-content: center;
  }
  .inner-compass-ask,
  .report-member-bridge {
    grid-template-columns: 1fr;
  }
  .member-bridge-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .member-bridge-actions .btn,
  .member-bridge-actions a {
    width: 100%;
  }
  .simple-section {
    padding: 30px 0;
  }
  .section-heading-row h4,
  .simple-report h4 {
    font-size: 23px;
  }
  .overview-grid article {
    min-height: auto;
  }
  .energy-pattern-panel {
    padding: 14px;
    border-radius: 16px;
  }
  .energy-rank-card {
    min-height: calc(76px + var(--energy-share) * .44px);
    padding: 52px 14px 14px;
  }
  .energy-rank-no {
    width: 32px;
    height: 32px;
  }
  .life-domain-index {
    font-size: 28px;
  }
  .simple-guidance-list > section.life-domain-card {
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
  }
  .guidance-structure > div,
  .guidance-structure > div:last-child {
    min-height: auto;
  }
  .fusion-year,
  .fusion-theme,
  .simple-method {
    padding: 14px;
    border-radius: 16px;
  }
  .rhythm-point {
    flex-basis: 96px;
  }
  .final-command-grid article {
    min-height: auto;
  }
}

/* 付费边界（2026-07-26）：12 个月逐月明细与第 2/3 张行动卡改为付费内容，
   锁定态要看得出"这里有东西"，而不是内容缺失。 */
.month-locked-hint { color: var(--ink-soft); font-style: normal }
.fusion-month-locked {
  margin-top: 14px; padding: 18px; border-radius: 12px;
  border: 1px dashed rgba(214, 178, 106, .45); background: rgba(214, 178, 106, .06);
  display: grid; gap: 8px; justify-items: start;
}
.fusion-month-locked b { font-size: 15px }
.fusion-month-locked p { color: var(--ink-soft); margin: 0 }
.simple-action-locked { opacity: .78; border-style: dashed }
.simple-action-locked .action-locked-hint { color: var(--ink-soft) }
.inner-compass-ask-locked a { color: var(--gold, #d6b26a) }

/* 情绪承接（2026-07-26）：付费之后每个领域末尾一句回应情绪的话，
   以及整份报告结尾的收束语——否则解锁后读起来只是一份待办清单。 */
.domain-hold {
  margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .04); border-left: 2px solid rgba(214, 178, 106, .5);
  color: var(--ink-soft); font-style: italic; line-height: 1.7;
}
.report-closing-note {
  margin: 28px 0 8px; padding: 20px 22px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(214, 178, 106, .08), rgba(214, 178, 106, .02));
  border: 1px solid rgba(214, 178, 106, .22); text-align: center;
}
.report-closing-note p { margin: 0; font-size: 16px; line-height: 1.8 }

/* ===== Chat 升级（2026-07-29）：代码块 / 表格 / 滚动按钮 / 消息操作条 / 打字点 ===== */

/* 围栏代码块:头部(语言标签 + 复制按钮) + 滚动区 */
.msg.assistant.markdown pre.md-code-block {
  margin: 8px 0; padding: 0; border: 1px solid var(--line);
  border-radius: 10px; background: rgba(4,6,24,.55); overflow: hidden;
  font-size: 13px; line-height: 1.55;
}
.msg.assistant.markdown pre.md-code-block .md-code-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px; background: rgba(79,84,140,.12);
  border-bottom: 1px solid var(--line); font-size: 11px;
}
.msg.assistant.markdown .md-code-lang {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink-soft); text-transform: lowercase; letter-spacing: .04em;
}
.msg.assistant.markdown .md-code-copy {
  border: none; background: transparent; color: var(--ink-soft);
  font-size: 11px; cursor: pointer; padding: 2px 8px; border-radius: 5px;
  transition: background .15s, color .15s;
}
.msg.assistant.markdown .md-code-copy:hover { background: rgba(79,84,140,.18); color: var(--ink) }
.msg.assistant.markdown pre.md-code-block code.md-code-content {
  display: block; padding: 12px 14px; overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #E6E8F0; background: transparent;
}

/* Markdown 表格 */
.msg.assistant.markdown .md-table { margin: 8px 0; overflow-x: auto; border-radius: 8px; border: 1px solid var(--line) }
.msg.assistant.markdown table.md-table { border-collapse: collapse; width: 100%; font-size: 13px }
.msg.assistant.markdown table.md-table th,
.msg.assistant.markdown table.md-table td { padding: 7px 12px; border: 1px solid var(--line); text-align: left; white-space: nowrap }
.msg.assistant.markdown table.md-table thead th { background: rgba(79,84,140,.12); font-weight: 600; color: var(--ink) }
.msg.assistant.markdown table.md-table tbody tr:nth-child(even) { background: rgba(79,84,140,.04) }
.msg.assistant.markdown table.md-table td { white-space: normal; min-width: 80px }

/* 水平分隔线 */
.msg.assistant.markdown hr.md-hr { border: none; border-top: 1px solid var(--line); margin: 12px 0 }

/* 智能滚动浮动按钮 */
.chat-scroll-btn {
  position: absolute; right: 16px; bottom: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface-warm);
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; opacity: .9;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: opacity .2s, transform .2s;
}
.chat-scroll-btn:hover { opacity: 1; transform: translateY(-2px) }

/* 消息操作条(复制 / 重新生成) */
.msg.assistant .msg-actions {
  display: flex; gap: 6px; margin-top: 6px; padding-top: 4px;
  border-top: 1px solid rgba(79,84,140,.1);
  opacity: 0; transition: opacity .2s;
}
.msg.assistant:hover .msg-actions { opacity: 1 }
.msg-action-btn {
  border: 1px solid var(--line); background: transparent;
  color: var(--ink-soft); font-size: 11px; padding: 3px 10px;
  border-radius: 5px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
  font-family: var(--font);
}
.msg-action-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(79,84,140,.08) }
.msg-action-btn.msg-action-regen:hover { border-color: var(--gold, #d6b26a); color: var(--gold, #d6b26a) }

/* 移动端:操作条常驻显示(无 hover) */
@media (hover: none) {
  .msg.assistant .msg-actions { opacity: 1 }
}

/* 打字点 loading */
.typing-dots { display: inline-flex; align-items: center; gap: 4px; padding: 2px 0 }
.typing-dots .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-soft); display: inline-block;
  animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-dots .dot:nth-child(2) { animation-delay: .2s }
.typing-dots .dot:nth-child(3) { animation-delay: .4s }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5 }
  30% { transform: translateY(-5px); opacity: 1 }
}

/* 流式时若仍有打字点 loading,隐藏 streaming 光标,避免视觉冲突 */
.msg.assistant.streaming:has(.typing-dots)::after { content: none; display: none }

/* Polaris chat: hero upsell + chat share one shell (must follow global .section padding) */
body[data-page="polaris"] .polaris-page.section {
  padding: 12px 32px 48px;
}

body[data-page="polaris"] .polaris-chat-shell {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[data-page="polaris"] .polaris-chat-shell > .chat-wrap {
  margin: 0;
  max-width: none;
  width: 100%;
}

body[data-page="polaris"] .polaris-chat-shell--with-history {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 8px;
  align-items: start;
  width: min(100%, 1060px);
  max-width: 1060px;
}

body[data-page="polaris"] .polaris-chat-shell--with-history .polaris-hero-card {
  grid-column: 1 / -1;
  grid-row: 1;
}

body[data-page="polaris"] .polaris-chat-shell--with-history .chat-history {
  grid-column: 1;
  grid-row: 2;
  height: 580px;
  min-height: 580px;
  align-self: stretch;
}

body[data-page="polaris"] .polaris-chat-shell--with-history > .chat-wrap {
  grid-column: 2;
  grid-row: 2;
}

body[data-page="polaris"] .polaris-hero-panel.upgrade-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  padding: 12px 16px;
}

body[data-page="polaris"] .polaris-hero-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  min-width: 0;
}

body[data-page="polaris"] .polaris-hero-eyebrow {
  margin: 0;
  align-self: start;
  padding-top: 2px;
  white-space: nowrap;
}

body[data-page="polaris"] .polaris-hero-text {
  min-width: 0;
}

body[data-page="polaris"] .polaris-hero-card h2 {
  margin: 0 0 4px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.35;
}

body[data-page="polaris"] .polaris-hero-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
}

body[data-page="polaris"] .polaris-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  flex-shrink: 0;
}

body[data-page="polaris"] .polaris-hero-actions .btn {
  white-space: nowrap;
  justify-content: center;
  min-width: 112px;
}

body[data-page="polaris"] .polaris-footer {
  margin-top: auto;
  padding: 20px 32px 28px;
  text-align: left;
}

body[data-page="polaris"] .polaris-footer-inner {
  width: min(100%, 1060px);
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

body[data-page="polaris"] .polaris-data-source {
  margin-top: 0;
}

body[data-page="polaris"] .polaris-footer-meta {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 860px) {
  body[data-page="polaris"] .polaris-chat-shell--with-history {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 760px;
  }

  body[data-page="polaris"] .polaris-chat-shell--with-history .chat-history {
    width: auto;
    min-height: 0;
    max-height: 200px;
    height: auto;
  }

  body[data-page="polaris"] .polaris-hero-panel.upgrade-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body[data-page="polaris"] .polaris-hero-main {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body[data-page="polaris"] .polaris-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body[data-page="polaris"] .polaris-hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}


/* ——————————————————————————————————————————————————————————
   Inner Compass 说明区（.polaris-about）
   ——————————————————————————————————————————————————————————
   对话框下方的静态介绍，供爬虫与首次来访者阅读。.card / .grid-3 / .sub
   复用全站既有样式，这里只补列表与折叠 FAQ 两处。 */
.polaris-about { max-width: 900px; }
.polaris-about h2 { margin: 2.5rem 0 1rem; }
.polaris-about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.polaris-about-list li {
  padding: .85rem 1rem;
  border-left: 2px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .02);
  border-radius: 0 10px 10px 0;
  font-size: .94rem;
  line-height: 1.7;
}
.polaris-about-faq details { border-bottom: 1px solid rgba(255, 255, 255, .08); padding: .9rem 0; }
.polaris-about-faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.polaris-about-faq summary::-webkit-details-marker { display: none; }
.polaris-about-faq summary::after { content: '+'; float: right; opacity: .6; }
.polaris-about-faq details[open] summary::after { content: '−'; }
.polaris-about-faq p { margin: .7rem 0 0; font-size: .94rem; line-height: 1.75; }
.polaris-about-more { margin-top: 2rem; font-size: .92rem; }
