:root {
  --bg: #07101c;
  --text: #f4f7ff;
  --muted: rgba(230, 236, 247, 0.68);
  --green: #3ee0a0;
  --red: #ff7b8a;
  --orange: #ffc45a;
  --blue: #7ec8ff;
  --purple: #c4b5ff;
  --glass: rgba(16, 24, 40, 0.42);
  --glass-2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --glass-blur: 28px;
  --page-pad: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #07101c;
  background-image:
    radial-gradient(1200px 700px at 12% -10%, rgba(88, 140, 255, 0.35), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(180, 90, 255, 0.28), transparent 50%),
    linear-gradient(180deg, #0b1730 0%, #07101c 55%, #050b14 100%);
  min-height: 100vh;
}
/* 壁纸独立固定图层：不随页面高度拉伸，长页面（游戏列表）也能正常显示 */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--wall-image, none);
  background-size: cover;
  background-position: center;
}
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.18), rgba(5, 10, 20, 0.45));
}
#appShell, #loginGate { position: relative; z-index: 1; }
.toast { z-index: 300; }
.modal-mask { z-index: 200; }
.hidden { display: none !important; }

.glass {
  background: var(--glass);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
}

.page {
  width: min(1180px, calc(100% - var(--page-pad) * 2));
  margin: 18px auto 0;
  padding-bottom: 120px; /* 给固定 Dock 留出空间，避免最后一行被压住 */
}

.site-nav {
  position: relative;
  width: 100%;
  margin: 0;
  background: rgba(8, 10, 16, 0.88);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(22px) saturate(140%);
  z-index: 80;
}
.nav-inner {
  width: 100%;
  padding: 0 12px 0 16px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.brand-cn { font-size: 22px; font-weight: 800; letter-spacing: 0.04em; }
#brandHome { cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: transform .15s, opacity .15s; }
#brandHome:hover .brand-cn { opacity: .82; }
#brandHome:active { transform: scale(.96); }
.brand-en { font-size: 11px; color: var(--orange); font-weight: 700; letter-spacing: 0.18em; }
.nav-right {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto; flex: 0 0 auto;
}
.avatar-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,196,90,.7);
  background: linear-gradient(135deg, #ff9f43, #ff6b6b);
  color: #fff; font-weight: 800; font-size: 14px; cursor: pointer;
  background-size: cover; background-position: center;
  flex: 0 0 40px; overflow: hidden; padding: 0;
}
#userMenu {
  position: fixed;
  top: 58px;
  right: 12px;
  left: auto;
  width: 188px;
  min-width: 188px;
  max-width: 188px;
  padding: 8px;
  border-radius: 16px;
  z-index: 260;
  isolation: isolate;
  background: var(--glass);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
}
.menu-user { padding: 8px 12px 10px; border-bottom: 1px solid var(--stroke); margin-bottom: 6px; }
.menu-nick { font-size: 14px; font-weight: 700; }
.menu-acc { font-size: 12px; color: var(--muted); margin-top: 2px; }
#menuUserMail { font-size: 11.5px; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-item {
  width: 100%; text-align: left; background: transparent; border: 0; color: var(--text);
  padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 13px;
}
.menu-item:hover { background: rgba(255,255,255,0.08); }
.menu-item.on { background: rgba(255,255,255,0.12); font-weight: 700; }
.menu-item.danger { color: #ffb3bb; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
}
.search-ico {
  color: var(--muted);
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 22px;
}
.search-ico svg { width: 18px; height: 18px; display: block; }
.search-bar input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text);
  font-size: 14px; outline: none; height: 32px;
}
.search-bar input::placeholder { color: rgba(230, 236, 247, 0.45); }
.quota {
  color: var(--muted); font-size: 12px; white-space: nowrap;
  flex: 0 0 auto;
}
.search-split {
  width: 1px; height: 18px; background: var(--stroke); flex: 0 0 1px;
}
.search-go {
  height: 36px; padding: 0 16px; border: 0; background: transparent;
  color: var(--text); font-size: 14px; font-weight: 700; cursor: pointer;
  flex: 0 0 auto; border-radius: 999px;
}
.search-go:hover { background: rgba(255,255,255,0.08); }

.icon-row {
  margin-top: 16px; padding: 18px 8px 14px;
  border-radius: 18px;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 8px 0;
}
.icon-item {
  background: transparent; border: 0; color: var(--text);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; font-size: 12px;
}
.icon-tile {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}
.icon-tile.add { color: var(--text); }
.section-title {
  display: flex; align-items: baseline; gap: 8px;
  margin: 22px 0 12px; font-size: 16px; font-weight: 800;
}
.section-title .star { color: var(--text); display: inline-flex; }
.ico svg, .icon-tile svg, .search-go svg, .search-ico svg, .star svg {
  width: 20px; height: 20px; display: block;
}
.icon-tile svg { width: 24px; height: 24px; }
.avatar-preview {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--stroke); margin-top: 8px;
}
.section-title small { margin-left: auto; font-weight: 400; color: var(--muted); font-size: 12px; }

