/* ===========================================================
   竞彩足球智能分析 · 样式表
   =========================================================== */

:root {
  --bg: #090c11;
  --bg-soft: #0d1219;
  --panel: #121a24;
  --panel-2: #17212e;
  --panel-3: #1d2836;
  --line: #23303f;
  --line-soft: #1a2532;
  --text: #e7eef7;
  --text-2: #b6c4d4;
  --muted: #8290a3;
  --home: #ff5d5d;
  --draw: #f2b53c;
  --away: #2fbf8f;
  --accent: #4d9bff;
  --value: #35d07f;
  --warn: #ff8a5b;
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .9);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body { padding-bottom: 64px; }

a { color: var(--accent); text-decoration: none; }

.wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 顶部 ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 320px at 12% -20%, rgba(77, 155, 255, .16), transparent 70%),
    radial-gradient(700px 300px at 88% -10%, rgba(255, 93, 93, .12), transparent 70%),
    linear-gradient(180deg, #0c1118, #090c11);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 30px 0 8px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2a3a4f, #141c26);
  border: 1px solid #2f4054;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.logo svg { display: block; }

.brand { flex: 1 1 220px; min-width: 0; }

.brand h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: .4px;
  font-weight: 650;
}

.brand .sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .2px;
}

.brand .sub b { color: var(--text-2); font-weight: 600; }

