/* Private member collection. Artwork is shared; ownership comes from the profile API. */
.legend-reward{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;isolation:isolate;position:relative;overflow:hidden;min-width:0;border:1px solid rgba(230,190,101,.32);border-radius:20px;background:radial-gradient(ellipse at 23% 40%,rgba(45,104,188,.16),transparent 65%),#0c1019;color:#f2f2f7}
.legend-reward-art{position:relative;min-width:0;align-self:stretch;display:grid;place-items:center;padding:18px}
.legend-reward-art img{display:block;width:100%;height:auto;max-width:365px;aspect-ratio:1;object-fit:contain;mix-blend-mode:lighten}
.legend-reward.locked .legend-reward-art img{filter:saturate(.72);opacity:.86}
.legend-reward.earned{border-color:#d6ae56;box-shadow:0 0 40px rgba(218,174,71,.11)}
.legend-seal{position:absolute;left:22px;bottom:20px;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(223,182,91,.5);border-radius:50%;background:#0c1019;color:#edc571;font:500 13px var(--m)}
.legend-reward-copy{padding:32px 24px 32px 8px;min-width:0}
.collectible-rarity{font:500 9px var(--m);letter-spacing:.14em;text-transform:uppercase;color:var(--collectible-color,#e6bd65)}
.legend-reward h2{font-size:clamp(25px,3.2vw,37px);line-height:1.12;letter-spacing:-.055em;margin:14px 0;color:#f6f3eb;font-weight:850}
.legend-diamond{font-size:20px;display:inline-block;margin-left:12px;vertical-align:middle;color:#94caff;text-shadow:0 0 20px rgba(85,160,255,.45)}
.legend-reward-copy>p{font-size:12px;line-height:1.7;color:#9daabd;margin-bottom:18px}
.legend-reward-status{display:inline-block;max-width:100%;padding:8px 11px;background:rgba(226,182,83,.09);border:1px solid rgba(226,182,83,.25);border-radius:7px;font:500 10px/1.6 var(--m);color:#edcb84}
.legend-reward-progress{margin-top:11px;font-size:11px;color:#a5b2c6}
.legend-reward-link{display:inline-block;margin-top:16px;font-size:11px;font-weight:650;color:#a9cbff;text-decoration:none}
.legend-reward-link:hover{text-decoration:underline}
.legend-reward-caption{font-size:9px;color:#8290a6;margin-top:15px}
.legend-reward.unavailable{display:block;padding:24px;color:#a5b2c6;font-size:12px}
#profAvatar.legend-avatar{border:2px solid #e4bc68;box-shadow:0 0 0 5px rgba(228,188,104,.10),0 0 28px rgba(228,188,104,.18)}
.legend-identity-mark{margin-top:10px;color:#e4bc68;font:500 9px/1.5 var(--m)}
.legend-identity-mark[hidden]{display:none}
.collection-intro{display:flex;justify-content:space-between;align-items:center;gap:14px;min-width:0;flex-wrap:wrap}
.collection-intro .card-sub{color:var(--text2);max-width:460px}
.collection-summary{font:500 10px var(--m);color:var(--text2);white-space:nowrap}
.collection-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.collection-filters{display:flex;padding:3px;border:1px solid var(--border2);border-radius:8px;background:var(--panel2);gap:3px}
.collection-filters button{appearance:none;cursor:pointer;min-height:35px;padding:7px 13px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--text2);font-size:11px;font-weight:650}
.collection-filters button.active{background:var(--panel3);color:var(--text);border-color:var(--border2)}
.collection-filters button:disabled{cursor:default;opacity:.5}
.collection-filters button:hover:not(:disabled){color:var(--text)}
.collection-filter-status{font-size:10px;color:var(--text2)}
.collectible-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.collectible{--collectible-color:#a6b4c9;min-width:0;overflow:hidden;padding:16px;border-radius:13px;border:1px solid var(--border2);background:var(--panel2)}
.collectible.rare{--collectible-color:#77b4ff}.collectible.epic{--collectible-color:#b49bff}.collectible.legendary{--collectible-color:#e4bc68}
.collectible.earned{background:radial-gradient(ellipse at 50% 18%,color-mix(in srgb,var(--collectible-color) 8%,transparent),transparent 67%),var(--panel2);border-color:color-mix(in srgb,var(--collectible-color) 35%,transparent)}
.collectible-top{display:flex;justify-content:space-between;gap:5px;align-items:center;flex-wrap:wrap;line-height:1.5}
.collectible .collectible-rarity{font-size:8px;letter-spacing:.1em}
.collectible-state{font-size:9px;color:var(--text2)}
.collectible.earned .collectible-state{color:var(--collectible-color)}
.collectible-art{width:86px;height:86px;border:1px solid color-mix(in srgb,var(--collectible-color) 30%,transparent);border-radius:24px;margin:20px auto 16px;display:grid;place-items:center;position:relative;color:var(--collectible-color);background:radial-gradient(circle at 35% 25%,color-mix(in srgb,var(--collectible-color) 13%,transparent),transparent 75%)}
.collectible-art:before{content:'';position:absolute;inset:6px;border:1px solid color-mix(in srgb,var(--collectible-color) 13%,transparent);border-radius:18px;pointer-events:none}
.collectible-art svg{width:48px;height:48px;filter:drop-shadow(0 0 9px color-mix(in srgb,var(--collectible-color) 35%,transparent))}
.collectible-art img{width:100%;height:100%;object-fit:contain;border-radius:23px}
.collectible.locked .collectible-art{filter:saturate(.3);opacity:.65}
.collectible h3{font-size:14px;font-weight:800;letter-spacing:-.02em;line-height:1.35;color:var(--text);overflow-wrap:anywhere}
.collectible>p{font-size:11px;color:var(--text2);line-height:1.6;margin-top:6px;min-height:53px}
.collectible-progress-label{font-size:9px;color:var(--text2);margin-top:14px}
.collectible-track{height:3px;overflow:hidden;border-radius:6px;background:var(--panel3);margin-top:7px}
.collectible-track i{display:block;height:100%;background:var(--collectible-color)}
.collectible-details{margin-top:14px;padding-top:10px;border-top:1px solid var(--border2)}
.collectible-details summary{min-height:28px;cursor:pointer;font-size:10px;color:var(--text2);line-height:2}
.collectible-details summary:hover{color:var(--text)}
.collectible-details[open] summary{margin-bottom:10px;color:var(--collectible-color)}
.collectible-requirements{list-style:none;display:grid;gap:12px}
.collectible-requirements li{display:grid;grid-template-columns:14px minmax(0,1fr);gap:6px;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.requirement-check{color:var(--text2)}.requirement-check.done{color:var(--collectible-color)}
.collectible-requirements strong{font-size:10px;color:var(--text);font-weight:600;display:block}
.collectible-requirements li>span>span{display:block;color:var(--text2);margin-top:2px}
.collectible-empty{grid-column:1/-1;padding:18px;color:var(--text2);font-size:12px}
.collection-footnote{font-size:10px;color:var(--text2);line-height:1.6;margin-top:18px}
.collection-filters button:focus-visible,.collectible-details summary:focus-visible,.legend-reward-link:focus-visible{outline:2px solid var(--accent-h);outline-offset:4px}
html[data-kazpa-theme="light"] .collectible{--collectible-color:#4e617a}
html[data-kazpa-theme="light"] .collectible.rare{--collectible-color:#205cac}
html[data-kazpa-theme="light"] .collectible.epic{--collectible-color:#7042b5}
html[data-kazpa-theme="light"] .collectible.legendary{--collectible-color:#85570b}
html[data-kazpa-theme="light"] .legend-identity-mark{color:#85570b}
@media(max-width:1100px){.collectible-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legend-reward-copy{padding-right:20px}.legend-reward h2{font-size:29px}}
@media(max-width:600px){.legend-reward{grid-template-columns:minmax(0,1fr)}.legend-reward-art{padding:16px 32px 0}.legend-reward-art img{max-width:250px}.legend-reward-copy{padding:16px 24px 25px}.legend-reward h2{font-size:30px}.legend-seal{left:22px;bottom:6px}.collectible-grid{grid-template-columns:minmax(0,1fr)}.collectible{padding:18px}.collectible-art{width:98px;height:98px}.collectible h3{font-size:16px}.collectible>p{min-height:0;font-size:12px}.collectible-requirements li{font-size:11px}.collectible-details summary{font-size:12px;min-height:36px}.collection-filters button{min-height:40px}.legend-reward-link{min-height:36px;line-height:2.8}}
@media(prefers-reduced-motion:reduce){.legend-reward *,.collectible *{animation:none!important;transition:none!important}}
