:root {
  --paper: #f2ede3;
  --paper-deep: #e8dfd0;
  --ink: #1d211e;
  --ink-soft: #4f554e;
  --muted: #686d66;
  --cinnabar: #a94a35;
  --cinnabar-deep: #7d3025;
  --gold: #8e672f;
  --gold-light: #d8bf94;
  --line: rgba(36, 38, 33, 0.14);
  --white: #fffdf8;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --shadow: 0 30px 80px rgba(37, 34, 27, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 7%, rgba(178, 144, 91, 0.16), transparent 24rem),
    radial-gradient(circle at 10% 31%, rgba(169, 74, 53, 0.06), transparent 25rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(169, 74, 53, 0.55);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(1320px, calc(100% - 72px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(29, 33, 30, 0.48);
  border-radius: 50%;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px rgba(29, 33, 30, 0.09);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.brand-copy small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.42em;
}

.desktop-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.15vw, 20px);
  margin-left: 0;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.desktop-nav a {
  flex: none;
  position: relative;
  padding: 12px 0;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 1px;
  background: var(--cinnabar);
  transition: right 250ms ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid rgba(29, 33, 30, 0.44);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.account-entry {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
  max-width: 168px;
  white-space: nowrap;
}

.account-entry:hover {
  border-color: var(--line);
  color: var(--cinnabar);
}

.account-entry small {
  color: var(--gold);
  font-size: 8px;
}

#authLabel {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advisor-shortcut,
.header-cta {
  white-space: nowrap;
}

.history-entry {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}

.history-entry:hover {
  border-color: var(--line);
  color: var(--cinnabar);
}

.history-entry span {
  min-width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--cinnabar);
  font-size: 7px;
}

.history-entry span.is-empty {
  color: var(--muted);
  background: rgba(29, 33, 30, 0.08);
}

.advisor-shortcut {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 10px;
  white-space: nowrap;
}

.header-cta:hover {
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  overflow-x: clip;
  width: min(1320px, calc(100% - 72px));
  min-height: 760px;
  margin: 0 auto;
  padding: 104px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: 7vw;
}

.hero-orbit {
  position: absolute;
  width: 690px;
  height: 690px;
  left: -250px;
  top: 12px;
  opacity: 0.56;
  pointer-events: none;
  animation: slowSpin 70s linear infinite;
}

.orbit,
.orbit-center,
.orbit-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.orbit {
  border: 1px solid rgba(66, 75, 65, 0.13);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  top: 50%;
  left: -3px;
}

.orbit::after {
  left: auto;
  right: -3px;
}

.orbit-one {
  inset: 12%;
}

.orbit-two {
  inset: 24%;
  border-style: dashed;
}

.orbit-two::before,
.orbit-two::after {
  display: none;
}

.orbit-three {
  inset: 35%;
}

.orbit-center {
  inset: 41%;
  border: 1px solid rgba(169, 74, 53, 0.15);
  font-family: var(--serif);
  font-size: 22px;
  color: rgba(169, 74, 53, 0.24);
}

.orbit-glyph {
  font-family: var(--serif);
  font-size: 12px;
  color: rgba(29, 33, 30, 0.36);
}

.glyph-one {
  transform: translateY(-286px);
}

.glyph-two {
  transform: translateY(286px) rotate(180deg);
}

.glyph-three {
  transform: translateX(286px) rotate(90deg);
}

.glyph-four {
  transform: translateX(-286px) rotate(-90deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cinnabar);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6.2vw, 94px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 em {
  display: block;
  color: var(--cinnabar);
  font-weight: inherit;
  font-style: normal;
}

.hero-lead {
  max-width: 520px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-proof {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-proof i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.ask-card {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  border-radius: 3px;
  color: #f7f2e9;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 35%),
    radial-gradient(circle at 80% 12%, rgba(207, 169, 105, 0.15), transparent 16rem),
    #202621;
  box-shadow: 0 36px 100px rgba(29, 33, 30, 0.2);
}

.ask-card::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(242, 237, 227, 0.09);
  pointer-events: none;
}

.ask-card::after {
  content: "易";
  position: absolute;
  right: 28px;
  bottom: 18px;
  color: rgba(242, 237, 227, 0.035);
  font-family: var(--serif);
  font-size: 140px;
  line-height: 1;
  pointer-events: none;
}

.ask-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.mini-label {
  margin: 0;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.ask-card h2 {
  max-width: 310px;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.method-picker {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid rgba(242, 237, 227, 0.12);
  background: rgba(242, 237, 227, 0.09);
}

.method-option {
  min-width: 0;
  padding: 13px 10px 12px;
  border: 0;
  color: rgba(242, 237, 227, 0.5);
  background: #202621;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.method-option span,
.method-option small {
  display: block;
}

.method-option span {
  font-family: var(--serif);
  font-size: 15px;
}

.method-option small {
  margin-top: 5px;
  overflow: hidden;
  color: rgba(242, 237, 227, 0.28);
  font-size: 9px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.method-option:hover,
.method-option.is-active {
  color: #fff7eb;
  background: rgba(216, 191, 148, 0.1);
}

.method-option.is-active {
  box-shadow: inset 0 -2px 0 var(--cinnabar);
}

.method-option.is-active small {
  color: rgba(242, 237, 227, 0.55);
}

.method-option[data-method="combined"] {
  grid-column: 1 / -1;
}

.method-hint {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: rgba(242, 237, 227, 0.36);
  font-size: 10px;
  line-height: 1.7;
}

.method-extra {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: 13px 14px;
  border-left: 2px solid rgba(169, 74, 53, 0.75);
  background: rgba(255, 255, 255, 0.035);
}

.qimen-setup span,
.qimen-setup small,
.jinjinkou-setup span,
.jinjinkou-setup small,
.taiyi-setup span,
.taiyi-setup small {
  display: block;
}

.qimen-setup span,
.jinjinkou-setup span,
.taiyi-setup span {
  color: var(--gold-light);
  font-size: 10px;
}

.qimen-setup small,
.jinjinkou-setup small,
.taiyi-setup small {
  margin-top: 5px;
  color: rgba(242, 237, 227, 0.36);
  font-size: 8px;
  line-height: 1.6;
}

.jinjinkou-setup label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  color: rgba(242, 237, 227, 0.58);
  font-family: var(--sans);
  font-size: 9px;
}

.taiyi-setup .method-segment {
  margin-top: 9px;
}

.jinjinkou-setup select,
.combined-engine-settings select {
  min-width: 132px;
  height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(242, 237, 227, 0.15);
  color: #fff8ed;
  background: #202621;
  font-size: 10px;
}

.method-segment {
  display: flex;
  gap: 6px;
}

.method-segment button {
  padding: 6px 10px;
  border: 1px solid rgba(242, 237, 227, 0.12);
  color: rgba(242, 237, 227, 0.46);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.method-segment button.is-active {
  border-color: rgba(216, 191, 148, 0.46);
  color: var(--gold-light);
  background: rgba(216, 191, 148, 0.07);
}

.method-number-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.method-number-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(242, 237, 227, 0.45);
  font-size: 9px;
}

.method-number-row input {
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(242, 237, 227, 0.13);
  border-radius: 0;
  outline: 0;
  color: #fff8ed;
  background: rgba(255, 255, 255, 0.035);
}

.combined-setup > span {
  display: block;
  color: var(--gold-light);
  font-size: 10px;
}

.combined-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
}

.combined-methods label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(242, 237, 227, 0.62);
  font-size: 10px;
}

.combined-methods input {
  accent-color: var(--cinnabar);
}

.combined-engine-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 12px;
}

.combined-engine-settings label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(242, 237, 227, 0.48);
  font-size: 9px;
}

.combined-setup small {
  display: block;
  margin-top: 9px;
  color: var(--gold);
  font-size: 9px;
}

.live-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: #c7875d;
  box-shadow: 0 0 0 6px rgba(199, 135, 93, 0.1);
  animation: breathe 2.8s ease-in-out infinite;
}

.topic-pills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.topic-pill {
  padding: 7px 14px;
  border: 1px solid rgba(242, 237, 227, 0.16);
  border-radius: 999px;
  color: rgba(242, 237, 227, 0.58);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
  transition: 180ms ease;
}

.topic-pill:hover,
.topic-pill.is-active {
  border-color: rgba(216, 191, 148, 0.56);
  color: #f3e7d2;
  background: rgba(216, 191, 148, 0.08);
}

.perspective-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.perspective-row span {
  color: rgba(242, 237, 227, 0.4);
  font-size: 9px;
}

.perspective-row select {
  min-width: 150px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(242, 237, 227, 0.14);
  border-radius: 0;
  color: #f4ecdf;
  background: #28302a;
  font-size: 9px;
}

.question-field {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 25px;
  padding: 19px 19px 15px;
  border: 1px solid rgba(242, 237, 227, 0.16);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background 180ms ease;
}

.question-field:focus-within {
  border-color: rgba(216, 191, 148, 0.56);
  background: rgba(255, 255, 255, 0.045);
}

.question-field > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(242, 237, 227, 0.55);
  font-size: 10px;
}

.question-field textarea {
  width: 100%;
  min-height: 88px;
  padding: 0;
  border: 0;
  outline: 0;
  resize: none;
  color: #fffaf1;
  background: transparent;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
}

.question-field textarea::placeholder {
  color: rgba(242, 237, 227, 0.28);
}

.question-field small {
  display: block;
  margin-top: 4px;
  color: rgba(242, 237, 227, 0.28);
  text-align: right;
  font-size: 9px;
}

.prompt-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
}

.prompt-row button {
  padding: 0;
  border: 0;
  color: rgba(242, 237, 227, 0.44);
  background: transparent;
  font-size: 10px;
  cursor: pointer;
  transition: color 160ms ease;
}

.prompt-row button:hover {
  color: var(--gold-light);
}

.primary-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 20px;
  border: 0;
  color: #fff9ef;
  background: var(--cinnabar);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button:hover {
  background: var(--cinnabar-deep);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0);
}

.ask-card .primary-button {
  width: 100%;
  margin-top: 22px;
}

.microcopy {
  position: relative;
  z-index: 1;
  margin: 11px 0 0;
  color: rgba(242, 237, 227, 0.27);
  text-align: center;
  font-size: 9px;
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero-note span:first-child {
  color: var(--cinnabar);
}

.ritual-strip {
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ritual-item {
  display: grid;
  grid-template-columns: 38px 52px 1fr;
  align-items: center;
}

.ritual-item > span {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.ritual-item strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.ritual-item p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.ritual-rule {
  width: 1px;
  height: 38px;
  background: var(--line);
}

.method-guide {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 76px 0 30px;
}

.method-guide-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.method-guide-head h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.25;
}

.method-guide-head > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.method-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.method-guide-grid article {
  min-height: 340px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.5);
}

.method-guide-index {
  color: var(--cinnabar);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.method-guide-grid h3 {
  max-width: 290px;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
}

.method-guide-grid article > p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.method-guide-grid dl {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.method-guide-grid dl div + div {
  margin-top: 14px;
}

.method-guide-grid dt {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.method-guide-grid dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.life-section {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 84px 0 70px;
  border-bottom: 1px solid var(--line);
}

.life-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.life-heading h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.25;
}

.life-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.life-method-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.life-method {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.5);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.life-method:hover {
  border-color: rgba(173, 135, 82, 0.48);
  transform: translateY(-2px);
}

.life-method.is-active {
  border-color: rgba(169, 74, 53, 0.42);
  background:
    radial-gradient(circle at 94% 6%, rgba(173, 135, 82, 0.13), transparent 13rem),
    rgba(255, 253, 248, 0.9);
  box-shadow: inset 3px 0 0 var(--cinnabar);
}

.life-method > span {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.life-method strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.life-method p {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.life-method small {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: center;
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.life-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
  margin-top: 34px;
}

.life-layout > *,
.bazi-form,
.bazi-result {
  min-width: 0;
}

.bazi-form {
  padding: 28px;
  color: #f4ecdf;
  background:
    radial-gradient(circle at 92% 6%, rgba(173, 135, 82, 0.15), transparent 14rem),
    #202621;
}

.form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(242, 237, 227, 0.1);
}

.form-head span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 18px;
}

.form-head small,
.bazi-note {
  color: rgba(242, 237, 227, 0.36);
  font-size: 9px;
  line-height: 1.7;
}

.bazi-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin-top: 20px;
}

.bazi-fields label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: rgba(242, 237, 227, 0.55);
  font-size: 10px;
}

.bazi-fields input,
.bazi-fields select {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(242, 237, 227, 0.14);
  border-radius: 0;
  outline: 0;
  color: #fff9ef;
  background: #28302a;
  color-scheme: dark;
  font-size: 11px;
}

.bazi-fields input:focus,
.bazi-fields select:focus {
  border-color: rgba(216, 191, 148, 0.58);
}

.bazi-focus {
  grid-column: 1 / -1;
}

.bazi-form .primary-button {
  width: 100%;
  margin-top: 20px;
}

.bazi-note {
  margin: 11px 0 0;
  text-align: center;
}

.bazi-result {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.56);
}

.bazi-result-loading {
  display: grid;
  min-height: 240px;
  place-items: center;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
}

.bazi-result-head {
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.bazi-result-head .mini-label {
  color: var(--cinnabar);
  font-size: 10px;
}

.bazi-result-head h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.4;
}

.bazi-result-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.life-summary-card {
  margin-top: 22px;
  padding: 27px 28px 24px;
  color: #f6ecdc;
  background:
    radial-gradient(circle at 91% 7%, rgba(179, 137, 74, 0.18), transparent 13rem),
    #222a24;
  box-shadow: 0 18px 44px rgba(35, 40, 34, 0.12);
}

.life-summary-card .mini-label {
  color: var(--gold-light);
}

.life-summary-headline {
  max-width: 680px;
  margin: 12px 0 0;
  color: #fff9ef;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 500;
  line-height: 1.55;
}

.life-summary-keywords,
.life-evidence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.life-summary-keywords span {
  padding: 5px 10px;
  border: 1px solid rgba(216, 191, 148, 0.28);
  border-radius: 99px;
  color: #e8d5b4;
  background: rgba(216, 191, 148, 0.07);
  font-size: 11px;
}

.life-summary-phase {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(242, 237, 227, 0.12);
  border-bottom: 1px solid rgba(242, 237, 227, 0.12);
}

.life-summary-phase span {
  flex: 0 0 auto;
  color: rgba(242, 237, 227, 0.48);
  font-size: 10px;
}

.life-summary-phase strong {
  color: rgba(255, 249, 239, 0.86);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.life-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.life-summary-actions button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(242, 237, 227, 0.18);
  color: rgba(255, 249, 239, 0.78);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.life-summary-actions button:first-child {
  border-color: rgba(216, 191, 148, 0.5);
  color: #f2dfbd;
}

.life-evidence-tags {
  margin-top: 15px;
}

.life-evidence-tags span {
  color: rgba(242, 237, 227, 0.5);
  font-size: 10px;
}

.life-evidence-tags span::before {
  margin-right: 5px;
  color: var(--gold-light);
  content: "依据";
}

.figure-evidence {
  margin-top: 12px;
}

.figure-evidence span {
  color: var(--ink-soft);
  font-size: 10px;
}

.figure-evidence span::before {
  color: var(--gold);
}

.figure-preview-cta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0 15px 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(57, 68, 61, 0.12);
}

.figure-preview-cta span {
  color: var(--muted);
  font-size: 11px;
}

.figure-preview-cta button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(169, 74, 53, 0.3);
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.045);
  font-size: 11px;
  cursor: pointer;
}

