:root {
  --yx-bg: #070b14;
  --yx-bg-soft: #0d1422;
  --yx-panel: #111a2b;
  --yx-panel-strong: #152036;
  --yx-line: rgba(219, 183, 104, .26);
  --yx-line-soft: rgba(255, 255, 255, .09);
  --yx-text: #f8f3e8;
  --yx-muted: #b6c0cf;
  --yx-faint: #79879b;
  --yx-gold: #d9b46a;
  --yx-gold-strong: #f0d08a;
  --yx-blue: #76a7ff;
  --yx-danger: #ff8b82;
  --yx-success: #8de3b5;
  --yx-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--yx-text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  background: var(--yx-bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.yx-page {
  min-height: 100vh;
  background:
    linear-gradient(145deg, rgba(11, 28, 58, .84), rgba(7, 11, 20, .92) 45%, rgba(10, 8, 4, .96)),
    #070b14;
}

.yx-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.yx-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.yx-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.yx-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  color: var(--yx-gold-strong);
  background: rgba(217, 180, 106, .08);
  font-weight: 800;
}

.yx-brand-text {
  display: grid;
  gap: 2px;
}

.yx-brand-text strong {
  font-size: 18px;
  letter-spacing: 0;
}

.yx-brand-text span {
  color: var(--yx-muted);
  font-size: 12px;
}

.yx-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.yx-nav a,
.yx-text-link {
  color: var(--yx-muted);
  text-decoration: none;
  font-size: 14px;
}

.yx-nav a:hover,
.yx-text-link:hover {
  color: var(--yx-gold-strong);
}

.yx-quiet-links {
  opacity: .72;
}

.yx-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 36px 0 72px;
}

.yx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: center;
}

.yx-kicker {
  margin: 0 0 18px;
  color: var(--yx-gold);
  font-size: 14px;
  letter-spacing: 0;
}

.yx-hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.yx-hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--yx-muted);
  font-size: 18px;
  line-height: 1.85;
}

.yx-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.yx-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  color: var(--yx-text);
  background: rgba(255, 255, 255, .06);
  text-decoration: none;
  cursor: pointer;
}

.yx-button.primary {
  color: #10131a;
  border-color: rgba(240, 208, 138, .82);
  background: linear-gradient(180deg, #f3d992, #d6ad5c);
  font-weight: 800;
}

.yx-button.secondary {
  border-color: rgba(118, 167, 255, .38);
  background: rgba(118, 167, 255, .12);
}

.yx-button.ghost {
  color: var(--yx-muted);
  background: transparent;
}

.yx-button:disabled {
  opacity: .62;
  cursor: not-allowed;
}

.yx-hidden {
  display: none !important;
}

.yx-claim-entry-wrap {
  min-height: 100vh;
  align-items: center;
}

.yx-claim-entry-card {
  max-width: 560px;
  margin: 0 auto;
}

.yx-claim-step {
  color: var(--yx-gold);
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.yx-claim-entry-copy,
.yx-claim-entry-help {
  color: var(--yx-muted);
  line-height: 1.75;
}

.yx-claim-entry-help {
  margin: 18px 0 0;
  font-size: 13px;
}

.yx-claim-auth {
  margin-top: 18px;
}

.yx-claim-account-actions {
  margin-top: 14px;
  justify-content: flex-start;
}

.yx-claim-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.yx-claim-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--yx-line);
  border-radius: 999px;
  color: var(--yx-muted);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.yx-claim-tab.active {
  color: #10131a;
  border-color: rgba(240, 208, 138, .82);
  background: linear-gradient(180deg, #f3d992, #d6ad5c);
  font-weight: 800;
}

.yx-fold-card {
  margin-top: 16px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.yx-fold-card summary {
  cursor: pointer;
  padding: 16px;
  color: var(--yx-gold-strong);
  font-weight: 800;
}

.yx-fold-card .yx-fold-body {
  padding: 0 16px 16px;
}

.yx-panel {
  border: 1px solid var(--yx-line);
  border-radius: 8px;
  background: rgba(17, 26, 43, .82);
  box-shadow: var(--yx-shadow);
}

.yx-hero-panel {
  padding: 26px;
}

.yx-signal {
  display: grid;
  gap: 14px;
}

.yx-signal-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--yx-line-soft);
}

.yx-signal-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.yx-signal-row span {
  color: var(--yx-gold);
  font-size: 13px;
}

.yx-signal-row strong {
  font-size: 20px;
}

.yx-band {
  padding: 72px 0;
  border-top: 1px solid var(--yx-line-soft);
}

.yx-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.yx-section-head h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0;
}

.yx-section-head p {
  margin: 12px 0 0;
  color: var(--yx-muted);
  line-height: 1.8;
}

.yx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.yx-feature {
  min-height: 164px;
  padding: 20px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.yx-feature span {
  color: var(--yx-gold);
  font-size: 13px;
}

.yx-feature h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.yx-feature p {
  margin: 0;
  color: var(--yx-muted);
  line-height: 1.75;
}

.yx-auth-page,
.yx-center-page,
.yx-free-page {
  min-height: 100vh;
  background:
    linear-gradient(155deg, rgba(10, 23, 47, .9), rgba(7, 11, 20, .96) 50%, rgba(15, 12, 6, .98)),
    var(--yx-bg);
}

.yx-auth-wrap {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 30px 0 64px;
}

.yx-auth-card {
  width: min(440px, 100%);
  padding: 28px;
}

.yx-auth-card h1,
.yx-center-title h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.yx-auth-card p,
.yx-center-title p {
  color: var(--yx-muted);
  line-height: 1.8;
}

.yx-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.yx-field {
  display: grid;
  gap: 8px;
}

.yx-field label {
  color: var(--yx-gold);
  font-size: 14px;
}

.yx-field input,
.yx-field select,
.yx-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 8px;
  color: var(--yx-text);
  background: rgba(255, 255, 255, .06);
  outline: none;
}

.yx-field textarea {
  min-height: 104px;
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 1.65;
  resize: vertical;
}

.yx-field input:focus,
.yx-field select:focus,
.yx-field textarea:focus {
  border-color: rgba(240, 208, 138, .72);
}

.yx-message {
  min-height: 22px;
  color: var(--yx-muted);
  font-size: 14px;
  line-height: 1.6;
}

.yx-message.error {
  color: var(--yx-danger);
}

.yx-message.success {
  color: var(--yx-success);
}

.yx-auth-foot {
  margin-top: 18px;
  color: var(--yx-muted);
  font-size: 14px;
}

.yx-center-main {
  padding: 28px 0 72px;
}

.yx-app-page {
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

.yx-app-main {
  width: min(720px, calc(100% - 24px));
  padding-top: 18px;
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
}

.yx-app-view {
  display: none;
}

.yx-app-view.active {
  display: block;
}

.yx-app-hero {
  display: grid;
  gap: 14px;
  padding: 18px 2px 14px;
}

.yx-app-kicker {
  margin: 0 0 8px;
  color: var(--yx-gold);
  font-size: 13px;
}

.yx-app-hero h1,
.yx-app-section-head h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.yx-app-hero p {
  margin: 8px 0 0;
  color: var(--yx-muted);
  line-height: 1.7;
}

.yx-app-welcome {
  font-size: 15px;
}

.yx-app-section-head {
  margin-bottom: 16px;
}

.yx-app-section-head p {
  margin: 8px 0 0;
}

.yx-home-card {
  margin-top: 14px;
}

.yx-compact-head {
  align-items: center;
}

.yx-empty-card {
  padding: 14px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 10px;
  color: var(--yx-muted);
  background: rgba(255, 255, 255, .035);
}

.yx-report-card-item {
  border-radius: 14px;
}

.yx-suggestion-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.yx-suggestion-grid button {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 12px;
  color: var(--yx-text);
  background: rgba(255, 255, 255, .045);
  text-align: left;
  cursor: pointer;
}

.yx-suggestion-grid button:hover {
  border-color: rgba(240, 208, 138, .5);
}

.yx-mine-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.yx-business-card {
  border-color: rgba(217, 180, 106, .34);
}

.yx-business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.yx-business-security-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--yx-line-soft);
  color: var(--yx-faint);
  font-size: 13px;
  line-height: 1.7;
}

