:root {
  color-scheme: dark;
  --bg: #19142a;
  --bg-deep: #0d0b18;
  --panel: rgba(255, 250, 239, 0.1);
  --panel-strong: rgba(255, 250, 239, 0.15);
  --paper: rgba(255, 248, 232, 0.96);
  --ink: #302343;
  --text: #fff8ee;
  --muted: #dfd1ec;
  --soft: #b9a8ca;
  --line: rgba(255, 248, 232, 0.2);
  --line-strong: rgba(255, 248, 232, 0.38);
  --violet: #bca3ea;
  --blue: #93d5dc;
  --rose: #eaa4bd;
  --peach: #f1c99c;
  --mint: #acd8c5;
  --sand: #f7e7c8;
  --terracotta: #db9c86;
  --shadow: 0 28px 80px rgba(42, 28, 66, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(247, 231, 200, 0.24), transparent 30rem),
    radial-gradient(circle at 15% 18%, rgba(188, 163, 234, 0.22), transparent 18rem),
    radial-gradient(circle at 86% 72%, rgba(147, 213, 220, 0.18), transparent 18rem),
    linear-gradient(180deg, #26203c 0%, #171329 52%, #0d0b18 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 50% / 96px 96px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 50% / 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 78%, transparent);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:active {
  transform: translateY(1px) scale(0.99);
}

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

#auraCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.54;
  animation: drift 12s ease-in-out infinite alternate;
}

.ambient-one {
  width: 18rem;
  height: 18rem;
  left: -6rem;
  top: 14%;
  background: radial-gradient(circle, rgba(247, 231, 200, 0.2), transparent 68%);
}

.ambient-two {
  width: 15rem;
  height: 15rem;
  right: -5rem;
  bottom: 10%;
  background: radial-gradient(circle, rgba(147, 213, 220, 0.2), transparent 68%);
  animation-delay: -4s;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 28px, 520px);
  margin: 0 auto;
  padding: 12px 0 28px;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(34, 28, 54, 0.72);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #11101d;
  background: linear-gradient(135deg, var(--sand), var(--peach) 42%, var(--blue));
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(196, 167, 255, 0.32);
}

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

.nav-pill {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 248, 232, 0.07);
  font-size: 12px;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--soft);
  font-size: 11px;
}

.screen {
  display: none;
  min-height: calc(100vh - 88px);
  animation: riseIn 0.5s ease both;
}

.screen.is-active {
  display: block;
}

.home-screen {
  padding: 14px 0 0;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 286px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 46% 22%, rgba(255, 248, 232, 0.52), transparent 6rem),
    linear-gradient(180deg, rgba(212, 199, 232, 0.28), rgba(147, 213, 220, 0.16) 52%, rgba(219, 156, 134, 0.14)),
    rgba(255, 250, 239, 0.08);
  box-shadow: var(--shadow);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
}

.sun-orb {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  transform: translate(-72px, -56px);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff5cf, #f1c99c);
  box-shadow: 0 0 70px rgba(247, 231, 200, 0.46);
  animation: floatSoft 5.4s ease-in-out infinite;
}

.island {
  position: absolute;
  transform-style: preserve-3d;
}

.island-main {
  left: 50%;
  bottom: 46px;
  width: 194px;
  height: 118px;
  transform: translateX(-50%) rotateX(58deg) rotateZ(-36deg);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(247, 231, 200, 0.8)),
    var(--sand);
  box-shadow:
    34px 34px 0 rgba(177, 137, 154, 0.62),
    52px 52px 38px rgba(48, 35, 67, 0.24);
  animation: floatIsland 7s ease-in-out infinite;
}

.island-main::before {
  content: "";
  position: absolute;
  inset: 16px 18px;
  border: 1px solid rgba(97, 72, 119, 0.18);
  border-radius: 12px;
}

