@font-face {
  font-family: "ZhiMangXing";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("https://putiyuan.pages.dev/fonts/ZhiMangXing-subset.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --xuan: #1a1410;
  --xuan-card: #261f18;
  --xuan-surface: #3d3428;
  --paper: #f5f0e8;
  --paper-dark: #d8c7a6;
  --gold: #c9a96e;
  --gold-dark: #8b6914;
  --gold-light: #d4bc8a;
  --vermillion: #c43d3d;
  --vermillion-light: #d65d5d;
  --ink: #2c241c;
  --ink-light: #6b5d4f;
  --paper-warm: #f3ead8;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: STKaiti, KaiTi, "Noto Serif CJK SC", serif;
  --font-brand: "ZhiMangXing", cursive;
}

* {
  box-sizing: border-box;
  border-color: rgba(201, 169, 110, 0.2);
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--xuan);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.defs {
  display: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

p {
  margin: 0;
}

::selection {
  background: rgba(201, 169, 110, 0.24);
  color: var(--paper);
}

.site-bg,
.site-bg > div,
.site-bg > span {
  pointer-events: none;
  position: fixed;
}

.site-bg {
  inset: 0;
  z-index: 0;
}

.bg-gradient {
  inset: 0;
  background: linear-gradient(180deg, var(--xuan) 0%, var(--xuan-card) 48%, var(--xuan) 100%);
}

.bg-temple {
  inset: 0;
  background: url("https://putiyuan.pages.dev/temple/temple-mountain.svg") center / cover no-repeat;
  opacity: 0.2;
}

.bg-vignette {
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(10, 6, 4, 0.55) 0%,
    rgba(10, 6, 4, 0.35) 30%,
    transparent 60%,
    rgba(10, 6, 4, 0.6) 100%
  );
}

.bg-gold {
  inset: 0 0 auto;
  height: 8rem;
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.15), transparent);
}

.site-bg > span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.4);
  animation: glow-rise 5s ease-out infinite both;
}

.top-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 4rem;
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, rgba(25, 19, 13, 0.9), rgba(25, 19, 13, 0.5) 78%, transparent);
}

.top-inner {
  display: flex;
  width: min(78rem, calc(100% - 4.5rem));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0;
}

.brand {
  display: flex;
  flex: 0 0 12.5rem;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.brand-lotus {
  width: 2.16rem;
  height: 2.16rem;
  color: var(--gold);
  stroke-width: 1.45;
  filter: drop-shadow(0 0 9px rgba(201, 160, 94, 0.42));
}

.brand span {
  background: linear-gradient(180deg, #f5e6b8 0%, #c9a05c 50%, #8b6914 100%);
  background-clip: text;
  color: transparent;
  font-family: var(--font-brand);
  font-size: 1.54rem;
  letter-spacing: 0.11em;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desktop-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(0.95rem, 1.55vw, 1.55rem);
  min-width: 0;
  white-space: nowrap;
}

.desktop-nav a {
  color: rgba(230, 215, 184, 0.84);
  font-size: 0.88rem;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.26);
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.desktop-nav a:hover {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(201, 169, 110, 0.28);
}

.nav-actions {
  display: flex;
  flex: 0 0 13.2rem;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 0;
}

.install-wrap {
  position: relative;
}

.install-wrap[hidden] {
  display: none;
}

.round-button {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 999px;
  background: rgba(47, 37, 26, 0.24);
  color: rgba(231, 211, 170, 0.86);
  box-shadow: inset 0 0 12px rgba(201, 169, 110, 0.04);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.round-button:hover {
  border-color: rgba(201, 169, 110, 0.56);
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
  box-shadow: 0 0 14px rgba(201, 169, 110, 0.14);
}

.install-button {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 999px;
  background: rgba(47, 37, 26, 0.24);
  color: rgba(231, 211, 170, 0.86);
  box-shadow: inset 0 0 12px rgba(201, 169, 110, 0.04);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.install-button:hover,
.install-button[aria-expanded="true"] {
  border-color: rgba(201, 169, 110, 0.56);
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
  box-shadow: 0 0 14px rgba(201, 169, 110, 0.14);
}

.round-button svg,
.install-button svg,
.restore-button svg {
  width: 1rem;
  height: 1rem;
}

.install-popover {
  position: absolute;
  top: calc(100% + 0.625rem);
  right: 0;
  z-index: 200;
  width: 14rem;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 0.75rem;
  padding: 1rem;
  background: rgba(38, 31, 24, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.install-popover[hidden] {
  display: none;
}

.install-title {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.install-steps {
  display: grid;
  gap: 0.375rem;
  color: rgba(216, 199, 166, 0.8);
  font-size: 0.75rem;
  line-height: 1.65;
}

.install-steps strong {
  color: var(--gold);
  font-weight: 700;
}

.install-note {
  margin-top: 0.5rem;
  color: rgba(216, 199, 166, 0.5);
  font-size: 0.625rem;
}

.restore-button {
  display: inline-flex;
  min-height: 2.3rem;
  align-items: center;
  gap: 0.48rem;
  max-width: 9rem;
  border: 1px solid rgba(201, 169, 110, 0.36);
  border-radius: 999px;
  padding: 0 0.84rem;
  background: rgba(47, 37, 26, 0.22);
  color: var(--gold);
  font-size: 0.875rem;
  box-shadow: inset 0 0 12px rgba(201, 169, 110, 0.04);
}

.restore-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restore-button:hover {
  background: rgba(201, 169, 110, 0.1);
  box-shadow: 0 0 14px rgba(201, 169, 110, 0.14);
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.4), transparent);
}

.top-nav > .gold-divider {
  opacity: 0.14;
}

.page {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 3.5rem);
  padding: 3.5rem 0 2rem;
}

.page-inner {
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: 0 1rem 5rem;
}

.hero-section {
  display: flex;
  min-height: calc(100svh - 3.5rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 0.5rem;
  text-align: center;
}

.reveal {
  animation: brush-reveal 0.8s ease-out both;
}

.hero-content {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.hero-lotus-wrap {
  position: relative;
  display: flex;
  width: 5rem;
  height: 5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.3);
}

.hero-lotus {
  width: 3rem;
  height: 3rem;
  stroke-width: 1.6;
}

.hero-lotus-wrap span {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(201, 160, 94, 0.6);
  border-radius: 999px;
  animation: ring-expand 3s ease-out infinite;
}

.hero-lotus-wrap span:last-child {
  animation-delay: 1.5s;
}

.hero-section h1 {
  background: linear-gradient(180deg, #f5e6b8 0%, #c9a05c 50%, #8b6914 100%);
  background-clip: text;
  color: transparent;
  font-family: var(--font-brand);
  font-size: 3.75rem;
  letter-spacing: 0.18em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section p {
  max-width: 28rem;
  color: rgba(216, 199, 166, 0.85);
  font-size: 1.125rem;
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  animation-delay: 0.08s;
}

.button {
  display: inline-flex;
  min-width: 180px;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.button-primary {
  background: var(--vermillion);
  color: #fff;
  box-shadow: 0 10px 30px rgba(196, 61, 61, 0.2);
}

.button-primary:hover {
  background: var(--vermillion-light);
}

.button-ghost {
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--gold);
}

.button-ghost:hover {
  border-color: rgba(201, 169, 110, 0.6);
  background: rgba(201, 169, 110, 0.1);
}

.scroll-hint {
  color: rgba(216, 199, 166, 0.65);
  font-size: 0.875rem;
  animation: bounce 1s infinite;
}

.section {
  padding-bottom: 4rem;
}

.section-title {
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.875rem;
  text-align: center;
}

.gate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gate-card,
.why-card {
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.75rem;
  background: rgba(38, 31, 24, 0.95);
  box-shadow: 0 2px 12px rgba(245, 240, 232, 0.08);
  backdrop-filter: blur(4px);
}

.gate-card {
  min-height: 218px;
  padding: 1.25rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gate-card:hover {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.3);
}

.gate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gate-top svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold);
}

.gate-top .text-red {
  color: var(--vermillion);
}

.gate-top span {
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 999px;
  padding: 0.125rem 0.5rem;
  color: rgba(201, 169, 110, 0.8);
  font-size: 0.75rem;
}

.gate-card h3 {
  margin-top: 0.75rem;
  color: var(--paper-dark);
  font-size: 1.5rem;
}

.gate-card p {
  margin-top: 0.75rem;
  color: rgba(216, 199, 166, 0.8);
  font-size: 1rem;
  line-height: 1.75;
}

.why-card {
  padding: 1.5rem;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.2), rgba(201, 169, 110, 0.05));
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 500;
}

.why-card h2 {
  margin-top: 1.25rem;
  color: var(--gold);
  font-size: 1.875rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.why-grid div {
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 0.75rem;
  padding: 1rem;
  background: rgba(61, 52, 40, 0.4);
  text-align: left;
}

.why-grid h3 {
  color: var(--gold);
  font-size: 1.125rem;
}

.why-grid p {
  margin-top: 0.5rem;
  color: rgba(216, 199, 166, 0.8);
  font-size: 0.875rem;
  line-height: 1.6;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 1rem;
}

.book-grid span {
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 0.75rem;
  padding: 0.75rem 0.5rem;
  background: rgba(61, 52, 40, 0.7);
  color: var(--paper-dark);
  font-size: 0.9rem;
}

.paper-section {
  margin-bottom: 4rem;
  border-right: 4px solid rgba(201, 169, 110, 0.4);
  border-left: 4px solid rgba(201, 169, 110, 0.4);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  background: var(--paper-warm);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 4px 24px rgba(26, 20, 16, 0.12);
}

.paper-section > svg {
  width: 2.5rem;
  height: 2.5rem;
  margin: 1rem auto 0;
  color: var(--vermillion);
}

.paper-section > p {
  margin-top: 0.75rem;
  color: var(--ink-light);
  font-size: 0.875rem;
}

.paper-section h2 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  letter-spacing: 0.12em;
}

.paper-copy {
  max-width: 28rem;
  margin: 0.75rem auto 0;
  color: var(--ink) !important;
  font-size: 1rem !important;
  line-height: 2;
}

.button-ritual {
  width: fit-content;
  min-width: auto;
  margin: 1rem auto;
  background: var(--vermillion);
  color: #fff;
  font-size: 1rem;
}

.round-red {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 61, 61, 0.3);
  border-radius: 999px;
  margin: 1rem auto 0;
  background: rgba(196, 61, 61, 0.1);
  color: var(--vermillion);
}

.round-red svg {
  width: 1.75rem;
  height: 1.75rem;
}

.tracking {
  letter-spacing: 0.18em;
}

.site-footer {
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding-top: 2.5rem;
  color: rgba(216, 199, 166, 0.7);
  text-align: center;
  font-size: 0.875rem;
}

.site-footer .gold-text {
  color: rgba(201, 169, 110, 0.8);
}

.site-footer div {
  width: 3rem;
  height: 1px;
  margin: 0.5rem auto;
  background: rgba(201, 169, 110, 0.15);
}

.site-footer .small {
  color: rgba(216, 199, 166, 0.6);
  font-size: 0.75rem;
}

.mobile-bottom {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(201, 169, 110, 0.14);
  background: rgba(26, 20, 16, 0.95);
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(12px);
}

.mobile-bottom a {
  display: grid;
  min-height: 58px;
  place-items: center;
  color: rgba(216, 199, 166, 0.82);
  font-size: 0.75rem;
}

.mobile-bottom a.active {
  color: var(--gold);
}

.module-page {
  padding: 3rem 0 4rem;
}

.module-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.16);
  padding: 2rem 0 1.5rem;
}

.module-eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  color: var(--gold);
  font-size: 0.72rem;
}

.module-eyebrow:empty {
  display: none;
}

.module-hero h1 {
  margin-top: 0.85rem;
  color: var(--paper);
  font-size: 2.4rem;
}

.module-hero p {
  max-width: 42rem;
  margin-top: 0.75rem;
  color: rgba(216, 199, 166, 0.78);
  line-height: 1.85;
}

.user-badge {
  min-width: 11rem;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(38, 31, 24, 0.82);
  text-align: right;
}

.user-badge span,
.user-badge small {
  display: block;
}

.user-badge span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.user-badge small {
  margin-top: 0.25rem;
  color: rgba(216, 199, 166, 0.62);
  font-size: 0.72rem;
}

.module-layout {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.module-layout.has-side {
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.36fr);
  align-items: start;
}

.module-main,
.module-side {
  display: grid;
  gap: 1rem;
}