.yx-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(720px, 100%);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border: 1px solid rgba(219, 183, 104, .18);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: rgba(9, 14, 24, .96);
  box-shadow: 0 -14px 38px rgba(0, 0, 0, .36);
  backdrop-filter: blur(14px);
}

.yx-bottom-nav button {
  min-width: 0;
  min-height: 56px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 0;
  border-radius: 14px;
  color: var(--yx-faint);
  background: transparent;
  cursor: pointer;
}

.yx-bottom-nav button.active {
  color: var(--yx-gold-strong);
  background: rgba(217, 180, 106, .1);
}

.yx-bottom-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yx-bottom-nav span {
  font-size: 12px;
  line-height: 1;
}

.yx-center-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.yx-center-title p {
  margin: 8px 0 0;
}

.yx-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 16px;
  align-items: start;
}

.yx-retention-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.yx-claim-success {
  border-color: rgba(141, 227, 181, .36);
  background: linear-gradient(135deg, rgba(141, 227, 181, .12), rgba(17, 26, 43, .96));
}

.yx-claim-success h2 {
  color: var(--yx-success);
}

.yx-upgrade-card {
  border-color: rgba(240, 208, 138, .42);
}

.yx-secondary-area {
  opacity: .88;
}

.yx-card {
  padding: 20px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 8px;
  background: rgba(17, 26, 43, .76);
}

.yx-card + .yx-card {
  margin-top: 16px;
}

.yx-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.yx-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.yx-card h2,
.yx-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.yx-card p {
  margin: 8px 0 0;
  color: var(--yx-muted);
  line-height: 1.75;
}

.yx-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(217, 180, 106, .24);
  border-radius: 999px;
  color: var(--yx-gold-strong);
  font-size: 13px;
  white-space: nowrap;
}

.yx-report-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.yx-report-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.yx-report-item strong {
  display: block;
}

.yx-report-item span {
  display: block;
  margin-top: 5px;
  color: var(--yx-faint);
  font-size: 13px;
}

.yx-bind-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.yx-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.yx-number {
  margin-top: 8px;
  color: var(--yx-gold-strong);
  font-size: 36px;
  font-weight: 800;
}

.yx-footer {
  padding: 26px 0;
  border-top: 1px solid var(--yx-line-soft);
  color: var(--yx-faint);
  font-size: 13px;
}

.yx-hidden {
  display: none !important;
}

.yx-free-main {
  padding: 22px 0 72px;
}

.yx-free-hero {
  max-width: 820px;
  padding: 22px 0 24px;
}

.yx-free-hero h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.yx-free-hero p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--yx-muted);
  font-size: 17px;
  line-height: 1.8;
}

.yx-free-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: 16px;
  align-items: start;
}

.yx-free-card {
  background: rgba(17, 26, 43, .82);
}

.yx-free-preview-body {
  display: grid;
  gap: 10px;
}

.yx-free-actions {
  margin-top: 18px;
}

.yx-ai-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.yx-ai-reply {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(118, 167, 255, .22);
  border-radius: 8px;
  background: rgba(118, 167, 255, .08);
}

.yx-ai-reply strong {
  display: block;
  color: var(--yx-gold-strong);
}

.yx-ai-reply p {
  margin: 8px 0 0;
}

.yx-ai-history {
  margin-top: 18px;
}

.yx-ai-history h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--yx-gold);
  letter-spacing: 0;
}

.yx-ai-history-item {
  padding: 14px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.yx-ai-history-question {
  display: grid;
  gap: 5px;
}

.yx-ai-history-question strong {
  color: var(--yx-text);
}

.yx-ai-history-question span {
  color: var(--yx-faint);
  font-size: 13px;
}

.yx-ai-history-item p {
  margin-top: 10px;
  color: var(--yx-muted);
}

.yx-life-profile-page {
  min-height: 100vh;
}

.yx-life-profile-main {
  padding: 18px 0 72px;
}

.yx-life-profile-top {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yx-life-profile-intro {
  padding: 18px 0 20px;
}

.yx-life-profile-intro h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 8vw, 54px);
  line-height: 1.14;
  letter-spacing: 0;
}

.yx-life-profile-intro p:last-child,
.yx-life-step-copy {
  max-width: 720px;
  color: var(--yx-muted);
  line-height: 1.75;
}

.yx-life-profile-form {
  display: grid;
  gap: 14px;
}

.yx-life-progress {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 0;
  background: rgba(7, 11, 20, .94);
  backdrop-filter: blur(10px);
}

.yx-life-progress button {
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 8px;
  color: var(--yx-muted);
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
}

.yx-life-progress button.active {
  color: #10131a;
  border-color: rgba(240, 208, 138, .82);
  background: linear-gradient(180deg, #f3d992, #d6ad5c);
  font-weight: 800;
}

.yx-life-step {
  display: none;
}

.yx-life-step.active {
  display: block;
}

.yx-life-step .yx-field {
  margin-top: 16px;
}

.yx-life-step label {
  display: block;
  margin-bottom: 8px;
  color: var(--yx-text);
  font-weight: 700;
}

.yx-life-field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--yx-text);
  font-weight: 800;
}

.yx-life-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.yx-life-choice-grid label {
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  color: var(--yx-muted);
  font-weight: 700;
}

.yx-life-choice-grid label.selected {
  border-color: rgba(240, 208, 138, .8);
  background: rgba(240, 208, 138, .14);
  color: var(--yx-text);
}

.yx-life-choice-grid input {
  width: 16px;
  min-height: 16px;
  padding: 0;
}

.yx-life-sensitive-note {
  margin: -2px 0 10px;
  color: var(--yx-faint);
  font-size: 13px;
  line-height: 1.55;
}

.yx-life-scene {
  display: grid;
  gap: 0;
}

.yx-life-step input,
.yx-life-step select,
.yx-life-step textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: var(--yx-text);
  background: rgba(255, 255, 255, .06);
  outline: none;
}

.yx-life-step textarea {
  resize: vertical;
  line-height: 1.65;
}

.yx-life-step input:focus,
.yx-life-step select:focus,
.yx-life-step textarea:focus {
  border-color: rgba(240, 208, 138, .78);
  box-shadow: 0 0 0 3px rgba(240, 208, 138, .12);
}

.yx-life-confirm {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(141, 227, 181, .26);
  border-radius: 8px;
  background: rgba(141, 227, 181, .08);
}

.yx-life-confirm input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.yx-life-profile-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: rgba(7, 11, 20, .94);
  backdrop-filter: blur(10px);
}

.yx-life-profile-actions .yx-button.primary {
  grid-column: 2;
}

.yx-life-complete {
  max-width: 760px;
}

.yx-life-complete h2 {
  margin-top: 0;
}

.yx-life-feedback-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.yx-life-feedback-list div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.yx-life-feedback-list dt {
  color: var(--yx-faint);
  font-size: 13px;
}

.yx-life-feedback-list dd {
  margin: 5px 0 0;
  color: var(--yx-text);
  line-height: 1.65;
}

.yx-life-safe-tip {
  padding: 12px;
  border: 1px solid rgba(141, 227, 181, .22);
  border-radius: 8px;
  background: rgba(141, 227, 181, .08);
  color: var(--yx-muted);
  line-height: 1.7;
}

.yx-life-complete-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.yx-life-profile-locked {
  max-width: 680px;
}

.yx-life-profile-entry-card p {
  max-width: 620px;
}

.yx-strategy-page {
  min-height: 100vh;
}

.yx-strategy-main {
  padding: 18px 0 72px;
}

.yx-strategy-state {
  max-width: 760px;
}

.yx-strategy-state h2,
.yx-strategy-plan-head h2 {
  margin-top: 0;
}

