/* Stage 7R31: unified trading-card layout and clearly visible official team mark. */
.asm-card{aspect-ratio: .735!important;max-width:100%;background-clip:padding-box}
.asm-card-inner{height:100%!important;position:relative}
.asm-card-photo{min-height:0!important}
.asm-card-bottom{height:35%!important;min-height:0!important;padding:10px 12px 12px!important;justify-content:center!important}
.asm-card-bottom h3{font-family:Impact,'Arial Narrow',system-ui,sans-serif!important;font-size:clamp(23px,3vw,42px)!important;font-style:italic!important;text-transform:uppercase;line-height:.96!important;max-width:72%;margin:5px 0 8px!important}
.asm-card-year{font-style:italic;font-weight:900}
.asm-owner-row{width:100%;margin-top:auto}
.asm-card .asm-team-foil{position:absolute!important;right:10px!important;bottom:calc(35% - 4px)!important;transform:translateY(100%);width:29%!important;max-width:100px!important;height:calc(35% - 35px)!important;min-height:48px!important;padding:5px!important;border:1px solid #ffffff55;border-radius:9px;background:linear-gradient(140deg,#ffffff15,#080f12db)!important;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:3px;z-index:4;box-sizing:border-box}
.asm-card .asm-team-foil img{width:100%!important;height:calc(100% - 12px)!important;max-height:68px!important;object-fit:contain!important;filter:drop-shadow(0 2px 5px #000b)}
.asm-card .asm-team-foil span{font-size:7px!important;text-align:center;line-height:1.1;white-space:normal;letter-spacing:.03em}
.asm-card.asm-art-4{--art-accent:#e3c778;background:linear-gradient(135deg,#fff3bd,#a77728 28%,#ffe8a0 48%,#34302a 72%,#f8cc68)}
.asm-card.asm-art-4 .asm-card-bottom{background:linear-gradient(145deg,#4a371b,#141415 78%)}
.asm-card.asm-art-5{--art-accent:#c5c7d4;background:linear-gradient(135deg,#f4f5fa,#4b5263 24%,#15191f 49%,#adb5c4 73%,#2b3038)}
.asm-card.asm-art-5 .asm-card-bottom{background:linear-gradient(145deg,#343a46,#101216 80%)}
@media(max-width:600px){.asm-card-bottom{padding:7px!important}.asm-card-bottom h3{font-size:clamp(17px,5vw,28px)!important;max-width:70%}.asm-card .asm-team-foil{right:5px!important;min-height:32px!important;padding:3px!important;width:29%!important}.asm-card .asm-team-foil span{font-size:5.5px!important}.asm-card .asm-team-foil img{max-height:46px!important}}

/* 7R31: logo occupies the circled lower-right card information space. */
.asm-card .asm-team-foil{top:auto!important;bottom:9%!important;right:4%!important;transform:none!important;width:32%!important;max-width:none!important;height:20%!important;min-height:0!important;padding:5px!important;background:transparent!important;border:0!important;box-shadow:none!important;z-index:5!important;pointer-events:none!important}
.asm-card .asm-team-foil img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;filter:drop-shadow(0 3px 5px #000d)!important}
.asm-card .asm-team-foil span{display:none!important}
.asm-card-bottom h3{max-width:65%!important}
@media(max-width:600px){.asm-card .asm-team-foil{bottom:10%!important;right:4%!important;width:32%!important;height:19%!important}.asm-card-bottom h3{max-width:65%!important}}

/* 7R31 persistent base card designs; identical class names on Garage, Collection and View Build */
.asm-card.asm-style-prism{background:linear-gradient(125deg,#c9fff3,#68c5bd 20%,#e8caff 42%,#fff2b5 62%,#7dbeec 82%,#e6fff6)!important}
.asm-card.asm-style-black_chrome{background:linear-gradient(135deg,#d7dce3,#343943 20%,#0b0e15 42%,#929caa 66%,#161923 85%,#c2cbd5)!important}
.asm-card.asm-style-track{background:linear-gradient(130deg,#f4f4ef,#f73e35 22%,#15171b 39%,#f1f1ed 51%,#111317 72%,#f73e35)!important}
.asm-card.asm-style-iridescent{background:linear-gradient(120deg,#9efee4,#bd9cff 25%,#ffa5d4 48%,#fbe49b 67%,#89d7ff 85%,#9efee4)!important}
.asm-card.asm-style-gold{background:linear-gradient(130deg,#fff4c4,#b78328 22%,#ffdf76 45%,#62410d 69%,#ffeb9e 87%,#b27b25)!important}
.asm-card.asm-style-black_chrome .asm-card-bottom{background:linear-gradient(145deg,#303641,#080a10 85%)!important}
.asm-card.asm-style-track .asm-card-bottom{background:linear-gradient(145deg,#4c171a,#111318 85%)!important}
.asm-card.asm-style-iridescent .asm-card-bottom{background:linear-gradient(145deg,#482d6b,#161c39 85%)!important}
.asm-card.asm-style-gold .asm-card-bottom{background:linear-gradient(145deg,#53401a,#15120d 85%)!important}
.asm-style-control{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;font-weight:800;letter-spacing:.08em;margin-top:10px;color:#c5d9d4}
.asm-style-control select{max-width:65%;border:1px solid #6e8d85;border-radius:7px;background:#12201f;color:#fff;padding:9px 7px;font:inherit;letter-spacing:0}
.asm-card .asm-team-foil{bottom:9%!important;right:4%!important;width:32%!important;height:20%!important}

/* Stage 7R32: Standard is the clean base card finish. */
.asm-card.asm-style-standard{background:linear-gradient(145deg,#d8e1df,#7d9994 30%,#243331 66%,#c4d1ce)!important}
.asm-card.asm-style-standard .asm-card-bottom{background:linear-gradient(145deg,#30433f,#111a19 85%)!important}

.asm-collector-count{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:14px 0;padding:13px 15px;border:1px solid #315c50;border-radius:12px;background:linear-gradient(120deg,#10251f,#0c1717);color:#a8c8bc;font-size:14px}.asm-collector-count strong{color:#aaffdf;font-size:20px;font-weight:900}