.ritual-panel,
.pay-card {
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: rgba(38, 31, 24, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.ritual-panel.soft {
  background: rgba(61, 52, 40, 0.62);
}

.ritual-panel h2,
.pay-card h2 {
  color: var(--gold);
  font-size: 1.35rem;
}

.ritual-panel p,
.pay-card p,
.ritual-panel li {
  margin-top: 0.65rem;
  color: rgba(216, 199, 166, 0.78);
  line-height: 1.75;
}

.ritual-panel blockquote {
  margin: 1rem 0;
  border-left: 3px solid rgba(201, 169, 110, 0.55);
  padding-left: 1rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.8;
}

.ritual-panel.agent-state {
  border-color: rgba(201, 169, 110, 0.3);
  background: rgba(61, 52, 40, 0.62);
}

.agent-section {
  margin-top: 0.75rem;
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.65rem;
  padding: 0.85rem;
  background: rgba(20, 16, 12, 0.28);
}

.agent-section strong {
  display: block;
  color: var(--paper);
}

.agent-json {
  overflow-x: auto;
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.8rem;
  background: rgba(20, 16, 12, 0.36);
  color: rgba(216, 199, 166, 0.82);
  font-size: 0.8rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.bazi-page {
  display: grid;
  gap: 4rem;
  width: min(1120px, calc(100vw - 2rem));
  margin-inline: auto;
  padding-top: 2rem;
}

.bazi-hero {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.bazi-hero-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.05);
  color: var(--gold);
}

.bazi-hero-icon svg {
  width: 2rem;
  height: 2rem;
}

.bazi-hero h1 {
  color: var(--gold);
  font-size: 2.35rem;
}

.bazi-hero p {
  max-width: 34rem;
  color: rgba(216, 199, 166, 0.85);
  line-height: 1.7;
}

.bazi-layout {
  margin-top: 0;
  gap: 4rem;
}

.bazi-page .ritual-panel {
  border-color: rgba(201, 169, 110, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: rgba(33, 26, 20, 0.88);
  box-shadow:
    0 0 0 1px rgba(245, 230, 184, 0.08),
    0 0 36px rgba(245, 230, 184, 0.28),
    0 24px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.bazi-page .ritual-panel h2 {
  color: rgba(216, 199, 166, 0.84);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
}

.bazi-page .ritual-panel.bazi-birth-panel {
  padding: 1.7rem 1.75rem 1.55rem;
  border-color: rgba(216, 199, 166, 0.34);
  background: rgba(36, 29, 21, 0.9);
  box-shadow:
    0 0 0 1px rgba(245, 230, 184, 0.15),
    0 0 18px rgba(245, 230, 184, 0.42),
    0 0 34px rgba(245, 230, 184, 0.24),
    0 30px 60px rgba(0, 0, 0, 0.36);
}

.bazi-page .bazi-birth-panel h2 {
  display: none;
}

.bazi-master-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.bazi-master-option {
  display: block;
}

.bazi-master-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bazi-master-card {
  display: grid;
  min-height: 8.9rem;
  gap: 0.45rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.7rem;
  padding: 0.95rem 1rem;
  background: rgba(26, 20, 16, 0.36);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.bazi-master-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
}

.bazi-master-avatar {
  font-size: 2rem;
  line-height: 1;
}

.bazi-master-option input:checked + .bazi-master-card {
  border-color: rgba(201, 169, 110, 0.72);
  background: rgba(201, 169, 110, 0.12);
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.22),
    0 0 34px rgba(201, 169, 110, 0.34),
    0 18px 34px rgba(0, 0, 0, 0.18);
}

.bazi-master-card strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.bazi-master-card em {
  color: rgba(201, 169, 110, 0.86);
  font-style: normal;
  font-size: 0.88rem;
}

.bazi-master-card small {
  color: rgba(216, 199, 166, 0.68);
  line-height: 1.45;
}

.route-form.bazi-birth-form {
  gap: 1.25rem;
  margin-top: 0;
}

.bazi-birth-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.12rem 0.85rem;
}

.bazi-step-field,
.bazi-control-field {
  display: grid;
  gap: 0.45rem;
}

.bazi-step-field {
  grid-column: span 2;
}

.bazi-hour-field,
.bazi-gender-field {
  grid-column: span 3;
}

.bazi-step-field > span,
.bazi-control-field > span {
  color: rgba(216, 199, 166, 0.72);
  font-size: 0.92rem;
}

.bazi-stepper {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  min-height: 4rem;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 0.9rem;
  background: rgba(74, 62, 45, 0.58);
}

.bazi-stepper button {
  border: 0;
  background: transparent;
  color: rgba(216, 199, 166, 0.82);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.bazi-stepper button:hover {
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold);
}

.bazi-select-stack {
  display: grid;
  place-items: center;
  padding: 0.38rem 0 0.34rem;
}

.bazi-select-stack small {
  margin-top: 0.08rem;
  color: rgba(216, 199, 166, 0.42);
  font-size: 0.66rem;
  line-height: 1;
}

.bazi-stepper select,
.bazi-select-control select {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  appearance: none;
}

.bazi-stepper select {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.15;
  text-align: center;
  text-align-last: center;
}

.bazi-select-control {
  position: relative;
  display: grid;
  min-height: 4rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 0.9rem;
  background: rgba(74, 62, 45, 0.58);
}

.bazi-select-control::after {
  position: absolute;
  right: 1rem;
  color: rgba(216, 199, 166, 0.86);
  content: "⌄";
  font-size: 1.1rem;
  pointer-events: none;
}

.bazi-select-control select {
  height: 100%;
  padding: 0 3rem 0 1.3rem;
  color: rgba(245, 230, 184, 0.88);
  font-size: 1.16rem;
}

.bazi-gender-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 4rem;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 0.9rem;
  background: rgba(74, 62, 45, 0.58);
}

.bazi-gender-toggle label {
  display: grid;
}

.bazi-gender-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bazi-gender-toggle span {
  display: grid;
  place-items: center;
  color: var(--paper);
  font-size: 1.16rem;
  cursor: pointer;
}

.bazi-gender-toggle input:checked + span {
  background: rgba(201, 169, 110, 0.18);
  color: var(--gold);
}

.bazi-submit-row {
  display: flex;
  justify-content: center;
}

.bazi-submit-button {
  width: auto;
  min-width: 10rem;
  height: 3rem;
  border-radius: 0.8rem;
  padding-inline: 1.65rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 12px 26px rgba(196, 61, 61, 0.28);
}

.bazi-chart-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.bazi-chart-meta span,
.bazi-pillars-grid article {
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.65rem;
  background: rgba(20, 16, 12, 0.3);
}

.bazi-chart-meta span {
  padding: 0.7rem 0.8rem;
  color: rgba(216, 199, 166, 0.76);
  font-size: 0.85rem;
}

.bazi-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.bazi-pillars-grid article {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  text-align: center;
}

.bazi-pillars-grid span {
  color: rgba(216, 199, 166, 0.68);
  font-size: 0.78rem;
}

.bazi-pillars-grid strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.bazi-pillars-grid small,
.bazi-pillars-grid em {
  color: rgba(216, 199, 166, 0.7);
  font-style: normal;
  line-height: 1.45;
}

.bazi-result-flow {
  display: grid;
  gap: 4rem;
  scroll-margin-top: 5.75rem;
}

.bazi-page .ritual-panel.bazi-flow-card {
  position: relative;
  overflow: hidden;
  min-height: 31rem;
  scroll-margin-top: 5.75rem;
  padding: 2.1rem;
  border-color: rgba(216, 199, 166, 0.38);
  background: rgba(36, 29, 21, 0.9);
  box-shadow:
    0 0 0 1px rgba(245, 230, 184, 0.14),
    0 0 24px rgba(245, 230, 184, 0.38),
    0 28px 62px rgba(0, 0, 0, 0.34);
}

.bazi-flow-stage {
  opacity: 0;
  transform: translateY(22px);
  animation: bazi-stage-in 0.72s ease forwards;
}

.bazi-flow-stage:nth-child(2) {
  animation-delay: 0.38s;
}

.bazi-flow-stage:nth-child(3) {
  animation-delay: 0.86s;
}

.bazi-loading-panel {
  display: grid;
  place-items: center;
}

.bazi-loader-scene {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.3rem;
  width: min(27rem, 100%);
  min-height: 22rem;
  align-content: center;
}

.bazi-orbit-chars {
  position: absolute;
  inset: 1.5rem 0 5rem;
  pointer-events: none;
}

.bazi-orbit-char {
  position: absolute;
  color: rgba(201, 169, 110, 0.62);
  font-family: var(--font-display);
  font-size: 1.15rem;
  animation: bazi-float-char 2.8s ease-in-out infinite;
}

.bazi-orbit-0 {
  top: 12%;
  left: 26%;
  color: rgba(196, 61, 61, 0.92);
}

.bazi-orbit-1 {
  top: 8%;
  left: 49%;
}

.bazi-orbit-2 {
  top: 14%;
  right: 23%;
  color: rgba(196, 61, 61, 0.92);
}

.bazi-orbit-3 {
  top: 45%;
  left: 24%;
  animation-delay: 0.2s;
}

.bazi-orbit-4 {
  top: 46%;
  right: 24%;
  animation-delay: 0.35s;
}

.bazi-orbit-5 {
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.5s;
}

.bazi-orbit-6 {
  bottom: 18%;
  right: 23%;
  color: rgba(196, 61, 61, 0.92);
  animation-delay: 0.68s;
}

.bazi-taiji {
  position: relative;
  width: 10.5rem;
  aspect-ratio: 1;
  border: 0.24rem solid rgba(201, 169, 110, 0.95);
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.92) 0 50%, rgba(13, 9, 7, 0.98) 50% 100%);
  box-shadow:
    0 0 0 1px rgba(245, 230, 184, 0.24),
    0 0 26px rgba(201, 169, 110, 0.45);
  animation: bazi-taiji-spin 4.8s linear infinite;
}

.bazi-taiji::before,
.bazi-taiji::after {
  position: absolute;
  left: 25%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  content: "";
}

.bazi-taiji::before {
  top: 0;
  background: rgba(13, 9, 7, 0.98);
}

.bazi-taiji::after {
  bottom: 0;
  background: rgba(201, 169, 110, 0.92);
}

.bazi-taiji-dot {
  position: absolute;
  z-index: 1;
  left: calc(50% - 0.55rem);
  width: 1.1rem;
  aspect-ratio: 1;
  border-radius: 50%;
}

.bazi-taiji-dot-dark {
  top: 24%;
  background: rgba(13, 9, 7, 0.98);
}

.bazi-taiji-dot-gold {
  bottom: 24%;
  background: rgba(230, 184, 100, 0.98);
}

.bazi-loader-scene p {
  color: rgba(201, 169, 110, 0.78);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.bazi-loading-dots {
  display: flex;
  gap: 0.36rem;
}

.bazi-loading-dots i {
  display: block;
  width: 0.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.42);
  animation: bazi-dot-pulse 1.2s ease-in-out infinite;
}

.bazi-loading-dots i:nth-child(1) {
  animation-delay: 0s;
}

.bazi-loading-dots i:nth-child(2) {
  animation-delay: 0.16s;
}

.bazi-loading-dots i:nth-child(3) {
  animation-delay: 0.32s;
}

.bazi-loading-dots i:nth-child(4) {
  animation-delay: 0.48s;
}

.bazi-pillars-panel {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.bazi-page .bazi-flow-card h2 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.9rem;
}

.bazi-page .bazi-flow-card > p {
  margin-top: 0.65rem;
  color: rgba(216, 199, 166, 0.84);
  font-size: 1.12rem;
}

.bazi-pillar-label-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  width: min(32rem, 100%);
  margin-top: 2rem;
  color: rgba(216, 199, 166, 0.74);
  font-size: 0.88rem;
}

.bazi-eight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(5.8rem, 7rem));
  gap: 1.1rem 1.25rem;
  margin-top: 1rem;
}

.bazi-eight-grid article {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 169, 110, 0.26);
  border-radius: 0.5rem;
  background: rgba(74, 62, 45, 0.44);
  color: rgba(245, 230, 184, 0.84);
  font-family: var(--font-display);
  font-size: 2.55rem;
}

.bazi-eight-grid article.is-day-master {
  border-color: rgba(196, 61, 61, 0.9);
  background: rgba(196, 61, 61, 0.96);
  color: #fff;
  box-shadow: 0 16px 32px rgba(196, 61, 61, 0.22);
}

