.pet-root{font-size:13px}.pet-preferences{display:flex;align-items:end;justify-content:space-between;gap:20px}.pet-preferences label,.pet-field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}.pet-root select,.pet-root button,.pet-stage-toolbar button{font:inherit;font-size:12px;min-height:42px;padding:9px 12px;border:1px solid #d5ff703b;border-radius:8px;background:#112318;color:#e0ead8}.pet-root button,.pet-stage-toolbar button{cursor:pointer}.pet-root button:hover:not(:disabled),.pet-stage-toolbar button:hover:not(:disabled){border-color:var(--lime)}.pet-root button:disabled,.pet-stage-toolbar button:disabled{opacity:.4;cursor:default}.pet-root button[aria-pressed=true],.pet-stage-toolbar button[aria-pressed=true]{background:var(--lime);color:#14200e}.pet-switch{flex-direction:row!important;align-items:center;min-height:44px;white-space:nowrap}.pet-switch input{width:24px;height:24px;accent-color:var(--lime)}.pet-switch strong{color:var(--lime)}.pet-root [hidden],.pet-stage-toolbar[hidden]{display:none!important}.pet-gaits{display:flex;flex-wrap:wrap;gap:6px}.pet-enabled-only h3{margin-top:24px}.pet-field select{max-width:100%;width:100%}.pet-recording-actions{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.pet-volume{max-width:220px}.pet-volume input{accent-color:var(--lime);width:100%;min-height:32px}.pet-credits{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}.pet-credits a{color:var(--lime)}#pet-recording-description{font-size:12px;line-height:1.6;color:var(--muted)}#pet-status{font-size:12px;min-height:20px;color:#d0e6bb}

/* Pet controls occupy their own flow row below the existing orbit scene.
   The original constellation, destination positions, and character stage are
   shared by pet-on and pet-off: adding a pet must not redesign navigation. */
:root{--pet-scene-height:clamp(590px,70svh,740px)}
html[data-pet=on] .experience:not([data-panel-side]){height:auto;min-height:0;padding-top:var(--pet-scene-height)}
html[data-pet=on] .experience:not([data-panel-side]) .hostess,
html[data-pet=on] .experience:not([data-panel-side]) .orbit-art,
html[data-pet=on] .experience:not([data-panel-side]) .constellation,
html[data-pet=on] .experience:not([data-panel-side]) .magic-trace{height:var(--pet-scene-height);bottom:auto}
.pet-stage-toolbar{position:relative;z-index:6;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 16px;width:100%;padding:12px 8px;margin:0;background:linear-gradient(0deg,#09130ff2,#09130f80);border-top:1px solid var(--line)}
.pet-stage-toolbar .pet-gaits{justify-content:center}
.pet-framing{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;min-width:0}
.pet-framing span{font-size:10px;color:var(--muted)}
.pet-framing [data-pet-stage-status]:empty{display:none}
.pet-stage-toolbar button{font-size:11px;min-height:44px;padding:9px 11px}
.experience[data-panel-side] .pet-stage-toolbar{display:none!important}
@media(max-width:1050px){:root{--pet-scene-height:640px}.pet-stage-toolbar{gap:8px}.pet-stage-toolbar .pet-gaits{max-width:660px}}
@media(max-width:700px){:root{--pet-scene-height:510px}.pet-stage-toolbar{padding:12px 0;gap:10px}.pet-stage-toolbar .pet-gaits{max-width:400px}.pet-stage-toolbar button{min-height:44px;font-size:11px;padding:8px 10px}.pet-preferences{gap:10px}.pet-root button,.pet-root select{font-size:12px}}
.pet-qa{max-width:1000px;margin:20px auto;padding:15px;border:1px solid var(--line);font-size:12px}.pet-qa pre{white-space:pre-wrap;max-height:350px;overflow:auto;font-size:10px}.pet-qa button{margin:10px 8px 10px 0;padding:9px;border:1px solid var(--line);background:#132219;color:var(--ink)}

[data-pet-only][hidden]{display:none!important}.local-preview-note{padding:10px 20px;text-align:center;background:#193528;color:#d9e8c7;font:11px/1.5 system-ui;letter-spacing:.06em}.local-preview-note a{color:#dbff85;margin-left:8px}

.bird-song-library{margin-top:22px;padding-top:2px;border-top:1px solid var(--line)}#bird-recording-description{font-size:12px;line-height:1.6;color:var(--muted)}#bird-library-count{color:#d0e6bb;font-size:12px}#bird-recording-meta{overflow-wrap:anywhere}.bird-song-library .pet-recording-actions{gap:7px}.bird-song-library .pet-credits{margin-top:12px}

.pet-preferences{align-items:center;flex-wrap:wrap}.pet-switches{display:flex;flex-wrap:wrap;gap:8px 20px}.pet-control-choice{min-width:160px}.pet-switches .pet-switch{font-size:13px}.pet-switches strong{margin-left:5px}@media(max-width:480px){.pet-preferences{align-items:stretch;gap:14px}.pet-switches{flex-basis:100%;justify-content:space-between;gap:8px}.pet-control-choice{width:100%}}
