:root {
  --ink: #082052;
  --paper: #f7fbff;
  --panel: #ffffff;
  --panel-2: #f2f8fc;
  --blue: #073c87;
  --blue-2: #0b5bb4;
  --green: #008248;
  --red: #c1121f;
  --gold: #d99a16;
  --orange: #f59e0b;
  --gray: #8a929d;
  --line: #c9d6e5;
  --muted: #5f6b7a;
  --soft: #edf5ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 154, 22, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(7, 60, 135, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(7, 60, 135, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

.shell {
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.sticky-board {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 0 10px;
  background:
    linear-gradient(90deg, rgba(7, 60, 135, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(7, 60, 135, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  box-shadow: 0 12px 22px rgba(8, 32, 82, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 18px;
  align-items: stretch;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  box-shadow: 0 10px 28px rgba(8, 32, 82, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 26px;
}

h3 {
  margin-bottom: 12px;
}

.subline {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #fff7dc, #f3c862);
  color: var(--ink);
  border: 1px solid #e0b14f;
  border-radius: 6px;
}

.hero-panel span,
.hero-panel small {
  font-weight: 800;
}

.hero-panel strong {
  font-size: 28px;
  line-height: 1;
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  overflow-x: auto;
}

.tab,
.ghost {
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  min-height: 40px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(7, 60, 135, 0.15);
}

.tab.active {
  background: var(--blue);
  color: white;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.controls {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input,
select {
  height: 40px;
  min-width: 220px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.sub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.sub-tab {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.sub-tab.active {
  background: var(--blue);
  color: white;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.panel {
  display: none;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(8, 32, 82, 0.08);
}

.active-panel {
  display: block;
}

.data-only-panel {
  display: none !important;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pill,
.model-chip,
.result-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  background: #f7fbff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.match-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.match-card {
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(8, 32, 82, 0.06);
}

.match-card.finished {
  background: linear-gradient(180deg, #ffffff, var(--panel-2));
  border-left-color: var(--green);
}

.match-meta,
.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.teams {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  text-align: center;
}

.teams strong {
  font-size: 20px;
}

.teams b {
  padding: 8px 0;
  background: var(--blue);
  color: white;
  font-size: 20px;
  border-radius: 4px;
}

.status-done {
  color: var(--green);
}

.status-open {
  color: var(--red);
}

.day-block {
  margin-bottom: 24px;
}

.day-block h3 {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: var(--blue);
  color: white;
  border-radius: 4px;
}

.trend-wrap {
  max-height: 72vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7dd;
}

.trend-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 14px;
  font-weight: 900;
}

.trend-table th,
.trend-table td {
  height: 34px;
  padding: 6px 8px;
  border: 1px solid #d7e2ef;
  text-align: center;
  white-space: nowrap;
}

.trend-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--blue);
  color: white;
}

.trend-table tbody tr:hover td {
  filter: brightness(0.96);
}

.trend-table td:nth-child(n + 6):nth-child(-n + 13) {
  background: #fff5d6;
}

.bucket-cell.active-bucket {
  background: #fff200 !important;
  color: var(--red);
  font-size: 18px;
}

.home-cell {
  background: #eaf2ff !important;
  color: var(--blue);
}

.score-cell {
  background: var(--blue) !important;
  color: white;
  font-size: 17px;
}

.away-cell {
  background: #e9f8f0 !important;
  color: var(--green);
}

.trend-table td:nth-child(14) {
  background: #f2f2f2;
}

.trend-table .mono {
  font-variant-numeric: tabular-nums;
}

.is-upcoming .score-cell {
  color: rgba(255, 255, 255, 0.65);
}

.stat-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.draw-rates {
  margin-bottom: 12px;
}

.draw-rate-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
}

.draw-rate-table th,
.draw-rate-table td {
  height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  text-align: center;
}

.draw-rate-table th {
  background: var(--blue);
  color: white;
}

.draw-rate-table .current-row td {
  background: #fff5d6;
  color: var(--red);
}

.stat-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.stat-title-line h3 {
  margin-bottom: 0;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: #fff5d6;
  border: 1px solid #e7c468;
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.historical-score-panel {
  margin-bottom: 18px;
}

.historical-score-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow-x: auto;
}

.hist-head,
.hist-row {
  display: grid;
  grid-template-columns: 90px repeat(4, minmax(120px, 1fr));
  min-width: 620px;
}

.hist-head span,
.hist-row span,
.hist-row strong {
  min-height: 34px;
  padding: 7px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.hist-head span {
  background: var(--blue);
  color: white;
}

.hist-row strong {
  background: #fff5d6;
  color: var(--red);
  font-size: 16px;
}

.hist-row:nth-child(odd) span {
  background: #f5f9fd;
}

.bars,
.score-table,
.model-list,
.review-table {
  display: grid;
  gap: 8px;
}

.bar-row {
  display: grid;
  grid-template-columns: 56px 1fr 36px 56px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 800;
  border-radius: 6px;
}

.bar-track {
  height: 16px;
  background: #dfe8f2;
  border: 1px solid #b8c9dd;
  border-radius: 999px;
  overflow: hidden;
}

.bar-track i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.score-table {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.score-table div {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.score-table strong {
  color: var(--blue);
  font-size: 22px;
}

#odds.panel {
  padding: 0;
  background: #f7f8fa;
  overflow: hidden;
}

.jczq-phone {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  color: #333;
  border: 1px solid #dfe7ef;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.jczq-titlebar {
  display: grid;
  grid-template-columns: 44px auto 96px 1fr;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 14px;
  background: white;
  border-bottom: 1px solid #e7edf3;
}

.jczq-back {
  border: 0;
  background: transparent;
  color: #8c8c8c;
  cursor: pointer;
  font-size: 38px;
  font-family: inherit;
  line-height: 1;
}

.jczq-titlebar strong {
  color: #111;
  font-size: 28px;
  line-height: 1;
}

.jczq-app {
  justify-self: start;
  padding: 5px 13px;
  background: white;
  border: 1px solid #d9515a;
  border-radius: 999px;
  color: #d9515a;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}

.jczq-tools {
  display: flex;
  gap: 10px;
  justify-self: end;
}

.jczq-tools button {
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
}

.jczq-end-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 14px;
  background: #9bcff5;
  color: white;
  font-size: 15px;
  font-weight: 800;
}

.jczq-end-toggle input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 0;
}

.jczq-daybar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  padding: 0 14px;
  background: #9bcff5;
  border: 0;
  color: white;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
}

.jczq-match {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 8px;
  min-height: 150px;
  padding: 12px 8px 10px;
  background: white;
  border-bottom: 1px solid #eef1f4;
}

.jczq-left {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  color: #999;
}

.jczq-issue {
  color: #8b8b8b;
  font-size: 17px;
  font-weight: 800;
}

.jczq-league {
  min-width: 72px;
  padding: 4px 10px;
  background: #0aa451;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

.jczq-time {
  color: #a1a1a1;
  font-size: 16px;
}

.jczq-attitude {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #b4dbf4;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
}

.jczq-main {
  min-width: 0;
}

.jczq-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-height: 32px;
  margin-bottom: 6px;
  border: 0;
  background: transparent;
  color: #202020;
  cursor: pointer;
  font-family: inherit;
}

.jczq-teams strong {
  min-width: 0;
  text-align: center;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.2;
}

.jczq-teams span {
  text-align: center;
  font-size: 21px;
}

.jczq-teams i {
  color: #b6b6b6;
  font-size: 30px;
  font-style: normal;
  line-height: 1;
}

.jczq-betrow {
  display: grid;
  grid-template-columns: 38px repeat(3, minmax(0, 1fr)) 54px;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

.jczq-bubble {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 30px;
  height: 30px;
  background: #fafafa;
  border-radius: 50%;
  color: #d5d5d5;
  font-size: 16px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #f0f0f0;
}

.jczq-bubble.hot {
  color: #d9515a;
}

.jczq-bubble.green {
  color: #0aa451;
}

.jczq-odd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 6px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #777;
  cursor: pointer;
  font-size: 18px;
  font-family: inherit;
  line-height: 1;
}

.jczq-odd.single {
  border-color: #d35a61;
}

.jczq-odd.disabled {
  color: #c9c9c9;
  cursor: not-allowed;
}

.jczq-odd.selected {
  background: #d9515a;
  border-color: #d9515a;
  color: white;
}

.jczq-odd b {
  font-weight: 650;
}

.jczq-odd em {
  font-style: normal;
  font-size: 15px;
}

.jczq-more {
  position: relative;
  border: 0;
  background: transparent;
  color: #b4dbf4;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
}

.jczq-more i {
  position: absolute;
  top: -8px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: #d9515a;
  border-radius: 999px;
  color: white;
  font-size: 11px;
  font-style: normal;
}

.jczq-slip {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e6e6e6;
  color: #c84e58;
  font-size: 14px;
  font-weight: 750;
}

.jczq-slip strong {
  color: #073c87;
  white-space: nowrap;
}

.jczq-slip span {
  min-width: 0;
  overflow: hidden;
  color: #c84e58;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jczq-slip button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #d35a61;
  border-radius: 4px;
  background: white;
  color: #c84e58;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.jczq-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  background: rgba(8, 32, 82, 0.32);
}

.jczq-overlay[hidden] {
  display: none;
}

.jczq-sheet {
  width: min(560px, 100vw);
  max-height: 78vh;
  margin: 0 auto;
  overflow: auto;
  background: white;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -12px 36px rgba(8, 32, 82, 0.22);
}

.jczq-sheet-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  background: white;
  border-bottom: 1px solid #e7edf3;
}

.jczq-sheet-head strong {
  color: #111;
  font-size: 17px;
}

.jczq-sheet-head button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

#jczq-sheet-body {
  padding: 12px;
}

.jczq-sheet-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.jczq-sheet-tabs span {
  display: grid;
  place-items: center;
  min-height: 32px;
  background: #eef7ff;
  border: 1px solid #cfe3f5;
  border-radius: 4px;
  color: #073c87;
  font-size: 13px;
  font-weight: 850;
}

.jczq-sheet-section {
  margin-bottom: 14px;
}

.jczq-sheet-section h4 {
  margin: 0 0 8px;
  color: #333;
  font-size: 15px;
}

.jczq-sheet-grid {
  display: grid;
  gap: 7px;
}

.jczq-sheet-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.jczq-sheet-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.jczq-sheet-grid.score {
  grid-template-columns: repeat(3, 1fr);
}

.jczq-sheet-option {
  display: grid;
  gap: 4px;
  min-height: 46px;
  place-items: center;
  background: white;
  border: 1px solid #d35a61;
  border-radius: 4px;
  color: #666;
  cursor: pointer;
  font-family: inherit;
}

.jczq-sheet-option.selected {
  background: #d9515a;
  color: white;
}

.jczq-sheet-option:disabled {
  border-color: #e4e4e4;
  color: #bbb;
  cursor: not-allowed;
}

.jczq-sheet-option b,
.jczq-sheet-option em {
  font-style: normal;
}

.jczq-filter-grid,
.jczq-menu-list,
.jczq-ticket-list {
  display: grid;
  gap: 8px;
}

.jczq-filter-grid {
  grid-template-columns: repeat(2, 1fr);
}

.jczq-filter-grid button,
.jczq-menu-list button {
  min-height: 40px;
  border: 1px solid #cfe3f5;
  border-radius: 5px;
  background: #f7fbff;
  color: #073c87;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.jczq-filter-grid button.selected {
  background: #073c87;
  color: white;
}

.jczq-sheet-note {
  margin: 0 0 10px;
  color: #666;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.jczq-ticket-list span {
  padding: 9px 10px;
  background: #fff7f7;
  border: 1px solid #f0c5c9;
  border-radius: 4px;
  color: #c84e58;
  font-weight: 850;
}

.model-card {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(8, 32, 82, 0.06);
}

.model-version-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.model-version {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.version-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.version-head strong {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
}

.version-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.model-top,
.pick-row,
.prob-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.model-top h3 {
  margin: 4px 0 0;
}

.match-no {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.prob-grid {
  justify-content: start;
  margin: 14px 0;
}

.prob-grid span,
.pick-row span,
.pick-row strong {
  padding: 7px 10px;
  background: #eef5ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.pick-row strong {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.model-card p {
  margin-bottom: 8px;
  line-height: 1.55;
}

.model-card .model-reason {
  padding: 9px 10px;
  background: #fff8e6;
  border: 1px solid #ecd491;
  border-radius: 6px;
}

.model-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.review-cards {
  margin-bottom: 16px;
}

.review-summary-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
}

.review-summary-table th,
.review-summary-table td {
  height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  text-align: center;
}

.review-summary-table th {
  background: var(--blue);
  color: white;
}

.review-summary-table td:nth-child(2) {
  color: var(--red);
  font-size: 15px;
}

.review-head,
.review-row {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr 0.6fr 0.5fr 0.5fr;
  gap: 8px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  align-items: center;
}

.review-head {
  background: var(--blue);
  color: white;
  font-weight: 900;
}

.review-record-wrap {
  max-height: 70vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.review-record-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 12px;
  font-weight: 800;
}

.review-record-table th,
.review-record-table td {
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.review-record-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--blue);
  color: white;
}

.review-record-table td:nth-child(-n + 7) {
  background: #f5f7fa;
}

.review-record-table td:nth-child(n + 8):nth-child(-n + 15) {
  background: #fff5d6;
}

.review-record-table .text-cell {
  min-width: 260px;
  text-align: left;
  line-height: 1.45;
  white-space: normal;
}

.review-record-table .pick-cell {
  color: var(--red);
  font-size: 16px;
  font-weight: 900;
}

.good {
  color: var(--green);
}

.bad {
  color: var(--red);
}

.empty {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 880px) {
  .shell {
    width: min(100vw - 18px, 1480px);
    padding-top: 10px;
  }

  .hero,
  .stat-layout,
  .draw-rates,
  .review-cards {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 26px;
  }

  .controls,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  input,
  select {
    min-width: 0;
    width: 100%;
  }

  .review-head,
  .review-row {
    grid-template-columns: 1fr;
  }
}
