@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond-Latin.woff2?v=20260612-font-v1") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Han Serif SC";
  src: url("assets/fonts/SourceHanSerifSC-Regular.woff2?v=20260612-font-v1") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Source Han Serif SC";
  src: url("assets/fonts/SourceHanSerifSC-Regular.woff2?v=20260612-font-v1") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Source Han Serif SC";
  src: url("assets/fonts/SourceHanSerifSC-Bold.woff2?v=20260612-font-v1") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Source Han Serif SC";
  src: url("assets/fonts/SourceHanSerifSC-Bold.woff2?v=20260612-font-v1") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  color-scheme: light;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Source Han Serif SC", "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", Georgia,
    "Times New Roman", serif;
  --ink: #1b1716;
  --muted: #766b66;
  --paper: #fbf5ed;
  --paper-deep: #f2e8df;
  --panel: rgba(255, 252, 247, 0.82);
  --panel-soft: rgba(248, 239, 232, 0.7);
  --green: #c8d1c5;
  --green-soft: #e3e7df;
  --red: #ba8b86;
  --gold: #b49262;
  --rose-gold: #c59a8f;
  --blue: #a9bbc8;
  --line: rgba(112, 91, 90, 0.16);
  --line-strong: rgba(115, 92, 88, 0.28);
  --shadow: 0 24px 70px rgba(71, 45, 42, 0.1);
  --card-ratio: 1112 / 1920;
  --selected-card-back: url("assets/card-backs/web/back-4-new2.jpg");
}

* {
  box-sizing: border-box;
}

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

main,
section,
footer {
  scroll-margin-top: 76px;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(135deg, #fbf6ee 0%, #fff8f5 48%, #f5ece4 100%);
  background-size:
    auto,
    auto;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 26%, rgba(160, 139, 132, 0.08) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 66%, rgba(197, 154, 143, 0.07) 0 1px, transparent 1.6px);
  background-size:
    120px 120px,
    156px 156px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

button,
input,
textarea,
select {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
  min-height: 70px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 251, 246, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(180, 146, 98, 0.34);
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 252, 247, 0.88);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(95, 64, 49, 0.08);
}

.nav-menu-toggle:hover {
  color: var(--rose-gold);
  border-color: rgba(180, 146, 98, 0.55);
}

.brand {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 400;
  text-decoration: none;
  text-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  min-width: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
}

.nav-links a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--rose-gold);
}

.nav-links a[aria-current="page"] {
  color: var(--rose-gold);
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  margin-left: clamp(8px, 1.4vw, 18px);
  padding: 4px;
  border: 1px solid rgba(180, 146, 98, 0.42);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 12px 28px rgba(95, 64, 49, 0.1);
  backdrop-filter: blur(14px);
}

.language-switcher button {
  position: relative;
  min-width: 44px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(118, 107, 102, 0.7);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.language-switcher button:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -3px;
  color: rgba(180, 146, 98, 0.46);
  content: "/";
  font-family: var(--font-display);
  font-size: 0.88rem;
  transform: translateY(-52%);
}

.language-switcher button:hover {
  background: rgba(232, 205, 150, 0.2);
  color: var(--ink);
}

.language-switcher button:focus-visible {
  outline: 2px solid rgba(197, 154, 143, 0.48);
  outline-offset: 2px;
}

.language-switcher button.is-active {
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(231, 207, 144, 0.58));
  box-shadow:
    inset 0 0 0 1px rgba(180, 146, 98, 0.22),
    0 6px 14px rgba(180, 146, 98, 0.18);
  color: var(--ink);
}

.language-switcher button[data-language-choice="en"] {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.home-announcement {
  max-width: min(1160px, calc(100% - 40px));
  margin: clamp(14px, 2.8vw, 28px) auto 0;
  border: 1px solid rgba(180, 146, 98, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.92), rgba(248, 239, 232, 0.68)),
    rgba(255, 252, 247, 0.82);
  box-shadow: 0 18px 42px rgba(95, 64, 49, 0.07);
}

.home-announcement-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px clamp(14px, 2.5vw, 22px);
}

.home-announcement-bar p,
.home-announcement-foot {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-announcement-bar p {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.home-announcement-toggle {
  min-height: 38px;
  border: 1px solid rgba(180, 146, 98, 0.36);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 252, 247, 0.88);
  color: var(--gold);
  cursor: pointer;
  font-size: 0.86rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(95, 64, 49, 0.08);
}

.home-announcement-toggle:hover {
  border-color: rgba(180, 146, 98, 0.58);
  color: var(--ink);
}

.home-announcement-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  border-top: 1px solid rgba(112, 91, 90, 0.12);
  padding: clamp(16px, 3vw, 24px) clamp(14px, 2.5vw, 22px) 18px;
}

.home-announcement-panel[hidden] {
  display: none;
}

.home-announcement-panel h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.28rem, 2.8vw, 1.82rem);
  font-weight: 400;
  line-height: 1.22;
}

.home-announcement-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-announcement-panel li {
  position: relative;
  min-height: 34px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.home-announcement-panel li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  opacity: 0.72;
}

.home-announcement-foot {
  grid-column: 2;
  padding-top: 2px;
  color: var(--gold);
}

.tarot-section-nav {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1120px;
  margin: clamp(18px, 3vw, 30px) auto 18px;
  padding: 0 clamp(18px, 3vw, 34px);
}

.tarot-section-nav-top {
  margin-top: clamp(18px, 3vw, 32px);
}

.tarot-section-nav-standalone {
  margin-top: 0;
  padding-top: clamp(118px, 8vw, 154px);
  margin-bottom: clamp(28px, 4vw, 48px);
  z-index: 8;
}

.tarot-section-nav a {
  border: 1px solid rgba(180, 146, 98, 0.28);
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(255, 252, 247, 0.74);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(95, 64, 49, 0.06);
}

.tarot-section-nav a:hover,
.tarot-section-nav a[aria-current="page"] {
  border-color: rgba(180, 146, 98, 0.52);
  color: var(--rose-gold);
  background: rgba(255, 248, 239, 0.9);
}

.intro-band {
  position: relative;
  isolation: isolate;
  display: block;
  max-width: min(1160px, calc(100% - 40px));
  min-height: clamp(560px, 70vh, 740px);
  margin: clamp(28px, 5vw, 58px) auto 0;
  padding: clamp(118px, 11vw, 150px) clamp(26px, 7vw, 92px) clamp(220px, 20vw, 300px);
  overflow: hidden;
  border: 1px solid rgba(136, 111, 108, 0.22);
  background:
    linear-gradient(118deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 246, 243, 0.92) 48%, rgba(247, 237, 229, 0.92) 100%),
    var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.intro-band::before {
  position: absolute;
  inset: clamp(18px, 3vw, 34px);
  z-index: -1;
  border: 1px solid rgba(114, 91, 88, 0.34);
  background: none;
  content: "";
  opacity: 0.92;
  transform: none;
}

.intro-band::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 52% 72%, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(circle at 21% 58%, rgba(196, 168, 151, 0.08) 0 1px, transparent 1.6px),
    radial-gradient(circle at 77% 45%, rgba(185, 139, 126, 0.07) 0 1px, transparent 1.6px);
  background-size:
    auto,
    138px 138px,
    164px 164px;
  content: "";
  opacity: 0.5;
}

.mystic-symbols {
  position: absolute;
  left: 50%;
  top: clamp(40px, 5vw, 62px);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  color: rgba(27, 23, 22, 0.78);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.9vw, 1.65rem);
  pointer-events: none;
  transform: translateX(-50%);
}

.mystic-symbols::before,
.mystic-symbols::after {
  width: clamp(54px, 8vw, 112px);
  height: 1px;
  background: rgba(114, 91, 88, 0.38);
  content: "";
}

.mystic-symbols span:nth-child(2) {
  font-size: 1.35em;
  transform: translateY(-1px);
}

.mystic-symbols span:nth-child(3) {
  font-size: 1.58em;
  transform: translateY(-1px);
}

.mystic-symbols span:nth-child(4) {
  font-size: 1.35em;
  transform: translateY(-1px);
}

.intro-copy {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: var(--font-display);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  font-weight: 400;
  line-height: 1;
}

.intro-copy h1 {
  margin-bottom: 26px;
  font-size: clamp(4.4rem, 9vw, 7.8rem);
  line-height: 0.98;
}

.intro-lead,
.intro-detail {
  margin-right: auto;
  margin-left: auto;
  font-family: var(--font-sans);
  line-break: loose;
  overflow-wrap: anywhere;
}

.intro-lead {
  max-width: 620px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
  line-height: 1.8;
}

.intro-detail {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  line-height: 1.9;
}

.intro-signal {
  position: absolute;
  right: clamp(34px, 6vw, 72px);
  bottom: clamp(72px, 8vw, 118px);
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 8px;
  width: clamp(96px, 9vw, 120px);
  min-height: clamp(96px, 9vw, 120px);
  padding: 16px 11px;
  border: 1px solid rgba(181, 146, 98, 0.32);
  background: rgba(255, 252, 247, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
  pointer-events: none;
  text-align: center;
}

.intro-signal span {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1;
  color: rgba(27, 23, 22, 0.76);
}

.intro-signal small {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-cards {
  position: absolute;
  left: 50%;
  bottom: clamp(-210px, -14vw, -150px);
  z-index: 0;
  width: min(520px, 52vw);
  height: clamp(310px, 34vw, 430px);
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-card {
  position: absolute;
  bottom: 0;
  width: clamp(146px, 15vw, 212px);
  aspect-ratio: var(--card-ratio);
  border: 8px solid rgba(247, 229, 222, 0.82);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 26px 58px rgba(91, 60, 58, 0.16);
}

.hero-card-left {
  left: 12%;
  background: #e6b9a9;
  transform: rotate(-12deg);
}

.hero-card-right {
  left: 49%;
  background: #c7d6ce;
  transform: rotate(11deg) translateY(-18px);
}

.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(240px, 0.42fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  max-width: min(1160px, calc(100% - 40px));
  min-height: clamp(520px, 68vh, 720px);
  margin: clamp(22px, 4vw, 48px) auto 0;
  padding: clamp(88px, 10vw, 132px) clamp(24px, 7vw, 92px);
  overflow: hidden;
  border: 1px solid rgba(23, 18, 23, 0.28);
  background:
    linear-gradient(115deg, rgba(237, 246, 255, 0.86) 0%, rgba(255, 241, 244, 0.88) 46%, rgba(244, 233, 248, 0.9) 100%),
    var(--paper);
  box-shadow: var(--shadow);
}

.home-hero::before {
  position: absolute;
  inset: clamp(18px, 3vw, 34px);
  z-index: -1;
  border: 2px solid rgba(23, 18, 23, 0.78);
  border-bottom-color: rgba(23, 18, 23, 0.36);
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px);
  background-size: 90px 90px;
  content: "";
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 24% 28%, rgba(143, 189, 232, 0.25), transparent 28%),
    radial-gradient(circle at 78% 74%, rgba(193, 132, 150, 0.22), transparent 30%);
  content: "";
}

.home-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
  min-width: 0;
}

.home-copy h1 {
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.1vw, 4rem);
  line-height: 1;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.home-text {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.9;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-moon-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 440px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(181, 146, 98, 0.26);
  background: rgba(255, 252, 247, 0.66);
  box-shadow: 0 18px 42px rgba(91, 60, 58, 0.08);
}

.home-moon-card > div {
  min-width: 0;
}

.moon-glyph {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(114, 91, 88, 0.18);
  border-radius: 50%;
  background: rgba(255, 248, 242, 0.82);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
}

.home-moon-card .eyebrow {
  margin-bottom: 4px;
}

.home-moon-card h2 {
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.1;
}

.home-moon-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}


.daily-oracle-band,
.love-oracle-band {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 78px) 0;
}

.daily-oracle-panel,
.love-oracle-panel {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.86), rgba(248, 239, 232, 0.58)),
    var(--panel);
  box-shadow: var(--shadow);
}

.daily-oracle-panel {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(18px, 4vw, 34px);
}

.daily-card-frame {
  margin: 0;
  justify-self: center;
  width: min(220px, 42vw);
}

.daily-card-frame img {
  display: block;
  width: 100%;
  aspect-ratio: var(--card-ratio);
  border: 8px solid rgba(247, 229, 222, 0.82);
  border-radius: 10px;
  background: rgba(255, 250, 252, 0.72);
  object-fit: cover;
  box-shadow: 0 22px 48px rgba(91, 60, 58, 0.14);
}

.daily-oracle-copy h3 {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.06;
}

.daily-card-subtitle,
.daily-reminder,
.daily-guidance,
.love-oracle-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.daily-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.daily-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(181, 146, 98, 0.26);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 250, 252, 0.74);
  color: var(--gold);
  font-size: 0.86rem;
}

.daily-reminder {
  max-width: 680px;
  margin-bottom: 18px;
}

.daily-guidance {
  max-width: 680px;
  margin: 0 0 10px;
}

.love-oracle-panel {
  padding: clamp(18px, 4vw, 30px);
}

.love-oracle-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.love-oracle-teaser p {
  margin-bottom: 0;
}

.love-question-grid,
.love-prompt-grid,
.follow-up-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.love-question-grid a,
.love-prompt-grid button,
.follow-up-options button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid rgba(114, 91, 88, 0.13);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 252, 247, 0.7);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.love-question-grid a:hover,
.love-prompt-grid button:hover,
.follow-up-options button:hover {
  border-color: rgba(181, 146, 98, 0.42);
  background: rgba(255, 252, 247, 0.96);
  transform: translateY(-1px);
}

.follow-up-options button {
  border-color: rgba(154, 132, 188, 0.24);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.9), rgba(244, 236, 250, 0.72));
}

.love-prompt-field {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(197, 154, 143, 0.18);
  background: rgba(255, 250, 252, 0.46);
}

.prompt-field-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.prompt-field-heading span {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.follow-up-panel {
  max-width: 1120px;
  margin: 18px auto 0;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(181, 146, 98, 0.22);
  background:
    linear-gradient(135deg, rgba(217, 201, 144, 0.14), rgba(255, 250, 252, 0.76)),
    var(--panel);
  box-shadow: 0 18px 46px rgba(91, 60, 58, 0.08);
}

.follow-up-panel[hidden] {
  display: none;
}

.follow-up-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.follow-up-heading h3 {
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 400;
}

.follow-up-chat-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(181, 146, 98, 0.18);
}

.follow-up-chat-form.user-input-card {
  padding: 16px;
  border: 2px solid rgba(115, 92, 88, 0.24);
  background: rgba(255, 255, 255, 0.92);
}

.follow-up-chat-form label {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.follow-up-chat-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.follow-up-chat-field textarea {
  width: 100%;
  min-height: 58px;
  resize: vertical;
  border: 1.5px solid rgba(115, 92, 88, 0.28);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: 1rem/1.5 var(--font-sans);
}

.follow-up-chat-field textarea:focus {
  outline: 2px solid rgba(185, 139, 73, 0.32);
  outline-offset: 2px;
  border-color: rgba(181, 146, 98, 0.58);
  box-shadow: 0 0 0 4px rgba(224, 194, 92, 0.12);
}

.follow-up-chat-field button,
.follow-up-chat-end button,
.follow-up-chat-end a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(181, 146, 98, 0.34);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 252, 247, 0.9);
  color: var(--ink);
  cursor: pointer;
  font: 0.95rem var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
}

.follow-up-chat-field button {
  background: linear-gradient(135deg, rgba(194, 209, 180, 0.84), rgba(222, 198, 118, 0.86));
  box-shadow: 0 12px 28px rgba(139, 98, 65, 0.14);
}

.follow-up-chat-field button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.follow-up-chat-form small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.follow-up-chat-log {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.follow-up-chat-log[hidden] {
  display: none;
}

.follow-up-chat-entry {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(114, 91, 88, 0.12);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.68);
}

.follow-up-chat-entry.is-question {
  margin-left: min(12vw, 120px);
  background: rgba(239, 226, 203, 0.54);
}

.follow-up-chat-speaker {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.follow-up-chat-body {
  display: grid;
  gap: 8px;
}

.follow-up-chat-body p,
.follow-up-chat-error {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.follow-up-chat-error {
  padding: 12px 14px;
  border: 1px solid rgba(197, 122, 122, 0.24);
  border-radius: 8px;
  background: rgba(255, 245, 245, 0.64);
}

.follow-up-chat-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.follow-up-chat-end[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .follow-up-chat-field {
    grid-template-columns: 1fr;
  }

  .follow-up-chat-field button,
  .follow-up-chat-end button,
  .follow-up-chat-end a {
    width: 100%;
  }

  .follow-up-chat-entry.is-question {
    margin-left: 0;
  }
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}

.primary-link {
  background: linear-gradient(135deg, #bfd0c7, #e2bd5c);
}

.secondary-link {
  background: rgba(255, 250, 252, 0.76);
}

.home-orbit {
  position: relative;
  z-index: 1;
  align-self: end;
  min-height: 340px;
  pointer-events: none;
}

.home-orbit::before {
  position: absolute;
  inset: 8% 0 auto;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 18, 23, 0.18);
  border-radius: 50%;
  content: "";
}

.home-card {
  position: absolute;
  width: clamp(132px, 14vw, 188px);
  aspect-ratio: var(--card-ratio);
  border: 10px solid rgba(245, 224, 219, 0.95);
  border-radius: 20px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 24px 46px rgba(112, 72, 84, 0.22);
}

.home-card-a {
  left: 2%;
  top: 18%;
  transform: rotate(-13deg);
}

.home-card-b {
  right: 2%;
  top: 34%;
  transform: rotate(10deg);
}

.home-rooms {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 78px);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1120px;
  margin: 0 auto;
}

.room-card {
  display: grid;
  min-height: 270px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 252, 0.78);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.room-card-featured,
.room-card-oracle {
  background:
    linear-gradient(140deg, rgba(255, 253, 249, 0.92), rgba(216, 228, 221, 0.86)),
    var(--panel);
}

.room-card-workshop {
  background:
    linear-gradient(140deg, rgba(255, 249, 250, 0.94), rgba(247, 225, 230, 0.82)),
    var(--panel);
}

.room-card-dream {
  background:
    linear-gradient(140deg, rgba(255, 251, 252, 0.94), rgba(228, 220, 241, 0.78)),
    var(--panel);
}

.room-card-about {
  background:
    linear-gradient(140deg, rgba(255, 252, 247, 0.94), rgba(239, 226, 202, 0.78)),
    var(--panel);
}

.room-mark {
  color: var(--gold);
  font-size: 0.86rem;
}

.room-card h3 {
  align-self: end;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.12;
}

.room-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-self: end;
  margin-top: 18px;
}

.room-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(181, 146, 98, 0.24);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 252, 247, 0.64);
  color: var(--gold);
  font-size: 0.76rem;
  line-height: 1.2;
}


.love-page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  max-width: min(1120px, calc(100% - 40px));
  min-height: clamp(360px, 54vh, 560px);
  margin: clamp(28px, 5vw, 58px) auto 0;
  padding: clamp(90px, 10vw, 132px) clamp(24px, 7vw, 92px) clamp(58px, 8vw, 90px);
  border: 1px solid rgba(136, 111, 108, 0.18);
  background:
    linear-gradient(118deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 246, 243, 0.92) 48%, rgba(247, 237, 229, 0.92) 100%),
    var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.love-page-hero::before {
  position: absolute;
  inset: clamp(18px, 3vw, 34px);
  z-index: -1;
  border: 1px solid rgba(114, 91, 88, 0.28);
  content: "";
}

.love-page-copy {
  max-width: 760px;
}

.love-page-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 9vw, 7rem);
}

.love-page-copy p:last-child {
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.9;
}

.love-topic-band {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 78px);
}

.love-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.love-topic-card {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 252, 0.78);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.love-topic-card:hover {
  border-color: rgba(181, 146, 98, 0.42);
  background: rgba(255, 252, 247, 0.94);
  transform: translateY(-2px);
}

.love-topic-card span,
.love-topic-card small {
  color: var(--gold);
}

.love-topic-card h3 {
  align-self: end;
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.08;
}

.love-topic-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.love-topic-card small {
  align-self: end;
  font-size: 0.82rem;
}


.room-page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  max-width: min(1120px, calc(100% - 40px));
  min-height: clamp(380px, 56vh, 580px);
  margin: clamp(28px, 5vw, 58px) auto 0;
  padding: clamp(92px, 10vw, 138px) clamp(24px, 7vw, 92px) clamp(62px, 8vw, 96px);
  border: 1px solid rgba(136, 111, 108, 0.18);
  background:
    linear-gradient(118deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 246, 243, 0.92) 48%, rgba(247, 237, 229, 0.92) 100%),
    var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.room-page-hero::before {
  position: absolute;
  inset: clamp(18px, 3vw, 34px);
  z-index: -1;
  border: 1px solid rgba(114, 91, 88, 0.28);
  content: "";
}

.workshop-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(244, 200, 212, 0.48), transparent 36%),
    radial-gradient(circle at 84% 22%, rgba(215, 198, 240, 0.4), transparent 34%),
    radial-gradient(circle at 50% 90%, rgba(199, 224, 211, 0.38), transparent 42%),
    radial-gradient(circle at 70% 58%, rgba(240, 218, 170, 0.26), transparent 38%),
    linear-gradient(118deg, #fffdf8 0%, #fdf4f0 45%, #f7eff6 100%);
}

.workshop-hero::after {
  position: absolute;
  z-index: -1;
  top: -140px;
  left: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 205, 176, 0.5), transparent 64%);
  filter: blur(34px);
  content: "";
  animation: workshopGlowDrift 10s ease-in-out infinite alternate;
}

@keyframes workshopGlowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(70px, 46px) scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .workshop-hero::after {
    animation: none;
  }
}

.workshop-hero h1 {
  text-shadow: 0 16px 44px rgba(152, 102, 92, 0.16);
}

.workshop-index a {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.workshop-index a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(150, 110, 130, 0.16);
}

.about-hero {
  background:
    linear-gradient(118deg, rgba(255, 253, 248, 0.94) 0%, rgba(246, 244, 252, 0.86) 48%, rgba(247, 237, 229, 0.92) 100%),
    var(--paper);
}

.room-page-copy {
  max-width: 780px;
}

.room-page-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 9vw, 7rem);
}

.room-page-copy p:last-child {
  margin: 0 auto;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.9;
}

.room-page-band {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 78px);
}

.room-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.room-page-card {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 252, 0.78);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.room-page-card span,
.room-page-card small {
  color: var(--gold);
}

.room-page-card h3 {
  align-self: end;
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.08;
}

.room-page-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.room-page-card small {
  align-self: end;
  font-size: 0.82rem;
}

.moon-divider {
  margin-top: 26px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.28em;
}

.workshop-service-band {
  padding-top: clamp(44px, 6vw, 76px);
}

.workshop-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.workshop-service-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 18px;
  align-content: start;
  min-height: 360px;
  border: 1px solid rgba(114, 91, 88, 0.15);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.9), rgba(250, 240, 248, 0.56)),
    rgba(255, 252, 247, 0.82);
  box-shadow: 0 18px 42px rgba(95, 75, 63, 0.07);
}

.workshop-service-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(181, 146, 98, 0.32);
  border-radius: 50%;
  background: rgba(255, 250, 252, 0.84);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.workshop-service-card .eyebrow,
.workshop-service-card h3,
.workshop-service-card p,
.workshop-service-card small,
.workshop-tags {
  grid-column: 2;
}

.workshop-service-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.08;
}

.workshop-service-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

.workshop-service-card small {
  margin-top: 6px;
  color: rgba(99, 85, 78, 0.92);
  font-size: 0.92rem;
  line-height: 1.7;
}

.workshop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.workshop-tags span {
  border: 1px solid rgba(181, 146, 98, 0.28);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 252, 247, 0.76);
  color: var(--gold);
  font-size: 0.78rem;
  line-height: 1.2;
}

.workshop-trust-band,
.workshop-consult-band,
.workshop-faq-band,
.workshop-disclaimer {
  max-width: 1120px;
  margin: 0 auto clamp(24px, 4vw, 44px);
  padding-inline: clamp(18px, 6vw, 78px);
}

.workshop-trust-band,
.workshop-consult-band,
.workshop-disclaimer {
  border: 1px solid rgba(114, 91, 88, 0.14);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.72);
}

.workshop-trust-band {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(22px, 4vw, 34px);
  padding-bottom: clamp(22px, 4vw, 34px);
}

.workshop-trust-band h2,
.workshop-consult-band h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}

.workshop-trust-band p,
.workshop-consult-band p,
.workshop-disclaimer p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.82;
}

.workshop-consult-band {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-top: clamp(28px, 5vw, 46px);
  padding-bottom: clamp(28px, 5vw, 46px);
  background:
    linear-gradient(120deg, rgba(255, 247, 241, 0.88), rgba(245, 238, 252, 0.68)),
    rgba(255, 252, 247, 0.78);
}

.workshop-consult-band p {
  max-width: 760px;
}

.workshop-faq-band {
  padding-top: clamp(18px, 3vw, 28px);
}

.workshop-faq {
  max-width: 1120px;
  margin: 0 auto;
}

.workshop-disclaimer {
  padding-top: 18px;
  padding-bottom: 18px;
  background: rgba(255, 248, 252, 0.66);
}

.workshop-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
}

.about-mystic-hero {
  overflow: hidden;
}

