* { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { height: 100%; }
  body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: radial-gradient(1200px 600px at 50% -100px, #1b2a4a 0%, #0d1322 45%, #0a0e1a 100%);
    background-attachment: fixed;
    color: #e8ecf5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }
  .bar { height: 8px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }  .bar-fill { height: 100%; background: linear-gradient(90deg, #00bcff, #0070e0); border-radius: 4px; transition: width .3s; }
  .bar-fill.full { background: linear-gradient(90deg, #fde68a, #f5d849); }
  .td-box { overflow-y: auto; }
  .td-body { -webkit-overflow-scrolling: touch; }
  .tr-anon .tr-ico, .tr-anon .tr-type { filter: none; }
  @media (max-width: 640px) {
    .td-head { padding: 12px 14px 10px; gap: 10px; }
    .td-groups, .td-filter, .td-body { padding-left: 12px; padding-right: 12px; }
  }
/* 背景装饰符号 */
.ps-symbols { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ps-symbols span { position: absolute; font-size: 60px; font-weight: 900; opacity: .06; user-select: none; }
.ps-symbols .tri { color: #3ba55c; }
.ps-symbols .cir { color: #ff6b6b; }
.ps-symbols .squ { color: #f0c0e0; }
.ps-symbols .crs { color: #2d7aff; }
.ps-symbols .trophy { font-size: 48px; }
.ps-symbols .trophy-plat { color: #c0c8d8; opacity: .07; }
.ps-symbols .trophy-gold { color: #ffd700; opacity: .07; }
.ps-symbols .trophy-silver { color: #b0b8c0; opacity: .06; }
.ps-symbols .trophy-bronze { color: #cd7f32; opacity: .06; }
  .top-nav {
    position: sticky; top: 0; z-index: 150;
    display: flex; align-items: center;
    padding: 12px 16px;
    background: rgba(10,14,26,.92);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .back-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: #2d7aff; text-decoration: none; font-size: 14px; font-weight: 600;
    padding: 8px 14px; border-radius: 8px;
    background: rgba(0,112,204,.08); border: 1px solid rgba(0,112,204,.2);
    transition: all .2s; white-space: nowrap; cursor: pointer;
  }
  .back-link:hover { background: #0070cc; color: #fff; }
  .back-link svg { width: 16px; height: 16px; }
/* 奖杯详情弹层 */
.card { cursor: pointer; }
.td-mask {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4,7,16,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.td-mask.show { opacity: 1; visibility: visible; }
.td-box {
  position: fixed; z-index: 1001;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: min(720px, calc(100vw - 20px));
  max-height: min(86vh, 780px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #17223e, #0d1424);
  border: 1px solid rgba(94,140,255,.28);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  overflow: hidden;
}
.td-box.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.td-head {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.td-cover {
  width: 92px; height: 92px; border-radius: 12px;
  object-fit: cover; background: #141c30; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.1);
}
.td-cover.ps4 { object-fit: contain; }
.td-hinfo { flex: 1; min-width: 0; }
.td-title {
  font-size: 18px; font-weight: 800; color: #e8ecf5;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  word-break: break-all;
}
.td-title .td-zones {
  display: inline-flex; flex-wrap: wrap; align-items: center;
  gap: 3px 10px; font-size: 12px; font-weight: 600; color: #aeb9d4;
  flex-shrink: 0;
}
.td-title .td-zones i { font-style: normal; }
.td-plat {
  font-size: 10.5px; font-weight: 700;
  padding: 2px 8px; border-radius: 6px;
  flex-shrink: 0; line-height: 1.6;
}
.td-plat.ps5 { background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%); color: #fff; }
.td-plat.ps4 { background: linear-gradient(135deg, #b39ddb 0%, #9575cd 100%); color: #fff; }
.td-plat.ps3 { background: linear-gradient(135deg, #26a69a 0%, #00897b 100%); color: #fff; }
.td-plat.psv { background: linear-gradient(135deg, #ffa726 0%, #ef6c00 100%); color: #fff; }
.td-plat.pspc { background: linear-gradient(135deg, #4a4a4a 0%, #111111 100%); color: #fff; }
.td-sub {
  font-size: 12px; color: #8fa0c4; margin-top: 10px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.td-stat { font-size: 12px; color: #9fb0d0; margin-top: 7px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.td-actions { display: flex; gap: 8px; flex-wrap: wrap; }
body.trophy-page .td-actions { padding: 0 22px; margin-top: 10px; margin-bottom: 10px; }
.td-act { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700; line-height: 1.6; padding: 10px 20px; border-radius: 8px; text-decoration: none; color: #2d7aff; background: rgba(0,112,204,0.16); border: 1px solid rgba(0,112,204,0.40); white-space: nowrap; }
.td-act:hover { background: rgba(0,112,204,0.25); border-color: #0070cc; }
.td-act svg { width: 16px; height: 16px; flex-shrink: 0; }
.td-stat .stp { color: #7fd4ff; }
.td-stat .stf { color: #6fe3a8; }
.td-stat .td-dot { opacity: .55; }
.td-times { display: inline-flex; align-items: center; gap: 6px; }
.td-time {
  display: inline-flex; align-items: center; gap: 0;
  padding: 1px 9px 1px 4px; border-radius: 999px;
  background: rgba(0,188,255,.10); border: 1px solid rgba(0,188,255,.28);
  color: #cfe6ff; font-size: 12px; line-height: 1.5;
  cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
}
.td-time img { width: 15px; height: 15px; display: block; margin-right: 1px; }
.td-time b { font-weight: 700; color: #fff; margin-right: 1px; }
.td-time:active { transform: scale(.97); }
.td-time.solo { margin-left: auto; }
.td-tip {
  position: fixed; z-index: 400; width: max-content; max-width: 340px;
  background: rgba(16,22,38,.98); border: 1px solid rgba(120,170,255,.35);
  border-radius: 10px; padding: 9px 12px;
  font-size: 12.5px; line-height: 1.65; color: #dbe6f7;
  box-shadow: 0 8px 28px rgba(0,0,0,.55); display: none;
}
.td-tip.show { display: block; }
.td-bar-wrap { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.td-bar-wrap .bar { flex: 1; }
.td-pct { font-size: 12px; color: #b8c4de; font-weight: 700; white-space: nowrap; }
.td-pct.full { color: #f5d849; text-shadow: 0 0 12px rgba(245,216,73,.3); }
.td-btns { display: flex; gap: 8px; flex-shrink: 0; }
.td-btns button {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #c6d0e8; font-size: 15px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.td-btns button:hover { background: rgba(255,255,255,.15); color: #fff; }
.td-groups { display: flex; gap: 8px; padding: 12px 20px 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; flex-shrink: 0; }
.td-groups::-webkit-scrollbar { display: none; }
.td-filter { display: flex; gap: 8px; padding: 0 20px 12px; flex-shrink: 0; }
.tdf-item {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #c6d0e8;
  padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.tdf-item:hover { background: rgba(255,255,255,.11); }
.tdf-item.active {
  background: linear-gradient(135deg, #00bcff, #0070e0);
  border-color: transparent; color: #fff;
  box-shadow: 0 3px 14px rgba(0,150,255,.35);
}
.tg-chip {
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #c6d0e8;
  padding: 5px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.tg-chip img { width: 15px; height: 15px; border-radius: 3px; }
.tg-chip i { font-style: normal; color: #8fa0c4; font-weight: 400; }
.tg-chip:hover { background: rgba(255,255,255,.11); }
.tg-chip.active {
  background: linear-gradient(135deg, #00bcff, #0070e0);
  border-color: transparent; color: #fff;
  box-shadow: 0 3px 14px rgba(0,150,255,.35);
}
.tg-chip.active i { color: rgba(255,255,255,.85); }
.td-body {
  flex: 1; overflow-y: auto;
  padding: 8px 10px 14px;
  min-height: 220px;
  overscroll-behavior: contain;
}
.td-loading {
  display: flex; flex-direction: column; align-items: center;
  padding: 56px 0; color: #8fa0c4; font-size: 13px;
}
.td-err {
  text-align: center; padding: 56px 24px;
  color: #8fa0c4; font-size: 13.5px; line-height: 1.9;
}
.tr {
  display: flex; gap: 12px; align-items: center;
  padding: 11px 10px; border-radius: 10px;
  transition: background .12s;
}
.tr:hover { background: rgba(255,255,255,.045); }
.tr + .tr { border-top: 1px solid rgba(255,255,255,.045); }
.tr-got {
  background: linear-gradient(90deg, rgba(0,188,255,.14), rgba(0,188,255,.03) 65%, transparent);
  box-shadow: inset 3px 0 0 #00bcff;
}
.tr-got + .tr, .tr + .tr-got { border-top-color: rgba(0,188,255,.08); }
.tr-got:hover { background: linear-gradient(90deg, rgba(0,188,255,.22), rgba(0,188,255,.06) 65%, transparent); }
.tr-un:hover { background: rgba(255,255,255,.05); }
.tr-ico {
  width: 70px; height: 70px; flex-shrink: 0;
  border-radius: 8px; object-fit: cover;
  background: #10182a;
  border: 1px solid rgba(255,255,255,.08);
}
.tr-un .tr-ico { filter: grayscale(1) opacity(.5); }
.tr-main { flex: 1; min-width: 0; }
.tr-name {
  font-size: 14px; font-weight: 600; color: #e8ecf5;
  display: flex; align-items: center; gap: 6px;
}
.tr-name-text {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1; min-width: 0;
}
.tr-p9 {
  flex-shrink: 0;
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #00bcff, #0070e0);
  border: 1px solid transparent;
  color: #fff;
  padding: 3px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 600; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: all .15s;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0,150,255,.28);
}
.tr-p9:hover { filter: brightness(1.12); box-shadow: 0 3px 12px rgba(0,150,255,.4); }
.tr-un .tr-name { color: #93a0bd; font-weight: 500; }
.tr-type { width: 30px; height: 30px; flex-shrink: 0; }
.tr-un .tr-type { filter: grayscale(1) opacity(.5); }
.tr-desc {
  font-size: 12px; color: #7c89a8; margin-top: 3px;
  line-height: 1.5;
  word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.tr-side {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 4px;
}
.tr-date {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: 10px; line-height: 1.5;
  color: #c9a75a;
  white-space: nowrap;
}
.tr-date i { font-style: normal; opacity: .95; }
.tr-date b { font-weight: 600; opacity: .8; }
.rr {
  font-size: 10.5px; font-weight: 700;
  padding: 1.5px 7px; border-radius: 999px;
  white-space: nowrap;
}
.rr-u { color: #fde68a; background: rgba(217,119,6,.14); border: 1px solid rgba(217,119,6,.32); }
.rr-v { color: #f0abfc; background: rgba(168,85,247,.16); border: 1px solid rgba(168,85,247,.35); }
.rr-r { color: #3b82f6; background: rgba(59,130,246,.16); border: 1px solid rgba(59,130,246,.38); }
.rr-g { color: #6ee7b7; background: rgba(16,185,129,.14); border: 1px solid rgba(16,185,129,.32); }
.rr-c { color: #9aa4bd; background: rgba(148,163,184,.12); border: 1px solid rgba(148,163,184,.22); }
.td-foot { text-align: center; font-size: 11px; color: #556080; padding: 10px 0 4px; }
.td-back {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #c6d0e8; font-size: 16px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
  flex-shrink: 0;
}
.td-back:hover { background: rgba(255,255,255,.15); color: #fff; }
.p9-mask {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(4,7,16,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.p9-mask.show { opacity: 1; visibility: visible; }
.p9-box {
  position: fixed; z-index: 1201;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: 96vw;
  height: 94vh;
  display: flex; flex-direction: column;
  background: #0d1424;
  border: 1px solid rgba(94,140,255,.28);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.p9-box.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.p9-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.p9-title { flex: 1; font-size: 14px; font-weight: 700; color: #e8ecf5; }
.p9-close {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #c6d0e8; font-size: 14px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.p9-close:hover { background: rgba(255,255,255,.15); color: #fff; }
.p9-frame { flex: 1; width: 100%; border: 0; background: #fff; min-height: 0; }
/* 整页滚动 + 全站顶边栏 */
body.trophy-page { padding-top: 0; padding-bottom: 24px; }
body.trophy-page .td-box {
  position: relative; z-index: 1;
  left: auto; top: auto;
  display: block; width: 100%; max-width: 860px; margin: 0 auto;
  max-height: none; height: auto; overflow: visible;
  background: transparent; border: none; border-radius: 0; box-shadow: none;
  transform: none; opacity: 1; visibility: visible; transition: none;
}
body.trophy-page .td-head {
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
body.trophy-page .td-groups { padding: 10px 16px 8px; }
body.trophy-page .td-filter { padding: 0 16px 10px; }
body.trophy-page .td-body { overflow: visible; min-height: 0; padding: 4px 12px 28px; overscroll-behavior: auto; }
body.trophy-page .td-cover { width: 76px; height: 76px; margin-left: 6px; }
body.trophy-page .td-title { font-size: 17px; }
@media (max-width: 640px) {
  body.trophy-page { padding-top: 0; }
  body.trophy-page .td-head { padding: 10px 12px; gap: 10px; }
  body.trophy-page .td-actions { padding: 0 16px; }
  .td-act { font-size: 13px; padding: 10px 14px; }
  body.trophy-page .td-cover { width: 70px; height: 70px; margin-left: 4px; }
  body.trophy-page .td-groups, body.trophy-page .td-filter { padding-left: 12px; padding-right: 12px; }
  body.trophy-page .td-body { padding-left: 6px; padding-right: 6px; }
}
/* 游戏库 */
body.trophy-page.gs-mode { padding-top: 0; }
.gs-wrap { display: none; position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 6px 14px 36px; }
.gs-hero { padding: 6px 2px 10px; }
.gs-title { font-size: 22px; font-weight: 800; letter-spacing: .5px; color: #e8ecf5; }
.gs-search { position: relative; display: flex; align-items: center; margin-top: 12px; }
.gs-search input {
  width: 100%; height: 46px; border-radius: 23px;
  border: 1px solid rgba(94,140,255,.30); background: rgba(255,255,255,.05);
  color: #e8ecf5; font-size: 16px; font-family: inherit;
  padding: 0 110px 0 44px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.gs-search input::placeholder { color: #6c7891; }
.gs-search input::-webkit-search-cancel-button { display: none; }
.gs-search input:focus { border-color: rgba(0,188,255,.62); background: rgba(255,255,255,.07); }
.gs-sico { position: absolute; left: 15px; font-size: 15px; opacity: .6; pointer-events: none; }
.gs-clear {
  position: absolute; right: 70px; width: 32px; height: 32px; border: none; border-radius: 50%;
  background: transparent; color: #8899bb; font-size: 14px; cursor: pointer; display: none;
}
.gs-clear.show { display: block; }
.gs-clear:hover { background: rgba(255,255,255,.08); color: #e8ecf5; }
.gs-btn {
  position: absolute; right: 6px; height: 34px; padding: 0 15px;
  border: none; border-radius: 17px; font-family: inherit; font-size: 13px; font-weight: 700;
  background: linear-gradient(90deg, #00bcff, #0070e0); color: #fff; cursor: pointer;
}
.gs-btn:active { opacity: .82; }
.gs-head {
  display: none; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 12px 2px 8px; font-size: 13px; color: #aeb9d4;
}
.gs-head b { color: #e8ecf5; font-size: 13.5px; font-weight: 700; }
.gs-head .gs-hint { font-size: 11.5px; color: #6c7891; }
.gs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin-top: 12px; }
.gs-card {
  position: relative;
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07);
  color: inherit; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.gs-card:hover { background: rgba(255,255,255,.08); border-color: rgba(94,140,255,.35); transform: translateY(-1px); }
.gs-cover {
  width: 88px; height: 88px; border-radius: 12px; object-fit: cover;
  background: #141c30; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.08);
}
.gs-cover.ps4 { object-fit: contain; }
.gs-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.gs-name {
  font-size: 14.5px; font-weight: 700; line-height: 1.38; color: #e8ecf5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gs-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: #8899bb; }.gs-play { margin-left: auto; font-size: 11px; color: #7fd4ff; white-space: nowrap; }
.gs-perf { margin-left: auto; font-size: 11px; color: #6fe3a8; white-space: nowrap; }
.gs-tiers { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: #aeb9d4; }
.gs-tiers span { display: inline-flex; align-items: center; gap: 3px; }
.gs-tiers img { width: 14px; height: 14px; }
.gs-pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 0 4px; }
.gs-pager button {
  height: 34px; padding: 0 16px; border-radius: 17px; font-family: inherit; font-size: 13px;
  border: 1px solid rgba(0,112,204,.35); background: rgba(0,112,204,.12); color: #cfe0ff; cursor: pointer;
}
.gs-pager button:disabled { opacity: .32; cursor: default; }
.gs-pinfo { min-width: 78px; text-align: center; font-size: 12.5px; color: #8899bb; }
.gs-empty, .gs-loading { padding: 46px 0; text-align: center; color: #8899bb; font-size: 13px; line-height: 1.8; }
@media (max-width: 640px) {
  body.trophy-page.gs-mode { padding-top: 0; }
  .gs-wrap { padding-left: 12px; padding-right: 12px; }
  .gs-list { grid-template-columns: 1fr; }
  .gs-cover { width: 76px; height: 76px; }
  .gs-play { font-size: 10.5px; }
  .gs-search input { padding-right: 100px; }
}

/* ══ 浅色主题 ══ */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="light"] body {
  background: radial-gradient(1200px 600px at 50% -100px, #e6edf8 0%, #f4f6fa 45%, #eef1f7 100%);
  background-attachment: fixed;
  color: #1b2333;
}
:root[data-theme="light"] .back-link { color: #0b6bd6; background: rgba(11,107,214,.07); border-color: rgba(11,107,214,.22); }
:root[data-theme="light"] .back-link:hover { background: #0b6bd6; color: #fff; }
/* 详情卡 / 弹层 */
:root[data-theme="light"] .td-box { background: #ffffff; border-color: rgba(15,35,70,.12); box-shadow: 0 24px 80px rgba(23,35,61,.18); }
:root[data-theme="light"] .td-head { border-bottom-color: rgba(15,35,70,.08); }
:root[data-theme="light"] .td-cover { background: #e9edf5; border-color: rgba(15,35,70,.10); }
:root[data-theme="light"] .td-title { color: #1b2333; }
:root[data-theme="light"] .td-sub { color: #6c7891; }
:root[data-theme="light"] .td-stat { color: #4d5c78; }
:root[data-theme="light"] .td-act { color: #0b6bd6; background: rgba(11,107,214,0.09); border-color: rgba(11,107,214,0.30); }
:root[data-theme="light"] .td-stat .stp { color: #0b6bd6; }
:root[data-theme="light"] .td-stat .stf { color: #0e8a45; }
:root[data-theme="light"] .td-time { background: rgba(0,114,198,.08); border-color: rgba(0,114,198,.28); color: #2c4a6e; }
:root[data-theme="light"] .td-time b { color: #0b3d78; }
:root[data-theme="light"] .td-tip { background: #fff; border-color: rgba(11,107,214,.25); color: #41506b; box-shadow: 0 8px 28px rgba(23,35,61,.16); }
@media (max-width: 480px) {
  .td-stat { gap: 4px; }
  .td-times { margin-left: auto; gap: 5px; }
  .td-time { padding: 1px 7px 1px 2px; font-size: 11.5px; }
  .td-time img { width: 14px; height: 14px; }
}
:root[data-theme="light"] .td-pct { color: #41506b; }
:root[data-theme="light"] .td-pct.full { color: #b45309; text-shadow: none; }
:root[data-theme="light"] .td-btns button,
:root[data-theme="light"] .td-back { border-color: rgba(15,35,70,.12); background: rgba(15,35,70,.05); color: #41506b; }
:root[data-theme="light"] .td-btns button:hover,
:root[data-theme="light"] .td-back:hover { background: rgba(15,35,70,.10); color: #1b2333; }
:root[data-theme="light"] .tdf-item,
:root[data-theme="light"] .tg-chip { background: #ffffff; border-color: rgba(15,35,70,.12); color: #41506b; }
:root[data-theme="light"] .tdf-item:hover,
:root[data-theme="light"] .tg-chip:hover { background: rgba(11,107,214,.06); }
:root[data-theme="light"] .tg-chip i { color: #6c7891; }
:root[data-theme="light"] .tdf-item.active,
:root[data-theme="light"] .tg-chip.active { background: linear-gradient(135deg,#00a6e6,#0070e0); color: #fff; }
:root[data-theme="light"] .td-loading,
:root[data-theme="light"] .td-err { color: #6c7891; }
:root[data-theme="light"] .tr:hover { background: rgba(15,35,70,.045); }
:root[data-theme="light"] .tr + .tr { border-top-color: rgba(15,35,70,.07); }
:root[data-theme="light"] .tr-got { background: linear-gradient(90deg, rgba(0,150,230,.12), rgba(0,150,230,.03) 65%, transparent); box-shadow: inset 3px 0 0 #0b9fe0; }
:root[data-theme="light"] .tr-got:hover { background: linear-gradient(90deg, rgba(0,150,230,.18), rgba(0,150,230,.05) 65%, transparent); }
:root[data-theme="light"] .tr-ico { background: #eef1f7; border-color: rgba(15,35,70,.10); }
:root[data-theme="light"] .tr-name { color: #1b2333; }
:root[data-theme="light"] .tr-un .tr-name { color: #7d8aa3; }
:root[data-theme="light"] .tr-desc { color: #6c7891; }
:root[data-theme="light"] .tr-date { color: #9a6b15; }
:root[data-theme="light"] .td-foot { color: #8794ab; }
/* 稀有度徽标：浅底换深墨 */
:root[data-theme="light"] .rr-u { color: #92400e; background: rgba(217,119,6,.12); border-color: rgba(217,119,6,.30); }
:root[data-theme="light"] .rr-v { color: #7e22ce; background: rgba(168,85,247,.12); border-color: rgba(168,85,247,.30); }
:root[data-theme="light"] .rr-r { color: #1d4ed8; background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.30); }
:root[data-theme="light"] .rr-g { color: #047857; background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.30); }
:root[data-theme="light"] .rr-c { color: #52607a; background: rgba(100,116,139,.12); border-color: rgba(100,116,139,.25); }
/* P9 弹层 */
:root[data-theme="light"] .p9-box { background: #ffffff; border-color: rgba(15,35,70,.12); box-shadow: 0 24px 80px rgba(23,35,61,.18); }
:root[data-theme="light"] .p9-head { border-bottom-color: rgba(15,35,70,.08); }
:root[data-theme="light"] .p9-title { color: #1b2333; }
:root[data-theme="light"] .p9-close { border-color: rgba(15,35,70,.12); background: rgba(15,35,70,.05); color: #41506b; }
:root[data-theme="light"] .p9-close:hover { background: rgba(15,35,70,.10); color: #1b2333; }
/* 游戏库 */
:root[data-theme="light"] .gs-title { color: #1b2333; }
:root[data-theme="light"] .gs-search input { background: #ffffff; border-color: rgba(15,35,70,.14); color: #1b2333; }
:root[data-theme="light"] .gs-search input::placeholder { color: #9aa6bb; }
:root[data-theme="light"] .gs-search input:focus { border-color: rgba(11,107,214,.50); background: #ffffff; }
:root[data-theme="light"] .gs-clear { color: #6c7891; }
:root[data-theme="light"] .gs-clear:hover { background: rgba(15,35,70,.07); color: #1b2333; }
:root[data-theme="light"] .gs-head { color: #6c7891; }
:root[data-theme="light"] .gs-head b { color: #1b2333; }
:root[data-theme="light"] .gs-head .gs-hint { color: #8794ab; }
:root[data-theme="light"] .gs-card { background: #ffffff; border-color: rgba(15,35,70,.09); box-shadow: 0 2px 10px rgba(23,35,61,.05); }
:root[data-theme="light"] .gs-card:hover { background: #f7f9fd; border-color: rgba(11,107,214,.28); }
:root[data-theme="light"] .gs-cover { background: #eef1f7; border-color: rgba(15,35,70,.10); }
:root[data-theme="light"] .gs-name { color: #1b2333; }
:root[data-theme="light"] .gs-meta,
:root[data-theme="light"] .gs-pinfo { color: #6c7891; }
:root[data-theme="light"] .gs-play { color: #0b6bd6; }
:root[data-theme="light"] .gs-perf { color: #0e8a45; }
:root[data-theme="light"] .gs-tiers { color: #52607a; }
:root[data-theme="light"] .gs-pager button { border-color: rgba(11,107,214,.28); background: rgba(11,107,214,.07); color: #1f4b8f; }
:root[data-theme="light"] .gs-empty,
:root[data-theme="light"] .gs-loading { color: #6c7891; }
/* 装饰层：浅底下换墨色 */
:root[data-theme="light"] .ps-symbols .tri { color: #0e8a45; }
:root[data-theme="light"] .ps-symbols .cir { color: #d32f2f; }
:root[data-theme="light"] .ps-symbols .squ { color: #a34d86; }
:root[data-theme="light"] .ps-symbols .crs { color: #0b6bd6; }
:root[data-theme="light"] .ps-symbols .trophy-plat { color: #7f8aa0; opacity: .13; }
:root[data-theme="light"] .ps-symbols .trophy-gold { color: #b58900; opacity: .14; }
:root[data-theme="light"] .ps-symbols .trophy-silver { color: #78828f; opacity: .13; }
:root[data-theme="light"] .ps-symbols .trophy-bronze { color: #9c5a1e; opacity: .13; }
:root[data-theme="light"] .ps-symbols span { opacity: .085; }
