:root {
  color-scheme: light;
  --ink: #15181d;
  --muted: #667085;
  --line: #d9dee7;
  --paper: #f7f7f4;
  --panel: #ffffff;
  --green: #0d7d61;
  --red: #b42318;
  --gold: #ad7800;
  --blue: #2457a6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: min(1440px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow a {
  color: var(--blue);
  text-decoration: none;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.json-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration-color: #bfd0ec;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.pill.warn {
  border-color: #f3d99a;
  background: #fffbeb;
  color: var(--gold);
  font-weight: 800;
}

.pill.alert {
  border-color: #f1b8b4;
  background: #fff1f0;
  color: var(--red);
  font-weight: 800;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stacked-th {
  width: 88px;
  min-width: 88px;
  line-height: 1.05;
}

.stacked-th span {
  display: block;
}

.th-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 3px;
}

tr:last-child td {
  border-bottom: 0;
}

.candidate {
  font-weight: 800;
}

.candidate-link {
  color: var(--ink);
  text-decoration-color: var(--line);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.candidate-link:hover {
  color: var(--blue);
  text-decoration-color: var(--blue);
}

.print-cell {
  min-width: 190px;
}

.print-value {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 0;
  background: #edf0f5;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.muted {
  color: var(--muted);
}

.numeric {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.section-title {
  margin: 28px 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.prose section {
  max-width: 880px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.prose h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.prose p {
  margin: 0 0 10px;
  color: #344054;
  font-size: 15px;
  line-height: 1.6;
}

.detail-note {
  margin: 4px 0 18px;
  max-width: 920px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.detail-note strong {
  color: var(--ink);
}

.reliability-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.reliability-guide h2 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.25;
}

.reliability-guide p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.samples-table {
  min-width: 1120px;
}

.reliability-table {
  min-width: 1180px;
  table-layout: fixed;
}

.reliability-table th:nth-child(1),
.reliability-table td:nth-child(1) {
  width: 140px;
}

.reliability-table th:nth-child(2),
.reliability-table td:nth-child(2) {
  width: 120px;
}

.reliability-table th:nth-child(3),
.reliability-table td:nth-child(3) {
  width: 195px;
}

.reliability-table th:nth-child(4),
.reliability-table td:nth-child(4) {
  width: 195px;
}

.reliability-table th:nth-child(5),
.reliability-table td:nth-child(5) {
  width: 180px;
}

.reliability-table th:nth-child(6),
.reliability-table td:nth-child(6) {
  width: auto;
}

.reliability-table td {
  vertical-align: middle;
}

.th-title,
.th-note,
.list-main,
.list-note {
  display: block;
}

.th-note {
  margin-top: 4px;
  color: #8a93a3;
  font-size: 10px;
  line-height: 1.25;
  text-transform: none;
}

.inline-note {
  display: inline;
  margin-top: 0;
  text-transform: uppercase;
}

.metric-value {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.cell-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.timestamp {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.25;
}

.list-note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.count-chip {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid #e2e7ef;
  border-radius: 999px;
  background: #f7f9fc;
  color: var(--ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.25;
}

.source-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d8e4f4;
  border-radius: 999px;
  background: #f7f9fc;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.source-status.live {
  border-color: #b7e4d5;
  background: #ecfdf5;
  color: var(--green);
}

.source-status.partial,
.source-status.degraded,
.source-status.stale {
  border-color: #f3d99a;
  background: #fffbeb;
  color: var(--gold);
}

.source-status.blocked {
  border-color: #f1b8b4;
  background: #fff1f0;
  color: var(--red);
}

.compact-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: #344054;
  font-size: 13px;
  line-height: 1.25;
}

.compact-list strong {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.invalid-reasons {
  margin-top: 10px;
}

.hourly-list {
  max-height: 330px;
  overflow: auto;
  padding-right: 6px;
}

.history-panel {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.detail-history {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-history[hidden] {
  display: none;
}

.detail-history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
}

.detail-history-heading .section-title {
  margin: 0;
}

.detail-history-heading .text-link {
  font-weight: 600;
}

.detail-history-frame {
  display: block;
  width: 100%;
  height: 610px;
  border: 0;
}

.detail-history + .table-wrap {
  margin-top: 24px;
}

.market-card-top a {
  color: inherit;
  text-decoration: none;
}

.market-card-top a:hover,
.market-card-top a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.history-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-width: 520px;
  height: 170px;
  padding: 18px 16px 14px;
}

.history-bar {
  position: relative;
  flex: 1 0 10px;
  max-width: 20px;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.history-bar span {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  display: none;
  transform: translateX(-50%);
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.history-bar:hover span {
  display: block;
}

.history-table-wrap {
  margin-top: 10px;
}

.history-table {
  min-width: 1120px;
  table-layout: fixed;
}

.history-table th,
.history-table td {
  padding-right: 12px;
  padding-left: 12px;
}

.history-table th:nth-child(1),
.history-table td:nth-child(1) {
  width: 132px;
}

.history-table th:nth-child(2),
.history-table td:nth-child(2) {
  width: 86px;
}

.history-table th:nth-child(3),
.history-table td:nth-child(3) {
  width: 88px;
}

.history-table th:nth-child(4),
.history-table td:nth-child(4) {
  width: 134px;
}

.history-table th:nth-child(5),
.history-table td:nth-child(5) {
  width: auto;
  min-width: 520px;
}

.history-table th:nth-child(6),
.history-table td:nth-child(6) {
  width: 120px;
}

.history-table td {
  vertical-align: top;
}

.history-window {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.25;
}

.history-window span {
  display: block;
}

.history-window span:not(:first-child) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.history-print {
  font-size: 16px;
  font-weight: 800;
}

.calc-line {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid #e6eaf1;
  border-radius: 6px;
  background: #fafbfc;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc-terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  white-space: normal;
}

.calc-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.calc-final {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  white-space: normal;
}

.calc-terms + .calc-final {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #edf0f5;
}

.calc-final strong {
  color: var(--ink);
}

.calc-final-rule {
  color: var(--muted);
}

.calc-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.calc-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid #e6eaf1;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc-step strong {
  color: var(--ink);
}

.calc-step.selected {
  border-color: #b9d2ff;
  background: #f3f7ff;
  color: var(--ink);
}

.calc-badge {
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.valid-text {
  color: var(--green);
  font-weight: 800;
}

.invalid-text {
  color: var(--red);
  font-weight: 800;
}

.flag-pair {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 2px 8px 2px 0;
  vertical-align: middle;
}

.flag {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
  cursor: default;
}

.flag-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid #c9d3e3;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: help;
  user-select: none;
}

.flag-help:focus {
  outline: 2px solid #b9d2ff;
  outline-offset: 2px;
}

.flag-tooltip {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  display: none;
  width: min(320px, 78vw);
  padding: 9px 11px;
  border: 1px solid #cfd8e6;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-transform: none;
  white-space: normal;
}

.flag-pair:hover .flag-tooltip,
.flag-pair:focus-within .flag-tooltip {
  display: block;
}

.site-disclaimer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-draft-page {
  background:
    linear-gradient(180deg, #eef4fb 0, rgba(238, 244, 251, 0) 340px),
    var(--paper);
}

.home-shell {
  max-width: 1320px;
}

.home-hero {
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line);
}

.home-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.draft-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d2d8e4;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-subhead {
  max-width: 760px;
  margin: 14px 0 0;
  color: #344054;
  font-size: 17px;
  line-height: 1.45;
}

.home-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.market-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.market-preview-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 330px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(21, 24, 29, 0.04);
}

.market-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.market-kicker {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.market-preview-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-status-dot {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #d2d8e4;
  border-radius: 6px;
  background: #f7f9fc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.home-status-dot.live {
  border-color: #b7e4d5;
  background: #ecfdf5;
  color: var(--green);
}

.home-status-dot.warn {
  border-color: #f3d99a;
  background: #fffbeb;
  color: var(--gold);
}

.home-market-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.home-market-meta span {
  padding: 4px 7px;
  border: 1px solid #e2e7ef;
  border-radius: 4px;
  background: #f8fafc;
}

.home-rank-list {
  display: grid;
  gap: 7px;
}

.home-rank-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 8px 12px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #edf0f5;
  color: var(--ink);
  text-decoration: none;
}

.home-rank-row:hover .home-rank-name {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.home-rank-name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-rank-odds {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  text-align: right;
}

.home-rank-bar {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  background: #edf0f5;
}

.home-rank-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.home-empty-row {
  padding: 14px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.market-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 2px;
}

.market-card-link,
.market-card-source-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration-color: #bfd0ec;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.market-card-source-link {
  color: var(--muted);
}

.history-test-page {
  background:
    linear-gradient(180deg, #eef4fb 0, rgba(238, 244, 251, 0) 360px),
    var(--paper);
}

.history-test-shell {
  max-width: 1180px;
}

.history-test-card {
  margin-top: 20px;
  padding: 22px 24px 16px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(21, 24, 29, 0.07);
}

.history-test-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.history-test-header h2 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.2;
}

.history-test-header p,
.history-chart-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.history-test-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.history-test-controls button,
.history-chart-footer button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #cfd8e6;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.history-test-controls button:hover,
.history-chart-footer button:hover,
.history-test-controls button.active {
  border-color: #b9d2ff;
  background: #f3f7ff;
  color: var(--blue);
}

.history-chart-stage {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.history-line-chart {
  display: block;
  width: 100%;
  height: 430px;
  touch-action: none;
  cursor: crosshair;
}

.history-plot-bg {
  fill: #fff;
}

.history-grid-line {
  stroke: #e4e9f1;
  stroke-width: 1;
}

.history-axis-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.history-line {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.75;
}

.history-area {
  fill: url("#historyAreaGradient");
  stroke: none;
}

.history-area-single {
  stroke: rgba(36, 87, 166, 0.18);
  stroke-width: 2;
}

.history-point {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 2;
}

.history-point.latest {
  fill: var(--panel);
}

.history-point.active {
  fill: var(--blue);
  stroke: #fff;
  stroke-width: 2.5;
}

.history-crosshair {
  stroke: #8aa8d6;
  stroke-dasharray: 4 4;
  stroke-width: 1.5;
}

.history-no-print-marker {
  stroke: var(--red);
  stroke-linecap: square;
  stroke-width: 1.5;
  opacity: 0.65;
}

.history-selection {
  fill: rgba(36, 87, 166, 0.14);
  stroke: rgba(36, 87, 166, 0.45);
  stroke-width: 1;
}

.history-tooltip {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 3px;
  max-width: min(290px, calc(100% - 18px));
  padding: 10px 12px;
  border: 1px solid #cfd8e6;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  color: #344054;
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
}

.history-tooltip strong {
  color: var(--ink);
  font-size: 16px;
}

.history-chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  margin-top: 10px;
}

.history-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.history-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.history-legend-line {
  width: 22px;
  height: 3px;
  background: var(--blue);
}

.history-legend-gap {
  width: 3px;
  height: 14px;
  background: var(--red);
  opacity: 0.65;
}

.flag.NO_PRINT {
  background: #fff1f0;
  color: var(--red);
}

.flag.OK {
  background: #eaf8f3;
  color: var(--green);
}

.flag.TWO_VENUE,
.flag.WEIGHT_BOOTSTRAP,
.flag.RANDOMNESS_FALLBACK,
.flag.RANDOMNESS_INCOMPLETE {
  background: #fff7df;
  color: var(--gold);
}

@media (max-width: 680px) {
  .shell {
    width: min(100vw - 20px, 1180px);
    padding-top: 18px;
  }

  .topbar {
    align-items: start;
    flex-direction: column;
  }

  .reliability-guide {
    grid-template-columns: 1fr;
  }

  .home-brand-row,
  .market-card-top,
  .history-test-header,
  .history-chart-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-test-controls {
    justify-content: flex-start;
  }

  .history-line-chart {
    height: 330px;
  }
}

@media (max-width: 1080px) {
  .market-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .market-preview-grid {
    grid-template-columns: 1fr;
  }

  .market-preview-card {
    min-height: 0;
  }
}
