.dashboard[data-game="roulette"] .game-screen {
  color: #f3f6f8;
  background: #0b1117;
}

.dashboard[data-game="roulette"] .game-screen::before {
  display: none;
}

.dashboard[data-game="roulette"] .game-screen-nav,
.dashboard[data-game="roulette"] .game-screen-inner {
  width: min(1480px, calc(100% - 32px));
}

.dashboard[data-game="roulette"] .slot-card {
  width: 100%;
  max-width: none;
  padding: 18px;
  border: 1px solid #26333d;
  border-radius: 18px;
  background: #0e171e;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.dashboard[data-game="roulette"] .slot-heading {
  margin-bottom: 14px;
  padding: 0 4px;
}

.dashboard[data-game="roulette"] .game-orb {
  color: #f1c75b;
  background: #1b2a31;
  box-shadow: 0 0 0 1px #40505a;
}

.dashboard[data-game="roulette"] .layout-badge,
.dashboard[data-game="roulette"] .max-win {
  border-color: #33434e;
  background: #121e26;
}

.dashboard[data-game="roulette"] #spin-form,
.dashboard[data-game="roulette"] #spin-result,
.dashboard[data-game="roulette"] #free-spins-banner,
.dashboard[data-game="roulette"] #bonus-multiplier-panel,
.dashboard[data-game="roulette"] #fisher-progress-panel {
  display: none !important;
}

.game-cover-roulette img {
  object-position: 50% 50%;
}

.roulette-panel {
  --roulette-accent: #f0c75e;
  --roulette-green: #15845b;
  --roulette-red: #b93843;
  --roulette-black: #1b242a;
  --roulette-surface: #121d24;
  --roulette-surface-raised: #17242c;
  --roulette-border: #2b3943;
  display: grid;
  gap: 12px;
  color: #f2f5f6;
}

.roulette-panel[hidden] {
  display: none;
}

.roulette-livebar,
.roulette-round-summary,
.roulette-table,
.roulette-controls,
.roulette-feed-card,
.roulette-chat-card,
.roulette-round-panel,
.roulette-wheel-zone {
  border: 1px solid var(--roulette-border);
  background: var(--roulette-surface);
}

.roulette-livebar {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 12px;
}

.roulette-livebar > div,
.roulette-panel-heading,
.roulette-table-heading,
.roulette-feed-card > header,
.roulette-chat-card > header,
.roulette-feed-card > header > div,
.roulette-chat-card > header > div {
  display: flex;
  align-items: center;
}

.roulette-livebar > div {
  gap: 9px;
}

.roulette-livebar strong,
.roulette-panel-heading span,
.roulette-table-heading span,
.roulette-feed-card > header span,
.roulette-chat-card > header span,
.roulette-recent > span,
.roulette-summary-label span {
  color: #93a5af;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.roulette-livebar > div > span:last-child {
  color: #72858f;
  font-size: .62rem;
}

.roulette-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2bd28c;
  box-shadow: 0 0 0 4px rgba(43, 210, 140, .12);
  animation: roulette-live-pulse 1.8s ease-in-out infinite;
}

.roulette-phase-wrap {
  justify-content: flex-end;
  margin-left: auto;
}

.roulette-phase-wrap > span {
  color: #dbe2e5 !important;
  font-size: .7rem !important;
  font-weight: 900;
  letter-spacing: .07em;
}

#roulette-countdown {
  min-width: 76px;
  padding: 8px 11px;
  border: 1px solid #d5ad4d;
  border-radius: 8px;
  color: #191d20;
  background: var(--roulette-accent);
  font-size: .96rem;
  font-weight: 950;
  text-align: center;
}

.roulette-round-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 12px;
}

.roulette-round-summary[hidden] {
  display: none;
}

.roulette-summary-label {
  display: grid;
  gap: 2px;
  padding: 0 9px 0 4px;
  border-right: 1px solid var(--roulette-border);
}

.roulette-summary-label strong {
  color: var(--roulette-accent);
  font-size: .68rem;
}

.roulette-summary-players {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.roulette-summary-players article {
  display: grid;
  min-width: max-content;
  grid-template-columns: 27px auto auto;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 5px 5px;
  border: 1px solid #33424b;
  border-radius: 9px;
  background: #17232a;
}

.roulette-summary-players article > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  color: #dce6e9;
  background: #26353e;
  font-size: .58rem;
  font-weight: 900;
}

.roulette-summary-players b {
  max-width: 120px;
  overflow: hidden;
  color: #dfe7ea;
  font-size: .6rem;
  text-overflow: ellipsis;
}

