:root{--bg:#f5efe2;--bg-2:#efe5d2;--surface:#fffaf1;--surface-2:#f8eedb;--line:#e2d3bc;--line-strong:#cbb798;--text:#2c251d;--muted:#6d5f4d;--dim:#8b7a64;--brand:#b34b2e;--brand-deep:#8f3520;--brand-soft:#f7e3d8;--green:#2f5d50;--green-soft:#e9f0ea;--gold:#bd8437;--ok:#2f7d5b;--warn:#a9681a;--bad:#b03a34;--r-lg:24px;--r-md:18px;--r-sm:14px;--tab-h:82px}html{font-size:17px;-webkit-text-size-adjust:100%}html[data-fs=big]{font-size:19px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body,html{height:100%;margin:0;padding:0;background:var(--bg);color:var(--text);font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans CJK SC,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body{overscroll-behavior-y:none;min-height:100dvh;font-size:1.06rem;line-height:1.7}button,input,select,textarea{font-family:inherit;color:inherit;font-size:inherit}button{border:none;background:none;cursor:pointer}a{color:inherit;text-decoration:none}:where(button,a,input,textarea,[tabindex]):focus-visible{outline:3px solid rgba(179,75,46,.42);outline-offset:2px}.stage{position:relative;height:100vh;height:100dvh}.glow{z-index:0;background:radial-gradient(58% 36% at 12% -8%,rgba(188,132,55,.18),transparent 64%),radial-gradient(54% 34% at 100% 2%,rgba(179,75,46,.12),transparent 62%),radial-gradient(64% 42% at 50% 110%,rgba(47,93,80,.1),transparent 68%)}.glow,.grain{position:fixed;inset:0;pointer-events:none}.grain{z-index:1;opacity:.022;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E")}.app{position:fixed;top:0;left:0;right:0;bottom:0;z-index:2;width:100%;max-width:100%;margin:0 auto;display:flex;flex-direction:column;overflow:hidden;background:rgba(249,243,231,.62)}.dock-note{margin-top:10px;min-height:20px;line-height:1.5}.app.no-tab .dock{padding-bottom:max(14px,env(safe-area-inset-bottom,0px))}@media (min-width:620px){.app{border-left:1px solid var(--line);border-right:1px solid var(--line);box-shadow:0 0 90px rgba(94,66,36,.18);background:rgba(249,243,231,.9)}.app,.sheet{max-width:540px}}.page{padding:0 20px 20px;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}@media (max-width:380px){.page{padding-left:16px;padding-right:16px}.hero-title{font-size:2.02rem}.btn{font-size:1.08rem;padding-left:16px;padding-right:16px}.chip{font-size:.98rem;padding:12px 14px}}.topbar{flex:0 0 auto;z-index:20;display:flex;align-items:center;gap:10px;height:calc(66px + env(safe-area-inset-top, 0px));padding:env(safe-area-inset-top,0) 18px 0;background:#fbf5e9;border-bottom:1px solid var(--line)}.topbar .tb-title{font-size:1.26rem;font-weight:700;letter-spacing:.01em}.brandmark{font-family:Songti SC,STSong,SimSun,serif;font-weight:700;letter-spacing:.08em}.icon-btn{width:48px;height:48px;min-width:48px;border-radius:50%;display:grid;place-items:center;font-size:1.4rem;color:var(--text);background:var(--surface);border:1.5px solid var(--line);flex:none;line-height:1}.icon-btn:active{transform:scale(.95);background:var(--surface-2)}.spacer{flex:1 1}.h1{font-size:2.08rem;line-height:1.3;font-weight:800;letter-spacing:-.015em}.h1,.h2{margin:0}.h2{font-size:1.52rem;line-height:1.35;font-weight:750;letter-spacing:-.01em}.h3{font-size:1.2rem;line-height:1.45;font-weight:700;margin:0}.sub{font-size:1.04rem;line-height:1.78;color:var(--muted);margin:0}.tiny{font-size:.9rem;line-height:1.6;color:var(--dim);letter-spacing:.01em}.mono{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.grad-text{color:var(--brand)}.card{background:var(--surface);border:1.5px solid var(--line);border-radius:var(--r-lg);padding:20px;box-shadow:0 1px 0 rgba(90,62,32,.04),0 18px 36px -32px rgba(90,62,32,.4)}.card.tight{padding:16px;border-radius:var(--r-md)}.card.press{transition:transform .14s ease,background .14s ease}.card.press:active{background:var(--surface-2);transform:scale(.99)}.row{align-items:center;gap:10px}.col,.row{display:flex}.col{flex-direction:column}.between{justify-content:space-between}.stack-8>*+*{margin-top:8px}.stack-12>*+*{margin-top:12px}.stack-16>*+*{margin-top:16px}.stack-24>*+*{margin-top:24px}.divider{height:1px;background:var(--line);margin:16px 0}.avatar{position:relative;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff;flex:none;overflow:hidden;letter-spacing:0;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}.avatar:after{content:"";inset:0;box-shadow:inset 0 0 0 1px rgba(90,62,32,.18)}.avatar .live,.avatar:after{position:absolute;border-radius:50%}.avatar .live{right:-2px;bottom:-2px;width:12px;height:12px;background:var(--ok);border:2px solid var(--surface);z-index:3}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:62px;padding:12px 24px;border-radius:18px;font-size:1.16rem;font-weight:700;letter-spacing:.01em;border:1.5px solid var(--line-strong);background:var(--surface);transition:transform .12s ease,opacity .12s ease,background .12s ease;width:100%;line-height:1.35;white-space:nowrap}.btn:active{transform:scale(.985)}.btn:disabled{opacity:.45;pointer-events:none}.btn-primary{border-color:var(--brand-deep);background:var(--brand);color:#fff;box-shadow:0 4px 0 var(--brand-deep),0 14px 24px -16px rgba(143,53,32,.85)}.btn-primary:active{transform:translateY(3px);box-shadow:0 1px 0 var(--brand-deep)}.btn-ghost{background:transparent;border:1.5px solid var(--line-strong);color:var(--muted)}.btn-sm{min-height:48px;border-radius:14px;font-size:.98rem;padding:8px 16px;width:auto;flex:none;white-space:nowrap}.chips{display:flex;flex-wrap:wrap;gap:10px}.chip{min-height:54px;padding:13px 17px;border-radius:16px;border:1.5px solid var(--line);background:var(--surface);font-size:1.02rem;font-weight:500;color:var(--text);transition:background .14s ease,border-color .14s ease,transform .12s ease;line-height:1.45;text-align:left}.chip:active{transform:scale(.985)}.chip.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-deep);font-weight:700;box-shadow:inset 0 0 0 1px var(--brand)}.field{width:100%;min-height:58px;background:#fffdf7;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);padding:14px 16px;font-size:1.04rem;line-height:1.5;color:var(--text);outline:none;transition:border-color .16s ease,box-shadow .16s ease}.field::placeholder{color:#a8977e}.field:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(179,75,46,.14)}textarea.field{resize:vertical;line-height:1.75;min-height:120px}.label{font-size:.95rem;color:var(--muted);font-weight:650;margin-bottom:8px;letter-spacing:.02em}.progress{height:9px;border-radius:99px;background:#e7dac5;overflow:hidden}.progress>i{display:block;height:100%;border-radius:99px;background:var(--brand);transition:width .45s cubic-bezier(.4,0,.2,1)}.step-count{font-size:.95rem;color:var(--muted);font-weight:650;white-space:nowrap}.tabbar{flex:0 0 auto;width:100%;z-index:40;display:flex;height:calc(var(--tab-h) + max(env(safe-area-inset-bottom, 0px), 10px));padding-bottom:max(env(safe-area-inset-bottom,0px),10px);background:#fdf8ee;border-top:1.5px solid var(--line)}.tabbar a{flex:1 1;min-width:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:10px;gap:5px;font-size:.88rem;line-height:1.2;letter-spacing:.02em;font-weight:600;color:var(--dim);transition:color .16s ease;text-decoration:none}.tabbar a .ti{display:grid;place-items:center;height:30px;opacity:.62;transition:opacity .16s ease,transform .16s ease}.tabbar a.on{color:var(--brand-deep)}.tabbar a.on .ti{opacity:1;transform:translateY(-1px)}.thread{display:flex;flex-direction:column;gap:18px;padding:8px 0 34px}.msg{display:flex;gap:10px;align-items:flex-end;animation:rise .3s cubic-bezier(.2,.9,.3,1) both}.msg.me{flex-direction:row-reverse}.msg>.body{flex:1 1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.msg.me>.body{align-items:flex-end}.msg>.body .bubble{max-width:100%}.bubble{max-width:88%;padding:13px 16px;border-radius:20px 20px 20px 7px;font-size:1.06rem;line-height:1.7;background:#fffdf7;border:1.5px solid var(--line);word-break:break-word;white-space:pre-wrap}.msg.me .bubble{border-radius:20px 20px 7px 20px;background:var(--green-soft);border-color:#c9d8cc;color:#22352c}.msg .who{font-size:.82rem;color:var(--dim);margin-bottom:1px;letter-spacing:.02em}.typing{display:inline-flex;gap:5px;padding:16px 17px;border-radius:20px 20px 20px 7px;background:var(--surface);border:1.5px solid var(--line)}.typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:blink 1.3s infinite}.typing i:nth-child(2){animation-delay:.18s}.typing i:nth-child(3){animation-delay:.36s}@keyframes blink{0%,70%,to{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.verdict-tag{display:inline-flex;align-items:center;gap:5px;font-size:.86rem;padding:4px 10px;border-radius:99px;border:1px solid var(--line);color:var(--muted);margin-top:6px}.stat{display:flex;flex-direction:column;gap:2px}.stat .v{font-size:1.55rem;font-weight:800;letter-spacing:-.02em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.2}.stat .k{color:var(--dim);letter-spacing:.02em}.badge,.stat .k{font-size:.86rem}.badge{display:inline-flex;align-items:center;gap:4px;line-height:1.35;padding:5px 11px;border-radius:99px;border:1px solid var(--line);color:var(--muted);letter-spacing:.01em;white-space:nowrap}.badge.ok{color:#246247;border-color:#b9d3c2;background:#e8f2eb}.badge.warn{color:#8a5514;border-color:#e3c692;background:#f9eed6}.badge.bad{color:#9a2f2a;border-color:#e0b3ad;background:#f8e5e2}.badge.brand{color:var(--brand-deep);border-color:#e0b6a5;background:var(--brand-soft)}.bar{height:10px;background:#e9ddc9;overflow:hidden}.bar,.bar>i{border-radius:99px}.bar>i{display:block;height:100%;background:var(--brand);transition:width .6s cubic-bezier(.4,0,.2,1)}.dock{flex:0 0 auto;padding:14px 20px;background:#fbf5e9;border-top:1.5px solid var(--line);z-index:30}.sheet-wrap{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center;background:rgba(52,38,22,.46);animation:fade .18s ease both}.sheet{width:100%;max-width:100%;background:#fdf8ee;border-top-left-radius:28px;border-top-right-radius:28px;border-top:1.5px solid var(--line-strong);padding:12px 20px calc(24px + env(safe-area-inset-bottom, 0px));animation:up .26s cubic-bezier(.2,.9,.3,1) both;max-height:86dvh;overflow-y:auto}.sheet .handle{width:46px;height:5px;border-radius:99px;background:var(--line-strong);margin:4px auto 18px}@keyframes fade{0%{opacity:0}}@keyframes up{0%{transform:translateY(26px);opacity:0}}.clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hide-scroll{scrollbar-width:none}.hide-scroll::-webkit-scrollbar{display:none}.center{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.pt-2{padding-top:6px}.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:14px}.mt-4{margin-top:20px}.mt-5{margin-top:28px}.pulse{animation:pulse 2.4s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.45}}.shimmer{background:linear-gradient(90deg,rgba(120,92,55,.06) 25%,rgba(120,92,55,.12) 37%,rgba(120,92,55,.06) 63%);background-size:400% 100%;animation:shimmer 1.5s ease infinite;border-radius:16px}@keyframes shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.read-wrap{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;max-width:100%}.read-hint{font-size:.82rem;line-height:1.5;color:var(--bad);max-width:280px}.read-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:8px 15px;border-radius:99px;border:1.5px solid var(--line-strong);background:var(--surface);color:var(--brand-deep);font-size:.95rem;font-weight:700;line-height:1.3;white-space:nowrap}.read-btn:active{background:var(--brand-soft);transform:scale(.98)}.read-btn.on{background:var(--brand-soft);border-color:var(--brand)}.read-btn svg{flex:none}.notice{display:flex;gap:12px;align-items:flex-start;padding:15px 16px;border-radius:var(--r-md);background:#fbf0da;border:1.5px solid #e7cd9c;color:#6b4a16;font-size:.98rem;line-height:1.7}.notice.green{background:var(--green-soft);border-color:#c9d8cc;color:#234638}.notice.red{background:#f8e5e2;border-color:#e0b3ad;color:#8d2f2a}.notice .n-icon{font-size:1.25rem;line-height:1.4;flex:none}.banner{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--r-md);background:#f3e6c9;border:1.5px dashed #d3b477;font-size:.94rem;line-height:1.6;color:#6b4a16}.hero-eyebrow{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border-radius:99px;background:var(--brand-soft);color:var(--brand-deep);font-size:.9rem;font-weight:700;letter-spacing:.02em}.hero-title{font-family:Songti SC,STSong,SimSun,serif;font-size:2.36rem;line-height:1.28;font-weight:700;letter-spacing:.01em;margin:18px 0 0}.hero-sub{margin-top:14px;font-size:1.06rem;line-height:1.82;color:var(--muted)}.step-num{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1.5px solid var(--line-strong);color:var(--brand-deep);font-weight:800;font-size:1.05rem;flex:none}.section-title{display:flex;align-items:center;gap:9px;font-size:1.18rem;font-weight:750;line-height:1.4}.section-title .ico{font-size:1.15rem;line-height:1}.greeting{font-size:1.28rem;line-height:1.5;font-weight:700}.greeting small{display:block;margin-top:5px;font-size:.94rem;font-weight:500;color:var(--muted)}.big-score{font-size:2.25rem;line-height:1;font-weight:800;letter-spacing:-.04em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--brand-deep)}.big-score small{font-size:.86rem;font-weight:600;letter-spacing:0;color:var(--dim);margin-left:3px}.peer-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.peer-name{font-size:1.24rem;font-weight:750;line-height:1.35}.day-divider{display:flex;align-items:center;gap:12px;margin:22px 0 16px;color:var(--muted);font-size:.9rem;font-weight:650}.day-divider:after,.day-divider:before{content:"";height:1px;flex:1 1;background:var(--line)}.report-hero{background:radial-gradient(120% 90% at 100% 0,rgba(189,132,55,.18),transparent 60%),var(--surface);border:1.5px solid #e0c9a2;border-radius:var(--r-lg);padding:22px}.opener-box{background:#f2f7f2;border:1.5px solid #cadbce;border-radius:var(--r-md);padding:18px;font-size:1.14rem;line-height:1.8;color:#213c30}.safe-list{display:flex;flex-direction:column;gap:9px}.safe-list li{display:flex;gap:9px;align-items:flex-start;font-size:.98rem;line-height:1.7;color:var(--muted)}.safe-list li:before{content:"✓";color:var(--green);font-weight:800;flex:none}.age-stepper{display:flex;align-items:center;gap:10px}.age-stepper .step-btn{width:58px;height:58px;border-radius:16px;border:1.5px solid var(--line-strong);background:var(--surface);font-size:1.55rem;font-weight:700;display:grid;place-items:center;flex:none}.age-stepper .step-btn:active{background:var(--surface-2)}.age-stepper .age-val{flex:1 1;min-height:58px;border-radius:16px;border:1.5px solid var(--line-strong);background:#fffdf7;display:grid;place-items:center;font-size:1.35rem;font-weight:750;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.option-card{display:block;width:100%;text-align:left;padding:17px 18px;border-radius:var(--r-md);border:1.5px solid var(--line);background:var(--surface);font-size:1.05rem;line-height:1.6;color:var(--text);transition:background .14s ease,border-color .14s ease,transform .12s ease}.option-card:active{transform:scale(.99)}.option-card.on{border-color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand)}.option-card .opt-desc{display:block;margin-top:4px;font-size:.9rem;color:var(--muted)}.q-block+.q-block{margin-top:30px}.q-title{font-size:1.16rem;font-weight:700;line-height:1.5;margin:0 0 12px}.settings-group{padding:18px;border-radius:var(--r-md);border:1.5px solid var(--line);background:var(--surface)}.settings-group+.settings-group{margin-top:14px}.font-options{display:flex;gap:10px}.font-options button{flex:1 1;min-height:56px;border-radius:14px;border:1.5px solid var(--line-strong);background:#fffdf7;font-weight:700;font-size:1.02rem}.font-options button.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-deep);box-shadow:inset 0 0 0 1px var(--brand)}details.advanced{border-radius:var(--r-md);border:1.5px dashed var(--line-strong);padding:14px 16px;background:transparent}details.advanced summary{cursor:pointer;font-weight:650;color:var(--muted);font-size:.98rem;list-style:none}details.advanced summary::-webkit-details-marker{display:none}details.advanced summary:after{content:"＋";float:right;color:var(--dim)}details.advanced[open] summary:after{content:"－"}.profile-pair{display:flex;align-items:center;justify-content:center;gap:18px}.profile-pair .between-mark{color:var(--dim);font-size:1.2rem;letter-spacing:2px}.empty-state{padding:40px 20px;text-align:center}.empty-state .emoji{font-size:2.4rem;line-height:1}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}