.bazi-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.65rem;
}

.bazi-tags span {
  border: 1px solid rgba(201, 169, 110, 0.38);
  border-radius: 999px;
  padding: 0.32rem 0.78rem;
  background: rgba(201, 169, 110, 0.11);
  color: rgba(201, 169, 110, 0.95);
  font-size: 0.78rem;
}

.bazi-five-panel {
  display: grid;
  align-content: start;
}

.bazi-five-panel h2 {
  justify-self: start;
}

.bazi-five-body {
  display: grid;
  grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  margin-top: 1.3rem;
}

.bazi-radar-wrap {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.bazi-radar {
  width: min(17rem, 100%);
  aspect-ratio: 1;
  overflow: visible;
}

.bazi-radar polygon {
  fill: none;
  stroke: rgba(201, 169, 110, 0.18);
  stroke-width: 1;
}

.bazi-radar line {
  stroke: rgba(201, 169, 110, 0.16);
  stroke-width: 1;
}

.bazi-radar polyline {
  fill: rgba(201, 169, 110, 0.13);
  stroke: rgba(201, 169, 110, 0.82);
  stroke-width: 1.7;
}

.bazi-radar text {
  fill: rgba(216, 199, 166, 0.86);
  font-size: 0.7rem;
  text-anchor: middle;
  dominant-baseline: middle;
}

.bazi-radar-wrap p {
  color: rgba(216, 199, 166, 0.78);
}

.bazi-element-list {
  display: grid;
  gap: 0.85rem;
}

.bazi-element-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 0.65rem;
  padding: 0.95rem 0.9rem;
  background: rgba(74, 62, 45, 0.34);
}

.bazi-element-list p {
  margin: 0;
  color: rgba(216, 199, 166, 0.78);
}

.bazi-element-list strong {
  color: rgba(201, 169, 110, 0.94);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.bazi-element-badge {
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  height: 1.75rem;
  border-radius: 999px;
  color: #2c1f12;
  font-weight: 700;
}

.bazi-element-metal {
  background: #fff1a6;
}

.bazi-element-wood {
  background: #b7f6cb;
}

.bazi-element-water {
  background: #b7d7ff;
}

.bazi-element-fire {
  background: #ffd0d0;
  color: #9c2525;
}

.bazi-element-earth {
  background: #ffe6a4;
}

.bazi-use-line {
  color: rgba(216, 199, 166, 0.88) !important;
  font-size: 1rem;
}

.bazi-unlock-panel {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 45rem !important;
  text-align: center;
}

.bazi-unlock-panel::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(201, 169, 110, 0.06) 12% 12.4%, transparent 12.4% 100%),
    repeating-linear-gradient(90deg, transparent 0 5.4rem, rgba(201, 169, 110, 0.05) 5.4rem 5.5rem, transparent 5.5rem 10.8rem);
  filter: blur(1px);
  opacity: 0.75;
  content: "";
}

.bazi-unlock-panel > * {
  position: relative;
  z-index: 1;
}

.bazi-lock-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.6rem;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 169, 110, 0.56);
  border-radius: 50%;
  color: rgba(245, 230, 184, 0.9);
}

.bazi-lock-icon::before {
  width: 1.35rem;
  height: 1.05rem;
  border: 0.18rem solid currentColor;
  border-radius: 0.25rem;
  content: "";
}

.bazi-lock-icon::after {
  position: absolute;
  top: 1.32rem;
  width: 1rem;
  height: 1rem;
  border: 0.18rem solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  content: "";
}

.bazi-unlock-price {
  margin-top: 1.1rem;
  color: #e76a68;
  font-family: var(--font-display);
  font-size: 3.35rem;
  font-weight: 400;
}

.bazi-unlock-list {
  display: grid;
  gap: 0.8rem;
  width: min(34rem, 100%);
  margin: 1.45rem 0 1.5rem;
  padding: 0;
  text-align: left;
  list-style: none;
}

.bazi-unlock-list li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(245, 230, 184, 0.9);
  line-height: 1.75;
}

.bazi-unlock-list li::before {
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.48rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.bazi-unlock-list span {
  color: rgba(201, 169, 110, 0.95);
}

.bazi-unlock-button {
  width: min(27rem, 100%);
  height: 3.35rem;
  border-radius: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.bazi-button-lock {
  position: relative;
  width: 1.05rem;
  height: 0.85rem;
  border: 0.16rem solid currentColor;
  border-radius: 0.18rem;
}

.bazi-button-lock::before {
  position: absolute;
  top: -0.78rem;
  left: 50%;
  width: 0.72rem;
  height: 0.72rem;
  border: 0.16rem solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  content: "";
  transform: translateX(-50%);
}

.bazi-unlock-panel small {
  margin-top: 0.7rem;
  color: rgba(216, 199, 166, 0.5);
}

.bazi-agent-report-panel {
  display: grid;
  align-content: start;
  gap: 1.05rem;
  min-height: auto !important;
}

.bazi-agent-report-panel blockquote {
  margin: 0.3rem 0 0.4rem;
  border-left: 3px solid rgba(201, 169, 110, 0.72);
  padding-left: 1rem;
  color: rgba(245, 230, 184, 0.92);
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.85;
  text-align: left;
}

.bazi-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.bazi-report-grid article,
.bazi-report-section-list article,
.bazi-month-grid article {
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 0.65rem;
  background: rgba(74, 62, 45, 0.34);
}

.bazi-report-grid article {
  padding: 0.95rem;
}

.bazi-report-grid strong,
.bazi-report-section-list strong,
.bazi-month-grid strong {
  display: block;
  color: var(--gold);
}

.bazi-report-grid p,
.bazi-report-section-list p,
.bazi-month-grid p {
  margin-top: 0.5rem;
  color: rgba(216, 199, 166, 0.82);
  line-height: 1.75;
}

.bazi-report-section-list {
  display: grid;
  gap: 0.85rem;
}

.bazi-report-section-list h3 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.bazi-report-section-list article {
  padding: 1rem;
}

.bazi-report-section-list small {
  display: block;
  margin-top: 0.55rem;
  color: rgba(201, 169, 110, 0.72);
  line-height: 1.6;
}

.bazi-report-section-list.compact {
  margin-top: 0.4rem;
}

.bazi-month-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.bazi-month-grid article {
  padding: 0.8rem;
}

.bazi-month-grid span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(245, 230, 184, 0.82);
}

.bazi-reference-line {
  color: rgba(201, 169, 110, 0.85) !important;
}

.dream-page {
  display: grid;
  gap: 1.5rem;
  width: min(980px, calc(100vw - 2rem));
  margin-inline: auto;
  padding-top: 1.6rem;
}

.dream-hero {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
}

.dream-hero-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.06);
  color: var(--gold);
}

.dream-hero-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.dream-hero h1 {
  color: var(--gold);
  font-size: 2.35rem;
}

.dream-hero p {
  color: rgba(216, 199, 166, 0.85);
}

.dream-layout {
  display: grid;
  gap: 1.55rem;
}

.dream-page .ritual-panel {
  border-color: rgba(216, 199, 166, 0.34);
  border-radius: 0.75rem;
  padding: 1.45rem 1.55rem;
  background: rgba(36, 29, 21, 0.9);
  box-shadow:
    0 0 0 1px rgba(245, 230, 184, 0.12),
    0 0 18px rgba(245, 230, 184, 0.36),
    0 20px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
}

.dream-page .ritual-panel h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.dream-page .ritual-panel h2 svg {
  width: 1.05rem;
  height: 1.05rem;
}

.dream-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem;
  gap: 0.85rem;
  align-items: end;
}

.dream-search-form label {
  display: grid;
  gap: 0.75rem;
}

.dream-search-form label > span {
  color: rgba(216, 199, 166, 0.78);
}

.dream-search-form input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(201, 169, 110, 0.24);
  border-radius: 0.45rem;
  padding: 0.75rem 0.9rem;
  outline: none;
  background: rgba(74, 62, 45, 0.56);
  color: var(--paper);
  font: inherit;
}

.dream-search-form input::placeholder {
  color: rgba(216, 199, 166, 0.58);
}

.dream-search-form .button {
  min-height: 3rem;
  border-radius: 0.7rem;
  font-weight: 700;
}

.dream-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.dream-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  border: 1px solid rgba(201, 169, 110, 0.26);
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  background: rgba(26, 20, 16, 0.34);
  color: rgba(216, 199, 166, 0.84);
  font-size: 0.86rem;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.dream-chip:hover,
.dream-chip.active {
  border-color: rgba(201, 169, 110, 0.72);
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold);
}