.ziwei-visual-section > .figure-preview-cta {
  margin-right: 0;
  margin-left: 0;
}

.life-report-nav {
  position: sticky;
  z-index: 18;
  top: 72px;
  display: flex;
  gap: 5px;
  margin-top: 12px;
  padding: 8px 0;
  overflow-x: auto;
  border-bottom: 1px solid rgba(57, 68, 61, 0.13);
  background: rgba(242, 237, 227, 0.94);
  backdrop-filter: blur(13px);
  scrollbar-width: none;
}

.life-report-nav::-webkit-scrollbar {
  display: none;
}

.life-report-nav button {
  flex: 0 0 auto;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(57, 68, 61, 0.13);
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.58);
  font-size: 11px;
  cursor: pointer;
}

.life-report-nav button:hover {
  border-color: rgba(169, 74, 53, 0.36);
  color: var(--cinnabar);
}

.term-tip {
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed rgba(169, 74, 53, 0.6);
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: inherit;
  cursor: help;
}

.glossary-popover {
  position: fixed;
  z-index: 220;
  display: none;
  padding: 14px 16px;
  border: 1px solid rgba(216, 191, 148, 0.35);
  color: #f5ecdf;
  background: #202621;
  box-shadow: 0 16px 45px rgba(17, 21, 17, 0.28);
}

.glossary-popover.is-open {
  display: block;
  animation: fadeIn 140ms ease both;
}

.glossary-popover strong,
.glossary-popover span {
  display: block;
}

.glossary-popover strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.glossary-popover span {
  margin-top: 5px;
  color: rgba(245, 236, 223, 0.76);
  font-size: 12px;
  line-height: 1.7;
}

.life-unlock-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  margin-top: 26px;
  padding: 30px;
  color: #f7eddf;
  background:
    radial-gradient(circle at 92% 5%, rgba(179, 137, 74, 0.19), transparent 14rem),
    #222a24;
}

.life-unlock-copy .mini-label {
  color: var(--gold-light);
}

.life-unlock-copy h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
}

.life-unlock-copy > p:not(.mini-label),
.life-unlock-purchase p {
  margin: 9px 0 0;
  color: rgba(242, 237, 227, 0.68);
  font-size: 13px;
  line-height: 1.8;
}

.life-unlock-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.life-unlock-chapters span {
  display: inline-flex;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(216, 191, 148, 0.24);
  color: rgba(255, 249, 239, 0.78);
  font-size: 11px;
}

.life-unlock-chapters b {
  color: var(--gold-light);
  font-weight: 500;
}

.life-unlock-purchase {
  align-self: center;
  padding-left: 28px;
  border-left: 1px solid rgba(242, 237, 227, 0.12);
}

.life-unlock-purchase > strong {
  color: #f3dfbd;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.life-unlock-purchase .primary-button {
  width: 100%;
  min-height: 52px;
  margin-top: 19px;
  justify-content: space-between;
  font-size: 13px;
}

.life-unlock-error {
  min-height: 18px;
  color: #f0bba8 !important;
}

.life-unlock-card .stage-progress {
  margin: 14px 0 8px;
  border-color: rgba(216, 191, 148, 0.28);
  background: rgba(255, 253, 248, 0.08);
}

.life-unlock-card .stage-steps span,
.life-unlock-card .stage-note {
  color: rgba(242, 237, 227, 0.78);
}

.life-unlock-card .stage-steps span.is-active,
.life-unlock-card .stage-steps span.is-done {
  color: #fffdf8;
}

.life-unlock-card .stage-bar {
  background: rgba(242, 237, 227, 0.16);
}

.life-followup {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(57, 68, 61, 0.15);
  background:
    radial-gradient(circle at 94% 4%, rgba(173, 135, 82, 0.09), transparent 14rem),
    rgba(255, 253, 248, 0.64);
}

.life-followup-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.life-followup-head .mini-label {
  color: var(--cinnabar);
}

.life-followup-head h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.45;
}

.life-followup-head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
}

.life-followup-history {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  margin-top: 20px;
  overflow-y: auto;
}

.life-followup-form {
  margin: 16px 0 0;
}

.life-followup .followup-prompts {
  padding: 14px 0 0;
}

.life-followup .free-followup-note {
  margin-left: 0;
}

.reality-checkin {
  margin-top: 24px;
  padding: 27px 28px;
  border: 1px solid rgba(57, 68, 61, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), transparent 55%),
    #eee6d8;
}

.reality-checkin-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
}

.reality-checkin-head .mini-label {
  color: var(--cinnabar);
}

.reality-checkin-head h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.45;
}

.reality-checkin-head p:not(.mini-label) {
  max-width: 620px;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.reality-checkin-window {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  min-width: 260px;
  background: rgba(57, 68, 61, 0.12);
}

.reality-checkin-window > div {
  padding: 11px 12px;
  background: rgba(255, 253, 248, 0.68);
}

.reality-checkin-window span,
.reality-checkin-window small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.reality-checkin-window strong {
  display: block;
  margin: 3px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.reality-checkin-status {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.reality-checkin-status button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(57, 68, 61, 0.15);
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.5);
  font-size: 12px;
  cursor: pointer;
}

.reality-checkin-status button.is-selected {
  border-color: rgba(169, 74, 53, 0.5);
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.07);
}

.reality-checkin textarea {
  width: 100%;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(57, 68, 61, 0.15);
  outline: 0;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.7);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.75;
  resize: vertical;
}

.reality-checkin textarea:focus {
  border-color: rgba(169, 74, 53, 0.42);
}

.reality-checkin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 13px;
}

.reality-checkin-actions .primary-button {
  width: auto;
  margin: 0;
}

.reality-checkin-result {
  margin-top: 15px;
  padding: 14px 16px;
  border-left: 3px solid var(--cinnabar);
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.58);
  font-size: 14px;
  line-height: 1.85;
}

.reality-checkin-result:empty {
  display: none;
}

.bazi-visual-section {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(57, 68, 61, 0.12);
  background:
    radial-gradient(circle at 93% 5%, rgba(183, 132, 63, 0.1), transparent 14rem),
    rgba(250, 247, 239, 0.82);
}

.bazi-visual-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr);
  gap: 10px 30px;
  align-items: end;
}

.bazi-visual-head .mini-label {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--cinnabar);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.bazi-visual-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 500;
  line-height: 1.35;
}

.bazi-visual-head > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.bazi-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.bazi-visual-card,
.bazi-rhythm-card {
  min-width: 0;
  border: 1px solid rgba(57, 68, 61, 0.12);
  background: rgba(255, 253, 248, 0.84);
}

.bazi-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(57, 68, 61, 0.1);
}

.bazi-card-head span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.bazi-card-head strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.bazi-orbit {
  position: relative;
  height: 350px;
  margin: 8px 5px 0;
  overflow: hidden;
  --orbit-radius: 135px;
}

.bazi-orbit::before,
.bazi-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--orbit-radius) * 2 + 56px);
  height: calc(var(--orbit-radius) * 2 + 56px);
  border: 1px solid rgba(70, 86, 77, 0.11);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.bazi-orbit::after {
  width: calc(var(--orbit-radius) * 2 - 73px);
  height: calc(var(--orbit-radius) * 2 - 73px);
  border-style: dashed;
  opacity: 0.6;
}

.bazi-orbit-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  width: 132px;
  height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff9ef;
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.14), transparent 38%),
    #5f8b88;
  box-shadow: 0 16px 36px rgba(46, 63, 57, 0.19);
  transform: translate(-50%, -50%);
}

.bazi-orbit-center span {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.bazi-orbit-center strong {
  margin-top: 3px;
  color: rgba(255, 249, 239, 0.76);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
}

.bazi-orbit-center small {
  margin-top: 10px;
  color: rgba(255, 249, 239, 0.7);
  font-size: 10px;
}

.bazi-orbit-node {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 68px;
  height: 68px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(81, 101, 90, 0.19);
  border-radius: 50%;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 8px 20px rgba(49, 63, 55, 0.05);
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateY(calc(var(--orbit-radius) * -1))
    rotate(calc(var(--angle) * -1));
  animation: orbit-node-in 560ms both;
  animation-delay: var(--delay);
}

@keyframes orbit-node-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.bazi-orbit-node strong {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.bazi-orbit-node small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.bazi-card-footnote {
  margin: 0;
  padding: 0 16px 15px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.figure-insight {
  margin: 14px 15px;
  padding: 17px 18px;
  border-left: 3px solid var(--cinnabar);
  background: rgba(169, 74, 53, 0.045);
}

.figure-insight-head {
  display: grid;
  gap: 6px;
}

.figure-insight-head span {
  color: var(--cinnabar);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.figure-insight-head strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}

.figure-insight p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.ziwei-visual-section > .figure-insight {
  margin: 14px 0 0;
  padding: 20px 21px;
}

.life-full-report-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.life-full-report-heading .mini-label {
  margin: 0;
  color: var(--gold);
  font-size: 9px;
}

.life-full-report-heading h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.wuxing-bars {
  display: grid;
  gap: 17px;
  padding: 22px 18px 16px;
}

.wuxing-row {
  --element-color: var(--gold);
}

.wuxing-row[data-element="木"] {
  --element-color: #5d8b6d;
}

.wuxing-row[data-element="火"] {
  --element-color: #c6584d;
}

.wuxing-row[data-element="土"] {
  --element-color: #bc873b;
}

.wuxing-row[data-element="金"] {
  --element-color: #7f8687;
}

.wuxing-row[data-element="水"] {
  --element-color: #4f71b0;
}

.wuxing-row-label {
  display: grid;
  grid-template-columns: 23px minmax(65px, 1fr) auto 35px;
  gap: 7px;
  align-items: baseline;
}

.wuxing-row-label strong {
  color: var(--element-color);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.wuxing-row-label span,
.wuxing-row-label small {
  color: var(--muted);
  font-size: 10px;
}

.wuxing-row-label b {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 400;
}

.wuxing-track {
  height: 10px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(57, 68, 61, 0.075);
}

.wuxing-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--element-color);
  animation: wuxing-fill-in 800ms ease-out both;
  transform-origin: left;
}

@keyframes wuxing-fill-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.wuxing-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 18px;
  border-top: 1px solid rgba(57, 68, 61, 0.1);
}

.wuxing-summary > div {
  padding: 16px 0 14px;
}

.wuxing-summary > div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(57, 68, 61, 0.1);
}

.wuxing-summary span,
.wuxing-summary small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.wuxing-summary strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.bazi-rhythm-card {
  margin-top: 14px;
}

.bazi-rhythm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 16px;
  padding: 15px 0;
  background: rgba(57, 68, 61, 0.1);
}

.bazi-rhythm-stats > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(255, 253, 248, 0.96);
}

.bazi-rhythm-stats span {
  color: var(--muted);
  font-size: 9px;
}

.bazi-rhythm-stats strong {
  margin-top: 5px;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bazi-rhythm-track {
  display: flex;
  gap: 7px;
  margin: 0 16px;
  padding: 0 0 17px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.bazi-rhythm-track > span {
  display: flex;
  min-width: 76px;
  flex: 0 0 auto;
  flex-direction: column;
  padding: 9px 10px;
  border: 1px solid rgba(57, 68, 61, 0.12);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
}

.bazi-rhythm-track > span.is-current {
  border-color: rgba(169, 74, 53, 0.5);
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.055);
}

.bazi-rhythm-track small {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8px;
}

.bazi-year-view {
  margin: 0 16px 16px;
  padding: 15px 16px;
  border: 1px solid rgba(57, 68, 61, 0.12);
  background: rgba(95, 139, 136, 0.045);
}

.bazi-year-head,
.bazi-year-selector {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.bazi-year-head span,
.bazi-year-selector span {
  color: var(--gold);
  font-size: 10px;
}

.bazi-year-head strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.bazi-year-selector {
  justify-content: flex-start;
  margin-top: 12px;
}

.bazi-year-selector select {
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(57, 68, 61, 0.16);
  color: var(--ink);
  background: #fffdf8;
  font-size: 12px;
}

.bazi-year-copy {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.lifekline-section {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(57, 68, 61, 0.13);
  background:
    radial-gradient(circle at 93% 0%, rgba(174, 123, 73, 0.12), transparent 18rem),
    rgba(250, 247, 239, 0.86);
}

.lifekline-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.lifekline-head h3 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.8vw, 36px);
  font-weight: 500;
}

.lifekline-head > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.lifekline-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  background: rgba(57, 68, 61, 0.12);
}

.lifekline-summary-strip > div {
  min-width: 0;
  padding: 13px 14px;
  background: #fbf8f1;
}

.lifekline-summary-strip span {
  display: block;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.lifekline-summary-strip strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.lifekline-chart-scroll {
  margin-top: 15px;
  overflow-x: auto;
  border: 1px solid rgba(57, 68, 61, 0.11);
  background: rgba(255, 253, 248, 0.76);
}

.lifekline-svg {
  display: block;
  width: max(100%, 1180px);
  height: auto;
}

.lifekline-axis {
  fill: #8b887f;
  font-size: 10px;
  font-family: var(--sans);
}

.lifekline-grid-line {
  stroke: rgba(57, 68, 61, 0.1);
  stroke-width: 1;
}

.lifekline-dayun-band {
  fill: rgba(173, 135, 82, 0.07);
}

.lifekline-dayun-band.is-alt {
  fill: rgba(57, 68, 61, 0.045);
}

.lifekline-dayun-label {
  fill: #9a7547;
  font-size: 9px;
  font-family: var(--serif);
}

.lifekline-candle {
  cursor: pointer;
}

.lifekline-candle.is-up line,
.lifekline-candle.is-up rect {
  stroke: #3f755b;
}

.lifekline-candle.is-up rect {
  fill: #5f9477;
}

.lifekline-candle.is-down line,
.lifekline-candle.is-down rect {
  stroke: #9e4436;
}

.lifekline-candle.is-down rect {
  fill: #c56c5b;
}

.lifekline-candle.is-current rect {
  stroke: #b7843f;
  stroke-width: 2;
}

.lifekline-marker {
  font-size: 9px;
  font-family: var(--serif);
}

.lifekline-year-panel {
  display: grid;
  grid-template-columns: minmax(200px, 0.58fr) minmax(0, 1.42fr);
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  color: #f5ead8;
  background: #202621;
}

.lifekline-year-panel label {
  display: block;
  color: rgba(242, 237, 227, 0.46);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.lifekline-year-panel select {
  width: 100%;
  height: 38px;
  margin-top: 7px;
  padding: 0 10px;
  border: 1px solid rgba(242, 237, 227, 0.18);
  color: #fff8ed;
  background: #202621;
  font-size: 12px;
}

.lifekline-year-panel h4 {
  margin: 7px 0 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.lifekline-year-panel p {
  margin: 8px 0 0;
  color: rgba(242, 237, 227, 0.6);
  font-size: 12px;
  line-height: 1.75;
}

.lifekline-year-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.lifekline-year-stats span {
  padding: 4px 7px;
  border: 1px solid rgba(242, 237, 227, 0.13);
  color: rgba(242, 237, 227, 0.65);
  font-size: 9px;
}

.lifekline-phases {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  background: rgba(57, 68, 61, 0.12);
}

.lifekline-phase {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 253, 248, 0.76);
}

.lifekline-phase span,
.lifekline-phase small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.lifekline-phase strong {
  display: block;
  margin-top: 6px;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.lifekline-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.ziwei-visual-section {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(57, 68, 61, 0.13);
}

.ziwei-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: rgba(57, 68, 61, 0.12);
}

.ziwei-summary-strip > div {
  min-width: 0;
  padding: 13px 14px;
  background: #fbf8f1;
}

.ziwei-summary-strip span {
  display: block;
  color: var(--gold);
  font-size: 9px;
}

.ziwei-summary-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.ziwei-view-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(57, 68, 61, 0.12);
  background: rgba(255, 253, 248, 0.58);
}

.ziwei-view-intro {
  display: grid;
  gap: 2px;
}

.ziwei-view-intro strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.ziwei-view-intro span {
  color: var(--muted);
  font-size: 10px;
}

.ziwei-view-buttons {
  display: flex;
  gap: 4px;
}

.ziwei-view-buttons button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(57, 68, 61, 0.14);
  color: var(--ink-soft);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.ziwei-view-buttons button.is-active {
  border-color: rgba(169, 74, 53, 0.42);
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.055);
}

