@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
.memory-comments{margin-top:22px;padding-top:18px;border-top:1px dashed var(--line)}.memory-comments h4{margin:0 0 14px;font-size:13px;font-weight:600}.memory-comments h4 span{color:var(--pink);margin-left:5px}.memory-comments ol{list-style:none;padding:0;margin:0 0 16px;max-height:340px;overflow-y:auto;overscroll-behavior:contain}.memory-comments li{padding:11px 12px;margin-bottom:8px;background:var(--paper);border-radius:10px}.comment-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted)}.comment-meta strong{color:var(--ink);font-weight:500}.comment-meta button{margin-left:auto;background:transparent;color:var(--muted);font-size:10px;min-height:28px}.memory-comments li p{margin-top:5px;color:var(--ink);font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.memory-comments .comment-empty{font-size:11px;color:var(--muted);margin-bottom:13px}.memory-comments textarea{display:block;width:100%;min-height:72px;resize:vertical;border:1px solid var(--line);border-radius:9px;padding:11px;background:var(--white);font-size:12px;line-height:1.7}.comment-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}.comment-footer small{color:var(--muted);font-size:10px}.comment-footer .button{font-size:11px;padding:9px 12px}@media(max-width:420px){.comment-footer{flex-wrap:wrap}.comment-footer .button{margin-left:auto}}
:root{--paper:#fffaf0;--ink:#594438;--muted:#958376;--pink:#db7b87;--lightpink:#f9e5e5;--yellow:#f4cf76;--line:#eae0d0;--mint:#e9eee1;--white:#fffefa;--shadow:0 7px 22px #7453340a;font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;font-size:14px;background-image:radial-gradient(#cbb89c2c .7px,transparent .7px);background-size:7px 7px}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b6815d;outline-offset:4px}button{transition:transform .18s,background .18s}button:hover{transform:translateY(-2px)}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}.page-width{max-width:1180px;width:calc(100% - 80px);margin-inline:auto}.site-header{background:#fffaf0f2;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;backdrop-filter:blur(14px)}.header-inner{max-width:1300px;margin:auto;min-height:91px;padding:16px 40px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:800;white-space:nowrap}.brand-mark{display:grid;place-items:center;background:var(--yellow);border-radius:50% 50% 43% 43%;width:43px;height:43px;font-size:33px;transform:rotate(-12deg);border:1px solid #e6bd61}.brand small{display:block;font-family:Georgia,serif;font-size:8px;letter-spacing:2.5px;margin-top:7px;font-weight:400}.site-header nav{display:flex;gap:30px;align-items:center}.site-header nav a{font-size:13px;padding:12px 0;position:relative;white-space:nowrap}.site-header nav a.active{color:#b76564;font-weight:700}.site-header nav a.active:after{content:'';position:absolute;bottom:2px;height:3px;border-radius:50%;background:var(--pink);left:16%;right:16%}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:9px;font-weight:600;font-size:13px;white-space:nowrap}.button.small{padding:10px 15px;font-size:12px}.button.primary{background:var(--pink);border:1px solid #cd737e;color:#fff;box-shadow:0 4px 0 #bd657222}.button.primary:hover{background:#ca6e7b}.button.outline{background:var(--white);border:1px solid #dfd3c3}.hero{display:grid;grid-template-columns:1.08fr 1fr;gap:38px;align-items:center;padding-top:58px;padding-bottom:48px;min-height:515px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.2px;color:var(--muted)}.hero-copy>.eyebrow{background:#f2eddf;border:1px solid #e6dece;border-radius:20px;display:inline-flex;align-items:center;gap:9px;padding:8px 14px;font-size:11px;letter-spacing:1px}.live-dot{height:6px;width:6px;background:#abaf85;border-radius:100%}h1{font-size:clamp(35px,3.9vw,53px);font-weight:800;line-height:1.5;letter-spacing:1px;margin:20px 0 17px}.pink-word{color:var(--pink);position:relative;display:inline-block}.pink-word:after{content:'';height:9px;background:#efced080;position:absolute;bottom:2px;left:0;width:100%;border-radius:100%;transform:rotate(-2deg);z-index:-1}.drawn-heart{position:absolute;right:-40px;top:-21px;font-family:cursive;font-size:38px;transform:rotate(18deg);font-weight:400}.hero-copy>p{color:var(--muted);line-height:1.95;font-size:13px}.hero-actions{display:flex;align-items:center;gap:23px;margin-top:26px}.text-link{font-size:12px;font-weight:500}.text-link span{padding-left:9px}.couple-sign{display:flex;align-items:center;margin-top:28px;font-size:11px;gap:5px}.couple-sign b{color:var(--pink);margin:0 5px}.couple-sign em{font-style:normal;margin-left:12px;color:var(--muted);font-size:10px}.mini-face{width:28px;height:26px;border:1.7px solid #775342;border-radius:45%;display:grid;place-items:center;font-size:21px;line-height:1}.white-bear{background:#fff;transform:rotate(-9deg)}.brown-bear{background:#d9a68a;transform:rotate(8deg);margin-left:-8px;margin-right:6px}.hero-art{position:relative;padding:12px 39px 10px 20px}.photo-frame{position:relative;max-width:410px;padding:13px 13px 0;background:#fffefa;border:1px solid #e5dcca;box-shadow:3px 7px 0 #e6dcc748,0 10px 30px #63442d0b;transform:rotate(4deg)}.photo-frame>img{width:100%;height:290px;object-fit:cover;border-radius:2px}.photo-caption{font-family:'Ma Shan Zheng','KaiTi',cursive;text-align:center;font-size:20px;padding:21px 0}.photo-caption span{color:var(--pink);margin-left:14px}.tape{position:absolute;width:111px;height:30px;left:35%;top:-13px;transform:rotate(-8deg);background:repeating-linear-gradient(90deg,#dfc99bb0 0 3px,#e6d5b7ba 3px 7px);z-index:2;clip-path:polygon(0 0,100% 7%,97% 24%,100% 43%,96% 65%,100% 94%,0 100%,4% 77%,0 54%,4% 28%)}.handwritten{font-family:'Ma Shan Zheng','KaiTi',cursive;font-size:19px;font-weight:400}.hero-note{display:block;text-align:right;margin-bottom:18px;transform:rotate(4deg);color:#9d8d70}.spark{position:absolute;color:#dcb355;font-size:39px;z-index:2}.spark-one{top:60px;left:-7px;transform:rotate(-12deg)}.spark-two{bottom:17px;right:0;font-size:52px}.orbit-label{position:absolute;left:-13px;bottom:22px;background:#fff5cf;box-shadow:0 4px 8px #5a392e08;border:1px solid #ebdca9;padding:13px 17px;border-radius:50%;text-align:center;transform:rotate(-13deg);font-size:10px;line-height:1.9}.orbit-label b{font-size:13px}.stats{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;border:1px solid var(--line);background:#fffdf7;border-radius:14px;padding:27px 14px;box-shadow:var(--shadow)}.stat,.day-stat{display:flex;gap:15px;align-items:center;padding:4px 26px;background:none;text-align:left;border-right:1px dashed #e5d6c5}.stat:last-child{border-right:none}.stat-icon{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;font-size:26px;color:#b58c64;background:#f5ecd8;border-radius:14px}.day-stat .stat-icon{background:#f7e4e4;color:var(--pink)}.stat small,.day-stat small{display:block;color:var(--muted);font-size:10px;letter-spacing:.5px;margin-bottom:8px}.stat strong{font-family:Georgia,serif;font-size:27px;font-weight:400}.stat i{font-family:'Noto Sans SC',sans-serif;font-size:11px;font-style:normal;margin-left:3px}.day-stat strong{font-size:17px;display:block}.day-stat #day-caption{display:block;font-size:9px;color:var(--muted);margin-top:7px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.section-heading h2{margin-top:10px;font-size:25px;letter-spacing:.5px;font-weight:700}.section-heading p{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.8}.heading-doodle{font-family:cursive;color:var(--pink);display:inline-block;transform:rotate(14deg);margin-left:9px;font-size:28px}.memories-section{padding-block:56px}.filter-row{display:flex;align-items:center;gap:8px;margin:27px 0 24px}.filter{background:transparent;padding:9px 15px;border-radius:20px;font-size:11px;color:var(--muted);border:1px solid transparent}.filter.active{background:#f7e5e3;border-color:#efd5d2;color:#ab6569}.filter-row>span{margin-left:auto;color:#ac9c8d;font-size:10px}.memory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.starter-card{border:1px solid #e5d9c7;border-radius:12px;overflow:hidden;background:var(--white);box-shadow:var(--shadow);display:flex;flex-direction:column;position:relative;min-height:295px}.starter-card .art-area{height:163px;display:flex;align-items:center;justify-content:center;position:relative}.starter-card:nth-child(1) .art-area{background:#eaf3f0}.starter-card:nth-child(2) .art-area{background:#faece8}.starter-card:nth-child(3) .art-area{background:#f5efdc}.art-area img{height:132px;width:auto;object-fit:contain;mix-blend-mode:multiply;transform:rotate(-5deg)}.art-area .paper-plane{height:120px;width:145px;object-fit:cover;border:7px solid white;box-shadow:3px 4px 0 #758b9220;transform:rotate(8deg)}.card-symbol{font-size:60px;color:#c69b68;transform:rotate(-9deg);font-family:Georgia,serif}.art-area .little-label{position:absolute;font-size:10px;bottom:14px;right:18px;color:#9c8b7a}.starter-content{padding:20px 22px}.starter-content small{font-size:9px;color:#ad9c87;letter-spacing:1px}.starter-content h3{font-size:17px;font-weight:600;margin:9px 0}.starter-content p{color:var(--muted);font-size:11px;line-height:1.8}.starter-card .card-link{margin-top:13px;padding:0;background:none;color:#bc7a78;font-size:11px;text-align:left}.empty-filter{grid-column:1/-1;padding:55px 24px;text-align:center;background:#fffefa;border:1px dashed #d9cbb8;border-radius:12px;color:var(--muted)}.memory-card{background:var(--white);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.memory-card>img{height:190px;width:100%;object-fit:cover;cursor:zoom-in}.memory-body{padding:23px}.memory-meta{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px}.memory-body h3{font-size:18px;margin:13px 0 10px;overflow-wrap:anywhere}.memory-body p{white-space:pre-wrap;line-height:1.9;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.card-actions{margin-top:18px;display:flex;gap:18px}.card-actions button{font-size:10px;padding:0;background:none;color:#a28871}.album-section{background:#f4eee0a8;border-block:1px solid #e9e0ce;padding:45px 0}.album-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;margin-top:30px}.album-empty{grid-column:1/-1;min-height:190px;border:1px dashed #d6c5ab;display:flex;align-items:center;justify-content:center;gap:30px;border-radius:12px;background:#fffaf073;padding:25px}.empty-camera{width:100px;height:83px;border:2px solid #c2ab8d;border-radius:13px;position:relative;transform:rotate(-9deg);display:grid;place-items:center;color:#c9a382;font-size:52px;background:#fff8ed}.empty-camera:before{content:'';position:absolute;top:-12px;left:14px;width:35px;height:12px;border:2px solid #c2ab8d;border-bottom:0;border-radius:7px 7px 0 0;background:#fff8ed}.album-empty h3{font-size:18px;font-weight:500;margin-bottom:10px}.album-empty p{color:var(--muted);font-size:12px;line-height:1.8}.album-empty button{margin-top:16px;background:none;color:#b07570;padding:0;font-size:12px}.album-photo{background:white;padding:10px 10px 15px;border:1px solid #e7dccb;box-shadow:3px 5px 0 #cbb89c25;transform:rotate(-2deg)}.album-photo:nth-child(even){transform:rotate(2deg)}.album-photo button{padding:0;width:100%;background:none}.album-photo img{aspect-ratio:1;width:100%;object-fit:cover}.album-photo p{font-family:'Ma Shan Zheng','KaiTi',cursive;font-size:19px;padding:13px 4px 0;text-align:center;overflow-wrap:anywhere}.album-photo .delete-photo{font-size:10px;color:var(--muted);padding-top:10px}.wish-section{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-block:65px}.wish-intro h2{font-size:27px;line-height:1.65;margin-top:16px}.wish-intro p{line-height:1.9;font-size:12px;color:var(--muted);margin-top:16px}.wish-intro img{width:148px;height:auto;mix-blend-mode:multiply;margin:20px 0 8px 60px;transform:rotate(-5deg)}.wish-intro>.handwritten{color:#9e8871;display:block;font-size:17px;margin-left:34px;transform:rotate(-3deg)}.wish-paper{background:#fffefa;border:1px solid #e3d9c8;box-shadow:5px 6px 0 #ece3d2;align-self:center;border-radius:4px;padding:31px 32px;transform:rotate(1deg);position:relative}.wish-paper:before{content:'';position:absolute;height:29px;width:95px;top:-12px;left:39%;background:#d5debc8c;transform:rotate(-5deg)}.paper-top{display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:600}.paper-top span:last-child{font-size:12px;font-weight:400;color:var(--muted)}.progress-track{height:5px;border-radius:5px;background:#eee9de;margin-top:17px;overflow:hidden}.progress-track>span{display:block;background:#b2bb91;height:100%;width:0;transition:width .3s}.hint{font-size:10px;color:#a69582;margin-top:11px}.wish-item{display:flex;align-items:center;gap:12px;border-bottom:1px dashed #e2d8c8;padding:17px 0;font-size:12px}.wish-item label{flex:1;display:flex;align-items:center;gap:12px;cursor:pointer;overflow-wrap:anywhere;min-width:0}.wish-item input{appearance:none;width:19px;height:19px;flex-shrink:0;border:1.5px solid #caba9f;border-radius:5px;margin:0;background:white;cursor:pointer}.wish-item input:checked{background:#acb68c;border-color:#acb68c}.wish-item input:checked:after{content:'✓';display:block;color:white;text-align:center}.wish-item:has(input:checked) label>span{text-decoration:line-through;color:#afa394}.wish-item>button{background:none;color:#af9b86;padding:3px;font-size:17px}#wish-form{display:flex;margin-top:17px;gap:10px}#wish-form input{border:0;background:#f8f3e8;border-radius:6px;min-width:0;flex:1;padding:11px 13px;font-size:12px}#wish-form button{background:#f0e1c5;width:38px;border-radius:6px;font-size:21px}.closing{display:flex;justify-content:center;gap:50px;align-items:center;padding:25px 0 50px;text-align:center}.closing p{font-family:'Ma Shan Zheng','KaiTi',cursive;font-size:24px;line-height:1.8;color:#9a8268}.closing strong{font-weight:400}.closing>span{font-size:35px;color:#d4ac68}.closing>span:last-child{color:var(--pink);transform:rotate(15deg)}footer{display:flex;justify-content:space-between;gap:30px;padding:30px 0 35px;border-top:1px solid var(--line)}footer b{font-size:13px}footer p{font-size:10px;color:var(--muted);line-height:1.8;margin:8px 0}footer small{font-size:9px;color:#a08e79}footer a{text-decoration:underline;text-underline-offset:3px}.backup{text-align:right}.backup button{font-size:10px;background:none;padding:7px 0 7px 15px;color:#9b7d63}dialog{padding:30px;border:1px solid #e1d3be;border-radius:18px;background:var(--paper);color:var(--ink);width:540px;max-width:calc(100% - 28px);max-height:90vh;box-shadow:0 20px 100px #52372630}dialog::backdrop{background:#46352665;backdrop-filter:blur(5px)}.modal-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.modal-head h2{font-size:23px;margin-top:8px}.icon-button{width:32px;height:32px;background:#f2e9db;border-radius:50%;font-size:23px;flex-shrink:0;display:grid;place-items:center}.field{display:block;margin-top:16px;font-size:12px;font-weight:500}.field input,.field textarea,.field select{display:block;width:100%;margin-top:8px;border:1px solid #ded2bf;border-radius:8px;padding:11px 12px;background:#fffefa;font-size:13px;min-width:0}.field textarea{resize:vertical;min-height:110px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-note{font-size:10px;color:var(--muted);line-height:1.8;margin-top:9px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.error{font-size:12px;color:#b54e52;line-height:1.7;margin-top:12px}.preview-upload{max-height:160px;margin-top:12px;border-radius:8px}#viewer{width:800px;text-align:center;padding:22px}#viewer img{max-height:70vh;margin:auto;object-fit:contain}#viewer p{margin-top:18px;font-size:15px}.viewer-close{position:absolute;right:10px;top:10px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);background:#66513f;color:#fffaf0;border-radius:12px;padding:13px 22px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:12px;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}html[data-reduced-motion] *{scroll-behavior:auto!important;transition:none!important}
[hidden]{display:none!important}
#pet-dock-status{position:absolute;bottom:68px;left:50%;transform:translateX(-50%);padding:8px 15px;background:#fffaf0ed;border:1px solid #e9dbc7;border-radius:20px;font-size:11px;color:#957c68;white-space:nowrap}.pet-loading{position:absolute;inset:35% 12% auto;text-align:center;pointer-events:none;z-index:2}#pet-load-status{background:#fff8ebeF;border:1px solid #e9dbc7;border-radius:16px;padding:14px;font-size:12px;color:#8e6455}#pet-retry{pointer-events:auto;margin-top:10px;padding:10px 18px;border-radius:20px;background:#ce8190;color:white;font-size:12px}.pet-hit:hover{transform:translate(-50%,-50%)}
@media(min-width:1000px){.photo-frame:hover{transform:rotate(1deg) translateY(-4px);transition:transform .3s}.hero-art:hover .orbit-label{transform:rotate(-8deg)}}
@media(max-width:1050px){.header-inner{padding-inline:25px;gap:20px}.site-header nav{gap:17px}.brand{font-size:16px}.brand small{font-size:7px;letter-spacing:1.5px}.page-width{width:calc(100% - 50px)}.hero{gap:10px}.hero-art{padding-right:15px}.photo-frame>img{height:260px}.hero-actions{gap:15px}.hero-actions .button{padding:12px 15px}.stat,.day-stat{padding-inline:15px;gap:11px}.stat-icon{width:32px;height:32px}.wish-section{gap:40px}}
@media(max-width:760px){.header-inner{flex-wrap:wrap;gap:9px;padding:14px 20px 0}.brand{font-size:15px}.brand-mark{width:34px;height:34px;font-size:27px}.brand small{font-size:6px}.header-inner>.button{margin-left:auto;padding:9px 10px;font-size:10px}.site-header nav{order:3;width:100%;justify-content:space-between;gap:5px}.site-header nav a{font-size:11px;padding:12px 0}.page-width{width:calc(100% - 36px)}.hero{grid-template-columns:1fr;padding-top:32px;padding-bottom:33px;gap:25px}.hero-copy{padding:0 8px}h1{font-size:38px;margin-top:18px}.hero-copy>p{font-size:12px}.hero-actions{gap:20px}.hero-actions .button{font-size:11px}.text-link{font-size:10px}.couple-sign{margin-top:22px}.hero-art{max-width:370px;width:100%;margin:auto;padding:0 22px 0 25px}.hero-note{font-size:17px;margin-bottom:17px}.photo-frame>img{height:239px}.photo-caption{font-size:17px;padding:16px 0}.orbit-label{font-size:9px;left:0;padding:9px 15px}.spark-one{left:0;top:50px}.spark-two{font-size:40px}.stats{grid-template-columns:1fr 1fr;padding:10px 4px}.stat,.day-stat{padding:18px 11px;border-right:0;gap:12px}.day-stat,.stat:nth-child(2){border-bottom:1px dashed var(--line)}.day-stat,.stat:nth-child(3){border-right:1px dashed var(--line)}.day-stat strong{font-size:12px}.stat strong{font-size:24px}.stat small,.day-stat small{font-size:9px}.day-stat #day-caption{font-size:8px}.stat i{font-size:9px}.stat-icon{width:30px;height:30px;font-size:22px}.memories-section{padding-block:36px}.section-heading{align-items:flex-start;gap:12px}.section-heading h2{font-size:19px;line-height:1.6}.section-heading p{font-size:10px;margin-top:7px}.section-heading .button{padding:9px 10px;font-size:10px;margin-top:16px}.eyebrow{font-size:8px;letter-spacing:1.5px}.heading-doodle{display:none}.filter-row{gap:4px;flex-wrap:wrap;margin:21px 0}.filter{padding:8px 10px;font-size:10px}.filter-row>span{display:none}.memory-grid{grid-template-columns:1fr;gap:15px}.starter-card{min-height:0;display:grid;grid-template-columns:120px 1fr}.starter-card .art-area{height:100%;min-height:165px}.art-area img{width:102px;height:auto}.art-area .paper-plane{width:95px;height:105px}.art-area .little-label{bottom:10px;right:12px;font-size:8px}.starter-content{padding:18px 16px}.starter-content h3{font-size:15px}.starter-content p{font-size:10px}.starter-content small{font-size:8px}.card-symbol{font-size:46px}.album-section{padding-block:33px}.album-empty{gap:22px;padding:26px 19px;min-height:170px}.empty-camera{width:67px;height:58px;flex-shrink:0;font-size:38px}.album-empty h3{font-size:14px}.album-empty p{font-size:10px}.album-empty button{font-size:11px}.album-grid{gap:15px;grid-template-columns:1fr 1fr;margin-top:25px}.album-photo{padding:7px 7px 11px}.album-photo p{font-size:16px}.wish-section{grid-template-columns:1fr;gap:30px;padding-block:38px}.wish-intro{position:relative}.wish-intro h2{font-size:23px;position:relative;z-index:1}.wish-intro p{font-size:11px}.wish-intro img{position:absolute;right:0;bottom:10px;width:103px;margin:0}.wish-intro>.handwritten{margin:20px 0 0;font-size:15px;transform:none}.wish-paper{margin:5px 5px 0;padding:25px 22px}.paper-top{font-size:17px}.closing{padding-bottom:32px;gap:19px}.closing p{font-size:19px}.closing>span{font-size:24px}footer{flex-direction:column;gap:12px;padding-block:24px}.backup{text-align:left}.backup button{padding-left:0;padding-right:20px}dialog{padding:23px}.modal-head h2{font-size:20px}.modal-actions .button{padding:11px 14px;font-size:12px}}
@media(max-width:760px){.drawn-heart{right:-19px;top:-17px;font-size:26px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

.sync-panel{margin-top:25px;padding:22px 25px;background:#fffdf7;border:1px solid var(--line);border-radius:14px;display:flex;justify-content:space-between;gap:24px;align-items:center}.sync-panel h2{font-size:19px;margin:8px 0}.sync-panel p{font-size:11px;line-height:1.8;color:var(--muted)}#sync-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;max-width:610px}#sync-controls>.field-note,#invite-result{width:100%}#join-form{display:flex;gap:8px}#join-code{min-width:0;width:245px;border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:10px;font-size:12px}#invite-result input{font-family:monospace;font-size:15px;max-width:100%}.sync-panel .button{font-size:11px;padding:10px 13px}@media(max-width:900px){.sync-panel{flex-direction:column;align-items:stretch}.sync-panel h2{font-size:18px}#join-form{width:100%}#join-code{flex:1;width:100px}#sync-controls{max-width:100%}}

.memory-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:8px}.memory-gallery:has(>button:only-child){grid-template-columns:1fr}.memory-gallery button{padding:0;background:transparent;overflow:hidden;border-radius:6px}.memory-gallery img{width:100%;aspect-ratio:1;object-fit:cover}.memory-gallery:has(>button:only-child) img{aspect-ratio:4/3}.attachment-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.attachment-previews img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.attachment-previews button{font-size:11px;background:var(--lightpink);border-radius:6px;padding:8px 3px;width:100%;margin-top:5px}

.dinner-section{display:grid;grid-template-columns:1fr 1.1fr;gap:50px;padding:55px 45px;margin-bottom:65px;background:#fbf1de;border:1px solid var(--line);border-radius:28px}.dinner-copy h2{font-size:34px;line-height:1.5;margin:15px 0}.dinner-copy h2 span{color:var(--pink)}.dinner-copy p{line-height:2;color:var(--muted)}.dinner-copy img{margin:25px 0 8px}.dinner-copy .handwritten{position:static;display:block;font-size:23px}.dinner-play{text-align:center;min-width:0}.meal-wheel-wrap{position:relative;width:min(100%,360px);margin:0 auto 20px;aspect-ratio:1}.meal-pointer{position:absolute;top:-5px;left:calc(50% - 13px);z-index:2;width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:32px solid #76513f;filter:drop-shadow(0 3px 0 #fffaf0)}#meal-wheel{width:100%;height:100%;border:7px solid #fffaf0;border-radius:50%;box-shadow:0 8px 0 #d9b58055;transform-origin:50% 50%}.meal-hub{position:absolute;inset:calc(50% - 32px);width:64px;height:64px;border-radius:50%;background:#fffaf0;border:3px solid #ead7b6;display:grid;place-content:center;line-height:1.4;font-weight:700;pointer-events:none}#meal-result{font-size:17px;min-height:55px;line-height:1.7;margin:12px 0;overflow-wrap:anywhere}#meal-settings{margin:22px auto 0;max-width:380px;text-align:left}#meal-settings summary{text-align:center;cursor:pointer;color:#9c6a55;padding:10px}#meal-options{width:100%;resize:vertical;border:1px solid #ddc8ab;background:#fffefa;border-radius:10px;padding:12px;line-height:1.7;margin-top:10px}#meal-form>.button{margin-top:10px}@media(max-width:760px){.dinner-section{grid-template-columns:1fr;padding:28px 18px;gap:25px}.dinner-copy{text-align:center}.dinner-copy h2{font-size:28px}.dinner-copy img{width:105px;height:auto;margin:18px auto 8px}.dinner-copy .handwritten{font-size:20px}.header-inner nav{gap:16px}}


/* Soft toy companions: only the bear hit areas intercept the underlying page. */
#pet-dock{position:fixed;bottom:0;left:0;width:100%;height:180px;z-index:29;pointer-events:none;overflow:hidden}#pet-dock[hidden]{display:none}#pet-dock canvas{width:100%;height:100%;pointer-events:none}.pet-hit{position:absolute;transform:translate(-50%,-50%);background:transparent;border:0;border-radius:45%;pointer-events:auto;cursor:grab;touch-action:none;padding:0}.pet-hit:active{cursor:grabbing}.pet-hit:focus-visible{outline:2px dashed #ba727d;outline-offset:0;background:#eeb8bd15}.pet-tools{position:fixed;bottom:14px;left:16px;z-index:31;display:flex;align-items:center;gap:6px}#pet-launcher{display:flex;gap:10px;align-items:center;padding:12px 18px;background:#fff6e4;border:1px solid #dec6a8;border-radius:24px;box-shadow:0 4px 18px #60452e18;font-size:13px;font-weight:600}#pet-launcher span{font-size:10px;font-weight:400;color:#9b7e69}#pet-hide{background:#fffaf0e8;border:1px solid #e9dbc7;border-radius:20px;font-size:10px;padding:9px;color:#957c68}
#pet-room{width:min(860px,calc(100vw - 24px));max-width:860px;padding:0;border:1px solid #e5d1b8;border-radius:26px;background:#fffaf0;max-height:calc(100dvh - 24px);overflow:auto;box-shadow:0 25px 100px #432d3a33}#pet-room::backdrop{background:#4b393f55;backdrop-filter:blur(5px)}.pet-room-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 28px 0;position:static;border:0;background:transparent;height:auto}.pet-room-heading h2{font-size:25px;margin:8px 0;color:#644a3b}.pet-room-heading h2 span{color:#d18491}.pet-room-heading p{font-size:12px;color:#a18a75;margin:0}.pet-room-heading>button{font-size:25px;border:1px solid #e7d8c4;background:#fff8ea;border-radius:50%;width:36px;height:36px;flex:none}#pet-stage{position:relative;width:100%;height:340px;background:radial-gradient(ellipse at 50% 70%,#ecdac3,#fffaf0 72%);overflow:hidden}#pet-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.pet-room-label{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:10px;letter-spacing:2px;color:#9a7d65;pointer-events:none}#pet-fallback{position:absolute;inset:30% 10%;padding:20px;border-radius:16px;background:#fff4dd;font-size:14px;line-height:1.8;z-index:2}.pet-room-controls{padding:0 28px 20px}.pet-select{display:flex;justify-content:center;gap:8px}.pet-select button{padding:10px 18px;border:1px solid #e6d5bf;background:#f8efdf;border-radius:20px;font-size:12px;display:flex;align-items:center;gap:7px}.pet-select button[aria-pressed=true]{background:#f8e4e5;border-color:#d797a0}.pet-select i{display:inline-block;width:15px;height:15px;border-radius:50%;box-shadow:0 1px 3px #79543b33}.toy-white{background:#fffdfa}.toy-brown{background:#c88f6c}#pet-speech{text-align:center;min-height:24px;font-size:13px;line-height:1.8;margin:13px 0;color:#8e6455}.pet-status{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#9f8773}.pet-status label{display:flex;gap:6px}#pet-meter{width:120px;height:12px;accent-color:#cf8a95}#pet-history{font-size:10px}.pet-actions{display:flex;gap:9px;justify-content:center;margin:16px 0 12px}.pet-actions button{border:1px solid #e6d2b6;background:#f8ecd9;color:#795840;border-radius:13px;padding:12px 19px;font-size:12px}.pet-actions button:first-child{background:#ce8190;color:#fff;border-color:#ce8190}.pet-actions button:disabled{opacity:.55;cursor:default}#pet-help,.pet-tip{text-align:center;font-size:10px;color:#a18a75;line-height:1.6;margin:5px 0}.pet-tip{color:#b6a291}
@media(max-width:600px){#pet-dock{height:145px}.pet-tools{left:10px;bottom:10px;gap:4px}#pet-launcher{padding:10px 13px;font-size:11px}#pet-launcher span{display:none}#pet-hide{font-size:9px}.pet-room-heading{padding:20px 18px 0}.pet-room-heading h2{font-size:20px}.pet-room-heading p{font-size:10px}.pet-room-heading .eyebrow{font-size:8px;letter-spacing:2px}#pet-stage{height:290px}.pet-room-controls{padding:0 15px 18px}.pet-select button{padding:9px 12px;font-size:11px}.pet-actions{gap:6px;flex-wrap:wrap}.pet-actions button{padding:11px 12px;font-size:11px}#pet-speech{font-size:12px;min-height:42px}.pet-status{gap:7px}}
#pet-view{position:absolute;top:12px;right:20px;z-index:3;border:1px solid #e5d1b8;border-radius:20px;padding:8px 13px;background:#fffaf0eF;color:#8e6455;font-size:11px}#pet-view[aria-pressed=true]{background:#f8e4e5;border-color:#d797a0}

/* Consistent memory previews; the full story and comments open on demand. */
.memory-grid{align-items:start}.memory-card{min-width:0}.memory-card .memory-cover{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:216px;padding:0;overflow:hidden;background:#f3eadd;border-radius:0}.memory-cover:hover{transform:none}.memory-cover img{width:100%;height:100%;object-fit:cover}.memory-photo-count{position:absolute;right:12px;bottom:12px;background:#49382dd9;color:#fffaf0;padding:6px 10px;border:1px solid #ffffff40;border-radius:18px;font-size:11px;backdrop-filter:blur(5px)}.memory-card .memory-cover-empty{flex-direction:column;gap:12px;background:radial-gradient(ellipse at 30% 30%,#fff9eb,transparent 70%),#f3e9dc;color:#b68e76}.memory-cover-empty>span{font-family:Georgia,serif;font-size:64px;line-height:1;transform:rotate(-10deg)}.memory-cover-empty>small{font-family:'Ma Shan Zheng','KaiTi',cursive;font-size:18px;letter-spacing:2px}.memory-card .memory-body{padding:20px 22px}.memory-card .memory-body h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:54px;line-height:27px;margin:12px 0 10px}.memory-card .memory-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;height:91.2px;line-height:1.9}.memory-expand{display:block;background:none;color:#ad6670;font-size:12px;padding:9px 0;margin-top:4px}.memory-card .card-actions{margin-top:8px}.memory-card.is-expanded .memory-body h3,.memory-card.is-expanded .memory-excerpt{display:block;height:auto;overflow:visible;-webkit-line-clamp:unset}.memory-comment-panel{margin-top:16px;border-top:1px dashed var(--line)}.memory-comment-panel>summary{cursor:pointer;padding:16px 0 0;font-size:12px;line-height:20px;color:var(--ink)}.memory-comment-panel>summary>span{display:inline-block;margin-left:6px;color:var(--pink);font-size:11px}.memory-comment-panel .memory-comments{margin-top:14px;padding-top:0;border:0}.memory-comment-panel .memory-comments h4{display:none}#viewer-nav{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:18px}#viewer-nav[hidden]{display:none}#viewer-nav button{background:#f2e9db;border:1px solid var(--line);border-radius:20px;padding:10px 16px;font-size:12px}#viewer-nav button:disabled{opacity:.4;cursor:default}#viewer-position{font-size:12px;color:var(--muted);white-space:nowrap}@media(max-width:600px){.memory-card .memory-cover{height:210px}.memory-card .memory-body{padding:19px 20px}#viewer-nav{gap:12px}}

/* A small selection of photos, with browsing kept to eight at a time. */
.album-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:26px 0 28px;scroll-margin-top:115px}.album-modes{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.album-modes button{padding:10px 15px;border-radius:22px;background:transparent;border:1px solid transparent;font-size:12px;color:var(--muted)}.album-modes button[aria-pressed=true]{background:#f7e5e3;border-color:#efd5d2;color:#ab6569}.album-modes button:disabled{cursor:default}.album-toolbar>p{font-size:11px;color:var(--muted);line-height:1.7}.album-pagination{display:flex;justify-content:center;align-items:center;gap:22px;margin-top:30px}.album-pagination>span{font-size:12px;color:var(--muted)}.album-pagination button:disabled{cursor:default}.album-photo>p:not(.field-note){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:64px;line-height:1.4;font-size:18px}.album-photo>.field-note{font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;font-size:10px;line-height:1.8;margin-top:0;padding-top:10px}.album-photo .delete-photo{min-height:28px}@media(max-width:600px){.album-toolbar{gap:12px;margin-bottom:22px}.album-modes{gap:2px}.album-modes button{padding:9px 12px}.album-photo>p:not(.field-note){font-size:16px;height:60px}.album-pagination{gap:14px}.album-pagination .button{padding:11px 15px}}

/* Pick a few wishes to focus on, and keep the full list in short pages. */
.wish-toolbar{margin-top:19px}.wish-modes{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.wish-modes button{padding:8px 10px;border:1px solid transparent;border-radius:18px;background:transparent;color:var(--muted);font-size:11px;white-space:nowrap}.wish-modes button[aria-pressed=true]{background:#eef0e2;border-color:#dce2c8;color:#78835c}.wish-modes button:disabled{cursor:default}.wish-toolbar>p{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 2px}.wish-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:15px 0 4px}.wish-pagination button{padding:8px 10px;border:1px solid var(--line);border-radius:16px;background:#faf5ea;font-size:10px}.wish-pagination button:disabled{cursor:default}.wish-pagination>span{color:var(--muted);font-size:10px}.wish-empty{font-size:12px;color:var(--muted);line-height:1.9;padding:18px 0;border-bottom:1px dashed var(--line)}@media(max-width:420px){.wish-modes{gap:1px}.wish-modes button{padding:8px;font-size:10px}.wish-pagination{gap:12px}}
