:root {
  --bg: #05080d;
  --panel: rgba(9, 16, 26, 0.9);
  --panel-strong: #07111c;
  --card: rgba(6, 15, 26, 0.88);
  --card-2: rgba(15, 32, 48, 0.74);
  --line: rgba(200, 155, 60, 0.24);
  --line-cyan: rgba(13, 186, 214, 0.3);
  --text: #f1e6c8;
  --muted: #b6a988;
  --muted-2: #756f61;
  --accent: #c89b3c;
  --accent-bright: #f0d27a;
  --accent-2: #0ac8d9;
  --danger: #fb7185;
  --win: #34d399;
  --lose: #fb7185;
  --shadow: 0 28px 90px rgba(0,0,0,.55);
  --radius: 4px;
  font-family: "Segoe UI", "Noto Serif SC", "Songti SC", "PingFang SC", "Microsoft YaHei", serif;
}
* { box-sizing: border-box; }
*, *::before, *::after { min-width: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(10, 200, 217, .15), transparent 34rem),
    radial-gradient(circle at 10% 10%, rgba(200, 155, 60, .14), transparent 28rem),
    linear-gradient(180deg, rgba(4, 8, 13, .94), rgba(6, 10, 17, .98)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 8px);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.65), transparent 28%, transparent 72%, rgba(0,0,0,.68)),
    radial-gradient(circle at 50% 12%, rgba(200,155,60,.12), transparent 22rem);
  mix-blend-mode: screen;
  opacity: .72;
  z-index: -1;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