.island-soft {
  right: 42px;
  top: 88px;
  width: 82px;
  height: 48px;
  transform: rotateX(58deg) rotateZ(-36deg);
  border-radius: 14px;
  background: linear-gradient(135deg, #e5d6ef, #acd8c5);
  box-shadow: 20px 20px 0 rgba(87, 121, 126, 0.28);
  animation: floatIsland 8s ease-in-out infinite reverse;
}

.tower {
  position: absolute;
  display: block;
  transform: rotateZ(36deg) rotateX(-58deg);
  transform-origin: bottom center;
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(160deg, #fff8ee, #d9c6ea);
  box-shadow: 12px 14px 20px rgba(69, 46, 92, 0.16);
}

.tower-left {
  left: 28px;
  bottom: 46px;
  width: 42px;
  height: 104px;
}

.tower-right {
  right: 36px;
  bottom: 60px;
  width: 34px;
  height: 78px;
  background: linear-gradient(160deg, #fff8ee, #93d5dc);
}

.tower-small {
  left: 22px;
  bottom: 24px;
  width: 28px;
  height: 52px;
  background: linear-gradient(160deg, #fff8ee, #f1c99c);
}

.stair {
  position: absolute;
  display: block;
  height: 10px;
  border-radius: 3px;
  background: rgba(74, 55, 98, 0.18);
}

.stair-a {
  left: 74px;
  top: 38px;
  width: 70px;
  box-shadow: 0 14px 0 rgba(74, 55, 98, 0.16), 0 28px 0 rgba(74, 55, 98, 0.13);
}

.stair-b {
  right: 34px;
  bottom: 30px;
  width: 48px;
  transform: rotate(90deg);
  box-shadow: 0 13px 0 rgba(74, 55, 98, 0.15);
}

.door {
  position: absolute;
  left: 42px;
  bottom: 14px;
  width: 24px;
  height: 34px;
  border-radius: 999px 999px 8px 8px;
  background: rgba(68, 49, 88, 0.28);
}

.bridge {
  position: absolute;
  right: 98px;
  bottom: 122px;
  width: 86px;
  height: 14px;
  transform: rotate(-14deg);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.48);
  box-shadow: 0 12px 24px rgba(48, 35, 67, 0.1);
}

.cloud {
  position: absolute;
  display: block;
  width: 82px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.48);
  filter: blur(0.2px);
  animation: cloudMove 9s ease-in-out infinite alternate;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 999px;
  background: inherit;
}

.cloud::before {
  left: 18px;
  width: 28px;
  height: 28px;
}

.cloud::after {
  right: 18px;
  width: 34px;
  height: 34px;
}

.cloud-a {
  left: 30px;
  top: 64px;
}

.cloud-b {
  right: 26px;
  bottom: 54px;
  transform: scale(0.72);
  animation-delay: -3s;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.86);
  animation: twinkle 3.2s ease-in-out infinite;
}

.star-a {
  top: 44px;
  left: 26%;
}

.star-b {
  right: 22%;
  top: 70px;
  animation-delay: -1s;
}

.star-c {
  left: 18%;
  bottom: 62px;
  animation-delay: -2.1s;
}

.eyebrow {
  margin-bottom: 10px;
  color: #f5d0a5;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(40px, 12vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.lead,
.question-help {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.quick-cards {
  display: grid;
  gap: 10px;
  margin: 24px 0 18px;
}

.quick-cards article,
.question-card,
.soft-card,
.report-hero,
.report-card,
.plan-card,
.home-module,
.page-heading,
.resource-grid article,
.history-item {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0, rgba(247, 231, 200, 0.13), transparent 42%),
    linear-gradient(160deg, rgba(255, 248, 232, 0.12), rgba(255, 248, 232, 0.045)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-cards article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 3px 12px;
  padding: 14px;
  border-radius: 20px;
}

.quick-cards span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #151222;
  background: linear-gradient(135deg, var(--sand), var(--peach), var(--blue));
  font-weight: 900;
}

.quick-cards strong {
  align-self: end;
}

.quick-cards p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.5;
}

.primary-button,
.ghost-button,
.text-button,
.icon-button {
  border: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.primary-button {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  color: #2f2443;
  background: linear-gradient(90deg, var(--sand), var(--peach) 44%, var(--blue));
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(248, 170, 200, 0.2);
}

.primary-button:focus-visible,
.ghost-button:focus-visible,
.text-button:focus-visible,
.icon-button:focus-visible,
.choice-button:focus-visible,
.chip:focus-visible,
.domain-toggle:focus-visible {
  outline: 3px solid rgba(167, 220, 255, 0.42);
  outline-offset: 3px;
}

.ghost-button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 248, 232, 0.08);
  font-weight: 850;
}

.text-button {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  color: var(--muted);
  background: transparent;
  font-weight: 760;
}

.text-button::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 4px;
  background: currentColor;
  transition: width 0.18s ease;
}

.text-button:hover::after {
  width: 100%;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 248, 232, 0.08);
}

.icon-button span {
  transform: translateY(-1px);
  font-size: 26px;
  line-height: 1;
}

.primary-button:hover,
.ghost-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.safety-note {
  margin: 18px 0 0;
  color: rgba(189, 180, 215, 0.78);
  font-size: 12px;
  line-height: 1.65;
}