.dream-hot-grid,
.dream-match-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.dream-card {
  display: grid;
  min-height: 6.05rem;
  gap: 0.55rem;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 0.55rem;
  padding: 0.78rem 0.85rem;
  background: rgba(61, 36, 27, 0.45);
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.dream-card:hover {
  border-color: rgba(201, 169, 110, 0.56);
  background: rgba(77, 48, 35, 0.58);
  transform: translateY(-1px);
}

.dream-card-top {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.dream-card strong,
.dream-compact-item span {
  overflow-wrap: anywhere;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 400;
}

.dream-card > span:last-child {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(216, 199, 166, 0.78);
  font-size: 0.84rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dream-level {
  flex: 0 0 auto;
  color: rgba(216, 199, 166, 0.8);
  font-style: normal;
  font-size: 0.82rem;
}

.dream-level.good {
  color: #ff6969;
}

.dream-level.mid-good {
  color: var(--gold);
}

.dream-level.neutral {
  color: rgba(245, 240, 232, 0.86);
}

.dream-compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.dream-compact-item {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 0.55rem;
  padding: 0.58rem 0.75rem;
  background: rgba(61, 52, 40, 0.48);
  text-align: left;
}

.dream-compact-item:hover {
  border-color: rgba(201, 169, 110, 0.54);
  background: rgba(77, 60, 43, 0.62);
}

.dream-empty {
  color: rgba(216, 199, 166, 0.72);
}

.dream-result-area:empty {
  display: none;
}

.dream-result-area {
  scroll-margin-top: 4.75rem;
}

.dream-result-panel {
  display: grid;
  gap: 1rem;
}

.dream-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dream-result-head h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dream-result-head span {
  color: rgba(216, 199, 166, 0.72);
  font-size: 0.88rem;
  white-space: nowrap;
}

.dream-fallback-box {
  border: 1px dashed rgba(201, 169, 110, 0.24);
  border-radius: 0.6rem;
  padding: 1rem 1.15rem;
  background: rgba(26, 20, 16, 0.26);
  text-align: center;
}

.dream-fallback-box p {
  margin-top: 0;
  color: rgba(216, 199, 166, 0.82);
}

.dream-fallback-box p + p {
  margin-top: 0.4rem;
}

.dream-ai-panel {
  border-color: rgba(196, 61, 61, 0.42) !important;
}

.dream-ai-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dream-ai-title > span {
  display: grid;
  place-items: center;
  width: 1.4rem;
  aspect-ratio: 1;
  color: #ff6969;
}

.dream-ai-title h2 {
  color: var(--gold);
}

.dream-ai-title em {
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  color: var(--gold);
  font-style: normal;
  font-size: 0.72rem;
}

.dream-ai-loading {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  min-height: 13rem;
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 0.75rem;
  background: rgba(61, 52, 40, 0.42);
  text-align: center;
}

.dream-ai-loading > span {
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 999px;
  color: var(--gold);
  animation: dream-pulse 1.6s ease-in-out infinite;
}

.dream-ai-loading p {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.dream-ai-loading small {
  color: rgba(216, 199, 166, 0.62);
}

.dream-ai-loading i {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.4;
  animation: bazi-dot-pulse 1.2s ease-in-out infinite;
}

.dream-ai-loading i:nth-of-type(2) {
  animation-delay: 0.18s;
}

.dream-ai-loading i:nth-of-type(3) {
  animation-delay: 0.36s;
}

.dream-ai-content {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.9;
}

.dream-ai-content strong {
  color: var(--paper);
  font-size: 1.05rem;
}

.dream-ai-content p {
  margin-top: 0;
  color: var(--paper);
  line-height: 1.9;
}

.dream-ai-content ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(216, 199, 166, 0.82);
}

.dream-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(5, 3, 2, 0.72);
  backdrop-filter: blur(4px);
}

.dream-modal {
  position: relative;
  width: min(500px, 100%);
  border: 1px solid rgba(201, 169, 110, 0.55);
  border-radius: 0.8rem;
  padding: 1.75rem 1.65rem 1.35rem;
  background: rgba(47, 37, 26, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.dream-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: rgba(216, 199, 166, 0.72);
}

.dream-modal-close:hover {
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
}

.dream-modal h3 {
  color: var(--gold);
  font-size: 1.45rem;
}

.dream-modal-level {
  display: block;
  margin-top: 0.5rem;
  color: var(--gold);
  font-weight: 400;
}

.dream-modal p {
  margin-top: 0.75rem;
  color: var(--paper);
  line-height: 1.85;
}

.dream-classic-line {
  color: rgba(216, 199, 166, 0.82) !important;
  font-size: 0.86rem;
}

.dream-advice-line {
  border-radius: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: rgba(196, 61, 61, 0.08);
  color: #ff8585 !important;
}

.naming-page {
  width: min(1116px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 2rem 0 0;
}

.naming-hero {
  position: relative;
  display: grid;
  gap: 0.95rem;
  justify-items: center;
  margin-bottom: 0.9rem;
  text-align: center;
}

.naming-hero-icon,
.naming-seal {
  position: relative;
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.12), rgba(45, 36, 25, 0.42));
  color: var(--gold);
  box-shadow: inset 0 0 18px rgba(201, 169, 110, 0.08), 0 0 22px rgba(201, 169, 110, 0.1);
}

.naming-hero-icon::after {
  position: absolute;
  inset: 0.62rem;
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.naming-hero-icon svg,
.naming-seal svg {
  width: 1.78rem;
  height: 1.78rem;
}

.naming-hero h1 {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.1vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.naming-hero p {
  max-width: 39rem;
  margin: 0;
  color: rgba(245, 230, 184, 0.78);
  font-size: 1.03rem;
  line-height: 1.8;
}

.naming-layout {
  display: grid;
  gap: 4rem;
}

.naming-mode-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
  width: min(48rem, calc(100% - 9rem));
  margin: 0 auto;
}

.naming-mode-card {
  position: relative;
  display: grid;
  gap: 0.48rem;
  min-height: 6.85rem;
  overflow: hidden;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(55, 45, 32, 0.86), rgba(38, 31, 24, 0.76));
  color: rgba(245, 230, 184, 0.78);
  box-shadow: inset 0 1px 0 rgba(245, 230, 184, 0.04);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.naming-mode-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(245, 230, 184, 0.06), transparent 32%, transparent 72%, rgba(201, 169, 110, 0.04));
  content: "";
  opacity: 0.65;
  pointer-events: none;
}

.naming-mode-card.active,
.naming-mode-card:hover {
  border-color: rgba(201, 169, 110, 0.52);
  background: linear-gradient(180deg, rgba(61, 50, 35, 0.94), rgba(43, 35, 25, 0.9));
  box-shadow: 0 0 0 1px rgba(245, 230, 184, 0.05), 0 0 30px rgba(201, 169, 110, 0.22), 0 20px 46px rgba(0, 0, 0, 0.14);
}

.naming-mode-card strong {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 400;
}

.naming-mode-card span {
  position: relative;
  z-index: 1;
  line-height: 1.62;
}

.naming-form-panel {
  position: relative;
  overflow: visible;
  width: 100%;
  border-color: rgba(216, 199, 166, 0.42);
  background:
    linear-gradient(180deg, rgba(46, 38, 27, 0.98), rgba(34, 27, 19, 0.94)),
    rgba(38, 31, 24, 0.94);
  padding: 1.55rem 1.75rem;
  box-shadow:
    0 0 0 1px rgba(255, 248, 230, 0.09),
    0 0 24px rgba(245, 235, 215, 0.2),
    0 0 44px rgba(201, 169, 110, 0.12),
    0 28px 72px rgba(0, 0, 0, 0.34);
}

.naming-form-panel::before {
  position: absolute;
  top: -4.2rem;
  left: 50%;
  width: 16rem;
  height: 5.2rem;
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-top: 0;
  border-right-color: rgba(201, 169, 110, 0.08);
  border-left-color: rgba(201, 169, 110, 0.08);
  transform: translateX(-50%) rotate(30deg);
  opacity: 0.42;
  content: "";
  pointer-events: none;
}

.naming-form-panel::after {
  position: absolute;
  top: -3.78rem;
  left: 50%;
  width: 0.92rem;
  height: 0.92rem;
  border: 1px solid rgba(201, 169, 110, 0.32);
  background: rgba(70, 56, 38, 0.86);
  box-shadow: 0 0 18px rgba(201, 169, 110, 0.18);
  content: "";
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

.route-form.naming-form {
  gap: 1.32rem;
  margin-top: 0;
}

.naming-birth-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1.12rem 0.85rem;
}

.naming-birth-grid .bazi-step-field,
.naming-surname-field {
  grid-column: span 2;
}

.naming-hour-field,
.naming-gender-field {
  grid-column: span 4;
}

.naming-input,
.naming-text-field input,
.naming-text-field textarea {
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.32);
  border-radius: 0.62rem;
  background: linear-gradient(180deg, rgba(78, 65, 47, 0.62), rgba(58, 47, 33, 0.58));
  color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(245, 230, 184, 0.04);
  outline: none;
}

.naming-input {
  min-height: 4rem;
  padding: 0 1rem;
  font-size: 1.08rem;
}

.naming-page .bazi-stepper,
.naming-page .bazi-select-control,
.naming-page .bazi-gender-toggle {
  border-color: rgba(201, 169, 110, 0.36);
  background: linear-gradient(180deg, rgba(78, 65, 47, 0.64), rgba(57, 47, 34, 0.6));
  box-shadow: inset 0 1px 0 rgba(245, 230, 184, 0.05), inset 0 -12px 24px rgba(0, 0, 0, 0.06);
}

.naming-page .bazi-stepper button {
  color: rgba(245, 230, 184, 0.86);
}

.naming-page .bazi-stepper button:hover {
  background: rgba(201, 169, 110, 0.11);
}

.naming-create-fields,
.naming-review-fields {
  display: grid;
  gap: 1.25rem;
}

.naming-option-block {
  display: grid;
  gap: 0.8rem;
}

.naming-option-block p,
.naming-generation-position p {
  margin: 0;
  color: rgba(216, 199, 166, 0.72);
  font-size: 0.95rem;
}

.naming-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.naming-chip {
  min-height: 2.55rem;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(44, 36, 26, 0.54), rgba(32, 26, 19, 0.42));
  color: rgba(245, 230, 184, 0.72);
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(245, 230, 184, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.naming-chip.active,
.naming-chip:hover {
  border-color: rgba(201, 169, 110, 0.54);
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.16), rgba(201, 169, 110, 0.08));
  color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(245, 230, 184, 0.08);
}

.naming-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.naming-text-field {
  display: grid;
  gap: 0.55rem;
}

.naming-text-field.wide {
  grid-column: 1 / -1;
}

.naming-text-field span {
  color: rgba(216, 199, 166, 0.72);
  font-size: 0.95rem;
}

.naming-text-field input,
.naming-text-field textarea {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  resize: vertical;
}

.naming-text-field small {
  color: rgba(216, 199, 166, 0.48);
  line-height: 1.5;
}

.naming-generation-position {
  display: grid;
  gap: 0.75rem;
}

.naming-note-box {
  display: grid;
  gap: 0.45rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.8rem;
  background: linear-gradient(180deg, rgba(74, 62, 45, 0.42), rgba(50, 40, 29, 0.34));
  padding: 1.25rem 1.35rem;
  color: rgba(245, 230, 184, 0.7);
  box-shadow: inset 0 1px 0 rgba(245, 230, 184, 0.04);
  line-height: 1.72;
}

.naming-note-box p {
  margin: 0;
}

.naming-submit-row {
  display: flex;
  justify-content: center;
}

.naming-submit-button {
  width: auto;
  min-width: 11rem;
  height: 3.3rem;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, #d44747, #bc3838);
  padding-inline: 2rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 26px rgba(196, 61, 61, 0.3);
}

.naming-submit-button:hover {
  background: linear-gradient(180deg, #df5151, #c43d3d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 30px rgba(196, 61, 61, 0.36);
}

.naming-result-flow {
  display: grid;
  gap: 1.2rem;
}

.naming-result-card,
.naming-unlock-card {
  display: grid;
  gap: 1.1rem;
}

.naming-result-card.loading,
.naming-unlock-card {
  justify-items: center;
  text-align: center;
}

.naming-result-card h2,
.naming-unlock-card h2 {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 400;
}

.naming-loading-dots {
  display: flex;
  gap: 0.35rem;
}

.naming-loading-dots i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.5;
  animation: naming-dot 1.1s ease-in-out infinite;
}

.naming-loading-dots i:nth-child(2) {
  animation-delay: 0.16s;
}

.naming-loading-dots i:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes naming-dot {
  50% {
    opacity: 1;
    transform: translateY(-0.22rem);
  }
}

.naming-result-title {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.naming-result-title h2,
.naming-result-title p {
  margin: 0;
}

.naming-result-title p {
  margin-top: 0.35rem;
  color: rgba(216, 199, 166, 0.62);
}

.naming-result-title > span {
  border: 1px solid rgba(201, 169, 110, 0.24);
  border-radius: 999px;
  color: var(--gold);
  padding: 0.35rem 0.8rem;
  white-space: nowrap;
}

.naming-result-card blockquote {
  margin: 0;
  border-left: 2px solid rgba(201, 169, 110, 0.5);
  padding: 0.3rem 0 0.3rem 1rem;
  color: rgba(245, 230, 184, 0.72);
  line-height: 1.8;
}

.naming-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.naming-name-card {
  display: grid;
  gap: 0.78rem;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 0.75rem;
  background: rgba(45, 36, 25, 0.72);
  padding: 1rem;
}

.naming-name-card.review {
  border-color: rgba(201, 169, 110, 0.25);
}

.naming-name-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.naming-name-head strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
}

.naming-name-head span {
  color: var(--gold);
  font-size: 1.1rem;
}

.naming-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.naming-score-row span {
  display: grid;
  gap: 0.2rem;
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-radius: 0.5rem;
  padding: 0.45rem 0.5rem;
  background: rgba(20, 16, 12, 0.25);
}

.naming-score-row em {
  color: rgba(216, 199, 166, 0.58);
  font-size: 0.72rem;
  font-style: normal;
}

.naming-score-row strong {
  color: rgba(245, 230, 184, 0.88);
}

.naming-name-card p,
.naming-name-card small,
.naming-favored {
  margin: 0;
  color: rgba(245, 230, 184, 0.7);
  line-height: 1.65;
}

.naming-name-card b {
  color: var(--gold);
  font-weight: 500;
}

.naming-name-card small {
  color: rgba(201, 169, 110, 0.76);
}

.naming-unlock-card strong {
  color: #ef6a6a;
  font-size: 2.2rem;
  font-weight: 400;
}

.naming-unlock-card p {
  max-width: 34rem;
  margin: 0;
  color: rgba(245, 230, 184, 0.72);
  line-height: 1.7;
}

.palmistry-page {
  display: grid;
  gap: 3.8rem;
  width: min(830px, calc(100vw - 2rem));
  margin-inline: auto;
  padding-top: 1.7rem;
}

.palmistry-hero {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
}

.palmistry-hero-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.06);
  color: var(--gold);
}

.palmistry-hero-icon svg {
  width: 1.95rem;
  height: 1.95rem;
}

.palmistry-hero h1 {
  color: var(--gold);
  font-size: 2.35rem;
}

.palmistry-hero p {
  color: rgba(216, 199, 166, 0.86);
}

.palmistry-hero small {
  color: rgba(201, 169, 110, 0.85);
  font-size: 0.9rem;
}

.palmistry-layout {
  display: grid;
  gap: 3.8rem;
}

.palmistry-page .ritual-panel {
  border-color: rgba(216, 199, 166, 0.34);
  border-radius: 0.75rem;
  padding: 1.6rem;
  background: rgba(36, 29, 21, 0.9);
  box-shadow:
    0 0 0 1px rgba(245, 230, 184, 0.12),
    0 0 18px rgba(245, 230, 184, 0.36),
    0 20px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
}

.palmistry-page .ritual-panel h2 {
  color: rgba(216, 199, 166, 0.84);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
}

.palmistry-master-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.palmistry-master-card {
  display: grid;
  min-height: 9.8rem;
  gap: 0.45rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.8rem;
  padding: 1rem;
  background: rgba(61, 52, 40, 0.42);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.palmistry-master-card:hover,
.palmistry-master-card.active {
  border-color: rgba(201, 169, 110, 0.64);
  background: rgba(201, 169, 110, 0.1);
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.18),
    0 0 32px rgba(201, 169, 110, 0.28);
}

