.ar7s_machine {
  position: relative;
  max-width: 34rem;
  margin: 0 auto;
  padding: 1.25rem;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #16324f, #0a1628);
  border: 1px solid rgba(122, 212, 240, 0.35);
  box-shadow: 0 0 40px rgba(46, 196, 182, 0.18), inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.ar7s_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.ar7s_top span {
  font-family: var(--sf-display);
  font-weight: 700;
  color: var(--sf-ice);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.ar7s_credits {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(122, 212, 240, 0.12);
  border: 1px solid rgba(122, 212, 240, 0.3);
  color: var(--sf-frost);
  font-weight: 700;
}

.ar7s_window {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background: #050d18;
  border: 1px solid rgba(122, 212, 240, 0.2);
  box-shadow: inset 0 0 25px rgba(46, 196, 182, 0.15);
}

.ar7s_reel {
  aspect-ratio: 0.85;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #12304a, #0b1c30);
  border: 1px solid rgba(122, 212, 240, 0.25);
  overflow: hidden;
  position: relative;
}

.ar7s_reel img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(122, 212, 240, 0.45));
  transition: transform 0.2s ease;
}

.ar7s_reel.spn {
  animation: ar7s_blur 0.12s linear infinite;
}

.ar7s_msg {
  min-height: 1.5rem;
  margin: 0.9rem 0;
  text-align: center;
  color: var(--sf-mist);
  font-weight: 600;
}

.ar7s_msg.glow {
  color: var(--sf-teal);
  text-shadow: 0 0 16px rgba(46, 196, 182, 0.55);
}

.ar7s_spin {
  width: 100%;
  min-height: 3.1rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--sf-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #062033;
  background: linear-gradient(135deg, #3ad7c8, #7ad4f0, #e2a36b);
  background-size: 180% 180%;
  box-shadow: 0 12px 30px rgba(46, 196, 182, 0.3);
  cursor: pointer;
  animation: ar7s_shine 4s ease infinite;
}

.ar7s_spin:disabled {
  opacity: 0.6;
  cursor: wait;
}

@keyframes ar7s_blur {
  0% {
    filter: brightness(1.2);
  }
  100% {
    filter: brightness(0.85);
  }
}

@keyframes ar7s_shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.ft2b_table {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.ft2b_felt {
  position: relative;
  padding: 1.75rem 1.25rem 1.4rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(122, 212, 240, 0.12), transparent 50%),
    linear-gradient(160deg, #145048, #0b2e2a 55%, #08201e);
  border: 2px solid rgba(226, 163, 107, 0.35);
  box-shadow: 0 0 50px rgba(46, 196, 182, 0.15), inset 0 0 40px rgba(0, 0, 0, 0.25);
}

.ft2b_label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(234, 246, 255, 0.7);
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.ft2b_hand {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  min-height: 7.5rem;
  margin-bottom: 1rem;
}

.ft2b_card {
  width: 4.4rem;
  height: 6.2rem;
  border-radius: 0.55rem;
  background: linear-gradient(160deg, #f4fbff, #d7ecf8);
  color: #0c1a33;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.4rem 0.45rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.4);
  animation: ft2b_deal 0.35s var(--sf-ease) both;
}

.ft2b_card.red {
  color: #b4233a;
}

.ft2b_card.back {
  background: linear-gradient(145deg, #1a3d5c, #0d2438);
  color: var(--sf-ice);
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.ft2b_score {
  margin: 0.25rem 0 0.85rem;
  color: var(--sf-frost);
  font-weight: 700;
}

.ft2b_actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.ft2b_actions button {
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 246, 255, 0.2);
  background: rgba(234, 246, 255, 0.06);
  color: var(--sf-frost);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--sf-body);
}

.ft2b_actions button.primary {
  border: 0;
  background: linear-gradient(135deg, #3ad7c8, #7ad4f0);
  color: #062033;
}

.ft2b_actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ft2b_status {
  margin-top: 1rem;
  min-height: 1.4rem;
  font-weight: 700;
  color: var(--sf-ice);
  text-shadow: 0 0 14px rgba(122, 212, 240, 0.35);
}

@keyframes ft2b_deal {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pw3r_room {
  max-width: 30rem;
  margin: 0 auto;
  text-align: center;
}

.pw3r_wheelwrap {
  position: relative;
  width: min(100%, 23rem);
  margin: 0 auto 1.4rem;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 28px rgba(122, 212, 240, 0.28));
}

.pw3r_wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(7, 16, 31, 0.15), rgba(7, 16, 31, 0.55)),
    #0a1628;
  border: 7px solid rgba(226, 163, 107, 0.65);
  box-shadow:
    0 0 0 8px rgba(12, 26, 51, 0.95),
    inset 0 0 24px rgba(0, 0, 0, 0.45);
  transition: transform 4s cubic-bezier(0.12, 0.7, 0.08, 1);
  position: relative;
  overflow: hidden;
}

.pw3r_wheel.pw3r_spinning {
  box-shadow:
    0 0 0 8px rgba(12, 26, 51, 0.95),
    0 0 36px rgba(46, 196, 182, 0.45),
    inset 0 0 24px rgba(0, 0, 0, 0.45);
}

.pw3r_svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pw3r_label {
  fill: #f7fbff;
  font-size: 11px;
  font-weight: 800;
  font-family: Syne, Manrope, sans-serif;
  paint-order: stroke;
  stroke: rgba(7, 16, 31, 0.55);
  stroke-width: 2px;
}


.pw3r_pin {
  position: absolute;
  top: -0.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.65rem solid transparent;
  border-right: 0.65rem solid transparent;
  border-top: 1.25rem solid #e2a36b;
  filter: drop-shadow(0 0 10px rgba(226, 163, 107, 0.85));
  z-index: 3;
  pointer-events: none;
}

.pw3r_pin::after {
  content: "";
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f0f7ff;
  box-shadow: 0 0 10px rgba(234, 246, 255, 0.8);
}

.pw3r_hub {
  display: none;
}

.pw3r_result {
  min-height: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--sf-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--sf-frost);
}

.pw3r_spin {
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--sf-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #062033;
  background: linear-gradient(135deg, #e2a36b, #7ad4f0);
  box-shadow: 0 12px 28px rgba(226, 163, 107, 0.28);
  cursor: pointer;
}

.pw3r_spin:disabled {
  opacity: 0.55;
  cursor: wait;
}