.ziwei-board-wrap {
  margin-top: 14px;
}

.ziwei-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(142px, auto));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(65, 72, 64, 0.28);
  background: rgba(65, 72, 64, 0.28);
  box-shadow: 0 20px 50px rgba(50, 53, 47, 0.09);
}

.ziwei-palace {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  grid-row: var(--ziwei-row);
  grid-column: var(--ziwei-col);
  padding: 11px 10px 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.45), transparent 55%),
    #f8f3e8;
  cursor: pointer;
  transition:
    opacity 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.ziwei-palace:hover,
.ziwei-palace:focus-visible {
  z-index: 2;
  box-shadow: inset 0 0 0 2px rgba(142, 103, 47, 0.42);
}

.ziwei-palace.is-selected {
  z-index: 3;
  opacity: 1 !important;
  box-shadow: inset 0 0 0 3px rgba(169, 74, 53, 0.58);
}

.ziwei-board[data-view="focus"] .ziwei-palace:not(.is-focus):not(.is-selected) {
  opacity: 0.38;
}

.ziwei-board[data-view="focus"] .ziwei-minor:not(.has-sihua),
.ziwei-board[data-view="sihua"] .ziwei-minor:not(.has-sihua),
.ziwei-board[data-view="sihua"] .ziwei-star .brightness,
.ziwei-board[data-view="sihua"] .ziwei-more {
  display: none;
}

.ziwei-board[data-view="sihua"] .ziwei-palace:not(.has-sihua):not(.is-selected) {
  opacity: 0.26;
}

.ziwei-board[data-view="sihua"] .ziwei-palace.has-sihua {
  box-shadow: inset 0 0 0 2px rgba(169, 74, 53, 0.3);
}

.ziwei-palace::after {
  position: absolute;
  right: -17px;
  bottom: -23px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(91, 79, 58, 0.08);
  border-radius: 50%;
  content: "";
}

.ziwei-palace.is-ming {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), transparent 55%),
    #f5eee0;
  box-shadow: inset 0 0 0 2px rgba(154, 75, 48, 0.38);
}

.ziwei-palace.is-current {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.45), transparent 55%),
    #f5efdf;
}

.ziwei-palace.is-current::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #ab7a35;
  content: "";
}

.ziwei-palace-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.ziwei-palace-head > div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 3px;
  align-items: center;
}

.ziwei-palace-head strong {
  color: #2f3631;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.ziwei-palace-head span {
  color: #8c8375;
  font-size: 9px;
}

.ziwei-palace-head i {
  min-width: 15px;
  padding: 1px 3px;
  border-radius: 3px;
  color: #fff;
  background: #9b4a35;
  font-size: 8px;
  font-style: normal;
  text-align: center;
}

.ziwei-palace-head i.is-shen {
  background: #557d83;
}

.ziwei-palace-head small {
  flex: 0 0 auto;
  color: #9b8f7e;
  font-size: 8px;
  white-space: nowrap;
}

.ziwei-stars {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 3px 7px;
  align-content: flex-start;
  margin-top: 8px;
}

.ziwei-star {
  display: flex;
  width: 100%;
  gap: 5px;
  align-items: baseline;
}

.ziwei-star strong {
  color: #934832;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.18;
}

.ziwei-star .brightness {
  color: #6c665d;
  font-size: 9px;
}

.ziwei-minor {
  display: inline-flex;
  gap: 2px;
  align-items: baseline;
  color: #6b695f;
  font-size: 9px;
  line-height: 1.45;
}

.ziwei-minor.is-lucky {
  color: #4d7683;
}

.ziwei-minor.is-sha {
  color: #a94a35;
}

.ziwei-minor small {
  font-size: 7px;
  opacity: 0.72;
}

.ziwei-empty {
  color: #8f877a;
  font-size: 10px;
  line-height: 1.55;
}

.ziwei-more {
  color: #9a9184;
  font-size: 8px;
}

.sihua {
  padding: 1px 4px;
  border-radius: 99px;
  font-size: 8px;
  font-style: normal;
  line-height: 1.55;
  white-space: nowrap;
}

.sihua-禄 {
  color: #2f735e;
  background: rgba(63, 143, 113, 0.11);
}

.sihua-权 {
  color: #486c9a;
  background: rgba(79, 115, 159, 0.11);
}

.sihua-科 {
  color: #9b7229;
  background: rgba(185, 139, 55, 0.12);
}

.sihua-忌 {
  color: #a04437;
  background: rgba(174, 75, 57, 0.1);
}

.ziwei-center {
  display: flex;
  min-height: 284px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-row: 2 / 4;
  grid-column: 2 / 4;
  padding: 28px;
  color: #f5eddf;
  background:
    radial-gradient(circle at 50% 34%, rgba(181, 139, 75, 0.17), transparent 12rem),
    #263029;
  text-align: center;
}

.ziwei-center::before {
  width: 58px;
  height: 1px;
  margin-bottom: 18px;
  background: rgba(214, 185, 134, 0.55);
  content: "";
}

.ziwei-center .mini-label {
  margin: 0;
  color: rgba(231, 207, 164, 0.65);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.ziwei-center h4 {
  margin: 8px 0 0;
  color: #fff8ea;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
}

.ziwei-center-ju {
  margin-top: 3px;
  color: #d9bc89;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
}

.ziwei-center-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  width: min(100%, 260px);
  margin-top: 17px;
}

.ziwei-center-meta span {
  display: flex;
  min-width: 0;
  justify-content: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(242, 226, 197, 0.13);
  color: rgba(255, 248, 234, 0.8);
  font-size: 10px;
}

.ziwei-center-meta small {
  color: rgba(255, 248, 234, 0.46);
  font-size: 8px;
}

.ziwei-current-period {
  width: min(100%, 260px);
  margin-top: 13px;
  padding: 9px 12px;
  border: 1px solid rgba(215, 183, 126, 0.22);
  background: rgba(215, 183, 126, 0.06);
}

.ziwei-current-period span {
  display: block;
  color: rgba(231, 207, 164, 0.55);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.ziwei-current-period strong {
  display: block;
  margin-top: 3px;
  color: #e2c697;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
}

.ziwei-signal-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 12px;
  background: rgba(57, 68, 61, 0.12);
}

.ziwei-signal {
  display: flex;
  min-width: 0;
  gap: 8px;
  padding: 10px 12px;
  background: #fbf8f1;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.ziwei-signal b {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 600;
}

.ziwei-school-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.ziwei-palace-detail {
  margin-top: 13px;
  padding: 21px 22px;
  border: 1px solid rgba(57, 68, 61, 0.14);
  background:
    radial-gradient(circle at 94% 5%, rgba(173, 135, 82, 0.09), transparent 13rem),
    rgba(255, 253, 248, 0.72);
}

.ziwei-detail-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 18px;
  align-items: baseline;
}

.ziwei-detail-head .mini-label {
  grid-column: 1 / -1;
  color: var(--cinnabar);
}

.ziwei-detail-head h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.ziwei-detail-head > span {
  color: var(--muted);
  font-size: 11px;
}

.ziwei-detail-evidence,
.ziwei-detail-minor {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.ziwei-detail-evidence span,
.ziwei-detail-minor span {
  padding: 4px 8px;
  border: 1px solid rgba(169, 74, 53, 0.18);
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.04);
  font-size: 10px;
}

.ziwei-detail-minor span {
  border-color: rgba(57, 68, 61, 0.12);
  color: var(--ink-soft);
  background: rgba(57, 68, 61, 0.03);
}

.ziwei-detail-reading {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.bazi-pillar-structure {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(57, 68, 61, 0.13);
}

.bazi-pillar-structure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  border: 1px solid rgba(57, 68, 61, 0.14);
  background: rgba(57, 68, 61, 0.14);
}

.bazi-pillar-structure-column {
  position: relative;
  display: grid;
  gap: 11px;
  padding: 13px 12px 14px;
  background: rgba(255, 253, 248, 0.72);
}

.bazi-pillar-structure-column.is-day-master {
  background:
    linear-gradient(180deg, rgba(95, 139, 136, 0.1), transparent 48%),
    rgba(255, 253, 248, 0.9);
  box-shadow: inset 0 3px 0 #5f8b88;
}

.bazi-pillar-structure-column > header {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(57, 68, 61, 0.1);
}

.bazi-pillar-structure-column > header span {
  color: var(--gold);
  font-size: 11px;
}

.bazi-pillar-structure-column > header small {
  color: var(--muted);
  font-size: 9px;
}

.bazi-pillar-glyph {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 7px 4px;
  background: rgba(57, 68, 61, 0.025);
}

.bazi-pillar-glyph small {
  color: var(--muted);
  font-size: 9px;
}

.bazi-pillar-glyph strong {
  margin-top: 2px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

.bazi-pillar-glyph span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 10px;
  text-align: center;
}

.bazi-hidden-stems {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.bazi-hidden-stems span {
  padding: 4px 6px;
  border: 1px solid rgba(57, 68, 61, 0.1);
  color: var(--ink-soft);
  background: rgba(57, 68, 61, 0.025);
  font-size: 9px;
  line-height: 1.45;
}

.bazi-hidden-stems b {
  color: var(--cinnabar);
  font-weight: 600;
}

.bazi-structure-evidence {
  margin: 0 15px 15px;
}

.bazi-structure-evidence span::before {
  color: var(--gold);
}

.bazi-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--line);
}

.bazi-pillar {
  padding: 17px 12px;
  background: rgba(255, 253, 248, 0.7);
  text-align: center;
}

.bazi-pillar span {
  color: var(--gold);
  font-size: 9px;
}

.bazi-pillar strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.bazi-pillar small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
}

.bazi-report {
  margin-top: 22px;
}

.bazi-report h4 {
  margin: 23px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.bazi-report p,
.bazi-report li {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.bazi-report ol {
  margin: 12px 0 0;
  padding-left: 21px;
}

.bazi-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.bazi-fact-grid > div {
  padding: 14px;
  background: rgba(255, 253, 248, 0.62);
}

.bazi-fact-grid span {
  color: var(--gold);
  font-size: 9px;
}

.bazi-fact-grid strong {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
}

.bazi-dayun {
  display: flex;
  gap: 7px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.bazi-dayun span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.bazi-dayun span.is-current {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.06);
}

.bazi-book {
  margin-top: 24px;
}

.bazi-chapter {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.45);
}

.bazi-chapter summary {
  padding: 17px 19px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  cursor: pointer;
}

.bazi-chapter[open] summary {
  border-bottom: 1px solid var(--line);
}

.bazi-chapter-body {
  padding: 0 20px 20px;
}

.bazi-book-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.bazi-book-section:last-child {
  border-bottom: 0;
}

.bazi-book-section h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.bazi-book-section p {
  margin: 11px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.92;
}

.history-strip {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 78px 0 20px;
}

.review-reminders {
  width: min(1180px, calc(100% - 72px));
  margin: 56px auto 0;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  border: 1px solid rgba(169, 74, 53, 0.24);
  background: rgba(255, 253, 248, 0.58);
}

.review-reminders h2 {
  margin: 8px 0 7px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.review-reminders > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

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

.review-reminder {
  width: 100%;
  min-height: 74px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 4px 14px;
  border: 1px solid rgba(29, 33, 30, 0.12);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.68);
  text-align: left;
  cursor: pointer;
}

.review-reminder span {
  grid-row: 1 / 3;
  color: var(--cinnabar);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.review-reminder strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.review-reminder small {
  color: var(--muted);
  font-size: 9px;
}

.record-sync-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  max-width: min(360px, calc(100% - 44px));
  padding: 12px 16px;
  border: 1px solid rgba(169, 74, 53, 0.35);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(29, 33, 30, 0.15);
  font-size: 11px;
}

@media (max-width: 760px) {
  .review-reminders {
    width: min(100% - 32px, 1180px);
    margin-top: 34px;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .review-reminder {
    grid-template-columns: 92px 1fr;
  }
}

.history-strip-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
}

.history-strip-head .eyebrow {
  margin-bottom: 12px;
}

.history-strip-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.3;
}

.history-strip-head > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.history-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.history-list article {
  min-height: 215px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.38);
}

.history-card-top span {
  color: var(--cinnabar);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.history-list h3 {
  margin: 17px 0 11px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
}

.history-list article > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.8;
}

.history-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 19px;
}

.history-card-footer span {
  color: var(--muted);
  font-size: 8px;
}

.history-card-footer button {
  padding: 0;
  border: 0;
  color: var(--cinnabar);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.history-window {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  overflow-y: auto;
  padding: 34px;
  background: rgba(18, 21, 18, 0.62);
  backdrop-filter: blur(13px);
}

.history-window.is-open {
  display: block;
  animation: fadeIn 180ms ease both;
}

.history-window-card {
  width: min(860px, 100%);
  min-height: 520px;
  margin: 5vh auto 0;
  padding: 38px;
  background:
    radial-gradient(circle at 86% 4%, rgba(173, 135, 82, 0.13), transparent 22rem),
    var(--paper);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.3);
}

.history-window-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.history-window-head .mini-label {
  color: var(--cinnabar);
}

.history-window-head h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 500;
  line-height: 1.35;
}

.history-window-head > button {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  font-size: 21px;
  cursor: pointer;
}

.history-window-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.history-window-list {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.history-window-list article {
  min-height: 0;
}

.history-empty {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.history-empty > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 74, 53, 0.28);
  border-radius: 50%;
  color: rgba(169, 74, 53, 0.48);
  font-family: var(--serif);
  font-size: 24px;
}

.history-empty h3 {
  margin: 18px 0 7px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.history-empty p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.history-empty button {
  margin-top: 22px;
  padding: 10px 15px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.section {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 136px 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 66px;
}

.section-heading h2,
.journey-copy h2,
.boundary-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.section-heading h2 em,
.journey-copy h2 em {
  color: var(--cinnabar);
  font-style: normal;
}

.section-heading > p:last-child,
.journey-copy > p {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.report-section {
  padding-bottom: 110px;
}

.report-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 670px;
}

.report-aura {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(179, 145, 91, 0.19) 0, rgba(179, 145, 91, 0.055) 36%, transparent 70%);
  filter: blur(5px);
}

.report-aura::before,
.report-aura::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(173, 135, 82, 0.15);
}

.report-aura::before {
  inset: 13%;
}

.report-aura::after {
  inset: 30%;
  border-style: dashed;
}

.report-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 38px 44px 34px;
  border: 1px solid rgba(50, 49, 43, 0.14);
  color: #e9e4d9;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.035), transparent 35%),
    #1e2420;
  box-shadow: 0 38px 100px rgba(43, 38, 31, 0.24);
  transform: rotate(-1.2deg);
}

.report-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(242, 237, 227, 0.08);
  pointer-events: none;
}

.report-card-head {
  display: flex;
  justify-content: space-between;
  color: rgba(242, 237, 227, 0.38);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.report-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 44px;
}