.palmistry-master-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.palmistry-master-avatar {
  font-size: 1.9rem;
  line-height: 1;
}

.palmistry-master-card strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}

.palmistry-master-card small,
.palmistry-master-card span:last-child {
  color: rgba(216, 199, 166, 0.66);
  font-size: 0.76rem;
  line-height: 1.45;
}

.palmistry-master-card em {
  color: rgba(201, 169, 110, 0.88);
  font-style: normal;
  font-size: 0.82rem;
}

.palmistry-capture-panel form {
  display: grid;
  gap: 1.1rem;
}

.palmistry-hand-block {
  display: grid;
  gap: 0.55rem;
}

.palmistry-hand-block > p,
.palmistry-requirements p {
  color: rgba(216, 199, 166, 0.84);
}

.palmistry-hand-block small {
  color: rgba(216, 199, 166, 0.6);
  font-size: 0.78rem;
}

.palmistry-hand-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 3.45rem;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 0.75rem;
  background: rgba(61, 52, 40, 0.58);
}

.palmistry-hand-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(216, 199, 166, 0.88);
  font-size: 1.04rem;
  transition: background 160ms ease, color 160ms ease;
}

.palmistry-hand-toggle button:nth-child(2) svg {
  transform: scaleX(-1);
}

.palmistry-hand-toggle button.active {
  background: rgba(201, 169, 110, 0.16);
  color: var(--gold);
}

.palmistry-requirements {
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.8rem;
  padding: 1rem;
  background: rgba(61, 52, 40, 0.42);
}

.palmistry-requirements p {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.palmistry-requirements ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
  padding: 0;
  color: rgba(216, 199, 166, 0.8);
  font-size: 0.9rem;
  list-style: none;
}

.palmistry-requirements li::before {
  color: var(--gold);
  content: "· ";
}

.visually-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.palmistry-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.palmistry-upload-tile {
  display: grid;
  min-height: 10.8rem;
  place-items: center;
  align-content: center;
  gap: 0.5rem;
  border-radius: 0.85rem;
  padding: 1rem;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease;
}

.palmistry-upload-tile svg {
  width: 2.55rem;
  height: 2.55rem;
}

.palmistry-upload-tile strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
}

.palmistry-upload-tile span {
  color: rgba(216, 199, 166, 0.62);
  font-size: 0.78rem;
}

.palmistry-upload-tile.camera {
  border: 2px solid rgba(196, 61, 61, 0.42);
  background: rgba(196, 61, 61, 0.1);
  color: var(--vermillion-light);
}

.palmistry-upload-tile.camera:hover {
  border-color: rgba(196, 61, 61, 0.68);
  background: rgba(196, 61, 61, 0.15);
}

.palmistry-upload-tile.album {
  border: 2px dashed rgba(201, 169, 110, 0.32);
  background: rgba(61, 52, 40, 0.42);
  color: rgba(201, 169, 110, 0.92);
}

.palmistry-upload-tile.album:hover {
  border-color: rgba(201, 169, 110, 0.56);
  background: rgba(61, 52, 40, 0.7);
}

.palmistry-photo-preview {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(201, 169, 110, 0.3);
  border-radius: 0.85rem;
  background: rgba(61, 52, 40, 0.5);
}

.palmistry-photo-preview img {
  display: block;
  width: 100%;
  max-height: 26rem;
  object-fit: contain;
}

.palmistry-photo-preview p {
  margin: 0;
  padding: 0.42rem 0.75rem;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(216, 199, 166, 0.78);
  font-size: 0.78rem;
  text-align: center;
}

.palmistry-remove-photo {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
}

.palmistry-remove-photo svg {
  width: 1rem;
  height: 1rem;
}

.palmistry-repick-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.palmistry-note {
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.65rem;
  padding: 0.8rem 0.9rem;
  outline: none;
  resize: vertical;
  background: rgba(26, 20, 16, 0.42);
  color: var(--paper);
  font: inherit;
}

.palmistry-note::placeholder {
  color: rgba(216, 199, 166, 0.5);
}

.palmistry-error {
  border: 1px solid rgba(196, 61, 61, 0.32);
  border-radius: 0.55rem;
  padding: 0.75rem;
  background: rgba(196, 61, 61, 0.1);
  color: #ff9b9b;
}

.palmistry-submit {
  width: 100%;
}

.button:disabled,
.palmistry-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.palmistry-privacy {
  color: rgba(216, 199, 166, 0.6) !important;
  font-size: 0.78rem;
  text-align: center;
}

.palmistry-guide-card {
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 0.8rem;
  background: rgba(61, 52, 40, 0.42);
}

.palmistry-guide-card > button {
  display: flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  color: var(--gold);
  text-align: left;
}

.palmistry-guide-card > button svg {
  flex: 0 0 auto;
}

.palmistry-guide-body {
  display: none;
  border-top: 1px solid rgba(201, 169, 110, 0.14);
  padding: 1rem;
}

.palmistry-guide-card.open .palmistry-guide-body {
  display: block;
}

.palmistry-guide-body p {
  margin-top: 0.75rem;
  color: rgba(216, 199, 166, 0.58);
  font-size: 0.78rem;
  text-align: center;
}

.palmistry-guide-diagram {
  position: relative;
  min-height: 15rem;
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.8rem;
  background:
    radial-gradient(circle at 50% 65%, rgba(201, 169, 110, 0.13), transparent 42%),
    rgba(26, 20, 16, 0.32);
}

.guide-palm {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8rem;
  height: 10.2rem;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 48% 48% 42% 42%;
  transform: translate(-50%, -44%);
}

.guide-line {
  position: absolute;
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
  font-size: 0.72rem;
}

.guide-line.heart {
  left: 28%;
  top: 30%;
}

.guide-line.head {
  right: 27%;
  top: 45%;
}

.guide-line.life {
  left: 30%;
  bottom: 27%;
}

.guide-line.fate {
  right: 33%;
  bottom: 35%;
}

.palmistry-result-area {
  display: grid;
  gap: 1rem;
  scroll-margin-top: 4.75rem;
}

.palmistry-result-area:empty {
  display: none;
}

.palmistry-reading-card {
  display: grid;
  gap: 1rem;
}

.palmistry-reading-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.palmistry-page .palmistry-reading-head h2 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.palmistry-reading-head span {
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  color: var(--gold);
  font-size: 0.72rem;
}

.palmistry-reading-loading {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  min-height: 12rem;
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.8rem;
  padding: 1.35rem;
  background: rgba(61, 52, 40, 0.42);
  text-align: center;
}

.palmistry-reading-loading > span {
  display: grid;
  width: 4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.24);
  border-radius: 999px;
  color: var(--gold);
  animation: dream-pulse 1.6s ease-in-out infinite;
}

.palmistry-reading-loading p {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.palmistry-reading-loading small {
  color: rgba(216, 199, 166, 0.62);
}

.palmistry-reading-loading i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.4;
  animation: bazi-dot-pulse 1.2s ease-in-out infinite;
}

.palmistry-reading-body {
  display: grid;
  gap: 0.8rem;
}

.palmistry-reading-body > strong {
  color: var(--paper);
  font-size: 1.06rem;
}

.palmistry-reading-body p {
  margin-top: 0;
  color: rgba(245, 240, 232, 0.92);
  line-height: 1.85;
}

.palmistry-muted-line {
  color: rgba(216, 199, 166, 0.72) !important;
}

.palmistry-line-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.palmistry-line-grid div {
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.65rem;
  padding: 0.85rem;
  background: rgba(26, 20, 16, 0.28);
}

.palmistry-line-grid strong {
  display: block;
  color: var(--gold);
  font-weight: 500;
}

.palmistry-line-grid p {
  margin-top: 0.35rem;
  color: rgba(216, 199, 166, 0.78);
  font-size: 0.88rem;
}

.palmistry-cautions {
  color: rgba(216, 199, 166, 0.72);
}

.palmistry-unlock-card {
  justify-items: center;
  text-align: center;
}

.palmistry-lock-icon {
  display: grid;
  width: 3.4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 999px;
  color: var(--gold);
}

.palmistry-unlock-card h2 {
  color: var(--gold) !important;
  font-family: var(--font-display) !important;
  font-size: 1.45rem !important;
}

.palmistry-unlock-card > strong {
  color: var(--vermillion-light);
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 400;
}

.palmistry-unlock-card ul {
  display: grid;
  gap: 0.45rem;
  width: min(100%, 30rem);
  margin: 0;
  padding: 0;
  color: rgba(216, 199, 166, 0.82);
  text-align: left;
  list-style: none;
}

.palmistry-unlock-card li::before {
  color: var(--gold);
  content: "· ";
}

.route-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  color: rgba(216, 199, 166, 0.72);
  font-size: 0.82rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 0.55rem;
  padding: 0.75rem 0.8rem;
  outline: none;
  background: rgba(26, 20, 16, 0.72);
  color: var(--paper);
  font: inherit;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field:has(textarea),
.field textarea {
  grid-column: 1 / -1;
}

.button.compact {
  min-width: auto;
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.95rem;
}

.side-price,
.pay-amount {
  color: var(--gold) !important;
  font-family: var(--font-display);
  font-size: 2rem !important;
}

.pay-card {
  display: grid;
  gap: 1rem;
  background: var(--paper-warm);
  color: var(--ink);
}

.pay-card h2,
.pay-card p,
.pay-card .module-eyebrow {
  color: var(--ink);
}

.pay-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}

.pay-meta div {
  border: 1px solid rgba(139, 105, 20, 0.18);
  border-radius: 0.55rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.32);
}

.pay-meta dt {
  color: var(--ink-light);
  font-size: 0.75rem;
}

.pay-meta dd {
  margin: 0.25rem 0 0;
  color: var(--ink);
}