.care-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
}

.care-strip span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 248, 232, 0.15);
  border-radius: 999px;
  color: rgba(255, 248, 238, 0.82);
  background: rgba(255, 248, 232, 0.07);
  font-size: 12px;
  font-weight: 850;
}

.home-module {
  margin-top: 22px;
  padding: 20px;
  border-radius: 26px;
}

.home-module h2 {
  margin-bottom: 16px;
  font-size: 26px;
}

.method-grid {
  display: grid;
  gap: 10px;
}

.method-grid article {
  padding: 14px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 18px;
  background: rgba(255, 248, 232, 0.06);
}

.method-grid strong {
  display: block;
  margin-bottom: 7px;
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.progress-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}

.progress-copy {
  flex: 1;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.progress-track {
  height: 8px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  transition: width 0.3s ease;
}

.question-card {
  min-height: calc(100vh - 160px);
  padding: 22px;
  border-radius: 30px;
}

.question-card h2 {
  font-size: clamp(28px, 8vw, 42px);
}

.question-illustration {
  position: relative;
  height: 118px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.16), rgba(147, 213, 220, 0.08)),
    rgba(255, 248, 232, 0.05);
}

.question-illustration::before,
.question-illustration::after {
  content: "";
  position: absolute;
  display: block;
}

.question-illustration::before {
  left: 50%;
  bottom: 28px;
  width: 128px;
  height: 62px;
  transform: translateX(-50%) rotateX(58deg) rotateZ(-36deg);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.9), rgba(188, 163, 234, 0.72));
  box-shadow: 24px 24px 0 rgba(99, 78, 124, 0.22);
  animation: floatIsland 7s ease-in-out infinite;
}

.question-illustration::after {
  left: calc(50% - 18px);
  bottom: 58px;
  width: 34px;
  height: 64px;
  transform: rotateZ(36deg) rotateX(-58deg);
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(160deg, #fff8ee, #93d5dc);
  box-shadow: 10px 12px 18px rgba(69, 46, 92, 0.12);
  animation: floatSoftSmall 6s ease-in-out infinite;
}

.scene-weight::after {
  width: 56px;
  height: 56px;
  left: calc(50% - 28px);
  bottom: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f1c99c, #eaa4bd);
}

.scene-dump::after {
  width: 86px;
  height: 42px;
  left: calc(50% - 43px);
  bottom: 62px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(48, 35, 67, 0.14) 1px, transparent 1px) 12px 12px / 54px 9px,
    linear-gradient(160deg, #fff8ee, #f7e7c8);
}

.scene-sort::after {
  width: 96px;
  height: 12px;
  left: calc(50% - 48px);
  bottom: 66px;
  border-radius: 999px;
  background: var(--sand);
  box-shadow:
    0 22px 0 #acd8c5,
    0 -22px 0 #bca3ea;
}

.scene-one::after {
  width: 42px;
  height: 76px;
  left: calc(50% - 21px);
  bottom: 54px;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(160deg, #fff8ee, #f1c99c);
}

.scene-pause::after {
  width: 72px;
  height: 72px;
  left: calc(50% - 36px);
  bottom: 54px;
  border: 8px solid rgba(255, 248, 232, 0.82);
  border-radius: 999px;
  background: transparent;
}

.scene-pause span {
  display: none;
}

.scene-door::after {
  width: 46px;
  height: 78px;
  left: calc(50% - 23px);
  bottom: 54px;
  border-radius: 999px 999px 8px 8px;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 248, 232, 0.88) 0 4px, transparent 5px),
    linear-gradient(160deg, #6e587d, #302343);
}

#questionBody {
  margin-top: 20px;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.choice-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 248, 232, 0.28);
}

.choice-button.is-selected {
  border-color: rgba(167, 220, 255, 0.65);
  background: linear-gradient(135deg, rgba(196, 167, 255, 0.22), rgba(167, 220, 255, 0.12));
  box-shadow: 0 0 28px rgba(167, 220, 255, 0.12);
}

.choice-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #171323;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  font-weight: 900;
}

.area-grid {
  gap: 12px;
}

