@charset "UTF-8";
:root{--bg:#fcf8ef;--paper:#fffdf8;--ink:#514b40;--muted:#9c9688;--line:#ece6d9;--accent:#8c9d7b;--soft:#edf0e3;--gold:#f5cf70;--pink:#e3b39f;--blue:#99b1c2;--shadow:0 12px 35px #5d503509;font-family:"Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
:root[data-theme="blue"]{--bg:#f0f5f5;--paper:#fbfdfc;--accent:#7d9bab;--soft:#e3edf0;--gold:#b8ceda;--line:#dfe8e8}
:root[data-theme="rose"]{--bg:#fbf2ee;--paper:#fffbf8;--accent:#b88f88;--soft:#f3e5de;--gold:#efc3af;--line:#efdfd7}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none;-webkit-tap-highlight-color:transparent}button:disabled{cursor:wait;opacity:.6}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}svg{display:block}button svg{width:20px;height:20px;flex-shrink:0}p,h1,h2,h3{margin-top:0}button,a{-webkit-touch-callout:none}input,textarea{min-width:0;max-width:100%;font-size:16px;border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:14px;outline-offset:2px}input::placeholder,textarea::placeholder{color:#aaa497}label{display:block;font-size:13px;font-weight:500}label input{display:block;width:100%;margin-top:10px}small{font-size:11px;line-height:1.8}h1{font-size:25px;letter-spacing:1px;font-weight:600}h2{font-size:16px;font-weight:600}h3{font-size:15px}.muted{color:var(--muted)}.pet{width:100%;height:100%;overflow:visible}.garden{width:100%;height:auto}.icon-button{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--paper);border:1px solid var(--line)}.text-button{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);padding:5px 0}.text-button svg{width:14px;height:14px}.primary,.secondary{min-height:46px;border-radius:15px;display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:12px 17px;font-size:13px;font-weight:600}.primary{background:var(--gold);color:#5d5037}.secondary{background:var(--soft);color:var(--accent);border:1px solid var(--line)}.full{width:100%}.eyebrow{font-size:8px;letter-spacing:2px;font-weight:500;color:var(--accent)}.app-shell{position:relative;max-width:440px;margin:auto;min-height:100svh;background:var(--bg);isolation:isolate}.app-header{padding:24px 22px 16px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:9px}.brand img{width:39px;height:39px}.brand b{display:block;font-size:18px;letter-spacing:1px;font-weight:600}.brand small{color:var(--muted);font-size:9px;letter-spacing:.7px}.tiny-flower{font-size:15px;color:var(--pink);margin-left:6px}.search-form{margin:0 22px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:16px;background:var(--paper);height:43px;padding:0 12px;box-shadow:0 4px 12px #53462c02}.search-form>svg{width:17px;height:17px;color:var(--muted);flex:none}.search-form input{font-size:12px;flex:1;width:100%;background:transparent;border:0;padding:8px 0}.search-form button{width:30px;height:30px;display:flex;align-items:center;justify-content:center;color:var(--accent);padding:0}.page-content{padding:0 22px 105px}.month-intro{position:relative;display:flex;align-items:center;min-height:125px;padding:23px 0 20px}.month-intro>div:first-child{position:relative;z-index:1;width:68%}.month-intro h1{font-size:23px;margin-bottom:9px;letter-spacing:.7px}.month-intro h1 span{color:var(--accent)}.month-intro p:last-child{font-size:10px;color:var(--muted);margin-bottom:0}.month-intro .eyebrow{font-size:7px;letter-spacing:1.5px;margin-bottom:9px}.intro-pets{position:absolute;right:-7px;bottom:12px;width:157px;transform:rotate(4deg)}.intro-pets .garden{filter:drop-shadow(0 4px 0 #bd9f6d08)}.calendar-paper{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:18px 12px 10px}.paper-tape{position:absolute;top:-7px;left:43%;height:15px;width:52px;background:repeating-linear-gradient(65deg,#ddd5b640 0 5px,#ddd5b67a 5px 7px);transform:rotate(-5deg);clip-path:polygon(3% 0,100% 8%,96% 88%,1% 100%)}.calendar-top{display:flex;align-items:center;justify-content:space-between;margin:0 3px 13px}.year-row{display:flex;gap:5px}.year-row button{font-size:10px;padding:5px 12px;border-radius:12px;color:var(--muted);background:var(--bg)}.year-row .active{color:var(--paper);background:var(--accent)}.month-heading{display:flex;align-items:center;justify-content:space-between;margin:0 7px 15px;text-align:center}.month-heading .icon-button{height:26px;width:26px;background:transparent;border:0;color:var(--muted)}.month-heading b{font-size:27px;font-family:Georgia,serif;letter-spacing:.8px;font-weight:500}.month-heading b span{font:10px "Microsoft YaHei",sans-serif;color:var(--muted);letter-spacing:1px}.month-heading small{display:block;font-size:7px;letter-spacing:2.7px;color:var(--accent);margin-top:1px}.week-row,.day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.week-row{text-align:center;font-size:9px;color:var(--muted);padding-bottom:8px;border-bottom:1px dashed var(--line);margin-bottom:7px}.week-row span:nth-last-child(-n+2){color:var(--pink)}.day-grid{gap:3px 1px}.day{display:flex;flex-direction:column;align-items:center;min-width:0;padding:5px 0 3px;border:1px solid transparent;border-radius:12px;position:relative;min-height:67px}.day-number{font-size:10px;font-variant-numeric:tabular-nums;position:relative;font-weight:500;line-height:13px}.day-number i{position:absolute;right:-6px;top:2px;width:3px;height:3px;border-radius:50%;background:var(--pink)}.day .pet{width:35px;height:35px;margin:3px 0 1px;transition:transform .18s ease}.day:hover .pet{transform:translateY(-3px) rotate(-5deg)}.day small{font-size:7px;line-height:10px;color:var(--muted);white-space:nowrap}.day.selected{background:var(--soft);border-color:color-mix(in srgb,var(--accent) 24%,transparent)}.day.selected .day-number{color:var(--accent)}.empty-day{text-align:center;align-self:center;color:var(--line);font-size:22px}.calendar-foot{display:flex;justify-content:space-between;border-top:1px dashed var(--line);padding:11px 3px 0;margin-top:10px;font-size:7px;color:var(--muted)}.companion-picker{display:flex;justify-content:center;align-items:center;gap:5px;font-size:9px;margin:15px 0}.companion-picker>span{color:var(--muted);margin-right:6px}.companion-picker button{padding:6px 10px;color:var(--muted);border-radius:12px;border:1px solid transparent}.companion-picker .active{border-color:var(--line);background:var(--paper);color:var(--accent)}.day-preview{display:flex;align-items:center;text-align:left;width:100%;border-radius:19px;padding:10px;background:var(--soft);gap:10px}.mini-pet{width:57px;height:60px;flex:none}.day-preview small{font-size:8px;color:var(--accent)}.day-preview b{display:block;font-size:11px;font-weight:500;margin:4px 0 8px}.day-preview span{font-size:8px;color:var(--accent);display:flex;align-items:center;gap:3px}.day-preview span svg{width:11px;height:11px}.page-foot{display:flex;align-items:center;justify-content:center;gap:8px;margin:20px 0;font-size:8px;color:var(--muted);letter-spacing:.7px}.page-foot span{font-size:14px;color:var(--pink)}.bottom-nav{position:fixed;z-index:10;bottom:max(15px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(340px,calc(100% - 48px));padding:6px;display:flex;align-items:center;gap:5px;background:#fffdf8f5;border:1px solid var(--line);box-shadow:0 6px 30px #675b3b10;backdrop-filter:blur(16px);border-radius:29px}.bottom-nav button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;flex:1;padding:12px 5px;border-radius:24px;font-size:10px;color:var(--muted)}.bottom-nav button[aria-current]{color:var(--ink);background:var(--soft)}.bottom-nav button svg{width:18px;height:18px}.bottom-nav i{width:3px;height:3px;border-radius:50%;background:var(--accent);position:absolute;bottom:5px;left:50%}.daily-paper{margin-top:24px;background:var(--paper);border:1px solid var(--line);padding:23px;border-radius:24px;box-shadow:var(--shadow)}.daily-label{display:flex;justify-content:space-between;font-size:8px;letter-spacing:2px;color:var(--accent)}.daily-label span{font-size:17px;color:var(--pink)}.date-block{display:flex;position:relative;align-items:center;justify-content:space-between;margin-top:20px}.date-block small{font-size:10px;letter-spacing:2px;color:var(--muted)}.date-block strong{display:block;font:100px/1.18 Georgia,serif;color:var(--ink);letter-spacing:-4px}.date-block p{font-size:10px;margin:10px 0}.daily-fox{width:120px;height:125px}.ganzhi{font-size:10px;color:var(--muted);padding-bottom:18px;margin-bottom:0;border-bottom:1px dashed var(--line)}.yi-ji>div{display:flex;align-items:flex-start;gap:12px;margin-top:18px}.yi-ji p{font-size:12px;line-height:2;margin:0}.label-yi,.label-ji{display:flex;align-items:center;justify-content:center;width:27px;height:27px;flex:none;border-radius:9px;font-size:13px;color:var(--accent);background:var(--soft)}.label-ji{background:#f8eae0;color:#b98d77}.paper-bottom{margin:25px 0 0;text-align:center;font-size:8px;color:var(--muted);letter-spacing:1px}.warm-note{position:relative;margin:18px 0;padding:22px 17px;border-radius:21px;background:var(--soft);overflow:hidden;min-height:125px}.warm-note>span{font-size:9px;color:var(--accent);letter-spacing:2px}.warm-note p{font-size:12px;line-height:1.9;margin:12px 100px 0 0}.warm-note .garden{position:absolute;right:-8px;bottom:-4px;width:170px}.info-card{padding:21px 19px;border-radius:21px;background:var(--paper);border:1px solid var(--line);margin:17px 0;box-shadow:var(--shadow)}.info-card h2{margin-bottom:14px}.info-card h2 span{float:right;color:var(--pink)}.info-card p{font-size:11px;line-height:1.95;color:#928979}.info-card p:last-child{margin-bottom:0}.info-card p small{display:block;color:var(--accent);font-size:9px;letter-spacing:2px}.info-card p.muted{font-size:9px;color:var(--muted)}.date-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px}.date-actions>button{display:flex;align-items:center;font-size:10px;padding:8px}.date-actions svg{width:13px;height:13px}.date-actions label{font-size:10px;text-align:center}.date-actions input{font-size:10px;padding:7px;margin-top:6px}.about-hero{text-align:center;padding:21px 4px 0}.about-hero .garden{width:260px;margin:auto}.about-hero h1{font-size:23px}.about-hero p:last-child{font-size:11px;line-height:2;color:var(--muted)}.palette{display:flex;justify-content:space-between}.palette button{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:10px;padding:7px;color:var(--muted)}.swatch{border-radius:50%;height:35px;width:35px;display:flex;align-items:center;justify-content:center;color:#fff;outline:1px solid var(--line);outline-offset:4px;font-style:normal;font-size:14px}.swatch.cream{background:#d7c789}.swatch.blue{background:#9eb7c6}.swatch.rose{background:#d9aaa2}.character-list{display:grid;grid-template-columns:1fr 1fr;gap:17px}.character-list>div{text-align:center}.character-list .pet{width:95px;height:90px;margin:0 auto 8px}.character-list b{display:block;font-size:11px;font-weight:500}.character-list small{font-size:8px;color:var(--muted);display:block;margin-top:6px}.about-copy p{font-size:10px}.overlay{position:fixed;inset:0;z-index:30;background:#50463548;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.sheet{position:relative;background:var(--paper);padding:30px 25px;border:1px solid var(--line);border-radius:29px;width:100%;max-width:370px;box-shadow:0 20px 60px #4b45391a;max-height:calc(100svh - 40px);overflow:auto}.welcome{text-align:center}.welcome-pets{width:230px;margin:0 auto 15px}.welcome h1{font-size:23px;margin-bottom:14px}.welcome>p:not(.eyebrow){font-size:11px;line-height:2;color:var(--muted)}.welcome form{margin:25px 0 20px;text-align:left}.welcome label{font-size:10px}.welcome input{font-size:12px}.welcome>small{color:var(--muted);font-size:9px}.form-error{font-size:11px;color:#b17e68;line-height:1.8;min-height:8px;margin:9px 0}.close{position:absolute;right:15px;top:15px}.sheet>p{font-size:12px;line-height:2;color:var(--muted)}.sheet h3{margin-top:24px}.notice{padding:16px;background:var(--soft);border-radius:15px;font-size:11px!important;line-height:2;color:var(--accent)!important}.loading{padding:60px 25px;color:var(--muted)}#feedback{position:fixed;z-index:50;left:50%;transform:translateX(-50%);bottom:110px;border-radius:15px;max-width:330px;width:max-content;padding:12px 18px;background:#514b40ed;color:#fffdf8;font-size:11px;line-height:1.8;box-shadow:var(--shadow);pointer-events:none}#feedback:empty{display:none}
/* Private content is opt-in only, including before scripts and during BFCache restore. */
#private-root[hidden],html:not([data-private="unlocked"]) #private-root{display:none!important}html[data-private="unlocked"] #public-root{display:none!important}#private-root{min-height:100svh;display:flex;flex-direction:column}.private-header{display:flex;align-items:center;justify-content:space-between;padding:21px 16px 15px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:12}.private-header>span{font-size:11px}.return-button{display:flex;align-items:center;gap:1px;font-size:10px;padding:5px 0}.return-button svg{height:17px;width:17px}.private-header .icon-button{height:31px;width:31px}.private-header .icon-button svg{height:16px;width:16px}.private-content{padding:22px}.private-content h1{font-size:23px}.pairing{text-align:center}.pairing>.garden{width:270px;display:block;margin:25px auto 5px}.badge{font-size:9px;color:var(--accent);padding:7px 12px;border:1px solid var(--line);border-radius:20px;background:var(--soft)}.pairing>p:not(.eyebrow){font-size:12px;line-height:2;color:var(--muted)}.pairing .info-card{text-align:left}.pairing .info-card h2{font-size:15px}.pairing input{font-size:13px}.or-line{display:flex;gap:10px;align-items:center;justify-content:center;font-size:9px;color:var(--muted);margin:25px 0}.or-line:before,.or-line:after{content:"";width:35px;border-top:1px solid var(--line)}.invite-code{font-size:29px!important;font-weight:600;letter-spacing:6px;color:var(--accent)!important;margin:16px 0 3px!important;text-align:center}#invite-result small{display:block;text-align:center;font-size:9px;color:var(--muted);margin-bottom:13px}.chat-intro{display:flex;align-items:center;justify-content:center;gap:15px;margin:20px 18px 8px}.chat-intro>div{height:70px;width:70px}.chat-intro b{font-size:13px;font-weight:500;display:block;text-align:center}.chat-intro small{font-size:8px;color:var(--muted);display:block;margin-top:8px}.chat-safety{font-size:9px;text-align:center;color:var(--accent);margin-bottom:10px}.message-list{flex:1;padding:10px 22px 115px;overflow-y:auto;max-height:calc(100svh - 240px)}.chat-empty{text-align:center;margin-top:50px;color:var(--muted)}.chat-empty .pet{width:125px;height:125px;margin:auto}.chat-empty p{font-size:13px;margin:23px 0 10px}.chat-empty small{font-size:9px}.composer{position:fixed;bottom:0;width:100%;max-width:440px;display:flex;align-items:flex-end;padding:15px 18px max(20px,env(safe-area-inset-bottom));border-top:1px solid var(--line);gap:10px;background:var(--bg);z-index:11}.composer textarea{flex:1;resize:none;font-size:13px;line-height:1.7;min-height:45px;max-height:140px}.composer button{border:0;width:44px;height:45px;padding:11px;border-radius:15px}.message-date{text-align:center;font-size:9px;color:var(--muted);margin-bottom:25px}.message{margin:0 0 17px auto;max-width:87%;text-align:right}.message p{margin:0;background:var(--soft);padding:13px 16px;font-size:13px;line-height:1.9;text-align:left;border:1px solid var(--line);border-radius:17px 17px 4px 17px;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}.message small,.message button{font-size:8px;color:var(--muted);margin-top:5px}.message button{color:var(--accent);padding:5px 0 5px 10px}.desk-note{display:none}
@media(min-width:850px){body{background-color:#f1eee5;background-image:radial-gradient(#d8d1c0 1px,transparent 1px);background-size:21px 21px;display:flex;align-items:flex-start;justify-content:center;gap:100px;padding:34px}.app-shell{margin:0;min-height:calc(100svh - 68px);width:440px;flex:none;border:1px solid #e6decc;box-shadow:0 25px 100px #4b453916;border-radius:32px;overflow:clip}.desk-note{display:block;width:280px;flex:none;position:sticky;top:13vh;padding-top:40px}.desk-note>span{font:10px Georgia,serif;letter-spacing:4px;color:#a59c84}.desk-note h1{font-size:34px;line-height:1.8;letter-spacing:4px;margin:25px 0;color:#6c6557}.desk-note p{font-size:12px;color:#a59c8b;line-height:2.2;letter-spacing:1px}.desk-note small{font-size:9px;letter-spacing:3px;color:#afa78f}.desk-pets{width:290px;transform:rotate(-4deg);margin:20px 0 35px}.bottom-nav{left:auto;transform:none;bottom:25px;margin-left:49px;width:340px}.overlay{left:auto;right:auto;width:438px;border-radius:31px}.composer{max-width:438px;bottom:0}.private-header{border-radius:30px 30px 0 0}#feedback{left:auto;transform:none;margin-left:42px;max-width:350px}}
@media(max-width:359px){.page-content{padding-left:14px;padding-right:14px}.app-header{padding-left:16px;padding-right:16px}.search-form{margin:0 14px}.day .pet{width:31px;height:31px}.day{min-height:64px}.year-row button{padding:5px 9px}.month-intro h1{font-size:21px}.intro-pets{width:140px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Seven companions use the same proportions, soft palette and brush outline. */
.brand-pet{width:39px;height:39px;flex:none}
.companion-picker{display:block;margin:19px 0}
.companion-picker>span{display:block;text-align:center;font-size:10px;letter-spacing:1px;margin:0 0 9px}
.companion-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.companion-options button{display:flex;flex-direction:column;align-items:center;gap:4px;border:1px solid var(--line);background:var(--paper);padding:7px 2px 9px;border-radius:15px;min-height:76px;font-size:9px}
.companion-options button.active{background:var(--soft);border-color:var(--accent);color:var(--accent)}
.picker-pet{width:38px;height:39px;display:flex;align-items:center;justify-content:center}
.picker-pet>svg:not(.pet){width:21px;height:21px;color:var(--pink)}
.character-list{gap:23px 13px}
.character-list>div{padding:10px 4px 13px;background:var(--bg);border-radius:19px;border:1px solid var(--line)}
.character-list .pet{width:107px;height:105px;margin-bottom:8px}
.character-list small{font-size:8px;line-height:1.8;max-width:126px;margin:7px auto 0}
.character-list>div:last-child:nth-child(odd){grid-column:1/-1;width:calc(50% - 7px);justify-self:center}

#notification-settings [hidden]{display:none!important}
#notification-settings select{width:100%;margin-block:6px}