.report-title-row p {
  margin: 0 0 4px;
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.report-title-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.mini-hexagram {
  width: 61px;
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.mini-hexagram span {
  display: block;
  height: 3px;
  background: rgba(236, 228, 213, 0.8);
}

.mini-hexagram .broken {
  background: linear-gradient(
    to right,
    rgba(236, 228, 213, 0.8) 0 42%,
    transparent 42% 58%,
    rgba(236, 228, 213, 0.8) 58% 100%
  );
}

.report-card blockquote {
  margin: 52px 0 38px;
  color: #f3ecdf;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.72;
  letter-spacing: 0.04em;
}

.report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.report-tags span,
.result-tags span {
  padding: 5px 10px;
  border: 1px solid rgba(216, 191, 148, 0.24);
  border-radius: 999px;
  color: rgba(242, 237, 227, 0.7);
  font-size: 9px;
}

.report-next {
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid rgba(242, 237, 227, 0.1);
}

.report-next > span {
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.report-next p {
  margin: 10px 0 22px;
  color: rgba(242, 237, 227, 0.72);
  font-size: 13px;
  line-height: 1.8;
}

.report-next button {
  padding: 0;
  border: 0;
  color: #f1e1c6;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.report-next button span {
  margin-left: 12px;
}

.report-side-note {
  position: absolute;
  z-index: 2;
  width: 190px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(242, 237, 227, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 50px rgba(43, 38, 31, 0.08);
}

.report-side-note span {
  color: var(--cinnabar);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.report-side-note p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.7;
}

.note-one {
  top: 92px;
  right: 1%;
  transform: rotate(2deg);
}

.note-two {
  bottom: 72px;
  left: 3%;
  transform: rotate(-2deg);
}

.guide-manifesto {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 116px 0 118px;
  border-top: 1px solid var(--line);
}

.manifesto-intro {
  max-width: 920px;
}

.manifesto-intro .eyebrow {
  margin-bottom: 22px;
}

.manifesto-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.manifesto-intro h2 em {
  color: var(--cinnabar);
  font-style: normal;
}

.manifesto-intro > p:last-child {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
}

.manifesto-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  border: 1px solid var(--line);
  background: var(--line);
}

.manifesto-pillars article {
  position: relative;
  min-height: 285px;
  padding: 34px;
  background: rgba(255, 253, 248, 0.4);
}

.manifesto-pillars article:nth-child(2) {
  color: #f2ede3;
  background:
    radial-gradient(circle at 85% 6%, rgba(173, 135, 82, 0.15), transparent 13rem),
    #202621;
}

.manifesto-pillars article > span {
  position: absolute;
  top: 31px;
  right: 29px;
  color: rgba(173, 135, 82, 0.5);
  font-size: 9px;
}

.manifesto-pillars .mini-label {
  color: var(--cinnabar);
}

.manifesto-pillars article:nth-child(2) .mini-label {
  color: var(--gold-light);
}

.manifesto-pillars h3 {
  max-width: 270px;
  margin: 24px 0 17px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
}

.manifesto-pillars article > p:last-child {
  max-width: 285px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.9;
}

.manifesto-pillars article:nth-child(2) > p:last-child {
  color: rgba(242, 237, 227, 0.55);
}

.manifesto-quote {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 76px auto 0;
}

.manifesto-quote > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 62px;
  line-height: 0.8;
}

.manifesto-quote p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.8;
}

.journey-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10vw;
  border-top: 1px solid var(--line);
}

.journey-quote {
  margin-top: 58px;
  display: flex;
  gap: 18px;
  max-width: 390px;
}

.journey-quote span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 53px;
  line-height: 0.8;
}

.journey-quote p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
}

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

.timeline li {
  position: relative;
  min-height: 160px;
  padding: 0 0 46px 56px;
  border-left: 1px solid var(--line);
}

.timeline li:last-child {
  min-height: 0;
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 2px;
  left: -6px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}

.timeline li.is-complete .timeline-dot {
  border-color: var(--cinnabar);
  background: var(--cinnabar);
  box-shadow: 0 0 0 7px rgba(169, 74, 53, 0.09);
}

