/* Keep all six drop targets within reach while browsing a long mobile reserve. */
@media(max-width:700px){
 .game-main:has(.collection-team){padding-inline:12px}
 .collection-team{position:sticky;top:0;z-index:14;margin:0 -12px 14px;padding:10px 12px 12px;background:#0e2137f7;border-bottom:1px solid #6f8ca755;box-shadow:0 8px 18px #03132355;backdrop-filter:blur(12px)}
 .collection-team .section-title{margin:0 0 8px;align-items:center;gap:8px}.collection-team .section-title h2{font-size:14px;white-space:nowrap}.collection-team .section-title small{font-size:10px}.collection-team .drag-help{font-size:9px;line-height:1.3;max-width:145px;text-align:end}
 .game-main .collection-team .home-team{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:0}
 .collection-team .team-slot{min-width:0}.collection-team .dino-card{width:100%;min-height:0;border-width:1px;border-radius:8px;background:#183047;box-shadow:none;overflow:hidden}.collection-team .dino-card .art{height:auto;aspect-ratio:1;margin:0}
 .collection-team .card-top,.collection-team .species-caption,.collection-team .nature-badge,.collection-team .power-score,.collection-team .card-stats,.collection-team .equipped,.collection-team .copy-count{display:none!important}
 .collection-team .dino-card .card-body{padding:4px 3px 5px;margin:0;min-height:0}.collection-team .card-body h3{font-size:9px;font-weight:650;line-height:1.3;margin:0;min-height:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;hyphens:none;letter-spacing:-.2px}
 .collection-team .empty-team-slot{min-height:0;max-height:94px;padding:0;border-radius:8px;gap:0}.collection-team .blank-slot{min-height:70px;padding:4px;border-radius:8px}.collection-team .blank-slot p{display:none}.collection-team .blank-slot svg{width:18px;height:18px}
 .collection-team .drop-target{outline:3px solid #ffe1a0;outline-offset:1px;box-shadow:0 0 14px #ffc96755;border-radius:9px}
 .game-main:has(.collection-team)>.page-intro{margin-bottom:12px;gap:10px}.game-main:has(.collection-team)>.page-intro h1{font-size:24px}.game-main:has(.collection-team)>.page-intro .sub{font-size:11px}
 .collection-header{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.collection-header .filter-pill{font-size:10px;padding:6px 9px;min-height:38px;gap:5px}.collection-header .filter-pill svg{width:15px;height:15px}
 .collection-header+.filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.85fr);gap:7px;margin:10px 0 16px}.collection-header+.filters>*{width:100%;min-width:0;padding-inline:10px}
 .game-main .collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.collection-grid .dino-card .art{height:auto;aspect-ratio:1}.collection-grid .card-body{padding:8px!important;min-height:0}.collection-grid .card-body h3{font-size:11px;line-height:1.35;min-height:30px;margin:0 0 6px;hyphens:none;overflow-wrap:anywhere}.collection-grid .species-caption{display:none}.collection-grid .nature-badge{font-size:9px;padding:3px 4px;gap:3px}.collection-grid .nature-badge svg{width:11px;height:11px}.collection-grid .power-score{margin-top:9px;padding-top:0;font-size:9px}.collection-grid .power-score>span{display:none}.collection-grid .power-score b{font-size:17px}.collection-grid .power-score svg{width:16px;height:16px}.collection-grid .card-top{padding:5px;gap:3px}.collection-grid .card-rarity{font-size:7px;padding:3px}.collection-grid .card-lvl{font-size:7px;padding:3px}.collection-grid .copy-count{font-size:9px}.collection-grid .empty{grid-column:1/-1}.collection-reserve{scroll-margin-top:135px}
 .lobby-team .card-body h3{hyphens:none}
}
/* One compact rule beside the team, shared by desktop and mobile. */
.team-legendary-count{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;color:#f1c777;font-size:.78rem;margin:.35rem 0 .65rem}
.team-legendary-count svg{width:1rem;height:1rem;flex:none}
.team-legendary-count.over-limit{color:#ffab99}
.team-legendary-count.over-limit>span{flex-basis:100%;font-size:.78rem}
/* Reserve specimens are compact tiles; the detailed sheet keeps full stats. */
.game-main .collection-reserve .collection-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.collection-reserve .dino-card{min-height:0;height:100%;border-width:1px;border-radius:12px}
.collection-reserve .dino-card .art{height:auto;aspect-ratio:1;margin:0;background-size:contain}
.collection-reserve .dino-card .card-top{position:relative;inset:auto;padding:7px 7px 2px;min-height:26px;gap:4px}
.collection-reserve .card-rarity{font-size:8px;letter-spacing:.15px;padding:3px 5px}
.collection-reserve .card-lvl{font-size:9px;padding:3px 4px}
.collection-reserve .dino-card .card-body{padding:7px 9px 9px!important;margin:0;min-height:0}
.collection-reserve .dino-card .card-body h3{font-size:12px;line-height:1.3;min-height:31px;margin:0 0 6px;overflow-wrap:anywhere;hyphens:none}
.collection-reserve .species-caption,.collection-reserve .card-stats{display:none!important}
.collection-reserve .power-score{display:flex;align-items:center;gap:4px;margin-top:6px;padding-top:0;color:#f1c777}
.collection-reserve .power-score>span{display:none}
.collection-reserve .power-score svg{width:14px;height:14px}
.collection-reserve .power-score b{font-size:16px;line-height:1.1}
.collection-reserve .nature-badge{font-size:10px;padding:3px 5px;gap:4px;margin:0}
.collection-reserve .nature-badge svg{width:12px;height:12px}
.collection-reserve .copy-count{font-size:9px;line-height:1.2;margin-top:5px}
@media(max-width:700px){
 .game-main .collection-reserve .collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .collection-reserve .dino-card .art{height:auto;aspect-ratio:1}
 .collection-reserve .dino-card .card-top{min-height:23px;padding:4px 4px 1px;gap:2px}
 .collection-reserve .card-rarity{font-size:6.5px;letter-spacing:0;padding:2px 3px}
 .collection-reserve .card-lvl{font-size:7px;padding:2px 3px;white-space:nowrap}
 .collection-reserve .dino-card .card-body{padding:5px 5px 7px!important}
 .collection-reserve .dino-card .card-body h3{font-size:10px;line-height:1.3;min-height:26px;margin-bottom:4px}
 .collection-reserve .nature-badge{font-size:9px;padding:2px 3px;gap:2px;max-width:100%}
 .collection-reserve .nature-badge svg{width:10px;height:10px}
 .collection-team .team-legendary-count{font-size:10px;margin:0 0 6px}
 .collection-team .team-legendary-count svg{width:12px;height:12px}
}
