/* Solid dark controls keep labels crisp over all three biomes. */
.glass { position: relative; color: var(--hud-ink, #f5f5f5); border: 1px solid #ffffff32; background: #101010ee; box-shadow: 0 4px 16px #00000020; }

.stage-console { position: absolute; left: 18px; right: 18px; bottom: 22px; z-index: 3; pointer-events: none; }
.wager-panel { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 0; pointer-events: auto; }
.bet-control { display: flex; flex: none; align-items: center; gap: 11px; padding: 7px 8px 7px 17px; border-radius: 25px; height: 50px; min-width: 0; }
.bet-control > label { font-size: 12px; color: #bcbcbc; }
.bet-control > input { width: 70px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font-size: 16px; font-weight: 550; text-align: center; font-variant-numeric: tabular-nums; }
.bet-presets { display: flex; gap: 4px; align-items: center; }
.bet-presets button { padding: 0 9px; min-width: 34px; height: 32px; white-space: nowrap; color: inherit; font-size: 11px; font-weight: 500; border: 1px solid #ffffff20; border-radius: 16px; background: #242424; transition: background .18s ease; }
.bet-presets button:hover:not(:disabled) { background: #3a3a3a; }
.bet-presets button:disabled { opacity: .45; }
.bet-control > input[type=number] { appearance: textfield; -moz-appearance: textfield; }
.bet-control > input[type=number]::-webkit-inner-spin-button, .bet-control > input[type=number]::-webkit-outer-spin-button { appearance: none; margin: 0; }
#bet-play { display: flex; align-items: center; justify-content: center; gap: 12px; flex: none; width: 128px; height: 50px; padding: 0 20px; border-radius: 25px; background: #f0f0f0; border-color: #f0f0f0; color: #111; font-size: 13px; font-weight: 600; letter-spacing: -.02em; transition: background .2s, color .25s ease; }
#bet-play-label, #phone-bet-play-label { white-space: nowrap; }
#bet-play svg { width: 14px; height: 14px; fill: currentColor; opacity: .8; }
#bet-play:hover:not(:disabled) { background: #fff; }
#bet-play:disabled { opacity: .65; }
#bet-play.round-active svg { display: none; }
#bet-play.round-active:after { content: ""; flex: none; width: 14px; height: 14px; border: 1.5px solid #11111140; border-top-color: currentColor; border-radius: 50%; animation: round-spin .8s linear infinite; }
@keyframes round-spin { to { transform: rotate(360deg); } }

.phone-preview .stage-console { left: 14px; right: 14px; bottom: 16px; }
.phone-preview .wager-panel { flex-direction: column; gap: 10px; }
.phone-preview .bet-control { width: 100%; height: 54px; justify-content: space-between; padding: 6px 7px 6px 14px; gap: 6px; border-radius: 18px; }
.phone-preview .bet-control > input { flex: 1; max-width: 110px; min-width: 35px; font-size: 16px; }
.phone-preview .bet-control > label { font-size: 12px; }
.phone-preview .bet-presets { gap: 4px; }
.phone-preview .bet-presets button { height: 40px; min-width: 36px; padding: 0 8px; border-radius: 12px; }
#phone-bet-play { display: flex; align-items: center; justify-content: center; gap: 12px; flex: none; width: 100%; height: 52px; padding: 0 20px; border-radius: 18px; background: #f0f0f0; border-color: #f0f0f0; color: #111; font-size: 15px; font-weight: 600; transition: background .2s, color .25s ease; }
#phone-bet-play svg { width: 14px; height: 14px; fill: currentColor; opacity: .8; }
#phone-bet-play:hover:not(:disabled) { background: #fff; }
#phone-bet-play:disabled { opacity: .65; }
#phone-bet-play.round-active svg { display: none; }
#phone-bet-play.round-active:after { content: ""; flex: none; width: 14px; height: 14px; border: 1.5px solid #11111140; border-top-color: currentColor; border-radius: 50%; animation: round-spin .8s linear infinite; }

.stage-console { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: normal; }
.stage-console :is(button, input) { font-family: inherit; }
.stage-console button { cursor: pointer; touch-action: manipulation; }
.stage-console button:disabled { cursor: default; }
.stage-console :is(button, input):focus-visible { outline: 2px solid var(--accent, #a7d6ff); outline-offset: 3px; }
:is(.bet-presets button,#bet-play,#phone-bet-play) { transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .2s ease, transform .18s cubic-bezier(.22,1,.36,1); }
:is(.bet-presets button,#bet-play,#phone-bet-play):active:not(:disabled) { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  :is(.bet-presets button,#bet-play,#phone-bet-play):active:not(:disabled) { transform: none; }
}
