:root{--lime:#9bc455;--ink:#181a16;--muted:#959791;--paper:#f6f6f4;--ease:cubic-bezier(.22,.8,.25,1)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{background:#e9e8e4}body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Hiragino Sans GB",sans-serif}button,input,select{font:inherit}button{border:0;cursor:pointer;color:inherit;background:none;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #6f9638;outline-offset:5px}svg{width:24px;height:24px;fill:currentColor;flex-shrink:0}img{display:block;max-width:100%}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.app{position:relative;width:100%;max-width:430px;margin:auto;background:var(--paper);min-height:100svh;overflow:clip}.page{min-height:100svh;padding-bottom:116px;animation:arrive .35s var(--ease)}.status-bar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:10px 30px 0;font-size:17px;font-weight:650;letter-spacing:-.5px;position:relative;z-index:3}.status-right{display:flex;gap:5px;align-items:center;font-size:11px;letter-spacing:0}.signal{display:flex;align-items:flex-end;gap:2px;height:13px;margin-right:1px}.signal i{width:3px;background:currentColor;border-radius:1px}.signal i:nth-child(1){height:4px}.signal i:nth-child(2){height:7px}.signal i:nth-child(3){height:10px}.signal i:nth-child(4){height:13px}.battery{height:12px;width:23px;border:1px solid currentColor;border-radius:4px;position:relative;margin-left:2px;opacity:.7}.battery:before{content:"";position:absolute;inset:1.5px;background:currentColor;border-radius:2px}.battery:after{content:"";position:absolute;right:-3px;top:3px;width:2px;height:4px;background:currentColor;border-radius:1px}.time:after{content:"◢";font-size:13px;margin-left:5px}
.hero{position:relative;aspect-ratio:706/1036;isolation:isolate;border-radius:0 0 28px 28px;overflow:hidden;background:#cfb39a}.room{position:absolute;inset:0;background-image:url("assets/living-room.webp");background-position:center;background-size:cover;z-index:-3;transition:filter 1s,transform 1s}.hero:after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#62432b23,transparent 65%);pointer-events:none}.scene-evening .room{filter:brightness(.77) saturate(.8) sepia(.16)}.scene-sunshine .room{filter:brightness(1.08) saturate(.85);transform:scale(1.045)}.pet-heading{position:absolute;left:5%;top:18%;color:#fff;text-shadow:0 2px 18px #4a342035}.name-row{display:flex;gap:12px;align-items:center}.pet-heading h1{font-size:clamp(36px,9.8vw,44px);line-height:1.1;letter-spacing:1px;margin:0 0 13px;font-weight:650}.pet-subtitle{font-size:17px;font-weight:550}.level{align-self:center;margin-bottom:11px}.level b{font-size:12px;color:#f7b165;-webkit-text-stroke:.5px #fff;text-shadow:0 1px #fff}.level-track{display:block;width:60px;height:9px;border:2px solid #fff;border-radius:8px;margin-top:4px;overflow:hidden}.level-track i{display:block;background:#fff8;height:100%;width:25%}.hero-tools{position:absolute;right:6%;top:13%;display:flex;flex-direction:column;gap:9px}.round-tool{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fffdf3d6;border:1px solid #fff9;box-shadow:0 5px 18px #6042241a;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);transition:transform .2s}.round-tool:hover{transform:translateY(-2px)}.round-tool svg{width:26px;height:26px}.calendar-tool{color:#89b85a}.shirt-tool{color:#a38af2}.score-tool{height:72px;border-radius:28px;gap:3px;padding:9px 0 7px;color:#ffac53}.score-tool svg{width:29px;height:29px}.score-tool b{font-size:14px;font-weight:600}.bubble{position:absolute;top:34.7%;left:5%;max-width:76%;background:rgba(255,255,255,.84);border:1px solid #ffffffe0;border-radius:22px;padding:10px 15px;font-size:16px;line-height:1.5;box-shadow:0 4px 18px #5c463111;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);z-index:4}.bubble:after{content:"";position:absolute;bottom:-10px;right:22px;width:18px;height:15px;background:#fffdf5e6;clip-path:polygon(0 0,100% 0,100% 100%);border-radius:0 0 4px}.pet-zone{position:absolute;bottom:13.8%;left:50%;width:47%;transform:translateX(-50%);aspect-ratio:1;display:grid;place-items:end center;z-index:1}.pet-shadow{position:absolute;left:13%;bottom:-1%;width:76%;height:8%;border-radius:50%;background:#50341660;filter:blur(8px);transform:scaleY(.65);z-index:-1}.pet-touch{position:relative;display:block;width:100%;padding:0;transform-origin:50% 98%;animation:breathe 4.5s ease-in-out infinite;filter:drop-shadow(0 3px 2px #76502b16)}.pet-touch img{width:100%;height:auto;pointer-events:none}.pet-touch:active{transform:scale(.98)}.pet-zone.playing .pet-touch{animation:play-hop .7s ease-in-out 4}.pet-zone.feeding .pet-touch{animation:nibble .45s ease-in-out 7}.pet-zone.petting .pet-touch{animation:snuggle 1.1s ease-in-out 3}.pet-fx{position:absolute;pointer-events:none;z-index:5;opacity:0}.pet-zone.petting .pet-fx{opacity:1;top:-8%;left:28%;font-size:43px;animation:pat 1.1s ease-in-out 3}.pet-zone.feeding .pet-fx{opacity:1;bottom:14%;right:20%;font-size:31px;animation:nibble .45s ease-in-out 7}.pet-zone.playing .pet-fx{opacity:1;bottom:0;right:-13%;font-size:43px;animation:ball 1.1s ease-in-out 3}.reward-pop{position:absolute;top:-26%;left:42%;font-size:22px;color:#fff;font-weight:700;text-shadow:0 2px 0 #ffba79,1px 0 #ffba79;opacity:0}.reward-pop.show{animation:reward 1.8s ease-out forwards}
.action-bar{position:relative;z-index:5;margin:-20px 5% 0;height:81px;display:flex;align-items:center;background:#464544dd;border:1px solid #ffffff55;border-radius:25px;box-shadow:0 9px 22px #41403916,inset 0 5px 9px #ffffff14;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.pet-action{width:33.333%;display:flex;align-items:center;justify-content:center;gap:8px;height:100%;padding:0 5px;transition:background .2s;border-radius:24px}.pet-action:hover{background:#ffffff12}.pet-action:active{background:#ffffff20}.action-emoji{font-size:35px;line-height:1;filter:drop-shadow(0 4px 3px #0001)}.action-info{text-align:left;font-size:16px;color:#fff;font-weight:500;white-space:nowrap}.meter{display:block;margin-top:6px;height:6px;width:46px;background:#0002;border-radius:5px;overflow:hidden}.meter i{display:block;height:100%;width:var(--value);border-radius:5px;transition:width .6s var(--ease);background:var(--meter)}.home-health{padding:16px 5% 0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.section-heading h2{font-size:16px;margin:0;color:#73756f;font-weight:600}.text-link{display:flex;align-items:center;color:#959791;font-size:13px;padding:0}.text-link svg{width:14px;height:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stat{background:#fff;border-radius:23px;min-height:59px;display:flex;align-items:center;justify-content:center;gap:7px;box-shadow:0 4px 16px #4b493903;padding:9px 4px}.stat-icon{font-size:22px}.stat-copy{text-align:left;font-size:14px;font-weight:500;white-space:nowrap}.stat-copy small{display:block;color:#999b94;font-size:12px;font-weight:400;margin-bottom:2px}.home-note{margin:16px 0 0;text-align:center;font-size:11px;color:#aaaca4;letter-spacing:.6px}
.bottom-nav{position:fixed;bottom:max(15px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 48px);max-width:350px;height:66px;display:flex;align-items:center;padding:4px;background:#8c8d8a99;backdrop-filter:blur(24px) saturate(.6);-webkit-backdrop-filter:blur(24px) saturate(.6);border:1px solid #fff8;border-radius:40px;box-shadow:0 9px 22px #0003,inset 0 1px 1px #fff4;z-index:20}.nav-item{width:25%;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#65685f;border-radius:36px;transition:background .25s,color .25s}.nav-item svg{width:21px;height:21px}.nav-item span{font-size:12px;line-height:1}.nav-item.active{color:#fff;background:#030403;box-shadow:0 3px 8px #0001}.nav-item.active svg{color:var(--lime);--icon-cutout:#000}.bottom-nav.hidden{display:none}
.soft-page{background:linear-gradient(#dff0b3 0,#edf3db 200px,#f8f8f6 370px)}.inner{padding:0 5%}.page-title{font-size:28px;font-weight:650;letter-spacing:.3px;line-height:1.3;margin:21px 0 9px}.subheading{font-size:14px;color:#969990;margin:6px 0 20px}.health-banner{height:143px;position:relative;padding-top:20px}.health-banner h1{font-size:27px;line-height:1.3;position:relative;z-index:1;margin:22px 0 0 5%;font-weight:650}.health-banner img{position:absolute;width:155px;right:6%;bottom:-16px;max-height:155px;object-fit:contain;object-position:top}.reminder{position:relative;margin:0 5% 16px;border-radius:29px;background:linear-gradient(120deg,#9cc455,#b2d473);box-shadow:0 7px 16px #7b8f3510}.reminder-heading{padding:16px 23px 27px;display:flex;align-items:center;justify-content:space-between;color:white;font-size:16px}.reminder-heading button{display:flex;align-items:center;font-size:13px;padding:0;color:#fff}.reminder-heading svg{width:16px}.reminder-body{background:white;border-radius:26px;padding:23px;color:#a7aaa2;font-size:14px;min-height:62px}.health-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.health-card{position:relative;background:white;border-radius:28px;text-align:left;padding:18px 20px 21px;min-height:169px;box-shadow:0 7px 24px #4f583304;display:flex;flex-direction:column;align-items:flex-start}.health-card .card-emoji{font-size:43px;margin-bottom:26px;line-height:1.1}.health-card h2{font-size:18px;font-weight:600;margin:0 0 6px}.health-card p{font-size:12px;color:#969992;margin:0;line-height:1.5}.card-next{display:grid;place-items:center;position:absolute;top:15px;right:14px;width:28px;height:28px;border-radius:50%;background:#f7f8f5;color:#9b9e95}.card-next svg{width:17px;height:17px}.health-avatar{width:53px;height:53px;object-fit:cover;object-position:top;border-radius:50%;background:#f5f0e7;margin-bottom:23px}.expense-value{font-size:38px;color:var(--lime);font-weight:500;margin-bottom:26px;line-height:1.1}.expense-value small{font-size:18px}
.profile-head{display:flex;align-items:center;gap:15px;padding:5px 5% 20px}.profile-avatar{width:73px;height:73px;border-radius:50%;border:3px solid white;background:#e5e6fb;display:grid;place-items:center;font-size:39px;box-shadow:0 2px 8px #98a26d08}.profile-head h1{margin:0;font-size:25px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edit-profile{color:#929c81;padding:8px}.edit-profile svg{width:16px;height:16px}.profile-name-row{display:flex;align-items:center;gap:3px}.profile-caption{color:#899478;font-size:12px;margin-top:6px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-card{height:108px;background:#fff;border-radius:28px;padding:18px 20px;text-align:left;position:relative}.quick-card .card-emoji{font-size:35px;display:block;margin-bottom:10px}.quick-card strong{font-size:15px;font-weight:500}.quick-card>svg{position:absolute;bottom:20px;right:15px;width:17px;height:17px;color:#c8cbc2}.vip-card{position:relative;margin:27px 0 16px;padding:15px 17px 14px;min-height:143px;color:#fff;border-radius:30px;background:linear-gradient(115deg,#8ead42,#b2ce76)}.vip-card h2{font-size:28px;margin:0 0 9px;font-weight:600}.vip-card p{margin:0;font-size:14px;color:#f0f8da}.vip-crown{position:absolute;right:24px;top:-20px;font-size:78px;transform:rotate(9deg);filter:drop-shadow(0 7px 5px #738b2d16)}.vip-card button{margin-top:22px;background:#6b863b77;color:white;border-radius:30px;width:100%;padding:7px;font-size:16px;font-weight:500}.activity-row{display:flex;align-items:center;gap:12px;border:1px solid #a5bf72;background:#fff;border-radius:25px;width:100%;padding:14px 20px;margin-bottom:16px;font-size:17px}.activity-row>span{font-size:23px}.activity-row small{margin-left:auto;font-size:13px;color:#aaa}.activity-row svg{width:17px;color:#ccc}.settings-group{background:#fff;border-radius:28px;padding:7px 0;overflow:hidden}.setting{display:flex;align-items:center;gap:15px;width:100%;text-align:left;padding:15px 20px;font-size:17px}.setting-icon{font-size:21px;width:21px;text-align:center}.setting small{font-size:13px;color:#a5a89f;margin-left:auto}.setting>svg{width:18px;height:18px;color:#c6c9c0;margin-left:auto}.setting small+svg{margin-left:-7px}.version{text-align:center;font-size:10px;letter-spacing:1px;color:#b9bcb3;margin-top:24px}
.subpage{padding-bottom:40px;background:#f7f7f5}.subpage .status-bar{background:#79675b;color:white;height:58px}.subpage-top{display:flex;align-items:center;gap:20px;padding:27px 5% 30px;border-radius:38px 38px 0 0;background:#f7f7f5;margin-top:-1px}.back-button{display:grid;place-items:center;width:28px;height:30px;padding:0}.back-button svg{width:27px;height:27px}.subpage-top h1{font-size:25px;font-weight:550;margin:0}.help-button{margin-left:auto;border:2px solid #a5a89e;color:#92968b;border-radius:50%;width:26px;height:26px;font-size:19px;line-height:20px;padding:0}.balance-card{margin:0 5% 20px;border-radius:30px;background:#fff;padding:30px 33px 36px}.balance-card span{font-size:17px;color:#a4a79f}.balance-card strong{display:block;font-size:59px;line-height:1.1;margin-top:9px;color:var(--lime);font-weight:500;letter-spacing:-2px}.filters{display:flex;gap:9px;margin:0 5% 14px}.filter{background:white;border-radius:30px;padding:8px 23px;color:#94988e;font-size:18px}.filter.active{background:#050604;color:white}.ledger-date{margin:0 6% 12px;font-size:17px;color:#9a9e94}.ledger{background:white;border-radius:30px;margin:0 5%;overflow:hidden}.ledger-item{position:relative;display:flex;align-items:center;gap:16px;padding:20px 20px}.ledger-item:not(:last-child):after{content:"";position:absolute;bottom:0;left:75px;right:0;border-bottom:1px solid #f0f1ee}.ledger-icon{font-size:32px;width:37px;text-align:center}.ledger-copy strong{display:block;font-size:19px;font-weight:500}.ledger-copy small{display:block;font-size:14px;color:#a7aaa2;margin-top:7px}.ledger-amount{margin-left:auto;font-size:23px;font-weight:550;color:var(--lime)}.ledger-avatar{width:33px;height:33px;object-fit:cover;object-position:top;border:2px solid var(--lime);border-radius:50%;background:#f5eddd;margin-left:auto}.ledger-avatar+.ledger-amount{margin-left:0}.empty-state{text-align:center;color:#a3a79c;padding:36px 16px;font-size:14px;line-height:1.8}.empty-state>span{display:block;font-size:39px;margin-bottom:12px}.companion-hero{position:relative;margin:25px 5% 22px;border-radius:32px;background:#fff8e9;padding:25px 24px;min-height:198px;overflow:hidden}.companion-hero h1{font-size:27px;margin:0 0 12px;line-height:1.4;position:relative;z-index:1}.companion-hero p{font-size:13px;color:#a5977e;line-height:1.7;max-width:50%;position:relative;z-index:1}.companion-hero img{position:absolute;width:163px;right:-7px;bottom:-15px;transform:rotate(-8deg)}.days-pill{display:inline-block;background:white;border-radius:18px;padding:7px 12px;font-size:12px;color:#9b865d}.memory-card{background:#fff;border-radius:25px;margin-bottom:12px;padding:18px 20px;display:flex;align-items:center;gap:15px}.memory-card .memory-icon{font-size:30px}.memory-card h3{margin:0 0 5px;font-size:16px;font-weight:500}.memory-card p{font-size:12px;color:#a3a699;margin:0}.memory-card time{margin-left:auto;font-size:11px;color:#a9ada2}.companion-meters{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 5% 24px}.bond-stat{background:white;border-radius:24px;text-align:center;padding:17px 5px}.bond-stat b{font-size:25px;color:var(--lime);display:block;font-weight:500}.bond-stat span{font-size:12px;color:#999e90;display:block;margin-top:5px}
.sheet{position:fixed;inset:auto 0 0;width:100%;max-width:414px;max-height:84svh;margin:0 auto;padding:0;border:0;border-radius:36px 36px 0 0;background:#f8f8f6;box-shadow:0 -15px 60px #0001;color:var(--ink);overscroll-behavior:contain}.sheet::backdrop{background:#201a1490;backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px)}.sheet[open]{animation:slide-up .35s var(--ease)}.sheet-handle{width:34px;height:5px;margin:8px auto 10px;background:#c8cac4;border-radius:5px}.sheet-top{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:0 19px 19px;background:#f8f8f6;z-index:2}.sheet-top h2{font-size:22px;line-height:1.2;margin:0;font-weight:550}.sheet-close{width:41px;height:41px;background:#efefec;border-radius:50%;display:grid;place-items:center}.sheet-close svg{width:23px}.sheet-done{border-radius:24px;background:var(--lime);color:white;font-weight:600;padding:8px 17px;font-size:15px}.sheet-body{padding:0 18px max(28px,env(safe-area-inset-bottom));overflow:auto}.scene-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.scene-option{background:white;border:2px solid transparent;box-shadow:0 3px 15px #4f483008;border-radius:17px;padding:5px;text-align:left;position:relative}.scene-option.selected{border-color:var(--lime)}.scene-label{font-size:12px;display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;min-height:20px;white-space:nowrap}.selection-mark{border-radius:50%;width:20px;height:20px;background:#eceee9;display:grid;place-items:center;flex-shrink:0}.selected .selection-mark{background:var(--lime);color:white}.selection-mark svg{width:15px;height:15px}.scene-option img{aspect-ratio:1/1.12;width:100%;object-fit:cover;border-radius:12px}.scene-option.evening img{filter:brightness(.73) sepia(.18)}.scene-option.sunshine img{filter:brightness(1.14);object-position:70%}.sheet-caption{font-size:12px;color:#9ba18f;line-height:1.8;margin:17px 3px 4px}.profile-form{display:grid;gap:16px;padding:6px 3px}.field-label{font-size:13px;color:#7f8675;display:grid;gap:8px}.profile-form input,.profile-form select{background:#fff;border:1px solid #eaede3;border-radius:14px;padding:13px;color:var(--ink);width:100%;outline-offset:3px}.primary-button{background:var(--lime);color:white;border-radius:20px;width:100%;padding:14px;font-size:16px;font-weight:550;margin-top:6px}.dialog-illustration{margin:8px auto 15px;width:130px;height:130px;object-fit:contain}.info-copy{text-align:center;padding:4px 12px 16px;font-size:14px;color:#8b9280;line-height:1.9}.info-copy strong{color:#373e2d;font-weight:500;font-size:18px;display:block;margin-bottom:10px}.outfit-preview{height:210px;display:grid;place-items:center;border-radius:25px;background:radial-gradient(ellipse,#f8efd9,#f3f3e9);margin-bottom:15px}.outfit-preview img{height:190px;width:auto}.outfit-option{border:2px solid var(--lime);background:white;border-radius:17px;display:flex;align-items:center;justify-content:space-between;padding:13px;font-size:15px}.outfit-option svg{color:var(--lime)}.toast{position:fixed;left:50%;bottom:100px;transform:translate(-50%,10px);width:max-content;max-width:calc(100% - 48px);padding:12px 19px;border-radius:22px;background:#262a20e8;color:#fff;font-size:13px;box-shadow:0 8px 25px #0002;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.asset-error{position:absolute;bottom:20%;left:10%;right:10%;background:#fffce8;border-radius:16px;padding:12px;font-size:13px;text-align:center;z-index:8}.reduced-motion .pet-touch{animation:none}
@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.008,1.017)}}@keyframes play-hop{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-12px) rotate(-4deg)}70%{transform:translateY(-3px) rotate(3deg)}}@keyframes nibble{0%,100%{transform:rotate(-1deg) translateY(0)}50%{transform:rotate(1deg) translateY(2px)}}@keyframes snuggle{0%,100%{transform:rotate(0)}50%{transform:rotate(-4deg) scale(.99,1.02)}}@keyframes pat{0%,100%{transform:translateY(0) rotate(-12deg)}50%{transform:translateY(7px) rotate(-19deg)}}@keyframes ball{0%,100%{transform:translateX(5px) rotate(0)}50%{transform:translateX(-27px) rotate(-150deg)}}@keyframes reward{0%{opacity:0;transform:translateY(15px)}20%,70%{opacity:1}100%{opacity:0;transform:translateY(-30px)}}@keyframes arrive{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-up{from{opacity:.4;transform:translateY(80px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:600px){body{padding:24px 0}.app{border-radius:38px;box-shadow:0 25px 80px #31332720;min-height:932px}.page{min-height:932px}.bottom-nav{bottom:26px;max-width:378px;height:72px}.nav-item{height:62px}.nav-item svg{width:23px;height:23px}.hero-tools .round-tool{width:50px;height:50px}.hero-tools .score-tool{height:78px}.action-bar{height:88px}.action-info{font-size:17px}.action-emoji{font-size:39px}.stat{min-height:64px}.stat-copy{font-size:15px}.sheet{bottom:12px;border-radius:36px;max-height:80svh}.toast{bottom:114px}}
@media(max-width:360px){.status-bar{padding-left:23px;padding-right:23px}.pet-subtitle{font-size:15px}.bubble{font-size:14px}.hero-tools{right:5%}.round-tool{width:41px;height:41px}.score-tool{height:66px}.action-emoji{font-size:29px}.action-info{font-size:14px}.pet-action{gap:5px}.stat-copy{font-size:12px}.stat-icon{font-size:19px}.health-card{padding:16px}.health-card h2{font-size:16px}.scene-label{font-size:11px}.sheet-body{padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reward-pop.show{opacity:1}}
/* The pet's feet rest on the rug, with its shadow following the same baseline. */
.pet-zone{bottom:18.4%}.home-page{padding-bottom:100px}.action-emoji svg{width:37px;height:42px;display:block}.stat-icon svg{width:22px;height:25px;display:block}
@media(min-width:600px){.action-emoji svg{width:42px;height:47px}}
@media(max-width:360px){.action-emoji svg{width:31px;height:37px}}
.scene-bedroom .room{background-image:url("assets/bedroom.webp")}.scene-garden .room{background-image:url("assets/garden.webp")}
.pet-heading{max-width:calc(100% - 100px)}.name-row h1{max-width:calc(100% - 72px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.name-row .level{flex-shrink:0}
.scene-grid{row-gap:12px}
@media(min-width:600px){.app{max-width:390px;min-height:844px}.page{min-height:844px}.bottom-nav{max-width:342px;height:66px;bottom:max(26px,calc((100svh - 844px)/2 + 15px))}.nav-item{height:56px}.hero-tools .round-tool{width:46px;height:46px}.hero-tools .score-tool{height:72px}.action-bar{height:81px}.action-info{font-size:16px}.stat{min-height:59px}.stat-copy{font-size:14px}.action-emoji svg{width:37px;height:42px}}
/* Transparent, baseline-aligned sprite animation replaces the original whole-image wiggle. */
.pet-touch{aspect-ratio:1;animation:none!important}.pet-touch.has-animation .pet-poster{opacity:0}.pet-poster{transition:opacity .12s}.pet-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}.has-animation .pet-canvas{opacity:1}.pet-zone{width:49%}.pet-zone.petting .pet-fx{font-size:27px;color:#f3a38d;left:8%;top:1%;text-shadow:0 2px 4px #fff8;animation:little-heart 2.4s ease-out both}.pet-zone.sleeping:after{content:'z  z  Z';position:absolute;right:3%;top:30%;font-size:19px;letter-spacing:5px;color:#fffdf1;text-shadow:0 2px 5px #88795c;animation:dream 3s ease-in-out infinite}.pet-zone.sleeping .pet-shadow{width:90%;left:5%;height:7%}.reduced-motion .pet-zone:after{animation:none}.is-loading .pet-touch{opacity:.8}
.pet-menu-trigger,.wake-button{position:absolute;bottom:7.3%;z-index:5;padding:7px 12px;border-radius:20px;background:#fffdf1bd;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid #fff8;font-size:11px;color:#7e725e;display:flex;align-items:center;gap:5px;box-shadow:0 3px 14px #5b482510}.pet-menu-trigger{right:5%}.pet-menu-trigger svg{width:15px;height:15px}.wake-button{left:5%;color:#80654a}.wake-button[hidden]{display:none}.pet-menu-trigger:disabled{opacity:.5}
.activity-intro{margin:0 2px 16px;font-size:13px;color:#929982}.activity-grid,.food-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.activity-card,.food-card{min-width:0;text-align:center;background:#fff;border:1px solid #f1f0e9;border-radius:21px;padding:9px 5px 13px;box-shadow:0 3px 15px #48522604;transition:transform .2s,border-color .2s}.activity-card:active,.food-card:active{transform:scale(.96)}.activity-card strong,.food-card strong{display:block;font-size:13px;font-weight:550;margin:7px 0 5px}.activity-card small,.food-card small{display:block;font-size:10px;line-height:1.5;color:#9ba18f;white-space:nowrap;letter-spacing:-.3px}.animation-thumb{width:100%;aspect-ratio:1;display:block;background-size:300% 200%;background-position:left top;background-repeat:no-repeat}.clip-idle{background-image:url('assets/animations/idle.webp')}.clip-eat{background-image:url('assets/animations/eat.webp')}.clip-play{background-image:url('assets/animations/play.webp')}.clip-wash{background-image:url('assets/animations/wash.webp')}.clip-drink{background-image:url('assets/animations/drink.webp')}.clip-sleep{background-image:url('assets/animations/sleep.webp')}.food-intro{margin:3px 2px 18px}.food-intro>span{display:block;font-size:16px;color:#5c664c;margin-bottom:8px}.food-intro>small{font-size:12px;color:#a0a58f}.food-card{padding-top:8px;border:2px solid transparent}.food-card.selected{border-color:#a6c873;background:#fcfff6}.food-art{display:block;width:100%;aspect-ratio:1;background-image:url('assets/items/food.webp');background-size:300% 200%;background-repeat:no-repeat}.food-0{background-position:0 0}.food-1{background-position:50% 0}.food-2{background-position:100% 0}.food-3{background-position:0 100%}.food-4{background-position:50% 100%}.food-5{background-position:100% 100%}
@keyframes little-heart{0%{opacity:0;transform:translateY(10px) scale(.6)}25%,70%{opacity:1}100%{opacity:0;transform:translateY(-35px) scale(1.2)}}@keyframes dream{0%,100%{opacity:.45;transform:translateY(2px)}50%{opacity:.9;transform:translateY(-6px)}}
@media(max-width:360px){.activity-grid,.food-grid{gap:7px}.activity-card small,.food-card small{font-size:9px}.pet-menu-trigger,.wake-button{font-size:10px;padding:6px 9px}}

/* Shared controls and quiet, readable surfaces. */
.card-emoji svg{width:46px;height:46px;color:#76929b;filter:drop-shadow(0 3px 2px #72614415)}
.vip-crown svg{width:90px;height:90px;color:#c89536}
.quick-card .card-emoji svg{width:37px;height:37px;color:#a47c5c}
.activity-gift svg{width:25px;height:25px;color:#cb8c72;display:block}
.setting-icon svg{width:23px;height:23px;color:#7c926b}
.ledger-icon svg,.memory-icon svg{width:32px;height:32px;color:#9b8e70}
.info-copy>span svg{width:56px;height:56px;color:#90a663}
.profile-avatar img{width:58px;height:58px;object-fit:contain}
.nav-item{color:#53594d}.nav-item.active{color:#fff}
.pet-menu-trigger{background:#fffdf1ed;color:#665b49}
.sheet-body{scroll-padding-bottom:30px}
.profile-form textarea{font:inherit;resize:vertical;background:#fff;border:1px solid #e2e7d9;border-radius:14px;padding:13px;width:100%;color:var(--ink);line-height:1.6}
.sheet:has(input:focus),.sheet:has(textarea:focus){max-height:92dvh}
.record-card{padding:17px 18px;background:#fff;border:1px solid #eeeee5;border-radius:21px;margin:12px 0}
.record-card h3{font-size:16px;margin:0;font-weight:550;overflow-wrap:anywhere}
.record-card p{font-size:12px;line-height:1.7;color:#858d7d;margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.record-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
.record-heading>span{font-size:11px;color:#87a455;white-space:nowrap}
.record-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.record-actions button,.subtle-button{padding:8px 10px;font-size:12px;color:#647a43;background:#f2f6e9;border-radius:12px;min-height:36px}
.record-actions .danger-text{color:#a16e5e;background:#fbf1eb}
.record-card.completed{background:#f5f7f0}.record-card.completed h3{color:#87927a}
.subtle-button{display:block;margin:14px auto 4px}
.file-picker{display:block;padding:18px;border:1px dashed #afbf8c;background:#f9fcf2;text-align:center;font-size:15px;color:#657d42;border-radius:18px;margin:15px 0}
.file-picker input{display:block;width:100%;font-size:12px;margin-top:12px}
.recovery-warning{font-size:12px;color:#a26e52;line-height:1.8;overflow-wrap:anywhere}
.restore-summary{text-align:center;border-radius:24px;background:white;padding:18px;margin:12px 0}
.restore-summary img{width:105px;height:105px;object-fit:contain;margin:auto}
.restore-summary h3{font-size:18px}.restore-summary p{font-size:14px;color:#8c967c;line-height:1.8}
.scene-evening .pet-touch{filter:brightness(.85) saturate(.84) drop-shadow(0 4px 3px #4b302c33)}
.scene-evening .pet-shadow{opacity:.55;transform:scale(1.15,.7)}
.scene-sunshine .pet-touch{filter:brightness(1.04) saturate(.95) drop-shadow(3px 3px 2px #76502b1f)}
.scene-garden .pet-touch{filter:brightness(1.02) saturate(.9) drop-shadow(0 5px 3px #415c2425)}
.scene-garden .pet-shadow{background:#354b2966;filter:blur(5px)}
.scene-bedroom .pet-touch{filter:sepia(.045) brightness(.97) drop-shadow(-3px 3px 3px #8a65452c)}
.scene-bedroom .pet-shadow{transform:translateX(-6%) scale(1.1,.6);opacity:.65}
.clip-pet{background-image:url('assets/animations/pet.webp');background-size:400% auto;aspect-ratio:362/371}
@media(display-mode:standalone){.status-bar{display:none}.app{padding-top:env(safe-area-inset-top)}}
@media(pointer:coarse) and (max-width:599px){.status-bar{display:none}.app{padding-top:env(safe-area-inset-top)}}
@media(min-width:600px){.bottom-nav{bottom:var(--dock-bottom,26px)}}
