.entry-content:has(.ufc-model-table) {
  max-width: min(1440px, calc(100vw - 32px)) !important;
}

.ufc-model-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 18px 0 28px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  border-spacing: 0;
  border-collapse: separate;
  background: #fff;
  font-size: 15px;
  line-height: 1.42;
  white-space: nowrap;
}

.ufc-model-table thead {
  background: #f3f6fa;
}

.ufc-model-table th,
.ufc-model-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e3e8ef;
  border-right: 1px solid #edf1f5;
  text-align: left;
  vertical-align: top;
}

.ufc-model-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #172033;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.ufc-model-table tbody tr:nth-child(even) {
  background: #fafbfd;
}

.ufc-model-table tbody tr:hover {
  background: #eef5ff;
}

.ufc-predictions-table {
  white-space: normal;
}

.ufc-predictions-table th,
.ufc-predictions-table td {
  min-width: 140px;
}

.ufc-predictions-table td:first-child,
.ufc-predictions-table th:first-child {
  min-width: 230px;
}

.ufc-model-table small {
  color: #5c6778;
  font-size: 14px;
}

.ufc-model-pick,
.ufc-result-hit,
.ufc-result-miss {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 700;
}

.ufc-model-pick {
  background: #e0f2fe;
  color: #075985;
}

.ufc-result-hit {
  background: #dcfce7;
  color: #14532d;
}

.ufc-result-miss {
  background: #fee2e2;
  color: #7f1d1d;
}

@media (max-width: 700px) {
  .ufc-model-table {
    font-size: 14px;
  }

  .ufc-model-table th,
  .ufc-model-table td {
    padding: 8px 9px;
  }
}
