/* 排行榜面板：沿用 bk262 的页签、翻页、芯片；只补榜单自己的行、状态和底栏 */
.pbox.rkbox { width: min(600px, 94vw); padding-top: 12px; padding-bottom: 12px; }
.rk28 { display: flex; flex-direction: column; gap: 6px; }
.pbox.rkbox .rk28 .bk-tab { padding: 0 2px !important; justify-content: center; text-align: center; letter-spacing: 0; font-size: 13px; white-space: nowrap; }
.pbox.rkbox .rk28 .bk-tab i { position: static; margin: 0 2px 0 0; flex: none; display: inline-block; vertical-align: middle; }
.pbox.rkbox .rk28 .bk-tab { display: flex; align-items: center; justify-content: center; }
.rk-body { min-height: 158px; display: flex; flex-direction: column; justify-content: center; }
.rk-list { display: flex; flex-direction: column; gap: 2px; }
.rk-row { position: relative; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px 0 6px; border: 1px solid rgba(58, 52, 54, .42); border-radius: 4px; background: linear-gradient(#f6eed6, #ede2c2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(120, 96, 56, .16); box-sizing: border-box; color: #2a2018; }
.rk-row.me { border-color: #b5483a; background: linear-gradient(#f6e2c0, #ecd2a0); }
.rk-medal { flex: none; width: 24px; height: 24px; margin: 0 0 0 2px; background: center / 24px 24px no-repeat; image-rendering: pixelated; }
.rk-no { flex: none; width: 28px; text-align: center; font-style: normal; font-size: 14px; color: #6a5a40; }
.rk-av { flex: none; width: 24px; height: 24px; margin: 0; background: center / 24px 24px no-repeat; image-rendering: pixelated; }
.rk-name { flex: 1; min-width: 0; font-size: 15px; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-val { flex: none; font-size: 14px; font-weight: 700; color: #5a3d1c; font-variant-numeric: tabular-nums; }
.rk-state { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; padding: 6px 0; }
.rk-state p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: #4a4038; max-width: 260px; }
.rk-pic { flex: none; width: 96px; height: 96px; background: center / 96px 96px no-repeat; image-rendering: pixelated; }
.rk-spin { display: block; width: 24px; height: 24px; margin: 0 auto 6px; background: url(../../assets/art_v25r1/ui_bk_spin_ink.png) 0 0 / 96px 24px no-repeat; image-rendering: pixelated; animation: rk-spin .7s steps(4) infinite; }
.rk-state:has(.rk-spin) { flex-direction: column; gap: 0; }
.rk-state:has(.rk-spin) p { text-align: center; margin: 0; }
@keyframes rk-spin { from { background-position: 0 0; } to { background-position: -96px 0; } }
.rk-btn { height: 36px; min-width: 96px; padding: 0 !important; background: none !important; box-shadow: none !important; border: 12px solid transparent !important; border-image: url(../../assets/art_v25r1/ui_bk_btn_secondary.png) 12 fill stretch !important; color: #3a3436 !important; font-family: inherit; font-size: 14px; box-sizing: content-box; height: 14px; line-height: 14px; }
.rk-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(58, 52, 54, .25); padding-top: 6px; }
.rk-me { display: flex; align-items: baseline; gap: 12px; flex: 1; min-width: 0; padding: 4px 10px; border-left: 3px solid #b5483a; background: rgba(181, 72, 58, .07); color: #2a2018; }
.rk-me b { font-size: 15px; letter-spacing: 1px; color: #a8584c; white-space: nowrap; }
.rk-me span { font-size: 14px; font-weight: 700; color: #5a3d1c; white-space: nowrap; }
.rk-foot .bk-pager { margin: 0; flex: none; height: 28px; }
.rk-foot .bk-pager span { min-width: 40px; text-align: center; font-size: 13px; color: #4a4038; font-variant-numeric: tabular-nums; }
.pbox.rkbox .ink-head { margin-bottom: 4px; }
.pbox.rkbox .ink-head h3 { font-size: 22px; }
@media (max-height: 380px) { .rk-body { min-height: 140px; } .rk-row { height: 26px; } .rk-state { transform: scale(.9); } .pbox.rkbox { padding-top: 8px; padding-bottom: 8px; } .rk28 { gap: 4px; } }

.rk-foot .bk-pager button { width: 28px !important; height: 28px !important; padding: 0 !important; border: 0 !important; background: url(../../assets/art_v25r1/ui_bk_page_arrow.png) 0 0 / 56px 28px no-repeat !important; image-rendering: pixelated; box-shadow: none !important; }
.rk-foot .bk-pager button.nx { background-position: -28px 0 !important; }
.rk-foot .bk-pager button:disabled { opacity: .3; }
.rk-foot .bk-pager i { display: none; }

/* 五个页签字数不同：图标固定在左，名字放在固定宽度的格子里居中；四字的把字距拉开到和五字一样宽 */
.pbox.rkbox .rk28 .bk-tab { gap: 3px; padding: 0 4px !important; font-size: 12.5px; justify-content: center; }
.pbox.rkbox .rk28 .bk-tab i { width: 24px; height: 24px; margin: 0; }
.rk28 .bk-tab .tn { display: block; width: 64px; flex: none; text-align: center; white-space: nowrap; letter-spacing: 0; overflow: hidden; }
.rk28 .bk-tab .tn.n4 { letter-spacing: 3px; text-indent: 3px; }
.pbox.rkbox .rk28 .bk-tab { flex: 1 1 0; min-width: 0; }