.timeline small {
  color: var(--cinnabar);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.timeline h3 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.services-section {
  width: 100%;
  max-width: none;
  padding-right: max(36px, calc((100% - 1180px) / 2));
  padding-left: max(36px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 15% 20%, rgba(173, 135, 82, 0.08), transparent 22rem),
    var(--paper-deep);
}

.services-heading {
  margin-right: auto;
  margin-left: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  min-height: 440px;
  padding: 32px;
  border: 1px solid rgba(29, 33, 30, 0.13);
  display: flex;
  flex-direction: column;
  background: rgba(255, 253, 248, 0.35);
}

.price-card.is-featured {
  color: #f2ede3;
  background:
    radial-gradient(circle at 80% 5%, rgba(173, 135, 82, 0.14), transparent 16rem),
    #202621;
  transform: translateY(-18px);
  box-shadow: 0 28px 64px rgba(35, 32, 26, 0.16);
}

.price-step {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.popular-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(216, 191, 148, 0.3);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.price-card h3 {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
}

.price {
  margin: 15px 0 34px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.price-card ul {
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(29, 33, 30, 0.11);
  list-style: none;
}

.is-featured ul {
  border-color: rgba(242, 237, 227, 0.12);
}

.price-card li {
  position: relative;
  margin: 12px 0;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 11px;
}

.price-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--cinnabar);
}

.is-featured li {
  color: rgba(242, 237, 227, 0.62);
}

.is-featured li::before {
  color: var(--gold-light);
}

.price-card button {
  margin-top: auto;
  min-height: 46px;
  border: 1px solid rgba(29, 33, 30, 0.25);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.is-featured button {
  border-color: var(--cinnabar);
  color: #fff8ed;
  background: var(--cinnabar);
}

.price-card button:hover {
  border-color: var(--ink);
}

.is-featured button:hover {
  border-color: var(--cinnabar-deep);
}

.pricing-note {
  margin: 34px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 9px;
}

.boundary-section {
  display: grid;
  grid-template-columns: 160px 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.boundary-mark {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 74, 53, 0.23);
  border-radius: 50%;
  color: rgba(169, 74, 53, 0.35);
  font-family: var(--serif);
  font-size: 48px;
  box-shadow: inset 0 0 0 10px var(--paper), inset 0 0 0 11px rgba(169, 74, 53, 0.09);
}

.boundary-section h2 {
  font-size: clamp(34px, 3.2vw, 48px);
}

.boundary-list p {
  display: grid;
  grid-template-columns: 38px 1fr;
  margin: 0;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.boundary-list span {
  color: var(--gold);
  font-size: 9px;
}

.site-footer {
  width: min(1320px, calc(100% - 72px));
  min-height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 9px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .brand-mark {
  width: 35px;
  height: 35px;
  font-size: 16px;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.16em;
}

.footer-brand small {
  display: block;
  margin-top: 2px;
  font-size: 8px;
}

.site-footer > p {
  max-width: 380px;
}

.footer-team {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.footer-team img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(173, 135, 82, 0.24);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(255, 253, 248, 0.56);
}

.footer-team span,
.footer-team strong {
  display: block;
}

.footer-team span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.footer-team strong {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.site-footer > a {
  color: var(--ink-soft);
}

.footer-legal {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.footer-legal a {
  color: var(--ink-soft);
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 81% 3%, rgba(173, 135, 82, 0.14), transparent 24rem),
    radial-gradient(circle at 4% 31%, rgba(169, 74, 53, 0.05), transparent 24rem),
    var(--paper);
}

.legal-header {
  display: flex;
  width: min(1120px, calc(100% - 72px));
  height: 88px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--muted);
  font-size: 11px;
}

.legal-nav a {
  position: relative;
  padding: 8px 0;
}

.legal-nav a.is-active {
  color: var(--cinnabar);
}

.legal-nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.legal-nav .legal-back {
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.legal-main {
  width: min(920px, calc(100% - 72px));
  margin: 0 auto;
  padding: 78px 0 100px;
}

.legal-hero {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.legal-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 23px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 10px;
}

.legal-meta span {
  padding-left: 10px;
  border-left: 1px solid rgba(173, 135, 82, 0.45);
}

.legal-content {
  padding-top: 38px;
}

.legal-content section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px 46px;
  padding: 35px 0;
  border-bottom: 1px solid rgba(36, 38, 33, 0.1);
}

.legal-content section > h2 {
  grid-row: 1 / span 20;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.5;
}

.legal-content section > h2 span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.legal-content section > h3,
.legal-content section > p,
.legal-content section > ul {
  grid-column: 2;
}

.legal-content h3 {
  margin: 9px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.legal-content p {
  margin: 0 0 11px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  margin: 2px 0 10px;
  padding-left: 20px;
}

.legal-content li + li {
  margin-top: 6px;
}

.legal-content a {
  color: var(--cinnabar);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-callout {
  margin-bottom: 15px;
  padding: 25px 28px;
  border: 1px solid rgba(169, 74, 53, 0.24);
  border-left: 4px solid var(--cinnabar);
  background: rgba(169, 74, 53, 0.045);
}

.legal-callout strong {
  display: block;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.legal-callout p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.legal-footer {
  display: grid;
  width: min(1120px, calc(100% - 72px));
  min-height: 150px;
  margin: 0 auto;
  grid-template-columns: 1fr auto;
  gap: 18px 40px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.legal-footer > div strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.legal-footer > div span {
  display: block;
  margin-top: 4px;
}

.legal-footer nav {
  display: flex;
  gap: 18px;
}

.legal-footer nav a {
  color: var(--ink-soft);
}

.legal-footer > small {
  grid-column: 1 / -1;
  padding-bottom: 24px;
}

.modal-screen {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  overflow-y: auto;
  padding: 28px;
  background: rgba(18, 21, 18, 0.68);
  backdrop-filter: blur(14px);
}

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(18, 21, 18, 0.72);
  backdrop-filter: blur(14px);
}

.auth-screen.is-open {
  display: grid;
  animation: fadeIn 180ms ease both;
}

.auth-card {
  position: relative;
  width: min(440px, 100%);
  padding: 38px;
  background:
    radial-gradient(circle at 90% 5%, rgba(173, 135, 82, 0.15), transparent 13rem),
    var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.auth-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.auth-card h2,
.auth-card h3 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.auth-tabs button {
  padding: 11px;
  border: 0;
  color: var(--muted);
  background: var(--paper);
  cursor: pointer;
}

.auth-tabs button.is-active {
  color: #fff9ef;
  background: var(--ink);
}

.auth-form {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 10px;
}

.auth-form input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.65);
  font-size: 12px;
}

.auth-error {
  min-height: 18px;
  margin: 0;
  color: var(--cinnabar);
  font-size: 10px;
}

.auth-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.auth-note a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-logged-in p {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.auth-credit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.55);
}

.auth-credit-card span {
  color: var(--muted);
  font-size: 10px;
}

.auth-credit-card strong {
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.modal-screen.is-open {
  display: block;
  animation: fadeIn 220ms ease both;
}

.modal-screen.is-open.is-casting,
.modal-screen.is-open:has(#castingView:not([hidden])) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

body.modal-open {
  overflow: hidden;
}

.modal-shell {
  position: relative;
  width: min(920px, 100%);
  min-height: calc(100vh - 56px);
  margin: 0 auto;
  background:
    radial-gradient(circle at 75% 6%, rgba(173, 135, 82, 0.15), transparent 23rem),
    var(--paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.32);
}

.modal-screen.is-open.is-casting .modal-shell,
.modal-shell:has(#castingView:not([hidden])) {
  width: min(640px, 100%);
  min-height: 0 !important;
  height: auto !important;
  margin: auto;
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(242, 237, 227, 0.8);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.modal-panel {
  min-height: calc(100vh - 56px);
  padding: 66px 72px;
}

.modal-panel.casting-view,
.casting-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 0 !important;
  height: auto !important;
  padding: 32px 36px 28px;
  text-align: center;
}

.casting-head .mini-label {
  color: var(--cinnabar);
}

.casting-head h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.casting-head blockquote {
  max-width: 540px;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.75;
}

.coin-stage {
  position: relative;
  width: 270px;
  height: 270px;
  margin: 42px auto 14px;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(173, 135, 82, 0.2);
}

.halo-one {
  inset: 0;
}

.halo-two {
  inset: 29px;
  border-style: dashed;
}

.coin-stack {
  position: relative;
  width: 142px;
  height: 142px;
}

.coin {
  position: absolute;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(173, 135, 82, 0.65);
  border-radius: 50%;
  color: var(--cinnabar);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 42%),
    #d9c49c;
  box-shadow:
    inset 0 0 0 6px #e6d5b4,
    inset 0 0 0 7px rgba(126, 94, 51, 0.32),
    0 18px 35px rgba(83, 67, 41, 0.2);
  font-family: var(--serif);
  font-size: 27px;
}

.coin:nth-child(1) {
  top: 8px;
  left: 29px;
  transform: rotate(-15deg);
}

.coin:nth-child(2) {
  top: 32px;
  left: 12px;
  transform: rotate(13deg);
}

.coin:nth-child(3) {
  top: 53px;
  left: 45px;
  transform: rotate(5deg);
}

.coin-stack.is-tossing .coin:nth-child(1) {
  animation: tossOne 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.coin-stack.is-tossing .coin:nth-child(2) {
  animation: tossTwo 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.coin-stack.is-tossing .coin:nth-child(3) {
  animation: tossThree 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cast-counter {
  position: absolute;
  bottom: -2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.yao-track {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  width: 112px;
  height: 58px;
  align-items: stretch;
}

.yao-track span {
  height: 4px;
  background: rgba(29, 33, 30, 0.1);
  transition: background 300ms ease, transform 300ms ease;
}

.yao-track span.is-yang {
  background: var(--ink);
  animation: lineIn 300ms ease both;
}

.yao-track span.is-yin {
  background: linear-gradient(
    to right,
    var(--ink) 0 43%,
    transparent 43% 57%,
    var(--ink) 57% 100%
  );
  animation: lineIn 300ms ease both;
}

.casting-hint {
  min-height: 24px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
}

.casting-actions {
  width: min(360px, 100%);
}

.casting-actions .primary-button {
  width: 100%;
}

.text-button {
  margin-top: 12px;
  padding: 8px 12px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.text-button:hover {
  color: var(--cinnabar);
}

.method-cast-card {
  width: min(480px, 100%);
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(173, 135, 82, 0.28);
  background:
    radial-gradient(circle at 50% 0, rgba(173, 135, 82, 0.12), transparent 14rem),
    rgba(255, 253, 248, 0.4);
}

.method-seal {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(169, 74, 53, 0.28);
  border-radius: 50%;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 38px;
  box-shadow: inset 0 0 0 8px var(--paper), inset 0 0 0 9px rgba(169, 74, 53, 0.1);
}

.method-cast-card .mini-label {
  color: var(--cinnabar);
}

.method-cast-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.method-cast-card .primary-button {
  width: min(320px, 100%);
}

.result-view {
  padding-bottom: 72px;
}

.result-topbar {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.result-topbar .mini-label {
  color: var(--cinnabar);
}

.result-question {
  max-width: 660px;
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 18px;
}

.result-date {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 9px;
}

.method-board {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--line);
}

.method-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.method-board-head .mini-label {
  color: var(--cinnabar);
}

.method-board-head h2 {
  max-width: 660px;
  margin: 13px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.method-board-verdict {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}

.method-board-stamp {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 74, 53, 0.25);
  border-radius: 50%;
  color: rgba(169, 74, 53, 0.64);
  font-family: var(--serif);
  font-size: 32px;
}

.qimen-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  border: 1px solid rgba(29, 33, 30, 0.18);
  background: rgba(29, 33, 30, 0.18);
}

.qimen-palace {
  position: relative;
  min-height: 126px;
  padding: 15px;
  background: rgba(255, 253, 248, 0.72);
}

.qimen-palace.is-center {
  display: grid;
  place-items: center;
  color: rgba(173, 135, 82, 0.3);
  font-family: var(--serif);
  font-size: 38px;
}

.qimen-palace.is-yong {
  background: #202621;
  box-shadow: inset 0 0 0 2px rgba(216, 191, 148, 0.3);
}

.qimen-palace-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
}

.qimen-palace strong {
  display: block;
  margin-top: 12px;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.qimen-palace p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.75;
}

.qimen-palace.is-yong .qimen-palace-top,
.qimen-palace.is-yong p {
  color: rgba(242, 237, 227, 0.48);
}

.qimen-palace.is-yong strong {
  color: var(--gold-light);
}

.qimen-palace-mark {
  display: inline-block;
  margin-top: 9px;
  padding: 3px 6px;
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.08);
  font-size: 9px;
}

.qimen-palace.is-yong .qimen-palace-mark {
  color: var(--gold-light);
  background: rgba(216, 191, 148, 0.09);
}

.meihua-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.meihua-card {
  min-height: 180px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.64);
}

.meihua-card > span {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.meihua-symbol {
  margin-top: 15px;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.meihua-card strong {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.meihua-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.75;
}

.jinjinkou-chart,
.taiyi-chart {
  margin-top: 32px;
}

.jinjinkou-lessons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.jinjinkou-lesson {
  min-width: 0;
  padding: 20px;
  background: rgba(255, 253, 248, 0.72);
}

.jinjinkou-lesson.is-yongshen {
  color: #f5ead8;
  background: #202621;
}

.jinjinkou-lesson > span {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.jinjinkou-lesson.is-yongshen > span {
  color: var(--gold-light);
}

.jinjinkou-lesson strong {
  display: block;
  margin-top: 10px;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.jinjinkou-lesson.is-yongshen strong {
  color: var(--gold-light);
}

.jinjinkou-lesson p,
.jinjinkou-lesson small {
  display: block;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.jinjinkou-lesson.is-yongshen p,
.jinjinkou-lesson.is-yongshen small {
  color: rgba(242, 237, 227, 0.52);
}

.jinjinkou-plate {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--line);
}

.jinjinkou-plate-cell {
  min-width: 0;
  padding: 13px 10px;
  background: rgba(255, 253, 248, 0.58);
}

.jinjinkou-plate-cell strong {
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.jinjinkou-plate-cell span,
.jinjinkou-plate-cell small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.taiyi-chart {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(29, 33, 30, 0.18);
  background: rgba(29, 33, 30, 0.18);
}

.taiyi-palace {
  min-height: 132px;
  padding: 16px;
  background: rgba(255, 253, 248, 0.72);
}

.taiyi-palace.is-core {
  color: #f5ead8;
  background: #202621;
}

.taiyi-palace span {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.taiyi-palace.is-core span {
  color: var(--gold-light);
}

.taiyi-palace strong {
  display: block;
  margin-top: 10px;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.taiyi-palace.is-core strong {
  color: var(--gold-light);
}

.taiyi-palace p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.taiyi-palace.is-core p {
  color: rgba(242, 237, 227, 0.52);
}

.taiyi-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 9px;
}

.taiyi-markers em {
  padding: 3px 6px;
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.08);
  font-size: 8px;
  font-style: normal;
}

.taiyi-palace.is-core .taiyi-markers em {
  color: var(--gold-light);
  background: rgba(216, 191, 148, 0.1);
}

.liuyao-chart {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.55);
}

.liuyao-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.liuyao-meta > div {
  padding: 14px 16px;
  background: rgba(255, 253, 248, 0.72);
}

.liuyao-meta span,
.liuyao-header {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.liuyao-meta strong {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
}

.liuyao-table {
  min-width: 640px;
}

.liuyao-row {
  display: grid;
  grid-template-columns: 56px 56px 76px 92px 112px minmax(150px, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}

.liuyao-row:last-child {
  border-bottom: 0;
}

.liuyao-header {
  min-height: 34px;
  background: rgba(173, 135, 82, 0.05);
}

.liuyao-position {
  color: var(--ink-soft);
  font-size: 10px;
}

.liuyao-spirit,
.liuyao-najia {
  color: var(--muted);
  font-size: 10px;
}

.liuyao-relative {
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 13px;
}

.liuyao-line-symbol {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 74px;
}

.liuyao-line-symbol i {
  display: block;
  height: 4px;
  background: var(--ink);
}

.liuyao-line-symbol i.is-yin {
  background: linear-gradient(
    to right,
    var(--ink) 0 43%,
    transparent 43% 57%,
    var(--ink) 57% 100%
  );
}

.liuyao-state {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.liuyao-state span {
  padding: 2px 5px;
  border: 1px solid rgba(169, 74, 53, 0.15);
  color: var(--cinnabar);
  font-size: 9px;
}

.liuyao-state span.is-muted {
  border-color: var(--line);
  color: var(--muted);
}

.liuyao-changed {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.liuyao-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.liuyao-facts article {
  padding: 17px 18px;
  background: rgba(255, 253, 248, 0.5);
}

.liuyao-facts span {
  color: var(--gold);
  font-size: 9px;
}

.liuyao-facts strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
}

.liuyao-facts p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.method-evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.method-evidence article {
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.45);
}

.method-evidence span {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.method-evidence strong {
  display: block;
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
}

.method-evidence p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.75;
}

.free-result {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 54px;
  padding: 64px 0 52px;
}

.hexagram-wrap .mini-label {
  margin-bottom: 22px;
  color: var(--muted);
}

.hexagram {
  width: 130px;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
}

.hexagram span {
  height: 6px;
  background: var(--ink);
}

.hexagram span.is-yin {
  background: linear-gradient(
    to right,
    var(--ink) 0 43%,
    transparent 43% 57%,
    var(--ink) 57% 100%
  );
}

.trigram-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.verdict-wrap h2 {
  max-width: 560px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 47px);
  font-weight: 500;
  line-height: 1.27;
  letter-spacing: -0.035em;
}

.verdict {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.result-tags span {
  border-color: rgba(169, 74, 53, 0.18);
  color: var(--cinnabar);
  background: rgba(255, 253, 248, 0.58);
}

.free-insights {
  margin: 0 0 34px;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.free-insights-head,
.timeline-teaser-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.free-insights-head .mini-label,
.timeline-teaser-head .mini-label {
  color: var(--cinnabar);
}

.free-insights-head h3,
.timeline-teaser-head h4 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
}

.free-insights-head > span,
.timeline-teaser-head > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.free-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.free-insight-grid article {
  position: relative;
  min-height: 215px;
  padding: 26px 24px;
  background: rgba(255, 253, 248, 0.55);
}

.free-insight-index {
  position: absolute;
  top: 23px;
  right: 22px;
  color: rgba(173, 135, 82, 0.36);
  font-size: 8px;
}

.free-insight-grid .mini-label {
  color: var(--gold);
}

.free-insight-grid article > p:last-child {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.9;
}

.timeline-teaser {
  margin-top: 29px;
  padding: 28px 30px;
  color: #f2ede3;
  background:
    radial-gradient(circle at 88% 8%, rgba(173, 135, 82, 0.15), transparent 12rem),
    #202621;
}

.timeline-teaser-head .mini-label {
  color: var(--gold-light);
}

.timeline-teaser-head h4 {
  font-size: 21px;
}

.timeline-teaser-head > span {
  max-width: 180px;
  color: rgba(242, 237, 227, 0.4);
  text-align: right;
  line-height: 1.7;
}

.timeline-teaser ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 25px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(242, 237, 227, 0.1);
  list-style: none;
}

.timeline-teaser li {
  position: relative;
  padding-left: 17px;
}

.timeline-teaser li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cinnabar);
}

.timeline-teaser li span {
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.timeline-teaser li p {
  margin: 7px 0 0;
  color: rgba(242, 237, 227, 0.65);
  font-size: 11px;
  line-height: 1.8;
}

.structured-reading {
  margin: 0 0 34px;
  padding: 38px 0 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.structured-reading-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.structured-reading-head .mini-label {
  color: var(--cinnabar);
  font-size: 11px;
}

.structured-reading-head h3 {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.4;
}

.structured-reading-head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.structured-lead {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-left: 2px solid var(--cinnabar);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.5);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.85;
}

.structured-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.structured-evidence-grid article {
  min-height: 220px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.58);
}

.structured-index {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.structured-evidence-grid h4 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.structured-evidence-grid p {
  margin: 11px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.structured-conditions {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.structured-conditions > div {
  padding: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(173, 135, 82, 0.08), transparent 12rem),
    rgba(255, 253, 248, 0.55);
}

.structured-conditions > div > .mini-label {
  color: var(--cinnabar);
  font-size: 11px;
}

.structured-conditions ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.structured-conditions li {
  padding-left: 13px;
  border-left: 1px solid rgba(169, 74, 53, 0.2);
}

.structured-conditions li span {
  color: var(--gold);
  font-size: 11px;
}

.structured-conditions li p,
.structured-conditions > div > p:last-child {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.report-outline {
  margin: 24px 0 42px;
  border-top: 1px solid var(--line);
}

.synthesis-report {
  padding-top: 12px;
}

.synthesis-legend {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
}

.synthesis-fallback-notice {
  margin: 18px 0 8px;
  padding: 22px 24px;
  border: 1px solid rgba(173, 135, 82, 0.3);
  background: rgba(249, 244, 233, 0.86);
}

.synthesis-fallback-notice span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.synthesis-fallback-notice h3 {
  margin: 8px 0 7px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.synthesis-fallback-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.synthesis-legend i {
  display: inline-block;
  width: 12px;
  height: 6px;
  margin-right: 6px;
  border-radius: 1px;
  background: linear-gradient(
    to top,
    rgba(173, 135, 82, 0.24) 0 45%,
    transparent 45% 100%
  );
}

.synthesis-section {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.synthesis-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.synthesis-step {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(169, 74, 53, 0.24);
  border-radius: 50%;
  color: var(--cinnabar);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.synthesis-section h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.4;
}

.synthesis-section p {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.synthesis-callout {
  margin-top: 22px;
  padding: 24px 26px;
  border-left: 3px solid var(--cinnabar);
  background: rgba(255, 253, 248, 0.64);
}

.synthesis-callout p {
  margin: 0;
}

.synthesis-callout .synthesis-verdict {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
}

.synthesis-callout .synthesis-support {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.synthesis-support p {
  margin: 0 0 9px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.synthesis-support p:last-child {
  margin-bottom: 0;
}

.synthesis-prose {
  margin-top: 18px;
}

.synthesis-prose p {
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.synthesis-prose p:last-child {
  margin-bottom: 0;
}

.synthesis-sentence-key,
.synthesis-clause-key {
  color: var(--cinnabar-deep);
  font-weight: 650;
  background: linear-gradient(
    to top,
    rgba(173, 135, 82, 0.16) 0 34%,
    transparent 34% 100%
  );
}

.synthesis-key {
  padding: 0 2px 1px;
  color: var(--cinnabar-deep);
  background: rgba(169, 74, 53, 0.075);
  font-weight: 600;
}

.synthesis-points {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.synthesis-point {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.48);
}

.synthesis-point-index {
  display: grid;
  place-items: center;
  align-self: start;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(173, 135, 82, 0.08);
  font-size: 9px;
}

.synthesis-point p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.synthesis-timeline {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.synthesis-time-point {
  position: relative;
  padding: 18px 20px 18px 26px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.48);
}

.synthesis-time-point::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cinnabar);
}

.synthesis-time-point p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.synthesis-failure {
  margin: 30px 0;
  padding: 28px;
  border: 1px solid rgba(169, 74, 53, 0.2);
  background: rgba(169, 74, 53, 0.045);
}

.synthesis-failure h3 {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.synthesis-failure p:last-child {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.technical-details {
  margin-top: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.34);
}

.technical-details summary {
  padding: 18px 20px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  cursor: pointer;
}

.technical-details[open] summary {
  border-bottom: 1px solid var(--line);
}

#technicalBreakdown {
  padding: 0 20px 18px;
}

.technical-item {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.technical-item:last-child {
  border-bottom: 0;
}

.technical-item h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.technical-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.outline-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(169, 74, 53, 0.24);
  border-radius: 50%;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 15px;
}

.outline-conclusion {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line);
}

.outline-conclusion h3,
.outline-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.35;
}

.outline-conclusion p {
  margin: 20px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
}

.outline-block {
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--line);
}

.outline-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.key-evidence-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: evidence;
}

.key-evidence-list li {
  position: relative;
  padding: 0 0 24px 42px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
  counter-increment: evidence;
}

.key-evidence-list li + li {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.key-evidence-list li::before {
  content: counter(evidence, decimal-leading-zero);
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.key-evidence-list li + li::before {
  top: 25px;
}

.key-evidence-list strong,
.action-advice strong,
.detailed-breakdown strong {
  color: var(--ink);
  font-weight: 600;
}

.action-advice {
  margin-top: 27px;
  padding-left: 42px;
}

.action-advice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.action-advice p + p {
  margin-top: 18px;
}

.detailed-breakdown {
  margin-top: 18px;
}

.detailed-breakdown article {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.detailed-breakdown article:first-child {
  border-top: 0;
}

.detailed-breakdown h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
}

.detailed-breakdown p {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.detailed-breakdown p + p {
  margin-top: 14px;
}

.detailed-breakdown ul {
  margin: 14px 0 0;
  padding-left: 21px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.first-action {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(173, 135, 82, 0.25);
  background: rgba(255, 253, 248, 0.44);
}

.action-number {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(169, 74, 53, 0.32);
  border-radius: 50%;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 14px;
}

.first-action .mini-label {
  color: var(--gold);
}

.first-action h3 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.free-followup {
  position: relative;
  margin-top: 28px;
  padding: 28px 30px;
  border: 1px solid rgba(29, 33, 30, 0.13);
  background: rgba(255, 253, 248, 0.42);
}

.free-followup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.free-followup-head .mini-label {
  color: var(--cinnabar);
}

.free-followup-head h3 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.free-followup-head > span {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.free-chat-history {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  margin-top: 20px;
  overflow-y: auto;
}

.free-chat-hint {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.free-chat-message {
  width: min(610px, 92%);
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.75);
}

.free-chat-message > span {
  display: block;
  color: var(--cinnabar);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.free-chat-message p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.free-chat-message small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 8px;
}

.free-chat-message.is-user {
  align-self: flex-end;
  color: #f2ede3;
  background: #202621;
}

.free-chat-message.is-user > span {
  color: var(--gold-light);
}

.free-chat-message.is-user p {
  color: rgba(242, 237, 227, 0.7);
}

.free-followup-form {
  display: grid;
  grid-template-columns: 1fr 100px;
  margin-top: 17px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
}

.free-followup-form input {
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: 12px;
}

.free-followup-form input::placeholder {
  color: var(--muted);
}

.free-followup-form button {
  border: 0;
  color: #fff9ef;
  background: var(--cinnabar);
  font-size: 9px;
  cursor: pointer;
}

.free-followup-form button:disabled,
.free-followup-form input:disabled {
  cursor: default;
  opacity: 0.65;
}

.free-followup-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.7;
}

.yao-track span.is-moving {
  box-shadow: 0 0 0 1px rgba(169, 74, 53, 0.8);
}

.yao-track span.is-moving::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin: -9px auto 0;
  border-radius: 50%;
  background: var(--cinnabar);
}

.unlock-area {
  position: relative;
  margin-top: 28px;
}

.unlock-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: stretch;
  padding: 40px;
  color: #f4ecdf;
  background:
    radial-gradient(circle at 91% 6%, rgba(173, 135, 82, 0.22), transparent 15rem),
    #202621;
  box-shadow: 0 24px 60px rgba(31, 34, 30, 0.18);
}

.unlock-card-copy {
  min-width: 0;
}

.unlock-card h3 {
  max-width: 760px;
  margin: 12px 0 15px;
  font-family: var(--serif);
  font-size: clamp(35px, 3vw, 45px);
  font-weight: 500;
  line-height: 1.28;
  text-wrap: balance;
}

.unlock-card p:not(.mini-label) {
  margin: 0;
  max-width: 680px;
  color: rgba(242, 237, 227, 0.72);
  font-size: 15px;
  line-height: 1.85;
}

.unlock-outcomes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  align-items: start;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(242, 237, 227, 0.11);
  border-bottom: 1px solid rgba(242, 237, 227, 0.11);
}

.unlock-outcomes > span {
  padding-top: 3px;
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.unlock-outcomes ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(242, 237, 227, 0.1);
  list-style: none;
  counter-reset: unlock-outcome;
}

.unlock-outcomes li {
  position: relative;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px 10px 42px;
  color: rgba(255, 249, 239, 0.88);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  line-height: 1.7;
  counter-increment: unlock-outcome;
}

.unlock-outcomes li::before {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 12px;
  transform: translateY(-50%);
  content: "0" counter(unlock-outcome);
}

.script-reveal {
  margin-top: 25px;
  padding: 20px 22px;
  border-left: 2px solid var(--cinnabar);
  background: rgba(255, 255, 255, 0.045);
}

.script-reveal > span {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.11em;
}

.script-reveal blockquote {
  margin: 10px 0 0;
  color: rgba(255, 249, 239, 0.9);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
}

.unlock-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 23px;
  background: rgba(242, 237, 227, 0.12);
}

.unlock-features article {
  min-width: 0;
  padding: 17px 15px;
  border-top: 2px solid rgba(216, 191, 148, 0.28);
  background: rgba(255, 255, 255, 0.055);
}

.unlock-features article > span {
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.unlock-features strong {
  display: block;
  margin-top: 7px;
  color: rgba(255, 249, 239, 0.92);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.unlock-features p {
  margin: 6px 0 0 !important;
  color: rgba(242, 237, 227, 0.68) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.unlock-purchase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 30px;
  border-left: 1px solid rgba(242, 237, 227, 0.11);
}

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  margin-bottom: 16px;
}

.price-line span {
  color: rgba(242, 237, 227, 0.64);
  font-size: 13px;
  white-space: nowrap;
}

.price-line strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.unlock-purchase .primary-button {
  width: 100%;
  min-height: 58px;
  margin: 0;
  justify-content: space-between;
  font-size: 15px;
}

.price-chip {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.unlock-purchase > small {
  display: block;
  margin-top: 13px;
  color: rgba(242, 237, 227, 0.58);
  font-size: 12px;
  line-height: 1.8;
}

.full-report {
  margin-top: 42px;
  animation: reportReveal 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.report-toc {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  gap: 4px;
  margin: 0 -14px;
  padding: 12px 14px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 237, 227, 0.94);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.report-toc::-webkit-scrollbar {
  display: none;
}

.report-toc a {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 9px;
  transition: background 160ms ease, color 160ms ease;
}

.report-toc a:hover {
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.07);
}

.evidence-details {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.35);
}

.evidence-details summary {
  padding: 15px 18px;
  color: var(--cinnabar);
  font-size: 9px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.evidence-details > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.evidence-details p {
  margin: 0;
  padding: 15px 18px;
  background: rgba(255, 253, 248, 0.58);
}

.evidence-details span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 8px;
}

.evidence-details strong {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
}

.full-report-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
  padding: 46px 0 50px;
  border-top: 1px solid var(--line);
}

.full-report-intro .mini-label,
.report-modules .mini-label {
  color: var(--cinnabar);
}

.full-report-intro h2 {
  margin: 15px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.35;
}

.full-report-intro > p {
  margin: 0 0 6px;
  padding-left: 24px;
  border-left: 1px solid rgba(169, 74, 53, 0.35);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.9;
}

.report-overview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.46);
}

.overview-copy {
  padding: 34px 36px;
}

.overview-copy .mini-label,
.hexagram-deep .mini-label,
.scenario-section .mini-label {
  color: var(--cinnabar);
}

.overview-copy h3 {
  max-width: 540px;
  margin: 13px 0 22px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.55;
}

.overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.overview-tags span {
  padding: 5px 10px;
  border: 1px solid rgba(169, 74, 53, 0.17);
  border-radius: 999px;
  color: var(--cinnabar);
  font-size: 9px;
}

.classic-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 34px 36px;
  color: #f3ecdf;
  background:
    radial-gradient(circle at 85% 10%, rgba(173, 135, 82, 0.17), transparent 13rem),
    #202621;
}

.classic-quote > span {
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.classic-quote p {
  margin: 17px 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.7;
}

.classic-quote small {
  color: rgba(242, 237, 227, 0.45);
  font-size: 10px;
  line-height: 1.7;
}

.hexagram-deep {
  padding: 58px 0 0;
}

.deep-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.deep-heading h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
}

.deep-heading > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.trigram-map {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.trigram-map article,
.core-image {
  min-height: 200px;
  padding: 29px;
  background: rgba(255, 253, 248, 0.48);
}

.trigram-map article:nth-child(3) {
  text-align: right;
}

.trigram-position {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.trigram-map strong {
  display: block;
  margin-top: 25px;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.trigram-map article p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.8;
}

.core-image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f2ede3;
  background:
    radial-gradient(circle at 50% 42%, rgba(173, 135, 82, 0.2), transparent 8rem),
    #202621;
}

.core-image::before,
.core-image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(216, 191, 148, 0.15);
}

.core-image::before {
  width: 126px;
  height: 126px;
  top: 30px;
  right: 26px;
}

.core-image::after {
  width: 74px;
  height: 74px;
  top: 56px;
  right: 52px;
}

.core-image span {
  position: relative;
  z-index: 1;
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.core-image p {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
}

.analysis-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.analysis-details article {
  position: relative;
  min-height: 240px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.48);
}

.analysis-details article > span {
  position: absolute;
  top: 25px;
  right: 23px;
  color: rgba(173, 135, 82, 0.36);
  font-size: 8px;
}

.analysis-details .mini-label {
  color: var(--gold);
}

.analysis-details article > p:last-child {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.9;
}

.reading-frame {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reading-frame > div {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.reading-frame > div:last-child {
  border-right: 0;
}

.reading-frame span {
  color: var(--cinnabar);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.reading-frame p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.75;
}

.report-modules {
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.report-modules article {
  position: relative;
  padding: 36px 0 36px 66px;
  border-bottom: 1px solid var(--line);
}

.module-index {
  position: absolute;
  top: 40px;
  left: 0;
  color: var(--gold);
  font-size: 9px;
}

.report-modules h3 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.report-modules p:not(.mini-label) {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}

.script-box {
  margin-top: 17px;
  padding: 20px 24px;
  border-left: 2px solid var(--cinnabar);
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.52);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.85;
}

.check-list {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 25px;
  color: var(--ink-soft);
  font-size: 12px;
}

.check-list li::before {
  content: "□";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.window-dates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 23px;
}

.window-dates > div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.34);
}

.window-dates span {
  display: block;
  color: var(--cinnabar);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.window-dates strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.window-dates p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.scenario-section {
  margin-top: 58px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.scenario-grid article {
  position: relative;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.38);
}

.scenario-grid article:nth-child(2) {
  color: #f2ede3;
  background: #202621;
}

.scenario-grid article > span {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.scenario-grid h4 {
  margin: 19px 0 11px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.scenario-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.85;
}

.scenario-grid article:nth-child(2) p {
  color: rgba(242, 237, 227, 0.55);
}

.takeaway-section {
  margin-top: 58px;
  padding: 42px;
  color: #f2ede3;
  background:
    radial-gradient(circle at 89% 8%, rgba(173, 135, 82, 0.18), transparent 16rem),
    #202621;
}

.takeaway-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.takeaway-head .mini-label {
  color: var(--gold-light);
}

.takeaway-head h2 {
  max-width: 650px;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.4;
}

.takeaway-head > span {
  color: rgba(242, 237, 227, 0.38);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.takeaway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: rgba(242, 237, 227, 0.12);
}

.takeaway-grid article {
  min-height: 175px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.takeaway-grid span {
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.takeaway-grid p {
  margin: 17px 0 0;
  color: rgba(242, 237, 227, 0.66);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.85;
}

.action-rhythm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 27px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 237, 227, 0.11);
}

.action-rhythm span {
  color: var(--cinnabar);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.action-rhythm p {
  margin: 7px 0 0;
  color: rgba(242, 237, 227, 0.44);
  font-size: 9px;
  line-height: 1.75;
}

.followup-card {
  margin-top: 44px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px 42px;
  border: 1px solid rgba(173, 135, 82, 0.28);
  background: rgba(255, 253, 248, 0.46);
}

.followup-card .mini-label {
  color: var(--cinnabar);
}

.followup-card h3 {
  margin: 9px 0 6px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.followup-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.followup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.followup-actions button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.followup-actions button:hover,
.followup-actions button.is-selected {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}

.followup-response {
  grid-column: 2;
  color: var(--cinnabar) !important;
  font-family: var(--serif);
  font-size: 13px !important;
}

.followup-chat {
  margin-top: 30px;
  border: 1px solid rgba(29, 33, 30, 0.15);
  background:
    radial-gradient(circle at 92% 3%, rgba(173, 135, 82, 0.1), transparent 16rem),
    rgba(255, 253, 248, 0.44);
}

.followup-chat-head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 17px;
  align-items: center;
  padding: 27px 30px;
  border-bottom: 1px solid var(--line);
}

.chat-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 74, 53, 0.3);
  border-radius: 50%;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 20px;
  box-shadow: inset 0 0 0 5px rgba(255, 253, 248, 0.5);
}

.followup-chat-head .mini-label {
  color: var(--cinnabar);
}

.followup-chat-head h3 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.chat-context {
  padding: 6px 10px;
  border: 1px solid rgba(173, 135, 82, 0.24);
  border-radius: 999px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.chat-history {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 180px;
  max-height: 420px;
  overflow-y: auto;
  padding: 30px;
  scroll-behavior: smooth;
}

.chat-message {
  width: min(690px, 90%);
  padding: 17px 19px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.chat-message > span {
  display: block;
  color: var(--cinnabar);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.chat-message p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}

.chat-message small {
  display: block;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid rgba(29, 33, 30, 0.08);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.7;
}

.assistant-message {
  align-self: flex-start;
  border-left: 2px solid rgba(169, 74, 53, 0.55);
}

.user-message {
  align-self: flex-end;
  color: #f2ede3;
  background: #202621;
}

.user-message > span {
  color: var(--gold-light);
}

.user-message p {
  color: rgba(242, 237, 227, 0.72);
}

.is-typing {
  animation: breathe 1.2s ease-in-out infinite;
}

.followup-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 30px 19px;
}

.followup-prompts button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.followup-prompts button:hover {
  border-color: rgba(169, 74, 53, 0.42);
  color: var(--cinnabar);
}

.followup-form {
  display: grid;
  grid-template-columns: 1fr 112px;
  margin: 0 30px;
  border: 1px solid rgba(29, 33, 30, 0.18);
  background: rgba(255, 253, 248, 0.55);
}

.followup-form input {
  min-width: 0;
  height: 50px;
  padding: 0 17px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: 13px;
}

.followup-form input::placeholder {
  color: var(--muted);
}

.followup-form button {
  border: 0;
  color: #fff9ef;
  background: var(--cinnabar);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.followup-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.chat-note {
  margin: 12px 30px 27px;
  color: var(--muted);
  font-size: 8px;
}

.reveal {
  animation: revealUp 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ask-card.reveal {
  animation-delay: 120ms;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes breathe {
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 10px rgba(199, 135, 93, 0.04);
  }
}

@keyframes tossOne {
  40% {
    transform: translate(-35px, -110px) rotate(170deg);
  }
}

@keyframes tossTwo {
  45% {
    transform: translate(26px, -128px) rotate(-190deg);
  }
}

@keyframes tossThree {
  48% {
    transform: translate(38px, -92px) rotate(210deg);
  }
}

@keyframes lineIn {
  from {
    transform: scaleX(0.1);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

@keyframes reportReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 9px;
    margin-left: 0;
    font-size: 10px;
  }

  .desktop-nav a {
    padding: 12px 0;
  }

  .header-actions .advisor-shortcut {
    display: none;
  }

  .account-entry {
    max-width: 136px;
  }

  .hero {
    gap: 4vw;
  }

  .hero h1 {
    font-size: 64px;
  }

  .ask-card {
    padding: 34px;
  }

  .method-picker {
    grid-template-columns: repeat(3, 1fr);
  }

  .method-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .report-side-note {
    display: none;
  }

  .boundary-section {
    grid-template-columns: 120px 1fr;
  }

  .boundary-list {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 36px);
    height: 76px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    min-height: 38px;
  }

  .header-actions {
    gap: 2px;
  }

  .history-entry {
    padding: 0 8px;
  }

  .advisor-shortcut {
    padding: 0 8px;
    font-size: 9px;
  }

  .hero {
    width: calc(100% - 36px);
    min-height: auto;
    padding: 76px 0 72px;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-orbit {
    width: 470px;
    height: 470px;
    left: -270px;
    top: -20px;
    opacity: 0.45;
  }

  .orbit-glyph {
    display: none;
  }

  .hero h1 {
    font-size: clamp(49px, 14vw, 72px);
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 14px;
  }

  .hero-proof {
    margin-top: 30px;
  }

  .hero-note {
    display: none;
  }

  .ask-card {
    min-height: 0;
    padding: 30px;
  }

  .ritual-strip {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 0;
  }

  .ritual-rule {
    display: none;
  }

  .ritual-item {
    grid-template-columns: 34px 44px 1fr;
  }

  .method-guide {
    width: calc(100% - 36px);
    padding-top: 60px;
  }

  .method-guide-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .method-guide-grid {
    grid-template-columns: 1fr;
  }

  .method-guide-grid article {
    min-height: 0;
  }

  .life-section {
    width: calc(100% - 36px);
    padding: 64px 0 48px;
  }

  .life-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .life-layout {
    grid-template-columns: 1fr;
  }

  .life-method-picker {
    grid-template-columns: 1fr;
  }

  .life-method {
    padding: 19px 20px;
  }

  .history-strip {
    width: calc(100% - 36px);
    padding-top: 64px;
  }

  .history-strip-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .section {
    width: calc(100% - 36px);
    padding: 94px 0;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .section-heading h2,
  .journey-copy h2 {
    font-size: 40px;
  }

  .report-stage {
    min-height: auto;
  }

  .report-aura {
    width: 440px;
    height: 440px;
  }

  .report-card {
    padding: 28px 24px;
    transform: none;
  }

  .report-card blockquote {
    margin: 38px 0 30px;
    font-size: 20px;
  }

  .journey-section {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .guide-manifesto {
    width: calc(100% - 36px);
    padding: 94px 0;
  }

  .manifesto-pillars {
    grid-template-columns: 1fr;
  }

  .manifesto-pillars article {
    min-height: 0;
  }

  .manifesto-quote {
    justify-content: flex-start;
    margin-top: 54px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 390px;
  }

  .price-card.is-featured {
    transform: none;
  }

  .services-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .boundary-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .boundary-mark {
    width: 90px;
    height: 90px;
    font-size: 35px;
  }

  .boundary-list {
    grid-column: auto;
  }

  .history-window {
    padding: 0;
  }

  .history-window-card {
    min-height: 100vh;
    margin-top: 0;
    padding: 72px 22px 36px;
  }

  .history-window-head h2 {
    font-size: 31px;
  }

  .site-footer {
    width: calc(100% - 36px);
    min-height: 230px;
    padding: 40px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-team {
    padding-left: 0;
    border-left: 0;
  }

  .footer-legal {
    flex-wrap: wrap;
  }

  .legal-header {
    width: calc(100% - 36px);
    height: auto;
    min-height: 76px;
    padding: 14px 0;
    align-items: flex-start;
  }

  .legal-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 14px;
    font-size: 10px;
  }

  .legal-nav .legal-back {
    flex-basis: 100%;
    justify-self: end;
    text-align: center;
  }

  .legal-main {
    width: calc(100% - 36px);
    padding: 56px 0 72px;
  }

  .legal-hero {
    padding-bottom: 34px;
  }

  .legal-hero h1 {
    font-size: 48px;
  }

  .legal-hero > p:not(.eyebrow) {
    font-size: 14px;
  }

  .legal-content {
    padding-top: 28px;
  }

  .legal-content section {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 28px 0;
  }

  .legal-content section > h2 {
    grid-row: auto;
  }

  .legal-content section > h3,
  .legal-content section > p,
  .legal-content section > ul {
    grid-column: 1;
  }

  .legal-content p,
  .legal-content li {
    font-size: 14px;
  }

  .legal-callout {
    padding: 21px 20px;
  }

  .legal-footer {
    width: calc(100% - 36px);
    min-height: 220px;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0;
  }

  .legal-footer nav {
    flex-wrap: wrap;
  }

  .legal-footer > small {
    grid-column: 1;
  }

  .modal-screen {
    padding: 0;
  }

  .modal-screen.is-open.is-casting,
  .modal-screen.is-open:has(#castingView:not([hidden])) {
    padding: 16px;
  }

  .modal-shell {
    min-height: 100vh;
  }

  .modal-screen.is-open.is-casting .modal-shell,
  .modal-shell:has(#castingView:not([hidden])) {
    min-height: 0 !important;
    height: auto !important;
    width: 100%;
  }

  .modal-panel {
    min-height: 100vh;
    padding: 72px 22px 46px;
  }

  .modal-panel.casting-view {
    min-height: 0 !important;
    height: auto !important;
    padding: 36px 18px 24px;
  }

  .method-cast-card {
    margin-top: 14px;
    padding: 18px 16px;
  }

  .modal-close {
    position: fixed;
    top: 14px;
    right: 14px;
  }

  .coin-stage {
    width: 220px;
    height: 220px;
  }

  .method-board {
    padding: 44px 0 38px;
  }

  .method-board-head {
    flex-direction: column;
  }

  .method-board-stamp {
    display: none;
  }

  .qimen-palace {
    min-height: 108px;
    padding: 11px;
  }

  .qimen-palace strong {
    font-size: 15px;
  }

  .qimen-palace p {
    font-size: 8px;
  }

  .jinjinkou-lessons {
    grid-template-columns: 1fr 1fr;
  }

  .jinjinkou-plate {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .taiyi-palace {
    min-height: 112px;
    padding: 10px;
  }

  .taiyi-palace strong {
    font-size: 16px;
  }

  .taiyi-palace p {
    font-size: 8px;
  }

  .meihua-chart,
  .method-evidence,
  .liuyao-facts {
    grid-template-columns: 1fr;
  }

  .liuyao-meta {
    grid-template-columns: 1fr 1fr;
  }

  .free-result {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 38px;
  }

  .hexagram {
    width: 102px;
  }

  .verdict-wrap h2 {
    font-size: 35px;
  }

  .first-action {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .free-insight-grid {
    grid-template-columns: 1fr;
  }

  .free-insight-grid article {
    min-height: 0;
  }

  .structured-reading-head {
    flex-direction: column;
    gap: 10px;
  }

  .structured-evidence-grid,
  .structured-conditions {
    grid-template-columns: 1fr;
  }

  .structured-conditions ol {
    grid-template-columns: 1fr;
  }

  .outline-conclusion {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .synthesis-section h3 {
    font-size: 27px;
  }

  .synthesis-section p {
    font-size: 14px;
  }

  .synthesis-callout .synthesis-verdict {
    font-size: 17px;
  }

  .outline-conclusion h3,
  .outline-heading h3 {
    font-size: 27px;
  }

  .outline-conclusion p {
    font-size: 16px;
  }

  .action-advice {
    padding-left: 0;
  }

  .key-evidence-list li {
    padding-left: 34px;
    font-size: 14px;
  }

  .detailed-breakdown h4 {
    font-size: 22px;
  }

  .detailed-breakdown p {
    font-size: 14px;
  }

  .free-followup-head {
    flex-direction: column;
    gap: 8px;
  }

  .free-followup-form {
    grid-template-columns: 1fr;
  }

  .free-followup-form button {
    min-height: 44px;
  }

  .timeline-teaser ol {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .action-number {
    width: 50px;
    height: 50px;
  }

  .unlock-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 27px;
  }

  .unlock-card h3 {
    font-size: 30px;
    line-height: 1.45;
  }

  .unlock-outcomes {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .unlock-outcomes ol {
    grid-template-columns: 1fr;
  }

  .unlock-features {
    grid-template-columns: 1fr;
  }

  .unlock-purchase {
    padding: 22px 0 0;
    border-top: 1px solid rgba(242, 237, 227, 0.11);
    border-left: 0;
  }

  .report-modules article {
    padding-left: 40px;
  }

  .full-report-intro,
  .report-overview {
    grid-template-columns: 1fr;
  }

  .full-report-intro {
    gap: 26px;
  }

  .full-report-intro > p {
    padding-left: 18px;
  }

  .trigram-map,
  .analysis-details,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .trigram-map article,
  .core-image,
  .analysis-details article {
    min-height: 0;
  }

  .trigram-map article:nth-child(3) {
    text-align: left;
  }

  .reading-frame {
    grid-template-columns: 1fr 1fr;
  }

  .reading-frame > div:nth-child(2) {
    border-right: 0;
  }

  .reading-frame > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .window-dates {
    grid-template-columns: 1fr;
  }

  .deep-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .evidence-details > div {
    grid-template-columns: 1fr;
  }

  .takeaway-section {
    padding: 28px 22px;
  }

  .takeaway-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .takeaway-grid,
  .action-rhythm {
    grid-template-columns: 1fr;
  }

  .takeaway-grid article {
    min-height: 0;
  }

  .followup-card {
    grid-template-columns: 1fr;
  }

  .followup-response {
    grid-column: auto;
  }

  .followup-chat-head {
    grid-template-columns: 43px 1fr;
  }

  .chat-context {
    grid-column: 2;
    justify-self: start;
  }

  .chat-history {
    padding: 22px;
  }

  .followup-prompts {
    padding: 0 22px 18px;
  }

  .followup-form {
    grid-template-columns: 1fr;
    margin: 0 22px;
  }

  .followup-form button {
    min-height: 46px;
  }

  .chat-note {
    margin-right: 22px;
    margin-left: 22px;
  }
}

.combined-report-head {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--line);
}

.combined-report-head h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.35;
}

.combined-report-head > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.combined-method-list {
  display: grid;
  gap: 24px;
  padding: 28px 0 10px;
}

.combined-method-section {
  padding: 24px;
  border: 1px solid rgba(173, 135, 82, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 225, 0.68));
}

.combined-method-section > header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.combined-method-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(169, 74, 53, 0.32);
  border-radius: 50%;
  color: var(--cinnabar);
  font-size: 10px;
}

.combined-method-section h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.3;
}

.combined-method-section header small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.combined-method-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}

.combined-method-points span {
  padding: 6px 9px;
  border: 1px solid rgba(173, 135, 82, 0.2);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.5;
}

.combined-copy-block {
  padding: 15px 0;
  border-top: 1px solid rgba(173, 135, 82, 0.16);
}

.combined-copy-block h4 {
  margin: 0 0 7px;
  color: var(--gold-dark, #8d6938);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.combined-copy-block p {
  margin: 0 0 9px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.combined-copy-block p:last-child {
  margin-bottom: 0;
}

.combined-aggregate {
  margin: 28px 0 14px;
  padding: 28px;
  border: 1px solid rgba(169, 74, 53, 0.24);
  background: rgba(249, 244, 233, 0.94);
}

.combined-aggregate > header h3 {
  margin: 7px 0 20px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.combined-analysis-copy {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.combined-analysis-copy > h4,
.combined-total-judgment > h4 {
  margin: 0 0 10px;
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.combined-analysis-mainline {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
}

.combined-total-judgment {
  margin-top: 22px;
  padding: 20px;
  border-left: 3px solid var(--cinnabar);
  background: rgba(255, 255, 255, 0.64);
}

.report-conversion {
  display: grid;
  gap: 14px;
  margin: 0 0 42px;
}

.advisor-entry-card,
.combined-entry-card {
  padding: 24px;
  border: 1px solid rgba(173, 135, 82, 0.3);
  background:
    radial-gradient(circle at 92% 8%, rgba(199, 135, 93, 0.14), transparent 30%),
    linear-gradient(140deg, #f7f0e2, #eee1ca);
}

.combined-entry-card {
  border-color: rgba(87, 75, 59, 0.2);
  background: rgba(255, 255, 255, 0.42);
}

.advisor-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.advisor-entry-meta span:first-child {
  padding: 4px 8px;
  border-radius: 999px;
  color: #fffaf0;
  background: var(--cinnabar);
  letter-spacing: 0.08em;
}

.advisor-entry-card h3,
.combined-entry-card h3 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.45;
}

.advisor-entry-card p,
.combined-entry-card p {
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.advisor-entry-card button,
.combined-entry-card button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--cinnabar);
  color: #fffaf0;
  background: var(--cinnabar);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.combined-entry-card button {
  color: var(--cinnabar);
  background: transparent;
}

.advisor-entry-card button:hover,
.combined-entry-card button:hover {
  filter: brightness(0.94);
}

@media (max-width: 760px) {
  .combined-method-section,
  .combined-aggregate,
  .advisor-entry-card,
  .combined-entry-card {
    padding: 18px;
  }

  .combined-copy-block p,
  .combined-analysis-copy,
  .advisor-entry-card p,
  .combined-entry-card p {
    font-size: 15px;
  }
}

.duplicate-reading-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(24, 27, 23, 0.58);
  backdrop-filter: blur(8px);
}

.duplicate-reading-card {
  position: relative;
  width: min(620px, 100%);
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(63, 74, 58, 0.18);
  border-radius: 24px;
  background: #f7f3e9;
  color: #253027;
  box-shadow: 0 28px 80px rgba(19, 27, 20, 0.24);
}

.duplicate-reading-card h3 {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 500;
}

.duplicate-reading-kicker,
.duplicate-reading-question,
.duplicate-reading-note {
  margin: 0;
}

.duplicate-reading-kicker {
  color: #6d7d6d;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.duplicate-reading-question {
  margin-bottom: 18px;
  font-weight: 600;
}

.duplicate-reading-card blockquote {
  margin: 0 0 18px;
  padding: 18px 20px;
  border-left: 3px solid #8b947d;
  background: rgba(255, 255, 255, 0.58);
  line-height: 1.8;
}

.duplicate-reading-note {
  color: #617061;
  line-height: 1.7;
}

.duplicate-reading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.duplicate-reading-actions button,
.duplicate-reading-actions a {
  flex: 1 1 150px;
  justify-content: center;
}

.duplicate-reading-retry {
  border-color: rgba(111, 80, 58, 0.3);
}

.duplicate-reading-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #5f665d;
  font-size: 25px;
  cursor: pointer;
}

.tarot-spread {
  margin: 28px 0;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 8%, rgba(183, 145, 72, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(255, 253, 247, 0.98), rgba(246, 240, 228, 0.9));
}

.tarot-spread-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.tarot-spread-head h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 36px);
}

.tarot-spread-head > span {
  color: var(--muted);
  font-size: 12px;
}

.tarot-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tarot-card {
  position: relative;
  min-height: 220px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(99, 73, 36, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(150deg, rgba(38, 36, 31, 0.96), rgba(72, 61, 42, 0.94));
  color: #f9f0da;
  box-shadow: 0 16px 34px rgba(47, 39, 26, 0.15);
}

.tarot-card.is-reversed {
  background:
    linear-gradient(150deg, rgba(55, 43, 43, 0.97), rgba(98, 71, 54, 0.93));
}

.tarot-card > span {
  display: block;
  color: rgba(249, 240, 218, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.tarot-card-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 92px;
  margin: 20px auto 16px;
  border: 1px solid rgba(249, 240, 218, 0.42);
  border-radius: 32px;
  font-family: serif;
  font-size: 30px;
}

.tarot-card.is-reversed .tarot-card-mark {
  transform: rotate(180deg);
}

.tarot-card strong {
  display: block;
  text-align: center;
  font-size: 18px;
}

.tarot-card small {
  display: block;
  margin-top: 7px;
  color: rgba(249, 240, 218, 0.75);
  text-align: center;
}

.tarot-reading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.tarot-reading article {
  padding: 18px 20px;
  border: 1px solid rgba(99, 73, 36, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.tarot-reading article:first-child,
.tarot-reading article:last-child:nth-child(even) {
  grid-column: 1 / -1;
}

.tarot-reading h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.tarot-reading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 680px) {
  .tarot-cards,
  .tarot-reading {
    grid-template-columns: 1fr;
  }

  .tarot-reading article,
  .tarot-reading article:first-child,
  .tarot-reading article:last-child:nth-child(even) {
    grid-column: auto;
  }

  .tarot-card {
    min-height: 190px;
  }

  .tarot-spread-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1080px) {
  .bazi-visual-grid {
    grid-template-columns: 1fr;
  }

  .bazi-visual-head {
    grid-template-columns: 1fr;
  }

  .bazi-visual-head > p:last-child {
    max-width: 560px;
  }

  .ziwei-summary-strip {
    grid-template-columns: 1fr 1fr;
  }

  .ziwei-board {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 8px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .ziwei-palace {
    grid-row: auto;
    grid-column: auto;
    min-height: 154px;
    border: 1px solid rgba(65, 72, 64, 0.2);
  }

  .ziwei-center {
    min-height: 270px;
    grid-row: auto;
    grid-column: 1 / -1;
    order: -1;
  }
}

@media (max-width: 820px) {
  .bazi-visual-section {
    padding: 20px;
  }

  .lifekline-section {
    padding: 18px;
  }

  .lifekline-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .lifekline-summary-strip {
    grid-template-columns: 1fr 1fr;
  }

  .lifekline-year-panel {
    grid-template-columns: 1fr;
  }

  .lifekline-phases {
    grid-template-columns: 1fr 1fr;
  }

  .bazi-visual-head h3 {
    font-size: 27px;
  }

  .bazi-visual-head > p:last-child {
    font-size: 13px;
  }

  .bazi-orbit {
    height: 334px;
    --orbit-radius: 128px;
  }

  .bazi-orbit-node {
    width: 64px;
    height: 64px;
  }

  .bazi-orbit-center {
    width: 124px;
    height: 124px;
  }

  .bazi-orbit-center span {
    font-size: 36px;
  }

  .bazi-card-footnote,
  .ziwei-school-note {
    font-size: 11px;
  }

  .bazi-rhythm-stats {
    grid-template-columns: 1fr 1fr;
  }

  .life-unlock-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 21px;
  }

  .life-unlock-purchase {
    padding: 20px 0 0;
    border-top: 1px solid rgba(242, 237, 227, 0.12);
    border-left: 0;
  }

  .life-followup {
    padding: 22px 19px;
  }

  .life-followup-head {
    flex-direction: column;
    gap: 8px;
  }

  .life-followup-head h3 {
    font-size: 23px;
  }

  .reality-checkin {
    padding: 22px 19px;
  }

  .reality-checkin-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reality-checkin-window {
    width: 100%;
  }

  .reality-checkin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reality-checkin-actions .primary-button,
  .reality-checkin-actions .text-button {
    width: 100%;
    min-height: 44px;
  }

  .bazi-pillar-structure-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ziwei-view-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ziwei-view-buttons {
    width: 100%;
  }

  .ziwei-view-buttons button {
    flex: 1;
  }

  .ziwei-summary-strip {
    grid-template-columns: 1fr 1fr;
  }

  .ziwei-summary-strip strong {
    font-size: 15px;
  }

  .ziwei-board {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 8px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .ziwei-palace {
    grid-row: auto;
    grid-column: auto;
    min-height: 154px;
    border: 1px solid rgba(65, 72, 64, 0.2);
  }

  .ziwei-palace-head strong {
    font-size: 16px;
  }

  .ziwei-palace-head span,
  .ziwei-minor,
  .ziwei-star .brightness {
    font-size: 10px;
  }

  .ziwei-star strong {
    font-size: 17px;
  }

  .ziwei-center {
    min-height: 270px;
    grid-row: auto;
    grid-column: 1 / -1;
    order: -1;
  }

  .ziwei-center h4 {
    font-size: 30px;
  }

  .ziwei-signal-strip {
    grid-template-columns: 1fr;
  }

  .ziwei-signal {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .brand-copy {
    display: none;
  }

  .brand-copy small {
    display: none;
  }

  .header-cta {
    padding: 0 14px;
    font-size: 11px;
  }

  .account-entry {
    max-width: 92px;
    padding: 0 8px;
    font-size: 10px;
    white-space: nowrap;
  }

  #authLabel {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-entry small {
    display: none;
  }

  .history-entry,
  .header-cta {
    white-space: nowrap;
  }

  .report-aura {
    width: 330px;
    height: 330px;
  }

  .life-summary-card {
    padding: 21px 20px;
  }

  .life-summary-headline {
    font-size: 25px;
  }

  .life-summary-phase {
    display: grid;
    gap: 5px;
  }

  .figure-preview-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .figure-preview-cta button {
    width: 100%;
  }

  .life-report-nav {
    top: 0;
  }

  .bazi-visual-section {
    padding: 17px;
  }

  .bazi-visual-head h3 {
    font-size: 24px;
  }

  .bazi-orbit {
    height: 286px;
    --orbit-radius: 103px;
  }

  .bazi-orbit-node {
    width: 54px;
    height: 54px;
  }

  .bazi-orbit-node strong {
    font-size: 15px;
  }

  .bazi-orbit-center {
    width: 102px;
    height: 102px;
  }

  .bazi-orbit-center span {
    font-size: 31px;
  }

  .bazi-card-head {
    display: grid;
    gap: 4px;
  }

  .wuxing-bars {
    padding-right: 14px;
    padding-left: 14px;
  }

  .wuxing-row-label {
    grid-template-columns: 22px 1fr auto;
  }

  .wuxing-row-label small {
    display: none;
  }

  .wuxing-summary {
    margin-right: 14px;
    margin-left: 14px;
  }

  .bazi-rhythm-track,
  .bazi-rhythm-stats {
    margin-right: 12px;
    margin-left: 12px;
  }

  .bazi-rhythm-stats > div {
    padding-right: 10px;
    padding-left: 10px;
  }

  .ziwei-summary-strip {
    margin-top: 16px;
  }

  .ziwei-summary-strip > div {
    padding: 12px;
  }

  .ziwei-palace {
    min-height: 158px;
    padding: 11px;
  }

  .ziwei-center {
    padding: 24px 18px;
  }

  .auth-screen {
    padding: 16px;
  }

  .auth-card {
    padding: 30px 22px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-proof {
    gap: 10px;
    font-size: 10px;
  }

  .ask-card {
    min-height: 0;
    padding: 26px 20px;
  }

  .ask-card h2 {
    font-size: 24px;
  }

  .method-picker {
    grid-template-columns: 1fr 1fr;
  }

  .method-option small {
    white-space: normal;
  }

  .prompt-row {
    flex-direction: column;
  }

  .bazi-fields,
  .bazi-fact-grid {
    grid-template-columns: 1fr;
  }

  .bazi-pillar-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading h2,
  .journey-copy h2,
  .manifesto-intro h2,
  .boundary-section h2 {
    font-size: 36px;
  }

  .report-title-row h3 {
    font-size: 30px;
  }

  .timeline li {
    padding-left: 35px;
  }

  .result-topbar {
    flex-direction: column;
    gap: 10px;
  }

  .free-insights-head,
  .timeline-teaser-head {
    flex-direction: column;
    gap: 10px;
  }

  .timeline-teaser-head > span {
    max-width: none;
    text-align: left;
  }

  .casting-head h2 {
    font-size: 32px;
  }

  .coin-stage {
    width: 190px;
    height: 190px;
  }

  .coin {
    width: 72px;
    height: 72px;
    font-size: 23px;
  }

  .coin:nth-child(1) {
    left: 23px;
  }

  .coin:nth-child(2) {
    left: 6px;
  }

  .coin:nth-child(3) {
    left: 34px;
  }

  .verdict-wrap h2 {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Readability pass: keep supporting copy legible across every page and report. */
.mini-label,
.eyebrow {
  font-size: 10px;
}

.hero-lead {
  font-size: 17px;
}

.hero-proof {
  font-size: 12px;
}

.method-option small,
.size-note,
.combined-methods label {
  font-size: 11px;
}

.method-option small {
  color: rgba(242, 237, 227, 0.64);
}

.method-option.is-active small {
  color: rgba(242, 237, 227, 0.82);
}

.method-hint {
  color: rgba(242, 237, 227, 0.68);
  font-size: 13px;
}

.qimen-setup span,
.combined-setup > span,
.question-field > span {
  font-size: 13px;
}

.qimen-setup small,
.combined-setup small,
.question-field small,
.microcopy {
  color: rgba(242, 237, 227, 0.6);
  font-size: 12px;
}

.method-segment button,
.method-number-row label,
.perspective-row span,
.perspective-row select {
  font-size: 11px;
}

.topic-pill,
.prompt-row button {
  font-size: 12px;
}

.prompt-row button {
  color: rgba(242, 237, 227, 0.72);
}

.primary-button {
  font-size: 14px;
}

.ritual-item p {
  font-size: 13px;
  line-height: 1.7;
}

.method-guide-head > p,
.life-heading > p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.method-guide-index {
  font-size: 12px;
}

.method-guide-grid article > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.method-guide-grid dt {
  font-size: 13px;
}

.method-guide-grid dd {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.life-method > span {
  font-size: 11px;
}

.life-method p {
  color: var(--ink-soft);
  font-size: 13px;
}

.life-method small {
  font-size: 11px;
}

.bazi-fields label {
  color: rgba(242, 237, 227, 0.7);
  font-size: 12px;
}

.bazi-fields input,
.bazi-fields select {
  font-size: 13px;
}

.bazi-note {
  color: rgba(242, 237, 227, 0.58);
  font-size: 11px;
  text-align: left;
}

.bazi-result-head .mini-label,
.bazi-result-head p {
  font-size: 14px;
}

.bazi-result-head .mini-label {
  font-size: 11px;
}

.bazi-pillar span,
.bazi-pillar small,
.bazi-card-head span {
  font-size: 11px;
}

.bazi-report p,
.bazi-report li,
.bazi-book-section p {
  font-size: 15px;
  line-height: 1.95;
}

.bazi-card-footnote {
  color: var(--ink-soft);
  font-size: 12px;
}

.figure-insight-head span {
  font-size: 10px;
}

.figure-insight-head strong {
  font-size: 18px;
}

.figure-insight p {
  font-size: 15px;
  line-height: 2;
}

.wuxing-row-label span,
.wuxing-row-label small,
.wuxing-summary span,
.wuxing-summary small,
.bazi-rhythm-stats span {
  font-size: 11px;
}

.wuxing-row-label b {
  font-size: 13px;
}

.bazi-rhythm-track small {
  font-size: 10px;
}

.ziwei-palace-head span,
.ziwei-minor,
.ziwei-star .brightness {
  font-size: 10px;
}

.ziwei-palace-head small,
.ziwei-minor small,
.ziwei-more {
  font-size: 9px;
}

.ziwei-empty,
.ziwei-signal,
.ziwei-school-note {
  font-size: 11px;
}

.ziwei-center-meta span,
.ziwei-center-meta small {
  font-size: 10px;
}

.verdict,
.method-evidence p,
.liuyao-facts p,
.qimen-palace p,
.meihua-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.liuyao-position,
.liuyao-spirit,
.liuyao-najia,
.qimen-palace-top,
.meihua-card > span {
  font-size: 11px;
}

.free-insight-grid article > p:last-child,
.timeline-teaser li p,
.structured-evidence-grid p,
.structured-conditions li p,
.structured-conditions > div > p:last-child {
  font-size: 15px;
  line-height: 1.9;
}

.timeline-teaser li span,
.structured-index,
.structured-conditions li span {
  font-size: 11px;
}

.synthesis-legend,
.synthesis-point p,
.synthesis-time-point p,
.synthesis-support p,
.technical-item p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.synthesis-failure p:last-child {
  font-size: 14px;
}

.free-chat-hint,
.free-chat-message p,
.chat-message p,
.followup-card p {
  font-size: 14px;
  line-height: 1.9;
}

.free-chat-message > span,
.free-chat-message small,
.chat-message > span,
.chat-message small,
.chat-note,
.free-followup-note {
  font-size: 10px;
}

.free-followup-form input,
.followup-form input {
  font-size: 14px;
}

.free-followup-form button,
.followup-form button,
.followup-prompts button,
.followup-actions button {
  font-size: 12px;
}

.unlock-card p:not(.mini-label) {
  color: rgba(242, 237, 227, 0.72);
  font-size: 15px;
  line-height: 1.85;
}

.unlock-features article > span {
  font-size: 11px;
}

.price-line span {
  font-size: 13px;
}

.unlock-purchase > small {
  font-size: 12px;
  line-height: 1.8;
}

.script-reveal > span,
.evidence-details summary,
.evidence-details span {
  font-size: 10px;
}

.evidence-details strong {
  font-size: 14px;
}

.full-report-intro > p,
.classic-quote small {
  font-size: 14px;
  line-height: 1.85;
}

.overview-tags span,
.report-toc a {
  font-size: 11px;
}

.price-card li,
.timeline p,
.footer-brand small,
.site-footer,
.site-footer > p,
.footer-team span {
  font-size: 11px;
  line-height: 1.75;
}

.auth-note,
.bazi-note,
.footer-team span {
  color: var(--muted);
}

.auth-form label,
.bazi-note {
  font-size: 12px;
}

.auth-form input {
  font-size: 14px;
}

.auth-logged-in p {
  font-size: 13px;
}

.legal-meta,
.legal-content p,
.legal-content li,
.legal-callout p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.legal-content h3 {
  font-size: 19px;
}

.legal-footer,
.legal-footer nav,
.legal-footer > small {
  font-size: 11px;
}

@media (max-width: 820px) {
  .method-guide-grid article > p,
  .method-guide-grid dd,
  .figure-insight p,
  .bazi-report p,
  .bazi-report li,
  .bazi-book-section p,
  .legal-content p,
  .legal-content li {
    font-size: 15px;
  }

  .microcopy,
  .method-hint,
  .question-field small,
  .site-footer,
  .site-footer > p {
    font-size: 12px;
  }
}


/* N-2 Combined reuse banner */
.combined-reuse-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(169, 74, 53, 0.35);
  background: rgba(169, 74, 53, 0.08);
  text-align: left;
}

.combined-reuse-copy strong {
  display: block;
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 600;
}

.combined-reuse-copy p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.combined-reuse-cancel {
  flex: none;
  padding: 4px 8px;
  font-size: 12px;
}

/* N-4 Segmented gender toggle */
.bazi-gender-field {
  position: relative;
}

.gender-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 42px;
  border: 1px solid rgba(173, 135, 82, 0.34);
  background: rgba(20, 22, 20, 0.45);
}

.gender-segment-btn {
  border: 0;
  background: transparent;
  color: rgba(242, 237, 227, 0.72);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.gender-segment-btn + .gender-segment-btn {
  border-left: 1px solid rgba(173, 135, 82, 0.24);
}

.gender-segment-btn.is-active {
  background: var(--gold);
  color: #161816;
  font-weight: 600;
}

.sr-only-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* N-6 Structured highlight mark */
mark.synthesis-key-highlight {
  background: rgba(173, 135, 82, 0.16);
  color: var(--cinnabar);
  font-weight: 600;
  padding: 0 3px;
  border-radius: 2px;
}

/* N-9 Price card link styling */
.price-card a.price-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.price-card a.price-card-link:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
}

/* N-12 Multi-stage progress stepper */
.stage-progress {
  width: 100%;
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(173, 135, 82, 0.28);
  background: rgba(255, 253, 248, 0.72);
  text-align: left;
}

.stage-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
  text-align: center;
}

.stage-steps span {
  padding: 4px 6px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  background: rgba(242, 237, 227, 0.65);
}

.stage-steps span.is-active {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
  background: rgba(169, 74, 53, 0.1);
  font-weight: 600;
}

.stage-steps span.is-done {
  border-color: rgba(47, 99, 80, 0.35);
  color: var(--jade);
  background: rgba(47, 99, 80, 0.1);
}

.stage-bar {
  width: 100%;
  height: 5px;
  background: rgba(29, 33, 30, 0.1);
  overflow: hidden;
}

.stage-bar-fill {
  display: block;
  width: 15%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cinnabar));
  transition: width 320ms ease;
}

.stage-note {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}


/* UX-7 Newcomer method guidance tip */
.method-guide-tip {
  margin: 0 0 10px;
  padding: 7px 10px;
  border-left: 2px solid rgba(216, 191, 148, 0.72);
  background: rgba(216, 191, 148, 0.12);
  color: rgba(242, 237, 227, 0.86);
  font-size: 12px;
  line-height: 1.55;
}

.method-guide-tip strong {
  color: #fffdf8;
  font-weight: 600;
}

/* Deep 13-step Liuyao reading layout */
.liuyao-evidence-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.liuyao-evidence-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(57, 68, 61, 0.14);
  background: rgba(255, 253, 248, 0.72);
}

.liuyao-evidence-item p {
  margin: 0;
  line-height: 1.85;
}

.liuyao-breakdown-list {
  display: grid;
  gap: 18px;
}

.liuyao-breakdown-card {
  padding: 18px 20px;
  border: 1px solid rgba(57, 68, 61, 0.13);
  border-left: 3px solid var(--gold);
  background: rgba(255, 253, 248, 0.74);
}

.liuyao-breakdown-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(57, 68, 61, 0.1);
}

.liuyao-breakdown-num {
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.liuyao-breakdown-head h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.liuyao-breakdown-card p {
  margin: 0 0 10px;
  color: var(--ink-mid);
  font-size: 14.5px;
  line-height: 1.88;
}

.liuyao-breakdown-card p:last-child {
  margin-bottom: 0;
}
