.recent-bets-widget {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: min(920px, calc(100vw - 20px));
  background: rgba(26, 31, 46, 0.96);
  border: 1px solid #2a2f3e;
  border-radius: 10px;
  padding: 10px 14px;
  z-index: 120;
  display: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.recent-bets-widget.show {
  display: block;
}

.rbw-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #8b949e;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.rbw-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rbw-row {
  background: #1a1f2e;
  border: 1px solid #2a2f3e;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.rbw-game {
  background: #2a2f3e;
  border-radius: 4px;
  padding: 2px 7px;
  color: #8b949e;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.rbw-wallet {
  color: #fff;
  font-weight: 600;
}

.rbw-amount {
  background: #2a2f3e;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
}

.rbw-mult {
  color: #fff;
  font-weight: 700;
}

.rbw-time {
  margin-left: auto;
  color: #8b949e;
  font-size: 11px;
}

.rbw-empty {
  color: #8b949e;
  text-align: center;
  font-size: 12px;
  padding: 10px;
}

.rbw-win {
  color: #48bb78;
}

.rbw-loss {
  color: #f56565;
}

@media (max-width: 640px) {
  .recent-bets-widget {
    bottom: 8px;
    width: calc(100vw - 12px);
    padding: 8px 10px;
  }
  .rbw-label {
    font-size: 10px;
  }
  .rbw-row {
    flex-wrap: wrap;
    gap: 5px;
    font-size: 11px;
    padding: 7px 9px;
  }
  .rbw-time {
    width: 100%;
    margin-left: 0;
  }
}
