#pet-open{position:fixed;z-index:16;left:20px;top:180px;max-width:210px;min-height:44px;padding:9px 13px;border:2px solid #c27b80;border-radius:20px;background:#fff1e6;color:#673c42;font-family:inherit;font-size:13px;font-weight:800;box-shadow:0 3px 9px #593c3124;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
#pet-open[hidden]{display:none}.pet-tag{border:1px solid #c77983!important;background:#fff2e7e8!important;color:#683943!important;padding:2px 5px!important;min-height:0!important;max-width:112px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px!important;line-height:1.25;font-weight:800;pointer-events:none!important;user-select:none;box-shadow:0 1px 3px #45352c22}#pet-open:focus-visible{outline:3px solid #236b96;outline-offset:3px}
#pet-dialog{width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:22px;box-sizing:border-box;border:3px solid #cf8f92;border-radius:26px;background:#fffaf0;color:#473c36;overflow:auto}#pet-dialog::backdrop{background:#20392a82}#pet-dialog h2{margin:12px 0 8px;overflow-wrap:anywhere;font-size:27px}#pet-dialog p{font-size:15px;line-height:1.55;margin:10px 0}#pet-close{position:absolute;right:12px;top:10px;width:40px;height:40px;border:none;border-radius:50%;background:#f7dedc;color:#764852;font-size:25px;cursor:pointer}#pet-portrait{display:block;width:100%;max-height:220px;object-fit:contain;border-radius:20px;background:#f2f4dc;margin-top:14px}#pet-portrait[hidden]{display:none}#pet-name-form label{display:block;font-weight:800;margin:12px 0 8px}#pet-name{width:100%;min-height:48px;box-sizing:border-box;padding:10px 12px;border:2px solid #b88c88;border-radius:12px;background:white;color:#493c36;font:inherit;font-size:17px}#pet-name-form small{display:block;margin:8px 0 14px;color:#705d50}#pet-save{width:100%;min-height:48px}#pet-error{color:#ae283f;min-height:20px;font-weight:700}#pet-care-actions{display:grid;gap:10px;margin-top:15px}#pet-care-actions[hidden],#pet-name-form[hidden]{display:none}#pet-care-actions button{min-height:46px}#pet-menu{min-height:44px}
body:has(#placement-bar:not([hidden])) #pet-open,body[data-panel]:not([data-panel="none"]) #pet-open{display:none}
@media(max-width:900px),(pointer:coarse){#pet-open{left:8px;top:116px;max-width:min(180px,55vw);font-size:12px;padding:8px 11px;min-height:40px}#pet-dialog{padding:20px 16px}.pet-tag{font-size:9px!important;max-width:100px}#pet-portrait{max-height:190px}}
@media(max-height:460px){#pet-open{top:111px;min-height:36px}#pet-portrait{max-height:110px}#pet-dialog{padding:14px}#pet-dialog h2{font-size:23px}#pet-dialog p{font-size:13px}}
