:root {
  --primary: #5b57e8;
  --primary-dark: #423cc9;
  --accent: #ff5b6e;
  --accent-soft: #fff0f2;
  --ink: #1c2033;
  --ink-2: #4c536b;
  --muted: #8990a6;
  --line: #e9ebf3;
  --bg: #f5f6fb;
  --card: #fff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(38, 44, 88, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 190px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 18px; }

/* ---------------- 固定头部 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; box-shadow: 0 3px 18px rgba(30, 36, 80, .09);
}
.topbar { background: linear-gradient(100deg, #202348 0%, #37317d 55%, #5b57e8 100%); color: #fff; }
.topbar-inner { display: flex; align-items: center; gap: 26px; height: 62px; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.logo span { color: #ffd76e; }
.main-nav { display: flex; gap: 4px; flex: 1; flex-wrap: nowrap; overflow: hidden; }
.main-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: rgba(255,255,255,.86); white-space: nowrap; transition: .2s; }
.main-nav a:hover, .main-nav a.on { background: rgba(255,255,255,.16); color: #fff; }
.search-box { display: flex; gap: 0; background: rgba(255,255,255,.14); border-radius: 9px; padding: 3px; }
.search-box input { width: 190px; border: 0; outline: 0; background: transparent; color: #fff; padding: 6px 10px; font-size: 13px; }
.search-box input::placeholder { color: rgba(255,255,255,.62); }
.search-box button { border: 0; border-radius: 7px; background: #ffd76e; color: #2a2550; font-weight: 700; padding: 5px 15px; cursor: pointer; }

.filter-panel { border-bottom: 1px solid var(--line); padding: 9px 0 8px; }
.filter-layout { display: flex; align-items: stretch; gap: 16px; }
.filter-lines { flex: 1 1 auto; min-width: 0; }
.filter-line { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.filter-line-triple { display: flex; gap: 30px; flex-wrap: wrap; }
.filter-line-double { display: flex; gap: 30px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 8px; min-width: 0; }
.filter-name { flex: 0 0 auto; color: var(--ink-2); font-weight: 700; font-size: 13px; }
.filter-name::after { content: "："; }
.filter-items { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.chip {
  display: inline-block; padding: 3px 11px; border-radius: 20px; font-size: 12.5px;
  color: var(--ink-2); background: #f1f2f9; border: 1px solid transparent; transition: .18s; white-space: nowrap;
}
.chip:hover { color: var(--primary); background: #eeecff; }
.chip.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.filter-actions {
  flex: 0 0 118px; display: flex; flex-direction: column; justify-content: center;
  gap: 6px; padding: 8px 12px; background: #fafaff;
  border: 1px solid var(--line); border-radius: 10px;
}
.btn-reset {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 54px; padding: 8px 6px; border-radius: 9px;
  background: linear-gradient(120deg, #eeecff, #e3e0ff); border: 1px solid #d5d0ff;
  color: var(--primary-dark); font-weight: 700; font-size: 13px; cursor: pointer; transition: .18s;
}
.btn-reset:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.reset-icon { font-size: 17px; line-height: 1; }
.filter-actions .filter-tip { text-align: center; font-size: 11px; }
.filter-tip { color: var(--muted); font-size: 12px; }

/* ---------------- 主体 ---------------- */
.main-area { padding-top: 22px; padding-bottom: 44px; min-height: 60vh; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.crumb a:hover { color: var(--primary); }
.hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(120deg, #fff 0%, #f0efff 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow);
}
.hero h1 { margin: 0 0 6px; font-size: 27px; letter-spacing: .5px; }
.hero h1::before { content: ""; display: inline-block; width: 5px; height: 24px; margin-right: 11px; border-radius: 3px; background: var(--primary); vertical-align: -3px; }
.hero-sub { margin: 0; color: var(--ink-2); font-size: 13.5px; max-width: 830px; }
.hero-stat { text-align: center; flex: 0 0 auto; padding-left: 26px; border-left: 1px solid var(--line); }
.hero-stat span { display: block; font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.hero-stat small { color: var(--muted); }

.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 20px 0 12px; }
.sort-tabs { display: flex; gap: 6px; }
.sort-tabs a, .pager a, .pager span { padding: 7px 15px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.sort-tabs a.on { color: #fff; background: var(--primary); border-color: var(--primary); font-weight: 700; }
.sort-tabs a:not(.on):hover, .pager a:hover { color: var(--primary); border-color: #c9c5ff; }
.active-filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.active-filters a { color: var(--primary); margin-left: 6px; }

.rank-table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.rank-table { width: 100%; border-collapse: collapse; min-width: 880px; }
.rank-table th { background: #fafaff; color: var(--ink-2); font-size: 13px; font-weight: 700; text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rank-table td { padding: 13px 14px; border-bottom: 1px solid #f1f2f8; vertical-align: middle; }
.rank-table tbody tr:last-child td { border-bottom: 0; }
.rank-table tbody tr:hover { background: #fbfbff; }
.col-rank { width: 66px; }
.rank-num { display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; border-radius: 8px; background: #f0f1f8; color: var(--ink-2); font-weight: 700; font-size: 13px; }
.rank-1 { background: #ff5b6e; color: #fff; } .rank-2 { background: #ff9350; color: #fff; } .rank-3 { background: #ffc451; color: #fff; }
.col-game { min-width: 300px; }
.game-cell { display: flex; align-items: center; gap: 12px; }
.game-icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 13px; overflow: hidden; background: #f0f1f8; box-shadow: 0 2px 8px rgba(30,36,80,.09); }
.game-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.icon-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: linear-gradient(135deg, #8d89ff, #5b57e8); color: #fff; font-size: 22px; font-weight: 800; }
.game-meta { min-width: 0; }
.game-name { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.game-name:hover { color: var(--primary); }
.game-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mini-tag { font-size: 11.5px; color: var(--ink-2); background: #f1f2f9; padding: 1px 8px; border-radius: 5px; }
.mini-tag:hover { color: var(--primary); background: #eeecff; }
.mini-tag.type { color: var(--primary); background: #eeecff; }
.col-time { color: var(--ink-2); white-space: nowrap; font-size: 13px; }
.discount-badge { display: inline-block; color: var(--accent); background: var(--accent-soft); border: 1px solid #ffdde1; padding: 3px 10px; border-radius: 7px; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.discount-badge.big { font-size: 14px; padding: 5px 14px; }
.download-cell { display: flex; align-items: center; gap: 10px; }
.btn-download { display: inline-block; background: linear-gradient(120deg, var(--primary), #7b6bff); color: #fff !important; border: 0; border-radius: 9px; padding: 8px 15px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: .2s; box-shadow: 0 3px 10px rgba(91,87,232,.24); }
.btn-download:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(91,87,232,.34); }
.btn-download.large { padding: 11px 24px; font-size: 14.5px; }
.qr-thumb { display: inline-flex; padding: 3px; background: #fff; border: 1px solid var(--line); border-radius: 8px; line-height: 0; }
.qr-thumb img { width: 64px; height: 64px; }
.btn-copy, .btn-ghost { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 15px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.btn-copy:hover, .btn-ghost:hover { color: var(--primary); border-color: #c9c5ff; }
.btn-ghost.small { padding: 5px 12px; font-size: 12.5px; }
.muted { color: var(--muted); }

.pager { display: flex; justify-content: center; align-items: center; gap: 7px; flex-wrap: wrap; margin: 22px 0; }
.pager a.on { color: #fff; background: var(--primary); border-color: var(--primary); font-weight: 700; }
.pager .dots { color: var(--muted); padding: 0 3px; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state a { color: var(--primary); }
.seo-copy { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; color: var(--ink-2); }
.seo-copy h2 { margin: 0 0 10px; font-size: 18px; color: var(--ink); }
.seo-copy p { margin: 0 0 10px; font-size: 13.5px; }

/* ---------------- 详情页 ---------------- */
.detail-head { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.detail-icon { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 20px; overflow: hidden; background: #f0f1f8; box-shadow: 0 4px 14px rgba(30,36,80,.12); }
.detail-icon img { width: 100%; height: 100%; object-fit: cover; }
.detail-title h1 { margin: 0 0 10px; font-size: 27px; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.detail-facts { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-2); font-size: 13px; }
.download-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 18px; background: linear-gradient(115deg, #fff7f8 0%, #fff 60%, #f2f0ff 100%); border: 1px solid #ffdde1; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.download-panel h2 { margin: 0 0 6px; font-size: 20px; }
.dl-tip { color: var(--ink-2); margin: 0 0 12px; font-size: 13px; }
.dl-url { font-size: 13px; color: var(--ink-2); word-break: break-all; background: #fff; border: 1px dashed #ffc9cf; border-radius: 8px; padding: 8px 12px; margin: 0 0 14px; }
.dl-url span { color: var(--muted); }
.dl-url a { color: var(--primary); font-weight: 600; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.download-qr { flex: 0 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 7px; }
.download-qr img { display: block; width: 168px; height: 168px; }
.download-qr span { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-2); }
.panel { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.panel-title { margin: 0 0 14px; font-size: 18px; padding-left: 12px; border-left: 4px solid var(--primary); }
.welfare-banner { display: inline-block; background: linear-gradient(100deg, #ff7a5c, #ff5b6e); color: #fff; font-weight: 700; padding: 7px 18px; border-radius: 9px; margin: 0 0 12px; }
.welfare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-top: 12px; }
.welfare-item { background: #fafaff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 15px; }
.welfare-item strong { display: block; color: var(--primary); margin-bottom: 4px; }
.welfare-item span { color: var(--ink-2); font-size: 13px; }
.lead { color: var(--ink-2); font-size: 14.5px; background: #f8f8ff; border-radius: 9px; padding: 12px 16px; }
.rich-text { color: var(--ink-2); font-size: 14px; line-height: 1.9; overflow-x: hidden; }
.rich-text img { border-radius: 8px; margin: 8px 0; }
.rich-text h2, .rich-text h3, .rich-text h4 { color: var(--ink); }
.screenshot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.shot { display: block; width: 100%; padding: 0; text-align: left; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #f4f5fa; cursor: zoom-in; }
.shot img { width: 100%; height: 250px; object-fit: cover; display: block; transition: .25s; }
.shot:hover img { transform: scale(1.04); }
.rich-img { cursor: zoom-in; }
.video-tip { color: var(--muted); font-size: 13px; margin: -4px 0 14px; }
.bili-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 380px)); justify-content: start; gap: 16px; }
.panel, .hero, .download-panel { scroll-margin-top: 190px; }
.bili-video-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: .2s; }
.bili-video-card:hover { transform: translateY(-2px); border-color: #c9c5ff; box-shadow: 0 10px 26px rgba(38,44,88,.14); }
.bili-cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2b2a5e, #6b63e8); overflow: hidden; }
.bili-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bili-cover-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); font-size: 62px; font-weight: 800; }
.bili-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.5); border: 2px solid rgba(255,255,255,.85); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 3px; transition: .2s; }
.bili-video-card:hover .bili-play { background: var(--primary); transform: translate(-50%, -50%) scale(1.08); }
.bili-kind { position: absolute; left: 10px; top: 10px; background: rgba(20,22,45,.7); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 6px; }
.bili-video-info { padding: 11px 14px 13px; }
.bili-video-info strong { display: block; font-size: 14px; margin-bottom: 3px; }
.bili-video-info span { color: var(--muted); font-size: 12.5px; }
.bili-video-card:hover .bili-video-info span { color: var(--primary); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; }
.related-card { text-align: center; }
.related-card img, .related-card .icon-placeholder { width: 68px; height: 68px; border-radius: 16px; margin: 0 auto 7px; display: block; }
.related-card .icon-placeholder { display: flex; align-items: center; justify-content: center; }
.related-card strong { display: block; font-size: 13px; }
.related-card span { color: var(--muted); font-size: 12px; }
.back-link { margin-top: 24px; }
.back-link a { color: var(--primary); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #232645; color: rgba(255,255,255,.66); padding: 28px 0; font-size: 12.5px; }
.footer-links a { color: #c9c6ff; margin: 0 3px; }
.footer-links a:hover { color: #ffd76e; }
.site-footer p { margin: 6px 0; max-width: 980px; }
.copyright { color: rgba(255,255,255,.4); }

/* ---------------- 后台 ---------------- */
.qr-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 22, 45, .78); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: zoom-out; }
.qr-lightbox img { width: 320px; height: 320px; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.qr-lightbox p { color: #fff; font-size: 13px; margin-top: 14px; }
.img-lightbox { position: fixed; inset: 0; z-index: 210; background: rgba(16, 18, 38, .93); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.img-lightbox .lb-img { max-width: min(92vw, 1500px); max-height: 84vh; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.55); cursor: default; }
.img-lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: .18s; }
.img-lightbox button:hover { background: rgba(255,255,255,.34); }
.img-lightbox .lb-close { top: 18px; right: 22px; font-size: 30px; }
.img-lightbox .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.img-lightbox .lb-next { right: 22px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.img-lightbox .lb-caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.88); font-size: 13px; }
.img-lightbox .lb-counter { margin-left: 10px; color: rgba(255,255,255,.6); }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.admin-head h1 { font-size: 24px; margin: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.admin-stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.admin-stats strong { display: block; font-size: 25px; color: var(--primary); }
.admin-stats span { color: var(--muted); font-size: 12.5px; }
.admin-search { display: flex; gap: 8px; margin-bottom: 14px; }
.admin-search input { flex: 1; max-width: 340px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; outline: 0; }
.admin-table td { font-size: 13px; }
.url-cell { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edit-form fieldset { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); margin-bottom: 16px; padding: 18px 20px; }
.edit-form legend { font-weight: 700; padding: 0 8px; color: var(--primary); }
.edit-form label { display: inline-flex; flex-direction: column; gap: 5px; width: 48%; margin: 0 1% 12px; font-size: 13px; color: var(--ink-2); }
.edit-form label.full { width: 98%; }
.edit-form input, .edit-form textarea { border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; font-size: 13px; outline: 0; font-family: inherit; }
.edit-form input:focus, .edit-form textarea:focus { border-color: var(--primary); }
.tag-check-group { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.tag-check-group strong { display: inline-block; width: 90px; color: var(--ink); }
.check { display: inline-flex !important; flex-direction: row !important; width: auto !important; align-items: center; gap: 4px; margin: 0 12px 6px 0 !important; }
.check input { width: auto; }
.edit-qr { margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; }
.form-ok { background: #e9fbf0; color: #15804a; border: 1px solid #bdeacd; border-radius: 9px; padding: 10px 14px; margin-bottom: 14px; }
.form-error { background: var(--accent-soft); color: #c2384a; border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; }
.admin-login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(120deg, #202348, #5b57e8); }
.login-card { width: 360px; background: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.login-card h1 { font-size: 21px; margin: 0; }
.login-card p { color: var(--muted); font-size: 12.5px; margin: 0; }
.login-card input { border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; outline: 0; }
.login-card > a { color: var(--primary); font-size: 13px; text-align: center; }
.about-panel h1 { margin-top: 0; font-size: 25px; }
.about-panel h2 { font-size: 17px; margin-top: 20px; }
.about-panel li { margin: 6px 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .topbar-inner { gap: 12px; }
  .main-nav a { padding: 7px 8px; font-size: 13px; }
  .search-box input { width: 130px; }
  .filter-line-triple, .filter-line-double { gap: 14px; }
  .filter-actions { flex-basis: 102px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .topbar-inner { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .logo { font-size: 20px; }
  .main-nav { order: 3; flex: 0 0 100%; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .search-box { margin-left: auto; }
  .search-box input { width: 120px; }
  .filter-panel { max-height: 46vh; overflow-y: auto; }
  .filter-layout { flex-direction: column; gap: 6px; }
  .filter-line-triple, .filter-line-double { gap: 6px 14px; align-items: flex-start; }
  .filter-line { flex-wrap: wrap; }
  .filter-actions { flex: 0 0 auto; flex-direction: row; align-items: center; justify-content: space-between; padding: 6px 10px; }
  .btn-reset { min-height: 36px; padding: 6px 16px; }
  .img-lightbox button { width: 38px; height: 38px; font-size: 22px; }
  .img-lightbox .lb-prev { left: 8px; }
  .img-lightbox .lb-next { right: 8px; }
  .img-lightbox .lb-close { top: 12px; right: 12px; }
  .hero { flex-direction: column; align-items: flex-start; padding: 18px; }
  .hero h1 { font-size: 22px; }
  .hero-stat { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0 0; text-align: left; }
  .hero-stat span { display: inline; font-size: 20px; margin-right: 8px; }
  .detail-head { flex-direction: column; align-items: flex-start; padding: 18px; }
  .detail-title h1 { font-size: 22px; }
  .download-panel { flex-direction: column; align-items: stretch; padding: 18px; }
  .download-qr { align-self: center; }
  .bili-video-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .rank-table-wrap { overflow-x: visible; }
  .rank-table { min-width: 0; display: block; }
  .rank-table thead { display: none; }
  .rank-table tbody, .rank-table tr, .rank-table td { display: block; width: 100%; }
  .rank-table tr { position: relative; padding: 14px 16px; border-bottom: 1px solid #f1f2f8; }
  .rank-table tr:last-child { border-bottom: 0; }
  .rank-table td { border: 0; padding: 4px 0; }
  .rank-table td[data-label]::before { content: attr(data-label) "："; color: var(--muted); font-size: 12px; margin-right: 4px; }
  .rank-table .col-rank { position: absolute; top: 14px; right: 16px; width: auto; padding: 0; }
  .rank-table .col-game { padding-right: 42px; padding-bottom: 8px; }
  .rank-table .col-download { padding-top: 8px; }
  .rank-table .qr-thumb img { width: 72px; height: 72px; }
}
