/* ==================================================================
   KPLdata V5.5 · 竞技媒体基础层（Arena 深色适配）
   ----------------------------------------------------------------
   底色 #F5F5F7 / 卡片 #FFFFFF / 赛事深色 #17181E / 品牌红 #F02F55 / 正文 #191B23
   规则：本文件只作用于 <html class="v55"> 的页面（样板页先行，其余页面阶段 04 推广）。
   加载顺序放在 style.css / pages.css 之后，用更高的选择器优先级覆盖旧主题层。
   ================================================================== */

html.v55{
  --bg:#F5F5F7; --bg2:#EFF0F3; --card:#FFFFFF; --card2:#F7F8FA; --inset:#F0F1F4;
  --line:rgba(224,232,248,.10); --line2:rgba(224,232,248,.20);
  --ink:#191B23; --ink2:#3F444E; --muted:#6E7480; --faint:#A2A7B1;
  /* 旧变量名统一映射到品牌红：主按钮 / 强调 / 当前态自动转红 */
  --gold:#F02F55; --gold-d:#C81E40; --brand:#F02F55; --brand-d:#C81E40;
  --blue:#2E6FD0; --blue-d:#2159A8; --red:#D5374B; --teal:#0F8A78; --purple:#6B5BD2;
  --accent:#2E6FD0; --accent-d:#2159A8;
  /* 深色区（顶栏 / 页首 / 赛事头图）专用 */
  --deep:#17181E; --deep2:#20222B;
  --d-ink:#FFFFFF; --d-ink2:#B9BDC6; --d-muted:#8A8F9B; --d-line:rgba(255,255,255,.10);
  color-scheme:dark;
}
html.v55 body{background:var(--bg) !important;color:var(--ink)}
html.v55 body::before,html.v55 body::after{display:none !important}
html.v55 ::selection{background:rgba(240,47,85,.20)}
html.v55 ::-webkit-scrollbar{width:11px;height:11px}
html.v55 ::-webkit-scrollbar-thumb{background:rgba(224,232,248,.18);border-radius:6px;border:3px solid transparent;background-clip:content-box}
html.v55 ::-webkit-scrollbar-thumb:hover{background:rgba(224,232,248,.32);background-clip:content-box}

/* ---------------- 顶栏 / 页脚：深色框架 ---------------- */
html.v55 .topbar{background:var(--deep) !important;border-bottom:1px solid rgba(255,255,255,.07) !important;
  backdrop-filter:none !important}
html.v55 .brand-mark{background:var(--brand) !important;color:#fff !important;border-radius:7px !important;
  box-shadow:none !important;font-weight:900}