.qifu-page {
  display: grid;
  gap: 4rem;
  width: min(56rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 6rem;
}

.qifu-hero {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.qifu-heart {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border: 1px solid rgba(196, 61, 61, 0.3);
  border-radius: 999px;
  background: rgba(196, 61, 61, 0.1);
  color: var(--vermillion);
}

.qifu-heart svg {
  width: 2.5rem;
  height: 2.5rem;
}

.qifu-hero h1 {
  color: var(--gold);
  font-size: 2.25rem;
  letter-spacing: 0.18em;
}

.qifu-hero p {
  max-width: 28rem;
  color: rgba(216, 199, 166, 0.86);
}

.qifu-stats {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  margin-top: 0.35rem;
  padding: 0.45rem 1.25rem;
  background: rgba(38, 31, 24, 0.7);
  color: rgba(216, 199, 166, 0.86);
  font-size: 0.85rem;
}

.qifu-stats span span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.qifu-stats span span.red {
  color: var(--vermillion-light);
}

.qifu-stats i {
  width: 1px;
  height: 1rem;
  background: rgba(201, 169, 110, 0.3);
}

.qifu-ticker {
  width: min(30rem, 100%);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 999px;
  margin-top: 0.35rem;
  padding: 0.45rem 1rem;
  background: rgba(38, 31, 24, 0.5);
}

.qifu-ticker div {
  display: flex;
  gap: 2rem;
  width: max-content;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.qifu-ticker span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(216, 199, 166, 0.75);
  font-size: 0.72rem;
}

.qifu-ticker svg {
  width: 0.75rem;
  color: rgba(196, 61, 61, 0.7);
}

.qifu-ticker b {
  color: rgba(201, 169, 110, 0.9);
  font-weight: 400;
}

.qifu-card,
.qifu-success {
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: rgba(38, 31, 24, 0.95);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.qifu-card h2,
.qifu-card h3,
.qifu-success h2 {
  color: var(--gold);
  font-size: 1.45rem;
}

.qifu-card > p {
  margin-top: 0.4rem;
  color: rgba(216, 199, 166, 0.65);
  font-size: 0.85rem;
}

.qifu-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.qifu-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.qifu-form label {
  display: grid;
  gap: 0.5rem;
}

.qifu-form label span,
.qifu-choice > p {
  color: rgba(216, 199, 166, 0.86);
  font-size: 0.9rem;
}

.qifu-form input,
.qifu-form select,
.qifu-form textarea {
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  outline: none;
  background: rgba(61, 52, 40, 0.75);
  color: var(--paper);
  font: inherit;
}

.qifu-form select {
  min-height: 3rem;
}

.qifu-form textarea {
  resize: vertical;
}

.qifu-choice {
  display: grid;
  gap: 0.75rem;
}

.qifu-lamp-options,
.qifu-duration-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.qifu-duration-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qifu-lamp-options button,
.qifu-duration-options button {
  display: grid;
  gap: 0.35rem;
  min-height: 6rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.75rem;
  padding: 0.9rem;
  background: rgba(61, 52, 40, 0.38);
  color: var(--paper-dark);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.qifu-duration-options button {
  text-align: center;
}

.qifu-lamp-options button.selected,
.qifu-duration-options button.selected {
  border-color: rgba(201, 169, 110, 0.6);
  background: rgba(201, 169, 110, 0.1);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.2);
}

.qifu-lamp-options svg {
  width: 1.75rem;
  height: 1.75rem;
}

.qifu-lamp-options strong,
.qifu-duration-options strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
}

.qifu-lamp-options button.selected strong,
.qifu-duration-options button.selected strong {
  color: var(--gold);
}

.qifu-lamp-options span,
.qifu-duration-options span {
  color: rgba(216, 199, 166, 0.64);
  font-size: 0.8rem;
  line-height: 1.5;
}

.qifu-duration-options span {
  color: var(--vermillion-light);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.qifu-error {
  border: 1px solid rgba(196, 61, 61, 0.35);
  border-radius: 0.55rem;
  padding: 0.75rem;
  background: rgba(196, 61, 61, 0.1);
  color: #ffd5d5;
}

.qifu-preview {
  border: 1px dashed rgba(201, 169, 110, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  background: rgba(61, 52, 40, 0.3);
  text-align: center;
}

.qifu-preview > p {
  margin-bottom: 0.75rem;
  color: rgba(216, 199, 166, 0.65);
  font-size: 0.82rem;
}

.qifu-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.qifu-submit-row small {
  display: block;
  color: rgba(216, 199, 166, 0.65);
}

.qifu-submit-row strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2rem;
}

.qifu-payment {
  display: grid;
  gap: 1rem;
}

.qifu-payment-grid {
  display: grid;
  grid-template-columns: 13.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.qifu-qr-placeholder {
  display: grid;
  place-items: center;
  min-height: 13.75rem;
  border: 1px dashed rgba(201, 169, 110, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  color: rgba(216, 199, 166, 0.65);
  text-align: center;
}

.qifu-payment-info {
  display: grid;
  gap: 0.75rem;
  color: rgba(216, 199, 166, 0.84);
}

.qifu-payment-info strong {
  color: var(--vermillion-light);
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.qifu-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.qifu-success {
  display: grid;
  justify-items: center;
  gap: 1rem;
  overflow: hidden;
  border-color: rgba(201, 169, 110, 0.4);
  text-align: center;
}

.qifu-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(196, 61, 61, 0.4);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  background: rgba(196, 61, 61, 0.15);
  color: var(--vermillion-light);
  font-size: 0.82rem;
}

.qifu-success-badge svg {
  width: 1rem;
}

.qifu-success-copy {
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  background: rgba(61, 52, 40, 0.6);
}

.qifu-success-copy p {
  color: var(--paper);
}

.qifu-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.qifu-wall article {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

.qifu-wall article p {
  color: rgba(216, 199, 166, 0.65);
  font-size: 0.72rem;
  text-align: center;
}

.qifu-wall article span {
  color: rgba(201, 169, 110, 0.88);
}

.qifu-wall-empty,
.wall-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(201, 169, 110, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
  color: rgba(216, 199, 166, 0.65);
  text-align: center;
}

.qifu-wall-empty svg {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  color: rgba(196, 61, 61, 0.4);
}

.qifu-lamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.qifu-lamp svg {
  overflow: visible;
}

.qifu-lamp-sway {
  transform-origin: 120px 28px;
  animation: lamp-sway 8s ease-in-out infinite;
}

.qifu-lamp-glow {
  transform-origin: center;
  animation: lamp-glow-pulse 4s ease-in-out infinite;
}

.qifu-lamp-flame {
  transform-origin: 120px 150px;
  animation: inner-flame 2.4s ease-in-out infinite;
}

.qifu-tassel {
  transform-origin: 120px 252px;
  animation: tassel-sway 3.5s ease-in-out infinite;
}

.qifu-lamp-wish {
  max-width: 13.75rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 0.55rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(61, 52, 40, 0.8);
  color: var(--paper-dark);
  font-size: 0.8rem;
  text-align: center;
}

.qifu-lamp-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  color: rgba(216, 199, 166, 0.75);
  font-size: 0.72rem;
}

.qifu-lamp-meta svg {
  width: 0.75rem;
}

.qifu-lamp-sponsor {
  margin-top: 0.25rem;
  color: rgba(216, 199, 166, 0.55);
  font-size: 0.72rem;
}

.temple-board {
  display: grid;
  place-items: center;
  gap: 1rem;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 0.75rem;
  padding: 2rem 1rem;
  background: rgba(38, 31, 24, 0.9);
}

.incense-altar {
  display: flex;
  gap: 0.65rem;
  align-items: end;
  min-height: 7rem;
}

.incense-altar span {
  position: relative;
  width: 0.35rem;
  height: 5.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--vermillion), #4c221e);
}

.incense-altar span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1rem;
  height: 2.2rem;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 80%, rgba(201, 169, 110, 0.8), transparent 62%);
  transform: translateX(-50%);
  animation: glow-rise 3s ease-in-out infinite;
}

.almanac-page {
  display: grid;
  gap: 1.5rem;
  width: min(56rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 6rem;
}

.almanac-loading {
  display: grid;
  place-items: center;
  gap: 0.8rem;
  min-height: 60vh;
  color: rgba(216, 199, 166, 0.65);
}

.almanac-loading span {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid rgba(201, 169, 110, 0.18);
  border-top-color: var(--gold);
  border-radius: 999px;
  animation: spin 1s linear infinite;
}

.almanac-card {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: rgba(38, 31, 24, 0.95);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.almanac-card h2 {
  color: var(--gold);
  font-size: 1.2rem;
}

.almanac-page-title {
  display: grid;
  gap: 0.45rem;
  text-align: center;
}

.almanac-page-title h1 {
  color: var(--gold);
  font-size: 2rem;
}

.almanac-hero-card {
  border-color: rgba(201, 169, 110, 0.4);
  text-align: center;
}

.almanac-date-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  gap: 0.75rem;
  align-items: center;
}

.almanac-round-button {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
}

.almanac-round-button:hover {
  background: rgba(201, 169, 110, 0.1);
}

.almanac-date-main {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.almanac-date-main p,
.almanac-calendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  justify-self: center;
  border: 1px solid rgba(201, 169, 110, 0.26);
  border-radius: 999px;
  padding: 0.18rem 0.62rem;
  background: rgba(61, 52, 40, 0.36);
  color: rgba(201, 169, 110, 0.86);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.almanac-calendar-link:hover {
  border-color: rgba(201, 169, 110, 0.54);
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
}

.almanac-date-main p svg,
.almanac-calendar-link svg {
  width: 1rem;
  height: 1rem;
}

.almanac-date-main h1 {
  color: var(--gold);
  font-size: 2.4rem;
}

.almanac-date-main span,
.almanac-date-main small {
  color: rgba(216, 199, 166, 0.82);
}

.almanac-date-main small {
  font-size: 0.78rem;
}

.almanac-level {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.75rem;
  border: 2px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  padding: 0.45rem 1.35rem;
  background: rgba(201, 169, 110, 0.06);
}

.almanac-level svg {
  width: 1.05rem;
  height: 1.05rem;
}

.almanac-level strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.almanac-level span {
  color: rgba(216, 199, 166, 0.85);
  font-size: 0.82rem;
}

.almanac-level.level-almanac {
  border-color: rgba(201, 169, 110, 0.45);
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
}

.almanac-level.level-neutral {
  color: rgba(216, 199, 166, 0.78);
}

.almanac-term {
  justify-self: center;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.18), rgba(201, 169, 110, 0.05));
  color: var(--gold);
  font-size: 0.75rem;
}

.almanac-yiji-grid,
.almanac-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.almanac-yiji-grid .almanac-card {
  align-content: start;
}

.almanac-yiji-grid h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.almanac-yiji-grid h2 span {
  border-radius: 0.4rem;
  padding: 0.18rem 0.55rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.almanac-yiji-grid h2 small {
  color: rgba(216, 199, 166, 0.82);
  font-size: 0.82rem;
}

.almanac-yiji-grid article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.almanac-yiji-grid .yi {
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: rgba(6, 78, 59, 0.24);
  color: #bbf7d0;
}

.almanac-yiji-grid .ji {
  border: 1px solid rgba(196, 61, 61, 0.4);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: rgba(196, 61, 61, 0.14);
  color: var(--vermillion-light);
}

.almanac-yi {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(6, 78, 59, 0.14);
}

.almanac-ji {
  border-color: rgba(196, 61, 61, 0.3);
  background: rgba(196, 61, 61, 0.1);
}

.almanac-yi h2 span {
  background: rgba(16, 185, 129, 0.18);
  color: #86efac;
}

.almanac-ji h2 span {
  background: rgba(196, 61, 61, 0.2);
  color: var(--vermillion-light);
}

.almanac-info-tile {
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 0.65rem;
  padding: 0.85rem;
  background: rgba(61, 52, 40, 0.42);
}

.almanac-info-tile p {
  color: rgba(201, 169, 110, 0.86);
  font-size: 0.78rem;
}

.almanac-info-tile p.red {
  color: rgba(214, 93, 93, 0.88);
}

.almanac-info-tile strong {
  display: block;
  margin-top: 0.25rem;
  color: rgba(216, 199, 166, 0.9);
  font-weight: 400;
}

.almanac-hour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.almanac-hour-grid article {
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 0.65rem;
  padding: 0.75rem;
  background: rgba(61, 52, 40, 0.42);
}

.almanac-hour-grid div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.almanac-hour-grid strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}

.almanac-hour-grid span {
  color: var(--vermillion-light);
  font-size: 0.72rem;
}

.almanac-hour-grid span.good {
  color: #86efac;
}

.almanac-hour-grid p,
.almanac-hour-grid small {
  color: rgba(216, 199, 166, 0.62);
  font-size: 0.72rem;
}

.almanac-calendar-card {
  gap: 1.15rem;
}

.almanac-calendar-head {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem auto;
  align-items: center;
  gap: 0.65rem;
}

.almanac-calendar-head h2 {
  text-align: center;
}

.almanac-month-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 0.6rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: rgba(201, 169, 110, 0.08);
}

.almanac-month-title:hover {
  border-color: rgba(201, 169, 110, 0.5);
  background: rgba(201, 169, 110, 0.14);
}

.almanac-today-button {
  min-height: 2.5rem;
  padding: 0 0.95rem;
}

.almanac-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}

.almanac-weekday {
  color: rgba(216, 199, 166, 0.56);
  font-size: 0.72rem;
  text-align: center;
}

.almanac-calendar-day {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  gap: 0.18rem;
  min-height: 5.8rem;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 0.55rem;
  padding: 0.45rem 0.35rem;
  background: rgba(61, 52, 40, 0.38);
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.almanac-calendar-day:hover {
  border-color: rgba(201, 169, 110, 0.5);
  background: rgba(201, 169, 110, 0.1);
}

.almanac-calendar-day.selected {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.16);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.25);
}

.almanac-calendar-day.today strong {
  color: var(--vermillion-light);
}

.almanac-calendar-day.outside {
  opacity: 0.52;
}

.almanac-calendar-day strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.almanac-calendar-day small,
.almanac-calendar-day span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.almanac-calendar-day small {
  color: rgba(216, 199, 166, 0.72);
  font-size: 0.72rem;
}

.almanac-calendar-day span {
  min-height: 1em;
  color: rgba(216, 199, 166, 0.46);
  font-size: 0.68rem;
}

.almanac-calendar-day span.solar-term {
  justify-self: center;
  border-radius: 999px;
  padding: 0.05rem 0.32rem;
  background: rgba(196, 61, 61, 0.14);
  color: var(--vermillion-light);
  font-weight: 600;
}

.almanac-month-picker {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 7, 5, 0.72);
  backdrop-filter: blur(10px);
}

.almanac-month-picker[hidden] {
  display: none;
}

