/* Individual rooms and a clear separation between owned pets and eggs. */
.collection-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 12px}.collection-section-heading h2{font-size:21px}.collection-section-heading h2 small{font-size:12px;color:var(--muted);font-weight:500;margin-left:8px}.collection-help{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:18px}.owned-pets-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.owned-pets-grid .pet-card{padding:14px 12px;min-width:0;display:flex;flex-direction:column}.owned-pets-grid .pet-card-art{width:100%;aspect-ratio:1;display:grid;place-items:center}.pet-card-art .rest-pet{width:100%}.owned-pets-grid .pet-card-name{flex-wrap:wrap;justify-content:center}.owned-pets-grid .pet-card h3{font-size:15px;overflow-wrap:anywhere}.owned-pets-grid .pet-card p{font-size:11px}.pet-card-actions{display:grid;gap:8px;margin-top:auto;padding-top:15px}.pet-card-actions .secondary{margin:0;padding:10px 5px;font-size:11px}.party-toggle,.pet-room-button{border-radius:10px;padding:11px 7px;font-size:11px;background:#f4f6f8;color:#435767;line-height:1.5}.party-toggle.in-party{background:#e8f1ed;color:#30614d}.pet-room-button{background:white;border:1px solid #dfe6e3;color:#52665d}.pet-health{width:100%;margin:14px 0 0;text-align:left}.pet-health>div:first-child{display:flex;justify-content:space-between;font-size:10px}.pet-health b{font-weight:600}.pet-health .progress{margin-top:6px;height:6px}.pet-health small{display:block;margin-top:6px;font-size:10px;color:#6b7e75}.pet-health.exhausted small{color:#aa625e}.pet-health.exhausted .progress i{background:#d7847a}.owned-eggs-section{margin-top:32px}.egg-storage-card{display:flex;gap:24px;align-items:center}.egg-storage-card h3{margin-bottom:9px}.egg-storage-card p{font-size:12px;color:var(--muted);line-height:1.8}.egg-storage-art{width:72px;flex:0 0 72px;display:grid;place-items:center}.egg-storage-art .egg{width:53px;height:68px}.egg-storage-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.egg-storage-actions .secondary{font-size:11px}.care-room-picker{margin:14px 18px 0;min-width:0}.care-room-floor{display:flex;align-items:center;gap:12px;margin-bottom:10px}.care-room-floor>span{flex:none;font-size:12px;font-weight:600;color:#65796c}.care-room-floor select{display:block;box-sizing:border-box;flex:1;width:0;min-width:0;height:44px;padding:0 12px;border:1px solid #dfe6e3;border-radius:11px;background:#fff;color:#3e594b;font:inherit;font-size:16px;cursor:pointer;color-scheme:light}.care-room-floor option{color:#354e40;background:#fff}.care-room-row{display:grid;grid-template-columns:repeat(var(--care-room-columns),minmax(0,1fr));gap:8px}.care-room-choice{min-width:0;min-height:82px;padding:10px 6px;border:1px solid #e0e7e2;border-radius:12px;background:#f8faf8;color:#425b4b;display:flex;flex-direction:column;align-items:stretch;gap:5px;text-align:center;font:inherit;cursor:pointer}.care-room-choice small{font-size:10px;color:#6b8072}.care-room-choice strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.care-room-choice span{font-size:10px;line-height:1.3;min-height:13px;color:#778b7e}.care-room-choice:hover{background:#eef5ef;border-color:#a3bcae}.care-room-choice.is-current{background:#edf5eb;border-color:#709778;box-shadow:inset 0 0 0 1px #709778}.care-room-choice.is-current small,.care-room-choice.is-current span{color:#456b4c}.care-room-picker :is(button,select):focus-visible{outline:2px solid #719b81;outline-offset:3px}.care-room-picker :is(button,select):disabled{cursor:wait;opacity:.65}.room-rest-panel{margin:0 22px 20px;padding:15px 16px;background:#f4f7f6;border:1px solid #e7ece9;border-radius:14px;display:grid;grid-template-columns:100px 1fr;gap:18px;align-items:center}.room-rest-panel .pet-health{margin:0}.room-rest-panel.needs-rest{border-color:#eadbd5;background:#fcf8f5}.rest-details p{font-size:11px;line-height:1.75;color:#68796e}.rest-details button{padding:9px 13px;margin-top:10px;font-size:11px}.rest-details strong{display:block;font-variant-numeric:tabular-nums;font-size:20px;letter-spacing:1px;margin-top:6px;color:#55665f}.room-pet-display .rest-pet{width:100%;height:100%;--rest-pet-size:100%;margin:0}.catalog-portrait{position:relative}.catalog-form.unobtained .sprite{filter:brightness(0) blur(10px);opacity:.065;pointer-events:none;user-select:none}.catalog-form.unobtained .catalog-lock{position:absolute;inset:0;display:grid;place-items:center;color:#89938e;font-size:28px;font-weight:500}.catalog-form.unobtained h4{color:#99a09b;letter-spacing:3px}.catalog-form.unobtained{background:#f5f6f5}.type-chart-panel{margin-top:20px}.type-chart-panel>p{font-size:11px;line-height:1.8;margin-top:10px}.type-chart-panel .type-table{min-width:850px}.type-chart-panel th:first-child{position:sticky;left:0;background:#fff;z-index:1}.type-chart-panel td{font-variant-numeric:tabular-nums}.element-ghost{background:#ede5f4;color:#765395}.element-dark{background:#e8e8ec;color:#525466}.element-fighting{background:#f7e7df;color:#a15f41}.element-poison{background:#f1e3f2;color:#995c9f}.element-bug{background:#eef2d8;color:#7a8741}.element-steel{background:#e4ebed;color:#657d86}.battle-rest-note{font-size:12px;line-height:1.7;margin:10px auto;text-align:center;max-width:520px}
@media(max-width:760px){.owned-pets-grid{grid-template-columns:1fr;gap:16px}.owned-pets-grid .pet-card{padding:18px}.owned-pets-grid .pet-card-art{width:190px;height:190px;margin:auto}.owned-pets-grid .pet-card h3{font-size:18px}.pet-card-actions{grid-template-columns:1fr;width:100%;margin-top:0}.pet-room-button{grid-column:1/-1}.owned-pets-grid .pet-health{max-width:300px;margin:14px auto 0}.collection-section-heading h2{font-size:20px}.collection-help{font-size:11px}.egg-storage-card{padding:18px;gap:16px}.egg-storage-actions{flex-direction:column}.egg-storage-actions .secondary{width:100%}.room-rest-panel{margin:0 16px 16px;grid-template-columns:85px 1fr;gap:13px}.care-room-picker{margin:12px 15px 0}.catalog-form.unobtained .sprite{filter:brightness(0) blur(9px);opacity:.065}}

.rest-preview-scene{display:grid;place-items:center;margin:20px auto}.rest-preview-scene .rest-pet{width:min(300px,100%)}

/* Deliberate per-pet goodbye: quiet in the list, explicit in confirmation. */
.pet-release-button{min-height:44px;border:1px solid #d9aaa4;border-radius:10px;background:transparent;color:#9c5c58;font-size:12px;padding:10px 12px}.pet-release-button:hover{background:#fcf1ef;color:#87423e}.pet-release-button:focus-visible,.release-pet-actions button:focus-visible{outline:3px solid #d38a70;outline-offset:3px}.release-pet-dialog{text-align:center}.release-pet-dialog h2{font-size:23px}.release-pet-portrait{display:grid;place-items:center;width:min(190px,60vw);aspect-ratio:1;margin:12px auto 4px}.release-pet-portrait .sprite,.release-pet-portrait .rest-pet{width:100%;height:100%;margin:0}.release-pet-dialog h3{font-size:20px;overflow-wrap:anywhere;margin-bottom:5px}.release-pet-identity{font-size:12px;color:var(--muted)}.release-pet-warning{font-size:14px;line-height:1.8;margin-top:20px;color:#6d433b}.release-last-pet{font-size:12px;line-height:1.8;padding:12px;border-radius:10px;background:#fff6e9;color:#805f36;margin-top:12px}.release-pet-status{font-size:12px;line-height:1.7;color:#9a514a;min-height:1.7em;margin-top:12px}.release-pet-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.release-pet-actions button{min-height:46px;margin:0;border-radius:12px;padding:12px 10px;font-size:13px}.release-pet-confirm{background:#a95d52;color:white;border:1px solid #a95d52}.release-pet-confirm:hover:not(:disabled){background:#90483f}.release-pet-confirm:disabled{opacity:.55;cursor:not-allowed}.release-pet-confirm[aria-busy="true"]{cursor:wait}
@media(max-width:760px){.pet-release-button{grid-column:1/-1}.release-pet-dialog h2{font-size:21px}.release-pet-portrait{width:160px}.release-pet-warning{font-size:13px}}

/* Stored eggs can begin incubation directly from any pet care room. */
.care-egg-storage{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 18px 0;padding:12px 14px;border:1px solid #e0e7e2;border-radius:12px;background:#f8faf8;color:#425b4b}.care-egg-storage strong{min-width:0;font-size:13px;overflow-wrap:anywhere}.care-egg-storage .secondary{flex:none;min-height:44px;margin:0;padding:10px 14px;font-size:12px;white-space:nowrap}
@media(max-width:760px){.care-egg-storage{margin:12px 15px 0;padding:10px 12px;gap:8px}.care-egg-storage .secondary{padding:10px 12px}}
