:root{--orange:#ff8a00;--bg:#f7f7f9;--ink:#19191b;--muted:#a1a1aa;--shadow:0 8px 30px rgba(0,0,0,.04)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC",sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit;color:inherit}button{border:0;cursor:pointer}.stage{min-height:100vh;display:grid;place-items:center;padding:24px}.phone{position:relative;width:390px;height:min(844px,calc(100vh - 48px));min-height:720px;display:flex;flex-direction:column;overflow:hidden;border:8px solid #18181b;border-radius:48px;background:var(--bg);box-shadow:0 36px 100px rgba(24,24,27,.16)}.status{height:38px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:8px 22px 0;font-size:10px;position:relative;z-index:5}.status:after{content:"";position:absolute;top:8px;left:50%;width:102px;height:25px;transform:translateX(-50%);border-radius:18px;background:#18181b}.status span{display:flex;gap:6px}.status svg{width:13px;height:13px}.header{min-height:116px;display:flex;align-items:flex-start;gap:10px;padding:20px 20px 16px}.heading{flex:1}.heading small{font-size:9px;font-weight:800;letter-spacing:.13em;color:var(--orange)}.heading h1{margin:8px 0 4px;font-size:28px;line-height:1;font-weight:900;letter-spacing:-.055em}.heading p{margin:0;color:var(--muted);font-size:10px;font-weight:600}.round{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:16px;background:white;box-shadow:var(--shadow);transition:.18s}.round:hover{transform:translateY(-2px);color:var(--orange)}.round:active{transform:scale(.94)}.round svg{width:19px;height:19px}.hidden{display:none!important}.view{flex:1;min-height:0;overflow-y:auto;padding:0 18px 110px;scrollbar-width:none;scroll-behavior:smooth}.view::-webkit-scrollbar{display:none}.stack{display:grid;gap:18px}.card{background:white;border-radius:24px;box-shadow:var(--shadow);overflow:hidden;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-2px);box-shadow:0 15px 40px rgba(0,0,0,.07)}.pad{padding:20px}.row{display:flex;align-items:center}.between{justify-content:space-between}.gap{gap:12px}.muted{color:var(--muted)}.orange{color:var(--orange)}.micro{font-size:9px;font-weight:750}.eyebrow{display:flex;align-items:center;gap:7px;color:var(--orange);font-size:11px;font-weight:750}.eyebrow svg{width:16px;height:16px}.hero{position:relative}.hero:after{content:"";position:absolute;width:140px;height:140px;right:-35px;top:-45px;border-radius:50%;background:rgba(255,138,0,.11);filter:blur(28px)}.hero>*{position:relative;z-index:1}.day{margin-top:18px;font-size:52px;line-height:.9;font-weight:950;letter-spacing:-.08em}.pill{padding:7px 12px;border-radius:999px;background:#fff3e5;color:var(--orange);font-size:10px;font-weight:800}.quote{margin:22px 0 15px;font-size:18px;font-weight:850;line-height:1.55;letter-spacing:-.035em}.meta{display:flex;gap:17px;color:#71717a;font-size:10px}.meta span,.tag{display:flex;align-items:center;gap:5px}.meta svg,.tag svg{width:13px;height:13px}.primary{min-height:46px;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:16px;background:var(--orange);color:white;font-size:11px;font-weight:850;box-shadow:0 8px 20px rgba(255,138,0,.23);transition:.18s}.primary:hover{filter:brightness(1.05);transform:translateY(-2px)}.primary:active{transform:scale(.98)}.primary svg{width:16px;height:16px}.quick{padding:16px;display:flex;align-items:center;gap:12px;text-align:left;width:100%}.quickIcon{width:48px;height:48px;display:grid;place-items:center;flex:none;border-radius:16px;background:var(--orange);color:white;box-shadow:0 8px 20px rgba(255,138,0,.23)}.quickIcon svg{width:24px;height:24px}.quick b{display:block;font-size:15px}.quick small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.chev{margin-left:auto;color:#c4c4ca}.chev svg{width:18px}.sectionHead{display:flex;align-items:center;justify-content:space-between;margin:0 4px 10px}.sectionHead h2{margin:0;font-size:14px}.sectionHead span{color:var(--muted);font-size:10px}.memory{display:grid;grid-template-columns:102px 1fr;gap:14px;padding:10px;cursor:pointer}.photo{min-height:100px;border-radius:18px;background:url("./images/shanghai-sunset.png") center/cover}.memoryCopy{display:flex;flex-direction:column;justify-content:center}.tag{margin-bottom:7px;color:var(--orange);font-size:9px;font-weight:750}.memoryCopy b{font-size:12px;line-height:1.65}.memoryCopy p{margin:8px 0 0;color:var(--muted);font-size:9px}.textMemory{padding:16px;display:flex;align-items:center;gap:12px;cursor:pointer}.softIcon{width:40px;height:40px;display:grid;place-items:center;flex:none;border-radius:15px;background:#fff3e5;color:var(--orange)}.softIcon svg{width:18px;height:18px}.textMemory p{margin:0;flex:1;font-size:11px;font-weight:650;line-height:1.65}.textMemory time{color:var(--muted);font-size:9px}.filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.chip{min-height:40px;display:flex;align-items:center;gap:6px;flex:none;padding:0 16px;border-radius:999px;background:white;color:#71717a;box-shadow:0 6px 20px rgba(0,0,0,.04);font-size:10px;font-weight:800}.chip.active{background:var(--orange);color:white}.chip svg{width:14px}.month{display:flex;align-items:flex-end;justify-content:space-between;padding:0 4px}.month h2{margin:2px 0 0;font-size:25px;letter-spacing:-.05em}.month span{font-size:10px}.cover{height:154px;background:url("./images/shanghai-sunset.png") center/cover;position:relative}.cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.42))}.coverLabel{position:absolute;z-index:2;left:14px;bottom:12px;color:#fff}.coverLabel small{font-size:9px}.coverLabel b{display:block;margin-top:3px;font-size:16px}.storyHero{padding:20px}.storyCircle{width:112px;height:112px;margin:20px auto;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,rgba(255,138,0,.13) 0 36%,transparent 37%),radial-gradient(circle,transparent 0 54%,rgba(255,138,0,.16) 55% 56%,transparent 57%);animation:breathe 3s ease-in-out infinite}.storyCircle svg{width:36px;color:var(--orange)}.storyHero h2{margin:8px 0;font-size:23px;line-height:1.35;letter-spacing:-.05em}.storyHero p{font-size:10px}.archive{padding:16px;display:flex;align-items:center;gap:16px;width:100%;text-align:left}.archive time{font-size:25px;font-weight:900;color:var(--orange)}.archive div{flex:1}.archive b{display:block;font-size:12px}.archive small{display:block;margin-top:5px;color:var(--muted);font-size:9px}.profile{padding:16px;display:flex;align-items:center;gap:14px}.avatar{width:64px;height:64px;display:grid;place-items:center;flex:none;border-radius:22px;background:#fff3e5;color:var(--orange)}.avatar svg{width:30px}.profileCopy{flex:1}.profileCopy b{font-size:18px}.profileCopy small{display:block;margin-top:5px;color:var(--muted);font-size:9px}.stats{display:grid;grid-template-columns:repeat(3,1fr);padding:16px}.stat{text-align:center}.stat b{display:block;color:var(--orange);font-size:31px;letter-spacing:-.05em}.stat small{font-size:8px;color:var(--muted)}.settings{padding:4px 8px}.setting{width:100%;min-height:56px;display:flex;align-items:center;gap:12px;padding:0 12px;border-radius:16px;background:transparent;text-align:left}.setting:hover{background:var(--bg)}.setting b{flex:1;font-size:11px}.setting small{font-size:9px;color:var(--muted)}.setting .softIcon{width:36px;height:36px;border-radius:12px}.setting>svg{width:16px;color:#c4c4ca}.tabs{position:absolute;z-index:25;left:14px;right:14px;bottom:12px;height:72px;display:grid;grid-template-columns:repeat(4,1fr);padding:6px;border-radius:25px;background:rgba(255,255,255,.82);backdrop-filter:blur(24px);box-shadow:0 12px 40px rgba(0,0,0,.08)}.tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:20px;background:transparent;color:var(--muted);font-size:8px;font-weight:750;transition:.18s}.tabs button.active{color:var(--orange);background:rgba(255,138,0,.08)}.tabs button:active{transform:scale(.94)}.tabs svg{width:21px}.sheet{position:absolute;z-index:50;inset:0;background:rgba(24,24,27,.26);backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:.24s}.sheet.open{opacity:1;pointer-events:auto}.sheetPanel{position:absolute;left:8px;right:8px;bottom:8px;max-height:86%;overflow-y:auto;padding:10px 18px 24px;border-radius:32px;background:#fff;box-shadow:0 -16px 60px rgba(0,0,0,.12);transform:translateY(24px);transition:.3s cubic-bezier(.22,1,.36,1)}.sheet.open .sheetPanel{transform:none}.grab{width:36px;height:5px;margin:0 auto 16px;border-radius:4px;background:#e4e4e7}.sheetTitle{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.sheetTitle h2{margin:0;font-size:21px;letter-spacing:-.04em}.close{width:36px;height:36px;display:grid;place-items:center;border-radius:13px;background:var(--bg)}.close svg{width:17px}.field{display:block;margin-bottom:15px}.field span{display:block;margin:0 0 7px 3px;font-size:10px;font-weight:800}.field textarea,.field input{width:100%;border:0;outline:0;border-radius:17px;background:var(--bg);padding:13px 14px;font-size:12px}.field textarea{min-height:95px;resize:none;line-height:1.6}.moods{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.mood{min-height:40px;border-radius:14px;background:var(--bg);font-size:10px;font-weight:750}.mood.active{background:#fff3e5;color:var(--orange);box-shadow:inset 0 0 0 1px rgba(255,138,0,.16)}.photoPick{height:120px;border-radius:18px;background:url("./images/shanghai-sunset.png") center/cover;position:relative;overflow:hidden}.photoPick:after{content:"已选择照片";position:absolute;right:9px;bottom:9px;padding:6px 9px;border-radius:9px;background:rgba(255,255,255,.83);font-size:9px;font-weight:800}.detailPhoto{height:220px;margin:-1px -1px 18px;border-radius:24px;background:url("./images/shanghai-sunset.png") center/cover}.detailText{font-size:16px;line-height:1.75;font-weight:750}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.secondary{min-height:44px;border-radius:15px;background:#f4f4f5;font-size:11px;font-weight:800}.danger{color:#e5484d}.searchBox{display:flex;align-items:center;gap:9px;padding:0 14px;border-radius:18px;background:white;box-shadow:var(--shadow)}.searchBox svg{width:17px;color:var(--muted)}.searchBox input{min-height:48px;flex:1;border:0;outline:0;background:transparent;font-size:12px}.empty{padding:38px 24px;text-align:center}.empty .softIcon{margin:0 auto 12px}.empty h3{margin:0 0 6px;font-size:15px}.empty p{margin:0;color:var(--muted);font-size:10px;line-height:1.6}.storyPage .cover{height:220px;border-radius:24px}.prose{padding:20px}.prose h2{font-size:22px;line-height:1.35}.prose p{font-size:12px;line-height:2;color:#52525b}.infoBox{padding:15px;border-radius:18px;background:#fff8ef;font-size:10px;line-height:1.7;color:#7c4a13}.toggle{width:46px;height:28px;padding:3px;border-radius:99px;background:#e4e4e7;transition:.2s}.toggle:after{content:"";display:block;width:22px;height:22px;border-radius:50%;background:white;box-shadow:0 2px 7px rgba(0,0,0,.12);transition:.2s}.toggle.on{background:var(--orange)}.toggle.on:after{transform:translateX(18px)}.toast{position:absolute;z-index:80;left:50%;bottom:96px;max-width:80%;padding:10px 14px;border-radius:14px;background:rgba(24,24,27,.9);color:white;font-size:10px;font-weight:750;opacity:0;transform:translate(-50%,10px);pointer-events:none;transition:.24s}.toast.show{opacity:1;transform:translate(-50%,0)}.enter{animation:enter .32s cubic-bezier(.22,1,.36,1)}svg{display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@keyframes enter{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:none}}@keyframes breathe{50%{transform:scale(1.045)}}@media(max-width:760px){.stage{padding:0}.phone{width:100%;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}.tabs{bottom:max(10px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