.area-choice {
  position: relative;
  min-height: 92px;
  gap: 14px;
  overflow: hidden;
  padding: 16px 16px 16px 14px;
  border-radius: 24px;
  border-color: rgba(255, 248, 232, 0.16);
  background:
    radial-gradient(circle at 96% 18%, rgba(255, 248, 232, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 248, 232, 0.11), rgba(167, 220, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.area-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background:
    radial-gradient(circle at 18% 18%, var(--area-a, #c4a7ff), transparent 30%),
    radial-gradient(circle at 84% 90%, var(--area-b, #a7dcff), transparent 34%);
  pointer-events: none;
}

.area-choice::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 52px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.46);
  box-shadow: -64px 28px 0 rgba(255, 248, 232, 0.2), 28px 54px 0 rgba(255, 248, 232, 0.18);
}

.area-choice.is-selected {
  border-color: rgba(255, 248, 232, 0.46);
  background:
    radial-gradient(circle at 96% 18%, rgba(255, 248, 232, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(196, 167, 255, 0.2), rgba(167, 220, 255, 0.12)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 42px rgba(19, 12, 34, 0.22), 0 0 0 1px rgba(255, 248, 232, 0.12) inset;
}

.area-icon,
.area-copy,
.area-arrow {
  position: relative;
  z-index: 1;
}

.area-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 20px;
  color: #171323;
  background: linear-gradient(135deg, var(--area-a, var(--violet)), var(--area-b, var(--blue)));
  box-shadow: 0 16px 30px rgba(15, 10, 28, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.area-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.area-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.area-copy strong {
  font-size: 23px;
  line-height: 1.08;
}

.area-copy small {
  color: rgba(255, 248, 232, 0.78);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.45;
}

.area-arrow {
  margin-left: auto;
  color: rgba(255, 248, 232, 0.58);
  font-size: 34px;
  line-height: 1;
}

.area-love {
  --area-a: #f4b8d4;
  --area-b: #a7dcff;
}

.area-work {
  --area-a: #a7dcff;
  --area-b: #b8f0d4;
}

.area-money {
  --area-a: #f5d0a5;
  --area-b: #a7dcff;
}

.area-family {
  --area-a: #c4a7ff;
  --area-b: #f5d0a5;
}

.area-self {
  --area-a: #b8f0d4;
  --area-b: #c4a7ff;
}

.area-all {
  --area-a: #c4a7ff;
  --area-b: #f4b8d4;
}

.range-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0, rgba(247, 231, 200, 0.12), transparent 56%),
    rgba(255, 255, 255, 0.06);
}

.range-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.range-value strong {
  font-size: 64px;
  line-height: 1;
}

.range-value span {
  color: var(--soft);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--violet);
}

input[type="range"]::-webkit-slider-thumb {
  cursor: grab;
}

.field-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

textarea,
input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  background: rgba(5, 5, 13, 0.28);
  outline: 0;
}

input[type="text"] {
  min-height: 50px;
  padding: 0 15px;
}

textarea {
  min-height: 156px;
  padding: 15px;
  resize: vertical;
  line-height: 1.7;
}

textarea:focus,
input[type="text"]:focus {
  border-color: rgba(167, 220, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(167, 220, 255, 0.08);
}

.split-preview {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 18px;
  background: rgba(255, 248, 232, 0.06);
}

.split-preview strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sand);
  font-size: 13px;
}

.split-preview p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.6;
}

.split-preview div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.split-preview span,
.domain-toggle {
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 248, 232, 0.07);
  font-size: 12px;
  line-height: 1.35;
}

.split-preview .domain-hint {
  margin-top: 11px;
  margin-bottom: 7px;
}

.domain-toggles {
  margin-top: 0;
}

.domain-toggle {
  cursor: pointer;
}

.domain-toggle.is-selected {
  color: #2f2443;
  border-color: transparent;
  background: linear-gradient(135deg, var(--sand), var(--blue));
  font-weight: 850;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.context-note {
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 248, 232, 0.06);
  font-size: 13px;
  line-height: 1.7;
}

.safety-card {
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid rgba(234, 164, 189, 0.35);
  border-radius: 18px;
  color: #fff8ee;
  background:
    radial-gradient(circle at 100% 0, rgba(234, 164, 189, 0.16), transparent 55%),
    rgba(91, 53, 78, 0.28);
}

.safety-card strong {
  display: block;
  margin-bottom: 8px;
  color: #ffd5e0;
}

.safety-card p {
  margin: 0;
  color: rgba(255, 248, 238, 0.82);
  font-size: 13px;
  line-height: 1.7;
}

.chip {
  min-height: 54px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 760;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 248, 232, 0.32);
}

.chip strong,
.chip small {
  display: block;
}

.chip strong {
  color: inherit;
  font-size: 13px;
}

