:root {
  color-scheme: light;
  --paper: #f7f5f2;
  --ink: #514d53;
  --muted: #918b92;
  --soft: #e9e4ed;
  --line: rgba(111, 103, 116, .13);
  --white: rgba(255,255,255,.68);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  background: radial-gradient(ellipse at 50% 18%, #f1edf3 0%, var(--paper) 47%, #f5f3ef 100%);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
button, textarea { font: inherit; }
button { color: inherit; }
.app-shell { min-height: 100svh; max-width: 1120px; margin: 0 auto; padding: 0 30px; display: flex; flex-direction: column; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.wordmark { border: 0; background: transparent; padding: 8px 0; font: 500 17px "DM Sans", sans-serif; letter-spacing: -.04em; cursor: pointer; color: #69636d; }
.exit-button { border: 0; background: transparent; color: var(--muted); font-size: 12px; padding: 10px 4px; cursor: pointer; }
.screen { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; }
.hidden { display: none !important; }
.home-screen { justify-content: center; padding: 12px 0 42px; text-align: center; }
.home-orb-wrap { width: 176px; height: 176px; display: grid; place-items: center; margin-bottom: 5px; }
.orb { position: relative; display: block; border-radius: 50%; background: radial-gradient(circle at 48% 46%, rgba(229,224,235,.72) 0%, rgba(224,219,233,.54) 37%, rgba(222,219,231,.22) 62%, rgba(222,219,231,0) 76%); filter: blur(8px); animation: breathe 5.6s ease-in-out infinite, float 7.5s ease-in-out infinite; }
.home-orb { width: 148px; height: 148px; }
.orb::before, .orb::after { content: ""; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(226,220,235,.25) 0%, rgba(226,220,235,.13) 48%, transparent 73%); filter: blur(15px); }
.orb::after { inset: 5%; background: radial-gradient(circle, rgba(240,237,243,.18), transparent 70%); filter: blur(20px); }
.eyebrow { font: 500 9px "DM Sans", sans-serif; letter-spacing: .19em; color: #aaa3ad; margin: 0 0 19px; }
h1 { font: 400 clamp(42px, 7vw, 58px) "DM Sans", sans-serif; letter-spacing: -.065em; margin: 0; color: #55505a; }
.home-subtitle { margin: 13px 0 37px; color: #89838b; font-size: 14px; letter-spacing: .06em; }
.home-options { width: min(100%, 440px); display: grid; gap: 12px; text-align: left; }
.mode-card { position: relative; min-height: 93px; padding: 21px 52px 19px 22px; border: 1px solid rgba(255,255,255,.82); border-radius: 15px; background: rgba(255,255,255,.55); box-shadow: 0 8px 28px rgba(93,82,105,.035); text-align: left; cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.mode-card:hover { transform: translateY(-2px); background: rgba(255,255,255,.82); box-shadow: 0 12px 30px rgba(93,82,105,.07); }
.mode-title { display: block; font-size: 15px; font-weight: 400; color: #5b5560; margin-bottom: 8px; }
.mode-description { display: block; color: #99929b; font-size: 11px; }
.mode-arrow { position: absolute; right: 21px; top: 34px; color: #aaa2b0; font: 18px "DM Sans", sans-serif; }
.home-footnote { color: #b0aab1; font-size: 10px; margin: 27px 0 0; letter-spacing: .08em; }
.practice-screen { min-height: calc(100svh - 130px); justify-content: flex-start; padding: 25px 0 18px; text-align: center; }
.progress-label { min-height: 16px; color: #b0a9b1; font: 10px "DM Sans", sans-serif; letter-spacing: .14em; }
.content-area { width: min(100%, 650px); min-height: 290px; display: flex; justify-content: center; align-items: center; padding: 20px 0 0; }
.screen-heading, .prompt-view { width: 100%; animation: appear .55s ease both; }
.screen-heading h2, .prompt-view h2 { font-size: clamp(22px, 4vw, 29px); line-height: 1.65; font-weight: 300; letter-spacing: .025em; margin: 0 0 13px; color: #57515b; }
.instruction { color: #89838b; font-size: 13px; line-height: 2.05; margin: 0 auto; max-width: 490px; white-space: pre-line; }
.prompt-view { padding: 25px 12px; }
.prompt-view .eyebrow { margin-bottom: 24px; }
.prompt-extra { max-width: 490px; margin: 20px auto 0; color: #a09aa2; font-size: 11px; line-height: 2; }
.emotion-picker { width: 100%; animation: appear .55s ease both; }
.emotion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 29px auto 18px; max-width: 480px; }
.emotion-card { border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.48); border-radius: 12px; min-height: 76px; padding: 13px 5px; cursor: pointer; transition: .2s ease; }
.emotion-card strong { display: block; font-size: 13px; font-weight: 400; color: #625b66; margin-bottom: 5px; }
.emotion-card span { display: block; font: 10px "DM Sans", sans-serif; color: #aaa2ac; }
.emotion-card.selected { background: #e9e3ee; border-color: #d9d0e1; box-shadow: 0 0 0 2px rgba(214,205,224,.22); }
.skip-link { border: 0; background: transparent; color: #9b949d; font-size: 11px; cursor: pointer; padding: 8px 12px; }
.goal-entry { width: min(100%, 510px); animation: appear .55s ease both; }
.goal-entry textarea { width: 100%; resize: vertical; min-height: 112px; border: 1px solid rgba(255,255,255,.9); outline: none; border-radius: 13px; padding: 17px 18px; margin-top: 25px; background: rgba(255,255,255,.58); color: #625c65; font-size: 13px; line-height: 1.9; }
.goal-entry textarea:focus { border-color: #d9d0e1; box-shadow: 0 0 0 3px rgba(218,210,226,.25); }
.goal-entry textarea::placeholder { color: #b2abb4; }
.field-note { font-size: 10px; color: #b0aab1; text-align: left; margin: 9px 2px; }
.orb-action-wrap { margin-top: auto; padding-top: 4px; }
.orb-action { width: 190px; height: 190px; position: relative; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-direction: column; -webkit-tap-highlight-color: transparent; }
.orb-button { width: 140px; height: 140px; filter: blur(9px); transition: filter .35s ease; }
.orb-action:hover .orb-button { filter: blur(11px) brightness(1.06); }
.orb-action:active .orb-button { animation: ripple .65s ease-out, breathe 5.6s ease-in-out infinite, float 7.5s ease-in-out infinite; }
.orb-hint { position: absolute; bottom: 7px; font-size: 10px; color: #aaa3ac; letter-spacing: .06em; white-space: nowrap; }
.bottom-note { min-height: 28px; padding-top: 6px; font-size: 10px; color: #b2acb3; letter-spacing: .04em; }
.site-footer { text-align: center; padding: 13px 0 22px; color: #b9b2ba; font: 9px "DM Sans", sans-serif; letter-spacing: .13em; }
.fade-out { animation: disappear .2s ease both; }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .82; } 50% { transform: scale(1.06); opacity: .96; } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes appear { from { opacity: 0; translate: 0 9px; } to { opacity: 1; translate: 0 0; } }
@keyframes disappear { to { opacity: 0; translate: 0 -5px; } }
@keyframes ripple { 0% { filter: blur(9px) brightness(1); } 45% { filter: blur(15px) brightness(1.18); } 100% { filter: blur(9px) brightness(1); } }
@media (min-height: 850px) { .practice-screen { padding-top: 55px; } .content-area { min-height: 360px; } .orb-action-wrap { padding-bottom: 30px; } }
@media (max-width: 600px) {
  .app-shell { padding: 0 21px; }
  .topbar { height: 64px; }
  .home-screen { padding-bottom: 30px; }
  .home-orb-wrap { width: 150px; height: 150px; }
  .home-orb { width: 128px; height: 128px; }
  .home-subtitle { margin-bottom: 31px; }
  .mode-card { min-height: 88px; padding: 19px 45px 17px 18px; }
  .practice-screen { min-height: calc(100svh - 112px); padding-top: 15px; }
  .content-area { min-height: 300px; padding-top: 8px; }
  .screen-heading h2, .prompt-view h2 { font-size: 23px; }
  .instruction { font-size: 12px; }
  .emotion-grid { gap: 8px; margin-top: 23px; }
  .emotion-card { min-height: 72px; }
  .orb-action { width: 170px; height: 170px; }
  .orb-button { width: 128px; height: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

.decision-options { display: flex; justify-content: center; gap: 10px; margin: 24px auto 0; flex-wrap: wrap; animation: appear .4s ease both; }
.decision-option { border: 1px solid rgba(255,255,255,.9); border-radius: 999px; padding: 9px 17px; background: rgba(255,255,255,.48); color: #8e8791; font-size: 11px; cursor: pointer; transition: .2s ease; }
.decision-option.selected { background: #e9e3ee; border-color: #d9d0e1; color: #62596a; }
