/* Same fixed zones at every size; container units keep type proportional. */
.collect-card.tcg{container-type:inline-size;display:grid;grid-template-rows:7.3% 49.5% 12.3% 10.5% 20.4%;aspect-ratio:63/88;padding:0;border:7px solid var(--accent);border-radius:17px;background:#fff8ed;color:#182032;overflow:hidden;box-sizing:border-box}
.tcg *{box-sizing:border-box}.tcg-header{background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:0 3cqw;font-size:3.2cqw;font-weight:900;letter-spacing:.05em}.tcg-art{position:relative;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 45% 35%,var(--secondary),var(--accent))}.tcg-art>img{position:absolute;width:100%;height:100%;object-fit:cover}.tcg-emoji{font-size:29cqw;filter:drop-shadow(0 10px 12px #0004)}.tcg-part{position:absolute;bottom:5px;left:5px;background:#fffddd;color:#182032;padding:3px 6px;border-radius:5px;font-size:3cqw;font-weight:900}.tcg-title{text-align:center;padding:2cqw 1cqw 0;overflow:hidden}.tcg-title h3{font-size:6.6cqw;line-height:1.06;font-weight:900;margin:0;text-transform:uppercase;letter-spacing:-.035em}.tcg-title p{font-size:3cqw;line-height:1.2;font-weight:900;margin:1cqw 0 0;color:var(--accent);letter-spacing:.06em}.tcg-description{padding:1cqw 4cqw;margin:0;text-align:center;font-size:3.2cqw;line-height:1.3;overflow:hidden}.tcg-bottom{display:grid;grid-template-columns:1fr 18%;gap:1%;padding:2cqw 1.5cqw;background:#f0e5d3;border-top:2px solid var(--accent)}.tcg-stats{display:grid;grid-template-columns:repeat(3,1fr)}.tcg-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7cqw;border-right:1px solid #cfc1ac;overflow:hidden}.tcg-stat i{font-style:normal;font-size:4cqw}.tcg-stat span{font-size:2.2cqw;font-weight:900}.tcg-stat strong{font-size:6cqw;line-height:1;color:var(--accent)}.tcg-qr{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7cqw}.tcg-qr-slot,.tcg-qr-image{width:14.5cqw;height:14.5cqw;background:#fff}.tcg-qr-slot{border:1px dashed #baae9a}.tcg-qr-image img,.tcg-qr-image canvas{width:100%!important;height:100%!important;image-rendering:pixelated}.tcg-qr small{font-size:2cqw;line-height:1.1;white-space:nowrap;color:#182032;font-weight:800}.print-card-wrap .tcg{width:100%;height:auto}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
@media screen and (max-width:700px){
.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:460px;margin-left:auto;margin-right:auto}
.reward-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.collection-grid .collect-card.tcg,.reward-grid .collect-card.tcg{border-width:4px;border-radius:10px}
.collection-meta{flex-wrap:wrap;font-size:10px;gap:6px}
.collection-item .fragment-code{font-size:11px;overflow-wrap:anywhere}
.single-reveal{width:min(250px,70vw)}
.print-card-wrap{width:min(280px,100%)}
}
@page{size:A4;margin:10mm}
@media print{.print-card-wrap{width:63mm;margin:0 auto}.print-card-wrap .tcg{width:63mm;height:88mm;border-width:1.4mm;border-radius:3mm;aspect-ratio:auto;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}.tcg-header{font-size:2mm}.tcg-title{padding:1.2mm .6mm 0}.tcg-title h3{font-size:4.1mm}.tcg-title p{font-size:1.9mm}.tcg-description{font-size:2mm;padding:.6mm 2.4mm}.tcg-stat span{font-size:1.4mm}.tcg-stat strong{font-size:3.7mm}.tcg-qr small{font-size:1.2mm}.physical-code-zone{break-inside:avoid}.cut-hint{color:#222}}
/* White margin around the QR modules. */
.tcg-qr-image{padding:1.6cqw}

.tcg-personal-seal{font-size:9cqw;color:var(--accent);line-height:1}