.app-shell { display: grid; grid-template-columns: 286px minmax(0, 1fr); min-height: 100vh; width:100%; }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 28px 18px;
  border-right: 1px solid rgba(200,155,60,.36);
  background:
    linear-gradient(180deg, rgba(1,10,19,.96), rgba(1,8,14,.9)),
    radial-gradient(circle at top, rgba(10,200,217,.16), transparent 18rem);
  box-shadow: inset -1px 0 0 rgba(10,200,217,.22), 14px 0 50px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(200,155,60,.45) rgba(1,10,19,.45);
  scrollbar-width: thin;
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #f6e6a8 0 18%, #c89b3c 19% 48%, #1e2328 49%); color: #06131f; font-weight: 900; border: 2px solid #785a28; box-shadow: 0 0 0 4px rgba(200,155,60,.14), 0 0 34px rgba(10,200,217,.16); }
.brand h1 { margin: 0; font-size: 20px; letter-spacing: .08em; color: #f0e6d2; text-transform: uppercase; }
.brand p { margin: 5px 0 0; color: var(--accent); font-size: 12px; letter-spacing:.14em; }
.nav { display: grid; gap: 9px; }
.nav::before, .nav::after { content:""; height:1px; background:linear-gradient(90deg, transparent, rgba(200,155,60,.55), transparent); margin:2px 0; }
.nav-label { color:#785a28; font-size:11px; font-weight:900; letter-spacing:.18em; text-transform:uppercase; padding:8px 10px 2px; }
.nav-item { position:relative; border: 1px solid transparent; background: linear-gradient(90deg, rgba(255,255,255,.02), transparent); color: var(--muted); padding: 13px 16px 13px 20px; border-radius: 0; text-align: left; transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease; font-weight: 800; letter-spacing:.04em; text-decoration:none; clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 0 100%); }
.nav-item::before { content:""; position:absolute; left:0; top:10px; bottom:10px; width:3px; background:transparent; box-shadow:0 0 0 transparent; transition:.2s ease; }
.nav-item:hover { transform: translateX(4px); background: linear-gradient(90deg, rgba(10,200,217,.16), rgba(200,155,60,.06)); color: #f0e6d2; border-color: rgba(10,200,217,.35); box-shadow: inset 0 0 18px rgba(10,200,217,.08); }
.nav-item.active { background: linear-gradient(90deg, rgba(10,200,217,.22), rgba(200,155,60,.16)); color: #f0e6d2; border-color: rgba(200,155,60,.68); box-shadow: 0 0 22px rgba(10,200,217,.13), inset 0 0 24px rgba(200,155,60,.08); }
.nav-item.active::before { background: var(--accent-bright); box-shadow:0 0 16px rgba(240,210,122,.9); }
.sidebar-footer { margin-top: auto; display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px rgba(10,200,217,.12), 0 0 18px rgba(10,200,217,.8); animation:pulseGlow 2.4s ease-in-out infinite; }
.main { padding: 32px; max-width: 1540px; width: 100%; margin: 0 auto; min-width:0; }
.notice-rotator { margin-bottom:18px; }
.notice-frame { position:relative; display:grid; grid-template-columns:42px minmax(0,1fr) auto 42px; align-items:center; gap:12px; min-height:74px; padding:12px 14px; border:1px solid rgba(200,155,60,.4); background:linear-gradient(90deg, rgba(1,10,19,.94), rgba(5,24,38,.9), rgba(1,10,19,.94)); box-shadow:0 16px 42px rgba(0,0,0,.34), inset 0 1px 0 rgba(240,230,210,.05); overflow:hidden; }
.notice-frame::before { content:""; position:absolute; inset:0; background:linear-gradient(120deg, transparent 0 38%, rgba(10,200,217,.12) 42%, transparent 56%); transform:translateX(-30%); animation:noticeSweep 6s ease-in-out infinite; pointer-events:none; }
.notice-copy { position:relative; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:baseline; column-gap:12px; row-gap:3px; }
.notice-tag { grid-row:1 / span 2; align-self:center; min-width:58px; text-align:center; padding:6px 9px; color:#07111c; background:linear-gradient(180deg,#f0d27a,#c89b3c); border:1px solid #785a28; font-size:12px; font-weight:900; letter-spacing:.14em; }
.notice-copy strong { color:#f0e6d2; font-size:17px; letter-spacing:.06em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.notice-copy p { grid-column:2; margin:0; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.notice-arrow { position:relative; width:34px; height:34px; border:1px solid rgba(200,155,60,.45); color:var(--accent-bright); background:rgba(1,10,19,.62); font-size:24px; line-height:1; }
.notice-arrow:hover { border-color:var(--accent-2); color:#fff; box-shadow:0 0 18px rgba(10,200,217,.16); }
.notice-dots { position:relative; display:flex; gap:7px; align-items:center; padding:0 2px; }
.notice-dot { width:8px; height:8px; padding:0; border-radius:50%; border:1px solid rgba(200,155,60,.45); background:rgba(1,10,19,.8); }
.notice-dot.active { background:var(--accent-bright); box-shadow:0 0 14px rgba(240,210,122,.72); }
@keyframes noticeSweep { 0%, 45% { transform:translateX(-45%); opacity:.25; } 60% { opacity:.75; } 100% { transform:translateX(45%); opacity:.18; } }
.hero-card { position:relative; overflow:hidden; display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,440px); align-items: end; gap: 28px; padding: 34px; border: 1px solid rgba(200,155,60,.46); background: linear-gradient(135deg, rgba(8, 16, 26, .94), rgba(2, 10, 18, .78)); box-shadow: var(--shadow), inset 0 1px 0 rgba(240,230,210,.08); border-radius: var(--radius); margin-bottom: 26px; }
.hero-card::before { content:""; position:absolute; inset:-35% -5% auto 38%; height:180%; background: radial-gradient(circle, rgba(10,200,217,.18), transparent 32rem); transform:rotate(-12deg); pointer-events:none; }
.hero-card::after { content:""; position:absolute; left:34px; right:34px; bottom:0; height:2px; background:linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent); opacity:.86; }
.eyebrow { margin: 0 0 9px; color: var(--accent-bright); font-size: 12px; font-weight: 900; letter-spacing: .24em; text-transform:uppercase; }
.hero-card h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 48px); letter-spacing: .04em; font-weight:900; text-shadow:0 0 24px rgba(200,155,60,.16); }
.muted { color: var(--muted); }
.quick-search { position:relative; z-index:1; display: flex; gap: 10px; padding: 8px; background: rgba(1,10,19,.78); border: 1px solid rgba(200,155,60,.38); border-radius: 0; box-shadow: inset 0 0 26px rgba(10,200,217,.06); }
.quick-search input, .control input, .control select { width: 100%; color: var(--text); background: rgba(2, 13, 24, .92); border: 1px solid rgba(200,155,60,.3); border-radius: 0; padding: 12px 14px; outline: none; transition:border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.quick-search input:focus, .control input:focus, .control select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 1px rgba(10,200,217,.28), 0 0 18px rgba(10,200,217,.14); background: rgba(3,19,32,.96); }
.quick-search button, .primary-btn, .ghost-btn { border: 1px solid #785a28; padding: 12px 16px; border-radius: 0; color: #0a1420; background: linear-gradient(180deg, #f0d27a, #c89b3c 52%, #8f6b24); font-weight: 900; white-space: nowrap; letter-spacing:.04em; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 20px rgba(0,0,0,.25); transition:transform .16s ease, filter .16s ease, box-shadow .16s ease; }
.quick-search button:hover, .primary-btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 0 20px rgba(200,155,60,.2); }
.ghost-btn { background: rgba(3,19,32,.78); color: var(--accent-bright); border: 1px solid rgba(200,155,60,.48); box-shadow:none; }
.view { display: none; }
.view.active { display: block; animation: fade .24s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); filter: blur(2px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes pulseGlow { 0%,100% { opacity:.72; } 50% { opacity:1; } }
.grid { display: grid; gap: 18px; }
.grid.kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position:relative; min-width:0; border: 1px solid rgba(200,155,60,.28); background: linear-gradient(180deg, rgba(8,18,30,.92), rgba(4,10,18,.88)); border-radius: var(--radius); padding: 20px; box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 1px 0 rgba(240,230,210,.045); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card::before { content:""; position:absolute; inset:0; pointer-events:none; border:1px solid rgba(10,200,217,.08); opacity:.75; }
.card:hover { border-color: rgba(200,155,60,.48); box-shadow: 0 22px 52px rgba(0,0,0,.34), 0 0 24px rgba(10,200,217,.07); }
.card h3 { margin: 0 0 14px; font-size: 19px; color:#f0e6d2; letter-spacing:.05em; }
.kpi-card { min-height: 120px; }
.kpi-action { cursor:pointer; }
.kpi-action:hover,.kpi-action:focus-visible { transform:translateY(-3px); border-color:rgba(240,210,122,.62); background:linear-gradient(180deg, rgba(12,26,42,.94), rgba(5,15,25,.9)); outline:none; }
.kpi-label { color: var(--muted); font-size: 13px; }
.kpi-value { margin-top: 10px; font-size: clamp(26px, 4vw, 40px); font-weight: 900; letter-spacing: .02em; color:#f0e6d2; text-shadow:0 0 18px rgba(200,155,60,.18); }
.kpi-note { margin-top: 6px; color: var(--muted-2); font-size: 12px; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 26px 0 14px; }
.section-title h2 { margin: 0; font-size: 24px; color:#f0e6d2; letter-spacing:.08em; }
.section-title::before,.section-title::after { content:""; height:1px; flex:1; background:linear-gradient(90deg, transparent, rgba(200,155,60,.42)); }
.section-title::after { background:linear-gradient(90deg, rgba(200,155,60,.42), transparent); }
.table-wrap { overflow: auto; border-radius: 0; border: 1px solid rgba(200,155,60,.25); box-shadow: inset 0 0 28px rgba(0,0,0,.24); }
table { border-collapse: collapse; width: 100%; min-width: 780px; background: rgba(3,12,22,.7); }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { position: sticky; top: 0; z-index: 1; color: #f0e6d2; background: rgba(1,10,19,.98); font-size: 12px; letter-spacing: .08em; border-bottom-color: rgba(200,155,60,.38); }
td { color: #d8d0bd; font-size: 14px; }
tr:hover td { background: rgba(10,200,217,.06); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 0; background: rgba(200,155,60,.08); color: var(--muted); border:1px solid rgba(200,155,60,.22); font-size: 12px; font-weight: 800; }
.badge.win { color: var(--win); background: rgba(52,211,153,.12); }
.badge.lose { color: var(--lose); background: rgba(251,113,133,.12); }
.badge.mvp { color: var(--accent); background: rgba(246,195,67,.14); }
.controls { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.control label { display: block; color: var(--muted); margin-bottom: 6px; font-size: 12px; }
.player-layout { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 18px; }
.player-card-head { display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.player-card .avatar { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #f0e6d2 0 18%, #c89b3c 19% 50%, #07111c 51%); color: #07111c; font-size: 32px; font-weight: 900; margin-bottom: 14px; border:2px solid #785a28; box-shadow:0 0 0 4px rgba(200,155,60,.12), 0 0 28px rgba(10,200,217,.12); }
.player-card-head .avatar { margin-bottom:0; flex:0 0 auto; }
.reaction-stack { display:grid; gap:8px; align-content:center; }
.reaction-stack span { display:inline-flex; align-items:center; justify-content:flex-start; min-width:86px; padding:8px 10px; color:#f0e6d2; background:rgba(1,10,19,.62); border:1px solid rgba(200,155,60,.32); font-weight:900; box-shadow:inset 0 0 18px rgba(10,200,217,.05); }
.player-card h2 { margin: 0; font-size: 30px; letter-spacing:.06em; color:#f0e6d2; }
.player-card p { margin: 7px 0 0; color: var(--muted); }
.stat-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.stat { padding: 12px; border-radius: 0; background: rgba(1,10,19,.55); border: 1px solid rgba(200,155,60,.22); }
.stat span { display: block; color: var(--muted); font-size: 12px; }
.stat strong { display: block; margin-top: 5px; font-size: 18px; }
.gift-panel { margin-top:16px; display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.gift-panel .footer-note { flex:1 1 100%; margin-top:0; }
.gift-btn:disabled, #dailyCheckinBtn:disabled { opacity:.48; cursor:not-allowed; transform:none; }
.coin-checkin-card { margin-top:18px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; }
.coin-checkin-card h3 { margin-bottom:6px; }
.coin-checkin-card .footer-note { grid-column:1 / -1; margin:0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tab-btn { border: 1px solid rgba(200,155,60,.26); color: var(--muted); background: rgba(1,10,19,.58); padding: 9px 13px; border-radius: 0; letter-spacing:.04em; transition:.18s ease; }
.tab-btn:hover { color:#f0e6d2; border-color:rgba(10,200,217,.35); }
.tab-btn.active { color: #07111c; background: linear-gradient(180deg, #f0d27a, #c89b3c); border-color: #785a28; font-weight: 900; }
.bar-row { display: grid; grid-template-columns: minmax(190px, 240px) minmax(120px, 1fr) 56px; align-items: center; gap: 14px; margin: 12px 0; }
.rank-name { display:grid; grid-template-columns:48px minmax(0,1fr); align-items:center; gap:8px; min-height:34px; }
.rank-no { display:flex; align-items:center; justify-content:flex-start; min-width:0; }
.rank-link { display:inline-flex; align-items:center; min-width:0; max-width:100%; border:0; background:transparent; color:#f0e6d2; padding:0; font:inherit; font-weight:900; text-align:left; cursor:pointer; }
.rank-link:hover { color:var(--accent-2); text-shadow:0 0 12px rgba(10,200,217,.28); }
.rank-player-link { display:inline-flex; align-items:center; gap:10px; min-width:210px; max-width:100%; border:0; background:transparent; color:#f0e6d2; padding:0; text-align:left; cursor:pointer; }
.rank-player-link .avatar { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle,#f0e6d2 0 18%,var(--accent) 19% 50%,#07111c 51%); color:#07111c; font-weight:900; flex:0 0 auto; overflow:hidden; }
.rank-player-link .avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.rank-player-link strong,.rank-player-link em { display:block; }
.rank-player-link em { color:var(--muted-2); font-style:normal; font-size:12px; margin-top:2px; }
.rank-player-link:hover strong { color:var(--accent-2); text-shadow:0 0 12px rgba(10,200,217,.28); }
.rank-hero-link { gap:8px; }
.rank-hero-link span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rank-hero-avatar { width:28px; height:28px; border-radius:50%; object-fit:cover; border:1px solid rgba(200,155,60,.58); box-shadow:0 0 0 2px rgba(1,10,19,.78), 0 0 12px rgba(10,200,217,.12); flex:0 0 auto; background:#07111c; }
.rank-hero-avatar.placeholder { display:inline-flex; align-items:center; justify-content:center; color:var(--muted); font-size:12px; }
.rank-value { color:#f0e6d2; font-weight:900; text-align:right; font-size:18px; }
.bar { height: 10px; overflow: hidden; border-radius: 0; background: rgba(1,10,19,.78); border:1px solid rgba(200,155,60,.18); }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bright), var(--accent-2)); border-radius: inherit; box-shadow:0 0 14px rgba(10,200,217,.18); }
.empty-state { text-align: center; padding: 50px 20px; border: 1px dashed rgba(200,155,60,.35); border-radius: var(--radius); color: var(--muted); background:rgba(1,10,19,.38); }
.empty-icon { font-size: 40px; color: var(--accent); margin-bottom: 10px; }
.footer-note { margin-top: 18px; color: var(--muted-2); font-size: 12px; line-height: 1.7; }
.site-filing { display:flex; align-items:center; justify-content:center; gap:8px; margin:30px auto 0; padding:18px 0 4px; color:var(--muted-2); font-size:12px; }
.site-filing a { color:var(--muted-2); text-decoration:none; }
.site-filing a:hover { color:var(--accent-bright); }
.small { font-size: 12px; color: var(--muted-2); }
.copy-box { padding: 14px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid var(--line); color: #c7d2fe; overflow: auto; }
@media (max-width: 1080px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); overflow-x:hidden; }
  .sidebar { position: relative; height: auto; }
  .nav { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .nav::before,.nav::after { display:none; }
  .nav-label { grid-column:1 / -1; padding-top:4px; }
  .hero-card, .player-layout { grid-template-columns: 1fr; }
  .grid.kpi, .grid.three, .grid.two, .controls { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-height: 820px) and (min-width: 1081px) {
  .sidebar { padding:20px 16px; gap:14px; }
  .brand { gap:10px; }
  .logo { width:50px; height:50px; }
  .brand h1 { font-size:18px; }
  .brand p { font-size:11px; }
  .nav { gap:6px; }
  .nav-label { padding:5px 10px 0; }
  .nav-item { padding:10px 14px 10px 18px; font-size:14px; }
  .sidebar-footer { margin-top:8px; }
}
@media (max-width: 680px) {
  .main { padding: 16px; }
  .sidebar { padding: 18px 16px; width:100%; overflow:hidden; }
  .nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .notice-frame { grid-template-columns:32px minmax(0,1fr) 32px; gap:8px; min-height:88px; padding:10px; }
  .notice-copy { grid-template-columns:1fr; }
  .notice-tag { grid-row:auto; justify-self:start; min-width:0; }
  .notice-copy strong,.notice-copy p { grid-column:1; white-space:normal; }
  .notice-dots { grid-column:1 / -1; justify-content:center; order:4; }
  .quick-search { flex-direction: column; }
  .grid.kpi, .grid.three, .grid.two, .controls, .stat-list { grid-template-columns: 1fr; }
  .hero-card { padding: 20px; }
  .bar-row { grid-template-columns: minmax(130px, 1fr) 80px 42px; gap:8px; }
  .rank-name { grid-template-columns:36px minmax(0,1fr); }
  .rank-hero-avatar { width:24px; height:24px; }
  .whole-game-head { grid-template-columns:1fr 1fr; }
  .whole-game-body { grid-template-columns:1fr; }
  .whole-side-blue { border-right:0; border-bottom:1px solid rgba(200,155,60,.22); }
  .whole-player-row { grid-template-columns:42px minmax(0,1fr); }
  .whole-player-row .whole-hero, .whole-player-row .whole-kda, .whole-player-row .badge { grid-column:2; }
  .hero-list-table .champion-avatar { width:40px; height:40px; }
  .rank-value { font-size:15px; }
}

.badge.svp { color: #67e8f9; background: rgba(34,211,238,.14); border: 1px solid rgba(34,211,238,.28); }
.badge.honor { color: #cbd5e1; background: rgba(148,163,184,.14); }
.rank-tag { display: inline-flex; min-width: 42px; justify-content: center; align-items: center; font-weight: 700; color: var(--muted); }
.rank-tag.top { color: var(--text); }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pager .ghost-btn:disabled { opacity: .45; cursor: not-allowed; }
.table-summary { margin-top: 12px; text-align: right; }

.rank-panels { display:grid; gap:8px; margin:16px 0; }
.rank-panels > div { display:flex; justify-content:space-between; align-items:center; gap:10px; color:var(--muted); font-size:12px; }
.rank-badge { display:inline-flex; max-width:190px; padding:6px 10px; border-radius:0; color:#f0e6d2; background:rgba(200,155,60,.11); border:1px solid rgba(200,155,60,.28); font-size:12px; font-weight:800; }
.inline-filter { display:flex; justify-content:flex-end; align-items:center; gap:8px; margin-bottom:12px; color:var(--muted); font-size:12px; }
.inline-filter select { color:var(--text); background:rgba(15,23,42,.88); border:1px solid var(--line); border-radius:10px; padding:7px 10px; }
.player-match-controls { grid-template-columns: repeat(2, minmax(160px, 230px)); }
.about-version { margin-bottom:18px; }
.about-grid { margin-top:18px; }

.link-btn { border:0; background:transparent; color:var(--accent-bright); cursor:pointer; padding:0; font:inherit; font-weight:800; text-decoration:none; }
.link-btn:hover { color:var(--accent-2); text-decoration:none; text-shadow:0 0 12px rgba(10,200,217,.35); }

.champion-cell { display:inline-flex; align-items:center; gap:9px; min-width:110px; }
.champion-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; border:1px solid rgba(200,155,60,.5); box-shadow:0 8px 18px rgba(0,0,0,.32), 0 0 14px rgba(10,200,217,.1); background:rgba(255,255,255,.06); flex:0 0 auto; }
.champion-avatar.placeholder { display:inline-flex; justify-content:center; align-items:center; color:var(--muted); font-weight:700; }
.hero-list-table .champion-cell { min-width:150px; gap:12px; font-weight:900; }
.hero-list-table .champion-avatar { width:48px; height:48px; border-radius:12px; }
.whole-game-card { border:1px solid rgba(200,155,60,.28); background:linear-gradient(180deg, rgba(8,18,30,.92), rgba(3,10,18,.88)); box-shadow:0 18px 44px rgba(0,0,0,.24); margin-bottom:16px; }
.whole-game-head { display:grid; grid-template-columns: 1.4fr repeat(3, minmax(100px,.6fr)); gap:1px; background:rgba(200,155,60,.22); border-bottom:1px solid rgba(200,155,60,.25); }
.whole-game-head > div { padding:12px 14px; background:rgba(1,10,19,.82); }
.whole-game-head span { display:block; margin-bottom:4px; }
.whole-game-head strong { color:#f0e6d2; font-size:16px; }
.whole-game-body { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.whole-side { padding:16px; background:rgba(1,10,19,.58); }
.whole-side-blue { background:linear-gradient(90deg, rgba(24,55,96,.42), rgba(1,10,19,.62)); border-right:1px solid rgba(200,155,60,.22); }
.whole-side-red { background:linear-gradient(90deg, rgba(96,38,46,.38), rgba(1,10,19,.62)); }
.whole-side.winner .whole-side-head strong::after { content:"  胜方"; color:var(--win); font-size:12px; margin-left:8px; }
.whole-side-head { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:12px; color:#f0e6d2; }
.whole-side-head strong { font-size:18px; letter-spacing:.06em; }
.whole-side-head span { color:var(--muted); font-weight:800; }
.whole-roster { display:grid; gap:8px; }
.whole-player-row { display:grid; grid-template-columns:48px minmax(90px,1fr) minmax(150px,1.4fr) 86px 64px; gap:10px; align-items:center; min-width:0; padding:7px 8px; background:rgba(1,10,19,.42); border:1px solid rgba(200,155,60,.12); }
.whole-position { color:var(--accent-bright); font-weight:900; }
.whole-hero .champion-cell { min-width:0; }
.whole-kda { color:#f0e6d2; font-weight:900; }
.whole-bans { margin:12px 0 0; color:var(--muted); display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.whole-bans span { color:var(--accent); font-weight:900; margin-right:8px; }
.ban-hero .champion-cell { min-width:auto; gap:5px; padding:3px 6px; border:1px solid rgba(200,155,60,.18); background:rgba(1,10,19,.35); }
.ban-hero .champion-avatar { width:28px; height:28px; border-radius:8px; }
.ban-hero .champion-cell span:last-child { font-size:12px; }
@media (max-width: 720px) { .champion-avatar { width:32px; height:32px; border-radius:9px; } .champion-cell { min-width:96px; } }

/* V3.2.1 hero avatar table alignment */
.champion-cell.hero-table-avatar-fix { min-width: 120px; }

.avatar-img { overflow:hidden; padding:0; background:rgba(255,255,255,.06); }
.avatar-img img { width:100%; height:100%; object-fit:cover; display:block; }
.route-card { margin-bottom:18px; }
.route-player-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:10px; }
.route-player { display:flex; align-items:center; gap:10px; text-align:left; border:1px solid rgba(200,155,60,.24); background:rgba(1,10,19,.52); color:var(--text); border-radius:0; padding:10px; cursor:pointer; transition:.18s ease; }
.route-player:hover { transform:translateY(-2px); border-color:rgba(200,155,60,.55); background:rgba(200,155,60,.08); }
.route-player img,.route-player span { width:34px; height:34px; border-radius:50%; object-fit:cover; display:inline-flex; align-items:center; justify-content:center; background:rgba(246,195,67,.16); color:var(--accent); font-weight:800; flex:0 0 auto; }
.route-player strong { display:block; }
.route-player em { display:block; color:var(--muted); font-style:normal; font-size:12px; }
.hero-jump { padding:0; border:0; background:transparent; color:inherit; cursor:pointer; }
.hero-jump:hover .champion-cell span:last-child { color:var(--accent); }
.team-builder { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; margin-bottom:22px; }
.team-slot { padding:16px; overflow:hidden; }
.team-slot-head { display:grid; gap:8px; margin-bottom:12px; }
.team-slot-head span { color:var(--accent-bright); font-weight:900; letter-spacing:.12em; }
.team-slot-head select { width:100%; color:var(--text); background:rgba(2,13,24,.92); border:1px solid rgba(200,155,60,.3); border-radius:0; padding:10px 12px; }
.team-player-card.empty { min-height:120px; display:grid; place-items:center; text-align:center; }
.team-player-main { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.team-player-main .avatar { width:54px; height:54px; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle,#f0e6d2 0 18%,var(--accent) 19% 50%,#07111c 51%); color:#07111c; border:1px solid #785a28; font-weight:900; font-size:24px; flex:0 0 auto; }
.team-player-main h3 { margin:0 0 4px; font-size:18px; }
.team-player-main p { margin:0; color:var(--muted); font-size:12px; }
.team-stats { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:12px; }
.team-stats span { border:1px solid rgba(200,155,60,.22); border-radius:0; padding:10px; background:rgba(1,10,19,.5); }
.team-stats strong,.team-stats em { display:block; }
.team-stats strong { font-size:20px; }
.team-stats em { color:var(--muted); font-style:normal; font-size:12px; margin-top:3px; }
.team-heroes { display:flex; flex-wrap:wrap; gap:8px; }
.team-heroes .champion-cell { min-width:auto; border:1px solid rgba(200,155,60,.22); border-radius:0; padding:5px 8px; background:rgba(1,10,19,.46); }
.hero-detail { margin-top:18px; }
.hero-detail-head { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:16px; }
.sort-th { border:0; background:transparent; color:#dbeafe; font:inherit; font-weight:800; padding:0; cursor:pointer; }
.sort-th::after { content:" ↓"; color:var(--muted-2); }
.sort-th.active { color:var(--accent); }
.sort-th.active::after { color:var(--accent); }
.overview-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; display:inline-flex; align-items:center; justify-content:center; background:rgba(246,195,67,.16); color:var(--accent); font-weight:800; vertical-align:middle; }
.coin-balance { display:inline-flex; align-items:center; gap:6px; margin:10px 0 0; padding:7px 10px; color:#07111c; background:linear-gradient(180deg,#f0d27a,#c89b3c); border:1px solid #785a28; font-weight:900; }
.highlight-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:18px; }
.bili-frame { position:relative; width:100%; padding-bottom:62%; background:#020617; border-radius:18px; overflow:hidden; border:1px solid var(--line); }
.bili-frame iframe { position:absolute; inset:0; width:100%; height:100%; }
.highlight-list { display:grid; gap:10px; }
.highlight-item { text-align:left; border:1px solid rgba(200,155,60,.24); border-radius:0; padding:12px; background:rgba(1,10,19,.5); color:var(--text); cursor:pointer; transition:.18s ease; }
.highlight-item.active,.highlight-item:hover { border-color:rgba(200,155,60,.55); background:rgba(200,155,60,.1); transform:translateX(3px); }
.highlight-item strong { display:block; margin-bottom:4px; }
.highlight-item span { color:var(--muted); font-size:12px; }
@media (max-width: 900px) { .highlight-layout { grid-template-columns:1fr; } }
