/* 绿茵星图 H5 · mobile-first */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0e1a2b; color: #e8eef6; min-height: 100vh;
}
/* 桌面端自适应：宽屏铺开到 1280px（参考 500.com 大表格），窄屏回落 H5 */
main { width: 100%; max-width: 1280px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) {
  main { padding: 20px 28px; gap: 18px; }
  .grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .agent-card { padding: 22px 10px; }
  .agent-card .emoji { font-size: 38px; }
  .agent-card .name { font-size: 17px; }
  h2 { font-size: 20px; }
  .sec-title { font-size: 19px; }
  table { font-size: 14px; }
  th, td { padding: 10px 12px; }
  .match-row .m-teams.big { font-size: 24px; }
}
.topbar {
  position: sticky; top: 0; z-index: 9; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: #12233a; border-bottom: 1px solid #1f3a5c;
}
.brand { color: #7dd3fc; font-weight: 700; text-decoration: none; font-size: 17px; }
.brand .sub { font-size: 11px; color: #64748b; margin-left: 4px; font-weight: 400; }
.topnav { display: flex; align-items: center; gap: 8px; }
.navlink { color: #94a3b8; text-decoration: none; font-size: 14px; font-weight: 600; padding: 4px 8px; border-radius: 8px; }
.navlink.on { color: #7dd3fc; background: #1b3555; }
.picks-btn {
  color: #0e1a2b; background: #7dd3fc; border-radius: 999px; padding: 5px 12px;
  text-decoration: none; font-size: 13px; font-weight: 600;
}
.card {
  background: #16283f; border: 1px solid #23405f; border-radius: 14px;
  padding: 14px; text-decoration: none; color: inherit; display: block;
}
.sec-title { font-size: 16px; margin: 8px 2px 4px; color: #cbd5e1; }
.muted { color: #64748b; font-size: 13px; }
h2 { font-size: 17px; margin-bottom: 10px; }
h3 { font-size: 15px; margin-bottom: 8px; }
h3 a { color: #7dd3fc; text-decoration: none; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 7px 6px; text-align: center; border-bottom: 1px solid #23405f; }
th { color: #94a3b8; font-weight: 500; font-size: 12px; }
td a { color: #7dd3fc; text-decoration: none; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.agent-card { text-align: center; padding: 16px 8px; }
.agent-card .emoji { font-size: 30px; }
.agent-card .name { font-weight: 700; margin: 6px 0 2px; font-size: 15px; }
.agent-card .code { color: #64748b; font-size: 11px; margin-left: 4px; font-weight: 400; }
.agent-card .persona { color: #94a3b8; font-size: 12px; line-height: 1.4; }
.match-row .m-league { color: #94a3b8; font-size: 12px; margin-bottom: 4px; }
.match-row .m-teams { font-size: 16px; font-weight: 600; }
.match-row .m-teams.big { font-size: 20px; }
.vs { color: #f59e0b; margin: 0 6px; font-size: 13px; }
.m-odds { color: #94a3b8; font-size: 12px; margin-top: 6px; }
.gl { color: #f59e0b; }
.pred { font-size: 26px; font-weight: 800; color: #4ade80; margin: 6px 0; }
.pred.big { font-size: 40px; }
.stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }
.basis { font-size: 14px; color: #cbd5e1; margin-bottom: 6px; }
.reco { font-size: 13px; color: #4ade80; background: #14301f; border: 1px solid #2f6f4f;
        border-radius: 8px; padding: 6px 10px; margin-bottom: 8px; }
.reco.off { color: #f87171; background: #32161a; border-color: #6f2f38; }
.reasoning { font-size: 14px; line-height: 1.7; color: #dbe4ee; white-space: pre-wrap; }
.ts { margin-top: 6px; font-size: 11px; }
.foot { text-align: center; color: #475569; font-size: 11px; padding: 18px 0 26px; }
.pos { color: #ef4444; font-weight: 700; }   /* 中国习惯：盈利/正收益红 */
.neg { color: #22c55e; font-weight: 700; }   /* 亏损/负收益绿 */
form label { display: block; font-size: 13px; color: #94a3b8; margin: 12px 0 4px; }
form input, form select, form textarea {
  width: 100%; background: #0e1a2b; color: #e8eef6; border: 1px solid #23405f;
  border-radius: 8px; padding: 10px; font-size: 14px;
}
form button {
  margin-top: 16px; width: 100%; padding: 12px; border: 0; border-radius: 10px;
  background: #7dd3fc; color: #0e1a2b; font-size: 15px; font-weight: 700;
}
.user-pick { border-color: #2f6f4f; }
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #94a3b8; }
.stat-row b { color: #e8eef6; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(5, 1fr); } }

/* ── 发布后台 ── */
.tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.tab { padding: 6px 16px; border-radius: 10px 10px 0 0; background: #0e1a2b;
       color: #94a3b8; text-decoration: none; font-weight: 600; font-size: 14px; }
.tab.on { color: #7dd3fc; background: #1b3555; }
.rowline { margin-bottom: 8px; }
.btn { background: #ef4444; color: #fff; border: 0; border-radius: 10px;
       padding: 9px 18px; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.btn:disabled { background: #475569; cursor: not-allowed; }
.btn.ghost { background: #334155; }
.btn.warn { background: #f59e0b; color: #0e1a2b; }
.btn.full { width: 100%; margin-top: 12px; background: #7dd3fc; color: #0e1a2b; }
.ogroup { margin: 12px 0; }
.og-title { font-size: 14px; color: #cbd5e1; margin-bottom: 6px; }
.ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ocell { background: #0e1a2b; border: 1px solid #23405f; border-radius: 10px;
         color: #e8eef6; padding: 10px 4px; font-size: 13px; cursor: pointer; line-height: 1.5; }
.ocell.sel { border-color: #4ade80; background: #14301f; color: #4ade80; }
.ocell.off { opacity: .35; cursor: not-allowed; }
.plan-box { border: 1px solid #23405f; border-radius: 12px; padding: 12px; margin-top: 10px; }
.plan-box.st-published { border-color: #2f6f4f; }
.plan-box.st-withdrawn { opacity: .6; }
.badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.badge.draft { background: #334155; color: #cbd5e1; }
.badge.published { background: #14301f; color: #4ade80; }
.badge.withdrawn { background: #32161a; color: #f87171; }

/* ── 后台两栏布局：左菜单 + 右内容 ── */
.admin-wrap { display: flex; gap: 14px; align-items: flex-start; width: 100%; }
.admin-side { width: 190px; flex-shrink: 0; background: #12233a; border: 1px solid #1f3a5c;
              border-radius: 14px; padding: 10px; position: sticky; top: 60px; }
.side-head { font-weight: 800; color: #7dd3fc; padding: 8px 10px 12px; font-size: 15px; }
.side-item { display: flex; justify-content: space-between; align-items: center;
             padding: 10px 12px; border-radius: 10px; color: #cbd5e1; font-size: 14px;
             text-decoration: none; margin-bottom: 2px; }
a.side-item:hover { background: #1b3555; }
.side-item.on { background: #1b3555; color: #7dd3fc; font-weight: 700; }
.side-item.off { color: #475569; cursor: not-allowed; }
.side-item.off i { font-style: normal; font-size: 10px; background: #0e1a2b;
                   border-radius: 999px; padding: 2px 6px; }
.side-foot { border-top: 1px solid #1f3a5c; margin-top: 10px; padding: 10px 12px 4px;
             display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) {
  .admin-wrap { flex-direction: column; }
  .admin-side { width: 100%; position: static; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
  .side-head { width: 100%; padding: 4px 6px 8px; }
  .side-item { padding: 6px 10px; }
  .side-item.off i { display: none; }
  .side-foot { width: 100%; border-top: 1px solid #1f3a5c; flex-direction: row; margin-left: auto; }
}
main:has(.admin-wrap) { max-width: 1100px; }

/* ── 选方案弹窗（照搬 zlsyyc 弹出菜单） ── */
.modal-mask { position: fixed; inset: 0; background: rgba(4,10,20,.72); z-index: 99;
              display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { width: 100%; max-width: 540px; max-height: 86vh; display: flex; flex-direction: column;
         background: #16283f; border: 1px solid #2a4a70; border-radius: 16px;
         box-shadow: 0 18px 60px rgba(0,0,0,.5); }
.modal-head { display: flex; justify-content: space-between; align-items: center;
              padding: 14px 16px; border-bottom: 1px solid #23405f;
              font-weight: 700; font-size: 15px; color: #e8eef6; }
.mclose { color: #94a3b8; text-decoration: none; font-size: 18px; padding: 2px 8px; }
.modal-body { padding: 14px 16px; overflow-y: auto; }
.modal-foot { display: flex; align-items: center; gap: 12px;
              padding: 12px 16px; border-top: 1px solid #23405f; }
.picked-row { display: flex; justify-content: space-between; align-items: center;
              padding: 6px 10px; border: 1px solid #23405f; border-radius: 8px; margin-bottom: 6px; }
.picked-row .neg { color: #22c55e; text-decoration: none; font-size: 12px; } /* 亏损绿 */

/* 后台方案卡片输入框（不在 <form> 内） */
.admin-main input, .admin-main textarea, .admin-main select {
  width: 100%; background: #0e1a2b; color: #e8eef6; border: 1px solid #23405f;
  border-radius: 8px; padding: 10px; font-size: 14px;
}
.admin-main label { display: block; font-size: 13px; color: #94a3b8; margin: 12px 0 4px; }

/* 弹窗折叠分组 + 规则条 */
.rule-banner { background: #1b2f4a; border: 1px solid #2a4a70; border-radius: 10px;
               padding: 10px 12px; font-size: 12.5px; color: #9fc3e8; margin-bottom: 12px; line-height: 1.6; }
.og-head { display: flex; justify-content: space-between; align-items: center;
           background: #1b2f4a; border: 1px solid #2a4a70; border-radius: 12px;
           padding: 13px 16px; margin-bottom: 10px; cursor: pointer;
           font-weight: 700; font-size: 15px; color: #e8eef6; }
.og-head .tri { color: #64748b; transition: transform .15s; }
.ogroup.open .og-head .tri { transform: rotate(180deg); }
.og-body { display: none; padding: 2px 4px 12px; }
.ogroup.open .og-body { display: block; }
.og-play { font-size: 12px; color: #64748b; margin: 8px 0 6px; }
.ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ogrid.dense { grid-template-columns: repeat(5, 1fr); }

/* 发布页：场次左 + 方案右 */
.pub-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 12px; align-items: start; }
.pub-plan { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 60px; }
.pub-matches { min-width: 0; }
@media (max-width: 980px) {
  .pub-grid { grid-template-columns: 1fr; }
  .pub-plan { position: static; }
}
.btn { white-space: nowrap; flex-shrink: 0; }

/* ── 发布页 v2（照搬 zlsyyc 布局） ── */
.pub-top { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; }
.picked-badge { background: #6f1d26; border: 1px solid #ef4444; color: #fca5a5;
                border-radius: 8px; padding: 6px 14px; font-size: 13px; }
.picked-badge b { color: #ef4444; font-size: 15px; }
.pub-grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 14px; align-items: start; max-width: 1100px; }
.pub-matches { max-height: calc(100vh - 120px); overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.match-card { display: flex; justify-content: space-between; align-items: center;
              background: #101d30; border: 1px solid #1f3a5c; border-radius: 12px; padding: 10px 12px; }
.match-card.sel-card { border-color: #ef4444; background: #2a1420; }
.mc-time { color: #94a3b8; font-size: 12px; margin: 0 6px; }
.mc-picked { font-size: 12px; color: #f87171; margin-top: 4px; }
.mc-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.btn-uncancel { background: #334155; color: #cbd5e1; border: 0; border-radius: 8px;
                padding: 5px 10px; font-size: 12px; cursor: pointer; }
.mc-badge { background: #ef4444; color: #fff; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.pub-editor { position: sticky; top: 60px; display: flex; flex-direction: column; gap: 10px; }
.picked-box { background: #101d30; border: 1px solid #1f3a5c; border-radius: 10px; padding: 10px 12px; }
.pk-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0;
          border-bottom: 1px dashed #1f3a5c; font-size: 13px; }
.pk-row:last-child { border-bottom: 0; }
.pk-sel { color: #ef4444; font-weight: 700; white-space: nowrap; }
.pk-sel i { font-style: normal; color: #94a3b8; font-weight: 400; font-size: 12px; }
.rt-bar { display: flex; gap: 6px; align-items: center; background: #101d30;
          border: 1px solid #1f3a5c; border-radius: 10px 10px 0 0; padding: 8px; border-bottom: 0; }
.rt-bar button { background: transparent; border: 0; color: #cbd5e1; font-size: 14px;
                 width: 30px; height: 28px; cursor: pointer; border-radius: 6px; }
.rt-bar button:hover { background: #1b3555; }
.rt-editor { min-height: 240px; background: #0b1728; border: 1px solid #1f3a5c; border-radius: 0 0 10px 10px;
             padding: 12px; font-size: 14px; line-height: 1.7; color: #e8eef6; overflow-y: auto; }
.rt-editor:empty::before { content: attr(data-placeholder); color: #475569; }
.rt-editor:focus { outline: none; border-color: #2a4a70; }
.rt-count { text-align: right; color: #475569; font-size: 12px; }
.pub-actions { display: flex; gap: 10px; }
.btn.wide { flex: 1; text-align: center; padding: 13px 10px; font-size: 15px; }
.btn.publish { background: #ef4444; }
.plan-content { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #dbe4ee; }
.plan-content ul, .plan-content ol { padding-left: 20px; }
@media (max-width: 980px) {
  .pub-grid { grid-template-columns: 1fr; }
  .pub-matches { max-height: 50vh; }
  .pub-editor { position: static; }
}
main.admin-main { max-width: none; margin: 0; padding: 0; }

/* 后台命中统计筛选 */
.stats-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.stats-form label { color: #94a3b8; font-size: 12px; }
.stats-form select, .stats-form input { background: #0e1a2b; color: #e8eef6; border: 1px solid #23405f; border-radius: 7px; padding: 6px 8px; font-size: 13px; }
.stat-filter { display: inline-flex; align-items: center; gap: 6px; }
.sport-switch { display: inline-flex; flex: 0 0 auto; gap: 4px; padding: 3px; background: #0e1a2b; border: 1px solid #23405f; border-radius: 9px; }
.sport-btn { min-width: 104px; padding: 6px 12px; border: 0; border-radius: 6px; background: transparent; color: #94a3b8; font-size: 13px; white-space: nowrap; text-align: center; cursor: pointer; }
.sport-btn:hover { color: #e8eef6; }
.sport-btn.on { background: #1b3555; color: #7dd3fc; box-shadow: inset 0 0 0 1px #2f5d8a; }
.stat-agent { cursor: pointer; }
.stat-agent:hover td { background: #1b3555; }
/* 命中统计：可点击排序表头 */
.sortable { cursor: pointer; user-select: none; }
.sortable:hover { color: #7dd3fc; }
.sortable .sort-ind { display: inline-block; margin-left: 4px; font-size: 10px; color: #64748b; }
.sortable.on { color: #7dd3fc; }
.sortable.on .sort-ind { color: #7dd3fc; }
.stat-caret { display: inline-block; width: 14px; color: #7dd3fc; font-size: 12px; }
.board-toggle { cursor: pointer; }
.board-toggle:hover { color: #7dd3fc; }
.board-code { color: #64748b; font-size: 11px; font-weight: 400; margin-left: 2px; }
.board-link { margin-left: 6px; font-size: 11px; opacity: .7; text-decoration: none; }
.board-link:hover { opacity: 1; }
.recent-detail > td { padding: 0 8px 10px; }
.stat-detail-table .odds-cell { color: #cbd5e1; font-variant-numeric: tabular-nums; }
.stat-detail-table th .muted { font-size: 10px; font-weight: 400; }
.stat-detail > td { padding: 0 8px 10px; }
.stat-detail-head { padding: 8px 4px; color: #94a3b8; font-size: 12px; }
.stat-detail-table { font-size: 12px; border-collapse: collapse; }
.stat-detail-table th, .stat-detail-table td { padding: 6px 8px; white-space: nowrap;
  border: 1px solid #294563; }
.stat-detail-table th { background: #16283f; color: #94a3b8; font-weight: 600; }
.stat-detail-table tbody tr:nth-child(even) td { background: rgba(22,40,63,.45); }
.stat-detail-table a { color: #7dd3fc; text-decoration: none; }

/* 澳客口径竞彩数据行 */
.odds-table { font-size: 12.5px; table-layout: auto; }
.odds-table th { color: #7f96ae; font-size: 11px; padding: 6px 4px; white-space: nowrap; }
.odds-table td { padding: 8px 4px; white-space: nowrap; }
.odds-table tr:hover td { background: #16263a; }
.odds-table .ono { color: #94a3b8; font-variant-numeric: tabular-nums; }
.odds-table .olg { color: #7dd3fc; font-weight: 600; }
.odds-table .otm { color: #cbd5e1; font-variant-numeric: tabular-nums; }
.odds-table .oteam { font-weight: 600; }
.odds-table .orank { color: #64748b; font-size: 11px; }
.odds-table .oodd { color: #e2e8f0; font-variant-numeric: tabular-nums; }
.odds-table .oline { color: #f59e0b; }
.odds-table .a-link { color: #7dd3fc; text-decoration: none; }
.odds-empty { color: #64748b; font-size: 12px; }

/* 竞彩赔率网格：队名 | 让球线 | 三列赔率 */
.og { display: grid; grid-template-columns: minmax(0,1fr) 46px minmax(156px,1.05fr); margin-top: 9px; border: 1px solid #23405f; border-radius: 9px; overflow: hidden; }
.og-teams { display: flex; flex-wrap: wrap; align-items: center; align-content: center; row-gap: 2px; padding: 9px 12px; font-size: 14px; font-weight: 600; color: #e8eef6; }
.og-vs { color: #94a3b8; font-weight: 400; font-size: 12px; margin: 0 6px; }
.og-line { display: grid; grid-template-rows: 1fr 1fr; background: #1b3555; border-left: 1px solid #23405f; border-right: 1px solid #23405f; }
.og-line span { display: flex; align-items: center; justify-content: center; font-size: 12px; color: #94a3b8; }
.og-line span:first-child { border-bottom: 1px solid #23405f; }
.og-line span.hh { color: #4ade80; }
.og-odds { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: 1fr 1fr; }
.og-odds span { display: flex; align-items: center; justify-content: center; font-size: 13px; color: #e8eef6; font-variant-numeric: tabular-nums; }
.og-odds span:nth-child(-n+3) { border-bottom: 1px solid #23405f; }
.og-odds span:not(:nth-child(3n)) { border-right: 1px solid #23405f; }
.og-odds .og-empty { color: #475569; }
.og-bk { grid-template-columns: minmax(0,1fr) auto; }
.og-bk .og-odds { grid-template-columns: repeat(2,1fr); }
.og-bk .og-odds span:nth-child(-n+2) { border-bottom: 1px solid #23405f; }
.og-bk .og-odds span:nth-child(2n) { border-right: none; }
/* 篮球三玩法网格：胜负 | 让分 | 大小分 */
.bk-odds3 { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid #23405f; }
.bk-mkt { display: flex; flex-direction: column; justify-content: center; padding: 5px 8px; border-right: 1px solid #23405f; min-width: 86px; }
.bk-mkt:last-child { border-right: none; }
.bk-name { font-size: 10px; color: #94a3b8; margin-bottom: 3px; white-space: nowrap; }
.bk-name .bk-line { color: #4ade80; font-weight: 700; margin-left: 2px; }
.theme-bk .bk-name .bk-line { color: #F97316; }
.bk-row { display: flex; gap: 8px; }
.bk-row span { flex: 1; text-align: center; font-size: 13px; color: #e8eef6; font-variant-numeric: tabular-nums; background: #16283e; border-radius: 4px; padding: 2px 4px; }
.theme-bk .bk-row span { background: #3d2716; }
/* 狙击型 AI：战绩勋章 + 标签 + 未出手折叠区（任务单：单队历史胜率标签） */
.sniper-tag { display: inline-block; font-size: 10px; color: #F59E0B; border: 1px solid #5a3618; border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: middle; white-space: nowrap; }
.agent-card .sniper-tag { display: block; margin: 6px auto 0; max-width: 96%; white-space: normal; line-height: 1.4; }
.team-badge { display: inline-block; font-size: 10px; font-weight: 600; color: #FBBF24; background: rgba(245, 158, 11, 0.15); border: 1px solid #F59E0B; border-radius: 999px; padding: 2px 8px; margin-left: 5px; vertical-align: middle; white-space: nowrap; cursor: help; }
.team-badge.hot { box-shadow: 0 0 6px rgba(245, 158, 11, 0.55); background: linear-gradient(135deg, rgba(245,158,11,0.28), rgba(251,191,36,0.12)); }
.pred.skip { color: #94a3b8; font-weight: 600; }
.skip-box { margin-top: 12px; }
.skip-box summary { cursor: pointer; font-weight: 600; color: #e8eef6; }
.skip-item { display: flex; flex-direction: column; gap: 2px; padding: 8px 4px; border-bottom: 1px dashed #23405f; font-size: 13px; }
.skip-item:last-child { border-bottom: none; }
.skip-item b { color: #e8eef6; }
.skip-item span { color: #94a3b8; font-size: 12px; }

/* ══════════════════════════════════════════════════════════════
   竞篮篮球板块：硬木霓虹橙主题 #F97316 / +EV 发光金 #F59E0B
   仅 .theme-bk 下覆盖主色，足球页不受影响
   ══════════════════════════════════════════════════════════════ */
.theme-bk { --bk: #F97316; --ev: #F59E0B; }
.theme-bk .topbar { background: #2a1c12; border-bottom-color: #5a3618; }
.theme-bk .navlink.on { color: #F97316; background: #3d2716; }
.theme-bk .picks-btn { background: #F97316; }
.theme-bk .brand { color: #fbbf24; }
.theme-bk h3 a { color: #F97316; }
.theme-bk td a { color: #F97316; }
.theme-bk .pred { color: #F97316; }
.theme-bk .og-line span.hh { color: #F97316; }

/* 联赛标签 */
.lg-tag { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 7px;
          border-radius: 6px; margin-right: 4px; vertical-align: middle; }
.lg-tag.nba { background: #7c2d12; color: #fed7aa; }
.lg-tag.nbl { background: #1e3a8a; color: #bfdbfe; }
.lg-tag.other { background: #334155; color: #cbd5e1; }
.ev-tag { color: var(--ev, #F59E0B); text-shadow: 0 0 8px rgba(245,158,11,.5); font-weight: 700; }
/* 篮球 Top-N 精选星级徽章：右上角醒目展示 5/4/3 星 */
.match-row { position: relative; }
.bk-star-badge {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  padding: 3px 9px; border-radius: 999px; font-size: 13px; font-weight: 800;
  letter-spacing: 1px; white-space: nowrap; border: 1px solid;
}
.bk-star-badge em { font-style: normal; font-size: 11px; margin-left: 6px; letter-spacing: 0; }
.bk-star-badge.s5 { color: #fbbf24; background: rgba(251,191,36,.14); border-color: #b45309; text-shadow: 0 0 8px rgba(251,191,36,.5); }
.bk-star-badge.s4 { color: #fb923c; background: rgba(251,146,60,.12); border-color: #9a3412; text-shadow: 0 0 6px rgba(251,146,60,.4); }
.bk-star-badge.s3 { color: #cbd5e1; background: rgba(148,163,184,.10); border-color: #475569; }
.match-row:has(.bk-star-badge) .m-league { padding-right: 130px; }

/* 焦点 PK 台 */
.pk-card { border: 1px solid #7c4a1e; background: linear-gradient(160deg,#2a1a0f,#16283f 60%); }
.pk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pk-flame { color: #F97316; font-weight: 800; font-size: 15px; }
.pk-next { margin-left: 10px; color: #fbbf24; font-size: 11px; font-weight: 600; text-decoration: none; }
.pk-next:hover { color: #fde68a; text-decoration: underline; }
.pk-coin { color: #fbbf24; font-size: 12px; }
.pk-coin b { font-size: 15px; }
.pk-match { text-align: center; font-size: 16px; margin-bottom: 12px; }
.pk-match .pk-tag { font-size: 10px; background: #7c2d12; color: #fed7aa;
                    padding: 2px 7px; border-radius: 6px; margin-right: 6px; }
.pk-vs { color: #F97316; margin: 0 8px; font-size: 13px; }
.pk-line { display: block; color: #94a3b8; font-size: 12px; margin-top: 4px; }
.pk-split { display: grid; grid-template-columns: 1fr 46px 1fr; gap: 6px; align-items: stretch; }
.pk-side { background: #0e1a2b; border: 1px solid #23405f; border-radius: 10px; padding: 8px; min-height: 76px; }
.pk-side.right { border-color: #7c4a1e; }
.pk-side-label { font-size: 11px; color: #94a3b8; margin-bottom: 6px; text-align: center; }
.pk-view { display: flex; justify-content: space-between; gap: 4px; font-size: 11px;
           padding: 3px 0; border-bottom: 1px dashed #23405f; }
.pk-view b { color: #F97316; white-space: nowrap; }
.pk-empty { font-size: 11px; color: #475569; text-align: center; padding: 12px 0; }
.pk-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pk-vs-big { color: #F97316; font-weight: 900; font-size: 18px; }
.pk-split-label { color: #64748b; font-size: 9px; margin-top: 4px; }
.pk-vote-bar { margin: 12px 0 8px; }
.pk-vote-track { height: 12px; border-radius: 999px; background: #1e3a8a; overflow: hidden; }
.pk-vote-fill { height: 100%; background: linear-gradient(90deg,#F97316,#F59E0B);
                transition: width .3s; }
.pk-vote-nums { display: flex; justify-content: space-between; font-size: 11px; color: #94a3b8; margin-top: 4px; }
.pk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pk-btn { border: 0; border-radius: 9px; padding: 10px 4px; font-size: 13px; font-weight: 700; cursor: pointer; }
.pk-btn.vote { background: #334155; color: #e8eef6; }
.pk-btn.vote:hover { background: #475569; }
.pk-btn.follow { grid-column: 1 / -1; background: #F97316; color: #1a0e05;
                 box-shadow: 0 0 14px rgba(249,115,22,.4); }
.pk-tip { text-align: center; margin-top: 8px; font-size: 11px; }

/* 详情页：阵营投票 + 量化对比 */
.vote-block { margin: 12px 0; }
.vote-title { font-size: 12px; color: #94a3b8; margin-bottom: 5px; }
.vote-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; }
.vote-fill.a { background: #F97316; }
.vote-fill.b { background: #3b82f6; }
.vote-nums { display: flex; justify-content: space-between; font-size: 11px; margin-top: 4px; }
.vote-nums .a { color: #F97316; }
.vote-nums .b { color: #60a5fa; }
.quant-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.quant-cell { background: #0e1a2b; border: 1px solid #23405f; border-radius: 8px;
              padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.quant-cell span { font-size: 10px; color: #64748b; }
.quant-cell b { font-size: 14px; color: #e8eef6; }
.quant-cell .ev { color: var(--ev, #F59E0B); text-shadow: 0 0 8px rgba(245,158,11,.5); }
.ev-line { margin-top: 10px; font-size: 12px; color: #fbbf24; }
.ev-line span { display: inline-block; background: #3d2716; border: 1px solid #7c4a1e;
                border-radius: 6px; padding: 2px 8px; margin: 2px; }

/* ── 标题行右侧入口（今日竞彩 → 赛果查询） ── */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 2px 4px; }
.sec-head .sec-title { margin: 0; }
.results-entry { color: #7dd3fc; text-decoration: none; font-size: 13px; font-weight: 600;
                 white-space: nowrap; border: 1px solid #23405f; border-radius: 8px; padding: 4px 10px; }
.results-entry:hover { background: #1b3555; }

/* ── 赛果查询（500.com 风格大表格，桌面自适应） ── */
.results-card { padding: 0; overflow: hidden; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
                padding: 12px 16px 0; border-bottom: 1px solid #23405f; flex-wrap: wrap; }
.res-tabs { margin-bottom: 0; }
.res-form { display: flex; align-items: center; gap: 10px; }
.res-form select { width: auto; min-width: 150px; margin: 0; padding: 8px 12px; font-size: 14px; }
.res-today { color: #7dd3fc; text-decoration: none; font-size: 13px; white-space: nowrap; }
.results-meta { padding: 12px 16px; font-size: 15px; color: #cbd5e1; }
.results-meta b { color: #7dd3fc; }
.table-wrap { width: 100%; overflow-x: auto; }
.res-table { min-width: 980px; font-size: 14px; }
.res-table th { background: #12233a; position: sticky; top: 0; white-space: nowrap;
                padding: 11px 8px; color: #94a3b8; font-weight: 500; }
.res-table td { padding: 12px 8px; border-bottom: 1px solid #1f3a5c; white-space: nowrap; }
.res-table tbody tr:hover { background: #1b3555; }
.res-num { color: #94a3b8; font-size: 13px; }
.res-league { background: #2a4a6b; color: #cbd5e1; border-radius: 4px; padding: 2px 8px; font-size: 12px; }
.res-time { color: #94a3b8; font-size: 13px; }
.res-home, .res-away { font-weight: 600; }
.res-home.win, .res-away.win { color: #fff; }
.res-score { font-weight: 800; color: #f59e0b; font-size: 16px; }
.res-line { color: #f59e0b; }
.res-table td.hit { color: #f87171; font-weight: 700; background: rgba(248,113,113,.10); } /* 命中红 */
.res-link { color: #7dd3fc; text-decoration: none; }
.res-link:hover { text-decoration: underline; }
.res-empty { text-align: center; color: #64748b; padding: 30px !important; }
@media (max-width: 760px) {
  .results-head { padding: 10px 12px 0; }
  .res-form { width: 100%; }
  .res-form select { flex: 1; }
  .results-meta { padding: 10px 12px; font-size: 13px; }
}

/* ── 遗遗漏走势图（比分/总进球/半全场） ── */
.oh { color: #f59e0b; font-size: 11px; font-weight: 500; }
.omit { display: inline-block; min-width: 20px; margin-left: 3px; padding: 0 4px;
        background: #3d2716; color: #fbbf24; border-radius: 4px; font-size: 11px;
        font-weight: 700; text-align: center; }
.res-jqs, .res-bqc { color: #cbd5e1; font-size: 13px; }
.omit-table { min-width: 0; width: 100%; font-size: 12px; }
.omit-table th, .omit-table td { padding: 5px 4px; border: 1px solid #1f3a5c; }
.omit-table thead th { background: #12233a; color: #94a3b8; font-size: 11px;
                       position: sticky; top: 0; z-index: 2; min-width: 34px; }
.omit-table .omit-label { position: sticky; left: 0; background: #12233a; color: #94a3b8;
                          min-width: 70px; font-size: 11px; z-index: 1; white-space: nowrap; }
.omit-table tbody tr:hover td { background: #1b3555; }
.omit-table td.cur-hit { background: #3a161a !important; color: #f87171; font-weight: 800;
                         box-shadow: inset 0 0 0 1px #7f2f38; } /* 命中红 */
.hitmark { color: #f87171; }
@media (max-width: 760px) {
  .omit-table { font-size: 10px; }
  .omit-table th, .omit-table td { padding: 3px 2px; }
  .omit-table .omit-label { min-width: 56px; font-size: 10px; }
}

/* 遗漏走势图：期号后的对阵赛果列（固定左侧） */
.omit-table .omit-match { position: sticky; left: 70px; background: #16283f; color: #cbd5e1;
                          min-width: 180px; max-width: 220px; white-space: nowrap; z-index: 1;
                          overflow: hidden; text-overflow: ellipsis; text-align: left; padding: 5px 8px; }
.omit-table thead th.omit-match { background: #12233a; color: #94a3b8; left: 70px; z-index: 3; }
.omit-table .omit-score { color: #f59e0b; font-weight: 800; }
.omit-table tbody tr:hover td.omit-match { background: #1b3555; }

/* ── V2.0 量化透明化：硬指标条 / 精选率 / 校准休眠 / 风控日志 ── */
.quant-bar { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 8px; padding: 7px 10px;
             background: #0e1a2b; border: 1px solid #23405f; border-left: 3px solid #38bdf8;
             border-radius: 7px; font-size: 12px; color: #94a3b8; }
.quant-bar b { color: #e8eef6; font-weight: 700; }
.quant-bar .pos { color: #ef4444; }   /* 中国习惯：正收益红 */
.quant-bar .neg { color: #22c55e; }
.cal-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 8px;
           background: #3a3a3a; color: #bbb; font-size: 11px; }
.top-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 8px;
           background: #7f1d1d; color: #fca5a5; font-size: 11px; }
tr.calibrating { opacity: .5; background: #151515; }
.risk-log { margin-top: 10px; border: 1px solid #23405f; border-radius: 9px; background: #0e1a2b; }
.risk-log summary { padding: 10px 14px; cursor: pointer; color: #7dd3fc; font-weight: 600; }
.risk-log-body { padding: 4px 14px 12px; }
.risk-item { padding: 5px 0; border-bottom: 1px dashed #23405f; font-size: 13px; color: #cbd5e1; }
.risk-item b { color: #e8eef6; }

/* 榜单周期筛选（1126 任务单） */
.period-switch { display: inline-flex; margin-left: 12px; gap: 4px; vertical-align: middle; }
.period-switch a { padding: 3px 12px; border-radius: 14px; border: 1px solid #334; color: #9ab; font-size: 12px; text-decoration: none; }
.period-switch a.on { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }

/* 连红与逐场红黑标记（连中=连红） */
.streak-hot { color: #f87171; font-weight: 800; }
.score-mark { margin-left: auto; flex: 0 0 auto; color: #fbbf24; font-weight: 800;
  font-size: 14px; white-space: nowrap; }
.score-mark em { margin-left: 4px; font-style: normal; font-size: 10px; font-weight: 600;
  color: #94a3b8; }
.hit-mark { margin-left: 8px; flex: 0 0 auto; font-size: 12px; font-weight: 800;
  padding: 2px 8px; border-radius: 10px; line-height: 1.4; }
.hit-mark.red { color: #fff; background: #dc2626; }
.hit-mark.black { color: #fff; background: #16a34a; } /* 未中/亏损绿 */
.hit-mark.pending { color: #64748b; background: transparent; }

/* ===== 我的收藏（大厅席位收藏按钮 + 只看收藏开关） ===== */
.fav-btn { background: none; border: none; cursor: pointer; font-size: 16px;
  line-height: 1; padding: 2px 6px 2px 0; color: #64748b; vertical-align: middle;
  transition: color .15s, transform .15s; }
.fav-btn:hover { transform: scale(1.25); color: #fbbf24; }
.fav-btn.on { color: #fbbf24; text-shadow: 0 0 6px rgba(251,191,36,.5); }
.fav-switch { padding: 3px 12px; border-radius: 14px; border: 1px solid #334;
  background: none; color: #9ab; font-size: 12px; cursor: pointer; vertical-align: middle;
  transition: all .15s; }
.fav-switch:hover { border-color: #fbbf24; color: #fbbf24; }
.fav-switch.on { background: #b45309; border-color: #fbbf24; color: #fff; }
