/* Blackjack-specific styles split from the shared stylesheet. */

.bankroll-lasts-stat {
  margin-bottom: 24px;
}

.lasts-hands-stat-value {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.15;
  margin-top: 8px;
}

.lasts-hands-actions {
  justify-content: center;
  margin-top: 16px;
}

.strategy-table,
.strategy-chart {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
  border-radius: 14px;
  text-align: center;
}

.strategy-table th,
.strategy-table td,
.strategy-chart th,
.strategy-chart td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.strategy-table th,
.strategy-chart th {
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 0.95rem;
}

.strategy-table td,
.strategy-chart td {
  color: var(--muted);
  background: rgba(255,255,255,0.015);
}

.strategy-table tr:hover {
  background: rgba(255,255,255,0.03);
}

.strategy-chart th,
.strategy-chart td {
  border: 1px solid var(--border);
}

/* STRATEGY MOVE COLORS */
.hit {
  background: #1f77b4 !important;
  color: #fff !important;
}

.stand {
  background: #2ecc71 !important;
  color: #111 !important;
}

.double {
  background: #f1c40f !important;
  color: #111 !important;
}

.split {
  background: #9b59b6 !important;
  color: #fff !important;
}

.legend span {
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 6px;
  display: inline-block;
}

@media (max-width: 768px) {
  .strategy-table th,
  .strategy-table td,
  .strategy-chart th,
  .strategy-chart td {
    padding: 8px;
    font-size: 0.92rem;
  }
}