.almanac-picker-panel {
  display: grid;
  gap: 1rem;
  width: min(25rem, 100%);
  border: 1px solid rgba(201, 169, 110, 0.32);
  border-radius: 0.75rem;
  padding: 1.1rem;
  background: rgba(38, 31, 24, 0.98);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.almanac-picker-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.almanac-picker-panel strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.almanac-picker-panel > div:first-child button {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 999px;
  color: var(--gold);
  font-size: 1.25rem;
}

.almanac-picker-panel label {
  display: grid;
  gap: 0.35rem;
  color: rgba(216, 199, 166, 0.72);
  font-size: 0.8rem;
}

.almanac-picker-panel input {
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.26);
  border-radius: 0.5rem;
  padding: 0.7rem 0.8rem;
  background: rgba(18, 14, 10, 0.72);
  color: var(--paper);
  font: inherit;
}

.almanac-month-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.almanac-month-grid button {
  min-height: 2.45rem;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 0.5rem;
  color: rgba(216, 199, 166, 0.86);
  background: rgba(61, 52, 40, 0.45);
}

.almanac-month-grid button.selected,
.almanac-month-grid button:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.12);
}

.almanac-detail-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.almanac-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.almanac-week-grid button {
  display: grid;
  gap: 0.25rem;
  border: 2px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.65rem;
  padding: 0.55rem 0.35rem;
  background: rgba(61, 52, 40, 0.42);
  text-align: center;
}

.almanac-week-grid button.selected {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.14);
}

.almanac-week-grid small {
  color: rgba(216, 199, 166, 0.62);
  font-size: 0.7rem;
}

.almanac-week-grid strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 400;
}

.almanac-week-grid span {
  font-size: 0.7rem;
}

.almanac-week-grid .level-almanac {
  color: var(--gold);
}

.almanac-week-grid .level-neutral {
  color: rgba(216, 199, 166, 0.68);
}

.almanac-error {
  color: #ffd5d5;
}

.line-stack span {
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  color: var(--paper);
  font-size: 0.85rem;
}

.hint-line {
  color: rgba(201, 169, 110, 0.88) !important;
}

.clean-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.name-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.name-grid div,
.record-item {
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.65rem;
  padding: 0.9rem;
  background: rgba(61, 52, 40, 0.5);
}

.name-grid strong,
.record-item strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.name-grid span,
.record-item span,
.record-item small {
  display: block;
  margin-top: 0.3rem;
  color: rgba(216, 199, 166, 0.68);
  font-size: 0.82rem;
}

.record-link {
  display: inline-block;
  margin-top: 0.3rem;
  color: var(--gold);
  font-size: 0.82rem;
  text-decoration: none;
}

.record-link:hover {
  color: var(--paper);
}

.line-stack {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}

.line-stack span {
  width: fit-content;
}

.timer-face {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  min-height: 12rem;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 999px;
  aspect-ratio: 1;
  margin: 0 auto;
  background: rgba(61, 52, 40, 0.36);
}

.timer-face strong {
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.timer-face span {
  color: rgba(216, 199, 166, 0.72);
}

.timer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
}

.track-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.track-list button {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.65rem;
  padding: 0.85rem;
  background: rgba(61, 52, 40, 0.42);
  text-align: left;
}

.track-list strong {
  color: var(--paper);
}

.track-list span {
  color: rgba(216, 199, 166, 0.62);
}

.meditation-page {
  display: grid;
  width: min(56rem, calc(100vw - 2rem));
  gap: 1.35rem;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.meditation-hero {
  display: grid;
  justify-items: center;
  gap: 0.72rem;
  padding-top: 0.4rem;
  text-align: center;
}

.meditation-lotus-wrap {
  position: relative;
  display: grid;
  width: 6rem;
  height: 6rem;
  place-items: center;
}

.meditation-halo {
  position: absolute;
  inset: 0.2rem;
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.14);
  filter: blur(1.25rem);
  animation: meditation-halo 4s ease-in-out infinite;
}

.meditation-lotus {
  position: relative;
  display: grid;
  width: 5.35rem;
  height: 5.35rem;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
  font-size: 2.9rem;
  box-shadow: inset 0 0 24px rgba(201, 169, 110, 0.08), 0 0 28px rgba(201, 169, 110, 0.12);
}

.meditation-hero h1 {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0;
}

.meditation-hero p {
  margin: 0;
  color: rgba(216, 199, 166, 0.84);
  font-size: 1rem;
  line-height: 1.8;
}

.meditation-quote {
  display: grid;
  gap: 0.25rem;
  width: min(28rem, 100%);
  margin-top: 0.2rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 0.75rem;
  padding: 0.78rem 1rem;
  background: rgba(61, 52, 40, 0.4);
}

.meditation-quote strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}

.meditation-quote span {
  color: rgba(216, 199, 166, 0.62);
  font-size: 0.72rem;
}

.meditation-page .ritual-panel {
  border-color: rgba(201, 169, 110, 0.3);
  background: rgba(38, 31, 24, 0.94);
  box-shadow: 0 0 0 1px rgba(245, 235, 215, 0.05), 0 16px 48px rgba(0, 0, 0, 0.24);
}

.meditation-player-panel {
  display: grid;
  gap: 1rem;
}

.meditation-now {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.meditation-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.meditation-disc {
  display: grid;
  width: 5rem;
  height: 5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(201, 169, 110, 0.4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), rgba(196, 61, 61, 0.1));
  font-size: 2.35rem;
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.2);
}

.meditation-disc.playing {
  animation: meditation-spin 18s linear infinite;
  box-shadow: 0 0 24px rgba(201, 169, 110, 0.38);
}

.meditation-now-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 0.15rem;
}

.meditation-now-copy strong {
  overflow: hidden;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meditation-now-copy span {
  overflow: hidden;
  color: rgba(216, 199, 166, 0.84);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meditation-now-copy small {
  display: flex;
  gap: 0.4rem;
  color: rgba(216, 199, 166, 0.62);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.meditation-now-copy i {
  font-style: normal;
}

.meditation-round {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold);
}

.meditation-round:hover,
.meditation-round.active {
  border-color: rgba(201, 169, 110, 0.62);
  background: rgba(201, 169, 110, 0.18);
  box-shadow: 0 0 16px rgba(201, 169, 110, 0.16);
}

.meditation-round.large {
  width: 3.5rem;
  height: 3.5rem;
  border-color: rgba(201, 169, 110, 0.45);
}

.meditation-round svg,
.meditation-track-play svg,
.meditation-volume-row svg,
.meditation-result svg,
.meditation-mini-button svg {
  width: 1rem;
  height: 1rem;
}

.meditation-round.large svg {
  width: 1.55rem;
  height: 1.55rem;
}

.meditation-progress {
  position: relative;
  display: block;
  width: 100%;
  height: 0.62rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(61, 52, 40, 0.82);
  cursor: pointer;
  --meditation-progress: 0%;
  box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.06);
}

.meditation-progress::before,
.meditation-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--meditation-progress);
  border-radius: inherit;
  background: linear-gradient(90deg, #dfc17a 0%, #d95c4f 72%, var(--vermillion) 100%);
  box-shadow: 0 0 18px rgba(201, 169, 110, 0.18);
  content: "";
  transition: width 0.2s ease;
}

.meditation-progress span {
  z-index: 1;
}

.meditation-progress i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, left 0.2s ease;
}

.meditation-progress:hover i {
  opacity: 1;
}

.meditation-volume-row,
.meditation-merit-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.meditation-volume-row {
  color: rgba(216, 199, 166, 0.65);
  font-size: 0.75rem;
}

.meditation-volume-row input {
  flex: 1;
  accent-color: var(--gold);
}

.meditation-volume-row span {
  width: 2rem;
  color: rgba(216, 199, 166, 0.65);
  font-family: var(--font-mono);
}

.meditation-merit-row {
  justify-content: space-between;
  flex-wrap: wrap;
}

.meditation-merit-row p {
  margin: 0;
  color: rgba(216, 199, 166, 0.62);
  font-size: 0.76rem;
}

.meditation-end-button {
  border: 1px solid rgba(196, 61, 61, 0.4);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: rgba(196, 61, 61, 0.1);
  color: #ff8585;
  font-size: 0.82rem;
}

.meditation-end-button:hover {
  background: rgba(196, 61, 61, 0.18);
}

.meditation-result {
  border: 1px solid rgba(216, 199, 166, 0.15);
  border-radius: 0.65rem;
  padding: 0.78rem 1rem;
  background: rgba(61, 52, 40, 0.42);
  color: rgba(216, 199, 166, 0.74);
  text-align: center;
}

.meditation-result.done {
  border-color: rgba(201, 169, 110, 0.38);
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold);
}

.meditation-result p {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: inherit;
}

.meditation-mini-player {
  position: fixed;
  right: 1.25rem;
  bottom: calc(env(safe-area-inset-bottom) + 1.25rem);
  z-index: 180;
  display: flex;
  align-items: center;
  width: min(24rem, calc(100vw - 2rem));
  gap: 0.75rem;
  border: 1px solid rgba(201, 169, 110, 0.36);
  border-radius: 0.8rem;
  padding: 0.65rem;
  background: rgba(38, 31, 24, 0.96);
  box-shadow: 0 0 0 1px rgba(245, 235, 215, 0.05), 0 14px 38px rgba(0, 0, 0, 0.42), 0 0 22px rgba(201, 169, 110, 0.16);
  color: rgba(216, 199, 166, 0.84);
  backdrop-filter: blur(18px);
}

.meditation-mini-player[hidden] {
  display: none;
}

.meditation-mini-main {
  display: grid;
  min-width: 0;
  flex: 1;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.54rem 0.68rem;
  color: inherit;
  text-decoration: none;
}

.meditation-mini-disc {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  grid-row: span 2;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.38);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.18), rgba(196, 61, 61, 0.08));
  font-size: 1.35rem;
}

.meditation-mini-player.playing .meditation-mini-disc {
  animation: meditation-spin 18s linear infinite;
  box-shadow: 0 0 18px rgba(201, 169, 110, 0.28);
}

.meditation-mini-copy {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.meditation-mini-copy strong,
.meditation-mini-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meditation-mini-copy strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 400;
}

.meditation-mini-copy span {
  color: rgba(216, 199, 166, 0.68);
  font-size: 0.68rem;
}

.meditation-mini-copy small {
  display: flex;
  gap: 0.28rem;
  color: rgba(216, 199, 166, 0.54);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.meditation-mini-copy i {
  font-style: normal;
}

.meditation-mini-progress {
  display: block;
  overflow: hidden;
  grid-column: 2;
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(61, 52, 40, 0.88);
}

.meditation-mini-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--vermillion));
  transition: width 0.2s ease;
}

.meditation-mini-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.4rem;
}

.meditation-mini-button {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.32);
  border-radius: 999px;
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold);
}

.meditation-mini-button.primary {
  border-color: rgba(196, 61, 61, 0.55);
  background: rgba(196, 61, 61, 0.78);
  color: #fff2de;
}

.meditation-mini-button:hover,
.meditation-mini-button.active {
  border-color: rgba(201, 169, 110, 0.64);
  background: rgba(201, 169, 110, 0.18);
}

.meditation-mini-button.primary:hover {
  background: rgba(196, 61, 61, 0.9);
}

.meditation-library-panel,
.meditation-guide-panel {
  display: grid;
  gap: 0.8rem;
}

.meditation-library-panel > p {
  margin: 0;
  color: rgba(216, 199, 166, 0.55);
  font-size: 0.74rem;
}

.meditation-track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.meditation-track-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 0.65rem;
  padding: 0.72rem;
  background: rgba(61, 52, 40, 0.4);
  color: rgba(216, 199, 166, 0.84);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.meditation-track-card:hover,
.meditation-track-card.active {
  border-color: rgba(201, 169, 110, 0.58);
  background: rgba(201, 169, 110, 0.1);
}

.meditation-track-card.active {
  box-shadow: 0 0 18px rgba(201, 169, 110, 0.14);
}

.meditation-track-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  background: color-mix(in srgb, var(--track-color, #c9a96e) 18%, rgba(61, 52, 40, 0.82));
  font-size: 1.35rem;
}

.meditation-track-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 0.1rem;
}

.meditation-track-copy strong,
.meditation-track-copy small,
.meditation-track-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meditation-track-copy strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 400;
}

.meditation-track-copy small {
  color: rgba(216, 199, 166, 0.82);
  font-size: 0.72rem;
}

.meditation-track-copy em {
  color: rgba(216, 199, 166, 0.55);
  font-size: 0.62rem;
  font-style: normal;
}

.meditation-track-play {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 999px;
  color: var(--gold);
}