.about-mystic-hero::after {
  position: absolute;
  right: clamp(22px, 7vw, 96px);
  bottom: clamp(22px, 6vw, 70px);
  width: clamp(72px, 12vw, 138px);
  aspect-ratio: 1;
  border: 1px solid rgba(181, 146, 98, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 252, 247, 0.94) 0 28%, transparent 29%),
    linear-gradient(90deg, rgba(33, 28, 27, 0.82) 0 50%, transparent 51%);
  opacity: 0.16;
  content: "";
}

.about-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.about-hero-tags span,
.about-credential-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(181, 146, 98, 0.28);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 252, 247, 0.72);
  color: rgba(33, 28, 27, 0.74);
  font-size: 0.92rem;
  line-height: 1.2;
}

.about-profile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 4vw, 38px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.about-lineage-card,
.about-photo-placeholder,
.about-more-foldout {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.9), rgba(255, 250, 252, 0.74)),
    var(--panel);
  box-shadow: var(--shadow);
}

.about-lineage-card {
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding: clamp(22px, 4vw, 36px);
}

.about-since {
  justify-self: start;
  border-bottom: 1px solid rgba(181, 146, 98, 0.32);
  padding-bottom: 5px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1;
}

.about-lineage-card p {
  margin: 0;
  max-width: 920px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.95;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.about-photo-placeholder {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 120px;
  margin: 0;
  padding: 16px;
}

.about-photo-placeholder span {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(181, 146, 98, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(226, 195, 103, 0.2), transparent 35%),
    rgba(255, 252, 247, 0.78);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.7rem;
}

.about-photo-placeholder figcaption {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.35;
}

.about-credential-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto;
}

.about-credential-cloud span {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.86), rgba(252, 242, 246, 0.66)),
    rgba(255, 250, 252, 0.7);
  box-shadow: 0 10px 24px rgba(99, 69, 58, 0.05);
}

.about-more-band {
  padding-top: 0;
}

.about-more-foldout {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 22px);
}

.about-more-foldout summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}

.about-more-foldout summary::-webkit-details-marker {
  display: none;
}

.about-more-foldout summary span {
  display: grid;
  gap: 6px;
}

.about-more-foldout summary strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
}

.about-more-foldout summary em {
  flex: 0 0 auto;
  border: 1px solid rgba(181, 146, 98, 0.32);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--gold);
  font-style: normal;
}

.about-more-grid {
  margin-top: 18px;
}

@media (max-width: 860px) {
  .about-profile-layout {
    grid-template-columns: 1fr;
  }

  .about-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-photo-placeholder {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .about-hero-tags,
  .about-credential-cloud {
    justify-content: flex-start;
  }

  .about-photo-grid {
    grid-template-columns: 1fr;
  }

  .about-photo-placeholder {
    grid-template-columns: 60px minmax(0, 1fr);
    justify-items: stretch;
    text-align: left;
  }

  .about-photo-placeholder span {
    width: 60px;
  }

  .about-more-foldout summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

.login-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 64px);
  padding: clamp(40px, 8vw, 90px) clamp(18px, 6vw, 78px);
}

.login-panel {
  width: min(100%, 520px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 250, 252, 0.9), rgba(241, 232, 247, 0.84)),
    var(--panel);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
}

.login-copy,
.login-status {
  color: var(--muted);
  line-height: 1.7;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 4px;
}

.auth-mode-tabs button,
.auth-actions .quiet-button,
.auth-code-field .quiet-button {
  min-height: 42px;
  border-radius: 999px;
}

.auth-code-field .quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  width: max-content;
  padding-inline: 18px;
  line-height: 1.2;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  word-break: keep-all;
  flex-shrink: 0;
}

.auth-mode-tabs button {
  border: 1px solid rgba(181, 146, 98, 0.28);
  background: rgba(255, 250, 252, 0.68);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.auth-mode-tabs button.is-active {
  border-color: rgba(181, 146, 98, 0.58);
  color: var(--ink);
  background: rgba(255, 250, 252, 0.96);
  box-shadow: 0 12px 28px rgba(100, 72, 61, 0.08);
}

.login-field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.login-field input {
  min-height: 46px;
  border: 1.5px solid rgba(115, 92, 88, 0.26);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-synthesis: none;
  font-weight: 400;
}

.login-field input:focus {
  outline: 2px solid rgba(185, 139, 73, 0.42);
  outline-offset: 2px;
  border-color: rgba(181, 146, 98, 0.6);
  box-shadow: 0 0 0 4px rgba(224, 194, 92, 0.12);
}

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

.auth-code-field label {
  display: grid;
  gap: 8px;
}

.auth-help {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.auth-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.login-status {
  min-height: 1.7em;
  margin: 16px 0;
}

.login-progress {
  height: 8px;
  margin: -4px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(184, 142, 86, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 252, 0.86);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.login-progress.is-active {
  opacity: 1;
  transform: translateY(0);
}

.login-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(193, 205, 179, 0.95), rgba(224, 193, 102, 0.96), rgba(224, 177, 198, 0.9));
  box-shadow: 0 0 18px rgba(224, 193, 102, 0.22);
  transition: width 500ms ease;
}

.login-button {
  width: 100%;
}

.admin-account-panel {
  width: min(100%, 720px);
  max-width: 100%;
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(184, 142, 86, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.92), rgba(244, 234, 240, 0.86)),
    var(--panel);
  box-shadow: 0 18px 56px rgba(94, 72, 78, 0.12);
}

.tarot-admin-panel {
  margin: clamp(28px, 5vw, 54px) clamp(18px, 6vw, 78px) 0;
}

.admin-account-heading h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
}

.admin-account-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.admin-register-form {
  margin-top: 12px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.admin-actions .draw-button {
  width: auto;
  min-width: 150px;
}

.admin-shell {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  width: 100%;
  max-width: 100vw;
  padding: clamp(40px, 8vw, 90px) clamp(18px, 6vw, 78px);
  overflow-x: hidden;
}

.admin-dashboard-panel {
  width: min(100%, 1120px);
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.92), rgba(244, 234, 240, 0.82)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-dashboard-heading h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
}

.admin-dashboard-heading p:last-child,
.admin-dashboard-actions {
  color: var(--muted);
}

.admin-dashboard-heading p:last-child,
.admin-dashboard-actions span,
.admin-usage-summary strong,
.admin-foldout-copy small,
.admin-question-status {
  overflow-wrap: anywhere;
}

.admin-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.admin-refresh-button {
  width: 44px;
  min-height: 44px;
}

.admin-usage-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-usage-summary article {
  padding: 16px;
  border: 1px solid rgba(114, 91, 88, 0.12);
  background: rgba(255, 252, 247, 0.66);
}

.admin-usage-summary span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.82rem;
}

.admin-usage-summary strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
}

.admin-foldout {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(114, 91, 88, 0.14);
  background: rgba(255, 252, 247, 0.5);
}

.admin-users-foldout {
  margin-bottom: 18px;
}

.admin-foldout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.admin-foldout-summary::-webkit-details-marker {
  display: none;
}

.admin-foldout-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-foldout-copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1;
}

.admin-foldout-copy small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.45;
}

.admin-foldout-toggle {
  flex: 0 0 auto;
  min-width: 62px;
  border: 1px solid rgba(184, 142, 86, 0.26);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-align: center;
  white-space: nowrap;
}

.admin-foldout-toggle::after {
  content: "展开";
}

.admin-foldout[open] .admin-foldout-toggle::after {
  content: "收起";
}

.admin-foldout-content {
  padding: 0 14px 14px;
}

.admin-foldout > .admin-table-wrap {
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
}

.admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(114, 91, 88, 0.14);
  background: rgba(255, 252, 247, 0.56);
  -webkit-overflow-scrolling: touch;
}

.admin-usage-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
}

.admin-usage-table th,
.admin-usage-table td {
  border-bottom: 1px solid rgba(114, 91, 88, 0.12);
  padding: 9px 11px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-align: left;
  white-space: nowrap;
}

.admin-usage-table th {
  color: var(--gold);
  font-weight: 400;
}

.admin-usage-table td:first-child {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 0.95rem;
}

.admin-usage-table tr:last-child td {
  border-bottom: 0;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(114, 91, 88, 0.16);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  line-height: 1;
  white-space: nowrap;
}

.admin-status-badge.is-active {
  border-color: rgba(111, 143, 101, 0.28);
  color: #58724e;
  background: rgba(224, 237, 211, 0.42);
}

.admin-status-badge.is-disabled {
  border-color: rgba(159, 91, 91, 0.26);
  color: #9a5d5d;
  background: rgba(246, 224, 224, 0.45);
}

.admin-user-question-cell {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-user-action-cell {
  white-space: normal;
}

.admin-user-deactivate-button {
  min-width: 104px;
  width: max-content;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-usage-table tr.is-updating {
  opacity: 0.62;
}

.admin-questions-panel {
  margin-top: 18px;
}

.admin-questions-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 400;
}

.admin-question-filters {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.2fr) auto auto;
  gap: 10px;
  align-items: end;
  margin: 14px 0 10px;
}

.admin-question-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.admin-question-filters input,
.admin-question-filters select {
  width: 100%;
  border: 1px solid rgba(114, 91, 88, 0.18);
  background: rgba(255, 252, 247, 0.82);
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.admin-question-filters select {
  min-height: 42px;
}

.admin-question-filters .quiet-button {
  min-width: 72px;
  padding-right: 14px;
  padding-left: 14px;
  white-space: nowrap;
}

.admin-question-status {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.admin-question-table {
  table-layout: fixed;
  min-width: 980px;
}

.admin-question-table-wrap {
  max-height: min(72vh, 720px);
  overflow: auto;
}

.admin-question-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 1px 0 rgba(114, 91, 88, 0.12);
}

.admin-question-table .admin-question-col-time {
  width: 136px;
}

.admin-question-table .admin-question-col-user {
  width: 92px;
}

.admin-question-table .admin-question-col-question {
  width: 300px;
}

.admin-question-table .admin-question-col-spread {
  width: 130px;
}

.admin-question-table .admin-question-col-mode {
  width: 82px;
}

.admin-question-table .admin-question-col-status {
  width: 108px;
}

.admin-question-table .admin-question-col-answer {
  width: 132px;
}

.admin-question-table td {
  vertical-align: top;
}

.admin-question-table .admin-question-cell {
  max-width: none;
  white-space: normal;
  overflow-wrap: break-word;
  color: var(--ink);
  line-height: 1.48;
}

.admin-question-context {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.42;
}

.admin-question-table td:not(.admin-question-cell) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-question-answer-cell {
  text-align: center;
  white-space: nowrap;
}

.admin-answer-button {
  min-width: 112px;
  width: max-content;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-question-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.admin-page-button {
  min-width: 96px;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.admin-question-page {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  white-space: nowrap;
}

.admin-feedback-filters {
  grid-template-columns: minmax(120px, 0.7fr) minmax(150px, 0.9fr) minmax(110px, 0.6fr) minmax(220px, 1.2fr) auto auto;
}

.admin-feedback-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.admin-feedback-summary span {
  border: 1px solid rgba(184, 142, 86, 0.18);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 252, 247, 0.66);
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-feedback-table {
  min-width: 1120px;
  table-layout: fixed;
}

.admin-feedback-table th:nth-child(1) {
  width: 136px;
}

.admin-feedback-table th:nth-child(2) {
  width: 130px;
}

.admin-feedback-table th:nth-child(3) {
  width: 90px;
}

.admin-feedback-table th:nth-child(4) {
  width: 150px;
}

.admin-feedback-table th:nth-child(5) {
  width: 270px;
}

.admin-feedback-table th:nth-child(6) {
  width: 150px;
}

.admin-feedback-wrap-cell {
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.admin-detail-dialog[hidden] {
  display: none;
}

.admin-detail-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: stretch end;
}

.admin-detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(33, 28, 27, 0.22);
  cursor: pointer;
}

.admin-detail-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100vw, 760px);
  height: 100%;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 250, 252, 0.96), rgba(248, 240, 245, 0.96)),
    var(--paper);
  box-shadow: -22px 0 60px rgba(56, 44, 42, 0.18);
}

.admin-detail-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border-bottom: 1px solid var(--line);
}

.admin-detail-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.admin-detail-body {
  min-height: 0;
  overflow: auto;
  padding: clamp(18px, 4vw, 34px);
}

.admin-detail-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.admin-detail-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-detail-line strong {
  color: var(--gold);
  font-weight: 500;
}

.admin-detail-line span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.admin-answer-list {
  display: grid;
  gap: 18px;
}

.admin-answer-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 24px);
  background: rgba(255, 250, 252, 0.72);
}

.admin-answer-block h3 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.admin-answer-block pre {
  margin: 0;
  color: var(--ink);
  font: inherit;
  line-height: 1.72;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-discussion-list {
  display: grid;
  gap: 12px;
}

.admin-discussion-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(114, 91, 88, 0.14);
  padding: 14px;
  background: rgba(255, 252, 247, 0.78);
}

.admin-discussion-card h3,
.admin-discussion-card p {
  margin: 0;
}

.admin-discussion-body {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.admin-discussion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-dashboard-register {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.reading-band {
  position: relative;
  isolation: isolate;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 6vw, 78px);
  background: transparent;
  overflow: hidden;
}

.reading-canvas-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 44%, rgba(224, 198, 151, 0.028), transparent 34%),
    radial-gradient(circle at 70% 58%, rgba(216, 190, 198, 0.022), transparent 32%),
    linear-gradient(135deg, rgba(255, 250, 242, 0), rgba(255, 250, 242, 0.018));
  opacity: 0.64;
  pointer-events: none;
}

.reading-particle-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.86;
  mix-blend-mode: normal;
  filter: saturate(0.92) contrast(0.98) brightness(1.01);
  will-change: opacity;
}

.reading-band.is-reading-mystic-disabled .reading-canvas-layer {
  opacity: 0;
}

.reading-band.is-reading-mystic-degraded .reading-particle-canvas {
  opacity: 0.68;
}

.reading-heading,
.reading-form,
.reading-stage,
.reading-output,
.follow-up-panel {
  position: relative;
  z-index: 3;
}

.reading-heading,
.section-heading {
  max-width: 1120px;
  margin: 0 auto 24px;
}

.reading-heading h2,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.tarot-flow-steps {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1120px;
  margin: -6px auto 20px;
  padding: 0 2px;
  color: var(--muted);
  font-family: var(--font-sans);
}

.tarot-flow-steps [data-flow-step] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(181, 146, 98, 0.2);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 252, 247, 0.58);
  color: rgba(117, 101, 94, 0.78);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.tarot-flow-steps [data-flow-step].is-active {
  border-color: rgba(181, 146, 98, 0.54);
  background: rgba(250, 239, 224, 0.9);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(95, 64, 49, 0.08);
}

.tarot-transition[hidden] {
  display: none;
}

.tarot-transition {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(251, 245, 237, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  backdrop-filter: blur(14px);
}

.tarot-transition.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.tarot-transition-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 420px);
  border: 1px solid rgba(181, 146, 98, 0.24);
  border-radius: 8px;
  padding: 26px 22px;
  background: rgba(255, 252, 247, 0.95);
  color: var(--muted);
  text-align: center;
  box-shadow: 0 24px 70px rgba(71, 45, 42, 0.12);
}

.tarot-transition-card .eyebrow {
  margin: 0;
}

.tarot-transition-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.18;
}

.tarot-transition-card p:last-of-type {
  margin: 0;
  max-width: 32em;
  font-size: 0.92rem;
  line-height: 1.65;
}

.tarot-transition-orbit {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(181, 146, 98, 0.22);
  border-top-color: rgba(181, 146, 98, 0.78);
  border-radius: 999px;
  animation: tarot-transition-spin 920ms linear infinite;
}

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

.reading-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto 28px;
}

.tarot-step-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  animation: tarot-step-in 240ms ease both;
}

.tarot-step-panel:not(.is-active) {
  display: none;
}

.tarot-step-heading {
  display: grid;
  gap: 6px;
  max-width: 780px;
}

.tarot-step-heading .eyebrow,
.tarot-step-heading h3,
.tarot-step-heading p {
  margin: 0;
}

.tarot-step-heading h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
}

.tarot-step-heading p:last-child {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
}

.tarot-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.step-primary-button,
.step-back-button {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  font: 0.95rem/1 var(--font-sans);
}

.step-primary-button {
  border: 1px solid rgba(181, 146, 98, 0.42);
  background: linear-gradient(135deg, var(--sage), var(--warm-gold));
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(139, 98, 65, 0.12);
}

@keyframes tarot-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body[data-tarot-flow-step="question"] .reading-stage,
body[data-tarot-flow-step="question"] .reading-output,
body[data-tarot-flow-step="question"] .follow-up-panel,
body[data-tarot-flow-step="spread"] .reading-stage,
body[data-tarot-flow-step="spread"] .reading-output,
body[data-tarot-flow-step="spread"] .follow-up-panel,
body[data-tarot-flow-step="draw"] .reading-form,
body[data-tarot-flow-step="draw"] .reading-output,
body[data-tarot-flow-step="draw"] .follow-up-panel,
body[data-tarot-flow-step="result"] .reading-form {
  display: none;
}

.user-input-card,
.ai-assist-card {
  position: relative;
}

.user-input-card {
  display: grid;
  gap: 10px;
  border: 2px solid rgba(115, 92, 88, 0.28);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 16px 42px rgba(93, 64, 56, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.user-input-card:focus-within {
  border-color: rgba(181, 146, 98, 0.66);
  box-shadow:
    0 18px 48px rgba(93, 64, 56, 0.1),
    0 0 0 4px rgba(224, 194, 92, 0.16);
}

.user-input-card > span,
.user-input-card > label,
.follow-up-chat-form > label {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
}

.user-input-card.is-ai-filled {
  animation: user-input-filled-pulse 920ms ease both;
}

.user-input-card.is-empty textarea,
.user-input-card.is-empty input {
  animation: user-input-breathe 2.8s ease-in-out infinite;
}

.user-input-card.has-value textarea,
.user-input-card.has-value input {
  animation: none;
}

.ai-assist-card {
  border: 1px solid rgba(154, 132, 188, 0.24);
  background:
    radial-gradient(circle at 12% 12%, rgba(214, 178, 200, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.84), rgba(244, 236, 250, 0.66));
  box-shadow: 0 14px 34px rgba(108, 74, 128, 0.06);
}

.ai-assist-card::after {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(154, 132, 188, 0.24);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(255, 252, 247, 0.74);
  color: rgba(129, 103, 156, 0.94);
  content: "AI";
  font: 0.68rem/1 var(--font-sans);
  letter-spacing: 0.08em;
}

@keyframes user-input-breathe {
  0%,
  100% {
    border-color: rgba(115, 92, 88, 0.26);
    box-shadow: 0 0 0 0 rgba(224, 194, 92, 0);
  }
  50% {
    border-color: rgba(181, 146, 98, 0.52);
    box-shadow: 0 0 0 4px rgba(224, 194, 92, 0.12);
  }
}

@keyframes user-input-filled-pulse {
  0% {
    box-shadow:
      0 16px 42px rgba(93, 64, 56, 0.08),
      0 0 0 0 rgba(224, 194, 92, 0.24);
  }
  45% {
    box-shadow:
      0 20px 54px rgba(93, 64, 56, 0.12),
      0 0 0 6px rgba(224, 194, 92, 0.2);
  }
  100% {
    box-shadow:
      0 16px 42px rgba(93, 64, 56, 0.08),
      0 0 0 0 rgba(224, 194, 92, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .user-input-card.is-empty textarea,
  .user-input-card.is-empty input,
  .user-input-card.is-ai-filled {
    animation: none;
  }
}

.question-starters {
  display: grid;
  gap: 12px;
  padding: 14px 15px;
  padding-right: 58px;
  border: 1px solid rgba(154, 132, 188, 0.24);
  border-radius: 8px;
  color: var(--muted);
}

.question-starters-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  align-items: baseline;
}

.question-starters-copy span {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.question-starters-copy small {
  color: var(--muted);
  font: 0.84rem/1.5 var(--font-sans);
}

.question-starter-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  grid-template-rows: repeat(2, auto);
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.question-starter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  max-width: min(420px, 78vw);
  border: 1px solid rgba(154, 132, 188, 0.26);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(250, 246, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  font: 0.92rem/1.35 var(--font-sans);
  text-align: left;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(139, 98, 65, 0.08);
}

.question-starter-pill::before,
.follow-up-options button::before {
  content: "✦";
  flex: 0 0 auto;
  color: rgba(129, 103, 156, 0.92);
  font-size: 0.82rem;
}

.question-starter-pill:hover,
.question-starter-pill:focus-visible {
  border-color: rgba(154, 132, 188, 0.48);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.98), rgba(244, 236, 250, 0.92));
}

.spread-field,
.card-back-field,
.question-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 400;
}

.tarot-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.spread-mode-field {
  display: grid;
  gap: 9px;
  padding: 14px 58px 14px 15px;
  border: 1px solid rgba(154, 132, 188, 0.24);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
}

.spread-mode-field > span {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.spread-mode-toggle {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(181, 146, 98, 0.18);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.78);
}

.spread-mode-toggle button {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 15px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.spread-mode-toggle button.is-active {
  border-color: rgba(181, 146, 98, 0.42);
  background: rgba(250, 239, 224, 0.92);
  color: var(--ink);
}

.spread-mode-field small {
  color: rgba(117, 101, 94, 0.78);
  line-height: 1.5;
}

.spread-options {
  display: flex;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding: 10px;
  scroll-snap-type: x mandatory;
  padding: 2px 4px 12px;
  scrollbar-width: thin;
}

.spread-option {
  position: relative;
  flex: 0 0 clamp(238px, 24vw, 282px);
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 252, 247, 0.66);
  color: var(--ink);
  cursor: pointer;
  font-weight: 400;
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  scroll-snap-align: center;
}

.spread-option:hover {
  transform: translateY(-1px);
  border-color: rgba(181, 146, 98, 0.42);
  background: rgba(255, 252, 247, 0.9);
}

.spread-option.is-active {
  border-color: rgba(181, 146, 98, 0.7);
  background:
    linear-gradient(135deg, rgba(217, 201, 144, 0.26), rgba(207, 165, 129, 0.24)),
    rgba(255, 252, 247, 0.84);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(99, 69, 58, 0.08);
}

.spread-option.is-recommended:not(.is-active) {
  border-color: rgba(199, 146, 118, 0.52);
  box-shadow: inset 0 0 0 1px rgba(199, 146, 118, 0.12);
}

.spread-option:disabled {
  cursor: wait;
  opacity: 0.72;
}

.spread-recommended-badge {
  display: none;
  justify-self: start;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(181, 146, 98, 0.28);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(255, 252, 247, 0.82);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  line-height: 1.2;
}

.spread-option.is-recommended .spread-recommended-badge {
  display: inline-flex;
}

.spread-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.1;
}

.spread-meta {
  color: var(--gold);
  font-size: 0.78rem;
  line-height: 1.5;
}

.spread-copy {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.spread-mini-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "center";
  gap: 4px;
  align-items: center;
  justify-items: center;
  min-height: 50px;
  margin-bottom: 4px;
  padding: 8px;
  border: 1px solid rgba(181, 146, 98, 0.14);
  border-radius: 7px;
  background: rgba(255, 250, 252, 0.52);
}

.spread-mini-map[data-mini-spread="free-form"],
.spread-mini-map[data-mini-spread="time-arrow"] {
  grid-template-columns: repeat(3, minmax(28px, 1fr));
  grid-template-areas: "left center right";
}

.spread-mini-map[data-mini-spread="time-arrow"] {
  grid-template-areas: "past present future";
}

.spread-mini-map[data-mini-spread="lover-pyramid"] {
  grid-template-columns: repeat(3, minmax(28px, 1fr));
  grid-template-areas:
    ". top ."
    "left center right";
}

.spread-mini-map[data-mini-spread="relationship-spread"] {
  grid-template-columns: repeat(3, minmax(28px, 1fr));
  grid-template-areas:
    ". top ."
    "left center right"
    ". bottom .";
}

.spread-mini-map[data-mini-spread="love-cross"],
.spread-mini-map[data-mini-spread="answer-gate"],
.spread-mini-map[data-mini-spread="three-side-relationship"],
.spread-mini-map[data-mini-spread="choice-balance"],
.spread-mini-map[data-mini-spread="three-choice"],
.spread-mini-map[data-mini-spread="seasonal-oracle"] {
  grid-template-columns: repeat(3, minmax(28px, 1fr));
}

.spread-mini-map[data-mini-spread="love-cross"] {
  grid-template-areas:
    "guideLeft top ."
    "left center right"
    ". bottom .";
}

.spread-mini-map[data-mini-spread="inspiration-link"] {
  grid-template-columns: repeat(3, minmax(28px, 1fr));
  grid-template-areas:
    "topLeft topCenter topRight"
    "bottomLeft bottomCenter bottomRight";
}

.spread-mini-map[data-mini-spread="answer-gate"],
.spread-mini-map[data-mini-spread="three-side-relationship"],
.spread-mini-map[data-mini-spread="seasonal-oracle"] {
  grid-template-areas:
    ". obstacle ."
    "left center right"
    ". counsel .";
}

.spread-mini-map[data-mini-spread="answer-gate"],
.spread-mini-map[data-mini-spread="seasonal-oracle"] {
  grid-template-areas:
    ". obstacle ."
    "force center outcome"
    ". hidden .";
}

