/* Core ball system */
.uk-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: flex-start;
}

.uk-ball {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  background: #fff;
  color: #1a1a1a;
  border-style: solid;
  border-width: 4px;
  box-shadow: 0 2px 6px #0000004d;
  -webkit-text-fill-color: #1a1a1a;
  text-shadow: none;
  opacity: 1;
}

.ball-green {
  border-color: #279b27;
}

.ball-red {
  border-color: #c91d1d;
}

.ball-orange {
  border-color: #f2800d;
}

.ball-yellow {
  border-color: #e0bb06;
}

.ball-brown {
  border-color: #8f5024;
}

.ball-purple {
  border-color: #8a2eb8;
}

.ball-blue {
  border-color: #1773cf;
}

.uk-ball.is-bonus {
  box-shadow: 0 0 10px #ffc61a80, 0 2px 6px #0000004d;
}

.uk-bonus-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.uk-bonus-plus {
  color: #f5f7fb;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

/* Shared sizing consistency for stats/premium grids */
.uk-prem-stat-ball-item .uk-ball,
.uk-stat-card-item .uk-ball,
.uk-prem-pair-balls .uk-ball,
.uk-prem-freq-ball .uk-ball,
.uk-premium-bucket-grid .uk-ball {
  width: 32px;
  height: 32px;
  font-size: 16px;
  border-width: 4px;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  text-shadow: none;
  opacity: 1;
}

.uk-prem-hotcold-card .uk-prem-stat-ball-item .uk-ball,
.uk-stats-panel .uk-stat-card-item .uk-ball {
  width: 32px !important;
  height: 32px !important;
  font-size: 16px !important;
  border-width: 4px !important;
}

@media (max-width: 960px) {
  .uk-ball {
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border-width: 4px;
    font-size: 14px;
  }

  .uk-bonus-wrap {
    white-space: nowrap;
    margin-left: 0;
    flex: 0 0 auto;
  }

  .uk-bonus-plus {
    font-size: 18px;
  }
}
