@charset "UTF-8";
:root{color-scheme:light;--ink:#293e35;--muted:#637366;--green:#285c50;--cream:#f8f5ec;--line:#dddccf;--gold:#b78835;--paper:#fffdf7;font-family:"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:16px;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}button,progress{appearance:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #c99738;outline-offset:5px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin:0}button{touch-action:manipulation}button svg{pointer-events:none}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.page{max-width:1320px;margin:auto;padding:0 52px}.site-header{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:15px}.brand h1{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:27px;font-weight:600;letter-spacing:.16em;white-space:nowrap}.brand-mark{font-family:serif;font-size:40px;letter-spacing:-6px;line-height:1;transform:rotate(-15deg);color:var(--gold);width:33px;margin-top:-7px}.brand-small{font-size:12px;letter-spacing:.09em;color:var(--muted);border-left:1px solid var(--line);padding-left:17px;margin-left:1px}.icon-button{border:1px solid var(--line);background:transparent;border-radius:50%;display:grid;place-items:center;width:40px;height:40px}.icon-button:hover{background:#e9ecdf}.greeting{padding:32px 0 27px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.eyebrow{display:block;font-size:12px;letter-spacing:.16em;color:var(--muted);margin-bottom:9px}.greeting h2{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:29px;font-weight:500;letter-spacing:.09em}.days{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:13px;padding-bottom:4px;white-space:nowrap}.days svg{color:var(--gold);width:19px}.days b{font-weight:500;color:var(--ink)}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:26px;align-items:stretch}.scene-card{border-radius:22px;overflow:hidden;background:var(--paper);box-shadow:0 8px 28px #3c422d08;border:1px solid #ded8c8}.scene{height:460px;position:relative;isolation:isolate;overflow:hidden;background:#d5c89e}.scene-background{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 61%;user-select:none;pointer-events:none}.scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,#2d2c1826,transparent 30%,transparent 70%,#39271b2b);pointer-events:none;z-index:1;transition:background 1s}.place-tag{position:absolute;z-index:5;left:22px;top:21px;background:#fffdf1eb;backdrop-filter:blur(6px);border:1px solid #fffc;box-shadow:0 2px 8px #534c2110;padding:9px 13px;display:flex;align-items:center;gap:8px;border-radius:40px;font-size:13px;font-weight:500}.place-tag svg{color:var(--gold);width:18px;height:18px}.world-note{position:absolute;z-index:2;right:23px;top:32px;font-size:12px;color:#fffdf0;text-shadow:0 1px 7px #30281b;font-weight:500;letter-spacing:.04em}.character{position:absolute;border:0;background:none;padding:0;width:24%;height:30%;top:53%;z-index:3;display:grid;place-items:center;transition:left .8s,top .8s;filter:drop-shadow(0 5px 4px #4c352425);outline-offset:0!important}.character img{width:100%;height:100%;object-fit:contain;pointer-events:none;transform-origin:bottom center;user-select:none}.cat{left:35%}.cat img{opacity:.89;animation:breathe 4s ease-in-out infinite}.fairy{left:53%;top:51%;width:19.2%;height:24%;filter:drop-shadow(0 0 14px #fff0aa95)}.fairy img{opacity:.87;animation:float 3.4s ease-in-out infinite}.character-label{position:absolute;bottom:-14px;background:#fffce9de;color:#5a5636;padding:3px 8px;border-radius:10px;font-size:12px;opacity:0;transition:opacity .2s}.character:hover .character-label,.character:focus-visible .character-label{opacity:1}.speech{position:absolute;z-index:6;left:43%;top:33%;background:#fffff7f2;border:1px solid #eee5cc;box-shadow:0 5px 18px #54452112;border-radius:18px;padding:12px 17px;max-width:50%;font-size:14px;line-height:1.6;transform:rotate(-2deg);transition:opacity .25s;text-align:center}.speech:after{content:"";position:absolute;bottom:-7px;left:35%;height:13px;width:13px;transform:rotate(45deg);background:#fffff7;border-right:1px solid #eee5cc;border-bottom:1px solid #eee5cc}.scene-caption{position:absolute;z-index:5;bottom:20px;left:0;width:100%;display:flex;gap:9px;align-items:center;justify-content:center;color:#fffdf4;text-shadow:0 1px 5px #30271b;font-size:13px;padding:0 20px;text-align:center}.caption-line{width:20px;height:1px;background:currentColor}.bond-row{display:flex;gap:14px;align-items:center;padding:20px 24px 18px}.bond-symbol{width:41px;height:41px;display:grid;place-items:center;border-radius:50%;background:#e8eee3;color:#57745b;flex:none}.bond-symbol svg{width:20px}.bond-main{flex:1;min-width:0}.bond-label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;line-height:1.8}.bond-label b{font-family:Georgia,serif;font-size:18px;margin-right:11px;color:var(--green)}#xp-label{font-size:12px;color:var(--muted);white-space:nowrap}.bond-main p{font-size:12px;color:var(--muted);margin-top:7px}progress{display:block;width:100%;height:6px;background:#e7e8db;color:var(--green);border:0;border-radius:20px;overflow:hidden}progress::-webkit-progress-bar{background:#e7e8db;border-radius:20px}progress::-webkit-progress-value{background:var(--progress-color,var(--green));border-radius:20px;transition:width .55s}progress::-moz-progress-bar{background:var(--progress-color,var(--green));border-radius:20px}.bond-main progress{margin-top:5px;--progress-color:#688567}.care-panel{border:1px solid var(--line);border-radius:22px;background:#fdfbf5;padding:23px 22px 17px;display:flex;flex-direction:column}.care-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:22px}.care-title h2{font-size:17px;letter-spacing:.03em;font-weight:600}#mood-tag{background:#e8ede0;color:#4e6749;border-radius:20px;padding:5px 9px;font-size:12px;white-space:nowrap}.needs{display:grid;gap:17px}.need>div{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:14px}.need span{display:flex;gap:8px;align-items:center}.need svg{width:17px;height:17px;color:#768368}.need b{font-family:Georgia,serif;font-size:15px;font-weight:400;color:var(--muted);font-variant-numeric:tabular-nums}.need:nth-child(1){--progress-color:#c4a25c}.need:nth-child(2){--progress-color:#9aab70}.need:nth-child(3){--progress-color:#6b9384}.care-divider{height:1px;background:var(--line);margin:24px 0 19px}.care-panel h3{font-size:14px;font-weight:500;margin-bottom:13px;color:var(--muted)}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.action{border:1px solid #dcded0;background:#fffdf7;border-radius:15px;padding:12px 4px 11px;min-height:108px;display:flex;align-items:center;flex-direction:column;gap:6px;transition:background .15s,transform .15s,box-shadow .15s;position:relative}.action:hover:enabled{background:#edf0e2;transform:translateY(-2px);box-shadow:0 5px 12px #33401c0d}.action:active:enabled{transform:scale(.97)}.action-icon{width:31px;height:30px;display:grid;place-items:center;color:var(--green)}.action-icon svg{width:25px;height:25px}.action b{font-size:15px;font-weight:600;letter-spacing:.06em}.action small{font-size:12px;color:var(--muted)}.action.feed{background:#f0edda;border-color:#e4dfc6}.action.feed .action-icon{color:#9b7d32}.action:disabled{opacity:.5}.action.sleep.is-active{background:#dfe7e7;border-color:#a5b8b5;opacity:1}.care-message{font-size:13px;line-height:1.7;color:var(--muted);margin:15px 0 8px;min-height:43px}.save-note{display:flex;gap:6px;justify-content:center;align-items:center;font-size:12px;color:#718172;margin-top:auto;padding-top:10px}.save-note svg{width:13px;height:13px}.save-note.error{color:#806114}.memories{padding-top:29px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-heading h2{display:flex;gap:9px;align-items:center;font-size:16px;letter-spacing:.03em;font-weight:500}.section-heading svg{width:19px;height:19px;color:#83917a}.section-heading>span{font-size:12px;color:var(--muted)}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.memory-tile{display:flex;align-items:center;gap:12px;text-align:left;background:#eeeee4;border:1px dashed #d9dccf;border-radius:13px;padding:16px 14px;min-height:86px}.memory-tile:disabled{opacity:1}.memory-tile .memory-icon{width:42px;height:42px;flex:none;display:grid;place-items:center;border:1px solid #dadfd0;border-radius:50%;color:#939f8e}.memory-tile .memory-icon svg{width:18px;height:18px}.memory-tile b{font-size:13px;font-weight:500;line-height:1.7}.memory-tile small{display:block;font-size:12px;color:#778370;margin-bottom:3px}.memory-tile.unlocked{background:#fffdf6;border:1px solid #d6dcc9;box-shadow:0 3px 8px #33401c05}.memory-tile.unlocked:hover{border-color:#93aa88}.memory-tile.unlocked .memory-icon{color:#698656;background:#e8eddb;border:0}.memory-hint{font-size:12px;color:var(--muted);margin-top:13px;text-align:center;line-height:1.6}footer{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7b8373;padding:32px 0 24px;letter-spacing:.07em}footer>span:first-child{font-family:"Yu Mincho",serif}.effects{position:absolute;inset:0;pointer-events:none;z-index:8;overflow:hidden}.particle{position:absolute;width:23px;height:23px;color:#f5d389;animation:rise 1.8s ease-out forwards}.particle svg{width:100%;height:100%;fill:#f8e4a7;stroke:#a78441;stroke-width:1px}.scene.feeding .cat img{animation:nibble .7s ease-in-out 4}.scene.petting .cat img{animation:nuzzle .65s ease-in-out 4}.scene.petting .fairy img{animation:delighted .8s ease-in-out 3}.scene.sleeping .scene-shade{background:#202f5070}.scene.sleeping .cat img{animation:sleep-breathe 4s ease-in-out infinite}.scene.sleeping .fairy{left:47%;top:59%}.scene.sleeping .fairy img{animation:sleep-breathe 4s ease-in-out infinite}.sleep-letters{display:none;position:absolute;left:50%;top:43%;z-index:4;color:#fff5dd;font-family:Georgia,serif;font-size:25px;transform:rotate(-15deg)}.sleep-letters span{font-size:20px}.sleep-letters small{font-size:15px}.scene.sleeping .sleep-letters{display:block;animation:float 4s infinite}[hidden]{display:none!important}.scene.memory-nose .fairy{left:48%;top:53%}.scene.memory-nose .cat img{animation:nuzzle .8s ease-in-out 4}.scene.memory-dance .fairy img{animation:dance 2s ease-in-out 2}.scene.memory-dance .cat img{animation:nibble .8s ease-in-out 5}.scene.memory-nap .fairy{left:47%;top:58%}.scene.memory-nap .cat img,.scene.memory-nap .fairy img{animation:sleep-breathe 4s ease-in-out}.scene.memory-together .cat img{animation:nuzzle 1s ease-in-out 4}.scene.memory-together .fairy{left:48%;top:53%}.scene.memory-together .fairy img{animation:delighted 1s ease-in-out 4}.scene.grown .scene-background{filter:saturate(1.08)}dialog{padding:34px;border:1px solid #e0dbc8;background:#fffdf5;border-radius:24px;max-width:490px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 80px #15291d30;max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#182c2663;backdrop-filter:blur(4px)}dialog h2{font-family:"Yu Mincho",serif;font-size:24px;letter-spacing:.04em;margin-bottom:17px;font-weight:600}dialog p{font-size:15px;line-height:1.9}.dialog-close{position:absolute;top:15px;right:15px;z-index:4;width:35px;height:35px;border:0;border-radius:50%;display:grid;place-items:center;background:#eeeede;color:var(--muted)}.dialog-close svg{width:18px}.help-list{list-style:none;padding:0;display:grid;gap:16px;margin:25px 0;font-size:14px;line-height:1.7}.help-list li{display:flex;align-items:center;gap:14px}.help-list svg{color:#879663}.help-note{background:#eff1e6;padding:16px;border-radius:12px;font-size:13px!important;color:var(--muted);margin-bottom:24px}.primary-button{background:var(--green);color:#fffdf1;border:0;border-radius:12px;padding:14px 24px;font-size:15px;width:100%;min-height:48px}.primary-button:hover{background:#346f5b}#memory-dialog{padding:0;overflow:hidden}.memory-art{position:relative;height:220px;overflow:hidden}.memory-art>img:first-child{width:100%;height:100%;object-fit:cover;object-position:center 70%}.memory-art .memory-cat{position:absolute;left:31%;bottom:7%;width:29%;height:53%;object-fit:contain;opacity:.88}.memory-art .memory-fairy{position:absolute;left:51%;bottom:13%;width:23%;height:43%;object-fit:contain;opacity:.88}.memory-body{padding:26px}.memory-body p{margin-bottom:22px}.toast{position:fixed;z-index:30;bottom:28px;left:50%;transform:translateX(-50%);padding:15px 23px;border-radius:16px;background:#254f44;color:#fff9e9;box-shadow:0 8px 24px #22352525;max-width:calc(100% - 32px);width:max-content;font-size:14px;line-height:1.7;text-align:center;pointer-events:none}.noscript{background:#fff;padding:30px;position:fixed;top:10%;left:10%;width:80%;z-index:100}
@keyframes breathe{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.018)}}@keyframes float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-10px) rotate(2deg)}}@keyframes nibble{0%,100%{transform:rotate(0)}50%{transform:rotate(6deg) scaleY(.95)}}@keyframes nuzzle{0%,100%{transform:rotate(0)}50%{transform:rotate(-7deg) scaleY(.96)}}@keyframes delighted{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-14px) rotate(7deg)}}@keyframes sleep-breathe{0%,100%{transform:scaleY(.75)}50%{transform:scaleY(.78)}}@keyframes dance{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(-28px,-26px) rotate(-15deg)}50%{transform:translate(0,-45px) rotate(0)}75%{transform:translate(28px,-24px) rotate(15deg)}}@keyframes rise{0%{transform:translate(0,10px) scale(.5);opacity:0}15%{opacity:1}100%{transform:translate(var(--dx,0px),-90px) scale(1.15);opacity:0}}
@media(min-width:1450px){.page{max-width:1410px}.game-layout{grid-template-columns:minmax(0,1fr) 310px}.scene{height:510px}.care-panel{padding:26px}.action{min-height:116px}.care-divider{margin:28px 0 21px}.needs{gap:21px}}
@media(max-width:1060px){.page{padding:0 28px}.game-layout{gap:18px;grid-template-columns:minmax(0,1fr) 262px}.care-panel{padding:20px 17px}.scene{height:460px}.world-note{display:none}.speech{left:35%;max-width:60%}.character{width:29%;height:30%;left:29%}.fairy{width:23.2%;height:24%;left:52%}.memory-grid{gap:9px}.memory-tile{padding:13px 10px;gap:8px}.memory-tile .memory-icon{width:32px;height:32px}.memory-tile b{font-size:12px}}
@media(max-width:760px){.page{padding:0 20px}.site-header{height:75px}.brand{gap:10px}.brand h1{font-size:23px}.brand-small{display:none}.brand-mark{font-size:34px;width:29px}.greeting{padding:24px 0 20px}.greeting h2{font-size:23px}.eyebrow{font-size:12px;letter-spacing:.1em}.days{font-size:12px;gap:5px}.days svg{width:17px}.game-layout{grid-template-columns:1fr;gap:18px}.scene{height:420px}.character{width:26%;height:29%;left:33%}.fairy{width:20.8%;height:23.2%;left:54%}.care-panel{padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:0 26px}.care-title{grid-column:1/-1;margin-bottom:21px}.needs{grid-column:1;grid-row:2/4;gap:18px}.care-divider{display:none}.care-panel h3{grid-column:2;grid-row:2;margin-bottom:10px}.actions{grid-column:2;grid-row:3;gap:9px}.action{min-height:83px;padding:9px 2px;gap:4px}.action b{font-size:14px}.action small{display:none}.action-icon{height:27px}.action-icon svg{width:23px;height:23px}.care-message{grid-column:1/-1;min-height:0;margin:18px 0 0;text-align:center}.save-note{grid-column:1/-1;padding-top:12px}.memories{padding-top:26px}.memory-grid{grid-template-columns:1fr 1fr;gap:10px}.memory-tile{padding:14px;gap:12px}.memory-tile .memory-icon{width:37px;height:37px}.memory-tile b{font-size:13px}.memory-hint{font-size:12px}footer{padding:26px 0}.bond-row{padding:16px 21px}.scene-caption{font-size:12px}}
@media(max-width:460px){.page{padding:0 16px}.site-header{height:68px}.brand h1{font-size:21px}.greeting h2{font-size:22px}.greeting{gap:8px}.days svg{display:none}.greeting .eyebrow{font-size:12px;margin-bottom:7px}.scene{height:325px}.scene-card,.care-panel{border-radius:18px}.place-tag{left:15px;top:15px;padding:7px 11px;font-size:12px}.place-tag svg{width:16px;height:16px}.speech{left:30%;top:32%;max-width:63%;font-size:13px;padding:10px 14px}.character{height:29%;width:29%;left:28%;top:56%}.fairy{height:23.2%;width:23.2%;left:53%;top:54%}.scene.sleeping .fairy,.scene.memory-nap .fairy{left:45%;top:61%}.scene.memory-nose .fairy,.scene.memory-together .fairy{left:45%;top:56%}.scene-caption{bottom:14px;font-size:12px;padding:0 12px}.caption-line{width:12px}.bond-row{gap:11px;padding:14px 17px}.bond-symbol{width:35px;height:35px}.bond-label{font-size:13px}.bond-label b{font-size:17px;margin-right:7px}.care-panel{padding:19px 17px;gap:0 18px}.care-title{margin-bottom:19px}.care-title h2{font-size:16px}.need>div{font-size:13px}.need span{gap:5px}.needs{gap:16px}.actions{gap:8px}.action{min-height:75px;border-radius:12px}.action-icon{height:25px}.action-icon svg{width:22px}.care-panel h3{font-size:13px;margin-bottom:8px}.care-message{font-size:13px;line-height:1.8}.memory-tile{padding:12px 10px;gap:9px}.memory-tile .memory-icon{width:30px;height:30px}.memory-tile b{font-size:12px}.memory-tile small{font-size:12px}.section-heading h2{font-size:15px}footer{font-size:12px;letter-spacing:0}dialog{padding:27px 22px}.memory-body{padding:23px}.toast{bottom:18px;font-size:13px}}
/* Keep recurring controls and messages legible at every viewport size. */
.memory-tile b,.care-message{font-size:14px}dialog p{font-size:16px}.help-note{font-size:14px!important}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}.particle{display:none}}
/* A newly opened memory, until it is first viewed. */
.memory-new{display:inline-block;margin-left:6px;padding:0 6px;border-radius:6px;background:#e9b949;color:#3e2f10;font-size:10px;font-style:normal;font-weight:700;letter-spacing:.04em;vertical-align:1px}
/* A memory with its own still from the series: one framed photo instead of the shared room picture. */
.memory-art.has-photo{height:clamp(240px,44vh,360px);background:#f3eee0}
.memory-art.has-photo>img:not(.memory-photo){display:none}
.memory-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% var(--focus,50%)}
/* The episode a memory comes from, and the dialog that plays it. */
.memory-video-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin-top:10px;border:1px solid #cbd2bd;border-radius:12px;background:#fffdf4;color:#285c50;font-size:14px;font-weight:600;padding:8px 12px}.memory-video-button[hidden]{display:none}.memory-video-button svg{width:16px;height:16px;fill:currentColor;stroke:none}
#video-dialog{max-width:440px;padding:0;overflow:auto}.video-body{padding:22px 20px 18px}.video-body h2{font-size:19px;margin:4px 30px 12px 0;line-height:1.5}
#video-player{display:block;width:100%;max-height:min(68vh,640px);max-height:min(640px,calc(100dvh - 232px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)));aspect-ratio:540/968;background:#1d2420;border-radius:12px;object-fit:contain}
.video-note{font-size:12px!important;color:var(--muted);margin-top:10px;text-align:center}
/* The series picture book: every episode, playable in the game. */
.episodes{padding-top:26px}
.episodes-entry{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:12px 14px;color:var(--ink)}
.episodes-strip{display:flex;flex:none}.episodes-strip img{width:42px;height:56px;object-fit:cover;border-radius:7px;border:2px solid #fffdf6;box-shadow:0 2px 6px #3b2f2025}.episodes-strip img+img{margin-left:-14px}
.episodes-copy{display:grid;gap:4px;flex:1;min-width:0}.episodes-copy b{font-size:15px;font-weight:600}.episodes-copy small{font-size:12px;color:var(--muted);line-height:1.6}
#episodes-dialog{max-width:760px;padding:0;overflow:auto}.episodes-body{padding:24px 20px 20px}.episodes-body h2{font-size:22px;margin:4px 30px 6px 0}.episodes-intro{font-size:13px!important;color:var(--muted);margin-bottom:16px;line-height:1.8}
.episode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.episode-card{display:flex;flex-direction:column;text-align:left;background:#fffdf6;border:1px solid #e4decb;border-radius:14px;overflow:hidden;padding:0;color:var(--ink)}
.episode-card img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;background:#efe9d9}
.episode-card .episode-text{display:grid;gap:3px;padding:8px 10px 11px}.episode-card small{font-size:11px;color:#8a7f63;display:flex;align-items:center;gap:6px}.episode-card b{font-size:13px;line-height:1.5;font-weight:600}
.episode-card .episode-hook{font-size:11px;line-height:1.6;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.episode-watched{display:inline-block;padding:0 6px;border-radius:6px;background:#dde9ca;color:#315c43;font-size:10px;font-weight:700}
@media(max-width:600px){.episode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.episodes-body{padding:22px 14px 16px}}
/* The cat's face beside the gauges changes with its mood. */
.care-title:has(.mood-face){display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;row-gap:4px;align-items:center;justify-content:stretch}.care-title .mood-face{grid-row:1/3}.care-title:has(.mood-face) h2{align-self:end;white-space:nowrap}.care-title:has(.mood-face) #mood-tag{justify-self:start;align-self:start}
.mood-face{width:56px;height:56px;flex:none;border-radius:50%;background:#fbf5e6;border:1px solid var(--line);object-fit:contain;padding:3px;transition:transform .25s}
.mood-face.changed{animation:mood-pop .45s ease}
@keyframes mood-pop{40%{transform:scale(1.12) rotate(-4deg)}}
@media(max-width:760px){.mood-face{width:46px;height:46px}}
:root[data-reduce-motion="true"] .mood-face.changed{animation:none}
@media(prefers-reduced-motion:reduce){.mood-face.changed{animation:none}}
/* Today's small event: a notice under the greeting, and rain over the room on a rainy day. */
.event-banner{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:10px 14px;border-radius:14px;background:#fbf2dc;border:1px solid #ecd9ae;color:#5c4a22}.event-banner[hidden]{display:none}
.event-banner>svg{width:22px;height:22px;flex:none;color:#b88e39}.event-copy{display:grid;gap:2px;flex:1;min-width:0}.event-copy b{font-size:14px;font-weight:700;color:#7a5a17}.event-copy span{font-size:12px;line-height:1.6}
.event-action{flex:none;border:1px solid #cbd2bd;border-radius:10px;background:#fffdf4;color:#285c50;min-height:40px;padding:6px 12px;font-size:13px;font-weight:600}.event-action[hidden]{display:none}
.event-weather{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .6s}
.scene.event-rain .event-weather{opacity:1;background-image:repeating-linear-gradient(104deg,transparent 0 22px,#dfe9ff38 22px 23px,transparent 23px 47px),linear-gradient(#34405a1f,#34405a0a);background-size:140px 140px,100% 100%;animation:rain-fall .7s linear infinite}
@keyframes rain-fall{to{background-position:-34px 140px,0 0}}
:root[data-reduce-motion="true"] .scene.event-rain .event-weather{animation:none}@media(prefers-reduced-motion:reduce){.scene.event-rain .event-weather{animation:none}}
.event-copy .event-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:14px}.event-time{font-style:normal;font-size:12px;font-weight:700;line-height:1.5;padding:1px 8px;border-radius:999px;background:#fffdf4;border:1px solid #e3cf9f;color:#8a6a24}.event-time.open{background:#285c50;border-color:#285c50;color:#fffdf4}.event-time[hidden]{display:none}
.event-count{display:flex;align-items:center;gap:8px;margin:2px 0}.event-count[hidden]{display:none}.event-count small{font-size:12px;font-weight:700;color:#8a6a24;white-space:nowrap;min-width:4em}.event-clock{font-size:20px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.02em;color:#6b4f14;min-width:4.4em}.event-bar{flex:1 1 60px;display:block;height:7px;border-radius:999px;background:#ecd9ae;overflow:hidden}.event-bar>i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#d8b565,#b88e39);transition:width 1s linear}.event-count.open small{color:#285c50}.event-count.open .event-clock{color:#285c50}.event-count.open .event-bar>i{background:linear-gradient(90deg,#3f7a6b,#285c50)}.event-count.final .event-clock{animation:event-beat 1s ease-in-out infinite}@keyframes event-beat{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}.event-clock{display:inline-block;transform-origin:left center}:root[data-reduce-motion="true"] .event-bar>i{transition:none}:root[data-reduce-motion="true"] .event-count.final .event-clock{animation:none}@media(prefers-reduced-motion:reduce){.event-bar>i{transition:none}.event-count.final .event-clock{animation:none}}
@media(max-width:600px){.event-banner{flex-wrap:wrap}.event-copy{flex:1 1 calc(100% - 34px)}.event-action{margin-left:34px}}
.toast{white-space:pre-line}
.icon-button[hidden]{display:none}.share-inline svg{fill:none;stroke:currentColor;stroke-width:1.9}#share-dialog{max-width:440px;padding:0;overflow:auto}.share-body{padding:22px 20px 18px}.share-body h2{font-size:20px;margin:4px 30px 12px 0}.share-preview{height:min(500px,calc((100vw - 72px) * 1.25),max(160px,calc(100dvh - 290px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))));margin:0 0 8px;border-radius:14px;background:#ece5d2;overflow:hidden;display:flex;align-items:center;justify-content:center}.share-preview img{max-width:100%;max-height:100%;width:auto;height:auto;display:block;border-radius:10px;animation:share-in .25s ease-out}.share-preview img:not([src]){display:none}.share-preview[aria-busy="true"]{background:linear-gradient(100deg,#ece5d2 30%,#f7f1e2 50%,#ece5d2 70%);background-size:300% 100%;animation:share-wait 1.4s ease-in-out infinite}@keyframes share-wait{from{background-position:100% 0}to{background-position:0 0}}@keyframes share-in{from{opacity:0}to{opacity:1}}.share-status{font-size:13px!important;color:var(--muted);min-height:1.6em;margin:0 0 10px;text-align:center;line-height:1.6}#share-send{width:100%}.share-note{font-size:12px!important;color:var(--muted);margin-top:10px;text-align:center;line-height:1.6}:root[data-reduce-motion="true"] .share-preview,:root[data-reduce-motion="true"] .share-preview img{animation:none}@media(prefers-reduced-motion:reduce){.share-preview,.share-preview img{animation:none}}
#video-dialog:has(#video-share:not([hidden])) #video-player{max-height:min(640px,calc(100dvh - 290px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))}
.today-xp{font-size:12px!important;color:var(--muted);margin-top:4px}.today-xp.full{color:#a0672b;font-weight:600}