.chip small {
  margin-top: 3px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.chip.is-selected {
  color: #171323;
  border-color: transparent;
  background: linear-gradient(135deg, var(--peach), var(--violet), var(--blue));
}

.chip.is-selected small {
  color: rgba(23, 19, 35, 0.72);
}

.sort-list {
  display: grid;
  gap: 10px;
}

.sort-item {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.sort-item strong {
  display: block;
  margin-bottom: 10px;
}

.sort-item p {
  margin: -2px 0 10px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.55;
}

.sort-select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: #171526;
  padding: 0 10px;
}

.suggestion-block {
  margin-bottom: 16px;
  padding: 13px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 18px;
  background: rgba(255, 248, 232, 0.06);
}

.suggestion-block > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--sand);
  font-size: 13px;
}

.flow-actions {
  margin-top: 22px;
}

.survival-screen {
  padding-top: 14px;
}

.survival-heading {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 6%, rgba(247, 231, 200, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(255, 248, 232, 0.12), rgba(147, 213, 220, 0.06)),
    rgba(255, 248, 232, 0.06);
}

.survival-heading::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 248, 232, 0.14);
  border-radius: 44px;
  rotate: -18deg;
  background: rgba(255, 248, 232, 0.05);
}

.survival-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 16px;
}

.survival-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.survival-list label:has(input:checked) {
  color: var(--text);
  border-color: rgba(172, 216, 197, 0.5);
  background: rgba(172, 216, 197, 0.13);
}

.survival-list input {
  width: 20px;
  height: 20px;
  accent-color: var(--violet);
}

.soft-card {
  margin: 18px 0 22px;
  padding: 18px;
  border-radius: 22px;
}

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

.report-screen {
  padding-top: 8px;
}

.report-hero,
.report-card,
.plan-card {
  border-radius: 28px;
  padding: 22px;
}

.report-hero {
  margin-bottom: 14px;
  overflow: hidden;
}

.report-illustration {
  position: relative;
  height: 168px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 28%, rgba(255, 248, 232, 0.32), transparent 4rem),
    linear-gradient(180deg, rgba(188, 163, 234, 0.2), rgba(147, 213, 220, 0.09));
}

.report-path,
.report-tower,
.report-light {
  position: absolute;
  display: block;
}

.report-path {
  left: 50%;
  bottom: 22px;
  width: 170px;
  height: 64px;
  transform: translateX(-50%) rotateX(58deg) rotateZ(-36deg);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8ee, #f7e7c8);
  box-shadow: 30px 30px 0 rgba(99, 78, 124, 0.2);
}

.report-tower {
  left: calc(50% - 22px);
  bottom: 66px;
  width: 44px;
  height: 86px;
  transform: rotateZ(36deg) rotateX(-58deg);
  border-radius: 12px 12px 7px 7px;
  background: linear-gradient(160deg, #fff8ee, #acd8c5);
}

.report-light {
  left: calc(50% + 22px);
  top: 30px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff8ee;
  box-shadow: 0 0 38px rgba(255, 248, 232, 0.78);
  animation: breatheLight 3.8s ease-in-out infinite;
}

.report-cat {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 248, 232, 0.44);
  border-radius: 34px;
  color: #4a355d;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 248, 232, 0.72), transparent 42%),
    linear-gradient(135deg, rgba(255, 243, 207, 0.92), rgba(231, 236, 255, 0.82));
  box-shadow: 0 22px 44px rgba(52, 38, 72, 0.2);
  animation: catFloat 4.2s ease-in-out infinite;
}

.report-cat svg {
  width: 78px;
  height: 78px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reset-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.reset-stat {
  position: relative;
  min-height: 72px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 248, 232, 0.1), transparent 54%),
    rgba(255, 248, 232, 0.07);
}

.generated-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.generated-icon svg,
.map-orb svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.generated-icon .cat-face,
.map-orb .cat-face,
.report-cat .cat-face {
  fill: #fffaf0;
  stroke: #6f583f;
}

.generated-icon .cat-ear,
.map-orb .cat-ear,
.report-cat .cat-ear {
  stroke: rgba(111, 88, 63, 0.52);
}

.generated-icon .cat-eye-fill,
.map-orb .cat-eye-fill,
.report-cat .cat-eye-fill,
.generated-icon .cat-nose,
.map-orb .cat-nose,
.report-cat .cat-nose {
  fill: #6f583f;
  stroke: #6f583f;
}

.generated-icon .cat-blush,
.map-orb .cat-blush,
.report-cat .cat-blush {
  stroke: #e1a7b5;
}