.yx-strategy-plan {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.yx-strategy-plan-head p:last-child {
  color: var(--yx-muted);
}

.yx-strategy-section h3 {
  margin: 0 0 10px;
  color: var(--yx-gold);
  font-size: 18px;
  letter-spacing: 0;
}

.yx-strategy-section p {
  margin: 0;
  color: var(--yx-text);
  line-height: 1.8;
}

.yx-strategy-section ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--yx-text);
  line-height: 1.75;
}

.yx-strategy-entry-card p,
.yx-chart-entry-card p {
  max-width: 620px;
}

.yx-chart-page {
  min-height: 100vh;
  --yx-bg: #f4eadc;
  --yx-bg-soft: #f8f0e2;
  --yx-panel: #fffaf0;
  --yx-panel-strong: #fff5df;
  --yx-line: rgba(151, 107, 45, .24);
  --yx-line-soft: rgba(91, 69, 38, .14);
  --yx-text: #2f281c;
  --yx-muted: #735f43;
  --yx-faint: #9a896f;
  --yx-gold: #b9852e;
  --yx-gold-strong: #8f6424;
  --yx-blue: #315f83;
  color: var(--yx-text);
  background:
    radial-gradient(circle at top left, rgba(202, 164, 89, .18), transparent 34%),
    linear-gradient(180deg, #f6ead7 0%, #efe0c6 100%);
  overflow-x: hidden;
}

.yx-chart-main {
  width: min(980px, calc(100% - 20px));
  padding: 12px 0 40px;
  min-width: 0;
}

.yx-chart-page .yx-life-profile-top {
  min-height: 34px;
  align-items: center;
}

.yx-chart-page .yx-text-link {
  color: #5f4b31;
}

.yx-chart-intro {
  margin-top: 4px;
  padding: 4px 0 8px;
}

.yx-chart-intro h1 {
  max-width: none;
  margin: 2px 0 0;
  color: #2d4b3f;
  font-size: 30px;
  line-height: 1.18;
}

.yx-chart-intro p:last-child {
  max-width: none;
  margin-top: 6px;
  color: #735f43;
  font-size: 15px;
  line-height: 1.5;
}

.yx-chart-state {
  max-width: none;
  margin-top: 8px;
  padding: 12px 14px;
  border-color: rgba(151, 107, 45, .18);
  background: rgba(255, 250, 240, .84);
  box-shadow: 0 8px 22px rgba(98, 64, 22, .08);
}

.yx-chart-state h2 {
  font-size: 16px;
}

.yx-chart-state p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
}

.yx-chart-dashboard {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  min-width: 0;
}

.yx-chart-profile {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-color: rgba(151, 107, 45, .2);
  background: rgba(255, 250, 240, .9);
  box-shadow: 0 8px 22px rgba(98, 64, 22, .08);
}

.yx-chart-profile h2 {
  margin: 0;
  color: #2d4b3f;
  font-size: 19px;
}

.yx-chart-profile p {
  margin-top: 4px;
  color: #6f5a3e;
  line-height: 1.45;
}

.yx-chart-version {
  max-width: 220px;
  color: #7e6a4d;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.yx-chart-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.yx-chart-tabs button {
  min-height: 38px;
  border: 1px solid var(--yx-line-soft);
  border-radius: 8px;
  color: #5f4b31;
  background: rgba(255, 250, 240, .7);
  cursor: pointer;
}

.yx-chart-tabs button.active {
  color: #2f281c;
  border-color: rgba(185, 133, 46, .72);
  background: linear-gradient(180deg, #f4d58c, #d4a04a);
  font-weight: 800;
}

.yx-chart-panel {
  display: none;
  padding: 12px;
  border: 1px solid rgba(151, 107, 45, .2);
  border-radius: 8px;
  background: rgba(255, 250, 240, .92);
  box-shadow: 0 10px 28px rgba(98, 64, 22, .08);
  min-width: 0;
  overflow: hidden;
}

.yx-chart-panel.active {
  display: block;
}

.yx-chart-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.yx-chart-panel-head h2,
.yx-chart-subsection h3 {
  margin: 0;
  color: #2d4b3f;
  letter-spacing: 0;
}

.yx-chart-panel-head p {
  max-width: 520px;
  margin: 0;
  color: #735f43;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.yx-bazi-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.yx-bazi-pillar {
  min-width: 0;
  overflow: hidden;
  min-height: 0;
  padding: 12px 8px 14px;
  border: 1px solid rgba(151, 107, 45, .24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, .96), rgba(246, 237, 215, .96)),
    #fffaf0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .78),
    0 8px 18px rgba(98, 64, 22, .06);
}

.yx-bazi-pillar.day-master {
  border-color: rgba(185, 133, 46, .72);
  background:
    linear-gradient(180deg, rgba(255, 248, 229, .98), rgba(242, 221, 176, .98)),
    #fff6df;
  box-shadow:
    inset 0 0 0 1px rgba(185, 133, 46, .14),
    0 10px 20px rgba(98, 64, 22, .08);
}

.yx-bazi-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  color: #6b573a;
  font-size: 11px;
  line-height: 1.2;
}

.yx-bazi-label em {
  padding: 1px 4px;
  border-radius: 999px;
  color: #fffaf0;
  background: #2d4b3f;
  font-size: 10px;
  font-style: normal;
}

.yx-bazi-ganzhi {
  display: grid;
  gap: 10px;
  margin: 12px 0 4px;
  text-align: center;
}

.yx-bazi-stack-line {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
}

.yx-bazi-char,
.yx-bazi-table-char {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8f6424;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.yx-bazi-char {
  min-height: 30px;
  font-size: 31px;
}

.yx-bazi-table-char {
  min-height: 22px;
  font-size: 21px;
}

.wuxing-wood {
  color: #178348 !important;
}

.wuxing-fire {
  color: #d43f32 !important;
}

.wuxing-earth {
  color: #a76624 !important;
}

.wuxing-metal {
  color: #c38c18 !important;
}

.wuxing-water {
  color: #2274d9 !important;
}

.yx-bazi-role {
  max-width: 100%;
  color: #6f8c7d;
  font-size: 10px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.yx-bazi-pillar p {
  display: grid;
  gap: 2px;
  margin: 6px 0 0;
  color: #6f5a3e;
  font-size: 10px;
  line-height: 1.35;
}

.yx-bazi-pillar p span {
  color: #9a896f;
}

.yx-bazi-pillar p b {
  color: #3d3324;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.yx-bazi-ten-god b {
  color: #315f83;
}

.yx-bazi-detail {
  margin-top: 10px;
  border: 1px solid rgba(151, 107, 45, .22);
  border-radius: 8px;
  background: rgba(255, 253, 246, .76);
  overflow: hidden;
}

.yx-bazi-detail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(151, 107, 45, .18);
  background: rgba(232, 216, 174, .4);
}

.yx-bazi-detail-title strong {
  color: #2d4b3f;
  font-size: 14px;
}

.yx-bazi-detail-title span {
  color: #7e6a4d;
  font-size: 11px;
  text-align: right;
}

.yx-bazi-detail-grid {
  display: grid;
  grid-template-columns: 48px repeat(4, minmax(0, 1fr));
  min-width: 0;
}

.yx-bazi-detail-label,
.yx-bazi-detail-cell {
  min-width: 0;
  min-height: 38px;
  padding: 6px 4px;
  border-top: 1px solid rgba(151, 107, 45, .12);
  color: #5f4b31;
  font-size: 11px;
  line-height: 1.35;
}

.yx-bazi-detail-label {
  display: grid;
  place-items: center;
  background: rgba(232, 216, 174, .26);
  color: #6f8c7d;
  font-weight: 800;
}

.yx-bazi-detail-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 3px;
  border-left: 1px solid rgba(151, 107, 45, .12);
  text-align: center;
  overflow-wrap: anywhere;
}

.yx-bazi-detail-label.head,
.yx-bazi-detail-cell.head {
  min-height: 30px;
  border-top: 0;
  background: rgba(232, 216, 174, .38);
  color: #6f8c7d;
  font-weight: 800;
}

