:root{--paper:#f8f6ed;--ink:#4b5849;--muted:#8b8c7a;--sage:#7d9271;--sage-dark:#627b58;--sage-light:#e7ebdc;--line:#e4e4d6;--peach:#e4b39c;--white:#fffdf6;--shadow:0 18px 55px #535d4512;font-family:system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}button:disabled{cursor:default;opacity:.65}button:focus-visible,a:focus-visible{outline:3px solid #a3b393;outline-offset:5px}input:focus-visible,textarea:focus-visible{outline:2px solid #93a586;outline-offset:2px}button{border:0}a{color:inherit;text-decoration:none}svg{display:block}button svg{pointer-events:none}[hidden]{display:none!important}.site-header{max-width:1320px;margin:0 auto;padding:28px 54px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:11px;font-family:Georgia,serif;font-size:25px;font-weight:600;letter-spacing:-1px}.brand-icon{color:#8d9f7f;display:block;width:37px;height:37px;transform:rotate(-13deg)}.brand-icon svg{width:100%;height:100%}.brand-cn{display:block;font-family:system-ui,sans-serif;font-size:9px;font-weight:400;letter-spacing:4px;color:#989a88;margin-top:4px}.header-right{display:flex;align-items:center;gap:25px}.demo-badge{font-size:11px;display:flex;align-items:center;gap:7px;color:#a2947a;letter-spacing:1px}.demo-badge>span,.green-dot{width:5px;height:5px;display:inline-block;background:#a8b28d;border-radius:50%}.collection-button{display:flex;align-items:center;gap:9px;background:#eeeee3;border:1px solid #e4e5d8;border-radius:40px;padding:11px 17px;font-size:12px;font-weight:550;transition:background .2s}.collection-button:hover{background:#e4e8d8}.collection-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.collection-count{font-size:10px;color:#8b967c;background:#f9f9ef;border-radius:15px;padding:3px 6px}.welcome{text-align:center;padding:32px 20px 37px}.eyebrow{font-size:9px;letter-spacing:2.5px;color:#9c9e88;font-weight:600;display:block}.welcome .eyebrow{display:flex;align-items:center;justify-content:center;gap:9px}.tiny-sprout{font-size:17px;color:#9fac87}.welcome h1{position:relative;display:inline-block;font-family:Georgia,serif;font-size:43px;font-weight:600;letter-spacing:3px;margin:18px 0 13px;line-height:1.35;color:#56634f}.welcome h1>span{color:#8b9a76}.heading-spark{position:absolute;width:23px;height:23px;right:-34px;top:1px;transform:rotate(9deg)}.welcome p{font-size:12px;letter-spacing:1px;color:var(--muted);margin:0;line-height:1.8}.village-section{max-width:1080px;margin:0 auto;padding:0 24px;position:relative}.village{position:relative;width:100%;aspect-ratio:1.96;overflow:hidden;border:7px solid #fffdf4;border-radius:29px;box-shadow:0 6px 40px #69754c0b;background:#dce4c5;isolation:isolate}.landscape{position:absolute;inset:0;width:100%;height:100%}.scene-status{position:absolute;top:25px;left:26px;display:flex;gap:11px;align-items:center;z-index:3;pointer-events:none}.sun-icon{font-size:30px;color:#beaa6c}.scene-status strong{display:block;font-size:11px;font-weight:550;letter-spacing:1px;color:#7d8b6b}.scene-status div>span{display:block;font-size:9px;letter-spacing:.7px;color:#93a17f;margin-top:4px}.residents{position:absolute;top:27px;right:26px;border:1px solid #ffffff60;background:#fcf9e9a3;color:#859373;padding:7px 12px;border-radius:20px;font-size:10px;display:flex;gap:6px;align-items:center;z-index:3;pointer-events:none}.scene-caption{position:absolute;bottom:20px;left:25px;font-size:10px;color:#8f9e77;letter-spacing:.5px;z-index:3;pointer-events:none}.scene-caption>span{font-size:16px;margin-right:4px}.ambient-toggle{position:absolute;bottom:14px;right:18px;width:34px;height:34px;display:grid;place-items:center;background:#ffffef70;border-radius:50%;z-index:5;color:#8c9c77}.ambient-toggle svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}.cat-layer{position:absolute;inset:0;overflow:hidden}.village-cat{position:absolute;width:96px;height:96px;padding:0;background:transparent;will-change:transform;left:0;top:0;outline-offset:-10px}.cat-face-direction{display:block;height:100%;width:100%;transform-origin:center;transition:transform .25s}.cat-art{width:100%;height:100%;overflow:visible}.cat-body{transform-origin:52px 84px}.cat-rig{transform-origin:55px 95px}.cat-head{transform-origin:52px 63px}.cat-tail{transform-origin:80px 80px;animation:tail 3.4s ease-in-out infinite}.cat-eyes{transform-origin:52px 54px;animation:blink 5s infinite}.sleep-eyes{display:none}.cat-mood{position:absolute;inset:0;text-align:center;pointer-events:none}.cat-bubble{position:absolute;bottom:92%;left:50%;transform:translateX(-50%);color:#b58f7a;background:#fffcefdf;padding:4px 9px;border-radius:20px;white-space:nowrap;font-size:10px;opacity:0;transition:opacity .2s}.village-cat.interacting .cat-bubble{opacity:1}.sleep .cat-bubble{opacity:1;background:transparent;color:#8f9e82;bottom:75%;font-family:Georgia,serif;letter-spacing:3px;animation:zzz 3s infinite}.walk .cat-rig{animation:waddle .4s ease-in-out infinite alternate}.walk .paw-left{animation:paw .4s ease-in-out infinite alternate;transform-origin:35px 90px}.walk .paw-right{animation:paw .4s ease-in-out infinite alternate-reverse;transform-origin:69px 90px}.sleep .cat-rig{transform:scale(1.08,.72) translateY(18px);animation:breathe 3s ease-in-out infinite}.sleep .cat-eyes{display:none}.sleep .sleep-eyes{display:block}.sleep .cat-tail{animation:none}.stretch .cat-body{animation:stretch 2.4s ease-in-out}.stretch .cat-eyes{transform:scaleY(.2);animation:none}.jump .cat-rig{animation:hop .8s cubic-bezier(.2,.6,.4,1)}.roll .cat-rig{animation:roll 1.2s ease-in-out}.dance .cat-rig{animation:dance 1.2s ease-in-out 2}.arriving .cat-rig{animation:arrival 1.3s ease-out}.paused .cat-art *,.paused .landscape *{animation-play-state:paused!important}.cloud-one{animation:cloud-drift 18s ease-in-out infinite alternate}.cloud-two{animation:cloud-drift 24s ease-in-out infinite alternate-reverse}.butterfly{animation:flutter 7s ease-in-out infinite}.habit-card{position:relative;z-index:8;background:var(--white);border:1px solid #ecebdf;border-radius:17px;box-shadow:0 10px 35px #61674b08;max-width:650px;margin:-28px auto 0;padding:23px 26px;display:grid;grid-template-columns:43px minmax(0,1fr) 29px;gap:0 16px;align-items:center}.habit-icon{width:43px;height:43px;display:grid;place-items:center;background:#eef0e4;border-radius:14px;color:#9baa86}.habit-icon svg{width:23px;height:23px;transform:rotate(-12deg)}.overline{display:block;font-size:9px;letter-spacing:1.4px;color:#a5a48b;margin-bottom:6px}.habit-content h2{font-size:15px;font-weight:550;letter-spacing:.6px;margin:0 0 6px;line-height:1.5;overflow-wrap:anywhere}.habit-content p{font-size:11px;margin:0;color:#a09e8a;line-height:1.7;overflow-wrap:anywhere}.edit-goal{height:32px;width:32px;background:transparent;color:#a9ac95;display:grid;place-items:center}.edit-goal svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.4;fill:none;stroke-linejoin:round;stroke-linecap:round}.habit-progress{grid-column:2/-1;margin-top:17px}.progress-head{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#a0a18a;margin-bottom:10px}.progress-head span:first-child{color:#859576}.day-dots{display:flex;gap:7px}.day-dots>span{height:5px;border-radius:4px;flex:1;background:#e8ebdd}.day-dots>span.filled{background:#a4b490}.daily-action{text-align:center;margin:27px auto 0}.primary-button{background:#657f59;color:#fffdf3;border:1px solid #7b906f;box-shadow:0 4px 0 #657b5b18;min-height:54px;border-radius:40px;padding:14px 27px;display:inline-flex;align-items:center;justify-content:center;gap:13px;font-size:13px;font-weight:550;letter-spacing:1px;transition:transform .2s,background .2s}.primary-button:hover:enabled{background:var(--sage-dark);transform:translateY(-2px)}.primary-button:active:enabled{transform:translateY(1px)}.button-paw{width:18px;height:18px;opacity:.9;transform:rotate(-13deg)}.button-paw svg{width:100%;height:100%}.daily-action .primary-button{min-width:280px}.daily-action p{margin:13px 0 0;font-size:10px;letter-spacing:.4px;color:#aba996}.quiet-links{display:flex;align-items:center;justify-content:center;gap:17px;margin-top:18px}.text-button{background:none;color:#969c83;font-size:10px;padding:10px 5px;min-height:36px}.text-button:hover{color:#617555}.text-button>span{font-size:8px;letter-spacing:.5px;margin-left:4px;background:#eeeee1;padding:2px 5px;border-radius:4px}.divider{height:10px;border-left:1px solid #dddfce}.village-note{display:flex;align-items:center;justify-content:center;gap:18px;margin:42px 20px 48px}.note-drawing svg{width:42px;height:42px}.note-drawing{font-size:36px;color:#acb693;transform:rotate(-15deg)}.village-note p{font-size:11px;line-height:1.9;color:#9a9d86;letter-spacing:.7px;margin:0}.village-note p span{color:#b2b19c}.note-line{width:50px;height:1px;background:#dddfce;margin-left:6px}.site-footer{max-width:1212px;margin:auto;border-top:1px solid #e7e7da;padding:20px 0 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#afb09c;font-size:9px;letter-spacing:.4px}.site-footer div{display:flex;align-items:center;gap:10px}.site-footer button{background:none;font-size:9px;padding:8px 0;color:#9b9f88}.local-label{display:flex;align-items:center;gap:5px}.local-label>span{height:4px;width:4px;border-radius:50%;background:#a4b48e}.reward-finished{max-width:550px;margin:25px auto;padding:18px;border:1px dashed #d3bd8b;background:#f6eedb;border-radius:15px;font-size:12px;text-align:center;line-height:1.9}
/* Quiet, accessible sheets */
dialog{border:1px solid #eeeddf;background:var(--white);color:var(--ink);border-radius:26px;padding:40px;box-shadow:0 25px 120px #303c3733;max-height:90svh;overflow:auto;position:fixed}dialog::backdrop{background:#34433355;backdrop-filter:blur(6px)}dialog[open]{animation:sheet-in .25s ease-out}.sheet{width:460px;max-width:calc(100vw - 28px)}.close-button{position:absolute;right:15px;top:12px;width:36px;height:36px;border-radius:50%;background:transparent;color:#a7aa94;font-size:26px;line-height:1;z-index:20}.close-button:hover{background:#efefe4}.dialog-symbol{width:48px;height:48px;background:#ecefdf;border-radius:17px;color:#9cab87;display:grid;place-items:center;margin-bottom:22px}.dialog-symbol svg{width:27px;height:27px}dialog h2{font-family:serif;font-size:27px;font-weight:600;line-height:1.5;letter-spacing:1px;margin:13px 0 8px}.dialog-sub{color:#a0a08c;font-size:12px;line-height:1.8;margin:0 0 25px}form label{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#69785e;margin:20px 0 10px}form label>span{color:#b0af9b;font-size:10px}input:not([type=file]),textarea{width:100%;padding:13px 14px;border:1px solid #e4e6d7;background:#fbfbf4;border-radius:11px;color:#596450;font-size:13px;line-height:1.7}input::placeholder,textarea::placeholder{color:#b8baa6;font-size:11px}textarea{resize:vertical;min-height:100px}.days-field{display:flex;align-items:center;gap:10px;color:#9fa38b;font-size:12px}.days-field input{width:75px}.days-presets{margin-left:auto;display:flex;gap:5px}.days-presets button{font-size:11px;background:#f0f1e6;border-radius:8px;padding:10px}.form-note{font-size:10px;line-height:1.8;color:#a4a790;margin:16px 0 22px}.full{width:100%}.form-error{font-size:11px;color:#ad7460;line-height:1.7;min-height:0;margin:10px 0}.photo-picker{display:flex;align-items:center;justify-content:center;border:1px dashed #d6dcc7;border-radius:11px;min-height:49px;cursor:pointer}.photo-picker>span{color:#97a183;font-size:11px}.photo-preview{position:relative;width:100%;margin-top:12px}.photo-preview img{display:block;max-height:140px;width:100%;object-fit:cover;border-radius:10px}.photo-preview button{position:absolute;top:4px;right:4px;width:28px;height:28px;background:#fff9;border-radius:50%;font-size:20px}.gift-dialog{width:430px;max-width:calc(100vw - 28px);text-align:center;overflow:hidden;padding:44px 35px 30px;background:radial-gradient(ellipse at 50% 45%,#fff8df,var(--white) 65%)}.gift-dialog h2{font-size:25px}.gift-dialog p{font-size:12px;color:#a3a08a;margin:8px 0}.gift-content{position:relative;z-index:2}.gift-button{display:block;margin:10px auto 15px;width:230px;background:transparent;padding:0}.gift-art{width:230px;height:220px;overflow:visible}.gift-button:hover .gift-art{animation:gift-wiggle .7s ease-in-out infinite}.tap-gift{font-size:11px;color:#b1977b;letter-spacing:2px}.opening .gift-art{animation:gift-wiggle .22s ease-in-out 4}.opening .gift-lid{animation:lid-open .7s .75s forwards}.cat-reveal{position:relative;padding:14px 0 20px}.cat-reveal .cat-art{width:180px;height:180px;margin:0 auto;filter:drop-shadow(0 10px 25px #d0bb8125)}.cat-reveal:before{content:'';position:absolute;width:175px;height:175px;left:50%;top:17px;transform:translateX(-50%);border-radius:50%;background:repeating-conic-gradient(#f4e9c575 0 12deg,transparent 12deg 30deg);z-index:-1;animation:sun-spin 22s linear infinite}.cat-reveal h3{font-size:27px;font-weight:550;margin:4px 0;letter-spacing:3px}.cat-reveal .rarity-tag{display:inline-block;margin:3px 0 9px}.cat-reveal .cat-description{font-size:11px}.cat-reveal .new-label{font-size:9px;letter-spacing:2px;color:#c29a60;position:absolute;right:45px;top:30px;transform:rotate(13deg)}.cat-reveal .level-up-label{font-size:12px;color:#b28a4b;margin-top:10px}.cat-reveal[hidden]+button{display:none}.draw-again{margin:12px auto 0}.confetti{position:absolute;inset:0;pointer-events:none;z-index:5;overflow:hidden}.confetti i{position:absolute;width:6px;height:10px;border-radius:2px;background:var(--c);left:var(--x);top:-20px;animation:confetti-fall 2s var(--delay) ease-in forwards}.collection-dialog{width:690px;max-width:calc(100vw - 24px);padding:36px 35px}.collection-dialog h2{font-size:28px}.collection-dialog .dialog-sub{margin-bottom:15px}.rarity-legend{display:flex;gap:18px;font-size:10px;color:#a4a58e;border-top:1px solid var(--line);padding:16px 0 20px}.rarity-legend span:nth-child(2){color:#8fa284}.rarity-legend span:nth-child(3){color:#a18bb1}.rarity-legend span:nth-child(4){color:#c0a064}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 14px}.collection-cat{position:relative;border:1px solid #e8e8da;border-bottom:5px solid #e2ddca;border-radius:13px;background:#f5f5e9;padding:12px 12px 14px;min-width:0;transition:transform .2s,box-shadow .2s;text-align:center}.collection-cat:hover{transform:translateY(-3px);box-shadow:0 6px 12px #717b5410}.collection-cat .cat-art{width:105px;height:105px;max-width:100%;margin:0 auto}.collection-cat.locked{background:#f0f0e7;border-color:#e5e5d9}.collection-cat.locked .cat-art{filter:grayscale(1);opacity:.25}.collection-cat.locked .cat-art *{animation:none}.collection-cat .rarity-tag{position:absolute;left:9px;top:9px;font-size:9px;padding:2px 6px}.rarity-tag{background:#eeeadc;color:#a39678;font-size:10px;letter-spacing:.5px;padding:4px 8px;border-radius:6px}.rarity-B{background:#e5ecdd;color:#8b9c78}.rarity-A{background:#eae3ef;color:#a18baf}.rarity-S{background:#f4e6bf;color:#b59453}.collection-cat .cat-name{display:block;font-size:12px;font-weight:550;letter-spacing:1px;margin:4px 0 5px}.collection-cat .collect-meta{font-size:9px;color:#a5a48e;display:flex;justify-content:space-between;gap:5px}.collect-track{height:3px;background:#e4e5d6;border-radius:4px;margin-top:8px;overflow:hidden}.collect-track>span{display:block;height:100%;background:#acb88f}.collection-footnote{font-size:10px;color:#b0ad96;text-align:center;line-height:1.9;margin:22px 0 0}.cat-detail{margin-top:18px;border-top:1px solid var(--line);padding-top:20px;font-size:12px;line-height:1.9;color:#879374;text-align:center}.cat-detail strong{font-weight:550}.journal-entry{border-top:1px solid var(--line);padding:18px 0}.journal-entry>header{display:flex;justify-content:space-between;font-size:10px;color:#a8ac94}.journal-entry p{font-size:13px;line-height:1.9;overflow-wrap:anywhere}.journal-entry img{max-width:100%;max-height:180px;border-radius:12px;object-fit:cover}.journal-empty{text-align:center;padding:30px 10px;color:#a6ab91;font-size:13px;line-height:2}.journal-empty .cat-art{width:130px;height:130px;margin:auto}.info-dialog p{font-size:12px;color:#90977f;line-height:1.95}.info-dialog h3{font-size:13px;font-weight:600;margin-top:23px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);z-index:100;background:#58664e;color:#fffcf0;border-radius:14px;padding:13px 20px;font-size:12px;line-height:1.8;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100% - 30px);text-align:center;box-shadow:var(--shadow)}.toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes tail{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(12deg)}}@keyframes blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.06)}}@keyframes waddle{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-3px) rotate(2deg)}}@keyframes paw{from{transform:translateY(-2px)}to{transform:translateY(2px)}}@keyframes breathe{0%,100%{transform:scale(1.08,.72) translateY(18px)}50%{transform:scale(1.1,.75) translateY(15px)}}@keyframes stretch{0%,100%{transform:scale(1)}40%,65%{transform:scale(1.18,.7) translateY(25px)}}@keyframes hop{0%,100%{transform:translateY(0) scale(1)}20%{transform:scale(1.1,.8)}50%{transform:translateY(-32px) scale(.93,1.08)}80%{transform:translateY(0) scale(1.13,.8)}}@keyframes roll{0%,100%{transform:rotate(0)}45%{transform:rotate(-24deg) scale(1.06,.9)}75%{transform:rotate(16deg)}}@keyframes dance{0%,100%{transform:rotate(0)}25%{transform:rotate(10deg) translateY(-5px)}75%{transform:rotate(-10deg) translateY(-5px)}}@keyframes arrival{0%{transform:scale(0) translateY(-50px)}60%{transform:scale(1.15,.85)}100%{transform:scale(1)}}@keyframes zzz{0%,100%{opacity:.3;translate:0 0}50%{opacity:.9;translate:0 -7px}}@keyframes cloud-drift{to{translate:24px 0}}@keyframes flutter{0%,100%{translate:0 0}25%{translate:25px -17px}60%{translate:70px 9px}}@keyframes sheet-in{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}@keyframes gift-wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}@keyframes lid-open{to{transform:translateY(-80px) rotate(-20deg);opacity:0}}@keyframes sun-spin{to{rotate:360deg}}@keyframes confetti-fall{to{translate:var(--drift) 650px;rotate:500deg;opacity:0}}@keyframes reveal-in{from{transform:scale(.2);opacity:0}65%{transform:scale(1.08)}to{transform:scale(1);opacity:1}}.cat-reveal[hidden]{animation:none}.cat-reveal{animation:reveal-in .55s ease-out}
@media(min-width:1500px){.welcome{padding-top:45px}.village-section{max-width:1150px}.village{aspect-ratio:2.05}}
@media(max-width:760px){.site-header{padding:23px 25px}.welcome{padding:28px 20px 29px}.welcome h1{font-size:35px;letter-spacing:1px}.heading-spark{right:-23px;width:18px}.village-section{padding:0 18px}.village{aspect-ratio:1.5}.habit-card{margin:-18px 25px 0;padding:20px;gap:12px}.site-footer{margin:0 25px;flex-wrap:wrap}.header-right{gap:14px}.demo-badge{font-size:9px}.village-note{margin-top:33px}.site-footer>span:first-child{font-size:8px}.scene-status{top:19px;left:18px}.residents{top:21px;right:18px}.landscape{width:130%;left:-15%}.village-cat{width:86px;height:86px}.scene-caption{font-size:9px;bottom:24px;left:18px}.collection-button{padding:10px 13px}.habit-progress{grid-column:1/-1}.progress-head{font-size:9px}}
@media(max-width:480px){.site-header{padding:20px 20px;gap:8px}.brand{font-size:23px;gap:8px}.brand-icon{width:31px;height:31px}.brand-cn{font-size:8px;letter-spacing:3px;margin-top:3px}.header-right{gap:7px}.demo-badge{position:absolute;top:91px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:8px;letter-spacing:.6px}.collection-button{padding:9px 11px;gap:6px;font-size:10px}.collection-button svg{width:16px;height:16px}.collection-count{padding:2px 5px;font-size:9px}.welcome{padding:47px 15px 26px}.welcome .eyebrow{font-size:7px;letter-spacing:1.6px}.welcome h1{font-size:30px;letter-spacing:1px;margin:13px 0 10px}.welcome p{font-size:10px;letter-spacing:.3px}.heading-spark{width:15px;right:-17px;top:-2px}.tiny-sprout{font-size:13px}.village-section{padding:0 12px}.village{border-width:5px;border-radius:23px;aspect-ratio:auto;height:370px}.landscape{width:170%;left:-35%;height:100%}.scene-status{top:17px;left:15px;gap:7px}.sun-icon{font-size:25px}.scene-status strong{font-size:9px}.scene-status div>span{font-size:7px}.residents{top:18px;right:12px;font-size:8px;padding:6px 8px}.scene-caption{font-size:8px;bottom:29px;left:12px}.ambient-toggle{bottom:20px;right:12px;width:30px;height:30px}.village-cat{width:80px;height:80px}.habit-card{margin:-14px 12px 0;padding:17px 15px;grid-template-columns:35px minmax(0,1fr) 24px;gap:10px;border-radius:15px}.habit-icon{width:35px;height:35px;border-radius:12px}.habit-icon svg{width:21px;height:21px}.overline{font-size:8px;letter-spacing:.6px;margin-bottom:4px}.habit-content h2{font-size:13px;margin-bottom:4px}.habit-content p{font-size:9px}.edit-goal{width:24px}.habit-progress{margin-top:12px}.daily-action{margin-top:23px}.daily-action .primary-button{min-width:265px;min-height:52px;font-size:12px}.daily-action p{font-size:9px;margin-top:12px}.quiet-links{margin-top:12px}.village-note{margin:27px 20px 32px;gap:12px}.village-note p{font-size:9px;letter-spacing:.3px}.note-drawing{font-size:30px}.note-line{width:30px}.site-footer{margin:0 24px;padding:16px 0 20px;gap:6px}.site-footer>span:first-child{font-size:7px}.site-footer .local-label{font-size:8px;flex-basis:100%;justify-content:center;margin-top:10px}.site-footer button{font-size:8px}.sheet{padding:35px 24px 28px;border-radius:22px}.sheet h2{font-size:24px}.dialog-sub{font-size:11px}.dialog-symbol{margin-bottom:18px}.collection-dialog{padding:35px 16px 22px;border-radius:22px}.collection-dialog h2{font-size:23px}.collection-dialog .eyebrow{font-size:7px;letter-spacing:1.7px}.collection-dialog .dialog-sub{font-size:9px}.collection-grid{gap:13px 8px}.collection-cat{padding:13px 8px 11px;border-radius:10px}.collection-cat .cat-art{width:85px;height:85px}.collection-cat .rarity-tag{top:6px;left:6px;font-size:8px;padding:2px 4px}.collection-cat .cat-name{font-size:10px}.collection-cat .collect-meta{font-size:7px}.rarity-legend{gap:15px;font-size:9px}.collection-footnote{font-size:8px}.gift-dialog{padding:42px 25px 26px}.gift-dialog h2{font-size:23px}.gift-art{width:210px;height:210px}.gift-button{width:210px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.cat-eyes{transform:none}.cat-reveal:before{animation:none}.sleep .cat-rig{transform:scale(1.08,.72) translateY(18px)}}

@media(max-width:480px){.landscape .cottage{transform:translate(-95px,32px) scale(.92)}.landscape .cat-shelter{transform:translate(357px,386px) scale(.85)}}
@media(min-width:761px) and (max-height:950px){.site-header{padding-top:20px;padding-bottom:20px}.welcome{padding:8px 20px 22px}.welcome h1{font-size:36px;margin:13px 0 10px}.village{aspect-ratio:auto;height:min(43vh,420px);min-height:320px}.habit-card{padding:18px 24px}.daily-action{margin-top:21px}.village-note{margin:30px 20px}}

/* English typography and room for longer labels. */
.brand-cn{letter-spacing:1.7px;font-size:8px}.welcome h1{letter-spacing:-1.2px;font-weight:500}.welcome p{letter-spacing:.2px}.eyebrow{letter-spacing:2px}.scene-status strong{letter-spacing:.2px}.scene-status div>span{letter-spacing:0}.primary-button{letter-spacing:.2px}.habit-content h2{letter-spacing:0}.overline{letter-spacing:1px}.dialog-sub{line-height:1.8}form label{flex-wrap:wrap}form label>span{font-size:9px}.collection-cat .cat-name{letter-spacing:0}.collection-cat .collect-meta{font-size:9px}.collection-dialog .dialog-sub{font-size:11px}.gift-dialog h2{font-size:26px}.collection-cat{padding-left:8px;padding-right:8px}
@media(max-width:480px){.brand{font-size:22px}.brand-cn{font-size:6px;letter-spacing:1.4px}.collection-button{font-size:9px;padding:9px}.collection-button svg{width:15px;height:15px}.welcome h1{font-size:30px;letter-spacing:-1.2px}.heading-spark{right:-12px;width:12px}.welcome p{font-size:10px;max-width:280px;margin:0 auto}.scene-status strong{font-size:8px}.scene-status div>span{font-size:7px}.residents{font-size:8px}.habit-content h2{font-size:13px;line-height:1.5}.overline{font-size:7px;letter-spacing:.6px}.habit-content p{font-size:10px}.quiet-links{gap:10px}.text-button{font-size:10px}.collection-cat .collect-meta{font-size:8px}.collection-dialog h2{font-size:23px;letter-spacing:0}.collection-dialog .dialog-sub{font-size:10px}.sheet h2{font-size:25px;letter-spacing:-.4px}.gift-dialog h2{font-size:24px;letter-spacing:0}.days-presets button{font-size:10px;padding:9px 7px}.days-field{gap:6px}.site-footer button{font-size:9px}.village-note p{font-size:9px;letter-spacing:0}.site-footer>span:first-child{font-size:8px}}

/* Clear first-visit positioning; returning players go straight to their village. */
.first-visit{padding:15px 20px 28px}.first-visit h1{font-size:44px;line-height:1.14;letter-spacing:-1.4px;margin:15px 0 13px}.first-visit .intro-description{font-size:14px;line-height:1.65;color:#7d8772;max-width:480px;margin:0 auto}.habit-steps{display:flex;justify-content:center;gap:28px;list-style:none;padding:0;margin:19px auto 0}.habit-steps li{display:flex;align-items:center;gap:7px;font-size:11px;color:#728365;white-space:nowrap}.habit-steps li>span{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#e6ecda;color:#7e916e;font-size:10px}.first-visit .daily-action{margin-top:21px}.first-visit .daily-action .primary-button{min-width:258px;min-height:52px;font-size:13px}.first-visit .daily-action p{font-size:10px;margin-top:10px}.return-welcome{text-align:center;padding:4px 20px 23px}.return-welcome h1{font:500 32px/1.2 Georgia,serif;letter-spacing:-.7px;margin:8px 0}.return-welcome p{font-size:11px;color:#939c85;margin:0}.has-habit #introWelcome,html:not(.has-habit) #returnWelcome{display:none}html:not(.has-habit) .habit-card{display:none}.village-note{display:none}html:not(.has-habit) .quiet-links{margin:13px 0 20px}.has-habit .quiet-links{margin-bottom:26px}.site-footer{margin-top:22px}.has-habit .village-section{padding-top:0}
@media(min-width:761px) and (max-height:950px){.first-visit{padding:4px 20px 22px}.first-visit h1{font-size:38px;margin:10px 0}.first-visit .habit-steps{margin-top:15px}.first-visit .daily-action{margin-top:17px}.first-visit .village{height:360px}html:not(.has-habit) .village{height:min(42vh,390px);min-height:300px}}
@media(max-width:760px){.first-visit{padding:24px 20px}.first-visit h1{font-size:37px}.habit-steps{gap:20px}.return-welcome{padding-top:12px}}
@media(max-width:480px){.site-header{padding-top:17px;padding-bottom:14px}.first-visit{padding:36px 16px 22px}.first-visit .eyebrow{font-size:7px;letter-spacing:1.7px}.first-visit h1{font-size:32px;line-height:1.13;letter-spacing:-1px;margin:12px 0 10px}.first-visit .intro-description{max-width:300px;font-size:12px;line-height:1.65}.habit-steps{gap:17px;margin-top:15px}.habit-steps li{flex-direction:column;gap:5px;font-size:10px}.habit-steps li>span{width:18px;height:18px;font-size:9px}.first-visit .daily-action{margin-top:18px}.first-visit .daily-action .primary-button{min-width:242px;min-height:50px}.first-visit .daily-action p{font-size:9px;margin-top:9px}html:not(.has-habit) .village{height:330px}.return-welcome{padding:33px 20px 19px}.return-welcome h1{font-size:28px}.return-welcome p{font-size:10px}.has-habit .daily-action{margin-top:21px}.has-habit .site-footer{margin-top:20px}html:not(.has-habit) .quiet-links{margin-bottom:15px}}
@media(max-width:340px){.first-visit h1{font-size:29px}.habit-steps{gap:16px}.first-visit .intro-description{max-width:276px;font-size:11px}html:not(.has-habit) .village{height:310px}}

.toast{width:max-content;max-width:calc(100vw - 32px);padding:11px 16px;font-size:11px}

/* Persistence problems remain visible; no reset is offered. */
.save-warning{max-width:960px;margin:12px auto;padding:16px;border:2px solid #a56849;border-radius:16px;background:#fff4e4;color:#503e30}
.save-warning[hidden]{display:none}
.save-warning p{margin:8px 0;line-height:1.5;overflow-wrap:anywhere}
.save-warning button{font:inherit;padding:10px 14px;border:1px solid currentColor;border-radius:12px;background:white;color:inherit;cursor:pointer}
.recovery-dialog p{line-height:1.6}
#recoveryCopies{border:1px solid #c8c2b5;border-radius:12px;padding:12px;margin:16px 0;min-width:0}
#recoveryCopies label,.recovery-confirm{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;margin:10px 0;overflow-wrap:anywhere}
#recoveryCopies input,.recovery-confirm input{width:auto;flex:0 0 auto;margin:4px 0}
#importSave{max-width:100%;font-size:14px}
.site-footer>div{flex-wrap:wrap;justify-content:center}