.spread-mini-map[data-mini-spread="choice-balance"] {
  grid-template-areas:
    "aObstacle . bObstacle"
    "aOpportunity . bOpportunity"
    ". core .";
}

.spread-mini-map[data-mini-spread="three-choice"] {
  grid-template-areas:
    "aOutcome bOutcome cOutcome"
    "aDevelopment bDevelopment cDevelopment"
    ". currentState .";
}

.spread-mini-map i {
  display: grid;
  place-items: center;
  width: 22px;
  min-height: 28px;
  border: 1px solid rgba(181, 146, 98, 0.24);
  border-radius: 4px;
  background: rgba(255, 252, 247, 0.86);
  color: rgba(151, 112, 64, 0.78);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-style: normal;
  line-height: 1;
}

.spread-mini-map i[data-slot="center"],
.spread-layout-marker[data-slot="center"] {
  grid-area: center;
}

.spread-mini-map i[data-slot="left"],
.spread-layout-marker[data-slot="left"] {
  grid-area: left;
}

.spread-mini-map i[data-slot="right"],
.spread-layout-marker[data-slot="right"] {
  grid-area: right;
}

.spread-mini-map i[data-slot="past"] {
  grid-area: past;
}

.spread-mini-map i[data-slot="present"] {
  grid-area: present;
}

.spread-mini-map i[data-slot="future"] {
  grid-area: future;
}

.spread-mini-map i[data-slot="top"] {
  grid-area: top;
}

.spread-mini-map i[data-slot="bottom"] {
  grid-area: bottom;
}

.spread-mini-map i[data-slot="guideLeft"] {
  grid-area: guideLeft;
}

.spread-mini-map i[data-slot="topLeft"] {
  grid-area: topLeft;
}

.spread-mini-map i[data-slot="topCenter"] {
  grid-area: topCenter;
}

.spread-mini-map i[data-slot="topRight"] {
  grid-area: topRight;
}

.spread-mini-map i[data-slot="bottomLeft"] {
  grid-area: bottomLeft;
}

.spread-mini-map i[data-slot="bottomCenter"] {
  grid-area: bottomCenter;
}

.spread-mini-map i[data-slot="bottomRight"] {
  grid-area: bottomRight;
}

.spread-mini-map i[data-slot="hidden"] {
  grid-area: hidden;
}

.spread-mini-map i[data-slot="force"] {
  grid-area: force;
}

.spread-mini-map i[data-slot="obstacle"] {
  grid-area: obstacle;
}

.spread-mini-map i[data-slot="outcome"] {
  grid-area: outcome;
}

.spread-mini-map i[data-slot="counsel"] {
  grid-area: counsel;
}

.spread-mini-map i[data-slot="currentState"] {
  grid-area: currentState;
}

.spread-mini-map i[data-slot="aDevelopment"],
.spread-mini-map i[data-slot="aGain"] {
  grid-area: aDevelopment;
}

.spread-mini-map i[data-slot="bDevelopment"],
.spread-mini-map i[data-slot="bGain"] {
  grid-area: bDevelopment;
}

.spread-mini-map i[data-slot="cDevelopment"] {
  grid-area: cDevelopment;
}

.spread-mini-map i[data-slot="aOutcome"],
.spread-mini-map i[data-slot="aCost"] {
  grid-area: aOutcome;
}

.spread-mini-map i[data-slot="bOutcome"],
.spread-mini-map i[data-slot="bCost"] {
  grid-area: bOutcome;
}

.spread-mini-map i[data-slot="cOutcome"] {
  grid-area: cOutcome;
}

.spread-layout-preview {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(114, 91, 88, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.72), rgba(248, 239, 232, 0.5)),
    rgba(255, 252, 247, 0.62);
}

.spread-layout-title {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spread-layout-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "center";
  gap: 10px;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.spread-layout-map[data-spread="free-form"] {
  grid-template-columns: repeat(3, minmax(86px, 118px));
  grid-template-areas: "left center right";
  justify-content: center;
  max-width: 400px;
}

.spread-layout-map[data-spread="time-arrow"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "past present future";
}

.spread-layout-map[data-spread="lover-pyramid"] {
  grid-template-columns: repeat(3, minmax(86px, 118px));
  grid-template-areas:
    ". top ."
    "left center right";
  justify-content: center;
  max-width: 420px;
}

.spread-layout-map[data-spread="relationship-spread"] {
  grid-template-columns: repeat(3, minmax(86px, 118px));
  grid-template-areas:
    ". top ."
    "left center right"
    ". bottom .";
  justify-content: center;
  max-width: 420px;
}

.spread-layout-map[data-spread="love-cross"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "guideLeft top ."
    "left center right"
    ". bottom .";
  max-width: 520px;
}

.spread-layout-map[data-spread="inspiration-link"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "topLeft topCenter topRight"
    "bottomLeft bottomCenter bottomRight";
  max-width: 640px;
}

.spread-layout-map[data-spread="answer-gate"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". obstacle ."
    "force center outcome"
    ". hidden .";
  max-width: 480px;
}

.spread-layout-map[data-spread="three-side-relationship"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". obstacle ."
    "left center right"
    ". counsel .";
  max-width: 520px;
}

.spread-layout-map[data-spread="choice-balance"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "aObstacle . bObstacle"
    "aOpportunity . bOpportunity"
    ". core .";
  max-width: 480px;
}

.spread-layout-map[data-spread="three-choice"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "aOutcome bOutcome cOutcome"
    "aDevelopment bDevelopment cDevelopment"
    ". currentState .";
  max-width: 620px;
}

.spread-layout-map[data-spread="seasonal-oracle"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". obstacle ."
    "force center outcome"
    ". hidden .";
  max-width: 480px;
}

.spread-layout-marker {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  place-items: center;
  box-sizing: border-box;
  width: min(100%, 128px);
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(181, 146, 98, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 252, 0.7);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 10px 26px rgba(99, 69, 58, 0.05);
}

.spread-layout-marker small {
  min-width: 0;
  max-width: 100%;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.spread-layout-marker strong {
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.2;
  hyphens: auto;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.spread-layout-marker[data-slot="center"] {
  grid-area: center;
}

.spread-layout-marker[data-slot="left"] {
  grid-area: left;
}

.spread-layout-marker[data-slot="right"] {
  grid-area: right;
}

.spread-layout-marker[data-slot="past"] {
  grid-area: past;
}

.spread-layout-marker[data-slot="present"] {
  grid-area: present;
}

.spread-layout-marker[data-slot="future"] {
  grid-area: future;
}

.spread-layout-marker[data-slot="bridge"] {
  grid-area: bridge;
}

.spread-layout-marker[data-slot="top"] {
  grid-area: top;
}

.spread-layout-marker[data-slot="bottom"] {
  grid-area: bottom;
}

.spread-layout-marker[data-slot="guide"] {
  grid-area: guide;
}

.spread-layout-marker[data-slot="guideLeft"] {
  grid-area: guideLeft;
}

.spread-layout-marker[data-slot="leftBase"] {
  grid-area: leftBase;
}

.spread-layout-marker[data-slot="rightBase"] {
  grid-area: rightBase;
}

.spread-layout-marker[data-slot="topLeft"] {
  grid-area: topLeft;
}

.spread-layout-marker[data-slot="topCenter"] {
  grid-area: topCenter;
}

.spread-layout-marker[data-slot="topRight"] {
  grid-area: topRight;
}

.spread-layout-marker[data-slot="bottomLeft"] {
  grid-area: bottomLeft;
}

.spread-layout-marker[data-slot="bottomCenter"] {
  grid-area: bottomCenter;
}

.spread-layout-marker[data-slot="bottomRight"] {
  grid-area: bottomRight;
}

.spread-layout-marker[data-slot="hidden"] {
  grid-area: hidden;
}

.spread-layout-marker[data-slot="force"] {
  grid-area: force;
}

.spread-layout-marker[data-slot="obstacle"] {
  grid-area: obstacle;
}

.spread-layout-marker[data-slot="outcome"] {
  grid-area: outcome;
}

.spread-layout-marker[data-slot="counsel"] {
  grid-area: counsel;
}

.spread-layout-marker[data-slot="currentState"] {
  grid-area: currentState;
}

.spread-layout-marker[data-slot="aDevelopment"],
.spread-layout-marker[data-slot="aGain"] {
  grid-area: aDevelopment;
}

.spread-layout-marker[data-slot="bDevelopment"],
.spread-layout-marker[data-slot="bGain"] {
  grid-area: bDevelopment;
}

.spread-layout-marker[data-slot="cDevelopment"] {
  grid-area: cDevelopment;
}

.spread-layout-marker[data-slot="aOutcome"],
.spread-layout-marker[data-slot="aCost"] {
  grid-area: aOutcome;
}

.spread-layout-marker[data-slot="bOutcome"],
.spread-layout-marker[data-slot="bCost"] {
  grid-area: bOutcome;
}

.spread-layout-marker[data-slot="cOutcome"] {
  grid-area: cOutcome;
}

.card-back-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 92px));
  gap: 10px;
  justify-content: start;
}

.card-back-option {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.78);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.card-back-option img {
  display: block;
  width: 100%;
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
  border-radius: 5px;
}

.card-back-option span {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(23, 18, 23, 0.78);
  color: #fff6fb;
  font-size: 0.68rem;
  line-height: 1;
}

.card-back-option:hover {
  transform: translateY(-2px);
}

.card-back-option.is-active {
  border-color: rgba(181, 146, 98, 0.72);
  box-shadow: 0 0 0 3px rgba(197, 154, 143, 0.18);
}

.card-back-option.is-active span {
  background: var(--rose-gold);
}

.question-field textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1.5px solid rgba(115, 92, 88, 0.3);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.55;
}

.question-writing-prompt {
  display: block;
  margin: 4px 0 8px;
  color: rgba(117, 101, 94, 0.78);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.5;
}

.question-ai-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(100%, 680px);
  margin: 0 0 12px;
  border: 0;
  border-left: 1px solid rgba(181, 146, 98, 0.42);
  padding: 1px 0 1px 12px;
  background: transparent;
  color: rgba(117, 101, 94, 0.86);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.55;
  box-shadow: none;
}

.question-ai-hint::before {
  content: "✦";
  flex: 0 0 auto;
  color: rgba(185, 139, 73, 0.82);
  font-size: 0.82rem;
}

.question-field textarea:focus {
  outline: 2px solid rgba(185, 139, 73, 0.42);
  outline-offset: 2px;
  border-color: rgba(181, 146, 98, 0.62);
  box-shadow: 0 0 0 4px rgba(224, 194, 92, 0.12);
}

.question-field textarea.is-empty-error {
  border-color: rgba(178, 92, 92, 0.62);
  box-shadow: 0 0 0 3px rgba(178, 92, 92, 0.08);
}

.question-field textarea::placeholder {
  color: rgba(185, 169, 147, 0.72);
  font-weight: 400;
  opacity: 1;
}

.question-empty-error {
  display: block;
  margin-top: 8px;
  color: rgba(154, 72, 72, 0.96);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.45;
}

.question-empty-error[hidden] {
  display: none;
}

.question-insight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 58px 14px 16px;
  border: 1px solid rgba(154, 132, 188, 0.24);
  border-radius: 10px;
  color: var(--muted);
}

.question-insight.is-empty {
  border-style: dashed;
}

.question-insight.is-manual {
  border-color: rgba(181, 146, 98, 0.36);
}

.question-suitability[hidden] {
  display: none;
}

.question-refine-panel[hidden] {
  display: none;
}

.question-refine-panel {
  display: grid;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(181, 146, 98, 0.2);
  border-radius: 10px;
  background:
    radial-gradient(circle at 10% 18%, rgba(224, 198, 151, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.78), rgba(250, 239, 244, 0.4));
  color: var(--muted);
}

.question-refine-copy {
  display: grid;
  gap: 4px;
}

.question-refine-copy strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  font-weight: 400;
}

.question-refine-copy p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.55;
}

.question-refine-examples {
  display: grid;
  gap: 9px;
}

.question-refine-example {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(181, 146, 98, 0.16);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.62);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.55;
}

.question-refine-example span {
  min-width: 0;
}

.question-refine-example button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid rgba(181, 146, 98, 0.34);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 252, 247, 0.88);
  color: rgba(151, 112, 64, 0.98);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.question-refine-example button:hover {
  border-color: rgba(181, 146, 98, 0.56);
  background: rgba(255, 252, 247, 0.98);
  transform: translateY(-1px);
}

.question-suitability-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(181, 146, 98, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 22%, rgba(224, 198, 151, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.86), rgba(250, 239, 244, 0.58));
  color: var(--muted);
  box-shadow: 0 14px 34px rgba(108, 74, 78, 0.06);
}

.question-suitability-card.is-blocked_high_risk {
  border-color: rgba(173, 96, 91, 0.3);
  background:
    radial-gradient(circle at 12% 22%, rgba(211, 153, 145, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.88), rgba(250, 239, 244, 0.62));
}

.question-suitability-card.is-caution {
  border-color: rgba(181, 146, 98, 0.22);
}

.question-suitability-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  font-weight: 400;
}

.question-suitability-card p {
  margin: 6px 0 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.65;
}

.question-suitability-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.question-suitability-suggestion {
  min-height: 40px;
  border: 1px solid rgba(181, 146, 98, 0.32);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 252, 247, 0.8);
  color: rgba(151, 112, 64, 0.96);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.question-suitability-suggestion:hover {
  border-color: rgba(181, 146, 98, 0.52);
  background: rgba(255, 252, 247, 0.96);
  transform: translateY(-1px);
}

.relationship-context-panel[hidden],
.multi-party-context-panel[hidden],
.question-background-panel[hidden],
.real-world-options-panel[hidden],
.choice-balance-panel[hidden] {
  display: none;
}

.relationship-context-panel,
.question-background-panel {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid rgba(115, 92, 88, 0.22);
  border-radius: 10px;
  background:
    radial-gradient(circle at 8% 20%, rgba(224, 198, 151, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(252, 248, 245, 0.68));
  color: var(--muted);
}

.relationship-context-copy,
.multi-party-context-copy,
.question-background-copy,
.real-world-options-copy {
  display: grid;
  gap: 4px;
}

.multi-party-context-panel {
  display: grid;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(181, 146, 98, 0.18);
  border-radius: 9px;
  background: rgba(255, 252, 247, 0.64);
}

.multi-party-context-copy.is-compact {
  margin-top: 2px;
}

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

.relationship-context-copy span,
.multi-party-context-copy span,
.question-background-copy span,
.real-world-options-copy span {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  font-weight: 400;
}

.target-pronoun-field > span {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
}

.relationship-context-copy small,
.multi-party-context-copy small,
.relationship-context-hint,
.question-background-copy small,
.question-background-hint,
.real-world-options-copy small,
.real-world-options-actions small {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.55;
}

.relationship-context-hint,
.question-background-hint {
  color: rgba(151, 112, 64, 0.9);
}

.real-world-options-panel,
.choice-balance-panel {
  display: grid;
  gap: 13px;
  border-radius: 12px;
  padding: 16px 58px 16px 16px;
}

.choice-balance-topic {
  grid-column: 1 / -1;
}

.choice-balance-error {
  color: #9c4f4a;
  font-size: 0.84rem;
  line-height: 1.5;
}

.real-world-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.real-world-options-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
}

.real-world-options-grid input {
  min-width: 0;
  min-height: 42px;
  border: 1.5px solid rgba(115, 92, 88, 0.24);
  border-radius: 10px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: 0.92rem var(--font-sans);
}

.real-world-options-grid input:focus {
  border-color: rgba(181, 146, 98, 0.58);
  outline: 2px solid rgba(185, 139, 73, 0.22);
  outline-offset: 2px;
}

.real-world-options-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
}

.real-world-options-panel.has-options {
  border-color: rgba(181, 146, 98, 0.38);
}

.relationship-context-options,
.question-background-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.relationship-context-options button,
.question-background-options button {
  min-height: 36px;
  border: 1px solid rgba(181, 146, 98, 0.28);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 252, 247, 0.76);
  color: rgba(108, 94, 88, 0.96);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.relationship-context-options button:hover,
.relationship-context-options button.is-selected,
.question-background-options button:hover,
.question-background-options button.is-selected {
  border-color: rgba(181, 146, 98, 0.58);
  background: linear-gradient(135deg, rgba(211, 225, 204, 0.86), rgba(224, 194, 92, 0.78));
  color: var(--ink);
  transform: translateY(-1px);
}

.target-pronoun-options button {
  min-width: 78px;
}

.relationship-context-other,
.third-party-note,
.question-background-note {
  width: min(100%, 420px);
  min-height: 42px;
  border: 1.5px solid rgba(115, 92, 88, 0.24);
  border-radius: 10px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: 0.9rem var(--font-sans);
}

.relationship-context-other:focus,
.third-party-note:focus,
.question-background-note:focus {
  outline: 2px solid rgba(185, 139, 73, 0.32);
  outline-offset: 2px;
}

.follow-up-context-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid rgba(181, 146, 98, 0.2);
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.68);
}

.follow-up-context-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.follow-up-context-copy strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
}

.follow-up-context-copy small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.45;
}

.follow-up-mode-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(181, 146, 98, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.follow-up-mode-toggle button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  white-space: nowrap;
}

.follow-up-mode-toggle button.is-active {
  background: linear-gradient(135deg, rgba(211, 225, 204, 0.86), rgba(224, 194, 92, 0.72));
  color: var(--ink);
}

.gesture-webcam {
  display: none;
}

.gesture-particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: block;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: saturate(1.02) contrast(1.03) brightness(1);
  transition: opacity 220ms ease;
}

.gesture-particle-canvas.is-active {
  opacity: 0.68;
}

.gesture-particle-canvas.is-reduced {
  opacity: 0.28;
}

.gesture-foldout {
  border: 1px solid rgba(134, 106, 151, 0.14);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.48);
}

.gesture-foldout summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 12px 15px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.gesture-foldout summary::-webkit-details-marker {
  display: none;
}

.gesture-foldout summary::after {
  content: "＋";
  flex: 0 0 auto;
  color: rgba(151, 112, 64, 0.86);
  font-family: var(--font-sans);
}

.gesture-foldout[open] summary::after {
  content: "－";
}

.gesture-foldout summary small {
  color: rgba(117, 101, 94, 0.72);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.4;
}

.gesture-foldout .gesture-panel {
  margin: 0 12px 12px;
}

.gesture-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(134, 106, 151, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 18%, rgba(204, 173, 184, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.76), rgba(247, 239, 251, 0.58));
  color: var(--muted);
  box-shadow: 0 14px 34px rgba(72, 47, 82, 0.06);
}

.gesture-panel span {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
}

.gesture-panel small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.55;
}

.gesture-panel.is-active {
  border-color: rgba(183, 145, 117, 0.34);
  background:
    radial-gradient(circle at 14% 20%, rgba(204, 173, 184, 0.18), transparent 34%),
    radial-gradient(circle at 86% 26%, rgba(198, 206, 211, 0.14), transparent 30%),
    rgba(255, 252, 247, 0.78);
}

.gesture-panel.is-error {
  border-color: rgba(174, 100, 86, 0.34);
}

.gesture-toggle {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(181, 146, 98, 0.38);
  border-radius: 999px;
  padding: 0 18px;
  background:
    linear-gradient(135deg, rgba(223, 205, 139, 0.86), rgba(202, 172, 222, 0.72)),
    rgba(255, 252, 247, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 400;
  box-shadow: 0 12px 28px rgba(108, 74, 78, 0.1);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.gesture-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(181, 146, 98, 0.62);
}

.gesture-toggle[aria-pressed="true"] {
  border-color: rgba(183, 145, 117, 0.46);
  background:
    linear-gradient(135deg, rgba(224, 198, 151, 0.78), rgba(204, 190, 206, 0.44)),
    rgba(255, 252, 247, 0.92);
}

.gesture-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.deck-stack.is-gesture-hover,
.deck-card.is-gesture-hover,
.drawn-card.is-gesture-hover,
.card-back-option.is-gesture-hover {
  outline: 2px solid rgba(190, 159, 184, 0.56);
  outline-offset: 5px;
  box-shadow:
    0 0 0 1px rgba(255, 249, 225, 0.68),
    0 0 24px rgba(190, 159, 184, 0.2),
    0 0 48px rgba(224, 198, 151, 0.14);
}

.deck-stack.is-gesture-hover,
.drawn-card.is-gesture-hover,
.card-back-option.is-gesture-hover {
  transform: translateY(-2px) scale(1.015);
}

.reading-stage.is-gesture-shuffling .deck-card {
  animation: gestureDeckPulse 900ms ease-in-out infinite alternate;
}

.reading-stage.is-gesture-shuffling .deck-card-2 {
  animation-delay: 80ms;
}

.reading-stage.is-gesture-shuffling .deck-card-3 {
  animation-delay: 160ms;
}

.reading-stage.is-gesture-shuffling .deck-card-4 {
  animation-delay: 240ms;
}

.reading-stage.is-gesture-shuffling .deck-card-5 {
  animation-delay: 320ms;
}

@keyframes gestureDeckPulse {
  from {
    filter: drop-shadow(0 12px 22px rgba(70, 44, 82, 0.16));
  }
  to {
    transform: translateY(-4px) rotate(1.5deg);
    filter:
      drop-shadow(0 18px 34px rgba(128, 92, 115, 0.16))
      drop-shadow(0 0 18px rgba(224, 198, 151, 0.14));
  }
}

.gesture-overlay[hidden] {
  display: none;
}

.gesture-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 22% 24%, rgba(228, 202, 218, 0.24), transparent 30%),
    radial-gradient(circle at 76% 18%, rgba(218, 200, 151, 0.18), transparent 32%),
    linear-gradient(135deg, #201925, #473948);
  backdrop-filter: blur(16px);
}

.gesture-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(420px, 1fr) auto auto auto;
  gap: 18px;
  width: min(1120px, 100%);
  min-height: min(78vh, 820px);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(236, 217, 181, 0.38);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 247, 232, 0.16), transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(183, 146, 191, 0.22), transparent 36%),
    linear-gradient(135deg, #25202a, #463a49);
  color: #fff9ec;
  box-shadow:
    0 30px 90px rgba(38, 26, 47, 0.42),
    inset 0 0 0 1px rgba(255, 250, 241, 0.05);
  overflow: hidden;
}

.gesture-shell::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(236, 217, 181, 0.14);
  pointer-events: none;
}

.gesture-exit {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(255, 250, 241, 0.08);
  color: #fff9ec;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.gesture-overlay-heading {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  max-width: 680px;
}

.gesture-overlay-heading h3 {
  margin: 0;
  color: #fffaf2;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.gesture-overlay-heading p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 248, 232, 0.82);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
}

.gesture-stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 1px solid rgba(255, 250, 241, 0.1);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 249, 232, 0.11), transparent 24%),
    radial-gradient(circle at 50% 48%, rgba(177, 147, 198, 0.18), transparent 44%),
    rgba(255, 250, 241, 0.045);
  overflow: hidden;
}

.gesture-stage::before,
.gesture-stage::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(236, 217, 181, 0.16);
  border-radius: 50%;
  opacity: 0.72;
  pointer-events: none;
}

.gesture-stage::after {
  width: 620px;
  height: 620px;
  border-color: rgba(190, 161, 204, 0.14);
}

.gesture-stage.is-shuffling .gesture-card-shell:nth-child(odd) {
  animation: gestureShuffleCrossA 860ms ease-in-out;
}

.gesture-stage.is-shuffling .gesture-card-shell:nth-child(even) {
  animation: gestureShuffleCrossB 860ms ease-in-out;
}

@keyframes gestureShuffleCrossA {
  0% { transform: none; z-index: 1; }
  32% { transform: translate(-52%, -16px) rotate(-7deg); z-index: 2; }
  62% { transform: translate(44%, 10px) rotate(5deg); z-index: 1; }
  100% { transform: none; }
}

@keyframes gestureShuffleCrossB {
  0% { transform: none; z-index: 2; }
  32% { transform: translate(52%, 14px) rotate(6deg); z-index: 1; }
  62% { transform: translate(-46%, -12px) rotate(-5deg); z-index: 2; }
  100% { transform: none; }
}

/* 手势引导三步卡 */
.gesture-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.gesture-guide-step {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 14px 10px;
  border: 1px solid rgba(231, 207, 146, 0.22);
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.05);
  text-align: center;
}

.gesture-guide-step strong {
  font-size: 0.95rem;
}

.gesture-guide-step small {
  font-size: 0.8rem;
  line-height: 1.5;
  opacity: 0.78;
}

.gesture-guide-demo {
  display: inline-block;
  font-size: 30px;
}

.gesture-guide-demo-wave {
  animation: gestureDemoWave 1.6s ease-in-out infinite;
}

.gesture-guide-demo-move {
  animation: gestureDemoMove 2s ease-in-out infinite;
}

.gesture-guide-demo-fist {
  animation: gestureDemoFist 1.8s ease-in-out infinite;
}

@keyframes gestureDemoWave {
  0%, 100% { transform: translateX(-9px) rotate(-12deg); }
  50% { transform: translateX(9px) rotate(12deg); }
}

@keyframes gestureDemoMove {
  0%, 100% { transform: translateX(-12px); }
  50% { transform: translateX(12px); }
}

@keyframes gestureDemoFist {
  0%, 35% { transform: scale(1); }
  55%, 80% { transform: scale(0.84); }
  100% { transform: scale(1); }
}

