.game-roulette {
  --felt: #0f7f17;
  --felt-dark: #0a5e11;
  --table-green: #146d24;
  --table-red: #9c1111;
  --table-black: #050505;
  --line: rgba(255, 255, 255, 0.78);
  --chip-size-desktop: 42px;
  --chip-size-mobile: 32px;
  display: grid;
  grid-template-columns: 1fr;
  background: radial-gradient(circle at center, #148a1e 0%, #0f7f17 60%, #0a5e11 100%);
  border-radius: 18px;
  padding: 10px 14px 14px;
  overflow: hidden;
}

.game-roulette-column {
  position: relative;
}

.game-roulette-column.players,
.game-roulette-column.history {
  display: none !important;
}

.game-roulette-wheel,
.game-roulette-main,
.game-roulette-main__body {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.game-roulette-wheel,
.game-roulette-main {
  padding: 0;
  max-height: none;
}

.game-roulette-wheel__header {
  margin-bottom: 0;
}

.game-roulette-wheel-top {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.game-roulette-wheel-top__wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-area-stake {
  display: none;
}

.game__status {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .2px;
  text-align: center;
  background: #27c84a;
  color: #fff;
}

.game-area-timer {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(0, 41, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.game-area-timer__value {
  margin: 0;
  color: #ff5757;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

/* wheel */
.game-roulette-wheel__body {
  min-height: 210px;
  height: 210px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
}

.roulette-wheel {
  --rw-size: 520px;
  --rw-board-size: calc(var(--rw-size) * 0.75);
  --rw-overlay-size: calc(var(--rw-board-size) * 0.8);
  --rw-ball-size: calc(var(--rw-board-size) * 0.04);
  --rw-ball-rotation-diameter: calc(var(--rw-board-size) * 0.75);
  --rw-rotation-times: 12;
  --rw-rotation-duration: 6s;
  --rw-rotation-stop: "";
  --rw-rotation-stop-preview: "1";
  --rw-rotation-stop-point: calc((360deg / 37) * var(--rw-rotation-stop));
  --rw-ball-animation-function: ease-out;
  --rw-bg-play-state: running;
  --rw-win-bg: var(--success);
  position: relative;
  width: var(--rw-size);
  height: var(--rw-size);
  margin: 0 auto -55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.49);
  transform-origin: top center;
  background: url("../images/roulette-wheel-bg.png") center/cover no-repeat;
  pointer-events: none;
  z-index: 5;
}

.roulette-wheel.start .roulette-wheel-ball,
.roulette-wheel.completed .roulette-wheel-ball {
  display: block;
}

.roulette-wheel.completed .roulette-wheel-overlay::after {
  visibility: visible;
}

.roulette-wheel-ball {
  position: absolute;
  top: calc(50% - var(--rw-ball-rotation-diameter) / 2);
  left: calc(50% - var(--rw-ball-rotation-diameter) / 2);
  z-index: 4;
  display: none;
  width: var(--rw-ball-rotation-diameter);
  height: var(--rw-ball-rotation-diameter);
  border-radius: 50%;
  background: transparent;
  transform: rotate(var(--rw-rotation-stop-point));
}

.roulette-wheel.start .roulette-wheel-ball {
  animation: roulette-wheel-ball-rotate var(--rw-rotation-duration) var(--rw-ball-animation-function);
}

.roulette-wheel-ball::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% + var(--rw-ball-size) * 0.3);
  width: var(--rw-ball-size);
  height: var(--rw-ball-size);
  border-radius: 50%;
  background: url("../images/roulette-wheel-ball.png") center/cover no-repeat;
}

.roulette-wheel-board {
  position: relative;
  width: var(--rw-board-size);
  height: var(--rw-board-size);
  border-radius: 50%;
  outline: calc(var(--rw-board-size) * 0.016) solid #ffe44d;
  overflow: hidden;
  animation: roulette-wheel-board-rotate 30s linear infinite;
  animation-play-state: var(--rw-bg-play-state);
}

.roulette-wheel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--rw-overlay-size);
  height: var(--rw-overlay-size);
  border-radius: 50%;
  outline: calc(var(--rw-board-size) * 0.012) solid #ffe44d;
  transform: translate(-50%, -50%);
  background-color: hsl(var(--black) / 0.5);
}

.roulette-wheel-overlay::before,
.roulette-wheel-overlay::after {
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  animation: roulette-wheel-board-rotate 30s linear infinite reverse;
}

.roulette-wheel-overlay::before {
  content: "";
  border: 2px solid #ffe44d;
  background: url("../images/roulette-wheel-stearing.png") center/cover no-repeat;
  animation: unset;
}

.roulette-wheel:is(.start) .roulette-wheel-overlay::before,
.roulette-wheel.running .roulette-wheel-overlay::before {
  animation: loadLoading linear forwards;
}

.roulette-wheel:is(.start) .roulette-wheel-overlay::before {
  animation-delay: 6s;
}

.roulette-wheel.running .roulette-wheel-overlay::before {
  animation-delay: 0s;
}

.result-loader {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: roulette-wheel-board-rotate 30s linear infinite reverse;
  animation-play-state: var(--rw-bg-play-state);
}

.result-loader::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  aspect-ratio: 2;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  --_g: no-repeat radial-gradient(circle closest-side, #ffe44d 90%, transparent);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: calc(100% / 3) 40%;
  animation: l3 1s infinite linear;
  animation-delay: 6s;
}

.roulette-wheel:is(.start) .result-loader::before,
.roulette-wheel.running .result-loader::before {
  opacity: 1;
  visibility: visible;
}

.roulette-wheel-overlay::after {
  content: var(--rw-rotation-stop-preview);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  font-family: var(--heading-font);
  font-size: 5rem;
  color: hsl(var(--gray-l-500));
  background-color: hsl(var(--rw-win-bg));
  animation-play-state: var(--rw-bg-play-state);
}

.roulette-wheel-numbers__digit {
  position: absolute;
  left: 50%;
  z-index: 1;
  width: calc(var(--rw-board-size) / 11.5);
  height: 50%;
  padding-top: calc(var(--rw-board-size) * 0.02);
  border: 1px solid #ffe44d;
  border-top: none;
  clip-path: polygon(100% 0, 0 0, 3% 100%);
  transform-origin: 0 calc(var(--rw-board-size) / 2);
  text-align: center;
  font-size: calc(var(--rw-board-size) * 0.04);
  line-height: 1;
  color: hsl(var(--gray-l-500));
  background-color: #262626;
  font-family: var(--heading-font);
}

.roulette-wheel-numbers__digit:nth-child(2n) {
  background-color: #e6312e;
}

.roulette-wheel-numbers__digit:first-child {
  background-color: #56cc3d;
}

/* board layout */
.roulette-board-wrap {
  position: relative;
  top: 72px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 78px minmax(0, 1fr) 92px !important;
  grid-template-areas: "chips board actions";
  gap: 18px;
  align-items: start;
}

.roulette-chip-sidebar {
  grid-area: chips;
  align-self: start;
  justify-self: center;
  margin-top: 24px;
}

.game-area-chips--vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 60px;
  padding: 0;
  border-radius: 0;
  background: rgba(0, 65, 10, 0.35);
  border: 0;
}

