/* 基础变量、页面外壳与跨页面组件。第一阶段只搬移，不改选择器和值。 */
:root {
  --ink: #26364f;
  --muted: #68768b;
  --blue: #b9d9f6;
  --blue-deep: #7aaad8;
  --pink: #efb2c4;
  --cream: #fffaf4;
  --paper: #ffffff;
  --mint: #9fcdbb;
  --line: rgba(51, 73, 103, .12);
  --shadow: 0 24px 70px rgba(46, 65, 93, .16);
}
* { box-sizing: border-box; }
html { font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 15% 15%, rgba(239,178,196,.42), transparent 24%), radial-gradient(circle at 84% 80%, rgba(159,205,187,.38), transparent 28%), #dcecff; }
button { font: inherit; }
.desktop-story { display: none; }
.phone { min-height: 100vh; max-width: 460px; margin: 0 auto; background: linear-gradient(180deg, #edf7ff 0%, #fffaf7 72%); position: relative; overflow: hidden; }
.phone::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(185,217,246,.38); top: -170px; right: -120px; filter: blur(2px); }
header { height: 88px; padding: 10px 22px 0; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.brand-crop { width: 132px; height: 66px; overflow: hidden; position: relative; }
.brand-crop img { width: 132px; height: 132px; position: absolute; top: -31px; left: 0; object-fit: contain; }
.week-pill { border: 1px solid rgba(92,129,170,.16); background: rgba(255,255,255,.8); padding: 8px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #55708f; backdrop-filter: blur(10px); box-shadow: 0 7px 20px rgba(69,96,127,.08); }
main { padding: 0 20px 112px; position: relative; z-index: 1; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #7492b4; margin-top: 6px; }
h1 { font-size: clamp(29px, 8vw, 38px); line-height: 1.18; margin: 9px 0 8px; letter-spacing: -.035em; }
.sub { color: var(--muted); line-height: 1.65; margin: 0 0 16px; font-size: 15px; }
.companion-card { position: relative; min-height: 226px; border: 1px solid rgba(114,145,178,.15); background: rgba(255,255,255,.72); border-radius: 32px; overflow: hidden; box-shadow: 0 16px 45px rgba(66,93,128,.11); }
.mist { position: absolute; inset: auto -30px -55px; height: 120px; background: radial-gradient(ellipse at center, rgba(255,255,255,.98), rgba(255,255,255,.35) 65%, transparent 70%); }
.unicorn { position: absolute; height: 224px; width: auto; max-width: none; right: -2px; bottom: -7px; }
.speech { position: absolute; top: 18px; left: 18px; width: 155px; padding: 12px 14px; background: white; border-radius: 18px 18px 18px 5px; font-size: 14px; line-height: 1.45; box-shadow: 0 8px 24px rgba(56,76,103,.12); }
.prompt { margin: 23px 2px 12px; font-size: 18px; font-weight: 800; }
.choice-list { display: grid; gap: 11px; }
.choice { width: 100%; border: 1px solid var(--line); background: rgba(255,255,255,.86); min-height: 70px; padding: 13px 15px; border-radius: 20px; display: grid; grid-template-columns: 42px 1fr 24px; align-items: center; gap: 12px; text-align: left; color: var(--ink); box-shadow: 0 9px 24px rgba(70,92,120,.06); cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.choice:active { transform: scale(.985); }
.choice:hover { border-color: rgba(92,141,187,.42); transform: translateY(-2px); }
.choice-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; font-size: 21px; background: #edf5ff; }
.choice:nth-child(2) .choice-icon { background: #fff0f4; }
.choice:nth-child(3) .choice-icon { background: #edf8f3; }
.choice strong { display: block; font-size: 16px; }
.choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.arrow { font-size: 20px; color: #9babc0; }
nav { position: absolute; z-index: 5; bottom: 0; left: 0; right: 0; height: 88px; padding: 9px 16px 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; background: rgba(255,255,255,.92); border-top: 1px solid rgba(61,85,117,.1); backdrop-filter: blur(18px); }
.nav-item { border: 0; background: transparent; color: #8794a7; font-size: 12px; display: grid; place-items: center; gap: 4px; cursor: pointer; }
.nav-item span { font-size: 21px; line-height: 1; }
.nav-item.active { color: #4f7eaa; font-weight: 800; }
@media (min-width: 900px) {
  body { padding: 32px; display: grid; place-items: center; }
  .site-shell { width: min(1180px, 100%); min-height: 830px; display: grid; grid-template-columns: 1fr 430px; gap: 70px; align-items: center; }
  .desktop-story { display: block; color: white; padding-left: 5vw; }
  .desktop-story .kicker { font-size: 14px; font-weight: 800; letter-spacing: .14em; opacity: .74; }
  .desktop-story h2 { font-size: clamp(48px, 5vw, 74px); line-height: 1.07; letter-spacing: -.055em; margin: 18px 0 22px; max-width: 650px; }
  .desktop-story p { font-size: 19px; line-height: 1.75; max-width: 580px; color: rgba(255,255,255,.78); }
  .trail { display: flex; align-items: center; gap: 11px; margin-top: 38px; }
  .trail i { display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); }
  .trail i:nth-child(-n+3) { background: white; box-shadow: 0 0 20px rgba(255,255,255,.55); }
  .trail b { width: 54px; height: 2px; background: rgba(255,255,255,.26); }
  .phone { width: 430px; height: min(850px, calc(100vh - 64px)); min-height: 720px; border-radius: 42px; box-shadow: var(--shadow), 0 0 0 8px rgba(255,255,255,.17); }
}
.phone main { height: calc(100dvh - 88px); overflow-y: auto; scrollbar-width: none; }
.phone main::-webkit-scrollbar { display: none; }
nav { position: fixed; width: min(100%, 460px); left: 50%; right: auto; transform: translateX(-50%); }
.screen { animation: arrive .36s cubic-bezier(.2,.8,.2,1); }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-top { display: flex; align-items: center; gap: 12px; margin: 4px 0 20px; }
.back { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.8); color: var(--ink); font-size: 24px; cursor: pointer; }
.page-top h2 { font-size: 21px; margin: 0; }
.page-top small { display: block; color: var(--muted); margin-top: 3px; }
.soft-card { border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.82); padding: 19px; box-shadow: 0 12px 34px rgba(70,92,120,.07); }
.soft-card + .soft-card { margin-top: 12px; }
.question { font-size: 25px; line-height: 1.3; margin: 8px 0 8px; letter-spacing: -.025em; }
.helper { margin: 0 0 18px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0; }
.chip { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.chip.selected { border-color: #78a6d1; background: #eaf5ff; box-shadow: 0 0 0 3px rgba(122,170,216,.12); }
textarea, input[type="text"] { width: 100%; border: 1px solid rgba(62,85,115,.14); background: rgba(255,255,255,.88); color: var(--ink); border-radius: 18px; padding: 15px 16px; font: inherit; font-size: 16px; outline: none; resize: vertical; }
textarea:focus, input[type="text"]:focus { border-color: #7faed8; box-shadow: 0 0 0 4px rgba(127,174,216,.13); }
textarea { min-height: 108px; }
.primary, .secondary { width: 100%; min-height: 52px; border-radius: 17px; padding: 13px 16px; font-weight: 800; cursor: pointer; margin-top: 14px; }
.primary { border: 0; color: white; background: linear-gradient(135deg, #6598ca, #7eb7b1); box-shadow: 0 12px 26px rgba(83,137,172,.25); }
.secondary { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.84); }
.primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.mini-unicorn { position: relative; height: 136px; overflow: hidden; border-radius: 21px; background: linear-gradient(145deg, #edf7ff, #fff5f8); margin-bottom: 16px; }
.mini-unicorn img { position: absolute; height: 150px; width: auto; left: 61%; top: 0; transform: translateX(-50%); }
.support-copy { font-size: 18px; line-height: 1.65; margin: 8px 0; }
.quiet-note { padding: 13px 15px; margin-top: 13px; border-left: 3px solid var(--pink); background: #fff6f8; border-radius: 5px 14px 14px 5px; color: #6d5360; font-size: 14px; line-height: 1.55; }
.task-input { min-height: 116px; }

/* Keep scrolling available without visible scrollbars. */
*,*::before,*::after{scrollbar-width:none;-ms-overflow-style:none;}
*::-webkit-scrollbar{display:none;width:0;height:0;}