.gesture-guide-skip {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.7;
  cursor: pointer;
}

@media (max-width: 620px) {
  .gesture-guide-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gesture-guide-step {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas: "icon title" "icon copy";
    justify-items: start;
    text-align: left;
    padding: 10px 12px;
  }

  .gesture-guide-step .gesture-guide-demo {
    grid-area: icon;
    align-self: center;
  }

  .gesture-guide-step strong {
    grid-area: title;
  }

  .gesture-guide-step small {
    grid-area: copy;
  }
}

.gesture-card-belt {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(74px, 178px));
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  width: min(880px, 100%);
}

.gesture-card-shell {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 0.62;
  opacity: 0.36;
  transform: scale(0.72);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.gesture-card-shell[data-offset="-1"],
.gesture-card-shell[data-offset="1"] {
  opacity: 0.68;
  transform: scale(0.84);
}

.gesture-card-shell.is-selected {
  opacity: 1;
  transform: scale(1);
  filter:
    drop-shadow(0 24px 46px rgba(18, 12, 26, 0.46))
    drop-shadow(0 0 34px rgba(219, 198, 145, 0.28));
}

.gesture-card-shell.is-empty {
  visibility: hidden;
}

.gesture-card-back {
  width: min(100%, 178px);
  height: 100%;
  min-height: 220px;
  border-radius: 12px;
  box-shadow:
    0 0 0 8px rgba(247, 217, 208, 0.18),
    0 18px 48px rgba(23, 16, 32, 0.34);
}

.gesture-card-shell.is-selected .gesture-card-back {
  box-shadow:
    0 0 0 9px rgba(247, 217, 208, 0.3),
    0 22px 58px rgba(23, 16, 32, 0.48),
    0 0 52px rgba(231, 207, 146, 0.28);
}

.gesture-confirm-meter {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(22px, 4vw, 40px);
  width: min(420px, 76%);
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.16);
  overflow: hidden;
  box-shadow: 0 0 28px rgba(236, 217, 181, 0.18);
}

.gesture-confirm-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(191, 206, 187, 0.92), rgba(232, 203, 108, 0.96));
  transition: width 120ms linear;
}

.gesture-status-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 248, 232, 0.86);
  font-family: var(--font-sans);
}

.gesture-status-row p,
.gesture-privacy-note {
  margin: 0;
}

.gesture-privacy-note {
  position: relative;
  z-index: 1;
  color: rgba(255, 248, 232, 0.58);
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

.gesture-help {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gesture-help span {
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 250, 241, 0.06);
  color: rgba(255, 248, 232, 0.82);
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

body.is-gesture-overlay-open {
  overflow: hidden;
}

body.is-gesture-overlay-open .reading-form {
  z-index: 90;
}

body.is-gesture-overlay-open .reading-stage,
body.is-gesture-overlay-open .reading-output,
body.is-gesture-overlay-open .follow-up-panel {
  z-index: 1;
}

@keyframes gestureOverlayShuffle {
  0% {
    transform: translateX(0) rotate(0) scale(0.84);
  }
  42% {
    transform: translateX(16px) rotate(2.4deg) scale(0.9);
  }
  100% {
    transform: translateX(0) rotate(0) scale(0.84);
  }
}

@media (max-width: 760px) {
  .gesture-overlay {
    padding: 0;
    align-items: stretch;
  }

  .gesture-shell {
    width: 100%;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto auto;
    gap: 12px;
    padding: 22px 16px 18px;
    border: 0;
  }

  .gesture-shell::before {
    inset: 10px;
  }

  .gesture-exit {
    top: 12px;
    right: 12px;
    padding: 8px 12px;
    font-size: 0.76rem;
  }

  .gesture-overlay-heading {
    padding-right: 96px;
  }

  .gesture-stage {
    min-height: 48vh;
  }

  .gesture-card-belt {
    grid-template-columns: repeat(3, minmax(76px, 130px));
    gap: 10px;
  }

  .gesture-card-shell[data-offset="-2"],
  .gesture-card-shell[data-offset="2"] {
    display: none;
  }

  .gesture-card-back {
    min-height: 176px;
    border-radius: 10px;
  }

  .gesture-status-row {
    display: grid;
    gap: 4px;
    font-size: 0.84rem;
  }

  .gesture-privacy-note {
    font-size: 0.72rem;
  }

  .gesture-help {
    position: sticky;
    bottom: 0;
    justify-content: center;
    padding-top: 4px;
  }

  .gesture-help span {
    padding: 7px 10px;
    font-size: 0.72rem;
  }
}

.question-insight div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.question-insight span {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.02rem;
}

.question-insight small {
  line-height: 1.55;
}

.question-dimensions {
  color: rgba(151, 112, 64, 0.86) !important;
}

.insight-spread-button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid rgba(181, 146, 98, 0.36);
  border-radius: 999px;
  padding: 0 16px;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.94), rgba(245, 234, 238, 0.82));
  color: rgba(151, 112, 64, 0.96);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  white-space: normal;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.insight-spread-button:hover {
  background: rgba(255, 252, 247, 0.96);
  transform: translateY(-1px);
}

.insight-spread-button:disabled {
  cursor: default;
  color: var(--muted);
  opacity: 0.72;
  transform: none;
}

.reading-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: center;
  max-width: 1120px;
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(20px, 5vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.86), rgba(248, 239, 232, 0.62));
  box-shadow: var(--shadow);
}

.reading-stage::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(114, 91, 88, 0.09);
  content: "";
  pointer-events: none;
}

.deck-zone {
  display: grid;
  place-items: center;
  min-height: 300px;
}

.deck-stack {
  position: relative;
  width: clamp(150px, 21vw, 230px);
  aspect-ratio: var(--card-ratio);
}

.deck-card,
.card-back {
  display: block;
  width: 100%;
  height: 100%;
  border: 8px solid #f1d5cf;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.06), rgba(23, 18, 23, 0.08)),
    var(--selected-card-back),
    #1a4a66;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.deck-card {
  position: absolute;
  inset: 0;
}

.deck-card-1 {
  transform: rotate(-8deg) translate(-12px, 8px);
}

.deck-card-2 {
  transform: rotate(-2deg) translate(-2px, 3px);
}

.deck-card-3 {
  transform: rotate(5deg) translate(10px, 6px);
}

.deck-card-4 {
  transform: rotate(0deg);
}

.deck-card-5 {
  transform: rotate(8deg) translate(18px, 9px);
}

.deck-card.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.is-drawing .deck-card-1 {
  animation: shuffle-left 720ms ease both;
}

.is-drawing .deck-card-2 {
  animation: shuffle-right 720ms 70ms ease both;
}

.is-drawing .deck-card-3 {
  animation: shuffle-lift 720ms 120ms ease both;
}

.flying-card {
  position: absolute;
  left: 24%;
  top: 50%;
  z-index: 3;
  width: clamp(120px, 16vw, 180px);
  aspect-ratio: var(--card-ratio);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-8deg) scale(0.84);
  pointer-events: none;
}

.flying-card .compact-back {
  border-width: 6px;
}

.is-drawing .flying-card {
  animation: deal-card 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.result-zone {
  min-width: 0;
}

.drawn-card {
  width: clamp(116px, 14vw, 176px);
  aspect-ratio: var(--card-ratio);
  perspective: 1200px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.drawn-card.has-card .card-inner {
  transform: rotateY(180deg);
}

.drawn-card.is-revealing .card-inner {
  animation: reveal-pop 760ms ease both;
}

.card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  backface-visibility: hidden;
}

.card-face-front {
  transform: rotateY(180deg);
  background: #fffafc;
  box-shadow: var(--shadow);
}

.card-face-front img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawn-card.is-reversed .card-face-front img {
  transform: rotate(180deg);
}

.spread-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
  justify-items: center;
}

.spread-results[data-count="1"] {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "center";
  max-width: 680px;
}

.spread-results[data-spread="free-form"] {
  grid-template-columns: repeat(3, minmax(104px, 144px));
  grid-template-areas: "left center right";
  justify-content: center;
  align-content: start;
  max-width: 500px;
}

.spread-results[data-spread="time-arrow"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "past present future";
  max-width: 720px;
}

.spread-results[data-spread="lover-pyramid"] {
  grid-template-columns: repeat(3, minmax(96px, 132px));
  grid-template-areas:
    ". top ."
    "left center right";
  justify-content: center;
  align-content: start;
  max-width: 480px;
}

.spread-results[data-spread="relationship-spread"] {
  grid-template-columns: repeat(3, minmax(96px, 132px));
  grid-template-areas:
    ". top ."
    "left center right"
    ". bottom .";
  justify-content: center;
  align-content: start;
  max-width: 480px;
}

.spread-results[data-spread="love-cross"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "guideLeft top ."
    "left center right"
    ". bottom .";
  max-width: 760px;
}

.spread-results[data-spread="inspiration-link"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "topLeft topCenter topRight"
    "bottomLeft bottomCenter bottomRight";
  max-width: 820px;
}

.spread-results[data-spread="answer-gate"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". obstacle ."
    "force center outcome"
    ". hidden .";
  max-width: 700px;
}

.spread-results[data-spread="three-side-relationship"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". obstacle ."
    "left center right"
    ". counsel .";
  max-width: 720px;
}

.spread-results[data-spread="choice-balance"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "aOutcome . bOutcome"
    "aDevelopment . bDevelopment"
    ". counsel .";
  max-width: 700px;
}

.spread-results[data-spread="three-choice"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "aOutcome bOutcome cOutcome"
    "aDevelopment bDevelopment cDevelopment"
    ". currentState .";
  max-width: 820px;
}

.spread-results[data-spread="seasonal-oracle"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". obstacle ."
    "force center outcome"
    ". hidden .";
  max-width: 700px;
}

.spread-card[data-slot="center"] {
  grid-area: center;
}

.spread-card[data-slot="left"] {
  grid-area: left;
}

.spread-card[data-slot="right"] {
  grid-area: right;
}

.spread-card[data-slot="past"] {
  grid-area: past;
}

.spread-card[data-slot="present"] {
  grid-area: present;
}

.spread-card[data-slot="future"] {
  grid-area: future;
}

.spread-card[data-slot="bridge"] {
  grid-area: bridge;
}

.spread-card[data-slot="top"] {
  grid-area: top;
}

.spread-card[data-slot="bottom"] {
  grid-area: bottom;
}

.spread-card[data-slot="guide"] {
  grid-area: guide;
}

.spread-card[data-slot="guideLeft"] {
  grid-area: guideLeft;
}

.spread-card[data-slot="leftBase"] {
  grid-area: leftBase;
}

.spread-card[data-slot="rightBase"] {
  grid-area: rightBase;
}

.spread-card[data-slot="topLeft"] {
  grid-area: topLeft;
}

.spread-card[data-slot="topCenter"] {
  grid-area: topCenter;
}

.spread-card[data-slot="topRight"] {
  grid-area: topRight;
}

.spread-card[data-slot="bottomLeft"] {
  grid-area: bottomLeft;
}

.spread-card[data-slot="bottomCenter"] {
  grid-area: bottomCenter;
}

.spread-card[data-slot="bottomRight"] {
  grid-area: bottomRight;
}

.spread-card[data-slot="hidden"] {
  grid-area: hidden;
}

.spread-card[data-slot="force"] {
  grid-area: force;
}

.spread-card[data-slot="obstacle"] {
  grid-area: obstacle;
}

.spread-card[data-slot="outcome"] {
  grid-area: outcome;
}

.spread-card[data-slot="counsel"] {
  grid-area: counsel;
}

.spread-card[data-slot="currentState"] {
  grid-area: currentState;
}

.spread-card[data-slot="aDevelopment"],
.spread-card[data-slot="aGain"] {
  grid-area: aDevelopment;
}

.spread-card[data-slot="bDevelopment"],
.spread-card[data-slot="bGain"] {
  grid-area: bDevelopment;
}

.spread-card[data-slot="cDevelopment"] {
  grid-area: cDevelopment;
}

.spread-card[data-slot="aOutcome"],
.spread-card[data-slot="aCost"] {
  grid-area: aOutcome;
}

.spread-card[data-slot="bOutcome"],
.spread-card[data-slot="bCost"] {
  grid-area: bOutcome;
}

.spread-card[data-slot="cOutcome"] {
  grid-area: cOutcome;
}

.spread-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  text-align: center;
}

.spread-results:not([data-count="1"]) .spread-card {
  width: min(100%, 156px);
}

.spread-results[data-count="1"] .spread-card {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: clamp(14px, 3vw, 24px);
  text-align: center;
}

.spread-results[data-count="1"] .drawn-card {
  width: clamp(168px, 25vw, 292px);
}

.spread-results[data-spread="free-form"] .drawn-card,
.spread-results[data-spread="time-arrow"] .drawn-card {
  width: clamp(104px, 11vw, 150px);
}

.spread-results[data-spread="answer-gate"] .drawn-card,
.spread-results[data-spread="three-side-relationship"] .drawn-card,
.spread-results[data-spread="choice-balance"] .drawn-card,
.spread-results[data-spread="three-choice"] .drawn-card,
.spread-results[data-spread="seasonal-oracle"] .drawn-card,
.spread-results[data-spread="lover-pyramid"] .drawn-card,
.spread-results[data-spread="relationship-spread"] .drawn-card {
  width: clamp(84px, 9.5vw, 124px);
}

.spread-results[data-spread="free-form"] .spread-card,
.spread-results[data-spread="lover-pyramid"] .spread-card,
.spread-results[data-spread="three-side-relationship"] .spread-card,
.spread-results[data-spread="relationship-spread"] .spread-card {
  align-self: start;
  width: min(100%, 144px);
}

.spread-results[data-spread="love-cross"] .drawn-card,
.spread-results[data-spread="inspiration-link"] .drawn-card {
  width: clamp(76px, 8.4vw, 112px);
}

.spread-card.is-revealing .card-inner {
  animation: reveal-pop 760ms ease both;
}

.spread-preview-card .spread-preview {
  opacity: 0.94;
}

.spread-preview-card .card-back {
  border-width: 6px;
  box-shadow: 0 16px 42px rgba(91, 60, 58, 0.12);
}

.spread-card-copy {
  min-width: 0;
  width: 100%;
  max-width: min(100%, 260px);
  overflow-wrap: anywhere;
  text-align: center;
}

.result-label {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 400;
  hyphens: auto;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.spread-card-copy h3,
.empty-reading h3 {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.05;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.spread-card-copy p {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.spread-results:not([data-spread="single-card"]) .result-label {
  margin-bottom: 6px;
  font-size: 0.76rem;
}

.spread-results:not([data-spread="single-card"]) .spread-card-copy h3 {
  font-size: clamp(1rem, 1.55vw, 1.36rem);
  line-height: 1.18;
}

.spread-results[data-spread="answer-gate"] .spread-card-copy h3,
.spread-results[data-spread="choice-balance"] .spread-card-copy h3,
.spread-results[data-spread="three-choice"] .spread-card-copy h3,
.spread-results[data-spread="seasonal-oracle"] .spread-card-copy h3,
.spread-results[data-spread="lover-pyramid"] .spread-card-copy h3,
.spread-results[data-spread="relationship-spread"] .spread-card-copy h3,
.spread-results[data-spread="love-cross"] .spread-card-copy h3,
.spread-results[data-spread="inspiration-link"] .spread-card-copy h3 {
  font-size: clamp(0.92rem, 1.35vw, 1.18rem);
}

.spread-results[data-count="1"] .spread-card-copy h3,
.empty-reading h3 {
  font-size: clamp(2rem, 5vw, 4.7rem);
}

.spread-preview-card .spread-card-copy h3,
.spread-results[data-count="1"] .spread-preview-card .spread-card-copy h3 {
  font-size: clamp(1.16rem, 2vw, 1.65rem);
}

.spread-card-copy p:last-child,
.empty-reading p:last-child {
  max-width: 260px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.empty-reading {
  min-width: 0;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 1120px;
  margin: 26px auto 0;
}

.question-controls {
  justify-content: flex-end;
  max-width: none;
  margin: -4px 0 2px;
}

.question-controls .draw-button,
.question-controls .quiet-button {
  min-height: 54px;
}

.question-controls .draw-button {
  min-width: 230px;
  padding: 0 26px;
  font-size: 1.04rem;
}

.question-controls .quiet-button {
  width: 54px;
}

.question-controls .step-back-button {
  width: auto;
  min-width: 128px;
  padding: 0 18px;
}

.draw-button,
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.draw-button {
  gap: 10px;
  min-width: 166px;
  padding: 0 22px;
  border-color: var(--line);
  background: linear-gradient(135deg, #bfd0c7, #e2bd5c);
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(193, 132, 150, 0.2);
  font-weight: 400;
}

.quiet-button {
  width: auto;
  min-width: 48px;
  padding: 0 16px;
  background: rgba(255, 250, 252, 0.78);
  border-color: var(--line);
  color: var(--ink);
  font-size: 0.98rem;
}

.draw-button:hover,
.quiet-button:hover {
  transform: translateY(-2px);
}

.draw-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.reading-output {
  max-width: 1120px;
  margin: 26px auto 0;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 252, 0.82);
  box-shadow: var(--shadow);
}

.reading-output-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.reading-output-heading p {
  margin-bottom: 0;
}

.reading-output-heading p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.reading-text {
  padding-top: 16px;
  color: var(--ink);
  line-height: 1.85;
}

.reading-text p {
  margin-bottom: 14px;
  white-space: pre-line;
}

.reading-result-shell {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}

.reading-question-pill {
  display: grid;
  justify-self: center;
  max-width: min(100%, 760px);
  gap: 6px;
  border: 1px solid rgba(181, 146, 98, 0.26);
  border-radius: 999px;
  padding: 12px 22px;
  background: rgba(255, 252, 247, 0.76);
  box-shadow: 0 12px 30px rgba(99, 69, 58, 0.06);
  text-align: center;
}

.reading-question-pill span {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reading-question-pill strong {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}

.reading-result-opening {
  max-width: 820px;
  margin: 0 auto;
  border-left: 2px solid rgba(181, 146, 98, 0.34);
  padding: 8px 0 8px 18px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.reading-result-opening p,
.reading-result-body p,
.reading-card-insight-copy p {
  margin: 0;
}

.reading-result-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(114, 91, 88, 0.12);
  border-radius: 8px;
  padding: clamp(16px, 2.5vw, 24px);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.92), rgba(255, 250, 252, 0.82)),
    linear-gradient(90deg, rgba(224, 198, 151, 0.08), rgba(199, 214, 199, 0.06), rgba(214, 174, 190, 0.07));
  box-shadow: 0 16px 42px rgba(99, 69, 58, 0.07);
  opacity: 0;
  transform: translateY(10px);
  animation: reading-card-rise 460ms ease forwards;
  animation-delay: calc(var(--reading-card-index, 0) * 55ms);
}

.reading-result-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(114, 91, 88, 0.1);
  padding-bottom: 10px;
}

.reading-result-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(181, 146, 98, 0.28);
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.86);
  color: var(--accent);
  font-family: var(--font-serif);
}

.reading-result-card-heading h4 {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  font-weight: 500;
}

.reading-result-body {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.06rem);
  line-height: 1.9;
}

.reading-result-card.is-direct .reading-result-body,
.reading-result-card.is-summary .reading-result-body {
  color: var(--ink);
}

.reading-result-card.is-inner {
  border-color: rgba(181, 146, 98, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 248, 239, 0.94), rgba(252, 242, 246, 0.88)),
    linear-gradient(120deg, rgba(199, 214, 199, 0.18), rgba(226, 192, 98, 0.12), rgba(214, 174, 190, 0.14));
  box-shadow:
    0 18px 46px rgba(193, 132, 150, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.54);
}

.reading-result-card.is-inner .reading-result-body {
  color: rgba(33, 28, 27, 0.78);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
}

.reading-result-card.is-summary {
  justify-items: center;
  text-align: center;
}

.reading-result-card.is-summary .reading-result-card-heading {
  width: 100%;
  justify-content: center;
}

.reading-result-card.is-summary .reading-result-body {
  max-width: 760px;
  font-family: var(--font-serif);
  font-size: clamp(1.06rem, 1.8vw, 1.22rem);
  line-height: 1.7;
}

.reading-card-insight {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border-top: 1px solid rgba(114, 91, 88, 0.09);
  padding-top: 14px;
}

.reading-card-insight:first-child {
  border-top: 0;
  padding-top: 0;
}

.reading-card-mini {
  overflow: hidden;
  width: 84px;
  aspect-ratio: 0.58;
  border: 7px solid rgba(255, 244, 239, 0.9);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 12px 26px rgba(99, 69, 58, 0.12);
}

.reading-card-mini img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reading-card-mini span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.8rem;
}

.reading-card-insight-copy {
  display: grid;
  gap: 8px;
}

.reading-card-insight-copy h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.35;
}

.reading-card-insight-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.spread-results.is-drawn-result .drawn-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.spread-results.is-drawn-result .spread-card:hover .drawn-card {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 18px 34px rgba(99, 69, 58, 0.16);
}

@keyframes reading-card-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .reading-question-pill {
    justify-self: stretch;
    border-radius: 8px;
    padding: 12px 14px;
    text-align: left;
  }

  .reading-result-card {
    padding: 16px;
  }

  .reading-result-card-heading {
    align-items: flex-start;
  }

  .reading-card-insight {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  .reading-card-mini {
    width: 62px;
    border-width: 5px;
  }

  .reading-result-card.is-summary .reading-result-body {
    font-size: clamp(1.02rem, 4vw, 1.14rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  .reading-result-card,
  .spread-results.is-drawn-result .drawn-card {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.reading-feedback-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-top: 1px solid rgba(114, 91, 88, 0.12);
  padding-top: 16px;
}

.reading-feedback-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
}

.reading-feedback-ratings,
.reading-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.reading-feedback-rating {
  min-height: 38px;
  border: 1px solid rgba(184, 142, 86, 0.28);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 252, 247, 0.78);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.reading-feedback-rating.is-active {
  border-color: rgba(184, 142, 86, 0.58);
  background: rgba(226, 195, 103, 0.24);
  color: var(--ink);
}

.reading-feedback-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.reading-feedback-reasons[hidden],
.reading-feedback-note[hidden] {
  display: none;
}

.reading-feedback-reasons legend {
  flex: 0 0 100%;
  color: var(--muted);
  font-size: 0.85rem;
}

.reading-feedback-reasons label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(114, 91, 88, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 250, 252, 0.58);
  color: var(--muted);
  font-size: 0.86rem;
}

.reading-feedback-note {
  width: min(100%, 520px);
  border: 1.5px solid rgba(115, 92, 88, 0.24);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.reading-feedback-status {
  color: var(--muted);
  font-size: 0.88rem;
}

.reading-feedback-panel.is-submitted .reading-feedback-rating:not(.is-active),
.reading-feedback-panel.is-submitted .reading-feedback-reasons,
.reading-feedback-panel.is-submitted .reading-feedback-note {
  opacity: 0.7;
}

.reading-progress-card {
  display: grid;
  gap: 14px;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid rgba(181, 146, 98, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 252, 248, 0.92), rgba(252, 242, 246, 0.74)),
    radial-gradient(circle at 18% 22%, rgba(224, 198, 151, 0.2), transparent 32%);
}

.reading-progress-stage {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.reading-progress-track {
  position: relative;
  overflow: hidden;
  height: 9px;
  border: 1px solid rgba(181, 146, 98, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 252, 0.78);
}

.reading-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 10%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(185, 199, 185, 0.86), rgba(224, 198, 151, 0.95), rgba(214, 174, 190, 0.78));
  box-shadow: 0 0 18px rgba(224, 198, 151, 0.28);
  transition: width 520ms ease;
}

.reading-progress-fill::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  animation: progress-sheen 1.8s ease-in-out infinite;
  content: "";
}

.reading-progress-tip,
.reading-progress-copy {
  margin-bottom: 0;
  color: var(--muted);
}

.reading-progress-tip {
  font-size: 0.96rem;
}

.reading-progress-copy {
  font-size: 0.92rem;
}

.reading-progress-card.is-failed {
  border-color: rgba(178, 120, 132, 0.34);
  background: linear-gradient(135deg, rgba(255, 250, 252, 0.9), rgba(250, 238, 241, 0.78));
}

.reading-progress-wait {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.reading-progress-card.is-preview {
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-color: rgba(154, 130, 192, 0.32);
  background: linear-gradient(135deg, rgba(247, 243, 252, 0.95), rgba(240, 234, 248, 0.82));
}

.reading-progress-card.is-preview .reading-progress-stage {
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
}

.reading-progress-card.is-preview .reading-progress-track {
  height: 6px;
}

.reading-progress-card.is-preview .reading-progress-copy,
.reading-progress-card.is-preview .reading-progress-wait {
  font-size: 0.84rem;
}

.reading-progress-card.is-preview.is-failed {
  border-color: rgba(178, 120, 132, 0.3);
  background: linear-gradient(135deg, rgba(255, 250, 252, 0.92), rgba(250, 240, 243, 0.8));
}

.reading-progress-card.is-failed .reading-progress-fill {
  background: linear-gradient(90deg, rgba(196, 178, 156, 0.78), rgba(178, 120, 132, 0.7));
}

.reading-progress-actions {
  margin-top: 4px;
  margin-bottom: 0;
}

.reading-progress-actions .quiet-button,
.reading-text .quiet-button {
  width: auto;
  min-width: 150px;
  padding: 0 18px;
  font-size: 1rem;
}

.deep-reading-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 22px;
}

