.ranking-movement-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:0 7px 18px rgba(19,32,25,.05);font-size:10px;font-weight:800;color:var(--muted)}
.ranking-movement-legend strong{margin-right:auto;color:var(--ink);font-size:11px}
.ranking-movement-legend span{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:999px;background:#f1f4ef;white-space:nowrap}
.ranking-movement-legend .up,.ranking-movement.up{color:#137a43;background:#e6f6eb}
.ranking-movement-legend .same,.ranking-movement.same{color:#65726d;background:#eef1ef}
.ranking-movement-legend .down,.ranking-movement.down{color:#b0443f;background:#fbeceb}
.ranking-movement-legend b{font-size:12px;line-height:1}
.player-name-with-movement{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}
.player-name-with-movement>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ranking-movement{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:28px;max-width:100%;padding:3px 4px;border-radius:999px;font-size:8px;line-height:1;font-weight:900;white-space:nowrap}
.player-name-with-movement .ranking-movement{flex:0 0 auto;margin:0;transform:translateY(-1px)}
.ranking-movement b{font-size:inherit}
.ranking-movement.new{color:#6a5720;background:#fff4ca;font-size:7px}
html[data-theme="dark"] .ranking-movement-legend{border-color:#33473c;background:#17251e;box-shadow:none;color:#aebcb4}
html[data-theme="dark"] .ranking-movement-legend strong{color:#f4f8f5}
html[data-theme="dark"] .ranking-movement-legend span{background:#26372e}
html[data-theme="dark"] .ranking-movement-legend .up,html[data-theme="dark"] .ranking-movement.up{color:#83d6a5;background:#173c28}
html[data-theme="dark"] .ranking-movement-legend .same,html[data-theme="dark"] .ranking-movement.same{color:#c2ccc6;background:#2c3932}
html[data-theme="dark"] .ranking-movement-legend .down,html[data-theme="dark"] .ranking-movement.down{color:#f0aaa4;background:#492724}
html[data-theme="dark"] .ranking-movement.new{color:#f2d577;background:#463b1e}
@media(max-width:700px){.ranking-movement-legend{gap:6px;padding:10px}.ranking-movement-legend strong{width:100%;margin-right:0}.ranking-movement-legend span{padding:4px 6px;font-size:9px}.standings tr{min-height:66px}.player-name-with-movement{gap:5px}}
