button.camp-pets-entry,#focusRoom button.camp-pets-entry {
  display:inline-flex;align-items:center;gap:.42em;min-height:44px;padding:7px 15px;border:1px solid #c5d7be;border-radius:100px;
  color:#355542;background:#f5f7e9;font-family:inherit;font-weight:650;font-size:.94rem;line-height:1.35;cursor:pointer;
}
.camp-pets-entry span {font-size:1.08em}
dialog.camp-pets-dialog {
  --pet-ink:#25493e;--pet-muted:#527065;--pet-paper:#fffdf5;--pet-edge:#c5d7c8;--pet-soft:#edf3e8;
  color-scheme:light;box-sizing:border-box;width:min(31rem,calc(100vw - 18px));max-width:100%;max-height:min(92dvh,52rem);
  margin:auto;padding:0;overflow:auto;overscroll-behavior:contain;border:1px solid #9cb6a8;border-radius:22px;background:var(--pet-paper);color:var(--pet-ink);
  font-family:inherit;text-align:left;box-shadow:0 15px 60px #182c3445;
}
.camp-pets-dialog::backdrop {background:#1b352f88}
.camp-pets-dialog [hidden] {display:none !important}
.camp-pets-dialog .pet-interior {padding:clamp(12px,3.2vw,22px)}
.camp-pets-dialog header {display:flex;align-items:center;gap:8px;position:static;margin:0 0 10px;padding:0;background:none;color:inherit;border:0;box-shadow:none}
.camp-pets-dialog header h2 {margin:0;font-size:clamp(1.35rem,4vw,1.7rem);line-height:1.3;font-weight:750;font-family:inherit;letter-spacing:.035em;color:var(--pet-ink)}
.camp-pets-dialog button {cursor:pointer;color:var(--pet-ink);font-family:inherit}
.camp-pets-dialog button:disabled {cursor:default}
.camp-pets-dialog :is(button,summary,[tabindex]):focus-visible {outline:3px solid #245c50;outline-offset:2px}
.camp-pets-dialog .pet-balance {margin-left:auto;padding:5px 10px;border-radius:18px;background:#fff0c8;color:#704c16;font-size:.94rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.camp-pets-dialog .pet-balance span {color:#a76808}
.camp-pets-dialog button.pet-close {padding:0;min-width:44px;min-height:44px;border:0;border-radius:50%;color:var(--pet-muted);background:transparent;font-size:1.8rem;line-height:1}
.pet-scene {position:relative;isolation:isolate;overflow:hidden;height:clamp(188px,31dvh,274px);border-radius:16px;background:#dfe9d6;border:1px solid var(--pet-edge)}
.pet-garden {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 67%;z-index:-1;pointer-events:none}
.pet-shadow {position:absolute;width:32%;height:7%;left:34%;bottom:6%;border-radius:50%;background:#55744b40;filter:blur(3px)}
.pet-portrait {position:absolute;bottom:5%;left:50%;transform:translateX(-50%);width:auto;height:84%;max-width:62%;object-fit:contain;object-position:bottom;pointer-events:none;user-select:none}
.camp-pets-dialog .pet-greet {position:absolute;bottom:5%;left:19%;width:62%;height:84%;padding:0;border:0;border-radius:18px;background:transparent}
.pet-greet .pet-portrait {bottom:0;width:100%;height:100%;max-width:100%}
.pet-greet span {position:absolute;bottom:0;right:0;border-radius:15px;background:#fffbeded;color:#365644;padding:3px 9px;font-size:.79rem;font-weight:650}
.camp-pets-dialog .pet-sound {position:absolute;top:6px;right:7px;min-height:44px;padding:0 11px;background:#fffbedee;border:1px solid #c4d0b4;border-radius:16px;font-size:.86rem;font-weight:650}
.camp-pets-dialog .pet-balance[hidden]+.pet-close {margin-left:auto}
.pet-adopt h3 {margin:0;color:var(--pet-ink);font-size:1.15rem}
.camp-pets-dialog .pet-adopt p {margin:4px 0 13px;color:var(--pet-muted);font-size:.93rem;line-height:1.5}
.pet-adopt-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.camp-pets-dialog .pet-adopt-cards button {display:grid;justify-items:center;gap:8px;padding:12px 5px 10px;border:1px solid #d5be8b;border-radius:14px;background:radial-gradient(ellipse at 50% 37%,#fff8da,#f4e7c4 80%);color:#5b461d}
.camp-pets-dialog .pet-adopt-cards button[data-pet=dog] {border-color:#b3c8b0;background:radial-gradient(ellipse at 50% 37%,#f8fae6,#e1ebd7 80%);color:#36533e}
.pet-adopt-cards img {display:block;width:100%;height:clamp(85px,23dvh,180px);object-fit:contain}
.pet-adopt-cards b {font-size:1rem}.pet-adopt-cards button:disabled {opacity:.65}
.camp-pets-dialog .pet-status {margin:8px 0;color:var(--pet-muted);font-size:.94rem;line-height:1.5;overflow-wrap:anywhere}
.camp-pets-dialog .pet-status:empty {margin:0}
.camp-pets-dialog .pet-retry {min-height:44px;padding:4px 13px;border:1px solid var(--pet-edge);border-radius:10px;background:var(--pet-soft);font-weight:650}
.pet-actions {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}
.camp-pets-dialog .pet-actions button {display:grid;align-content:center;justify-items:center;gap:2px;min-height:77px;min-width:0;padding:5px 2px;border:1px solid var(--pet-edge);border-radius:12px;background:#f4f6eb;line-height:1.35}
.pet-actions button>span {display:grid;place-items:center;min-height:30px;font-size:1.3rem}.pet-actions b {font-size:.92rem}.pet-actions small {color:var(--pet-muted);font-size:.74rem}
.camp-pets-dialog .pet-roam {width:100%;min-height:44px;margin-top:8px;padding:6px 12px;border:1px solid #adc8ac;border-radius:12px;background:#e5eee0;font-weight:700}
.camp-pets-dialog img[data-good-art] {display:block;width:30px;height:30px;object-fit:contain}
.camp-pets-dialog .pet-shop {margin-top:10px;border-top:1px solid var(--pet-edge);border-radius:0;color:var(--pet-ink);background:transparent}
.camp-pets-dialog .pet-shop summary {padding:12px 1px;min-height:44px;box-sizing:border-box;font-weight:700;line-height:1.5;cursor:pointer;color:var(--pet-ink)}
.pet-shop ul {list-style:none;margin:0;padding:0}.pet-shop li {display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px dotted var(--pet-edge)}
.pet-good-icon {width:2rem;text-align:center;font-size:1.5rem}.pet-good-copy {display:grid;gap:2px;flex:1;min-width:0}.pet-good-copy b {font-size:.95rem}.pet-good-copy small {font-size:.78rem;color:var(--pet-muted)}
.camp-pets-dialog .pet-shop button {min-height:44px;min-width:76px;padding:4px 8px;border:1px solid var(--pet-edge);border-radius:10px;font-weight:700;background:#e3ecdc}
.camp-pets-dialog .pet-shop button:disabled {background:transparent;color:var(--pet-muted);border-color:transparent}
@media(min-width:650px) {.camp-pets-dialog .pet-interior {padding:19px 23px 15px}.pet-actions {gap:9px}}
#homePetPlace:not(:empty) {margin:12px 0}
#roomPetPlace:not(:empty) {text-align:center;margin:8px 0}