.reading-mode-choice {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.reading-mode-choice h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
}

.reading-mode-choice p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.reading-mode-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.reading-mode-button {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 88px;
  border: 1px solid rgba(181, 146, 98, 0.42);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 250, 252, 0.82);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 14px 34px rgba(99, 69, 58, 0.07);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.reading-mode-button.is-deep {
  background:
    linear-gradient(135deg, rgba(192, 207, 196, 0.88), rgba(226, 192, 98, 0.9)),
    rgba(255, 250, 252, 0.82);
}

.reading-mode-button span {
  font-size: 1.08rem;
  line-height: 1.2;
}

.reading-mode-button small {
  color: rgba(33, 28, 27, 0.66);
  font-size: 0.82rem;
  line-height: 1.35;
}

.reading-mode-button:hover {
  border-color: rgba(181, 146, 98, 0.68);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(99, 69, 58, 0.1);
}

.reading-mode-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.deep-reading-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  min-width: min(100%, 320px);
  max-width: 100%;
  border: 1px solid rgba(181, 146, 98, 0.48);
  border-radius: 999px;
  padding: 0 24px;
  background:
    linear-gradient(135deg, rgba(192, 207, 196, 0.94), rgba(226, 192, 98, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.38), transparent 32%);
  box-shadow:
    0 16px 34px rgba(193, 132, 150, 0.24),
    0 0 0 6px rgba(224, 198, 151, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.deep-reading-button::before {
  content: "✦";
  flex: 0 0 auto;
  font-size: 1.05rem;
}

.deep-reading-button span {
  font-size: 1.05rem;
  line-height: 1;
}

.deep-reading-button small {
  color: rgba(33, 28, 27, 0.66);
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: normal;
}

.deep-reading-button:hover {
  filter: saturate(1.04);
  transform: translateY(-2px);
  box-shadow:
    0 20px 42px rgba(193, 132, 150, 0.28),
    0 0 0 7px rgba(224, 198, 151, 0.1);
}

.deep-reading-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

@keyframes progress-sheen {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reading-progress-fill,
  .reading-progress-fill::after {
    animation: none;
    transition: none;
  }
}

.reading-text p:last-child {
  margin-bottom: 0;
}

.oracle-archive-band {
  padding: 0 clamp(18px, 6vw, 78px) clamp(42px, 7vw, 86px);
}

.oracle-archive-panel {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.84), rgba(240, 232, 226, 0.62)),
    var(--panel);
  box-shadow: var(--shadow);
}

.oracle-level-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.34fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(181, 146, 98, 0.22);
  background:
    linear-gradient(135deg, rgba(217, 201, 144, 0.18), rgba(199, 214, 206, 0.18)),
    rgba(255, 252, 247, 0.62);
}

.oracle-level-banner span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.78rem;
}

.oracle-level-banner strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}

.oracle-level-banner p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.level-progress {
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(181, 146, 98, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 252, 0.76);
}

.level-progress span {
  display: block;
  width: 0;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #bfd0c7, #e2bd5c);
  transition: width 240ms ease;
}

.oracle-archive-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.oracle-archive-summary article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(114, 91, 88, 0.12);
  background: rgba(255, 252, 247, 0.66);
}

.oracle-archive-summary strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 0.95;
}

.oracle-archive-summary span {
  color: var(--muted);
  font-size: 0.84rem;
}

.oracle-archive-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.oracle-archive-heading p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.oracle-archive-heading a {
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.oracle-records {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.archive-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.oracle-record {
  border: 1px solid rgba(114, 91, 88, 0.14);
  background: rgba(255, 252, 247, 0.62);
}

.oracle-record summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
}

.oracle-record summary::-webkit-details-marker {
  display: none;
}

.oracle-record summary span {
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.oracle-record-title-group {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.oracle-record-question-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.oracle-record-subline {
  color: var(--muted);
  font-family: var(--font-sans) !important;
  font-size: 0.82rem !important;
  line-height: 1.35;
}

.oracle-record summary small {
  color: var(--gold);
  font-size: 0.78rem;
  white-space: nowrap;
}

.oracle-record p {
  margin: 0;
  padding: 0 16px 12px;
  color: var(--muted);
  line-height: 1.7;
}

.oracle-record-question {
  color: var(--ink);
}

.oracle-record-reading {
  padding-bottom: 16px;
  white-space: pre-line;
}

.oracle-record-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 16px 16px;
}

.record-delete-button {
  min-height: 34px;
  border: 1px solid rgba(186, 139, 134, 0.28);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 250, 252, 0.72);
  color: var(--red);
  cursor: pointer;
}

.record-delete-button:hover {
  background: rgba(255, 245, 246, 0.96);
}

.tarot-guide-band {
  padding: 80px max(24px, 6vw);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.86), rgba(249, 240, 235, 0.72));
}

.guide-hero,
.guide-section,
.guide-cta {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.guide-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 38px;
}

.guide-hero h1,
.guide-hero h2,
.guide-section h2,
.guide-section h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
}

.guide-hero h1,
.guide-hero h2 {
  font-size: clamp(2.4rem, 8vw, 5.8rem);
}

.guide-hero p:last-child,
.guide-section p {
  color: var(--muted);
}

.guide-section {
  margin-top: 28px;
}

.compact-heading {
  margin-bottom: 18px;
}

.guide-roadmap,
.guide-question-lab,
.guide-fit-grid {
  border: 1px solid rgba(114, 91, 88, 0.12);
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 252, 247, 0.5);
}

.guide-roadmap-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.guide-roadmap-heading h2 {
  margin-top: 2px;
}

.guide-roadmap-heading p:last-child {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.7;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-steps li,
.guide-mini-grid article,
.guide-faq details {
  border: 1px solid rgba(114, 91, 88, 0.14);
  background: rgba(255, 252, 247, 0.68);
}

.guide-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 12px;
  align-content: start;
  margin-left: -1px;
  padding: 16px;
}

.guide-steps li:first-child {
  margin-left: 0;
}

.guide-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(182, 139, 72, 0.38);
  color: var(--gold);
  font-family: var(--font-display);
}

.guide-steps h3 {
  align-self: center;
}

.guide-steps p {
  grid-column: 2;
}

.guide-section h3,
.guide-section h4,
.guide-faq summary {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
}

.guide-steps p,
.guide-mini-grid p,
.guide-faq p,
.guide-boundaries,
.guide-examples {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.65;
}

.guide-question-lab,
.guide-fit-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.guide-formula-card,
.guide-fit-panel,
.guide-boundary-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.guide-formula-card h2,
.guide-fit-panel h2,
.guide-boundary-panel h2 {
  margin-bottom: 2px;
}

.guide-formula-parts {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.guide-formula-parts span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border: 1px solid rgba(181, 146, 98, 0.22);
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 252, 247, 0.66);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.guide-formula-parts span::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(181, 146, 98, 0.58);
  content: "";
}

.guide-examples {
  display: grid;
  gap: 10px;
}

.guide-examples p {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  border: 1px solid rgba(114, 91, 88, 0.12);
  background: rgba(255, 252, 247, 0.5);
}

.guide-examples span,
.guide-examples strong {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
}

.guide-examples span {
  color: var(--muted);
  border-right: 1px solid rgba(114, 91, 88, 0.12);
}

.guide-examples strong {
  color: var(--ink);
  font-weight: 500;
}

.guide-examples small {
  color: var(--gold);
  font-size: 0.72rem;
  line-height: 1.2;
}

.guide-examples em {
  font-style: normal;
}

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

.guide-mini-grid article {
  padding: 16px;
}

.guide-mini-grid article:nth-child(5) {
  grid-column: 1 / -1;
}

.guide-boundaries {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.guide-boundaries li {
  position: relative;
  border-bottom: 1px solid rgba(114, 91, 88, 0.12);
  padding: 0 0 10px 22px;
}

.guide-boundaries li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(190, 118, 118, 0.58);
  content: "";
}

.guide-faq {
  display: grid;
  gap: 10px;
}

.guide-faq details {
  padding: 0 16px;
}

.guide-faq summary {
  cursor: pointer;
  padding: 16px 0;
}

.guide-faq p {
  padding-bottom: 16px;
}

.guide-cta {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.discussion-band {
  padding: 78px max(24px, 6vw);
  background: rgba(255, 250, 244, 0.82);
}

.discussion-heading,
.discussion-layout,
.discussion-compose,
.discussion-status {
  width: min(100%, 1120px);
  margin-right: auto;
  margin-left: auto;
}

.discussion-heading {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.discussion-heading h1,
.discussion-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.discussion-heading p:last-child,
.discussion-status,
.discussion-empty,
.discussion-meta,
.discussion-card-footer {
  color: var(--muted);
  font-family: var(--font-sans);
}

.discussion-status {
  min-height: 1.4em;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.discussion-compose,
.discussion-detail,
.discussion-post-card {
  border: 1px solid rgba(114, 91, 88, 0.14);
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 18px 60px rgba(84, 58, 48, 0.08);
}

.discussion-compose {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
}

.discussion-compose[hidden],
.discussion-detail[hidden] {
  display: none;
}

.discussion-compose-grid,
.discussion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.discussion-compose label,
.discussion-reply-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.discussion-compose input,
.discussion-compose select,
.discussion-compose textarea,
.discussion-reply-form textarea,
.discussion-report-controls select {
  width: 100%;
  border: 1px solid rgba(114, 91, 88, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: inherit;
}

.discussion-compose textarea,
.discussion-reply-form textarea {
  resize: vertical;
}

.discussion-compose-actions,
.discussion-actions,
.discussion-report-controls,
.discussion-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.discussion-list {
  display: grid;
  gap: 12px;
}

.discussion-post-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.discussion-post-card h2,
.discussion-post-card h3,
.discussion-detail h2,
.discussion-detail h3,
.discussion-detail h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.35;
}

.discussion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

.discussion-meta span {
  border: 1px solid rgba(182, 139, 72, 0.2);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 250, 242, 0.7);
}

.discussion-more {
  margin-top: 12px;
}

.discussion-detail {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.discussion-body-text {
  margin: 10px 0;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.72;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.discussion-linked-reading {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  border-left: 3px solid rgba(182, 139, 72, 0.42);
  padding: 10px 12px;
  background: rgba(255, 247, 235, 0.72);
}

.discussion-linked-reading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.discussion-replies {
  display: grid;
  gap: 12px;
}

.discussion-reply {
  border-top: 1px solid rgba(114, 91, 88, 0.12);
  padding-top: 12px;
}

.discussion-reply-form {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(114, 91, 88, 0.12);
  padding-top: 14px;
}

.discussion-report-controls {
  max-width: 100%;
}

.discussion-report-controls select {
  width: min(220px, 100%);
}

.settings-shell {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 78px);
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(18px, 3vw, 28px);
  max-width: 1120px;
  margin: 0 auto;
}

.settings-panel,
.card-library-detail {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.82), rgba(244, 232, 238, 0.56)),
    var(--panel);
  box-shadow: var(--shadow);
}

.settings-panel {
  padding: clamp(18px, 3vw, 28px);
}

.settings-panel-heading h2,
.card-library-detail h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
}

.settings-panel-heading p,
.settings-status,
.card-library-detail p {
  color: var(--muted);
  line-height: 1.75;
}

.settings-card-back-options {
  margin-top: 18px;
}

.settings-status {
  margin: 14px 0 0;
}

.settings-language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.settings-language-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(181, 146, 98, 0.24);
  border-radius: 999px;
  padding: 0 18px 0 20px;
  color: var(--ink);
  background: rgba(255, 250, 252, 0.68);
  box-shadow: 0 12px 26px rgba(106, 80, 66, 0.06);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.settings-language-options button:hover {
  transform: translateY(-1px);
  border-color: rgba(181, 146, 98, 0.5);
  background: rgba(255, 252, 247, 0.9);
}

.settings-language-options button.is-active {
  border-color: rgba(181, 146, 98, 0.76);
  background: linear-gradient(135deg, rgba(239, 224, 164, 0.7), rgba(244, 232, 238, 0.64));
  box-shadow: 0 18px 34px rgba(181, 146, 98, 0.16);
}

.settings-language-options span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
}

.settings-language-options small {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-link-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.settings-link-list a,
.card-library-detail a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  width: fit-content;
  border: 1px solid rgba(181, 146, 98, 0.28);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--gold);
  text-decoration: none;
  background: rgba(255, 250, 252, 0.62);
}

.archive-band {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 78px);
  background:
    linear-gradient(180deg, rgba(244, 233, 248, 0.68), rgba(238, 246, 255, 0.78)),
    var(--paper);
  border-top: 1px solid var(--line);
}

.archive-band .eyebrow {
  color: var(--blue);
}

.card-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: clamp(10px, 2vw, 16px);
  max-width: 1120px;
  margin: 0 auto;
}

.card-library-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto 24px;
}

.card-library-tabs button {
  min-height: 38px;
  border: 1px solid rgba(114, 91, 88, 0.14);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 252, 247, 0.66);
  color: var(--muted);
  cursor: pointer;
}

.card-library-tabs button.is-active {
  border-color: rgba(181, 146, 98, 0.48);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(217, 201, 144, 0.28), rgba(244, 232, 238, 0.42));
}

.card-library-search {
  display: grid;
  gap: 7px;
  max-width: 1120px;
  margin: -8px auto 22px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.card-library-search input {
  min-height: 42px;
  width: min(100%, 420px);
  border: 1.5px solid rgba(115, 92, 88, 0.26);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
}

.card-library-search input:focus {
  outline: 2px solid rgba(185, 139, 73, 0.35);
  outline-offset: 2px;
  border-color: rgba(181, 146, 98, 0.58);
  box-shadow: 0 0 0 4px rgba(224, 194, 92, 0.12);
}

.card-library-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.card-library-grid {
  margin: 0;
}

.card-library-card {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.card-library-card:hover img,
.card-library-card:focus-visible img {
  border-color: rgba(181, 146, 98, 0.46);
  box-shadow: 0 14px 30px rgba(94, 58, 84, 0.18);
}

.card-library-caption {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
  text-align: center;
}

.card-library-caption strong {
  overflow: hidden;
  color: var(--ink);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-library-caption small,
.card-library-caption em {
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-library-detail {
  position: sticky;
  top: 92px;
  padding: clamp(18px, 3vw, 26px);
}

.card-detail-subtitle {
  margin: -4px 0 16px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.card-detail-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.card-detail-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(181, 146, 98, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--gold);
  background: rgba(255, 252, 247, 0.74);
  font-size: 0.86rem;
}

.card-detail-meanings {
  display: grid;
  gap: 12px;
}

.card-detail-section {
  border-top: 1px solid rgba(114, 91, 88, 0.12);
  padding-top: 12px;
}

.card-detail-section h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
}

.card-detail-section p {
  margin: 0;
  font-size: 0.94rem;
}

.card-detail-advice {
  border-color: rgba(181, 146, 98, 0.24);
}

.card-detail-note {
  margin-top: 16px;
  font-size: 0.86rem;
}

.card-detail-source {
  margin-top: 12px;
}

@media (max-width: 820px) {
  .settings-grid,
  .card-library-layout {
    grid-template-columns: 1fr;
  }

  .settings-install-panel {
    grid-column: auto;
  }

  .pwa-install-preview {
    align-items: flex-start;
  }

  .pwa-install-button {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .card-library-detail {
    position: static;
  }
}

.gallery-card {
  margin: 0;
  min-width: 0;
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
  border: 1px solid rgba(23, 18, 23, 0.16);
  border-radius: 6px;
  background: #fffafc;
  box-shadow: 0 10px 24px rgba(94, 58, 84, 0.12);
}

.gallery-card figcaption {
  overflow: hidden;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  padding: 22px clamp(18px, 6vw, 78px);
  background: rgba(255, 248, 252, 0.78);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 1120px;
  margin: 0 auto;
}

.site-footer p + p {
  margin-top: 8px;
}

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

.feedback-form {
  display: grid;
  gap: 12px;
  width: min(100%, 620px);
  margin: 0 auto 24px;
  text-align: left;
}

.feedback-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1.5px solid rgba(115, 92, 88, 0.26);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-synthesis: none;
  font-weight: 400;
}

.feedback-form textarea {
  min-height: 116px;
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: 2px solid rgba(185, 139, 73, 0.34);
  outline-offset: 2px;
  border-color: rgba(181, 146, 98, 0.58);
  box-shadow: 0 0 0 4px rgba(224, 194, 92, 0.12);
}

.feedback-form button {
  justify-self: start;
  min-height: 44px;
  border: 1px solid rgba(184, 142, 86, 0.42);
  border-radius: 999px;
  padding: 0 24px;
  background: linear-gradient(90deg, rgba(199, 210, 187, 0.9), rgba(226, 195, 103, 0.95));
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.feedback-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.feedback-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
}

.feedback-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-shell {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 6vw, 78px) clamp(58px, 8vw, 96px);
}

.contact-shell .section-heading {
  max-width: 980px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  max-width: 1180px;
  margin: clamp(28px, 5vw, 48px) auto 0;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 252, 248, 0.8);
  box-shadow: 0 16px 38px rgba(95, 75, 63, 0.06);
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-card-wechat {
  grid-row: span 2;
}

.contact-qr-frame {
  display: grid;
  place-items: center;
  width: min(100%, 340px);
  margin: 0;
  border: 1px solid rgba(188, 151, 98, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.contact-qr-frame img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  border-bottom: 1px solid rgba(184, 142, 86, 0.42);
  color: var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--gold);
}

.contact-note {
  max-width: 1180px;
  margin: 18px auto 0;
  border: 1px solid rgba(188, 151, 98, 0.24);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 248, 252, 0.7);
  color: var(--muted);
  line-height: 1.8;
}

.contact-note p {
  margin: 0;
}

.settings-support-panel {
  align-content: space-between;
}

.settings-support-link {
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 900px) {
  .workshop-service-grid {
    grid-template-columns: 1fr;
  }

  .workshop-service-card {
    min-height: 0;
  }

  .workshop-trust-band {
    display: grid;
  }

  .workshop-trust-band .about-cta-btn,
  .workshop-consult-band .primary-link {
    width: 100%;
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-wechat {
    grid-row: auto;
  }

  .contact-qr-frame {
    width: min(100%, 300px);
  }
}

.login-feedback-shell {
  display: grid;
  place-items: center;
  padding: 0 clamp(18px, 6vw, 78px) clamp(44px, 7vw, 80px);
}

.site-disclaimer {
  color: rgba(118, 107, 102, 0.86);
  font-size: 0.82rem;
  line-height: 1.7;
}

.site-footer a {
  color: var(--gold);
}

@keyframes shuffle-left {
  50% {
    transform: rotate(-18deg) translate(-34px, -8px);
  }
}

@keyframes shuffle-right {
  50% {
    transform: rotate(14deg) translate(28px, 4px);
  }
}

@keyframes shuffle-lift {
  45% {
    transform: rotate(1deg) translate(0, -28px);
  }
}

@keyframes deal-card {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-10deg) scale(0.72);
  }
  15% {
    opacity: 1;
  }
  72% {
    opacity: 1;
    transform: translate(162%, -54%) rotate(9deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(188%, -52%) rotate(0deg) scale(1.04);
  }
}

@keyframes reveal-pop {
  0% {
    transform: rotateY(0deg) translateY(6px);
  }
  62% {
    transform: rotateY(180deg) translateY(-10px);
  }
  100% {
    transform: rotateY(180deg) translateY(0);
  }
}

.mystic-tech-hero {
  --mystic-ink: #261f24;
  --mystic-muted: rgba(84, 72, 73, 0.76);
  --mystic-line: rgba(164, 125, 128, 0.18);
  --mystic-gold: #b58a4f;
  --mystic-border: rgba(185, 148, 118, 0.25);
  --mystic-field: rgba(255, 252, 248, 0.44);
  --mystic-field-strong: rgba(255, 253, 250, 0.58);
  --mystic-title-shadow: 0 18px 48px rgba(111, 72, 83, 0.14);
  --mystic-canvas-blend: normal;
  --mystic-canvas-opacity: 0.78;
  --mystic-canvas-bg: radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.3), transparent 30%);
  --mystic-bg:
    radial-gradient(circle at 18% 20%, rgba(255, 205, 219, 0.52), transparent 32%),
    radial-gradient(circle at 78% 26%, rgba(214, 228, 248, 0.44), transparent 30%),
    radial-gradient(circle at 60% 78%, rgba(236, 211, 157, 0.3), transparent 38%),
    linear-gradient(135deg, #fff8f7 0%, #fbedf2 46%, #f8f4ea 100%);
  border-color: var(--mystic-border);
  background: var(--mystic-bg);
  color: var(--mystic-ink);
}

.mystic-rose-hero {
  --mystic-ink: #2e2229;
  --mystic-muted: rgba(92, 75, 82, 0.76);
  --mystic-line: rgba(177, 117, 139, 0.2);
  --mystic-gold: #b88655;
  --mystic-border: rgba(190, 145, 132, 0.22);
  --mystic-field: rgba(255, 251, 250, 0.48);
  --mystic-field-strong: rgba(255, 252, 249, 0.64);
  --mystic-title-shadow: 0 18px 50px rgba(163, 96, 120, 0.16);
  --mystic-canvas-opacity: 0.72;
  --mystic-canvas-bg:
    radial-gradient(circle at 18% 18%, rgba(255, 196, 219, 0.34), transparent 32%),
    radial-gradient(circle at 82% 22%, rgba(190, 218, 244, 0.28), transparent 34%),
    radial-gradient(circle at 58% 72%, rgba(242, 221, 172, 0.24), transparent 36%);
  --mystic-bg:
    radial-gradient(circle at 14% 22%, rgba(255, 199, 218, 0.58), transparent 34%),
    radial-gradient(circle at 76% 18%, rgba(207, 227, 246, 0.48), transparent 32%),
    radial-gradient(circle at 86% 82%, rgba(219, 206, 245, 0.32), transparent 36%),
    radial-gradient(circle at 34% 86%, rgba(244, 223, 174, 0.34), transparent 36%),
    linear-gradient(135deg, #fff8f7 0%, #fbeaf1 45%, #f7f1ff 100%);
}

.mystic-oracle-hero {
  --mystic-ink: #2f2924;
  --mystic-muted: rgba(91, 78, 66, 0.75);
  --mystic-line: rgba(173, 139, 91, 0.2);
  --mystic-gold: #af8248;
  --mystic-border: rgba(184, 147, 98, 0.24);
  --mystic-field: rgba(255, 252, 245, 0.5);
  --mystic-field-strong: rgba(255, 251, 241, 0.68);
  --mystic-title-shadow: 0 18px 50px rgba(117, 86, 52, 0.13);
  --mystic-canvas-opacity: 0.68;
  --mystic-canvas-bg:
    radial-gradient(circle at 20% 22%, rgba(232, 206, 151, 0.3), transparent 33%),
    radial-gradient(circle at 78% 26%, rgba(211, 188, 232, 0.22), transparent 32%),
    radial-gradient(circle at 56% 78%, rgba(185, 213, 207, 0.22), transparent 36%);
  --mystic-bg:
    radial-gradient(circle at 16% 18%, rgba(240, 218, 170, 0.45), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(226, 205, 237, 0.34), transparent 32%),
    radial-gradient(circle at 74% 78%, rgba(197, 219, 211, 0.28), transparent 36%),
    linear-gradient(135deg, #fffaf1 0%, #f5eadb 48%, #f9f4ea 100%);
}

.mystic-tech-hero::before {
  border-color: var(--mystic-border);
  background:
    linear-gradient(rgba(106, 82, 72, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 82, 72, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.46) 0 1px, transparent 2.5px);
  background-size:
    72px 72px,
    72px 72px,
    112px 112px;
  opacity: 0.5;
}

.mystic-tech-hero::after {
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.22), transparent 32%),
    radial-gradient(circle at 28% 68%, rgba(255, 221, 232, 0.2), transparent 26%),
    radial-gradient(circle at 78% 40%, rgba(224, 209, 178, 0.16), transparent 28%);
  opacity: 1;
}

.mystic-canvas-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--mystic-canvas-bg);
  opacity: var(--mystic-canvas-opacity);
  pointer-events: none;
}

.mystic-particle-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  mix-blend-mode: var(--mystic-canvas-blend);
}

.mystic-effect-toggle {
  position: absolute;
  top: clamp(16px, 2.2vw, 26px);
  right: clamp(16px, 2.8vw, 34px);
  z-index: 4;
  padding: 10px 15px;
  border: 1px solid rgba(178, 137, 85, 0.32);
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.68);
  box-shadow:
    0 18px 42px rgba(145, 104, 95, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.38);
  color: var(--mystic-ink);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1;
  backdrop-filter: blur(14px);
}

.mystic-effect-toggle:hover {
  border-color: rgba(178, 137, 85, 0.48);
  color: var(--mystic-ink);
}

.mystic-tech-hero.is-mystic-disabled .mystic-canvas-layer {
  opacity: 0;
}

.mystic-tech-hero.is-mystic-degraded .mystic-particle-canvas {
  opacity: 0.82;
}

.mystic-tech-hero .mystic-symbols {
  z-index: 2;
  color: rgba(70, 56, 52, 0.66);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.5);
}

.mystic-tech-hero .mystic-symbols::before,
.mystic-tech-hero .mystic-symbols::after {
  background: linear-gradient(90deg, transparent, var(--mystic-line), transparent);
}