.game-area-chips__item,
.game-area-chips__icon {
  width: var(--chip-size-desktop);
  height: var(--chip-size-desktop);
}

.game-area-chips__item {
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer !important;
  transition: transform .18s ease;
}

.game-area-chips__item.active-chip {
  outline: 3px solid #d7ff3f !important;
  outline-offset: 2px !important;
  transform: scale(1.06);
}

.game-area-chips__icon {
  object-fit: cover;
}

.game-roulette-board {
  grid-area: board;
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 8px;
  max-width: 1120px;
  margin: 0 auto;
}

/* top table */
.game-roulette-table {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 110px repeat(12, 1fr) 74px;
  grid-template-rows: repeat(3, 62px);
  gap: 2px;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.game-roulette-table__cell {
  position: relative;
  min-width: 0;
  min-height: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  color: #fff;
  cursor: pointer;
  box-shadow: none;
  transition: filter .12s ease;
}

.game-roulette-table__cell .text,
.game-roulette-preset__btn .text {
  position: static;
  transform: none;
  white-space: nowrap;
  text-transform: none;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #f5f5f5;
}

.game-roulette-table__cell.cell-red {
  background: #9c1111;
}

.game-roulette-table__cell.cell-black {
  background: #050505;
}

.game-roulette-table__cell.cell-green,
.game-roulette-table__cell.zero,
.game-roulette-table__cell[data-num="0"] {
  background: var(--table-green);
}

.game-roulette-table__cell[data-num="0"] {
  grid-column: 1 / 2;
  grid-row: 1 / 4;
  height: auto;
  min-height: auto;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 22% 100%, 0 50%);
  border-radius: 0;
}

