.rank-panel{margin:1.25rem 0;padding:clamp(14px,3vw,24px);color:#203a35;background:#f4f6ec;border:1px solid #d1ded1;border-radius:18px}
.rank-panel[hidden]{display:none}.rank-panel h2,.rank-panel h3,.rank-panel p{margin:0 0 .4rem}
.rank-kicker{font-size:.75rem;font-weight:800;letter-spacing:.12em;color:#216354}
#rank-progress progress{width:100%;height:12px;margin:.4rem 0;accent-color:#286854}
#rank-gallery{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0;margin:1rem 0}
#rank-gallery li{min-width:0;text-align:center;border:1px solid #d9e1d7;border-radius:12px;background:#fffdf6;padding:8px 4px}
#rank-gallery li[aria-current]{border:2px solid #286854;background:#e6f2e8}
#rank-gallery img{display:block;width:min(100%,112px);height:auto;margin:auto}
#rank-gallery strong,#rank-gallery span,#rank-gallery small{display:block;overflow-wrap:anywhere}
#rank-gallery span,#rank-gallery small,.rank-note{font-size:.85rem}
.rank-locked img{filter:saturate(.22);opacity:.7}
@media(max-width:580px){#rank-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
