:root {
  --ink: #3c2e3e;
  --muted: #8d7c8d;
  --paper: #fffaf6;
  --white: #fffdfb;
  --line: #eadfe0;
  --rose: #e77989;
  --rose-deep: #c85e73;
  --lilac: #9a84bc;
  --mint: #a6cfc0;
  --sun: #f7c66d;
  --shadow: 0 24px 70px rgba(99, 65, 82, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 14% 20%, rgba(247, 198, 109, 0.13), transparent 23rem),
    radial-gradient(circle at 86% 70%, rgba(190, 165, 219, 0.12), transparent 28rem),
    linear-gradient(130deg, #fffaf6 0%, #fff8f4 48%, #fdf8fa 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.25;
  content: "";
  background-image: radial-gradient(rgba(88, 61, 79, 0.12) 0.65px, transparent 0.65px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

button, textarea { font: inherit; }
button { cursor: pointer; }

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.ambient-one {
  top: 24%;
  left: -5rem;
  width: 12rem;
  height: 12rem;
  background: rgba(249, 191, 200, 0.16);
}

.ambient-two {
  right: -4rem;
  bottom: 5%;
  width: 15rem;
  height: 15rem;
  background: rgba(184, 166, 224, 0.12);
}

body.is-thinking { overflow: hidden; }
body.is-access-denied .hero-grid,
body.is-access-denied .result-panel { display: none; }

.thinking-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  overflow: hidden;
  padding: 20px;
  place-items: center;
  background: rgba(53, 39, 57, 0.58);
  backdrop-filter: blur(9px);
  animation: overlay-in 320ms ease both;
}

.thinking-overlay::before,
.thinking-overlay::after {
  position: absolute;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.thinking-overlay::before {
  top: -18rem;
  left: -10rem;
  background: rgba(249, 191, 200, 0.2);
}

.thinking-overlay::after {
  right: -14rem;
  bottom: -19rem;
  background: rgba(184, 166, 224, 0.23);
}

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

.thought-stream {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.thought-pill {
  position: absolute;
  left: 100%;
  display: inline-block;
  width: max-content;
  padding: 9px 15px;
  color: rgba(255, 239, 230, 0.72);
  border: 1px solid rgba(255, 227, 218, 0.2);
  border-radius: 50px;
  background: rgba(255, 248, 244, 0.08);
  font-family: Georgia, "Songti SC", serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: thought-float 13s linear infinite;
}

.thought-pill-a { top: 15%; animation-delay: -8s; }
.thought-pill-b { top: 26%; animation-delay: -2s; animation-duration: 15s; }
.thought-pill-c { top: 72%; animation-delay: -10s; animation-duration: 14s; }
.thought-pill-d { top: 82%; animation-delay: -5s; animation-duration: 16s; }
.thought-pill-e { top: 38%; animation-delay: -12s; animation-duration: 18s; }

@keyframes thought-float {
  from { transform: translateX(0) rotate(-2deg); }
  to { transform: translateX(-145vw) rotate(2deg); }
}

.thinking-window {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(490px, 100%);
  min-height: 470px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 28px 35px;
  overflow: hidden;
  border: 1px solid rgba(255, 232, 221, 0.52);
  border-radius: 28px 72px 28px 72px;
  background:
    radial-gradient(circle at 50% 17%, rgba(255, 214, 165, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(72, 48, 76, 0.96), rgba(101, 66, 91, 0.96));
  box-shadow: 0 30px 100px rgba(26, 14, 32, 0.38), inset 0 0 0 1px rgba(255, 248, 238, 0.07);
  text-align: center;
}

.thinking-window::before {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 225, 211, 0.13);
  border-radius: 20px 59px 20px 59px;
  content: "";
  pointer-events: none;
}

.guide-stage {
  position: relative;
  width: 165px;
  height: 165px;
  margin-bottom: 22px;
}

.guide-orbit {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 227, 182, 0.34);
  border-radius: 50%;
  transform: rotate(30deg) scaleY(0.42);
  animation: orbit-spin 6s linear infinite;
}

.guide-orbit::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 12px rgba(247, 198, 109, 0.9);
  content: "";
}

.orbit-two { inset: 20px -5px; transform: rotate(-37deg) scaleY(0.44); animation-direction: reverse; animation-duration: 8s; }

@keyframes orbit-spin { to { transform: rotate(390deg) scaleY(0.42); } }

.guide-icon {
  position: absolute;
  inset: 20px;
  width: 125px;
  height: 125px;
  overflow: visible;
  animation: guide-float 3.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 12px rgba(30, 15, 35, 0.25));
}

@keyframes guide-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.guide-halo { fill: rgba(255, 227, 181, 0.12); stroke: rgba(255, 234, 205, 0.42); stroke-width: 1; }
.guide-bubble { fill: #30213a; stroke: #f0b5aa; stroke-width: 1.1; }
.guide-line, .guide-connect { fill: none; stroke: #f3c7ad; stroke-linecap: round; stroke-width: 2; }
.guide-connect { stroke: #bc8eae; stroke-width: 1.4; }
.guide-node { fill: #f3b77a; stroke: #ffe5bd; stroke-width: 1.2; }
.guide-heart { fill: #d86878; stroke: #fff0c8; stroke-width: 1.2; }

.guide-spark { position: absolute; color: #ffe4ae; font-family: Georgia, serif; }
.spark-left { top: 24px; left: 8px; font-size: 21px; animation: sparkle 1.9s ease-in-out infinite; }
.spark-right { right: 8px; bottom: 27px; color: #f3b4b0; font-size: 25px; animation: sparkle 2.4s 0.4s ease-in-out infinite; }

@keyframes sparkle { 0%, 100% { opacity: 0.4; transform: scale(0.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(12deg); } }

.thinking-kicker { position: relative; z-index: 1; color: #f5beb4; font-size: 9px; font-weight: 700; letter-spacing: 0.24em; }
.thinking-window h2 { position: relative; z-index: 1; margin: 14px 0 13px; color: #fff5e9; font-family: Georgia, "Songti SC", serif; font-size: clamp(23px, 4vw, 29px); font-weight: 400; letter-spacing: -0.04em; }
.thinking-caption { position: relative; z-index: 1; min-height: 23px; margin: 0; color: rgba(255, 240, 226, 0.73); font-size: 12px; line-height: 1.8; }
.caption-change { animation: caption-change 500ms ease both; }

@keyframes caption-change { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.thinking-progress { position: relative; z-index: 1; width: min(230px, 80%); height: 3px; margin: 27px 0 19px; overflow: hidden; border-radius: 10px; background: rgba(255, 230, 214, 0.16); }
.thinking-progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f2a4a7, #ffd993); animation: progress-drift 2.4s ease-in-out infinite; }

@keyframes progress-drift { 0% { transform: translateX(-110%); } 50% { transform: translateX(135%); } 100% { transform: translateX(260%); } }

.thinking-footnote { position: relative; z-index: 1; color: rgba(255, 226, 215, 0.44); font-size: 10px; }

.app-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  border-bottom: 1px solid rgba(222, 207, 208, 0.7);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand strong {
  display: block;
  font-family: Georgia, "Songti SC", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 37px;
  height: 37px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(60, 46, 62, 0.28);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border: 1px solid var(--rose);
  border-radius: 50%;
}

.brand-mark::before { width: 22px; height: 11px; transform: rotate(45deg); }
.brand-mark::after { width: 11px; height: 22px; transform: rotate(45deg); }
.brand-mark span { width: 5px; height: 5px; background: var(--rose); border-radius: 50%; }
.brand-mark i { position: absolute; right: 2px; top: 2px; width: 4px; height: 4px; background: var(--sun); border-radius: 50%; }

.header-note {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
}

.tiny-spark { margin-right: 5px; color: var(--rose); font-size: 14px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.83fr) minmax(540px, 1.17fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
  padding: 75px 0 86px;
}

.access-error-panel {
  display: grid;
  min-height: min(560px, calc(100vh - 170px));
  place-content: center;
  justify-items: center;
  padding: 70px 20px;
  text-align: center;
}

.access-error-mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 25px;
  color: #b43f57;
  border: 1px solid #efb0b9;
  border-radius: 50%;
  background: #fff0f1;
  box-shadow: 0 12px 28px rgba(194, 91, 111, 0.14);
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
  place-items: center;
}

.access-error-panel h1 {
  max-width: none;
  margin: 18px 0 0;
  color: var(--rose-deep);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.intro-panel { padding-top: 30px; }

.eyebrow,
.section-kicker {
  color: var(--rose-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow { display: flex; gap: 8px; align-items: center; }
.eyebrow span { display: inline-block; width: 24px; height: 1px; background: var(--rose); }

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

h1 {
  max-width: 470px;
  margin: 25px 0 20px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 400;
  line-height: 1.11;
  letter-spacing: -0.05em;
}

h1 em { color: var(--rose-deep); font-style: normal; }

.intro-copy {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.orbit-art {
  position: relative;
  width: min(100%, 360px);
  height: 228px;
  margin: 52px 0 25px;
  overflow: hidden;
  border-radius: 22px 72px 22px 72px;
  background:
    radial-gradient(circle at 71% 27%, rgba(255, 218, 158, 0.82), transparent 10%),
    radial-gradient(circle at 20% 88%, rgba(240, 161, 179, 0.56), transparent 45%),
    linear-gradient(135deg, #413348, #836379 63%, #d0999c);
  box-shadow: 0 20px 46px rgba(79, 46, 71, 0.2);
}

.orbit-art::after {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  content: "";
  background-image: radial-gradient(white 0.8px, transparent 0.8px);
  background-position: 8px 10px;
  background-size: 25px 27px;
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 239, 213, 0.45);
  border-radius: 50%;
  transform: rotate(-27deg);
}

.orbit-a { top: 30px; left: 90px; width: 260px; height: 105px; }
.orbit-b { top: 5px; left: 125px; width: 218px; height: 165px; transform: rotate(35deg); }

.relationship-card {
  position: absolute;
  z-index: 3;
  top: 62px;
  left: 72px;
  width: 190px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 231, 211, 0.38);
  border-radius: 14px 30px 14px 30px;
  background: rgba(47, 34, 57, 0.57);
  box-shadow: 0 10px 25px rgba(37, 19, 41, 0.2);
  color: rgba(255, 235, 216, 0.7);
}

.relationship-card span { display: block; font-size: 8px; letter-spacing: 0.18em; }
.relationship-card strong { display: block; margin-top: 7px; color: #ffe6c1; font-family: Georgia, "Songti SC", serif; font-size: 19px; font-weight: 400; }
.data-label { position: absolute; z-index: 3; color: #ffdeb4; font-family: Georgia, serif; font-size: 11px; letter-spacing: 0.1em; }
.data-label-ai { top: 27px; left: 53px; }
.data-label-data { right: 37px; bottom: 30px; color: #f4b5ad; }
.data-pulse { position: absolute; z-index: 2; width: 9px; height: 9px; border: 2px solid #f7c66d; border-radius: 50%; box-shadow: 0 0 0 5px rgba(247, 198, 109, 0.12), 0 0 16px rgba(247, 198, 109, 0.7); animation: data-pulse 2.3s ease-in-out infinite; }
.pulse-one { top: 50px; left: 43px; }
.pulse-two { right: 53px; bottom: 49px; border-color: #e49ca6; box-shadow: 0 0 0 5px rgba(228, 156, 166, 0.12), 0 0 16px rgba(228, 156, 166, 0.7); animation-delay: 0.7s; }

@keyframes data-pulse { 0%, 100% { opacity: 0.55; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }

.moon {
  position: absolute;
  z-index: 2;
  top: 36px;
  right: 76px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #ffe7b9;
  box-shadow: 0 0 45px rgba(255, 218, 158, 0.5);
}

.moon::before,
.moon::after,
.moon span {
  position: absolute;
  border-radius: 50%;
  background: rgba(225, 172, 128, 0.18);
  content: "";
}

.moon::before { top: 18px; left: 20px; width: 13px; height: 13px; }
.moon::after { right: 16px; bottom: 20px; width: 20px; height: 8px; }
.moon span { right: 19px; top: 14px; width: 7px; height: 7px; }

.art-star { position: absolute; z-index: 3; color: #ffe8c1; }
.star-a { top: 35px; left: 52px; font-size: 20px; }
.star-b { top: 135px; right: 48px; font-size: 26px; }
.star-c { bottom: 29px; left: 100px; color: #f8c5a4; font-size: 35px; }

.art-caption {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 34px;
  color: rgba(255, 248, 230, 0.82);
  font-family: Georgia, serif;
  font-style: italic;
}

.art-caption span { display: block; font-size: 11px; letter-spacing: 0.08em; }
.art-caption strong { display: block; margin-top: 3px; font-size: 21px; font-weight: 400; }

.trust-line {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #a5949a;
  font-size: 12px;
}

.lock-dot {
  display: grid;
  width: 22px;
  height: 22px;
  color: var(--rose-deep);
  background: #f9e4e1;
  border-radius: 50%;
  place-items: center;
  font-size: 13px;
}

.form-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(232, 218, 216, 0.9);
  border-radius: 26px;
  background: rgba(255, 253, 251, 0.86);
  box-shadow: var(--shadow);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 31px;
}

.card-heading h2 {
  margin: 10px 0 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.card-badge {
  padding: 6px 10px;
  color: var(--rose-deep);
  border: 1px solid #f2d6d6;
  border-radius: 50px;
  background: #fff5f2;
  font-size: 10px;
}

.form-section {
  min-width: 0;
  padding: 0;
  margin: 0 0 31px;
  border: 0;
}

legend,
.field-label {
  display: block;
  width: 100%;
  margin-bottom: 13px;
  color: #554452;
  font-size: 14px;
  font-weight: 700;
}

.optional-label { margin-left: 7px; color: #8fc4d5; font-size: 10px; font-weight: 400; }
.required-label { margin-left: 7px; color: #d6818e; font-size: 10px; font-weight: 400; }
.field-label span { margin-left: 6px; color: #b7a8ad; font-size: 10px; font-weight: 400; }

.choice-grid { display: grid; gap: 9px; }
.gender-grid { grid-template-columns: repeat(3, 1fr); }
.appearance-grid { grid-template-columns: repeat(4, 1fr); }
.age-grid { grid-template-columns: repeat(4, 1fr); }

.choice-card {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.choice-card:hover { border-color: #dfb5bc; transform: translateY(-1px); }
.choice-card input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice-card.selected,
.choice-card:has(input:checked) {
  border-color: #e5a5af;
  background: #fff1ef;
  box-shadow: 0 5px 14px rgba(203, 105, 124, 0.1);
}

.compact-choice { gap: 9px; padding: 11px 13px; }
.choice-icon { color: #c1778e; font-family: Georgia, serif; font-size: 22px; line-height: 1; }
.choice-label { color: #5c4a57; font-size: 13px; }
.choice-check { position: absolute; right: 9px; bottom: 7px; color: var(--rose-deep); font-size: 10px; opacity: 0; transform: scale(0.7); transition: opacity 180ms ease, transform 180ms ease; }
.choice-card.selected .choice-check,
.choice-card:has(input:checked) .choice-check { opacity: 1; transform: scale(1); }

.appearance-choice { display: block; min-height: 110px; padding: 12px 10px 13px; }
.appearance-score { display: block; color: #a86b7a; font-family: Georgia, serif; font-size: 15px; letter-spacing: 0.02em; }
.appearance-copy { display: block; margin-top: 9px; }
.appearance-copy strong { display: block; overflow: hidden; color: #5c4a57; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.appearance-copy small { display: block; margin-top: 5px; color: #a08e96; font-size: 10px; line-height: 1.35; }

.income-grid { grid-template-columns: repeat(3, 1fr); }
.income-choice { display: block; min-height: 76px; padding: 12px 13px; }
.income-amount { display: block; color: #a86b7a; font-family: Georgia, serif; font-size: 14px; }
.income-note { display: block; margin-top: 6px; color: #a08e96; font-size: 10px; }

.age-choice { justify-content: center; padding: 11px 6px; }
.age-number { color: #66535f; font-family: Georgia, serif; font-size: 15px; }
.age-unit { align-self: flex-end; margin: 0 0 14px 2px; color: #9e8d94; font-size: 9px; }

.icon-rose { color: #c7677e; background: #f9e1e4; }
.icon-lilac { color: #8068a8; background: #e9e3f2; }
.icon-coral { color: #d57a62; background: #f8e5d5; }
.icon-mint { color: #57977e; background: #dfefe7; }

.note-section { margin-bottom: 27px; }
.textarea-wrap { position: relative; }

textarea {
  display: block;
  width: 100%;
  min-height: 105px;
  resize: vertical;
  padding: 14px 16px 28px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.8;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea::placeholder { color: #c2b4b9; }
textarea:focus { border-color: #df9ba7; box-shadow: 0 0 0 3px rgba(231, 121, 137, 0.1); }
.char-count { position: absolute; right: 13px; bottom: 9px; color: #b8a9af; font-size: 10px; }
.field-hint { margin: 8px 0 0; color: #b0a0a6; font-size: 11px; line-height: 1.5; }

.submit-area { padding-top: 1px; }
.primary-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 53px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 22px;
  overflow: hidden;
  color: #fffaf7;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(105deg, #d87080, #c85e73);
  box-shadow: 0 12px 23px rgba(194, 91, 111, 0.22);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: box-shadow 180ms ease, transform 180ms ease, filter 180ms ease;
}

.primary-button::before { position: absolute; top: -60%; left: -12%; width: 40%; height: 220%; content: ""; background: rgba(255, 255, 255, 0.12); transform: rotate(25deg); }
.primary-button:hover { filter: saturate(1.06); box-shadow: 0 15px 30px rgba(194, 91, 111, 0.28); transform: translateY(-2px); }
.primary-button:disabled { cursor: wait; filter: grayscale(0.12); opacity: 0.82; transform: none; }
.button-arrow { font-family: Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1; }
.button-loader { display: none; width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, 0.38); border-top-color: white; border-radius: 50%; animation: spin 700ms linear infinite; }
.primary-button.is-loading .button-label, .primary-button.is-loading .button-arrow { display: none; }
.primary-button.is-loading .button-loader { display: block; }
.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  padding: 10px 14px;
  color: #b43f57;
  border: 1px solid #efb0b9;
  border-radius: 10px;
  background: #fff0f1;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.form-message:empty {
  min-height: 18px;
  padding: 0;
  border-color: transparent;
  background: transparent;
}

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

.result-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(420px, 1.35fr);
  gap: 60px;
  align-items: start;
  padding: 72px clamp(24px, 6vw, 86px);
  border-top: 1px solid rgba(222, 207, 208, 0.7);
  border-bottom: 1px solid rgba(222, 207, 208, 0.7);
  background: rgba(255, 251, 247, 0.48);
  animation: reveal 650ms ease both;
}

@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.result-intro { padding-top: 8px; }
.result-stamp { display: grid; width: 47px; height: 47px; margin-bottom: 27px; color: var(--rose-deep); border: 1px solid #ecc1c5; border-radius: 50%; background: #fff2ef; place-items: center; font-size: 20px; }
.result-intro h2 { max-width: 240px; margin: 13px 0 15px; font-family: Georgia, "Songti SC", serif; font-size: 32px; font-weight: 400; line-height: 1.3; letter-spacing: -0.05em; }
.result-intro p { max-width: 240px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.text-button { padding: 0 0 4px; color: var(--rose-deep); border: 0; border-bottom: 1px solid #dca3aa; background: transparent; font-size: 12px; }
.text-button span { margin-left: 5px; font-family: Georgia, serif; font-size: 16px; }

.answer-card { min-width: 0; padding: clamp(24px, 4vw, 38px); border: 1px solid #edcfce; border-radius: 17px; background: #fffdfb; box-shadow: 0 18px 45px rgba(102, 65, 81, 0.08); }
.answer-card-top, .answer-card-bottom { display: flex; justify-content: space-between; color: #b2939b; font-size: 10px; letter-spacing: 0.08em; }
.answer-card-top { padding-bottom: 17px; border-bottom: 1px solid #f1e4e1; }
.answer-card-top span:last-child { color: var(--rose); font-size: 16px; line-height: 0.7; }
.answer-text { min-height: 220px; padding: 25px 3px 29px; color: #604d59; font-size: 15px; line-height: 2.05; white-space: pre-wrap; }
.answer-card-bottom { padding-top: 15px; border-top: 1px solid #f1e4e1; color: #c0adb2; letter-spacing: 0; }
.bottom-markers { color: #e6b2a5; letter-spacing: 0.18em; }

.site-footer { display: flex; justify-content: space-between; padding: 25px 0 35px; color: #b09fa5; font-size: 10px; }
.site-footer span:first-child { color: #866b79; font-family: Georgia, serif; font-style: italic; }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(250px, 0.7fr) minmax(430px, 1.3fr); gap: 35px; }
  .orbit-art { height: 190px; }
  .moon { right: 40px; width: 70px; height: 70px; }
  .orbit-a { left: 45px; width: 230px; }
  .orbit-b { left: 70px; width: 200px; }
  .result-panel { gap: 35px; padding-right: 30px; padding-left: 30px; }
}

@media (max-width: 700px) {
  .app-shell { width: min(100% - 30px, 560px); }
  .site-header { min-height: 76px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 7px; }
  .header-note { font-size: 10px; }
  .hero-grid { display: block; padding: 42px 0 58px; }
  .intro-panel { padding-top: 0; }
  h1 { margin-top: 19px; font-size: clamp(40px, 12vw, 58px); }
  .intro-copy { max-width: 460px; font-size: 14px; }
  .orbit-art { width: 100%; height: 170px; margin: 31px 0 20px; border-radius: 18px 52px 18px 52px; }
  .relationship-card { top: 49px; left: 50%; width: 184px; transform: translateX(-50%); }
  .relationship-card strong { font-size: 17px; }
  .data-label-ai { top: 22px; left: 18%; }
  .data-label-data { right: 17%; bottom: 25px; }
  .moon { top: 30px; right: 21%; width: 65px; height: 65px; }
  .orbit-a { top: 26px; left: 15%; width: 76%; height: 90px; }
  .orbit-b { top: 0; left: 26%; width: 62%; height: 140px; }
  .star-a { top: 28px; left: 12%; }
  .star-b { right: 12%; bottom: 35px; top: auto; }
  .art-caption { bottom: 20px; left: 24px; }
  .art-caption strong { font-size: 18px; }
  .form-card { padding: 24px 18px; border-radius: 20px; }
  .card-heading { margin-bottom: 26px; }
  .card-heading h2 { font-size: 24px; }
  .gender-grid { gap: 7px; }
  .appearance-grid { grid-template-columns: repeat(2, 1fr); }
  .income-grid { grid-template-columns: repeat(2, 1fr); }
  .compact-choice { padding: 10px 8px; }
  .choice-icon { font-size: 18px; }
  .choice-label { font-size: 12px; }
  .age-grid { grid-template-columns: repeat(2, 1fr); }
  .age-choice { justify-content: flex-start; padding-left: 15px; }
  .appearance-choice { min-height: 96px; }
  .appearance-copy strong { font-size: 12px; }
  .appearance-copy small { font-size: 10px; }
  .income-choice { min-height: 70px; padding: 11px 12px; }
  .result-panel { display: block; padding: 51px 0 58px; }
  .result-intro { margin-bottom: 29px; }
  .result-stamp { margin-bottom: 20px; }
  .result-intro h2 { max-width: none; font-size: 29px; }
  .result-intro p { max-width: 300px; }
  .answer-card { padding: 22px 18px; }
  .answer-text { min-height: 180px; padding: 23px 1px 26px; font-size: 14px; line-height: 1.95; }
  .site-footer { display: block; padding: 23px 0 29px; line-height: 2; }
  .site-footer span { display: block; }
  .thinking-overlay { padding: 15px; }
  .thinking-window { min-height: 430px; border-radius: 24px 53px 24px 53px; }
  .thought-pill { font-size: 10px; }
  .thought-pill-a { top: 10%; }
  .thought-pill-b { top: 28%; }
  .thought-pill-c { top: 75%; }
}

@media (max-width: 380px) {
  .header-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