.game-roulette-table__cell[data-num="0"] .text {
  font-size: 30px;
}

.twByOne1,
.twByOne2,
.twByOne3 {
  background: #176a2d !important;
}

.twByOne1 .text,
.twByOne2 .text,
.twByOne3 .text {
  font-size: 14px;
  font-weight: 700;
}

.straightUpBet3 { grid-column: 2; grid-row: 1; }
.straightUpBet6 { grid-column: 3; grid-row: 1; }
.straightUpBet9 { grid-column: 4; grid-row: 1; }
.straightUpBet12 { grid-column: 5; grid-row: 1; }
.straightUpBet15 { grid-column: 6; grid-row: 1; }
.straightUpBet18 { grid-column: 7; grid-row: 1; }
.straightUpBet21 { grid-column: 8; grid-row: 1; }
.straightUpBet24 { grid-column: 9; grid-row: 1; }
.straightUpBet27 { grid-column: 10; grid-row: 1; }
.straightUpBet30 { grid-column: 11; grid-row: 1; }
.straightUpBet33 { grid-column: 12; grid-row: 1; }
.straightUpBet36 { grid-column: 13; grid-row: 1; }

.straightUpBet2 { grid-column: 2; grid-row: 2; }
.straightUpBet5 { grid-column: 3; grid-row: 2; }
.straightUpBet8 { grid-column: 4; grid-row: 2; }
.straightUpBet11 { grid-column: 5; grid-row: 2; }
.straightUpBet14 { grid-column: 6; grid-row: 2; }
.straightUpBet17 { grid-column: 7; grid-row: 2; }
.straightUpBet20 { grid-column: 8; grid-row: 2; }
.straightUpBet23 { grid-column: 9; grid-row: 2; }
.straightUpBet26 { grid-column: 10; grid-row: 2; }
.straightUpBet29 { grid-column: 11; grid-row: 2; }
.straightUpBet32 { grid-column: 12; grid-row: 2; }
.straightUpBet35 { grid-column: 13; grid-row: 2; }

.straightUpBet1 { grid-column: 2; grid-row: 3; }
.straightUpBet4 { grid-column: 3; grid-row: 3; }
.straightUpBet7 { grid-column: 4; grid-row: 3; }
.straightUpBet10 { grid-column: 5; grid-row: 3; }
.straightUpBet13 { grid-column: 6; grid-row: 3; }
.straightUpBet16 { grid-column: 7; grid-row: 3; }
.straightUpBet19 { grid-column: 8; grid-row: 3; }
.straightUpBet22 { grid-column: 9; grid-row: 3; }
.straightUpBet25 { grid-column: 10; grid-row: 3; }
.straightUpBet28 { grid-column: 11; grid-row: 3; }
.straightUpBet31 { grid-column: 12; grid-row: 3; }
.straightUpBet34 { grid-column: 13; grid-row: 3; }

.twByOne3 { grid-column: 14; grid-row: 1; }
.twByOne2 { grid-column: 14; grid-row: 2; }
.twByOne1 { grid-column: 14; grid-row: 3; }

/* bottom strips */
.game-roulette-preset {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 110px repeat(12, 1fr) 74px;
  grid-template-rows: 38px 34px;
  gap: 2px;
}

.game-roulette-preset__item {
  display: contents;
}

.game-roulette-preset__btn {
  position: relative;
  min-height: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: #f2f2f2;
  background: #176a2d !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border-radius: 0;
  padding: 0 4px;
}

.game-roulette-preset__btn .text {
  font-size: 14px;
}

