/* The collection strip stays short regardless of gear or window size (Daniel, 30 October 2026). */
#menu .hero-info{grid-template-areas:"collection bonus" "progress progress" "actions actions";gap:6px 10px;padding:8px 10px}
#menu .hero-info .race-box,#menu .hero-buttons .framed>small{display:none}
#menu .hero-info:has(.collection-details[open]){position:relative;z-index:30}
#menu .hero-stage{grid-template-rows:minmax(0,1fr)}
#menu .hero-buttons .framed{grid-template-rows:1fr;min-height:54px;padding:6px 8px}
#menu .hero-buttons .framed::before,#menu .hero-buttons .framed b{grid-row:1}
#menu .hero-buttons .framed b{overflow-wrap:normal;word-break:normal}
#menu .collection-details{grid-area:bonus;position:relative;justify-self:end;align-self:center;min-width:0}
#menu #collectionBonus{display:block;margin:0;padding:1px 8px;min-height:32px;white-space:nowrap;overflow:visible;text-overflow:clip;text-align:center;font:26px/1.15 var(--l2font)}
#menu #collectionBonus::-webkit-details-marker{display:none}
#menu #collectionBonus:focus-visible{outline:1px solid var(--gold);outline-offset:2px}
#menu .collection-details[open]>summary{color:var(--bright)}
#menu .collection-stats{position:absolute;z-index:5;right:0;bottom:calc(100% + 8px);width:min(620px,calc(100vw - 2rem));max-height:min(400px,55vh);overflow:auto;overscroll-behavior:contain;padding:12px 14px;text-align:left}
#menu .collection-stats>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
#menu .collection-stats h3{margin:0;color:var(--bright);font:26px/1.15 var(--l2font)}
#menu .collection-stats .close{position:static;flex:none}
#menu .collection-stats ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
#menu .collection-stats li{font:26px/1.15 var(--l2font);color:var(--green);overflow-wrap:normal}
@media(min-width:861px) and (max-width:1150px){
 #menu .collection-stats{right:0;width:min(620px,calc(100vw - 2rem - 23vw))}
}
@media(min-width:861px) and (max-width:1280px){
 #menu .hero-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 #menu .hero-buttons .framed{padding:6px 3px}
 #menu .hero-stage{grid-template-columns:52px minmax(0,1fr) 52px}
 #menu .equip-col{gap:6px}
 #menu .equip-col .icon{width:48px;height:48px}
}
@media(min-width:861px) and (max-height:760px){
 #menu .hero-stage{grid-template-columns:52px minmax(0,1fr) 52px}
 #menu .equip-col{gap:6px}
 #menu .equip-col .icon{width:48px;height:48px}
}
