/* Illustrated enamel pins: original SVG contours, flat colour and no effects. */
.collectible{position:relative;min-height:198px;padding:24px 12px 14px;gap:6px;border:1px solid #dfe5e8;border-radius:12px;background:#f9fbfc;box-shadow:none;transition:none;overflow:hidden}
.collectible.earned{background:#fffefb;border-color:#b7cbd5}
.collectible .badge-object{display:block;width:112px;height:112px;max-width:100%;object-fit:contain;margin:0 auto;filter:none;opacity:1;flex:none;animation:none;transition:none}
.collectible strong{font-size:12px;line-height:1.45;font-weight:550;color:#354f60;max-width:100%}
.collectible>span:last-child{font-size:9px;letter-spacing:.035em;color:#738b98}
.collectible.locked .badge-object{filter:none;opacity:.58}
.collectible.locked strong{color:#718792}.collectible.locked>span:last-child{color:#9aa7ae}
.collectible.earned::after{content:'✓';position:absolute;right:10px;top:10px;display:grid;place-items:center;width:16px;height:16px;border:1px solid #b8ced9;border-radius:50%;background:#f4fafc;color:#56849a;font-size:9px;font-weight:600}
.collectible .badge-level{position:absolute;left:10px;top:10px;font:600 7px/1 'DM Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#698393;background:#edf4f7;border:1px solid #cfdee6;padding:4px 6px;border-radius:3px}
.collectible[data-difficulty=Mastery]{background:#fffdf5;border-color:#cfbd8e}
.collectible[data-difficulty=Mastery] .badge-level{color:#7d673a;background:#f6edd5;border-color:#dfcfaa}
.collectible[data-difficulty=Mastery].locked .badge-object{opacity:.8}
.collectible[data-difficulty=Challenge]{border-color:#bdcfd9}
.collectible:hover,.collectible:focus-visible{transform:none;box-shadow:none;border-color:#688b9e;background:#fffdf8}
.collectible:focus-visible{outline:2px solid #709bad;outline-offset:3px}
.badge-detail{background:#edf4f7;border-left-color:#91adb9;min-height:105px;border-radius:6px;gap:17px;padding-block:14px}
.badge-detail .badge-object{width:77px;height:77px;object-fit:contain;display:block;flex:none}
.badge-detail strong{color:#365969}.badge-detail p{color:#6f8793;font-size:12px;line-height:1.7}
.detail-level{display:inline-block;font-size:8px;text-transform:uppercase;letter-spacing:.12em;border:1px solid #d5c598;background:#fff7e5;color:#846c39;border-radius:3px;padding:3px 5px;margin-left:10px;vertical-align:middle}
.collection-heading h2{color:#2e5870}.collection-heading h2 span{margin-left:6px;color:#8099a7}
@media(max-width:1050px){.collectible .badge-object{width:106px;height:106px}.collectible{min-height:192px}}
@media(max-width:760px){.collectible{border-radius:9px;padding:22px 7px 12px;min-height:167px;gap:5px}.collectible .badge-object{width:91px;height:91px}.collectible strong{font-size:11px}.collectible.earned::after{top:8px;right:8px;width:14px;height:14px;font-size:8px}.collectible .badge-level{left:7px;top:8px;font-size:6px;padding:3px 4px}.badge-detail .badge-object{width:67px;height:67px}}
@media(max-width:500px){.collectible{min-height:157px;padding-inline:6px}.collectible .badge-object{width:82px;height:82px}.collectible strong{font-size:10px}.collectible>span:last-child{font-size:8px}.badge-detail{padding:10px;min-height:91px;gap:10px}.badge-detail .badge-object{width:61px;height:61px}.badge-detail strong{font-size:14px}.badge-detail p{font-size:11px}.detail-level{font-size:7px;margin-left:6px;padding:3px 4px}}
.badge-gallery.mastery-view{grid-template-columns:repeat(4,minmax(0,1fr))}.collectible[aria-pressed=true]{border-color:#648596;outline:1px solid #648596;outline-offset:-1px}@media(max-width:600px){.badge-gallery.mastery-view{grid-template-columns:repeat(2,minmax(0,1fr))}.mastery-view .badge-object{width:100px;height:100px}.mastery-view .collectible{min-height:180px}}
/* Polished enamel medals; ribbons remain colourful before they are earned. */
.collectible{min-height:236px;padding:27px 12px 17px;gap:9px;background:linear-gradient(155deg,#fff 0%,#f0f8fb 100%);border-color:#d7e5ed;border-radius:18px;box-shadow:0 3px 10px #17395706;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.collectible .badge-object{width:120px;height:139px;opacity:1;filter:none}
.collectible strong{font-size:14px;font-weight:650;line-height:1.35;color:#233f53}
.collectible>span:last-child{font-size:12px;letter-spacing:0;color:#587383}
.collectible.locked .badge-object{opacity:.86;filter:none}
.collectible.locked strong{color:#526b7a}
.collectible.earned{background:linear-gradient(155deg,#fff,#e9f9f7);border-color:#8cc9c4}
.collectible.earned::after{width:20px;height:20px;background:#087c83;color:white;border:2px solid white;font-size:12px;box-shadow:0 1px 4px #174b5d20}
.collectible .badge-level{font-size:10px;letter-spacing:.05em;border-radius:5px;padding:4px 6px}
.collectible[data-difficulty=Mastery]{background:linear-gradient(150deg,#fffdf0,#fff0bd);border-color:#e4c66c}
.collectible[data-difficulty=Mastery].locked .badge-object{opacity:1}
.collectible[data-difficulty=Challenge]{background:linear-gradient(150deg,#fff,#edf5ff);border-color:#b5cce6}
.collectible:hover,.collectible:focus-visible{transform:translateY(-3px);background:linear-gradient(155deg,#fff,#e7f7fa);border-color:#59a9b5;box-shadow:0 9px 20px #153e5b12}
.collectible[aria-pressed=true]{border-color:#07878b;outline:2px solid #07878b;outline-offset:2px}
.badge-detail{padding:18px;min-height:134px;border-radius:14px;background:linear-gradient(120deg,#eaf7fa,#f5faff)}
.badge-detail .badge-object{width:88px;height:102px}.badge-detail p{font-size:14px;line-height:1.6}.detail-level{font-size:10px}
@media(max-width:760px){.collectible{min-height:222px;padding:27px 8px 14px}.collectible .badge-object{width:107px;height:124px}.collectible strong{font-size:14px}.collectible>span:last-child{font-size:11px}.collectible .badge-level{font-size:9px;left:7px;top:8px}.badge-detail .badge-object{width:75px;height:87px}.badge-detail p{font-size:14px}}
@media(max-width:500px){.badge-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.collectible{min-height:215px}.collectible .badge-object{width:100px;height:116px}.collectible strong{font-size:14px}.badge-detail{padding:13px}.badge-detail .badge-object{width:66px;height:77px}.badge-detail strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.collectible{transition:none}.collectible:hover,.collectible:focus-visible{transform:none}}