.yx-bazi-token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 1px 4px;
  border-radius: 6px;
  color: #3d3324;
  background: rgba(255, 250, 240, .78);
  font-size: 10px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.yx-bazi-token.stem {
  min-width: 20px;
  background: transparent;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 800;
}

.yx-bazi-token.god {
  min-height: 0;
  padding: 0 1px;
  border-radius: 0;
  color: #16324a;
  background: transparent;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .04em;
}

.yx-bazi-token.na-yin {
  color: #8f6424;
  background: rgba(185, 133, 46, .1);
}

.yx-bazi-token.shensha {
  color: #8d5a11;
  border: 1px solid rgba(200, 156, 55, .3);
  background: rgba(238, 204, 106, .18);
}

.yx-bazi-shensha-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 1px 5px;
  border: 1px solid rgba(111, 140, 125, .28);
  border-radius: 999px;
  color: #2f5f53;
  background: rgba(255, 253, 246, .78);
  font-size: 10px;
  line-height: 1.2;
}

.yx-bazi-token.muted {
  color: #9a896f;
  background: rgba(154, 137, 111, .08);
}

.yx-bazi-hidden-pair {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  max-width: 100%;
}

.yx-bazi-detail-cell.stack {
  flex-direction: column;
  gap: 2px;
}

.yx-bazi-detail-hero {
  min-height: 34px;
  font-size: 30px;
}

.yx-bazi-stem-line {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.yx-bazi-detail-note {
  margin: 0;
  padding: 8px 10px;
  border-top: 1px dashed rgba(151, 107, 45, .18);
  color: #735f43;
  font-size: 13px;
  line-height: 1.7;
}

.yx-bazi-detail-note p {
  margin: 0;
}

.yx-shensha-section {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(151, 107, 45, .22);
  border-radius: 8px;
  background: rgba(255, 253, 246, .82);
}

.yx-shensha-section.error {
  border-color: rgba(212, 63, 50, .22);
  background: rgba(212, 63, 50, .06);
}

.yx-shensha-section > h3,
.yx-shensha-head h3 {
  margin: 0;
  color: #2d4b3f;
  font-size: 16px;
  letter-spacing: 0;
}

.yx-shensha-section > p {
  margin: 6px 0 0;
  color: #735f43;
  font-size: 12px;
  line-height: 1.55;
}

.yx-shensha-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.yx-shensha-head span {
  color: #8f6424;
  font-size: 12px;
  white-space: nowrap;
}

.yx-shensha-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.yx-shensha-card {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(151, 107, 45, .18);
  border-radius: 8px;
  background: #fffaf0;
}

.yx-shensha-card.level-auspicious {
  border-color: rgba(185, 133, 46, .32);
}

.yx-shensha-card.level-reminder {
  border-color: rgba(49, 95, 131, .22);
}

.yx-shensha-card-top {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #2f281c;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.yx-shensha-card-top strong {
  color: #2d4b3f;
  font-size: 15px;
}

.yx-shensha-card-top span {
  flex: 0 0 auto;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(185, 133, 46, .28);
  border-radius: 999px;
  color: #8f6424;
  background: rgba(185, 133, 46, .08);
  font-size: 11px;
}

.yx-shensha-brief,
.yx-shensha-pillars,
.yx-shensha-basis,
.yx-shensha-advice {
  margin: 6px 0 0;
  color: #5f4b31;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.yx-shensha-pillars,
.yx-shensha-basis {
  color: #7e6a4d;
}

.yx-shensha-detail {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(151, 107, 45, .18);
}

.yx-shensha-hook {
  width: 100%;
  min-height: 34px;
  margin-top: 8px;
  border: 1px solid rgba(185, 133, 46, .45);
  border-radius: 8px;
  color: #2f281c;
  background: linear-gradient(180deg, #f4d58c, #d4a04a);
  font-weight: 800;
  cursor: pointer;
}

.yx-dual-point-section {
  padding: 10px;
  border: 1px solid rgba(151, 107, 45, .22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, .94), rgba(248, 239, 218, .94)),
    #fffaf0;
  box-shadow: 0 8px 22px rgba(98, 64, 22, .07);
}

.yx-dual-point-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.yx-dual-point-head h2 {
  margin: 0;
  color: #2d4b3f;
  font-size: 16px;
  letter-spacing: 0;
}

.yx-dual-point-head button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(185, 133, 46, .34);
  border-radius: 999px;
  color: #8f6424;
  background: rgba(185, 133, 46, .08);
  font-size: 12px;
  cursor: pointer;
}

.yx-dual-point-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.yx-dual-point-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(151, 107, 45, .18);
  border-radius: 8px;
  background: #fffdf6;
}

.yx-dual-point-card.highlight {
  border-color: rgba(185, 133, 46, .42);
  background: linear-gradient(180deg, rgba(255, 248, 229, .98), rgba(248, 235, 200, .98));
}

.yx-dual-point-card.reminder {
  border-color: rgba(49, 95, 131, .22);
}

.yx-dual-point-kicker {
  display: block;
  color: #8f6424;
  font-size: 12px;
  line-height: 1.3;
}

.yx-dual-point-card h3 {
  margin: 5px 0 0;
  color: #2d4b3f;
  font-size: 17px;
  line-height: 1.3;
}

.yx-dual-point-meta,
.yx-dual-point-basis,
.yx-dual-point-runner {
  margin: 6px 0 0;
  color: #735f43;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.yx-dual-point-basis {
  color: #5f4b31;
}

.yx-dual-point-runner {
  color: #7e6a4d;
}

.yx-chart-subsection {
  margin-top: 12px;
  min-width: 0;
}

.yx-luck-note {
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #efe6d4;
  color: #3d3324;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.yx-luck-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(151, 107, 45, .18);
  border-radius: 8px;
  background: #fffdf8;
}

.yx-luck-grid {
  display: grid;
  width: max-content;
  min-width: 100%;
}

.yx-luck-label,
.yx-luck-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 4px;
  border-top: 1px solid rgba(151, 107, 45, .12);
  border-left: 1px solid rgba(151, 107, 45, .1);
  color: #3d3324;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.yx-luck-label {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #f3eadb;
  color: #6b5840;
  font-size: 12px;
}

.yx-luck-cell.age,
.yx-luck-cell.year,
.yx-luck-cell.stem,
.yx-luck-cell.stack {
  background: rgba(243, 234, 219, .55);
}

.yx-luck-cell.is-current {
  background: rgba(246, 223, 169, .72);
}

.yx-luck-cell.stack {
  flex-direction: column;
  gap: 1px;
}

.yx-luck-char {
  min-height: 30px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.yx-luck-cell .yx-bazi-token.god {
  font-size: 15px;
}

.yx-dayun-timeline,
.yx-liunian-timeline {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 8px;
}

.yx-dayun-node,
.yx-liunian-node {
  min-width: 0;
  flex: 0 0 78px;
  min-height: 64px;
  padding: 8px;
  border: 1px solid rgba(151, 107, 45, .18);
  border-radius: 8px;
  background: #fffdf6;
}

.yx-dayun-node.active,
.yx-liunian-node.active {
  border-color: rgba(185, 133, 46, .74);
  background: #f6dfa9;
}

.yx-dayun-node strong,
.yx-dayun-node span,
.yx-liunian-node strong,
.yx-liunian-node span {
  display: block;
}

.yx-dayun-node strong,
.yx-liunian-node strong {
  color: #2d4b3f;
}

.yx-dayun-node span,
.yx-liunian-node span {
  margin-top: 3px;
  color: #735f43;
  font-size: 11px;
}

.yx-ziwei-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: -2px 0 8px;
  padding: 7px 8px;
  border: 1px solid rgba(151, 107, 45, .16);
  border-radius: 8px;
  background: rgba(255, 253, 246, .72);
}

.yx-ziwei-toolbar-copy {
  flex: 1 1 180px;
  color: #7e6a4d;
  font-size: 11px;
  line-height: 1.35;
}