.generated-icon .cat-mark,
.generated-icon .cat-spark,
.generated-icon .cat-bubble,
.generated-icon .cat-tear,
.map-orb .cat-mark,
.map-orb .cat-spark,
.map-orb .cat-bubble,
.map-orb .cat-tear,
.report-cat .cat-mark,
.report-cat .cat-spark,
.report-cat .cat-bubble,
.report-cat .cat-tear {
  stroke: #8d724f;
}

.generated-icon .cat-bubble,
.map-orb .cat-bubble,
.report-cat .cat-bubble {
  fill: rgba(147, 213, 220, 0.24);
}

.generated-icon .cat-fill,
.map-orb .cat-fill,
.report-cat .cat-fill {
  fill: #7a6041;
  stroke: #7a6041;
}

.generated-icon .cat-eye-glow,
.map-orb .cat-eye-glow,
.report-cat .cat-eye-glow {
  fill: #fffaf0;
  stroke: #fffaf0;
}

.generated-icon .cat-tear,
.map-orb .cat-tear,
.report-cat .cat-tear {
  fill: rgba(147, 213, 220, 0.38);
}

.generated-icon .cat-whisker,
.map-orb .cat-whisker,
.report-cat .cat-whisker {
  stroke: rgba(111, 88, 63, 0.78);
  stroke-width: 1.9;
}

.generated-icon .cat-angry .cat-face,
.map-orb .cat-angry .cat-face,
.report-cat .cat-angry .cat-face {
  fill: #ffe0d7;
}

.generated-icon .cat-sad .cat-face,
.generated-icon .cat-sulk .cat-face,
.map-orb .cat-sad .cat-face,
.map-orb .cat-sulk .cat-face,
.report-cat .cat-sad .cat-face,
.report-cat .cat-sulk .cat-face {
  fill: #e7ecff;
}

.generated-icon .cat-smile .cat-face,
.generated-icon .cat-cute .cat-face,
.map-orb .cat-smile .cat-face,
.map-orb .cat-cute .cat-face,
.report-cat .cat-smile .cat-face,
.report-cat .cat-cute .cat-face {
  fill: #fff3cf;
}

.generated-icon .cat-sleepy .cat-face,
.generated-icon .cat-calm .cat-face,
.map-orb .cat-sleepy .cat-face,
.map-orb .cat-calm .cat-face,
.report-cat .cat-sleepy .cat-face,
.report-cat .cat-calm .cat-face {
  fill: #edf7ef;
}

.report-title-icon {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  padding: 3px;
  border-radius: 11px;
  color: #4a355d;
  background: rgba(74, 53, 93, 0.08);
  vertical-align: -6px;
}

.inline-icon {
  width: 21px;
  height: 21px;
  margin-right: 6px;
  color: currentColor;
  vertical-align: -4px;
}

.reset-stat strong,
.reset-stat span {
  display: block;
}

.reset-stat strong {
  margin-bottom: 8px;
  color: var(--sand);
  font-size: 26px;
  line-height: 1;
}

.reset-stat span {
  color: var(--soft);
  font-size: 11px;
  line-height: 1.35;
}

.report-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0, rgba(188, 163, 234, 0.32), transparent 12rem),
    radial-gradient(circle at 100% 28%, rgba(147, 213, 220, 0.24), transparent 13rem),
    radial-gradient(circle at 50% 100%, rgba(241, 201, 156, 0.2), transparent 12rem),
    linear-gradient(145deg, rgba(255, 250, 239, 0.92), rgba(245, 238, 224, 0.96)),
    var(--paper);
  border-color: rgba(255, 255, 255, 0.48);
}

.report-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  color: #3b2b52;
}

.report-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(74, 53, 93, 0.13);
  border-radius: 999px;
  color: rgba(74, 53, 93, 0.45);
  background: rgba(255, 255, 255, 0.32);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.report-section {
  padding: 13px 0;
  border-top: 1px solid rgba(32, 26, 44, 0.1);
}

.dashboard-alert,
.tonight-map,
.next-map,
.pressure-map,
.rule-board,
.script-card {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(48, 35, 67, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 42px rgba(69, 46, 92, 0.06);
}

.tonight-map,
.next-map {
  border-color: rgba(74, 53, 93, 0.1);
}

.dashboard-alert {
  border-color: rgba(145, 65, 88, 0.18);
  background: rgba(234, 164, 189, 0.2);
}

.dashboard-alert strong,
.tonight-map strong,
.next-map strong,
.pressure-map strong,
.rule-board strong,
.script-card strong {
  display: block;
  color: #4a355d;
}

.dashboard-alert p,
.tonight-map p,
.next-map p,
.script-card p {
  margin: 8px 0 0;
  color: rgba(32, 26, 44, 0.72);
  line-height: 1.68;
}

.map-label,
.next-map span {
  display: block;
  margin-bottom: 8px;
  color: rgba(74, 53, 93, 0.62);
  font-size: 12px;
  font-weight: 850;
}

.tonight-map {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 24px 24px, rgba(255, 248, 232, 0.78), transparent 4rem),
    linear-gradient(135deg, rgba(188, 163, 234, 0.25), rgba(147, 213, 220, 0.15)),
    rgba(255, 255, 255, 0.42);
}

