#dailyBonusStatus {
  color: #cdbed6;
  font-size: 12px;
}

.blackjack {
  margin: 20px auto 42px;
  padding: 20px;
  border: 3px solid #f5b900;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(118,0,188,.28), transparent 34%),
    linear-gradient(145deg, #31004c, #100019);
  box-shadow: 0 0 0 5px #5a3400, 0 0 30px rgba(255,183,0,.2);
  overflow: hidden;
}

.blackjack-top {
  text-align: center;
  color: #ffd64f;
  font-size: clamp(22px,7vw,34px);
  font-weight: 900;
  margin-bottom: 8px;
}

.bj-rules {
  margin: 0 auto 16px;
  color: #cdbed6;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}

.bj-area {
  padding: 16px;
  margin: 12px 0;
  border-radius: 18px;
  background: rgba(0,0,0,.28);
  text-align: center;
  border: 1px solid rgba(255,255,255,.06);
}

.dealer-area {
  background:
    radial-gradient(circle at 50% 15%, rgba(255,213,74,.08), transparent 45%),
    rgba(0,0,0,.3);
}

.bj-area h3 {
  margin: 0 0 12px;
  color: #ffd54a;
  letter-spacing: 2px;
}

.bj-hand {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px;
}

.playing-card {
  width: 72px;
  height: 102px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 2px solid #eee;
  border-radius: 10px;
  background: linear-gradient(180deg,#fff,#f2f2f2);
  color: #111;
  box-shadow: 0 5px 12px rgba(0,0,0,.42), inset 0 0 0 1px rgba(0,0,0,.08);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 800;
}

.playing-card.red { color: #c00028; }
.card-rank { font-size: 27px; line-height: 1; }
.card-suit { font-size: 30px; line-height: 1; }

.card-back {
  background:
    repeating-linear-gradient(45deg,#5c148d 0 7px,#2c063f 7px 14px);
  color: #ffd54a;
  border-color: #ffd54a;
  box-shadow: 0 5px 12px rgba(0,0,0,.42), inset 0 0 0 4px #180021;
}

.card-back span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #ffd54a;
  border-radius: 50%;
  background: #1a0626;
  font: 900 15px Arial,sans-serif;
  letter-spacing: 1px;
}

.bj-score {
  margin-top: 8px;
  color: #d9cde1;
  font-weight: 700;
  font-size: 17px;
}

.bj-status {
  padding: 13px;
  margin: 14px 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(0,0,0,.35);
  color: #fff4bf;
  text-align: center;
  font-weight: 800;
  font-size: 17px;
}

.bj-controls {
  display: grid;
  grid-template-columns: 1.3fr repeat(4,1fr);
  gap: 10px;
  align-items: end;
}

.bj-controls label {
  display: grid;
  gap: 6px;
  color: #d9cde1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.bj-controls select {
  height: 50px;
  padding: 10px 12px;
  font-size: 18px;
}

.bj-controls button {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg,#ffef73,#ffb000);
  color: #240d00;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 3px 0 #8b4b00;
}

#doubleBlackjack {
  background: linear-gradient(180deg,#ffe8a0,#e28a00);
}

.bj-controls button:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #8b4b00;
}

.bj-controls button:disabled {
  opacity: .38;
  filter: grayscale(.6);
}

.bj-note {
  margin: 16px 0 0;
  color: #a995b4;
  text-align: center;
  font-size: 11px;
}

#blackjackCard {
  cursor: pointer;
  border-color: #ffd54a;
}

@media (max-width:620px) {
  .blackjack {
    padding: 14px;
    border-radius: 22px;
  }

  .bj-hand {
    min-height: 96px;
    gap: 8px;
  }

  .playing-card {
    width: 58px;
    height: 84px;
    border-radius: 8px;
  }

  .card-rank { font-size: 22px; }
  .card-suit { font-size: 25px; }

  .card-back span {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .bj-controls {
    grid-template-columns: repeat(2,1fr);
  }

  .bj-controls label {
    grid-column: 1 / -1;
  }

  .bj-controls button {
    width: 100%;
    font-size: 14px;
    padding: 10px 6px;
  }
}