.yx-ziwei-toolbar-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(49, 95, 131, .18);
  border-radius: 999px;
  color: #315f83;
  background: rgba(49, 95, 131, .05);
  font-size: 11px;
  white-space: nowrap;
}

.yx-ziwei-toolbar-chip.strong {
  border-color: rgba(185, 133, 46, .35);
  color: #8f6424;
  background: rgba(185, 133, 46, .08);
}

.yx-ziwei-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(116px, auto));
  gap: 5px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(151, 107, 45, .24);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 251, .92), rgba(247, 240, 224, .92)),
    #fffdf6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .64);
}

.yx-ziwei-palace {
  position: relative;
  min-width: 0;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(95, 130, 116, .22);
  border-radius: 8px;
  color: #2f281c;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, .98), rgba(248, 245, 234, .98)),
    #fffdf6;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(98, 64, 22, .045);
}

.yx-ziwei-palace.soul,
.yx-ziwei-palace.body {
  border-color: rgba(185, 133, 46, .68);
}

.yx-ziwei-palace.active {
  border-color: rgba(45, 75, 63, .45);
  background:
    linear-gradient(180deg, rgba(255, 248, 229, .98), rgba(244, 229, 195, .98)),
    #fff6df;
  box-shadow:
    inset 0 0 0 1px rgba(185, 133, 46, .18),
    0 8px 18px rgba(98, 64, 22, .08);
}

.yx-ziwei-palace-tags {
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  pointer-events: none;
}

.yx-ziwei-palace-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0 4px;
  border: 1px solid rgba(185, 133, 46, .38);
  border-radius: 999px;
  color: #8f6424;
  background: rgba(255, 248, 229, .92);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.yx-ziwei-palace-tags + .yx-ziwei-palace-head {
  padding-top: 17px;
}

.yx-ziwei-palace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  color: #6f8c7d;
  font-size: 10px;
  line-height: 1.2;
}

.yx-ziwei-palace-head b {
  color: #9a896f;
  font-size: 9px;
  font-weight: 500;
}

.yx-ziwei-palace p {
  margin: 3px 0 0;
  color: #735f43;
  font-size: 9px;
  line-height: 1.25;
}

.yx-ziwei-tags {
  color: #8f6424 !important;
  font-weight: 800;
}

.yx-ziwei-stars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  min-width: 0;
  margin-top: 3px;
}

.yx-ziwei-stars span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.yx-star-major,
.yx-star-minor,
.yx-star-adjective {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  max-width: 100%;
  line-height: 1.2;
}

.yx-star-major strong {
  color: #b9852e;
  font-size: 14px;
  font-weight: 900;
}

.yx-star-major em,
.yx-star-minor em,
.yx-star-adjective em {
  color: #8f6424;
  font-size: 8px;
  font-style: normal;
}

.yx-star-major i,
.yx-star-minor i,
.yx-star-adjective i {
  padding: 0 2px;
  border-radius: 4px;
  font-size: 8px;
  font-style: normal;
}

.yx-star-major.muted,
.yx-star-minor.muted,
.yx-star-adjective.muted {
  color: #9a896f;
  font-size: 10px;
}

.yx-star-minor strong {
  color: #1b7c8e;
  font-size: 11px;
  font-weight: 800;
}

.yx-star-adjective strong {
  color: #6f8c7d;
  font-size: 9px;
  font-weight: 600;
}

.yx-ziwei-hua {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 3px;
}

.yx-ziwei-hua span {
  padding: 1px 4px;
  border-radius: 999px;
  color: #fffaf0;
  background: #315f83;
  font-size: 9px;
  line-height: 1.2;
}

.yx-star-major.hua-lu i,
.yx-star-minor.hua-lu i,
.ziwei-hua.hua-lu {
  color: #1f7a4d;
  background: rgba(31, 122, 77, .1);
}

.yx-star-major.hua-quan i,
.yx-star-minor.hua-quan i,
.ziwei-hua.hua-quan {
  color: #a76624;
  background: rgba(167, 102, 36, .12);
}

.yx-star-major.hua-ke i,
.yx-star-minor.hua-ke i,
.ziwei-hua.hua-ke {
  color: #2274d9;
  background: rgba(34, 116, 217, .1);
}

.yx-star-major.hua-ji i,
.yx-star-minor.hua-ji i,
.ziwei-hua.hua-ji {
  color: #d43f32;
  background: rgba(212, 63, 50, .1);
}

.yx-ziwei-palace-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  margin-top: auto;
  padding-top: 3px;
}

.yx-ziwei-palace-meta span {
  min-width: 0;
  color: #6f8c7d;
  font-size: 9px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.yx-ziwei-palace-meta strong {
  flex: 0 0 auto;
  color: #0f5b5f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.yx-ziwei-center {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  display: grid;
  place-content: center;
  gap: 4px;
  min-height: 236px;
  padding: 10px;
  border: 1px solid rgba(151, 107, 45, .18);
  border-radius: 8px;
  color: #2d4b3f;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .7), transparent 64%),
    linear-gradient(135deg, rgba(185, 133, 46, .08), rgba(49, 95, 131, .04)),
    #fffaf0;
  text-align: center;
}

.yx-ziwei-center strong {
  color: #2d4b3f;
  font-size: 18px;
  letter-spacing: 0;
}

.yx-ziwei-center span {
  color: #735f43;
  font-size: 11px;
  line-height: 1.35;
}

.yx-ziwei-center-kicker {
  color: #b9852e !important;
  font-size: 12px !important;
}

.yx-ziwei-center-line.strong {
  color: #0f5b5f;
  font-weight: 800;
}

.yx-ziwei-palace.pos-0 { grid-column: 1; grid-row: 1; }
.yx-ziwei-palace.pos-1 { grid-column: 2; grid-row: 1; }
.yx-ziwei-palace.pos-2 { grid-column: 3; grid-row: 1; }
.yx-ziwei-palace.pos-3 { grid-column: 4; grid-row: 1; }
.yx-ziwei-palace.pos-4 { grid-column: 4; grid-row: 2; }
.yx-ziwei-palace.pos-5 { grid-column: 4; grid-row: 3; }
.yx-ziwei-palace.pos-6 { grid-column: 4; grid-row: 4; }
.yx-ziwei-palace.pos-7 { grid-column: 3; grid-row: 4; }
.yx-ziwei-palace.pos-8 { grid-column: 2; grid-row: 4; }
.yx-ziwei-palace.pos-9 { grid-column: 1; grid-row: 4; }
.yx-ziwei-palace.pos-10 { grid-column: 1; grid-row: 3; }
.yx-ziwei-palace.pos-11 { grid-column: 1; grid-row: 2; }

.yx-ziwei-detail {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid rgba(151, 107, 45, .18);
  border-radius: 8px;
  background: #fffdf6;
}

.yx-ziwei-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yx-ziwei-detail-head strong {
  color: #2d4b3f;
  font-size: 17px;
}

.yx-ziwei-detail p {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  margin: 6px 0 0;
  color: #6f5a3e;
  font-size: 12px;
  line-height: 1.35;
}

.yx-ziwei-detail p span {
  color: #9a896f;
}

.yx-ziwei-detail p b {
  color: #2f281c;
  overflow-wrap: anywhere;
}

.yx-mutagen-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.yx-mutagen-list span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(49, 95, 131, .24);
  border-radius: 8px;
  color: #315f83;
  background: rgba(49, 95, 131, .06);
  font-size: 12px;
}

.yx-chart-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.yx-chart-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgba(151, 107, 45, .18);
  border-radius: 8px;
  color: #2d4b3f;
  background: rgba(255, 250, 240, .8);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
}

.yx-chart-disclaimer {
  margin: 0;
  color: #735f43;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .yx-hero {
    min-height: auto;
    padding-top: 24px;
  }

  .yx-hero-grid,
  .yx-dashboard,
  .yx-feature-grid,
  .yx-free-grid,
  .yx-mini-grid {
    grid-template-columns: 1fr;
  }

  .yx-center-head {
    display: grid;
  }


}