.map-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7e7c8, #bca3ea 58%, #93d5dc);
  box-shadow: 0 16px 30px rgba(89, 70, 113, 0.16);
}

.map-orb svg {
  width: 38px;
  height: 38px;
  padding: 3px;
  border-radius: 14px;
  color: #4a355d;
  background: rgba(255, 248, 238, 0.88);
  box-shadow: 0 0 22px rgba(255, 248, 238, 0.72);
}

.tonight-map strong {
  font-size: 22px;
  line-height: 1.3;
}

.next-map strong {
  font-size: 18px;
  line-height: 1.35;
}

.next-map {
  background:
    radial-gradient(circle at 100% 0, rgba(172, 216, 197, 0.24), transparent 42%),
    rgba(255, 248, 232, 0.5);
}

.pressure-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pressure-head span {
  color: rgba(74, 53, 93, 0.58);
  font-size: 12px;
}

.pressure-bars {
  display: grid;
  gap: 9px;
}

.pressure-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 8px;
  color: rgba(32, 26, 44, 0.7);
  font-size: 12px;
  font-weight: 800;
}

.pressure-row > span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pressure-icon {
  width: 20px;
  height: 20px;
  color: rgba(74, 53, 93, 0.76);
}

.pressure-row i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(48, 35, 67, 0.1);
  overflow: hidden;
}

.pressure-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--blue));
}

.pressure-row.pressure b {
  background: linear-gradient(90deg, var(--peach), var(--rose));
}

.pressure-row.emotion b {
  background: linear-gradient(90deg, var(--mint), var(--blue));
}

.rule-board div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.two-column-report {
  display: grid;
  gap: 12px;
}

.rule-board span {
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(48, 35, 67, 0.76);
  background: rgba(48, 35, 67, 0.08);
  font-size: 12px;
  font-weight: 760;
}

.script-card blockquote {
  margin: 12px 0 0;
  padding: 12px;
  border-left: 3px solid rgba(74, 53, 93, 0.22);
  border-radius: 12px;
  color: rgba(32, 26, 44, 0.78);
  background: rgba(255, 248, 232, 0.72);
  line-height: 1.72;
}

.script-card {
  background: rgba(255, 248, 232, 0.58);
}

.report-details {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(48, 35, 67, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.25);
}

.report-details summary {
  cursor: pointer;
  color: #4a355d;
  font-weight: 900;
  list-style: none;
}

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

.report-details summary::after {
  content: "展开";
  float: right;
  padding: 2px 8px;
  border-radius: 999px;
  color: rgba(74, 53, 93, 0.62);
  background: rgba(74, 53, 93, 0.08);
  font-size: 11px;
}

.report-details[open] summary::after {
  content: "收起";
}

.report-section:first-of-type {
  border-top: 0;
}

.report-section strong {
  display: block;
  margin-bottom: 8px;
  color: #4a355d;
}

.risk-section {
  margin: 4px 0 8px;
  padding: 14px;
  border: 1px solid rgba(145, 65, 88, 0.16);
  border-radius: 16px;
  background: rgba(234, 164, 189, 0.18);
}

.report-section p,
.report-section li {
  color: rgba(32, 26, 44, 0.74);
  line-height: 1.72;
}

.report-section ul {
  margin: 0;
  padding-left: 18px;
}

.plan-card {
  margin-bottom: 18px;
}

.week-plan {
  display: grid;
  gap: 10px;
}

.day-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.day-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 82px;
  height: 82px;
  border-radius: 28px;
  rotate: 18deg;
  background: rgba(255, 248, 232, 0.04);
  pointer-events: none;
}

.day-card > * {
  position: relative;
  z-index: 1;
}

.day-card strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #f5e3c8;
}

.day-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 11px;
  color: #f5e3c8;
  background: rgba(255, 248, 232, 0.1);
}

.day-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.report-actions {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
}

.page-heading {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 22px;
  border-radius: 28px;
}