.mystic-tech-hero .eyebrow {
  color: var(--mystic-gold);
}

.mystic-tech-hero h1,
.mystic-tech-hero h2,
.mystic-tech-hero h3 {
  color: var(--mystic-ink);
  text-shadow: var(--mystic-title-shadow);
}

.mystic-tech-hero .intro-lead,
.mystic-tech-hero .intro-detail,
.mystic-tech-hero .home-text {
  color: var(--mystic-muted);
}

.mystic-tech-hero .intro-signal,
.mystic-tech-hero .home-moon-card {
  border-color: var(--mystic-border);
  background: var(--mystic-field);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    0 24px 62px rgba(137, 102, 91, 0.12);
  backdrop-filter: blur(16px);
}

.mystic-tech-hero .intro-signal span,
.mystic-tech-hero .intro-signal small,
.mystic-tech-hero .home-moon-card p:last-child {
  color: var(--mystic-muted);
}

.mystic-tech-hero .moon-glyph {
  border-color: var(--mystic-border);
  background: rgba(255, 251, 245, 0.58);
  color: var(--mystic-ink);
  box-shadow: 0 14px 34px rgba(144, 111, 89, 0.11);
}

.mystic-tech-hero .secondary-link {
  border-color: rgba(178, 137, 85, 0.24);
  background: var(--mystic-field-strong);
  color: var(--mystic-ink);
}

.mystic-tech-hero .primary-link {
  box-shadow: 0 16px 46px rgba(187, 145, 82, 0.18);
}

@media (max-width: 1120px) {
  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .home-copy {
    max-width: 720px;
  }

  .home-orbit {
    width: 100%;
    min-height: 280px;
  }

  .home-card-a {
    left: 18%;
  }

  .home-card-b {
    right: 18%;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    line-height: 1.62;
  }

  button,
  input,
  textarea,
  select {
    font-size: 1rem;
    font-weight: 400;
  }

  main,
  section,
  footer {
    scroll-margin-top: 116px;
  }

  .site-header {
    flex-wrap: nowrap;
    gap: 10px;
    min-height: 58px;
    padding: 10px 14px;
    overflow: visible;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 1rem;
  }

  .nav-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 10px;
    right: 10px;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(180, 146, 98, 0.2);
    border-radius: 14px;
    padding: 8px;
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 20px 44px rgba(95, 64, 49, 0.16);
    font-size: 0.82rem;
    backdrop-filter: blur(18px);
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: 10px;
    padding: 10px 12px;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(220, 196, 129, 0.12);
  }

  .login-shell {
    align-items: start;
    min-height: calc(100vh - 58px);
    padding: 34px 14px 54px;
  }

  .login-panel {
    padding: 22px 16px;
  }

  .auth-mode-tabs {
    grid-template-columns: 1fr;
  }

  .auth-code-field,
  .auth-actions {
    grid-template-columns: 1fr;
  }

  .auth-code-field .quiet-button {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .reading-mode-actions {
    grid-template-columns: 1fr;
  }

  .reading-mode-button {
    min-height: 76px;
    padding: 16px;
  }

  .language-switcher {
    margin-left: 0;
    padding: 3px;
    box-shadow: 0 8px 20px rgba(95, 64, 49, 0.08);
  }

  .language-switcher button {
    min-width: 38px;
    padding: 6px 9px;
    font-size: 0.7rem;
  }

  .language-switcher button[data-language-choice="en"] {
    font-size: 0.78rem;
  }

  .tarot-section-nav {
    justify-content: center;
    overflow-x: visible;
    margin: 16px 0 18px;
    padding: 0 14px 4px;
    flex-wrap: wrap;
    scrollbar-width: auto;
  }

  .tarot-section-nav::-webkit-scrollbar {
    display: none;
  }

  .tarot-section-nav a {
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 0.76rem;
  }

  .tarot-section-nav.tarot-section-nav-standalone {
    margin: 0 0 18px;
    padding: 108px 14px 8px;
  }

  .mystic-effect-toggle {
    top: 14px;
    right: 14px;
    padding: 7px 10px;
    font-size: 0.68rem;
  }

  .home-announcement {
    width: calc(100% - 22px);
    max-width: calc(100% - 22px);
    margin-top: 12px;
  }

  .home-announcement-bar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 13px;
  }

  .home-announcement-bar p,
  .home-announcement-panel li,
  .home-announcement-foot {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .home-announcement-toggle {
    width: 100%;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .home-announcement-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 13px 15px;
  }

  .home-announcement-panel ul {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .home-announcement-panel h2 {
    font-size: 1.26rem;
  }

  .home-announcement-foot {
    grid-column: auto;
  }

  .mystic-tech-hero::before {
    background-size:
      58px 58px,
      58px 58px,
      96px 96px;
  }

  .intro-band {
    display: block;
    max-width: calc(100% - 22px);
    min-height: auto;
    padding: 88px 28px 230px;
  }

  .intro-copy {
    width: min(100%, 310px);
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 3.55rem);
  }

  .intro-copy h1 {
    font-size: clamp(3.35rem, 15vw, 4.9rem);
  }

  .intro-lead,
  .intro-detail {
    max-width: 270px;
    word-break: break-word;
  }

  .intro-lead {
    font-size: 0.98rem;
    line-height: 1.85;
  }

  .intro-detail {
    font-size: 0.86rem;
    line-height: 1.8;
  }

  .mystic-symbols {
    top: 32px;
    gap: 9px;
    font-size: 1.15rem;
  }

  .mystic-symbols::before,
  .mystic-symbols::after {
    width: 34px;
  }

  .intro-signal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 108px;
    min-height: 108px;
    margin: 24px auto 0;
    padding: 14px 10px;
  }

  .hero-cards {
    left: 52%;
    bottom: -96px;
    width: min(330px, 86vw);
    height: 238px;
  }

  .hero-card {
    width: 132px;
    border-width: 8px;
    border-radius: 16px;
  }

  .reading-form {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
  }

  .user-input-card {
    padding: 14px;
  }

  .question-starters,
  .question-insight,
  .real-world-options-panel,
  .choice-balance-panel,
  .spread-mode-field {
    padding: 40px 14px 14px;
  }

  .ai-assist-card::after {
    top: 10px;
    right: 10px;
  }

  .question-insight {
    flex-direction: column;
    align-items: stretch;
  }

  .real-world-options-grid {
    grid-template-columns: 1fr;
  }

  .real-world-options-actions {
    align-items: stretch;
  }

  .real-world-options-actions button {
    width: 100%;
  }

  .tarot-step-heading h3 {
    font-size: 1.55rem;
  }

  .tarot-step-actions,
  .step-primary-button,
  .step-back-button {
    width: 100%;
  }

  .reading-heading,
  .section-heading {
    margin-bottom: 16px;
  }

  .reading-heading h2,
  .section-heading h2 {
    font-size: 2.28rem;
    line-height: 1.05;
  }

  .tarot-flow-steps {
    position: sticky;
    top: 58px;
    z-index: 8;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: -2px -14px 16px;
    padding: 9px 14px;
    background: rgba(255, 250, 245, 0.82);
    scrollbar-width: none;
    backdrop-filter: blur(12px);
  }

  .tarot-flow-steps::-webkit-scrollbar {
    display: none;
  }

  .tarot-flow-steps [data-flow-step] {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .tarot-transition {
    padding: 16px;
  }

  .tarot-transition-card {
    gap: 10px;
    padding: 22px 16px;
  }

  .tarot-transition-card h3 {
    font-size: 1.42rem;
  }

  .tarot-transition-card p:last-of-type {
    font-size: 0.9rem;
  }

  .tarot-intro-actions .primary-link {
    width: 100%;
  }

  .room-page-hero,
  .love-page-hero {
    max-width: calc(100% - 22px);
    min-height: auto;
    padding: 88px 28px 64px;
  }

  .love-oracle-teaser {
    display: grid;
  }

  .home-hero {
    grid-template-columns: 1fr;
    width: calc(100% - 22px);
    max-width: calc(100% - 22px);
    min-height: auto;
    gap: 18px;
    padding: 76px 16px 30px;
    border-color: rgba(23, 18, 23, 0.18);
  }

  .home-hero::before {
    inset: 12px;
    border-width: 1px;
    border-color: rgba(23, 18, 23, 0.5);
    border-bottom-color: rgba(23, 18, 23, 0.2);
  }

  .home-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-symbols {
    top: 32px;
    gap: 9px;
    font-size: 1.15rem;
  }

  .home-symbols::before,
  .home-symbols::after {
    width: 34px;
  }

  .home-copy h1 {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: clamp(1.78rem, 8.15vw, 2.2rem);
    line-height: 1.04;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: keep-all;
  }

  .home-text {
    font-size: 0.96rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  .home-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .home-actions .primary-link,
  .home-actions .secondary-link {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.95rem;
  }

  .home-moon-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    padding: 14px;
  }

  .moon-glyph {
    width: 48px;
    height: 48px;
    font-size: 1.58rem;
  }

  .home-moon-card h2 {
    font-size: 1.58rem;
  }

  .home-moon-card p:last-child {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .home-orbit {
    width: 100%;
    min-height: 235px;
    margin-top: 8px;
    overflow: hidden;
  }

  .home-orbit::before {
    inset: 22px 18px auto;
  }

  .home-card {
    width: min(31vw, 112px);
    border-width: 8px;
    border-radius: 16px;
  }

  .home-card-a {
    left: 19%;
    top: 18%;
  }

  .home-card-b {
    right: 19%;
    top: 28%;
  }

  .daily-oracle-band,
  .love-oracle-band,
  .home-rooms {
    padding-right: 14px;
    padding-left: 14px;
  }

  .daily-oracle-copy h3 {
    font-size: clamp(2rem, 11vw, 3rem);
    overflow-wrap: anywhere;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .card-back-options {
    grid-template-columns: repeat(6, minmax(42px, 1fr));
  }

  .settings-language-options {
    grid-template-columns: 1fr;
  }

  .spread-layout-preview {
    padding: 12px;
  }

  .spread-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .spread-mode-toggle button {
    padding: 0 10px;
  }

  .follow-up-context-control {
    grid-template-columns: 1fr;
  }

  .follow-up-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .spread-options {
    margin-right: -14px;
    margin-left: -2px;
    padding-right: 14px;
  }

  .spread-option {
    flex-basis: min(82vw, 310px);
    min-height: 132px;
    padding: 12px;
  }

  .spread-name {
    font-size: 1.04rem;
    line-height: 1.18;
  }

  .spread-copy {
    font-size: 0.82rem;
    line-height: 1.58;
  }

  .question-field textarea {
    min-height: 138px;
    padding: 12px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .question-writing-prompt,
  .question-ai-hint {
    font-size: 0.86rem;
    line-height: 1.58;
  }

  .spread-layout-map {
    gap: 8px;
  }

  .spread-layout-marker {
    width: min(100%, 92px);
    min-height: 48px;
    padding: 6px;
  }

  .spread-layout-marker small {
    font-size: 0.6rem;
  }

  .spread-layout-marker strong {
    font-size: 0.76rem;
    line-height: 1.18;
  }

  .reading-stage {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
  }


  .daily-oracle-panel {
    grid-template-columns: 1fr;
  }

  .daily-card-frame {
    width: min(210px, 58vw);
  }

  .prompt-field-heading,
  .follow-up-heading {
    display: grid;
  }

  .love-question-grid,
  .love-prompt-grid,
  .follow-up-options {
    grid-template-columns: 1fr;
  }

  .question-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    margin-top: -2px;
  }

  .question-controls .step-back-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .question-insight {
    display: grid;
    gap: 12px;
  }

  .question-refine-example {
    display: grid;
    gap: 10px;
  }

  .question-refine-example button {
    width: 100%;
  }

  .discussion-heading,
  .discussion-compose-grid,
  .discussion-layout {
    grid-template-columns: 1fr;
  }

  .discussion-heading {
    display: grid;
    align-items: start;
  }

  .discussion-new-button,
  .discussion-compose-actions .draw-button,
  .discussion-reply-form .draw-button {
    width: 100%;
  }

  .gesture-panel {
    display: grid;
    gap: 12px;
    padding: 13px;
  }

  .gesture-foldout summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .gesture-foldout summary small {
    grid-column: 1 / -1;
  }

  .gesture-toggle {
    width: 100%;
  }

  .insight-spread-button {
    width: 100%;
  }

  .question-controls .draw-button {
    width: 100%;
    min-width: 0;
  }

  .deck-zone {
    min-height: 190px;
  }

  .deck-stack {
    width: 148px;
  }

  /* 抽牌完成进入结果阶段后，手机上收起牌堆，把首屏留给牌面 */
  body[data-tarot-flow-step="result"] .deck-zone {
    display: none;
  }

  .result-zone {
    text-align: center;
  }

  .spread-results,
  .spread-results[data-count="1"] {
    grid-template-columns: 1fr;
    grid-template-areas: "center";
    gap: 12px;
  }

  .spread-results[data-spread="free-form"] {
    grid-template-columns: repeat(3, minmax(0, 104px));
    grid-template-areas: "left center right";
    justify-content: center;
    max-width: 100%;
  }

  .spread-results[data-spread="time-arrow"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "past present future";
  }

  .spread-results[data-spread="lover-pyramid"] {
    grid-template-columns: repeat(3, minmax(0, 84px));
    grid-template-areas:
      ". top ."
      "left center right";
    justify-content: center;
    max-width: 100%;
  }

  .spread-results[data-spread="relationship-spread"] {
    grid-template-columns: repeat(3, minmax(0, 84px));
    grid-template-areas:
      ". top ."
      "left center right"
      ". bottom .";
    justify-content: center;
    max-width: 100%;
  }

  .spread-results[data-spread="love-cross"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "guideLeft top ."
      "left center right"
      ". bottom .";
  }

  .spread-results[data-spread="inspiration-link"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "topLeft topCenter topRight"
      "bottomLeft bottomCenter bottomRight";
  }

  .spread-results[data-spread="answer-gate"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      ". obstacle ."
      "force center outcome"
      ". hidden .";
  }

  .spread-results[data-spread="three-side-relationship"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      ". obstacle ."
      "left center right"
      ". counsel .";
  }

  .spread-results[data-spread="choice-balance"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "aOutcome . bOutcome"
      "aDevelopment . bDevelopment"
      ". counsel .";
  }

  .spread-results[data-spread="three-choice"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "aOutcome bOutcome cOutcome"
      "aDevelopment bDevelopment cDevelopment"
      ". currentState .";
  }

  .spread-results[data-spread="seasonal-oracle"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      ". obstacle ."
      "force center outcome"
      ". hidden .";
  }

  .spread-results[data-count="1"] .spread-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .drawn-card {
    width: min(64vw, 238px);
  }

  .spread-results[data-count="1"] .drawn-card {
    width: min(64vw, 238px);
  }

  .spread-results[data-spread="free-form"] .drawn-card,
  .spread-results[data-spread="time-arrow"] .drawn-card {
    width: min(100%, 104px);
  }

  .spread-results[data-spread="answer-gate"] .drawn-card,
  .spread-results[data-spread="three-side-relationship"] .drawn-card,
  .spread-results[data-spread="choice-balance"] .drawn-card,
  .spread-results[data-spread="three-choice"] .drawn-card,
  .spread-results[data-spread="seasonal-oracle"] .drawn-card,
  .spread-results[data-spread="lover-pyramid"] .drawn-card,
  .spread-results[data-spread="relationship-spread"] .drawn-card {
    width: min(100%, 23vw, 82px);
  }

  .spread-results[data-spread="love-cross"] .drawn-card,
  .spread-results[data-spread="inspiration-link"] .drawn-card {
    width: min(21vw, 74px);
  }

  .spread-results:not([data-spread="single-card"]) .spread-card {
    gap: 7px;
  }

  .spread-results:not([data-spread="single-card"]) .result-label {
    margin-bottom: 4px;
    font-size: 0.66rem;
  }

  .spread-results:not([data-spread="single-card"]) .spread-card-copy h3,
  .spread-results[data-spread="answer-gate"] .spread-card-copy h3,
  .spread-results[data-spread="three-side-relationship"] .spread-card-copy h3,
  .spread-results[data-spread="choice-balance"] .spread-card-copy h3,
  .spread-results[data-spread="three-choice"] .spread-card-copy h3,
  .spread-results[data-spread="seasonal-oracle"] .spread-card-copy h3,
  .spread-results[data-spread="lover-pyramid"] .spread-card-copy h3,
  .spread-results[data-spread="relationship-spread"] .spread-card-copy h3,
  .spread-results[data-spread="love-cross"] .spread-card-copy h3,
  .spread-results[data-spread="inspiration-link"] .spread-card-copy h3 {
    font-size: 0.86rem;
    line-height: 1.2;
  }

  .spread-card-copy p:last-child,
  .empty-reading p:last-child {
    max-width: none;
  }

  .spread-results:not([data-spread="single-card"]) .spread-card-copy p:last-child {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .oracle-archive-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oracle-level-banner {
    grid-template-columns: 1fr;
  }

  .oracle-archive-heading,
  .oracle-record summary {
    display: grid;
  }

  .tarot-guide-band {
    padding: 52px 16px;
  }

  .guide-steps,
  .guide-roadmap-heading,
  .guide-question-lab,
  .guide-fit-grid,
  .guide-mini-grid {
    grid-template-columns: 1fr;
  }

  .guide-roadmap,
  .guide-question-lab,
  .guide-fit-grid {
    padding: 16px;
  }

  .guide-steps {
    gap: 10px;
  }

  .guide-steps li {
    margin-left: 0;
  }

  .guide-examples p {
    grid-template-columns: 1fr;
  }

  .guide-examples span {
    border-right: 0;
    border-bottom: 1px solid rgba(114, 91, 88, 0.12);
  }

  .card-library-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .card-library-page .section-heading {
    margin-bottom: 16px;
  }

  .card-library-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 8px;
    margin-right: -12px;
    margin-bottom: 14px;
    padding-right: 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .card-library-tabs::-webkit-scrollbar {
    display: none;
  }

  .card-library-tabs button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
    line-height: 1;
  }

  .card-library-search {
    margin: 0 0 16px;
    font-size: 0.82rem;
  }

  .card-library-search input {
    width: 100%;
    min-height: 40px;
    font-size: 0.95rem;
  }

  .card-library-layout {
    gap: 16px;
  }

  .card-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .card-library-card {
    gap: 7px;
    border: 1px solid rgba(112, 91, 90, 0.12);
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 252, 247, 0.58);
  }

  .card-library-card img {
    border-radius: 6px;
  }

  .card-library-caption {
    font-size: 0.76rem;
    line-height: 1.38;
  }

  .card-library-caption strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.1em;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .card-library-caption small,
  .card-library-caption em {
    white-space: normal;
  }

  .card-library-detail {
    padding: 16px;
  }

  .card-library-detail h2 {
    font-size: 1.7rem;
    line-height: 1.1;
  }

  .card-library-detail p,
  .card-detail-section p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .admin-shell {
    gap: 14px;
    padding: 18px 12px 42px;
  }

  .admin-dashboard-panel,
  .admin-account-panel {
    width: 100%;
    padding: 18px 14px;
  }

  .admin-dashboard-heading h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 12vw, 3.2rem);
    line-height: 0.98;
  }

  .admin-dashboard-heading p:last-child {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .admin-dashboard-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    padding-top: 14px;
  }

  .admin-dashboard-actions span {
    min-width: 0;
    line-height: 1.45;
  }

  .admin-usage-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .admin-usage-summary article {
    padding: 12px 14px;
  }

  .admin-usage-summary span {
    margin-bottom: 4px;
    font-size: 0.78rem;
  }

  .admin-usage-summary strong {
    display: block;
    font-size: clamp(1.35rem, 8vw, 2rem);
    line-height: 1.12;
  }

  .admin-foldout-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: auto;
    padding: 12px;
  }

  .admin-foldout-copy strong {
    font-size: clamp(1.2rem, 7vw, 1.65rem);
  }

  .admin-foldout-content {
    padding: 0 10px 10px;
  }

  .admin-foldout-toggle {
    min-width: 58px;
    padding: 7px 10px;
  }

  .admin-question-filters {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .admin-question-filters .quiet-button {
    width: 100%;
  }

  .admin-question-status,
  .admin-question-actions {
    width: 100%;
    max-width: 100%;
  }

  .admin-question-actions {
    justify-content: space-between;
  }

  .admin-page-button {
    flex: 1 1 110px;
  }

  .admin-question-page {
    flex: 1 0 100%;
    justify-content: center;
    order: -1;
  }

  .admin-table-wrap {
    margin-right: -10px;
    margin-left: -10px;
    border-right: 0;
    border-left: 0;
  }

  .admin-table-wrap::after {
    display: block;
    padding: 8px 10px;
    color: rgba(118, 107, 102, 0.72);
    content: "左右滑动查看更多";
    font-size: 0.72rem;
  }

  .admin-usage-table {
    min-width: 760px;
  }

  .admin-question-table {
    min-width: 880px;
  }

  .admin-feedback-filters {
    grid-template-columns: 1fr;
  }

  .admin-feedback-table {
    min-width: 980px;
  }

  .admin-detail-panel {
    width: 100vw;
  }

  .admin-detail-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-detail-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-refresh-button {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .admin-discussion-card {
    padding: 12px;
  }

  .admin-discussion-actions .quiet-button,
  .admin-actions .draw-button,
  .admin-actions .secondary-link {
    width: 100%;
  }

  .admin-actions .quiet-button {
    width: 100%;
    min-width: 100%;
  }

  .flying-card {
    left: 50%;
    top: 28%;
    width: 128px;
  }

  .is-drawing .flying-card {
    animation-name: deal-card-mobile;
  }

  .card-gallery {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  }

  .card-gallery.card-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .reading-output-heading {
    display: grid;
  }
}

@keyframes deal-card-mobile {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-9deg) scale(0.72);
  }
  18% {
    opacity: 1;
  }
  72% {
    opacity: 1;
    transform: translate(-50%, 88%) rotate(8deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 120%) rotate(0deg) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* ===== About 页美化 v2 (feature/about-polish-claude) ===== */

.about-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: 100%;
}

.about-title-stack {
  display: grid;
  gap: 10px;
  margin: 10px 0 18px;
}

.about-title-main {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.about-title-sub {
  font-family: var(--font-display), var(--font-serif);
  font-size: clamp(13px, 1.6vw, 17px);
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--gold);
}

.about-arch-portrait {
  margin: 0;
  justify-self: center;
}

.about-arch-frame {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  width: clamp(200px, 22vw, 280px);
  aspect-ratio: 0.72;
  border: 1px solid var(--gold);
  border-radius: 999px 999px 14px 14px;
  background:
    radial-gradient(circle at 50% 24%, rgba(231, 207, 146, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(213, 196, 224, 0.32), rgba(247, 238, 230, 0.7));
  box-shadow:
    inset 0 0 0 8px rgba(255, 252, 247, 0.65),
    0 24px 60px rgba(71, 45, 42, 0.12);
}

.about-arch-moon {
  font-size: clamp(34px, 4vw, 48px);
  color: var(--gold);
}

.about-arch-frame figcaption {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* 修行之路时间线 */
.about-path {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.about-path li {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 0 0 22px 0;
}

.about-path li:last-child {
  padding-bottom: 0;
}

.about-path li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), transparent);
}

.about-path li:last-child::before {
  display: none;
}

.about-path-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  font-size: 13px;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.9);
}

.about-path strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.about-path small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* 资历四簇 */
.about-credential-clusters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.about-cluster {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 14px 40px rgba(71, 45, 42, 0.06);
}

.about-cluster h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.about-cluster h3 span {
  color: var(--gold);
  font-size: 15px;
}

.about-cluster h3 em {
  font-style: normal;
}

.about-cluster-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-cluster-pills span {
  padding: 7px 14px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.85);
  color: var(--ink);
}

/* 页尾CTA */
.about-cta {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(34px, 6vw, 56px) 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(231, 207, 146, 0.14), transparent 56%),
    var(--panel);
}

.about-cta-line {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: 0.05em;
}