@media (max-width: 560px) {
  .yx-shell {
    width: min(100% - 24px, 1160px);
  }

  .yx-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .yx-nav {
    justify-content: flex-start;
  }


  .yx-actions,
  .yx-card-actions,
  .yx-card-head,
  .yx-report-item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .yx-button {
    width: 100%;
  }

  .yx-life-profile-actions {
    grid-template-columns: 1fr 1fr;
  }

  .yx-life-profile-actions .yx-button.primary {
    grid-column: 1 / -1;
  }

  .yx-life-choice-grid {
    grid-template-columns: 1fr;
  }

  .yx-life-complete-actions {
    grid-template-columns: 1fr;
  }

  .yx-chart-profile,
  .yx-chart-panel-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .yx-chart-version,
  .yx-chart-panel-head p {
    max-width: none;
    text-align: left;
  }

  .yx-chart-links {
    grid-template-columns: 1fr 1fr;
  }

  .yx-shensha-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .yx-shensha-head span {
    white-space: normal;
  }

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

  .yx-dual-point-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .yx-dual-point-list {
    grid-template-columns: 1fr;
  }

  .yx-chart-main {
    width: min(100% - 16px, 980px);
  }

  .yx-chart-intro h1 {
    font-size: 28px;
  }

  .yx-chart-profile {
    grid-template-columns: 1fr;
  }

  .yx-chart-version {
    text-align: left;
  }

  .yx-bazi-pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .yx-bazi-pillar {
    min-height: 0;
    padding: 10px 4px 12px;
  }

  .yx-bazi-char {
    min-height: 27px;
    font-size: 27px;
  }

  .yx-bazi-role,
  .yx-bazi-pillar p {
    font-size: 9px;
  }

  .yx-bazi-detail-title {
    padding: 0 7px;
  }

  .yx-bazi-detail-title span {
    font-size: 10px;
  }

  .yx-bazi-detail-grid {
    grid-template-columns: 42px repeat(4, minmax(0, 1fr));
  }

  .yx-bazi-detail-label,
  .yx-bazi-detail-cell {
    min-height: 36px;
    padding: 5px 2px;
    font-size: 10px;
  }

  .yx-bazi-table-char {
    font-size: 19px;
  }

  .yx-bazi-token {
    padding: 1px 3px;
    font-size: 9px;
  }

  .yx-bazi-token.god {
    padding: 0;
    font-size: 15px;
  }

  .yx-luck-char {
    min-height: 24px;
    font-size: 22px;
  }

  .yx-luck-cell .yx-bazi-token.god {
    font-size: 13px;
  }

  .yx-ziwei-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(108px, auto));
    gap: 4px;
    padding: 4px;
  }

  .yx-ziwei-palace {
    min-height: 108px;
    padding: 5px 4px;
  }

  .yx-ziwei-toolbar {
    padding: 6px;
  }

  .yx-ziwei-toolbar-copy {
    flex-basis: 100%;
    font-size: 10px;
  }

  .yx-ziwei-toolbar-chip {
    min-height: 20px;
    padding: 0 6px;
    font-size: 10px;
  }

  .yx-ziwei-palace-tags span {
    min-height: 15px;
    padding: 0 3px;
    font-size: 8px;
  }

  .yx-ziwei-palace-tags + .yx-ziwei-palace-head {
    padding-top: 16px;
  }

  .yx-ziwei-palace-head,
  .yx-ziwei-palace p,
  .yx-ziwei-palace-meta span {
    font-size: 8px;
  }

  .yx-star-major strong {
    font-size: 12px;
  }

  .yx-star-minor strong {
    font-size: 9px;
  }

  .yx-star-adjective strong {
    font-size: 8px;
  }

  .yx-ziwei-hua span,
  .yx-star-major em,
  .yx-star-minor em,
  .yx-star-adjective em,
  .yx-star-major i,
  .yx-star-minor i,
  .yx-star-adjective i {
    font-size: 7px;
  }

  .yx-ziwei-palace-meta strong {
    font-size: 12px;
  }

  .yx-ziwei-center {
    min-height: 220px;
    padding: 6px;
  }

  .yx-ziwei-center strong {
    font-size: 16px;
  }

  .yx-ziwei-center span {
    font-size: 10px;
  }

  .yx-ziwei-detail p {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 6px;
    font-size: 11px;
  }

  .yx-hero h1 {
    font-size: 38px;
  }
}

/* Homepage brand system — scoped to .yx-home only */
@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/noto-serif-sc-600.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-serif-sc-600.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

.yx-home {
  --yx-display: "Noto Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  --yx-sans: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ink: #060610;
  --ink-2: #0a0a16;
  --ink-3: #10101f;
  --paper: #f5eee0;
  --muted-on-dark: rgba(245, 238, 224, .76);
  --faint-on-dark: rgba(245, 238, 224, .52);
  --gold: #d4a853;
  --gold-l: #f2dca0;
  --gold-m: #b8923e;
  --gold-d: #7a5e28;
  --line-dark: rgba(222, 210, 191, .12);
  --sand: #f4f0e8;
  --sand-card: #fffaf2;
  --ink-text: #1a2330;
  --ink-muted: #5e6773;
  --bronze: #8a7354;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  color: var(--paper);
  font-family: var(--yx-sans);
  background: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.yx-page.yx-home {
  background: var(--ink);
}

.yx-home > header,
.yx-home > main,
.yx-home > footer {
  position: relative;
  z-index: 1;
}

.yx-home .yx-shell {
  width: min(1180px, calc(100% - 48px));
}

.yx-home .yx-topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(6, 6, 16, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 168, 83, .08);
}

.yx-home-nav {
  width: min(1180px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.yx-wordmark {
  display: grid;
  color: var(--paper);
  text-decoration: none;
  min-width: 0;
}

.yx-wordmark strong {
  font-family: var(--yx-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .28em;
}

.yx-wordmark span {
  margin-top: 4px;
  color: var(--faint-on-dark);
  font-size: 10px;
  letter-spacing: .28em;
}

.yx-home-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.yx-home-links a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}

.yx-home-links a:hover,
.yx-home-links a[aria-current="page"] {
  color: var(--gold-l);
}

.yx-home .yx-hero-stage {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .4fr) minmax(0, .6fr);
  gap: 48px;
  align-items: center;
  padding: 28px 0 72px;
  text-align: left;
}

.yx-hero-sky {
  position: absolute;
  inset: -12% -18% auto;
  height: 120%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(212, 168, 83, .16), transparent 42%),
    radial-gradient(circle at 18% 28%, rgba(242, 220, 160, .08), transparent 8%),
    radial-gradient(circle at 78% 18%, rgba(242, 220, 160, .06), transparent 6%),
    radial-gradient(circle at 62% 62%, rgba(245, 238, 224, .05), transparent 4%);
}

.yx-home .yx-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .22em;
}

.yx-home .yx-hero .yx-kicker,
.yx-home .yx-close .yx-kicker {
  letter-spacing: .42em;
}

.yx-home .yx-hero h1,
.yx-home .yx-section-head h2,
.yx-home .yx-feature h3,
.yx-home .yx-layers h3,
.yx-home .yx-close h2 {
  font-family: var(--yx-display);
  font-weight: 600;
  letter-spacing: 0;
}

.yx-home .yx-hero h1 {
  margin: 0;
  max-width: 7em;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.16;
  letter-spacing: 0;
  color: #f4f4f0;
}

