.arcade-page {
  --round-ink: #f4efe1;
  --round-amber: #efb45f;
  --round-win: #a6e0ac;
  --round-muted: #aebeb0;
  --round-surface: #15231b;
  --round-outline: #405744;
}
.round-clock {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 32px;
  color: var(--round-muted);
  font-size: 13px;
  letter-spacing: 0;
}
.round-clock strong {
  font-size: 28px;
  color: var(--round-ink);
  line-height: 1;
}
.round-clock small {
  font-size: 12px;
  margin-left: 4px;
  font-weight: 500;
}
.round-clock.closing strong {
  color: var(--round-amber);
}
.round-clock[data-phase="running"] {
  color: var(--arcade-gold);
}
.round-wager {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--round-muted);
  text-align: center;
}
.round-wager.has-wager {
  color: var(--round-win);
}
.round-cancel {
  display: block;
  width: 100%;
  margin-top: 8px;
  min-height: 44px;
  border: 1px solid var(--round-outline);
  background: transparent;
  color: var(--round-ink);
  border-radius: 10px;
}
.round-history {
  margin-top: 28px;
}
.round-history-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.round-history h2 {
  font-size: 16px;
  margin: 0;
}
.round-history-heading > span {
  color: var(--round-muted);
  font-size: 12px;
}
.round-history ol {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
}
.round-history li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: var(--round-surface);
  border-radius: 8px;
  padding: 12px 2px 9px;
}
.round-history li:first-child {
  outline: 1px solid var(--arcade-gold);
}
.round-history strong {
  font-size: 16px;
  color: var(--round-ink);
}
.round-history time {
  font-size: 10px;
  color: var(--round-muted);
}
.history-empty {
  color: var(--round-muted);
  font-size: 13px;
  margin: 0;
  padding: 14px 0;
}
.paytable caption {
  text-align: left;
  font-weight: 650;
  font-size: 16px;
  padding: 12px 0;
  color: var(--round-ink);
}
.arcade-rules .paytable th {
  text-align: left;
  font-weight: 500;
}
.arcade-rules .paytable td {
  color: var(--arcade-gold);
}
.round-rule,
.payout-note {
  color: var(--round-muted);
  font-size: 13px;
}
.arcade-rules {
  max-height: min(85dvh, 720px);
  overflow-y: auto;
}
@media (max-width: 600px) {
  .round-history ol {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .round-history strong {
    font-size: 14px;
  }
}