.roulette-summary-players strong {
  font-size: .61rem;
}

.roulette-summary-players .won {
  border-color: #286f55;
  background: #122b24;
}

.roulette-summary-players .won strong {
  color: #43d99a;
}

.roulette-summary-players .lost {
  border-color: #713b43;
  background: #2a1b20;
}

.roulette-summary-players .lost strong {
  color: #f07d86;
}

.roulette-stage {
  display: grid;
  grid-template-columns: minmax(520px, 1.45fr) minmax(290px, .55fr);
  gap: 12px;
}

.roulette-wheel-zone {
  --wheel-label-radius: -194px;
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: #101b21;
}

.roulette-pointer {
  position: absolute;
  z-index: 8;
  top: 22px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  border-top: 30px solid var(--roulette-accent);
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .55));
  transform: translateX(-50%);
}

.roulette-wheel {
  position: relative;
  z-index: 2;
  width: min(480px, 76vw);
  aspect-ratio: 1;
  padding: 11px;
  border: 5px solid #c79e42;
  border-radius: 50%;
  background: #d8b65f;
  box-shadow: 0 0 0 7px #26343b, 0 20px 38px rgba(0, 0, 0, .32);
}

.roulette-wheel-rotor {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 5px solid #11191d;
  border-radius: 50%;
  background: #1b242a;
  box-shadow: inset 0 0 0 34px rgba(4, 10, 13, .2);
  transform: rotate(0deg);
  will-change: transform;
}

.roulette-wheel-rotor.spinning,
.roulette-ball-track.spinning {
  transition: transform 7.15s cubic-bezier(.12, .62, .08, 1);
}

