.startup-screen[hidden],#app[hidden]{display:none!important}.startup-screen{box-sizing:border-box;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:calc(24px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));background:radial-gradient(ellipse at 50% 42%,#fff8e9,#fffaf2 45%,#f7ecd9);color:#49372f}.startup-content{width:min(100%,600px);flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(18px,4vh,36px)}.startup-eyebrow{margin:0;color:#ae6536;font-size:clamp(16px,2.6vw,20px);font-weight:600;letter-spacing:.08em}.startup-icon{display:block;width:clamp(160px,54vw,280px);border-radius:22%;max-width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 9px 14px #bc81451c)}.startup-copy h1{margin:0;font-size:clamp(24px,4.5vw,34px);line-height:1.4;letter-spacing:.015em}.startup-subtitle{max-width:28em;margin:14px auto 0;font-size:clamp(14px,2.5vw,17px);line-height:1.9;color:#8b715e}.startup-screen footer{padding-top:28px;color:#a67551;font-size:13px;letter-spacing:.15em}.startup-error{max-width:27em;color:#885b42;font-size:14px;line-height:1.6}.startup-error[hidden]{display:none}.startup-error p{margin:0 0 12px}.startup-error button{min-height:44px;min-width:100px;background:#d47b39;border-color:#d47b39;color:#fff}@media(max-height:650px){.startup-content{gap:16px}.startup-icon{width:clamp(100px,29vh,190px)}.startup-screen footer{padding-top:18px}.startup-subtitle{margin-top:8px}}@media(orientation:landscape)and (max-height:550px){.startup-screen{padding-top:calc(16px + env(safe-area-inset-top));padding-bottom:calc(12px + env(safe-area-inset-bottom))}.startup-content{max-width:720px;display:grid;grid-template-columns:minmax(100px,32%) minmax(0,1fr);gap:12px 24px}.startup-eyebrow{grid-column:1/-1}.startup-icon{width:min(100%,180px);justify-self:center}.startup-copy{text-align:left}.startup-copy h1{font-size:clamp(22px,4vw,30px)}.startup-subtitle{font-size:14px}.startup-error{grid-column:1/-1;justify-self:center}.startup-screen footer{padding-top:12px}}.focus-task-add>div>button{flex:0 0 auto;white-space:nowrap;padding-inline:16px}#app .timer-card{background:radial-gradient(ellipse at 100% 0%,#f7dfba88,transparent 65%),linear-gradient(145deg,#fff9ef,#f8eadb)}.focus-list-entry{margin-top:14px;border:1px solid #ddc9b2;border-radius:22px;background:#fffaf3;box-shadow:0 8px 22px #6f4d220b}.focus-list-open{display:flex;align-items:center;gap:12px;width:100%;background:transparent;border:0;text-align:left;padding:15px;min-height:64px}.focus-list-open>span:first-child{font-size:28px;color:#b9743c}.focus-list-open strong,.focus-list-open small{display:block}.focus-list-open small{font-size:11px;font-weight:400;color:#826e60;margin-top:4px}.focus-list-count{margin-left:auto;color:#b9743c;font-size:12px;white-space:nowrap}.focus-task-dialog{border:1px solid #ddc9b2;border-radius:24px;background:#fffaf3;color:#49372f;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:20px;box-shadow:0 20px 60px #3a30243d;overflow-y:auto;overscroll-behavior:contain}.focus-task-dialog::backdrop{background:#302b2266}.focus-task-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.focus-task-dialog h2{margin:5px 0 14px;font-size:22px}.focus-task-dialog header small{color:#b9743c}.focus-task-dialog button{min-height:44px}.focus-task-dialog [data-list-close]{min-width:44px;padding:4px;font-size:24px;background:transparent;border:0}.focus-task-add label{display:block;font-size:14px;font-weight:700;margin:10px 0}.focus-task-add>div{display:flex;gap:8px}.focus-task-dialog input:not([type=checkbox]){min-width:0;width:100%;padding:12px;border:1px solid #decdb9;border-radius:13px;background:#fffdf7;color:#49372f;font-size:16px}.focus-task-add small{display:block;font-size:11px;color:#826e60;margin-top:8px}.focus-task-feedback{font-size:13px;color:#9f4e31;line-height:1.5}.focus-task-feedback:empty{display:none}.focus-task-scroll{max-height:48dvh;overflow-y:auto;overscroll-behavior:contain;scroll-padding:16px}.focus-task-scroll h3,.focus-task-scroll summary{font-size:14px;margin:16px 0 8px}.focus-task-scroll summary{cursor:pointer;min-height:44px;line-height:44px}.focus-task-scroll ul{list-style:none;margin:0;padding:0}.focus-task-row{padding:10px 0;border-bottom:1px solid #d5bda3}.focus-task-check{display:flex;align-items:center;gap:9px;min-height:44px;min-width:0}.focus-task-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;cursor:pointer}.focus-task-toggle input{width:22px;height:22px;margin:0;accent-color:#d47b39;cursor:pointer}.focus-task-check span{overflow-wrap:anywhere;line-height:1.5}.focus-task-check .completed{text-decoration:line-through;color:#947e6d}.focus-task-actions{display:flex;justify-content:flex-end;gap:8px}.focus-task-actions button{font-size:12px;padding:8px 12px;background:#fffdf488;border-color:#ddc9b2}.focus-task-editor{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.focus-task-editor input{flex:1 1 100%}.focus-task-delete{padding:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#f9e7d3;border-radius:12px;margin-top:8px}.focus-task-delete>span{flex-basis:100%;font-size:13px}.focus-task-empty{color:#826e60;font-size:13px;padding:18px 0}@media(max-width:600px){.focus-task-dialog{margin:auto auto 0;width:100%;max-width:100%;max-height:calc(100dvh - 12px);border-radius:24px 24px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom))}.focus-task-scroll{max-height:42dvh}}@media(prefers-reduced-motion:reduce){.focus-task-dialog{scroll-behavior:auto}}.focus-task-selection:empty{display:none}.focus-task-selection p{font-size:12px;color:#826e60;line-height:1.5}.focus-task-selection button{font-size:12px}.focus-task-row.is-target{background:#fbe9d1;border-radius:12px;padding-inline:8px}.focus-task-actions{flex-wrap:wrap}.focus-goal-shell{display:grid;grid-template-rows:0fr;opacity:0;margin:0;transition:grid-template-rows .18s ease,opacity .18s ease,margin-top .18s ease}.focus-goal-shell[data-visible=true]{grid-template-rows:1fr;opacity:1;margin-top:12px}.focus-goal-overflow{overflow:hidden;min-height:0}.focus-goal-card{display:flex;align-items:center;gap:10px;border:1px solid #e5c393;border-radius:20px;padding:12px;background:#fff1e0}.focus-goal-icon{display:flex;color:#d47b39;flex-shrink:0}.focus-goal-icon svg{width:30px;height:30px}.focus-goal-card>div{min-width:0;flex:1}.focus-goal-card small{display:block;font-size:11px;color:#826e60;line-height:1.6}.focus-goal-card [data-goal-phase]{color:#b9743c;font-weight:700}.focus-goal-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:1.5;max-height:3em}.focus-goal-card button{flex-shrink:0;min-width:44px;min-height:44px;padding:8px;background:#fff7e3;border-color:#e5c393;font-size:12px}.summary-task{margin:16px 0;padding:14px;border:1px solid #ddc9b2;border-radius:16px;background:#fff1e0;text-align:left}.summary-task[hidden]{display:none}.summary-task strong,.summary-task small{display:block;overflow-wrap:anywhere}.summary-task p{font-size:12px;line-height:1.5}.summary-task button{font-size:13px}@media(max-width:600px){main:has(#focus-goal-slot){padding-top:16px}main:has(#focus-goal-slot) .hero{padding-bottom:12px}main:has(#focus-goal-slot) .hero h1{font-size:28px}main:has(#focus-goal-slot) .cat-card{height:180px}main:has(#focus-goal-slot) .cat-card #cat{width:132px;height:132px}main:has(#focus-goal-slot) .cat-caption{margin-top:7px}main:has(#focus-goal-slot) .timer-card{padding:18px;margin-top:12px}main:has(#focus-goal-slot) .clock{font-size:60px;margin:8px 0}main:has(#focus-goal-slot) .clock.long-clock{font-size:clamp(28px,10vw,48px)}main:has(#focus-goal-slot) .form{margin-top:14px}main:has(#focus-goal-slot) .timer-modes{margin-bottom:14px}}@media(max-height:740px)and (max-width:600px){main:has(#focus-goal-slot) .hero p{margin:4px 0}main:has(#focus-goal-slot) .cat-card{height:142px}main:has(#focus-goal-slot) .cat-card #cat{width:102px;height:102px}main:has(#focus-goal-slot) .cat-caption{font-size:11px;margin-top:4px}main:has(#focus-goal-slot) .clock{font-size:52px}main:has(#focus-goal-slot) .clock.long-clock{font-size:clamp(26px,9vw,42px)}}@media(prefers-reduced-motion:reduce){.focus-goal-shell{transition:none}}.focus-task-dialog{max-height:calc(var(--task-available-height,100dvh) - 24px)}.focus-task-scroll{max-height:min(48dvh,calc(var(--task-available-height,100dvh) - 250px))}@media(max-width:600px){.focus-task-dialog{position:fixed;left:0;right:0;top:auto;bottom:var(--task-keyboard-inset,0px);margin:0 auto;max-height:calc(var(--task-available-height,100dvh) - 12px)}main:has(#pause) .cat-card{height:128px}main:has(#pause) .cat-card #cat{width:92px;height:92px}main:has(#pause) .actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:14px}main:has(#pause) .actions button{min-width:0;min-height:44px;padding:10px 4px;font-size:12px;line-height:1.5}main:has(#pause) .timer-mode-label{margin-bottom:6px}}@media(max-height:740px)and (max-width:600px){main:has(#pause) .cat-card{height:104px}main:has(#pause) .cat-card #cat{width:72px;height:72px}main:has(#pause) .hero{padding-bottom:8px}main:has(#pause) .hero h1{font-size:26px;margin:6px 0}main:has(#pause) .hero p{font-size:14px;line-height:1.4}}.focus-task-scroll details{border-top:1px solid #d5bda3;margin-top:12px;padding-top:4px}.focus-task-selection{border-bottom:1px solid #ddc9b2;padding-bottom:12px}.focus-task-check span{min-width:0}.focus-goal-card button[hidden]{display:none}.shop-header h1{margin:10px 0 16px;font-size:30px}#shop-back{border:0;padding:0;background:transparent;color:#9c7454;margin:0 0 18px}.shop-balance{display:flex;align-items:center;gap:10px;padding:15px 18px;border-radius:18px;background:#ffecd5;color:#ab622e}.shop-balance svg{width:26px;height:26px}.shop-balance strong{font-size:25px;margin-left:8px}.shop-tabs{display:flex;gap:5px;padding:5px;background:#efdfca;border-radius:18px;margin:20px 0 12px}.shop-tabs button{flex:1;border:0;background:transparent}.shop-tabs [aria-pressed=true]{background:#fffaf3;color:#b86c34;box-shadow:0 3px 9px #6f4d2210}.shop-cats,.shop-furniture{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-card{min-width:0;text-align:center;padding:14px 10px;border:1px solid #e9d9c3;border-radius:22px;background:#fffaf3;box-shadow:0 7px 18px #6f4d2209}.shop-card h2{font-size:18px;margin:8px 0}.shop-product-open{display:block;width:100%;border:0;padding:0;background:transparent}.shop-preview{display:flex;justify-content:center;align-items:center;min-height:118px}.shop-preview img{width:118px;height:118px;max-width:100%;object-fit:contain;image-rendering:pixelated}.furniture-preview img{min-width:0;width:50%;flex:1}.furniture-preview img:only-child{width:100%}.shop-status{font-size:12px;color:#a06f46}.shop-card [data-shop-companion]{width:100%;padding:9px 3px;font-size:12px;margin-top:12px}.shop-card button:disabled{cursor:default;opacity:.65}.shop-error{min-height:1em;color:#a44339;font-size:13px;line-height:1.6}.shop-detail{position:relative;width:min(400px,calc(100% - 32px));max-height:calc(100dvh - 36px);overflow-y:auto;border:1px solid #e6d2b8;border-radius:25px;background:#fffaf3;color:#49372f;padding:26px;text-align:center}.shop-detail::backdrop{background:#36291f66}.shop-detail-close{position:absolute;right:12px;top:10px;border:0;background:transparent;padding:3px 10px;font-size:26px}.detail-preview img{width:164px;height:164px}.shop-detail h2{font-size:25px;margin:6px 0}.shop-detail p{line-height:1.7}.shop-price{color:#c87835;font-size:22px;font-weight:800}.shop-purchase-note{color:#94755c;font-size:13px}.house-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0}.house-actions p{margin:0;color:#94755c;font-size:13px}.house-companions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.house-companions button{min-width:0;padding:10px 4px;font-size:12px}.house-companions img{display:block;width:70px;height:70px;max-width:100%;margin:0 auto;object-fit:contain}.house-companions small{display:block;margin-top:6px;color:#9c7454;font-size:10px}@media(max-width:360px){.shop-cats{grid-template-columns:1fr}.shop-furniture{gap:8px}.shop-card h2{font-size:16px}}.daily-welcome{position:relative;box-sizing:border-box;width:min(410px,calc(100% - 32px));max-height:calc(100dvh - 36px);overflow-y:auto;padding:30px 26px 24px;text-align:center;color:#49372f;border:1px solid #e7d2b8;border-radius:28px;background:radial-gradient(ellipse at 50% 25%,#fff0d4,#fffaf3 65%);box-shadow:0 20px 65px #49372f30}.daily-welcome::backdrop{background:#36291f66}.daily-welcome .welcome-close{position:absolute;right:12px;top:10px;width:36px;height:36px;padding:0;border:0;background:transparent;font-size:26px;color:#967b65}.welcome-eyebrow{color:#b9743c;font-size:12px;font-weight:700;letter-spacing:.06em;margin:10px 0 0}.welcome-cat{height:122px;display:flex;justify-content:center;align-items:center}.welcome-cat img{width:128px;height:128px;object-fit:contain;image-rendering:pixelated}.welcome-paw{display:grid;place-items:center;width:86px;height:86px;border-radius:50%;background:#ffebcf;color:#c77735}.welcome-paw svg{width:50px;height:50px}.welcome-reward svg{display:block;width:24px;height:24px}.daily-welcome h2{margin:2px 0 16px;font-size:25px}.welcome-reward{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;border-radius:18px;background:#ffebcf;color:#c77735;font-size:32px;font-weight:800}.welcome-reward span{font-size:18px}.daily-welcome p{margin:20px 0;color:#8b715e;line-height:1.7}.daily-welcome small{display:block;margin-top:14px;color:#9b826d;font-size:12px}:root{font-family:Microsoft YaHei,system-ui,sans-serif;color:#49372f;background:#f5ede0;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #ddc9b2;border-radius:14px;padding:12px 16px;background:#fffaf2;color:#49372f;font-weight:700}button:active{transform:scale(.98)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e99753;outline-offset:2px}main{max-width:640px;margin:auto;padding:24px 20px 110px}.hero{padding:9px 4px 20px}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.08em;color:#b9743c}.hero h1{font-size:30px;line-height:1.2;margin:9px 0}.hero p,.panel p{color:#826e60;line-height:1.6;margin:8px 0}.cat-card,.timer-card,.panel,.metric{border:1px solid #ebdccb;border-radius:25px;background:#fffaf3;box-shadow:0 10px 24px #6f4d2210}.cat-card{height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;overflow:hidden;background:linear-gradient(#fff8ea,#fbe9d1)}#cat{position:relative;z-index:1;width:176px;height:176px;object-fit:contain;image-rendering:pixelated}.cat-floor{height:19px;width:180px;border-radius:50%;background:#c18f6340;margin-top:-23px}.cat-caption{font-size:13px;color:#8b715e;font-weight:700;margin-top:15px}.timer-card{text-align:center;margin-top:16px;padding:24px}.clock{font-variant-numeric:tabular-nums;font-size:70px;font-weight:800;letter-spacing:-.045em;line-height:1.15;margin:12px 0}.time-note{color:#8b715e}.form{text-align:left;margin-top:22px}.form label{display:block;font-size:14px;font-weight:700;margin:15px 0}.form select,.form input,.panel input[type=month]{width:100%;padding:12px;border-radius:13px;border:1px solid #decdb9;background:#fff;color:#49372f;margin-top:8px}.label{font-size:14px;font-weight:700;margin:16px 0 9px}.presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.presets button{padding:10px 2px;font-size:12px}.presets .selected{background:#f6d3ad;border-color:#df9a57}.primary{background:#d47b39;border-color:#d47b39;color:#fff}.wide{width:100%;margin-top:12px}.actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-top:20px}.actions button{flex:1 1 auto}.danger{color:#a54339}.hint{font-size:12px;color:#8c7868;line-height:1.6;margin:15px 5px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metric{padding:19px}.metric span,.metric strong{display:block}.metric span{font-size:12px;color:#967962}.metric strong{font-size:20px;margin-top:8px}.panel{padding:20px;margin-top:14px}.panel h2{font-size:18px;margin:0 0 10px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head h2{margin:0}.panel-head span{color:#bf713d;font-weight:800}.panel input[type=month]{width:155px;margin:0;padding:7px;font-size:13px}.xp{font-weight:700;margin:17px 0 10px}progress{width:100%;height:12px;accent-color:#dc914e}.panel small{display:block;color:#947e6d;margin-top:8px}.week-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid #efe3d5}.week-row strong,.week-row small{display:block}.week-row span{font-weight:800}.file-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid #ddc9b2;border-radius:14px;padding:12px 16px;background:#fffaf2;font-weight:700}.toast{position:sticky;top:9px;z-index:5;border-radius:14px;padding:14px 44px 14px 16px;background:#503f33;color:#fff;box-shadow:0 8px 20px #0002}.toast button{position:absolute;right:5px;top:3px;background:none;border:0;color:#fff;font-size:24px;padding:4px 10px}nav{position:fixed;bottom:0;left:0;right:0;z-index:4;display:flex;justify-content:center;background:#fffaf4;border-top:1px solid #e9dac9;padding:7px 8px calc(7px + env(safe-area-inset-bottom))}nav button{border:0;background:transparent;width:25%;max-width:160px;min-width:0;padding:6px;color:#967e6d;font-size:22px}nav button span{white-space:nowrap;display:block;font-size:11px;margin-top:2px}nav button.active{color:#c36d32}.error{padding-top:80px}@media(max-width:370px){.clock{font-size:58px}.presets{grid-template-columns:repeat(2,1fr)}}.focus-cat-view{display:flex;flex-direction:column;align-items:center}.focus-cat-error{position:absolute;bottom:5px;color:#8c5140;font-size:11px}.focus-cat-empty{padding:28px 16px;text-align:center}.focus-cat-empty strong{font-size:1.15rem}.focus-cat-empty p{max-width:25em;margin:12px auto 18px;color:#826e60;line-height:1.6}nav button svg{display:block;width:26px;height:26px;margin:0 auto;pointer-events:none}.category-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.form .category-heading label{margin:0}.category-heading button{padding:7px 14px;font-size:13px}.category-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow-y:auto;color:#49372f;background:#fffaf3;border:1px solid #ddc9b2;border-radius:22px;padding:22px;box-shadow:0 18px 60px #49372f33}.category-dialog::backdrop{background:#36291f70}.category-dialog h2{font-size:20px;margin:0}.category-dialog .dialog-close{font-size:24px;padding:2px 10px;border:0;background:transparent}.category-add label{display:block;font-size:14px;font-weight:700;margin:18px 0 8px}.category-add-row{display:flex;gap:8px}.category-add input{width:100%;min-width:0;border:1px solid #decdb9;background:#fff;color:#49372f;border-radius:12px;padding:12px}.category-add-row button{flex-shrink:0}.category-add small{display:block;color:#8c7868;margin-top:7px;font-size:12px}.category-error{color:#a54339;font-size:13px;line-height:1.6;margin-top:12px;overflow-wrap:anywhere}.category-error:empty{display:none}.category-error button{display:block;padding:8px 12px;margin-top:8px}.category-list{list-style:none;padding:0;margin:18px 0 0}.category-list li{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #ebdccb;padding:12px 0}.category-list button{padding:8px 14px;flex-shrink:0}.category-name{overflow-wrap:anywhere}.category-name small{display:inline-block;color:#8c7868;font-size:11px;border:1px solid #ddc9b2;border-radius:6px;padding:1px 5px;margin-left:7px}button:disabled{cursor:default;opacity:.5;transform:none}.timer-modes{display:flex;gap:4px;background:#f4e7d8;padding:4px;border-radius:15px;margin-bottom:22px}.timer-modes button{flex:1;border-color:transparent;background:transparent;padding:9px;color:#8b715e}.timer-modes button[aria-pressed=true]{background:#fffaf3;color:#b7652d;box-shadow:0 2px 6px #6f4d2215}.timer-mode-label{font-size:14px;font-weight:800;color:#8b715e;margin-bottom:12px}.clock.long-clock{font-size:clamp(28px,10vw,52px);letter-spacing:-.03em}.focus-dialog{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow-y:auto;padding:26px;border:1px solid #ddc9b2;border-radius:24px;background:#fffaf3;color:#49372f;box-shadow:0 18px 60px #49372f33}.focus-dialog::backdrop{background:#36291f70}.focus-dialog h2{font-size:24px;margin:10px 0 16px}.focus-dialog p{line-height:1.65}.end-category{font-weight:700;color:#8b715e;overflow-wrap:anywhere}.end-duration strong{font-size:22px;font-variant-numeric:tabular-nums}.ending-error{color:#a54339;font-size:13px;overflow-wrap:anywhere}.ending-error:empty{display:none}.summary-details{margin:20px 0}.summary-details div{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid #efe3d5}.summary-details dt{color:#8b715e;flex-shrink:0}.summary-details dd{text-align:right;margin:0;font-weight:700;overflow-wrap:anywhere}.summary-rewards{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f9ead5;border-radius:17px;padding:18px;text-align:center}.summary-rewards strong{display:block;color:#b7652d;font-size:30px;font-variant-numeric:tabular-nums}.summary-rewards span{display:block;color:#8b715e;font-size:13px;margin-top:5px}.stats-page{--stats-orange: #eb884b;--stats-muted: #947c69;--stats-cream: #fffaf3;display:flex;flex-direction:column;gap:12px;min-width:0}.stats-page *,.stats-page *:before,.stats-page *:after{min-width:0}.stats-header{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:8px;align-items:center;padding:0 3px 3px}.stats-header .eyebrow{font-size:13px;letter-spacing:.04em}.stats-header h1{font-size:30px;margin:6px 0;line-height:1.25}.stats-header p{margin:0;color:#8b715e;font-size:14px;line-height:1.5}.stats-header-cat{width:88px;height:80px;object-fit:contain;image-rendering:pixelated}.stats-range-switch{display:flex;background:#fff8ee;padding:4px;border:1px solid #ebdccb;border-radius:22px;box-shadow:0 6px 16px #6f4d2208}.stats-range-switch button{flex:1;border:0;border-radius:18px;background:transparent;padding:10px 6px;color:#947c69;font-size:15px}.stats-range-switch button[aria-pressed=true]{background:#dc7b39;color:#fffaf3;box-shadow:0 3px 8px #bc67362a}.stats-month-picker{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;color:#8b715e;font-size:12px}.stats-month-picker input{max-width:100%;width:152px;border:1px solid #ddc9b2;border-radius:11px;padding:9px;color:#49372f;background:#fffaf3}.stats-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.stats-metric{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:13px 12px;background:var(--stats-cream);border:1px solid #ebdccb;border-radius:20px;box-shadow:0 8px 20px #6f4d2208}.stats-metric-icon{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:50%;background:#fff0dd;color:#dd7d3b;margin-bottom:8px}.stats-metric-icon svg{width:20px;height:20px}.stats-metric-label{font-size:12px;color:#8b715e;margin-bottom:5px}.stats-metric strong{font-size:20px;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stats-metric strong small{font-size:12px;font-weight:600}.stats-card{background:var(--stats-cream);border:1px solid #ebdccb;border-radius:23px;padding:17px;box-shadow:0 9px 22px #6f4d2209}.stats-card-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px}.stats-card h2{font-size:18px;line-height:1.35;margin:0}.stats-trend-total,.stats-analysis-total{font-size:12px;font-weight:700;color:#a76536}.stats-caption{color:var(--stats-muted);font-size:11px;line-height:1.6;margin:6px 0 10px}.stats-legend{display:flex;flex-wrap:wrap;gap:6px 13px;list-style:none;padding:0;margin:7px 0 6px}.stats-legend li{display:flex;align-items:center;gap:6px;font-size:11px;color:#8b715e;overflow-wrap:anywhere}.stats-dot{display:inline-block;flex-shrink:0;width:8px;height:8px;border-radius:50%;background:var(--category-color)}.stats-chart{display:block;width:100%;height:auto;overflow:visible}.stats-chart-unit{display:block;color:#947c69;font-size:10px;margin-top:7px}.stats-axis{fill:#8b7768;font-size:13px;font-family:inherit}.stats-zero{fill:#ab9580;font-size:12px}.stats-grid-line{stroke:#e9ddce;stroke-dasharray:4 3;stroke-width:.8}.stats-baseline{stroke:#d9c6b0;stroke-width:1}.stats-chart-column{cursor:pointer;outline:none}.stats-column-hit{fill:transparent;stroke:transparent;stroke-width:1}.stats-chart-column[aria-pressed=true] .stats-column-hit{fill:#efcf9e20;stroke:#dca268}.stats-chart-column:focus-visible .stats-column-hit{stroke:#b7652d;stroke-width:2}.stats-chart-help,.stats-empty{font-size:11px;line-height:1.6;text-align:center;color:#947c69;margin:9px 0 0}.stats-empty{color:#aa6a3b}.stats-bucket-detail{padding:11px 12px;margin-top:9px;background:#f8ecdc;border-radius:13px}.stats-detail-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;font-size:12px}.stats-detail-heading strong{overflow-wrap:anywhere}.stats-bucket-detail ul{list-style:none;margin:8px 0 0;padding:0}.stats-bucket-detail li{display:flex;justify-content:space-between;gap:10px;margin-top:5px;font-size:11px;color:#8b715e}.stats-bucket-detail li span{display:flex;align-items:center;gap:6px;overflow-wrap:anywhere}.stats-bucket-detail li b{font-weight:500;flex-shrink:0}.stats-track{display:block;background:#f1e7da;overflow:hidden;border-radius:20px;height:11px}.stats-track>span{display:block;height:100%;border-radius:inherit;background:var(--category-color, #eb884b)}.stats-distribution{display:flex;flex-direction:column;gap:14px;margin-top:13px}.stats-distribution-row{display:flex;gap:10px;align-items:center}.stats-category-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:33px;height:33px;background:#fff0dd;color:var(--category-color);border-radius:50%}.stats-category-icon svg{width:20px;height:20px}.stats-distribution-body{flex:1}.stats-distribution-label{display:grid;grid-template-columns:minmax(0,1fr) auto 34px;gap:7px;align-items:baseline;margin-bottom:7px}.stats-distribution-label strong{font-size:13px;overflow-wrap:anywhere}.stats-distribution-label span{color:#806957;font-size:11px}.stats-distribution-label b{color:var(--category-color);font-size:13px;text-align:right}.stats-level{color:#c46d32;background:#ffeddb;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:800}.stats-growth-body{display:grid;grid-template-columns:47px minmax(0,1fr);gap:11px;align-items:center;margin-top:12px}.stats-growth-body img{width:47px;height:58px;object-fit:contain;image-rendering:pixelated}.stats-growth-body p{font-size:12px;line-height:1.6;margin:0 0 6px}.stats-growth-rewards{display:flex;flex-wrap:wrap;gap:5px 12px}.stats-growth-rewards>span{display:inline-flex;align-items:center;gap:5px}.stats-growth-rewards svg{width:16px;height:16px;flex-shrink:0;color:#d88a45}.stats-growth-body progress{display:block;appearance:none;width:100%;height:9px;border:0;border-radius:20px;background:#f1e7da;accent-color:#eb884b;overflow:hidden}.stats-growth-body progress::-webkit-progress-bar{background:#f1e7da;border-radius:20px}.stats-growth-body progress::-webkit-progress-value{background:#eb884b;border-radius:20px}.stats-growth-body progress::-moz-progress-bar{background:#eb884b;border-radius:20px}.stats-growth-body small{display:block;font-size:11px;color:var(--stats-muted);line-height:1.5;margin-top:6px}.stats-week-list{display:flex;flex-direction:column;gap:12px;margin-top:14px}.stats-week{display:grid;grid-template-columns:minmax(76px,.95fr) minmax(24px,1fr) minmax(56px,.85fr);gap:9px;align-items:center}.stats-week-period strong{display:block;font-size:12px;font-weight:600}.stats-week-period small{display:block;font-size:10px;color:#9d816b;margin-top:4px}.stats-week>b{text-align:right;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stats-method{color:#947c69;font-size:11px;line-height:1.7;padding:0 4px}.stats-method summary{cursor:pointer;padding:9px 0}.stats-method p{margin:7px 0}@media(max-width:360px){.stats-header{grid-template-columns:minmax(0,1fr) 66px}.stats-header-cat{width:66px;height:72px}.stats-header h1{font-size:28px}.stats-metrics{gap:6px}.stats-metric{padding:11px 9px;border-radius:17px}.stats-metric strong{font-size:17px}.stats-metric-label{font-size:11px}.stats-card{padding:14px;border-radius:20px}.stats-card h2{font-size:17px}.stats-week{gap:6px}}.stats-unadopted{display:grid;place-items:center;width:64px;flex-shrink:0;color:#9c806b;font-size:12px}.category-picker{position:relative;text-align:left}.category-picker-trigger{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px 16px;border-radius:16px;background:#fffcf7;font-weight:500;text-align:left}.category-picker-trigger[aria-expanded=true]{border-color:#df914d;box-shadow:0 0 0 3px #e9a56825}.category-option-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;border-radius:10px;color:var(--category-color);background:#fff0dd}.category-option-icon svg{width:22px;height:22px}.category-option-name{flex:1;min-width:0;overflow-wrap:anywhere}.category-chevron{flex-shrink:0;width:18px;height:18px;color:#957c69;transition:transform .15s}[aria-expanded=true] .category-chevron{transform:rotate(180deg)}.category-options{position:absolute;z-index:8;top:calc(100% + 8px);left:0;right:0;max-height:280px;overflow-y:auto;padding:7px;border:1px solid #e8d5be;border-radius:18px;background:#fffaf3;box-shadow:0 12px 28px #6f4d2226}.category-options[hidden]{display:none}.category-picker.opens-up .category-options{top:auto;bottom:calc(100% + 8px)}.category-options button{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;text-align:left;border:1px solid transparent;background:transparent;padding:8px 12px;border-radius:12px;font-weight:500}.category-options button:hover,.category-options .keyboard-active{background:#f8ecdc}.category-options button[aria-selected=true]{color:#a75e2b;background:#ffecd5;border-color:#f0cdab;font-weight:700}.category-option-check{opacity:0;color:#c57737;font-weight:800}[aria-selected=true] .category-option-check{opacity:1}@media(max-width:360px){.category-options{padding:5px}.category-options button{padding:8px}}.room-card{border:1px solid #ebdccb;border-radius:25px;background:#fffaf3;box-shadow:0 10px 24px #6f4d2210;overflow:hidden}.room-view,.room-slot{width:100%;min-width:0}.room-scene{position:relative;width:100%;aspect-ratio:4 / 3;overflow:hidden;isolation:isolate;background:#f7e9d4}.room-layer,.room-scene #cat{display:block;position:absolute;margin:0;max-width:none;object-fit:fill;image-rendering:pixelated;pointer-events:none;-webkit-user-select:none;user-select:none}.room-contact-shadow span{position:absolute;background:#5838242e;pointer-events:none}.room-caption{display:block;text-align:center;font-size:13px;color:#8b715e;font-weight:700;padding:11px 12px 13px}.room-error{margin:0;padding:9px 12px;color:#8c5140;background:#fff1df;font-size:12px;line-height:1.6}.room-hotspot{position:absolute;transform:translate(-50%,-50%);padding:0;background:transparent;border:0;border-radius:8px}.room-hotspot:active{transform:translate(-50%,-50%)}.room-hotspot{z-index:4;touch-action:pan-y;color:#694c35;box-shadow:none}.room-cat-hit{z-index:5}.room-hotspot:focus-visible{outline:2px solid #bd733a;outline-offset:-2px}.room-cat-hit span{display:none;position:absolute;bottom:100%;left:50%;transform:translate(-50%);white-space:nowrap;border-radius:8px;background:#fff8e9;border:1px solid #d7ad7f;padding:3px 7px;font-size:11px;font-weight:700;pointer-events:none}.room-cat-hit[aria-pressed=true] span{display:block}.room-interaction-panel{margin-top:14px;padding:17px;border-radius:22px;border:1px solid #e8d6bf;background:#fffaf3}.room-interaction-panel[hidden]{display:none}.room-interaction-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px}.room-interaction-panel header small{font-size:11px;color:#94755c}.room-interaction-panel h2{margin:6px 0;font-size:19px}.room-interaction-panel [data-interaction-close]{min-width:44px;min-height:44px;padding:0;font-size:23px}.room-interaction-panel p{font-size:13px;line-height:1.6}.interaction-actions,.interaction-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.interaction-actions button,.interaction-choices button{min-height:44px;min-width:68px;padding:9px 13px}.interaction-actions button:disabled{color:#8c7868;background:#f5ede3;cursor:default}.interaction-actions small{display:block;margin-top:4px;font-size:10px;font-weight:400}.room-night-shade,.room-warm-light{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .25s ease}.room-night-shade{z-index:2;background:#17234152}.room-warm-light{z-index:3;background:radial-gradient(ellipse at 61% 44%,rgb(255 200 111 / 32%),rgb(255 185 92 / 10%) 35%,transparent 72%);mix-blend-mode:screen}.room-scene[data-theme=night] .room-night-shade,.room-scene[data-theme=night] .room-warm-light{opacity:1}.room-period{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;padding:12px 15px;color:#8b715e;font-size:13px}.room-period>span{font-weight:700}.room-period small{font-size:11px}.room-preview-note{color:#a76532;font-size:12px}@media(prefers-reduced-motion:reduce){.room-night-shade,.room-warm-light{transition:none}}.house-companions button.is-selected{border-color:#d47b39;background:#fff0dc;box-shadow:0 0 0 1px #d47b39}.focus-companion-change{position:absolute;right:10px;top:10px;z-index:2;min-height:44px;padding:8px 12px;font-size:12px;background:#fffaf3e8}.companion-picker{width:min(480px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:1px solid #ddc9b2;border-radius:24px;padding:20px;background:#fffaf3;color:#49372f}.companion-picker::backdrop{background:#302b2266}.companion-picker h2{margin:0;font-size:21px}.companion-picker p{font-size:13px;line-height:1.6;color:#826e60}.companion-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.companion-choices button{min-width:0;padding:8px}.companion-choices img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.companion-choices button[aria-pressed=true]{border-color:#d47b39;background:#ffedda}.house-cat-card{position:relative;min-width:0}.house-cat-card>[data-action-cat]{width:100%;height:100%;padding-top:44px;overflow-wrap:anywhere}.house-cat-card>.cat-rename-button{position:absolute;right:4px;top:4px;min-width:44px;min-height:44px;padding:6px 9px;font-size:12px;background:#fff8e9}.cat-rename label{display:block;margin:14px 0 8px;font-size:14px}.cat-rename input{width:100%;box-sizing:border-box}.cat-rename-error{color:#a34e38!important;min-height:1.5em}.room-cat-hit span{max-width:130px;overflow:hidden;text-overflow:ellipsis}.cat-pet-bubble{position:absolute;z-index:6;pointer-events:none;width:36px;height:30px;box-sizing:border-box;display:grid;place-items:center;transform:translate(-50%,-100%);border:1px solid #d7ad7f;border-radius:11px;background:#fff8e9;animation:pet-bubble-in .18s ease-out}.cat-pet-bubble:after{content:"";position:absolute;bottom:-4px;left:8px;width:6px;height:6px;background:#fff8e9;border-right:1px solid #d7ad7f;border-bottom:1px solid #d7ad7f;transform:rotate(45deg)}.cat-pet-bubble.is-left:after{left:auto;right:8px}.cat-pet-bubble svg{width:18px;height:18px;fill:#df857c;animation:pet-heart-pulse .55s ease-out}.cat-pet-bubble.is-leaving{opacity:0;transition:opacity .16s ease}@keyframes pet-bubble-in{0%{opacity:0;transform:translate(-50%,-90%) scale(.85)}to{opacity:1;transform:translate(-50%,-100%) scale(1)}}@keyframes pet-heart-pulse{0%,to{transform:scale(1)}45%{transform:scale(1.15)}}@media(prefers-reduced-motion:reduce){.cat-pet-bubble,.cat-pet-bubble svg{animation:none}.cat-pet-bubble.is-leaving{transition:none}}.adoption-choices{display:grid;gap:12px}.adoption-card{display:grid;grid-template-columns:88px minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;padding:13px 12px;text-align:left;border:2px solid #ebdccb;border-radius:22px;background:#fffaf3;box-shadow:0 7px 20px #6f4d2208}.adoption-card[aria-pressed=true]{border-color:#d98243;background:#fff1dc}.adoption-card:disabled{cursor:wait}.adoption-preview{width:88px;height:100px;object-fit:contain;image-rendering:pixelated}.adoption-card-text{display:flex;flex-direction:column;gap:7px;min-width:0}.adoption-card-text strong{font-size:16px}.adoption-card-text>span{font-size:12px;font-weight:400;line-height:1.6;color:#8b715e}.adoption-card-text small{font-size:10px;font-weight:500;color:#ac743f}.adoption-check{color:#cb7736;font-size:20px;text-align:center}.adoption-rule,.adoption-error,.cat-house-error{font-size:12px;line-height:1.7;color:#8b715e}.adoption-error,.cat-house-error{color:#a34e39}.cat-house-resident{margin:13px 4px 0;color:#8b715e;font-size:13px}@media(max-width:360px){.adoption-card{grid-template-columns:66px minmax(0,1fr) 16px;gap:8px;padding:11px 9px}.adoption-preview{width:66px;height:90px}.adoption-card-text strong{font-size:14px}}