.yx-hero-quiet {
  margin: 0 0 18px;
  color: var(--paper);
  font-family: var(--yx-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .38em;
  line-height: 1.8;
}

.yx-home .yx-hero-copy {
  max-width: 22em;
  margin: 24px 0 0;
  color: var(--muted-on-dark);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.9;
  font-weight: 400;
}

.yx-home .yx-hero-note {
  max-width: none;
  margin: 16px 0 0;
  color: var(--faint-on-dark);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
}

.yx-home .yx-hero-note span {
  display: inline-block;
  margin-left: 14px;
}

.yx-home .yx-actions {
  justify-content: flex-start;
  margin-top: 36px;
  gap: 12px;
}

.yx-home .yx-button {
  min-width: 180px;
  padding: 16px 28px;
  border-radius: 60px;
  font-family: var(--yx-display);
  font-weight: 500;
  letter-spacing: .22em;
  box-shadow: none;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.yx-home .yx-button.primary {
  color: var(--ink);
  border: 0;
  background: linear-gradient(135deg, var(--gold-l), var(--gold) 58%, var(--gold-m));
  box-shadow: 0 8px 28px rgba(212, 168, 83, .22);
}

.yx-home .yx-hero .yx-button.primary {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: #f4f4f0;
  color: #111315;
  letter-spacing: .06em;
  box-shadow: none;
}

.yx-home .yx-hero .yx-button.primary:hover {
  color: #111315;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.yx-home .yx-button.primary:hover,
.yx-home .yx-button.ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(212, 168, 83, .18);
}

.yx-home .yx-button.primary:hover {
  color: var(--ink);
  border: 0;
  background: linear-gradient(135deg, #fff4d2, var(--gold-l) 50%, var(--gold));
}

.yx-home .yx-button.ghost {
  color: var(--muted-on-dark);
  border: 1px solid rgba(222, 210, 191, .22);
  background: transparent;
}

.yx-home .yx-button.ghost:hover {
  color: var(--gold-l);
  border-color: rgba(212, 168, 83, .4);
  background: rgba(212, 168, 83, .06);
}

.yx-home .yx-close .yx-button.primary {
  color: var(--ink);
  border: 0;
  background: linear-gradient(135deg, var(--gold-l), var(--gold) 58%, var(--gold-m));
}

.yx-home .yx-close .yx-button.primary:hover {
  color: var(--ink);
  background: linear-gradient(135deg, #fff4d2, var(--gold-l) 50%, var(--gold));
  border: 0;
}

.yx-invite {
  position: relative;
  min-height: 520px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 36px;
  padding: 24px 0 8px;
}

.yx-invite-orbit {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, .28);
  box-shadow:
    0 0 0 28px rgba(212, 168, 83, .04),
    0 0 80px rgba(212, 168, 83, .08);
  animation: yx-breathe 9s ease-in-out infinite;
}

.yx-invite-orbit::before,
.yx-invite-orbit::after {
  content: "";
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, .18);
}

.yx-invite-orbit::after {
  inset: 72px;
  border-color: rgba(212, 168, 83, .42);
}

.yx-invite-orbit i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--gold-l);
  box-shadow: 0 0 22px rgba(242, 220, 160, .7);
}

.yx-invite-orbit::before {
  transform: rotate(18deg);
}

.yx-invite-list {
  list-style: none;
  width: min(100%, 360px);
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.yx-invite-list li {
  display: grid;
  gap: 6px;
  text-align: center;
}

.yx-invite-list span {
  color: var(--gold-l);
  font-family: var(--yx-display);
  font-size: 15px;
  letter-spacing: .42em;
}

.yx-invite-list p {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 13px;
  line-height: 1.8;
}

.yx-hero-visual {
  margin: 0;
  padding: 10px;
  border: 1px solid #333a3d;
  border-radius: 16px;
  background: #1a1d20;
}

.yx-hero-visual img {
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  background: #e7e4de;
}

.yx-hero-visual figcaption,
.yx-home-stage figcaption {
  padding: 10px 8px 2px;
  color: #bac0c2;
  font-size: 13px;
  letter-spacing: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .yx-hero-copy-block .yx-kicker,
  .yx-hero-copy-block h1,
  .yx-hero-copy-block .yx-hero-copy {
    animation: yx-rise .7s cubic-bezier(.22, 1, .36, 1) both;
  }

  .yx-hero-copy-block h1 { animation-delay: .06s; }
  .yx-hero-copy-block .yx-hero-copy { animation-delay: .12s; }

  .yx-hero-visual {
    animation: yx-rise .85s cubic-bezier(.22, 1, .36, 1) .08s both;
  }

  .yx-home-stage img.is-in {
    animation: yx-fade .32s ease;
  }
}

.yx-home-demo {
  width: min(1240px, calc(100% - 40px));
}

.yx-home-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.yx-home-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(26, 35, 48, .16);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-text);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.yx-home-tabs button[aria-selected="true"] {
  border-color: #111315;
  background: #111315;
  color: #f4f4f0;
}

.yx-home-tabs button:focus-visible,
.yx-home .yx-hero .yx-button:focus-visible {
  outline: 2px solid #b5a082;
  outline-offset: 3px;
}

.yx-home-stage-note {
  max-width: 36em;
  margin: 16px 0 0;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.65;
}

.yx-home-stage {
  width: min(720px, 100%);
  margin: 28px 0 0;
  padding: 10px;
  border: 1px solid rgba(26, 35, 48, .1);
  border-radius: 16px;
  background: #fff;
}

.yx-home-stage img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  background: #f7f6f3;
}

.yx-home-stage figcaption {
  color: var(--ink-muted);
}

@keyframes yx-fade {
  from { opacity: .45; }
  to { opacity: 1; }
}

.yx-band-ink {
  padding: 108px 0 88px;
  background: linear-gradient(180deg, #060610, #0c101c);
}

.yx-home .yx-section-head-left {
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.yx-home .yx-section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.22;
}

.yx-home .yx-section-head p {
  margin: 16px 0 0;
  max-width: 40em;
  color: var(--muted-on-dark);
  font-size: 16px;
  line-height: 1.75;
}

.yx-layers {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
}

.yx-layers li {
  padding-top: 0;
}

.yx-layers span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .18em;
}

.yx-layers h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.yx-layers p {
  margin: 0;
  max-width: 28ch;
  color: var(--muted-on-dark);
  font-size: 15px;
  line-height: 1.7;
}

.yx-capability {
  padding: 8px 0 36px;
  background: #0c101c;
}

.yx-capability ul {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
}

.yx-capability li {
  color: var(--muted-on-dark);
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.6;
}

.yx-band-sand {
  color: var(--ink-text);
  background: var(--sand);
}

.yx-band-sand {
  padding: 108px 0 96px;
}

.yx-band-sand .yx-kicker {
  color: var(--bronze);
}

.yx-band-sand .yx-section-head h2,
.yx-band-sand .yx-feature h3 {
  color: var(--ink-text);
}

.yx-band-sand .yx-section-head p {
  color: var(--ink-muted);
}

.yx-home .yx-feature-grid {
  gap: 18px;
  margin-top: 48px;
}

.yx-home .yx-feature {
  min-height: 260px;
  display: grid;
  align-content: start;
  padding: 26px 24px 22px;
  border: 1px solid rgba(26, 35, 48, .08);
  border-radius: 14px;
  background: var(--sand-card);
  text-decoration: none;
  color: inherit;
  box-shadow: none;
}

.yx-feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yx-home .yx-feature span {
  color: var(--bronze);
  font-size: 11px;
  letter-spacing: .16em;
}

.yx-home .yx-feature-meta b {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
}

.yx-home .yx-feature h3 {
  margin: 16px 0 10px;
  font-size: 28px;
}

.yx-home .yx-feature p {
  color: var(--ink-muted);
}

.yx-home .yx-feature em {
  margin-top: auto;
  padding-top: 28px;
  color: var(--ink-text);
  font-size: 13px;
  font-style: normal;
  letter-spacing: .1em;
}

.yx-home .yx-feature-link:hover {
  border-color: rgba(26, 35, 48, .22);
  background: #fff;
}

.yx-home .yx-feature-primary {
  background: #fff;
  box-shadow: 0 16px 36px rgba(26, 35, 48, .06);
}

.yx-home .yx-feature-primary h3 {
  font-size: 30px;
}

.yx-home .yx-feature-soon-link em {
  color: var(--ink-text);
}

.yx-close {
  padding: 128px 0 120px;
  text-align: center;
  color: var(--paper);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 168, 83, .12), transparent 46%),
    #060610;
}

.yx-close h2 {
  margin: 0;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.22;
  letter-spacing: .08em;
  color: var(--gold-l);
}