.oneToTw { grid-column: 2 / 6; grid-row: 1; }
.thrtToTf { grid-column: 6 / 10; grid-row: 1; }
.twfToTs { grid-column: 10 / 14; grid-row: 1; }

.oneToEt { grid-column: 2 / 5; grid-row: 2; }
.even { grid-column: 5 / 7; grid-row: 2; }
.red { grid-column: 7 / 9; grid-row: 2; }
.black { grid-column: 9 / 11; grid-row: 2; }
.odd { grid-column: 11 / 13; grid-row: 2; }
.nineteenTtsix { grid-column: 13 / 15; grid-row: 2; }

.game-roulette-preset .oneToEt,
.game-roulette-preset .even,
.game-roulette-preset .red,
.game-roulette-preset .black,
.game-roulette-preset .odd,
.game-roulette-preset .nineteenTtsix {
  margin-top: -4px;
}

.diamond-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.diamond-btn .diamond-shape {
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  border: 1px solid rgba(255, 255, 255, .95);
}

.diamond-btn .diamond-red {
  background: #c51a12;
}

.diamond-btn .diamond-black {
  background: #000;
}

/* placed chips */
.game-roulette-table__cell .dragable-img,
.game-roulette-preset__btn .dragable-img,
.game-roulette-table__cell .dragable-img-double,
.game-roulette-preset__btn .dragable-img-double {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.straightUpBet0 .dragable-img,
.straightUpBet0 .dragable-img-double {
  left: 50%;
  top: 50%;
}

/* side buttons */
.roulette-side-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 92px;
  min-width: 92px;
  align-self: start;
  justify-self: center;
  margin-top: 130px;
}

.roulette-side-btn {
  width: 78px;
  height: 78px;
  min-height: 78px;
  border: 0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
  background: radial-gradient(circle at 30% 30%, #34ff34, #00c000);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .35);
}

.roulette-side-btn--blue {
  background: radial-gradient(circle at 30% 30%, #4ba4ff, #1856d8);
}

.roulette-side-btn--danger {
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #cf1f1f);
}

.roulette-side-btn:hover:not(:disabled) {
  transform: scale(1.05);
}

.roulette-side-btn.is-disabled,
.roulette-side-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.15);
}

