.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.collection-heading h2{margin:0 0 5px;font-size:24px;line-height:1.2;color:var(--ink,#493f35)}.collection-heading p{margin:0;font-size:14px;line-height:1.6;color:var(--muted,#82766a)}.collection-count{flex-shrink:0;font-size:13px;font-weight:700;color:#6b775b;background:#eef0e4;border-radius:20px;padding:7px 11px}.collection-entry{display:flex;flex-direction:column;min-width:0}.collection-entry .creature-card{flex:1;border-bottom-left-radius:0;border-bottom-right-radius:0}.collection-card-action{display:grid;justify-items:center;gap:7px;padding:13px 12px;background:#f4f3e9;border:1px solid #e4dfd3;border-top:0;border-radius:0 0 20px 20px}.collection-card-action small{color:#81796c;font-size:11px;text-align:center}.collection-button{min-height:36px;font-size:13px;padding:8px 14px}.collection-button svg{width:16px;height:16px}.resting-nook{margin-top:32px;padding:26px;background:#f8f4e9;border:1px solid #e6dfcc;box-shadow:none}.collection-capacity{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e4ddcb;font-size:12px;color:#7d745f}.collection-capacity span:first-child{font-weight:700}.resting-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.resting-card{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;background:#fffdf8;border:1px solid #e5dfd0;border-radius:16px;padding:13px}.resting-portrait .creature-portrait{width:64px;height:64px}.resting-copy{min-width:0}.resting-copy a{text-decoration:none;color:inherit}.resting-copy h3{font-size:16px;margin:0 0 4px;overflow-wrap:anywhere}.resting-copy p{font-size:12px;margin:0 0 5px;line-height:1.4;color:#807566}.resting-copy small{font-size:11px;color:#7c8768}.resting-card>.collection-button{grid-column:1/-1;width:100%;background:#e9eddf;color:#536449;border-color:#d8dfcc}.collection-empty{font-size:14px;line-height:1.7;color:#7c7363;grid-column:1/-1}.collection-feedback:empty{display:none}.collection-feedback{font-size:13px;color:#566449;margin:15px 0 0}.collection-search{display:flex;align-items:center;gap:12px;font-size:12px;color:#756b5c;margin-bottom:18px}.collection-search input{flex:1;min-width:0;max-width:320px;border:1px solid #dfd6c5;border-radius:10px;padding:9px 12px;background:#fffdf8;font:inherit;font-size:16px}.collection-swap-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:50vh;overflow:auto}.collection-swap-choice{display:flex;align-items:center;gap:9px;min-width:0;background:#f7f4eb;border:1px solid #e3ddce;border-radius:13px;padding:9px;text-align:left;font:inherit;cursor:pointer}.collection-swap-choice>.creature-portrait{width:44px;height:44px;flex-shrink:0}.collection-swap-choice strong{font-size:14px;overflow-wrap:anywhere}.collection-swap-choice small{display:block;font-size:11px;color:#857a68;margin-top:3px}.collection-swap-choice>span:last-child{margin-left:auto;font-size:11px;white-space:nowrap;color:#697c55}.collection-swap-choice:disabled{opacity:.55;cursor:default}.collection-menu-link{display:block;margin-top:8px;text-align:center;font-size:12px;color:inherit;padding:7px;text-decoration:none}.collection-rest-note{background:#edf0e5;padding:12px 15px;border-radius:12px;font-size:13px;color:#647253}.resting-card+.collection-button,[data-resting-list]>.collection-button{margin-top:16px}.collection-swap .modal-footer>.button{flex:0 0 auto;min-height:36px;font-size:13px;padding:8px 14px}
@media(max-width:1100px){.resting-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.resting-nook{padding:18px 14px;margin-top:24px}.collection-heading{align-items:flex-start;gap:10px}.collection-heading h2{font-size:21px}.collection-heading p{font-size:13px}.collection-count{font-size:11px;padding:6px 9px;white-space:nowrap}.resting-grid{gap:10px}.resting-card{grid-template-columns:1fr;text-align:center;gap:8px;padding:11px 8px}.resting-portrait{justify-self:center}.resting-copy h3{font-size:15px}.resting-copy p{min-height:32px}.resting-card>.collection-button{font-size:12px;padding:9px 6px}.collection-swap-list{grid-template-columns:1fr}.collection-search{display:block}.collection-search input{width:100%;max-width:none;display:block;margin-top:7px}.collection-capacity{gap:5px}.collection-button{touch-action:manipulation}.collection-card-action small{min-height:28px}}

/* Littlekin compact active collection heading v1 */
.collection-active>.collection-heading--active{justify-content:flex-end;gap:0;margin-bottom:12px}

/* A warm, compact shelf for collectors, between active friends and the nook. */
.hatchery{margin:24px 0;padding:24px;background:#fbf8ee;border:1px solid #e7dfc9;border-radius:20px;scroll-margin-top:90px}
.hatchery:focus{outline:none}.hatchery:focus-visible{outline:2px solid #a89564;outline-offset:3px}
.hatchery-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.hatchery-heading h2{font-size:24px;color:#78633f;margin:0 0 5px;letter-spacing:-.025em}
.hatchery-heading p{font-size:13px;line-height:1.5;color:#8c7c60;margin:0}
.hatchery-heading>span{color:#8a754d;font-size:12px;white-space:nowrap}
.hatchery-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:10px}
.hatchery-filters label{display:grid;gap:4px;font-size:11px;color:#887553;min-width:145px;flex:0 1 190px}
.hatchery-filters .select-control{width:100%;min-height:38px;background:#fffdf7;border:1px solid #e4dac3;border-radius:10px;color:#6d634e;padding:8px 28px 8px 10px;font:inherit;font-size:13px}
.hatchery-filters>a{font-size:12px;min-height:38px;align-self:end;margin-left:auto}
.hatchery-results{font-size:11px;color:#958566;margin:12px 0}
.hatchery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.hatchery-card{position:relative;min-width:0;background:#fffdf7;border:1px solid #e9e1cf;border-radius:15px;padding:13px 12px 8px;display:flex;flex-direction:column;align-items:stretch}
.hatchery-quantity{position:absolute;right:10px;top:9px;z-index:1;border-radius:6px;background:#f1ebd9;color:#8a754a;font-size:11px;padding:3px 6px}
.hatchery-egg{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;color:#6c5b3f;padding:2px 0 0;cursor:pointer;font:inherit;text-align:center}
.hatchery-egg .item-art{width:94px;height:94px;object-fit:contain;mix-blend-mode:multiply}
.hatchery-egg strong{font-size:13px;font-weight:500;line-height:1.4;min-height:2.8em;display:flex;align-items:center;justify-content:center}
.hatchery-card-meta{text-align:center;display:grid;gap:3px;margin:6px 0 11px}
.hatchery-card-meta>span{font-size:11px;color:#8a7e58}.hatchery-card-meta small{font-size:10px;color:#9b8e76}
.hatchery-card.rarity-5 .hatchery-card-meta>span{color:#9c7830}.hatchery-card.rarity-4 .hatchery-card-meta>span{color:#a76c54}.hatchery-card.rarity-3 .hatchery-card-meta>span{color:#8a73a0}
.hatchery-card-actions{margin-top:auto;border-top:1px solid #eee8db;padding-top:7px;display:flex;align-items:center;justify-content:space-between;gap:3px}
.hatchery-card-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:5px;border:0;border-radius:7px;background:none;color:#7b7956;font:inherit;font-size:10px;cursor:pointer}
.hatchery-card-actions button:hover{background:#f0ebdc}.hatchery-card-actions .icon{width:14px;height:14px}.hatchery-card-actions button:last-child{width:34px;flex:none}
.hatchery-empty{font-size:13px;color:#8c7c60;padding:18px 0;line-height:1.6}
.hatchery-more{margin-top:15px;font-size:12px}
.kindred-egg-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.kindred-egg-actions .button{padding:8px 11px;min-height:36px;font-size:12px}.kindred-egg-actions .icon{width:14px;height:14px}
@media(max-width:650px){.hatchery{padding:19px 15px}.hatchery-heading h2{font-size:22px}.hatchery-heading{gap:10px}.hatchery-filters{gap:9px}.hatchery-filters label{min-width:0;flex:1}.hatchery-filters>a{flex-basis:100%;margin-left:0;min-height:25px;justify-content:flex-start}.hatchery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hatchery-card{padding:10px 8px 6px}.hatchery-egg .item-art{width:82px;height:82px}.hatchery-egg strong{font-size:12px}.hatchery-card-actions button{font-size:9px;gap:3px;padding:4px 2px}.hatchery-card-actions button:first-child>.icon{display:none}}

/* community-care-v1: compact needs in the family collection. */
.collection-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:0;padding:18px 20px;background:#fff;border-inline:1px solid var(--border,#e1e7e4)}
.collection-stat{position:relative;min-width:0;padding-bottom:7px}.collection-stat dt{display:flex;align-items:center;gap:5px;color:#698080;font-size:11px}.collection-stat dt .icon{width:13px;height:13px}.collection-stat dd{margin:3px 0 0;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}.collection-stat dd span{color:#8b9a9b;font-weight:400;font-size:11px}.collection-stat-track{position:absolute;inset:auto 0 0;height:3px;background:#edf1ee;border-radius:3px;overflow:hidden}.collection-stat-track i{display:block;height:100%;background:#a7c9ae}.collection-stat.happiness i{background:#d8b6bd}.collection-stat.cleanliness i{background:#a7c6db}.collection-stat.energy i{background:#c6b9db}
.collection-card-action{display:flex;flex-wrap:wrap;gap:9px;align-items:center;justify-content:space-between}.collection-card-action .collection-care{flex:1 1 100%;min-width:0;min-height:40px;font-size:12px}.collection-card-action>small{flex:1 1 100%;min-height:3em;display:flex;align-items:center;justify-content:center}.collection-entry>.creature-card{border-bottom-left-radius:0;border-bottom-right-radius:0}.resting-card{flex-wrap:wrap}.resting-card>.collection-stats{grid-column:1/-1;flex:1 1 100%;border:0;background:transparent;padding:10px 0 4px;order:3}
@media(max-width:600px){.collection-stats{grid-template-columns:1fr;padding:13px 12px;gap:10px}.collection-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;padding-bottom:7px}.collection-stat dt{font-size:10px;gap:4px}.collection-stat dt .icon{width:11px;height:11px;flex-shrink:0}.collection-stat dd{font-size:12px;margin:0}.collection-stat dd span{font-size:9px}.collection-card-action .collection-care{white-space:normal;overflow-wrap:anywhere;line-height:1.4;padding-inline:8px}.collection-card-action .collection-button{max-width:100%;font-size:12px;padding-inline:8px;white-space:normal}}

/* Shared bottom anchors keep care timing and XP level across each collection row. */
.collection-entry>.creature-card{display:flex;flex-direction:column}.collection-entry .card-art{flex-shrink:0}.collection-entry>.creature-card>.card-copy{display:flex;flex-direction:column;flex:1;min-width:0}.collection-entry>.creature-card>.card-copy>.card-status{margin-top:auto;padding-top:12px;border-top:0;display:flex;align-items:center;gap:5px;min-height:30px}.collection-entry>.creature-card>.card-copy>.card-status strong{min-height:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;font-size:11px}.collection-growth{padding:10px 14px;background:#fff;border:1px solid #e4dfd3;border-top:0}.collection-growth>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:6px;font-size:10px;color:#839080}.collection-growth strong{font-weight:500;font-variant-numeric:tabular-nums}.collection-xp-track{height:5px;background:#edf1e8;border-radius:4px;overflow:hidden}.collection-xp-track>i{display:block;height:100%;background:#b3c6a0;border-radius:inherit}.resting-card>.collection-growth{grid-column:1/-1;flex:1 1 100%;border:0;background:transparent;padding:4px 0;order:2}
@media(max-width:600px){.collection-growth{padding:10px 12px}.collection-growth>div:first-child{font-size:9px}}
