.ranking-controls { display:flex; flex-wrap:wrap; gap:18px 30px; align-items:center; justify-content:center; margin:24px auto 32px; }
.ranking-control { display:flex; gap:12px; align-items:center; }
.ranking-control-label { color:#bbb; font-size:14px; }
.ranking-switch { display:grid; grid-template-columns:1fr 1fr; position:relative; isolation:isolate; width:240px; max-width:100%; padding:4px; border:1px solid #444; border-radius:7px; background:#151515; }
.ranking-switch.period-switch { width:280px; }
.ranking-switch::before { content:""; position:absolute; z-index:-1; left:4px; top:4px; bottom:4px; width:calc((100% - 8px)/2); background:#444; border-radius:4px; transition:transform .18s ease; }
.ranking-switch.has-second::before { transform:translateX(100%); }
.ranking-switch a { display:flex; align-items:center; justify-content:center; min-height:36px; padding:4px 10px; text-decoration:none; color:#bbb; font-size:14px; line-height:1.3; border-radius:4px; }
.ranking-switch a[aria-current=page] { color:#fff; font-weight:bold; }
.ranking-switch a:focus-visible { outline:2px solid white; outline-offset:3px; }
.top-rated .album-grid h3 { font-size:16px; line-height:1.45; margin:5px 0; }
.top-rated .album-grid .ranking-score { font-size:16px; line-height:1.45; margin:5px 0; color:#999; }
.top-rated .ranking-detail { margin:5px 0; color:#aaa; font-size:13px; }
.top-rated .ranking-explanation { max-width:750px; margin:36px auto 24px; padding:18px; border:1px solid #333; }
.top-rated .ranking-explanation p { margin-top:14px; }
@media (max-width:600px) { .ranking-controls { flex-direction:column; gap:12px; } .ranking-control { width:100%; justify-content:center; } .ranking-control-label { width:66px; flex-shrink:0; } .ranking-switch,.ranking-switch.period-switch { width:min(280px,calc(100vw - 110px)); } }
@media (prefers-reduced-motion:reduce) { .ranking-switch::before { transition:none; } }