.page-heading::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -34px;
  width: 124px;
  height: 124px;
  border-radius: 40px;
  rotate: 16deg;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 248, 232, 0.34), transparent 42%),
    linear-gradient(135deg, rgba(188, 163, 234, 0.16), rgba(147, 213, 220, 0.12));
  pointer-events: none;
}

.page-heading > * {
  position: relative;
  z-index: 1;
}

.history-list,
.resource-grid {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.history-item {
  padding: 18px;
  border-radius: 22px;
}

.history-item time {
  display: block;
  margin-bottom: 8px;
  color: var(--peach);
  font-size: 12px;
  font-weight: 850;
}

.history-item strong {
  display: block;
  margin-bottom: 8px;
}

.history-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.empty-history {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 30px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
  background: rgba(255, 248, 232, 0.045);
}

.empty-history strong {
  color: var(--text);
}

.empty-history p {
  max-width: 32rem;
  margin: 0;
  font-size: 13px;
}

.empty-orb {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 248, 232, 0.82), transparent 34%),
    linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 18px 36px rgba(15, 10, 28, 0.18);
}

.urgent-note {
  margin: 14px 0;
  padding: 18px;
  border: 1px solid rgba(234, 164, 189, 0.34);
  border-radius: 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0, rgba(234, 164, 189, 0.18), transparent 48%),
    rgba(91, 53, 78, 0.2);
}

.urgent-note strong {
  display: block;
  margin-bottom: 8px;
  color: #ffd9e4;
}

.urgent-note p {
  margin: 0;
  color: rgba(255, 248, 238, 0.82);
  line-height: 1.7;
}

.resource-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 18px;
  border-radius: 22px;
}

.resource-grid span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #2f2443;
  background: linear-gradient(135deg, var(--sand), var(--blue));
  font-weight: 950;
}

.resource-grid strong {
  align-self: end;
}

.resource-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 4px 0;
  color: rgba(223, 209, 236, 0.62);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 420px) {
  .app-shell {
    width: min(100% - 18px, 520px);
    padding-bottom: 22px;
  }

  .topbar {
    top: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .brand strong {
    font-size: 14px;
  }

  .nav-pill {
    min-height: 34px;
    padding: 0 10px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .hero-art {
    height: 246px;
    border-radius: 28px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .quick-cards article {
    padding: 13px;
  }

  .care-strip {
    grid-template-columns: 1fr;
  }

  .question-card,
  .report-hero,
  .report-card,
  .plan-card,
  .page-heading {
    padding: 18px;
    border-radius: 24px;
  }

  .area-choice {
    min-height: 84px;
    padding: 14px;
  }

  .area-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 18px;
  }

  .area-copy strong {
    font-size: 21px;
  }

  .area-copy small {
    font-size: 13px;
  }

  .reset-stats {
    grid-template-columns: 1fr;
  }

  .reset-stat {
    min-height: auto;
  }

  .pressure-row {
    grid-template-columns: 90px minmax(0, 1fr) 20px;
  }

  .site-footer {
    display: grid;
  }
}

@media (min-width: 760px) {
  .app-shell {
    width: min(100% - 64px, 960px);
    padding-top: 18px;
  }

  .home-screen {
    display: none;
  }

  .home-screen.is-active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: center;
  }

  .hero-art {
    grid-column: 2;
    grid-row: 1 / span 7;
    height: 560px;
    margin: 0;
  }

  h1 {
    font-size: clamp(64px, 7vw, 94px);
  }

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

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

  .question-card {
    min-height: 620px;
    padding: 34px;
  }

  .report-screen {
    display: none;
  }

  .report-screen.is-active {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 16px;
  }

  .report-hero,
  .report-actions {
    grid-column: 1;
  }

  .report-card,
  .plan-card {
    grid-column: 2;
  }

  .two-column-report {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

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

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

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.96);
    box-shadow: 0 0 54px rgba(215, 202, 255, 0.42), inset -16px -18px 34px rgba(35, 25, 68, 0.22);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 84px rgba(167, 220, 255, 0.54), inset -16px -18px 34px rgba(35, 25, 68, 0.22);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translate(-72px, -56px) scale(0.98);
  }
  50% {
    transform: translate(-68px, -62px) scale(1.04);
  }
}

@keyframes floatIsland {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes floatSoftSmall {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}

@keyframes breatheLight {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

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

@keyframes cloudMove {
  from {
    translate: -10px 0;
    opacity: 0.55;
  }
  to {
    translate: 10px -4px;
    opacity: 0.85;
  }
}

@keyframes slowSpin {
  to {
    rotate: 360deg;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(1.5rem, -1.1rem, 0) scale(1.08);
  }
}
