@charset "UTF-8";
:root{--bg:#f8f9f5;--surface:#fff;--ink:#343d34;--muted:#8c9287;--green:#6b815e;--green-dark:#526d46;--green-soft:#eaf0e5;--line:#eceee7;--rose:#d99a86;--rose-soft:#fcf0e9;--serif:Georgia,'Songti SC','STSong','SimSun',serif;--sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;--shadow:0 8px 35px #3e4b3810;--ease:cubic-bezier(.22,1,.36,1);--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:var(--bg);font-family:var(--sans);font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a6bb8d;outline-offset:4px}img{display:block;max-width:100%;object-fit:cover}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}button{transition:background .22s,color .22s,transform .25s var(--ease),box-shadow .25s}button:active{transform:scale(.97)}.skip-link{position:fixed;top:-60px;left:12px;background:var(--green);color:#fff;padding:10px;z-index:100}.skip-link:focus{top:10px}.sidebar{width:224px;height:100dvh;position:fixed;inset:0 auto 0 0;background:#fdfefa;border-right:1px solid var(--line);padding:32px 22px 22px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:10px;padding:0 12px 38px}.brand-mark{width:39px;height:39px;background:#e9efdf;color:var(--green-dark);border-radius:14px;display:grid;place-items:center;transform:rotate(-7deg)}.brand-mark .icon{width:24px;height:24px}.brand-name{font-size:27px;font-family:var(--serif);letter-spacing:3px;font-weight:600;line-height:1.2}.brand-sub{font-size:8px;letter-spacing:2.5px;color:#9ca38e;margin-top:5px}.nav-caption{font-size:10px;letter-spacing:2px;color:#a9af9f;padding:0 17px;margin:4px 0 13px}.nav-list{display:grid;gap:7px}.nav-item{display:flex;align-items:center;width:100%;gap:13px;text-align:left;border-radius:12px;padding:12px 16px;font-size:13px;color:#808675;position:relative}.nav-item:hover{background:#f0f3eb;color:var(--green-dark)}.nav-item.active{background:#eaf0e2;color:#5b744d;font-weight:600}.nav-item.active:after{content:'';position:absolute;right:14px;width:5px;height:5px;background:#809768;border-radius:50%}.nav-item .icon{width:19px;height:19px}.nav-divider{height:1px;background:var(--line);margin:24px 13px 15px}.sidebar-poem{margin-top:auto;padding:25px 17px 19px;position:relative;color:#9ca68f;font-size:12px;line-height:2}.poem-leaf{width:65px;height:62px;color:#c1cdb0;margin:0 0 8px 5px}.sidebar-profile{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:12px 10px;cursor:pointer;width:100%;text-align:left}.avatar-stack{display:flex;align-items:center;padding-left:3px;flex-shrink:0}.avatar-stack img{width:31px;height:31px;border-radius:50%;border:2px solid white;margin-left:-3px}.avatar-stack img+img{margin-left:-9px}.profile-label{font-size:11px;font-weight:600}.profile-status{font-size:9px;color:var(--muted);line-height:1.5;display:flex;align-items:center;gap:4px}.profile-status:before{content:'';width:4px;height:4px;background:#9ab67f;border-radius:50%}.sidebar-profile>.icon{width:14px;margin-left:auto;color:#a1a894}.workspace{margin-left:224px;min-height:100dvh}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:16px;background:#f8f9f5eb}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:11px;color:#a0a694}.breadcrumb .icon{width:14px;height:14px}.breadcrumb strong{color:#636e58;font-weight:500}.header-actions{display:flex;gap:14px;align-items:center}.header-date{font-size:11px;color:#818a76;display:flex;align-items:center;gap:7px}.header-date .icon{width:14px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:#7e8972;position:relative;flex-shrink:0}.icon-button:hover{background:#e9eee2}.icon-button .icon{width:18px;height:18px}.notification-dot{position:absolute;top:7px;right:9px;width:5px;height:5px;border-radius:50%;background:#dba48d;border:1px solid var(--bg)}.header-avatar{width:30px;height:30px;border-radius:50%}.header-actions .separator{height:20px;width:1px;background:#e1e5db}.mobile-brand{display:none}main{max-width:1480px;margin:0 auto;padding:34px 38px 20px;min-height:calc(100vh - 145px)}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:27px;gap:20px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:2.5px;color:#98a589;margin-bottom:7px}.page-intro h1{font-family:var(--serif);font-size:29px;letter-spacing:1.5px;line-height:1.5;font-weight:500;color:#3b4837}.page-intro h1 .accent{color:var(--green)}.intro-sub{font-size:11px;color:#9aa08e;margin-top:6px;letter-spacing:.3px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:10px 17px;font-size:11px;line-height:1.6;white-space:nowrap;min-height:39px}.primary-button{background:var(--green);color:white;box-shadow:0 4px 10px #657b5a12}.primary-button:hover{background:var(--green-dark);box-shadow:0 6px 16px #657b5a22;transform:translateY(-2px)}.primary-button .icon,.secondary-button .icon{width:15px;height:15px}.secondary-button{background:#fff;border:1px solid var(--line);color:#78836c}.secondary-button:hover{background:var(--green-soft);border-color:#d5dfcc}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:25px;align-items:start}.main-column{min-width:0}.hero-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:15px;margin-bottom:29px}.hero-photo{position:relative;border-radius:18px;height:282px;overflow:hidden;background:#8b9b7e;isolation:isolate}.hero-photo>img{width:100%;height:100%;object-position:50% 55%;transition:transform 1.2s var(--ease);filter:brightness(.83) saturate(.72)}.hero-photo:hover>img{transform:scale(1.045)}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#24332605 20%,#243c2d8a)}.photo-badge{position:absolute;top:20px;left:20px;display:flex;align-items:center;gap:5px;background:#ffffff2b;backdrop-filter:blur(12px);color:#fff;border:1px solid #ffffff42;padding:4px 9px;border-radius:20px;font-size:9px;z-index:1;letter-spacing:1px}.photo-badge .icon{width:12px;height:12px}.hero-photo-copy{position:absolute;bottom:25px;left:23px;right:20px;color:#fff;z-index:1}.hero-photo-copy .eyebrow{font-size:8px;color:#ffffffa3;letter-spacing:3px;margin-bottom:6px}.hero-photo-copy h2{font-family:var(--serif);font-size:25px;font-weight:400;letter-spacing:2px;line-height:1.6}.hero-photo-copy p{font-size:10px;letter-spacing:1px;color:#ffffffbd;margin-top:7px}.hero-photo-arrow{position:absolute;bottom:25px;right:20px;width:31px;height:31px;border:1px solid #ffffff70;color:white;z-index:2;border-radius:50%;display:grid;place-items:center;backdrop-filter:blur(4px)}.hero-photo-arrow .icon{width:15px}.together-card{position:relative;min-width:0;background:#eef1e6;border:1px solid #e5eadb;border-radius:18px;padding:23px 12px 18px;text-align:center;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center}.together-card:before,.together-card:after{content:'';position:absolute;border:1px solid #dde5d2;border-radius:50%;width:190px;height:190px;right:-115px;top:-105px;pointer-events:none}.together-card:after{width:240px;height:240px;right:-140px;top:-130px}.couple-avatars{display:flex;align-items:center;gap:8px;justify-content:center}.couple-avatars img{width:44px;height:44px;border-radius:50%;border:3px solid #ffffffb3;box-shadow:0 3px 8px #4453340c}.couple-avatars>.icon{color:#c89a85;width:19px}.couple-names{font-size:11px;color:#6f7e61;margin:8px 0 12px;letter-spacing:2px}.together-label{font-size:10px;color:#859477;letter-spacing:1px}.day-number{font-family:Georgia,serif;line-height:1.15;font-size:61px;color:#5d724f;letter-spacing:-1.5px;display:flex;align-items:baseline;justify-content:center;gap:8px;margin-top:3px}.day-number small{font-size:10px;font-family:var(--sans);letter-spacing:0;color:#8f9a80}.together-since{font-size:8px;color:#a2ac96;letter-spacing:1.2px;margin-top:9px}.tiny-heart{position:absolute;bottom:14px;right:16px;color:#c2ccb6;width:14px;height:14px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-title{display:flex;align-items:baseline;gap:9px}.section-title h2{font-size:16px;font-weight:600;letter-spacing:.5px}.section-title .en{font-family:Georgia,serif;font-size:12px;font-style:italic;color:#a9b09d}.text-button{font-size:10px;display:inline-flex;align-items:center;gap:4px;color:#8f9a80;padding:3px 0;white-space:nowrap}.text-button:hover{color:var(--green-dark)}.text-button .icon{width:13px;height:13px}.section-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.tabs{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.tab{border-radius:7px;padding:5px 11px;font-size:10px;color:#939b87;min-height:29px}.tab:hover{background:#eef1e8;color:#5d7450}.tab.active{background:#e8eddf;color:#6c805a;font-weight:500}.small-label{font-size:9px;color:#a4ab9a}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.memory-card{border-radius:15px;border:1px solid #ebeee4;background:#fff;overflow:hidden;min-width:0;transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s}.memory-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#dbe3d0}.memory-image-button{display:block;width:100%;padding:7px 7px 0;position:relative;overflow:hidden}.memory-image-button img{width:100%;height:150px;border-radius:10px;transition:transform .65s var(--ease)}.memory-image-button:hover img{transform:scale(1.025)}.image-tag{position:absolute;top:17px;left:17px;border-radius:5px;background:#ffffffdf;color:#6b755d;padding:1px 6px;font-size:8px;backdrop-filter:blur(5px)}.memory-content{padding:12px 13px 11px}.memory-meta{font-size:8px;color:#a5ad99;display:flex;align-items:center;gap:5px;margin-bottom:4px}.memory-content h3{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.memory-content p{font-size:10px;color:#a0a793;line-height:1.8;margin:6px 0 11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}.memory-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f2f3ee;padding-top:9px;gap:8px}.memory-author{display:flex;align-items:center;gap:5px;font-size:8px;color:#9aa18f}.memory-author img{width:18px;height:18px;border-radius:50%}.like-button{display:flex;align-items:center;gap:4px;color:#a4ad97;font-size:9px;padding:3px 0 3px 5px;min-width:27px}.like-button .icon{width:14px;height:14px}.like-button.liked{color:#d28e7b}.like-button.liked .icon{fill:#eab4a26b;animation:heart-pop .35s var(--ease)}.wish-preview{margin-top:29px}.wish-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wish-small{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 14px;min-width:0}.wish-check{width:19px;height:19px;border:1.5px solid #d5ddc9;border-radius:6px;flex-shrink:0;display:grid;place-items:center;background:#fff;transition:background .2s,border-color .2s}.wish-check:hover{background:#eff4e7;border-color:#7d9765}.wish-check.checked{background:var(--green);color:#fff;border-color:var(--green)}.wish-check .icon{width:12px;height:12px}.wish-small-title{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wish-small-sub{font-size:8px;color:#a9af9d;margin-top:1px}.wish-small>.icon{margin-left:auto;width:17px;color:#b6c2a6}.right-column{display:grid;gap:18px}.rail-card{border-radius:17px;background:#fff;border:1px solid var(--line);padding:19px}.rail-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.rail-head h2{font-size:12px;font-weight:600;display:flex;align-items:center;gap:7px}.rail-head h2 .icon{width:15px;height:15px;color:#94a181}.rail-head>.icon{color:#c0c7b5;width:16px}.anniversary-highlight{display:flex;gap:13px;align-items:center}.date-tile{width:49px;border-radius:9px;overflow:hidden;background:#fbede5;text-align:center;flex-shrink:0}.date-tile span{display:block;background:#e8b4a0;color:white;font-size:8px;line-height:21px;letter-spacing:1px}.date-tile strong{font-size:24px;font-family:Georgia,serif;font-weight:400;line-height:38px;color:#be8873}.anniversary-name{font-size:11px;font-weight:500}.anniversary-meta{color:#a0a58f;font-size:9px;margin-top:4px}.anniversary-meta b{color:#ce947d;font-size:16px;font-family:Georgia,serif;font-weight:500;margin:0 3px}.rail-separator{height:1px;background:#f0f1eb;margin:17px 0 12px}.rail-inline{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#9ca58f}.rail-inline>span{display:flex;align-items:center;gap:6px}.rail-inline .icon{width:12px;height:12px}.rail-inline strong{color:#91a07e;font-weight:400}.mood-description{font-size:10px;color:#a4aa98;margin-top:-8px}.mood-options{display:flex;justify-content:space-between;gap:6px;margin-top:14px}.mood-button{display:flex;flex-direction:column;gap:4px;align-items:center;flex:1;padding:7px 2px 4px;border-radius:10px;border:1px solid transparent;font-size:8px;color:#a2a991}.mood-face{font-size:23px;filter:saturate(.68);line-height:1.3;transition:transform .3s var(--ease)}.mood-button:hover .mood-face{transform:translateY(-4px) rotate(-8deg)}.mood-button.selected{background:#f1f5e9;border-color:#e1e9d4;color:#71875b}.mood-status{margin-top:15px;display:flex;align-items:center;justify-content:center;gap:6px;padding-top:12px;border-top:1px dashed #e8eddf;font-size:9px;color:#a3ad95}.mood-status img{width:18px;height:18px;border-radius:50%}.note-card{position:relative;background:#faf2e6;border-color:#f3e9db;padding:20px;min-height:192px}.note-card:before{content:'';width:49px;height:15px;position:absolute;top:-7px;left:calc(50% - 24px);background:#e4d7bc88;transform:rotate(-6deg);backdrop-filter:blur(3px)}.note-card .rail-head{margin-bottom:10px}.note-card .rail-head h2{font-size:11px;color:#a68f70}.note-card .rail-head .icon{color:#c2ab89}.note-copy{font-family:var(--serif);font-size:16px;line-height:2.1;letter-spacing:1px;color:#8e7b61;white-space:pre-line;overflow-wrap:anywhere}.note-sign{font-size:9px;color:#b2a38d;text-align:right;margin-top:12px}.note-card .text-button{font-size:9px;color:#b49c7b;margin-top:10px}.rail-footnote{text-align:center;font-size:9px;color:#bbc1ad;letter-spacing:1px;padding:4px}.rail-footnote .icon{display:inline-block;vertical-align:-3px;width:12px;height:12px;margin-right:4px}.page-footer{max-width:1480px;margin:0 auto;padding:24px 38px 25px;display:flex;justify-content:space-between;gap:15px;color:#b5bbaa;font-size:8px;letter-spacing:.5px}.page-footer>span:last-child{letter-spacing:1.4px;font-size:7px}.footer-heart{font-size:13px;vertical-align:-1px;color:#c4af9c;margin-left:5px}.mobile-nav{display:none}.view-enter{animation:view-in .45s var(--ease) both}.memory-card{animation:card-in .5s var(--ease) both}.memory-card:nth-child(2){animation-delay:.05s}.memory-card:nth-child(3){animation-delay:.1s}.memory-card:nth-child(4){animation-delay:.15s}@keyframes view-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes card-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes heart-pop{0%,100%{transform:scale(1)}40%{transform:scale(1.35)}70%{transform:scale(.9)}}
/* Full pages */
.page-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.search-field{position:relative;max-width:280px;width:100%}.search-field>.icon{position:absolute;left:12px;top:11px;width:15px;height:15px;color:#a2ad95}.search-field input{width:100%;padding:9px 13px 9px 36px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:11px;color:var(--ink)}.search-field input::placeholder{color:#aab19e}.timeline-layout{display:grid;grid-template-columns:1fr 220px;gap:28px}.timeline-date{font-family:var(--serif);font-size:20px;margin:8px 0 20px;display:flex;align-items:center;gap:12px}.timeline-date small{font-family:var(--sans);font-size:10px;color:#a4ae97;letter-spacing:1px}.timeline-date:after{content:'';height:1px;background:var(--line);flex:1}.timeline-list{display:grid;gap:22px;border-left:1px solid #dfe7d5;margin-left:7px;padding-left:25px}.timeline-entry{position:relative;background:#fff;border:1px solid var(--line);padding:21px;border-radius:18px}.timeline-entry:before{content:'';position:absolute;left:-31px;top:27px;width:9px;height:9px;background:#a9b995;border:3px solid var(--bg);border-radius:50%;box-sizing:content-box}.entry-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}.entry-heading img{width:32px;height:32px;border-radius:50%}.entry-author{font-size:11px;font-weight:500}.entry-time{font-size:9px;color:#a3ad97}.entry-heading .entry-actions{margin-left:auto;display:flex;gap:3px}.entry-actions .icon-button{width:28px;height:28px}.entry-actions .icon{width:14px;height:14px}.timeline-entry h3{font-size:16px;font-weight:500;margin-bottom:9px}.entry-text{font-size:12px;line-height:2;color:#87917b;white-space:pre-wrap;overflow-wrap:anywhere}.entry-images{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 11px}.entry-images button{padding:0;overflow:hidden;border-radius:10px}.entry-images img{width:100%;aspect-ratio:1.2;transition:transform .5s var(--ease)}.entry-images button:hover img{transform:scale(1.04)}.entry-images.single{grid-template-columns:minmax(0,1fr)}.entry-images.single img{aspect-ratio:2.15;max-height:320px}.entry-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.tag{font-size:9px;background:#f0f4e9;color:#8c9e79;padding:3px 9px;border-radius:5px}.entry-location{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#a6af9a}.entry-location .icon{width:12px;height:12px}.timeline-aside{position:sticky;top:20px}.simple-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:24px}.simple-card h2{font-size:14px;margin-bottom:16px}.stats-line{display:flex;align-items:center;justify-content:space-between;padding:10px 0;font-size:11px;color:#949f86;border-bottom:1px solid #f1f3ec}.stats-line b{font-family:Georgia,serif;font-size:22px;color:#7b9067;font-weight:400}.timeline-quote{margin-top:19px;font-family:var(--serif);color:#a6b197;font-size:17px;line-height:2;letter-spacing:1px}.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.album-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:11px;text-align:left;position:relative;transition:transform .35s var(--ease),box-shadow .35s}.album-card:hover{transform:translateY(-5px) rotate(-.5deg);box-shadow:var(--shadow)}.album-cover{position:relative;overflow:hidden;border-radius:11px}.album-cover img{width:100%;aspect-ratio:1.4;transition:transform .6s var(--ease)}.album-card:hover img{transform:scale(1.04)}.album-cover:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#1e34224a)}.album-count{position:absolute;right:12px;bottom:10px;color:#fff;font-size:10px;z-index:1;display:flex;align-items:center;gap:4px}.album-count .icon{width:13px;height:13px}.album-info{padding:13px 8px 9px}.album-info h2{font-size:14px;font-weight:500;margin-bottom:3px}.album-info p{font-size:10px;color:#a6ae99}.album-new{border:1px dashed #cbd7bf;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:240px;background:#f4f7ee;color:#91a27b;border-radius:18px;gap:10px;font-size:12px}.album-new>.icon{width:28px;height:28px}.album-header{display:flex;align-items:center;gap:14px;margin-bottom:20px}.album-header h2{font-size:20px;font-family:var(--serif)}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.photo-grid button{position:relative;padding:0;border-radius:12px;overflow:hidden;background:#ebeee5}.photo-grid img{width:100%;aspect-ratio:1;transition:transform .5s var(--ease)}.photo-grid button:hover img{transform:scale(1.04)}.photo-grid .photo-caption{position:absolute;inset:auto 0 0;padding:25px 12px 9px;color:#fff;background:linear-gradient(transparent,#2437268c);font-size:10px;text-align:left}.photo-grid .photo-menu{position:absolute;right:8px;top:8px;background:#ffffffdf;border-radius:50%;width:28px;height:28px;padding:6px;opacity:0;transition:opacity .2s}.photo-grid button:hover .photo-menu,.photo-grid button:focus-visible .photo-menu{opacity:1}.wish-summary{display:flex;align-items:center;gap:25px;background:#edf2e5;padding:24px 29px;border-radius:18px;margin-bottom:24px}.wish-summary>.icon{width:33px;height:33px;color:#92a77d}.wish-summary h2{font-family:var(--serif);font-size:21px;font-weight:400;color:#73895e}.wish-summary p{font-size:11px;color:#9aab88;margin-top:3px}.progress-wrapper{margin-left:auto;min-width:150px}.progress-label{font-size:10px;color:#8da076;display:flex;justify-content:space-between;margin-bottom:8px}.progress-track{height:5px;background:#dfe8d2;border-radius:5px;overflow:hidden}.progress-fill{height:100%;border-radius:5px;background:#96ac7e;transition:width .6s var(--ease)}.wish-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.wish-card{padding:23px;border:1px solid var(--line);border-radius:17px;background:#fff;transition:transform .3s var(--ease),background .3s}.wish-card:hover{transform:translateY(-3px)}.wish-card.done{background:#f2f5ed}.wish-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.wish-emoji{font-size:25px;line-height:1}.wish-card h3{font-size:14px;font-weight:500;margin-bottom:7px;overflow-wrap:anywhere}.wish-card.done h3{text-decoration:line-through;color:#9ba98e}.wish-card p{font-size:11px;color:#a0ab92;line-height:1.9;min-height:42px;overflow-wrap:anywhere}.wish-card-foot{border-top:1px solid var(--line);margin-top:20px;padding-top:12px;display:flex;justify-content:space-between;align-items:center}.wish-card-foot .icon-button{width:24px;height:24px}.wish-card-foot .icon{width:12px;height:12px}.date-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.anniversary-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:18px;padding:27px;text-align:center}.anniversary-card:nth-child(3n+1){background:#faf0e9;border-color:#f2e6dc}.anniversary-card:nth-child(3n+2){background:#f0f4e9;border-color:#e8eedf}.anniversary-card:nth-child(3n){background:#f4f0f5;border-color:#ece5ef}.anniversary-emoji{font-size:30px;margin:5px 0 12px}.anniversary-card h2{font-size:15px;font-weight:500}.anniversary-card .date-label{font-size:10px;color:#a7a08e;margin:4px 0 22px}.anniversary-count{font-size:58px;line-height:1.2;font-family:Georgia,serif;color:#9b947d;letter-spacing:-2px}.anniversary-count small{font-size:11px;letter-spacing:0;font-family:var(--sans);margin-left:7px}.anniversary-card .remaining-label{font-size:10px;color:#b0a693;margin-top:10px}.anniversary-card .entry-actions{position:absolute;top:10px;right:9px;display:flex}.anniversary-card .icon-button{width:27px;height:27px}.anniversary-card .icon{width:13px;height:13px}.letter-layout{display:grid;grid-template-columns:1fr 300px;gap:26px}.letters-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.letter-card{padding:25px;border-radius:4px 17px 17px 17px;background:#fbf0e1;border:1px solid #f1e5d4;position:relative;min-height:195px}.letter-card:nth-child(3n+2){background:#edf2e6;border-color:#e3ead8}.letter-card:nth-child(3n){background:#f7ece9;border-color:#efdfd8}.letter-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-size:10px;color:#a7977e}.letter-top .icon{width:15px;height:15px}.letter-card .note-copy{font-size:17px}.letter-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:16px;color:#b0a48d;font-size:9px;gap:8px}.letter-reply{font-size:11px;background:#ffffff60;border-radius:8px;padding:10px 12px;margin-top:12px;color:#8d937e;overflow-wrap:anywhere}.letter-actions{display:flex;gap:8px;align-items:center}.letter-actions button{padding:3px;color:#a6a38e}.letter-actions .icon{width:13px;height:13px}.letter-compose{position:sticky;top:20px}.field{display:grid;gap:7px;margin-bottom:17px}.field>label,.field-label{font-size:11px;color:#8d997e}.field input,.field textarea,.field select{border:1px solid #e3e8dc;border-radius:9px;padding:11px 12px;color:#56634b;background:#fcfdf9;width:100%;font-size:12px;transition:border-color .2s,box-shadow .2s}.field input:focus,.field textarea:focus,.field select:focus{border-color:#a3b78f;outline:none;box-shadow:0 0 0 3px #e8efdf}.field input::placeholder,.field textarea::placeholder{color:#bbc2af}.field textarea{resize:vertical;min-height:110px;line-height:1.9}.field-hint{font-size:10px;color:#a6af99;line-height:1.8}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:7px}.settings-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:start}.settings-stack{display:grid;gap:22px}.settings-card{padding:27px}.settings-card h2{font-size:15px;font-weight:500;margin-bottom:20px;display:flex;align-items:center;gap:8px}.settings-card h2 .icon{width:17px;color:#8ea179}.profile-preview{display:flex;align-items:center;justify-content:center;gap:23px;background:#f3f6ee;padding:22px;border-radius:14px;margin-bottom:25px}.profile-preview>div{text-align:center}.profile-preview img{width:61px;height:61px;border-radius:50%;border:3px solid white}.profile-preview p{font-size:11px;color:#8c9e7b;margin-top:7px}.profile-preview>.icon{color:#d4a08b}.theme-options{display:flex;gap:12px}.theme-option{padding:11px 15px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:8px;font-size:11px;color:#949e87}.theme-option.selected{border-color:#a5b990;background:#f1f5e9}.theme-swatch{width:18px;height:18px;background:#91a27e;border-radius:50%}.theme-swatch.rose{background:#c4938d}.data-info{font-size:11px;color:#929d85;line-height:2;margin-bottom:18px}.data-actions{display:flex;gap:10px;flex-wrap:wrap}.data-actions .secondary-button{font-size:10px;padding:9px 12px}.settings-links{display:grid;gap:10px}.settings-link{display:flex;align-items:center;gap:10px;background:#f8faf4;border-radius:10px;padding:13px 15px;text-align:left;font-size:12px;color:#81946f}.settings-link>.icon:last-child{margin-left:auto;width:14px}.storage-state{display:flex;align-items:center;gap:7px;font-size:10px;color:#94a383;margin-top:16px}.storage-state:before{content:'';width:5px;height:5px;border-radius:50%;background:#98b17d}.empty-state{padding:60px 20px;text-align:center;border:1px dashed #dce4d2;border-radius:18px;color:#a5b198;background:#f6f8f0;grid-column:1/-1}.empty-state>.icon{width:35px;height:35px;margin-bottom:12px}.empty-state h3{font-family:var(--serif);font-size:20px;font-weight:400;color:#8da279}.empty-state p{font-size:11px;margin:9px auto 20px;max-width:300px}.empty-state .primary-button{font-size:11px}.inline-error{color:#bf6d61;font-size:11px;margin:10px 0}.inline-note{background:#f2f6eb;border:1px solid #e3ebd7;border-radius:10px;padding:12px 14px;font-size:11px;line-height:1.9;color:#97a588;margin-bottom:18px}.count-chip{border-radius:20px;background:#e9efdf;color:#90a177;font-size:10px;padding:3px 10px}.full-width{width:100%}
/* Dialogs, upload and photo viewer */
dialog{border:0;padding:0;background:white;color:var(--ink);border-radius:22px;box-shadow:0 24px 100px #2331212b;max-height:90dvh;max-width:calc(100vw - 32px);width:540px;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#25312365;backdrop-filter:blur(6px);animation:backdrop-in .2s ease}dialog[open]{animation:dialog-in .35s var(--ease)}.modal-inner{padding:28px 30px}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}.modal-heading h2{font-family:var(--serif);font-size:23px;font-weight:400;letter-spacing:1px}.modal-heading .icon-button{width:30px;height:30px;background:#f4f6ef}.modal-intro{font-size:11px;line-height:1.9;color:#a1ad95;margin:-12px 0 22px}.upload-zone{border:1px dashed #cddcbd;border-radius:11px;background:#f7faf2;min-height:85px;display:flex;align-items:center;justify-content:center;gap:9px;color:#97aa82;font-size:11px;cursor:pointer;transition:background .2s}.upload-zone:hover,.upload-zone.dragover{background:#eaf2e0}.upload-zone .icon{width:21px;height:21px}.upload-input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}.upload-previews{display:flex;gap:9px;margin-top:10px;flex-wrap:wrap}.upload-preview{position:relative}.upload-preview img{width:70px;height:70px;border-radius:9px}.upload-preview button{position:absolute;right:-4px;top:-5px;border-radius:50%;background:#516448;color:white;line-height:18px;width:20px;height:20px;font-size:14px;padding:0}.tag-options{display:flex;gap:8px;flex-wrap:wrap}.tag-option{border:1px solid #e3e9da;border-radius:8px;padding:6px 12px;font-size:11px;color:#97a788}.tag-option.selected{background:#eaf1e0;border-color:#b3c69e;color:#6e855a}.toast-region{position:fixed;bottom:30px;left:calc(50% + 100px);transform:translateX(-50%);z-index:200;display:grid;gap:9px;pointer-events:none;max-width:calc(100vw - 30px)}.toast{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;border:1px solid #d8e3cc;border-radius:12px;background:#fcfdf8f5;backdrop-filter:blur(12px);box-shadow:0 10px 35px #40523220;color:#6e8759;padding:12px 20px;animation:toast-in .3s var(--ease)}.toast .icon{width:16px;height:16px}.toast.error{color:#bd7764;border-color:#e6ccbf}.toast.leaving{opacity:0;transform:translateY(8px);transition:.2s}#lightbox{width:min(1000px,95vw);max-height:95dvh;background:#1e261f;border-radius:16px;overflow:hidden;color:#fff}#lightbox::backdrop{background:#141b15e8;backdrop-filter:blur(10px)}.lightbox-top{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;font-size:11px;color:#ffffffa8}.lightbox-top .icon-button{color:white;background:#ffffff12}.lightbox-stage{position:relative;height:min(65dvh,650px);display:flex;align-items:center;justify-content:center}.lightbox-stage>img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;animation:photo-in .25s ease}.lightbox-arrow{position:absolute;top:calc(50% - 20px);width:40px;height:40px;border-radius:50%;background:#ffffff25;color:#fff;display:grid;place-items:center;backdrop-filter:blur(8px);z-index:1}.lightbox-arrow.prev{left:14px}.lightbox-arrow.next{right:14px}.lightbox-caption{padding:18px 24px;text-align:center;color:#ffffffa8;font-size:12px}.lightbox-dots{display:flex;gap:5px;justify-content:center;padding-bottom:20px}.lightbox-dot{width:6px;height:6px;border-radius:50%;padding:0;background:#ffffff3b}.lightbox-dot.active{background:#d2deba}.detail-photo{border-radius:12px;width:100%;max-height:320px;margin:16px 0}.detail-title{font-family:var(--serif);font-size:25px;margin:5px 0 12px}.search-results{display:grid;gap:8px;max-height:50vh;overflow:auto}.search-result{display:flex;align-items:center;gap:12px;text-align:left;padding:10px;border-radius:10px;background:#f7f9f2;font-size:12px;width:100%}.search-result img{width:42px;height:42px;border-radius:7px}.search-result small{display:block;color:#a1ad91;font-size:9px}.search-result .icon{color:#9daf87}.search-hint{padding:15px 0;color:#a3af95;font-size:12px;text-align:center}@keyframes dialog-in{from{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes backdrop-in{from{opacity:0}to{opacity:1}}@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes photo-in{from{opacity:.4}to{opacity:1}}
[data-theme=rose]{--green:#ac827d;--green-dark:#946a65;--green-soft:#f2e8e5;--bg:#fbf8f5}.data-warning{font-size:10px;color:#ad927f;margin-top:10px}.mobile-page-links{display:none}
@media(min-width:1680px){main{padding-top:42px}.hero-photo{height:320px}.memory-image-button img{height:185px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 285px;gap:30px}.together-card{padding:30px 20px}.day-number{font-size:74px}.rail-card{padding:23px}.right-column{gap:22px}.note-card{min-height:220px}.memory-content{padding:16px}.page-intro h1{font-size:34px}.memory-content h3{font-size:14px}.memory-content p{font-size:11px}}
@media(max-width:1240px){.sidebar{width:197px;padding:30px 15px 20px}.workspace{margin-left:197px}main{padding:28px 27px 20px}.topbar{padding:0 27px;height:74px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 224px;gap:19px}.hero-grid{gap:11px;grid-template-columns:1.3fr 1fr}.hero-photo{height:266px}.hero-photo-copy{left:19px;bottom:23px}.hero-photo-copy h2{font-size:21px}.hero-photo-copy p{font-size:9px}.hero-photo-arrow{right:14px;bottom:18px;width:26px;height:26px}.rail-card{padding:16px}.note-copy{font-size:15px}.memory-grid{gap:11px}.memory-image-button img{height:128px}.memory-content{padding:11px 10px}.memory-content h3{font-size:11px}.memory-content p{font-size:9px}.page-intro h1{font-size:27px}.page-footer{padding-left:27px;padding-right:27px}.album-grid{gap:18px}.wish-grid{grid-template-columns:1fr 1fr}.letter-layout{grid-template-columns:1fr 255px}.settings-layout{gap:18px}.settings-card{padding:22px}}
@media(max-width:1050px){.sidebar{width:176px;padding-left:11px;padding-right:11px}.workspace{margin-left:176px}.brand{padding-left:14px;gap:8px}.brand-name{font-size:24px}.brand-sub{font-size:7px;letter-spacing:1.5px}.brand-mark{width:33px;height:33px;border-radius:11px}.nav-item{font-size:12px;padding-left:15px}.sidebar-profile{padding:10px 7px;gap:7px}.profile-label{font-size:10px}.sidebar-profile>.icon{display:none}.dashboard-grid{grid-template-columns:minmax(0,1fr) 205px;gap:16px}main{padding:26px 23px 18px}.topbar{padding:0 23px}.hero-photo{height:250px}.hero-grid{grid-template-columns:1.15fr 1fr;gap:10px}.hero-photo-copy h2{font-size:19px;letter-spacing:1px}.hero-photo-copy p{font-size:8px;letter-spacing:0}.hero-photo-copy .eyebrow{font-size:7px}.couple-avatars img{width:36px;height:36px}.day-number{font-size:51px}.together-card{padding:18px 8px}.together-since{font-size:7px}.couple-names{font-size:10px}.memory-grid{grid-template-columns:1fr 1fr}.memory-grid .memory-card:nth-child(3){display:none}.memory-image-button img{height:145px}.memory-content h3{font-size:12px}.section-title .en{font-size:11px}.page-intro h1{font-size:24px}.page-intro .primary-button{padding:9px 12px;font-size:10px}.rail-card{padding:15px}.mood-button{font-size:7px}.mood-face{font-size:21px}.mood-options{gap:1px}.wish-small{padding:12px 10px;gap:8px}.wish-small-title{font-size:10px}.wish-small>.icon{display:none}.rail-head h2{font-size:11px}.anniversary-highlight{gap:10px}.anniversary-name{font-size:10px}.date-tile{width:43px}.anniversary-meta{font-size:8px}.rail-inline{font-size:8px}.note-copy{font-size:14px}.timeline-layout{grid-template-columns:1fr}.timeline-aside{display:none}.album-grid{grid-template-columns:1fr 1fr}.date-grid{grid-template-columns:1fr 1fr}.letter-layout{grid-template-columns:1fr}.letter-compose{position:static}.letters-grid{order:2}.photo-grid{grid-template-columns:repeat(3,1fr)}.settings-layout{grid-template-columns:1fr}.page-footer>span:last-child{font-size:6px;letter-spacing:1px}}
@media(max-width:850px) and (min-width:701px){.dashboard-grid{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr;gap:15px}.right-column .note-card{display:none}.right-column .rail-footnote{display:none}.hero-grid{grid-template-columns:1.5fr 1fr}.hero-photo{height:270px}.hero-photo-copy h2{font-size:25px}.memory-grid{grid-template-columns:repeat(3,1fr)}.memory-grid .memory-card:nth-child(3){display:block}.memory-image-button img{height:130px}.memory-content h3{font-size:11px}.section-title .en{display:none}.page-footer{flex-direction:column;gap:4px}}
@media(max-width:700px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:66px;padding:0 20px;background:#f8f9f5f2}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px}.mobile-brand .brand-mark{width:29px;height:29px;border-radius:10px}.mobile-brand .brand-mark .icon{width:19px;height:19px}.mobile-brand .brand-name{font-size:23px;letter-spacing:2px}.mobile-brand .brand-sub{font-size:7px;letter-spacing:1.3px;margin-top:2px}.header-actions{gap:8px}.header-actions .separator{display:none}.header-date{font-size:9px;margin-right:1px}.header-date .icon{display:none}.header-avatar-button{display:none}.header-actions .icon-button{width:30px;height:30px}.header-actions .icon-button .icon{width:17px;height:17px}main{padding:24px 20px 10px;min-height:calc(100dvh - 160px)}.page-intro{margin-bottom:22px;gap:8px;align-items:center}.eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:5px}.page-intro h1{font-size:25px;letter-spacing:1px}.intro-sub{font-size:10px;letter-spacing:0;margin-top:5px}.page-intro .primary-button{min-height:36px;padding:8px 11px;font-size:10px;gap:5px;box-shadow:none}.page-intro .primary-button .icon{width:13px;height:13px}.dashboard-grid{grid-template-columns:1fr;gap:23px}.hero-grid{grid-template-columns:1.4fr 1fr;gap:11px;margin-bottom:26px}.hero-photo{height:244px;border-radius:16px}.hero-photo-copy{left:15px;bottom:21px;right:12px}.hero-photo-copy h2{font-size:21px;letter-spacing:1px}.hero-photo-copy .eyebrow{font-size:6px;letter-spacing:1.6px}.hero-photo-copy p{font-size:8px;line-height:1.8;margin-top:5px}.hero-photo-arrow{bottom:12px;right:11px;width:23px;height:23px}.photo-badge{top:15px;left:14px;font-size:7px;padding:3px 6px;letter-spacing:.5px}.photo-badge .icon{width:10px;height:10px}.together-card{border-radius:16px;padding:17px 7px}.couple-avatars{gap:5px}.couple-avatars img{width:35px;height:35px;border-width:2px}.couple-avatars>.icon{width:15px;height:15px}.couple-names{font-size:9px;letter-spacing:1px;margin:7px 0 12px}.together-label{font-size:9px}.day-number{font-size:51px;gap:4px}.day-number small{font-size:8px}.together-since{font-size:6px;letter-spacing:.7px;margin-top:9px}.tiny-heart{width:11px;bottom:12px;right:12px}.section-title h2{font-size:16px}.section-title .en{font-size:11px}.section-head{margin-bottom:14px}.section-controls{margin-bottom:13px}.tab{font-size:10px;padding:5px 11px;min-height:30px}.small-label{font-size:8px}.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.memory-grid .memory-card:nth-child(3){display:none}.memory-image-button{padding:6px 6px 0}.memory-image-button img{height:145px;border-radius:9px}.memory-card{border-radius:13px}.image-tag{top:14px;left:14px;font-size:7px}.memory-content{padding:11px 11px 9px}.memory-content h3{font-size:12px}.memory-content p{font-size:10px;margin-top:5px;line-height:1.8;min-height:36px}.memory-meta{font-size:8px}.memory-bottom{padding-top:8px}.memory-author{font-size:8px}.memory-author img{width:18px;height:18px}.like-button{padding:5px 0 5px 5px}.wish-preview{margin-top:26px}.wish-preview-grid{gap:10px}.wish-small{padding:12px 10px;border-radius:11px}.wish-small-title{font-size:10px}.wish-small-sub{font-size:8px}.wish-check{width:19px;height:19px}.right-column{grid-template-columns:1fr 1fr;gap:13px}.rail-card{padding:16px;border-radius:15px}.rail-head{margin-bottom:15px}.rail-head h2{font-size:11px;gap:5px}.rail-head h2 .icon{width:13px;height:13px}.rail-head>.icon{width:13px}.anniversary-highlight{gap:9px}.date-tile{width:39px;border-radius:7px}.date-tile span{font-size:7px;line-height:17px}.date-tile strong{font-size:22px;line-height:34px}.anniversary-name{font-size:10px}.anniversary-meta{font-size:8px;white-space:nowrap}.anniversary-meta b{font-size:14px}.rail-separator{margin:14px 0 11px}.rail-inline{font-size:8px;gap:5px}.rail-inline>span{gap:4px}.rail-inline .icon{width:10px;height:10px}.mood-description{font-size:8px;margin-top:-6px}.mood-options{margin-top:10px;gap:0}.mood-button{font-size:7px;padding:6px 0 4px;gap:3px;border-radius:8px}.mood-face{font-size:21px}.mood-status{font-size:8px;margin-top:11px;padding-top:10px;gap:4px}.mood-status img{width:15px;height:15px}.right-column .note-card{grid-column:1/-1;min-height:160px;padding:20px 23px;margin-top:5px}.note-card .note-copy{font-size:18px;line-height:1.8}.note-card .note-sign{margin-top:8px}.note-card .rail-head{margin-bottom:10px}.note-card .text-button{position:absolute;bottom:18px;left:23px}.rail-footnote{grid-column:1/-1;font-size:8px}.page-footer{padding:23px 20px 100px;flex-direction:column;align-items:center;gap:4px;font-size:8px}.page-footer>span:last-child{font-size:6px;letter-spacing:1.2px}.mobile-nav{position:fixed;inset:auto 0 0;display:flex;justify-content:space-around;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:#fffefbf2;backdrop-filter:blur(16px);border-top:1px solid #e9eee0;z-index:40;box-shadow:0 -5px 25px #3d513405}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;flex:1;font-size:9px;color:#a2ab95;padding:5px 0 2px;border-radius:10px;position:relative}.mobile-nav button .icon{width:21px;height:21px}.mobile-nav button.active{color:#6e875a}.mobile-nav button.active:before{content:'';position:absolute;top:0;width:32px;height:28px;border-radius:9px;background:#edf3e4;z-index:-1}.toast-region{left:50%;bottom:90px}.toast{font-size:11px;padding:11px 17px}.page-tools{flex-wrap:wrap;gap:14px;margin-bottom:20px}.search-field{max-width:none}.search-field input{font-size:12px;padding-top:10px;padding-bottom:10px}.page-tools .tabs{order:2}.timeline-layout{display:block}.timeline-list{margin-left:4px;padding-left:18px;gap:18px}.timeline-entry{padding:17px;border-radius:15px}.timeline-entry:before{left:-24px;top:25px;width:7px;height:7px}.timeline-date{font-size:20px}.entry-heading{margin-bottom:12px}.entry-heading img{width:29px;height:29px}.entry-author{font-size:10px}.timeline-entry h3{font-size:15px}.entry-text{font-size:12px}.entry-images{gap:6px}.entry-images.single img{aspect-ratio:1.5}.entry-foot{flex-wrap:wrap}.entry-location{font-size:9px}.album-grid{grid-template-columns:1fr 1fr;gap:14px}.album-card{padding:7px;border-radius:14px}.album-cover{border-radius:9px}.album-cover img{aspect-ratio:1.1}.album-info{padding:10px 5px 6px}.album-info h2{font-size:12px}.album-info p{font-size:8px}.album-count{right:8px;bottom:8px;font-size:8px}.album-count .icon{width:11px}.album-new{min-height:200px;font-size:10px;gap:8px}.album-new .icon{width:23px;height:23px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.photo-grid .photo-caption{font-size:9px}.album-header h2{font-size:18px}.album-header{gap:8px}.wish-summary{padding:20px;gap:15px;flex-wrap:wrap}.wish-summary>.icon{width:27px;height:27px}.wish-summary h2{font-size:18px}.wish-summary p{font-size:10px}.progress-wrapper{min-width:0;width:100%;margin-left:0}.wish-grid{grid-template-columns:1fr 1fr;gap:12px}.wish-card{padding:17px;border-radius:14px}.wish-card h3{font-size:12px}.wish-card p{font-size:10px;min-height:38px}.wish-card-top{margin-bottom:17px}.wish-emoji{font-size:23px}.wish-card-foot{margin-top:14px;padding-top:10px}.tag{font-size:8px;padding:3px 7px}.date-grid{grid-template-columns:1fr 1fr;gap:13px}.anniversary-card{padding:24px 12px 20px;border-radius:15px}.anniversary-emoji{font-size:26px}.anniversary-card h2{font-size:13px}.anniversary-card .date-label{font-size:9px;margin-bottom:17px}.anniversary-count{font-size:47px}.anniversary-count small{font-size:9px}.anniversary-card .remaining-label{font-size:9px}.anniversary-card .entry-actions{top:6px;right:5px}.anniversary-card .icon-button{width:23px;height:23px}.anniversary-card .icon{width:11px}.letter-layout{gap:20px}.letters-grid{gap:13px}.letter-card{padding:18px;min-height:185px;border-radius:4px 14px 14px 14px}.letter-card .note-copy{font-size:15px;line-height:2}.letter-top{font-size:9px;margin-bottom:11px}.letter-bottom{font-size:8px;align-items:flex-end}.letter-reply{font-size:10px}.letter-compose{padding:20px}.letter-compose .field textarea{min-height:100px}.settings-card{padding:22px 20px}.settings-layout{gap:19px}.form-row{gap:12px}.field{margin-bottom:16px}.field input,.field textarea,.field select{font-size:13px;min-height:43px}.field textarea{min-height:110px}.field>label{font-size:11px}.settings-links{grid-template-columns:1fr 1fr}.settings-link{font-size:11px;padding:13px 10px;gap:7px}.settings-link .icon{width:16px;height:16px}.theme-options{gap:10px}.theme-option{padding:10px 12px;font-size:10px}.profile-preview{padding:20px}.data-actions{gap:8px}.data-actions .secondary-button{padding:10px 12px}.mobile-page-links{display:flex;gap:9px;margin-bottom:20px}.mobile-page-links button{flex:1;background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px;font-size:11px;color:#849574;display:flex;align-items:center;justify-content:center;gap:7px}.mobile-page-links .icon{width:15px;height:15px}dialog{max-height:88dvh;width:540px;border-radius:18px;max-width:calc(100vw - 24px)}.modal-inner{padding:23px 21px}.modal-heading{margin-bottom:20px}.modal-heading h2{font-size:22px}.modal-intro{font-size:11px}.form-actions .primary-button,.form-actions .secondary-button{min-height:42px;font-size:12px}.tag-option{padding:7px 12px;min-height:34px}.upload-zone{min-height:92px}.search-result{min-height:60px}.lightbox-stage{height:60dvh}.lightbox-top{padding:10px 13px}.lightbox-arrow{width:34px;height:34px}.lightbox-caption{font-size:11px}.empty-state{padding:45px 20px}}
@media(max-width:374px){main{padding-left:15px;padding-right:15px}.topbar{padding:0 15px}.page-intro h1{font-size:22px}.page-intro .primary-button{font-size:9px;padding:8px}.intro-sub{font-size:9px}.hero-grid{grid-template-columns:1.3fr 1fr;gap:9px}.hero-photo{height:234px}.hero-photo-copy h2{font-size:19px}.hero-photo-copy p{max-width:130px}.couple-avatars img{width:31px;height:31px}.couple-avatars{gap:4px}.day-number{font-size:46px}.together-since{font-size:6px;letter-spacing:.2px}.section-title .en{font-size:10px}.small-label{display:none}.memory-image-button img{height:124px}.memory-content h3{font-size:11px}.memory-content{padding:10px 9px}.right-column{gap:10px}.rail-card{padding:13px}.anniversary-highlight{gap:7px}.date-tile{width:34px}.anniversary-name{font-size:9px}.anniversary-meta{font-size:7px}.mood-face{font-size:19px}.mood-button{font-size:6px}.mood-status{font-size:7px}.wish-small{gap:7px}.wish-small-title{font-size:9px}.header-date{font-size:8px}.album-grid,.wish-grid{gap:10px}}
@media(max-width:700px){.page-intro{position:relative;display:block;padding-top:3px}.page-intro .eyebrow{padding-right:90px;font-size:7px;min-height:24px}.page-intro h1{font-size:25px}.page-intro>.primary-button{position:absolute;right:0;top:0;min-height:29px;padding:6px 10px;font-size:9px;border-radius:8px}.wish-check{position:relative}.wish-check:before{content:'';position:absolute;inset:-10px}.like-button{min-height:32px;min-width:32px}.lightbox-dot{width:8px;height:8px;margin:5px}.field input,.field textarea,.field select{font-size:16px}.entry-actions .icon-button{min-height:32px;min-width:29px}.letter-actions button{padding:8px}.tag-options{gap:7px}.tag-option{padding:7px 10px}.modal-inner .form-row{gap:10px}.modal-inner .field-label{font-size:11px}}
@media(max-width:374px){.page-intro h1{font-size:23px}}
.profile-preview{margin-bottom:12px;align-items:center}.avatar-editor{width:110px;min-width:0;display:flex;flex-direction:column;align-items:center}.avatar-edit-trigger{position:relative;padding:0;border-radius:50%;background:#e5eddb;box-shadow:0 4px 16px #4052320a}.profile-preview .avatar-edit-trigger img{width:78px;height:78px;border:3px solid #fff;border-radius:50%;transition:filter .2s,transform .3s var(--ease)}.avatar-edit-trigger:hover img{filter:brightness(.94);transform:scale(1.04)}.avatar-camera{position:absolute;right:-1px;bottom:0;width:26px;height:26px;background:var(--green);border:2px solid #f3f6ee;border-radius:50%;display:grid;place-items:center;color:#fff;pointer-events:none}.avatar-camera .icon{width:13px;height:13px}.profile-preview .avatar-editor p{font-size:12px;overflow-wrap:anywhere;margin-top:10px;color:#788e65}.avatar-change{font-size:10px;color:var(--green-dark);padding:4px 9px;border-radius:7px;min-height:28px;margin-top:3px}.avatar-change:hover{background:#e4ecd9}.avatar-reset{font-size:9px;color:#a0aa93;padding:2px 7px;min-height:24px}.avatar-reset:hover{color:var(--green-dark)}.avatar-reset[hidden]{display:none}.avatar-help{font-size:10px;color:#9aa68c;line-height:1.9;text-align:center;margin:0 0 23px}.avatar-crop-wrap{padding:4px 0 18px;text-align:center}.avatar-crop-frame{width:min(268px,100%);aspect-ratio:1;margin:0 auto;border-radius:50%;overflow:hidden;box-shadow:0 0 0 7px #edf2e6,0 0 0 8px #dce5d1;background:#eff3e7}.avatar-crop-frame canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.avatar-crop-frame canvas:active{cursor:grabbing}.avatar-crop-frame:focus-within{outline:3px solid #a4b98c;outline-offset:10px}.avatar-crop-hint{font-size:11px;line-height:1.9;color:#96a48a;margin-top:24px}.avatar-zoom{display:flex;align-items:center;gap:13px;font-size:11px;color:#8c9c7d}.avatar-zoom input{flex:1;min-width:0;accent-color:var(--green);height:28px;cursor:pointer}.avatar-zoom output{min-width:34px;text-align:right;font-variant-numeric:tabular-nums}.avatar-crop-options{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:8px 0 19px}.avatar-crop-options .text-button{min-height:32px}.avatar-crop-options .field-hint{font-size:9px}
@media(max-width:700px){.profile-preview{gap:19px;padding:22px 14px}.avatar-editor{width:104px}.profile-preview .avatar-edit-trigger img{width:76px;height:76px}.avatar-change{min-height:36px;font-size:11px}.avatar-reset{min-height:30px;font-size:10px}.avatar-help{font-size:11px;text-align:left;margin-bottom:22px}.avatar-crop-frame{width:min(240px,90%)}.avatar-crop-hint{font-size:11px}.avatar-zoom{font-size:12px}.avatar-zoom input{height:36px}.avatar-crop-options{margin-top:12px}.avatar-crop-options .text-button{font-size:11px}}
.memory-card{animation:none}.memory-content h3{font-size:13px}.memory-content p{font-size:11px;color:#89947d}.memory-meta{font-size:9px;color:#939e87}.memory-author{font-size:9px}.view-enter{animation:view-in .35s var(--ease) both}@keyframes view-in{from{opacity:1;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.memory-content h3{font-size:12px}.memory-content p{font-size:11px}.memory-meta{font-size:8px}.memory-author{font-size:8px}}
.account-login,.account-pill{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:7px 12px;background:#e9efdf;color:#6b8157;font-size:10px;white-space:nowrap}.account-login .icon,.account-pill .icon{width:13px;height:13px}.account-login:hover,.account-pill:hover{background:#dfe9d2}.guest-strip{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#98a58b;border-bottom:1px dashed #e0e7d6;padding:0 0 13px;margin-bottom:23px}.guest-strip>span:first-child{display:flex;align-items:center;gap:6px}.guest-strip .icon{width:12px;height:12px}.guest-strip>span:last-child{color:#adb69f}.guest-mood{display:flex;align-items:center;justify-content:center;flex:1;flex-direction:column;font-size:9px;gap:4px;color:#91a07e}.guest-mood img{width:26px;height:26px;border-radius:50%}.guest-mood b{font-size:23px;font-weight:400}.member-row{display:flex;align-items:center;gap:10px;font-size:12px;padding:10px 0;border-bottom:1px solid var(--line)}.member-row img{width:32px;height:32px;border-radius:50%}.member-badge{margin-left:auto;font-size:9px;background:#eaf1e0;padding:3px 9px;color:#81976a;border-radius:20px}.member-badge.waiting{background:#f8f0e6;color:#b19b7d}.invite-couple{display:flex;align-items:center;justify-content:center;gap:18px;padding:5px 0 24px}.invite-couple img{width:63px;height:63px;border-radius:50%;border:3px solid #eef3e7}.invite-couple>.icon{color:#d2a38d}.signed-author{display:flex;align-items:center;gap:9px;min-height:44px;padding:9px 12px;background:#f5f8ee;border-radius:9px;font-size:11px;color:#8a9b75}.signed-author img{width:24px;height:24px;border-radius:50%}.boot-state{padding:100px 25px;text-align:center;color:#93a880;font-family:var(--serif);font-size:18px}.saving [type=submit]{pointer-events:none;opacity:.65}.saving:after{content:'正在同步到共享空间…';position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border:1px solid #e0e8d5;border-radius:12px;background:#fffef8ed;box-shadow:var(--shadow);color:#849b6f;font-size:12px;padding:12px 20px;z-index:250;backdrop-filter:blur(8px)}body[data-role=guest] .memory-bottom{min-height:29px}body[data-role=guest] .note-card{min-height:190px}
@media(max-width:700px){.header-date{display:none}.header-actions{gap:6px}.account-login,.account-pill{font-size:9px;padding:6px 9px;gap:4px}.account-login .icon,.account-pill .icon{width:12px;height:12px}.guest-strip{font-size:8px;gap:8px;margin-bottom:20px;padding-bottom:12px}.guest-strip>span:last-child{font-size:7px}.guest-strip>span:first-child{gap:4px}.guest-mood{font-size:8px}.guest-mood img{width:22px;height:22px}.guest-mood b{font-size:20px}.saving:after{bottom:87px;font-size:11px;white-space:nowrap}.boot-state{font-size:16px;padding:90px 10px}.member-row{font-size:11px}.member-badge{font-size:8px}.signed-author{font-size:11px}}
.sidebar-profile{gap:8px}.sidebar-profile .avatar-stack img{width:28px;height:28px}.sidebar-profile .profile-label{white-space:nowrap;font-size:10px}.sidebar-profile>span:nth-child(2){min-width:0}.sidebar-profile .profile-status{white-space:nowrap;font-size:8px}@media(max-width:1050px){.sidebar-profile .profile-label{font-size:9px}}
.together-met{font-size:8px;color:#98a68d;letter-spacing:.4px;margin-top:5px;line-height:1.6}@media(max-width:480px){.relationship-dates{grid-template-columns:1fr}.together-met{font-size:7px;margin-top:4px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}html{scroll-behavior:auto}}
