:root {
  --ink: #303342;
  --muted: #777b8c;
  --line: rgba(80, 85, 108, 0.12);
  --paper: rgba(255, 255, 255, 0.55);
  --paper-strong: rgba(255, 255, 255, 0.76);
  --violet: #77749a;
  --violet-dark: #5e5b7e;
  --warm: #d9a47d;
  --shadow: 0 24px 60px rgba(77, 80, 103, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #eef0f5;
  letter-spacing: 0.02em;
}
button, textarea { font: inherit; }
button { color: inherit; }
.sky { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #cbdce8 0%, #edf2f5 42%, #eeeef5 72%, #f6f0ec 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .52; animation: drift 18s ease-in-out infinite alternate; }
.orb-one { width: 46vw; height: 46vw; top: -20vw; right: -10vw; background: radial-gradient(circle, #dacfe5, transparent 67%); }
.orb-two { width: 52vw; height: 52vw; bottom: -26vw; left: -16vw; background: radial-gradient(circle, #d7e7e4, transparent 68%); animation-delay: -5s; }
.orb-three { width: 30vw; height: 30vw; top: 42%; left: 40%; background: radial-gradient(circle, #f5ddcf, transparent 70%); animation-delay: -9s; }
.grain { position: absolute; inset: 0; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E"); }
@keyframes drift { to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }
.cloud { position: absolute; border-radius: 50%; background: rgba(255,255,255,.58); filter: blur(24px); animation: cloud-drift 28s ease-in-out infinite alternate; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 70%; height: 120%; left: 15%; top: -55%; }
.cloud::after { width: 55%; height: 95%; right: -25%; top: -25%; }
.cloud-back-one { width: 38vw; height: 10vw; top: 19vh; left: -12vw; opacity: .38; }
.cloud-back-two { width: 32vw; height: 8vw; top: 30vh; right: -9vw; opacity: .34; animation-delay: -10s; }
.cloud-front-one { width: 55vw; height: 14vw; bottom: -6vw; left: -16vw; opacity: .68; filter: blur(18px); animation-delay: -6s; }
.cloud-front-two { width: 50vw; height: 13vw; bottom: -5vw; right: -14vw; opacity: .62; filter: blur(18px); animation-delay: -15s; }
@keyframes cloud-drift { to { transform: translateX(5vw) translateY(-1vh) scale(1.06); } }

.app-shell { position: relative; min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.sidebar { position: fixed; z-index: 10; inset: 0 auto 0 0; width: 248px; padding: 34px 24px 24px; border-right: 1px solid rgba(255,255,255,.62); background: rgba(247,248,250,.42); backdrop-filter: blur(28px); display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 0 48px; background: none; border: 0; text-align: left; cursor: pointer; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(92,87,121,.24); border-radius: 50%; font-family: serif; font-size: 18px; color: var(--violet-dark); background: rgba(255,255,255,.38); box-shadow: inset 0 0 20px rgba(255,255,255,.7); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: serif; font-size: 20px; letter-spacing: .28em; font-weight: 500; }
.brand-copy small { font-size: 8px; letter-spacing: .32em; color: #9495a2; }
.main-nav { display: grid; gap: 6px; }
.nav-item { width: 100%; border: 0; border-radius: 12px; padding: 12px 13px; display: flex; align-items: center; gap: 12px; color: #7b7e8d; background: transparent; cursor: pointer; transition: .25s ease; }
.nav-item span { width: 20px; font-size: 18px; color: #9998aa; }
.nav-item i { margin-left: auto; border: 1px solid rgba(120,116,154,.18); border-radius: 10px; padding: 2px 6px; font-size: 9px; font-style: normal; color: #8d89ab; }
.nav-item:hover, .nav-item.active { color: #4f5060; background: rgba(255,255,255,.56); box-shadow: 0 8px 24px rgba(100,100,125,.07); }
.nav-item.active span { color: #77739b; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 10px; }
.plan-chip { border: 1px solid rgba(119,116,154,.14); border-radius: 15px; padding: 12px; background: rgba(255,255,255,.52); display: flex; gap: 10px; align-items: center; text-align: left; cursor: pointer; }
.plan-chip span:nth-child(2) { display: grid; gap: 2px; }
.plan-chip small { color: #999aaa; font-size: 9px; }
.plan-chip strong { font-size: 12px; font-weight: 600; color: #67647f; }
.plan-chip b { margin-left: auto; font-weight: 400; color: #aaa8b5; }
.plan-dot { width: 7px; height: 7px; border-radius: 50%; background: #a69bc1; box-shadow: 0 0 0 5px rgba(166,155,193,.12); }
.subtle { font-size: 11px; }
.main { grid-column: 2; min-height: 100vh; padding: 0 5vw 56px; }
.page { display: none; width: min(1240px, 100%); margin: 0 auto; padding-top: 48px; animation: reveal .5s ease both; }
.page.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.mobile-header, .mobile-nav { display: none; }

.eyebrow { display: block; color: #9696a4; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; }
.home-top { display: flex; justify-content: space-between; align-items: center; }
.quiet-sound { border: 1px solid rgba(255,255,255,.66); background: rgba(255,255,255,.32); border-radius: 22px; padding: 7px 9px 7px 13px; display: flex; align-items: center; gap: 8px; color: #898997; cursor: pointer; transition: .25s; }
.quiet-sound:hover { background: rgba(255,255,255,.65); }
.quiet-sound b { border-radius: 16px; background: rgba(255,255,255,.65); padding: 5px 9px; font-size: 9px; font-weight: 500; }
.sound-bars { width: 14px; height: 12px; display: flex; gap: 2px; align-items: flex-end; }
.sound-bars i { width: 2px; height: 35%; border-radius: 2px; background: #9995ac; }
.quiet-sound.playing .sound-bars i { animation: soundbar .8s ease-in-out infinite alternate; }
.quiet-sound.playing .sound-bars i:nth-child(2) { animation-delay: -.45s; }
.quiet-sound.playing .sound-bars i:nth-child(3) { animation-delay: -.25s; }
@keyframes soundbar { to { height: 100%; } }
.home-hero { position: relative; isolation: isolate; min-height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 42px 20px 24px; }
.home-hero > *:not(.cloud-crossroads) { position: relative; z-index: 3; }
.cloud-crossroads { position: absolute; z-index: 0; inset: 3% -5% -8%; pointer-events: none; overflow: hidden; opacity: .94; mask-image: linear-gradient(to bottom, transparent 0%, black 17%, black 88%, transparent 100%); }
.cloud-crossroads::before { content: ""; position: absolute; width: 54%; height: 30%; left: 23%; bottom: 3%; border-radius: 50% 50% 20% 20%; background: radial-gradient(ellipse at center, rgba(255,255,255,.76), rgba(207,224,233,.3) 50%, transparent 72%); filter: blur(7px); box-shadow: 0 -20px 55px rgba(255,255,255,.7); }
.cloud-crossroads::after { content: ""; position: absolute; width: 44%; height: 28%; left: 28%; bottom: 4%; border-radius: 50%; border-top: 1px solid rgba(255,250,219,.8); box-shadow: 0 -12px 28px rgba(255,247,201,.45); }
.sky-island { position: absolute; width: 36%; height: 13%; bottom: 18%; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(182,207,220,.4)); filter: blur(3px); box-shadow: 0 -18px 50px rgba(255,255,255,.88), 0 25px 45px rgba(108,129,144,.18); }
.island-left { left: -15%; transform: rotate(6deg); }
.island-right { right: -15%; transform: rotate(-6deg); }
.light-road { position: absolute; bottom: 8%; height: 45%; border-radius: 50% 50% 8% 8%; transform-origin: bottom; background: linear-gradient(to top, rgba(255,248,211,.9), rgba(218,239,248,.44) 52%, rgba(255,255,255,.03)); filter: blur(1px); border-inline: 1px solid rgba(255,255,255,.3); box-shadow: 0 0 24px rgba(255,246,201,.55), inset 0 0 18px rgba(255,255,255,.55); }
.road-center { width: 9%; left: 45.5%; transform: perspective(260px) rotateX(20deg); }
.road-left { width: 7%; left: 32%; transform: rotate(-43deg); }
.road-right { width: 7%; right: 32%; transform: rotate(43deg); }
.crossroad-glow { position: absolute; width: 32%; height: 22%; left: 34%; bottom: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255,243,186,.95), rgba(255,255,255,.24) 52%, transparent 72%); filter: blur(8px); animation: breathe-glow 4s ease-in-out infinite; }
.floating-light { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff9d8; box-shadow: 0 0 14px 5px rgba(255,248,206,.55); animation: light-rise 5s ease-in-out infinite; }
.light-one { left: 33%; bottom: 24%; }
.light-two { right: 29%; bottom: 32%; animation-delay: -2s; }
.light-three { left: 55%; bottom: 42%; animation-delay: -3.5s; }
@keyframes light-rise { 50% { transform: translateY(-35px) translateX(8px); opacity: .45; } }
@keyframes breathe-glow { 50% { opacity: .55; transform: scale(1.12); } }
.companion { position: relative; width: 140px; height: 126px; margin-bottom: 16px; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.home-companion { animation: spirit-arrive 2.2s cubic-bezier(.18,.8,.2,1) both, float 5s 2.2s ease-in-out infinite; }
@keyframes spirit-arrive {
  0% { opacity: 0; transform: translate3d(-42vw, 12vh, 0) scale(.3) rotate(-15deg); filter: blur(10px); }
  58% { opacity: 1; transform: translate3d(15px, -18px, 0) scale(1.08) rotate(4deg); filter: blur(0); }
  78% { transform: translate3d(-8px, 3px, 0) scale(.98) rotate(-2deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
}
.spirit-wings { position: absolute; z-index: -1; inset: 22px 5px auto; height: 52px; }
.spirit-wings i { position: absolute; top: 8px; width: 48px; height: 34px; background: linear-gradient(140deg, rgba(255,255,255,.92), rgba(210,229,238,.28)); filter: blur(.4px); box-shadow: 0 0 22px rgba(255,255,255,.8); }
.spirit-wings i:first-child { left: 4px; border-radius: 80% 20% 70% 30%; transform-origin: right; animation: wing-left 1.4s ease-in-out infinite; }
.spirit-wings i:last-child { right: 4px; border-radius: 20% 80% 30% 70%; transform-origin: left; animation: wing-right 1.4s ease-in-out infinite; }
@keyframes wing-left { 50% { transform: rotate(-18deg) scaleX(.82); } }
@keyframes wing-right { 50% { transform: rotate(18deg) scaleX(.82); } }
.companion-halo { position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.85), rgba(207,207,226,.35) 40%, transparent 69%); filter: blur(4px); }
.companion-body { position: absolute; width: 64px; height: 70px; left: 38px; top: 18px; border-radius: 48% 48% 42% 42%; background: linear-gradient(150deg, rgba(255,255,255,.92), rgba(216,215,230,.84)); box-shadow: inset -8px -10px 18px rgba(131,126,161,.12), 0 12px 30px rgba(109,106,136,.2); }
.companion-body::before, .companion-body::after { content: ""; position: absolute; width: 25px; height: 30px; top: -6px; background: inherit; }
.companion-body::before { left: -8px; border-radius: 70% 35% 60% 35%; transform: rotate(-24deg); }
.companion-body::after { right: -8px; border-radius: 35% 70% 35% 60%; transform: rotate(24deg); }
.companion-body i { position: absolute; z-index: 2; width: 4px; height: 5px; top: 31px; border-radius: 50%; background: #767287; }
.companion-body i:first-child { left: 21px; }
.companion-body i:nth-child(2) { right: 21px; }
.companion-body span { position: absolute; z-index: 2; width: 9px; height: 4px; left: 28px; top: 43px; border-bottom: 1px solid #9691a4; border-radius: 50%; }
.companion-shadow { position: absolute; left: 39px; bottom: 14px; width: 64px; height: 11px; border-radius: 50%; background: rgba(97,94,122,.14); filter: blur(7px); }
.arrive { margin: 0 0 16px; color: #858393; font-family: serif; letter-spacing: .22em; font-size: 13px; }
h1 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(32px, 4.1vw, 56px); font-weight: 400; letter-spacing: .08em; line-height: 1.42; color: #4b4c5a; }
h1 em, .membership-hero h2 em { font-style: normal; color: #7c7897; }
.hero-note { margin: 15px 0 10px; color: #8a8b98; font-size: 12px; line-height: 2; }
.primary-btn, .secondary-btn, .danger-btn { border: 0; border-radius: 24px; padding: 13px 20px; cursor: pointer; transition: .25s ease; }
.primary-btn { color: white; background: linear-gradient(135deg, #777493, #626078); box-shadow: 0 14px 30px rgba(89,86,113,.22); }
.primary-btn span { margin-left: 18px; }
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(89,86,113,.28); }
.secondary-btn { color: #686779; border: 1px solid rgba(104,102,128,.14); background: rgba(255,255,255,.62); }
.secondary-btn:hover { background: rgba(255,255,255,.9); }
.danger-btn { color: #a76161; background: rgba(174,90,90,.08); }
.mood-picker { display: flex; gap: 7px; margin: 22px 0 14px; flex-wrap: wrap; justify-content: center; }
.mood-picker button { min-width: 68px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; padding: 9px 10px; background: rgba(255,255,255,.43); color: #858492; cursor: pointer; transition: .25s; }
.mood-picker button:hover { transform: translateY(-3px); background: rgba(255,255,255,.75); }
.mood-picker span { display: block; margin-top: 4px; font-size: 8px; }
.voice-hero-btn { min-width: 230px; border: 0; border-radius: 28px; padding: 11px 18px; display: grid; grid-template-columns: 34px 1fr; text-align: left; color: white; background: linear-gradient(135deg, #7d7897, #5d5b73); box-shadow: 0 18px 38px rgba(85,81,110,.25); cursor: pointer; transition: .25s; }
.voice-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 45px rgba(85,81,110,.3); }
.voice-hero-btn > span { grid-row: span 2; align-self: center; font-size: 20px; }
.voice-hero-btn strong { font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.voice-hero-btn small { color: rgba(255,255,255,.55); font-size: 8px; }
.text-entry-btn { border: 0; background: transparent; color: #9694a2; font-size: 9px; cursor: pointer; }
.text-entry-btn span { margin-left: 7px; }
.mobile-install-card { display: none; }
.home-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glass-card { border: 1px solid rgba(255,255,255,.68); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); backdrop-filter: blur(22px); }
.mini-card { min-height: 104px; padding: 19px; display: flex; align-items: center; gap: 12px; }
.mini-card div:nth-child(2) { display: grid; gap: 5px; }
.mini-card span { color: #9696a1; font-size: 10px; }
.mini-card strong { font-family: serif; font-size: 15px; font-weight: 500; color: #5e5f6b; }
.mini-card small { margin-left: auto; color: #a4a4af; font-size: 9px; align-self: end; }
.card-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; }
.card-icon.warm { background: #f3e6db; color: #bb9173; }
.card-icon.cool { background: #e1ebef; color: #7793a0; }
.card-icon.purple { background: #e8e4ee; color: #8b80a5; }

.page-head { margin: 24px 0 32px; min-height: 90px; display: flex; justify-content: space-between; align-items: flex-end; }
.page-head h2, .membership-hero h2 { margin: 8px 0 7px; font-family: "Songti SC", serif; font-weight: 400; font-size: clamp(30px, 4vw, 48px); letter-spacing: .08em; }
.page-head p, .membership-hero p { margin: 0; color: #8a8a98; font-size: 11px; }
.usage-pill { min-width: 180px; border-radius: 18px; padding: 10px 11px 10px 15px; background: rgba(255,255,255,.45); display: flex; align-items: center; gap: 12px; color: #8b8b98; font-size: 9px; }
.usage-pill b { margin-left: auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(#8984a4 99%, rgba(120,120,140,.12) 0); color: #5f5c77; font-size: 9px; box-shadow: inset 0 0 0 7px rgba(255,255,255,.82); }
.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
.chat-panel { min-height: 650px; padding: 24px; display: flex; flex-direction: column; background: rgba(255,255,255,.62); }
.messages { flex: 1; max-height: 485px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; padding: 10px 8px 24px; scrollbar-width: thin; scrollbar-color: rgba(100,100,120,.15) transparent; }
.message { display: flex; gap: 10px; align-items: flex-start; max-width: 82%; }
.message.user { margin-left: auto; flex-direction: row-reverse; }
.avatar { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: linear-gradient(145deg, #efedf3, #d9d8e4); color: #77728d; font-family: serif; font-size: 11px; }
.bubble { border-radius: 4px 18px 18px 18px; padding: 13px 16px; background: rgba(255,255,255,.74); box-shadow: 0 8px 24px rgba(70,72,90,.06); }
.user .bubble { border-radius: 18px 4px 18px 18px; background: #77748e; color: white; }
.bubble p { margin: 0; font-size: 12px; line-height: 1.9; }
.bubble small { display: block; margin-top: 8px; color: #9d9ba9; font-size: 9px; line-height: 1.7; }
.near-limit { margin: 0 4px 9px; padding: 9px 12px; border-radius: 12px; color: #8a796d; background: rgba(230,206,188,.28); font-size: 10px; }
.hidden { display: none !important; }
.depth-selector { display: flex; gap: 6px; margin: 0 4px 9px; overflow-x: auto; }
.depth-selector button, .voice-modes button { white-space: nowrap; border: 1px solid rgba(120,116,146,.1); border-radius: 14px; padding: 7px 11px; color: #9694a3; background: rgba(255,255,255,.4); font-size: 9px; cursor: pointer; }
.depth-selector button.active, .voice-modes button.active { color: #67637d; background: rgba(255,255,255,.9); box-shadow: 0 6px 16px rgba(80,80,105,.08); }
.composer { min-height: 56px; padding: 6px 7px; border: 1px solid rgba(113,110,137,.12); border-radius: 18px; background: rgba(255,255,255,.76); display: flex; align-items: flex-end; gap: 8px; box-shadow: 0 12px 30px rgba(80,80,105,.07); }
.composer textarea { flex: 1; max-height: 120px; resize: none; border: 0; outline: none; background: transparent; color: #555664; padding: 10px 0; font-size: 12px; }
.composer textarea::placeholder { color: #a8a8b2; }
.composer button { width: 42px; height: 42px; border: 0; border-radius: 14px; color: white; background: #77748e; cursor: pointer; }
.composer .composer-voice { color: #77748e; background: rgba(121,116,145,.1); }
.quick-prompts { display: flex; gap: 7px; margin-top: 11px; overflow-x: auto; }
.quick-prompts button { white-space: nowrap; border: 1px solid rgba(120,116,146,.1); border-radius: 14px; padding: 7px 11px; background: rgba(255,255,255,.4); color: #9694a3; font-size: 9px; cursor: pointer; }
.chat-aside { display: grid; gap: 18px; align-content: start; }
.insight-card, .principle-card { padding: 22px; text-align: center; }
.emotion-orbit { position: relative; width: 150px; height: 150px; margin: 20px auto; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.82) 0 24%, rgba(205,204,223,.34) 40%, transparent 68%); }
.emotion-orbit::before, .emotion-orbit::after { content: ""; position: absolute; border: 1px solid rgba(126,122,157,.15); border-radius: 50%; }
.emotion-orbit::before { inset: 15px; }
.emotion-orbit::after { inset: 32px; }
.emotion-orbit i { position: absolute; z-index: 2; top: 21px; left: 38px; width: 9px; height: 9px; border-radius: 50%; background: #a8a2c1; box-shadow: 0 0 15px #8d87ae; }
.emotion-orbit strong { z-index: 2; font-family: serif; font-size: 18px; font-weight: 400; }
.emotion-orbit small { position: absolute; z-index: 2; top: 92px; color: #9997a9; }
.insight-card p, .principle-card small { color: #9999a5; font-size: 9px; line-height: 1.8; }
.principle-card span { color: #9a99a5; font-size: 9px; }
.principle-card strong { display: block; margin: 10px 0 17px; font-family: serif; font-size: 15px; font-weight: 400; line-height: 1.8; }
.ratio { height: 3px; border-radius: 3px; background: rgba(120,117,145,.12); overflow: hidden; }
.ratio i { display: block; height: 100%; background: #9690ad; }

.emotion-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.emotion-map-card { grid-row: span 2; padding: 24px; }
.pattern-card, .calm-card { padding: 24px; }
.card-title { display: flex; justify-content: space-between; color: #696a77; font-family: serif; font-size: 14px; }
.card-title small { font-family: sans-serif; color: #a1a1ac; font-size: 8px; }
.weather-map { position: relative; min-height: 520px; display: grid; place-items: center; }
.weather-map::before, .weather-map::after { content: ""; position: absolute; border: 1px solid rgba(128,124,153,.11); border-radius: 50%; }
.weather-map::before { width: 330px; height: 330px; }
.weather-map::after { width: 220px; height: 220px; }
.weather-center { z-index: 2; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, white, #dddde9); box-shadow: 0 20px 45px rgba(99,95,127,.17); font-family: serif; text-align: center; }
.weather-center small { color: #9290a2; }
.weather-dot { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.65); box-shadow: 0 12px 30px rgba(80,80,105,.1); color: #777786; font-size: 9px; font-style: normal; }
.d1 { width: 76px; height: 76px; top: 74px; right: 80px; }
.d2 { width: 66px; height: 66px; bottom: 96px; right: 54px; }
.d3 { width: 58px; height: 58px; bottom: 70px; left: 88px; }
.d4 { width: 48px; height: 48px; top: 132px; left: 42px; }
.d5 { width: 42px; height: 42px; top: 48px; left: 152px; }
.pattern-list { display: grid; gap: 12px; margin-top: 18px; }
.pattern-list > div { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pattern-list > div:last-child { border: 0; }
.pattern-list b { color: #aca9ba; font-size: 9px; }
.pattern-list p { margin: 0; display: grid; gap: 6px; }
.pattern-list strong { font-size: 11px; font-weight: 500; }
.pattern-list span { color: #9999a5; font-size: 9px; line-height: 1.7; }
.calm-bars { display: grid; gap: 15px; margin-top: 25px; }
.calm-bars div { display: grid; grid-template-columns: 70px 1fr 48px; align-items: center; gap: 8px; font-size: 9px; color: #777887; }
.calm-bars i { height: 3px; border-radius: 4px; background: rgba(126,123,151,.1); overflow: hidden; }
.calm-bars b { display: block; height: 100%; background: #9994af; }
.calm-bars em { color: #a1a1ac; font-style: normal; }

.memory-layout { display: grid; grid-template-columns: 270px 1fr; gap: 18px; }
.profile-card { padding: 30px 22px; text-align: center; align-self: start; }
.profile-orb { width: 90px; height: 90px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 25%, white, #d9d6e3); box-shadow: 0 18px 40px rgba(86,83,108,.15); font-family: serif; font-size: 26px; color: #77738e; }
.profile-card h3 { margin: 0; font-family: serif; font-weight: 500; }
.profile-card p { color: #9999a5; font-size: 9px; }
.profile-card small { display: block; margin-top: 24px; color: #aaa9b3; font-size: 8px; line-height: 1.7; }
.profile-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.profile-tags span { padding: 6px 9px; border-radius: 12px; background: rgba(255,255,255,.6); color: #878693; font-size: 8px; }
.memory-list { display: grid; gap: 14px; }
.memory-card { padding: 22px 24px; }
.memory-type { display: inline-block; border-radius: 12px; padding: 5px 8px; color: #7b8294; background: #e8edf0; font-size: 8px; }
.memory-type.violet { background: #ece8f0; color: #8c7d99; }
.memory-type.green { background: #e6eeeb; color: #738a81; }
.memory-card h3 { margin: 13px 0 8px; font-family: serif; font-size: 16px; font-weight: 500; }
.memory-card p { margin: 0; color: #858692; font-size: 10px; line-height: 1.9; }
.memory-card footer { margin-top: 18px; padding-top: 11px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #aaa9b2; font-size: 8px; }
.memory-card footer button { border: 0; background: transparent; color: #a8a6b0; font-size: 8px; cursor: pointer; }

.premium-label, .best-choice { border-radius: 14px; padding: 7px 10px; color: #837c9e; background: rgba(232,226,241,.75); font-size: 8px; }
.growth-layout { display: grid; grid-template-columns: 1fr .75fr; gap: 18px; }
.growth-intro { padding: 42px; text-align: center; }
.growth-orbit { width: 130px; height: 130px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, white 10%, #e1dfeb 35%, transparent 68%); }
.growth-orbit span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; color: white; background: #7b7693; }
.growth-intro h3 { margin: 0; font-family: serif; font-weight: 400; font-size: 24px; line-height: 1.6; }
.growth-intro > p { max-width: 470px; margin: 18px auto; color: #8e8e9b; font-size: 10px; line-height: 1.9; }
.stability-scale { max-width: 420px; margin: 28px auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; color: #aaa9b3; font-size: 8px; }
.stability-scale div { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #c5a49d, #dcdce5, #98aaa7); position: relative; }
.stability-scale i { position: absolute; top: -4px; left: 42%; width: 11px; height: 11px; border: 2px solid white; border-radius: 50%; background: #918ca8; box-shadow: 0 2px 8px rgba(70,70,90,.2); }
.growth-result { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.42); }
.growth-steps { display: grid; gap: 14px; align-content: center; }
.growth-steps article { padding: 22px; display: flex; gap: 17px; }
.growth-steps b { color: #aaa7b8; font-size: 9px; }
.growth-steps strong { font-family: serif; font-size: 14px; font-weight: 500; }
.growth-steps p { margin: 7px 0 0; color: #9999a5; font-size: 9px; line-height: 1.7; }

.letter-paper { width: min(760px, 100%); margin: 0 auto; padding: 70px 82px; border: 1px solid rgba(255,255,255,.75); background: rgba(255,253,249,.69); box-shadow: 0 30px 80px rgba(90,82,84,.12); font-family: "Songti SC", serif; position: relative; }
.letter-paper::before { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(142,125,128,.1); pointer-events: none; }
.letter-date { text-align: right; color: #8c8991; font-size: 10px; line-height: 1.8; }
.letter-date span { color: #aaa5a8; font-size: 8px; }
.letter-paper h3 { margin: 40px 0 24px; font-size: 17px; font-weight: 500; }
.letter-paper p { color: #696872; font-size: 12px; line-height: 2.4; }
.letter-paper blockquote { margin: 30px 0; padding: 18px 24px; border-left: 2px solid #aaa0b3; background: rgba(235,230,237,.45); color: #746d7b; font-size: 12px; line-height: 2; }
.letter-paper footer { margin-top: 42px; text-align: right; color: #88848c; font-size: 11px; line-height: 2; }

.membership-hero { max-width: 680px; margin: 30px auto 42px; text-align: center; }
.membership-hero h2 { font-size: clamp(36px, 5vw, 58px); }
.membership-hero p { max-width: 550px; margin: 15px auto; line-height: 2; }
.trial-banner { display: inline-block; margin-top: 15px; border: 1px solid rgba(126,119,153,.13); border-radius: 16px; padding: 8px 13px; color: #837e99; background: rgba(255,255,255,.48); font-size: 9px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card { padding: 27px 25px; display: flex; flex-direction: column; }
.price-card.featured { border-radius: var(--radius); padding: 27px 25px; color: #f9f8fc; background: linear-gradient(150deg, rgba(103,99,128,.92), rgba(75,74,94,.96)); box-shadow: 0 28px 65px rgba(75,72,99,.24); position: relative; }
.best-choice { position: absolute; top: 18px; right: 18px; color: #e9e5f2; background: rgba(255,255,255,.11); }
.price-name { font-family: serif; font-size: 16px; }
.price { margin: 22px 0 12px; display: flex; gap: 5px; align-items: baseline; }
.price strong { font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.price small, .price-card p, .price-card li { color: #9999a7; font-size: 9px; }
.featured .price small, .featured p, .featured li { color: rgba(255,255,255,.58); }
.price-card p { min-height: 36px; line-height: 1.8; }
.price-card ul { flex: 1; list-style: none; padding: 10px 0 16px; display: grid; gap: 12px; }
.price-card li::before { content: "✓"; margin-right: 8px; color: #8c89a0; }
.featured li::before { color: #d8d2e6; }
.price-card button { width: 100%; margin-top: auto; }
.featured .primary-btn { color: #625f77; background: #f6f4f8; }
.billing-note, .safety-note { margin: 26px auto; color: #a2a1ab; font-size: 8px; text-align: center; line-height: 1.8; }

.settings-list { display: grid; gap: 13px; }
.setting-row { padding: 19px 22px; display: flex; justify-content: space-between; align-items: center; }
.setting-row strong { font-family: serif; font-size: 14px; font-weight: 500; }
.setting-row p { margin: 6px 0 0; color: #9999a5; font-size: 9px; }
.setting-row code { display: block; margin-top: 8px; color: #716d87; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; user-select: all; }
.setting-row button { min-width: 100px; }
.setting-row.danger { border-color: rgba(178,98,98,.12); }
.switch input { display: none; }
.switch i { display: block; width: 44px; height: 24px; padding: 3px; border-radius: 20px; background: #d5d5df; cursor: pointer; transition: .2s; }
.switch i::before { content: ""; display: block; width: 18px; height: 18px; border-radius: 50%; background: white; transition: .2s; box-shadow: 0 2px 5px rgba(80,80,100,.2); }
.switch input:checked + i { background: #89849e; }
.switch input:checked + i::before { transform: translateX(20px); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 26px; transform: translate(-50%, 15px); min-width: 260px; max-width: calc(100vw - 30px); padding: 12px 18px; border: 1px solid rgba(255,255,255,.6); border-radius: 16px; color: #676675; background: rgba(250,250,252,.88); backdrop-filter: blur(18px); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .3s; font-size: 10px; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
.music-room { position: fixed; z-index: 42; inset: 0; display: flex; align-items: stretch; justify-content: flex-end; }
.music-backdrop { position: absolute; inset: 0; border: 0; background: rgba(56,57,72,.18); backdrop-filter: blur(10px); cursor: default; }
.music-panel { position: relative; z-index: 2; width: min(510px, 100%); height: 100%; padding: 34px 30px 25px; overflow-y: auto; color: #4e4f5d; background: linear-gradient(160deg, rgba(247,246,249,.97), rgba(237,235,242,.97)); box-shadow: -25px 0 70px rgba(56,56,76,.17); animation: slide-in .4s ease both; }
@keyframes slide-in { from { opacity: 0; transform: translateX(35px); } }
.music-head { display: flex; justify-content: space-between; gap: 20px; }
.music-head h2 { margin: 8px 0 6px; font-family: "Songti SC", serif; font-size: 34px; font-weight: 400; letter-spacing: .1em; }
.music-head p { margin: 0; color: #9997a3; font-size: 9px; line-height: 1.7; }
.music-close { flex: 0 0 37px; height: 37px; border: 1px solid rgba(100,98,123,.1); border-radius: 50%; color: #898695; background: rgba(255,255,255,.55); font-size: 20px; cursor: pointer; }
.now-playing { margin: 26px 0 19px; padding: 18px; border: 1px solid rgba(255,255,255,.75); border-radius: 24px; display: grid; grid-template-columns: 82px 1fr 50px; gap: 15px; align-items: center; background: rgba(255,255,255,.53); box-shadow: 0 20px 48px rgba(80,77,102,.1); }
.record-art { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle, #79758f 0 2px, #716d87 3px 5px, #8e89a3 6px 8px); box-shadow: inset 0 0 25px rgba(32,31,46,.28), 0 12px 26px rgba(75,72,95,.2); }
.record-art.playing { animation: spin-record 8s linear infinite; }
@keyframes spin-record { to { transform: rotate(360deg); } }
.record-center { width: 30px; height: 30px; border: 5px solid rgba(245,240,244,.6); border-radius: 50%; display: grid; place-items: center; color: #766e80; background: #e9d7d4; font-family: serif; font-size: 9px; }
.track-copy { min-width: 0; }
.track-copy > span { color: #a09eaa; font-size: 8px; }
.track-copy h3 { margin: 7px 0 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: "Songti SC", serif; font-size: 15px; font-weight: 500; }
.track-copy p { margin: 0; color: #9997a3; font-size: 8px; line-height: 1.6; }
.music-play { width: 46px; height: 46px; border: 0; border-radius: 50%; color: white; background: #77728c; box-shadow: 0 10px 24px rgba(80,76,102,.24); cursor: pointer; }
.music-controls { display: grid; gap: 12px; padding: 0 3px; }
.music-controls label { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 8px; color: #9997a3; font-size: 8px; }
.music-controls input { width: 100%; accent-color: #817c96; }
.music-timers { display: flex; align-items: center; gap: 6px; overflow-x: auto; }
.music-timers span { margin-right: 3px; color: #9997a3; font-size: 8px; white-space: nowrap; }
.music-timers button { border: 1px solid rgba(113,109,137,.1); border-radius: 12px; padding: 5px 9px; color: #9997a3; background: rgba(255,255,255,.35); font-size: 8px; cursor: pointer; white-space: nowrap; }
.music-timers button.active { color: #6f6a84; background: rgba(255,255,255,.8); }
.music-intro { margin: 24px 0 9px; display: flex; justify-content: space-between; align-items: center; }
.music-intro strong { font-family: serif; font-size: 13px; font-weight: 500; }
.music-intro span { color: #aaa8b2; font-size: 7px; }
.track-list { display: grid; gap: 7px; }
.track-item { width: 100%; padding: 11px 10px; border: 1px solid transparent; border-radius: 16px; display: grid; grid-template-columns: 20px 34px 1fr auto; align-items: center; gap: 9px; color: #777683; background: transparent; text-align: left; cursor: pointer; }
.track-item:hover, .track-item.active { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.5); box-shadow: 0 8px 24px rgba(80,78,100,.06); }
.track-item > b { color: #b0aeba; font-size: 8px; font-weight: 400; }
.track-item > span:nth-child(3) { min-width: 0; display: grid; gap: 3px; }
.track-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: serif; font-size: 11px; font-weight: 500; }
.track-item small, .track-item em { color: #aaa8b2; font-size: 7px; font-style: normal; }
.track-orb { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 10px rgba(255,255,255,.5); }
.track-orb.violet { background: radial-gradient(circle at 35% 30%, #e8e4ef, #8f88a3); }
.track-orb.blue { background: radial-gradient(circle at 35% 30%, #e8f0f3, #839da8); }
.track-orb.peach { background: radial-gradient(circle at 35% 30%, #f5e9df, #d3a98e); }
.track-orb.rose { background: radial-gradient(circle at 35% 30%, #f0e3e4, #b98f98); }
.track-orb.gray { background: radial-gradient(circle at 35% 30%, #e8e9ed, #8b8e99); }
.music-copyright { margin: 18px 5px 0; color: #aaa8b2; font-size: 7px; line-height: 1.7; }
.voice-room { position: fixed; z-index: 45; inset: 0; padding: 38px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #f5f3fa; background: radial-gradient(circle at 50% 28%, #8d88a6 0%, #58576f 45%, #343646 100%); overflow: auto; }
.voice-room::before { content: ""; position: absolute; inset: 0; opacity: .28; background: radial-gradient(circle at 20% 80%, #bda39c, transparent 28%), radial-gradient(circle at 80% 25%, #a2a3c4, transparent 28%); }
.voice-room > * { position: relative; z-index: 2; }
.voice-close { position: absolute; z-index: 3; top: 22px; right: 25px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: white; background: rgba(255,255,255,.08); font-size: 23px; cursor: pointer; }
.voice-room .voice-companion { margin: 0; transform: scale(1.15); }
.voice-room .eyebrow { color: rgba(255,255,255,.46); margin-top: 2px; }
.voice-room h2 { margin: 10px 0 5px; font-family: "Songti SC", serif; font-size: 42px; font-weight: 400; letter-spacing: .16em; }
.voice-room > p { min-height: 24px; margin: 7px 0 15px; color: rgba(255,255,255,.63); font-family: serif; font-size: 13px; }
.voice-room textarea { width: min(590px, 100%); min-height: 110px; max-height: 220px; padding: 18px; resize: vertical; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; outline: none; color: white; background: rgba(255,255,255,.08); backdrop-filter: blur(20px); font-size: 12px; line-height: 1.9; }
.voice-room textarea::placeholder { color: rgba(255,255,255,.34); }
.voice-modes { display: flex; gap: 7px; margin: 12px 0; flex-wrap: wrap; justify-content: center; }
.voice-modes button { color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); }
.voice-modes button.active { color: white; background: rgba(255,255,255,.16); }
.voice-record { width: 112px; height: 112px; margin: 3px 0 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; background: rgba(255,255,255,.12); box-shadow: 0 0 0 11px rgba(255,255,255,.035), 0 20px 45px rgba(24,25,36,.22); cursor: pointer; }
.voice-record i { width: 13px; height: 13px; margin-bottom: 7px; border-radius: 50%; background: #e0c0bd; box-shadow: 0 0 20px rgba(231,180,176,.7); }
.voice-record strong { font-size: 11px; font-weight: 500; }
.voice-record small { margin-top: 5px; color: rgba(255,255,255,.42); font-size: 7px; }
.voice-record.recording i { animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { transform: scale(1.5); box-shadow: 0 0 28px rgba(255,188,184,1); } }
.voice-finish { color: white; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.1); }
.voice-status { margin-top: 9px; color: rgba(255,255,255,.35); font-size: 8px; }

@media (max-width: 1020px) {
  .app-shell { grid-template-columns: 190px 1fr; }
  .sidebar { width: 190px; padding: 28px 16px 20px; }
  .main { grid-column: 2; padding-inline: 3vw; }
  .mini-card small { display: none; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-aside { grid-template-columns: 1fr 1fr; }
  .emotion-grid { grid-template-columns: 1fr; }
  .emotion-map-card { grid-row: auto; }
  .growth-layout { grid-template-columns: 1fr; }
  .growth-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { display: none; }
  .main { padding: 68px 14px 84px; }
  .mobile-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 58px; padding: 9px 14px; display: flex; justify-content: space-between; align-items: center; background: rgba(245,246,249,.68); backdrop-filter: blur(22px); border-bottom: 1px solid rgba(255,255,255,.65); }
  .mobile-header .brand { width: auto; margin: 0; padding: 0; gap: 8px; }
  .mobile-header .brand-mark { width: 30px; height: 30px; }
  .mobile-header .brand strong { font-family: serif; letter-spacing: .18em; font-weight: 500; }
  .mobile-menu { display: none; }
  .mobile-nav { position: fixed; z-index: 20; bottom: 8px; left: 8px; right: 8px; padding: 7px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(255,255,255,.7); border-radius: 20px; background: rgba(248,248,251,.82); backdrop-filter: blur(24px); box-shadow: 0 14px 35px rgba(70,70,95,.14); }
  .mobile-nav button { border: 0; border-radius: 14px; padding: 9px 2px; color: #9998a5; background: transparent; font-size: 9px; }
  .mobile-nav button.active { color: #67637d; background: rgba(255,255,255,.8); }
  .page { padding-top: 8px; }
  .home-top { margin-top: 6px; }
  .home-hero { min-height: 510px; padding-inline: 0; }
  .cloud-crossroads { inset: 4% -25% -5%; opacity: .92; }
  .light-road { height: 34%; bottom: 11%; }
  .home-companion { transform: scale(.88); margin-bottom: -2px; }
  h1 { font-size: 30px; }
  .mood-picker { max-width: 330px; }
  .mood-picker button { min-width: 56px; padding-inline: 6px; }
  .mobile-install-card { width: min(290px, 100%); margin-top: 13px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; padding: 10px 12px; display: grid; grid-template-columns: 1fr 25px; text-align: left; color: #777487; background: rgba(255,255,255,.42); cursor: pointer; }
  .mobile-install-card span { font-size: 10px; }
  .mobile-install-card small { grid-column: 1; margin-top: 3px; color: #aaa7b2; font-size: 7px; }
  .mobile-install-card b { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; font-size: 18px; font-weight: 300; }
  .home-insights { grid-template-columns: 1fr; }
  .page-head { margin-top: 8px; align-items: flex-start; gap: 14px; }
  .page-head p { max-width: 230px; line-height: 1.7; }
  .usage-pill { min-width: 0; }
  .usage-pill span { display: none; }
  .chat-panel { min-height: calc(100vh - 205px); padding: 12px; }
  .messages { max-height: calc(100vh - 360px); }
  .message { max-width: 93%; }
  .chat-aside { grid-template-columns: 1fr; }
  .emotion-grid, .memory-layout, .pricing-grid { grid-template-columns: 1fr; }
  .weather-map { min-height: 400px; transform: scale(.86); }
  .growth-intro { padding: 28px 18px; }
  .growth-steps { grid-template-columns: 1fr; }
  .letter-paper { padding: 42px 27px; }
  .membership-hero { margin-top: 12px; }
  .setting-row { gap: 12px; }
  .setting-row button { min-width: 82px; }
  .music-panel { padding: 25px 17px 90px; }
  .now-playing { grid-template-columns: 68px 1fr 44px; gap: 10px; padding: 13px; }
  .record-art { width: 68px; height: 68px; }
  .music-intro span { display: none; }
  .voice-room { justify-content: flex-start; padding-top: 70px; }
  .voice-room .voice-companion { transform: scale(.9); margin-bottom: -14px; }
  .voice-room h2 { font-size: 34px; }
  .voice-room textarea { min-height: 95px; }
}
