.round-table-region {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.round-table-region:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
main.page:has(.page-stack > :is(.round-table-region, .recent-bets):last-child) { padding-bottom: 0; }

.round-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.round-table th,
.round-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--bdr-subtle);
  text-align: left;
  vertical-align: middle;
}
.round-table th {
  background: var(--bg-soft);
  color: var(--text);
  border: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.round-table th:first-child { border-radius: 8px 0 0 8px; }
.round-table th:last-child { border-radius: 0 8px 8px 0; }
.round-table td:nth-child(-n + 2) { overflow-wrap: anywhere; }
.round-table td:nth-child(3),
.round-table td:nth-child(4),
.round-table td:nth-child(5),
.round-table .round-user-hidden { color: var(--muted); }
.round-user-hidden { white-space: nowrap; }
.round-user-hidden svg { width: 18px; height: 18px; margin-right: 6px; vertical-align: -.25em; }
.round-table :is(th, td):nth-child(n + 3) { text-align: right; white-space: nowrap; }
.round-game-link {
  color: var(--soft);
  font-weight: 700;
  text-decoration: none;
}
.round-game-link:hover, .round-game-link:focus-visible { color: #9ccaff; text-decoration: none; }
.round-sol-icon { display: inline-block; vertical-align: -.15em; width: 14px; height: 14px; object-fit: contain; }
.round-table td:nth-child(6) { color: #68e0a1; font-weight: 600; }
.round-table td.payout-loss { color: var(--danger); }
.round-table td.payout-even { color: var(--text); }
.round-table .round-table-empty:first-child { color: var(--muted); font-weight: 400; }

.recent-bets { min-width: 0; }
.recent-bets > h2 { margin-bottom: 12px; }

.live-bet-id {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  min-width: 0;
}

.live-bet-id-code {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-bet-id-btn {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 7px;
  border-radius: calc(var(--radius) - 2px);
  border: 0;
  background: var(--bg-soft);
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.live-bet-id-btn:hover {
  background: var(--panel-soft);
}

@media (max-width: 640px) {
  .round-table { min-width: 565px; font-size: 13px; }
  .round-table th, .round-table td { padding: 12px 8px; }
}
