@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#50493e;background:#f4eee5;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit;color:inherit;cursor:pointer}button{transition:background .2s,transform .2s;border:0}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #9c6545;outline-offset:4px}button:disabled,select:disabled{opacity:.4;cursor:wait}#scene{position:absolute;inset:0}#scene canvas{width:100%;height:100%;display:block}header{position:absolute;inset:0 0 auto;padding:30px 38px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#514a3e;pointer-events:auto;font-family:Manrope,sans-serif;font-size:19px;font-weight:700;letter-spacing:-.7px}.brand-mark{font-size:35px;color:#af7657;font-weight:400;line-height:1}.header-right{display:flex;align-items:center;gap:8px;pointer-events:auto}.header-right button{background:#fff7;border-radius:24px;padding:11px 15px;font-size:12px}.header-right .round{width:38px;padding:11px}.pet-panel{position:absolute;top:22%;right:36px;width:218px;padding:20px;background:#fffcf59e;border-radius:18px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}h2{font-family:Manrope,sans-serif;font-weight:600;letter-spacing:-.7px;margin:0 0 3px;font-size:26px}p{font-size:13px;line-height:1.6;color:#918371}.pet-panel>p{font-size:11px;margin:0 0 22px}.need-label{font-size:10px;display:flex;justify-content:space-between;margin-bottom:7px;color:#857763}.need-label strong{font-weight:500;color:#9d8b76}.track{height:3px;border-radius:8px;background:#e9dfd1;overflow:hidden}.fill{height:100%;background:#aab492;border-radius:8px;transition:width .4s}.need:nth-child(2) .fill{background:#d5b18f}.need:nth-child(3) .fill{background:#c7b5ba}.pose-controls{display:flex;gap:2px;margin-top:23px;background:#e8ddce80;padding:3px;border-radius:9px}.pose-controls button{flex:1;background:transparent;border-radius:7px;padding:7px 2px;font-size:10px;white-space:nowrap}.pose-controls button[aria-pressed=true]{background:#fffaf1;box-shadow:0 1px 4px #76583110}.pose-meta{display:flex;justify-content:space-between;align-items:center;margin:9px 0 17px;gap:5px}.pose-meta .pose-status{font-size:9px;margin:0;color:#8a7a66}.pose-meta label{font-size:9px;white-space:nowrap;color:#857763;display:flex;align-items:center;gap:3px}.pose-meta input{accent-color:#a18566;width:11px;height:11px;margin:0}.tail-control{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#857763}.tail-control select{font-size:10px;background:transparent;border:0;max-width:140px;padding:4px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}footer{position:absolute;bottom:22px;left:50%;transform:translate(-50%);display:flex;align-items:flex-end;gap:40px;max-width:calc(100% - 60px);padding:0 10px}#pets{display:flex;gap:10px;align-items:flex-end}.pet-button{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex-shrink:0;width:104px;height:119px;background:transparent;border-radius:18px;padding:0 0 11px}.pet-button:before{content:"";position:absolute;z-index:-1;inset:48px 4px 0;border-radius:16px;background:#fff9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);opacity:.42;transition:opacity .2s,background .2s}.pet-button.selected:before{background:#f8ead7;opacity:.95}.pet-button:hover:before{opacity:.85}.avatar{position:absolute;bottom:25px;left:-7px;width:118px;height:118px;pointer-events:none;transition:transform .25s;filter:drop-shadow(0 7px 4px #6b4e2920)}.avatar img{width:100%;height:100%;object-fit:contain}.pet-button:hover .avatar,.pet-button.selected .avatar{transform:translateY(-5px)}.pet-button b{font-size:11px;font-weight:500}.pet-button.selected b{font-weight:700;color:#8f6848}.pet-button:after{content:"";position:absolute;bottom:3px;width:3px;height:3px;background:#a57953;border-radius:50%;opacity:0}.pet-button.selected:after{opacity:1}.actions{display:flex;gap:6px;padding-bottom:12px}.actions button{background:#fff6;border-radius:14px;width:51px;font-size:10px;padding:10px 4px}.actions button:hover{background:#fff9;transform:translateY(-2px)}.actions button span{display:block;font-size:23px;font-family:sans-serif;color:#9c8061;margin-bottom:5px}.room-hint{position:absolute;left:38px;bottom:181px;font-size:10px;color:#918372;pointer-events:none}#reset-camera{position:absolute;bottom:173px;right:38px;background:#fff8;border-radius:50%;font-size:21px;width:35px;height:35px}#toast{position:absolute;left:50%;bottom:184px;transform:translate(-50%,8px);background:#fffaf0ed;padding:11px 20px;border-radius:24px;font-size:12px;color:#8f7253;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none}#toast.visible{opacity:1;transform:translate(-50%)}#loading{position:absolute;inset:0;background:#f4eee5;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:10;transition:opacity .6s}.loading-flower{font-size:60px;color:#b48b6b;animation:spin 8s infinite linear}#loading h2{font-size:23px;margin-top:14px}#loading p{font-size:12px}#error{position:absolute;inset:30% 20%;padding:40px;background:#fff5eb;border-radius:20px;z-index:20}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.pet-button{width:124px;height:131px}.avatar{width:138px;height:138px}.pet-button:before{inset:57px 6px 0}.pet-panel{right:50px}.actions{gap:9px}.actions button{width:57px}footer{gap:52px}}@media(max-width:1100px){header{padding:24px}.pet-panel{right:23px;width:195px;padding:17px}.pet-button{width:85px;height:111px}.avatar{width:105px;height:105px;left:-10px}#pets{gap:5px}footer{gap:17px;max-width:calc(100% - 24px)}.actions{gap:3px}.actions button{width:43px}.room-hint{left:25px}}@media(max-width:760px){header{padding:18px}.brand{font-size:16px}.brand-mark{font-size:28px}.header-right button{padding:9px;font-size:10px}.header-right .round{width:30px}.header-right #light span{display:none}.pet-panel{top:83px;right:14px;width:158px;padding:14px}.pet-panel h2{font-size:22px}.pet-panel>p{font-size:9px;margin-bottom:14px}.need{margin:10px 0}.need-label{font-size:8px}.pose-controls{margin-top:16px}.pose-controls button{font-size:9px;padding:6px 1px}.pose-meta{margin-bottom:11px;align-items:flex-start}.pose-meta .pose-status,.pose-meta label{font-size:8px}.tail-control,.tail-control select{font-size:9px}.tail-control select{max-width:111px}footer{bottom:12px;width:calc(100% - 16px);max-width:none;display:flex;flex-direction:column;align-items:center;gap:12px;padding:0}#pets{width:100%;justify-content:center;gap:1px}.pet-button{width:calc((100vw - 24px)/6);max-width:86px;height:84px;padding-bottom:9px;border-radius:11px}.pet-button:before{inset:38px 2px 0;border-radius:11px}.avatar{width:calc(100% + 14px);height:88px;left:-7px;bottom:18px}.pet-button b{font-size:9px}.actions{gap:12px;padding:0}.actions button{width:56px;font-size:9px;padding:7px 4px;background:#fffa}.actions button span{font-size:18px;margin-bottom:2px}.room-hint{bottom:195px;left:19px;font-size:8px}#reset-camera{bottom:185px;right:18px}#toast{bottom:202px;max-width:85%;width:max-content;font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}#roam[aria-pressed=true]{background:#dce2cd;color:#596448}#roam[aria-pressed=false]{opacity:.65}#pixel-settings{position:absolute;top:84px;right:38px;display:flex;align-items:center;gap:12px;padding:12px 15px;background:#f9f1dc;border:2px solid #817b60;box-shadow:4px 4px #5c594430;font:11px monospace;z-index:2}#pixel-settings[hidden]{display:none}#pixel-size{width:90px;accent-color:#69775b}#pixel-value{display:inline-block;min-width:12px}.pixel-edges{display:flex;align-items:center;gap:4px}.pixel-edges input{accent-color:#69775b}.pixel-mode{font-family:monospace;color:#4e513c}.pixel-mode h2,.pixel-mode .brand{font-family:monospace;letter-spacing:-1px}.pixel-mode .brand-mark{color:#6e805b}.pixel-mode .pet-panel{background:#f9f1dce8;border:2px solid #817b60;border-radius:0;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:5px 5px #5c59442e}.pixel-mode button,.pixel-mode .pose-controls,.pixel-mode #toast,.pixel-mode .track{border-radius:0}.pixel-mode .header-right button,.pixel-mode .actions button{background:#f9f1dc;border:1px solid #817b60;box-shadow:3px 3px #5c59442e}.pixel-mode #pixel-demo[aria-pressed=true]{background:#74825d;color:#fff8df}.pixel-mode .pet-button:before{border-radius:0;-webkit-backdrop-filter:none;backdrop-filter:none;background:#f9f1dc;border-bottom:3px solid #9b9d78}.pixel-mode .pet-button.selected:before{background:#d4ddad;border-color:#69764e}.pixel-mode .avatar img{image-rendering:pixelated}.pixel-mode .avatar{filter:none}.pixel-mode .pose-controls button[aria-pressed=true]{background:#d4ddad;box-shadow:none}.pixel-mode .fill{background:#849468}@media(max-width:760px){#pixel-settings{top:61px;right:14px;padding:7px;gap:7px;font-size:9px}#pixel-size{width:62px}.pixel-mode .pet-panel{top:110px}.header-right{gap:4px}.header-right #pixel-demo{padding:9px 6px}}@media(min-width:761px)and (max-width:1000px){footer{flex-direction:column;align-items:center;gap:8px}.actions{padding-bottom:0}.room-hint,#reset-camera{bottom:225px}#toast{bottom:230px}}html,body,#app{width:100%;height:100%;height:100dvh;overscroll-behavior:none}#scene canvas{touch-action:none}button{touch-action:manipulation}.pet-panel,.pixel-mode .pet-panel{inset:115px auto auto 38px;width:150px;padding:0;background:none;border:0;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;max-height:none;overflow:visible;pointer-events:none;text-shadow:0 1px 8px #fff9}.pet-panel h2{margin-bottom:18px;font-size:25px}#needs{display:block}.need{margin:13px 0}.need-label{font-size:11px}.track{background:#b4a18b40}.header-right #reset-camera{position:static;width:44px;height:44px;padding:0;font-size:24px}.header-right #animation-toggle{width:44px;height:44px;padding:0;display:grid;place-items:center}.header-right button{min-height:44px}#animation-toggle[aria-expanded=true]{background:#e6d7c3}#animation-menu{position:absolute;z-index:6;right:38px;top:88px;width:285px;padding:14px;background:#fcf7edf5;border:1px solid #cabcaa60;border-radius:16px;box-shadow:0 12px 36px #59452b15;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}#animation-menu[hidden]{display:none}#animation-menu .pose-controls{display:grid;grid-template-columns:repeat(3,1fr);margin:0;gap:4px;background:none;padding:0}#animation-menu .pose-controls button{min-height:44px;font-size:12px;background:#e8ddce55}#animation-menu .pose-controls button[aria-pressed=true]{background:#e0e5cf}#animation-menu .pose-meta{min-height:44px;margin:8px 0;align-items:center}#animation-menu .pose-meta label,#animation-menu .pose-status{font-size:11px}#animation-menu .pose-meta input{width:18px;height:18px}#animation-menu .tail-control{min-height:44px;font-size:12px}#animation-menu select{font-size:16px;max-width:195px;min-height:44px}.pixel-mode #animation-menu{border-radius:0;border:2px solid #817b60;background:#f9f1dc}.room-hint{bottom:188px}@media(max-width:760px),(max-height:500px)and (max-width:1000px){header{padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));gap:8px}.brand{font-size:12px;gap:5px}.brand-mark{font-size:25px}.brand-name{display:none}.header-right{gap:4px}.header-right button,.header-right #pixel-demo{min-width:44px;min-height:44px;padding:8px;font-size:11px}.header-right #light span{display:none}.pet-panel,.pixel-mode .pet-panel{top:calc(78px + env(safe-area-inset-top));left:max(18px,env(safe-area-inset-left));right:auto;bottom:auto;width:126px;padding:0;margin:0;max-height:none;overflow:visible;background:none;border:0;box-shadow:none}.pet-panel h2{font-size:22px;margin-bottom:14px}.need{margin:11px 0}.need-label{font-size:10px;margin-bottom:5px}#animation-menu{right:max(12px,env(safe-area-inset-right));top:calc(62px + env(safe-area-inset-top));width:min(285px,calc(100vw - 24px));padding:12px}footer{bottom:calc(8px + env(safe-area-inset-bottom));left:0;transform:none;width:100%;max-width:none;padding:0;gap:8px;flex-direction:column;align-items:center}#pets{width:100%;display:flex;justify-content:flex-start;align-items:flex-end;gap:8px;padding:12px max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left));overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:18px;scrollbar-width:none;touch-action:pan-x}#pets::-webkit-scrollbar{display:none}.pet-button{width:98px;max-width:none;min-width:98px;height:116px;padding-bottom:10px;scroll-snap-align:center}.avatar{height:115px;width:115px;left:-8px;bottom:20px}.pet-button b{font-size:11px}.pet-button:before{inset:57px 4px 0}.actions{width:calc(100% - 36px);max-width:500px;gap:6px;padding:0;justify-content:space-between}.actions button{width:auto;flex:1;min-width:44px;min-height:50px;font-size:11px;padding:6px 3px}.actions button span{font-size:19px;margin-bottom:2px}.room-hint{display:none}#toast{bottom:calc(207px + env(safe-area-inset-bottom));max-width:calc(100% - 24px);font-size:12px;width:max-content;z-index:5}#pixel-settings{top:calc(62px + env(safe-area-inset-top));left:auto;right:12px;max-width:calc(100% - 24px);min-height:44px;padding:6px 8px;gap:8px;font-size:11px;z-index:7}#pixel-size{width:80px;height:32px}.pixel-edges input{width:18px;height:18px}#error{inset:20% 16px auto;padding:24px}}@media(max-height:500px)and (max-width:1000px){footer{flex-direction:row;padding:0 18px;gap:12px;align-items:flex-end}#pets{flex:1;min-width:0;padding:10px 6px 0}.pet-button{height:85px;width:82px;min-width:82px}.avatar{height:88px;width:88px;left:-3px;bottom:18px}.pet-button:before{inset:38px 2px 0}.actions{width:245px;gap:4px;flex-shrink:0}.pet-panel,.pixel-mode .pet-panel{width:112px;top:68px}.pet-panel h2{font-size:19px;margin-bottom:8px}.need{margin:8px 0}#toast{bottom:112px}}
