:root {
  --bg: #f3f7fd;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --line: #dce8f8;
  --line-soft: #eaf2fc;
  --text: #0e2745;
  --muted: #6b8199;
  --primary: #1a6cf0;
  --primary-600: #1558c8;
  --primary-soft: #e9f1ff;
  --sky: #00a6e0;
  --sky-soft: #e2f6fd;
  --success: #12a150;
  --success-soft: #e7f7ee;
  --danger: #e5484d;
  --danger-soft: #fdeceb;
  --warn: #e8890c;
  --warn-soft: #fff5e5;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(16, 42, 80, 0.05), 0 10px 26px rgba(16, 42, 80, 0.07);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #f7fafe 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

body { min-height: 100vh; padding-bottom: 40px; }

/* ---------------- 顶栏 ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(160deg, #ffffff, #f2f7ff);
  border: 1px solid #e2ecfb;
  box-shadow: 0 4px 12px rgba(16, 42, 80, 0.1), 0 1px 2px rgba(16, 42, 80, 0.06);
}
.brand-mark-svg { display: block; width: 38px; height: 38px; }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 10px; padding: 3px; }
.brand-mark.has-image .brand-mark-svg { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-size: 18px; letter-spacing: 0.01em; line-height: 1.25; }
.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; }

.sync-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid #cfe0ff;
  color: var(--primary-600);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.sync-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.sync-chip.is-busy i { background: var(--warn); animation: blink 1s infinite ease-in-out; }
.sync-chip.is-error { background: var(--danger-soft); border-color: #f8d2d1; color: var(--danger); }
.sync-chip.is-error i { background: var(--danger); }
.sync-chip.is-lan {
  background: var(--warn-soft);
  border-color: #f3dfb8;
  color: #a2610a;
  text-decoration: none;
  font-size: 11.5px;
}
.sync-chip.is-lan:hover { border-color: var(--warn); }
.is-hidden { display: none !important; }

@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: 0.3 } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(26, 108, 240, 0.25); }
.btn-primary:hover:not(:disabled) { background: var(--primary-600); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn-outline:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.btn-soft { background: var(--primary-soft); color: var(--primary-600); border-color: #cfe0ff; }
.btn-soft:hover:not(:disabled) { background: #dbe8ff; }
.btn-sm { padding: 6px 11px; font-size: 12px; }
.ico { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- 布局 ---------------- */

.shell { padding: 16px 24px 0; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 12px; }
.kpi {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px 12px 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.kpi::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #4d94ff, var(--primary));
}
.kpi span { display: block; font-size: 11px; color: var(--muted); }
.kpi b { display: block; margin-top: 3px; font-size: 17px; font-weight: 680; font-variant-numeric: tabular-nums; }
.kpi small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.kpi.is-warn::before { background: linear-gradient(180deg, #ffc65c, #e8890c); }
.kpi.is-warn b { color: #a2610a; }
.kpi.is-warn small { color: #a2610a; }

.notice {
  margin-top: 14px;
  padding: 11px 15px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  border: 1px solid #cfe0ff;
  color: #17406f;
  font-size: 12.5px;
  line-height: 1.7;
}
.notice b { color: var(--primary-600); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px 16px;
  min-width: 0;
}
.card-head { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2 { margin: 0; font-size: 13.5px; font-weight: 650; }
.card-head .hint { margin-left: auto; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

canvas { display: block; width: 100%; }

.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 9px; font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

/* ---------------- 自助选号 ---------------- */

.picker-area { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }

.pick-section { margin-bottom: 14px; }
.pick-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.pick-title b { color: var(--text); font-size: 13px; }
.pick-title .counter {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.pick-title .counter.ok { background: var(--success-soft); border-color: #c7ecd7; color: var(--success); }

.ball-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 6px; }
.ball-grid.back { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); max-width: 420px; }

.ball {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  padding: 0;
}
.ball:hover:not(:disabled) { border-color: var(--primary); background: var(--primary-soft); transform: translateY(-1px); }
.ball:disabled { cursor: default; }
.ball.is-picked {
  background: linear-gradient(150deg, #4d94ff, var(--primary));
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 3px 10px rgba(26, 108, 240, 0.32);
}
.ball-grid.back .ball.is-picked {
  background: linear-gradient(150deg, #37c4ef, var(--sky));
  border-color: var(--sky);
  box-shadow: 0 3px 10px rgba(0, 166, 224, 0.32);
}
.ball.is-hot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: rgba(26, 108, 240, 0.13);
}
.ball-grid.back .ball.is-hot::after { background: rgba(0, 166, 224, 0.15); }
.ball span { position: relative; z-index: 1; }
.ball .rank {
  position: absolute;
  bottom: -3px;
  right: -3px;
  z-index: 2;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 9.5px;
  line-height: 16px;
  text-align: center;
}

.pick-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.picker-left { min-width: 0; }

/* 复式投注设置 */
.bet-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track {
  position: relative;
  width: 40px;
  height: 22px;
  flex: none;
  border-radius: 999px;
  background: #cfdcef;
  transition: background 0.18s ease;
}
.switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 42, 80, 0.25);
  transition: transform 0.18s ease;
}
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track .knob { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid #9dc2ff; outline-offset: 2px; }
.switch-text { display: flex; flex-direction: column; line-height: 1.3; font-size: 12.5px; color: var(--text); }
.switch-text em { font-style: normal; font-size: 10.5px; color: var(--muted); }

.mult { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; }
.mult-label { font-size: 12.5px; color: var(--muted); }
.mult input {
  width: 54px;
  padding: 5px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.mult input::-webkit-outer-spin-button, .mult input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.step-btn:hover { border-color: var(--primary); color: var(--primary); }

/* 金额条 */
.bet-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.btn-analyze { flex: 1 1 190px; padding: 11px 18px; font-size: 14px; }
.bet-summary {
  flex: 1 1 240px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef5ff, #e3efff);
  border: 1px solid #cfe0ff;
}
.bs-main { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.bs-label { font-size: 11.5px; color: var(--muted); }
.bs-value {
  font-size: 22px;
  font-weight: 720;
  color: var(--primary-600);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.bs-detail { margin-top: 3px; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.bet-summary.is-warn { background: linear-gradient(135deg, #fff7e8, #ffefd2); border-color: #f3dfb8; }
.bet-summary.is-warn .bs-value { color: #a2610a; }
.bet-summary.is-danger { background: linear-gradient(135deg, #fdeeed, #fbe0de); border-color: #f8d2d1; }
.bet-summary.is-danger .bs-value { color: #b4322f; }

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table.data { min-width: 100%; }

/* 10 元方案 */
.ten-yuan {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef5ff, #e4f0ff);
  border: 1px solid #cfe0ff;
}
.ten-yuan .ty-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ten-yuan .ty-head b { font-size: 13px; color: var(--primary-600); }
.ten-yuan .ty-head span { font-size: 11.5px; color: var(--muted); }
.ten-yuan .ty-ticket {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(26, 108, 240, 0.2);
  flex-wrap: wrap;
}
.ten-yuan .ty-ticket:last-of-type { border-bottom: 0; }
.ten-yuan .ty-idx { font-size: 11.5px; color: var(--muted); min-width: 38px; }
.ten-yuan .ty-stats { margin-top: 9px; display: flex; gap: 8px; flex-wrap: wrap; }
.balls-mini { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.balls-mini .b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  font-size: 11.5px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  background: var(--primary);
  color: #fff;
}
.balls-mini .b.back { background: var(--sky); }

.page-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
  padding: 14px 2px 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
  text-align: center;
}

/* 分析结果 */
.verdict {
  padding: 13px 15px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef5ff, #e4f0ff);
  border: 1px solid #cfe0ff;
  margin-bottom: 12px;
}
.verdict .v-label { font-size: 11.5px; color: var(--muted); }
.verdict .v-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.verdict .v-num {
  font-size: 27px;
  font-weight: 720;
  color: var(--primary-600);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.verdict .v-sub { font-size: 12px; color: var(--muted); }

.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.chip b { color: var(--text); }
.chip.ok { background: var(--success-soft); border-color: #c7ecd7; color: #0d7a3d; }
.chip.warn { background: var(--warn-soft); border-color: #f3dfb8; color: #a2610a; }
.chip.bad { background: var(--danger-soft); border-color: #f8d2d1; color: #b4322f; }

table.data { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.data th, table.data td {
  padding: 7px 9px;
  text-align: right;
  border-bottom: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums;
}
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data th { color: var(--muted); font-weight: 500; font-size: 11.5px; background: var(--surface-2); }
table.data tbody tr:hover td { background: #f7fbff; }
table.data td.hl { color: var(--primary-600); font-weight: 620; }

.kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font-variant-numeric: tabular-nums; }
.kv b.good { color: var(--success); }
.kv b.bad { color: var(--danger); }
.kv b.warn { color: var(--warn); }

.prob-rows { display: flex; flex-direction: column; gap: 4px; max-height: 480px; overflow-y: auto; padding-right: 4px; }

/* 模型概率：小方块网格（按概率深浅着色） */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, 50px); gap: 6px; justify-content: flex-start; }
.p-grid.back { grid-template-columns: repeat(auto-fill, 50px); }
.p-cell {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(26, 108, 240, 0.22);
  background: rgba(26, 108, 240, var(--a, 0.3));
  padding: 0;
  text-align: center;
  cursor: default;
}
.p-cell b { display: block; font-size: 15px; line-height: 1.05; font-weight: 700; color: #0e2745; font-variant-numeric: tabular-nums; }
.p-cell span { display: block; margin-top: 1px; font-size: 9.5px; line-height: 1.05; color: rgba(14, 39, 69, 0.8); font-variant-numeric: tabular-nums; }
.p-cell.is-top { border-color: #ef5f45; box-shadow: inset 0 0 0 1px rgba(229, 72, 77, 0.45); }
.p-cell.is-top b { color: #b4322f; }
.p-grid.back .p-cell { background: rgba(0, 166, 224, var(--a, 0.3)); border-color: rgba(0, 166, 224, 0.3); }
.p-grid.back .p-cell.is-top { border-color: #ef5f45; }

@media (max-width: 760px) {
  .p-grid, .p-grid.back { grid-template-columns: repeat(auto-fill, 46px); gap: 5px; }
  .p-cell { width: 46px; height: 46px; }
  .p-cell b { font-size: 14px; }
  .p-cell span { font-size: 9px; }
}
.prob-row { display: grid; grid-template-columns: 28px 1fr 52px; align-items: center; gap: 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
.prob-row .ball-mini {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1px solid #cfe0ff;
  color: var(--primary-600);
  font-weight: 620;
  font-size: 11.5px;
}
.prob-row .ball-mini.back { background: var(--sky-soft); border-color: #bfe9f7; color: #067d9f; }
.prob-track { height: 11px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-soft); overflow: hidden; }
.prob-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #7fb4ff, var(--primary)); }
.prob-fill.back { background: linear-gradient(90deg, #7fdcf5, var(--sky)); }
.prob-row .val { text-align: right; color: var(--muted); }

.ticket {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 8px;
}
.ticket .idx { font-size: 11.5px; color: var(--muted); min-width: 40px; }
.ticket .meta { margin-left: auto; text-align: right; font-size: 11px; color: var(--muted); line-height: 1.55; font-variant-numeric: tabular-nums; }

.balls-inline { display: flex; gap: 5px; flex-wrap: wrap; }
.balls-inline .b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.balls-inline .b.front { background: var(--primary); color: #fff; }
.balls-inline .b.back { background: var(--sky); color: #fff; }

.empty-state { padding: 22px 10px; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (max-width: 1180px) {
  .picker-area { grid-template-columns: minmax(0, 1fr); }
  .span-3, .span-4, .span-5 { grid-column: span 6; }
  .span-7, .span-8 { grid-column: span 12; }
}

@media (max-width: 760px) {
  .shell { padding: 12px 12px 0; }
  .topbar { padding: 10px 12px; gap: 10px; }
  .brand-text strong { font-size: 18px; }
  .brand-mark { width: 44px; height: 44px; border-radius: 10px; }
  .brand-mark-svg { width: 33px; height: 33px; }
  /* 移动端：英文副标题收窄，避免比中文标题还宽（视觉上更协调） */
  .brand-text em { font-size: 10px; letter-spacing: 0.02em; }
  .top-actions { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 8px; }
  .top-actions .sync-chip { flex: 1 1 160px; justify-content: center; min-width: 0; }
  .top-actions #syncBtn { flex: 0 0 auto; }
  .top-actions .sync-chip.is-lan { flex: 1 1 100%; font-size: 11px; padding: 6px 10px; }
  .grid { gap: 12px; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
  .kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .ball-grid { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 5px; }
  .ball-grid.back { max-width: none; }
  .ball { font-size: 13px; }
  .ticket .meta { margin-left: 0; text-align: left; }

  /* 移动端：金额 + 分析按钮固定在底部（页面预留同等空间，不遮内容） */
  body { padding-bottom: 108px; }
  .bet-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(16, 42, 80, 0.1);
    backdrop-filter: blur(8px);
  }
  .bet-summary { flex: 1 1 auto; padding: 8px 12px; }
  .bs-value { font-size: 20px; }
  .bs-detail { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .btn-analyze { flex: 0 0 auto; }
  .pick-actions { width: 100%; margin-top: 12px; }
  .pick-actions .btn { flex: 1 1 auto; justify-content: center; }
  .mult { margin-left: 0; }
  .bet-bar { gap: 10px; }

  .card { padding: 12px 12px 14px; }
  .table-wrap table.data { min-width: 0; font-size: 12px; }
  .table-wrap table.data th, .table-wrap table.data td { padding: 5px 4px; }
  .prob-rows { max-height: 320px; }
  .verdict .v-num { font-size: 24px; }

  /* 手机端字号统一抬一档：辅助文字不低于 11.5px，正文 12–13px */
  .brand-text em { font-size: 11.5px; }
  .top-actions .sync-chip.is-lan { font-size: 11.5px; }
  .kpi span, .kpi small { font-size: 11.5px; }
  .card-head h2 { font-size: 14px; }
  .card-head .hint { font-size: 12px; }
  .pick-title { font-size: 13px; }
  .switch-text { font-size: 13px; }
  .switch-text em { font-size: 11.5px; }
  .mult-label, .mult input { font-size: 13px; }
  .bs-label { font-size: 12px; }
  .bs-detail { font-size: 11.5px; }
  .v-label { font-size: 12px; }
  .v-sub { font-size: 12.5px; }
  .chip { font-size: 12px; }
  .legend { font-size: 12px; }
  .prob-row { font-size: 12.5px; }
  .prob-row .ball-mini { font-size: 12px; }
  .ticket .idx { font-size: 12px; }
  .ticket .meta { font-size: 11.5px; }
  .page-foot { font-size: 12px; }
}