.roulette-wheel-labels {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.roulette-wheel-labels b {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  margin: -9px 0 0 -12px;
  color: #fff;
  font-size: .62rem;
  font-weight: 950;
  line-height: 18px;
  text-align: center;
  text-shadow: 0 1px 2px #000;
  transform: rotate(var(--number-angle)) translateY(var(--wheel-label-radius)) rotate(var(--number-counter-angle));
}

.roulette-ball-track {
  position: absolute;
  z-index: 4;
  inset: 42px;
  border: 2px solid #e1cb92;
  border-radius: 50%;
  transform: rotate(0deg);
  will-change: transform;
}

.roulette-ball-track i {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #d9dee0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .65);
  transform: translateX(-50%);
}

.roulette-wheel-hub {
  position: absolute;
  z-index: 5;
  inset: 31%;
  display: grid;
  place-content: center;
  border: 5px solid #cda94f;
  border-radius: 50%;
  background: #173c31;
  box-shadow: 0 0 0 7px #10191d, 0 8px 16px rgba(0, 0, 0, .42);
  text-align: center;
}

.roulette-wheel-hub span {
  color: #f0ca68;
  font-size: 1.7rem;
  font-weight: 950;
  line-height: 1;
}

.roulette-wheel-hub small {
  margin-top: 4px;
  color: #aac0b8;
  font-size: .46rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.roulette-result {
  position: absolute;
  z-index: 9;
  right: 17px;
  bottom: 16px;
  display: grid;
  min-width: 142px;
  padding: 10px 13px;
  border: 1px solid #35464f;
  border-radius: 10px;
  background: #111b21;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.roulette-result span,
.roulette-result small {
  color: #7f929c;
  font-size: .51rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.roulette-result strong {
  margin: 2px 0;
  color: var(--roulette-accent);
  font-size: 1.6rem;
}

.roulette-result.red strong { color: #ef606a; }
.roulette-result.black strong { color: #e7ecee; }
.roulette-result.green strong { color: #41d99b; }

.roulette-round-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
  border-radius: 15px;
}

.roulette-panel-heading,
.roulette-table-heading {
  justify-content: space-between;
  gap: 12px;
}

.roulette-panel-heading > div,
.roulette-table-heading > div {
  display: grid;
  gap: 4px;
}

.roulette-panel-heading strong,
.roulette-table-heading strong {
  color: #e9eef0;
  font-size: .86rem;
}

.roulette-panel-heading > b,
#roulette-selected-target {
  padding: 6px 9px;
  border: 1px solid #3a4952;
  border-radius: 7px;
  color: #e5c66f;
  background: #18242b;
  font-size: .62rem;
  font-weight: 850;
}

.roulette-boosts {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.roulette-boost-card {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #31434b;
  border-radius: 10px;
  background: #17252b;
}

.roulette-boost-card > b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #c9a94e;
  border-radius: 50%;
  color: #fff;
  background: var(--roulette-black);
  font-size: 1rem;
}

.roulette-boost-card.red > b { background: var(--roulette-red); }
.roulette-boost-card.green > b { background: var(--roulette-green); }
.roulette-boost-card span { display: grid; gap: 2px; }
.roulette-boost-card span small { color: #81949d; font-size: .5rem; font-weight: 800; letter-spacing: .08em; }
.roulette-boost-card span strong { color: #dfe7ea; font-size: .72rem; }
.roulette-boost-card > strong { color: var(--roulette-accent); font-size: 1.18rem; }

.roulette-recent {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

#roulette-recent-results {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#roulette-recent-results i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #3b4a52;
  border-radius: 50%;
  color: #b3c0c5;
  background: var(--roulette-black);
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
}

#roulette-recent-results i.red { background: var(--roulette-red); }
#roulette-recent-results i.green { background: var(--roulette-green); }
#roulette-recent-results i.black { background: var(--roulette-black); }

.roulette-table {
  padding: 14px;
  border-radius: 15px;
}

.roulette-board-wrap {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 5px;
  margin-top: 13px;
}

.roulette-number-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(44px, 1fr);
  grid-template-rows: repeat(3, 58px);
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.roulette-number,
.roulette-outside-bets button {
  position: relative;
  min-width: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  background: var(--roulette-black);
  transition: border-color .14s ease, transform .14s ease, background-color .14s ease;
}

.roulette-number {
  display: grid;
  place-content: center;
  border-radius: 6px;
}

.roulette-number.red,
.roulette-outside-bets .roulette-red-bet { background: var(--roulette-red); }
.roulette-number.black,
.roulette-outside-bets .roulette-black-bet { background: var(--roulette-black); }
.roulette-number.green,
.roulette-zero,
.roulette-outside-bets .roulette-green-bet { background: var(--roulette-green); }
.roulette-zero { height: 182px; border-radius: 7px; }

.roulette-number b {
  position: relative;
  z-index: 2;
  font-size: .78rem;
}

.roulette-number small {
  position: absolute;
  z-index: 5;
  top: 3px;
  right: 3px;
  display: none;
  min-width: 23px;
  padding: 2px 3px;
  border: 1px solid #d8b554;
  border-radius: 4px;
  color: #202328;
  background: var(--roulette-accent);
  font-size: .46rem;
  font-weight: 950;
}

.roulette-number.boosted {
  border-color: var(--roulette-accent);
}

.roulette-number.boosted small { display: block; }
.roulette-number:hover,
.roulette-outside-bets button:hover { z-index: 6; border-color: #f2d27d; transform: translateY(-1px); }
.roulette-number.selected,
.roulette-outside-bets button.selected { z-index: 7; border-color: #fff0b6; outline: 2px solid var(--roulette-accent); outline-offset: 1px; }
.roulette-number:disabled,
.roulette-outside-bets button:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.roulette-number.has-own-chip,
.roulette-outside-bets button.has-own-chip { opacity: 1; border-color: #eed57e; }

.roulette-board-chip {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 4px;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  color: #11161a;
  background: rgba(240, 199, 94, .78);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
  pointer-events: none;
  transform: translateX(-50%);
}

.roulette-board-chip::before,
.roulette-board-chip::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px dashed rgba(27, 31, 34, .62);
  border-radius: 50%;
}

.roulette-board-chip i {
  position: relative;
  z-index: 1;
  font-size: .43rem;
  font-style: normal;
  font-weight: 950;
}

.roulette-outside-bets .roulette-board-chip {
  bottom: 50%;
  margin-left: 8px;
  transform: translate(-50%, 50%);
}

.roulette-outside-bets {
  display: grid;
  grid-template-columns: repeat(5, minmax(105px, 1fr));
  gap: 5px;
  margin-top: 5px;
  padding-left: 61px;
}

.roulette-outside-bets button {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 7px;
}

.roulette-outside-bets span { font-size: .58rem; font-weight: 900; letter-spacing: .05em; }
.roulette-outside-bets b { color: #f4d67f; font-size: .72rem; }

.roulette-controls {
  display: grid;
  grid-template-columns: minmax(370px, 1fr) minmax(170px, 240px) minmax(220px, 290px);
  align-items: end;
  gap: 12px;
  padding: 13px;
  border-radius: 13px;
}

.roulette-chips {
  display: flex;
  min-width: 0;
  gap: 9px;
  padding: 0;
  border: 0;
}

.roulette-chips legend,
.roulette-custom-bet span {
  margin-bottom: 6px;
  color: #82959f;
  font-size: .56rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.roulette-chips button {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 4px solid #e7d58d;
  border-radius: 50%;
  color: #171c1f;
  background: #e8bf57;
  box-shadow: inset 0 0 0 3px #b78b29;
  font-size: .59rem;
  font-weight: 950;
  transition: transform .14s ease, outline-color .14s ease;
}

.roulette-chips button:nth-of-type(2) { border-color: #9ddfc0; background: #54b689; box-shadow: inset 0 0 0 3px #287759; }
.roulette-chips button:nth-of-type(3) { border-color: #efadb2; background: #d15a63; box-shadow: inset 0 0 0 3px #91313a; }
.roulette-chips button:nth-of-type(4) { border-color: #adc7ed; background: #7195cc; box-shadow: inset 0 0 0 3px #435f91; }
.roulette-chips button:nth-of-type(5) { border-color: #d9b0e7; background: #a66bb9; box-shadow: inset 0 0 0 3px #70437f; }
.roulette-chips button:hover { transform: translateY(-2px); }
.roulette-chips button.selected { outline: 2px solid #fff0b5; outline-offset: 3px; transform: translateY(-2px); }

.roulette-custom-bet {
  display: grid;
}

.roulette-custom-bet input {
  height: 49px;
  padding: 0 12px;
  border: 1px solid #36464f;
  border-radius: 8px;
  color: #f1f5f6;
  background: #0d161c;
  font-size: .79rem;
  font-weight: 850;
}

.roulette-custom-bet input:focus,
.roulette-chat-form input:focus {
  border-color: var(--roulette-accent);
  outline: 2px solid rgba(240, 199, 94, .16);
}

.roulette-place-bet {
  display: grid;
  min-height: 55px;
  place-content: center;
  border: 1px solid #d5ad4b;
  border-radius: 9px;
  color: #171b1e;
  background: var(--roulette-accent);
}

.roulette-place-bet span { font-size: .75rem; font-weight: 950; letter-spacing: .07em; }
.roulette-place-bet small { margin-top: 3px; color: #584719; font-size: .49rem; font-weight: 800; }
.roulette-place-bet:disabled { border-color: #40505a; color: #809099; background: #25323a; cursor: not-allowed; }

.roulette-multiplayer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.roulette-feed-card,
.roulette-chat-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
}

.roulette-feed-card {
  min-height: 168px;
}

.roulette-feed-card > header,
.roulette-chat-card > header {
  min-height: 44px;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid var(--roulette-border);
  background: #152129;
}

.roulette-feed-card > header > div,
.roulette-chat-card > header > div { gap: 8px; }
.roulette-feed-card > header small,
.roulette-chat-card > header small { color: #748892; font-size: .51rem; }

.roulette-live-bets,
.roulette-own-bets,
.roulette-history {
  display: grid;
  max-height: 164px;
  gap: 5px;
  overflow-y: auto;
  padding: 9px 10px;
  scrollbar-width: thin;
}

.roulette-live-bets > p,
.roulette-own-bets > p,
.roulette-history > p,
.roulette-chat-messages > p {
  margin: auto;
  padding: 23px 8px;
  color: #6f838c;
  font-size: .59rem;
  text-align: center;
}

.roulette-feed-row {
  display: grid;
  min-height: 32px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid #293841;
  border-radius: 6px;
  background: #152129;
}

.roulette-feed-row span { overflow: hidden; color: #cdd7db; font-size: .57rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.roulette-feed-row b { color: #e4c46d; font-size: .58rem; }
.roulette-feed-row strong { color: #edf2f3; font-size: .58rem; }
.roulette-feed-row.won { border-color: #276b51; background: #132b24; }
.roulette-feed-row.won strong { color: #45d99a; }
.roulette-feed-row.lost { opacity: .68; }

.roulette-chat-card {
  grid-column: 1 / -1;
  min-height: 300px;
}

.roulette-chat-messages {
  display: grid;
  align-content: start;
  max-height: 310px;
  gap: 8px;
  overflow-y: auto;
  padding: 12px;
  scrollbar-width: thin;
}

.roulette-chat-message {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  max-width: min(720px, 86%);
}

.roulette-chat-message.own {
  justify-self: end;
  grid-template-columns: minmax(0, 1fr) 30px;
}

.roulette-chat-message.own > span { grid-column: 2; }
.roulette-chat-message.own > div { grid-row: 1; grid-column: 1; background: #213a34; border-color: #346b59; }

.roulette-chat-message > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: #e8eef0;
  background: #2b3a43;
  font-size: .6rem;
  font-weight: 900;
}

.roulette-chat-message > span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roulette-chat-message > div {
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid #2c3b44;
  border-radius: 4px 10px 10px;
  background: #18252d;
}

.roulette-chat-message header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.roulette-chat-message header strong { color: #dbe5e8; font-size: .58rem; }
.roulette-chat-message header time { color: #71858f; font-size: .48rem; }
.roulette-chat-message p { margin: 3px 0 0; color: #c8d3d7; font-size: .62rem; line-height: 1.45; overflow-wrap: anywhere; }

.roulette-chat-typing {
  min-height: 20px;
  padding: 2px 12px;
  color: #82959e;
  font-size: .54rem;
}

.roulette-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--roulette-border);
}

.roulette-chat-form input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #34454e;
  border-radius: 8px;
  color: #edf2f3;
  background: #0e171d;
  font-size: .66rem;
}

.roulette-chat-form button {
  min-width: 92px;
  border: 1px solid #d5ad4b;
  border-radius: 8px;
  color: #171b1e;
  background: var(--roulette-accent);
  font-size: .61rem;
  font-weight: 900;
}

.roulette-chat-form button:disabled,
.roulette-chat-form input:disabled {
  opacity: .55;
}

.roulette-message {
  min-height: 20px;
  margin: -2px 2px 0;
  color: #91a3ab;
  font-size: .62rem;
  font-weight: 700;
  text-align: center;
}
.roulette-message.error { color: #f1848c; }
.roulette-message.success { color: #45d99a; }

@keyframes roulette-live-pulse {
  50% { opacity: .5; transform: scale(.82); }
}

@media (prefers-reduced-motion: reduce) {
  .roulette-live-dot,
  .roulette-wheel-rotor.spinning,
  .roulette-ball-track.spinning {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1120px) {
  .roulette-stage { grid-template-columns: minmax(430px, 1fr) minmax(270px, .62fr); }
  .roulette-wheel-zone { --wheel-label-radius: -168px; min-height: 500px; }
  .roulette-wheel { width: 420px; }
  .roulette-controls { grid-template-columns: 1fr 220px; }
  .roulette-place-bet { grid-column: 1 / -1; }
  .roulette-multiplayer-grid { grid-template-columns: 1fr 1fr; }
  .roulette-history-card { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .roulette-stage { grid-template-columns: 1fr; }
  .roulette-round-panel { min-height: 235px; }
  .roulette-recent { margin-top: 18px; }
  .roulette-round-summary { grid-template-columns: 1fr; }
  .roulette-summary-label { display: flex; justify-content: space-between; border-right: 0; border-bottom: 1px solid var(--roulette-border); padding: 0 2px 7px; }
}

@media (max-width: 700px) {
  .dashboard[data-game="roulette"] .game-screen-nav,
  .dashboard[data-game="roulette"] .game-screen-inner { width: min(100% - 14px, 1480px); }
  .dashboard[data-game="roulette"] .slot-card { padding: 9px; border-radius: 14px; }
  .roulette-livebar { align-items: stretch; flex-direction: column; }
  .roulette-phase-wrap { width: 100%; justify-content: space-between; margin: 0; }
  .roulette-stage { gap: 8px; }
  .roulette-wheel-zone { --wheel-label-radius: -128px; min-height: 385px; }
  .roulette-wheel { width: min(330px, 88vw); padding: 8px; border-width: 4px; }
  .roulette-wheel-rotor { border-width: 4px; box-shadow: inset 0 0 0 24px rgba(4, 10, 13, .2); }
  .roulette-ball-track { inset: 31px; }
  .roulette-wheel-labels b { font-size: .52rem; }
  .roulette-pointer { top: 13px; }
  .roulette-result { right: 8px; bottom: 8px; min-width: 110px; }
  .roulette-board-wrap { grid-template-columns: 44px minmax(680px, 1fr); overflow-x: auto; }
  .roulette-number-grid { grid-auto-columns: 52px; }
  .roulette-zero { position: sticky; z-index: 7; left: 0; height: 182px; }
  .roulette-outside-bets { grid-template-columns: repeat(5, 128px); overflow-x: auto; padding-left: 0; }
  .roulette-controls { grid-template-columns: 1fr; }
  .roulette-chips { overflow-x: auto; padding: 4px; }
  .roulette-custom-bet,
  .roulette-place-bet { grid-column: auto; }
  .roulette-multiplayer-grid { grid-template-columns: 1fr; }
  .roulette-history-card,
  .roulette-chat-card { grid-column: auto; }
  .roulette-chat-card { min-height: 330px; }
  .roulette-chat-message { max-width: 94%; }
  .roulette-chat-form button { min-width: 72px; }
}