.collection-nav{display:inline-flex;align-items:center;gap:5px;min-width:44px;min-height:44px}
.collection-nav img{image-rendering:pixelated}.collection-nav b{background:#2e8b57;color:#fff;border-radius:12px;padding:2px 5px;font-size:11px}
.collection-nav [hidden]{display:none}
.collection-dialog{--collection-bg:#fff;--collection-ink:#1e2923;--collection-muted:#526e5e;--collection-soft:#eef8f1;box-sizing:border-box;color:var(--collection-ink);background:var(--collection-bg);border:1px solid #a3c9b0;border-radius:12px;padding:0;width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden;box-shadow:0 12px 32px #0f171f40}
.collection-dialog::backdrop{background:#12241a70}.collection-dialog[open]{display:flex;flex-direction:column}.collection-dialog button,.collection-dialog select{min-height:44px}.collection-dialog button:focus-visible,.collection-dialog select:focus-visible,.collection-dialog input:focus-visible{outline:3px solid #2e8b57;outline-offset:3px}
.collection-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;border-bottom:1px solid #a3c9b0;flex-shrink:0}.collection-header h1{font:700 26px Georgia,serif;margin:0}.collection-header button{font-size:24px}
.collection-content{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:24px}.collection-content p{line-height:1.6}.collection-content h2{font:700 23px Georgia,serif}.collection-content .muted{color:var(--collection-muted)}
.trophy-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--collection-soft);border:1px solid #a3c9b0;border-radius:12px;padding:20px}.trophy-summary h2{margin:8px 0}.trophy-summary p{margin:0;color:var(--collection-muted);max-width:420px}.trophy-activity{min-width:160px;font-size:13px}.trophy-activity>strong{font-size:28px;display:block}.trophy-activity small{display:block;margin-top:8px;line-height:1.7}
.trophy-showcase{padding:20px 0}.trophy-showcase>strong{display:block;font:700 20px Georgia,serif}.trophy-showcase>span{display:block;color:var(--collection-muted);font-size:12px;margin:8px 0;line-height:1.6}.trophy-showcase>div{display:flex;gap:12px;flex-wrap:wrap}.trophy-featured{display:flex;align-items:center;gap:8px;border:1px solid #a3c9b0;background:var(--collection-soft);color:var(--collection-ink);border-radius:8px;padding:6px 12px;max-width:100%}.trophy-featured img{width:40px;height:40px}.trophy-featured small{overflow-wrap:anywhere}
.collection-filters{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:20px}.collection-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px}.collection-filters select{background:var(--collection-bg);color:var(--collection-ink);border:1px solid #a3c9b0;border-radius:8px;padding:8px;min-width:160px}
.trophy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.trophy-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:16px;border:1px solid #a3c9b0;border-radius:12px;background:var(--collection-bg);color:var(--collection-ink);cursor:pointer;min-width:0}.trophy-card:hover{background:var(--collection-soft)}.trophy-card.is-unlocked{border-color:#2e8b57;box-shadow:0 2px 8px #1e29230c}.trophy-status{font:11px ui-monospace,monospace;color:var(--collection-muted);align-self:flex-start}.trophy-icon{object-fit:contain;image-rendering:pixelated;flex-shrink:0}.trophy-card .trophy-icon{width:80px;height:80px}.trophy-card.is-locked .trophy-icon{filter:grayscale(1);opacity:.55}.trophy-card strong{font:700 18px Georgia,serif}.trophy-card small{font-size:12px;line-height:1.5;color:var(--collection-muted);overflow-wrap:anywhere}.trophy-card progress{width:100%;height:7px;accent-color:#2e8b57;margin-top:auto}.trophy-card>span:last-child{font-size:11px}
.trophy-detail{display:flex;gap:20px;background:var(--collection-soft);border:1px solid #a3c9b0;padding:18px;border-radius:12px;margin-bottom:20px;scroll-margin:8px}.trophy-detail:focus{outline:2px solid #2e8b57}.trophy-detail h2{margin:0}.trophy-detail p{font-size:13px}.trophy-detail button{margin:4px}
[data-theme="avond"] .collection-dialog{--collection-bg:#1e3028;--collection-ink:#eef8f1;--collection-muted:#bdd7c6;--collection-soft:#263e31}
@media(max-width:700px){.collection-nav>span{display:none}.collection-header{padding:12px}.collection-header h1{font-size:22px}.collection-content{padding:12px}.trophy-summary{flex-direction:column;align-items:flex-start;gap:12px;padding:14px}.trophy-activity{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.trophy-activity small{flex-basis:100%;margin:0}.trophy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trophy-card{padding:12px 8px}.trophy-card strong{font-size:16px}.trophy-card small{font-size:11px}.trophy-detail{flex-direction:column;gap:12px}.notification-row{padding:12px;gap:10px}.notification-row>.trophy-icon{width:40px;height:40px}.collection-filters{gap:8px}.collection-filters label{flex:1}.collection-filters select{min-width:0;width:100%}.game-header .collection-nav{padding:4px;min-width:32px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.collection-dialog *{animation:none!important;transition:none!important}}
@media(max-width:700px){.game-header .collection-nav{display:none}}
.profile-trophy-showcase{--collection-ink:#1e2923;--collection-muted:#526e5e;--collection-soft:#eef8f1;border-block:1px solid #a3c9b0;margin:20px 0}.profile-trophy-showcase>.btn{margin-top:12px}
[data-theme="avond"] .profile-trophy-showcase{--collection-ink:#eef8f1;--collection-muted:#bdd7c6;--collection-soft:#263e31}
