#wheelOverlay {
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.52), rgba(8, 7, 6, 0.88)),
    url("/western-wheel/assets/images/saloon-background.webp") center / cover no-repeat !important;
}

#wheelCard {
  width: min(96vw, 720px) !important;
  background: rgba(30, 18, 11, 0.94) !important;
  border-color: #25130d !important;
  box-shadow: 0 0 0 2px #c9a961, 0 30px 80px rgba(0, 0, 0, 0.72) !important;
}

#wheelStep3 {
  overflow: hidden;
}

#wheelStep3Name {
  color: #fff0c5 !important;
  font-size: 21px !important;
  letter-spacing: 0 !important;
}

#wheelStep3Hint {
  color: #d6b974 !important;
  letter-spacing: 0 !important;
}

#wheelCanvasWrap {
  width: min(100%, 610px) !important;
  max-width: 610px !important;
  overflow: visible !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#wheelMatterHost,
.flow-western-wheel-canvas {
  width: 100%;
  height: 100%;
}

.flow-western-wheel-canvas {
  display: block;
  touch-action: none;
}

.wheelSpinControls {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-top: 0;
}

#wheelStep3Hint {
  color: #f1dfb4;
  font: 700 13px/1.35 ui-sans-serif, system-ui, sans-serif;
}

#wheelSpinBtn {
  position: static !important;
  transform: none !important;
  width: min(82%, 300px) !important;
  height: 52px !important;
  border: 2px solid #25130d !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, #e4be69, #a77427) !important;
  color: #201109 !important;
  box-shadow: 0 4px 0 #5b3518, 0 8px 18px rgba(0, 0, 0, 0.36) !important;
  font: 900 15px/1 ui-sans-serif, system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}

#wheelSpinBtn:active:not(:disabled) {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 #5b3518 !important;
}

#wheelSpinBtn:disabled {
  cursor: wait;
  opacity: 0.58;
}

#wheelLongPressHint {
  color: #a98d62;
  font: 600 10px/1.3 ui-sans-serif, system-ui, sans-serif;
}

.wheelCouponDetails {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(42, 24, 16, 0.42);
}

.wheelCouponDetails[hidden],
.wheelDiscountGrid[hidden] {
  display: none !important;
}

.wheelDiscountGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #6e4b2d;
  border-radius: 5px;
  background: #9c7a2d;
}

.wheelDiscountItem {
  min-width: 0;
  padding: 11px 5px;
  background: #2a1810;
}

.wheelDiscountItem small,
.wheelCouponMeta small {
  display: block;
  color: #d4b896;
  font: 700 9px/1.2 ui-sans-serif, system-ui, sans-serif;
}

.wheelDiscountItem strong {
  display: block;
  margin-top: 4px;
  color: #fff0c9;
  font: 900 15px/1.15 ui-sans-serif, system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.wheelCouponMeta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: 14px;
  margin-top: 14px;
  text-align: left;
}

.wheelCouponMeta > span {
  min-width: 0;
}

.wheelCouponMeta small {
  color: #765632;
}

.wheelCouponMeta strong {
  display: block;
  margin-top: 4px;
  color: #2a1810;
  font: 800 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
}

.wheelCopyCouponBtn {
  min-height: 38px;
  margin-top: 13px;
  padding: 0 17px;
  border: 1px solid #2a1810;
  border-radius: 5px;
  background: #8b2c2c;
  color: #fff0c9;
  font: 800 12px/1 ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

@media (max-width: 720px) {
  #wheelCard {
    width: min(98vw, 680px) !important;
    max-height: 98svh !important;
  }

  #wheelStep3 {
    padding-inline: 6px !important;
  }

  #wheelCanvasWrap {
    width: min(100%, 520px) !important;
  }

  .wheelCouponMeta {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}
