:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,PingFang SC,Microsoft YaHei,sans-serif;color:#314d3e;background:transparent;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;overflow:hidden;background:transparent}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #78ad85;outline-offset:3px}[hidden]{display:none!important}#app{width:100%}.stage-shell{width:var(--stage-width);height:480px;position:relative}.pet-stage{position:relative;width:var(--stage-width);height:480px;isolation:isolate;user-select:none}canvas{position:absolute;top:0;left:0;display:block;touch-action:none}.preview-heading,.preview-footer,.preview-tag{display:none}.pet-controls{position:absolute;top:421px;left:60px;width:390px;display:flex;gap:7px;align-items:center;justify-content:center;pointer-events:none}.status-pill{min-height:31px;border-radius:14px;border:1px solid #cfdbcaa8;background:#fbf9eecf;box-shadow:0 3px 14px #2c503716;padding:4px 13px;color:#60765f;font-size:11px;line-height:16px;font-weight:500;letter-spacing:.02em;white-space:pre-line;display:inline-flex;align-items:center;gap:7px;backdrop-filter:blur(12px)}#dismiss-notice{pointer-events:auto;font-size:18px;padding:0}.status-dot{width:5px;height:5px;border-radius:50%;background:#81ac7b;box-shadow:0 0 0 3px #81ac7b18;flex-shrink:0}.needs-permission .status-dot{background:#d3a265;box-shadow:0 0 0 3px #d3a26518}.private-status .status-dot{background:#6c94a5;box-shadow:0 0 0 3px #6c94a518}.icon-button{border:0;border-radius:50%;width:30px;height:30px;padding:6px;background:transparent;color:#6d8169;display:inline-grid;place-items:center;flex-shrink:0;transition:background .15s,color .15s}.icon-button:hover{background:#e9eedd;color:#35533d}.icon-button svg{width:18px;height:18px}.brand-mark{width:38px;height:38px;background:#e5eedb;border:1px solid #dce8d2;border-radius:13px;color:#65875d;display:inline-grid;place-items:center}.brand-mark svg{width:24px;height:24px}.settings-window #app{height:100vh;outline:none}.preview-settings{position:fixed;z-index:10;inset:0;display:grid;place-items:center;background:#0000003d}.preview-settings .settings-panel{width:min(760px,calc(100vw - 20px));height:min(596px,calc(100dvh - 24px));border-radius:14px;box-shadow:0 18px 64px #0000003d;border:1px solid var(--pref-border)}.settings-panel{color-scheme:light dark;--pref-bg: #fff;--pref-side: #f7f7f7;--pref-text: #171717;--pref-muted: #666;--pref-border: #dedede;--pref-line: #eaeaea;--pref-hover: #eee;--pref-selected: #e7e7e7;--pref-strong: #232323;--pref-inverse: white;--pref-track: #aaa;--pref-knob: white;--pref-on: #232323;--pref-on-knob: white;--pref-focus: #2675bc;--pref-status: #378257;position:relative;container-type:inline-size;width:100%;height:100%;overflow:hidden;background:var(--pref-bg);color:var(--pref-text);font-size:15px;line-height:1.5}@media(prefers-color-scheme:dark){.settings-panel{--pref-bg: #212121;--pref-side: #191919;--pref-text: #f3f3f3;--pref-muted: #aaa;--pref-border: #424242;--pref-line: #363636;--pref-hover: #303030;--pref-selected: #353535;--pref-strong: #efefef;--pref-inverse: #202020;--pref-track: #686868;--pref-knob: #eee;--pref-on: #eee;--pref-on-knob: #262626;--pref-focus: #8bbcf4;--pref-status: #79c298}}.panel-layout{display:grid;grid-template-columns:178px minmax(0,1fr);height:100%}.panel-titlebar{position:absolute;z-index:1;inset:0 0 auto;height:36px;display:flex;align-items:center;justify-content:flex-end;padding-inline:9px;user-select:none}.settings-window #close-settings{display:none}.settings-window:not(.mac-settings) .panel-titlebar{display:none}.panel-sidebar{min-height:0;display:flex;flex-direction:column;padding:49px 10px 14px;background:var(--pref-side);border-right:1px solid var(--pref-line)}.panel-sidebar h2{padding-inline:12px;margin:0 0 17px;font-size:17px;font-weight:650}.panel-sidebar nav{display:flex;flex-direction:column;gap:3px}.panel-sidebar nav button{border:0;background:transparent;color:var(--pref-muted);display:flex;align-items:center;gap:10px;border-radius:7px;padding:9px 11px;width:100%;text-align:left;font-size:15px;line-height:20px}.panel-sidebar nav svg{width:18px;height:18px;flex-shrink:0}.panel-sidebar nav button:hover{background:var(--pref-hover);color:var(--pref-text)}.panel-sidebar nav button[aria-current=page]{background:var(--pref-selected);color:var(--pref-text);font-weight:600}.panel-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:auto 4px 0;padding:14px 5px 0;border-top:1px solid var(--pref-border)}.panel-footer strong,.panel-footer span{display:block}.panel-footer strong{font-size:13px;font-weight:600}.panel-footer span{color:var(--pref-muted);font-size:12px;font-variant-numeric:tabular-nums}.settings-panel .icon-button{color:var(--pref-muted);border-radius:7px}.settings-panel .icon-button:hover{color:var(--pref-text);background:var(--pref-hover)}.panel-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:47px clamp(20px,4.5cqw,40px) 28px;scrollbar-width:thin}.panel-scroll>section{width:100%;max-width:760px;margin-inline:auto}.panel-scroll h1{font-size:26px;line-height:1.35;letter-spacing:-.035em;font-weight:650;margin:0 0 25px}.panel-scroll h3{margin:22px 0 8px;font-size:15px;line-height:1.5;font-weight:600}.pref-group{border:1px solid var(--pref-border);border-radius:12px;padding-inline:16px}.pref-row{display:flex;align-items:center;justify-content:space-between;gap:17px;padding:15px 0;min-height:58px}.pref-row+.pref-row{border-top:1px solid var(--pref-line)}.language-row>div{flex:1 1 auto;min-width:0;text-align:start}#language-note span{display:block}.language-row select{flex:none}.pref-label{font-size:16px;font-weight:550;line-height:1.45}.sound-options{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.auto-swap-controls{display:flex;align-items:center;flex-shrink:0;gap:12px}.minutes-field{display:inline-flex;align-items:center;gap:6px;color:var(--pref-muted);font-size:14px}.minutes-field input{width:64px;padding:4px 7px;border:1px solid var(--pref-border);border-radius:7px;background:var(--pref-bg);color:var(--pref-text);font:inherit;font-variant-numeric:tabular-nums;text-align:end}.breed-select{min-width:96px;padding:5px 8px;border:1px solid var(--pref-border);border-radius:7px;background:var(--pref-bg);color:var(--pref-text);font:inherit;cursor:pointer}.pref-row p,.pref-note{margin:3px 0 0;color:var(--pref-muted);font-size:13.5px;line-height:1.55;overflow-wrap:anywhere}.pref-note{margin:10px 2px 0}.scale-control{display:flex;align-items:center;min-width:0;gap:10px}.scale-control output{min-width:42px;text-align:end;color:var(--pref-muted);font-size:14px;font-variant-numeric:tabular-nums}.scale-control input{--filled: 46.67%;appearance:none;-webkit-appearance:none;width:clamp(75px,15cqw,145px);height:22px;margin:0;border:0;background:transparent;cursor:pointer}.scale-control input::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--pref-strong) var(--filled),var(--pref-border) var(--filled))}.scale-control input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;margin-top:-5px;background:var(--pref-strong);border:2px solid var(--pref-bg);border-radius:50%;box-shadow:0 0 0 1px var(--pref-border)}.scale-control input::-moz-range-track{height:4px;background:var(--pref-border);border-radius:4px}.scale-control input::-moz-range-progress{height:4px;background:var(--pref-strong);border-radius:4px}.scale-control input::-moz-range-thumb{width:11px;height:11px;background:var(--pref-strong);border:2px solid var(--pref-bg);border-radius:50%}.switch{flex-shrink:0;width:36px;height:22px;border:none;padding:3px;border-radius:20px;background:var(--pref-track);transition:background .14s}.switch>span{display:block;width:16px;height:16px;border-radius:50%;background:var(--pref-knob);transition:transform .14s}.switch[aria-checked=true]{background:var(--pref-on)}.switch[aria-checked=true]>span{transform:translate(14px);background:var(--pref-on-knob)}.permission-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.settings-panel .primary-button,.settings-panel .secondary-button{flex-shrink:0;border-radius:7px;padding:5px 10px;font-size:14px;line-height:1.5;border:1px solid var(--pref-border);background:var(--pref-bg);color:var(--pref-text);white-space:nowrap}.settings-panel .secondary-button:hover:enabled{background:var(--pref-hover)}.settings-panel .primary-button{color:var(--pref-inverse);background:var(--pref-strong);border-color:transparent}.settings-panel .primary-button:hover:enabled{opacity:.85}.settings-panel button:disabled{color:var(--pref-muted);background:var(--pref-side)}.pref-group.notes{padding-block:15px}.pref-group.notes .pref-note{margin:0 0 10px}.pref-group.notes .pref-note:last-child{margin-bottom:0}.about-brand{display:flex;flex-direction:column;gap:2px;padding:16px}.about-brand strong{font-size:17px;font-weight:650}.about-brand span{color:var(--pref-muted);font-size:13px;font-variant-numeric:tabular-nums}.about-brand p{margin:4px 0 0;color:var(--pref-muted);font-size:13.5px}.update-row{display:flex;align-items:center;justify-content:space-between;gap:17px;padding:15px 0;min-height:58px}.update-row>div{min-width:0}.update-row p{margin:3px 0 0;color:var(--pref-muted);font-size:13.5px;line-height:1.55}.update-notes{white-space:pre-line}.update-progress{margin-top:9px;height:4px;border-radius:999px;background:var(--pref-line);overflow:hidden}.update-progress>span{display:block;height:100%;border-radius:inherit;background:var(--pref-strong);transition:width .2s ease}.update-links{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin:0;padding:10px 0 14px;border-top:1px solid var(--pref-line);color:var(--pref-muted);font-size:13px}.link-button{border:0;background:none;padding:0;color:var(--pref-focus);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.fullscreen-add{display:flex;padding:2px 0 12px}.fullscreen-empty{margin:0 0 12px}.fullscreen-add{gap:8px}.running-apps-host:not(:empty){padding-bottom:12px}.running-apps{display:flex;flex-direction:column;gap:6px;max-height:220px;overflow-y:auto}.running-app{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%;text-align:left;padding:8px 12px;border-radius:9px;cursor:pointer;border:1px solid var(--pref-border);background:transparent;color:inherit;font:inherit;min-width:0}.running-app:hover{background:var(--pref-hover)}.running-app-name{font-size:13.5px;flex-shrink:0;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.running-app-title{color:var(--pref-muted);font-size:12px;flex:1 1 auto;min-width:0;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pill-row{display:flex;flex-wrap:wrap;gap:8px;padding:6px 0 14px}.app-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 6px 5px 12px;border-radius:999px;border:1px solid var(--pref-border);background:var(--pref-hover);font-size:13px;max-width:100%}.app-pill-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-pill-remove{border:0;background:none;color:var(--pref-muted);cursor:pointer;font-size:15px;line-height:1;padding:2px 4px;border-radius:50%}.app-pill-remove:hover{background:var(--pref-line);color:var(--pref-strong)}.connection-status{display:inline-flex;gap:6px;align-items:center;flex-shrink:0;color:var(--pref-muted);font-size:13px}.connection-status:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.connection-status.is-ready:before{background:var(--pref-status)}.settings-panel :is(button,input,select):focus-visible{outline:2px solid var(--pref-focus);outline-offset:2px}.settings-panel #panel-toast{inset:auto 14px 14px auto;max-width:calc(100% - 28px);padding:8px 14px;border-radius:9px;background:var(--pref-strong);color:var(--pref-inverse);box-shadow:0 4px 18px #00000029}@container (max-width: 620px){.panel-layout{grid-template:auto minmax(0,1fr) / minmax(0,1fr)}.panel-sidebar{display:grid;grid-template-columns:1fr auto;padding:37px 15px 9px;border:0;border-bottom:1px solid var(--pref-line)}.panel-sidebar h2{align-self:center;padding:0 5px;margin:0}.panel-sidebar nav{grid-column:1 / -1;grid-row:2;flex-direction:row;margin-top:7px}.panel-sidebar nav button{width:auto;padding:6px 9px;gap:6px;font-size:14px}.panel-sidebar nav svg{width:16px;height:16px}.panel-footer{grid-column:2;grid-row:1;margin:0;padding:0;border:0}.panel-footer>div{display:flex;align-items:baseline;gap:5px}.panel-scroll{padding:18px 19px 26px}.panel-scroll h1{font-size:23px;margin-bottom:15px}.panel-scroll h3{margin-top:16px}.permission-row{align-items:flex-start;flex-wrap:wrap;gap:8px}.permission-actions{justify-content:flex-start}}.toast{position:absolute;z-index:30;left:35px;right:35px;bottom:29px;padding:12px 16px;border-radius:14px;background:#35523fea;color:#fffef2;font-size:14px;line-height:1.7;box-shadow:0 6px 30px #25443125;backdrop-filter:blur(12px)}body.preview{min-height:100vh;overflow:auto;background:radial-gradient(ellipse at 24% 18%,#faf7e9 0,transparent 52%),radial-gradient(ellipse at 78% 74%,#d5e4d2 0,transparent 52%),#eaf0df}.preview #app{min-height:100vh;padding:48px 16px 28px;display:flex;flex-direction:column;align-items:center}.preview .preview-heading{display:flex;align-items:center;gap:13px}.preview-heading .brand-mark{background:#f8faefa1;border-color:#d9e3cf;width:43px;height:43px;border-radius:15px}.preview-heading h1{margin:0;font-size:23px;font-weight:600;letter-spacing:-.04em;color:#3f6347}.preview-heading p{color:#93a287;font-size:11px;margin:6px 0 0;letter-spacing:.07em}.preview .stage-shell{margin-top:5px}.preview .preview-tag{display:flex;position:absolute;top:23px;left:128px;gap:6px;align-items:center;font-size:9px;color:#9ba88b;letter-spacing:.03em}.preview-tag span{width:4px;height:4px;border-radius:50%;background:#a4b692}.preview .preview-footer{display:block;text-align:center;margin-top:17px}.demo-buttons{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.demo-buttons button{border:1px solid #d3dfc8;background:#f8faef96;color:#7a916c;border-radius:20px;padding:9px 14px;font-size:10px;transition:all .15s}.demo-buttons button:hover,.demo-buttons button.playing{background:#76966a;border-color:#76966a;color:#fffdf1}.preview-footer p{font-size:9px;color:#a2ae95;margin:15px 0 0;line-height:1.7}@media(max-width:479px){.preview #app{padding-top:25px}.preview .stage-shell{transform:scale(.82);transform-origin:top center;margin-bottom:-86px}.preview-heading h1{font-size:21px}.preview-footer p{max-width:300px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