.recent-spin-icon,
.clear-bin-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.roulette-side-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.roulette-side-btn__text {
  font-size: 10px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.roulette-side-btn__text--2x {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .5px;
}

.game-area-actions.roulette-controls-layout {
  display: none !important;
}

/* cleanup */
.customPopOverArea,
.popover,
.popover-trigger::after,
.popover-trigger::before {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.stakeAmountBtn,
.stakeAmountBtn *,
.game-area-chips__item,
.game-area-chips__item * {
  cursor: pointer !important;
}

html,
body {
  overflow: hidden !important;
  height: 100% !important;
}

.game-area.roulette-mobile-switch,
.game-area.roulette-mobile-switch .container-fluid,
.game-area.roulette-mobile-switch .game-area-content,
.game-area.roulette-mobile-switch .game-area-body {
  height: 100% !important;
}

.game-area.roulette-mobile-switch {
  overflow: hidden !important;
  padding-bottom: 0 !important;
}

@media screen and (min-width: 768px) {
  .game-roulette {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: calc(100vh - 100px);
    max-height: calc(100vh - 100px);
    grid-template-rows: 108px auto;
    align-content: start;
  }

  .game-roulette-column.wheel {
    position: relative;
    min-height: 108px;
    height: 108px;
    overflow: visible;
    z-index: 3;
  }

  .game-roulette-column.betting {
    overflow: visible;
    z-index: 2;
  }

  .game-roulette-wheel__body {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 0;
    min-height: 0;
    display: block;
    overflow: visible;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .roulette-wheel {
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0;
    transform: translateX(-50%) scale(0.49);
  }
}

@media screen and (max-width: 991px) {
  .roulette-wheel {
    transform: scale(0.42);
    margin: 0 auto -70px;
  }

  .game-roulette-wheel__body {
    height: 180px;
    min-height: 180px;
  }

  .roulette-board-wrap {
    grid-template-columns: 64px minmax(0, 1fr) 86px !important;
    gap: 10px;
  }

  .game-area-chips__item,
  .game-area-chips__icon {
    width: 36px;
    height: 36px;
  }

  .game-roulette-table {
    grid-template-columns: 84px repeat(12, 1fr) 54px;
    grid-template-rows: repeat(3, 46px);
  }

  .game-roulette-preset {
    grid-template-columns: 84px repeat(12, 1fr) 54px;
    grid-template-rows: 34px 34px;
  }

  .game-roulette-table__cell {
    min-height: 46px;
    height: 46px;
  }

  .game-roulette-preset__btn {
    min-height: 30px;
    height: 30px;
  }

  .game-roulette-table__cell .text,
  .game-roulette-preset__btn .text {
    font-size: 15px;
  }

  .twByOne1 .text,
  .twByOne2 .text,
  .twByOne3 .text {
    font-size: 11px;
  }

  .roulette-side-actions {
    margin-top: 96px;
  }

  .roulette-side-btn {
    width: 72px;
    height: 72px;
    min-height: 72px;
  }
}

@media screen and (max-width: 767px) {
  .game-roulette {
    min-height: calc(100dvh - 20px);
    height: calc(100vh - 96px) !important;
    max-height: calc(100vh - 96px) !important;
    padding: 10px 10px 14px;
  }

  .game-roulette-column.wheel,
  .game-roulette-column.betting {
    display: block;
    height: 100% !important;
    overflow: hidden auto !important;
  }

  .game-roulette-wheel__header {
    margin-bottom: 12px;
  }

  .game-roulette-wheel-top {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .game-roulette-wheel-top__wrapper {
    justify-content: center;
  }

  .game-area-timer__value {
    font-size: 18px;
  }

  .game-roulette-wheel__body {
    min-height: 165px;
    height: 165px;
  }

  .roulette-wheel {
    transform: scale(0.34);
    margin: 0 auto -190px;
    position: relative;
  }

  .game-roulette-main__header {
    display: block !important;
    margin-bottom: 12px;
  }

  .roulette-board-wrap {
    top: 0;
    display: block !important;
    margin-top: 0;
  }

  .roulette-chip-sidebar,
  .roulette-side-actions {
    display: none !important;
  }

  .game-roulette-board {
    max-width: 100%;
    gap: 8px;
  }

  .game-roulette-table {
    max-width: 100%;
    grid-template-columns: 66px repeat(12, minmax(28px, 1fr)) 42px;
    grid-template-rows: repeat(3, 42px);
    gap: 2px;
    padding: 0;
    border-radius: 10px;
  }

  .game-roulette-preset {
    max-width: 100%;
    grid-template-columns: 66px repeat(12, minmax(28px, 1fr)) 42px;
    grid-template-rows: 32px 32px;
    gap: 2px;
  }

  .game-roulette-table__cell {
    min-height: 42px;
    height: 42px;
  }

  .game-roulette-preset__btn {
    min-height: 28px;
    height: 28px;
  }

  .game-roulette-table__cell[data-num="0"] {
    border-radius: 10px 0 0 10px;
  }

  .game-roulette-table__cell .text,
  .game-roulette-preset__btn .text {
    font-size: 11px;
  }

  .twByOne1 .text,
  .twByOne2 .text,
  .twByOne3 .text {
    font-size: 9px;
  }

  .game-roulette-table__cell .dragable-img,
  .game-roulette-preset__btn .dragable-img,
  .game-roulette-table__cell .dragable-img-double,
  .game-roulette-preset__btn .dragable-img-double {
    width: 18px;
    height: 18px;
  }

  .roulette-mobile-switch .game-roulette-column.wheel {
    display: none;
  }

  .roulette-mobile-switch .game-roulette-column.betting {
    display: block;
  }

  .roulette-mobile-switch.is-spinning .game-roulette-column.wheel,
  .roulette-mobile-switch.is-result .game-roulette-column.wheel {
    display: block;
  }

  .roulette-mobile-switch.is-spinning .game-roulette-column.betting,
  .roulette-mobile-switch.is-result .game-roulette-column.betting {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .game-roulette {
    padding: 8px 8px 12px;
  }

  .game-roulette-table {
    grid-template-columns: 46px repeat(12, minmax(22px, 1fr)) 34px;
    grid-template-rows: repeat(3, 36px);
  }

  .game-roulette-preset {
    grid-template-columns: 46px repeat(12, minmax(22px, 1fr)) 34px;
    grid-template-rows: 34px 34px;
  }

  .game-roulette-table__cell {
    min-height: 36px;
    height: 36px;
  }

  .game-roulette-preset__btn {
    min-height: 34px;
    height: 34px;
  }

  .game-roulette-table__cell .text,
  .game-roulette-preset__btn .text {
    font-size: 10px;
  }

  .twByOne1 .text,
  .twByOne2 .text,
  .twByOne3 .text {
    font-size: 8px;
  }

  .result-loader::before {
    width: 42px;
  }

  .roulette-wheel-overlay::after {
    font-size: 1.5rem;
  }
}

@keyframes roulette-wheel-ball-rotate {
  0% {
    transform: rotate(var(--rw-rotation-stop-point, 0deg));
  }
  100% {
    transform: rotate(calc(-360deg * var(--rw-rotation-times) + var(--rw-rotation-stop-point)));
  }
}

@keyframes roulette-wheel-board-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loadLoading {
  100% {
    background: #262626;
  }
}

@keyframes l3 {
  20% { background-position: 0% 0%, 50% 50%, 100% 50%; }
  40% { background-position: 0% 100%, 50% 0%, 100% 50%; }
  60% { background-position: 0% 50%, 50% 100%, 100% 0%; }
  80% { background-position: 0% 50%, 50% 50%, 100% 100%; }
}



/* FINAL HARD OVERRIDE: visibly smaller lower betting strip */
.game-roulette-preset {
  max-width: 960px !important;
  grid-template-rows: 38px 34px !important;
}
.game-roulette-preset__btn {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 2px !important;
}
.game-roulette-preset__btn .text {
  font-size: 12px !important;
}
.game-roulette-preset .oneToEt,
.game-roulette-preset .even,
.game-roulette-preset .red,
.game-roulette-preset .black,
.game-roulette-preset .odd,
.game-roulette-preset .nineteenTtsix {
  margin-top: -4px !important;
}
.diamond-btn .diamond-shape {
  width: 16px !important;
  height: 16px !important;
}
@media screen and (max-width: 991px) {
  .game-roulette-preset {
    grid-template-rows: 30px 30px !important;
  }
  .game-roulette-preset__btn {
    min-height: 34px !important;
    height: 34px !important;
  }
  .game-roulette-preset__btn .text {
    font-size: 11px !important;
  }
}
@media screen and (max-width: 767px) {
  .game-roulette-preset {
    grid-template-rows: 28px 28px !important;
  }
  .game-roulette-preset__btn {
    min-height: 28px !important;
    height: 28px !important;
  }
  .game-roulette-preset__btn .text {
    font-size: 10px !important;
  }
}


/* FINAL USER REQUEST FIXES */
.roulette-board-wrap {
  top: 72px !important;
}
.game-roulette-table {
  grid-template-columns: 110px repeat(12, 1fr) 74px !important;
}
.game-roulette-table__cell[data-num="0"] .text {
  font-size: 30px !important;
}
.game-roulette-preset {
  max-width: 1120px !important;
  grid-template-columns: 110px repeat(12, 1fr) 74px !important;
}
.game-roulette-preset__btn {
  min-height: 38px !important;
  height: 38px !important;
}
.game-roulette-preset__btn .text {
  font-size: 14px !important;
}
@media screen and (max-width: 991px) {
  .roulette-board-wrap { top: 48px !important; }
  .game-roulette-table { grid-template-columns: 84px repeat(12, 1fr) 54px !important; }
  .game-roulette-preset { grid-template-columns: 84px repeat(12, 1fr) 54px !important; }
}
@media screen and (max-width: 767px) {
  .roulette-board-wrap { top: 0 !important; }
  .game-roulette-table { grid-template-columns: 66px repeat(12, minmax(28px, 1fr)) 42px !important; }
  .game-roulette-preset { grid-template-columns: 66px repeat(12, minmax(28px, 1fr)) 42px !important; }
}