.about-cta-copy {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.about-cta-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.about-cta-btn {
  padding: 11px 30px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(120deg, rgba(231, 207, 146, 0.92), rgba(214, 178, 200, 0.85));
  color: #2a2230;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(180, 146, 98, 0.25);
}

.about-cta-btn-ghost {
  background: transparent;
  color: var(--ink);
}

@media (max-width: 820px) {
  .about-hero-split {
    grid-template-columns: 1fr;
  }

  .about-arch-portrait {
    order: -1;
  }

  .about-arch-frame {
    width: min(220px, 60vw);
  }
}

/* ===== About 色彩分工：晨雾色系（品牌色低饱和洗染） ===== */

/* 四簇各有色彩身份：底色洗染+图标同色系深一档 */
.about-cluster-witch {
  background: linear-gradient(150deg, rgba(213, 196, 224, 0.38), rgba(255, 252, 247, 0.9));
  border-color: rgba(166, 142, 188, 0.32);
}

.about-cluster-witch h3 span { color: #8d6fae; }

.about-cluster-tarot {
  background: linear-gradient(150deg, rgba(231, 207, 146, 0.3), rgba(255, 252, 247, 0.9));
  border-color: rgba(180, 146, 98, 0.34);
}

.about-cluster-tarot h3 span { color: #a87f43; }

.about-cluster-reiki {
  background: linear-gradient(150deg, rgba(200, 209, 197, 0.46), rgba(255, 252, 247, 0.9));
  border-color: rgba(140, 158, 137, 0.36);
}

.about-cluster-reiki h3 span { color: #6f8a6b; }

.about-cluster-healing {
  background: linear-gradient(150deg, rgba(226, 188, 192, 0.36), rgba(255, 252, 247, 0.9));
  border-color: rgba(186, 139, 134, 0.34);
}

.about-cluster-healing h3 span { color: #a96d66; }

/* 照片占位三色呼应首页房间卡 */
.about-photo-grid .about-photo-placeholder:nth-child(1) {
  background: linear-gradient(160deg, rgba(213, 196, 224, 0.34), rgba(255, 252, 247, 0.85));
}

.about-photo-grid .about-photo-placeholder:nth-child(2) {
  background: linear-gradient(160deg, rgba(200, 209, 197, 0.4), rgba(255, 252, 247, 0.85));
}

.about-photo-grid .about-photo-placeholder:nth-child(3) {
  background: linear-gradient(160deg, rgba(226, 188, 192, 0.32), rgba(255, 252, 247, 0.85));
}

/* 开场标签四色微染 */
.about-hero-tags span:nth-child(1) { background: rgba(231, 207, 146, 0.22); border-color: rgba(180, 146, 98, 0.3); }
.about-hero-tags span:nth-child(2) { background: rgba(213, 196, 224, 0.28); border-color: rgba(166, 142, 188, 0.3); }
.about-hero-tags span:nth-child(3) { background: rgba(169, 187, 200, 0.26); border-color: rgba(120, 144, 162, 0.3); }
.about-hero-tags span:nth-child(4) { background: rgba(200, 209, 197, 0.32); border-color: rgba(140, 158, 137, 0.3); }

/* 拱形照片框添薰衣草晨雾 */
.about-arch-frame {
  background:
    radial-gradient(circle at 50% 22%, rgba(231, 207, 146, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(213, 196, 224, 0.44), rgba(245, 222, 226, 0.4) 55%, rgba(247, 238, 230, 0.72));
}

/* 时间线节点随阶段渐变色：紫→金 */
.about-path li:nth-child(1) .about-path-mark { color: #8d6fae; border-color: rgba(166, 142, 188, 0.4); }
.about-path li:nth-child(2) .about-path-mark { color: #7890a2; border-color: rgba(120, 144, 162, 0.4); }
.about-path li:nth-child(3) .about-path-mark { color: #6f8a6b; border-color: rgba(140, 158, 137, 0.42); }
.about-path li:nth-child(4) .about-path-mark { color: #a96d66; border-color: rgba(186, 139, 134, 0.4); }
.about-path li:nth-child(5) .about-path-mark { color: #a87f43; border-color: rgba(180, 146, 98, 0.42); }
.about-path li:nth-child(6) .about-path-mark { color: var(--gold); border-color: var(--gold); background: rgba(231, 207, 146, 0.18); }

/* CTA 升温：玫瑰金晨光 */
.about-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(231, 207, 146, 0.2), transparent 52%),
    linear-gradient(160deg, rgba(226, 188, 192, 0.22), rgba(213, 196, 224, 0.18) 60%, var(--panel));
}

/* ===== Gesture Ritual Upgrade (feature/gesture-upgrade-claude) ===== */

.gesture-overlay .gesture-webcam {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  z-index: 0;
  filter: saturate(0.5) brightness(0.4) contrast(1.06) hue-rotate(10deg) blur(2.5px);
  pointer-events: none;
}

body.is-gesture-overlay-open .gesture-shell {
  position: relative;
  z-index: 2;
}

body.is-gesture-overlay-open .gesture-overlay {
  background:
    radial-gradient(circle at 50% 110%, rgba(183, 146, 191, 0.3), transparent 52%),
    radial-gradient(circle at 18% 8%, rgba(228, 202, 218, 0.16), transparent 34%),
    radial-gradient(ellipse at 50% 50%, rgba(26, 18, 34, 0.18) 38%, rgba(20, 13, 28, 0.82) 100%),
    linear-gradient(160deg, rgba(26, 18, 34, 0.62), rgba(54, 36, 62, 0.55));
  backdrop-filter: none;
}

body.is-gesture-overlay-open .gesture-shell {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 247, 232, 0.1), transparent 44%),
    linear-gradient(150deg, rgba(37, 32, 42, 0.62), rgba(62, 48, 70, 0.55));
  backdrop-filter: blur(6px);
  border-color: rgba(236, 217, 181, 0.3);
}

.gesture-particle-canvas.is-gesture-live {
  z-index: 92;
  opacity: 0.95;
}

/* 9-card arc fan */
.gesture-card-belt {
  grid-template-columns: repeat(9, minmax(40px, 118px));
  gap: clamp(4px, 1vw, 12px);
  perspective: 1100px;
  width: min(1020px, 100%);
}

.gesture-card-shell {
  transition:
    opacity 300ms ease,
    transform 300ms cubic-bezier(0.22, 0.8, 0.3, 1),
    filter 300ms ease;
}

.gesture-card-shell[data-offset="-4"],
.gesture-card-shell[data-offset="4"] {
  opacity: 0.18;
  transform: translateY(58px) rotate(0deg) scale(0.6);
}

.gesture-card-shell[data-offset="-4"] { transform: translateY(58px) rotate(-16deg) scale(0.6); }
.gesture-card-shell[data-offset="4"] { transform: translateY(58px) rotate(16deg) scale(0.6); }

.gesture-card-shell[data-offset="-3"] { opacity: 0.3; transform: translateY(38px) rotate(-12deg) scale(0.66); }
.gesture-card-shell[data-offset="3"] { opacity: 0.3; transform: translateY(38px) rotate(12deg) scale(0.66); }

.gesture-card-shell[data-offset="-2"] { opacity: 0.48; transform: translateY(22px) rotate(-8deg) scale(0.74); }
.gesture-card-shell[data-offset="2"] { opacity: 0.48; transform: translateY(22px) rotate(8deg) scale(0.74); }

.gesture-card-shell[data-offset="-1"] { opacity: 0.74; transform: translateY(9px) rotate(-4deg) scale(0.86); }
.gesture-card-shell[data-offset="1"] { opacity: 0.74; transform: translateY(9px) rotate(4deg) scale(0.86); }

.gesture-card-shell.is-selected {
  opacity: 1;
  transform: translateY(-24px) scale(1.05);
  filter:
    drop-shadow(0 26px 50px rgba(18, 12, 26, 0.5))
    drop-shadow(0 0 38px rgba(219, 198, 145, 0.34));
  animation: gestureSelectedBreathe 2.2s ease-in-out infinite alternate;
}

@keyframes gestureSelectedBreathe {
  from {
    filter:
      drop-shadow(0 26px 50px rgba(18, 12, 26, 0.5))
      drop-shadow(0 0 26px rgba(219, 198, 145, 0.24));
  }
  to {
    filter:
      drop-shadow(0 26px 50px rgba(18, 12, 26, 0.5))
      drop-shadow(0 0 52px rgba(231, 207, 146, 0.5));
  }
}

.gesture-card-shell.is-confirmed {
  animation: gestureCardConfirm 430ms cubic-bezier(0.3, 0.6, 0.3, 1) forwards;
  z-index: 4;
}

@keyframes gestureCardConfirm {
  0% { transform: translateY(-24px) scale(1.05); opacity: 1; }
  55% { transform: translateY(-90px) scale(1.22); opacity: 1; filter: drop-shadow(0 0 70px rgba(245, 226, 178, 0.85)) brightness(1.5); }
  100% { transform: translateY(-150px) scale(0.5); opacity: 0; }
}

/* confirm meter: golden glow */
.gesture-confirm-meter span,
.gesture-confirm-meter [data-gesture-confirm-fill] {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(231, 207, 146, 0.85), rgba(245, 226, 178, 1));
  box-shadow: 0 0 18px rgba(231, 207, 146, 0.7);
  transition: width 80ms linear;
}

/* first-time guide */
.gesture-guide {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 15, 30, 0.82);
  backdrop-filter: blur(12px);
  animation: gestureGuideIn 360ms ease both;
}

.gesture-guide.is-leaving {
  animation: gestureGuideOut 320ms ease both;
}

@keyframes gestureGuideIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gestureGuideOut { from { opacity: 1; } to { opacity: 0; } }

.gesture-guide-card {
  display: grid;
  gap: 18px;
  width: min(430px, 92%);
  padding: clamp(26px, 5vw, 38px);
  text-align: center;
  border: 1px solid rgba(236, 217, 181, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(231, 207, 146, 0.12), transparent 52%),
    linear-gradient(160deg, rgba(40, 32, 48, 0.96), rgba(58, 44, 66, 0.96));
  color: #fff9ec;
  box-shadow: 0 30px 80px rgba(20, 12, 30, 0.55);
}

.gesture-guide-card h4 {
  margin: 0;
  font-family: var(--font-display), var(--font-serif);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 500;
}

.gesture-guide-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
}

.gesture-guide-card li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gesture-guide-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  font-size: 22px;
  border-radius: 50%;
  background: rgba(236, 217, 181, 0.12);
  border: 1px solid rgba(236, 217, 181, 0.28);
}

.gesture-guide-icon-move { animation: gestureHintMove 1.6s ease-in-out infinite; }
.gesture-guide-icon-wave { animation: gestureHintWave 1.8s ease-in-out infinite; }
.gesture-guide-icon-fist { animation: gestureHintFist 1.8s ease-in-out infinite; }

@keyframes gestureHintMove {
  0%, 100% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
}

@keyframes gestureHintWave {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(12deg); }
}

@keyframes gestureHintFist {
  0%, 64%, 100% { transform: scale(1); }
  80% { transform: scale(0.84); }
}

.gesture-guide-start {
  justify-self: center;
  padding: 12px 34px;
  border: 1px solid rgba(236, 217, 181, 0.5);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(231, 207, 146, 0.9), rgba(214, 178, 200, 0.9));
  color: #2a2230;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gesture-guide-start:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(231, 207, 146, 0.35);
}

@media (max-width: 720px) {
  .gesture-card-belt {
    grid-template-columns: repeat(9, minmax(26px, 64px));
    gap: 3px;
  }

  .gesture-card-shell .gesture-card-back {
    min-height: 128px;
  }

  .gesture-shell {
    grid-template-rows: auto minmax(300px, 1fr) auto auto auto;
    min-height: min(86vh, 700px);
  }
}

body.is-gesture-overlay-open .site-header,
body.is-gesture-overlay-open header,
body.is-gesture-overlay-open .tarot-section-nav {
  visibility: hidden;
}

/* ===== Gesture Ritual Polish v2 — 月下神谕精修 ===== */

.gesture-overlay {
  --r-ink: #120b1d;
  --r-gold: #e7cf92;
  --r-gold-dim: rgba(231, 207, 146, 0.34);
  --r-lav: #cdb2e5;
  --r-lav-dim: rgba(205, 178, 229, 0.4);
  --r-text: #f5eedf;
}

body.is-gesture-overlay-open .gesture-overlay::before,
body.is-gesture-overlay-open .gesture-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 50%;
  width: 2px;
  height: 2px;
  left: -2px;
  top: -2px;
  background: transparent;
  box-shadow:
    18vw 12vh 0 0.5px rgba(245, 238, 223, 0.5),
    36vw 6vh 0 0 rgba(205, 178, 229, 0.42),
    64vw 14vh 0 1px rgba(231, 207, 146, 0.4),
    82vw 9vh 0 0 rgba(245, 238, 223, 0.34),
    8vw 38vh 0 0 rgba(205, 178, 229, 0.36),
    92vw 30vh 0 0.5px rgba(245, 238, 223, 0.46),
    74vw 44vh 0 0 rgba(231, 207, 146, 0.3),
    12vw 66vh 0 0.5px rgba(245, 238, 223, 0.4),
    30vw 84vh 0 0 rgba(205, 178, 229, 0.36),
    56vw 90vh 0 0.5px rgba(245, 238, 223, 0.42),
    88vw 76vh 0 0 rgba(231, 207, 146, 0.36),
    44vw 4vh 0 0 rgba(245, 238, 223, 0.3);
  animation: gestureTwinkle 5.5s ease-in-out infinite alternate;
}

body.is-gesture-overlay-open .gesture-overlay::after {
  box-shadow:
    24vw 22vh 0 0 rgba(245, 238, 223, 0.3),
    52vw 18vh 0 0.5px rgba(205, 178, 229, 0.4),
    78vw 24vh 0 0 rgba(245, 238, 223, 0.36),
    6vw 52vh 0 0 rgba(231, 207, 146, 0.32),
    94vw 56vh 0 0.5px rgba(205, 178, 229, 0.34),
    20vw 92vh 0 0 rgba(245, 238, 223, 0.36),
    68vw 82vh 0 0.5px rgba(245, 238, 223, 0.3),
    40vw 70vh 0 0 rgba(205, 178, 229, 0.3);
  animation-delay: 2.7s;
  animation-duration: 7s;
}

@keyframes gestureTwinkle {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.gesture-stage {
  position: relative;
}

.gesture-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(72vmin, 620px);
  height: min(72vmin, 620px);
  margin: calc(min(72vmin, 620px) / -2) 0 0 calc(min(72vmin, 620px) / -2);
  border: 1px dashed var(--r-gold-dim);
  border-radius: 50%;
  pointer-events: none;
  animation: gestureRingSpin 110s linear infinite;
}

.gesture-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(52vmin, 440px);
  height: min(52vmin, 440px);
  margin: calc(min(52vmin, 440px) / -2) 0 0 calc(min(52vmin, 440px) / -2);
  border: 1px solid rgba(205, 178, 229, 0.16);
  border-radius: 50%;
  pointer-events: none;
  animation: gestureRingSpin 160s linear infinite reverse;
}

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

