:root{--bg:#fff9f6;--paper:#fff;--ink:#34262d;--muted:#8e7e85;--rose:#ef6d8f;--rose-dark:#d94d74;--blush:#fde9ec;--mint:#dff4ec;--gold:#f6d891;--line:#f0e6e3;--shadow:0 16px 44px rgba(112,72,82,.12);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#fffaf8,#fff6f1);overflow-x:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}.ambient{position:fixed;border-radius:50%;filter:blur(12px);pointer-events:none;opacity:.42}.ambient-one{width:300px;height:300px;background:#fbd8e2;top:-150px;right:-120px}.ambient-two{width:260px;height:260px;background:#dff3e9;bottom:4%;left:-180px}.app-shell{width:min(560px,100%);min-height:100vh;margin:auto;position:relative;padding:0 18px 112px}.topbar{height:88px;padding-top:max(16px,env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between}.couple-chip{display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:0;color:var(--ink);text-align:left}.couple-chip small{display:block;font-size:10px;color:var(--muted);font-weight:600}.couple-chip strong{font-size:14px}.avatars{display:flex}.avatars b{display:grid;place-items:center;width:34px;height:34px;border:2px solid white;border-radius:50%;background:#f7c4d1;color:#8f3851;font-size:10px}.avatars b+b{margin-left:-8px;background:#cde8df;color:#347567}.chevron{color:#a99ca1}.sync-pill{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #efe5e2;border-radius:99px;background:rgba(255,255,255,.66);font-size:10px;color:var(--muted)}.sync-pill i{width:6px;height:6px;border-radius:50%;background:#68b697}.view{display:none;animation:fade .28s ease}.view.active{display:block}@keyframes fade{from{opacity:.3;transform:translateY(5px)}}
.hero-card{position:relative;overflow:hidden;min-height:358px;padding:28px 24px;border-radius:30px;background:linear-gradient(145deg,#f48ba3 0%,#e96687 50%,#d94d74 100%);box-shadow:0 22px 50px rgba(212,75,112,.28);color:#fff}.hero-glow{position:absolute;width:280px;height:280px;border-radius:50%;right:-130px;top:-100px;background:rgba(255,255,255,.15)}.eyebrow{position:relative;font-size:10px;font-weight:800;letter-spacing:1.5px;opacity:.9}.eyebrow span{margin-right:6px}.date-label{position:relative;margin:46px 0 5px;font-size:13px;opacity:.8}.hero-card h1{position:relative;margin:0;font-size:27px;line-height:1.2;font-weight:600;letter-spacing:1px}.hero-card h1 span{font-family:Georgia,serif;font-size:82px;line-height:.95;font-weight:500;margin-right:8px;letter-spacing:-3px}.hero-card h1 em{font-size:22px;font-style:normal}.next-anniversary{position:relative;margin:12px 0 25px;font-size:12px;opacity:.82}.hero-actions{position:relative;display:flex;gap:10px}.primary{border:0;border-radius:15px;padding:13px 18px;background:linear-gradient(135deg,var(--rose),var(--rose-dark));color:#fff;font-weight:700;box-shadow:0 9px 22px rgba(217,77,116,.22)}.hero-card .primary{background:#fff;color:#cc496d;box-shadow:0 8px 20px rgba(111,34,57,.15);flex:1}.primary span{font-size:20px;vertical-align:-1px}.glass-btn{width:48px;border:1px solid rgba(255,255,255,.3);border-radius:15px;background:rgba(255,255,255,.15);color:white;font-size:20px}.orbit{position:absolute;opacity:.24}.orbit-a{font-size:58px;right:30px;top:95px;transform:rotate(18deg)}.orbit-b{font-size:24px;right:78px;bottom:65px}.orbit-c{font-size:22px;right:26px;bottom:24px}.section-block{margin-top:30px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:13px}.section-heading small,.page-title small,.sheet-head small{color:var(--rose);font-size:9px;font-weight:900;letter-spacing:1.5px}.section-heading h2{font-size:20px;margin:4px 0 0}.section-heading>span{font-size:10px;color:var(--muted)}.text-btn{border:0;background:none;color:var(--rose-dark);font-size:12px;font-weight:700}
.mood-card{padding:17px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.85);box-shadow:0 10px 30px rgba(101,77,83,.07)}.mood-copy{display:flex;align-items:center;gap:12px}.mood-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#fff0d8;font-size:24px}.mood-copy strong{font-size:14px}.mood-copy p{margin:4px 0 0;color:var(--muted);font-size:11px}.mood-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:15px}.mood-options button{height:42px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:19px;transition:.15s}.mood-options button.active{border-color:#ef9db2;background:var(--blush);transform:translateY(-2px)}.memory-preview{display:flex;gap:12px;overflow:auto;padding:2px 2px 10px;scrollbar-width:none}.preview-card{min-width:208px;padding:16px;border:1px solid var(--line);border-radius:20px;background:white;box-shadow:0 9px 24px rgba(99,75,81,.07)}.preview-art{height:92px;border-radius:14px;display:grid;place-items:center;font-size:32px;background:linear-gradient(140deg,#fde9ec,#fff0d8)}.preview-card:nth-child(2n) .preview-art{background:linear-gradient(140deg,#ddf3eb,#eaf5ff)}.preview-card small{display:block;margin-top:11px;color:var(--rose);font-size:9px}.preview-card h3{font-size:14px;margin:5px 0}.preview-card p{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.preview-empty{width:100%;padding:22px;border:1px dashed #e7d9d6;border-radius:20px;text-align:center;color:var(--muted);font-size:12px;background:rgba(255,255,255,.5)}.quote-card{position:relative;margin-top:24px;padding:23px;border-radius:22px;background:#3f3238;color:white;overflow:hidden}.quote-card>span{position:absolute;font:70px Georgia;color:rgba(255,255,255,.12);top:3px;left:15px}.quote-card p{position:relative;margin:0 42px 0 0;font-family:serif;font-size:14px;line-height:1.8}.quote-card button{position:absolute;right:15px;bottom:15px;width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:transparent}.quote-card button:after{content:"↻";color:white;position:absolute;inset:0;display:grid;place-items:center}
.page-title{padding:24px 2px 22px;display:flex;align-items:end;justify-content:space-between}.page-title h1{font-size:30px;margin:5px 0}.page-title p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.round-add{flex:none;width:46px;height:46px;border:0;border-radius:16px;background:var(--rose);color:#fff;font-size:25px;box-shadow:0 10px 22px rgba(217,77,116,.24)}.filter-row{display:flex;gap:8px;margin-bottom:25px}.filter-row button{border:1px solid var(--line);border-radius:99px;background:white;color:var(--muted);padding:7px 15px;font-size:11px}.filter-row button.active{background:var(--ink);color:white;border-color:var(--ink)}.timeline{position:relative;margin-left:7px;padding-left:25px;border-left:1px solid #eadedb}.timeline-item{position:relative;margin-bottom:18px;padding:18px;border:1px solid var(--line);border-radius:20px;background:white;box-shadow:0 8px 22px rgba(95,72,78,.06)}.timeline-item:before{content:"";position:absolute;width:9px;height:9px;border:4px solid var(--bg);border-radius:50%;background:var(--rose);left:-34px;top:22px}.timeline-item .meta{display:flex;justify-content:space-between;color:var(--rose);font-size:10px;font-weight:700}.timeline-item h3{font-size:16px;margin:9px 0 6px}.timeline-item p{font-size:12px;line-height:1.7;color:var(--muted);margin:0;white-space:pre-wrap}.delete-btn{border:0;background:none;color:#c7b8bd;font-size:14px}.wish-progress{margin-bottom:20px;padding:17px 18px;border-radius:19px;background:linear-gradient(135deg,#44363d,#5b454e);color:white}.wish-progress>div:first-child{display:flex;justify-content:space-between;font-size:12px}.progress-track{height:6px;margin-top:12px;border-radius:9px;background:rgba(255,255,255,.15);overflow:hidden}.progress-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#f7c978,#f58ba7);transition:.3s}.wish-list{display:grid;gap:11px}.wish-item{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid var(--line);border-radius:19px;background:white}.wish-item .wish-check{width:26px;height:26px;border:1.5px solid #ead2d8;border-radius:9px;background:white;color:transparent}.wish-item.done .wish-check{border-color:var(--rose);background:var(--rose);color:white}.wish-item>span{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:var(--blush);font-size:19px}.wish-item>div{flex:1}.wish-item strong{display:block;font-size:13px}.wish-item small{color:var(--muted);font-size:10px}.wish-item.done strong{text-decoration:line-through;color:#a99ca1}.wish-delete{border:0;background:none;color:#c9bcc0}
.profile-card{text-align:center;padding:29px 20px;border:1px solid var(--line);border-radius:27px;background:linear-gradient(150deg,#fff,#fff3f3);box-shadow:var(--shadow)}.profile-avatars{display:flex;align-items:center;justify-content:center}.profile-avatars span{width:65px;height:65px;display:grid;place-items:center;border:4px solid white;border-radius:50%;background:#f5bbc9;color:#943d56;font-weight:800;box-shadow:0 7px 17px rgba(113,77,87,.13)}.profile-avatars span:last-child{background:#bfe3d6;color:#347465;margin-left:-5px}.profile-avatars i{position:relative;z-index:2;margin:0 -4px;color:white;background:var(--rose);width:27px;height:27px;display:grid;place-items:center;border-radius:50%;font-size:10px}.profile-card h2{font-size:20px;margin:14px 0 3px}.profile-card>p{font-size:11px;color:var(--muted);margin:0}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.profile-stats div+div{border-left:1px solid var(--line)}.profile-stats strong{display:block;font:24px Georgia;color:var(--rose-dark)}.profile-stats span{font-size:9px;color:var(--muted)}.settings-list{margin-top:18px;border:1px solid var(--line);border-radius:22px;background:white;overflow:hidden}.settings-list>button,.setting-static{width:100%;display:flex;align-items:center;gap:12px;padding:15px;border:0;border-bottom:1px solid var(--line);background:white;text-align:left}.settings-list button>span:nth-child(2),.setting-static>span:nth-child(2){flex:1}.settings-list strong{display:block;font-size:13px;color:var(--ink)}.settings-list small{display:block;margin-top:3px;font-size:9px;color:var(--muted)}.settings-list b{font-size:22px;color:#c8bbc0}.setting-icon{display:grid!important;place-items:center;flex:none!important;width:39px;height:39px;border-radius:13px;font-size:17px}.setting-icon.rose{background:var(--blush);color:var(--rose)}.setting-icon.mint{background:var(--mint);color:#4b9a82}.setting-icon.gold{background:#fff2d8;color:#c89027}.setting-icon.lilac{background:#eee9fb;color:#8069b4}.setting-static em{font-size:9px;color:#9c8d92;font-style:normal;padding:5px 7px;border-radius:8px;background:#f5f1f2}.privacy-note{text-align:center;font-size:9px;color:#a99ca1;margin-top:18px}.empty-state{display:none;text-align:center;padding:54px 25px;color:var(--muted)}.empty-state.show{display:block}.empty-state span{font-size:40px}.empty-state h3{color:var(--ink);font-size:17px;margin:13px 0 7px}.empty-state p{font-size:11px;line-height:1.7;margin:0 0 18px}
.bottom-nav{position:fixed;z-index:20;left:50%;bottom:0;transform:translateX(-50%);width:min(560px,100%);height:82px;padding:8px 17px max(8px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);align-items:center;border-top:1px solid rgba(228,216,215,.8);background:rgba(255,252,250,.92);backdrop-filter:blur(18px)}.bottom-nav button{border:0;background:none;color:#aa9ca1;display:grid;justify-items:center;gap:3px}.bottom-nav button>span{font-size:19px}.bottom-nav button>b{font-size:9px}.bottom-nav button.active{color:var(--rose-dark)}.bottom-nav .nav-heart span{display:grid;place-items:center;width:51px;height:51px;margin-top:-27px;border:5px solid var(--bg);border-radius:50%;background:linear-gradient(145deg,#f3829f,#db4f76);color:white;font-size:27px;box-shadow:0 10px 22px rgba(207,66,104,.27)}dialog{border:0}.sheet{width:min(560px,100%);max-height:90vh;margin:auto auto 0;border-radius:28px 28px 0 0;padding:0;background:white;color:var(--ink)}.sheet::backdrop{background:rgba(53,38,45,.35);backdrop-filter:blur(3px)}.sheet form{padding:10px 21px calc(24px + env(safe-area-inset-bottom));overflow:auto}.sheet-handle{width:42px;height:4px;border-radius:5px;background:#e4dadd;margin:0 auto 18px}.sheet-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.sheet-head h2{font-size:23px;margin:4px 0}.sheet-head button{border:0;width:34px;height:34px;border-radius:50%;background:#f7f2f2;color:#8d7c82;font-size:22px}.sheet label{display:block;margin-bottom:15px;font-size:11px;font-weight:700;color:#64545a}.sheet input,.sheet textarea,.sheet select{display:block;width:100%;margin-top:7px;border:1px solid #eadfdd;border-radius:13px;background:#fffaf9;padding:12px;color:var(--ink);outline:none}.sheet textarea{height:98px;resize:none}.sheet input:focus,.sheet textarea:focus,.sheet select:focus{border-color:#ed9cb1;box-shadow:0 0 0 3px #fcebef}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.full{width:100%;padding:14px}.toast{position:fixed;z-index:40;left:50%;bottom:100px;transform:translate(-50%,20px);padding:10px 15px;border-radius:99px;background:#3d3036;color:white;font-size:11px;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:700px){body{padding:20px}.app-shell{border:1px solid var(--line);border-radius:32px;background:rgba(255,250,248,.75);box-shadow:0 25px 80px rgba(99,70,78,.12);overflow:hidden}.bottom-nav{bottom:20px;border-radius:0 0 32px 32px}.sheet{margin:auto;border-radius:28px}}
.settings-list em{font-size:9px;color:#9c8d92;font-style:normal;padding:5px 7px;border-radius:8px;background:#f5f1f2}.sync-sheet-body{padding:10px 21px calc(24px + env(safe-area-inset-bottom))}.sync-intro{display:flex;gap:13px;padding:16px;margin-bottom:17px;border-radius:18px;background:linear-gradient(135deg,#fdf0f3,#f0f8f5)}.sync-intro>span{font-size:28px}.sync-intro strong{font-size:13px}.sync-intro p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.65}.or-line{display:flex;align-items:center;gap:10px;margin:19px 0;color:#ab9da2;font-size:9px}.or-line:before,.or-line:after{content:"";height:1px;flex:1;background:var(--line)}.join-form{display:flex;gap:9px;padding:0!important}.join-form input{margin:0;letter-spacing:5px;text-align:center;font-size:17px}.join-form .primary{flex:none}.invite-card{text-align:center;padding:24px;border-radius:20px;background:linear-gradient(145deg,#4b3a42,#34262d);color:white}.invite-card small{display:block;font-size:9px;opacity:.65}.invite-card strong{display:block;margin:8px 0;font:36px Georgia;letter-spacing:7px;color:#ffd5df}.invite-card p{margin:0;font-size:9px;opacity:.65}.sync-status-card{display:flex;align-items:center;gap:12px;padding:16px;margin:14px 0;border:1px solid var(--line);border-radius:18px}.sync-status-card>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--mint);color:#3e9478;font-weight:900}.sync-status-card strong{font-size:13px}.sync-status-card p{margin:4px 0 0;color:var(--muted);font-size:9px}.danger-text{display:block;margin:16px auto 0;border:0;background:none;color:#c06c81;font-size:10px}.sync-dev-note{text-align:center;margin:18px 5px 0;color:#aaa0a4;font-size:8px;line-height:1.6}
