:root{--paper:#f8f5ef;--ink:#343c32;--muted:#8b8d80;--rose:#965e59;--line:#deded2;--sage:#e8ecdf;--serif:Georgia,'Noto Serif SC','Songti SC',SimSun,serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.7 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft Yahei',sans-serif}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--rose);outline-offset:4px}a{color:inherit;text-decoration:none}header{height:100px;max-width:1304px;padding:0 44px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:25px}.brand{display:flex;align-items:center;gap:13px;font-size:18px;letter-spacing:2px;font-weight:600}.brand-heart{font-size:44px;color:var(--rose);font-family:var(--serif);font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:2.4px;margin-top:1px;color:var(--muted);font-weight:400}nav{display:flex;gap:31px;font-size:13px;color:#6f7568}nav a:hover{color:var(--rose)}button{border:0;color:inherit;background:none}.outline,.primary{display:inline-flex;align-items:center;justify-content:center;gap:25px;padding:10px 19px;border:1px solid #bfc1b2;border-radius:4px;font-size:13px;transition:background .2s,transform .2s;white-space:nowrap}.outline:hover{background:#eeece3}.primary{background:var(--ink);border-color:var(--ink);color:#fffdf4;padding:13px 22px}.primary:hover{background:#4d5b46;transform:translateY(-1px)}main{max-width:1216px;padding:0 24px;margin:auto}.hero{min-height:594px;padding:62px 5px 64px;display:grid;grid-template-columns:1.08fr 1fr;gap:25px;align-items:center}.eyebrow,.section-kicker{font-size:10px;letter-spacing:2px;color:#868d78}.eyebrow{display:flex;align-items:center;gap:8px}.eyebrow i{width:6px;height:6px;border-radius:50%;background:#99a282}h1{font-family:var(--serif);font-size:49px;line-height:1.55;font-weight:400;letter-spacing:1px;margin:19px 0 18px}h1 span{color:var(--rose)}.hero-desc{color:#838777;line-height:2;font-size:13px}.hero-buttons{display:flex;gap:18px;margin-top:30px;align-items:center}.text-button{font-size:12px;color:#777e68;padding:7px 0}.text-button:hover{color:var(--rose)}.couple-sign{display:flex;align-items:center;gap:12px;font-size:11px;color:#888a7c;margin-top:35px}.avatars{display:flex;padding-right:5px}.avatars i{height:29px;width:29px;border:2px solid var(--paper);border-radius:50%;display:grid;place-items:center;font-style:normal;background:#d9dfcd;color:#73816a;font-size:10px}.avatars i+i{margin-left:-8px;background:#eddcd0;color:#a07967}.tiny-heart{color:#ba8c7b;font-size:9px}.scrapbook{position:relative;width:100%;max-width:475px;height:427px;margin:20px 0 0 auto}.photo-frame{position:absolute;top:12px;left:25px;width:330px;background:#fffef9;padding:12px 12px 15px;box-shadow:0 8px 28px #383c2712;transform:rotate(-6deg)}.landscape{display:block;width:100%;height:269px;object-fit:cover}.photo-caption{font:13px var(--serif);display:block;text-align:center;padding-top:17px;color:#747561}.tape{position:absolute;width:100px;height:28px;left:110px;top:-13px;transform:rotate(5deg);background:#d7d3b995;clip-path:polygon(3% 0,100% 5%,96% 100%,0 93%)}.scribble{font:italic 19px var(--serif);color:#8c8c77;position:absolute;right:14px;top:-25px;transform:rotate(9deg)}.day-card{position:absolute;bottom:1px;right:0;background:#e7ebdf;width:233px;padding:23px 24px 19px;transform:rotate(5deg);box-shadow:0 8px 25px #343c3210;border:1px solid #f5f7ef}.day-card>div{font-size:11px;letter-spacing:2px}.day-card strong{font:64px/1.4 var(--serif);letter-spacing:-3px;display:block}.day-card strong small{font:12px sans-serif;letter-spacing:0;margin-left:9px}.day-card p{font-size:10px;color:#818873;margin:0 0 14px}.day-card>span{font:italic 14px var(--serif);color:#8b967d;border-top:1px solid #cdd4bf;display:block;padding-top:9px}.little-stamp{position:absolute;right:4px;top:50px;font-size:10px;line-height:1.4;border:1px solid #adb59e;width:65px;height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8e9c81;transform:rotate(12deg);outline:1px dashed #adb59e;outline-offset:4px}.little-stamp b{font-size:21px;font-weight:400}.chapter-bar{border-top:1px solid var(--line);padding:22px 0;display:flex;justify-content:space-between;font-family:var(--serif);font-size:16px}.fine{color:#929683;font:11px/1.7 sans-serif}.fine i{font-style:normal;margin-left:15px;color:#a8aa8c}.top-grid{display:grid;grid-template-columns:1.05fr 1.1fr 1fr;gap:18px}.top-grid article{border:1px solid var(--line);border-radius:6px;padding:26px;min-height:245px}.top-grid h2{font:21px/1.5 var(--serif);margin:8px 0}.anniversary-card{background:#eceee3}.next-day{margin:18px 0 9px;min-height:66px;display:flex;justify-content:space-between;align-items:center;gap:10px}.next-day strong{font:40px var(--serif);white-space:nowrap}.next-day strong small{font:11px sans-serif;margin-left:5px}.next-day p{font-size:12px;margin:2px 0;color:#7c846d}.next-day .text-button{font-size:11px}.mood-card{background:#faf8f1}.mood-card>p,.date-card>p{font-size:11px;color:#8d907e;margin:5px 0}.moods{display:flex;justify-content:space-between;margin:16px 0}.moods button{width:47px;font:25px/1.3 var(--serif);padding:4px;border-radius:6px;color:#a39372}.moods small{display:block;font:10px/1.7 sans-serif;margin-top:4px;color:#8a8d7b}.moods button.selected{background:#e7ebdb;box-shadow:0 0 0 1px #c8d1b8}.date-card{position:relative;text-align:center;background:#f0e8df}.date-card .section-kicker{font-size:9px}.date-symbol{font:37px/1 var(--serif);color:#ac9076;margin:10px}.date-card .outline{margin-top:14px;font-size:11px;padding:8px 18px;border-color:#c7b4a1}.section{padding-top:70px;scroll-margin-top:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.section-head h2{font:30px/1.5 var(--serif);margin:8px 0}.section-head h2 span{color:var(--rose)}.section-head p{color:#8b8e7d;font-size:12px;margin:5px 0}.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;border-top:1px solid #cbd0bd;padding-top:30px}.story{position:relative;padding-right:15px}.story:before{content:'';position:absolute;top:-35px;left:0;width:7px;height:7px;border:1px solid #939f80;background:var(--paper);border-radius:50%}.story time{font:italic 13px var(--serif);color:#8c967d;letter-spacing:1px}.story h3{font:20px var(--serif);margin:12px 0}.story p{font-size:12px;color:#8b8f7f;white-space:pre-wrap;overflow-wrap:anywhere}.sample-tag{font-size:9px;background:#e9ecdf;padding:2px 5px;color:#929a82;vertical-align:middle;margin-left:6px}.remove{font-size:11px;color:#969b88;float:right;padding:3px}.remove:hover{color:var(--rose)}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.photo-item{background:#fffdf7;padding:11px 11px 15px;border:1px solid #e8e5d9;position:relative;transform:rotate(-1.5deg);box-shadow:0 3px 10px #48442f05}.photo-item:nth-child(2){transform:rotate(1.5deg)}.photo-item img{width:100%;aspect-ratio:1.35;display:block;object-fit:cover}.photo-item p{font:14px var(--serif);margin:15px 5px 4px;overflow-wrap:anywhere}.photo-empty{width:100%;aspect-ratio:1.35;display:grid;place-content:center;text-align:center;color:#b1b6a1;background:#e8ebdf;border:0}.photo-item:nth-child(2) .photo-empty{background:#ece2d7;color:#baa894}.photo-item:nth-child(3) .photo-empty{background:#e0e6e2;color:#9bada6}.photo-empty span{font:45px var(--serif);font-weight:400}.photo-empty small{font-size:11px;letter-spacing:2px}.photo-item .remove{position:absolute;right:16px;top:16px;background:#fffdf3dc;border-radius:4px;padding:3px 8px}.storage-note{color:#a2a491;font-size:10px;text-align:right;margin-top:20px}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding-bottom:70px}.wish-panel,.letter-panel{padding:30px;border:1px solid var(--line);border-radius:5px;scroll-margin-top:100px}.letter-panel{background:#efe9df}.bottom-grid .section-head{margin-bottom:18px}.bottom-grid h2{font-size:23px}.bottom-grid .section-kicker{font-size:9px}.wish-count{font:italic 17px var(--serif);color:#8c977c}.wish-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px dashed #deded0}.wish-toggle{border:1px solid #b3bba2;width:19px;height:19px;padding:0;border-radius:50%;font-size:11px;flex-shrink:0}.wish-row.done .wish-toggle{background:#889477;color:white}.wish-row>span{flex:1;font-size:12px;overflow-wrap:anywhere}.wish-row.done>span{text-decoration:line-through;color:#a2a696}.inline-form{display:flex;margin-top:22px;border-bottom:1px solid #bfc7af;align-items:center}.inline-form input{width:100%;padding:10px 0;background:none;border:0;font-size:12px;min-width:0}.inline-form button{font-size:23px;color:#899575;padding:0 8px}.envelope{font-size:34px;color:#b5a88d}.letter{padding:14px 0;border-bottom:1px dashed #d5ccbb}.letter p{margin:3px 0;font:15px/1.9 var(--serif);white-space:pre-wrap;overflow-wrap:anywhere}.letter time{font-size:10px;color:#a2967e}.letter.locked p{color:#a79980;font-size:13px}.letter-panel>.primary{margin-top:23px;font-size:12px;padding:10px 17px;background:#8b7561;border-color:#8b7561}.empty-copy{font:16px/2 var(--serif);color:#a0927c;padding:15px 0 25px}.empty-copy small{display:block;font:11px/1.8 sans-serif;color:#a79c88;margin-top:10px}footer{border-top:1px solid var(--line);text-align:center;padding:36px 0 30px}.footer-heart{font:29px var(--serif);color:#ad8176}footer p{font:20px var(--serif);margin:15px 0 20px}footer div{font-size:8px;letter-spacing:2px;color:#9b9d8d}footer small{display:block;font-size:10px;color:#aaad9e;margin-top:15px}dialog{border:1px solid #dadccf;border-radius:10px;background:var(--paper);color:var(--ink);width:min(92vw,480px);max-height:90dvh;padding:26px;box-shadow:0 20px 100px #2225}dialog::backdrop{background:#30362c70;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-head h2{font:24px var(--serif);margin:0}.icon-button{font-size:28px;line-height:1;padding:5px}.form-field{display:block;margin:15px 0;font-size:12px;color:#7d846e}.form-field input,.form-field textarea{display:block;width:100%;border:1px solid #d1d5c5;background:#fffdf8;border-radius:4px;margin-top:6px;padding:10px;color:var(--ink)}textarea{resize:vertical;min-height:90px}.form-actions{margin-top:22px;display:flex;justify-content:flex-end;gap:12px}.form-help{font-size:11px;color:#979b88;line-height:1.9}.backup-actions{display:flex;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:23px}.backup-actions button{font-size:11px;flex:1;padding:8px}.danger{color:var(--rose)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#343c32ed;color:#fffdf6;padding:11px 22px;border-radius:5px;font-size:12px;z-index:99;transition:.25s;max-width:90vw;width:max-content}#toast.visible{opacity:1;transform:translate(-50%,0)}@media(min-width:1450px){.hero{min-height:650px}}@media(max-width:1000px){header{padding:0 28px}nav{gap:18px}.hero{gap:0}h1{font-size:40px}.scrapbook{transform:scale(.86);transform-origin:right center}.hero-buttons{gap:10px;flex-wrap:wrap}.top-grid article{padding:20px}.section-head h2{font-size:27px}.bottom-grid{gap:20px}.wish-panel,.letter-panel{padding:22px}}@media(max-width:720px){header{height:80px;padding:0 20px}.brand{font-size:15px;gap:9px}.brand-heart{font-size:35px}.brand small{font-size:8px}header>.outline{padding:8px 12px;font-size:11px}nav{display:none}main{padding:0 21px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:40px 0 25px;min-height:0}.eyebrow{font-size:8px;letter-spacing:1.7px}h1{font-size:38px;margin-top:17px;line-height:1.5}.hero-desc{font-size:12px}.hero-buttons{margin-top:24px;gap:17px}.primary{padding:12px 16px;font-size:12px}.couple-sign{margin-top:25px;font-size:10px}.scrapbook{height:387px;margin:48px auto 0;max-width:390px;transform:none}.photo-frame{width:265px;left:13px;top:9px;padding:9px 9px 13px}.landscape{height:225px}.photo-caption{font-size:11px;padding-top:14px}.tape{left:80px;width:90px}.day-card{width:190px;padding:18px 20px;bottom:15px;right:3px}.day-card strong{font-size:51px}.day-card>div{font-size:10px}.day-card p{font-size:9px}.scribble{right:8px;font-size:16px}.little-stamp{right:16px;top:25px;width:48px;height:63px;font-size:8px}.chapter-bar{font-size:14px;padding:20px 0}.chapter-bar .fine{font-size:9px}.fine i{margin-left:5px}.top-grid{grid-template-columns:1fr 1fr;gap:12px}.top-grid article{padding:18px 16px;min-height:235px}.top-grid h2{font-size:18px}.section-kicker{font-size:8px;letter-spacing:1.4px}.moods{gap:2px}.moods button{width:33px;font-size:21px}.moods small{font-size:9px}.mood-card>p{font-size:10px}.top-grid .date-card{grid-column:1/-1;min-height:0;display:grid;grid-template-columns:1fr auto;text-align:left;gap:0 12px}.date-card .section-kicker,.date-card h2,.date-card>p{grid-column:1}.date-card h2{margin:7px 0}.date-card .date-symbol{display:none}.date-card .outline{grid-column:2;grid-row:1/4;align-self:center;padding:8px 12px}.next-day{display:block;min-height:76px}.next-day strong{font-size:30px;display:block}.next-day .remove{float:right}.anniversary-card .text-button{font-size:11px}.section{padding-top:46px}.section-head{gap:10px;margin-bottom:24px;align-items:flex-start}.section-head h2{font-size:23px}.section-head p{font-size:11px}.section-head>.outline{padding:7px 10px;font-size:10px;margin-top:22px;gap:4px}.timeline{grid-template-columns:1fr;border:0;border-left:1px solid #cbd0bd;padding:0 0 0 23px;gap:24px;margin-left:4px}.story:before{top:7px;left:-28px}.story h3{font-size:19px;margin:8px 0}.story p{margin:7px 0}.photo-grid{grid-template-columns:1fr 1fr;gap:14px}.photo-item{padding:7px 7px 11px}.photo-item p{font-size:11px;margin-top:11px}.photo-grid>.photo-item:nth-child(3){display:none}.photo-grid>.photo-item.has-photo:nth-child(3){display:block}.photo-empty span{font-size:35px}.photo-empty small{font-size:9px;letter-spacing:1px}.storage-note{font-size:9px;text-align:left}.bottom-grid{grid-template-columns:1fr;gap:20px;padding-bottom:40px}.bottom-grid h2{font-size:23px}.wish-panel,.letter-panel{padding:24px}.bottom-grid .section-kicker{font-size:8px}footer p{font-size:18px}footer div{font-size:7px;letter-spacing:1px}.desktop{display:none}.backup-actions{flex-wrap:wrap}.backup-actions button{min-width:80px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* A softer little home */
:root{--paper:#fbf5ee;--ink:#50453d;--muted:#a29486;--rose:#af746c;--line:#e8dcd0;--sage:#e8e9dc}body{background:radial-gradient(ellipse at 15% 9%,#ffe8db70,transparent 35%),radial-gradient(ellipse at 95% 24%,#ecebdd70,transparent 29%),var(--paper)}header{height:91px}header nav{gap:25px}.brand-heart{color:#bb8478}.primary{background:#8a6657;border-color:#8a6657;border-radius:8px}.primary:hover{background:#a67b68}.outline{border-radius:8px;border-color:#d9c4b4}.welcome-strip{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 0 0;font-size:11px;color:#ae9380}.sync-pill{display:inline-flex;align-items:center;gap:7px;color:#8a9578;border:1px solid #dce1ce;background:#f2f4e8;padding:5px 10px;border-radius:20px;font-size:10px;white-space:nowrap}.sync-pill i{width:5px;height:5px;background:#94a181;border-radius:50%}.sync-pill.error{color:#b77d64;background:#fbede4;border-color:#e5c8b5}.sync-pill.error i{background:#c38d6e}.hero{min-height:565px;padding-top:40px;padding-bottom:47px}h1{font-size:47px}.photo-frame{border-radius:3px;background:#fffdf8;box-shadow:0 8px 30px #ab80631c}.day-card{background:#f0e4d6;border-color:#fff3e6}.day-card>span{border-color:#dbc8b6;color:#a38f79}.day-card p{color:#a18a74}.photo-caption{color:#a18671}.little-stamp{color:#b89b85;outline-color:#c6ad94;border-color:#c6ad94}.scribble{color:#b2947c}.hero-desc{color:#9d8d7e}.hero-buttons .text-button{color:#a38674}.couple-sign{color:#a08e7c}.connection-banner,.migration-banner{padding:15px 19px;border:1px solid #e5c3a8;border-radius:9px;background:#fff0e2;color:#a27657;font-size:12px;margin:16px 0 0}.connection-banner[hidden],.migration-banner[hidden]{display:none}.connection-banner a{color:#8d5d42;text-decoration:underline;margin-left:10px}.migration-banner{display:flex;justify-content:space-between;align-items:center;background:#f1efdf;border-color:#dedaBD;color:#928b68;gap:15px}.migration-banner button{font-size:11px;color:#8d7653;white-space:nowrap}.pet-section{background:#fffaf3;border:1px solid #eddfcf;border-radius:17px;display:grid;grid-template-columns:.92fr 1.08fr;box-shadow:0 7px 35px #bba0870c;overflow:hidden;scroll-margin-top:20px}.pet-scene{position:relative;min-height:393px;isolation:isolate;background:linear-gradient(180deg,#f5e7d4 0%,#f9eedc 66%,#eddbc4 66.2%,#ead4b9 100%);overflow:hidden}.pet-window{position:absolute;left:37px;top:30px;width:113px;height:140px;border:7px solid #debc96;background:linear-gradient(135deg,#f8e8be,#f9d0ae);border-radius:70px 70px 3px 3px;box-shadow:0 0 0 6px #f9efdd,0 8px 20px #d7b18e33}.pet-window:before{content:'';position:absolute;left:48%;top:0;bottom:0;width:5px;background:#debc96}.pet-window:after{content:'';position:absolute;left:0;right:0;bottom:45px;height:5px;background:#debc96}.pet-window span{position:absolute;left:12px;top:15px;width:31px;height:31px;background:#fff7ce;border-radius:50%;box-shadow:0 0 30px #ffedac}.pet-window i{position:absolute;width:27px;height:7px;background:#fff7e2bb;border-radius:50%;right:10px;top:53px}.window-glow{position:absolute;z-index:-1;top:90px;left:-60px;width:450px;height:260px;background:linear-gradient(130deg,#fff3ce90,transparent 70%);transform:rotate(15deg);filter:blur(10px)}.pet-wall-note{position:absolute;right:28px;top:36px;font:italic 16px var(--serif);transform:rotate(7deg);color:#b99b7b}.pet-plant{position:absolute;left:24px;bottom:84px;font:80px var(--serif);color:#9aa77c}.pet-plant:after{content:'';position:absolute;width:32px;height:37px;bottom:0;left:19px;background:#b88567;clip-path:polygon(0 0,100% 0,82% 100%,18% 100%)}.room-rug{position:absolute;left:13%;bottom:33px;width:77%;height:63px;border-radius:50%;background:repeating-radial-gradient(ellipse,#dfc8a8 0,#dfc8a8 4px,#e9d9bf 5px,#e9d9bf 8px);opacity:.7}.pet-character{position:absolute;width:220px;height:205px;left:50%;bottom:45px;transform:translateX(-42%);filter:drop-shadow(0 12px 7px #b6936a1c)}.pet-character svg{height:100%;width:100%;overflow:visible}.pet-body{animation:breathe 3s ease-in-out infinite;transform-origin:center 90%}.pet-eyes{animation:blink 6s infinite;transform-origin:center 54%}.pet-tail{animation:tail-wag 4s ease-in-out infinite;transform-origin:80% 80%}.pet-character.sleeping .pet-eyes{display:none}.pet-character.sleeping .sleep-eyes{display:block}.sleep-eyes{display:none}.pet-character.sleeping .pet-body{animation-duration:5s}.pet-character.happy .pet-body{animation:happy-hop .6s ease-in-out 2}.pet-bubble{position:absolute;right:22px;top:112px;background:#fffaf1e6;border:1px solid #ead4b9;color:#a48b71;padding:10px 14px;border-radius:14px 14px 14px 2px;font-size:11px;max-width:220px;box-shadow:0 5px 15px #ba9d7510}.pet-bowl{position:absolute;bottom:54px;right:30px;width:62px;height:26px;background:#b18b77;border-radius:4px 4px 22px 22px;color:#f5e0cd;text-align:center;font-size:17px;transform:rotate(-2deg)}.pet-bowl:before{content:'';position:absolute;left:0;top:-4px;right:0;height:9px;border-radius:50%;background:#d8b19b;border:2px solid #a88b6d}.pet-bowl span{position:relative}.room-caption{position:absolute;bottom:11px;left:0;right:0;text-align:center;font:italic 11px var(--serif);color:#b3977b}.pet-spark{position:absolute;color:#ccae80;animation:twinkle 4s infinite}.spark-one{right:90px;bottom:220px;font-size:20px}.spark-two{left:185px;top:36px;font-size:14px;animation-delay:2s}.pet-content{padding:30px 33px}.pet-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.pet-heading h2{font:27px/1.6 var(--serif);margin:8px 0 2px}.pet-heading h2>span{color:#b17a64;margin-left:4px}.pet-heading button{font-size:10px;white-space:nowrap;color:#b19379}.pet-subtitle{font-size:12px;color:#a69481;margin:3px 0 16px}.pet-identity{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#a8967f;margin-bottom:15px}.pet-identity>span:first-child{border-radius:20px;background:#f2e9d8;padding:2px 9px;color:#a88c64}.pet-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.pet-stat>div{font-size:10px;display:flex;justify-content:space-between;margin-bottom:6px;color:#a28b73}.pet-stat .meter{height:5px;background:#eee5d8;border-radius:10px;overflow:hidden}.pet-stat .meter i{display:block;height:100%;border-radius:10px;background:#c9ad84;transition:width .7s}.pet-stat:nth-child(2) .meter i{background:#cc9e96}.pet-stat:nth-child(3) .meter i{background:#abb78e}.pet-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.pet-actions button{border:1px solid #e6d6c3;border-radius:9px;background:#fcf6eb;padding:9px;font-size:11px;color:#a68b70;display:flex;align-items:center;justify-content:center;gap:10px;transition:.2s}.pet-actions button:hover{background:#f5ead6;transform:translateY(-1px)}.pet-actions span{font:21px var(--serif)}button:disabled{cursor:wait;opacity:.55;transform:none}.care-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:15px;border-top:1px dashed #e6dacb;padding-top:9px}.care-bottom>span{font-size:10px;color:#a18c74;max-width:65%;line-height:1.8}.care-bottom>button{font-size:10px;color:#ae8f70;white-space:nowrap}.pet-gentle{font-size:9px;color:#baaa93;margin-top:8px}.together-bar{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:18px 10px 23px;font-size:11px;color:#a18d78}.together-label{color:#ad8d73;white-space:nowrap}#member-status{display:flex;gap:18px;flex:1}#member-status span{display:flex;gap:6px;align-items:center;font-size:10px}#member-status i{height:5px;width:5px;border-radius:50%;background:#c9c3b6}#member-status i.online{background:#9aaa82}#account-info{font-size:10px;color:#aa947b;white-space:nowrap}.chapter-bar{padding-top:23px}.top-grid article{border-radius:12px;border-color:#e7dcd0}.anniversary-card{background:#f0ecdf}.mood-card{background:#fff9f2}.date-card{background:#f5e6dc}.top-grid .section-kicker{color:#b29e85}.top-grid h2{color:#79634f}.mood-card>p,.date-card>p{color:#b39d85}.next-day p{color:#ad9579}.text-button{color:#ac947c}.next-day strong{color:#a68763}.moods button{color:#c39e7c}.moods small{color:#b1967d}.moods button.selected{background:#f1dfd0;box-shadow:0 0 0 1px #dcc3ac}.partner-mood{margin-top:6px;color:#ba9a87;font-size:10px}.section-kicker{color:#b39c85}.section-head p{color:#ad9a88}.section-head h2{color:#77614f}.photo-item{border-radius:4px;box-shadow:0 5px 18px #b1956c0c}.photo-empty{background:#efe6d6;color:#bdaa8a}.photo-item:nth-child(2) .photo-empty{background:#efdcd1;color:#c29f8d}.photo-item:nth-child(3) .photo-empty{background:#e4e8d8;color:#a4b08b}.wish-panel,.letter-panel{border-radius:13px;border-color:#e7d9c8;background:#fff9f2}.letter-panel{background:#f2e6d9}.wish-toggle{border-color:#c7b294}.wish-row.done .wish-toggle{background:#b49b7f}.letter-panel>.primary{background:#a1846c;border-color:#a1846c}.form-field select{display:block;width:100%;border:1px solid #d1d5c5;background:#fffdf8;border-radius:5px;margin-top:6px;padding:10px;color:var(--ink);font:inherit}.account-card{padding:14px;border:1px solid #e8d8c4;border-radius:10px;margin:15px 0;background:#fff8ec;font-size:12px}.account-card span{display:block;font-size:10px;color:#b09b81}.account-links{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#ac8d6b;margin-top:20px}.account-links a{text-decoration:underline}.pet-preview-colors{display:flex;gap:12px;margin:15px 0}.care-log{padding:13px 0;border-bottom:1px dashed #dfcdb6;font-size:12px}.care-log small{display:block;font-size:10px;color:#b09b83;margin-top:3px}.pet-help{color:#b09b83;font-size:11px}.sync-saving{animation:twinkle .8s infinite}footer{border-color:#e6d5c4}footer p{color:#9b7a62}footer small{color:#b6a48f}dialog{background:#fff8ef;border-color:#ead7c1;border-radius:15px}#toast{background:#866a56f0;border-radius:10px}.offline-overlay{opacity:.65}.empty-pet{padding:20px;color:#c4a58a}@keyframes breathe{50%{transform:scale(1.018,1.025)}}@keyframes blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.07)}}@keyframes tail-wag{50%{transform:rotate(9deg)}}@keyframes happy-hop{50%{transform:translateY(-12px) rotate(-3deg)}}@keyframes twinkle{50%{opacity:.4}}@media(max-width:1000px){header nav{gap:15px}h1{font-size:40px}.pet-content{padding:25px}.pet-heading h2{font-size:23px}.pet-identity{font-size:9px}.pet-bubble{right:14px;max-width:175px;font-size:10px}.pet-wall-note{right:16px;font-size:14px}.pet-window{left:20px;width:99px;height:125px}.pet-character{width:202px;height:191px}.pet-stats{gap:10px}.care-bottom>span{font-size:9px}}@media(max-width:720px){header{height:80px}.welcome-strip{padding-top:14px;font-size:9px;gap:8px}.welcome-strip>span{max-width:58%;line-height:1.8}.sync-pill{font-size:9px;padding:4px 8px;gap:5px}.hero{padding-top:29px;padding-bottom:28px;min-height:0}h1{font-size:36px}.hero .eyebrow{font-size:7px;letter-spacing:1.2px}.hero .scrapbook{margin-top:37px;height:365px}.pet-section{grid-template-columns:1fr;border-radius:14px}.pet-scene{min-height:302px}.pet-window{left:29px;top:23px;width:94px;height:111px;border-width:6px}.pet-window:after{bottom:36px}.pet-wall-note{right:23px;top:25px}.pet-character{height:190px;width:200px;bottom:29px}.room-rug{bottom:24px;left:10%;width:80%;height:55px}.pet-bowl{bottom:39px;right:27px;width:53px;height:23px;font-size:15px}.pet-plant{bottom:57px;font-size:67px;left:19px}.pet-plant:after{height:29px;width:28px;left:14px}.pet-bubble{top:72px;right:18px;max-width:178px;padding:8px 11px;font-size:10px}.room-caption{bottom:8px;font-size:10px}.spark-one{bottom:188px;right:70px}.spark-two{left:159px;top:30px}.pet-content{padding:23px}.pet-heading h2{font-size:25px}.pet-subtitle{font-size:11px}.pet-heading .text-button{font-size:10px}.pet-stats{gap:16px}.pet-actions{margin-top:19px}.pet-gentle{font-size:9px}.together-bar{flex-wrap:wrap;gap:9px 10px;padding:18px 0}.together-label{font-size:10px}#member-status{gap:12px;flex:none;order:3;width:100%}#member-status span{font-size:10px}#account-info{margin-left:auto;font-size:9px}.migration-banner{font-size:10px;padding:12px;gap:9px}.migration-banner button{font-size:10px}.connection-banner{font-size:11px;padding:12px}.top-grid h2{font-size:17px}.partner-mood{font-size:9px}.pet-identity{font-size:9px}.care-bottom>span{font-size:10px}.care-bottom>button{font-size:10px}}@media(prefers-reduced-motion:reduce){.pet-body,.pet-eyes,.pet-tail,.pet-spark,.sync-saving{animation:none!important}}
.home-locked>header,.home-locked>main{display:none}.login-gate[hidden]{display:none}.login-gate{min-height:100dvh;display:grid;place-content:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 10% 10%,#f8dac580,transparent 55%),radial-gradient(ellipse at 90% 85%,#e4e5cf80,transparent 60%),#fbf5ed;padding:40px 20px}.login-gate:before,.login-gate:after{content:'♡';font-family:var(--serif);color:#cba68c22;position:absolute;pointer-events:none;font-size:270px;transform:rotate(-20deg);left:5%;top:8%}.login-gate:after{left:auto;right:3%;top:auto;bottom:7%;transform:rotate(20deg);font-size:190px}.key-login-card{position:relative;z-index:1;width:min(420px,calc(100vw - 40px));background:#fffaf3cf;border:1px solid #edddc9;border-radius:22px;padding:32px 35px 30px;text-align:center;box-shadow:0 20px 70px #b0927212;backdrop-filter:blur(10px)}.key-login-heart{display:block;font:45px/1.4 var(--serif);color:#b98b75;margin-bottom:10px}.key-login-card .section-kicker{font-size:8px;letter-spacing:2px}.key-login-card h1{font-size:35px;line-height:1.55;margin:17px 0 13px}.key-login-card>p{font-size:12px;line-height:2;color:#b19780;margin:0 0 25px}.key-login-card form{text-align:left}.key-login-card label{display:block;font-size:11px;color:#a08971;margin-bottom:7px}.key-login-card input{width:100%;padding:13px 15px;border:1px solid #e3d3bf;background:#fffcf6;border-radius:8px;font:12px/1.6 sans-serif;color:#866a55}.key-login-card form>.primary{width:100%;margin-top:13px;justify-content:space-between;padding:13px 16px}.login-note{font-size:10px;line-height:1.8;color:#b69b80;margin:14px 0 20px;min-height:18px}.owner-login-link{display:block;font-size:10px;color:#a48e74;text-decoration:underline;text-underline-offset:4px}.key-login-card>small{display:block;font-size:9px;line-height:1.8;color:#bca98f;margin-top:14px}.login-bottom{font-size:10px;color:#bca58b;position:relative;text-align:center;padding-top:28px;z-index:1}.key-person{padding:16px 0;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px dashed #e5d4bf}.key-person strong{font:18px var(--serif)}.key-person small{display:block;color:#b9a58b;font-size:10px;margin-top:7px}.key-person button{font-size:11px;white-space:nowrap}#new-home-key{font-size:11px;word-break:break-all}#home-logout{color:#b28c75}@media(max-width:420px){.key-login-card{padding:28px 24px}.key-login-card h1{font-size:32px}.login-gate:before{font-size:180px;left:-35px;top:5%}}
.key-login-card select{width:100%;padding:12px 14px;border:1px solid #e3d3bf;background:#fffcf6;border-radius:8px;font:12px/1.6 sans-serif;color:#866a55}.password-label{margin-top:14px}
/* Comfortable touch targets and explicit mobile file-saving affordances. */
.pet-stage-editor{margin:16px 0;padding:16px;border:1px solid #e6d6c3;border-radius:12px;min-width:0}.pet-stage-editor legend{padding:0 6px;color:#866a56}.pet-stage-preview{width:150px;height:145px;margin:auto}.pet-stage-preview svg{width:100%;height:100%}.pet-stage-editor input[type=color]{height:44px;padding:4px}.pet-stage-editor button{margin-top:12px}
.remember-choice{display:flex!important;align-items:center;gap:9px;font-size:12px!important;line-height:1.6;text-align:left}.key-login-card .remember-choice input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin:0;accent-color:var(--rose)}.backup-reminder{margin:30px 0 0;padding:18px 22px;border:1px solid var(--line);border-radius:16px;background:#efe9dd80;display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--muted);font-size:12px}.duet-button{width:100%;margin-top:12px;white-space:normal;min-height:44px}.upload-preview{display:block;max-width:100%;max-height:220px;object-fit:contain;margin:12px auto;border-radius:12px}.upload-preview[hidden],[hidden]{display:none!important}progress{width:100%;height:12px;accent-color:var(--rose)}.recovery-code{display:block;overflow-wrap:anywhere;padding:16px;background:var(--sage);border-radius:10px;font-size:15px;user-select:all}.pet-character[data-stage="baby"] svg{transform:scale(.88);transform-origin:center bottom}.pet-character[data-stage="young"] svg{transform:scale(.95);transform-origin:center bottom}.pet-character[data-stage="grown"] svg{filter:drop-shadow(0 4px 8px #c5aa8328)}dialog{max-height:88dvh;overflow-y:auto;overscroll-behavior:contain}button:disabled{cursor:wait;opacity:.65}.backup-actions{flex-wrap:wrap}.account-card span{display:block}
@media(max-width:600px){input,textarea,select{font-size:16px!important}.outline,.primary,.text-button,.pet-actions button{min-height:44px}.backup-actions{display:grid;grid-template-columns:1fr}.backup-actions>*{width:100%;white-space:normal}.backup-reminder{align-items:flex-start;flex-direction:column;gap:6px}dialog{width:calc(100% - 24px);padding:22px 18px;max-height:90dvh}.form-actions{flex-wrap:wrap}.form-actions>*{flex:1}.key-login-card{padding:32px 24px!important}.remember-choice{margin-bottom:14px!important}}
/* Shared rituals: gentle cards, comfortable reading and phone-first controls. */
.together-section{padding-top:65px}.together-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.feature-card{background:#fffcf6;border:1px solid #e8ddce;border-radius:20px;padding:28px;min-width:0}.feature-card h3{font:400 25px/1.5 var(--serif);margin:11px 0 14px}.feature-card>p{color:#9a8878;font-size:13px}.feature-badge{font-size:11px;color:#a0806a;border:1px solid #e4d2bf;border-radius:30px;padding:8px 15px;white-space:nowrap}.daily-card{background:linear-gradient(145deg,#f8e8df,#fffaf3)}.daily-question{font:20px/1.8 var(--serif)!important;color:#7f5e4e!important;min-height:65px}.answer-note{padding:16px 18px;margin:14px 0;background:#ffffff88;border:1px solid #e9dacc;border-radius:12px}.answer-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.answer-note small{color:#a18d7b}.feature-toolbar{display:flex;gap:10px;flex-wrap:wrap}.drawn-idea{padding:18px 0 24px;display:flex;flex-direction:column;gap:7px;min-height:110px}.drawn-idea strong{font:22px/1.7 var(--serif);color:#85624b}.drawn-idea span,.drawn-idea small{font-size:11px;color:#a28c78}.compact-list{margin:15px 0;max-height:290px;overflow:auto}.compact-row{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px dashed #e7ddce}.compact-row span{min-width:0;overflow-wrap:anywhere}.compact-row small{display:block;font-size:11px;color:#a18b79}.compact-row button{flex-shrink:0}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin:15px 0}.calendar-toolbar button{width:40px;min-height:40px;border-radius:50%;background:#f1e7d9}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.calendar-weekday{font-size:11px;color:#aa927c;padding:4px}.calendar-day{position:relative;min-height:38px;border-radius:10px}.calendar-day:hover,.calendar-day.selected{background:#eee0d4}.calendar-day.is-today{color:var(--rose);box-shadow:inset 0 0 0 1px #ba9580}.calendar-day i{position:absolute;width:4px;height:4px;border-radius:50%;background:#b78e6d;bottom:3px;left:calc(50% - 2px)}.meeting-countdown{background:#f2eadc;padding:14px 18px;border-radius:12px;display:flex;justify-content:space-between;gap:10px}.meeting-countdown strong{color:#98694e;white-space:nowrap}.coupon-list{max-height:420px;overflow:auto}.little-coupon{background:#fbf0df;border:1px dashed #d7b999;border-radius:14px;padding:18px;margin:12px 0;position:relative}.little-coupon h4{font:20px var(--serif);margin:9px 0}.little-coupon p{font-size:12px;white-space:pre-wrap;color:#917862}.little-coupon small{font-size:10px;letter-spacing:1px;color:#ad9279}.little-coupon>div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#a18770}.little-coupon.redeemed{background:#f0f0e4;opacity:.8}.extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.book-card{grid-column:1/-1;background:#f1e9df}.pet-room-scene{height:265px;position:relative;border-radius:16px;background:linear-gradient(#f2e7d9 72%,#e6d3b8 72%);overflow:hidden;margin:20px 0 10px}.pet-room-scene.rose{background:linear-gradient(#f3dfdc 72%,#e3c1b4 72%)}.pet-room-scene.sage{background:linear-gradient(#e7eadc 72%,#cbd3b4 72%)}.room-window{position:absolute;top:20px;right:25px;width:90px;height:90px;background:#fff8e7;border:7px solid #d9bfa2;border-radius:38px 38px 4px 4px;display:grid;place-items:center;color:#c7a572;letter-spacing:4px}.room-resident{position:absolute;width:160px;left:calc(50% - 80px);bottom:25px}.room-resident svg{width:100%}.room-decorations{position:absolute;display:flex;left:14px;right:14px;bottom:5px;justify-content:space-around;color:#ae8568}.room-decorations>span{text-align:center;font-size:27px;text-shadow:0 2px #fff7e8}.room-decorations small{display:block;font:8px/1.3 sans-serif;max-width:50px}.room-unlocks{font-size:11px;color:#a48d76;margin-bottom:15px}.decor-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.decor-picker label{display:flex;align-items:center;gap:10px;border:1px solid #e1d5c4;border-radius:12px;padding:12px}.decor-picker input{width:18px;height:18px;accent-color:#b18b6f}.decor-picker small{display:block;color:#a28e7c;font-size:10px}.corner-profile{padding:15px 0;border-top:1px dashed #e2d6c8}.corner-profile dl{display:grid;grid-template-columns:105px 1fr;gap:7px;font-size:12px}.corner-profile dt{color:#a28d7a}.corner-profile dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.book-preview-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.book-preview-photos img{width:100%;height:110px;object-fit:cover;border-radius:8px}.book-summary{padding:20px;background:#f3e8d9;border-radius:14px;color:#8c6a51}.book-summary strong{font:23px var(--serif)}.book-summary p{font-size:12px;line-height:2}nav{flex-wrap:wrap;gap:16px}
@media(max-width:700px){.together-grid,.extra-grid{grid-template-columns:1fr}.feature-card{padding:23px 20px}.book-card{grid-column:auto}.feature-badge{display:none}.feature-toolbar>*{flex:1;white-space:normal}.little-coupon>div{flex-wrap:wrap}.corner-profile dl{grid-template-columns:95px 1fr}.calendar-day{min-height:42px}.decor-picker{grid-template-columns:1fr}.book-preview-photos{grid-template-columns:repeat(2,1fr)}.section-head{gap:12px}}

/* Everyday navigation and readable, warm mobile layouts. */
.daily-shortcuts{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:#f4e9de;border:1px solid #e4d3c2;border-radius:16px;margin:12px 0 0}.daily-shortcuts strong{display:block;color:#715443;font-size:15px}.daily-shortcuts span{display:block;color:#816b59;font-size:12px;margin-top:3px}.shortcut-links{display:flex;gap:10px;flex-wrap:wrap}.shortcut-links a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;background:#fffaf3;border:1px solid #ddc8b6;border-radius:24px;font-size:13px;color:#795b49}.shortcut-links a:hover{background:#edddcf}.together-grid,.extra-grid{align-items:start}.hero-desc,.section-head p,.feature-card>p,.pet-subtitle,.login-note,.key-login-card>p{color:#806c5b}.text-button{color:#80624d}.section-kicker{color:#88715d}#mood-today{scroll-margin-top:110px}
@media(max-width:720px){
html{scroll-padding-top:130px}body{font-size:15px;line-height:1.8}main{padding:0 16px}header{height:auto;min-height:78px;display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:10px 16px 0;background:#fbf5ed;position:sticky;top:0;z-index:20;box-shadow:0 3px 14px #7154430a}header nav{display:flex;grid-column:1/-1;grid-row:2;flex-wrap:nowrap;gap:18px;overflow-x:auto;max-width:100%;padding:2px 0 7px;scrollbar-width:thin;overscroll-behavior-x:contain}header nav a{flex-shrink:0;min-height:44px;display:flex;align-items:center;font-size:13px;color:#735d4c}header>.outline{min-height:44px;padding:7px 12px}.brand{min-width:0;letter-spacing:1px}.welcome-strip{font-size:12px;align-items:center}.welcome-strip>span{max-width:56%}.sync-pill{font-size:11px;min-height:44px}.daily-shortcuts{display:block;padding:16px;margin-top:8px}.daily-shortcuts span{font-size:13px}.shortcut-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:13px}.shortcut-links a{padding:8px 2px;font-size:12px;border-radius:12px}.hero{padding-top:24px}h1{font-size:32px;line-height:1.55}.hero-desc{font-size:14px}.hero .eyebrow{font-size:9px;letter-spacing:1px}.hero-buttons{gap:8px 16px}.hero-buttons .primary{font-size:14px}.couple-sign{font-size:12px;margin-top:18px}.hero .scrapbook{width:100%;max-width:340px;height:315px;margin:30px auto 0}.photo-frame{width:70%;left:8px}.landscape{height:195px}.day-card{width:175px;padding:14px 16px;right:8px;bottom:8px}.day-card p{font-size:10px}.scribble{font-size:14px}.little-stamp{right:12px}.top-grid{grid-template-columns:1fr;gap:14px}.top-grid article{min-height:0;padding:22px}.top-grid h2{font-size:23px}.top-grid .section-kicker,.section-kicker{font-size:10px;letter-spacing:1.2px}.mood-card>p,.date-card>p,.partner-mood,.next-day p{font-size:13px;color:#806a57}.moods{gap:8px;justify-content:space-around}.moods button{width:54px;min-height:58px}.moods small{font-size:12px;color:#7a624d}.section,.together-section{padding-top:40px}.section-head{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:20px}.section-head h2{font-size:25px}.section-head p{font-size:14px}.section-head>.outline{font-size:13px}.feature-card{padding:22px 18px}.feature-card h3{font-size:23px}.feature-card>p{font-size:14px}.daily-question{min-height:0;font-size:20px!important}.feature-toolbar{gap:10px}.feature-toolbar>*{flex:1 1 120px;font-size:14px}.compact-row{align-items:flex-start;flex-wrap:wrap;gap:4px}.compact-row span{flex:1 1 180px}.compact-row button{font-size:13px}.compact-list,.coupon-list{max-height:none;overflow:visible}.calendar-grid{gap:2px}.calendar-day{min-width:0;min-height:44px;font-size:13px}.calendar-toolbar button{min-width:44px;min-height:44px}.calendar-weekday{font-size:12px;color:#806a57}.pet-content{padding:22px 18px}.pet-heading{flex-wrap:wrap}.pet-heading h2{font-size:24px}.pet-heading .text-button,.pet-subtitle,.pet-identity,.pet-stat>div,.care-bottom>span,.care-bottom>button,.pet-gentle{font-size:12px;color:#806b56}.pet-identity{flex-wrap:wrap}.pet-actions button{font-size:13px;min-height:48px;padding:10px 6px}.pet-bubble{font-size:12px;color:#806b56}.pet-stats{gap:10px}.pet-stat .meter{height:7px}.together-bar,#member-status span,#account-info{font-size:12px}.together-bar button{min-height:44px}.story p,.letter-message,.wish-row,.photo-caption{font-size:14px}.story time,.little-coupon p,.corner-profile dl,.room-unlocks{font-size:13px}.little-coupon small,.little-coupon>div,.answer-note small,.drawn-idea small,.drawn-idea span,.compact-row small{font-size:12px;color:#806a57}.corner-profile dl{grid-template-columns:1fr;gap:3px}.corner-profile dd{margin-bottom:10px}.corner-profile dt{color:#806a57}.key-login-card>p{font-size:14px}.key-login-card label,.login-note{font-size:13px}.key-login-card>small,.owner-login-link,.login-bottom{font-size:12px;color:#806a57}.owner-login-link{min-height:44px;display:flex;align-items:center;justify-content:center}dialog{max-width:calc(100% - 24px);padding:22px 18px;overflow-wrap:anywhere}dialog .text-button,dialog .outline,dialog .primary{min-height:44px}dialog input,dialog select,dialog textarea{max-width:100%;min-width:0}.form-actions{flex-wrap:wrap;gap:10px}.form-actions>*{white-space:normal;flex:1 1 120px}footer small{font-size:12px;color:#806a57}#toast{max-width:calc(100vw - 32px);white-space:normal;padding-bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){main{padding:0 12px}h1{font-size:29px}.brand{font-size:14px}.hero .scrapbook{height:295px}.landscape{height:175px}.day-card{width:156px}.day-card strong{font-size:44px}.shortcut-links{grid-template-columns:repeat(2,minmax(0,1fr))}.pet-stats{gap:6px}.pet-stat>div{font-size:11px}}

@media(max-width:720px){.top-grid .date-card{display:block}.date-card .outline{margin-top:12px}.section-head>.outline{margin-top:0}.photo-item p,.storage-note{font-size:13px;color:#806a57}}

/* Each room has its own view; navigation remains available at every width. */
header{height:auto;min-height:100px;flex-wrap:wrap;padding-top:14px;padding-bottom:12px;gap:8px 24px}header nav{order:3;width:100%;flex-wrap:nowrap;overflow-x:auto;gap:22px;padding:2px 0 4px;scrollbar-width:thin}header nav a{flex-shrink:0;min-height:44px;display:flex;align-items:center;border-bottom:2px solid transparent}header nav a[aria-current="page"]{color:#805642;border-bottom-color:#a5765c;font-weight:600}.single-room-page{max-width:850px;margin:0 auto}.single-room-page>.wish-panel,.single-room-page>.letter-panel{width:100%}.single-room-page .book-card{grid-column:auto}.single-room-page .feature-card{width:100%}main{min-height:65dvh}body:not([data-room-page="home"]) .section[data-page]{padding-top:30px}.backup-reminder{margin-top:35px}body:not([data-room-page="home"]) .pet-section{margin-top:28px}body:not([data-room-page="home"]) footer{margin-top:35px}.single-room-page .section-head{margin-bottom:22px}header nav a:focus-visible{outline-offset:-3px}
@media(max-width:720px){header{min-height:78px;display:grid;padding:10px 16px 0;gap:4px 10px}header nav{order:initial;grid-column:1/-1;grid-row:2;gap:18px;width:auto;padding-bottom:7px}.single-room-page{padding-bottom:10px}body:not([data-room-page="home"]) .section[data-page]{padding-top:24px}.single-room-page>.wish-panel,.single-room-page>.letter-panel{padding:22px 18px}body:not([data-room-page="home"]) footer{margin-top:20px}body:not([data-room-page="home"]) .pet-section{margin-top:18px}}

/* Clear room choices, useful calendar exits, and readable long records. */
.mobile-room-switch{display:none}.room-location{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e5d7c8;padding:10px 0 16px;color:#806a57;font-size:13px}.room-location a{padding:8px 0;color:#795540}.calendar-filters{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:5px}.calendar-filters button{min-height:44px;font-size:13px}.little-coupon h4,.drawn-idea strong,.meeting-countdown span,.story h3,.account-card,.letter p{overflow-wrap:anywhere}.form-actions button{min-height:44px}#modal h2{overflow-wrap:anywhere}.single-room-page .wish-panel .section-head>div{min-width:0}
@media(max-width:720px){header nav{display:none}.mobile-room-switch{display:flex;grid-column:1/-1;grid-row:2;align-items:center;gap:16px;padding:7px 0 10px;min-width:0;color:#806a57;font-size:12px}.mobile-room-switch span{white-space:nowrap}.mobile-room-switch select{font:inherit;font-size:16px;min-height:44px;min-width:0;flex:1;border:1px solid #ddc8b6;border-radius:10px;padding:8px 12px;background:#fffaf3;color:#715443}.room-location{padding:4px 0 10px;font-size:13px}.room-location a{min-height:44px;display:flex;align-items:center}.little-coupon h4{line-height:1.6}.wish-panel .section-head{flex-wrap:nowrap}.wish-panel .section-head h2{font-size:24px}}
main h1[tabindex="-1"]:focus,main h2[tabindex="-1"]:focus,main h3[tabindex="-1"]:focus{outline:none}
@media(max-width:720px){body:not([data-room-page="home"]) .together-label{display:none}body:not([data-room-page="home"]) .together-bar{padding:8px 0;gap:6px}body:not([data-room-page="home"]) #member-status{order:0;width:auto;flex:1;gap:10px}body:not([data-room-page="home"]) #account-info{margin-left:0}}
/* A soft, immediate press, followed by a brief warm ripple. */
button,a.primary,a.outline,.shortcut-links a,header nav a,.room-location a{touch-action:manipulation;transition:transform 120ms ease,background-color 160ms ease,box-shadow 160ms ease,border-color 160ms ease,filter 120ms ease}
button:not(:disabled):active,a.primary:active,a.outline:active,.shortcut-links a:active,header nav a:active,.room-location a:active{transform:translateY(2px) scale(.96);filter:brightness(.94)}
.primary:not(:disabled):active{box-shadow:inset 0 3px 7px #4f35244d;background:#795441!important;border-color:#795441!important}
.outline:not(:disabled):active,.pet-actions button:not(:disabled):active,.shortcut-links a:active,.calendar-day:not(:disabled):active{background-color:#eedacd;box-shadow:inset 0 2px 5px #88604926;border-color:#b68d73}
.moods button.selected,.moods button[aria-pressed="true"]{background:#eedbd0;box-shadow:0 0 0 2px #b88e75,inset 0 1px 3px #fff8ed;color:#825b47}
button.tap-surface,a.tap-surface{position:relative;overflow:hidden;isolation:isolate}.tap-ripple{position:absolute;display:block;border-radius:50%;pointer-events:none;background:radial-gradient(circle,#c9946b50 0%,#d7a78032 55%,transparent 72%);animation:tap-bloom 650ms ease-out both;z-index:1}.primary>.tap-ripple{background:radial-gradient(circle,#fff8e75e 0%,#ffe5c132 55%,transparent 72%)}
@keyframes tap-bloom{from{transform:translate(-50%,-50%) scale(.12);opacity:.9}to{transform:translate(-50%,-50%) scale(1.15);opacity:0}}
@media(hover:hover){.outline:not(:disabled):hover,.pet-actions button:not(:disabled):hover,.shortcut-links a:hover{box-shadow:0 3px 10px #8d634016;border-color:#c29c80}}
@media(prefers-reduced-motion:reduce){button:not(:disabled):active,a.primary:active,a.outline:active,.shortcut-links a:active,header nav a:active,.room-location a:active{transform:none}.tap-ripple{display:none;animation:none}}

/* Phone layout: thumb navigation, less repeated chrome, and comfortable sheets. */
.mobile-dock{display:none}.room-menu{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:4px}.room-menu a{display:flex;flex-direction:column;justify-content:center;min-height:78px;padding:14px;background:#fffaf3;border:1px solid #e5d4c4;border-radius:14px;gap:4px}.room-menu a strong{font-size:15px;font-weight:500;color:#735542}.room-menu a small{font-size:11px;line-height:1.6;color:#876d59}.room-menu a[aria-current="page"]{background:#f3e1d4;border-color:#bb9479}.mobile-dock a:active,.room-menu a:active{transform:translateY(1px) scale(.96);background:#f0ddcf}
@media(max-width:720px){
html{scroll-padding-top:84px}header{min-height:66px;padding:7px 16px;gap:0 10px;padding-top:max(7px,env(safe-area-inset-top))}.mobile-room-switch{display:none}header>.outline{min-height:44px;padding:8px 12px}.brand{font-size:15px}.brand-heart{font-size:33px}.brand small{font-size:8px}main{padding:0 16px calc(90px + env(safe-area-inset-bottom))}.mobile-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:35;gap:2px;margin:0;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #e7d6c6;background:#fffaf4;box-shadow:0 -4px 18px #74523b0b}.mobile-dock>a,.mobile-dock>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:52px;padding:5px 2px;color:#8b7561;border-radius:14px;font-size:11px;line-height:1.4}.mobile-dock svg{width:22px;height:22px}.mobile-dock .is-active{color:#855640;background:#f4e6dc}.home-locked .mobile-dock{display:none}body:has(input:focus,textarea:focus,select:focus) .mobile-dock{display:none}.welcome-strip{padding-top:10px;gap:8px}.welcome-strip>span{font-size:11px}.sync-pill{min-height:34px;padding:5px 9px;font-size:11px}body:not([data-room-page="home"]) .welcome-strip{justify-content:flex-end;padding-top:5px}body:not([data-room-page="home"]) .welcome-strip>span{display:none}.room-location{padding:0 0 6px;margin-top:0;border-bottom-color:#eaded1}.room-location-label{font-size:13px}body:not([data-room-page="home"]) .together-bar{padding:6px 0}.daily-shortcuts{padding:14px 15px;border-radius:18px}.daily-shortcuts strong{font-size:16px}.daily-shortcuts span{font-size:12px}.shortcut-links{gap:7px;margin-top:11px}.shortcut-links a{min-height:46px;font-size:12px}.hero{padding:18px 0 22px}.hero .eyebrow{display:none}.hero h1{font-size:30px;line-height:1.45;margin:10px 0 14px}.hero-desc{line-height:1.9;margin:0}.hero-buttons{margin-top:18px;gap:8px 14px}.couple-sign{margin-top:16px}.hero .scrapbook{height:242px;max-width:320px;margin:24px auto 0}.photo-frame{width:66%;left:10px;padding:8px}.landscape{height:168px}.photo-caption{font-size:11px;padding-top:10px}.day-card{width:150px;padding:12px 14px;right:8px;bottom:5px}.day-card strong{font-size:43px}.day-card>div{font-size:10px;letter-spacing:1px}.day-card p{font-size:9px;margin-bottom:8px}.day-card>span{font-size:12px;padding-top:6px}.scribble{font-size:13px;top:-12px}.little-stamp{display:none}.top-grid{gap:12px}.top-grid article{padding:20px;min-height:0}.section-head h2{font-size:24px}.section-head p{line-height:1.8}.together-grid{gap:16px}.feature-card{padding:21px 18px;border-radius:18px}.feature-card h3{font-size:23px;margin:8px 0 12px}.feature-card>p{line-height:1.85}.drawn-idea{min-height:0;padding:12px 0 18px}.drawn-idea strong{font-size:20px}.pet-scene{min-height:246px}.pet-character{width:176px;height:164px;bottom:24px}.pet-window{top:18px;left:23px;width:82px;height:102px}.pet-wall-note{top:17px;font-size:13px}.pet-bubble{top:48px;max-width:158px;font-size:11px}.pet-plant{font-size:55px;left:10px;bottom:45px}.pet-bowl{bottom:31px}.room-rug{bottom:20px}.pet-content{padding:20px 18px}.pet-actions button{min-height:50px}.pet-heading h2{font-size:23px}.pet-gentle{font-size:11px}.wish-row{align-items:flex-start;gap:10px;padding:12px 0}.wish-row>.wish-toggle{display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;border-radius:12px;font-size:17px;margin-top:1px}.wish-row>span{font-size:14px;line-height:1.9;padding-top:7px}.wish-row>.remove{min-width:40px;min-height:44px;font-size:20px}.inline-form{margin-top:16px;gap:8px}.inline-form input{min-width:0;min-height:48px;font-size:16px;padding:9px 0}.inline-form button{width:46px;min-width:46px;min-height:46px}.photo-grid{gap:12px}.photo-item img{height:auto;aspect-ratio:1;object-fit:cover}.photo-item p{line-height:1.7;overflow-wrap:anywhere}.photo-item .remove,.story .remove,.letter .remove{min-width:44px;min-height:44px}.little-coupon{padding:17px}.little-coupon>div>.text-button{flex:1 1 100%;background:#fff8ef;border:1px solid #dec4ac;border-radius:10px;padding:9px 12px}.backup-reminder{padding:14px 16px;margin-top:24px;gap:8px}.backup-reminder button{align-self:flex-start}footer{padding:24px 0 12px}footer .footer-heart{font-size:25px}footer p{font-size:17px;line-height:1.7;margin:8px 0 12px}footer>div{display:none}footer small{font-size:11px;margin-top:8px}#toast{bottom:calc(86px + env(safe-area-inset-bottom));font-size:13px;padding:11px 16px}
dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:90dvh;border-radius:22px 22px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom));border-width:1px 0 0;box-shadow:0 -15px 60px #62432a20}dialog::backdrop{backdrop-filter:none;background:#4a38294d}.modal-head{position:sticky;top:-18px;z-index:3;background:#fff8ef;padding:5px 0 12px;margin-bottom:10px;gap:12px}.modal-head h2{font-size:22px;line-height:1.5;min-width:0}.modal-head .icon-button{min-width:44px;min-height:44px;border-radius:50%;background:#f0e4d6;flex-shrink:0}.form-field{font-size:14px;margin:14px 0}.form-field input,.form-field select,.form-field textarea{min-height:48px;padding:11px 12px;border-radius:10px}.form-field input[type="checkbox"]{min-height:18px;padding:0}.form-field textarea{min-height:130px;max-height:35dvh;line-height:1.8}.form-help{font-size:13px;line-height:1.85}.form-actions{display:grid;grid-template-columns:minmax(80px,.7fr) minmax(0,1.3fr);gap:10px;position:sticky;bottom:0;z-index:2;padding:12px 0 4px;background:#fff8ef}.form-actions>*{width:100%;min-width:0;white-space:normal;min-height:48px;border-radius:12px}.key-person{flex-wrap:wrap;gap:10px}.key-person>div{width:100%}.key-person button{flex:1;min-width:0;white-space:normal}.room-menu{gap:9px}.room-menu a{min-height:78px;padding:12px}.room-menu a small{font-size:11px}.login-gate{min-height:100svh;overflow:visible;align-content:start;padding:24px 16px max(24px,env(safe-area-inset-bottom))}.key-login-card{width:min(420px,calc(100vw - 32px));padding:24px!important;border-radius:22px}.key-login-heart{font-size:36px;margin-bottom:4px}.key-login-card h1{font-size:31px;line-height:1.45;margin:12px 0}.key-login-card>p{margin-bottom:18px;line-height:1.85}.login-bottom{padding-top:18px}.key-login-card label{font-size:13px}.key-login-card input,.key-login-card select{min-height:48px}.key-login-card .remember-choice input{min-height:18px}.remember-choice{font-size:12px!important}.login-note{margin:12px 0 8px}.owner-login-link{min-height:40px}.key-login-card>small{margin-top:8px;line-height:1.8}
}
@media(max-width:360px){main{padding-right:12px;padding-left:12px}.brand{font-size:14px}.hero h1{font-size:28px}.hero .scrapbook{height:230px}.landscape{height:155px}.day-card{width:140px}.day-card strong{font-size:39px}.shortcut-links{grid-template-columns:repeat(2,minmax(0,1fr))}.pet-heading h2{font-size:22px}.room-menu{grid-template-columns:1fr}.room-menu a{min-height:64px}.form-actions{grid-template-columns:1fr 1fr}.key-login-card{padding:22px 18px!important}}
@media(prefers-reduced-motion:reduce){.mobile-dock a:active,.room-menu a:active{transform:none}}

/* Quiet, useful feedback for weak connections and everyday editing. */
.login-password-wrap{position:relative}.login-password-wrap input{width:100%;padding-right:64px!important}.login-password-wrap>button{position:absolute;right:5px;top:4px;min-height:42px;min-width:50px;font-size:13px;color:#795643}.login-retry{padding:12px;border:1px solid #e2cbb5;border-radius:12px;background:#fff7e9;margin:10px 0}.login-retry p{font-size:12px;line-height:1.8;margin:8px 0 0}.login-retry button{min-height:44px;width:100%;font-size:13px}.album-tools{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 20px}.album-tools label{font-size:12px;color:#886b55;display:grid;gap:7px}.album-tools select{min-height:44px;border:1px solid #ddcbb7;border-radius:10px;background:#fffaf3;color:#70543f;padding:8px 12px;font:inherit;font-size:16px;max-width:220px}.album-tools>span{font-size:12px;color:#997b61;padding-bottom:10px}.album-more{display:block;min-height:48px;margin:24px auto 0}.photo-open{display:block;width:100%;padding:0;border:0;background:transparent;border-radius:8px;overflow:hidden}.photo-open img{display:block;width:100%}.photo-open:focus-visible{outline:3px solid #ad8163;outline-offset:4px}.photo-viewer>img{display:block;width:100%;max-height:60dvh;object-fit:contain;background:#eee2d4;border-radius:12px;min-height:120px}.photo-viewer>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.photo-viewer-nav{display:flex;align-items:center;justify-content:space-between;gap:10px}.photo-viewer-nav button{min-height:44px;font-size:13px}.photo-viewer-nav span{font-size:12px;color:#96765c;white-space:nowrap}.draft-box{border:1px dashed #dfc8b1;border-radius:12px;padding:12px 14px;margin:18px 0 8px;background:#fff9ef}.draft-choice{display:flex;align-items:center;gap:9px;font-size:13px;min-height:40px}.draft-choice input{accent-color:#916b50;width:18px;height:18px}.draft-box .form-help{font-size:12px;margin:4px 0;line-height:1.8}.draft-actions{display:flex;gap:8px 16px;flex-wrap:wrap}.draft-actions button{min-height:44px;font-size:12px}.draft-status{font-size:12px;line-height:1.7;color:#87704c;margin:0}.draft-status:empty{display:none}
@media(max-width:720px){.album-tools select{max-width:190px}.album-tools>span{max-width:115px;text-align:right}.photo-viewer-nav button{padding:9px 10px}.draft-box{padding:10px 12px}.draft-choice{font-size:12px}.photo-open img{aspect-ratio:1;object-fit:cover}.album-more{width:100%}}
@media(max-width:720px){.login-gate{overflow:clip;grid-template-columns:minmax(0,1fr)}.key-login-card{width:100%;max-width:420px;justify-self:center}}

.export-result{font-size:13px;line-height:1.9;color:#856b56;margin:14px 0;overflow-wrap:anywhere}.export-result a{display:flex;min-height:46px;margin-top:12px}
/* First visit uses the same card on desktop and mobile, with separate member passwords. */
#setup-form label{margin-top:14px}#setup-form input{display:block;min-height:46px}#setup-form>.primary{margin-top:20px}
.entry-actions{margin:0 0 18px}.entry-state{font-size:13px;line-height:1.8;color:#80624d;margin:0 0 10px}.entry-actions>.outline{width:100%;min-height:46px;justify-content:center}
/* Album stays open for the next memory, including after the first upload. */
.photo-grid>.album-add-tile{display:block!important}.album-add-tile .photo-empty{min-height:170px;border:1px dashed #c6ad91;border-radius:12px;background:#f7eee2;color:#8b735e}.album-add-tile .photo-empty:hover{background:#efe0ce}.album-add-tile small{line-height:1.8}
/* Actual furnishings are shared by the pet's room and the live editor. */
.pet-scene[data-theme=rose]{background:linear-gradient(#f3dfdc 66%,#e3c1b4 66%)}.pet-scene[data-theme=sage]{background:linear-gradient(#e7eadc 66%,#cbd3b4 66%)}
.room-decoration-layer{position:absolute;inset:0;pointer-events:none}.room-object{position:absolute;box-sizing:border-box}.decor-cushion{left:calc(50% - 50px);bottom:27px;width:104px;height:29px;background:#f3d5b4;border:3px solid #d8b48c;border-radius:50%;box-shadow:0 6px 0 #bd98713d}.decor-cushion:after{content:'';position:absolute;inset:5px;border:1px dashed #d1a980;border-radius:50%}
.decor-rug{left:12%;bottom:18px;width:76%;height:50px;border-radius:50%;background:repeating-radial-gradient(ellipse,#dbc3a6 0 4px,#ecdac3 5px 8px);z-index:-1;box-shadow:0 3px 3px #a68e6720}.room-decoration-layer{z-index:0}.decor-rug{z-index:0}.decor-cushion{z-index:1}
.decor-plant{left:8%;bottom:63px;width:34px;height:39px;background:#d2a88a;border-radius:4px 4px 12px 12px;border-top:5px solid #bd9479}.decor-plant:before{content:'';position:absolute;width:5px;height:45px;background:#93a179;left:13px;bottom:34px;border-radius:10px}.decor-plant:after{content:'';position:absolute;width:27px;height:16px;left:15px;bottom:53px;background:#a4b489;border-radius:2px 90% 2px 90%;transform:rotate(-30deg);box-shadow:-20px -10px 0 #b1bd96}
.decor-lamp{right:10%;bottom:58px;width:8px;height:60px;background:#b39678;border-radius:5px}.decor-lamp:before{content:'';position:absolute;left:-20px;top:-18px;width:47px;height:35px;background:#f5ddb2;clip-path:polygon(20% 0,80% 0,100% 100%,0 100%)}.decor-lamp:after{content:'';position:absolute;left:-13px;bottom:-4px;width:34px;height:8px;border-radius:50%;background:#b39678}.decor-lamp span{position:absolute;left:-48px;top:-25px;width:105px;height:105px;border-radius:50%;background:radial-gradient(#ffe7ac80,transparent 70%)}
.decor-photo{right:12%;top:20%;width:51px;height:43px;border:6px solid #c69e79;background:#fff4da;transform:rotate(5deg);box-shadow:2px 4px 0 #ad90602a}.decor-photo:before,.decor-photo:after{content:'';position:absolute;width:13px;height:17px;bottom:3px;background:#d8b299;border-radius:45% 45% 20% 20%}.decor-photo:before{left:4px}.decor-photo:after{right:4px;background:#a8b497}
.decor-stars{left:42%;top:0;width:70px;height:66px;border-top:3px solid #b69e80}.decor-stars:before,.decor-stars:after,.decor-stars span:before{content:'✧';position:absolute;top:8px;color:#bc9c62;font-size:26px;border-top:25px solid #cebda0;line-height:24px}.decor-stars:before{left:0}.decor-stars:after{right:0;top:20px}.decor-stars span:before{left:25px;top:6px;font-size:20px}
.pet-character,.room-resident{z-index:2}.pet-bubble{z-index:3}.room-caption{z-index:3}.pet-room-scene .room-window{z-index:0}.room-resident svg{display:block}.pet-room-scene[data-theme=cream]{background:linear-gradient(#f2e7d9 72%,#e6d3b8 72%)}
/* Each activity has a matching pose and prop; sleep always takes priority. */
.pet-character[data-stage] svg{transform:none}.pet-effect{display:none}.room-resident .sleep-eyes{display:none}
[data-state=sleep] .pet-eyes,[data-state=tired] .pet-eyes{display:none}[data-state=sleep] .sleep-eyes,[data-state=tired] .sleep-eyes{display:block}
[data-state=sleep] .effect-sleep,[data-state=feed] .effect-feed,[data-state=play] .effect-play,[data-state=pet] .effect-pet,[data-state=duet] .effect-pet{display:block}
[data-state=sleep] .pet-body{animation:pet-rest 4s ease-in-out infinite;transform-origin:120px 208px}[data-state=sleep] .pet-tail{animation:none}[data-state=sleep] .effect-sleep{animation:pet-dream 3s ease-in-out infinite}
[data-state=feed] .pet-body{animation:pet-nibble .7s ease-in-out infinite;transform-origin:120px 205px}[data-state=play] .pet-body{animation:pet-play .65s ease-in-out infinite;transform-origin:120px 205px}[data-state=play] .effect-play{animation:pet-ball .9s ease-in-out infinite}
[data-state=pet] .pet-body{animation:pet-nuzzle 1.3s ease-in-out infinite;transform-origin:120px 205px}[data-state=pet] .effect-pet,[data-state=duet] .effect-pet{animation:pet-dream 1.6s ease-out infinite}
[data-state=duet] .pet-body{animation:pet-play .5s ease-in-out infinite;transform-origin:120px 205px}[data-state=tired] .pet-body{animation:pet-rest 5s ease-in-out infinite;transform-origin:120px 208px}[data-state=hungry] .pet-body{animation:pet-nuzzle 3s ease-in-out infinite;transform-origin:120px 205px}[data-state=lonely] .pet-tail{animation-duration:7s}
@keyframes pet-rest{50%{transform:translateY(4px) scaleY(.96)}}@keyframes pet-dream{0%{opacity:.2;transform:translateY(5px)}60%{opacity:1}100%{opacity:0;transform:translateY(-12px)}}@keyframes pet-nibble{50%{transform:translateY(5px) rotate(2deg)}}@keyframes pet-play{50%{transform:translateY(-14px) rotate(-4deg)}}@keyframes pet-ball{50%{transform:translate(-19px,-8px) rotate(-20deg)}}@keyframes pet-nuzzle{25%{transform:rotate(-4deg)}75%{transform:rotate(4deg)}}
.pet-scene .decor-photo{top:24px}
@media(max-width:600px){.pet-scene .decor-photo{top:7px;right:20px;width:44px;height:34px;transform:none}}
@media(prefers-reduced-motion:reduce){.pet-character *,.room-resident *{animation:none!important}}

/* Optional album search and AI organization. */
.album-search{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.album-search>label{display:grid;gap:8px;flex:1;min-width:210px;font-size:12px;color:var(--muted)}.album-search input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 14px;color:var(--ink);background:#fffcf8;font:inherit}.album-ai-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0 8px}.album-ai-toolbar>label{display:flex;align-items:center;gap:10px;font-size:12px}.album-ai-toolbar select{padding:10px;border:1px solid var(--line);border-radius:10px;background:#fffcf8;color:var(--ink)}.album-tags{color:var(--rose)!important;font-size:11px!important;overflow-wrap:anywhere}.photo-ai-description{font-size:13px;color:var(--muted);line-height:1.8;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}#album-ai-note{overflow-wrap:anywhere;line-height:1.8}#album-progress{min-height:24px}@media(max-width:600px){.album-search>label{flex-basis:100%;min-width:0}.album-search>.outline{flex:1}.album-ai-toolbar{gap:10px}.album-ai-toolbar>label{width:100%}}