html.v55 .brand-name{color:var(--d-ink) !important;font-weight:700 !important}
html.v55 .nav a{color:var(--d-muted) !important;border-radius:0 !important;padding:8px 12px !important}
html.v55 .nav a:hover{color:#fff !important;background:none !important}
html.v55 .nav a.on{color:#fff !important;background:none !important;box-shadow:none !important;font-weight:700 !important}
html.v55 .nav a.on::after{background:var(--brand) !important;height:2px !important;border-radius:1px}
html.v55 .nsub{background:var(--deep2) !important;border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 18px 40px rgba(10,11,15,.35) !important}
html.v55 .nsub a{color:var(--d-muted) !important}
html.v55 .nsub a:hover{color:#fff !important;background:rgba(255,255,255,.06) !important}
html.v55 .nsub a.subon{color:#fff !important}
html.v55 .nav-toggle{background:rgba(255,255,255,.06) !important;border:1px solid rgba(255,255,255,.14) !important;color:#fff !important}
html.v55 .gh-ico{color:var(--d-ink2) !important;border:1px solid rgba(255,255,255,.14) !important}
html.v55 .gh-ico:hover{color:#fff !important;border-color:rgba(255,255,255,.4) !important}
html.v55 .search-box{background:rgba(255,255,255,.07) !important;border:1px solid rgba(255,255,255,.12) !important;border-radius:8px !important}
html.v55 .search-box:focus-within{border-color:rgba(255,255,255,.34) !important;
  box-shadow:0 0 0 3px rgba(240,47,85,.22) !important}
html.v55 .search-box input{color:#fff !important}
html.v55 .search-box input::placeholder{color:var(--d-muted) !important}
html.v55 .search-box svg{color:var(--d-muted)}
html.v55 .search-pop{background:var(--card) !important;border:1px solid var(--line) !important;
  box-shadow:0 20px 44px rgba(23,24,30,.18) !important;border-radius:12px !important}
html.v55 .search-pop a{color:var(--ink) !important}
html.v55 .search-pop a:hover{background:var(--card2) !important}
html.v55 .search-pop .k{color:var(--muted) !important}
@media(max-width:900px){
  html.v55 .nav{background:var(--deep) !important;border-bottom:1px solid rgba(255,255,255,.1) !important;
    box-shadow:0 22px 44px rgba(10,11,15,.4) !important;
    /* 手机抽屉内容高于视口：必须内部纵向滚动，否则底部入口不可达 */
    max-height:calc(100vh - 78px);
    max-height:calc(100dvh - 78px);
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:600px){
  html.v55 .nav{max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px)}
}
html.v55 .footer{background:var(--deep) !important;border-top:1px solid rgba(255,255,255,.07) !important}
html.v55 .foot-brand{color:var(--d-ink) !important}
html.v55 .foot-note{color:var(--d-muted) !important}
html.v55 .foot-note a{color:#fff !important}
html.v55 .foot-right{color:var(--d-muted) !important}
html.v55 .foot-right b{color:var(--d-ink) !important}
html.v55 .foot-right a{color:var(--d-ink2) !important}
html.v55 .foot-right a:hover{color:#fff !important}

/* ---------------- 页首：深色赛事主视觉 ---------------- */
html.v55 .page-hero{background:var(--deep) !important;color:#fff}
html.v55 .page-hero .wrap{padding:52px 28px 44px}
html.v55 .page-hero h1{color:#fff}
html.v55 .page-hero p{color:var(--d-ink2) !important}
html.v55 .page-hero b{color:#fff}
html.v55 .ph-kicker{color:var(--brand) !important;letter-spacing:.16em !important}
html.v55 .ph-kicker::before{display:block !important;background:var(--brand) !important;width:14px !important;height:2px !important}
html.v55 .ph-meta{color:var(--d-muted) !important}
html.v55 .ph-meta b{color:#fff !important}
html.v55 .ph-meta i{color:rgba(255,255,255,.25) !important}

/* ---------------- 区块标题 / 文本层次 ---------------- */
html.v55 .block-head h2{color:var(--ink)}
html.v55 .block-head h2 i{background:var(--brand) !important;width:3px !important;height:18px !important;border-radius:1px !important}
html.v55 .block-note{color:var(--muted)}
html.v55 .more{color:var(--brand) !important;font-weight:700 !important}
html.v55 .more:hover{color:var(--brand-d) !important}
html.v55 .empty-tip{color:var(--muted)}

/* ---------------- 卡片：白底 + 发丝线 ---------------- */
html.v55 .panel,html.v55 .tcard,html.v55 .hcard,html.v55 .combo-card,html.v55 .player,
html.v55 .bp2-panel,html.v55 .cmp-radar,html.v55 .cmp-table,html.v55 .pr-kpi,html.v55 .live-card,
html.v55 .h2h-panel,html.v55 .champ,html.v55 .entry,html.v55 .q-wrap,html.v55 .stat-strip{
  background:var(--card) !important;border:1px solid var(--line) !important;border-radius:12px !important;
  box-shadow:none !important;
}
html.v55 .panel{border-bottom:1px solid var(--line) !important;padding:22px !important}
html.v55 .panel:hover{border-color:var(--line2) !important}
html.v55 .tcard:hover,html.v55 .hcard:hover,html.v55 .combo-card:hover,html.v55 .player:hover,html.v55 .entry:hover,
html.v55 .tcard:hover,html.v55 .champ:hover{
  background:var(--card) !important;border-color:var(--line2) !important;box-shadow:0 10px 26px rgba(23,24,30,.07) !important;
  transform:translateY(-2px) !important;
}
html.v55 .panel-title{color:var(--ink)}
html.v55 .panel-title::before{background:var(--brand);border-radius:2px}
html.v55 .panel-title em{color:var(--muted)}
html.v55 .entry .ic{background:rgba(240,47,85,.08);color:var(--brand);border-radius:10px}

/* ---------------- 按钮 ---------------- */
html.v55 .btn{border-radius:8px !important;font-weight:700 !important}
html.v55 .btn.primary{background:var(--brand) !important;color:#fff !important;border:1px solid var(--brand) !important;
  box-shadow:none !important;transform:none !important}
html.v55 .btn.primary:hover{background:var(--brand-d) !important;border-color:var(--brand-d) !important}
html.v55 .btn.ghost{background:var(--card) !important;border:1px solid var(--line2) !important;color:var(--ink) !important}
html.v55 .btn.ghost:hover{border-color:var(--ink) !important;color:var(--ink) !important;background:var(--card2) !important}

/* ---------------- 表格 ---------------- */
html.v55 .tbl{color:var(--ink)}
html.v55 .tbl thead th,html.v55 .q-table thead th{color:var(--muted) !important;background:none !important;
  border-bottom:1px solid var(--line2) !important;font-weight:600 !important}
html.v55 .q-table thead th{background:var(--bg) !important}
html.v55 .tbl td,html.v55 .q-table td{border-bottom:1px solid var(--line) !important}
html.v55 .tbl tbody tr:hover,html.v55 .tbl tr:hover,html.v55 .q-table tbody tr:hover{background:var(--card2) !important}
html.v55 .rank{color:var(--muted)}
html.v55 .rank.r1{color:var(--brand)} html.v55 .rank.r2{color:var(--ink2)} html.v55 .rank.r3{color:#8A6A3B}
html.v55 .tbl .best{color:var(--brand)}
html.v55 .tbl tr.all-row td{background:var(--card2) !important}
html.v55 .team-cell{color:var(--ink)}

/* ---------------- 徽章 / 档位 / 覆盖标记 ---------------- */
html.v55 .tier{color:#fff !important;border-radius:4px !important}
html.v55 .tier.S,html.v55 .tier.A{background:var(--brand) !important;color:#fff !important}
html.v55 .tier.B{background:#3F444E !important;color:#fff !important}
html.v55 .tier.C{background:#C9CDD5 !important;color:var(--ink) !important}
html.v55 .chip{color:var(--muted) !important;border:1px solid var(--line2) !important;border-radius:5px !important;background:var(--card) !important}
html.v55 .chip.done{color:var(--ink2) !important;border-color:var(--line2) !important;background:var(--card2) !important}
html.v55 .chip.next{color:var(--brand) !important;border-color:rgba(240,47,85,.35) !important;background:rgba(240,47,85,.05) !important}
html.v55 .cov-i{border-radius:5px !important}
html.v55 .cov-i.on{color:var(--brand) !important;border-color:rgba(240,47,85,.32) !important;background:rgba(240,47,85,.05) !important}
html.v55 .cov-i.off{color:var(--faint) !important;border-color:var(--line) !important;border-style:dashed !important}
html.v55 .demo-tag{color:var(--brand) !important;background:rgba(240,47,85,.07) !important;
  border:1px solid rgba(240,47,85,.28) !important;border-radius:5px !important}
html.v55 .stag,html.v55 .bo{color:var(--muted) !important;border-color:var(--line2) !important;background:var(--card) !important}

/* ---------------- 简报 / 筛选栏 / 数据范围 ---------------- */
html.v55 .brief{background:var(--card) !important;border:1px solid var(--line) !important;border-radius:12px !important;
  padding:14px 18px !important;border-bottom:1px solid var(--line) !important}
html.v55 .brief b{color:var(--ink)}
html.v55 .brief .ico{color:var(--brand) !important}
html.v55 .filterbar,html.v55 .scopebar{background:var(--card) !important;border:1px solid var(--line) !important;
  border-radius:12px !important;padding:14px 18px !important;margin-bottom:22px}
html.v55 .scopebar .scope-lab{color:var(--brand) !important}
html.v55 .fld span{color:var(--ink2)}
html.v55 .fld select,html.v55 .search,html.v55 select,html.v55 select.search{background:var(--card) !important;color:var(--ink) !important;
  border:1px solid var(--line2) !important;border-radius:8px !important;color-scheme:dark !important}
html.v55 select option,html.v55 select optgroup{background:var(--card) !important;color:var(--ink) !important}
html.v55 select option:checked{background:rgba(240,47,85,.10) !important;color:var(--ink) !important}
html.v55 .fld select:focus,html.v55 .search:focus{outline:none !important;border-color:var(--brand) !important;
  box-shadow:0 0 0 3px rgba(240,47,85,.14) !important}

/* ---------------- 首页：深色赛事头图 ---------------- */
html.v55 #focusBlock{background:var(--deep);border-radius:18px;
  padding:30px 30px 0;box-shadow:0 22px 48px rgba(23,24,30,.14)}
html.v55 #focusBlock .tm-hero{border-color:var(--d-line)}
html.v55 #focusBlock .tm-focus{border-left:1px solid var(--d-line) !important;padding-left:30px}
html.v55 #focusBlock .tm-kicker{color:var(--brand)}
html.v55 #focusBlock .tm-title{color:#fff}
html.v55 #focusBlock .tm-title em{color:var(--d-muted)}
html.v55 #focusBlock .tm-meta{color:var(--d-muted)}
html.v55 #focusBlock .tm-meta b{color:#fff}
html.v55 #focusBlock .tm-acts .btn.primary{background:var(--brand) !important;color:#fff !important;border-color:var(--brand) !important}
html.v55 #focusBlock .tm-acts .btn.ghost{background:transparent !important;color:#fff !important;border:1px solid rgba(255,255,255,.28) !important}
html.v55 #focusBlock .tm-acts .btn.ghost:hover{border-color:#fff !important;background:rgba(255,255,255,.07) !important}
html.v55 #focusBlock .block-note{color:var(--d-muted)}
html.v55 #focusBlock .tm-rail{border-bottom:none;margin:0 -30px;padding:0 30px;border-top:1px solid var(--d-line)}
html.v55 #focusBlock .tm-seg{border-right:1px solid rgba(255,255,255,.08)}
html.v55 #focusBlock .tm-seg .sg-n{color:var(--d-ink)}
html.v55 #focusBlock .tm-seg .sg-d{color:var(--d-muted)}
html.v55 #focusBlock .tm-seg .sg-s{color:var(--d-muted)}
html.v55 #focusBlock .tm-seg.done{opacity:.44}
html.v55 #focusBlock .tm-seg.now::before{background:var(--brand)}
html.v55 #focusBlock .tm-seg:hover{background:rgba(255,255,255,.04)}
html.v55 #focusBlock .tm-seg:last-child{border-right:none}
/* 头图里的焦点对阵用白卡，保证数据可读 */
html.v55 #focusBlock .fh{background:var(--card);border-radius:14px;padding:20px 22px;margin:0}
html.v55 #focusBlock .fh-kicker{color:var(--brand) !important}
html.v55 #focusBlock .fh-note{color:var(--muted) !important}
html.v55 #focusBlock .fh-next{color:var(--muted) !important}
html.v55 #focusBlock .fh-tcard{background:var(--card2)}
html.v55 .focus-hero #focusBlock .fh-tcard:hover{border-color:var(--brand)}
@media(max-width:960px){
  html.v55 #focusBlock{padding:24px 20px 0}
  html.v55 #focusBlock .tm-focus{border-left:none !important;border-top:1px solid var(--d-line) !important;padding-left:0}
  html.v55 #focusBlock .tm-rail{margin:0 -20px;padding:0 20px}
}

/* ---------------- 首页：比赛日 / 最新结果 / 看点 / 精选 ---------------- */
html.v55 .day-group{background:var(--card) !important;border:1px solid var(--line) !important;border-radius:12px !important}
html.v55 .day-group.today{border-color:rgba(240,47,85,.42) !important;background:var(--card) !important}
html.v55 .dg-head{border-bottom:1px solid var(--line)}
html.v55 .dg-head b{color:var(--ink)}
html.v55 .dg-head em{color:var(--brand);border-color:rgba(240,47,85,.36);border-radius:4px}
html.v55 .dcard{border-bottom:1px solid var(--line)}
html.v55 .dcard:hover{background:var(--card2)}
html.v55 .dc-top{color:var(--muted)}
html.v55 .dc-top i{font-style:normal;color:var(--ink2);font-weight:700}
html.v55 .dc-st{color:var(--faint)}
html.v55 .dcard.live .dc-top i{color:var(--brand) !important}
html.v55 .result-list .row{border-bottom:1px solid var(--line)}
html.v55 .result-list .row:hover{background:var(--card2)}
html.v55 .result-list .score .w{color:var(--ink)}
html.v55 .result-list .score{color:var(--muted)}
html.v55 .hot-card{background:var(--card) !important;border:1px solid var(--line) !important;border-radius:12px !important}
html.v55 .hot-card:hover{border-color:var(--line2) !important;background:var(--card) !important}
html.v55 .hot-card .hc-k{color:var(--muted) !important}
html.v55 .hot-card .hc-v{color:var(--ink) !important}
html.v55 .hot-card .hc-s{color:var(--muted) !important}
html.v55 .hot-card .hc-go{color:var(--brand) !important}
html.v55 .rp-pick{background:var(--card) !important;border:1px solid var(--line) !important;border-radius:12px !important}
html.v55 .rp-pick:hover{border-color:var(--line2) !important}
html.v55 .rp-pick .go{color:var(--brand) !important}
html.v55 .myk-card{background:var(--card);border:1px solid var(--line);border-radius:12px}
html.v55 .myk-card:hover{border-color:var(--line2);background:var(--card2)}
html.v55 .myk-line b.w{color:var(--teal)} html.v55 .myk-line b.l{color:var(--red)}
html.v55 .p-ava{border:1px solid var(--line2) !important;background:var(--card2) !important}
html.v55 .p-ava.ph{color:var(--muted) !important}
html.v55 .player .p-team b{color:var(--ink)}
html.v55 .hcard img{border:2px solid var(--line) !important}
html.v55 .hcard .minibar{background:var(--inset) !important}
html.v55 .hero-grid .hcard:hover,html.v55 .player:hover{border-color:var(--line2) !important}
html.v55 .tier-badge,html.v55 .seg button.on{background:var(--brand) !important;color:#fff !important}
html.v55 .seg{border:1px solid var(--line2) !important;border-radius:8px !important;background:var(--card) !important}
html.v55 .seg button{color:var(--muted) !important}

/* ---------------- 赛程中心 ---------------- */
html.v55 .ev-poster{background:var(--card) !important;border:1px solid var(--line) !important;border-radius:14px !important}
html.v55 .ev-poster .ep-k{color:var(--muted)}
html.v55 .ev-poster .ep-score{color:var(--ink)}
html.v55 .ev-poster .ep-cd{color:var(--ink2)}
html.v55 .st-step{border-right:1px solid var(--line) !important}
html.v55 .st-step b{color:var(--ink2) !important}
html.v55 .st-step span{color:var(--faint) !important}
html.v55 .st-step.on{background:rgba(240,47,85,.04) !important}
html.v55 .st-step.on b{color:var(--ink) !important}
html.v55 .st-step.on .st-go{color:var(--brand) !important}
html.v55 .stage-track{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}
html.v55 .season-card{background:var(--card) !important;border:1px solid var(--line) !important;border-radius:12px !important}
html.v55 .season-card:hover{border-color:var(--line2) !important;box-shadow:0 8px 22px rgba(23,24,30,.06) !important}
html.v55 .season-card b{color:var(--ink)} html.v55 .season-card .sc{color:var(--brand)}
html.v55 .mrow{background:var(--card);border:1px solid var(--line);border-radius:12px;margin-bottom:8px}
html.v55 .mrow:hover{background:var(--card2) !important;border-color:var(--line2)}
html.v55 .mrow .mt{color:var(--muted)}
html.v55 .mrow .score{color:var(--ink)}
html.v55 .mrow .score .w{color:var(--ink)}
html.v55 .mrow .go{color:var(--brand) !important}
html.v55 .mrow .go.off{color:var(--faint) !important}

/* ---------------- 赛事进程页 ---------------- */
html.v55 .br-head h1{color:var(--ink)}
html.v55 .br-head .sub{color:var(--muted)}
html.v55 .br-head .sub b{color:var(--ink2)}
html.v55 .br-head .sel select{background:var(--card);border:1px solid var(--line2);color:var(--ink)}
html.v55 .br-champ{border-top:1px solid var(--line2);border-bottom:1px solid var(--line)}
html.v55 .br-champ .ct{color:var(--brand)}
html.v55 .br-champ b{color:var(--ink)}
html.v55 .br-champ .cn{color:var(--muted)}
html.v55 .br-cols{border-top:1px solid var(--line2);border-bottom:1px solid var(--line)}
html.v55 .br-col{border-right:1px solid var(--line)}
html.v55 .br-col h3{color:var(--ink)}
html.v55 .br-col h3 .dot{background:var(--brand)}
html.v55 .br-col .cd{color:var(--faint)}
html.v55 .br-col.cur{background:rgba(240,47,85,.028)}
html.v55 .br-m{border-bottom:1px solid var(--line)}
html.v55 .br-m:hover{background:var(--card2)}
html.v55 .br-m .mt .nm{color:var(--ink2)}
html.v55 .br-m .mt.win .nm{color:var(--ink)}
html.v55 .br-m .mt.lose .nm{color:var(--muted)}
html.v55 .br-m .mt .sc{color:var(--ink)}
html.v55 .br-m .mt.win .sc{color:var(--brand)}
html.v55 .br-m .mt.lose .sc{color:var(--muted)}
html.v55 .br-m .ms{color:var(--faint)}
html.v55 .br-m.tbd .mt .nm{color:var(--muted)}
html.v55 .br-note{color:var(--muted)}
/* 赛事进程页复用首页头图的段推进条（在浅底上重新着色） */
html.v55 .br-rail,html.v55 #brRail{border-bottom:1px solid var(--line)}
html.v55 #brRail{border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden}
html.v55 #brRail .tm-seg{border-right:1px solid var(--line)}
html.v55 #brRail .tm-seg .sg-n{color:var(--ink)}
html.v55 #brRail .tm-seg .sg-d{color:var(--faint)}
html.v55 #brRail .tm-seg .sg-s{color:var(--muted)}
html.v55 #brRail .tm-seg.done{opacity:.5}
html.v55 #brRail .tm-seg.now{background:rgba(240,47,85,.04)}
html.v55 #brRail .tm-seg.now::before{background:var(--brand)}
html.v55 #brRail .tm-seg:hover{background:var(--card2)}

/* ---------------- 战队详情 ---------------- */
html.v55 .hd-top img.hd-ava,
html.v55 .hd-ava{border:1px solid var(--line2) !important;background:var(--card) !important}
html.v55 .hd-name{color:#fff}
html.v55 .hd-sub{color:var(--d-ink2) !important}
html.v55 .hd-stats{border-top:1px solid var(--line) !important;border-bottom:1px solid var(--line) !important}
html.v55 .hd-cell{border-right:1px solid var(--line) !important}
html.v55 .hd-cell .k{color:var(--muted) !important}
html.v55 .hd-cell .v{color:var(--ink) !important}
html.v55 .hd-cell .s{color:var(--faint) !important}
html.v55 .hd-cell.hl .v{color:var(--brand) !important}
html.v55 .cmp-radar{background:var(--card) !important}
html.v55 .radar-side .block-note{color:var(--muted)}
html.v55 .pwbar .pb{background:var(--inset) !important;border:1px solid var(--line) !important}
html.v55 .pwbar .pb i{background:var(--brand) !important}
html.v55 .pw b{color:var(--ink)}
html.v55 .pw .pwl{color:var(--muted)}
html.v55 .pw .pwv{color:var(--faint)}
html.v55 .hn-warn{color:#8A5B00 !important;background:rgba(246,192,33,.12) !important;border:1px solid rgba(190,140,20,.3) !important}
html.v55 .hn-cand a{border-bottom:1px solid var(--line)}
html.v55 .hn-trow{border-bottom:1px solid var(--line)}
html.v55 .hn-trow:hover{background:var(--card2)}
html.v55 .hn-win:hover{background:var(--card2)}
html.v55 .hn-ava{border:1px solid var(--line2) !important;background:var(--card) !important}
html.v55 .hn-ava-t{background:var(--inset) !important;color:var(--ink2) !important}
html.v55 .hn-wt b{color:var(--ink)}
html.v55 .hn-ws b{color:var(--ink)}
html.v55 .hn-kv{border-top:1px solid var(--line);color:var(--ink2)}
html.v55 .hn-lanes a{background:var(--card) !important;border:1px solid var(--line) !important}
html.v55 .hn-lanes a:hover{border-color:var(--line2) !important}

/* ---------------- 图表容器 ---------------- */
html.v55 .wr-chart{background:var(--card);border:1px solid var(--line);border-radius:12px}
html.v55 .live-chart{background:var(--card2);border:1px solid var(--line);border-radius:10px}
html.v55 .cov-bar .t{background:var(--inset)}
html.v55 .cov-bar .c{background:var(--brand)}

/* ---------------- 移动端 ---------------- */
@media(max-width:860px){
  html.v55 .br-cols{grid-auto-columns:minmax(210px,86vw)}
}

/* ---------------- 导航激活态（.ngrp.on 结构） ---------------- */
html.v55 .nav .ngrp > .ntop{color:var(--d-muted) !important}
html.v55 .nav .ngrp.on > .ntop{color:#fff !important}
html.v55 .nav .ngrp.on > .ntop::after{background:var(--brand) !important}
html.v55 .nav .ngrp:hover > .ntop{color:#fff !important}
html.v55 .result-list .row .d{color:var(--muted) !important;font-family:var(--mono)}
html.v55 .result-list .row .vs{color:var(--ink2) !important}
html.v55 .result-list .row .go{color:var(--brand) !important}

/* ---------------- 收尾校准 ---------------- */
html.v55 .fh-tcard .t{color:var(--muted) !important}
html.v55 .fh-tcard .sc{color:var(--ink) !important}
html.v55 .gold-t{color:var(--brand) !important}
html.v55 .silver-t{color:var(--ink2) !important}
html.v55 .lead-t{color:var(--muted) !important}
html.v55 .hcard .minibar i{background:linear-gradient(90deg, rgba(224,232,248,.35), var(--ink)) !important}
html.v55 #brRail .tm-seg.done{opacity:.62}
html.v55 .pl-trend svg text,html.v55 .yr-trend{color:var(--muted)}
html.v55 .yr-row .bar i{background:var(--ink) !important}
html.v55 .usage .wr,html.v55 .pl-hero .wr{color:var(--ink) !important}

/* 手机端：焦点对阵单行化，避免比分被挤到下一行 */
@media(max-width:560px){
  html.v55 #focusBlock .fh{border-radius:12px;padding:16px 14px}
  html.v55 #focusBlock .fh-vs{flex-wrap:nowrap;gap:8px;align-items:center}
  html.v55 #focusBlock .fh-team{font-size:14.5px;gap:6px;min-width:0}
  html.v55 #focusBlock .fh-team img{width:26px;height:26px}
  html.v55 #focusBlock .fh-team span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:76px}
  html.v55 #focusBlock .fh-score{font-size:21px;flex:none}
  html.v55 #focusBlock .fh-kicker{font-size:11px;line-height:1.6}
}

/* ---------------- 系列赛研究 ---------------- */
html.v55 .sr-bar{display:block;height:8px;background:var(--inset);border:1px solid var(--line);
  border-radius:5px;overflow:hidden;min-width:110px}
html.v55 .sr-bar i{display:block;height:100%;background:var(--brand);border-radius:4px}
html.v55 .form-str{display:inline-flex;gap:3px;vertical-align:middle}
html.v55 .form-str i{width:17px;height:17px;border-radius:3px;display:grid;place-items:center;
  font-size:9.5px;font-style:normal;font-weight:800;letter-spacing:0}
html.v55 .form-str i.w{background:var(--brand);color:#fff}
html.v55 .form-str i.l{background:var(--inset);color:var(--muted);border:1px solid var(--line)}

/* ---------------- 系列赛画像 / 关键局网格 ---------------- */
html.v55 .sr-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--line);margin-top:4px}
html.v55 .sr-cell{padding:14px 16px 12px 0;border-bottom:1px solid var(--line);border-right:1px solid var(--line);min-width:0}
html.v55 .sr-cell:nth-child(4n){border-right:none}
html.v55 .sr-cell .k{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v55 .sr-cell .v{font-size:23px;font-weight:900;margin-top:3px;line-height:1.15;
  font-variant-numeric:tabular-nums;color:var(--ink);display:flex;align-items:baseline;gap:6px}
html.v55 .sr-cell .v em{font-style:normal;font-size:11px;font-weight:600;color:var(--faint)}
html.v55 .sr-cell .s{font-size:11px;color:var(--faint);margin-top:4px;line-height:1.55}
html.v55 .sr-cell.hl .v{color:var(--brand)}
html.v55 .sr-form{display:flex;align-items:center;gap:8px;margin-top:4px}
@media(max-width:860px){
  html.v55 .sr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.v55 .sr-cell:nth-child(4n){border-right:1px solid var(--line)}
  html.v55 .sr-cell:nth-child(2n){border-right:none}
}

/* ---------------- 旧主题遗留的白色强调（浅底上不可见） ---------------- */
html.v55 .h2h-row2:hover{background:var(--card2) !important}
html.v55 .h2h-row2 .score{background:transparent !important;padding:0 !important}
html.v55 .h2h-row2 .score .w{color:var(--brand) !important}
html.v55 .h2h-bar .a{color:#fff !important}
html.v55 .h2h-years button.on{color:#fff !important}
html.v55 .pl-recent .res.w{color:var(--brand) !important;background:rgba(240,47,85,.08) !important}
html.v55 .pl-recent .res.l{color:var(--muted) !important;background:var(--inset) !important}
html.v55 .pr-row .hit.y{color:var(--brand) !important;background:rgba(240,47,85,.08) !important}
html.v55 .hist-row:hover,html.v55 .pr-row:hover,html.v55 .bp2-chip:hover{background:var(--card2) !important}
html.v55 .pl-hero:hover,html.v55 .recent-row:hover{background:var(--card2) !important}
html.v55 .battle-chip.win{border-color:var(--line2) !important;color:var(--brand) !important;
  background:rgba(240,47,85,.06) !important}
html.v55 .g-prow.mvp{background:linear-gradient(90deg,rgba(240,47,85,.06),transparent) !important}
html.v55 .g-eq.sa img{border-color:var(--line2) !important}
html.v55 .seg button.on{background:var(--brand) !important;color:#fff !important}

/* ---------------- 选手页 / 比赛页的白色强调 ---------------- */
html.v55 .yr-row .wr{color:var(--ink) !important}
html.v55 .result-row .score span.w{color:var(--brand) !important}
html.v55 .hist-row .ok{color:#0F8A78 !important}
html.v55 .pos-row .bar{background:var(--inset);border:1px solid var(--line)}
html.v55 .pos-row .bar i{background:var(--brand)}
html.v55 .pos-row .my{color:var(--ink)}
html.v55 .pos-row .rk{color:var(--brand)}
html.v55 .pos-row .k{color:var(--ink2)}
html.v55 .wb-toggle input{accent-color:var(--brand)}

/* ---------------- 选手打法画像 ---------------- */
html.v55 .pd-tags{display:flex;gap:7px;flex-wrap:wrap;margin:2px 0 16px}
html.v55 .pd-tag{font-size:11.5px;padding:3px 9px;border-radius:999px;background:rgba(240,47,85,.07);
  color:var(--brand);border:1px solid rgba(240,47,85,.22)}
html.v55 .pd-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 30px}
html.v55 .pd-row{display:grid;grid-template-columns:74px 1fr 46px;gap:10px;align-items:center;padding:5px 0}
html.v55 .pd-row .k{font-size:12px;color:var(--muted)}
html.v55 .pd-row .bar{height:8px;background:var(--inset);border:1px solid var(--line);border-radius:5px;overflow:hidden}
html.v55 .pd-row .bar i{display:block;height:100%;background:var(--brand);border-radius:4px}
html.v55 .pd-row .v{font-size:12px;text-align:right;color:var(--ink2);font-variant-numeric:tabular-nums}
html.v55 .pd-spark{margin-top:16px}
html.v55 .pd-spark svg{width:100%;height:auto;display:block}
html.v55 .pd-sim{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
html.v55 .pd-sim a{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--line);
  border-radius:10px;background:var(--card);min-width:0}
html.v55 .pd-sim a:hover{border-color:var(--line2);background:var(--card2)}
html.v55 .pd-sim img{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:none;border:1px solid var(--line)}
html.v55 .pd-sim .n{min-width:0}
html.v55 .pd-sim b{display:block;font-size:13px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v55 .pd-sim span{display:block;font-size:11px;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v55 .pd-sim em{font-style:normal;margin-left:auto;font-size:11.5px;color:var(--brand);font-variant-numeric:tabular-nums;flex:none}
@media(max-width:860px){html.v55 .pd-grid{grid-template-columns:1fr}html.v55 .pd-sim{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 五列关键局面板：窄屏收成两列（内联样式无法被媒体查询覆盖） */
html.v55 .sr-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:860px){
  html.v55 .sr-grid.five{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.v55 .sr-grid.five .sr-cell:nth-child(5){border-right:none}
  html.v55 .sr-grid.five .sr-cell:nth-child(4){border-right:1px solid var(--line)}
}

/* ---------------- 选手：赛季漂移 / 搭档对手 / 对位网 ---------------- */
html.v55 .pd-drift-sum{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0 4px;font-size:12.5px;color:var(--muted)}
html.v55 .pd-drift-sum b{font-variant-numeric:tabular-nums}
html.v55 .pd-drift-sum .up{color:#0F8A78}
html.v55 .pd-drift-sum .down{color:#D5374B}
html.v55 .chem-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:0 26px}
html.v55 .chem-col{min-width:0}
html.v55 .chem-col h4{font-size:12px;color:var(--muted);font-weight:600;margin:0 0 6px;padding-bottom:6px;border-bottom:1px solid var(--line)}
html.v55 .chem-row{display:flex;align-items:baseline;gap:8px;padding:6px 0;border-bottom:1px solid rgba(224,232,248,.06);font-size:12.5px;min-width:0}
html.v55 .chem-row:last-child{border-bottom:none}
html.v55 .chem-row .nm{color:var(--ink);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}
html.v55 .chem-row .nums{font-family:var(--mono);color:var(--muted);font-size:11px;white-space:nowrap;flex:none}
html.v55 .chem-row .d{font-family:var(--mono);font-weight:700;font-size:11.5px;white-space:nowrap;flex:none}
html.v55 .chem-row .d.up{color:#0F8A78}
html.v55 .chem-row .d.down{color:#D5374B}
html.v55 .chem-lineup .nm{font-weight:500;color:var(--ink2)}
html.v55 .rival-wrap{display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:24px;align-items:start}
html.v55 .rival-net svg{width:100%;height:auto;display:block}
html.v55 .rival-list .chem-row .nm{flex:1}
html.v55 .rival-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:8px}
html.v55 .rival-legend i{display:inline-block;width:16px;height:2px;vertical-align:middle;margin-right:5px}
@media(max-width:960px){
  html.v55 .chem-grid{grid-template-columns:1fr;gap:18px}
  html.v55 .rival-wrap{grid-template-columns:1fr}
}

/* 阵容协同行：名字一行、样本与期望一行 */
html.v55 .chem-row.chem-lineup{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"nm d" "nums nums";row-gap:1px}
html.v55 .chem-lineup .nm{grid-area:nm}
html.v55 .chem-lineup .d{grid-area:d;align-self:center}
html.v55 .chem-lineup .nums{grid-area:nums;white-space:normal}

html.v55 .chem-row.chem-lineup{grid-template-areas:"nm d" "nums nums" "heroes heroes"}
html.v55 .chem-lineup .heroes{grid-area:heroes;font-size:10.5px;color:var(--faint);line-height:1.6;white-space:normal}

/* ---------------- 首页更新公告 ---------------- */
html.v55 .release-bar{display:flex;align-items:center;gap:12px;margin-top:18px;padding:10px 14px;
  border:1px solid rgba(240,47,85,.22);background:rgba(240,47,85,.05);border-radius:10px;font-size:13px}
html.v55 .release-bar .ub-badge{flex:none;font-size:10.5px;font-weight:800;letter-spacing:.06em;
  color:#fff;background:var(--brand);border-radius:4px;padding:2px 7px}
html.v55 .release-bar .ub-text{min-width:0;color:var(--ink2)}
html.v55 .release-bar .ub-text b{color:var(--ink);font-weight:800;margin-right:8px}
html.v55 .release-bar .ub-sum{color:var(--muted)}
html.v55 .release-bar .ub-link{margin-left:auto;color:var(--brand);font-weight:700;white-space:nowrap;flex:none}
html.v55 .release-bar .ub-close{flex:none;border:none;background:none;color:var(--faint);font-size:18px;
  line-height:1;cursor:pointer;padding:0 2px}
html.v55 .release-bar .ub-close:hover{color:var(--ink)}
@media(max-width:720px){
  html.v55 .release-bar{flex-wrap:wrap;gap:6px 10px}
  html.v55 .release-bar .ub-text{flex:1 1 100%;order:3}
  html.v55 .release-bar .ub-link{margin-left:auto}
}

/* ---------------- 更新日志 ---------------- */
html.v55 .up-item{position:relative;padding:0 0 34px 28px;border-left:1px solid var(--line)}
html.v55 .up-item:last-child{border-left-color:transparent;padding-bottom:8px}
html.v55 .up-item::before{content:"";position:absolute;left:-4px;top:7px;width:7px;height:7px;
  border-radius:50%;background:var(--line2)}
html.v55 .up-item.latest::before{background:var(--brand);box-shadow:0 0 0 4px rgba(240,47,85,.12)}
html.v55 .up-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
html.v55 .up-v{font-family:var(--mono);font-size:12.5px;font-weight:800;color:var(--brand)}
html.v55 .up-date{font-size:11.5px;color:var(--faint)}
html.v55 .up-now{font-size:10.5px;font-weight:800;color:var(--brand);border:1px solid rgba(240,47,85,.3);
  border-radius:4px;padding:1px 6px}
html.v55 .up-title{font-size:21px;font-weight:900;color:var(--ink);margin:7px 0 6px;letter-spacing:.01em}
html.v55 .up-sum{font-size:13px;color:var(--muted);margin:0 0 10px;line-height:1.8}
html.v55 .up-list{list-style:none;margin:0;padding:0}
html.v55 .up-list li{position:relative;padding-left:14px;font-size:13px;color:var(--ink2);
  line-height:1.95;margin-bottom:3px}
html.v55 .up-list li::before{content:"";position:absolute;left:0;top:12px;width:4px;height:4px;
  border-radius:50%;background:var(--muted)}
@media(max-width:600px){
  html.v55 .up-item{padding-left:20px}
  html.v55 .up-title{font-size:18px}
}

/* ---------------- 赛事纪录 ---------------- */
html.v55 .rec-list{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}
html.v55 .rec-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;
  padding:14px 18px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}
html.v55 .rec-row:last-child{border-bottom:none}
html.v55 .rec-row:hover{background:var(--card2)}
html.v55 .rec-row .rank{font-family:var(--mono);font-size:13px;font-weight:800;color:var(--faint);text-align:center}
html.v55 .rec-row.top1 .rank{color:var(--brand)}
html.v55 .rec-who{min-width:0}
html.v55 .rec-who b{display:block;font-size:14.5px;font-weight:800;color:var(--ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v55 .rec-who em{display:block;font-style:normal;font-size:11.5px;color:var(--muted);margin-top:3px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v55 .rec-val{font-family:var(--mono);font-size:22px;font-weight:900;color:var(--ink);
  white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
html.v55 .rec-val small{font-size:11px;font-weight:600;color:var(--muted);margin-left:4px}
html.v55 .rec-row.top1 .rec-val{color:var(--brand)}
@media(max-width:640px){
  html.v55 .rec-row{grid-template-columns:30px minmax(0,1fr) auto;gap:10px;padding:12px 14px}
  html.v55 .rec-val{font-size:18px}
  html.v55 .rec-who b{font-size:13.5px}
}

/* 赛事纪录：主题筛选 */
html.v55 .theme-chips{display:flex;gap:7px;flex-wrap:wrap}
html.v55 .theme-chips button{font-family:inherit;font-size:12.5px;padding:6px 12px;border-radius:999px;
  border:1px solid var(--line2);background:var(--card);color:var(--ink2);cursor:pointer}
html.v55 .theme-chips button:hover{border-color:var(--ink2);color:var(--ink)}
html.v55 .theme-chips button.on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}

/* 赛事纪录：可点开条目 */
html.v55 .rec-row.openable .rec-who b{border-bottom:1px dashed rgba(224,232,248,.28)}
html.v55 .rec-row.openable:hover .rec-who b{border-bottom-color:var(--brand)}
/* 同场十人抽屉 */
.rec-modal{position:fixed;inset:0;z-index:130;display:none}
.rec-modal.on{display:block}
.rec-modal-bg{position:absolute;inset:0;background:rgba(23,24,30,.48);backdrop-filter:blur(2px)}
.rec-modal-panel{position:relative;max-width:860px;margin:5vh auto;background:var(--card);border-radius:14px;
  box-shadow:0 30px 80px rgba(23,24,30,.28);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}
.rec-modal-head{position:relative;padding:20px 24px 14px;border-bottom:1px solid var(--line)}
.rec-modal-head h3{font-size:20px;font-weight:900;color:var(--ink);margin:5px 0 4px}
.rec-modal-head h3 span{color:var(--faint);font-weight:600;margin:0 5px}
.rec-modal-head .rm-kicker{font-size:10.5px;letter-spacing:.12em;color:var(--faint)}
.rec-modal-head .rm-sub{font-size:12.5px;color:var(--muted)}
.rec-modal-head .rm-sub b{color:var(--brand);font-variant-numeric:tabular-nums}
.rm-close{position:absolute;right:16px;top:16px;width:32px;height:32px;border:none;background:transparent;
  color:var(--muted);font-size:22px;line-height:1;cursor:pointer;border-radius:6px;z-index:3}
.rm-close:hover{background:var(--inset);color:var(--ink)}
.rm-body{padding:4px 24px 18px;overflow:auto}
.rm-loading{padding:40px 24px;text-align:center;color:var(--muted);font-size:13px}
.rm-team{display:flex;align-items:center;gap:8px;margin:16px 0 6px;font-size:13.5px;font-weight:800;color:var(--ink)}
.rm-team img{width:20px;height:20px;object-fit:contain}
.rm-tbl{width:100%;border-collapse:collapse;font-size:12.5px}
.rm-tbl th{color:var(--muted);font-weight:600;font-size:11px;text-align:right;padding:6px 8px;
  border-bottom:1px solid var(--line2);white-space:nowrap}
.rm-tbl th:first-child{text-align:left}
.rm-tbl td{padding:7px 8px;border-bottom:1px solid var(--line);text-align:right;
  font-variant-numeric:tabular-nums;color:var(--ink2)}
.rm-tbl td:first-child{text-align:left}
.rm-tbl tr.hl td{background:rgba(240,47,85,.06);color:var(--ink);font-weight:700}
.rm-player{display:flex;align-items:center;gap:8px;min-width:0}
.rm-player img{width:22px;height:22px;border-radius:50%;object-fit:cover;flex:none}
.rm-player span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rm-player small{color:var(--muted);font-size:11px}
.rm-foot{padding:12px 24px 18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end}
@media(max-width:720px){
  .rec-modal-panel{margin:0;max-height:100vh;height:100vh;border-radius:0}
  .rec-modal-head{padding:16px 16px 12px}
  .rm-body{padding:4px 16px 16px}
  .rm-tbl th,.rm-tbl td{padding:6px 4px}
  .rm-tbl th:nth-child(5),.rm-tbl td:nth-child(5){display:none}
}

/* 对局选择弹窗：点开已结束比赛先选要进入的局 */
.gsel-modal{position:fixed;inset:0;z-index:140;display:flex;align-items:center;justify-content:center;padding:20px}
.gsel-bg{position:absolute;inset:0;background:rgba(23,24,30,.55);backdrop-filter:blur(3px)}
.gsel-panel{position:relative;width:min(720px,94vw);max-height:86vh;display:flex;flex-direction:column;
  background:var(--card);border:1px solid var(--line);border-radius:16px;
  box-shadow:0 30px 80px rgba(23,24,30,.4);overflow:hidden;animation:gselIn .18s ease-out}
@keyframes gselIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.gsel-head{padding:18px 22px 14px;border-bottom:1px solid var(--line)}
.gsel-head h3{font-size:19px;font-weight:900;color:var(--ink);margin:4px 0 3px}
.gsel-head h3 span{color:var(--faint);font-weight:600;margin:0 5px}
.gsel-kicker{font-size:10.5px;letter-spacing:.14em;color:var(--faint)}
.gsel-sub{font-size:12.5px;color:var(--muted)}
.gsel-sub b{color:var(--brand);font-variant-numeric:tabular-nums}
.gsel-close{position:absolute;right:14px;top:14px;width:32px;height:32px;border:none;background:transparent;
  color:var(--muted);font-size:22px;line-height:1;cursor:pointer;border-radius:6px;z-index:3}
.gsel-close:hover{background:var(--inset);color:var(--ink)}
.gsel-body{padding:16px 22px 8px;overflow:auto}
.gsel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(196px,1fr));gap:10px}
.gsel-card{position:relative;text-align:left;border:1px solid var(--line);background:var(--inset);border-radius:12px;
  padding:12px 14px;cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s;font-family:inherit;display:block}
.gsel-card:hover{border-color:var(--brand);transform:translateY(-2px);box-shadow:0 10px 26px rgba(23,24,30,.22)}
.gsel-card .gc-no{display:block;font-size:11px;letter-spacing:.1em;color:var(--faint)}
.gsel-card .gc-win{display:block;margin-top:4px;font-size:15px;font-weight:800;color:var(--ink)}
.gsel-card .gc-meta{margin-top:7px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}
.gsel-card .gc-go{position:absolute;right:12px;top:12px;font-size:12px;color:var(--brand);opacity:0;transition:opacity .15s}
.gsel-card:hover .gc-go{opacity:1}
.gsel-foot{padding:12px 22px 16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}
.gsel-note{font-size:11.5px;color:var(--muted)}
@media(max-width:720px){.gsel-grid{grid-template-columns:1fr 1fr}.gsel-note{display:none}}

/* 数据曲线 V3：终局记分牌 + 五路对位大卡 + 资源时间轴 */
.curve-score{display:flex;align-items:stretch;gap:6px;margin:0 0 10px}
.cs-team{flex:1;display:flex;align-items:center;gap:3px 10px;padding:7px 10px;flex-wrap:wrap;min-width:0;
  border:1px solid var(--line);border-radius:9px;background:var(--card2)}
.cs-dot{width:8px;height:8px;border-radius:50%;flex:none;margin-right:2px}
.cs-team>b{font-size:12.5px;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}
.cs-k{display:flex;align-items:baseline;gap:3px}
.cs-k b{font-family:var(--mono);font-size:12.5px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
.cs-k em{font-style:normal;font-size:9px;color:var(--muted)}
.cs-final{align-self:center;flex:none;font-size:9.5px;letter-spacing:.14em;color:var(--muted);
  border:1px solid var(--line);border-radius:999px;padding:3px 8px;background:var(--inset)}
.live-chart{padding:6px 8px}
.rp-sm-t{display:flex;justify-content:space-between;align-items:center;gap:8px}
.rp-sm-t span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rp-sm-diff{font-family:var(--mono);font-size:12.5px;font-weight:800;flex:none;font-variant-numeric:tabular-nums}
/* 分路对位探索器 */
.duel-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.duel-chips{display:flex;gap:8px;flex-wrap:wrap}
.duel-chip{display:flex;align-items:center;gap:9px;padding:9px 14px;border:1px solid var(--line);border-radius:11px;
  background:var(--inset);cursor:pointer;font-family:inherit;color:var(--ink2);transition:border-color .15s,background .15s}
.duel-chip b{font-size:13px;font-weight:800;color:var(--ink)}
.duel-chip .dc-diff{font-family:var(--mono);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.duel-chip:hover{border-color:var(--line2)}
.duel-chip.on{border-color:var(--brand);background:var(--card2);box-shadow:inset 0 0 0 1px var(--brand)}
.duel-metric{flex:none}
.duel-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:2px 0 10px}
.duel-p{display:flex;align-items:baseline;gap:10px;min-width:0}
.duel-p.r{justify-content:flex-end}
.duel-p b{font-size:16px;font-weight:900}
.duel-p .dp-v{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.duel-vs{font-size:10.5px;letter-spacing:.18em;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:5px 10px;background:var(--inset)}
.duel-tug{height:30px;border-radius:8px;overflow:hidden;display:flex;border:1px solid var(--line)}
.duel-tug i{display:block;height:100%;transition:width .18s ease}
.duel-slider{display:flex;align-items:center;gap:12px;margin:10px 0 4px}
.duel-slider span{width:34px;text-align:right;color:var(--ink2);font-size:12px}
.duel-slider input[type=range]{flex:1;accent-color:var(--brand)}
.duel-insights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.duel-insights div{padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:var(--card2);min-width:0}
.duel-insights span{display:block;font-size:10px;color:var(--muted)}
.duel-insights b{font-family:var(--mono);font-size:14px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
@media(max-width:860px){.duel-insights{grid-template-columns:repeat(2,minmax(0,1fr))}.duel-p .dp-v{font-size:17px}}
.res-tl svg{width:100%;height:auto;display:block}
.res-dot{cursor:pointer}
.curve-summary b{font-size:16.5px}
.duel-bfly{margin-top:12px;border:1px solid var(--line);border-radius:12px;background:var(--card2);padding:12px 16px 8px}
.duel-bfly-h{font-size:11px;font-weight:800;color:var(--ink2);margin-bottom:4px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.duel-bfly-h em{font-style:normal;font-size:10px;font-weight:400;color:var(--muted)}
.bf-row{display:grid;grid-template-columns:1fr 92px 1fr;align-items:center;gap:10px;padding:7px 0;border-bottom:1px dashed var(--line)}
.bf-row:last-child{border-bottom:none}
.bf-lb{text-align:center;font-size:11.5px;color:var(--muted);white-space:nowrap}
.bf-cell{position:relative;height:24px;display:flex;align-items:center;gap:9px;min-width:0}
.bf-cell i{display:block;height:13px;border-radius:6px;opacity:.82;transition:width .2s ease}
.bf-cell.l{justify-content:flex-end}
.bf-cell b{font-family:var(--mono);font-size:12.5px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums;flex:none}
/* 团战账本 */
.fight-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.fight-card{position:relative;text-align:left;border:1px solid var(--line);border-radius:11px;background:var(--card2);
  padding:11px 13px;cursor:pointer;font-family:inherit;display:block;transition:border-color .15s,transform .15s}
.fight-card:hover{border-color:var(--gold);transform:translateY(-2px)}
.fight-card .fc-t{display:block;font-size:10.5px;color:var(--muted);letter-spacing:.08em}
.fight-card .fc-k{display:block;margin-top:4px;font-size:15px;font-weight:800;color:var(--ink)}
.fight-card .fc-s{display:block;margin-top:3px;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.fight-card .fc-res{display:block;margin-top:4px;font-size:10.5px;color:var(--gold);min-height:16px}
