/* Stage 7R31 binder: collection-only; do not alter owned Garage cards. */
body[data-collection-page="collection"] #collection-grid.link-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 10px!important;max-width:100%!important;align-items:start!important}
body[data-collection-page="collection"] #collection-grid>.asm-vehicle-entry{min-width:0!important;width:100%!important;max-width:none!important;margin:0!important}
body[data-collection-page="collection"] #collection-grid .asm-collection-open{display:block;width:100%;min-width:0;line-height:normal}
body[data-collection-page="collection"] #collection-grid .asm-card{width:100%!important;max-width:none!important;aspect-ratio:.735!important;padding:3px!important;margin:0!important;border-radius:10px!important}
body[data-collection-page="collection"] #collection-grid .asm-card-bottom{height:35%!important;min-height:0!important;padding:5% 5% 4%!important}
body[data-collection-page="collection"] #collection-grid .asm-card-year{font-size:clamp(10px,6cqw,22px)!important}
body[data-collection-page="collection"] #collection-grid .asm-card-make{font-size:clamp(6px,2.5cqw,11px)!important}
body[data-collection-page="collection"] #collection-grid .asm-card-bottom h3{font-size:clamp(16px,13cqw,43px)!important;max-width:67%!important;line-height:.92!important}
body[data-collection-page="collection"] #collection-grid .asm-card-bottom h3.model-long{font-size:clamp(13px,9cqw,32px)!important}
body[data-collection-page="collection"] #collection-grid .asm-card-bottom h3.model-very-long{font-size:clamp(11px,7cqw,24px)!important}
body[data-collection-page="collection"] #collection-grid .asm-owner-row{font-size:clamp(5px,2.1cqw,9px)!important}
body[data-collection-page="collection"] #collection-grid .asm-owner-row strong{font-size:clamp(6px,3cqw,11px)!important}
body[data-collection-page="collection"] #collection-grid .asm-card-edition{font-size:clamp(5px,2cqw,8px)!important;padding:2px!important}
body[data-collection-page="collection"] #collection-grid .asm-card-extras{width:100%;padding:5px 2px 8px!important;min-width:0}
body[data-collection-page="collection"] #collection-grid .asm-card-nickname{font-size:clamp(10px,2.6vw,15px)!important}
body[data-collection-page="collection"] #collection-grid .asm-card-meta{font-size:clamp(7px,1.9vw,10px)!important;gap:4px}
body[data-collection-page="collection"] #collection-grid .asm-card-meta a{font-size:inherit}
body[data-collection-page="collection"] #collection-grid .asm-team-foil{max-width:34%!important}
@media(min-width:720px){body[data-collection-page="collection"] #collection-grid.link-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}}
@media(min-width:1050px){body[data-collection-page="collection"] #collection-grid.link-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
/* Enlarged collectible is intentionally independent of the miniature binder rules. */
body[data-collection-page="collection"] .asm-collection-modal{justify-content:flex-start!important;overscroll-behavior:contain;padding:68px 14px 38px!important}
body[data-collection-page="collection"] #collection-modal-card{width:min(100%,480px)!important;margin:auto}
body[data-collection-page="collection"] #collection-modal-card .asm-collection-open{display:block;pointer-events:none;border:0;background:transparent;padding:0;width:100%;color:inherit;text-align:left}
body[data-collection-page="collection"] #collection-modal-card .asm-card{width:100%!important;aspect-ratio:.735!important;padding:7px!important;border-radius:18px!important}
body[data-collection-page="collection"] #collection-modal-card .asm-card-bottom{height:35%!important;padding:4% 4% 3%!important}
body[data-collection-page="collection"] #collection-modal-card .asm-card-year{font-size:clamp(21px,6.3cqw,38px)!important}
body[data-collection-page="collection"] #collection-modal-card .asm-card-make{font-size:clamp(10px,2.5cqw,16px)!important}
body[data-collection-page="collection"] #collection-modal-card .asm-card-bottom h3{font-size:clamp(36px,14cqw,75px)!important;max-width:66%!important}
body[data-collection-page="collection"] #collection-modal-card .asm-card-bottom h3.model-long{font-size:clamp(28px,10cqw,60px)!important}
body[data-collection-page="collection"] #collection-modal-card .asm-card-bottom h3.model-very-long{font-size:clamp(24px,7.6cqw,46px)!important}
body[data-collection-page="collection"] #collection-modal-card .asm-owner-row{font-size:11px!important}
body[data-collection-page="collection"] #collection-modal-card .asm-owner-row strong{font-size:clamp(11px,3cqw,17px)!important}
body[data-collection-page="collection"] #collection-modal-card .asm-card-extras{padding:10px 2px!important}
.asm-binder-viewer-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 8px}
.asm-binder-viewer-actions button,.asm-binder-viewer-actions a{border:1px solid #679a89;background:#102820;color:#d8ffed;border-radius:10px;padding:12px 10px;font-weight:850;font-size:12px;text-decoration:none;text-align:center;cursor:pointer}
.asm-binder-viewer-actions a{flex:1;background:#adffde;color:#06140f;border-color:#adffde}
.asm-binder-viewer-actions button:disabled{opacity:.3;cursor:default}
.asm-binder-viewer-counter{text-align:center;color:#a7c4b8;font-size:11px;letter-spacing:.1em;margin-top:8px}
.asm-collection-open:focus-visible,.asm-binder-viewer-actions button:focus-visible,.asm-binder-viewer-actions a:focus-visible{outline:3px solid #adffde;outline-offset:3px}
