.rank-page { background: #fff; }
.rank-banner { display: block; width: 100%; height: auto; }
.rank-categories { display: flex; overflow-x: auto; gap: 10px; padding: 10px 8px 9px; border-block: 4px solid #eee; }
.rank-categories a { flex: 0 0 80px; display: grid; justify-items: center; gap: 10px; font-size: 12px; white-space: nowrap; }
.rank-categories a[aria-current] { color: var(--gamehome-red); }
.rank-icon { width: 66px; height: 65px; background: url(../images/ranking-navigation.png) var(--offset, -12px) 0 / 748px 65px no-repeat; }
.rank-icon[data-icon="2"] { --offset: -92px; }
.rank-icon[data-icon="3"] { --offset: -173px; }
.rank-icon[data-icon="4"] { --offset: -250px; }
.rank-icon[data-icon="5"] { --offset: -332px; }
.rank-icon[data-icon="6"] { --offset: -416px; }
.rank-icon[data-icon="7"] { --offset: -499px; }
.rank-icon[data-icon="8"] { --offset: -583px; }
.rank-icon[data-icon="9"] { --offset: -666px; }
.rank-entry { display: grid; grid-template-columns: 21px minmax(50px, 72px) minmax(0, 1fr) 62px; align-items: center; gap: 14px; min-height: 104px; padding: 7px 9px 7px 0; border-bottom: 1px dashed #e3e3e3; }
.rank-place { color: #fff; background: #777; text-align: center; padding: 12px 0; border-radius: 0 3px 3px 0; }
[data-position="1"] .rank-place { background: #ee3300; }
[data-position="2"] .rank-place { background: #e98000; }
[data-position="3"] .rank-place { background: #8cc500; }
[data-position="4"] .rank-place { background: #009aff; }
[data-position="5"] .rank-place { background: #6259f3; }
.rank-cover img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: #f7f7f7; }
.rank-info a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; font-size: 16px; }
.rank-info span,.rank-action span { display: block; color: #777; font-size: 10px; margin-top: 7px; }
.rank-action { text-align: center; }
.rank-action a { display: block; padding: 4px 2px; color: #fff; background: #eb6900; border-radius: 3px; font-size: 12px; }