.stats-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
}
.stat-cell {
  padding: 16px 18px;
  border-right: 1px solid var(--stroke);
  min-width: 0;
}
.stat-cell:last-child { border-right: none; }
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.stat-num { font-size: 28px; font-weight: 750; margin-top: 6px; line-height: 1; }
.stat-cell.ok .stat-num { color: var(--green); }
.stat-cell.changed .stat-num { color: var(--orange); }
.stat-cell.error .stat-num { color: var(--red); }
.stat-cell.paused .stat-num { color: var(--purple); }

.toolbar { display: none; }
.filter-tabs { display: none; }
.toolbar-note { color: var(--muted); font-size: 12px; }

.btn {
  border: 1px solid var(--stroke); background: rgba(255,255,255,0.06); color: var(--text);
  padding: 8px 14px; border-radius: 12px; font-size: 13px; cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; height: 36px;
}
.btn.glass {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
}
.btn:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.btn.primary {
  background: var(--glass);
  border-color: var(--stroke); color: var(--text); font-weight: 700;
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
}
.btn.primary:hover { filter: none; background: rgba(255,255,255,0.12); }
.btn.ghost { background: transparent; }
.btn.danger:hover { border-color: var(--red); color: var(--red); }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 10px; height: 30px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)); gap: 18px; }
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .stats-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cell { border-bottom: 1px solid var(--stroke); }
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-last-child(-n+1) { border-bottom: none; }
  .topbar { flex-wrap: wrap; }
  .nav-inner { height: 52px; padding: 0 10px 0 12px; }
  .nav-right { margin-left: auto; }
}

.mcard {
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  border-radius: 22px; transition: transform .18s, border-color .18s;
}
.mcard:hover { transform: translateY(-4px); border-color: rgba(126,200,255,.45); }
.mcard-shot { position: relative; height: 188px; background: rgba(0,0,0,.28); overflow: hidden; }
.mcard-shot img {
  /* 标题+封面+信息+独享按钮行整块放大铺满预览框：标题完整在顶、评价区挤出 */
  position: absolute; width: 113.7%; height: auto; top: 0; left: -6.85%; margin-top: -9.2%;
  display: block;
}
/* 单列/双列切换：双列时整卡等比例缩小到约一半 */
.grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid.two-col .mcard { transform-origin: top left; }
.grid.two-col .mcard-shot { height: 94px; }
.grid.two-col .mcard-body { padding: 9px 10px 6px; gap: 3px; }
.grid.two-col .mcard-title { font-size: 12px; }
.grid.two-col .mcard-url { font-size: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid.two-col .mcard-meta { font-size: 10px; }
.grid.two-col .mcard-actions { padding: 0 10px 9px; gap: 5px; }
.grid.two-col .mcard-actions .btn { font-size: 11px; padding: 4px 8px; height: auto; }
.grid.two-col .badges { top: 6px; right: 6px; gap: 4px; }
.grid.two-col .badge { font-size: 10px; padding: 2px 7px; }
.col-toggle { margin-left: 10px; white-space: nowrap; padding: 3px 10px; font-size: 12px; border-radius: 10px; border: 1px solid var(--stroke); background: rgba(255,255,255,.05); color: var(--text); cursor: pointer; }
.col-toggle:hover { border-color: rgba(126,200,255,.5); }
.mcard-shot .shot-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px;
}
.mcard.paused .mcard-shot img { filter: brightness(0.4) grayscale(0.45); }
.badges { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.badge {
  padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
  backdrop-filter: blur(10px);
}
.badge.ok { background: rgba(62,224,160,.18); color: var(--green); border: 1px solid rgba(62,224,160,.45); }
.badge.changed { background: rgba(255,123,138,.16); color: #ffb3bb; border: 1px solid rgba(255,123,138,.5); }
.badge.error { background: rgba(255,123,138,.16); color: var(--red); border: 1px solid rgba(255,123,138,.5); }
.badge.paused { background: rgba(196,181,255,.16); color: var(--purple); border: 1px solid rgba(196,181,255,.4); }
.badge.time { background: rgba(8,12,24,.45); color: var(--purple); border: 1px solid rgba(196,181,255,.28); }
.mcard-body { padding: 14px 16px 10px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mcard-title { font-size: 15px; font-weight: 700; }
.mcard-url { color: var(--muted); font-size: 12px; word-break: break-all; text-decoration: none; }
.mcard-url:hover { color: var(--blue); }
.mcard-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; gap: 8px; }
.mcard-meta .ex-state.on { color: var(--orange); font-weight: 700; }
.owner-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--blue);
}
.mcard-actions { display: flex; gap: 8px; padding: 0 16px 14px; flex-wrap: wrap; }

