*{box-sizing:border-box}html{color:#47343c;background:#f7efe3;font-family:Leelawadee UI,Tahoma,system-ui,sans-serif}body{margin:0}button,input,select{font:inherit;color:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:2px;outline:3px solid #854a69}button:disabled,select:disabled{cursor:default;opacity:.6}button{background:snow;border:1px solid #e8d6d0;border-radius:11px;padding:.55rem .83rem}button:hover{background:#f5e3dd}input,select{background:#fffaf5;border:1px solid #e6d1ce;border-radius:9px;max-width:100%;padding:.5rem}label{flex-wrap:wrap;align-items:center;gap:.45rem;display:inline-flex}h1,h2,p{margin:0}h1{font-size:clamp(1.6rem,5vw,2.4rem)}h2{font-size:1.2rem}small{display:block}p{line-height:1.55}img{max-width:100%;display:block}.shell{max-width:1280px;margin:0 auto;padding:0 24px 38px}.header{justify-content:space-between;align-items:center;gap:12px;min-height:79px;display:flex}.brand{align-items:center;gap:10px;line-height:1.2;display:flex}.brand small{letter-spacing:.18em;color:#78515d;margin-top:5px;font:700 .63rem system-ui}.paw{color:#fff6e7;background:#a05b71;border-radius:14px;place-items:center;width:43px;height:43px;font-size:1.6rem;display:inline-grid}.connection{color:#6b555e;font-size:.8rem}.connection i{background:#9c7b73;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.connection i.live{background:#53764d}nav{background:#fffaf3;border:1px solid #ead9d0;border-radius:17px;grid-template-columns:repeat(5,1fr);gap:4px;padding:5px;display:grid}nav button{white-space:nowrap;color:#694b59;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;display:flex}nav button span{font-size:1.2rem;line-height:1}nav button.current{color:#65374b;background:#f1dae0;font-weight:700}.heading{justify-content:space-between;align-items:center;gap:8px;margin:23px 0 14px;display:flex}.heading p,.hint{color:#735966;font-size:.9rem}.time,.chip{color:#624450;white-space:nowrap;background:#f3e0d5;border-radius:20px;padding:6px 10px;font-size:.82rem}.room-wrap{background:#b07f6e;border:5px solid #fffbf0;border-radius:20px;overflow:hidden;box-shadow:0 0 0 1px #dcc6b5,0 12px 34px #67432c26}.room-canvas{aspect-ratio:1040/660;touch-action:none;width:100%;overflow:hidden}.room-canvas canvas{display:block}.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px;display:grid}.cat-card{text-align:left;background:#fff9f0;align-items:center;gap:10px;min-height:70px;display:flex}.cat-card.chosen{background:#f9e9e1;border-color:#b76e84}.cat-card small{color:#684b56}.portrait{color:#74422f;background:#f9d5a8;border-radius:12px;flex:none;place-items:center;width:43px;height:43px;font-size:1.6rem;display:grid}.portrait.ultra{color:#54404d;background:#e8dacb}.panel{background:#fffbf5;border:1px solid #e9d7d0;border-radius:16px;gap:12px;margin-top:14px;padding:17px;display:grid}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row input{flex:1;min-width:125px}.primary{color:#fff9f5;background:#915169;border-color:#915169}.primary:hover{background:#78425a}.login{text-align:center;align-content:center;place-items:center;gap:14px;min-height:90vh;padding:24px;display:grid}.login form{gap:10px;display:grid}.timeline{margin:0;padding:0;list-style:none}.timeline li{border-top:1px solid #eadcd4;align-items:center;gap:10px;padding:8px 0;display:flex}.timeline li span{flex:1}.timeline time{color:#6f5360;font-size:.78rem}.placement{grid-template-columns:repeat(9,1fr);gap:4px;display:grid}.placement button{padding:.3rem}.placement button[aria-pressed=true]{background:#dca6b6;border-color:#ac7385}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;display:grid}.photo-grid figure{margin:0}.photo-grid img{border-radius:9px}.photo-grid figcaption{padding:5px 0}.status{color:#70465a;min-height:1.5em;margin-top:10px}@media (width<=620px){.shell{padding:0 12px 20px}.header{min-height:62px}.connection span{display:none}nav button{flex-direction:column;gap:3px;padding:5px 0;font-size:.65rem}.heading{margin-top:14px}.room-wrap{border-width:2px;border-radius:12px;margin-inline:-7px}.cat-card{padding:6px}.cat-card small{font-size:.72rem}.portrait{width:35px;height:35px}.panel{padding:11px}}.portrait img{object-fit:contain;width:auto;height:100%;image-rendering:pixelated}.room-layout{grid-template-columns:1fr;grid-template-areas:"care""stage""feedback""cat";align-items:start;row-gap:10px;display:grid}.room-care{grid-area:care}.room-stage{grid-area:stage;min-width:0}.cat-actions{grid-area:cat}.room-feedback{grid-area:feedback;margin:0}.room-feedback:empty{min-height:0}.room-care h2{color:#5d404b;margin-bottom:6px;font-size:.9rem}.room-care-buttons,.cat-quick-actions,.room-option-buttons{gap:6px;display:grid}.room-care-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.room-care-buttons button{text-align:left;background:#fff9ef;grid-template-columns:auto 1fr;justify-content:start;align-items:center;gap:0 7px;min-height:54px;padding:6px 8px;font-size:.82rem;display:grid}.room-care-buttons button:hover{background:#fae9d8}.care-icon{grid-row:span 2;font-size:1rem}.room-care-buttons small{color:#75565f}.room-stage-bar{justify-content:space-between;align-items:center;gap:8px;padding-top:7px;display:flex}.room-stage-bar p{color:#6a4f5a;font-size:.8rem}.room-stage-bar button{white-space:nowrap;min-height:44px}.cat-actions{background:#fffaf3;border:1px solid #ead8ce;border-radius:14px;padding:11px}.room-pets{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.room-pets button{overflow-wrap:anywhere;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:44px;padding:4px 6px;display:flex}.room-pets button[aria-pressed=true]{color:#65374b;background:#f4ded6;border-color:#b47983}.room-pets img{object-fit:contain;width:25px;height:28px;image-rendering:pixelated;flex:0 0 25px}.cat-quick-actions button,.room-option-buttons button{min-height:44px;padding:5px 6px;font-size:.84rem}.cat-quick-actions .pet-primary{color:#fffaf3;background:#8d4e65;border-color:#8d4e65;font-weight:700}.cat-quick-actions .pet-primary:hover{background:#753c54}.room-options{border-top:1px solid #ebddd4;margin-top:7px}.room-options summary{cursor:pointer;min-height:44px;padding:11px 4px 5px;font-size:.86rem}.room-option-buttons{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:7px}.room-switches{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:6px;display:grid}.room-switches button{text-align:center;background:#fcf7ef;place-content:center;min-height:44px;padding:3px 4px;font-size:.78rem;display:grid}.room-switches button[aria-pressed=true]{color:#315850;background:#e0eee6;border-color:#9eb8a9}.room-switches small{font-size:.72rem}.room-pets button{justify-content:flex-start}.room-pet-status{text-align:left;gap:2px;min-width:0;display:grid}.room-pet-status small{color:#624c54;line-height:1.35}.cat-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px}.cat-meters{gap:7px;margin:0 0 8px;font-size:.82rem;display:grid}.cat-meters div{justify-content:space-between;align-items:center;gap:6px;display:flex}.cat-meters dd{align-items:center;gap:6px;margin:0;display:flex}.cat-meters meter{width:66px}.shell{--page-gutter:clamp(12px, 2.6vw, 32px);max-width:1360px;padding-inline:max(var(--page-gutter), env(safe-area-inset-left)) max(var(--page-gutter), env(safe-area-inset-right));padding-top:env(safe-area-inset-top);padding-bottom:max(24px, calc(env(safe-area-inset-bottom) + 12px))}.header{min-height:66px}.brand{min-width:0}.brand .paw,.connection{flex-shrink:0}.shell>nav{grid-template-columns:repeat(5,minmax(0,1fr))}.shell>nav button{white-space:normal;text-align:center;min-width:0;min-height:44px;line-height:1.2}.heading{margin-block:clamp(12px,2.2vw,24px) 12px}.heading h1{font-size:clamp(1.4rem,3vw,2.25rem);line-height:1.22}.room-layout{row-gap:8px}.room-care,.cat-actions{min-width:0}.room-care h2{font-size:.87rem}.room-care-buttons button{min-width:0}.room-care-buttons button:first-child{background-color:#fff2e6;border-color:#e6c6b4}.room-care-buttons button:nth-child(2){background-color:#eef5ed;border-color:#c9d9cd}.room-care-buttons button:hover{filter:brightness(.97)}.room-pets button{align-items:flex-start;min-height:58px;padding-block:7px}.room-pets img{align-self:center}.room-stage-bar button{flex-shrink:0}.cat-quick-actions{gap:7px}.room-feedback:empty{margin-block-end:-8px}.panel,.cat-card,.timeline li span,.photo-grid figure{overflow-wrap:anywhere;min-width:0}.chip{white-space:normal}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,155px),1fr))}.photo-grid img{aspect-ratio:1040/660;object-fit:cover;object-position:center;width:100%}.placement{grid-template-columns:repeat(9,minmax(0,1fr))}.placement button{min-width:0;min-height:34px;padding:0}@media (width<=599px){.header{min-height:52px}.brand{gap:7px}.brand .paw{border-radius:10px;width:34px;height:34px;font-size:1.25rem}.brand small{margin-top:3px}.shell>nav{border-radius:13px;gap:2px;padding:3px}.shell>nav button{flex-direction:column;gap:3px;padding:4px 2px;font-size:.67rem}.shell>nav button span{font-size:1rem}.time{padding:4px 8px;font-size:.75rem}.room-care h2{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.room-care-buttons{gap:5px}.room-care-buttons button{gap:0 4px;min-height:47px;padding:5px}.room-switches{gap:5px;margin-top:5px}.room-wrap{border-width:2px;border-radius:12px;margin-inline:-4px}.room-stage-bar{padding-top:4px}.room-stage-bar p{font-size:.72rem}.cat-actions{padding:8px}.timeline li{flex-wrap:wrap}.timeline time{flex-basis:100%}.row button{min-height:44px}}@media (width<360px){.room-care-buttons button{text-align:center;grid-template-columns:1fr;font-size:.73rem}.care-icon{display:none}.room-pets button{gap:4px}.room-pets img{flex-basis:20px;width:20px}.room-pet-status small{font-size:.72rem}}@media (600px<=width<1000px){.room-care{grid-template-columns:1fr 1fr;align-items:stretch;gap:7px 12px;display:grid}.room-care h2{grid-column:1/-1;margin:0}.room-switches{margin:0}.cat-quick-actions{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=1000px),(width>=760px) and (height<=540px) and (orientation:landscape){.room-layout{grid-template:"stage care""stage cat""stage feedback"minmax(0,1fr)/minmax(0,1fr) clamp(278px,26%,342px);column-gap:clamp(12px,2vw,26px)}.room-care{background:#fffaf3;border:1px solid #ead8ce;border-radius:14px;padding:10px;display:block}.room-care h2{margin:0 0 7px}.room-care-buttons button{gap:0 4px;padding-inline:5px;font-size:.78rem}.room-switches{margin-top:6px}.cat-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=760px) and (height<=540px) and (orientation:landscape){.shell{--page-gutter:12px;grid-template-columns:minmax(165px,24%) minmax(0,1fr);align-items:center;column-gap:10px;display:grid}.shell>main{grid-column:1/-1;min-width:0}.shell>nav{padding:3px}.shell>nav button{padding-inline:4px;font-size:.75rem}.connection{font-size:.65rem}.connection span{display:none}.brand{gap:5px}.brand strong{font-size:.85rem}.header{min-height:46px}.brand .paw{border-radius:10px;width:32px;height:32px;font-size:1.15rem}.heading{margin-block:8px}.heading h1{font-size:1.28rem}.room-stage{max-inline-size:min(100%,157.576svh - 167.031px);width:100%;margin-inline:auto}.room-wrap{border-width:3px;border-radius:12px}.room-care{padding:7px}.room-care-buttons button{min-height:44px}.room-care h2{margin-bottom:4px}}.room-canvas canvas{width:100%!important;height:100%!important;margin:0!important}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}.room-canvas{position:relative}.cat-balloon{z-index:1;box-sizing:border-box;color:#49343c;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none;background:#fff8e8;border:1.5px solid #814d61;border-radius:9px;width:max-content;max-width:min(230px,100% - 12px);padding:5px 10px;font-size:clamp(.84rem,1.5vw,1rem);line-height:1.55;position:absolute;inset:0 auto auto 0}.cat-balloon-tail{width:18px;height:9px;clip-path:polygon(0 0, 100% 0, var(--tail-tip,50%) 100%);background:#814d61;position:absolute;bottom:-8px}.cat-balloon-tail:after{content:"";clip-path:polygon(2px 0, 16px 0, var(--tail-tip,50%) 72%);background:#fff8e8;position:absolute;inset:0}
