/* A single screen for the Trophy Room only. Nothing else in Achievements is locked. */
body:has(#page-achievements.active #nrAchievementPanel-trophies:not([hidden]) .nr-trophy-gallery){overflow:hidden}
#page-achievements.active #nrAchievementHub:has(#nrAchievementPanel-trophies:not([hidden]) .nr-trophy-gallery){
 position:fixed;inset:0;z-index:130;display:flex;flex-direction:column;background:#0b2035;padding:clamp(6px,1.2vw,16px);gap:6px;box-sizing:border-box;overflow:hidden
}
#nrAchievementHub:has(#nrAchievementPanel-trophies:not([hidden]) .nr-trophy-gallery)>.nr-achievement-tabs{flex:none;margin:0}
#nrAchievementPanel-trophies:not([hidden]){flex:1;min-height:0}
.nr-trophy-gallery-host{height:100%}
.nr-trophy-gallery.nr-token-room{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:clamp(8px,1.5vw,22px)}
.nr-trophy-top,.nr-trophy-actions,.nr-trophy-pager,.nr-trophy-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.nr-trophy-gallery .nr-trophy-top h2{font-size:clamp(1.05rem,3vw,2.05rem);margin:0}
.nr-trophy-gallery .nr-token-count{margin:.1rem 0 0;font-size:.78rem}
.nr-trophy-gallery :is(button,.nr-trophy-filter-menu>summary){font:inherit;color:#eef7ff;cursor:pointer}
.nr-trophy-gallery :is(.nr-trophy-actions button,.nr-trophy-filter-menu>summary,.nr-trophy-pager button,.nr-trophy-dialog button,.nr-trophy-close-filters){min-height:37px;padding:4px 9px;background:#183954;border:1px solid #6890ad;border-radius:8px;font-size:.78rem}
.nr-trophy-gallery button:focus-visible,.nr-trophy-filter-menu summary:focus-visible{outline:3px solid #a4e6ff;outline-offset:1px}
.nr-trophy-gallery button:disabled{opacity:.48;cursor:default}
.nr-trophy-filter-menu>summary{display:grid;place-items:center;list-style:none;box-sizing:border-box}
.nr-trophy-filter-menu>summary::-webkit-details-marker{display:none}
.nr-trophy-filter-menu{position:relative;z-index:2}
.nr-trophy-filter-menu>.nr-token-filters{position:absolute;right:0;top:calc(100% + 6px);width:min(245px,73vw);grid-template-columns:1fr;gap:5px;padding:8px;background:#122a44;border:1px solid #648ba8;border-radius:10px;box-shadow:0 8px 24px #0009}
.nr-trophy-filter-menu>.nr-token-filters :is(input,select){min-height:34px;padding:.35rem}
.nr-trophy-gallery .nr-trophy-info,.nr-trophy-i{width:36px;padding:0;aspect-ratio:1;border-radius:50%;text-align:center;font-weight:800}
.nr-trophy-gallery .nr-token-grid{grid-template-columns:repeat(var(--trophy-columns,1),minmax(0,1fr));grid-template-rows:repeat(var(--trophy-rows,1),minmax(0,1fr));gap:8px;min-width:0;min-height:0;align-items:stretch;overflow:hidden}
.nr-trophy-gallery .nr-token-grid>li,.nr-trophy-gallery .nr-token-slot{min-height:0;height:100%;box-sizing:border-box}
.nr-trophy-gallery .nr-token-slot .nr-trophy-tile{position:relative;height:100%;min-height:0;gap:4px;padding:4px 8px;color:inherit}
.nr-trophy-tile strong{font-size:clamp(.7rem,1.8vw,.92rem);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nr-trophy-gallery .nr-trophy-tile .nr-token-art{width:58px;height:min(52px,48%);min-height:0}
.nr-trophy-i{display:grid;place-items:center;position:absolute;top:4px;right:4px;width:17px;border:1px solid #86b6d2;font-size:.63rem;color:#cae9ff}
.nr-trophy-pager{justify-content:center;gap:12px}
.nr-trophy-pager[hidden]{display:none}
.nr-trophy-pager output{font-size:.83rem;min-width:3.5rem;text-align:center}
.nr-trophy-dialog{box-sizing:border-box;width:min(92vw,480px);max-height:calc(100dvh - 14px);overflow:hidden;background:#112b44;color:#eff7ff;border:1px solid #84bbda;border-radius:14px;padding:12px}
.nr-trophy-dialog::backdrop{background:#061328be}
.nr-trophy-dialog h3{margin:0;font-size:1.05rem;color:#ffe09b;overflow-wrap:anywhere}
.nr-trophy-dialog-body{font-size:.86rem;overflow-wrap:anywhere}
.nr-trophy-dialog-body p,.nr-trophy-dialog-body ul{margin:8px 0}
.nr-trophy-dialog-body ul{padding-left:19px}
.nr-trophy-dialog-body .nr-trophy-extra{display:block;width:100%;margin-bottom:4px;text-align:left}
.nr-trophy-dialog-body .nr260-arena-progress{margin:0;padding:.5rem}
@media(max-height:460px) and (min-width:540px){
 .nr-trophy-filter-menu>.nr-token-filters{width:min(480px,78vw);grid-template-columns:repeat(3,minmax(0,1fr))}
 .nr-trophy-close-filters{grid-column:3}
}
@media(max-width:370px){
 .nr-trophy-top,.nr-trophy-actions{gap:4px}
 .nr-trophy-gallery .nr-trophy-actions button,.nr-trophy-gallery .nr-trophy-filter-menu>summary{padding-inline:5px}
 .nr-trophy-gallery .nr-trophy-info{padding:0;min-height:31px;width:31px}
}