.hero-tags {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* 顶部导航胶囊 */
.navlink {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  font-size: 11.5px;
  color: #9cc4f0;
  text-decoration: none;
  background: rgba(122, 184, 255, 0.1);
  border: 1px solid rgba(122, 184, 255, 0.28);
  border-radius: 20px;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.navlink:hover { background: rgba(122, 184, 255, 0.2); color: #cfe4ff; border-color: rgba(122, 184, 255, 0.5); }

.tag {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
  white-space: nowrap;
}

.tag.demo {
  color: #ffd58a;
  border-color: rgba(242, 181, 60, .35);
  background: rgba(242, 181, 60, .08);
}

.tag.live { color: #9fe8c8; border-color: rgba(47, 191, 143, .3); background: rgba(47, 191, 143, .08); }

/* 概览指标 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 24px;
}

.stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}

.stat .k {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat .v {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: -.5px;
}

.stat .v small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.stat .d { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.stat .d.up { color: var(--value); }
.stat .d.down { color: var(--home); }

/* ---------------- 工具条 ---------------- */

.toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(9, 12, 17, .82);
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 0;
  margin-bottom: 20px;
}

.toolbar-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.league-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text-2);
  cursor: pointer;
  transition: .16s;
  user-select: none;
}

.chip:hover { border-color: #33465c; color: var(--text); }
.chip.on {
  background: rgba(77, 155, 255, .14);
  border-color: rgba(77, 155, 255, .55);
  color: #cfe4ff;
}

.toolbar-right {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

select, .search {
  appearance: none;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 9px;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

select:focus, .search:focus { border-color: rgba(77, 155, 255, .5); }

.search { width: 168px; cursor: text; }
.search::placeholder { color: #5d6b7d; }

.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-2);
  cursor: pointer;
  padding: 6px 4px;
  user-select: none;
}

.switch input { display: none; }

.switch .track {
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: var(--panel-3);
  border: 1px solid var(--line);
  position: relative;
  transition: .18s;
}

.switch .track::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #7c8a9c;
  top: 2px;
  left: 2px;
  transition: .18s;
}

.switch input:checked + .track { background: rgba(77, 155, 255, .3); border-color: rgba(77, 155, 255, .6); }
.switch input:checked + .track::after { transform: translateX(15px); background: #cfe4ff; }

/* ---------------- 比赛卡片 ---------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(372px, 1fr));
  gap: 16px;
}

.card {
  background: linear-gradient(180deg, var(--panel), #101821);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px 14px;
  cursor: pointer;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(77, 155, 255, .55), transparent);
  opacity: 0;
  transition: .2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #2f4257;
  box-shadow: var(--shadow);
}

.card:hover::before { opacity: 1; }

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.no-badge {
  font-family: var(--mono);
  font-size: 11px;
  color: #9fc7ff;
  background: rgba(77, 155, 255, .12);
  border: 1px solid rgba(77, 155, 255, .28);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: .3px;
}

.league-tag { color: var(--text-2); }

.card-head .time { font-family: var(--mono); font-size: 11px; }

.conf {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.conf .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.conf.hi { color: #ffd58a; border-color: rgba(242, 181, 60, .35); background: rgba(242, 181, 60, .08); }
.conf.mid { color: #9fc7ff; border-color: rgba(77, 155, 255, .3); background: rgba(77, 155, 255, .07); }

/* 队名区 */
.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 14px 0 12px;
}

.team { min-width: 0; }
.team.away { text-align: right; }

.team .tname {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team .meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.team.away .meta { justify-content: flex-end; }

.rank {
  font-family: var(--mono);
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--panel-3);
  color: var(--text-2);
  border: 1px solid var(--line);
}

.form-dots { display: flex; gap: 3px; }
.team.away .form-dots { flex-direction: row-reverse; }

.fd {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  font-size: 9px;
  font-family: var(--mono);
  display: grid;
  place-items: center;
  color: #0b1017;
  font-weight: 700;
}

.fd.W { background: #35d07f; }
.fd.D { background: #7c8a9c; color: #0b1017; }
.fd.L { background: #6b3540; color: #ffb3b3; }

.vs {
  font-family: var(--mono);
  font-size: 11px;
  color: #55647a;
  padding: 0 2px;
}

/* 赔率条 */
.odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, .012);
}

.odd {
  padding: 7px 4px;
  text-align: center;
  border-right: 1px solid var(--line-soft);
  line-height: 1.25;
}

.odd:last-child { border-right: none; }
.odd .lbl { font-size: 10.5px; color: var(--muted); }
.odd .num { font-family: var(--mono); font-size: 13.5px; color: var(--text); margin-top: 1px; }

.odd.hit { background: rgba(77, 155, 255, .1); }
.odd.hit .num { color: #bcd9ff; font-weight: 600; }
.odd.hit .lbl { color: #9fc7ff; }

/* 概率条 */
.prob-bar {
  display: flex;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 7px;
  background: var(--panel-3);
  gap: 2px;
}

.prob-bar span { display: block; height: 100%; }

.prob-legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.prob-legend b { color: var(--text-2); font-weight: 600; }

/* 推荐摘要 */
.picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}

.pick { min-width: 0; }
.pick .k { font-size: 10.5px; color: var(--muted); letter-spacing: .3px; }
.pick .v {
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pick .v.win { color: #ff8a8a; }
.pick .v.draw { color: #ffd37a; }
.pick .v.lose { color: #6fe0b6; }
.pick .v.pos { color: var(--value); }
.pick .v.neg { color: var(--muted); }
.pick .v small { font-size: 9.5px; color: var(--muted); font-weight: 400; }
.pick .v.vstack { white-space: normal; font-size: 11px; line-height: 1.4; font-weight: 500; }
.pick .v.vstack span { display: block; }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
  font-size: 13.5px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------------- 详情弹窗 ---------------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 8, 12, .78);
  backdrop-filter: blur(6px);
  display: none;
  padding: 28px 16px;
  overflow-y: auto;
}

.overlay.open { display: block; animation: fade .18s ease; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  background: #0d131b;
  border: 1px solid #263545;
  border-radius: 18px;
  box-shadow: 0 40px 90px -30px #000;
  overflow: hidden;
  animation: rise .22s cubic-bezier(.2, .8, .2, 1);
}

@keyframes rise { from { transform: translateY(14px); opacity: .6; } to { transform: none; opacity: 1; } }

.sheet-head {
  position: relative;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 0% -60%, rgba(77, 155, 255, .18), transparent 70%),
    linear-gradient(180deg, #121b26, #0d131b);
}

.sheet-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.sheet-close:hover { color: var(--text); border-color: #3a4d63; }

.sheet-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted);
}

.matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.matchup .side { min-width: 0; }
.matchup .side.right { text-align: right; }
.matchup .side .n { font-size: 21px; font-weight: 650; letter-spacing: .3px; }
.matchup .side .s { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.matchup .mid { text-align: center; }
.matchup .mid .x { font-family: var(--mono); font-size: 12px; color: #56657a; }
.matchup .mid .at { font-size: 10.5px; color: #56657a; margin-top: 3px; }

.verdict {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.vbox {
  flex: 1 1 150px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 12px;
}

.vbox .k { font-size: 10.5px; color: var(--muted); letter-spacing: .4px; }
.vbox .v { font-size: 17px; font-weight: 650; margin-top: 4px; font-family: var(--mono); }
.vbox .v small { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.vbox.hl { border-color: rgba(77, 155, 255, .38); background: rgba(77, 155, 255, .08); }

.sheet-body { padding: 20px 22px 26px; }

.section { margin-bottom: 26px; }
.section:last-child { margin-bottom: 4px; }

.section h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section h3::before {
  content: "";
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--accent);
}

.section h3 .hint { font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* 概率对比行 */
.prow {
  display: grid;
  grid-template-columns: 48px 1fr 50px 42px 42px;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 12px;
}

.prow .n { color: var(--text-2); }
.prow .track { height: 8px; background: var(--panel-3); border-radius: 999px; overflow: hidden; display: flex; }
.prow .track i { display: block; height: 100%; border-radius: 999px; }
.prow .v1, .prow .v2 { font-family: var(--mono); font-size: 11px; text-align: right; }
.prow .v1 { color: var(--text); }
.prow .v2 { color: var(--muted); }

.prow-head {
  display: grid;
  grid-template-columns: 48px 1fr 50px 42px 42px;
  gap: 8px;
  font-size: 10.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.prow-head span:nth-child(n+3) { text-align: right; }

/* 比分热力图 */
.matrix-wrap { display: flex; gap: 10px; }

.matrix {
  display: grid;
  grid-template-columns: 26px repeat(5, 1fr);
  gap: 3px;
  flex: 1;
}

.matrix .cell {
  aspect-ratio: 1.55 / 1;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #dfe9f5;
  border: 1px solid transparent;
}

.matrix .axis {
  color: var(--muted);
  font-size: 10px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
}

.matrix .cell.top { border-color: rgba(255, 255, 255, .42); font-weight: 700; }

.matrix .corner { font-size: 9px; color: #55647a; }

.matrix-note { font-size: 10.5px; color: var(--muted); margin-top: 8px; }

/* 半全场九宫格 */
.htft-grid {
  display: grid;
  grid-template-columns: 40px repeat(3, 1fr);
  gap: 4px;
}

.htft-grid .hd {
  display: grid;
  place-items: center;
  font-size: 10.5px;
  color: var(--muted);
}

.htft-grid .c {
  border-radius: 7px;
  padding: 9px 4px;
  text-align: center;
  border: 1px solid var(--line-soft);
}

.htft-grid .c .l { font-size: 10.5px; color: var(--text-2); }
.htft-grid .c .p { font-family: var(--mono); font-size: 12.5px; margin-top: 3px; color: var(--text); }
.htft-grid .c .o { font-family: var(--mono); font-size: 9.5px; color: #8fb4e6; margin-top: 2px; height: 12px; }
.htft-grid .c.top { border-color: rgba(255, 255, 255, .45); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.htft-grid .c.top .p { font-weight: 700; }

/* 表格 */
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.tbl th {
  text-align: left;
  font-weight: 500;
  font-size: 10.5px;
  color: var(--muted);
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  letter-spacing: .4px;
}

.tbl td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-2);
}

.tbl tr:last-child td { border-bottom: none; }
.tbl .num { font-family: var(--mono); }
.tbl .mono { font-family: var(--mono); color: var(--text); }

.st {
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
}

.st.hot { color: #ffb36b; border-color: rgba(255, 138, 91, .4); background: rgba(255, 138, 91, .1); }
.st.ok { color: #8fd7c0; border-color: rgba(47, 191, 143, .3); background: rgba(47, 191, 143, .08); }
.st.doubt { color: #ffd58a; border-color: rgba(242, 181, 60, .35); background: rgba(242, 181, 60, .1); }
.st.out { color: #ff9b9b; border-color: rgba(255, 93, 93, .4); background: rgba(255, 93, 93, .1); }

/* 总进球柱状图 */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 108px;
  padding: 0 2px;
}

.bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.bar .val {
  font-size: 9.5px;
  color: #9fc7ff;
  font-family: var(--mono);
  margin-bottom: 3px;
  height: 12px;
}

.bar i {
  width: 100%;
  background: linear-gradient(180deg, #5aa6ff, #2b5f9e);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
}

.bar .gl {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
  font-family: var(--mono);
}

/* 理由列表 */
.reasons { display: flex; flex-direction: column; gap: 9px; }

.reason {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-2);
}

.reason .t {
  flex: 0 0 auto;
  font-size: 10.5px;
  color: #9fc7ff;
  background: rgba(77, 155, 255, .1);
  border: 1px solid rgba(77, 155, 255, .22);
  padding: 1px 7px;
  border-radius: 5px;
  height: 19px;
  line-height: 17px;
}

/* 参数小卡 */
.kv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.kv .i {
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 9px 10px;
}

.kv .i .k { font-size: 10.5px; color: var(--muted); }
.kv .i .v { font-family: var(--mono); font-size: 14px; margin-top: 3px; }

/* 免责声明 */
.foot {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: #67768a;
  line-height: 1.8;
}

.foot b { color: #8b9aae; }
.foot .warn { color: #c99a5c; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0e14; }
::-webkit-scrollbar-thumb { background: #26313f; border-radius: 10px; border: 2px solid #0a0e14; }
::-webkit-scrollbar-thumb:hover { background: #35455a; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 720px) {
  /* 联赛标签改为单行横滑，避免占满半屏 */
  .league-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    margin-bottom: 2px;
  }
  .league-chips::-webkit-scrollbar { display: none; }
  .league-chips .chip { flex: 0 0 auto; padding: 6px 11px; font-size: 12px; }
  .wrap { padding: 0 14px; }
  .hero-inner { padding-top: 20px; }
  .brand { flex: 1 1 220px; min-width: 0; }

.brand h1 { font-size: 19px; }
  .hero-tags { margin-left: 0; width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 11px 12px; }
  .stat .v { font-size: 20px; }
  .toolbar { padding: 10px 0; }
  .toolbar-right { margin-left: 0; width: 100%; gap: 8px; }
  .search { flex: 1 1 130px; width: auto; min-width: 0; }
  .toolbar-right select { flex: 1 1 40%; min-width: 0; }
  .switch { flex: 0 0 auto; }
  .sheet { border-radius: 14px; }
  .sheet-body, .sheet-head { padding-left: 15px; padding-right: 15px; }
  .matchup .side .n { font-size: 17px; }
  .kv { grid-template-columns: repeat(2, 1fr); }
  .picks { grid-template-columns: repeat(2, 1fr); }
  .prow, .prow-head { grid-template-columns: 38px 1fr 46px 42px; }
  .prow .vm, .prow-head .h-mo { display: none; }
  .overlay { padding: 12px 8px; }
}