.yx-close p {
  margin: 28px 0 40px;
  color: var(--gold);
  letter-spacing: .36em;
  font-size: 12px;
}

.yx-close .yx-kicker {
  color: var(--gold);
}

.yx-close .yx-button {
  margin: 0 auto;
}

.yx-home .yx-footer {
  padding: 28px 0 36px;
  background: #060610;
  color: var(--faint-on-dark);
  border-top: 1px solid rgba(212, 168, 83, .1);
}

.yx-home .yx-home-footer p {
  margin: 0;
  color: var(--paper);
  font-family: var(--yx-display);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .12em;
}

.yx-home .yx-home-footer span {
  color: var(--faint-on-dark);
  font-family: var(--yx-sans);
  font-size: 11px;
  letter-spacing: .22em;
}

.yx-home .yx-home-foot-nav a {
  color: var(--faint-on-dark);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .08em;
}

.yx-home .yx-home-foot-nav a:hover {
  color: var(--gold-l);
}

.yx-home .yx-home-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.yx-home .yx-beian {
  margin: 22px 0 0;
  text-align: center;
}

.yx-home .yx-beian a {
  color: var(--faint-on-dark);
  font-size: 12px;
  letter-spacing: .08em;
  text-decoration: none;
}

.yx-home .yx-beian a:hover {
  color: var(--gold-l);
}

.yx-home .yx-feature-pair {
  grid-template-columns: 1.15fr .85fr;
}

.yx-home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .72fr);
  gap: 48px 56px;
  align-items: center;
}

.yx-home-split-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
}

.yx-home-flow {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yx-home-flow li {
  padding: 10px 14px;
  border: 1px solid rgba(212, 168, 83, .28);
  border-radius: 999px;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .06em;
}

.yx-home-shot {
  margin: 0;
  text-align: center;
}

.yx-home-shot img {
  width: min(100%, 280px);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.yx-home-shot-wide img {
  width: min(100%, 520px);
  border-radius: 18px;
}

.yx-home-shot figcaption {
  margin-top: 12px;
  color: var(--faint-on-dark);
  font-size: 12px;
  letter-spacing: .08em;
}

.yx-home-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.yx-home-cards article {
  padding: 22px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 35, 48, .08);
}

.yx-home-cards h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.yx-home-cards p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.7;
}

.yx-home-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yx-home-points li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .04em;
}

.yx-home-sum {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yx-home-sum li {
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink-text);
  letter-spacing: .12em;
}

.yx-home-sum-end {
  margin: 22px 0 0;
  color: var(--ink-muted);
}

.yx-home-sum-end a {
  color: var(--ink-text);
  letter-spacing: .08em;
}

.yx-close-actions {
  justify-content: center;
}

.yx-close .yx-button.ghost {
  color: var(--paper);
  border-color: rgba(245, 238, 224, .28);
}

.yx-home .yx-home-foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

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

@keyframes yx-glow {
  0%, 100% { opacity: .42; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.05); }
}

@keyframes yx-breathe {
  0%, 100% { box-shadow: 0 0 0 28px rgba(212, 168, 83, .04), 0 0 80px rgba(212, 168, 83, .08); }
  50% { box-shadow: 0 0 0 36px rgba(212, 168, 83, .07), 0 0 96px rgba(212, 168, 83, .14); }
}

@media (prefers-reduced-motion: reduce) {
  .yx-hero-copy-block .yx-kicker,
  .yx-hero-copy-block h1,
  .yx-hero-copy-block .yx-hero-copy,
  .yx-hero-visual,
  .yx-home-stage img,
  .yx-invite-orbit {
    animation: none;
  }
}

@media (max-width: 1040px) {
  .yx-home .yx-hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
    padding: 20px 0 56px;
    text-align: left;
    justify-items: stretch;
  }

  .yx-hero-visual {
    width: 100%;
  }

  .yx-hero-visual img {
    max-height: 68vh;
  }

  .yx-invite {
    order: -1;
    min-height: 0;
    gap: 22px;
    padding: 8px 0 0;
  }

  .yx-invite-orbit {
    width: 168px;
    height: 168px;
  }

  .yx-invite-orbit::before {
    inset: 26px;
  }

  .yx-invite-orbit::after {
    inset: 52px;
  }

  .yx-home .yx-hero-copy {
    margin-left: 0;
    margin-right: 0;
  }

  .yx-home .yx-actions {
    justify-content: flex-start;
  }

  .yx-layers {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .yx-layers p {
    max-width: none;
  }

  .yx-capability ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .yx-home .yx-shell,
  .yx-home-nav,
  .yx-home .yx-hero-stage {
    width: min(100% - 32px, 1180px);
  }

  .yx-home-nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .yx-home-links {
    gap: 16px;
    justify-content: flex-start;
  }

  .yx-home .yx-hero h1 {
    font-size: clamp(34px, 10vw, 40px);
    letter-spacing: 0;
  }

  .yx-hero-quiet {
    letter-spacing: .22em;
    font-size: 13px;
  }

  .yx-invite-orbit {
    width: 132px;
    height: 132px;
  }

  .yx-home .yx-hero-copy {
    font-size: 15px;
  }

  .yx-home .yx-hero-note span {
    display: block;
    margin: 4px 0 0;
  }

  .yx-home .yx-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .yx-home .yx-actions .yx-button,
  .yx-home .yx-close .yx-button {
    width: 100%;
    min-width: 0;
  }

  .yx-home .yx-close .yx-button {
    max-width: 280px;
  }

  .yx-band-ink,
  .yx-band-sand {
    padding: 72px 0 64px;
  }

  .yx-close {
    padding: 88px 0 80px;
  }

  .yx-home .yx-home-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .yx-capability ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 1040px) {
  .yx-home .yx-feature-pair,
  .yx-home-split,
  .yx-home-split-reverse,
  .yx-home-cards {
    grid-template-columns: 1fr;
  }

  .yx-home-shot img,
  .yx-home-shot-wide img {
    width: min(100%, 320px);
  }
}

@media (max-width: 560px) {
  .yx-home-cards {
    grid-template-columns: 1fr;
  }

  .yx-home .yx-home-links {
    gap: 12px 16px;
  }
}

html:has(body.yx-home) {
  overflow-x: clip;
}

.yx-public-chart .yx-card {
  padding: 22px;
  border: 1px solid rgba(91, 69, 38, .16);
  border-radius: 16px;
  background: #fffaf0;
  color: #2f281c;
  box-shadow: 0 12px 28px rgba(98, 64, 22, .08);
}

.yx-public-chart .yx-field label,
.yx-public-chart .yx-field > span {
  color: #5f4b31;
  font-size: 14px;
  font-weight: 650;
}

.yx-public-chart .yx-field input,
.yx-public-chart .yx-field select {
  background: #fff;
  color: #1c1915;
  border: 1px solid rgba(91, 69, 38, .32);
  border-radius: 10px;
}

.yx-public-chart .yx-field input::placeholder {
  color: #8a7860;
}

.yx-calendar-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.yx-calendar-switch button {
  min-height: 46px;
  border: 1px solid rgba(91, 69, 38, .32);
  border-radius: 10px;
  background: #fff;
  color: #2f281c;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.yx-calendar-switch button.active {
  color: #1c1915;
  border-color: #b9852e;
  background: linear-gradient(180deg, #f4d58c, #d4a04a);
  font-weight: 800;
}

.yx-public-chart .yx-public-date {
  grid-template-columns: 1.4fr .8fr .8fr;
}

.yx-public-chart .yx-public-note,
.yx-public-chart .yx-message {
  margin: 0;
  color: #5c4e3a;
  font-size: 14px;
  line-height: 1.7;
}

.yx-public-chart .yx-message.error {
  color: #9a3412;
}

.yx-public-chart .yx-button.primary {
  width: 100%;
  min-height: 48px;
}

@media (max-width: 640px) {
  .yx-public-chart .yx-public-date,
  .yx-public-chart .yx-mini-grid {
    grid-template-columns: 1fr;
  }
}