.detail-head { display: flex; align-items: center; gap: 16px; margin: 20px 0 18px; }
.detail-head h2 { font-size: 18px; }
.detail-url { color: var(--muted); font-size: 13px; word-break: break-all; }
.detail-head > div { flex: 1; min-width: 0; }
.table-card { border-radius: 18px; overflow: hidden; }
.records-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.records-table th {
  text-align: left; padding: 12px 16px; color: var(--muted); font-weight: 500;
  background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--stroke);
}
.records-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.records-table tr:last-child td { border-bottom: none; }
.st-pill { padding: 4px 12px; border-radius: 999px; font-size: 12px; display: inline-block; }
.st-pill.ok { background: rgba(62,224,160,.14); color: var(--green); }
.st-pill.changed { background: rgba(255,123,138,.14); color: #ffb3bb; }
.st-pill.error { background: rgba(255,123,138,.14); color: var(--red); }
/* v2.10：被跳过的检查帧 / 记录里的独享状态胶囊 */
.st-pill.skipped { background: rgba(150,170,200,.16); color: #aab8cc; }
.ex-pill { padding: 3px 10px; border-radius: 999px; font-size: 12px; display: inline-block;
  background: rgba(255,255,255,.07); color: var(--muted); }
.ex-pill.on { background: rgba(255,170,60,.16); color: var(--orange); font-weight: 700; }
.ex-pill.pending { background: rgba(150,170,200,.12); color: #9fb0c6; }
.ex-state.pending { color: #9fb0c6; }
.pct-up { color: var(--orange); }
.pct-zero { color: var(--muted); }
.mail-sent { color: var(--green); }
.mail-none { color: var(--muted); }
.err-text { color: var(--red); font-size: 12px; }
/* v2.7：页面未加载完整而跳过通知的说明，用中性灰，避免看起来像报错 */
.skip-text { color: var(--muted); font-size: 12px; }

.modal-mask {
  position: fixed; inset: 0; background: rgba(4, 8, 16, .45); z-index: 100;
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;
  backdrop-filter: blur(8px);
}
.modal {
  padding: 24px; width: 520px; max-width: 100%; border-radius: 22px;
}
.modal.wide { width: 860px; }
.modal h3 { margin-bottom: 16px; font-size: 17px; }
.modal label { display: block; color: var(--muted); font-size: 12px; margin: 12px 0 6px; }
.modal input, .modal select, .login-card input {
  width: 100%; background: rgba(255,255,255,0.08); border: 1px solid var(--stroke); color: var(--text);
  padding: 10px 12px; border-radius: 12px; font-size: 13px; outline: none; height: 40px;
}
.modal input[type="file"] { height: auto; padding: 8px 12px; }
.modal input[type="range"] {
  height: 6px; padding: 0; background: transparent; border: 0;
  accent-color: #7ec8ff;
}
.modal input:focus, .modal select:focus, .login-card input:focus { border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.7; background: rgba(255,255,255,0.05); padding: 10px 12px; border-radius: 12px; }
.field-hint { color: var(--muted); font-size: 12px; margin-top: 6px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 6px; }
.range-head label { margin: 0; }
.range-head span { color: var(--blue); font-size: 12px; }

#detailModalBody img { max-width: 100%; border-radius: 12px; border: 1px solid var(--stroke); margin: 6px 0; }
.cmp-row { display: flex; gap: 12px; margin: 10px 0 18px; }
.cmp-row > div { flex: 1; }
.cmp-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cmp-label.after { color: var(--red); }

.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.empty-icon { font-size: 42px; margin-bottom: 12px; }
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  padding: 10px 22px; border-radius: 14px; font-size: 13px; z-index: 200;
}
.toast.err { border-color: var(--red); color: #ffb3bb; }

.login-gate {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 20px 28px; gap: 28px;
}
.welcome-block { text-align: center; max-width: 640px; }
.welcome-block h1 {
  font-size: 40px; font-weight: 750; letter-spacing: 0.02em;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.welcome-block p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.build-notice {
  width: min(560px, 100%); padding: 26px 24px; border-radius: 22px; text-align: center;
  border: 1px solid rgba(255, 186, 66, .38);
  background: linear-gradient(160deg, rgba(255,186,66,.16), rgba(255,186,66,.04));
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.build-notice .build-icon { font-size: 30px; line-height: 1; margin-bottom: 10px; }
.build-notice h2 { font-size: 22px; font-weight: 750; letter-spacing: .01em; color: #ffcf7a; }
.build-notice p { margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.login-card {
  width: 420px; max-width: 100%; padding: 28px 24px; border-radius: 24px;
}
.login-card h2 { margin-bottom: 6px; font-size: 20px; }
.login-card label { display: block; color: var(--muted); font-size: 12px; margin: 12px 0 6px; }
.login-card .modal-actions { justify-content: stretch; }
.login-card .modal-actions .btn { flex: 1; }
.login-switch { margin-top: 14px; font-size: 13px; color: var(--muted); }
.login-switch a { color: var(--blue); text-decoration: none; }
.user-chip { display: none; }
.check-row {
  display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 13px; cursor: pointer;
}
.check-row input { width: auto; height: auto; }
.usage-card {
  width: min(860px, 100%); padding: 20px 22px; border-radius: 20px;
}
.usage-card h3 { font-size: 14px; margin-bottom: 8px; }
.usage-card ul { padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.wall-preview {
  width: 100%; height: 120px; border-radius: 14px; object-fit: cover; border: 1px solid var(--stroke); margin-top: 8px;
}
.pre-row {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; cursor: pointer; color: var(--muted); font-size: 13px; line-height: 1.5;
}
.pre-row input { width: auto; height: auto; margin-top: 3px; }

/* ================= 游戏列表 ================= */
.games-hero {
  border-radius: 22px; padding: 26px 26px 22px; margin-top: 4px;
}
.games-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; background: rgba(255,255,255,.08); border: 1px solid var(--stroke);
  color: var(--muted);
}
.games-chip i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px rgba(62,224,160,.8);
}
.games-hero h1 { font-size: 30px; font-weight: 800; margin-top: 14px; letter-spacing: .02em; }
.games-hero p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.games-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 18px;
}
.games-stats .gcell {
  border-radius: 16px; padding: 14px 16px; border: 1px solid var(--stroke);
  background: rgba(255,255,255,.06);
}
.games-stats .gnum { font-size: 24px; font-weight: 800; line-height: 1.1; }
.games-stats .glabel { font-size: 12px; color: var(--muted); margin-top: 4px; }
.games-stats .gcell.ns2 .gnum { color: #ff9ec4; }

.games-filter { border-radius: 20px; padding: 16px 18px; margin-top: 16px; position: relative; z-index: 70; }
/* 游戏搜索 · 首页同款胶囊 */
.g-search { margin-top: 10px; margin-bottom: 16px; border-radius: 999px; }
.g-search input { background: transparent !important; border: 0 !important; height: 32px !important; padding: 0 !important; }
.games-filter-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.games-filter-row label { color: var(--muted); font-size: 13px; }
.games-filter select, .games-filter input {
  background: rgba(255,255,255,.08); border: 1px solid var(--stroke); color: var(--text);
  padding: 10px 14px; border-radius: 12px; font-size: 13px; outline: none; height: 40px;
}

/* 平台筛选 · 液态玻璃下拉 */
.gdd { position: relative; }
.gdd-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  min-width: 160px; height: 40px; padding: 0 14px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid var(--stroke);
  color: var(--text); font-size: 13px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.gdd-btn:hover { background: rgba(255,255,255,.13); }
.gdd-chev {
  width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; opacity: .75;
  transition: transform .2s;
}
.gdd.open .gdd-chev { transform: rotate(180deg); }
.gdd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  min-width: 160px; padding: 6px; border-radius: 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.gdd-opt {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 9px; border: 0; background: transparent;
  color: var(--text); font-size: 13px; cursor: pointer; text-align: left;
  transition: background .12s;
}
.gdd-opt:hover { background: rgba(255,255,255,.1); }
.gdd-opt.on { background: rgba(126,140,255,.22); color: #cfd6ff; font-weight: 700; }
.gdd-opt.on::after { content: '✓'; font-size: 12px; }
.games-filter input { flex: 1; min-width: 0; }
.games-filter-foot {
  display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px;
  flex-wrap: wrap;
}
.games-filter-foot b { color: var(--text); }
.g-updated { opacity: .75; }
.games-admin { display: inline-flex; gap: 8px; margin-left: auto; align-items: center; }

.games-list { border-radius: 20px; margin-top: 16px; overflow: hidden; }
.games-thead {
  display: grid; grid-template-columns: 60px 92px 1fr 76px auto;
  padding: 12px 18px; color: var(--muted); font-size: 12.5px;
  background: rgba(255,255,255,.05); border-bottom: 1px solid var(--stroke);
  align-items: center; gap: 8px;
}
.gc-sort {
  display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer; user-select: none; transition: color .15s;
  white-space: nowrap;
}
.gc-sort:hover { color: var(--text); }
.sort-ico {
  width: 13px; height: 13px; flex: 0 0 13px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .35; transition: opacity .15s, transform .25s, color .15s;
}
.gc-sort:hover .sort-ico { opacity: .7; }
.gc-sort.sorted { color: var(--blue); }
.gc-sort.sorted .sort-ico { opacity: 1; color: var(--blue); }
.gc-sort.desc .sort-ico { transform: rotate(180deg); }
.gc-seq .sort-ico { width: 15px; height: 15px; flex-basis: 15px; }
.grow {
  display: grid; grid-template-columns: 60px 92px 1fr 76px auto;
  padding: 11px 18px; align-items: center; gap: 8px; font-size: 13.5px;
  border-bottom: 1px solid rgba(255,255,255,.05); cursor: pointer;
  transition: background .15s; text-decoration: none; color: var(--text);
  /* 性能优化：视口外的行跳过渲染，超长列表滚动更流畅 */
  content-visibility: auto; contain-intrinsic-size: auto 41px;
}
body.root-user .games-thead, body.root-user .grow { grid-template-columns: 60px 92px 1fr 68px auto; }
.games-tbody { max-height: 62vh; overflow-y: auto; }
.grow:hover { background: rgba(255,255,255,.06); }
.grow .gc-seq { color: var(--muted); }
.pill {
  display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(126,200,255,.16); color: var(--blue); border: 1px solid rgba(126,200,255,.35);
  text-align: center;
}
.pill.pill-ns2 { background: rgba(255,158,196,.16); color: #ff9ec4; border-color: rgba(255,158,196,.4); }
.grow .g-id { color: var(--muted); }
.gc-ops { display: flex; gap: 6px; justify-content: flex-end; }
/* 游戏行「一键加监控」按钮：已添加后变灰勾选，不可重复点 */
.gc-ops .gadd {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px 10px; font-size: 12px; border-radius: 999px; color: var(--blue);
  border-color: rgba(126,200,255,.35);
}
.gc-ops .gadd .gadd-plus { font-size: 13px; line-height: 1; }
.gc-ops .gadd.done {
  color: var(--muted); opacity: .75; cursor: pointer;
  border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.04);
}
/* v2.6.1：已监控的「✓」改为可点，hover 高亮提示可打开弹窗加入蹲游戏 */
.gc-ops .gadd.done:hover {
  color: var(--blue); opacity: 1;
  border-color: rgba(126,200,255,.5); background: rgba(126,200,255,.12);
}
.grow-empty { padding: 40px; text-align: center; color: var(--muted); }

/* ================= 蹲游戏 ================= */
.wait-hero { border-radius: 22px; padding: 26px; margin-top: 4px; }
.wait-hero h1 { font-size: 26px; font-weight: 800; }
.wait-dot { color: var(--orange); margin-right: 6px; }
.wait-hero p { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.collect-card {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px; margin-top: 16px;
  text-decoration: none; color: inherit; border-radius: 16px;
}
.collect-ic {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: rgba(255,196,90,.15); color: var(--orange); border: 1px solid rgba(255,196,90,.35);
}
.collect-tx { flex: 1; min-width: 0; }
.collect-title { font-size: 14px; font-weight: 700; }
.collect-title em { font-style: normal; font-size: 11px; color: var(--purple); margin-left: 6px; }
.collect-sub { font-size: 12px; color: var(--muted); margin-top: 3px; word-break: break-all; }
.collect-arrow { color: var(--muted); font-size: 16px; }
.wait-toolbar { display: flex; gap: 9px; margin-top: 16px; }
.wait-search {
  flex: 1; min-width: 0; background: rgba(255,255,255,.08); border: 1px solid var(--stroke);
  color: var(--text); padding: 0 14px; border-radius: 12px; font-size: 13px; outline: none; height: 40px;
}
.wait-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.wait-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
}
.wi-seq {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 26px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.09); color: var(--muted); font-size: 12px; font-weight: 700;
}
.wi-main { flex: 1; min-width: 0; cursor: pointer; text-decoration: none; color: inherit; }
.wi-name { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wi-meta { display: flex; gap: 8px; margin-top: 5px; align-items: center; flex-wrap: wrap; }
.wi-note { font-size: 12px; color: var(--muted); }
.wi-edit, .wi-del {
  width: 32px; height: 32px; border-radius: 10px; flex: 0 0 32px;
  background: rgba(255,255,255,.08); border: 1px solid var(--stroke); color: var(--text);
  cursor: pointer; font-size: 14px;
}
.wi-del { color: #ffb3bb; }
.wi-del:hover, .wi-edit:hover { background: rgba(255,255,255,.14); }
.wait-empty { text-align: center; color: var(--muted); padding: 40px 0 10px; }
.wait-empty .big { font-size: 34px; margin-bottom: 10px; }

/* ================= 底部 Dock ================= */
.dock {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 14px; z-index: 150;
  width: min(430px, calc(100% - 24px));
  display: flex; align-items: stretch;
  padding: 6px; border-radius: 26px;
}
.dock-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 8px 0 6px; border-radius: 20px;
  background: transparent; border: 0; color: var(--muted);
  cursor: pointer; text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: .3px;
  transition: color .25s, background-color .25s, transform .16s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.dock-item svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.dock-item.on {
  color: #fff;
  background-image: linear-gradient(140deg, #8AA2FF, #B98CFF);
  box-shadow: 0 8px 20px rgba(120,140,255,.46), inset 0 1px 0 rgba(255,255,255,.42);
}
.dock-item.on svg { transform: translateY(-1px) scale(1.12); }
.dock-item:active { transform: scale(.93); }

/* ================= 手机端适配 ================= */
@media (max-width: 768px) {
  :root { --page-pad: 12px; --glass: rgba(15, 22, 38, 0.88); }
  /* ===== 手机端性能模式 =====
     backdrop-filter 模糊是手机滚动卡顿的根源：滚动每一帧都要对整个可视区域
     重新计算大半径模糊（GPU 吃不消）。手机端全部关闭，改用更高不透明度的
     玻璃背景保持可读性与质感；桌面端保持原液态玻璃效果不变。 */
  *, *::before, *::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* 关闭行级 content-visibility：视口外的行不再"进入时才渲染"，
     消除滑动时一下一下的弹入感；行本身是轻量 grid，全量渲染更丝滑 */
  .grow { content-visibility: visible; contain-intrinsic-size: auto; transition: none; }
  /* 壁纸已改为独立固定图层，无需再改背景附着方式 */
  html { -webkit-overflow-scrolling: touch; }
  /* Dock 是 fixed 悬浮的：必须用 padding 撑出底部空白（margin 会塌陷，短页面时最后一条会被 Dock 压住且滚不上来） */
  .page {
    margin-bottom: 0;
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }
  .nav-inner { gap: 8px; padding: 0 8px 0 12px; }
  .brand-cn { font-size: 18px; }
  .btn { padding: 7px 10px; font-size: 12px; }
  #btnGamesNav svg { width: 14px; height: 14px; margin-right: 4px; }
  /* 详情记录表：横向滚动，保证「查看」按钮始终可见可点 */
  .table-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .records-table:not(.records-cards) { min-width: 560px; }
  .records-table th, .records-table td { padding: 10px 12px; white-space: nowrap; }
  /* 「详情」列固定在右侧，不滑动也能看到「查看」按钮 */
  .records-table:not(.records-cards) th:last-child,
  .records-table:not(.records-cards) td:last-child {
    position: sticky; right: 0;
    background: rgba(9, 15, 30, 0.96);
    box-shadow: -10px 0 16px rgba(0, 0, 0, 0.45);
  }
  /* 详情记录：手机上改成一行一条的记录卡，彻底避免列被压扁、文字重叠 */
  .records-table.records-cards { min-width: 0; display: block; }
  .records-table.records-cards thead { display: none; }
  .records-table.records-cards tbody { display: block; }
  .records-table.records-cards tr {
    display: block; padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .records-table.records-cards tr:last-child { border-bottom: none; }
  .records-table.records-cards td {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 3px 0; border: none; white-space: normal;
    font-size: 13px; text-align: right;
  }
  .records-table.records-cards td::before {
    content: attr(data-label);
    color: var(--muted); font-size: 12px; flex: 0 0 auto; text-align: left;
  }
  .records-table.records-cards td.rec-act:empty { display: none; }
  .records-table.records-cards td.rec-act { padding-top: 6px; }
  .records-table.records-cards td.rec-act::before { content: ""; }
  .records-table.records-cards td[colspan] { display: block; text-align: center; }
  /* 游戏列表移动端：全部列收进一屏，不再横向裁切 */
  .games-hero { padding: 18px 16px 16px; }
  .games-hero h1 { font-size: 22px; }
  .games-stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .games-thead, .grow {
    grid-template-columns: 36px 52px 1fr 34px auto;
    padding-left: 12px; padding-right: 12px; gap: 6px;
    min-width: 0;
  }
  .games-thead { font-size: 11px; }
  .gc-sort { white-space: nowrap; }
  body.root-user .games-thead, body.root-user .grow { grid-template-columns: 28px 48px 1fr 30px auto; }
  .grow { font-size: 12.5px; }
  .grow .g-name, .g-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pill { padding: 2px 8px; font-size: 11px; }
  .grow .g-id { font-size: 12px; }
  .gc-ops .btn { padding: 4px 7px; font-size: 11px; }
  /* 手机端只留「＋ / ✓」图标，避免挤压游戏名 */
  .gc-ops .gadd { padding: 4px 8px; }
  .gc-ops .gadd .gadd-tx { display: none; }
  .games-tbody { max-height: none; overflow: visible; }
  /* 蹲游戏移动端 */
  .wait-hero { padding: 18px 16px; }
  .wait-hero h1 { font-size: 20px; }
  /* Dock 移动端占安全区 */
  .dock { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  /* 详情页竖屏适配：按钮一行（左右分布），标题/网址独占整行，不再挤压重叠 */
  .detail-head {
    flex-wrap: wrap; row-gap: 10px; column-gap: 10px;
    justify-content: space-between; margin: 14px 0 12px;
  }
  .detail-head .btn { flex: 0 0 auto; padding: 8px 14px; font-size: 13px; }
  .detail-head > div { flex: 1 1 100%; order: 3; }
  .detail-head h2 { font-size: 16px; line-height: 1.35; }
  .detail-url { font-size: 12px; }
  /* 弹窗底部为 Dock 留出空间，保存/取消按钮不再被遮挡 */
  .modal-mask { padding: 20px 10px calc(110px + env(safe-area-inset-bottom, 0px)); }
  /* 用户管理等宽弹窗在手机上占满屏宽，表格横向滚动，不再溢出被截断 */
  .modal.wide { width: 100%; }
  .modal { padding: 18px 14px; }
  .row2 { grid-template-columns: 1fr 1fr; gap: 10px; }
}


/* ============ v2.4 分组 / 置顶（v2.5：标签改为监控项上的备注） ============ */
.group-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 12px 14px; border-radius: 16px; margin: 0 0 16px;
}
.gchip {
  border: 1px solid var(--stroke); background: rgba(255,255,255,.05); color: var(--muted);
  font-size: 12px; padding: 5px 12px; border-radius: 999px; cursor: pointer;
  white-space: nowrap; transition: background .16s, color .16s, border-color .16s;
  font-family: inherit; line-height: 1.5;
}
.gchip:hover { background: rgba(126,200,255,.12); color: var(--text); border-color: rgba(126,200,255,.4); }
.gchip.on { background: rgba(126,200,255,.2); color: var(--blue); border-color: rgba(126,200,255,.55); font-weight: 700; }
.mcard.pinned { border-color: rgba(255,196,90,.5); box-shadow: 0 18px 50px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,196,90,.14); }
.pin-flag { font-size: 13px; margin-right: 5px; vertical-align: 1px; }
.mcard-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.mchip {
  border: 1px solid var(--stroke); background: rgba(255,255,255,.05); color: var(--muted);
  font-size: 11px; padding: 3px 9px; border-radius: 999px; cursor: pointer;
  font-family: inherit; line-height: 1.6; white-space: nowrap;
}
.mchip:hover { filter: brightness(1.3); }
.group-chip { background: rgba(126,200,255,.12); border-color: rgba(126,200,255,.35); color: var(--blue); }

/* ============ v2.5 标签备注：只在监控卡片上展示，低调小字、纯展示、不可点击 ============ */
.mcard-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
  margin: 3px 0 5px; font-size: 11.5px; line-height: 1.7; color: var(--muted);
  cursor: default;
}
.note-label {
  flex: none; font-size: 10.5px; letter-spacing: .5px; opacity: .8;
  border-left: 2px solid rgba(196,181,255,.55); padding-left: 7px;
}
.note-tag {
  color: rgba(226,216,255,.88); background: rgba(196,181,255,.09);
  border-radius: 5px; padding: 1px 7px; white-space: nowrap; cursor: default;
}

/* ============ v2.4 登录页合规文档 ============ */
/* v2.5.1 合规链接：说明文字独占第一行，两个蓝色链接整体放第二行并居中 */
.login-legal {
  margin-top: 14px; font-size: 12px; line-height: 1.8; color: var(--muted);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.legal-lead { display: block; }
.legal-links { display: block; text-align: center; white-space: nowrap; }
.legal-and { color: var(--muted); margin: 0 6px; }
.legal-link { color: var(--blue) !important; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.legal-link:hover { color: #b9e2ff !important; }
.legal-modal { z-index: 260; }
.legal-card { width: 760px; }
.legal-card h3 { margin-bottom: 12px; }
.legal-body {
  max-height: min(62vh, 620px); overflow-y: auto; padding: 4px 14px 4px 4px;
  font-size: 13px; line-height: 1.9; color: var(--text);
}
.legal-body::-webkit-scrollbar { width: 7px; }
.legal-body::-webkit-scrollbar-thumb { background: rgba(126,200,255,.3); border-radius: 8px; }
.legal-body p { margin: 0 0 10px; color: var(--muted); }
.legal-body h4 { font-size: 14px; font-weight: 700; color: var(--blue); margin: 18px 0 8px; }
.legal-body ul { margin: 0 0 12px; padding-left: 20px; color: var(--muted); }
.legal-body li { margin-bottom: 6px; }
.legal-body b { color: var(--text); font-weight: 600; }
.legal-update { font-size: 12px; color: var(--muted); opacity: .85; border-bottom: 1px solid var(--stroke); padding-bottom: 10px; }
@media (max-width: 720px) {
  .legal-body { font-size: 12.5px; max-height: 58vh; }
  .legal-card h3 { font-size: 16px; }
  .group-bar { padding: 10px; gap: 6px; }
  .legal-links { font-size: 11px; }
}


/* ============ v2.6 公告 / 蹲游戏快捷加入 / JSON 注入 ============ */
.announce-mask { z-index: 280; }
#announceAdminModal, #announceReadsModal, #gameImportModal { z-index: 290; }
.announce-card { width: 520px; position: relative; }
.announce-x {
  position: absolute; top: 12px; right: 14px; width: 30px; height: 30px;
  border-radius: 50%; border: 1px solid var(--stroke); background: rgba(255,255,255,.06);
  color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; font-family: inherit;
}
.announce-x:hover { color: var(--text); background: rgba(255,255,255,.14); }
.announce-badge {
  display: inline-block; font-size: 11px; letter-spacing: .5px; color: var(--blue);
  background: rgba(126,200,255,.12); border: 1px solid rgba(126,200,255,.3);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}
.announce-card h3 { margin-bottom: 10px; }
.announce-body {
  white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.85;
  color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--stroke);
  border-radius: 12px; padding: 14px 16px; max-height: 46vh; overflow-y: auto;
}
.announce-time { margin-top: 10px; font-size: 12px; color: var(--muted); }
.announce-actions { justify-content: center; }
.announce-actions .btn { min-width: 140px; }
.an-ops { white-space: nowrap; }
.an-ops .btn { margin: 2px 3px 2px 0; }
.rd-ack { color: var(--blue); font-weight: 600; }
.rd-dismiss { color: var(--purple); font-weight: 600; }
.rd-none { color: var(--muted); }
#anContent, #giText {
  width: 100%; resize: vertical; font-family: inherit; font-size: 13px; line-height: 1.7;
  color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--stroke);
  border-radius: 10px; padding: 10px 12px; box-sizing: border-box;
}
.gm-watch-box {
  margin-top: 14px; padding: 12px 14px; border: 1px dashed rgba(126,200,255,.4);
  border-radius: 12px; background: rgba(126,200,255,.05);
}
.gm-watch-q { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.gm-watch-box .field-hint { margin: 0 0 10px; }
.gm-watch-box .btn { width: 100%; }
.gm-watch-box .btn:disabled { opacity: .6; cursor: default; }
@media (max-width: 720px) {
  .announce-card { width: auto; }
  .announce-body { font-size: 13px; max-height: 40vh; }
}


/* v2.8 App 版本管理 */
.ar-form { background: rgba(255,255,255,.04); border: 1px solid var(--stroke); border-radius: 14px; padding: 14px 16px 18px; margin-top: 14px; }
.ar-form textarea { width: 100%; background: rgba(255,255,255,.08); border: 1px solid var(--stroke); color: var(--text);
  padding: 10px 12px; border-radius: 12px; font-size: 13px; outline: none; resize: vertical; line-height: 1.6; }
.ar-form textarea:focus { border-color: var(--blue); }
.ar-upload-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.ar-upload-row .check-row { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--text); cursor: pointer; }
.ar-upload-row .check-row input { width: auto; height: auto; }
.ar-upload-row .btn { margin-left: auto; padding: 10px 22px; }
.ar-upload-row .btn.primary { background: #7C5CFF; color: #fff; font-weight: 700; }
.ar-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; }
.ar-badge.force { background: rgba(231,76,60,.20); color: #ff9c8e; }
.ar-badge.free { background: rgba(120,180,255,.18); color: #9fc9ff; }
.ar-badge.on { background: rgba(80,220,150,.18); color: #7ee2ad; }
.ar-badge.off { background: rgba(255,255,255,.08); color: var(--muted); }
.ar-op { background: rgba(255,255,255,.08); border: 1px solid var(--stroke); color: var(--text);
  border-radius: 8px; padding: 5px 10px; font-size: 11.5px; cursor: pointer; margin: 2px 4px 2px 0; }
.ar-op:hover { background: rgba(255,255,255,.16); }
.ar-op.danger { color: #ff9c8e; }
/* v2.8：固定列宽，避免长更新说明把表格挤成窄条、撑高行 */
.ar-table { table-layout: fixed; width: 100%; }
.ar-table td { vertical-align: top; }
.ar-log {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; max-height: 58px; line-height: 1.55; font-size: 12px;
  color: var(--muted); word-break: break-word; cursor: help;
}
/* v2.9 测试定向：徽章、定向预览、公告勾选 */
.ar-badge.test { background: rgba(186,160,255,.18); color: #d6c4ff; border: 1px solid rgba(186,160,255,.34); }
.ar-preview { margin-top: 16px; background: rgba(124,92,255,.07);
  border: 1px solid rgba(124,92,255,.26); border-radius: 12px; padding: 12px 14px; }
.ar-preview-title { font-size: 13px; font-weight: 700; color: #cbb8ff; margin-bottom: 8px; }
.ar-preview-title span { font-size: 11.5px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.ar-preview-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; padding: 4px 0; }
.ar-preview-row > span:last-child { color: var(--muted); }
.ar-preview-row > span.hit { color: #7ee2ad; font-weight: 600; }
.ar-pv-tag { display: inline-block; min-width: 88px; text-align: center; padding: 3px 8px;
  border-radius: 8px; font-size: 11.5px; flex: 0 0 auto; }
.ar-pv-tag.test { background: rgba(186,160,255,.18); color: #d6c4ff; }
.ar-pv-tag.pub { background: rgba(120,180,255,.15); color: #9fc9ff; }
.ar-pv-tag.device { background: rgba(126,226,173,.14); color: #9ce9c0; }
.ar-preview-row > span:last-child { word-break: break-word; line-height: 1.5; }
.an-test-row { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 0 0;
  font-size: 12.5px; color: var(--text); cursor: pointer; }
.an-test-row input { width: auto; height: auto; }
.an-table { table-layout: fixed; width: 100%; }
.an-table th, .an-table td { word-break: break-word; vertical-align: middle; }
.an-table .an-ops { white-space: normal; }
@media (max-width: 640px) {
  .ar-upload-row { gap: 10px; }
  .ar-upload-row .btn { margin-left: 0; width: 100%; }
}


/* 备案页脚：© 年份 + 站点名 + ICP备案号（链接工信部） */
.site-footer {
  text-align: center; font-size: 11.5px; line-height: 1.6;
  color: var(--muted); opacity: .72;
  padding: 6px 12px 16px;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* 主面板备案页脚：钉在底部 Dock 正上方（登录页 footer 不受影响） */
.site-footer.dock-above {
  position: fixed; z-index: 149; left: 50%; transform: translateX(-50%);
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  width: min(430px, calc(100% - 24px)); margin: 0; box-sizing: border-box;
  padding: 4px 10px; border-radius: 10px;
  background: rgba(6, 12, 24, 0.5); text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
