/* Collection cards share the title font; tier colours belong to the cups. */
.trophy-icon{display:block;width:36px;height:42px;flex:none;color:#b98b68}
.trophy-icon svg{display:block;width:100%;height:100%;fill:currentColor}
[data-tier="silver"] .trophy-icon,.trophy-icon[data-tier="silver"]{color:#d7e1eb}
[data-tier="gold"] .trophy-icon,.trophy-icon[data-tier="gold"]{color:#f4cd68}
[data-tier="platinum"] .trophy-icon,.trophy-icon[data-tier="platinum"]{color:#a6e7f5}
#arena #titleModes #extraBtn{color:white;opacity:1}
#extraCount{color:#bbc8d5}
#menu[data-screen="extra"] .title-logo{top:3%;width:min(30%,360px)}
#menu[data-screen="extra"] .title-logo img{max-height:12dvh}
#titleExtra{position:absolute;inset:19% 7% 15%;display:flex;flex-direction:column;min-height:0;text-align:left}
.trophy-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;flex:none}
.trophy-heading small{font-size:10px;color:#b4c5d6;letter-spacing:.18em}
.trophy-heading h2{font-size:clamp(22px,3vw,34px);font-style:italic;letter-spacing:.06em;margin:3px 0 0}
.trophy-total{text-align:right;white-space:nowrap}.trophy-total strong{font-size:clamp(23px,3vw,34px);font-variant-numeric:tabular-nums}.trophy-total span{font-size:12px;color:#b9c9d7;margin-left:12px}
#trophyCollectionProgress{display:block;appearance:none;flex:none;width:100%;height:4px;margin:12px 0 10px;border:0;background:#ffffff30}
#trophyCollectionProgress::-webkit-progress-bar,.trophy-progress::-webkit-progress-bar{background:#ffffff25}#trophyCollectionProgress::-webkit-progress-value,.trophy-progress::-webkit-progress-value{background:#f0d79b}#trophyCollectionProgress::-moz-progress-bar,.trophy-progress::-moz-progress-bar{background:#f0d79b}
.trophy-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex:none}
#trophyTierCounts{display:flex;gap:16px;align-items:center}.trophy-tier-count{display:flex;align-items:center;gap:6px;font-size:12px}.trophy-tier-count .trophy-icon{width:14px;height:18px}
.trophy-filters{display:flex;gap:4px}
#arena #menu .trophy-filters button{padding:8px 12px;min-height:36px;font-size:12px;color:#aebed0;border-bottom:2px solid transparent}
#arena #menu .trophy-filters button[aria-pressed="true"]{color:white;border-color:#f0d79b;background:#ffffff12}
#trophyList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;min-height:0;scrollbar-width:thin;padding:2px 4px 4px 2px;align-content:start}
.trophy-card{display:flex;align-items:start;gap:15px;background:#08111def;border:1px solid #65738566;padding:18px;min-width:0}
.trophy-card[data-earned="true"]{border-color:#c6b17988;background:#17202bee}.trophy-card[data-earned="false"]>.trophy-icon{opacity:.32;filter:grayscale(1)}
.trophy-copy{flex:1;min-width:0}.trophy-meta{font-size:9px;color:#a9b9c9;letter-spacing:.06em}.trophy-copy h3{font-size:clamp(15px,1.5vw,19px);line-height:1.4;margin:5px 0;color:white;overflow-wrap:anywhere}.trophy-condition{font-size:12px;line-height:1.6;color:#ced6df;margin:0;min-height:38px}
.trophy-status{display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:space-between;font-size:10px;color:#9eaebf;margin-top:13px}.trophy-status strong{color:#f0d79b;font-weight:500}.trophy-status b{color:#d6e0ea;font-variant-numeric:tabular-nums}
.trophy-progress{display:block;width:100%;height:3px;appearance:none;border:0;background:#ffffff25;margin-top:8px}
.trophy-notes{display:flex;justify-content:space-between;gap:8px;margin:10px 0 0;font-size:10px;line-height:1.5;color:#acbac9;flex:none}.trophy-notes p{margin:0}#trophyEmpty{color:#d0dae4;font-size:13px;line-height:1.8;padding:20px 0}#trophyEmpty[hidden]{display:none}
#trophyToast{position:absolute;z-index:19;pointer-events:none;display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 15px;box-sizing:border-box;border:1px solid #bbc9da77;border-left:3px solid #e4d4ab;background:#09121ef5;box-shadow:0 6px 22px #0008;color:white;border-radius:3px;text-align:left}
#trophyToast[hidden]{display:none}#trophyToast .trophy-icon{width:29px;height:34px}#trophyToast>div{min-width:0;flex:1}#trophyToast small{display:block;font-size:10px;line-height:1.4;color:#c5d0db}#trophyToastName{display:block;font-size:14px;line-height:1.6;font-weight:600;white-space:normal;overflow-wrap:anywhere}#trophyToastTier{font-size:9px;line-height:1.3;color:#a7b8c9}
@media(orientation:portrait){
 #menu[data-screen="extra"] .title-logo{top:3%;width:60%}#titleExtra{inset:16% 5% 22%}
 #trophyList{grid-template-columns:1fr}.trophy-card{padding:14px;gap:12px}.trophy-tools{flex-wrap:wrap;gap:5px}#trophyTierCounts{gap:20px}.trophy-filters{margin-left:auto}
 .trophy-heading h2{font-size:23px}.trophy-total strong{font-size:23px}.trophy-total span{font-size:10px;margin-left:7px}.trophy-notes{display:block}.trophy-notes p+p{margin-top:3px}
}
@media(orientation:landscape) and (max-height:560px){
 #menu[data-screen="extra"] .title-logo{top:2%;width:21%}#menu[data-screen="extra"] .title-logo img{max-height:10dvh}#titleExtra{inset:14% 7% 16%}
 .trophy-heading h2,.trophy-total strong{font-size:21px}.trophy-heading small{font-size:8px}#trophyCollectionProgress{margin:6px 0}.trophy-tools{margin-bottom:6px}.trophy-filters button{min-height:30px!important;padding:5px 10px!important}.trophy-card{padding:12px}.trophy-card>.trophy-icon{width:26px;height:32px}.trophy-condition{font-size:11px}.trophy-notes{font-size:9px;margin-top:5px}
}
@media(prefers-reduced-motion:reduce){#trophyToast{animation:none!important}}
