
/* ==== assets/theme.css ==== */
/* ===== 竞彩数据看板 · 深色数据风主题 ===== */
:root {
  --bg: #080b10;
  --bg-grad: radial-gradient(1200px 600px at 15% -10%, #12202e 0%, rgba(8, 11, 16, 0) 60%),
             radial-gradient(900px 500px at 95% 0%, #1a1226 0%, rgba(8, 11, 16, 0) 55%);
  --panel: #0f151d;
  --panel-2: #131b25;
  --panel-3: #18222e;
  --line: #1d2836;
  --line-soft: #161f2a;
  --text: #e8eef7;
  --text-2: #a7b6c9;
  --dim: #6b7d92;
  --red: #ff4d5e;
  --red-soft: rgba(255, 77, 94, 0.14);
  --green: #16c98d;
  --green-soft: rgba(22, 201, 141, 0.14);
  --accent: #4c8dff;
  --accent-2: #21d4fd;
  --gold: #ffb020;
  --radius: 14px;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  background-image: var(--bg-grad);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.2px; }

.hidden { display: none !important; }
.up { color: var(--red); }
.down { color: var(--green); }
.flat { color: var(--dim); }

/* ---------- 登录门 ---------- */
.auth-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, #131b25 0%, #0d131a 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px 26px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.auth-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 700; letter-spacing: 0.5px;
}
.auth-logo .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--red), #ff8a5c);
  display: grid; place-items: center; font-size: 15px; color: #fff;
  box-shadow: 0 6px 18px -6px var(--red);
}
.auth-sub { color: var(--dim); font-size: 12.5px; margin: 10px 0 22px; }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.field input {
  width: 100%; height: 44px; padding: 0 14px;
  background: #0a0f15; border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); font-size: 14px;
  font-family: var(--mono); transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.15);
}
.field input::placeholder { color: #45546733; color: #455467; font-family: -apple-system, sans-serif; }

.row-2 { display: flex; gap: 10px; }
.row-2 .field { flex: 1; }

.btn {
  height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--panel-3); color: var(--text); font-family: inherit;
}
.btn:hover { background: #1f2b3a; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, #ff4d5e, #ff7a45);
  color: #fff; box-shadow: 0 10px 24px -12px var(--red);
}
.btn-primary:hover { filter: brightness(1.08); background: linear-gradient(135deg, #ff4d5e, #ff7a45); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text-2); }
.btn-ghost:hover { background: var(--panel-2); color: var(--text); }
.btn-wechat { background: #1aad19; color: #fff; }
.btn-wechat:hover { background: #17a017; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-code {
  height: 44px; min-width: 112px; padding: 0 12px;
  background: #0a0f15; border: 1px solid var(--line); border-radius: 10px;
  color: var(--accent); font-size: 13px; cursor: pointer; font-family: inherit;
  transition: all .15s; white-space: nowrap;
}
.btn-code:hover:not(:disabled) { border-color: var(--accent); background: #0d1520; }
.btn-code:disabled { color: var(--dim); cursor: not-allowed; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--dim); font-size: 11.5px; margin: 18px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.auth-msg {
  font-size: 12.5px; margin-top: 12px; padding: 9px 12px; border-radius: 8px;
  display: none; line-height: 1.45;
}
.auth-msg.show { display: block; }
.auth-msg.err { background: var(--red-soft); color: #ff8b96; border: 1px solid rgba(255, 77, 94, .25); }
.auth-msg.ok { background: var(--green-soft); color: #4fdcae; border: 1px solid rgba(22, 201, 141, .25); }
.auth-foot { margin-top: 16px; font-size: 11px; color: #46586c; line-height: 1.6; }

/* ---------- 主框架 ---------- */
.app { max-width: 1340px; margin: 0 auto; padding: 22px 22px 60px; }

.topbar {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--red), #ff8a5c);
  display: grid; place-items: center; font-size: 16px; color: #fff;
  box-shadow: 0 8px 22px -8px var(--red);
}
.brand h1 { font-size: 17px; margin: 0; font-weight: 700; letter-spacing: .3px; }
.brand .sub { font-size: 11px; color: var(--dim); letter-spacing: .4px; }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.user-chip {
  display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; color: var(--text-2);
}
.avatar {
  width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #2b3d55, #1b2739);
  display: grid; place-items: center; font-size: 11px; color: var(--text-2); font-weight: 600;
  border: 1px solid var(--line);
}

/* ---------- KPI ---------- */
.kpi-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px;
}
.kpi {
  background: linear-gradient(170deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px 14px; position: relative; overflow: hidden;
}
.kpi::after {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
}
.kpi .label { font-size: 11.5px; color: var(--dim); letter-spacing: .3px; margin-bottom: 7px; }
.kpi .value { font-size: 22px; font-weight: 700; font-family: var(--mono); letter-spacing: -0.8px; }
.kpi .value small { font-size: 12px; font-weight: 500; opacity: .55; margin-right: 1px; }
.kpi .foot { font-size: 11px; color: var(--dim); margin-top: 5px; }
.kpi.hero { background: linear-gradient(160deg, #1a2433 0%, #0f151d 70%); border-color: #24344a; }

/* ---------- 面板 ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line-soft);
}
.panel-title { font-size: 13.5px; font-weight: 600; letter-spacing: .2px; }
.panel-title span { color: var(--dim); font-weight: 400; font-size: 11.5px; margin-left: 7px; }
.panel-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.grid-2 { display: grid; grid-template-columns: 1.75fr 1fr; gap: 14px; margin-bottom: 14px; }

/* ---------- 玩法 tabs ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  padding: 7px 14px; border-radius: 9px; font-size: 12.5px; cursor: pointer;
  color: var(--text-2); background: transparent; border: 1px solid transparent;
  transition: all .15s; font-family: inherit;
}
.tab:hover { color: var(--text); background: var(--panel-2); }
.tab.active {
  color: #fff; background: var(--panel-3); border-color: #2b3d52;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.tab .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

/* ---------- 图表 ---------- */
.chart-wrap { padding: 6px 8px 0; position: relative; }
#trendSvg { display: block; width: 100%; height: 236px; }
.chart-tip {
  position: absolute; pointer-events: none; opacity: 0; transition: opacity .1s;
  background: #0a0f15ee; border: 1px solid #2a3a4d; border-radius: 8px;
  padding: 7px 10px; font-size: 11.5px; white-space: nowrap; z-index: 5;
  box-shadow: 0 8px 24px -8px #000;
}
.chart-tip .t-date { color: var(--dim); margin-bottom: 3px; }
.chart-tip b { font-family: var(--mono); }

.legend { display: flex; gap: 14px; padding: 10px 16px 14px; font-size: 11.5px; color: var(--dim); }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: 3px; }

/* ---------- 分布条 ---------- */
.dist { padding: 16px; }
.dist-row { margin-bottom: 15px; }
.dist-row:last-child { margin-bottom: 0; }
.dist-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
.dist-top .name { color: var(--text-2); }
.dist-top .val { font-family: var(--mono); color: var(--text); }
.bar { height: 6px; border-radius: 4px; background: #1a242f; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 4px; transition: width .5s cubic-bezier(.2,.8,.2,1); }

/* ---------- 表格 ---------- */
.toolbar { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.search {
  height: 34px; padding: 0 12px; min-width: 200px;
  background: #0a0f15; border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); font-size: 12.5px; font-family: inherit;
}
.search:focus { outline: none; border-color: var(--accent); }
select.filter {
  height: 34px; padding: 0 10px; background: #0a0f15; border: 1px solid var(--line);
  border-radius: 9px; color: var(--text-2); font-size: 12.5px; font-family: inherit; cursor: pointer;
}
select.filter:focus { outline: none; border-color: var(--accent); }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  text-align: left; padding: 10px 14px; font-size: 11.5px; font-weight: 500;
  color: var(--dim); letter-spacing: .4px; background: #0c1219;
  border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; z-index: 2;
}
tbody td { padding: 10px 14px; border-bottom: 1px solid #131c26; vertical-align: middle; }
tbody tr:hover { background: #131c26; }
tbody tr:last-child td { border-bottom: none; }
td.r, th.r { text-align: right; }
td.c, th.c { text-align: center; }
td.date { font-family: var(--mono); color: var(--text-2); font-size: 12.5px; white-space: nowrap; }
td.match { color: var(--text); max-width: 320px; }
td.match .m-sub { color: var(--dim); font-size: 11.5px; }
.money { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

.pill {
  display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 11px;
  font-weight: 500; letter-spacing: .2px; white-space: nowrap;
}
.pill-wan { background: rgba(76,141,255,.13); color: #7fb0ff; border: 1px solid rgba(76,141,255,.22); }
.pill-gy { background: rgba(148,163,184,.1); color: #9fb0c4; border: 1px solid rgba(148,163,184,.18); }
.play-tag {
  display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px;
  background: #1a2432; color: var(--text-2); border: 1px solid #24313f; white-space: nowrap;
}
.row-actions { display: flex; gap: 6px; justify-content: flex-end; opacity: .25; transition: opacity .15s; }
tbody tr:hover .row-actions { opacity: 1; }
.icon-btn {
  width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line);
  background: transparent; color: var(--dim); cursor: pointer; font-size: 12px;
  display: grid; place-items: center; transition: all .15s;
}
.icon-btn:hover { color: var(--text); background: var(--panel-3); border-color: #2b3d52; }
.icon-btn.del:hover { color: var(--red); border-color: rgba(255,77,94,.4); background: var(--red-soft); }

.empty { padding: 54px 20px; text-align: center; color: var(--dim); font-size: 13px; }
.empty .big { font-size: 30px; opacity: .25; margin-bottom: 12px; }

/* ---------- 模态 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(4, 7, 11, .78); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px; z-index: 100;
  animation: fade .16s ease;
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal {
  width: 100%; max-width: 480px; background: linear-gradient(180deg, #131b25, #0d131a);
  border: 1px solid #24313f; border-radius: 18px; padding: 22px;
  box-shadow: 0 40px 100px -40px #000;
  max-height: 90vh; overflow-y: auto;
  animation: pop .18s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0 } }
.modal h3 { margin: 0 0 16px; font-size: 15.5px; font-weight: 600; }
.modal .field input, .modal .field select {
  width: 100%; height: 40px; padding: 0 12px; background: #0a0f15;
  border: 1px solid var(--line); border-radius: 9px; color: var(--text);
  font-size: 13.5px; font-family: inherit;
}
.modal .field input.num-in { font-family: var(--mono); }
.modal .field input:focus, .modal .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(76,141,255,.12);
}
.modal .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1; }
.hint { font-size: 11.5px; color: var(--dim); margin-top: 4px; }

.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  padding: 10px 18px; border-radius: 10px; font-size: 13px;
  background: #172230; border: 1px solid #2a3a4d; color: var(--text);
  box-shadow: 0 18px 40px -16px #000; animation: toastIn .2s ease;
}
.toast.err { border-color: rgba(255,77,94,.35); color: #ff919b; }
.toast.ok { border-color: rgba(22,201,141,.35); color: #4fdcae; }
@keyframes toastIn { from { transform: translateY(8px); opacity: 0 } }

.loading-screen {
  min-height: 100vh; display: grid; place-items: center; color: var(--dim); font-size: 13px;
}
.spinner {
  width: 18px; height: 18px; border: 2px solid #24313f; border-top-color: var(--accent);
  border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
  vertical-align: -4px; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* 导入提示条 */
.banner {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; margin-bottom: 16px;
  background: linear-gradient(90deg, rgba(76,141,255,.11), rgba(76,141,255,.02));
  border: 1px solid rgba(76,141,255,.25); border-radius: var(--radius);
  font-size: 13px;
}
.banner .txt { flex: 1; }
.banner .txt b { color: #9cc2ff; }
.banner .sub { font-size: 11.5px; color: var(--dim); margin-top: 2px; }

@media (max-width: 1080px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app { padding: 14px 12px 50px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .kpi { padding: 12px 13px; }
  .kpi .value { font-size: 18px; }
  .brand h1 { font-size: 15px; }
  .brand .sub { display: none; }
  .topbar { gap: 8px; }
  .user-chip .uname { display: none; }
  .panel-head { flex-wrap: wrap; }
  .search { min-width: 130px; }
}

/* ==== assets/landing.css ==== */
/* ==========================================================
   万一足球 · 赛事分析助手  落地页样式
   （与竞彩数据看板共用同一页面，仅作用于 #authGate）
   ========================================================== */

.fx-gate {
  --fx-red: #ff3b30;
  --fx-orange-1: #ffb02e;
  --fx-orange-2: #ff5b1f;
  position: fixed;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #08040a;
  color: #fff;
  z-index: 40;
}

/* ---------- 顶部氛围区 ---------- */
.fx-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 30px;
  background:
    radial-gradient(80% 42% at 50% -2%, #8d1220 0%, rgba(120, 16, 26, 0) 72%),
    radial-gradient(46% 30% at 6% 26%, rgba(255, 64, 76, 0.34), transparent 68%),
    radial-gradient(42% 28% at 96% 18%, rgba(255, 150, 60, 0.26), transparent 64%),
    radial-gradient(70% 46% at 50% 104%, #350a14 0%, rgba(13, 4, 9, 0) 76%),
    linear-gradient(180deg, #150409 0%, #0b0408 62%, #0a0407 100%);
}
/* 光斑 / 星火 */
.fx-hero::before {
  content: '';
  position: absolute;
  inset: -10% -10% 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 200, 130, 0.85) 1.6px, transparent 2.2px),
    radial-gradient(circle, rgba(255, 110, 96, 0.75) 2.2px, transparent 3px),
    radial-gradient(circle, rgba(255, 245, 205, 0.6) 1.1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 80, 80, 0.5) 3px, transparent 4px);
  background-size: 84px 84px, 132px 132px, 52px 52px, 210px 210px;
  background-position: 0 0, 38px 52px, 18px 26px, 90px 120px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(78% 62% at 50% 26%, #000 0%, transparent 78%);
  mask-image: radial-gradient(78% 62% at 50% 26%, #000 0%, transparent 78%);
}
/* 暗角 */
.fx-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 78% at 50% 34%, transparent 42%, rgba(5, 2, 4, 0.72) 100%);
}

.fx-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 470px;
  margin: 0 auto;
  padding: 0 12px;
  text-align: center;
}

/* 顶部小标题 */
.fx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #ffd9d2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.fx-kicker .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd05a, #ff6a3d);
  box-shadow: 0 0 10px rgba(255, 140, 70, 0.9);
  display: inline-block;
  position: relative;
}
.fx-kicker .dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #4b0d10;
}

/* 品牌名 */
.fx-brand {
  margin: 14px 0 4px;
  font-size: clamp(42px, 14.2vw, 62px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-shadow:
    0 1px 0 #ffe2d6,
    0 3px 0 #d9534f,
    0 6px 0 #ab2b30,
    0 9px 0 #821c23,
    0 12px 0 #5e1017,
    0 16px 30px rgba(255, 60, 70, 0.55),
    0 0 70px rgba(255, 90, 90, 0.55);
}
.fx-brand small {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #ffc9bd;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* 三条斜切飘带 */
.fx-ribbons {
  display: flex;
  gap: 5px;
  margin: 18px -2px 0;
  font-size: clamp(10.5px, 3.3vw, 13px);
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.fx-ribbons span {
  flex: 1;
  padding: 7px 2px;
  transform: skewX(-9deg);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.fx-ribbons span > b {
  display: inline-block;
  transform: skewX(9deg);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.fx-ribbons .r1 { background: linear-gradient(180deg, #2f8bff, #1652d8); color: #fff; }
.fx-ribbons .r2 { background: linear-gradient(180deg, #ff4257, #d70d33); color: #fff; }
.fx-ribbons .r3 { background: linear-gradient(180deg, #2f8bff, #1450d2); color: #fff; }

/* ---------- 玻璃卡：解锁内容 ---------- */
.fx-glass {
  margin: 20px 2px 0;
  padding: 14px 12px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.fx-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: clamp(12.5px, 3.6vw, 14px);
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.fx-divider::before,
.fx-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.fx-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fx-card {
  position: relative;
  padding: 11px 11px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  text-align: left;
}
.fx-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.6);
}
.fx-ico svg { width: 18px; height: 18px; display: block; }
.fx-ico.a { background: linear-gradient(140deg, #ff6a5c, #e0273c); }
.fx-ico.b { background: linear-gradient(140deg, #3fa0ff, #1869e8); }
.fx-ico.c { background: linear-gradient(140deg, #34d17a, #12995a); }
.fx-ico.d { background: linear-gradient(140deg, #ffc23d, #f08a00); }

.fx-lock {
  position: absolute;
  top: 11px;
  right: 11px;
  color: #c2ccd8;
}
.fx-lock svg { width: 14px; height: 14px; display: block; }

.fx-card h3 {
  margin: 9px 0 8px;
  font-size: clamp(12.5px, 3.6vw, 14.5px);
  font-weight: 800;
  color: #16202c;
  letter-spacing: 0.2px;
  line-height: 1.25;
}
.fx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.fx-tags i {
  font-style: normal;
  font-size: 9.5px;
  line-height: 1.3;
  padding: 2px 5px;
  border-radius: 4px;
  color: #6b7887;
  background: #eef2f7;
}

/* ---------- 注册表单卡 ---------- */
.fx-sheet {
  position: relative;
  z-index: 3;
  max-width: 470px;
  margin: -6px auto 0;
  padding: 20px 20px 22px;
  border-radius: 22px;
  background: #fff;
  color: #16202c;
  box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, 0.5), 0 24px 60px -28px rgba(0, 0, 0, 0.75);
}
.fx-sheet h2 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #101a24;
}
.fx-sheet .fx-sub {
  margin: 0 0 18px;
  font-size: 12px;
  color: #8b98a7;
}

.fx-field { margin-bottom: 13px; }
.fx-field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #2a3746;
}
.fx-field > label em {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: #9daab8;
}
.fx-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  background: #f6f8fb;
  color: #16202c;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.fx-field input::placeholder { color: #a9b5c2; }
.fx-field input:focus {
  border-color: #ffa14a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 138, 60, 0.14);
}

.fx-code-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.fx-code-row input { flex: 1; min-width: 0; }
.fx-code-btn {
  flex: 0 0 118px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffa027, #ff5a1c);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 10px 20px -12px rgba(255, 90, 28, 0.95);
  transition: filter 0.15s, opacity 0.15s;
}
.fx-code-btn:hover:not(:disabled) { filter: brightness(1.05); }
.fx-code-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

.fx-help {
  margin-top: 8px;
  font-size: 11.5px;
  color: #9aa7b5;
  text-align: right;
}
.fx-help a { color: #f08300; text-decoration: none; }

.fx-submit {
  width: 100%;
  height: 50px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #ffb02e 0%, #ff7a1a 52%, #ff5217 100%);
  color: #fff;
  font-size: 16.5px;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 16px 30px -16px rgba(255, 90, 28, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: filter 0.15s, transform 0.1s;
}
.fx-submit:hover:not(:disabled) { filter: brightness(1.04); }
.fx-submit:active:not(:disabled) { transform: translateY(1px); }
.fx-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.fx-agreement {
  margin-top: 13px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #9aa7b5;
  text-align: center;
}
.fx-agreement a { color: #2f9ef6; text-decoration: none; }

.fx-wechat {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  background: #f7f9fb;
  color: #22303f;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.fx-wechat svg { width: 17px; height: 17px; color: #1aad19; }
.fx-wechat:hover:not(:disabled) { background: #f0f6ee; border-color: #cfe6c9; }
.fx-wechat:disabled { opacity: 0.55; cursor: not-allowed; }

/* 提示条（沿用 app.js 的 .show/.err/.ok 逻辑） */
.fx-gate .auth-msg {
  display: none;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  line-height: 1.55;
  text-align: left;
}
.fx-gate .auth-msg.show { display: block; }
.fx-gate .auth-msg.err { background: #fff1f0; color: #d4380d; border: 1px solid #ffd4cd; }
.fx-gate .auth-msg.ok { background: #f2fbf5; color: #12894e; border: 1px solid #cdeedb; }

/* ---------- 页脚 ---------- */
.fx-foot {
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11.5px;
  line-height: 1.8;
  color: #6d7683;
  background: #08040a;
}
.fx-foot b { color: #8b95a2; font-weight: 600; }

/* ---------- 桌面端 ---------- */
@media (min-width: 620px) {
  .fx-hero { padding-top: 64px; }
  .fx-gate { background: #08040a; }
  .fx-sheet {
    border-radius: 22px;
    margin-bottom: 26px;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  }
  .fx-hero-inner, .fx-sheet { max-width: 470px; }
}

/* 小屏极窄 */
@media (max-width: 360px) {
  .fx-code-btn { flex-basis: 100px; font-size: 13px; }
  .fx-sheet { padding: 18px 14px 20px; }
  .fx-brand { letter-spacing: 1px; }
}

/* ==== assets/site.css ==== */
/* ==========================================================
   万一足球 · 赛事分析助手  App 外壳（首页 / 赛程 / 我的）
   ========================================================== */
:root {
  --fx-red: #e8382f;
  --fx-red-2: #ff5a4e;
  --fx-ink: #16202c;
  --fx-sub: #8b98a7;
  --fx-line: #edf0f4;
  --fx-bg: #f5f6f8;
}

/* 应用整体改用浅色底，数据面板自带深色背景，不冲突 */
body { background: var(--fx-bg); }

.app {
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 14px calc(84px + env(safe-area-inset-bottom));
  color: var(--fx-ink);
}
.app .topbar {
  margin-bottom: 14px;
  padding: 2px 2px 0;
}
.app .brand h1 { color: var(--fx-ink); font-size: 18px; }
.app .brand .sub { color: var(--fx-sub); }
.app .brand .mark { background: linear-gradient(135deg, var(--fx-red), #ff8a5c); }
.app .user-chip { background: #fff; border: 1px solid var(--fx-line); color: var(--fx-ink); }
.app .uname { color: var(--fx-ink); }
.app .avatar { background: linear-gradient(135deg, var(--fx-red), #ff9a6c); color: #fff; }

/* ---------- 视图切换 ---------- */
.view { animation: fxIn 0.22s ease; }
@keyframes fxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 首页头部 ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 16px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 120, 90, 0.55), transparent 62%),
    linear-gradient(135deg, #b3161f 0%, #e8382f 52%, #ff7a45 100%);
  box-shadow: 0 18px 34px -20px rgba(232, 56, 47, 0.75);
}
.home-hero::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.hh-kicker { font-size: 11.5px; opacity: 0.92; letter-spacing: 0.5px; }
.hh-title {
  margin: 6px 0 14px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(120, 10, 10, 0.4);
}
.hh-stats { display: flex; gap: 8px; position: relative; z-index: 2; }
.hh-stats > div {
  flex: 1;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hh-stats b { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; }
.hh-stats span { font-size: 10.5px; opacity: 0.9; }

/* ---------- 区块标题 ---------- */
.sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 4px 10px;
}
.sec-head b {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  position: relative;
  padding-left: 10px;
}
.sec-head b::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--fx-red), #ff9a6c);
}
.sec-sub { font-size: 11.5px; color: var(--fx-sub); }
.sec-more { margin-left: auto; font-size: 12px; color: var(--fx-sub); text-decoration: none; }

/* ---------- 赛事卡片 ---------- */
.match-list, .featured-list { display: grid; gap: 10px; }

.match-card {
  position: relative;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px -16px rgba(16, 30, 48, 0.5);
  border: 1px solid rgba(16, 30, 48, 0.035);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s;
}
.match-card:active { transform: scale(0.994); }
.match-card:hover { box-shadow: 0 14px 26px -18px rgba(16, 30, 48, 0.55); }

.mc-top { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--fx-sub); }
.mc-league { color: #5b6a7b; font-weight: 700; }
.mc-time { color: #34434f; font-weight: 600; }
.mc-status {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 20px;
  font-size: 10.5px;
  background: #f1f4f8;
  color: #7c8b9b;
}
.mc-status.live { background: #fff0ee; color: #e8382f; }
.mc-status.done { background: #f1f4f8; color: #97a4b2; }

.mc-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #101a24;
}
.mc-teams .t { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mc-teams .t.away { text-align: right; }
.mc-teams .vs { font-size: 11px; color: #b6c0cb; font-weight: 700; }
.mc-score {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 800;
  color: #e8382f;
  min-width: 40px;
  text-align: center;
}

.mc-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed #eef1f5;
  font-size: 12.5px;
}
.pk-label {
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff6a4d, #e8382f);
}
.pk-val { font-weight: 800; color: #16202c; }
.pk-odd { color: #e8382f; font-weight: 800; font-family: var(--mono); font-size: 12px; }
.pk-star { margin-left: auto; color: #ffb020; font-size: 11px; letter-spacing: 1px; }

/* 重点推荐卡 */
.feat-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fdfefe);
  border: 1px solid rgba(232, 56, 47, 0.18);
  box-shadow: 0 14px 28px -22px rgba(232, 56, 47, 0.7);
  cursor: pointer;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ff6a4d, #e8382f);
}
.feat-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fx-sub); }
.feat-tag {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff8a3d, #e8382f);
}
.feat-teams { margin: 8px 0 6px; font-size: 16.5px; font-weight: 900; letter-spacing: 0.3px; color: #0f1a24; }
.feat-pick { font-size: 13px; color: #40505f; }
.feat-pick b { color: #e8382f; }
.feat-analysis {
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px dashed #eef1f5;
  font-size: 12px;
  line-height: 1.65;
  color: #6d7d8d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 资讯 ---------- */
.news-list { display: grid; gap: 10px; }
.news-card {
  display: flex;
  gap: 11px;
  padding: 12px 13px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px -18px rgba(16, 30, 48, 0.5);
  cursor: pointer;
}
.news-tag {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, #3fa0ff, #1869e8);
  text-align: center;
  line-height: 1.15;
  padding: 0 4px;
}
.news-tag.t2 { background: linear-gradient(140deg, #ff8a5c, #e8382f); }
.news-tag.t3 { background: linear-gradient(140deg, #34d17a, #12995a); }
.news-tag.t4 { background: linear-gradient(140deg, #ffc23d, #f08a00); }
.news-body { min-width: 0; }
.news-body h4 {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 800;
  color: #14202c;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.news-body p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #8592a1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list .empty-line { font-size: 12px; color: var(--fx-sub); padding: 8px 4px; }

.demo-tip {
  margin: 16px 2px 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff8f0;
  border: 1px solid #ffe3c7;
  font-size: 11.5px;
  line-height: 1.6;
  color: #a5703c;
}
.demo-tip b { color: #c8541c; }

/* ---------- 赛程日期条 ---------- */
.date-strip {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  gap: 8px;
  padding: 8px 2px 10px;
  overflow-x: auto;
  background: var(--fx-bg);
  scrollbar-width: none;
}
.date-strip::-webkit-scrollbar { display: none; }
.date-chip {
  flex: 0 0 auto;
  min-width: 62px;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid var(--fx-line);
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.date-chip b { display: block; font-size: 13px; color: #24313d; font-family: var(--mono); }
.date-chip span { font-size: 10.5px; color: var(--fx-sub); }
.date-chip.on {
  background: linear-gradient(135deg, #ff6a4d, #e8382f);
  border-color: transparent;
  box-shadow: 0 10px 20px -14px rgba(232, 56, 47, 0.9);
}
.date-chip.on b, .date-chip.on span { color: #fff; }

.league-head {
  margin: 14px 4px 8px;
  font-size: 12px;
  font-weight: 800;
  color: #5b6a7b;
  letter-spacing: 0.3px;
}

/* ---------- 我的 ---------- */
.mine-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(120% 100% at 90% 0%, rgba(255, 150, 100, 0.5), transparent 60%),
    linear-gradient(135deg, #b3161f, #e8382f 60%, #ff8a4d);
  box-shadow: 0 18px 34px -22px rgba(232, 56, 47, 0.8);
}
.mine-avatar {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.mine-info { min-width: 0; }
.mine-name { font-size: 16.5px; font-weight: 800; }
.mine-phone { font-size: 12px; opacity: 0.9; margin-top: 2px; font-family: var(--mono); }
.mine-badge {
  margin-left: auto;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}
.mine-stats > div {
  padding: 11px 8px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--fx-line);
  text-align: center;
}
.mine-stats b { display: block; font-size: 16px; font-weight: 800; color: #16202c; font-family: var(--mono); }
.mine-stats span { font-size: 10.5px; color: var(--fx-sub); }

.mine-group {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fx-line);
}
.mine-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border: 0;
  border-bottom: 1px solid var(--fx-line);
  background: #fff;
  font-size: 13.5px;
  font-family: inherit;
  color: #1d2a36;
  text-align: left;
  cursor: pointer;
}
.mine-item:last-child { border-bottom: 0; }
.mine-item:active { background: #fafbfc; }
.mi-ico { font-size: 15px; width: 20px; text-align: center; }
.mine-item i { margin-left: auto; font-style: normal; color: #c3ccd6; font-size: 16px; }

.mine-foot {
  margin: 20px 0 4px;
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
  color: #a3aebb;
}

/* ---------- 底部导航 ---------- */
.fx-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e9edf2;
  box-shadow: 0 -8px 24px -20px rgba(0, 0, 0, 0.4);
}
.fx-tabbar button {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 5px 0 3px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 10.5px;
  color: #97a4b2;
  cursor: pointer;
  transition: color 0.15s;
}
.fx-tabbar .ti {
  font-size: 18px;
  line-height: 1;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.15s, opacity 0.15s, transform 0.15s;
}
.fx-tabbar button.on { color: var(--fx-red); font-weight: 800; }
.fx-tabbar button.on .ti { filter: none; opacity: 1; transform: translateY(-1px); }

/* ---------- 详情浮层 ---------- */
.detail-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--fx-bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: fxSlide 0.22s ease;
}
@keyframes fxSlide { from { transform: translateX(16px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.ds-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fx-line);
}
.ds-back {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--fx-line);
  background: #fff;
  font-size: 15px;
  color: #33414f;
  cursor: pointer;
  line-height: 1;
}
.ds-bar b { font-size: 14.5px; }
.ds-wrap { max-width: 520px; margin: 0 auto; padding: 14px 14px 90px; }

.ds-hero {
  padding: 18px 16px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 150, 100, 0.45), transparent 60%),
    linear-gradient(135deg, #8f1018, #d62c28 58%, #ff7a45);
  box-shadow: 0 18px 34px -22px rgba(214, 44, 40, 0.8);
}
.ds-league { font-size: 11.5px; opacity: 0.9; }
.ds-teams {
  display: flex;
  align-items: center;
  margin: 10px 0 6px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.3px;
}
.ds-teams .t { flex: 1; }
.ds-teams .t.away { text-align: right; }
.ds-teams .vs { font-size: 12px; opacity: 0.85; padding: 0 8px; font-weight: 700; }
.ds-meta { font-size: 12px; opacity: 0.92; }

.ds-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13.5px;
}
.ds-pick b { font-size: 15px; }
.ds-pick .odd { margin-left: auto; font-family: var(--mono); font-weight: 800; }

.ds-tabs { display: flex; gap: 8px; margin: 16px 0 12px; }
.ds-tabs button {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--fx-line);
  background: #fff;
  font-size: 12.5px;
  font-family: inherit;
  color: #6c7b8a;
  cursor: pointer;
}
.ds-tabs button.on {
  background: linear-gradient(135deg, #ff6a4d, #e8382f);
  color: #fff;
  border-color: transparent;
  font-weight: 800;
}

.ds-card {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--fx-line);
  font-size: 13px;
  line-height: 1.8;
  color: #3f4f5e;
  white-space: pre-wrap;
}
.ds-card + .ds-card { margin-top: 10px; }
.ds-card h5 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #16202c;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ds-empty { font-size: 12.5px; color: #9ca9b7; }

.ds-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--fx-line);
}
.ds-foot button {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
}
.ds-foot .ghost { background: #f2f5f8; color: #46586a; flex: 0 0 40%; }
.ds-foot .primary {
  background: linear-gradient(90deg, #ffb02e, #ff7a1a 50%, #ff5217);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(255, 90, 28, 0.9);
}

/* ---------- 编辑弹窗内的表单 ---------- */
.fx-form { display: grid; gap: 10px; }
.fx-form label { font-size: 12px; font-weight: 700; color: #44525f; display: block; margin-bottom: 5px; }
.fx-form input, .fx-form textarea, .fx-form select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #e2e8ef;
  border-radius: 10px;
  font-size: 13.5px;
  font-family: inherit;
  color: #16202c;
  background: #f8fafc;
  outline: none;
}
.fx-form input:focus, .fx-form textarea:focus, .fx-form select:focus {
  border-color: #ffa14a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 138, 60, 0.14);
}
.fx-form textarea { min-height: 76px; resize: vertical; line-height: 1.6; }
.fx-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (min-width: 620px) {
  .app { padding-top: 20px; }
  .fx-tabbar { border-radius: 18px 18px 0 0; }
}

/* ============ 首页计算器入口 ============ */
.hh-calc-btn {
  margin-top: 12px; width: 100%; border: 0; cursor: pointer; position: relative; z-index: 2;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45);
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .5px;
  height: 40px; border-radius: 12px; backdrop-filter: blur(4px);
}
.hh-calc-btn:active { transform: scale(.98); }

/* ============ 奖金优化计算器 ============ */
.calc-hero {
  background: linear-gradient(135deg, #ff7d3b 0%, #f9562e 60%, #f4472e 100%);
  padding: 16px 16px 14px; border-radius: 0 0 18px 18px;
}
.ch-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ch-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #f4472e;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px;
  border: 2px solid rgba(255,255,255,.8);
}
.ch-name b { display: block; color: #fff; font-size: 16.5px; letter-spacing: .5px; }
.ch-name span { font-size: 11px; color: rgba(255,255,255,.85); }
.ch-tabs { display: flex; gap: 8px; }
.ch-tabs button {
  height: 34px; padding: 0 16px; border-radius: 17px; border: 1px solid rgba(255,255,255,.75);
  background: transparent; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
}
.ch-tabs button.on { background: #fff; color: #f4472e; border-color: #fff; }
.ch-tabs #ctHistory { margin-left: auto; background: linear-gradient(135deg, #ffc93d, #ff9d2e); border: 0; color: #7c3a00; }

.calc-body { padding: 12px 12px 96px; }
.calc-group-head {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-radius: 12px; padding: 11px 14px; margin-bottom: 8px;
}
.calc-group-head b { font-size: 14.5px; color: #1d2733; }
.calc-group-head span { font-size: 12px; color: #98a5b3; }
.calc-switches { display: flex; gap: 18px; padding: 0 4px 10px; }
.csw { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #55636f; font-weight: 600; cursor: pointer; }
.csw i {
  width: 34px; height: 19px; border-radius: 10px; background: #d9dee4; position: relative; transition: background .2s;
}
.csw i::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%;
  background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.csw.on i { background: #7a5cf0; }
.csw.on i::after { left: 17px; }

.calc-match {
  background: #fff; border-radius: 14px; padding: 12px 12px 12px 10px; margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(25,45,70,.06);
}
.cm-head { display: flex; align-items: center; font-size: 12px; color: #7d8a97; margin-bottom: 8px; }
.cm-head .cm-no { font-weight: 800; color: #2a3742; font-size: 13px; }
.cm-head .cm-lg { margin-left: auto; }
.cm-teams { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.cm-teams .t { font-size: 14px; font-weight: 700; color: #222e3a; }
.cm-teams .rk { font-size: 10.5px; color: #9aa7b4; font-weight: 500; }
.cm-teams .vs { font-size: 11px; color: #f4472e; font-weight: 800; }
.cm-main { display: flex; gap: 8px; }
.cm-hcp {
  display: flex; flex-direction: column; justify-content: space-around; min-width: 34px;
  border: 1px solid #edf1f5; border-radius: 10px; overflow: hidden; text-align: center;
}
.cm-hcp div { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; color: #55636f; }
.cm-hcp div:nth-child(2) { color: #e5533c; border-top: 1px solid #edf1f5; }
.cm-odds { flex: 1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.od {
  border: 1.5px solid #edf1f5; border-radius: 10px; padding: 6px 4px 5px; text-align: center; cursor: pointer;
  position: relative; background: #fff; transition: border-color .15s, background .15s;
}
.od .ol { font-size: 11px; color: #7d8a97; display: flex; align-items: center; justify-content: center; gap: 3px; }
.od .ov { font-size: 14.5px; font-weight: 800; color: #222e3a; line-height: 1.25; }
.od .bar { height: 4px; border-radius: 2px; background: #eef1f5; margin-top: 4px; overflow: hidden; }
.od .bar i { display: block; height: 100%; border-radius: 2px; background: #8f76f5; }
.od .pc { font-size: 9.5px; color: #9aa7b4; margin-top: 2px; }
.od .ai-tag {
  position: absolute; top: -1px; right: -1px; background: #f4472e; color: #fff; font-size: 8.5px;
  font-weight: 800; padding: 1px 4px; border-radius: 0 9px 0 9px;
}
.od.on { border-color: #f4472e; background: #fff5f2; }
.od.on .ov { color: #f4472e; }
.cm-more {
  writing-mode: vertical-lr; letter-spacing: 2px; font-size: 11.5px; color: #55636f; font-weight: 600;
  border: 1px solid #edf1f5; border-radius: 10px; padding: 8px 5px; cursor: pointer; background: #fbfcfd;
}
.calc-empty {
  background: #fff; border-radius: 14px; padding: 40px 20px; text-align: center;
  color: #9aa7b4; font-size: 13px; line-height: 1.8;
}

.calc-bar {
  position: fixed; left: 0; right: 0; bottom: 66px; z-index: 30;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: #fff; box-shadow: 0 -4px 18px rgba(25,45,70,.12);
  max-width: 480px; margin: 0 auto; border-radius: 16px 16px 0 0;
}
.cb-sel { font-size: 12.5px; color: #55636f; white-space: nowrap; }
.cb-sel b { color: #f4472e; font-size: 15px; }
.cb-field { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #55636f; }
.cb-field input {
  width: 74px; height: 36px; border: 1.5px solid #e4e9ee; border-radius: 10px; padding: 0 8px;
  font-size: 14px; font-weight: 800; color: #222e3a; text-align: center;
}
.cb-go {
  margin-left: auto; border: 0; cursor: pointer; color: #fff; font-size: 14px; font-weight: 800;
  background: linear-gradient(135deg, #ff7d3b, #f4472e); height: 40px; padding: 0 20px; border-radius: 12px;
}
.cb-go:disabled { opacity: .5; }

/* 计算结果浮层内容 */
.cr-sum { display: flex; gap: 8px; margin: 12px 0; }
.cr-sum > div { flex: 1; background: #fff6f2; border: 1px solid #ffe0d1; border-radius: 12px; padding: 10px 8px; text-align: center; }
.cr-sum b { display: block; font-size: 16px; color: #f4472e; }
.cr-sum span { font-size: 10.5px; color: #a5715a; }
.cr-note { font-size: 11.5px; color: #a5b0bb; line-height: 1.7; margin: 8px 0 12px; }
.cr-row {
  background: #fff; border: 1px solid #eef1f5; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
}
.cr-row .cr-combo { font-size: 12.5px; color: #55636f; font-weight: 600; }
.cr-row .cr-nums { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; color: #7d8a97; flex-wrap: wrap; }
.cr-row .cr-nums b { color: #f4472e; font-size: 14px; }
.cr-row .cr-nums .hl b { color: #2fa96e; }

/* ============ 官方数据 · 自动更新 ============ */
.sync-chip {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 8px;
  padding: 2px 8px 2px 6px; border-radius: 20px; font-size: 10.5px; font-weight: 700;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); color: #fff;
  vertical-align: 1px;
}
.sync-chip i { width: 5px; height: 5px; border-radius: 50%; background: #b8ff9e; box-shadow: 0 0 0 0 rgba(184,255,158,.8); }
.sync-chip.ok i { animation: lvPulse 2.2s infinite; }
.sync-chip.loading i { background: #ffe066; animation: lvBlink .9s infinite; }
.sync-chip.err { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.35); }
.sync-chip.err i { background: #ffb3a7; animation: none; }

.ch-live {
  display: flex; align-items: center; gap: 7px; margin-top: 12px; padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.28);
  font-size: 11.5px; color: rgba(255,255,255,.95); letter-spacing: .2px;
}
.ch-live b { font-weight: 800; }
.ch-live .lv-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #eaffe0; flex: none;
  animation: lvPulse 2.2s infinite;
}
.ch-live.loading .lv-dot { background: #ffe066; animation: lvBlink .9s infinite; }
.ch-live.err { color: #ffe1db; }
.ch-live.err .lv-dot { background: #ffb3a7; animation: none; }
.ch-live button {
  margin-left: auto; flex: none; height: 24px; padding: 0 12px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.18); color: #fff;
  font-size: 11.5px; font-weight: 700; cursor: pointer;
}
.ch-live button:active { transform: scale(.96); }
.ch-live button:disabled { opacity: .55; }
@keyframes lvPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.65); }
  70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes lvBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.od .mv {
  position: absolute; top: 1px; left: 4px; font-size: 9px; font-weight: 800; line-height: 1;
}
.od .mv.up { color: #e8382f; }
.od .mv.down { color: #12a05c; }
.od.flash { animation: odFlash 1.1s ease-out; }
@keyframes odFlash {
  0% { box-shadow: 0 0 0 0 rgba(244,71,46,.35); }
  100% { box-shadow: 0 0 0 8px rgba(244,71,46,0); }
}
.cm-head .cm-src {
  margin-left: 6px; font-size: 9.5px; color: #b0bcc8; border: 1px solid #e8edf2;
  border-radius: 6px; padding: 0 4px; font-weight: 600;
}

/* ============ 新版首页（店铺头 / 方案卡 / 宫格 / 赛事九宫格） ============ */
#view-home { padding-bottom: 12px; }
.shop-head {
  position: relative; overflow: hidden; padding: 16px 14px 12px;
  background: linear-gradient(150deg, #ffe9cf 0%, #ffdcbb 48%, #ffcfae 100%);
  border-radius: 0 0 20px 20px;
}
.shop-head::before {
  content: ''; position: absolute; right: -46px; top: -56px; width: 168px; height: 168px;
  border-radius: 50%; background: rgba(255, 255, 255, .38);
}
.shop-head::after {
  content: ''; position: absolute; left: -30px; bottom: -60px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255, 255, 255, .22);
}
.shop-row { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.shop-logo {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  background: linear-gradient(145deg, #ff9a48, #f4472e); color: #fff;
  font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 12px rgba(244, 71, 46, .28);
}
.shop-title h2 { font-size: 19px; font-weight: 900; color: #4a2c17; letter-spacing: .6px; line-height: 1.15; }
.shop-badge {
  display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 6px;
  background: #f4472e; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .3px;
}
.shop-date { margin-left: auto; font-size: 11px; color: #96683f; font-weight: 700; }
.shop-tags { position: relative; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.shop-tags span {
  font-size: 10.5px; font-weight: 700; color: #8a5a1f; padding: 2px 7px; border-radius: 6px;
  background: linear-gradient(180deg, #ffeeb8, #f8d274); border: 1px solid #e9b94c;
}
.shop-actions { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: 12px; }
.shop-actions button {
  flex: 1; height: 46px; border: 0; cursor: pointer; border-radius: 13px;
  background: rgba(255, 255, 255, .94); color: #3d2a18; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 3px 9px rgba(176, 118, 66, .14);
}
.shop-actions button:active { transform: scale(.97); }
.shop-actions button i { font-style: normal; font-size: 15px; }
.shop-sync { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.shop-sync .sync-chip {
  margin-left: 0; background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .9);
  color: #8a5a1f;
}
.shop-sync .sync-chip i { background: #22c55e; }
.shop-sync .sync-chip.loading i { background: #f59e0b; }
.shop-sync .sync-chip.err { background: rgba(0, 0, 0, .08); color: #b4472f; }
.shop-note { font-size: 10.5px; color: #a07a54; font-weight: 600; }

.plan-row { display: flex; gap: 10px; padding: 12px 12px 0; }
.plan-card {
  flex: 1; position: relative; overflow: hidden; border: 0; cursor: pointer; text-align: left;
  border-radius: 15px; padding: 13px 12px 15px;
}
.plan-card b { display: block; font-size: 15.5px; font-weight: 800; color: #2b2b33; letter-spacing: .3px; }
.plan-card span { display: block; margin-top: 4px; font-size: 11px; color: #8b7f95; font-weight: 600; }
.plan-card i {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-style: normal; font-size: 27px; opacity: .92;
}
.plan-a { background: linear-gradient(135deg, #ffe9e6, #ffd8d2); }
.plan-b { background: linear-gradient(135deg, #f0e9ff, #e2d9ff); }
.plan-card:active { transform: scale(.985); }

.icon-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  margin: 12px; padding: 13px 4px; background: #fff; border-radius: 16px;
  box-shadow: 0 2px 12px rgba(25, 45, 70, .06);
}
.icon-grid button {
  border: 0; background: transparent; cursor: pointer; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.icon-grid button:active { transform: scale(.94); }
.icon-grid .ig {
  width: 42px; height: 42px; border-radius: 13px; color: #fff; font-style: normal;
  display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800;
  box-shadow: 0 3px 8px rgba(25, 45, 70, .14);
}
.ig1 { background: linear-gradient(145deg, #57b6ff, #2b7cf6); }
.ig2 { background: linear-gradient(145deg, #ff7b6b, #e8382f); font-size: 12px; letter-spacing: .5px; }
.ig3 { background: linear-gradient(145deg, #4be08a, #22a85c); }
.ig4 { background: linear-gradient(145deg, #45c6f0, #0e9fd8); font-size: 13.5px; }
.ig5 { background: linear-gradient(145deg, #ffd25e, #f2a01f); }
.icon-grid span { font-size: 10.5px; color: #5b6673; font-weight: 700; }

.day-head { display: flex; align-items: center; padding: 2px 14px 12px; }
.sport-tabs { display: flex; gap: 18px; }
.sport-tabs button {
  position: relative; border: 0; background: transparent; padding: 0 0 5px; cursor: pointer;
  font-size: 14.5px; font-weight: 700; color: #9aa7b4;
}
.sport-tabs button.on { color: #1d2733; font-size: 16px; }
.sport-tabs button.on::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 2px; background: #f4472e;
}
.day-more { margin-left: auto; font-size: 12px; color: #9aa7b4; }

.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.mg-card {
  background: #fff; border: 0; border-radius: 13px; padding: 10px 9px 8px; cursor: pointer;
  text-align: left; box-shadow: 0 1px 7px rgba(25, 45, 70, .07);
}
.mg-card:active { transform: scale(.98); }
.mg-top { display: flex; align-items: center; gap: 5px; margin-bottom: 9px; }
.mg-top b { font-size: 11.5px; font-weight: 800; color: #1d2733; flex: none; }
.mg-top span {
  font-size: 10.5px; font-weight: 600; color: #2b7cf6;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mg-teams { display: flex; align-items: flex-start; gap: 3px; }
.mg-team { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mg-team em {
  font-style: normal; font-size: 11.5px; font-weight: 700; color: #222e3a; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tl {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11.5px; font-weight: 800; font-style: normal;
}
.mg-vs { flex: none; font-size: 9.5px; font-weight: 800; color: #f4472e; padding-top: 7px; }
.mg-foot { display: flex; align-items: center; margin-top: 9px; font-size: 10px; color: #9aa7b4; }
.mg-foot em {
  margin-left: auto; font-style: normal; font-weight: 700; padding: 1px 5px;
  border-radius: 4px; background: #f3f6f9; color: #8d9aa7;
}
.mg-foot em.live { background: #fff0ee; color: #e8382f; }
.mg-empty {
  grid-column: 1 / -1; background: #fff; border-radius: 14px; padding: 34px 20px; text-align: center;
  color: #9aa7b4; font-size: 12.5px; line-height: 1.9;
}

.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 8px; }
.promo {
  position: relative; overflow: hidden; text-align: left; cursor: pointer; background: #fff;
  border: 1.5px solid #ffe0d1; border-radius: 14px; padding: 11px 12px 12px;
}
.promo-ai { border-color: #e3d9ff; }
.promo:active { transform: scale(.985); }
.pr-head { display: flex; align-items: center; gap: 5px; }
.pr-head b { font-size: 13px; font-weight: 800; color: #1d2733; }
.pr-tag {
  font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 4px;
  background: #f1f4f8; color: #7d8a97;
}
.pr-body { display: flex; align-items: flex-end; gap: 12px; margin-top: 9px; }
.pr-num b { display: block; font-size: 19px; font-weight: 900; color: #f4472e; line-height: 1.1; }
.pr-num span { font-size: 10px; color: #98a5b3; }
.promo-ai .pr-num b { color: #7a5cf0; }
.pr-foot { margin-top: 9px; font-size: 10px; color: #a3b0bd; }

/* ============ 用户数据后台（仅店主） ============ */
.ua-refresh {
  margin-left: auto; height: 26px; padding: 0 12px; border-radius: 13px; cursor: pointer;
  border: 1px solid #e6ecf2; background: #f7f9fb; color: #5d6b7a; font-size: 11.5px; font-weight: 700;
}
.ua-refresh:active { transform: scale(.96); }
.ua-loading { padding: 40px 0; text-align: center; font-size: 12.5px; color: #9aa7b4; }

.ua-sum {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px;
  background: #fff; border-radius: 14px; padding: 13px 6px; box-shadow: 0 1px 8px rgba(25,45,70,.06);
}
.ua-sum > div { text-align: center; }
.ua-sum b { display: block; font-size: 15px; font-weight: 900; color: #1d2733; line-height: 1.2; }
.ua-sum span { font-size: 9.5px; color: #98a5b3; }
.ua-sum b.ua-online-num { color: #12a05c; }
.ua-onlinebar {
  margin: 10px 0 0; padding: 10px 12px; border-radius: 12px;
  background: #eefaf2; border: 1px solid #c9edd8;
}
.ua-onlinebar b { display: block; font-size: 12.5px; color: #16794a; font-weight: 900; }
.ua-onlinebar span { display: block; margin-top: 4px; font-size: 10.5px; color: #4f8a69; line-height: 1.5; }
.ua-sum b.pos, .ua-right b.pos, .ub-r b.pos { color: #e8382f; }
.ua-sum b.neg, .ua-right b.neg, .ub-r b.neg { color: #12a05c; }
.ua-sum b.flat, .ua-right b.flat, .ub-r b.flat { color: #8d9aa7; }

.ua-search { margin: 12px 0 10px; }
.ua-search input {
  width: 100%; height: 40px; border-radius: 11px; border: 1px solid #e6ecf2; background: #fff;
  padding: 0 13px; font-size: 13px; color: #1d2733; outline: none; box-sizing: border-box;
}
.ua-search input:focus { border-color: #ffb9a8; box-shadow: 0 0 0 3px rgba(244,71,46,.10); }

.ua-list { display: flex; flex-direction: column; gap: 8px; }
.ua-row {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 0; border-radius: 13px; padding: 11px 12px;
  box-shadow: 0 1px 7px rgba(25,45,70,.06);
}
.ua-row:active { transform: scale(.985); }
.ua-av {
  width: 38px; height: 38px; border-radius: 50%; flex: none; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800;
  background: linear-gradient(145deg, #ff9a48, #f4472e);
}
.ua-main { min-width: 0; flex: 1; }
.ua-top { display: flex; align-items: center; gap: 6px; }
.ua-top b { font-size: 14px; font-weight: 800; color: #1d2733; letter-spacing: .3px; }
.ua-tag {
  font-size: 9.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px;
  background: #f1f4f8; color: #8d9aa7;
}
.ua-tag.on { background: #fff0ee; color: #e8382f; }
.ua-tag.live { background: #e7f8ee; color: #12a05c; }
.ua-live { font-size: 9.5px; font-weight: 700; color: #9aa7b4; white-space: nowrap; }
.ua-sub {
  margin-top: 3px; font-size: 10.5px; color: #9aa7b4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ua-right { text-align: right; flex: none; }
.ua-right b { display: block; font-size: 15px; font-weight: 900; line-height: 1.15; }
.ua-right span { font-size: 10px; color: #a3b0bd; }

.ua-note { margin-top: 14px; font-size: 10.5px; color: #a6b2be; line-height: 1.7; text-align: center; }
.ua-meta { margin: 10px 2px 0; font-size: 10.5px; color: #9aa7b4; }
.ua-sec { margin: 16px 2px 9px; font-size: 12.5px; font-weight: 800; color: #1d2733; }

.ua-bets { display: flex; flex-direction: column; gap: 6px; }
.ua-bet {
  display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 11px;
  padding: 9px 11px; box-shadow: 0 1px 6px rgba(25,45,70,.05);
}
.ub-l { flex: none; text-align: center; min-width: 44px; }
.ub-l b { display: block; font-size: 11.5px; font-weight: 800; color: #1d2733; }
.ub-l span { font-size: 9.5px; color: #a3b0bd; }
.ub-m {
  flex: 1; min-width: 0; font-size: 11.5px; color: #4a5866;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ub-r { flex: none; text-align: right; }
.ub-r b { display: block; font-size: 13px; font-weight: 900; line-height: 1.15; }
.ub-r span { font-size: 9.5px; color: #a3b0bd; }

/* ============ 分站：店铺资料 / 分站管理 ============ */
.se-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; background: #fff;
  border-radius: 14px; padding: 13px 8px; box-shadow: 0 1px 8px rgba(25,45,70,.06); margin-bottom: 10px;
}
.se-stats > div { text-align: center; }
.se-stats b { display: block; font-size: 16px; font-weight: 900; color: #1d2733; line-height: 1.2; }
.se-stats b.pos { color: #e8382f; }
.se-stats b.neg { color: #12a05c; }
.se-stats b.flat { color: #8d9aa7; }
.se-stats span { font-size: 10px; color: #98a5b3; }
.se-more {
  width: 100%; height: 36px; margin-bottom: 14px; border-radius: 11px; cursor: pointer;
  border: 1px solid #ffe0d1; background: #fff8f4; color: #d9542f; font-size: 12px; font-weight: 700;
}
.se-more:active { transform: scale(.985); }

.se-qr { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.se-qr img {
  width: 92px; height: 92px; object-fit: cover; border-radius: 10px; flex: none;
  background: #f4f7fa; border: 1px solid #eef2f6;
}
.se-qr-btns { display: flex; flex-direction: column; gap: 8px; }
.se-upload {
  display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px;
  border-radius: 10px; background: #f4472e; color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.se-upload:active { transform: scale(.97); }
.se-hint { font-size: 10.5px; color: #a3b0bd; margin-top: 8px; line-height: 1.6; }
.se-actions { display: flex; gap: 8px; margin-top: 18px; }
.se-actions .btn { flex: 1; height: 42px; }

.sa-card { background: #fff; border-radius: 13px; padding: 12px; box-shadow: 0 1px 7px rgba(25,45,70,.06); }
.sa-top { display: flex; align-items: center; gap: 7px; }
.sa-top b { font-size: 14px; font-weight: 800; color: #1d2733; }
.sa-slug { font-size: 10.5px; color: #9aa7b4; font-family: ui-monospace, Menlo, monospace; }
.sa-meta { margin-top: 6px; font-size: 10.5px; color: #8d9aa7; line-height: 1.6; }
.sa-acts { display: flex; gap: 6px; margin-top: 10px; }
.sa-btn {
  flex: 1; height: 30px; border-radius: 9px; cursor: pointer; font-size: 11.5px; font-weight: 700;
  border: 1px solid #e9eff4; background: #f7fafc; color: #55636f;
}
.sa-btn.warn { color: #c0392b; border-color: #ffe0d9; background: #fff6f3; }
.sa-btn:active { transform: scale(.97); }
.ua-new {
  width: 100%; height: 40px; border-radius: 11px; margin: 12px 0 10px; font-size: 13px;
}

.ct-rows { margin-top: 14px; border-top: 1px dashed #eef2f6; padding-top: 10px; }
.ct-row {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #55636f; padding: 4px 2px;
}
.ct-row span { color: #9aa7b4; font-size: 11.5px; min-width: 32px; text-align: left; }
.ct-row b { margin-left: auto; font-weight: 800; color: #1d2733; letter-spacing: .3px; }
.ct-row i {
  font-style: normal; font-size: 10.5px; font-weight: 700; color: #d9542f;
  border: 1px solid #ffe0d1; background: #fff7f3; border-radius: 6px; padding: 1px 7px; cursor: pointer;
}

/* ---- 更多玩法（总进球 / 比分 / 半全场） ---- */
.cm-more.on { color: #f4472e; border-color: #ffd4c7; background: #fff6f2; }
.cm-extra {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed #eef2f6;
}
.xe-tabs { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.xe-tabs .xt {
  height: 28px; padding: 0 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid #e9eff4; background: #f8fafc; color: #55636f; font-size: 12px; font-weight: 700;
}
.xe-tabs .xt.on { border-color: #f4472e; background: #fff2ee; color: #f4472e; }
.xe-tabs .xe-tip { margin-left: auto; font-size: 10.5px; color: #aab5c0; }
.xe-grid { display: grid; gap: 6px; }
.xe-grid.g-ttg { grid-template-columns: repeat(4, 1fr); }
.xe-grid.g-crs { grid-template-columns: repeat(4, 1fr); }
.xe-grid.g-hafu { grid-template-columns: repeat(3, 1fr); }
.od.od-s { padding: 7px 2px; border-radius: 9px; }
.od.od-s .ol { font-size: 11.5px; color: #55636f; font-weight: 600; }
.od.od-s .ov { font-size: 13px; }
.od.od-s.on .ol { color: #f4472e; }
.xe-empty { font-size: 12px; color: #aab5c0; padding: 8px 2px 4px; }

/* ---- 竞篮计算器 ---- */
.bb-rows { display: grid; grid-template-columns: 1fr 74px 1fr; gap: 6px; margin-top: 2px; }
.bb-rows .od.bb-od { padding: 8px 4px; border-radius: 10px; }
.bb-rows .od.bb-od .ol { font-size: 11.5px; }
.bb-rows .od.bb-od .ov { font-size: 14px; }
.od.bb-od.off { opacity: .35; cursor: default; }
.bb-mid {
  display: flex; align-items: center; justify-content: center; border-radius: 10px;
  background: #f7fafc; border: 1.5px solid #edf1f5; color: #55636f;
  font-size: 12.5px; font-weight: 800; letter-spacing: .3px;
}
.bb-mid.hl { background: #fdecec; border-color: #fbdada; color: #c0392b; }
.bb-more {
  margin-top: 8px; text-align: center; font-size: 12px; font-weight: 700; color: #55636f;
  border: 1px solid #edf1f5; border-radius: 10px; padding: 8px 0; background: #fbfcfd; cursor: pointer;
}
.bb-more:active { transform: scale(.99); }
.calc-match.bb { padding-bottom: 12px; }
.xe-grid.g-wnm { grid-template-columns: repeat(3, 1fr); }
.calc-switches.bb-only { display: none; }

/* ============ 赛事分析页 ============ */
#view-analysis { padding-bottom: 12px; }
.ana-shop {
  position: relative; overflow: hidden; padding: 14px 14px 12px; border-radius: 18px;
  background: linear-gradient(150deg, #ffe9cf 0%, #ffddbd 52%, #ffd0b0 100%);
  box-shadow: 0 10px 26px -22px rgba(176, 118, 66, .9);
}
.ana-shop::before {
  content: ''; position: absolute; right: -40px; top: -52px; width: 150px; height: 150px;
  border-radius: 50%; background: rgba(255, 255, 255, .4);
}
.ana-shop-row { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.ana-shop-name h2 { font-size: 19px; font-weight: 900; color: #4a2c17; letter-spacing: .5px; line-height: 1.15; }
.ana-acts { margin-left: auto; display: flex; gap: 8px; }
.ana-acts button {
  width: 38px; height: 38px; border: 0; cursor: pointer; border-radius: 50%; font-size: 16px;
  background: #fff; box-shadow: 0 4px 10px rgba(176, 118, 66, .18);
  display: grid; place-items: center;
}
.ana-acts button:active { transform: scale(.94); }
.ana-tags { margin-top: 11px; }

.ana-tabs { display: flex; gap: 26px; padding: 14px 4px 2px; }
.ana-tabs button {
  position: relative; border: 0; background: none; cursor: pointer; padding: 0 0 9px;
  font-size: 17px; font-weight: 800; color: #7d8b99; letter-spacing: .3px;
}
.ana-tabs button i { font-style: normal; margin-right: 4px; font-size: 15px; }
.ana-tabs button.on { color: #16202c; }
.ana-tabs button.on::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 28px; height: 3px; border-radius: 2px; background: #e8382f;
}

.ana-dates {
  display: flex; gap: 10px; overflow-x: auto; padding: 10px 2px 12px;
  position: sticky; top: 0; z-index: 6; background: var(--fx-bg);
  scrollbar-width: none;
}
.ana-dates::-webkit-scrollbar { display: none; }
.and-chip {
  flex: 0 0 auto; min-width: 78px; padding: 6px 9px 7px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--fx-line); background: #fff; text-align: center;
}
.and-chip em { display: block; font-style: normal; font-size: 10.5px; color: #a3aeb9; margin-bottom: 4px; font-weight: 700; }
.and-chip b { display: block; font-size: 12.5px; font-weight: 800; color: #43535f; font-family: var(--mono); }
.and-chip.on { border-color: #ffcec2; box-shadow: 0 8px 18px -14px rgba(232, 56, 47, .95); }
.and-chip.on b { color: #e8382f; }
.and-chip.on em { color: #e8382f; }

.ana-card {
  background: #fff; border-radius: 14px; padding: 11px 12px 10px; margin-bottom: 10px;
  border: 1px solid #f1f4f7;
}
.ac-top { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #9aa7b5; }
.ac-no { color: #5b6a7b; font-weight: 800; }
.ac-time { font-family: var(--mono); }
.ac-st { margin-left: auto; background: #f2f4f7; color: #9aa7b5; border-radius: 6px; padding: 2px 7px; font-size: 10.5px; font-weight: 700; }
.ac-st.live { background: #ffece8; color: #e8382f; }
.ac-teams { display: flex; align-items: center; gap: 8px; margin: 13px 0 12px; }
.ac-side { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.ac-side.home { justify-content: flex-end; }
.ac-side.away { justify-content: flex-start; }
.ac-rk {
  flex: none; min-width: 20px; height: 18px; padding: 0 4px; border-radius: 5px;
  background: #f3f5f9; color: #93a0ad; font-size: 10.5px; font-weight: 800;
  display: grid; place-items: center; font-family: var(--mono);
}
.ac-tn {
  font-size: 14px; font-weight: 800; color: #1f2b38; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 92px;
}
.ac-side.home .ac-tn { text-align: right; }
.ac-badge {
  flex: none; width: 22px; height: 22px; border-radius: 50%; color: #fff;
  font-size: 11px; font-weight: 800; display: grid; place-items: center; font-style: normal;
}
.ac-vs { flex: none; font-size: 11px; font-weight: 800; color: #b3bec9; padding: 0 2px; }
.ac-chips { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.ac-chip {
  font-size: 11px; font-weight: 700; color: #e8382f; background: #fff1ef;
  border: 1px solid #ffdcd4; border-radius: 7px; padding: 3px 7px; white-space: nowrap;
}
.ac-more { margin-left: auto; font-size: 11.5px; font-weight: 700; color: #e8382f; white-space: nowrap; }
.ana-empty { background: #fff; border-radius: 14px; padding: 30px 16px; text-align: center; font-size: 12.5px; color: #9aa7b5; line-height: 1.9; }
.ana-empty b { display: block; font-size: 26px; margin-bottom: 6px; }

/* 分析详情 */
.an-concl {
  border-radius: 14px; padding: 12px 14px; border: 1px solid #ffd8cd;
  background: linear-gradient(140deg, #fff4ef, #ffe8e0);
}
.an-concl .t { font-size: 11.5px; color: #a2745f; font-weight: 700; }
.an-concl .v { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; }
.an-concl .v b { font-size: 20px; font-weight: 900; color: #c9301f; letter-spacing: .5px; }
.an-concl .v span { font-size: 12px; color: #a2745f; font-family: var(--mono); font-weight: 700; }
.an-concl .n { margin-top: 7px; font-size: 11.5px; color: #8a6a58; line-height: 1.6; }
.pb { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 12px; }
.pb-l { flex: none; width: 60px; color: #5b6a7b; font-weight: 700; white-space: nowrap; }
.pb-bar { flex: 1; height: 8px; border-radius: 6px; background: #f1f4f8; overflow: hidden; }
.pb-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ffa06e, #e8382f); }
.pb.top .pb-bar i { background: linear-gradient(90deg, #ff6a4d, #d92a1f); }
.pb-v { flex: none; width: 42px; text-align: right; font-family: var(--mono); font-weight: 800; color: #1f2b38; }
.pb-o { flex: none; width: 40px; text-align: right; color: #9aa7b5; font-family: var(--mono); font-size: 11px; }
.pb.top .pb-l, .pb.top .pb-v { color: #e8382f; }
.mk-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.mk-head b { font-size: 13px; }
.mk-head em { font-style: normal; font-size: 11px; color: #9aa7b5; }

/* 分析页全屏：去顶栏、去四周留白，内容顶到屏幕边缘 */
#app.ana-full { padding: 0 0 calc(84px + env(safe-area-inset-bottom)); }
#app.ana-full .topbar { display: none; }
#view-analysis .ana-shop { border-radius: 0 0 20px 20px; }
#view-analysis .ana-tabs { padding: 14px 14px 2px; }
#view-analysis .ana-dates { padding: 10px 12px 12px; }
#view-analysis .ana-list { padding: 0 12px; }

/* ================= 移动端视口锁定：禁止放大缩小，保留上下滑动 ================= */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: pan-x pan-y;   /* 禁双击放大 / 双指缩放，保留滚动 */
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;          /* 杜绝左右拖动 */
  overscroll-behavior-x: none;
}
body {
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
img, video, canvas, svg { max-width: 100%; }
/* iOS 上输入框字号 < 16px 会在聚焦时自动放大页面，这里统一兜底 */
@media (max-width: 820px) {
  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
  textarea, select { font-size: 16px !important; }
}

/* ==== assets/v2.css ==== */
/* ==========================================================
   V2 设计系统 · 商业级视觉升级
   基准：Vant 体系（主色 #FF5112 / 浅灰底 / 白卡 / 细描边）
   本文件最后加载，覆盖旧样式
   ========================================================== */
:root {
  --fx-bg: #f4f5f7;
  --fx-line: #eef0f3;
  --fx-ink: #191c22;
  --fx-sub: #8a919d;
  --fx-red: #ff5112;
  --fx-red-2: #ff7a3d;
  --v2-card: #ffffff;
  --v2-ink2: #3d434d;
  --v2-faint: #b4bac4;
  --v2-pri-soft: #fff3ed;
  --v2-green: #10b981;
  --v2-blue: #3b82f6;
  --v2-gold: #d99a2b;
  --v2-sh: 0 1px 2px rgba(24, 28, 36, 0.04), 0 2px 10px rgba(24, 28, 36, 0.05);
  --v2-sh-lg: 0 14px 36px -20px rgba(24, 28, 36, 0.3);
}

body {
  background: var(--fx-bg) !important;
  background-image: none !important;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; }

/* 统一按压反馈 */
.mg-card, .ana-card, .plan-card, .icon-grid button, .promo, .news-card,
.match-card, .date-chip, .and-chip, .mine-item, .shop-actions button,
.ana-acts button, .cb-go, .od, .fx-tabbar button {
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.mg-card:active, .ana-card:active, .plan-card:active, .promo:active,
.news-card:active, .match-card:active { transform: scale(0.978); }
.icon-grid button:active, .shop-actions button:active, .ana-acts button:active { transform: scale(0.94); }

/* ---------- 启动屏 ---------- */
.loading-screen { background: var(--fx-bg) !important; color: #5c6470 !important; }
.loading-screen .spinner { border-color: #d8dce2 !important; border-top-color: var(--fx-red) !important; }

/* ---------- 顶栏（毛玻璃 + 品牌标） ---------- */
.app .topbar {
  position: sticky; top: 0; z-index: 40;
  margin: -14px -14px 14px;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  background: rgba(244, 245, 247, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(24, 28, 36, 0.05);
}
.app .brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--fx-red-2), var(--fx-red));
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -6px rgba(255, 81, 18, 0.6);
}
.app .brand h1 { font-size: 16.5px; font-weight: 800; letter-spacing: 0.2px; }
.app .brand .sub { font-size: 10.5px; color: var(--fx-sub); }
.user-chip { border-radius: 999px; box-shadow: var(--v2-sh); padding: 3px 12px 3px 4px; }
.avatar {
  width: 30px; height: 30px; font-size: 12px;
  background: linear-gradient(140deg, #ffb066, var(--fx-red));
}

/* ---------- 底部导航（矢量图标） ---------- */
.fx-tabbar {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(24, 28, 36, 0.06);
  box-shadow: 0 -10px 30px -22px rgba(24, 28, 36, 0.4);
}
.fx-tabbar button { color: #9aa1ad; font-size: 10.5px; font-weight: 600; position: relative; }
.fx-tabbar button .tab-dot {
  position: absolute; top: 7px; left: calc(50% + 10px);
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff3b30; box-shadow: 0 0 0 2px #fff;
}
.fx-tabbar .ti { width: 24px; height: 24px; display: grid; place-items: center; filter: none; opacity: 1; transform: none; }
.fx-tabbar .ti svg { width: 22px; height: 22px; }
.fx-tabbar button.on { color: var(--fx-red); font-weight: 800; }
.fx-tabbar button.on .ti { transform: translateY(-1px); }
/* 底栏移除「分析」入口后，分析页沿用首页高亮态 */
#app.ana-full .fx-tabbar button[data-view="home"] { color: var(--fx-red); font-weight: 800; }
#app.ana-full .fx-tabbar button[data-view="home"] .ti { transform: translateY(-1px); }

/* ---------- 店铺头（品牌渐变） ---------- */
.shop-head {
  background:
    linear-gradient(135deg, rgba(255, 106, 61, 0.6) 0%, rgba(240, 67, 15, 0.72) 100%),
    url('caishen.jpg') center 24% / cover no-repeat;
  box-shadow: 0 18px 40px -26px rgba(240, 67, 15, 0.75);
}

/* ---------- 品牌艺术字（毛笔书法体） ---------- */
#shopName,
#topName,
#anaName,
.fx-brand,
.app .brand .mark,
.shop-logo {
  font-family: 'Ma Shan Zheng', 'STKaiti', 'KaiTi', 'BiauKai', serif;
  font-weight: 400;
}
/* 顶栏品牌名 */
.app .brand h1 {
  font-size: 21px;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
/* 顶栏「锦」标 */
.app .brand .mark {
  width: 42px; height: 42px; border-radius: 13px;
  font-size: 28px; line-height: 1;
  text-shadow: 0 2px 3px rgba(140, 30, 0, 0.45);
}
/* 首页头卡店名：金色渐变大字 */
#shopName {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 3px;
  background: linear-gradient(180deg, #fff8dc 8%, #ffe9a8 45%, #ffc93c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffd23d;
  filter: drop-shadow(0 2px 2px rgba(122, 32, 0, 0.65)) drop-shadow(0 0 8px rgba(255, 214, 110, 0.4));
}
/* 首页头卡「锦」标 */
.shop-logo {
  width: 58px; height: 58px; border-radius: 18px;
  font-size: 40px;
  text-shadow: 0 2px 4px rgba(140, 30, 0, 0.5);
}
/* 分析页店名 */
#anaName { font-size: 24px; letter-spacing: 2px; }
/* 落地页品牌 */
.fx-brand { letter-spacing: 4px; }

/* ---------- 站内咨询（用户 ↔ 店主） ---------- */
.ds-wrap .chat-wrap {
  height: 58vh; overflow-y: auto; padding: 12px 14px 4px;
  background: #f6f7f9;
}
.chat-row { display: flex; flex-direction: column; margin-bottom: 10px; max-width: 80%; }
.chat-row.me { align-items: flex-end; margin-left: auto; }
.chat-row.ta { align-items: flex-start; }
.chat-bub {
  padding: 9px 12px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.55; word-break: break-word; white-space: pre-wrap;
}
.chat-row.me .chat-bub {
  background: linear-gradient(140deg, #ff7d4d, #f0430f); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-row.ta .chat-bub {
  background: #fff; border: 1px solid #edf0f4; color: #26313d;
  border-bottom-left-radius: 4px; box-shadow: var(--v2-sh);
}
.chat-tm { font-size: 10px; color: #a7b1bd; margin-top: 3px; }
.chat-tip { text-align: center; font-size: 10.5px; color: #a7b1bd; padding: 8px 0 14px; }
.chat-empty { padding: 60px 20px; text-align: center; color: #9aa7b4; font-size: 12.5px; line-height: 1.9; }
.chat-input {
  position: sticky; bottom: 0; z-index: 3;
  display: flex; gap: 8px; align-items: center;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--fx-line); background: #fff;
}
.chat-input input {
  flex: 1; height: 40px; border-radius: 20px; border: 1px solid #e3e8ee;
  padding: 0 14px; font-size: 13.5px; outline: none; min-width: 0;
}
.chat-input input:focus { border-color: #ffb499; }
.chat-input button {
  height: 40px; padding: 0 18px; border: none; border-radius: 20px; flex: none;
  background: linear-gradient(140deg, #ff7d4d, #f0430f); color: #fff;
  font-weight: 800; font-size: 13.5px; cursor: pointer;
}
.chat-input button:active { transform: scale(0.96); }
.ct-chat {
  display: block; width: 100%; margin: 0 0 12px; padding: 11px 0;
  border: 1px dashed #ffc9b5; border-radius: 12px; cursor: pointer;
  background: #fff4ef; color: #e8382f; font-weight: 800; font-size: 13.5px;
}
.ct-chat:active { transform: scale(0.985); }
.ct-th-row {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer;
  padding: 12px 14px; border-bottom: 1px solid #f0f3f6; background: #fff;
}
.ct-th-avatar {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, #8a5cf6, #6d3ef0); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.ct-th-main { flex: 1; min-width: 0; }
.ct-th-main b { font-size: 13.5px; color: var(--fx-ink); }
.ct-th-main p {
  font-size: 11.5px; color: var(--fx-sub); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ct-th-unread {
  min-width: 18px; height: 18px; border-radius: 9px; flex: none;
  background: #f4472e; color: #fff; font-size: 10.5px; font-weight: 800;
  display: grid; place-items: center; padding: 0 5px;
}

/* ---------- 聊天页（底部 tab） ---------- */
.chat-page { display: flex; flex-direction: column; height: calc(100dvh - 158px); }
.chat-page-top {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #fff;
  border-bottom: 1px solid var(--fx-line);
}
.chat-page-top b { font-size: 15px; color: var(--fx-ink); }
.chat-page-top .chat-pg-sub { margin-left: auto; font-size: 10.5px; color: #a7b1bd; }
.chat-bell {
  flex: none; width: 30px; height: 30px; margin-left: auto;
  border: 1px solid #e6ecf2; border-radius: 15px; background: #f7f9fb;
  font-size: 15px; line-height: 1; cursor: pointer; padding: 0;
}
.chat-page-top .chat-pg-sub + .chat-bell,
.chat-gacts + .chat-bell { margin-left: 6px; }
.chat-page-top > .chat-sw + .chat-bell { margin-left: auto; }
.chat-back {
  width: 28px; height: 28px; border: 1px solid #e6ecf2; border-radius: 14px;
  background: #f7f9fb; color: #5d6b7a; font-size: 16px; line-height: 1; cursor: pointer; flex: none;
}
.chat-page-body {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: 12px 14px 4px; background: #f6f7f9;
}

/* 群聊 */
.chat-members {
  display: flex; gap: 6px; align-items: center; overflow-x: auto;
  padding: 8px 14px; background: #fff; border-bottom: 1px solid var(--fx-line);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.chat-members::-webkit-scrollbar { display: none; }
.cm-count {
  flex: none; font-size: 11px; font-weight: 800; color: var(--fx-red);
  background: var(--v2-pri-soft, #fff1ea); border-radius: 10px; padding: 3px 9px;
  margin-right: 2px; white-space: nowrap;
}
.cm-chip {
  flex: none; display: inline-flex; align-items: center; gap: 4px; cursor: default;
  background: #f4f6f9; border: 1px solid #e9eef3; border-radius: 14px;
  padding: 3px 9px 3px 4px; font-size: 11.5px; color: #45525f; font-weight: 600;
  white-space: nowrap;
}
.cm-chip i {
  font-style: normal; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, #ff8a4d, #f0430f); color: #fff;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 800;
}
/* 在线成员：绿色描边 + 小绿点 */
.cm-chip.on { background: #eefaf2; border-color: #bfe9cf; color: #16794a; }
.cm-chip.on i { background: linear-gradient(140deg, #5ed69a, #16a34a); }
.cm-chip .cm-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  margin-left: 1px; flex: none; box-shadow: 0 0 0 2px rgba(34,197,94,.16);
}
.cm-chip.cm-more { color: #8d9aa7; background: #f7f9fb; }
.chat-sw {
  display: flex; gap: 4px; margin: 0 auto;
  background: #f1f4f7; border-radius: 16px; padding: 3px;
}
.chat-sw button {
  border: 0; background: transparent; border-radius: 13px;
  padding: 6px 18px; font-size: 13px; font-weight: 700; color: #71818f; cursor: pointer;
}
.chat-sw button.on { background: #fff; color: var(--fx-red); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08); }
.chat-who {
  display: block; font-style: normal; font-size: 10.5px; color: #8b98a5;
  margin: 0 4px 2px;
}
.chat-row.me .chat-who { text-align: right; }

/* 强制填名字弹层 */
.fx-name-gate {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(15, 23, 42, 0.45);
}
.fng-card {
  width: 100%; max-width: 320px; background: #fff; border-radius: 18px;
  padding: 22px 18px 18px; box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.4);
}
.fng-card b { font-size: 17px; color: #1c2430; }
.fng-card p { font-size: 12.5px; color: #5d6b7a; margin: 8px 0 14px; line-height: 1.5; }
.fng-card input {
  width: 100%; height: 44px; border: 1px solid #e2e8ee; border-radius: 12px;
  padding: 0 14px; font-size: 15px; color: #1c2430; outline: none;
}
.fng-card input:focus { border-color: #ff5112; }
.fng-card button {
  width: 100%; height: 44px; margin-top: 12px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.fng-btns { display: flex; gap: 10px; }
.fng-btns button { margin-top: 14px; }
.fng-btns button:first-child {
  background: #f1f3f6; color: #5d6b7a; flex: none; width: 40%;
}
/* 多群切换 */
.chat-sw-multi { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.chat-sw-multi button {
  flex: none; padding: 6px 14px; border-radius: 16px; border: 1px solid #e2e8ee;
  background: #fff; color: #5d6b7a; font-size: 12.5px; font-weight: 600;
}
.chat-sw-multi button.on { background: linear-gradient(135deg, #ff8a4d, #ff5112); border-color: transparent; color: #fff; }
/* 店主群操作 */
.chat-gacts { display: flex; gap: 6px; flex: none; }
.chat-gacts button {
  border: 1px solid #ffd2bd; background: #fff4ef; color: #ff5112;
  border-radius: 14px; padding: 5px 12px; font-size: 12px; font-weight: 700;
}
/* 会话列表：新建群聊 */
.ct-th-newgroup {
  width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px dashed #ffb894;
  background: #fff7f3; color: #ff5112; border-radius: 14px; font-weight: 700; font-size: 14px;
}
/* 邀请弹层 */
.fx-name-gate { overflow-y: auto; }
.fng-wide { max-height: 86vh; overflow-y: auto; }
.fgi-sec { font-size: 12px; color: #94a2b0; font-weight: 700; margin: 12px 0 6px; }
.fgi-list { max-height: 200px; overflow-y: auto; border: 1px solid #eef1f5; border-radius: 10px; }
.fgi-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 12px; border-bottom: 1px solid #f1f3f6; font-size: 14px; color: #1c2430;
}
.fgi-row:last-child { border-bottom: 0; }
.fgi-row i { font-style: normal; color: #a7b1bd; font-size: 12px; }
.fgi-row input[type="checkbox"] { width: 17px; height: 17px; accent-color: #ff5112; }
.fgi-del {
  border: 0; background: #fff1ef; color: #e23c2a; border-radius: 12px;
  padding: 4px 10px; font-size: 12px; font-weight: 700;
}
.fgi-empty { padding: 14px; font-size: 12.5px; color: #94a2b0; text-align: center; }
.fng-card input[type="text"] { margin-top: 4px; }
.ct-th-avatar.gav { background: linear-gradient(140deg, #ff8a4d, #f0430f); }
.shop-head::before { width: 150px; height: 150px; right: -40px; top: -60px; background: rgba(255, 255, 255, 0.14); }
.shop-head::after { background: rgba(255, 255, 255, 0.08); }
.shop-logo {
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  box-shadow: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.shop-title h2 { color: #fff; font-size: 20px; }
.shop-badge {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.shop-date { color: rgba(255, 255, 255, 0.92); font-weight: 600; }
.shop-tags span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.shop-actions button {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff; box-shadow: none; height: 44px; font-size: 12.5px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.shop-actions button i { display: grid; place-items: center; }
.shop-actions button i svg { width: 16px; height: 16px; }
.shop-sync .sync-chip { background: rgba(0, 0, 0, 0.16); border: 0; color: rgba(255, 255, 255, 0.95); }
.shop-sync .sync-chip i { background: #7dffb8; }
.shop-sync .sync-chip.loading i { background: #ffd166; }
.shop-note { color: rgba(255, 255, 255, 0.85); }

/* 分析页店铺头同款 */
.ana-shop {
  background: linear-gradient(135deg, #ff8a4d 0%, #ff5112 58%, #f0430f 100%);
  box-shadow: 0 18px 40px -26px rgba(240, 67, 15, 0.75);
}
.ana-shop::before { background: rgba(255, 255, 255, 0.14); }
.ana-shop-name h2 { color: #fff; }
.ana-shop .shop-badge { background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }
.ana-acts button {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: none; color: #fff;
}
.ana-acts button svg { width: 16px; height: 16px; }
.ana-tags span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ---------- 方案卡 ---------- */
.plan-card {
  background: var(--v2-card);
  border: 1px solid var(--fx-line);
  border-radius: 16px;
  box-shadow: var(--v2-sh);
  padding: 14px 14px 15px;
}
.plan-card b { font-size: 15px; font-weight: 800; color: var(--fx-ink); }
.plan-card span { font-size: 11.5px; color: var(--fx-sub); margin-top: 3px; }
.plan-card .pi {
  position: absolute; right: 12px; top: 12px;
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center; font-style: normal; font-size: 0;
}
.plan-card .pi svg { width: 18px; height: 18px; }
.pi.pa { background: #edf3ff; color: var(--v2-blue); }
.pi.pb2 { background: var(--v2-pri-soft); color: var(--fx-red); }

/* ---------- 宫格功能区 ---------- */
.icon-grid {
  display: flex;
  background: var(--v2-card);
  border: 1px solid var(--fx-line);
  border-radius: 16px;
  box-shadow: var(--v2-sh);
  padding: 13px 4px 11px;
  gap: 0;
}
.icon-grid button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: none; border: 0; padding: 0;
}
.icon-grid button span { font-size: 11px; color: var(--v2-ink2); font-weight: 600; }
.icon-grid .ig {
  width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center; font-style: normal; font-size: 0;
}
.icon-grid .ig svg { width: 21px; height: 21px; }
.icon-grid .ig1 { background: #ffece0; color: #f04a0e; }
.icon-grid .ig2 { background: #e8f0ff; color: #2f6fe4; }
.icon-grid .ig3 { background: #e3f7ee; color: #0ba26e; }
.icon-grid .ig4 { background: #ece7ff; color: #6a46e0; }
.icon-grid .ig5 { background: #fff3d9; color: #c4861d; }
.icon-grid .ig { box-shadow: none; }

/* ---------- 玩法切换（分段控件） ---------- */
.day-head { padding: 4px 2px 10px; align-items: center; }
.sport-tabs {
  display: flex; gap: 2px;
  background: #e9ebef; border-radius: 11px; padding: 3px;
}
.sport-tabs button {
  flex: 0 0 auto; min-width: 64px; height: 31px; padding: 0 12px;
  border: 0; background: transparent; border-radius: 9px;
  font-size: 13px; font-weight: 700; color: #5c6470;
}
.sport-tabs button.on {
  background: #fff; color: var(--fx-ink);
  box-shadow: 0 1px 4px rgba(24, 28, 36, 0.14);
}
.day-more { font-size: 12px; color: var(--fx-sub); font-weight: 600; }

/* ---------- 首页比赛卡（含 AI 倾向条） ---------- */
.match-grid { gap: 10px; }
.mg-card {
  background: var(--v2-card);
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  box-shadow: var(--v2-sh);
  padding: 11px 12px 10px;
}
.mg-top b { color: var(--v2-ink2); font-size: 11.5px; font-weight: 800; }
.mg-top span {
  background: #f3f5f8; color: var(--fx-sub);
  border-radius: 5px; padding: 1.5px 6px; font-size: 10px; font-weight: 600;
}
.mg-team em { font-size: 12.5px; font-weight: 700; color: var(--fx-ink); }
.mg-vs { color: var(--v2-faint); font-size: 10px; font-weight: 800; }
.mg-foot { color: var(--v2-faint); font-size: 10.5px; }
.mg-foot em {
  font-style: normal; background: #f3f5f8; color: var(--fx-sub);
  border-radius: 5px; padding: 1.5px 6px; font-size: 10px; font-weight: 600;
}
.mg-foot em.live { background: #fdece7; color: var(--fx-red); }
.mg-score { font-family: var(--mono); color: var(--fx-red); font-weight: 800; font-size: 12px; }
.mg-pick {
  display: flex; align-items: center; gap: 6px;
  margin-top: 9px; background: var(--v2-pri-soft);
  border-radius: 9px; padding: 5px 9px;
}
.mg-pick b { font-size: 11.5px; font-weight: 800; color: #c2410c; }
.mg-pick span { font-family: var(--mono); font-size: 11.5px; font-weight: 800; color: var(--fx-red); }
.mg-dots { display: inline-flex; gap: 3px; margin-left: auto; font-style: normal; }
.mg-dots i { width: 4.5px; height: 4.5px; border-radius: 50%; background: #ffd8c4; }
.mg-dots i.on { background: var(--fx-red); }
.mg-ai {
  font-size: 9px; font-weight: 900; font-style: normal;
  color: #fff; background: linear-gradient(135deg, #ffb066, var(--fx-red));
  border-radius: 4px; padding: 1px 4px; letter-spacing: 0.5px;
}
.mg-empty { background: var(--v2-card); border: 1.5px dashed #dfe3e9; border-radius: 14px; }

/* ---------- 区块标题 ---------- */
.sec-head b { position: relative; padding-left: 10px; font-size: 15px; font-weight: 800; }
.sec-head b::before {
  content: ''; position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 3.5px; border-radius: 2px;
  background: linear-gradient(180deg, var(--fx-red-2), var(--fx-red));
}
.sec-sub { color: var(--fx-sub); font-weight: 600; }

/* ---------- 本店热推（渐变卡） ---------- */
.promo {
  color: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: var(--v2-sh-lg);
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}
.promo-hot { background: linear-gradient(155deg, #ff7d4d, #f43b1e); }
.promo-ana { background: linear-gradient(155deg, #9161f8, #6c30ec); }
.promo .pr-head b { color: #fff; font-size: 13.5px; }
.promo .pr-tag { background: rgba(255, 255, 255, 0.18); color: #fff; }
.pr-hot {
  font-size: 9px; font-weight: 900; font-style: italic; color: #fff;
  background: linear-gradient(135deg, #ffd23d, #ff9a1f);
  border-radius: 4px 9px 9px 4px; padding: 2px 8px 2px 6px; letter-spacing: 0.5px;
}
.pr-ico { font-size: 13px; line-height: 1; }
.pr-bd { flex: 1; margin-top: 8px; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-height: 0; }
.pr-nums { display: flex; gap: 18px; margin-top: 2px; }
.promo .pr-num b { font-size: 20px; color: #fff; }
.promo .pr-num span { color: rgba(255, 255, 255, 0.6); }
.pr-rec { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.pr-rec .pr-d { font-weight: 700; color: #fff; }
.pr-rec .pr-w { color: rgba(255, 255, 255, 0.6); }
.pr-rec b { margin-left: auto; font-size: 13.5px; font-weight: 900; color: #ffe14d; letter-spacing: 0.5px; }
.pr-rec b.all { color: #8affc0; }
.pr-hold {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255, 255, 255, 0.16); border-radius: 10px;
  font-size: 11.5px; color: rgba(255, 255, 255, 0.92); min-height: 46px;
}
.pr-hold i { font-style: normal; opacity: 0.85; }
.pr-pill {
  display: block; margin-top: 8px; padding: 4px 0; border-radius: 13px; text-align: center;
  background: rgba(255, 255, 255, 0.92); color: #e8382f; font-size: 10.5px; font-weight: 800;
}
.promo-ana .pr-pill { color: #6c30ec; }

/* ---------- 资讯（两列卡片） ---------- */
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.news-card {
  display: flex; flex-direction: column; gap: 6px; text-align: left; cursor: pointer;
  background: var(--v2-card);
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--v2-sh);
}
.news-card h4 {
  color: var(--fx-ink); font-weight: 800; font-size: 13.5px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card p {
  color: var(--fx-sub); font-size: 11.5px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-foot { display: flex; align-items: center; margin-top: auto; padding-top: 2px; }
.news-tag {
  font-size: 10px; font-weight: 700; color: #8a97a5; background: #f1f4f8;
  padding: 2px 8px; border-radius: 4px; flex-shrink: 0;
}
.news-foot em { margin-left: auto; font-style: normal; font-size: 10.5px; color: #b3bfca; }

/* ---------- 分析页 ---------- */
.ana-tabs button { color: #8a919d; }
.ana-tabs button.on { color: var(--fx-ink); }
.ana-tabs button.on::after { width: 24px; height: 3px; background: var(--fx-red); }
.and-chip { background: var(--v2-card); border: 1px solid transparent; box-shadow: var(--v2-sh); }
.and-chip.on { border-color: #ffc9b5; }
.and-chip.on b { color: var(--fx-red); }
.and-chip.on em { color: var(--fx-red); }
.ana-card {
  background: var(--v2-card);
  border: 1px solid var(--fx-line);
  box-shadow: var(--v2-sh);
}
.ac-st { background: #f3f5f8; color: var(--fx-sub); }
.ac-st.live { background: #fdece7; color: var(--fx-red); }
.ac-st.wait { background: #eef3fa; color: #6b8ab5; }
.ac-rk { background: #f3f5f8; color: var(--fx-sub); }
.ac-badge { box-shadow: 0 3px 8px -3px rgba(24, 28, 36, 0.4); }
.ac-chip { background: var(--v2-pri-soft); border: 1px solid #ffddd0; color: #d9430f; }
.ac-more { color: var(--fx-red); }
.ac-vs { color: var(--v2-faint); }
.ana-empty { background: var(--v2-card); border: 1px solid var(--fx-line); }

/* 分析详情 */
.an-concl { background: var(--v2-pri-soft); border-color: #ffddd0; }
.an-concl .v b { color: #d9430f; }
.ds-card {
  background: var(--v2-card);
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  box-shadow: var(--v2-sh);
}
.ds-hero { background: linear-gradient(135deg, #ff8a4d, #ff5112 58%, #f0430f); }
.pb-bar i { background: linear-gradient(90deg, #ffb06e, #ff7a3d); }
.pb.top .pb-bar i { background: linear-gradient(90deg, #ff7a3d, #ff5112); }
.pb.top .pb-l, .pb.top .pb-v { color: #d9430f; }

/* ---------- 赛程 ---------- */
.date-strip { background: var(--fx-bg); }
.date-chip { background: var(--v2-card); border: 1px solid var(--fx-line); box-shadow: var(--v2-sh); }
.date-chip.on {
  background: linear-gradient(135deg, var(--fx-red-2), var(--fx-red));
  border-color: transparent;
  box-shadow: 0 10px 20px -14px rgba(255, 81, 18, 0.9);
}
.match-card {
  background: var(--v2-card);
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  box-shadow: var(--v2-sh);
}
.mc-league { color: var(--v2-ink2); font-weight: 700; }
.mc-pick { background: var(--v2-pri-soft); border-radius: 10px; }
.pk-val { color: #c2410c; font-weight: 800; }
.pk-odd { color: var(--fx-red); font-family: var(--mono); font-weight: 800; }

/* ---------- 我的 ---------- */
.mine-card {
  background: linear-gradient(135deg, #ff8a4d, #ff5112 58%, #f0430f);
  box-shadow: 0 18px 40px -26px rgba(240, 67, 15, 0.75);
}
.mine-stats .ms-box, .mine-stats > div { background: var(--v2-card); border: 1px solid var(--fx-line); border-radius: 14px; box-shadow: var(--v2-sh); }
.mine-group {
  background: var(--v2-card);
  border: 1px solid var(--fx-line);
  border-radius: 16px;
  box-shadow: var(--v2-sh);
  overflow: hidden;
  padding: 0;
}
.mine-item { background: none; border-bottom: 1px solid var(--fx-line); padding: 13px 14px; }
.mine-item:last-child { border-bottom: 0; }
.mine-item:active { background: #f8f9fb; }
.mi-ico {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-size: 0;
  background: #f3f5f8; color: #5c6470;
}
.mi-ico svg { width: 16px; height: 16px; }
.mi-a { background: var(--v2-pri-soft); color: var(--fx-red); }
.mi-b { background: #edf3ff; color: var(--v2-blue); }
.mi-c { background: #e9f9f0; color: var(--v2-green); }
.mi-d { background: #fff7e6; color: var(--v2-gold); }
.mi-e { background: #f1edff; color: #7c5cf0; }
.mi-f { background: #eaf6ff; color: #0e9fd8; }
.mi-g { background: #e9f9f0; color: #12a15e; }
.mi-x { background: #fdece7; color: #d9430f; }
.mine-item > i { color: var(--v2-faint); font-style: normal; }
.mine-badge { background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.3); }

/* ---------- 奖金优化计算器 ---------- */
.calc-hero { background: linear-gradient(135deg, #ff8a4d, #ff5112 58%, #f0430f); }
.ch-tabs button { background: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.9); border-radius: 9px; }
.ch-tabs button.on { background: #fff; color: var(--fx-red); }
.ch-live { background: rgba(0, 0, 0, 0.16); color: rgba(255, 255, 255, 0.92); }
.ch-live button { color: #fff; background: rgba(255, 255, 255, 0.16); border-radius: 7px; }
.ch-avatar { background: rgba(255, 255, 255, 0.22); border: 1.5px solid rgba(255, 255, 255, 0.4); }
.ch-name b { color: #fff; }
.ch-name span { color: rgba(255, 255, 255, 0.8); }
.calc-match {
  background: var(--v2-card);
  border: 1px solid var(--fx-line);
  border-radius: 14px;
  box-shadow: var(--v2-sh);
}
.cm-head .cm-no { color: var(--v2-ink2); }
.od { border: 1.5px solid var(--fx-line); background: #fff; border-radius: 10px; }
.od.on { background: var(--fx-red); border-color: var(--fx-red); box-shadow: 0 6px 14px -6px rgba(255, 81, 18, 0.55); }
.od.on .ol, .od.on .ov { color: #fff; }
.calc-bar {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--fx-line);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -14px 40px -20px rgba(24, 28, 36, 0.3);
}
.cb-go {
  background: linear-gradient(135deg, var(--fx-red-2), var(--fx-red));
  border-radius: 12px; font-weight: 800;
  box-shadow: 0 8px 18px -8px rgba(255, 81, 18, 0.55);
}
.bb-mid { background: #f7f8fa; border: 1.5px solid var(--fx-line); }
.bb-mid.hl { background: var(--v2-pri-soft); border-color: #ffddd0; color: #d9430f; }
.cm-more { border: 1px solid var(--fx-line); background: #f8f9fb; border-radius: 9px; }
.cm-more.on { color: var(--fx-red); border-color: #ffddd0; background: var(--v2-pri-soft); }

/* ---------- 详情浮层 ---------- */
.detail-sheet { background: var(--fx-bg); }
.ds-bar {
  background: rgba(244, 245, 247, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 28, 36, 0.05);
}
.ds-foot .ghost { background: #fff; border: 1px solid var(--fx-line); color: var(--v2-ink2); }
.ds-foot .primary {
  background: linear-gradient(135deg, var(--fx-red-2), var(--fx-red));
  box-shadow: 0 10px 22px -10px rgba(255, 81, 18, 0.55);
}

/* ---------- 管理浮层弹窗（沿用浅色化） ---------- */
.modal, .sheet-box, .admin-wrap { background: var(--fx-bg); }

/* ---------- 滚动条细节 ---------- */
.match-grid, .ana-dates, .date-strip, .promo-row { scrollbar-width: none; }
.match-grid::-webkit-scrollbar, .promo-row::-webkit-scrollbar { display: none; }

/* 计算器开关与概率条统一主色 */
.csw.on i { background: var(--fx-red) !important; }
.csw { color: var(--v2-ink2); font-weight: 600; }
.od .bar i { background: linear-gradient(90deg, #ffb06e, var(--fx-red)) !important; }
.promo-ai .pr-num b { color: #ffb27e !important; }
.cm-odds .od .ov { font-family: var(--mono); }
.cm-head .cm-time { color: var(--fx-sub); }

/* ============ 确认详情（参考站版式） ============ */
.cf-wrap { padding-bottom: 0; }
.cf-head {
  background: #fff; border-radius: 16px; padding: 14px 14px 12px; margin-bottom: 12px;
  border: 1px solid var(--v2-line, #eef0f3);
}
.cfh-row { display: flex; align-items: center; gap: 10px; }
.cfh-title { font-size: 15px; color: var(--v2-ink, #1f2b38); font-weight: 600; }
.cfh-title b { font-size: 17px; font-weight: 900; margin-right: 6px; color: #ff5112; }
.cfh-btns { margin-left: auto; display: flex; gap: 8px; }
.cf-btn {
  height: 30px; padding: 0 14px; border-radius: 8px; cursor: pointer;
  border: 1px solid #ff5112; background: #fff; color: #ff5112; font-size: 13px; font-weight: 700;
}
.cf-btn.solid, .cf-btn.on { background: #ff5112; color: #fff; }
.cf-btn:active { transform: scale(.96); }
.cfh-amt { margin-top: 12px; font-size: 14px; color: var(--v2-ink2, #5b6a7b); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.cfh-amt input {
  width: 84px; height: 34px; border: 0; border-bottom: 1.5px solid #ffd6c4; background: #fff;
  font-size: 17px; font-weight: 800; color: #ff5112; text-align: center; font-family: var(--mono, monospace);
  border-radius: 6px 6px 0 0; outline: none;
}
.cfh-amt input:focus { border-bottom-color: #ff5112; }
.cfh-mult { margin-left: auto; font-size: 14px; color: var(--v2-ink2, #5b6a7b); font-weight: 600; }
.cfh-mult b { color: #ff5112; font-family: var(--mono, monospace); font-size: 16px; }
.cfh-range { margin-top: 12px; font-size: 14px; color: var(--v2-ink2, #5b6a7b); font-weight: 600; }
.cfh-range b { color: #ff5112; font-family: var(--mono, monospace); font-weight: 800; }
.cfh-range b.hi { font-size: 16px; }
.cfh-range i { font-style: normal; color: #ff5112; font-weight: 900; padding: 0 4px; }

.cf-match {
  background: #fff; border-radius: 16px; padding: 13px 14px 14px; margin-bottom: 12px;
  border: 1px solid var(--v2-line, #eef0f3);
}
.cfm-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--v2-ink, #1f2b38); }
.cfm-top > b { font-size: 15px; font-weight: 900; }
.cfm-top > span { color: #8b96a3; font-family: var(--mono, monospace); }
.cfm-top .cfm-lg { margin-left: auto; font-style: normal; color: #8b96a3; font-size: 12.5px; }
.cfm-dg {
  font-style: normal; font-size: 10.5px; font-weight: 700; color: #ff5112;
  border: 1px solid #ffc7b3; border-radius: 5px; padding: 1px 5px;
}
.cfm-teams {
  display: flex; align-items: center; gap: 6px; margin: 13px 0 13px; font-size: 14.5px;
}
.cfm-teams .cfm-rk { font-style: normal; color: #9aa7b5; font-size: 12px; font-family: var(--mono, monospace); flex: none; }
.cfm-teams .cfm-tg { font-size: 11px; color: #9aa7b5; flex: none; }
.cfm-teams .cfm-tn { font-weight: 800; color: var(--v2-ink, #1f2b38); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfm-teams .cfm-vs { font-style: normal; color: #b3bec9; font-size: 12px; font-weight: 800; padding: 0 3px; flex: none; }
.cfm-teams .tb { flex: none; }
.cfm-teams > .cfm-tn:first-of-type { margin-left: auto; text-align: right; }
.cfm-teams > .cfm-tn:last-of-type { margin-right: auto; }
.cfm-picks { display: flex; gap: 8px; flex-wrap: wrap; }
.cfm-pick {
  min-width: 108px; height: 40px; padding: 0 14px; border-radius: 10px;
  background: linear-gradient(135deg, #ff7a3d, #ff5112); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 700; box-shadow: 0 6px 14px -8px rgba(255, 81, 18, .8);
}
.cfm-pick b { font-size: 14.5px; }
.cfm-pick::after { content: ''; }
.cf-split { margin: 2px 0 12px; }
.cf-split .cr-row { background: #fff; border: 1px solid var(--v2-line, #eef0f3); border-radius: 12px; }
.cf-note i { font-style: normal; color: #ff5112; font-weight: 800; }
.cf-bar {
  position: sticky; bottom: 0; z-index: 4; display: flex; gap: 10px;
  padding: 10px 2px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(247, 248, 250, 0), #f7f8fa 35%);
}
.cf-bar button {
  flex: 1; height: 46px; border: 0; border-radius: 12px; cursor: pointer;
  font-size: 16px; font-weight: 800; letter-spacing: 1px;
}
.cf-bar #cfPoster { background: #fff; color: #ff5112; border: 1.5px solid #ffb598; }
.cf-bar #cfSave { background: linear-gradient(135deg, #ff7a3d, #ff5112); color: #fff; box-shadow: 0 8px 18px -8px rgba(255, 81, 18, .7); }
.cf-bar button:active { transform: scale(.98); }

/* 确认详情顶栏 */
.cf-wrap .ds-bar, .detail-sheet .ds-bar b { color: var(--v2-ink, #1f2b38); }
.detail-sheet .ds-bar { justify-content: flex-start; }
.detail-sheet .ds-bar b { font-size: 16.5px; font-weight: 900; letter-spacing: 1px; }

/* ============ 我的方案（参考站版式） ============ */
.pl-wrap { padding-bottom: 40px; }
.pl-filters {
  background: #fff; border-radius: 16px; padding: 14px 14px 4px; margin-bottom: 14px;
  border: 1px solid var(--v2-line, #eef0f3);
}
.pl-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.pl-chip {
  height: 36px; padding: 0 18px; border-radius: 20px; cursor: pointer;
  border: 1px solid var(--v2-line, #eef0f3); background: #f7f8fa; color: var(--v2-ink2, #5b6a7b);
  font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px;
}
.pl-chip .pl-cal { width: 14px; height: 14px; }
.pl-chip.on { background: #fff3ec; border-color: #ffc7b3; color: #ff5112; }
.pl-custom { display: flex; align-items: center; gap: 8px; padding: 10px 0 4px; }
.pl-custom.hidden { display: none; }
.pl-custom input {
  flex: 1; height: 36px; border: 1px solid var(--v2-line, #eef0f3); border-radius: 9px;
  background: #f7f8fa; padding: 0 10px; font-size: 13px; color: var(--v2-ink, #1f2b38); outline: none;
}
.pl-custom span { font-size: 12.5px; color: var(--v2-ink2, #5b6a7b); }
.pl-apply {
  height: 36px; padding: 0 16px; border: 0; border-radius: 9px; cursor: pointer;
  background: linear-gradient(135deg, #ff7a3d, #ff5112); color: #fff; font-size: 13.5px; font-weight: 800;
}
.pl-strow { display: flex; gap: 22px; padding: 12px 0 12px; }
.pl-st {
  position: relative; border: 0; background: none; cursor: pointer; padding: 0 0 8px;
  font-size: 14.5px; font-weight: 700; color: var(--v2-ink2, #5b6a7b);
}
.pl-st.on { color: var(--v2-ink, #1f2b38); font-weight: 800; }
.pl-st.on::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 24px; height: 3px; border-radius: 2px; background: #ff5112;
}
.pl-card {
  display: flex; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--v2-line, #eef0f3); border-radius: 16px;
  overflow: hidden; padding: 0; margin-bottom: 12px;
}
.pl-card:active { transform: scale(.99); }
.pl-sp {
  flex: 0 0 118px; padding: 18px 12px 14px; color: #fff;
  background: linear-gradient(160deg, #ff8a4d, #ff5112 70%, #f0430f);
  position: relative; overflow: hidden;
}
.pl-sp::after {
  content: ''; position: absolute; right: -14px; bottom: -14px; width: 64px; height: 64px;
  border-radius: 14px; background: rgba(255, 255, 255, .18); transform: rotate(12deg);
}
.pl-sp em { display: block; font-style: normal; font-size: 12px; opacity: .92; font-weight: 600; }
.pl-sp b { display: block; font-size: 30px; font-weight: 900; margin-top: 6px; font-family: var(--mono, monospace); letter-spacing: .5px; }
.pl-body { flex: 1; min-width: 0; padding: 13px 14px 11px; }
.pl-row1 { display: flex; align-items: center; gap: 7px; }
.pl-lg {
  flex: none; font-style: normal; font-size: 11px; font-weight: 700; color: #ff5112;
  background: #fff3ec; border: 1px solid #ffd2bd; border-radius: 6px; padding: 2px 7px;
}
.pl-teams { font-size: 15px; font-weight: 800; color: var(--v2-ink, #1f2b38); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-chev { margin-left: auto; font-style: normal; color: #c3ccd6; font-size: 17px; font-weight: 800; flex: none; }
.pl-mid { margin-top: 10px; font-size: 13px; color: var(--v2-ink2, #5b6a7b); font-weight: 600; }
.pl-bot { display: flex; align-items: flex-end; margin-top: 10px; }
.pl-bot > span { font-size: 12px; color: #9aa7b5; line-height: 1.7; }
.pl-badge { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 800; color: #ff5112; }
.pl-badge.win { color: #0ba26e; }
.pl-badge.lose { color: #9aa7b5; }
.pl-empty {
  background: #fff; border: 1px solid var(--v2-line, #eef0f3); border-radius: 16px;
  padding: 40px 20px; text-align: center; font-size: 13px; color: #9aa7b5; line-height: 2;
}
.pl-empty b { font-size: 34px; }
.pd-badge {
  margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 800; color: #ff5112;
  background: #fff3ec; border: 1px solid #ffd2bd; border-radius: 8px; padding: 3px 10px;
}
.pd-badge.win { color: #0ba26e; background: #e9f9f0; border-color: #bfe9d4; }
.pd-badge.lose { color: #9aa7b5; background: #f4f5f7; border-color: #e3e6ea; }
.cfh-amt b { color: #ff5112; font-family: var(--mono, monospace); }

/* ============ 用户黑名单 ============ */
#blockedGate {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: #f4f5f7;
}
#blockedGate.hidden { display: none; }
.bg-card {
  width: min(320px, 84vw); background: #fff; border-radius: 18px; padding: 34px 24px 26px;
  text-align: center; border: 1px solid var(--v2-line, #eef0f3); box-shadow: 0 20px 50px -30px rgba(31, 43, 56, .35);
}
.bg-card .bg-ico { font-size: 44px; }
.bg-card h3 { margin: 12px 0 8px; font-size: 19px; font-weight: 900; color: var(--v2-ink, #1f2b38); }
.bg-card p { font-size: 13px; color: var(--v2-ink2, #5b6a7b); line-height: 1.8; }
.bg-card .bg-qr {
  display: block; width: 190px; max-width: 78%; margin: 16px auto 8px;
  border-radius: 12px; box-shadow: 0 6px 18px rgba(20, 40, 70, .12);
}
.bg-card .bg-qr-tip { font-size: 11.5px; color: #9aa7b5; margin-bottom: 4px; }
.bg-card button {
  margin-top: 20px; width: 100%; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #ff7a3d, #ff5112); color: #fff; font-size: 15px; font-weight: 800;
}
/* 用户后台拉黑按钮 */
.ua-row { cursor: pointer; }
.ua-block {
  flex: none; margin-left: 6px; height: 30px; padding: 0 12px; border-radius: 9px; cursor: pointer;
  border: 1px solid #ffd2bd; background: #fff3ec; color: #ff5112; font-size: 12px; font-weight: 700;
}
.ua-block.on { border-color: #cbd5df; background: #f4f5f7; color: #5b6a7b; }
.ua-block:disabled { opacity: .5; }
.ua-block.big { width: 100%; height: 42px; margin: 0 0 12px; font-size: 14px; }
.ua-tag.blk { background: #fdecec; color: #c0392b; border-color: #f5c6c6; }

/* ==========================================================
   比赛结果页（照官方赛果样式）
   ========================================================== */
#view-results { padding-bottom: 88px; }
.res-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 4px;
}
.res-nav button {
  width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: #5b6a7b; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--v2-sh); border: 1px solid var(--fx-line);
}
.res-nav button svg { width: 18px; height: 18px; }
.res-nav b { font-size: 17px; font-weight: 900; color: var(--fx-ink); letter-spacing: 1px; }
.res-nav i { width: 34px; }

.res-filter {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 4px; gap: 10px;
}
.res-sports { display: flex; gap: 4px; background: #fff; border-radius: 12px; padding: 4px; border: 1px solid var(--fx-line); box-shadow: var(--v2-sh); }
.res-sports button {
  border: 0; background: transparent; cursor: pointer; height: 32px; padding: 0 16px;
  border-radius: 9px; font-size: 14px; font-weight: 700; color: #5b6a7b;
}
.res-sports button.on {
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff;
  box-shadow: 0 4px 10px -4px rgba(255, 81, 18, 0.55);
}
.res-date-wrap { position: relative; }
.res-date {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; cursor: pointer;
  border: 1.5px solid #ff5112; background: #fff3ed; color: #ff5112; border-radius: 11px;
  font-size: 14px; font-weight: 800; box-shadow: var(--v2-sh);
}
.res-date i { font-style: normal; font-size: 11px; transform: translateY(-1px); }
.res-date-wrap input {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}

.res-banner {
  margin: 10px 14px 0; height: 110px; border-radius: 16px; overflow: hidden; position: relative;
  background: linear-gradient(118deg, #0d3a8f 0%, #1f5cc0 55%, #3d7fe0 100%);
  box-shadow: 0 14px 30px -18px rgba(13, 58, 143, 0.65);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.res-banner::after {
  content: ''; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.08);
}
.res-banner::before {
  content: ''; position: absolute; right: 40px; bottom: -46px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.06);
}
.res-banner .rb-ball { position: absolute; right: 18px; top: 16px; width: 46px; height: 46px; color: rgba(255, 255, 255, 0.5); }
.rb-chip {
  background: linear-gradient(135deg, #ff6a4d, #e8402a); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; letter-spacing: 1px; box-shadow: 0 3px 8px -2px rgba(232, 64, 42, 0.5);
}
.res-banner b {
  font-size: 26px; font-weight: 900; letter-spacing: 3px; color: #fff;
  text-shadow: 0 2px 0 rgba(9, 44, 110, 0.55), 0 6px 18px rgba(9, 44, 110, 0.45);
}

.res-stats {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 8px; margin: 10px 14px 0;
}
.rs-big {
  border-radius: 12px; padding: 10px 12px 8px; color: #fff;
  background: linear-gradient(140deg, #2a5ab4, #3a6fc9); box-shadow: 0 8px 18px -12px rgba(42, 90, 180, 0.7);
}
.rs-l { font-size: 11px; opacity: 0.85; font-weight: 600; }
.rs-big .rs-n { font-size: 26px; font-weight: 900; color: #ffe27a; line-height: 1.15; margin-top: 2px; }
.rs-big .rs-n em { font-style: normal; font-size: 12px; font-weight: 700; margin-left: 4px; color: #ffd98a; }
.rs-s { font-size: 10.5px; opacity: 0.85; margin-top: 1px; }
.rs-box {
  border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: linear-gradient(140deg, #2a5ab4, #3a6fc9); color: #fff; padding: 8px 0;
  box-shadow: 0 8px 18px -12px rgba(42, 90, 180, 0.7);
}
.rs-box .rs-n { font-size: 22px; font-weight: 900; color: #ffe27a; line-height: 1.1; }
.rs-box .rs-l { font-size: 11px; opacity: 0.85; font-weight: 600; }

.res-list { padding: 10px 14px 0; display: flex; flex-direction: column; gap: 10px; }
.res-card {
  border-radius: 14px; overflow: hidden; color: #fff;
  background: linear-gradient(165deg, #1d4aa6 0%, #2a5cb8 62%, #3168c4 100%);
  box-shadow: 0 12px 26px -16px rgba(29, 74, 166, 0.75);
  position: relative;
}
.res-card::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px;
  border-radius: 0 4px 4px 0; background: linear-gradient(180deg, #ff8a4d, #ff5112);
}
.res-card.rc-wait { opacity: 0.82; }
.res-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px 0 16px; }
.res-head b { font-size: 14.5px; font-weight: 800; letter-spacing: 0.5px; }
.res-head .rh-lg { font-size: 11px; opacity: 0.78; }
.res-head .rh-date { margin-left: auto; font-size: 11.5px; opacity: 0.82; }
.res-vs { display: flex; align-items: center; padding: 8px 14px 6px 16px; gap: 8px; }
.rv-team { flex: 1; display: flex; align-items: center; }
.rv-team:first-child { justify-content: flex-end; text-align: right; }
.rv-team b { font-size: 15px; font-weight: 800; }
.rv-score {
  min-width: 96px; text-align: center; font-size: 22px; font-weight: 900; color: #ffe27a;
  letter-spacing: 1px; text-shadow: 0 2px 8px rgba(9, 44, 110, 0.4);
}
.rv-score em { font-style: normal; font-size: 12px; font-weight: 700; color: #ffd98a; margin-left: 4px; }
.res-cells {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px;
  margin: 2px 10px 10px 12px; padding: 8px 4px; border-radius: 10px;
  background: rgba(9, 34, 88, 0.28);
}
.res-cell { text-align: center; padding: 2px 0; }
.rc-l { font-size: 10.5px; opacity: 0.75; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-v { font-size: 14.5px; font-weight: 900; margin-top: 2px; letter-spacing: 0.5px; }
.rc-o { font-size: 11px; color: #ffd98a; font-weight: 700; margin-top: 2px; }
.rc-warn .rc-v { color: #ffe27a; }

.res-empty {
  margin: 24px 14px; padding: 40px 20px; text-align: center; border-radius: 16px;
  background: #fff; border: 1px dashed #d9dfe8; color: #8a919d; font-size: 13.5px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.res-empty .spinner { width: 26px; height: 26px; }

.res-foot {
  margin: 14px 14px 0; text-align: center; font-size: 11px; color: #9aa3b0; line-height: 1.7;
}
.res-stats.rs-two { grid-template-columns: 1.6fr 1fr 1fr; }
.rc-vs { font-size: 11.5px; letter-spacing: 0; padding-top: 3px; }

/* ==========================================================
   AI大数据（海报墙）
   ========================================================== */
#view-aidata { padding-bottom: 88px; }
.ad-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 4px;
}
.ad-nav button {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: #fff; color: #5b6a7b; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--v2-sh); border: 1px solid var(--fx-line);
}
.ad-nav button svg { width: 18px; height: 18px; }
.ad-nav b { font-size: 17px; font-weight: 900; color: var(--fx-ink); letter-spacing: 1px; }
.ad-nav i { width: 34px; }
.ad-up {
  height: 30px; padding: 0 12px; display: flex; align-items: center; cursor: pointer;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff;
  border-radius: 999px; font-size: 12.5px; font-weight: 800;
  box-shadow: 0 4px 10px -4px rgba(255, 81, 18, 0.55); white-space: nowrap;
}
/* 作者样式的 display 会覆盖 hidden 属性，这里显式兜底：非店主不显示管理按钮 */
.ad-up[hidden], .ad-navbtn[hidden] { display: none !important; }
.ad-tip {
  margin: 6px 14px 0; font-size: 11.5px; color: #9aa3b0; text-align: center;
}
.ad-list { padding: 10px 14px 0; display: flex; flex-direction: column; gap: 14px; }
.ad-card {
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--fx-line); box-shadow: 0 10px 24px -18px rgba(16, 24, 40, 0.35);
  position: relative;
}
.ad-title {
  padding: 11px 14px; font-size: 14.5px; font-weight: 800; color: var(--fx-ink);
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #f1f3f7;
}
.ad-title::before {
  content: ''; width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, #ff8a4d, #ff5112);
}
.ad-imgwrap { position: relative; background: #f7f8fa; }
.ad-imgwrap img { display: block; width: 100%; height: auto; }
.ad-del {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(16, 24, 40, 0.55); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.ad-empty {
  margin: 24px 14px; padding: 40px 20px; text-align: center; border-radius: 16px;
  background: #fff; border: 1px dashed #d9dfe8; color: #8a919d; font-size: 13.5px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.ad-empty .spinner { width: 26px; height: 26px; }

/* --- AI大数据 实时同步（数据源海报） --- */
.ad-live {
  margin: 12px 14px 0; padding: 12px 12px 10px; border-radius: 16px;
  background: #fff; border: 1px solid var(--fx-line);
  box-shadow: 0 10px 26px -20px rgba(16, 24, 40, .45);
}
.adl-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.adl-t { display: flex; align-items: center; gap: 7px; min-width: 0; }
.adl-t b { font-size: 13.5px; font-weight: 900; color: var(--fx-ink); white-space: nowrap; }
.adl-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #1a9e5c; flex: none;
  box-shadow: 0 0 0 3px rgba(26, 158, 92, .16); animation: adlPulse 1.8s ease-in-out infinite;
}
@keyframes adlPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.adl-ts { font-size: 11px; color: #9aa3b0; white-space: nowrap; }
.adl-btn {
  flex: none; height: 28px; padding: 0 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--fx-line); background: #fff8f3; color: #ff5112;
  font-size: 11.5px; font-weight: 800;
}
.adl-btn:disabled { opacity: .55; }
.adl-tabs { display: flex; gap: 8px; margin-top: 11px; }
.adl-tabs button {
  height: 30px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--fx-line); background: #f7f8fa; color: #7b8492;
  font-size: 12.5px; font-weight: 800;
}
.adl-tabs button.on {
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff; border-color: transparent;
  box-shadow: 0 5px 12px -6px rgba(255, 81, 18, .7);
}
.adl-body { margin-top: 11px; display: flex; flex-direction: column; gap: 12px; }
.adl-body .ad-empty { margin: 0; padding: 26px 16px; }
.adl-card { box-shadow: none; }
.adl-new {
  margin-left: auto; font-size: 10.5px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); padding: 2px 8px; border-radius: 999px;
}
.adl-img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.adl-foot { margin-top: 10px; text-align: center; font-size: 11px; color: #9aa3b0; line-height: 1.6; }
.adl-foot.bad { color: #e0552a; font-weight: 700; }
.ad-own-title {
  margin: 14px 14px 0; font-size: 14px; font-weight: 900; color: var(--fx-ink);
  display: flex; align-items: center; gap: 8px;
}
.ad-own-title[hidden] { display: none !important; }
.ad-own-title::before {
  content: ''; width: 4px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, #ff8a4d, #ff5112);
}
.ad-own-count { margin-left: auto; font-size: 11px; font-weight: 600; color: #9aa3b0; }

/* --- AI大数据 付费（VIP 标签 / 卡密 / 付费墙） --- */
.ad-nav .ad-navbtn {
  width: auto; height: 30px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  background: #fff; color: #5b6a7b; font-size: 12.5px; font-weight: 800;
  border: 1px solid var(--fx-line); box-shadow: var(--v2-sh);
  display: flex; align-items: center; white-space: nowrap;
}
.ad-codes {
  margin: 10px 14px 0; padding: 10px 12px 12px; border-radius: 14px;
  background: #fff; border: 1px solid var(--fx-line);
  box-shadow: 0 8px 20px -18px rgba(16, 24, 40, 0.3);
}
.ad-codes.hidden { display: none; }
.adc-head { font-size: 11.5px; color: #9aa3b0; font-weight: 700; padding: 2px 2px 8px; }
.adc-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px;
  border-top: 1px solid #f1f3f7; cursor: pointer; font-size: 13px;
}
.adc-row b { font-family: ui-monospace, Consolas, monospace; letter-spacing: 1.5px; color: var(--fx-ink); }
.adc-days { font-size: 11.5px; color: #ff5112; font-weight: 800; background: #fff3ec; padding: 2px 8px; border-radius: 999px; }
.adc-ok { margin-left: auto; font-size: 11.5px; color: #1a9e5c; font-weight: 700; }
.adc-used { margin-left: auto; font-size: 11.5px; color: #9aa3b0; }
.ad-paywall {
  margin: 26px 14px 0; padding: 30px 22px 26px; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, #fff, #fff8f3);
  border: 1px solid var(--fx-line); box-shadow: 0 14px 30px -22px rgba(16, 24, 40, 0.4);
}
.ad-paywall.hidden { display: none; }
.pw-icon { font-size: 40px; line-height: 1; }
.pw-title { margin-top: 10px; font-size: 18px; font-weight: 900; color: var(--fx-ink); letter-spacing: 1px; }
.pw-price { margin-top: 8px; font-size: 26px; font-weight: 900; color: #ff5112; line-height: 1; }
.pw-price span { font-size: 12px; font-weight: 700; color: #9aa3b0; margin-left: 4px; }
/* 付费套餐：日 / 周 / 月 / 季，价格由店主在后台随时修改 */
.pw-plans { display: flex; gap: 8px; margin: 16px 0 4px; overflow-x: auto; padding: 2px 0 6px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pw-plans::-webkit-scrollbar { display: none; }
.pw-plan { position: relative; flex: 1 0 84px; min-width: 84px; padding: 11px 6px 10px;
  border: 1.5px solid var(--fx-line); border-radius: 12px; background: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
  font-family: inherit; transition: border-color .15s, background .15s, transform .15s; }
.pw-plan:active { transform: scale(.97); }
.pw-plan b { font-size: 12.5px; font-weight: 800; color: var(--fx-ink); white-space: nowrap; }
.pw-plan em { font-size: 17px; font-style: normal; font-weight: 900; color: #ff5112; line-height: 1.2; }
.pw-plan span { font-size: 10px; color: #9aa3b0; white-space: nowrap; }
.pw-plan.on { border-color: #ff7a3d; background: #fff5ef; box-shadow: 0 4px 12px -8px rgba(255,81,18,.8); }
.pw-plan.on b { color: #d9430c; }
.pw-plan-tag { position: absolute; top: -8px; right: -3px; padding: 1px 6px; border-radius: 8px;
  background: linear-gradient(135deg,#ff9a5a,#ff5112); color: #fff; font-size: 9px; font-style: normal;
  font-weight: 800; letter-spacing: .3px; box-shadow: 0 2px 6px -2px rgba(255,81,18,.6); }
.pw-desc { margin-top: 8px; font-size: 12.5px; color: #8a919d; line-height: 1.7; }
.pw-state { margin-top: 6px; font-size: 12px; }
.pw-expired { color: #e0552a; font-weight: 700; }
.pw-row { margin-top: 16px; display: flex; gap: 8px; }
.pw-row input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--fx-line); background: #fff; font-size: 15px;
  font-family: ui-monospace, Consolas, monospace; letter-spacing: 2px; color: var(--fx-ink);
}
.pw-row input:focus { outline: none; border-color: #ff8a4d; }
.pw-row button {
  height: 44px; padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff;
  font-size: 14px; font-weight: 900; white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(255, 81, 18, 0.55);
}
.pw-row button:disabled { opacity: 0.6; }
.pw-msg { min-height: 18px; margin-top: 8px; font-size: 12px; color: #e0552a; font-weight: 700; }
.pw-pending { margin-top: 14px; }
.pw-pending.hidden { display: none; }
.pwp-spin {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 12px; border-radius: 12px; background: #fff7ef;
  border: 1px dashed #ffc9a3; color: #e0552a; font-size: 13px; font-weight: 800;
}
.pwp-spin .spinner { width: 24px; height: 24px; }
.pwp-spin small { font-size: 11px; font-weight: 500; color: #9aa3b0; }
.pwp-reject {
  padding: 12px; border-radius: 12px; background: #fff2f2;
  border: 1px dashed #f3b7b7; color: #c94141; font-size: 12.5px; font-weight: 700;
}
.ao-list { margin: 10px 14px 0; border-radius: 14px; background: #fff; border: 1px solid var(--fx-line); overflow: hidden; }
.ao-row { display: flex; align-items: center; padding: 12px 14px; border-top: 1px solid #f1f3f7; gap: 10px; }
.ao-row:first-child { border-top: 0; }
.ao-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ao-info b { font-size: 14px; color: var(--fx-ink); }
.ao-info span { font-size: 11px; color: #9aa3b0; }
.ao-acts { display: flex; gap: 8px; }
.ao-ok {
  height: 34px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff; font-size: 13px; font-weight: 800;
}
.ao-no { height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer; background: #fff; border: 1px solid var(--fx-line); color: #8a919d; font-size: 13px; font-weight: 700; }
.ao-empty { padding: 36px 20px; text-align: center; color: #8a919d; font-size: 13.5px; }

/* --- 付费管理独立窗口 --- */
.pm-sec {
  margin: 12px 14px 0; padding: 14px 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--fx-line);
  box-shadow: 0 8px 20px -18px rgba(16, 24, 40, 0.3);
}
.pm-title {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 15px; font-weight: 900; color: var(--fx-ink); margin-bottom: 10px;
}
.pm-title span { font-size: 11.5px; font-weight: 700; color: #9aa3b0; }
.pm-gen {
  width: 100%; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff;
  font-size: 14.5px; font-weight: 900; margin-bottom: 12px;
  box-shadow: 0 6px 14px -6px rgba(255, 81, 18, 0.55);
}
/* 店主：套餐与价格设置 */
.pm-plan-sel { width: 100%; height: 40px; padding: 0 10px; border-radius: 10px;
  border: 1.5px solid var(--fx-line); background: #fbfcfe; font-size: 13.5px;
  font-family: inherit; color: var(--fx-ink); margin-bottom: 8px; }
.pm-cfg-hd, .pm-cfg-row { display: grid; grid-template-columns: 1.2fr .7fr .9fr auto;
  gap: 6px; align-items: center; }
.pm-cfg-hd { font-size: 10.5px; color: #a3aeb9; font-weight: 700; padding: 0 2px 4px; }
.pm-cfg-row { padding: 8px 0; border-top: 1px dashed #eef1f5; }
.pm-cfg-row:first-child { border-top: 0; }
.pm-cfg-row input[type=text], .pm-cfg-row input[type=number] {
  width: 100%; height: 36px; padding: 0 8px; border-radius: 9px; min-width: 0;
  border: 1.5px solid var(--fx-line); background: #fbfcfe; font-size: 13px;
  color: var(--fx-ink); font-family: inherit; }
.pm-cfg-row label { display: flex; align-items: center; gap: 4px; font-size: 11px;
  color: #7c8896; white-space: nowrap; }
.pm-cfg-del { width: 30px; height: 30px; border: 0; border-radius: 8px; cursor: pointer;
  background: #fff0ee; color: #d94b32; font-size: 15px; }
.pm-cfg-global { display: flex; flex-direction: column; gap: 7px; margin: 6px 0 12px; }
.pm-cfg-global label { font-size: 11.5px; color: #7c8896; font-weight: 700; }
.pm-cfg-global input { width: 100%; height: 38px; padding: 0 10px; border-radius: 10px;
  border: 1.5px solid var(--fx-line); background: #fbfcfe; font-size: 13px;
  font-family: inherit; color: var(--fx-ink); }
.pm-save { width: 100%; height: 44px; margin-top: 10px; border: 0; border-radius: 12px;
  cursor: pointer; background: linear-gradient(135deg, #2d7ef7, #1c5fd6); color: #fff;
  font-size: 14.5px; font-weight: 900; }
.pm-note { font-size: 11px; color: #a3aeb9; line-height: 1.6; margin-top: 8px; }
.pay-sheet-plans { margin: 12px 0 2px; }
.pay-sheet-plans .pw-plan { flex: 1 0 78px; }
.ao-codelist { border-top: 1px solid #f1f3f7; }
.ao-codelist .adc-row:last-child { border-bottom: 0; }
.pw-tip { margin-top: 8px; font-size: 11.5px; color: #9aa3b0; }
.pw-contact {
  margin-top: 12px; height: 40px; padding: 0 26px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1.5px solid #ff8a4d; color: #ff5112;
  font-size: 13.5px; font-weight: 800;
}
.vip-tag {
  display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 5px;
  font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: 0.5px;
  color: #fff; background: linear-gradient(135deg, #ffb14d, #ff5112);
  vertical-align: super; transform: scale(0.9);
}

/* --- 通用付费门（分析助手 / 赛事风向标） --- */
.view.pg-locked > *:not(.pg-gate) { display: none !important; }
.pg-gate { position: relative; z-index: 5; }

#adViewer {
  position: fixed; inset: 0; z-index: 999; background: rgba(6, 10, 20, 0.92);
  display: flex; flex-direction: column; overflow: hidden;
}
#adViewer .av-bar {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
}
#adViewer .av-bar button {
  flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 14.5px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
#adViewer .av-bar #adClose { background: rgba(255, 255, 255, 0.92); color: #1b2632; }
#adViewer .av-bar #adSave { background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff; }
#adViewer .av-hint { flex: 1; text-align: center; font-size: 11px; color: rgba(255, 255, 255, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#adViewer .av-body {
  flex: 1; overflow: auto; -webkit-overflow-scrolling: touch;
  display: flex; align-items: flex-start; justify-content: center; padding: 4px 14px 20px;
}
#adViewer img { max-width: 100%; border-radius: 10px; }

/* ========== 黑名单管理（用户数据面板） ========== */
.ua-blockbox {
  margin: 10px 0 4px; padding: 12px 12px 10px; border-radius: 14px;
  background: #fff; border: 1px solid var(--fx-line);
  box-shadow: 0 8px 20px -18px rgba(16, 24, 40, 0.3);
}
.ubx-head { display: flex; align-items: baseline; gap: 8px; }
.ubx-head b { font-size: 14px; font-weight: 900; color: var(--fx-ink); }
.ubx-head span { font-size: 11.5px; color: #98a1ae; }
.ubx-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ubx-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 10px;
  border-radius: 999px; background: #fff3ed; color: #cf3c0a; font-size: 12.5px; font-weight: 700;
  border: 1px solid #ffd9c9;
}
.ubx-chip button {
  border: 0; cursor: pointer; height: 22px; padding: 0 8px; border-radius: 999px;
  background: #ffe0d2; color: #cf3c0a; font-size: 11.5px; font-weight: 800;
}
.ubx-empty { margin-top: 8px; font-size: 12px; color: #9aa3b0; }
.ubx-add { display: flex; gap: 8px; margin-top: 10px; }
.ubx-add input {
  flex: 1; height: 38px; padding: 0 12px; border-radius: 10px;
  border: 1px solid #e3e7ee; background: #fafbfc; font-size: 14px; color: var(--fx-ink);
}
.ubx-add button {
  height: 38px; padding: 0 16px; border: 0; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 5px 12px -6px rgba(255, 81, 18, 0.7);
}

/* ========== 用户备注名字 ========== */
.ud-name { display: flex; gap: 8px; margin: 4px 0 10px; }
.ud-name input {
  flex: 1; height: 40px; padding: 0 12px; border-radius: 10px;
  border: 1px solid #e3e7ee; background: #fafbfc; font-size: 14px; color: var(--fx-ink);
}
.ud-name button {
  height: 40px; padding: 0 16px; border: 0; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 5px 12px -6px rgba(255, 81, 18, 0.7);
}
.ua-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ua-top b { flex: 1 1 auto; min-width: 0; }
.ua-tag { white-space: nowrap; flex-shrink: 0; }

/* ==========================================================
   赛事风向标（赔率实时换算）
   ========================================================== */
#view-vane { padding-bottom: 88px; }
.vn-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 4px;
}
.vn-nav button {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: #fff; color: #5b6a7b; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--v2-sh); border: 1px solid var(--fx-line);
}
.vn-nav button svg { width: 18px; height: 18px; }
.vn-nav b { font-size: 17px; font-weight: 900; color: var(--fx-ink); letter-spacing: 1px; }
.vn-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 800; color: #0a9c50;
  background: #e6f7ef; border-radius: 999px; padding: 4px 10px;
}
.vn-live i { width: 7px; height: 7px; border-radius: 50%; background: #0a9c50; animation: vnPulse 1.6s infinite; }
@keyframes vnPulse { 0%,100% { opacity: 1 } 50% { opacity: 0.25 } }

.vn-banner {
  margin: 10px 14px 0; height: 86px; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(118deg, #2b4bd7 0%, #3b63f0 55%, #5f86ff 100%);
  box-shadow: 0 14px 30px -18px rgba(43, 75, 215, 0.7);
  display: flex; align-items: center; justify-content: center;
}
.vn-banner::after {
  content: ''; position: absolute; right: -28px; top: -34px; width: 120px; height: 120px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.09);
}
.vn-banner::before {
  content: ''; position: absolute; left: 30px; bottom: -48px; width: 100px; height: 100px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.07);
}
.vn-banner b {
  font-size: 25px; font-weight: 900; letter-spacing: 5px; color: #fff;
  text-shadow: 0 2px 0 rgba(16, 34, 110, 0.5), 0 6px 18px rgba(16, 34, 110, 0.4);
}
.vn-chip {
  position: absolute; left: 14px; top: 12px;
  background: linear-gradient(135deg, #ff6a4d, #e8402a); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
  box-shadow: 0 3px 8px -2px rgba(232, 64, 42, 0.5);
}

.vn-dates {
  display: flex; gap: 4px; overflow-x: auto; padding: 10px 14px 2px;
  scrollbar-width: none;
}
.vn-dates::-webkit-scrollbar { display: none; }
.vn-dates button {
  flex-shrink: 0; min-width: 62px; border: 1px solid var(--fx-line); cursor: pointer;
  background: #fff; border-radius: 12px; padding: 7px 10px 6px; text-align: center;
  box-shadow: var(--v2-sh);
}
.vn-dates button span { display: block; font-size: 14px; font-weight: 800; color: var(--fx-ink); }
.vn-dates button em { display: block; font-style: normal; font-size: 11px; color: #8a919d; margin-top: 1px; white-space: nowrap; }
.vn-dates button.on {
  background: linear-gradient(135deg, #ff8a4d, #ff5112); border-color: transparent;
  box-shadow: 0 6px 14px -6px rgba(255, 81, 18, 0.6);
}
.vn-dates button.on span, .vn-dates button.on em { color: #fff; }

.vn-nums {
  display: flex; gap: 6px; overflow-x: auto; padding: 8px 14px 4px;
  scrollbar-width: none;
}
.vn-nums::-webkit-scrollbar { display: none; }
.vn-nums button {
  flex-shrink: 0; height: 32px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1px solid var(--fx-line); color: #5b6a7b;
  font-size: 13px; font-weight: 800; box-shadow: var(--v2-sh);
}
.vn-nums button.on {
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff; border-color: transparent;
  box-shadow: 0 5px 12px -6px rgba(255, 81, 18, 0.6);
}

.vn-card {
  margin: 10px 14px 0; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--fx-line);
  box-shadow: 0 12px 26px -20px rgba(16, 24, 40, 0.4);
}
.vn-card .vc-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px 0;
}
.vn-card .vc-num {
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff;
  font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 8px;
}
.vn-card .vc-lg { flex: 1; text-align: center; font-size: 14px; font-weight: 800; color: var(--fx-ink); }
.vn-card .vc-tm { font-size: 12.5px; color: #8a919d; font-weight: 700; }
.vn-card .vc-hist {
  flex: none; margin-left: 6px; padding: 1px 7px; border-radius: 6px;
  font-size: 10px; font-weight: 900; font-style: normal; color: #fff;
  background: linear-gradient(135deg, #8fa2b8, #64748b);
}
.vn-card .vc-teams {
  display: flex; align-items: center; padding: 10px 16px 4px; gap: 10px;
}
.vn-card .vc-teams .t {
  flex: 1; font-size: 15px; font-weight: 800; color: var(--fx-ink);
}
.vn-card .vc-teams .t:first-child { text-align: right; }
.vn-card .vc-teams .sc {
  min-width: 78px; text-align: center; font-size: 17px; font-weight: 900;
  color: #ff5112; letter-spacing: 1px;
}

.vn-block { padding: 6px 10px 12px; }
.vn-block .vbt {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 4px;
}
.vn-block .vbt b {
  background: linear-gradient(135deg, #ff6a4d, #e8402a); color: #fff;
  font-size: 13px; font-weight: 800; padding: 4px 18px; border-radius: 999px;
  box-shadow: 0 3px 8px -2px rgba(232, 64, 42, 0.45); letter-spacing: 1px;
}
.vn-block .vbt span { font-size: 11.5px; color: #ff5112; font-weight: 800; }
.vn-block .vb-row {
  display: flex; align-items: flex-end; justify-content: space-around;
  padding: 10px 2px 0; border-radius: 10px; background: #f8f9fc;
}
.vn-block .vb-row.n9 .pct, .vn-block .vb-row.n9 .nm { font-size: 10px; }
.vn-block .vb { flex: 1; text-align: center; min-width: 0; padding: 0 1px; }
.vn-block .vb .pct { font-size: 11.5px; font-weight: 800; color: #2b4bd7; margin-bottom: 3px; white-space: nowrap; }
.vn-block .vb .bar {
  width: 46%; max-width: 26px; margin: 0 auto; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #5f86ff, #2b4bd7);
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.vn-block .vb:nth-child(3n+2) .bar { background: linear-gradient(180deg, #35d08e, #0a9c50); }
.vn-block .vb:nth-child(3n) .bar { background: linear-gradient(180deg, #ff8a5e, #e8402a); }
.vn-block .vb .nm { font-size: 11px; color: #5b6a7b; font-weight: 700; margin-top: 4px; white-space: nowrap; }
.vn-block .vb.max .pct { color: #e8402a; }
.vn-block .vb.max .bar {
  box-shadow: 0 0 0 2px #ffd9c9, 0 6px 14px -6px rgba(232, 64, 42, 0.55);
  position: relative;
}
.vn-block .vb.max .bar::after {
  content: ''; position: absolute; left: 50%; top: -7px; transform: translateX(-50%);
  width: 0; height: 0; border: 4px solid transparent; border-top-color: #e8402a;
}

.vn-empty {
  margin: 30px 14px; padding: 40px 20px; text-align: center; border-radius: 16px;
  background: #fff; border: 1px dashed #d9dfe8; color: #8a919d; font-size: 13.5px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.vn-empty .spinner { width: 26px; height: 26px; }

.vn-foot { margin: 14px 14px 0; text-align: center; font-size: 11.5px; color: #9aa3b0; line-height: 1.8; }
.vn-foot .o { color: #ff5112; margin-right: 3px; }
.vn-foot .tm { color: #ff5112; font-weight: 800; }
.vn-foot .tip { font-size: 10.5px; color: #b3bac4; }

/* ==========================================================
   计算器页参考站化（箭头/内嵌比例条/已选栏/双排底栏）
   ========================================================== */
.calc-match .cm-teams { gap: 6px; flex-wrap: nowrap; }
.calc-match .cm-teams .t { font-size: 14.5px; font-weight: 800; color: var(--fx-ink); }
.calc-match .cm-teams .tg { font-size: 11px; color: #98a1ae; font-weight: 600; }
.calc-match .cm-teams .rk { font-size: 10.5px; color: #98a1ae; font-weight: 700; }
.calc-match .cm-teams .tb { width: 22px; height: 22px; font-size: 11px; }
.calc-match .cm-teams .tl { width: 24px; height: 24px; font-size: 11px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-style: normal; }
.calc-match .cm-teams .vs { font-size: 12px; }

/* 赔率单元格：方向箭头 */
.od { padding: 7px 4px 8px; }
.od .ol { font-size: 12px; font-weight: 700; color: #5b6a7b; }
.od .ol .mv.dir { font-style: normal; font-size: 11.5px; font-weight: 900; margin-right: 2px; }
.od .ol .mv.dir.up { color: #e8382f; }
.od .ol .mv.dir.down { color: #12a05c; }
.od .ov { font-size: 16px; }
.od.on { background: linear-gradient(135deg, #ff7a3d, #ff5112); border-color: transparent; box-shadow: 0 6px 14px -6px rgba(255, 81, 18, 0.65); }
.od.on .ol, .od.on .ov { color: #fff; }
.od.on .ol .mv.dir.up, .od.on .ol .mv.dir.down { color: #fff; opacity: 0.92; }
.od.on .ai-tag { background: rgba(255, 255, 255, 0.28); color: #fff; }

/* 支持比例：百分比嵌在条上 */
.od .odbar {
  position: relative; height: 14px; border-radius: 999px; margin-top: 5px;
  background: #f0e9ff; overflow: hidden;
}
.od .odbar i {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px;
  background: linear-gradient(90deg, #b18cff, #8f76f5);
}
.od .odbar span {
  position: absolute; left: 6px; top: 0; line-height: 14px;
  font-size: 9.5px; font-weight: 800; color: #5a3fd0; letter-spacing: 0.2px;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.95), 0 0 5px rgba(255, 255, 255, 0.85);
}
.od.on .odbar { background: rgba(255, 255, 255, 0.3); }
.od.on .odbar i { background: rgba(255, 255, 255, 0.9); }
.od.on .odbar span { color: #d63a0f; font-weight: 900; }

/* 右侧「已选N项」竖栏 */
.cm-more {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-width: 38px; padding: 8px 4px; cursor: pointer;
  font-size: 11px; font-weight: 800; color: #7d8a97;
  border-radius: 10px; line-height: 1.2;
}
.cm-more.picked {
  color: #e8382f; background: #fff3f0;
  border: 1px dashed #ffc7b8;
}
.cm-more.picked b { font-size: 14px; line-height: 1; }
.cm-more.picked .n { font-size: 11px; }
.cm-more.picked .n b { color: #e8382f; }

/* 底部栏：两排（串关/倍数/重选 + 金额/最高奖金/双按钮） */
.calc-bar {
  display: flex; flex-direction: column; gap: 7px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
}
.calc-bar .cb-row { display: flex; align-items: center; gap: 8px; }
.calc-bar .cb-row:last-child { justify-content: space-between; }
.calc-bar .cb-sel { font-size: 12.5px; color: var(--fx-ink); white-space: nowrap; }
.calc-bar .cb-sel b { color: #e8382f; font-size: 15px; margin: 0 2px; }
.calc-bar .cb-parlay {
  display: inline-flex; align-items: center; gap: 3px; cursor: default;
  height: 30px; padding: 0 10px; border-radius: 8px;
  background: #fff3ed; color: #ff5112; border: 1px solid #ffd2c2;
  font-size: 12.5px; font-weight: 800; white-space: nowrap;
}
.calc-bar .cb-parlay i { font-style: normal; font-size: 10px; transform: translateY(-1px); }
.calc-bar .cb-step {
  display: inline-flex; align-items: center; height: 30px;
  border-radius: 8px; border: 1px solid var(--fx-line); background: #fff; overflow: hidden;
}
.calc-bar .cb-step button {
  width: 30px; height: 100%; border: 0; cursor: pointer; font-size: 15px; font-weight: 800;
  background: #f7f8fa; color: #5b6a7b;
}
.calc-bar .cb-step b { min-width: 30px; text-align: center; font-size: 14px; color: var(--fx-ink); }
.calc-bar .cb-resel {
  margin-left: auto; height: 30px; padding: 0 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--fx-line); background: #fff; color: #5b6a7b;
  font-size: 12.5px; font-weight: 800;
}
.calc-bar .cb-resel i { font-style: normal; margin-left: 3px; color: #ff5112; }
.calc-bar .cb-amt { font-size: 12.5px; color: #5b6a7b; white-space: nowrap; }
.calc-bar .cb-amt b { color: #e8382f; font-size: 15px; }
.calc-bar .cb-max { font-size: 12px; color: #5b6a7b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc-bar .cb-max b { color: #e8382f; font-size: 14px; }
.calc-bar .cb-go {
  height: 40px; padding: 0 16px; border-radius: 10px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff;
  font-size: 14px; font-weight: 900; white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(255, 81, 18, 0.7);
}
.calc-bar .cb-go.ghost {
  background: #fff3ed; color: #ff5112;
  border: 1.5px solid #ffb697; box-shadow: none;
}

/* ---------------- 飘雪特效 ---------------- */
.fx-snow {
  position: fixed; inset: 0; pointer-events: none; overflow: hidden;
  z-index: 99990;
}
.fx-snow i {
  position: absolute; top: -8vh;
  color: #ffffff; font-style: normal; line-height: 1;
  text-shadow: 0 0 6px rgba(255,255,255,.55), 0 1px 2px rgba(120,150,190,.25);
  animation-name: fxSnowFall, fxSnowSway;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-direction: normal, alternate;
  will-change: transform;
  user-select: none;
}
@keyframes fxSnowFall {
  from { transform: translateY(-8vh); }
  to   { transform: translateY(112vh); }
}
@keyframes fxSnowSway {
  from { margin-left: calc(var(--sx, 20px) * -1); }
  to   { margin-left: var(--sx, 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .fx-snow { display: none; }
}

/* ---------- 分析助手历史赛果（近10天回看） ---------- */
.and-chip.and-hist { border-color: transparent; }
.and-chip.and-hist b { color: #8a6a3c; }
.and-chip.and-hist em { color: #b3996b; }
.and-chip.and-hist.on { border-color: #ffcf9e; background: #fff8ee; }
.and-chip.and-hist.on b { color: #b25e00; }
.and-chip.and-hist.on em { color: #b25e00; }
.ah-card .ac-st { background: #eef4ee; color: #2e7d43; }
.ah-hit { background: #fdece7; border-color: var(--fx-red); color: var(--fx-red); font-weight: 700; }
.ah-ck { font-style: normal; margin-left: 3px; }
.ah-stat {
  text-align: center;
  font-size: 12px;
  color: var(--fx-sub);
  background: var(--v2-card);
  border: 1px dashed var(--fx-line);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
}
.ah-stat b { color: var(--fx-red); font-size: 15px; }

/* 风向标同步失败重试 */
.vn-retry {
  margin-top: 10px;
  padding: 8px 26px;
  border: none;
  border-radius: 18px;
  background: var(--fx-red, #e8382f);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 风向标：参考站同步样式 ---------- */
.vc-single {
  font-size: 10px;
  font-weight: 800;
  color: #b25e00;
  background: #fff3e0;
  border: 1px solid #ffcf9e;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 5px;
}
.vn-block .vb { position: relative; }
.vn-block .vb .thumb { display: block; font-size: 13px; line-height: 1; margin-top: 2px; }
.vn-block .vb.hit .pct { color: #e8402a; }
.vn-block .vb.hit .bar { background: linear-gradient(180deg, #ff8a5e, #e8402a) !important; }
.vn-block .vb.hit .nm::after { content: ' ✓'; color: #e8402a; font-weight: 800; }

/* 日期条命中红标（参考站同步） */
/* 今日/高命中日期：参照站同款红底白字胶囊（覆盖 site.css 的选中态红字） */
.and-chip em.hot, .and-chip.on em.hot {
  background: var(--fx-red, #e8382f); color: #fff;
  border-radius: 6px; padding: 1px 5px;
}

/* ---------- 参考站同步可见标记 ---------- */
.ac-ref {
  font-size: 9.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff9d2e, #e8710a);
  border-radius: 4px;
  padding: 1.5px 5px;
  margin-left: auto;
  letter-spacing: .5px;
}
.ac-chip.rf {
  border-color: #ffb066;
  color: #c96a00;
  background: #fff7ec;
}
.vn-bind-tip {
  margin: 8px 10px 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff8e6;
  border: 1px solid #ffd98a;
  color: #9a6a00;
  font-size: 12.5px;
  line-height: 1.6;
}
.vn-bind-tip b { color: #c96a00; }
.vn-bind-tip.hidden { display: none; }

/* ---------- 参考站绑定弹窗 ---------- */
.rb-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 8, 6, .62);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.rb-mask.hidden { display: none; }
.rb-box {
  width: 100%; max-width: 360px;
  background: #fffaf2;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.rb-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rb-bar b { font-size: 16.5px; color: #5a3a10; }
.rb-x { border: none; background: none; font-size: 16px; color: #a08a6a; padding: 2px 6px; }
.rb-tip { font-size: 12.5px; color: #9a7a4a; line-height: 1.7; margin: 0 0 12px; }
.rb-lb { display: block; font-size: 12.5px; color: #8a6a3c; margin-bottom: 10px; }
.rb-lb input, .rb-row input {
  display: block; width: 100%; box-sizing: border-box; margin-top: 5px;
  background: #fff; border: 1px solid #e5d3b3; border-radius: 10px;
  color: #4a3418; font-size: 15px; padding: 10px 12px;
}
.rb-row { display: flex; gap: 8px; align-items: stretch; margin-bottom: 12px; }
.rb-row input { margin-top: 0; flex: 1; }
.rb-row button {
  flex-shrink: 0; border: none; border-radius: 10px; padding: 0 12px;
  background: #f0e2c8; color: #7a5a26; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.rb-row button:disabled { opacity: .55; }
#rbBind {
  width: 100%; border: none; border-radius: 12px; padding: 12px;
  background: linear-gradient(135deg, #ffb054, #e8710a);
  color: #fff; font-size: 15px; font-weight: 800;
}
#rbBind:disabled { opacity: .6; }
.rb-st { font-size: 12.5px; min-height: 18px; margin: 8px 0 0; color: #2e7d43; text-align: center; }
.rb-st.bad { color: #d8382f; }

/* ---------------- 参考站式赛事详情 ---------------- */
.rd-tabs {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #fff; border-bottom: 1px solid #f0e3d3;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.rd-back { border: none; background: none; font-size: 22px; color: #4a3418; padding: 0 4px; line-height: 1; }
.rd-week { font-size: 16px; color: #3a2a12; white-space: nowrap; }
.rd-nums { display: flex; gap: 6px; overflow-x: auto; }
.rd-n {
  flex-shrink: 0; border: none; background: none; padding: 4px 10px;
  font-size: 14px; color: #7a6a52; font-weight: 600; border-radius: 8px;
}
.rd-n.on { color: #e8382f; background: #fff; font-weight: 800; box-shadow: 0 2px 8px rgba(232,56,47,.18); }
.rd-hero { padding: 16px 14px 6px; }
.rd-meta { text-align: center; font-size: 13px; color: #7a6a52; }
.rd-teams { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.rd-side { display: flex; align-items: center; gap: 7px; font-size: 16.5px; font-weight: 800; color: #2a1e0e; }
.rd-side.away { flex-direction: row; }
.rd-rk { font-style: normal; font-size: 11.5px; color: #9a8a70; font-weight: 600; }
.rd-vs { font-size: 14px; color: #b0a08a; font-weight: 700; }
.rd-sec { margin: 14px 14px 0; }
.rd-sec-t {
  position: relative; display: inline-flex; align-items: baseline; gap: 8px;
  background: linear-gradient(135deg, #ff9a3c, #f25b1c);
  color: #fff; font-weight: 800; font-size: 15px;
  padding: 8px 18px 8px 14px; border-radius: 10px 10px 0 10px;
  box-shadow: 0 4px 12px rgba(242,91,28,.25);
}
.rd-sec-t.main { background: linear-gradient(135deg, #ffb054, #e8710a); }
.rd-sec-t .en { font-size: 9.5px; opacity: .75; letter-spacing: 1px; font-weight: 600; }
.rd-sec-t .ord { font-size: 10px; opacity: .6; letter-spacing: 2px; }
.rd-card {
  background: #fff; border-radius: 0 14px 14px 14px; padding: 14px 16px;
  box-shadow: 0 6px 24px rgba(122,86,40,.08);
}
.rd-prow { display: flex; align-items: baseline; padding: 7px 0; font-size: 15px; }
.rd-prow + .rd-prow { border-top: 1px dashed #f0e6d6; }
.rd-prow span { color: #7a6a52; width: 84px; flex-shrink: 0; }
.rd-prow b { color: #e8382f; font-size: 16px; letter-spacing: .5px; }
.rd-txt { margin: 0; font-size: 14.5px; line-height: 1.95; color: #3a2e1e; text-align: justify; }
.rd-txt .rd-hl { color: #e8710a; }
.rd-cold { display: flex; gap: 18px; background: #fff; border-radius: 14px 14px 0 0; padding: 12px 16px 0; }
.rd-cold p { margin: 0; font-size: 13.5px; color: #7a6a52; }
.rd-cold b { color: #e8382f; font-size: 17px; margin-left: 4px; }
.rd-cold + .rd-card { border-radius: 0 0 14px 14px; }
.rd-calc {
  display: flex; align-items: center; justify-content: space-between;
  width: calc(100% - 28px); margin: 16px 14px 0; border: none;
  background: linear-gradient(135deg, #ff5f2e, #e8382f);
  border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(232,56,47,.3); cursor: pointer;
}
.rd-calc .rc-t { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 1px; }
.rd-calc .rc-go { color: #fff; font-size: 13.5px; font-weight: 700; background: rgba(255,255,255,.22); border-radius: 20px; padding: 6px 14px; }
.rd-tips { text-align: center; font-size: 11.5px; color: #b0a48e; margin: 12px 0 24px; }
.ac-chips2 { display: flex; justify-content: flex-end; margin-top: 6px; }
button.ana-card.ah-card { text-align: left; width: 100%; cursor: pointer; }
.rd-hero {
  background: linear-gradient(135deg, #ff8a4d, #ff5112 58%, #f0430f);
  border-radius: 14px; padding: 18px 14px 16px; margin: 4px 0 10px;
  box-shadow: 0 14px 30px -18px rgba(240,67,15,.8);
}
.rd-hero .rd-meta { color: rgba(255,255,255,.92); }
.rd-hero .rd-side { color: #fff; }
.rd-hero .rd-rk { color: rgba(255,255,255,.82); }
.rd-hero .rd-vs { color: rgba(255,255,255,.85); }
.rd-hero .ac-badge { background: #fff !important; }

/* 顾客聊天未开通提示 */
.chat-call-owner {
  display: block; margin: 16px auto 0; border: none; border-radius: 22px;
  padding: 11px 26px; font-size: 14.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #ff8a4d, #f0430f);
  box-shadow: 0 8px 20px -8px rgba(240,67,15,.8);
}

/* ================= 情报/伤停/热门资讯（参考站同步） ================= */
#newsList.news-list { display: block; columns: 2; column-gap: 10px; }
#newsList .news-card {
  display: block; width: 100%; text-align: left; margin: 0 0 10px;
  break-inside: avoid; -webkit-column-break-inside: avoid;
}
#newsList .news-card p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.art-img {
  width: 100%; height: 110px; object-fit: cover; border-radius: 10px;
  margin-bottom: 8px; background: #f2f5f9; display: block;
}
.art-sheet .art-title { font-size: 17px; line-height: 1.55; font-weight: 800; color: #1d2733; }
.art-sheet .art-meta { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; }
.art-sheet .art-meta em { font-style: normal; font-size: 11.5px; color: #9aa7b5; }
.art-cover { width: 100%; border-radius: 12px; margin-bottom: 14px; display: block; }
.art-loading { font-size: 13px; color: #8a97a5; padding: 18px 0 6px; display: flex; align-items: center; gap: 8px; }
.art-content {
  font-size: 14.5px; line-height: 1.9; color: #2a3542;
  word-break: break-word; overflow-wrap: break-word;
}
.art-content p { margin: 0 0 10px; }
.art-content strong { color: #e8382f; }
.art-content img { max-width: 100%; border-radius: 10px; }

/* ==========================================================
   赛程页（参考站同款） sc-*
   ========================================================== */
.sc-nav { display: flex; align-items: center; padding: 6px 14px 2px; position: relative; }
.sc-nav button { width: 34px; height: 34px; border: none; background: #fff; border-radius: 10px;
  box-shadow: var(--v2-sh); display: grid; place-items: center; color: var(--fx-ink); }
.sc-nav button svg { width: 18px; height: 18px; }
.sc-nav b { flex: 1; text-align: center; font-size: 16.5px; font-weight: 800; letter-spacing: 1px; }
.sc-nav i { width: 34px; }
.sc-shop { position: relative; }
.sc-shop .sc-acts-top { position: absolute; right: 12px; top: 12px; display: flex; gap: 8px; }
.sc-shop .sc-acts-top button { width: 32px; height: 32px; border-radius: 999px; border: none;
  background: var(--v2-green); color: #fff; display: grid; place-items: center; box-shadow: var(--v2-sh); }
.sc-shop .sc-acts-top button:nth-child(2) { background: #22c55e; }
.sc-shop .sc-acts-top button:nth-child(3) { background: var(--v2-blue); }
.sc-shop .sc-acts-top button svg { width: 15px; height: 15px; }
.sc-tabs { display: flex; gap: 26px; padding: 12px 16px 0; background: #fff;
  border-radius: 14px 14px 0 0; margin: 0 10px -6px; }
.sc-tabs button { border: none; background: none; font-size: 17px; font-weight: 800;
  color: var(--v2-faint); padding: 6px 2px 10px; position: relative; }
.sc-tabs button.on { color: var(--fx-red); }
.sc-tabs button.on::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 4px; width: 22px; height: 3.5px; border-radius: 3px; background: var(--fx-red); }
.sc-datebar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; position: relative; }
/* 日期切换：整块大按钮（触控区 ≥44px），不再依赖手机原生日历 */
.sc-date { display: inline-flex; align-items: center; gap: 7px; flex: none;
  min-height: 44px; padding: 0 10px 0 12px;
  border: 1px solid #ffdcc8; border-radius: 12px; background: #fff7f2;
  font-size: 15px; font-weight: 800; color: var(--fx-ink);
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sc-date:active { background: #ffe9dc; transform: scale(.985); }
.sc-date-arrow { width: 0; height: 0; flex: none;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--fx-red); }
.sc-date-hint { font-style: normal; font-size: 10.5px; font-weight: 700; white-space: nowrap;
  color: var(--fx-red); background: #fff; border: 1px solid #ffe3d2;
  border-radius: 6px; padding: 2px 5px; }
#scDate { position: absolute; left: 12px; top: 10px; width: 130px; height: 40px; opacity: 0;
  pointer-events: none; border: none; background: none; }
.sc-count { margin-left: auto; font-size: 13px; color: var(--fx-sub); flex: none; white-space: nowrap; }
@media (max-width: 380px) { .sc-date-hint { display: none; } }
.sc-filter { width: 30px; height: 30px; border-radius: 8px; border: none; background: none;
  color: var(--fx-sub); display: grid; place-items: center; }
.sc-filter svg { width: 17px; height: 17px; }
.sc-filter.on { color: var(--fx-red); background: var(--v2-pri-soft); }
/* 日期选择面板：整块大按钮，手机一点即切，不依赖原生日历 */
.sc-day-wrap { padding: 12px 14px 28px; }
.sc-day-tip { font-size: 12px; color: var(--fx-sub); text-align: center; margin: 2px 0 14px; }
.sc-day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sc-day { min-height: 68px; border-radius: 12px; border: 1.5px solid var(--fx-line, #eef1f5);
  background: #fff; color: var(--fx-ink); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sc-day b { font-size: 14.5px; font-weight: 800; }
.sc-day span { font-size: 12px; color: var(--fx-sub); font-family: var(--mono, monospace); }
.sc-day i { font-style: normal; font-size: 10px; font-weight: 800; color: var(--fx-red); }
.sc-day.on { border-color: var(--fx-red); background: #fff7f2; color: var(--fx-red); }
.sc-day.on span { color: var(--fx-red); }
.sc-day:active { transform: scale(.97); }
.sc-day-today { width: 100%; height: 46px; margin-top: 16px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #ff8a4d, #ff5112); color: #fff;
  font-size: 15px; font-weight: 800; box-shadow: 0 6px 14px -6px rgba(255,81,18,.6); }
.sc-list { padding: 2px 10px 12px; }

/* 横排日期条（参考站同款）：场次数 / 历史命中统计，一点即切 */
.sc-days { display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 6px 6px 9px; margin: 0 10px 2px; background: #fff;
  border-radius: 0 0 14px 14px; scrollbar-width: none; }
.sc-days::-webkit-scrollbar { display: none; }
.sc-dayq { flex: 1 0 62px; min-width: 62px; min-height: 54px; border: none; background: none;
  border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; color: var(--fx-sub); cursor: pointer; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; }
.sc-dayq em { font-style: normal; font-size: 10.5px; line-height: 16px; height: 16px;
  font-weight: 800; color: #a9b3bd; white-space: nowrap; padding: 0 5px; border-radius: 8px; }
.sc-dayq em.dq-hit { color: var(--fx-red); }
.sc-dayq em.dq-num.on { background: var(--fx-red); color: #fff; }
.sc-dayq b { font-size: 14px; font-weight: 800; color: var(--fx-ink); font-family: var(--mono, monospace); }
.sc-dayq span { font-size: 11px; }
.sc-dayq.on b, .sc-dayq.on span { color: var(--fx-red); }
.sc-dayq.on span { font-weight: 800; }
.sc-dayq:active { background: #fff5ef; }

/* 卡片：世界排名 / 真实队徽（推荐彩果、命中标记不对客户展示） */
.sc-card { position: relative; }
.sc-rank { font-size: 11px; font-weight: 700; color: #94a0ac; flex: none;
  font-family: var(--mono, monospace); }
.sc-teams .fb-logo-wrap { width: 20px; height: 20px; }
/* 队徽图片未就绪时只留彩色底，不重复显示队名首字 */
.sc-teams .ac-badge { color: transparent; }

/* 赛程卡片 */
.sc-card { background: #fff; border-radius: 14px; padding: 12px 12px 10px;
  box-shadow: var(--v2-sh); margin-bottom: 10px; }
.sc-top { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.sc-num { font-weight: 800; color: var(--fx-ink); font-size: 13px; }
.sc-time { color: var(--fx-sub); }
.sc-st { padding: 2px 8px; border-radius: 20px; background: #f1f2f4; color: #9aa1ad; font-size: 11px; }
.sc-st.live { background: #ffece6; color: var(--fx-red); font-weight: 700; }
.sc-st.done { background: #f1f2f4; color: #9aa1ad; }
.sc-single { padding: 2px 7px; border-radius: 5px; border: 1px solid #ffc7ad;
  color: var(--fx-red); background: #fff7f2; font-size: 10.5px; font-weight: 700; }
.sc-lg { margin-left: auto; color: var(--v2-ink2); font-weight: 600; }
.sc-teams { display: flex; align-items: center; padding: 14px 4px 4px; }
.sc-side { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 16px; }
.sc-side i { font-style: normal; font-size: 11px; color: var(--fx-sub); }
.sc-side b { font-weight: 800; letter-spacing: 0.5px; }
.sc-side em { font-style: normal; font-size: 15px; }
.sc-side.r { justify-content: flex-end; }
.sc-vs { color: var(--fx-sub); font-size: 12px; font-weight: 700; padding: 0 10px; }
.sc-half { text-align: center; font-size: 11.5px; color: var(--fx-sub); padding: 2px 0 10px; }
.sc-half.live { color: var(--fx-red); font-weight: 700; }
.sc-half.live i { display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--fx-red); margin-right: 5px; animation: scblink 1.2s infinite; }
@keyframes scblink { 0%, 100% { opacity: 1 } 50% { opacity: 0.25 } }
.sc-odds { display: grid; grid-template-columns: 34px 1fr 42px; gap: 6px; align-items: stretch; }
.sc-odds.no-mk { grid-template-columns: 1fr 42px; }
.sc-mks { display: flex; flex-direction: column; border: 1px solid var(--fx-line);
  border-radius: 8px; overflow: hidden; }
.sc-mk { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; border-top: 1px solid var(--fx-line); font-size: 12px; color: var(--v2-ink2); }
.sc-mk:first-child { border-top: none; }
.sc-dan { background: var(--fx-red); color: #fff; font-size: 10px; font-weight: 700;
  padding: 1px 5px; border-radius: 4px; }
.sc-mk.hc { background: #fff1ec; }
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--fx-line);
  border-radius: 8px; overflow: hidden; }
.sc-grid.two { grid-template-columns: repeat(2, 1fr); }
.sc-cell { border: none; background: #fff; border-left: 1px solid var(--fx-line);
  border-top: 1px solid var(--fx-line); padding: 9px 2px; display: flex; align-items: center;
  justify-content: center; gap: 4px; font-size: 12.5px; color: var(--v2-ink2); }
.sc-grid .sc-cell:nth-child(-n + 3) { border-top: none; }
.sc-grid.two .sc-cell:nth-child(-n + 2) { border-top: none; }
.sc-grid .sc-cell:nth-child(3n + 1) { border-left: none; }
.sc-grid.two .sc-cell:nth-child(2n + 1) { border-left: none; }
.sc-cell b { font-weight: 600; }
.sc-cell i { font-style: normal; font-weight: 800; color: var(--fx-ink); }
.sc-cell:active { background: var(--v2-pri-soft); }
/* 篮球：参照站「客方向 | 盘口 | 主方向」三行三列；停售场次只留盘口行，不留空白框 */
.sc-grid.bb .sc-cell.mid { background: #fff6f2; font-size: 12px; font-weight: 800;
  color: var(--fx-red); font-family: var(--mono, monospace); }
.sc-grid.bb .sc-cell.mid i { color: var(--fx-red); font-size: 12.5px; }
.sc-bb-line { display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 36px; border: 1px solid var(--fx-line); border-radius: 8px;
  font-size: 12px; font-weight: 700; color: var(--v2-ink2); }
.sc-bb-line i { font-style: normal; color: #d8dfe6; }
/* 篮球队名较长：不拆行，避免在队徽与主客标注之间断成「塔斯马 / 尼」 */
.sc-card.bb-card .sc-teams { font-size: 15px; }
.sc-card.bb-card .sc-side { gap: 4px; }
.sc-card.bb-card .sc-side b { white-space: nowrap; font-size: 15px; letter-spacing: 0; }
/* 0 盘未开售：首行跨三列显示「未开售」，让球盘三格仍排在下一行 */
.sc-grid.no-sale .sc-cell { border-top: 1px solid var(--fx-line); border-left: 1px solid var(--fx-line); }
.sc-grid.no-sale .sc-cell.off { grid-column: 1 / -1; grid-row: 1; border: none;
  background: #fafafa; color: var(--v2-ink2); letter-spacing: 2px; }
.sc-grid.no-sale .sc-cell:nth-child(2) { border-left: none; }
.sc-cell.off b { font-weight: 600; color: var(--v2-ink2); }
/* 赛程页实时同步状态灯 */
.sc-live { display: inline-flex; align-items: center; gap: 4px; font-size: 11px;
  color: var(--v2-ink2, #888); white-space: nowrap; }
.sc-live i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.14); animation: scPulse 2s ease-in-out infinite; }
.sc-live em { font-style: normal; }
.sc-live.err i { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.14); }
@keyframes scPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.sc-more { border: none; background: #fff1ec; color: var(--fx-red); border-radius: 8px;
  font-size: 12px; font-weight: 800; writing-mode: vertical-lr; letter-spacing: 3px;
  display: flex; align-items: center; justify-content: center; padding: 8px 0; }
.sc-acts { display: flex; gap: 8px; margin-top: 10px; }
.sc-acts button { flex: 1; height: 33px; border-radius: 8px; border: 1px solid #ffdcc8;
  background: #fff7f2; color: var(--fx-red); font-size: 13px; font-weight: 700; }
.sc-acts button:active { background: #ffe9dc; }
/* 赛事分析与「分析助手」同款 VIP 收费角标 */
.sc-acts button.sc-ana { position: relative; }
.sc-vip {
  position: absolute; top: -7px; right: -4px; z-index: 2;
  font-style: normal; font-size: 8px; font-weight: 900; letter-spacing: .4px;
  color: #fff; background: linear-gradient(135deg, #ffb14d, #ff5112);
  border-radius: 6px; padding: 1px 4px; line-height: 1.35;
  box-shadow: 0 2px 6px rgba(255, 81, 18, .32);
}
.pg-scope {
  margin: 4px 2px 24px; padding: 12px 14px; border-radius: 12px;
  background: #fff7f2; border: 1px solid #ffe3d2;
  color: #a2704f; font-size: 12px; line-height: 1.9; text-align: center;
}
.pg-scope b { color: var(--fx-red); font-weight: 800; }
/* 六页签详情内嵌的「分析助手 · 付费专栏」：与付费视图同一张墙，铺满页签内容区 */
.fd-gate-wrap .ad-paywall { margin: 4px 2px 0; }
.fd-gate-wrap .pg-scope { margin: 12px 2px 20px; }
.sc-foot { position: fixed; left: 0; right: 0; bottom: calc(54px + env(safe-area-inset-bottom));
  z-index: 30; background: rgba(255, 247, 242, 0.95); -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px); color: #d98d5f; font-size: 11.5px; text-align: center;
  padding: 7px 10px; border-top: 1px solid #ffe3d2; }

/* 数据弹层赔率格子 */
.sc-ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rd-sec .sc-ogrid .sc-ocell { background: #fff; border: 1px solid var(--fx-line); border-radius: 8px;
  padding: 9px 6px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.sc-ocell b { color: var(--v2-ink2); font-weight: 600; }
.sc-ocell i { font-style: normal; font-weight: 800; color: var(--fx-ink); }
.rd-note { margin-left: 8px; font-size: 11px; color: var(--fx-sub); font-weight: 400; }
.sc-data-head { text-align: center; }
.sdh-top { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; }
.sdh-lg { color: var(--fx-sub); margin-left: auto; }
.sdh-teams { display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 17px; font-weight: 800; padding: 12px 0 4px; }
.sdh-teams i { font-style: normal; color: var(--fx-sub); font-size: 12px; font-weight: 700; }
.sdh-teams em { font-style: normal; }
.sdh-meta { font-size: 11.5px; color: var(--fx-sub); padding-top: 4px; }

/* 情报弹层 */
.sc-intel-head { text-align: center; font-size: 14px; font-weight: 700; }
.sc-intel-head i { font-style: normal; color: var(--fx-sub); font-size: 12px; }
.sih-sub { font-size: 11.5px; color: var(--fx-sub); font-weight: 400; padding-top: 4px; }
.sc-intel-list { margin-top: 10px; }

/* 直播弹层 */
.sc-live-card { text-align: center; position: relative; }
.sc-live-card.on { border-color: #ffdcc8; box-shadow: 0 0 0 2px #ffece6, var(--v2-sh); }
.slc-top { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; }
.slc-lg { color: var(--fx-sub); }
.slc-teams { display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 19px; font-weight: 800; padding: 16px 0 6px; }
.slc-teams i { font-style: normal; color: var(--fx-sub); font-size: 13px; }
.slc-teams em { font-style: normal; font-size: 17px; }
.slc-state { font-size: 22px; font-weight: 800; color: var(--fx-red); padding: 6px 0 2px;
  font-variant-numeric: tabular-nums; }
.sc-live-card.on .slc-state::after { content: '● 直播'; font-size: 11px; color: var(--fx-red);
  margin-left: 8px; animation: scblink 1.2s infinite; }
.slc-sub { font-size: 12px; color: var(--fx-sub); padding-bottom: 6px; }
.slc-meta { font-size: 11.5px; color: var(--fx-sub); }
.slc-sync { border: 1px solid #ffdcc8; background: #fff7f2; color: var(--fx-red);
  border-radius: 6px; font-size: 11.5px; padding: 3px 10px; margin-left: 4px; font-weight: 700; }
.rd-sec-t .rd-note { color: #fff; opacity: .9; font-size: 11.5px; font-weight: 600;
  white-space: nowrap; margin-left: 2px; }

/* --- 分析页 · 篮球实时同步（同参考站赛事分析篮球页） --- */
.ana-live { display: flex; align-items: center; gap: 7px; margin: 0 12px 8px;
  padding: 7px 10px; border-radius: 10px; background: var(--v2-card);
  border: 1px solid var(--fx-line); font-size: 11.5px; color: var(--fx-sub); }
.ana-live b { color: var(--fx-ink); font-weight: 800; }
.ana-live .al-dot { width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: #21b573; box-shadow: 0 0 0 3px rgba(33, 181, 115, .16);
  animation: bblink 1.6s infinite; }
.ana-live.bad .al-dot { background: #e8382f; box-shadow: 0 0 0 3px rgba(232, 56, 47, .16); }
.ana-live .al-time { margin-left: auto; font-family: var(--mono); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* 秒级实时：节内时钟 / 进行分钟等宽显示，数字变化不抖动（不能用 i 标签，.bb-live-row i 是红点） */
.bb-tick, .fb-tick { font-style: normal; font-variant-numeric: tabular-nums; }
.ana-live button { border: 1px solid #ffdcc8; background: #fff7f2; color: var(--fx-red);
  border-radius: 7px; padding: 3px 9px; font-size: 11px; font-weight: 800; }
@keyframes bblink { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

.ana-card.bb-card { display: block; width: 100%; text-align: left; padding: 12px 12px 11px; }
/* 分析页卡片统一为通栏等宽方框：button 默认 inline-block 会按内容收缩，
   造成每张卡宽度不同、右侧留一大块空白；与参照站赛事分析列表对齐 */
#view-analysis button.ana-card {
  display: block; width: 100%; box-sizing: border-box;
  text-align: left; cursor: pointer;
}
#view-analysis .ana-card:not(.bb-card) { padding: 16px 14px 15px; }
#view-analysis .ana-card:not(.bb-card) .ac-teams { margin: 21px 0 19px; }
.bb-top { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #9aa7b5; }
.bb-top .ac-no { color: #5b6a7b; font-weight: 800; }
.bb-top .ac-time { font-family: var(--mono); }
.bb-st { margin-left: auto; background: #f2f4f7; color: #9aa7b5; border-radius: 6px;
  padding: 2px 7px; font-size: 10.5px; font-weight: 800; }
.bb-st.fin { background: #eef1f5; color: #6b7684; }
.bb-st.live { background: #ffece8; color: #e8382f; animation: bblink 1.4s infinite; }
.bb-main { display: flex; align-items: center; gap: 5px; margin: 13px 0 11px; }
.bb-side { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.bb-side.l { justify-content: flex-end; }
.bb-side.r { justify-content: flex-start; }
.bb-rk { flex: none; font-size: 11.5px; font-weight: 800; color: #93a0ad;
  font-family: var(--mono); max-width: 36px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-tn { font-size: 13.5px; font-weight: 800; color: #1f2b38; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 108px; }
.bb-side.l .bb-tn { text-align: right; }
.bb-score { flex: none; font-size: 18px; font-weight: 900; color: var(--fx-red);
  font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.bb-score.vs { font-size: 11px; font-weight: 800; color: #b3bec9; }
.bb-hit { flex: none; width: 26px; height: 26px; border: 2px solid var(--fx-red);
  border-radius: 50%; color: var(--fx-red); display: grid; place-items: center;
  font-size: 15px; font-weight: 900; font-style: normal; margin-left: 2px; }
.bb-chips { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.bb-chip { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 7px;
  white-space: nowrap; }
.bb-chip.pick { background: var(--v2-pri-soft); border: 1px solid #ffddd0; color: #d9430f; }
.bb-chip.hit { background: #ffece8; border: 1px solid #ffb9aa; color: #d42c1e; }
.bb-chip.miss { background: #f5f6f8; border: 1px solid var(--fx-line); color: #9aa7b5; }
.bb-more { margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--fx-red);
  white-space: nowrap; }
.bb-meta { font-size: 11px; color: #a3aeb9; margin-top: 7px; }
.bb-logo-wrap { position: relative; flex: none; width: 22px; height: 22px; display: grid; place-items: center; }
.bb-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  border-radius: 50%; background: #fff; }

/* ---------- 足球实时比分（参照站「赛事分析」同款） ---------- */
/* 进行中 / 完场：比分用大号红字替代 VS，队徽盖在字母徽章之上 */
.ac-vs.score { font-size: 19px; font-weight: 900; color: #202b38;
  font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .5px;
  padding: 0 7px; white-space: nowrap; }
/* 与参照站一致：进行中比分红色高亮，完场比分深色 */
.ac-vs.score.live { color: var(--fx-red); }
.fb-logo-wrap { position: relative; flex: none; width: 22px; height: 22px; display: grid; place-items: center; }
.fb-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  border-radius: 50%; background: #fff; }
.ana-card .ac-teams { gap: 5px; }
.ana-card .ac-side { gap: 4px; }
.ana-card .ac-tn { max-width: 80px; font-size: 13.5px; }
.ana-card .rd-rk { flex: none; white-space: nowrap; }
.ac-half { flex: none; color: #b07832; background: #fff4e2; border-radius: 5px;
  padding: 1px 5px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.ac-single { flex: none; width: 17px; height: 17px; border-radius: 50%; background: #ffb02e;
  color: #fff; font-size: 10px; font-weight: 900; display: grid; place-items: center; }
.ac-st.fin { background: #f3f5f8; color: #8b96a3; }
.ac-st.live { animation: fblink 1.4s ease-in-out infinite; }
/* 历史卡片的旧样式会把所有状态都染成绿色，这里按实时阶段重新上色 */
.ah-card .ac-st { background: #f3f5f8; color: var(--fx-sub); }
.ah-card .ac-st.wait { background: #eef3fa; color: #6b8ab5; }
.ah-card .ac-st.live { background: #ffece8; color: var(--fx-red); animation: fblink 1.4s ease-in-out infinite; }
.ah-card .ac-st.fin { background: #f3f5f8; color: #8b96a3; }
@keyframes fblink { 0%, 100% { opacity: 1 } 50% { opacity: .55 } }
.rd-phase { margin-left: 6px; font-size: 11.5px; font-weight: 800; }
.rd-phase.live { color: #ffd9cf; }
.rd-phase.fin { color: #c9e8d2; }
.rd-hero .rd-vs { font-size: 20px; font-weight: 900; font-family: var(--mono);
  font-variant-numeric: tabular-nums; }
.rd-hero .rd-meta .ac-half { color: #ffd9b0; background: rgba(255,255,255,.14); margin-left: 6px; }
/* 赛程页卡片 / 直播弹层 */
.sc-vs.score { color: var(--fx-red); font-size: 18px; font-weight: 900;
  font-family: var(--mono); font-variant-numeric: tabular-nums; }
.slc-teams i { font-style: normal; font-size: 20px; font-weight: 900; color: var(--fx-red);
  font-family: var(--mono); }
/* 篮球实时比分与实时赛况（节次时钟 / 盘口 / 详情弹层） */
.bb-st.wait { background: #eef3fa; color: #6b8ab5; }
.bb-card.live { box-shadow: 0 0 0 1px rgba(232,56,47,.28); }
.bb-live-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  margin: -3px 0 9px; font-size: 11.5px; font-weight: 700; color: #8a6a4a; }
.bb-live-row i { flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--fx-red); animation: bblink 1.4s infinite; }
.rd-live-data { text-align: center; margin-top: 9px; font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.94); font-variant-numeric: tabular-nums; }
.rd-phase.wait { color: #ffe0b0; }
.rd-prow.live b { color: #e8382f; }

/* ---------- 聊天体验优化：入口未读角标 / 手动刷新 / 新消息提示 / 滚动 ---------- */
.shop-actions button { position: relative; white-space: nowrap; font-size: 12px; }
.shop-actions button i svg { width: 14px; height: 14px; }
.sh-chat-dot { position: absolute; top: 5px; right: 6px; width: 7px; height: 7px;
  border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 2px #fff; }
.sh-chat-dot.hidden { display: none !important; }
.fx-tabbar button .tab-dot.num { width: auto; min-width: 16px; height: 16px;
  top: 3px; left: calc(50% + 6px); border-radius: 8px; padding: 0 4px;
  font-style: normal; font-size: 10px; font-weight: 800; line-height: 16px;
  text-align: center; color: #fff; }
.chat-page { position: relative; height: calc(100vh - 158px);
  height: calc(100dvh - 158px); min-height: 320px; }
.chat-page-body { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.chat-refresh { flex: none; width: 30px; height: 30px; margin-left: 6px;
  border: 1px solid #e6ecf2; border-radius: 15px; background: #f7f9fb;
  color: #5d6b7a; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
.chat-page-top > .chat-sw + .chat-refresh { margin-left: auto; }
.chat-page-top .chat-refresh + .chat-bell { margin-left: 4px; }
.chat-refresh.spin { animation: chatSpin .7s linear; }
@keyframes chatSpin { to { transform: rotate(360deg); } }
.chat-newmsg { position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 66px; z-index: 5; border: 0; border-radius: 999px; padding: 7px 14px;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #ff8a4d, #ff5112);
  box-shadow: 0 6px 16px -6px rgba(255, 81, 18, .8); cursor: pointer; }
.chat-newmsg.hidden { display: none !important; }
.chat-input button:disabled { opacity: .55; }
.chat-sw button { position: relative; white-space: nowrap; }
.g-badge { position: absolute; top: -5px; right: -4px; min-width: 15px; height: 15px;
  padding: 0 4px; border-radius: 8px; background: #f4472e; color: #fff;
  font-style: normal; font-size: 10px; font-weight: 800; line-height: 15px;
  text-align: center; box-shadow: 0 0 0 2px #fff; }
.chat-page-top > b + .chat-refresh { margin-left: auto; }

/* ============ 我的方案 · 中奖 / 未中奖 ============ */
.pl-sp.win { background: linear-gradient(160deg, #ffb35c, #f0430f 70%, #d93a08); }
.pl-sp.lose { background: linear-gradient(160deg, #bcc5ce, #939eaa 70%, #7f8a96); }
.pl-sp.lose b { font-size: 26px; }
.pl-scores { margin-top: 6px; font-size: 11.5px; color: #98a5b3; font-weight: 700; }
.pl-card.is-lose .pl-teams { color: #7f8a96; }

.pd-head {
  position: relative; overflow: hidden; background: #fff;
  border: 1px solid var(--v2-line, #eef0f3); border-radius: 16px;
  padding: 16px 14px 13px; margin-bottom: 12px;
}
.pd-money { display: flex; gap: 10px; }
.pd-mcell { flex: 1; min-width: 0; position: relative; padding-right: 6px; }
.pd-mcell em { display: block; font-style: normal; font-size: 12px; color: #98a5b3; font-weight: 600; }
.pd-mcell b {
  display: block; margin-top: 6px; font-size: 25px; line-height: 1.25;
  font-family: var(--mono, monospace); font-weight: 900; color: #1f2b38;
  letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-mcell b.win { color: #e8382f; }
.pd-mcell b.lose { color: #98a5b3; }
.pd-direct {
  position: absolute; right: 0; top: -2px; font-style: normal; font-size: 10px; font-weight: 800;
  color: #9a6308; background: linear-gradient(135deg, #ffe9a8, #ffd166);
  border-radius: 6px; padding: 2px 7px; white-space: nowrap;
}
.pd-meta { margin-top: 12px; font-size: 13px; color: #5b6a7b; font-weight: 700; }
.pd-meta b { color: #1f2b38; font-size: 15px; font-weight: 900; }
.pd-meta i { font-style: normal; color: #d5dbe2; padding: 0 5px; }
.pd-state { margin-top: 7px; padding-right: 78px; font-size: 11.5px; color: #98a5b3; font-weight: 600; line-height: 1.5; }
.pd-stamp {
  position: absolute; right: 15px; bottom: 12px; width: 66px; height: 66px;
  border: 3px double currentColor; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; font-weight: 900; letter-spacing: 1px; color: #e8382f;
  background: rgba(255, 255, 255, .74); transform: rotate(-14deg); opacity: .9;
}
.pd-stamp.lose { color: #98a5b3; }
.pd-stamp:not(.win):not(.lose) { color: #ff8a3d; font-size: 13px; }

.pd-match .cfm-top { gap: 7px; }
.pd-lg {
  font-style: normal; flex: none; font-size: 10.5px; font-weight: 800; color: #9a6308;
  background: #fff3d9; border-radius: 5px; padding: 2px 7px;
}
.pd-no {
  margin-left: auto; font-size: 12.5px; font-weight: 800; color: #5b6a7b;
  font-family: var(--mono, monospace); white-space: nowrap;
}
.pd-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 14px 0 13px; }
.pd-teams .pd-tn {
  font-size: 15.5px; font-weight: 900; color: #1f2b38; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-score { text-align: center; min-width: 76px; }
.pd-score > b { display: block; font-size: 25px; line-height: 1.1; font-weight: 900; font-family: var(--mono, monospace); color: #1f2b38; }
.pd-score.pending > b { font-size: 16px; color: #b3bec9; }
.pd-score > em { display: block; margin-top: 3px; font-style: normal; font-size: 11px; color: #98a5b3; font-weight: 600; }
.cfm-pick.hit {
  background: linear-gradient(135deg, #e84036, #c8161d); color: #fff;
  box-shadow: 0 6px 14px -8px rgba(200, 22, 29, .9);
}
.cfm-pick.miss {
  background: #f2f4f6; color: #98a5b3; box-shadow: none;
  text-decoration: line-through; text-decoration-color: #c9d0d8;
}
.pd-ck {
  font-style: normal; flex: none; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 900;
  background: rgba(255, 255, 255, .24); color: #fff;
}
.pd-ck.no { background: #e4e8ec; color: #98a5b3; }
.pd-resline {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
  margin-top: 11px; padding-top: 9px; border-top: 1px dashed #eef0f3;
  font-size: 11.5px; color: #8b96a3; font-weight: 600;
}
.pd-resline i { font-style: normal; margin-left: auto; color: #b3bec9; font-weight: 500; }
.pd-note { text-align: center; font-size: 11.5px; color: #a7b1bd; line-height: 1.9; margin: 10px 0 6px; }
.pd-fixbar { display: flex; align-items: center; gap: 8px; padding: 0 2px 8px; }
.pd-fixbar button { border: 0; background: none; padding: 4px 0; color: #ff5112; font-size: 12px; font-weight: 700; cursor: pointer; }
.pd-fixbar span { margin-left: auto; font-size: 10.5px; color: #b3bec9; }
.cf-bar #pdDel { background: #f1f3f6; color: #5b6a7b; }
.cf-bar #pdClose { background: linear-gradient(135deg, #ff7a3d, #ff5112); color: #fff; }
@media (max-width: 360px) {
  .pd-mcell b { font-size: 21px; }
  .pd-stamp { width: 58px; height: 58px; font-size: 12px; }
}

/* ===== 赛事风向标：与参考站口径对齐（日期 / 真实数值 / 柱色 / 卡片） ===== */
.vn-banner { height: 98px; }
.vn-banner b { margin-bottom: 14px; }
.vn-shop {
  position: absolute; bottom: 9px; left: 0; right: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 11px; font-weight: 800; color: #fff;
}
.vn-shop-on { background: rgba(255,255,255,.2); border-radius: 999px; padding: 2px 9px; color: #d8ffe9; }
.vn-shop #vnShopName { opacity: .92; }

.vn-dates button.on { background: #eef3ff; border-color: #2b4bd7; box-shadow: none; }
.vn-dates button.on span, .vn-dates button.on em { color: #2b4bd7; }
.vn-dates button.today:not(.on) span { color: #2b4bd7; }
.vn-dates button.vn-more {
  background: #f3f5f9; border-style: dashed; color: #7a8697;
  font-size: 11.5px; font-weight: 700;
}
.vn-nums button.on {
  background: #fff; color: #2b4bd7; border-color: #2b4bd7;
  border-bottom: 2px solid #2b4bd7; border-radius: 6px; box-shadow: none;
}
.vn-nonum { font-size: 12px; color: #98a5b3; padding: 7px 2px; }

.vn-card {
  background: linear-gradient(165deg, #f5f1ff 0%, #ece9ff 46%, #eaf2ff 100%);
  border-color: #e2ddfa;
}
.vn-card .vc-num {
  background: linear-gradient(135deg, #8d7cff, #5a50d8);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  padding: 4px 16px 4px 10px; border-radius: 8px 0 0 0;
}
.vn-card .vc-teams { padding: 12px 14px 6px; gap: 8px; }
.vn-card .vc-teams .vc-side {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; justify-content: flex-end;
}
.vn-card .vc-teams .vc-side:last-child { justify-content: flex-start; }
.vn-card .vc-teams .t { flex: 0 1 auto; font-size: 14.5px; text-align: right; }
.vn-card .vc-teams .vc-side:last-child .t { text-align: left; }
.vn-logo {
  width: 32px; height: 32px; flex: none; border-radius: 50%; object-fit: contain;
  background: #fff; box-shadow: 0 2px 7px rgba(60,50,130,.16);
}
.vn-card .vc-teams .sc { min-width: 52px; font-size: 16px; color: #5a50d8; }

.vn-block .vb-row { background: rgba(255,255,255,.62); }
.vn-block .vbt b {
  background: #fff; color: #e8402a; border: 1.5px solid #f3a38e;
  box-shadow: 0 2px 6px rgba(232,64,42,.08);
}
.vn-block .vb .pct { color: #4a5563; }
.vn-block .vb .bar { background: linear-gradient(180deg, #ff9a63, #f0532a); }
.vn-block .vb:nth-child(3n+2) .bar { background: linear-gradient(180deg, #6f95ff, #2b4bd7); }
.vn-block .vb:nth-child(3n) .bar { background: linear-gradient(180deg, #45d99a, #0a9c50); }
.vn-block .vb.max .pct { color: #e8402a; }
.vn-block .vb.max .bar { box-shadow: 0 0 0 2px #ffd9c9; }
.vn-block .vb.max .bar::after { content: none; }
.vn-nodata {
  margin: 8px 12px 16px; padding: 22px 10px; border-radius: 12px;
  background: rgba(255,255,255,.6); text-align: center;
  font-size: 12.5px; color: #8a93a3; font-weight: 700;
}
.vn-empty span { font-size: 11.5px; color: #a7b1bd; font-weight: 500; }

/* ================= 比赛详情六页签（赛事分析/SP值/情报/直播/数据/深度信息） ================= */
.fd-liveflag {
  margin-left: auto; font-size: 10.5px; font-weight: 800; color: #12864a;
  background: #e6f7ed; border-radius: 20px; padding: 4px 10px; letter-spacing: .3px;
}
.fd-liveflag::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #21b267; margin-right: 5px; vertical-align: 1px;
  animation: fxdPulse 1.6s ease-in-out infinite;
}
@keyframes fxdPulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
#rdBody.fxd-wrap { padding-top: 10px; }
.fxd-hero {
  position: relative; overflow: hidden; border-radius: 16px; margin: 2px 0 0;
  padding: 14px 12px 12px; color: #fff;
  background:
    radial-gradient(120% 80% at 50% -30%, rgba(255,255,255,.22), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 42px, transparent 42px 84px),
    linear-gradient(165deg, #1f8a4c 0%, #0f6b39 52%, #0a4e2b 100%);
  box-shadow: 0 14px 30px -18px rgba(8,70,38,.85);
}
.fxd-hero::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 132px; height: 132px;
  transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.22); border-radius: 50%; pointer-events: none;
}
.fxd-hero-meta { position: relative; z-index: 1; text-align: center; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.94); letter-spacing: .4px; }
.fxd-hero-teams { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.fxd-team { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fxd-team b { font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fxd-team .fb-logo-wrap, .fxd-team .ac-badge { width: 42px; height: 42px; }
.fxd-team .fb-logo { width: 42px; height: 42px; border-radius: 50%; }
.fxd-team .ac-badge { font-size: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.fxd-center { flex: 0 0 116px; display: flex; align-items: center; justify-content: center; min-height: 64px; }
.fxd-cd-box {
  background: rgba(3,34,20,.55); border: 1px solid rgba(255,255,255,.16); border-radius: 9px;
  padding: 8px 10px; text-align: center; min-width: 108px;
}
.fxd-cd-box span { display: block; font-size: 10.5px; color: rgba(255,255,255,.82); }
.fxd-cd-box b { display: block; margin-top: 3px; font-size: 19px; font-family: var(--mono, monospace); letter-spacing: 1px; }
.fxd-cd-live { text-align: center; }
.fxd-cd-live b { display: block; font-size: 28px; font-family: var(--mono, monospace); font-weight: 900; letter-spacing: 2px; }
.fxd-phase { font-size: 11.5px; font-weight: 800; }
.fxd-phase.live { color: #ffd9a8; }
.fxd-phase.fin { color: #cfe9d8; }
.fxd-hero-foot { position: relative; z-index: 1; margin-top: 12px; text-align: center; font-size: 10.5px; color: rgba(255,255,255,.72); }
.fxd-tabs {
  position: sticky; top: 54px; z-index: 2; display: flex; gap: 0; margin: 10px -14px 0;
  padding: 0 6px; background: #fff; border-bottom: 1px solid #edf0f3;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.fxd-tabs::-webkit-scrollbar { display: none; }
.fxd-tabs button {
  flex: 1 0 auto; min-width: 62px; border: none; background: none; padding: 12px 8px 11px;
  font-size: 13.5px; font-weight: 700; color: #5b6875; position: relative; white-space: nowrap; cursor: pointer;
}
.fxd-tabs button.on { color: #f2531c; font-weight: 900; }
.fxd-tabs button.on::after {
  content: ''; position: absolute; left: 22%; right: 22%; bottom: 0; height: 3px;
  border-radius: 3px 3px 0 0; background: #f2531c;
}
.fxd-body { padding: 12px 0 32px; }
.fxd-sync, .fxd-note { text-align: center; font-size: 11.5px; color: #93a0ac; padding: 10px 0; }
.fxd-sync { background: #fff; border-radius: 10px; margin-bottom: 10px; color: #d2691e; font-weight: 700; }
.fxd-empty { padding: 26px 12px; text-align: center; font-size: 13px; color: #9aa6b2; background: #fff; border-radius: 12px; margin-bottom: 10px; }
.fxd-card {
  background: #fff; border-radius: 14px; padding: 14px 14px 15px; margin-bottom: 10px;
  box-shadow: 0 5px 20px rgba(31,45,61,.05);
}
.fxd-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.fxd-h b { font-size: 15px; font-weight: 900; color: #1f2b38; border-left: 4px solid #f6a623; padding-left: 9px; line-height: 1.15; }
.fxd-h small { font-size: 10.5px; color: #a4aeb8; font-weight: 600; }
.fxd-chip {
  margin-left: auto; border: 1px solid #e2e7ec; background: #fff; color: #7b8794;
  border-radius: 20px; padding: 4px 10px; font-size: 11px; font-weight: 800; cursor: pointer;
}
.fxd-chip.on { border-color: #f2531c; color: #f2531c; background: #fff3ec; }
.fxd-picks .rd-prow { font-size: 14px; padding: 8px 0; }
.fxd-picks .rd-prow span { width: 92px; }
.fxd-sec { margin: 14px 0 0; }
.fxd-sec .rd-sec-t { margin-bottom: 0; }
.fxd-sec .fxd-card { border-radius: 0 12px 12px 12px; }
.fxd-cold { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #7a8794; margin-bottom: 10px; }
.fxd-cold b { color: #f2531c; font-size: 15px; }
.fxd-calc {
  display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 16px;
  border: none; border-radius: 13px; padding: 15px 17px; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #ff7a3d, #ef3d1b); box-shadow: 0 10px 22px -12px rgba(239,61,27,.8);
}
.fxd-calc b { font-size: 17px; letter-spacing: 1px; }
.fxd-calc span { font-size: 12.5px; background: rgba(255,255,255,.22); border-radius: 20px; padding: 6px 13px; }
/* SP 值 */
.fxd-ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fxd-ocell {
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  background: #f7f9fb; border: 1px solid #eef1f4; border-radius: 9px; padding: 9px 10px;
}
.fxd-ocell span { font-size: 12px; color: #6b7885; font-weight: 700; }
.fxd-ocell b { font-size: 13.5px; color: #1f2b38; font-family: var(--mono, monospace); }
.fxd-ocell.on { background: #fff2e9; border-color: #ffd2b5; }
.fxd-ocell.on b { color: #ef4a17; }
/* 情报 */
.fxd-seg { display: flex; justify-content: center; gap: 0; margin: 2px 0 12px; }
.fxd-seg button {
  border: none; padding: 8px 26px; font-size: 13.5px; font-weight: 800; color: #8a96a2; cursor: pointer;
  background: #f1f3f6;
}
.fxd-seg button:first-child { border-radius: 22px 0 0 22px; }
.fxd-seg button:last-child { border-radius: 0 22px 22px 0; }
.fxd-seg.home button.on { background: linear-gradient(135deg, #ff9840, #f35c16); color: #fff; }
.fxd-seg.guest button.on { background: linear-gradient(135deg, #5b9bff, #2f6fe4); color: #fff; }
.fxd-intel-side { text-align: center; font-size: 11.5px; color: #94a0ac; margin: -4px 0 10px; }
.fxd-txt { font-size: 14px; line-height: 1.95; color: #38414c; text-align: justify; }
.fxd-txt p { margin: 0 0 9px; }
.fxd-txt p:last-child { margin-bottom: 0; }
.fxd-txt.bad { color: #4b5561; }
/* 直播 */
.fxd-live-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px;
  box-shadow: 0 5px 20px rgba(31,45,61,.05);
}
.fxd-lt { display: flex; align-items: center; gap: 7px; min-width: 0; }
.fxd-lt b { font-size: 14px; font-weight: 800; color: #263340; white-space: nowrap; }
.fxd-lt .fb-logo-wrap, .fxd-lt .ac-badge { width: 24px; height: 24px; }
.fxd-lt .fb-logo { width: 24px; height: 24px; border-radius: 50%; }
.fxd-lt .ac-badge { font-size: 11px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.fxd-live-head > span { font-size: 14px; color: #b9c2cb; font-weight: 800; }
.fxd-live-stats { background: #fff; border-radius: 14px; padding: 16px 12px; margin-bottom: 10px; box-shadow: 0 5px 20px rgba(31,45,61,.05); }
.fxd-circles { display: flex; justify-content: space-around; gap: 6px; }
.fxd-circle { text-align: center; }
.fxd-ring { width: 78px; height: 78px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.fxd-ring i {
  width: 62px; height: 62px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; gap: 3px; font-style: normal;
}
.fxd-ring em { font-size: 12.5px; font-weight: 800; color: #2b3641; font-style: normal; }
.fxd-ring small { color: #c8d0d8; font-size: 11px; }
.fxd-circle > span { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 700; color: #4b5865; }
.fxd-lines { margin-top: 14px; }
.fxd-line { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; }
.fxd-line em { font-size: 13px; font-weight: 800; color: #2b3641; font-style: normal; width: 34px; }
.fxd-line b { font-size: 12.5px; color: #67737f; font-weight: 700; }
.fxd-linebar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; border-radius: 6px; background: #d9dee4; overflow: hidden; }
.fxd-linebar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ffc247, #ff9d0b); }
.fxd-livecards { display: flex; justify-content: space-around; gap: 6px; border-top: 1px dashed #edf0f3; padding-top: 10px; }
.fxd-livecards span { font-size: 11.5px; color: #7b8794; font-weight: 700; }
.fxd-subtabs { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 12px 12px 0 0; padding: 12px 14px 0; }
.fxd-subtabs button { border: none; background: none; padding: 0 0 10px; font-size: 14px; font-weight: 800; color: #a4aeb8; cursor: pointer; position: relative; }
.fxd-subtabs button.on { color: #1f2b38; }
.fxd-subtabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: #f6a623; }
.fxd-tlive { background: #fff; border-radius: 0 0 12px 12px; padding: 6px 14px 12px; margin-bottom: 4px; }
.fxd-tlrow { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #f0f2f5; }
.fxd-tlrow:last-child { border-bottom: none; }
.fxd-tlrow em { flex: 0 0 38px; font-size: 12px; color: #f07c1f; font-weight: 800; font-style: normal; }
.fxd-tlrow p { margin: 0; font-size: 13px; line-height: 1.7; color: #414c58; }
/* 数据 */
.fxd-goalhead { display: flex; align-items: center; gap: 3px; margin-bottom: 4px; }
.fxd-goalhead > span { flex: 0 0 108px; }
.fxd-goalhead i { flex: 1; text-align: center; font-size: 9.5px; color: #9aa6b2; font-style: normal; }
.fxd-goalhead.bins i { font-size: 9px; color: #b8c0c9; }
.fxd-goalrow { display: flex; align-items: center; gap: 5px; margin: 6px 0; }
.fxd-goalteam { flex: 0 0 108px; display: flex; align-items: center; gap: 4px; min-width: 0; }
.fxd-goalteam b { font-size: 11.5px; font-weight: 700; color: #3b4652; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 54px; }
.fxd-goalteam em { font-size: 12.5px; font-weight: 900; color: #2b3641; font-style: normal; }
.fxd-goalteam .fb-logo-wrap, .fxd-goalteam .ac-badge { width: 20px; height: 20px; }
.fxd-goalteam .fb-logo { width: 20px; height: 20px; border-radius: 50%; }
.fxd-goalteam .ac-badge { font-size: 9px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.fxd-goalcells { flex: 1; display: flex; gap: 3px; }
.fxd-goalcells i {
  flex: 1; min-width: 0; text-align: center; font-size: 11px; font-style: normal; font-weight: 800;
  border-radius: 4px; padding: 5px 0; background: #f2f4f6; color: #8995a1;
}
.fxd-goalcells i.org.hit { background: #ffb323; color: #fff; }
.fxd-goalcells i.gry.hit { background: #c9d0d8; color: #4a5561; }
.fxd-stand-head { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 8px; }
.fxd-stand-head b { font-size: 13.5px; font-weight: 800; color: #2b3641; }
.fxd-stand-head .fb-logo-wrap, .fxd-stand-head .ac-badge { width: 24px; height: 24px; }
.fxd-stand-head .fb-logo { width: 24px; height: 24px; border-radius: 50%; }
.fxd-stand-head .ac-badge { font-size: 11px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.fxd-stand { width: 100%; border-collapse: collapse; font-size: 11.5px; text-align: center; }
.fxd-stand th { color: #8a96a2; font-weight: 700; padding: 7px 2px; background: #f7f9fb; }
.fxd-stand td { color: #46525e; padding: 9px 2px; border-bottom: 1px solid #f2f4f6; }
.fxd-stand tr:nth-child(2) td { color: #2f7de0; font-weight: 700; }
.fxd-recent .fxd-rrow { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #f1f3f6; font-size: 11.5px; }
.fxd-recent .fxd-rrow:last-child { border-bottom: none; }
.fxd-rrow em { flex: 0 0 38px; color: #a0aab5; font-style: normal; }
.fxd-rrow span { flex: 0 0 58px; color: #8a96a2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxd-rrow p { flex: 1; margin: 0; color: #4b5763; text-align: right; }
.fxd-rrow p b { color: #ef4a17; font-family: var(--mono, monospace); }
.fxd-cmp > div { margin-bottom: 12px; }
.fxd-cmp span { display: block; font-size: 12px; color: #66727e; margin-bottom: 5px; }
.fxd-cmp i { display: block; height: 9px; border-radius: 6px; background: #eef1f4; overflow: hidden; }
.fxd-cmp b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ffc247, #ff9d0b); }
/* 深度信息 */
.fxd-pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 14px; line-height: 2; color: #3b4652; }
.fxd-card:has(.fxd-pre) { background: linear-gradient(180deg, #fff8f4, #fff); }
@media (max-width: 380px) {
  .fxd-tabs button { min-width: 56px; font-size: 12.5px; padding-left: 5px; padding-right: 5px; }
  .fxd-ring { width: 68px; height: 68px; }
  .fxd-ring i { width: 54px; height: 54px; }
  .fxd-goalteam { flex-basis: 96px; }
  .fxd-goalhead > span { flex-basis: 96px; }
}

/* ============ 确认详情（参照站版式） ============ */
.cf-wrap.rf-wrap { min-height: calc(100vh - 58px); box-sizing: border-box; display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 16px; }
.cf-wrap { padding-top: 12px; }
.rf-panel { width: 100%; box-sizing: border-box; background: #fff; border-radius: 10px; padding: 13px 14px; margin: 0 auto 12px; font-size: 14px; }
.rf-row1 { display: flex; align-items: center; justify-content: space-between; }
.rf-title { font-size: 15px; font-weight: 600; color: #1d2129; }
.rf-title b { font-size: 16px; font-weight: 800; color: #1d2129; margin-right: 4px; }
.rf-btns { display: flex; gap: 8px; }
.rf-btns button { height: 26px; min-width: 54px; padding: 0 10px; border: 1px solid #f96235; border-radius: 5px; background: #fff; color: #f96235; font-size: 12px; font-weight: 700; cursor: pointer; }
.rf-btns button.dark { border-color: #1d2129; color: #1d2129; }
.rf-btns button.on { background: #fff3ee; }
.rf-divider { height: 1px; background: #ebedf0; margin: 12px 0; }
.rf-row2 { display: flex; align-items: center; justify-content: space-between; color: #4e5969; font-size: 13.5px; }
.rf-row2 i, .rf-row2 b { font-style: normal; color: #f96235; font-weight: 800; font-variant-numeric: tabular-nums; }
.rf-row2 input { width: 58px; border: 0; background: transparent; color: #f96235; font-size: 14px; font-weight: 800; text-align: left; padding: 0; outline: none; font-family: var(--mono, monospace); }
.rf-row2.r { justify-content: flex-start; gap: 4px; padding-top: 10px; }
.rf-row2.r i { font-size: 14px; }
.rf-row2.r em { font-style: normal; color: #f96235; font-weight: 900; margin: 0 4px; }
.rf-matches { padding-top: 4px; padding-bottom: 4px; }
.rf-match { border-bottom: 1px dashed #f1f1f1; padding: 12px 0 10px; }
.rf-match:first-child { padding-top: 4px; }
.rf-match:last-child { border-bottom: 0; padding-bottom: 4px; }
.rf-top { position: relative; display: flex; align-items: center; justify-content: space-between; color: #4e5969; font-size: 13px; }
.rf-top .rf-weeks { font-size: 14px; font-weight: 700; color: #1d2129; }
.rf-weeks .rf-single { font-style: normal; font-size: 10.5px; font-weight: 700; color: #f96235; border: 1px solid #f96235; border-radius: 4px; padding: 1px 5px; margin-left: 6px; }
.rf-top .rf-time { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12.5px; white-space: nowrap; }
.rf-top .rf-cup { font-size: 13px; }
.rf-teams { display: flex; align-items: center; margin: 12px 0; }
.rf-team { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; }
.rf-team.l { justify-content: flex-end; }
.rf-team.r { justify-content: flex-start; }
.rf-team span { font-size: 15px; font-weight: 800; color: #1d2129; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-team b { font-size: 11px; font-weight: 400; color: #86909c; flex: none; }
.rf-team .rf-pos { font-style: normal; font-size: 11px; color: #999; flex: none; }
.rf-team .fb-logo-wrap, .rf-team .ac-badge { width: 26px; height: 26px; flex: none; }
.rf-team .ac-badge { border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 800; font-style: normal; }
.rf-team .fb-logo { width: 26px; height: 26px; border-radius: 50%; }
.rf-vs { flex: none; font-style: normal; font-size: 15px; font-weight: 800; color: #b0b7bf; margin: 0 8px; }
.rf-player { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.rf-choice { min-width: 33.33%; max-width: 50%; flex: 1; height: 38px; margin: 5px; box-sizing: border-box; padding: 0 6px; border-radius: 5px; background: #f96235; color: #fff; display: flex; align-items: center; justify-content: center; gap: 3px; font-size: 14px; font-weight: 700; }
.rf-choice em { font-style: normal; font-size: 11px; font-weight: 600; }
.rf-choice .rf-odds { font-size: 12px; font-weight: 700; margin-left: 3px; font-variant-numeric: tabular-nums; }
.rf-optbar { background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.rf-opt-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 14px; color: #1d2129; }
.rf-opt-head small { color: #86909c; font-size: 11.5px; font-weight: 400; margin-left: auto; }
.rf-optbar table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rf-optbar th, .rf-optbar td { border: 1px solid #efefef; padding: 8px 6px; text-align: center; vertical-align: middle; font-size: 12.5px; color: #1d2129; }
.rf-optbar th { color: #4e5969; font-size: 13px; font-weight: 600; background: #fafbfc; }
.rf-optbar th:first-child, .rf-optbar td:first-child { width: 62%; }
.rf-td-choice { text-align: left !important; line-height: 1.7; word-break: break-all; }
.rf-td-odds { color: #f96235; margin-left: 3px; }
.rf-tip { font-size: 12px; color: #86909c; line-height: 1.7; text-align: left; padding: 0 4px 4px; }
.rf-tip.center { text-align: center; margin-bottom: 10px; }
.cf-bar.rf-bar { margin-top: auto; background: #fff; padding: 10px 0 2px; }
.cf-bar.rf-bar #cfPoster, .cf-bar.rf-bar #cfSave { background: linear-gradient(90deg, #fe673a, #fd9316) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; border-radius: 8px !important; }
@media (max-width: 380px) {
  .rf-top .rf-time { font-size: 11.5px; }
  .rf-team span { font-size: 13.5px; }
  .rf-choice { min-width: 46%; font-size: 13px; }
}

/* 确认详情：参考站同款「方案明细」卡片（默认收起，展开后海报同步带明细） */
.rf-opt-head { justify-content: space-between; }
.rf-opt-head #cfExpand { display: flex; align-items: center; gap: 5px; margin-left: auto; border: 0; background: none; padding: 2px 0 2px 8px; color: #f96235; font-size: 13px; font-weight: 700; cursor: pointer; }
.rf-opt-head #cfExpand i { font-style: normal; font-size: 15px; line-height: 1; transition: transform .2s; }
.rf-optbar.open #cfExpand i { transform: rotate(180deg); }
.rf-opt-note { padding: 0 14px 14px; color: #a7b1bd; font-size: 12px; line-height: 1.9; }
.rf-optbar:not(.open) table { display: none; }
.rf-optbar.open .rf-opt-note { display: none; }
.rf-optbar.open table { display: table; }
.rf-optbar.open .rf-opt-head { border-bottom: 1px solid #f1f1f1; }
.rf-team .rf-pos { color: #86909c; font-size: 11.5px; }
.detail-sheet .ds-back { width: 24px; height: 30px; border: 0; background: transparent; color: #f96235; font-size: 27px; font-weight: 400; line-height: 1; padding: 0; }
/* 竞篮确认页：参考站为「每场一张独立白卡」+ 居中标题 */
.detail-sheet .ds-bar.rf-dsbar { justify-content: center; }
.detail-sheet .ds-bar.rf-dsbar .ds-back { position: absolute; left: 14px; }
.rf-panel.rf-match.rf-solo { padding: 12px 14px 14px; margin: 0 auto 12px; border-bottom: 0; }
.rf-match.rf-solo:first-child { padding-top: 12px; }
.rf-match.rf-solo:last-child { padding-bottom: 14px; }
/* 竞篮选号页：与确认页同源的真实队徽 + 联赛排名 */
.calc-match.bb .cm-teams { gap: 4px; }
.calc-match.bb .cm-teams .t { font-size: 13.5px; }
.calc-match.bb .cm-teams .fb-logo-wrap, .calc-match.bb .cm-teams .ac-badge { width: 20px; height: 20px; flex: none; }
.calc-match.bb .cm-teams .fb-logo { width: 20px; height: 20px; border-radius: 50%; }
.calc-match.bb .cm-teams .ac-badge { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 800; font-style: normal; }
.calc-match.bb .cm-teams .rk { font-size: 10px; color: #98a1ae; flex: none; }

/* ========== 足球赛事分析卡片：按参照站优化疏朗度与配色（篮球卡片不受影响） ========== */
.ana-card:not(.bb-card) { padding: 13px 13px 12px; border-radius: 15px; border-color: #f3f1f0; box-shadow: 0 3px 12px -8px rgba(40, 48, 64, .26); }
.ana-card:not(.bb-card) .ac-top { gap: 9px; font-size: 12px; }
.ana-card:not(.bb-card) .ac-no { font-size: 12.5px; color: #4d5866; }
.ana-card:not(.bb-card) .ac-lg { color: #9aa5b1; }
.ana-card:not(.bb-card) .ac-st { font-size: 11px; padding: 3px 9px; border-radius: 9px; }
.ana-card:not(.bb-card) .ac-teams { gap: 6px; margin: 14px 0 13px; }
.ana-card:not(.bb-card) .ac-side { gap: 5px; }
.ana-card:not(.bb-card) .ac-tn { max-width: none; flex: 0 1 auto; font-size: 14px; }
.ana-card:not(.bb-card) .ac-vs.score { min-width: 50px; text-align: center; font-size: 18px; padding: 0 4px; }
.ana-card:not(.bb-card) .rd-rk { font-size: 11.5px; color: #9ba5b0; }
.ana-card:not(.bb-card) .ac-chips { gap: 6px; }
.ana-card:not(.bb-card) .ac-chip,
.ana-card:not(.bb-card) .ac-chip.rf { background: #fff0ed; border: 0; border-radius: 7px; color: #e0574a; padding: 4px 9px; font-size: 11.5px; }
.ana-card:not(.bb-card) .ac-more { font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.ana-card:not(.bb-card) .ac-more i { font-style: normal; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; line-height: 1; }
@media (max-width: 380px) {
  .ana-card:not(.bb-card) .ac-tn { font-size: 13px; }
  .ana-card:not(.bb-card) .ac-vs.score { min-width: 44px; font-size: 17px; }
}

/* 推荐彩果选项：与参照站一致 —— 红底白字，命中项右下角黄色角标 */
.ana-card:not(.bb-card) .ac-chips .ac-chip,
.ana-card:not(.bb-card) .ac-chips .ac-chip.rf {
  position: relative;
  background: #f42b1e;
  border: 0;
  border-radius: 6px;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
}
.ana-card:not(.bb-card) .ac-chips .ac-chip.ah-hit { background: #f42b1e; color: #fff; }
.ana-card:not(.bb-card) .ac-chips .ac-chip.ah-hit::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 0; height: 0;
  border-left: 13px solid transparent;
  border-bottom: 13px solid #ffd44f;
}
.ana-card:not(.bb-card) .ac-chips .ah-ck {
  position: absolute;
  right: 1px; bottom: 0;
  z-index: 1;
  width: 9px; height: 11px;
  margin: 0;
  font-style: normal;
  font-size: 8px;
  line-height: 11px;
  text-align: center;
  color: #d8380f;
  font-weight: 800;
}