/* 入场编排：牌从中心逐张发出 */
.gesture-stage.is-entering .gesture-card-shell .gesture-card-back {
  animation: gestureDealIn 620ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.gesture-stage.is-entering .gesture-card-shell[data-offset="0"] .gesture-card-back { animation-delay: 60ms; }
.gesture-stage.is-entering .gesture-card-shell[data-offset="-1"] .gesture-card-back,
.gesture-stage.is-entering .gesture-card-shell[data-offset="1"] .gesture-card-back { animation-delay: 150ms; }
.gesture-stage.is-entering .gesture-card-shell[data-offset="-2"] .gesture-card-back,
.gesture-stage.is-entering .gesture-card-shell[data-offset="2"] .gesture-card-back { animation-delay: 240ms; }
.gesture-stage.is-entering .gesture-card-shell[data-offset="-3"] .gesture-card-back,
.gesture-stage.is-entering .gesture-card-shell[data-offset="3"] .gesture-card-back { animation-delay: 330ms; }
.gesture-stage.is-entering .gesture-card-shell[data-offset="-4"] .gesture-card-back,
.gesture-stage.is-entering .gesture-card-shell[data-offset="4"] .gesture-card-back { animation-delay: 420ms; }

@keyframes gestureDealIn {
  from {
    opacity: 0;
    transform: translateY(46px) scale(0.72);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 排版：纤细大字距的仪式标题 */
.gesture-overlay-heading .eyebrow {
  color: var(--r-gold-dim);
  font-size: 11px;
  letter-spacing: 0.46em;
}

.gesture-overlay-heading h3 {
  font-family: var(--font-display), var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 4.6vw, 40px);
  letter-spacing: 0.14em;
  color: var(--r-text);
  margin: 6px 0 2px;
}

.gesture-overlay-heading [data-gesture-progress] {
  color: var(--r-lav-dim);
  font-size: 12.5px;
  letter-spacing: 0.22em;
}

/* 状态行：主状态金色衬线居中感 */
.gesture-status-row [data-gesture-mode] {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--r-gold);
  letter-spacing: 0.06em;
}

.gesture-status-row [data-gesture-card-status] {
  font-size: 11.5px;
  color: var(--r-lav-dim);
  letter-spacing: 0.14em;
}

.gesture-privacy-note {
  color: rgba(245, 238, 223, 0.34);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* 帮助胶囊：幽灵描边，金色只留给主角 */
.gesture-help span {
  border: 1px solid rgba(205, 178, 229, 0.22);
  background: transparent;
  color: var(--r-lav);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 7px 16px;
  border-radius: 999px;
}

.gesture-exit {
  border: 1px solid var(--r-gold-dim);
  background: transparent;
  color: var(--r-gold);
  letter-spacing: 0.12em;
  transition: background 200ms ease, color 200ms ease;
}

.gesture-exit:hover {
  background: rgba(231, 207, 146, 0.14);
}

/* 内框装饰线统一金色微光 */
body.is-gesture-overlay-open .gesture-shell::before {
  border-color: rgba(231, 207, 146, 0.16);
}

/* 非选中牌降噪：去暖粉描边，让金色只属于选中牌 */
.gesture-card-shell:not(.is-selected) .gesture-card-back {
  box-shadow:
    0 0 0 6px rgba(205, 178, 229, 0.08),
    0 14px 36px rgba(12, 8, 20, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .gesture-stage::before,
  .gesture-stage::after,
  body.is-gesture-overlay-open .gesture-overlay::before,
  body.is-gesture-overlay-open .gesture-overlay::after,
  .gesture-card-shell.is-selected {
    animation: none;
  }
}

/* ===== Gesture Ritual v3 — 去盒化 + 流体牌扇 ===== */

/* 杀掉盒中盒：仪式空间全屏无边框 */
body.is-gesture-overlay-open .gesture-shell {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  width: min(1240px, 100%);
}

body.is-gesture-overlay-open .gesture-shell::before {
  display: none;
}

body.is-gesture-overlay-open .gesture-stage {
  border: none;
  background: transparent;
  box-shadow: none;
}

/* 流体牌扇：绝对定位画布 */
.gesture-card-belt {
  display: block;
  position: relative;
  width: 100%;
  height: clamp(300px, 46vh, 440px);
}

.gesture-card-shell {
  position: absolute;
  left: 50%;
  top: 52%;
  width: clamp(96px, 12.5vw, 148px);
  aspect-ratio: 0.62;
  margin: 0;
  opacity: 0;
  transition:
    transform 240ms cubic-bezier(0.25, 0.8, 0.3, 1),
    opacity 240ms ease;
  will-change: transform, opacity;
}

/* 牌背重塑：去掉奶油粉粗框，金丝细边融入夜空 */
.gesture-card-back {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border: 1px solid rgba(231, 207, 146, 0.4) !important;
  border-radius: 10px;
  box-shadow:
    inset 0 0 22px rgba(12, 8, 20, 0.35),
    0 18px 44px rgba(10, 6, 18, 0.55) !important;
}

.gesture-card-shell.is-selected .gesture-card-back {
  border-color: rgba(231, 207, 146, 0.9) !important;
  box-shadow:
    inset 0 0 14px rgba(231, 207, 146, 0.12),
    0 24px 60px rgba(10, 6, 18, 0.6),
    0 0 44px rgba(231, 207, 146, 0.32) !important;
}

/* 居中典仪式构图 */
body.is-gesture-overlay-open .gesture-overlay-heading {
  text-align: center;
}

body.is-gesture-overlay-open .gesture-status-row {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}

body.is-gesture-overlay-open .gesture-help {
  justify-content: center;
}

body.is-gesture-overlay-open .gesture-privacy-note {
  text-align: center;
}

/* 确认进度条居中收窄 */
body.is-gesture-overlay-open .gesture-confirm-meter {
  width: min(300px, 60%);
  height: 5px;
  background: rgba(245, 238, 223, 0.1);
}

body.is-gesture-overlay-open .gesture-status-row p {
  width: 100%;
  text-align: center;
  margin: 0;
}

/* 加深纱幕 + 底部文字区暗渐变，保证仪式文字永远清晰 */
.gesture-overlay .gesture-webcam {
  filter: saturate(0.42) brightness(0.3) contrast(1.05) hue-rotate(12deg) blur(3px);
}

body.is-gesture-overlay-open .gesture-overlay {
  background:
    linear-gradient(180deg, rgba(18, 11, 29, 0.55) 0%, rgba(18, 11, 29, 0.18) 26%, rgba(18, 11, 29, 0.2) 62%, rgba(14, 9, 24, 0.78) 100%),
    radial-gradient(circle at 50% 110%, rgba(183, 146, 191, 0.26), transparent 52%),
    radial-gradient(ellipse at 50% 50%, rgba(18, 11, 29, 0.12) 40%, rgba(13, 8, 22, 0.7) 100%);
}

body.is-gesture-overlay-open .gesture-status-row {
  justify-content: center;
  grid-template-columns: minmax(0, auto);
}

/* ===== Gesture Ritual v4 — 万能指针 + 画中画 + 深空虚空 ===== */

/* 摄像头从全屏背景改为右上画中画（参考但超越竞品） */
.gesture-overlay .gesture-webcam {
  position: absolute;
  inset: auto;
  top: 18px;
  left: 18px;
  width: clamp(120px, 14vw, 190px);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(231, 207, 146, 0.4);
  box-shadow: 0 14px 40px rgba(8, 5, 16, 0.6);
  filter: saturate(0.55) brightness(0.6) contrast(1.05);
  opacity: 0.9;
  z-index: 3;
}

.gesture-overlay.is-pointer-only .gesture-webcam {
  display: none;
}

/* 纯净深空虚空底 */
body.is-gesture-overlay-open .gesture-overlay {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(62, 44, 84, 0.4), transparent 58%),
    radial-gradient(circle at 50% 115%, rgba(183, 146, 191, 0.2), transparent 50%),
    linear-gradient(180deg, #0e0918 0%, #150e22 48%, #0b0714 100%);
  cursor: none;
}

body.is-gesture-overlay-open .gesture-overlay .gesture-exit,
body.is-gesture-overlay-open .gesture-overlay .gesture-guide-start {
  cursor: pointer;
}

/* 触屏防滚动 */
body.is-gesture-overlay-open .gesture-overlay {
  touch-action: none;
}

@media (max-width: 720px) {
  .gesture-overlay .gesture-webcam {
    width: 104px;
    top: 12px;
    left: 12px;
  }
}


/* PiP 点击隐藏 */
.gesture-overlay .gesture-webcam {
  cursor: pointer;
  pointer-events: auto;
}

.gesture-overlay.is-pip-hidden .gesture-webcam {
  opacity: 0;
  pointer-events: none;
}

.gesture-shuffle-btn {
  justify-self: center;
  margin: 0 auto;
  padding: 8px 26px;
  border: 1px solid rgba(231, 207, 146, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #e7cf92;
  font-size: 13px;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.gesture-shuffle-btn:hover {
  background: rgba(231, 207, 146, 0.12);
  transform: translateY(-1px);
}

.gesture-shuffle-btn:active {
  transform: scale(0.97);
}

/* ===== 身心灵服务页美化 v2 (feature/workshop-polish-claude) ===== */

/* 服务色彩身份: 蜡烛=鎏金 灵气=薄荷 SRT=薰衣草 水晶=雾粉 */
.workshop-card-candle {
  background: linear-gradient(155deg, rgba(231, 207, 146, 0.26), rgba(255, 252, 247, 0.92) 58%);
  border-color: rgba(180, 146, 98, 0.32);
}

.workshop-card-reiki {
  background: linear-gradient(155deg, rgba(200, 209, 197, 0.4), rgba(255, 252, 247, 0.92) 58%);
  border-color: rgba(140, 158, 137, 0.34);
}

.workshop-card-srt {
  background: linear-gradient(155deg, rgba(213, 196, 224, 0.34), rgba(255, 252, 247, 0.92) 58%);
  border-color: rgba(166, 142, 188, 0.3);
}

.workshop-card-crystal {
  background: linear-gradient(155deg, rgba(226, 188, 192, 0.32), rgba(255, 252, 247, 0.92) 58%);
  border-color: rgba(186, 139, 134, 0.32);
}

/* 图标徽章: 同色系大圆章 */
.workshop-service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 10px 26px rgba(71, 45, 42, 0.1);
}

.workshop-card-candle .workshop-service-icon { color: #a87f43; border-color: rgba(180, 146, 98, 0.45); }
.workshop-card-reiki .workshop-service-icon { color: #6f8a6b; border-color: rgba(140, 158, 137, 0.45); }
.workshop-card-srt .workshop-service-icon { color: #8d6fae; border-color: rgba(166, 142, 188, 0.45); }
.workshop-card-crystal .workshop-service-icon { color: #a96d66; border-color: rgba(186, 139, 134, 0.45); }

/* 标签胶囊随卡片同色系 */
.workshop-card-candle .workshop-tags span { background: rgba(231, 207, 146, 0.2); border-color: rgba(180, 146, 98, 0.3); }
.workshop-card-reiki .workshop-tags span { background: rgba(200, 209, 197, 0.32); border-color: rgba(140, 158, 137, 0.32); }
.workshop-card-srt .workshop-tags span { background: rgba(213, 196, 224, 0.26); border-color: rgba(166, 142, 188, 0.3); }
.workshop-card-crystal .workshop-tags span { background: rgba(226, 188, 192, 0.26); border-color: rgba(186, 139, 134, 0.3); }

/* "适合的人"升级为情感钩子: 衬线斜体+同色竖线 */
.workshop-service-card small {
  display: block;
  margin-top: 14px;
  padding: 4px 0 4px 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink);
  border-left: 2px solid var(--gold);
}

.workshop-card-candle small { border-left-color: #a87f43; }
.workshop-card-reiki small { border-left-color: #6f8a6b; }
.workshop-card-srt small { border-left-color: #8d6fae; }
.workshop-card-crystal small { border-left-color: #a96d66; }

/* 服务卡悬停轻浮 */
.workshop-service-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.workshop-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(71, 45, 42, 0.12);
}

/* Hero四色服务索引 */
.workshop-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.workshop-index a {
  padding: 9px 20px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.workshop-index a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(71, 45, 42, 0.12);
}

.workshop-index-candle { background: rgba(231, 207, 146, 0.24); border-color: rgba(180, 146, 98, 0.34) !important; }
.workshop-index-reiki { background: rgba(200, 209, 197, 0.36); border-color: rgba(140, 158, 137, 0.36) !important; }
.workshop-index-srt { background: rgba(213, 196, 224, 0.3); border-color: rgba(166, 142, 188, 0.34) !important; }
.workshop-index-crystal { background: rgba(226, 188, 192, 0.3); border-color: rgba(186, 139, 134, 0.34) !important; }

/* 信任带: 薰衣草晨雾横幅 */
.workshop-trust-band {
  background:
    radial-gradient(circle at 12% 0%, rgba(213, 196, 224, 0.3), transparent 52%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}

/* 咨询CTA: 玫瑰金晨光 居中仪式感 */
.workshop-consult-band {
  text-align: center;
  border: 1px solid rgba(180, 146, 98, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(231, 207, 146, 0.22), transparent 54%),
    linear-gradient(160deg, rgba(226, 188, 192, 0.2), rgba(213, 196, 224, 0.16) 62%, var(--panel));
}

.workshop-consult-band .primary-link {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 34px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(120deg, rgba(231, 207, 146, 0.92), rgba(214, 178, 200, 0.88));
  color: #2a2230;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.workshop-consult-band .primary-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(180, 146, 98, 0.26);
}

/* FAQ: 金边折叠卡 + ✦ 标记 */
.workshop-faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.85);
  padding: 4px 18px;
  margin-bottom: 10px;
  transition: border-color 200ms ease;
}

.workshop-faq details[open] {
  border-color: rgba(180, 146, 98, 0.4);
  background:
    radial-gradient(circle at 0% 0%, rgba(231, 207, 146, 0.12), transparent 46%),
    rgba(255, 252, 247, 0.95);
}

.workshop-faq summary {
  font-family: var(--font-serif);
  font-size: 15.5px;
  letter-spacing: 0.03em;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
}

.workshop-faq summary::-webkit-details-marker { display: none; }

.workshop-faq summary::before {
  content: "✦";
  margin-right: 10px;
  color: var(--gold);
  font-size: 12px;
}

@media (max-width: 720px) {
  .workshop-index a {
    padding: 8px 14px;
    font-size: 12.5px;
  }
}

/* 新增服务色彩身份: 仪式=玫瑰金 萨满=大地赭 */
.workshop-card-ritual {
  background: linear-gradient(155deg, rgba(197, 154, 143, 0.3), rgba(255, 252, 247, 0.92) 58%);
  border-color: rgba(170, 122, 110, 0.34);
}

.workshop-card-ritual .workshop-service-icon { color: #a4685a; border-color: rgba(170, 122, 110, 0.45); }
.workshop-card-ritual .workshop-tags span { background: rgba(197, 154, 143, 0.22); border-color: rgba(170, 122, 110, 0.3); }
.workshop-card-ritual small { border-left-color: #a4685a; }

.workshop-card-shaman {
  background: linear-gradient(155deg, rgba(176, 138, 94, 0.24), rgba(255, 252, 247, 0.92) 58%);
  border-color: rgba(150, 113, 72, 0.34);
}

.workshop-card-shaman .workshop-service-icon { color: #8f6a40; border-color: rgba(150, 113, 72, 0.45); }
.workshop-card-shaman .workshop-tags span { background: rgba(176, 138, 94, 0.18); border-color: rgba(150, 113, 72, 0.3); }
.workshop-card-shaman small { border-left-color: #8f6a40; }

.workshop-index-ritual { background: rgba(197, 154, 143, 0.26); border-color: rgba(170, 122, 110, 0.34) !important; }
.workshop-index-shaman { background: rgba(176, 138, 94, 0.2); border-color: rgba(150, 113, 72, 0.34) !important; }

/* ===== 联系支持页美化 (feature/workshop-polish-claude) ===== */

.contact-card {
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(71, 45, 42, 0.12);
}

.contact-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  font-size: 19px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, 0.92);
}

.contact-card-wechat {
  background: linear-gradient(155deg, rgba(200, 209, 197, 0.42), rgba(255, 252, 247, 0.94) 60%);
  border-color: rgba(140, 158, 137, 0.34);
}

.contact-card-wechat .contact-badge { color: #6f8a6b; border-color: rgba(140, 158, 137, 0.45); }

.contact-card-instagram {
  background: linear-gradient(155deg, rgba(226, 188, 192, 0.36), rgba(213, 196, 224, 0.24) 48%, rgba(255, 252, 247, 0.94) 72%);
  border-color: rgba(186, 139, 134, 0.34);
}

.contact-card-instagram .contact-badge { color: #a96d66; border-color: rgba(186, 139, 134, 0.45); }

.contact-card-whatsapp {
  background: linear-gradient(155deg, rgba(169, 187, 200, 0.34), rgba(255, 252, 247, 0.94) 60%);
  border-color: rgba(120, 144, 162, 0.34);
}

.contact-card-whatsapp .contact-badge { color: #5f7d92; border-color: rgba(120, 144, 162, 0.45); }

.contact-card-email {
  background: linear-gradient(155deg, rgba(231, 207, 146, 0.26), rgba(255, 252, 247, 0.94) 60%);
  border-color: rgba(180, 146, 98, 0.32);
}

.contact-card-email .contact-badge { color: #a87f43; border-color: rgba(180, 146, 98, 0.45); }

/* 微信号：衬线突出可读可抄 */
.contact-wechat-id {
  margin: 10px 0 14px;
  padding: 8px 16px;
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 15.5px;
  letter-spacing: 0.08em;
  color: #4a5e47;
  border: 1px dashed rgba(140, 158, 137, 0.5);
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.85);
}

/* 二维码：金丝相框 */
.contact-qr-frame {
  border: 1px solid rgba(180, 146, 98, 0.4);
  border-radius: 14px;
  padding: 8px;
  background: rgba(255, 252, 247, 0.95);
  box-shadow: 0 14px 36px rgba(71, 45, 42, 0.1);
}

.contact-qr-frame img {
  border-radius: 8px;
  display: block;
}

.contact-link {
  display: inline-block;
  margin-top: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 180ms ease, transform 180ms ease;
}

.contact-link:hover {
  background: rgba(231, 207, 146, 0.18);
  transform: translateY(-1px);
}

.contact-note {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(213, 196, 224, 0.18), transparent 50%),
    rgba(255, 252, 247, 0.85);
  color: var(--muted);
  font-size: 13.5px;
}

/* ===== 设置页美化 + 反馈卡迁移 (feature/workshop-polish-claude) ===== */

.settings-panel {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.settings-panel:hover {
  box-shadow: 0 20px 48px rgba(71, 45, 42, 0.1);
}

.settings-panel-deck {
  background: linear-gradient(155deg, rgba(231, 207, 146, 0.22), rgba(255, 252, 247, 0.94) 58%);
  border-color: rgba(180, 146, 98, 0.3);
}

.settings-language-panel {
  background: linear-gradient(155deg, rgba(169, 187, 200, 0.28), rgba(255, 252, 247, 0.94) 58%);
  border-color: rgba(120, 144, 162, 0.3);
}

.settings-install-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(213, 196, 224, 0.28), transparent 45%),
    linear-gradient(150deg, rgba(231, 207, 146, 0.24), rgba(255, 252, 247, 0.96) 58%);
  border-color: rgba(166, 142, 188, 0.34);
}

.pwa-install-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(181, 146, 98, 0.22);
  background: rgba(255, 250, 252, 0.62);
}

.pwa-install-preview img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(55, 35, 64, 0.16);
}

.pwa-install-preview strong,
.pwa-install-preview span {
  display: block;
}

.pwa-install-preview strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.pwa-install-preview span {
  color: var(--muted);
  line-height: 1.6;
}

.pwa-install-button {
  justify-self: start;
  min-width: min(280px, 100%);
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.settings-install-panel.is-installed .pwa-install-button,
.pwa-install-button:disabled {
  cursor: default;
  opacity: 0.76;
}

.pwa-ios-guide {
  border-top: 1px solid rgba(114, 91, 88, 0.12);
  padding-top: 14px;
}

.pwa-ios-guide p {
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 600;
}

.pwa-ios-guide ol {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.8;
}

/* 牌背选项：选中金环呼吸 + 悬停轻浮 */
.settings-card-back-options .card-back-option {
  border-radius: 12px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.settings-card-back-options .card-back-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(71, 45, 42, 0.16);
}

.settings-card-back-options .card-back-option.is-active,
.settings-card-back-options .card-back-option[aria-pressed="true"] {
  box-shadow:
    0 0 0 2px var(--gold),
    0 0 22px rgba(231, 207, 146, 0.45);
}

/* 语言按钮精修 */
.settings-language-options button {
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.settings-language-options button:hover {
  transform: translateY(-1px);
}

/* 联系页反馈卡：薰衣草信笺 */
.contact-feedback-panel {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(166, 142, 188, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(213, 196, 224, 0.26), transparent 50%),
    rgba(255, 252, 247, 0.94);
}

.contact-feedback-panel .feedback-form button[type="submit"] {
  padding: 11px 30px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(120deg, rgba(231, 207, 146, 0.92), rgba(214, 178, 200, 0.88));
  color: #2a2230;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-feedback-panel .feedback-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(180, 146, 98, 0.25);
}

@media (max-width: 720px) {
  .settings-card-back-options {
    gap: 10px;
  }
}

/* ===== 讨论页美化 (feature/workshop-polish-claude) ===== */

/* 帖子卡：白卡+悬停轻浮+金线左缘 */
.discussion-post-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
  background: rgba(255, 252, 247, 0.92);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  cursor: pointer;
}

.discussion-post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 146, 98, 0.4);
  box-shadow: 0 18px 44px rgba(71, 45, 42, 0.1);
}

.discussion-post-card h2 {
  font-family: var(--font-serif);
  font-size: 17px;
  margin: 8px 0 4px;
  letter-spacing: 0.02em;
}

/* 分类元信息chips */
.discussion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discussion-meta span {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(166, 142, 188, 0.3);
  background: rgba(213, 196, 224, 0.22);
  color: #6d5687;
}

.discussion-meta span:first-child {
  border-color: rgba(180, 146, 98, 0.35);
  background: rgba(231, 207, 146, 0.2);
  color: #8a6a36;
}

.discussion-card-footer {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 14px;
}

/* 空状态：温柔邀请 */
.discussion-empty {
  text-align: center;
  padding: 56px 20px;
  border: 1px dashed rgba(180, 146, 98, 0.35);
  border-radius: 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 0%, rgba(231, 207, 146, 0.1), transparent 55%),
    rgba(255, 252, 247, 0.7);
}

.discussion-empty::before {
  content: "☾";
  display: block;
  font-size: 30px;
  font-style: normal;
  color: var(--gold);
  margin-bottom: 12px;
}

/* 状态提示条 */
.discussion-status:not(:empty) {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(166, 142, 188, 0.3);
  background: rgba(213, 196, 224, 0.18);
  font-size: 13px;
  color: var(--muted);
}

/* 加载更多：修复窄宽竖排，居中药丸 */
.discussion-more {
  display: block;
  margin: 18px auto 0;
  min-width: 160px;
  white-space: nowrap;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid rgba(180, 146, 98, 0.4);
  letter-spacing: 0.12em;
  transition: background 180ms ease, transform 180ms ease;
}

.discussion-more:hover {
  background: rgba(231, 207, 146, 0.16);
  transform: translateY(-1px);
}

/* 发帖表单：薰衣草信笺 */
.discussion-compose {
  border: 1px solid rgba(166, 142, 188, 0.32);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 30px);
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(213, 196, 224, 0.24), transparent 50%),
    rgba(255, 252, 247, 0.95);
}

/* 详情面板 */
.discussion-detail {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 30px);
  background: rgba(255, 252, 247, 0.95);
}

@media (max-width: 720px) {
  .discussion-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ===== 使用指南页美化 (feature/workshop-polish-claude) ===== */

/* 四步骤：月相色阶圆章 + 连线 */
.guide-steps li {
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.guide-steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(71, 45, 42, 0.1);
}

.guide-steps li span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--font-display), var(--font-serif);
  font-size: 17px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, 0.95);
}

.guide-steps li:nth-child(1) span { color: #8d6fae; border-color: rgba(166, 142, 188, 0.45); background: rgba(213, 196, 224, 0.24); }
.guide-steps li:nth-child(2) span { color: #5f7d92; border-color: rgba(120, 144, 162, 0.45); background: rgba(169, 187, 200, 0.22); }
.guide-steps li:nth-child(3) span { color: #6f8a6b; border-color: rgba(140, 158, 137, 0.45); background: rgba(200, 209, 197, 0.26); }
.guide-steps li:nth-child(4) span { color: #a87f43; border-color: rgba(180, 146, 98, 0.45); background: rgba(231, 207, 146, 0.22); }

/* 提问公式卡：鎏金洗染 + 公式chips带加号 */
.guide-formula-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(231, 207, 146, 0.2), transparent 50%),
    rgba(255, 252, 247, 0.94);
  border: 1px solid rgba(180, 146, 98, 0.32);
  border-radius: 18px;
}

.guide-formula-parts span {
  border: 1px solid rgba(180, 146, 98, 0.35);
  background: rgba(231, 207, 146, 0.18);
  color: #8a6a36;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.guide-formula-parts span:not(:last-child)::after {
  content: " ＋";
  color: var(--gold);
  margin-left: 8px;
}

/* 正反例：宽泛=雾粉弱化 更清楚=薄荷强调 */
.guide-examples p {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.9);
  margin: 0 0 10px;
}

.guide-examples small {
  display: inline-block;
  min-width: 52px;
  margin-right: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.guide-examples span small {
  background: rgba(226, 188, 192, 0.3);
  color: #8d4f48;
}

.guide-examples span em {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(186, 139, 134, 0.5);
  text-decoration-thickness: 1px;
}

.guide-examples strong small {
  background: rgba(200, 209, 197, 0.4);
  color: #4a5e47;
}

.guide-examples strong em {
  font-style: normal;
  font-weight: 500;
}

/* 适合的问题：五类晨雾迷你卡 */
.guide-mini-grid article {
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: transform 200ms ease;
}

.guide-mini-grid article:hover { transform: translateY(-2px); }
.guide-mini-grid article:nth-child(1) { background: linear-gradient(155deg, rgba(226, 188, 192, 0.3), rgba(255, 252, 247, 0.92) 60%); }
.guide-mini-grid article:nth-child(2) { background: linear-gradient(155deg, rgba(169, 187, 200, 0.28), rgba(255, 252, 247, 0.92) 60%); }
.guide-mini-grid article:nth-child(3) { background: linear-gradient(155deg, rgba(231, 207, 146, 0.24), rgba(255, 252, 247, 0.92) 60%); }
.guide-mini-grid article:nth-child(4) { background: linear-gradient(155deg, rgba(200, 209, 197, 0.34), rgba(255, 252, 247, 0.92) 60%); }
.guide-mini-grid article:nth-child(5) { background: linear-gradient(155deg, rgba(213, 196, 224, 0.3), rgba(255, 252, 247, 0.92) 60%); }

/* 边界面板：温柔提醒卡 */
.guide-boundary-panel {
  border: 1px solid rgba(186, 139, 134, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(226, 188, 192, 0.22), transparent 52%),
    rgba(255, 252, 247, 0.94);
}

.guide-boundaries li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  line-height: 1.7;
}

.guide-boundaries li::before {
  content: "☽";
  position: absolute;
  left: 0;
  color: #a96d66;
  font-size: 13px;
}

/* FAQ分组标题 + 金边折叠卡（与全站FAQ统一） */
.guide-faq-group {
  margin: 26px 0 12px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.guide-faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.85);
  padding: 4px 18px;
  margin-bottom: 10px;
  transition: border-color 200ms ease;
}

.guide-faq details[open] {
  border-color: rgba(180, 146, 98, 0.4);
  background:
    radial-gradient(circle at 0% 0%, rgba(231, 207, 146, 0.12), transparent 46%),
    rgba(255, 252, 247, 0.95);
}

.guide-faq summary {
  font-family: var(--font-serif);
  font-size: 15.5px;
  letter-spacing: 0.03em;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
}

.guide-faq summary::-webkit-details-marker { display: none; }

.guide-faq summary::before {
  content: "✦";
  margin-right: 10px;
  color: var(--gold);
  font-size: 12px;
}

/* 页尾CTA药丸 */
.guide-cta .primary-link {
  display: inline-block;
  padding: 12px 36px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(120deg, rgba(231, 207, 146, 0.92), rgba(214, 178, 200, 0.88));
  color: #2a2230;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-cta .primary-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(180, 146, 98, 0.25);
}

/* ===== 关于页真实照片 (feature/workshop-polish-claude) ===== */

.about-arch-frame-photo {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.about-arch-frame-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: inherit;
}

.about-photo-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 14px 36px rgba(71, 45, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.about-photo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(71, 45, 42, 0.14);
}

.about-photo-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-photo-item figcaption {
  padding: 10px 16px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
}

/* 拱形照片框修复：绝对定位填充，杜绝图片撑破框体 */
.about-arch-frame-photo {
  position: relative;
}

.about-arch-frame-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: inherit;
}

/* 牌匾照完整显示不裁切 */
.about-photo-item-full img {
  aspect-ratio: auto;
  height: auto;
}

/* ===== 修行之路：全宽旅程线（桌面横排/移动竖排）feature/about-balance-claude ===== */

.about-path-journey {
  margin-top: clamp(26px, 4vw, 44px);
}

.about-profile-layout {
  align-items: start;
}

.about-photo-item-full img {
  max-height: 560px;
  object-fit: contain;
  background: rgba(20, 16, 30, 0.04);
}

@media (min-width: 880px) {
  .about-path-journey {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .about-path-journey li {
    display: block;
    padding: 0;
  }

  .about-path-journey li::before {
    top: 13px;
    left: 38px;
    right: -8px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), transparent);
  }

  .about-path-journey li:last-child::before {
    display: none;
  }

  .about-path-journey .about-path-mark {
    margin-bottom: 12px;
  }

  .about-path-journey strong {
    font-size: 14.5px;
  }

  .about-path-journey small {
    font-size: 12.5px;
    line-height: 1.65;
  }
}

/* 左卡贴合内容：去掉强制撑满与行拉伸 */
.about-lineage-card {
  min-height: 0;
  align-content: start;
}

/* ===== 履历区改单栏：文字→时间线→照片横排 (feature/about-resume-claude) ===== */

.about-photo-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  max-width: 1120px;
  margin: clamp(26px, 4vw, 44px) auto 0;
}

.about-photo-row .about-photo-item img {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: none;
  object-fit: cover;
}

@media (max-width: 620px) {
  .about-photo-row {
    grid-template-columns: 1fr;
  }
}

/* ===== 塔罗页移动优先减负 (feature/tarot-mobile-claude) ===== */

/* 建议chips：废除横滑，移动单列/桌面双列 */
.question-starter-list {
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-rows: none;
  grid-template-columns: 1fr;
  overflow-x: visible;
  padding: 2px 0 0;
  gap: 9px;
}

@media (min-width: 680px) {
  .question-starter-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.question-starter-list button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
  line-height: 1.5;
}

/* 输入卡是第一主角 */
.question-field textarea {
  font-size: 16px;
  line-height: 1.7;
}

/* AI识别横幅：未输入时隐身，输入后浮现 */
.question-insight.is-empty {
  display: none;
}

.question-insight {
  animation: insightIn 280ms ease both;
}

@keyframes insightIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 建议区降为配角：更轻的存在感 */
.question-starters {
  background: rgba(213, 196, 224, 0.14);
}

.question-starters .question-starters-copy span {
  font-size: 13.5px;
  color: #6d5687;
}

/* 移动端间距与层级收紧 */
@media (max-width: 680px) {
  .tarot-step-heading h3 {
    font-size: clamp(22px, 6vw, 26px);
  }

  .tarot-step-heading {
    margin-bottom: 12px;
  }

  .question-field,
  .question-starters,
  .question-insight {
    margin-bottom: 12px;
  }
}

/* ===== 追问区两路径卡 (feature/tarot-mobile-claude) ===== */

.follow-up-paths {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .follow-up-paths {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

.follow-up-path {
  border-radius: 16px;
  padding: clamp(16px, 3vw, 24px);
}

.follow-up-path h4 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  letter-spacing: 0.03em;
}

.follow-up-path-copy {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.follow-up-path-redraw {
  background: rgba(213, 196, 224, 0.16);
}

.follow-up-write-own {
  width: 100%;
  margin-top: 10px;
  padding: 10px 18px;
  border: 1px dashed rgba(166, 142, 188, 0.45);
  border-radius: 12px;
  background: rgba(255, 252, 247, 0.8);
  color: #6d5687;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.follow-up-write-own:hover {
  background: rgba(255, 252, 247, 1);
  transform: translateY(-1px);
}

/* 背景开关控件在重抽卡内的紧凑形态 */
.follow-up-path-redraw .follow-up-context-control {
  margin-bottom: 12px;
}

/* 联系页一键复制按钮 */
.contact-copy-btn {
  margin-left: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(181, 146, 98, 0.4);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.85);
  color: var(--gold);
  font-size: 0.78rem;
  cursor: pointer;
  vertical-align: middle;
}

.contact-copy-btn:hover {
  border-color: var(--gold);
}

/* 建议问题换一换按钮 */
.starter-shuffle-btn {
  margin-left: 10px;
  padding: 2px 12px;
  border: 1px solid rgba(154, 130, 192, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
}

.starter-shuffle-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* 解读后真人服务转化卡（026） */
/* 只在看结果步骤出现 */
body[data-tarot-flow-step="question"] .abby-service-card,
body[data-tarot-flow-step="spread"] .abby-service-card,
body[data-tarot-flow-step="draw"] .abby-service-card {
  display: none;
}

.abby-service-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 680px;
  margin: 18px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(181, 146, 98, 0.3);
  background:
    linear-gradient(135deg, rgba(247, 243, 252, 0.95), rgba(255, 248, 239, 0.88)),
    var(--panel);
  box-shadow: var(--shadow);
}

.abby-service-mark {
  font-size: 20px;
  color: var(--gold);
}

.abby-service-copy h3 {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-size: clamp(0.96rem, 1.5vw, 1.04rem);
}

.abby-service-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.abby-service-link {
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 0.86rem;
  border: 1px solid rgba(181, 146, 98, 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.92rem;
  text-decoration: none;
}

.abby-service-link:hover {
  border-color: var(--gold);
  background: rgba(231, 207, 146, 0.12);
}

@media (max-width: 620px) {
  .abby-service-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .abby-service-link {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* 027 牌面分享图 */
.share-card-row {
  margin-top: 18px;
}

.share-card-button {
  color: var(--gold);
}

.share-image-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 14, 28, 0.72);
  backdrop-filter: blur(4px);
}

.share-image-box {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: min(430px, 92vw);
  padding: 18px;
  border: 1px solid rgba(231, 207, 146, 0.35);
  border-radius: 16px;
  background: rgba(30, 22, 40, 0.96);
}

.share-image-box img {
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  border-radius: 8px;
}

.share-image-box p {
  margin: 0;
  color: rgba(244, 238, 230, 0.75);
  font-size: 0.85rem;
}

.share-image-actions {
  display: flex;
  gap: 10px;
}

.share-image-actions .quiet-button {
  color: var(--gold);
  border-color: rgba(231, 207, 146, 0.4);
  background: transparent;
  text-decoration: none;
  line-height: 38px;
}

/* 028 历史记录页二期 */
.archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0;
}

.archive-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.archive-filter-chip {
  padding: 5px 14px;
  border: 1px solid rgba(181, 146, 98, 0.3);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.8);
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.archive-filter-chip.is-selected {
  border-color: var(--gold);
  background: rgba(231, 207, 146, 0.18);
  color: var(--ink);
}

.archive-search {
  min-width: 200px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.9);
  font-size: 0.9rem;
}

.oracle-deep-badge {
  margin-left: 8px;
  padding: 2px 10px;
  border: 1px solid rgba(181, 146, 98, 0.4);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.oracle-hindsight {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(114, 91, 88, 0.14);
  font-size: 0.85rem;
  color: var(--muted);
}

.hindsight-pill {
  padding: 4px 14px;
  border: 1px solid rgba(154, 130, 192, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
}

.hindsight-pill.is-selected {
  border-color: var(--gold);
  background: rgba(231, 207, 146, 0.16);
  color: var(--ink);
}

.record-ask-again-button {
  padding: 6px 16px;
  border: 1px solid rgba(181, 146, 98, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font-size: 0.85rem;
  cursor: pointer;
  margin-right: 8px;
}

/* 抽牌方式双按钮：手势自己抽 */
.gesture-draw-button {
  white-space: nowrap;
  color: var(--gold);
  border-color: rgba(154, 130, 192, 0.4);
}

/* 品牌标志（拱门新月蜡烛） */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 30px;
}