.meditation-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.meditation-guide-card {
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.78rem;
  padding: 1rem;
  background: rgba(61, 52, 40, 0.4);
}

.meditation-guide-card h3 {
  color: var(--gold);
  font-size: 1.05rem;
}

.meditation-guide-card p {
  margin: 0.25rem 0 0;
  color: rgba(216, 199, 166, 0.82);
  font-size: 0.72rem;
}

.meditation-guide-card div > span {
  display: inline-flex;
  margin-top: 0.55rem;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.2), rgba(201, 169, 110, 0.05));
  color: var(--gold);
  font-size: 0.66rem;
}

.meditation-guide-card ol {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.78rem;
}

.meditation-guide-card li {
  display: flex;
  gap: 0.45rem;
  margin: 0;
  color: rgba(216, 199, 166, 0.82);
  font-size: 0.78rem;
  line-height: 1.55;
}

.meditation-guide-card b {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 400;
}

body.meditation-lotus-rise::after {
  position: fixed;
  inset: auto 0 0;
  z-index: 220;
  height: 100vh;
  color: rgba(245, 230, 184, 0.9);
  content: "🪷   🪷   🪷   🪷   🪷   🪷";
  font-size: 2.5rem;
  letter-spacing: 2.4rem;
  pointer-events: none;
  text-align: center;
  animation: meditation-lotus-rise 3s ease-out forwards;
}

@keyframes meditation-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes meditation-halo {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.15);
  }
}

@keyframes meditation-lotus-rise {
  0% {
    opacity: 0;
    transform: translateY(10vh) scale(0.7);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-90vh) scale(1.35) rotate(18deg);
  }
}

.record-list {
  display: grid;
  gap: 1rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1rem;
}

.login-panel-wrap {
  display: grid;
  max-width: 30rem;
}

.profile-card {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: rgba(38, 31, 24, 0.94);
}

.account-card {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
}

.profile-card h2 {
  margin-top: 0.75rem;
  color: var(--gold);
  font-size: 1.6rem;
}

.profile-card p {
  margin-top: 0.55rem;
  color: rgba(216, 199, 166, 0.76);
}

.account-detail-list {
  display: grid;
  gap: 0.75rem;
}

.account-detail-list div {
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.65rem;
  padding: 0.85rem;
  background: rgba(20, 16, 12, 0.34);
}

.account-detail-list span {
  color: rgba(216, 199, 166, 0.58);
  font-size: 0.75rem;
}

.account-detail-list strong {
  overflow-wrap: anywhere;
  color: var(--paper);
  font-size: 0.96rem;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.profile-code {
  min-width: 10rem;
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.65rem;
  padding: 0.85rem;
  background: rgba(20, 16, 12, 0.34);
  text-align: right;
}

.profile-code span,
.profile-summary span {
  color: rgba(216, 199, 166, 0.6);
  font-size: 0.75rem;
}

.profile-code strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.compact-form {
  margin-top: 0;
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-summary div {
  border: 1px solid rgba(201, 169, 110, 0.16);
  border-radius: 0.65rem;
  padding: 0.9rem;
  background: rgba(61, 52, 40, 0.5);
}

.profile-summary strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.invite-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.invite-link-row input {
  width: 100%;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 0.65rem;
  padding: 0.8rem 0.9rem;
  background: rgba(20, 16, 12, 0.42);
  color: var(--paper);
  font: inherit;
}

.site-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(38, 31, 24, 0.96);
  color: var(--paper);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.site-toast[data-type="error"] {
  border-color: rgba(196, 61, 61, 0.55);
  color: #ffd5d5;
}

.route-footer {
  margin-top: 2rem;
}

@keyframes glow-rise {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.86);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-42px) scale(1.18);
  }
}

@keyframes ring-expand {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes brush-reveal {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bazi-taiji-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bazi-float-char {
  0%,
  100% {
    opacity: 0.62;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-8px);
  }
}

@keyframes bazi-dot-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.88);
  }
  45% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes bazi-stage-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dream-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes lamp-sway {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

@keyframes lamp-glow-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes inner-flame {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleY(1) scaleX(1);
  }
  25% {
    opacity: 0.65;
    transform: scaleY(1.06) scaleX(0.96);
  }
  50% {
    opacity: 0.75;
    transform: scaleY(0.98) scaleX(1.04);
  }
  75% {
    opacity: 0.55;
    transform: scaleY(1.04) scaleX(0.98);
  }
}

@keyframes tassel-sway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@media (max-width: 1120px) {
  .top-inner {
    width: min(100% - 2rem, 78rem);
  }

  .brand {
    flex-basis: 10.5rem;
  }

  .desktop-nav {
    gap: 0.78rem;
  }

  .desktop-nav a {
    font-size: 0.78rem;
  }

  .nav-actions {
    flex-basis: 12rem;
  }

  .restore-button {
    max-width: 7.5rem;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 17px;
  }

  .top-nav {
    height: 3.85rem;
  }

  .top-inner {
    width: min(100% - 1.5rem, 78rem);
  }

  .brand {
    flex: 1 1 auto;
  }

  .desktop-nav,
  .restore-button {
    display: none;
  }

  .nav-actions {
    flex: 0 0 auto;
  }

  .hero-section {
    min-height: calc(100svh - 3.5rem);
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    padding: 0 1rem;
  }

  .button {
    width: 100%;
  }

  .gate-grid,
  .why-grid,
  .profile-grid,
  .module-layout.has-side,
  .form-grid.two,
  .dream-search-form,
  .dream-hot-grid,
  .dream-match-list,
  .dream-compact-list,
  .naming-mode-grid,
  .naming-birth-grid,
  .naming-extra-grid,
  .naming-result-grid,
  .palmistry-master-grid,
  .palmistry-upload-grid,
  .palmistry-repick-row,
  .palmistry-line-grid,
  .bazi-birth-grid,
  .almanac-yiji-grid,
  .almanac-info-grid,
  .name-grid,
  .bazi-master-grid,
  .bazi-chart-meta,
  .pay-meta {
    grid-template-columns: 1fr;
  }

  .bazi-step-field,
  .bazi-hour-field,
  .bazi-gender-field,
  .naming-birth-grid .bazi-step-field,
  .naming-surname-field,
  .naming-hour-field,
  .naming-gender-field {
    grid-column: 1 / -1;
  }

  .bazi-submit-button,
  .naming-submit-button {
    width: min(100%, 11.25rem);
  }

  .naming-page {
    width: min(100% - 1.5rem, 56rem);
    padding: 1.25rem 0 0;
  }

  .naming-mode-grid {
    width: 100%;
  }

  .naming-hero p {
    font-size: 1rem;
  }

  .naming-mode-card {
    min-height: auto;
    padding: 1.15rem;
  }

  .naming-form-panel {
    padding: 1.15rem;
  }

  .naming-form-panel::before {
    display: none;
  }

  .naming-result-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .naming-score-row {
    grid-template-columns: 1fr;
  }

  .bazi-page .ritual-panel.bazi-flow-card {
    min-height: auto;
    padding: 1.35rem;
  }

  .bazi-loader-scene {
    min-height: 19rem;
  }

  .bazi-taiji {
    width: 8.5rem;
  }

  .bazi-pillar-label-row {
    display: none;
  }

  .bazi-eight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
  }

  .bazi-eight-grid article {
    font-size: 1.8rem;
  }

  .bazi-five-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bazi-report-grid,
  .bazi-month-grid {
    grid-template-columns: 1fr;
  }

  .bazi-unlock-panel {
    min-height: auto !important;
  }

  .bazi-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dream-page {
    width: min(100% - 1.5rem, 56rem);
    padding-top: 1.25rem;
  }

  .dream-page .ritual-panel {
    padding: 1.15rem;
  }

  .dream-search-form .button {
    width: 100%;
  }

  .dream-result-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .palmistry-page {
    width: min(100% - 1.5rem, 48rem);
    gap: 2rem;
    padding-top: 1.25rem;
  }

  .palmistry-layout {
    gap: 1.4rem;
  }

  .palmistry-page .ritual-panel {
    padding: 1.15rem;
  }

  .palmistry-master-card {
    min-height: auto;
  }

  .palmistry-hand-toggle {
    min-height: 3.25rem;
  }

  .palmistry-upload-tile {
    min-height: 9rem;
  }

  .palmistry-reading-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .almanac-page {
    width: min(100% - 1.5rem, 56rem);
    padding-top: 1.25rem;
  }

  .almanac-date-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
  }

  .almanac-date-main h1 {
    font-size: 1.85rem;
  }

  .almanac-level {
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 0.75rem;
    text-align: center;
  }

  .almanac-hour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .almanac-calendar-head {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
  }

  .almanac-page-title h1 {
    font-size: 1.6rem;
  }

  .almanac-month-title {
    min-width: 0;
    font-size: 1.1rem;
  }

  .almanac-today-button {
    grid-column: 1 / -1;
    justify-self: center;
    min-height: 2.25rem;
    width: auto;
  }

  .almanac-calendar-grid {
    gap: 0.25rem;
  }

  .almanac-calendar-day {
    min-height: 4.85rem;
    border-radius: 0.45rem;
    padding: 0.35rem 0.18rem;
  }

  .almanac-calendar-day strong {
    font-size: 0.98rem;
  }

  .almanac-calendar-day small,
  .almanac-calendar-day span {
    font-size: 0.62rem;
  }

  .almanac-picker-panel {
    padding: 1rem;
  }

  .almanac-month-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .almanac-detail-nav .button {
    width: auto;
    min-width: 7rem;
  }

  .almanac-week-grid {
    grid-template-columns: repeat(7, minmax(4rem, 1fr));
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .qifu-page {
    width: min(100% - 1.5rem, 56rem);
    gap: 2rem;
    padding-top: 1.25rem;
  }

  .qifu-two,
  .qifu-payment-grid {
    grid-template-columns: 1fr;
  }

  .qifu-lamp-options,
  .qifu-duration-options,
  .qifu-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qifu-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .module-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .user-badge {
    text-align: left;
  }

  .account-card {
    grid-template-columns: 1fr;
  }

  .profile-summary,
  .invite-link-row {
    grid-template-columns: 1fr;
  }

  .profile-code {
    text-align: left;
  }

  .module-hero h1 {
    font-size: 2rem;
  }

  .track-list button {
    flex-direction: column;
  }

  .meditation-page {
    width: min(100% - 1.5rem, 56rem);
    padding: 1.4rem 0 2.5rem;
  }

  .meditation-lotus-wrap {
    width: 5.4rem;
    height: 5.4rem;
  }

  .meditation-lotus {
    width: 4.8rem;
    height: 4.8rem;
    font-size: 2.5rem;
  }

  .meditation-now {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .meditation-controls {
    justify-content: center;
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .meditation-disc {
    width: 4.25rem;
    height: 4.25rem;
    font-size: 2rem;
  }

  .meditation-round.large {
    width: 3rem;
    height: 3rem;
  }

  .meditation-track-grid,
  .meditation-guide-grid {
    grid-template-columns: 1fr;
  }

  .meditation-merit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .meditation-end-button {
    width: 100%;
  }

  .meditation-mini-player {
    right: 0.75rem;
    bottom: calc(env(safe-area-inset-bottom) + 5.9rem);
    left: 0.75rem;
    width: auto;
    gap: 0.55rem;
  }

  .meditation-mini-main {
    grid-template-columns: 2.45rem minmax(0, 1fr);
  }

  .meditation-mini-disc {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.15rem;
  }

  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-bottom {
    display: grid;
  }

  body {
    padding-bottom: calc(env(safe-area-inset-bottom) + 96px);
  }
}

@media (max-width: 480px) {
  .brand span {
    font-size: 1.4rem;
  }

  .install-popover {
    right: -3rem;
    width: min(14rem, calc(100vw - 1.5rem));
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .paper-section {
    padding: 1.25rem 1rem;
  }

  .almanac-card {
    padding: 1rem;
  }

  .almanac-date-row {
    grid-template-columns: 1fr;
  }

  .almanac-round-button {
    width: 100%;
  }

  .bazi-pillars-grid {
    grid-template-columns: 1fr;
  }

  .naming-chip-row {
    gap: 0.5rem;
  }

  .naming-chip {
    padding-inline: 0.9rem;
  }

  .naming-name-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .almanac-date-row .almanac-round-button:first-child {
    order: 2;
  }

  .almanac-date-row .almanac-round-button:last-child {
    order: 3;
  }

  .qifu-lamp-options,
  .qifu-duration-options,
  .qifu-wall {
    grid-template-columns: 1fr;
  }
}
