:root {
  color-scheme: dark;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --panel: #35104d;
  --muted: #a18aa9;
  --purple: #4a1767;
  --aqua: #27d0bf;
  --telegram-fullscreen-top-gap: 0px;
  --pvp-content-gutter: max(14px, calc((min(100vw, 460px) - 406px) / 2));
  --pvp-page-background:
    radial-gradient(ellipse 60% 68% at 50% 43%, rgba(255, 55, 74, .76) 0%, rgba(255, 55, 74, .46) 38%, rgba(255, 55, 74, .14) 76%, transparent 100%),
    radial-gradient(ellipse at 50% 48%, #35004f 0%, #1d002f 47%, #10001a 100%);
  --games-page-background:
    radial-gradient(ellipse 60% 68% at 50% 43%, rgba(255, 55, 74, .76) 0%, rgba(255, 55, 74, .46) 38%, rgba(255, 55, 74, .14) 76%, transparent 100%),
    radial-gradient(ellipse at 50% 48%, #35004f 0%, #1d002f 47%, #10001a 100%);
  --profile-page-background:
    radial-gradient(ellipse 68% 56% at 50% 25%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .055) 42%, transparent 100%),
    #000;
  --upgrade-page-background:
    radial-gradient(ellipse 60% 68% at 50% 43%, rgba(255, 55, 74, .76) 0%, rgba(255, 55, 74, .46) 38%, rgba(255, 55, 74, .14) 76%, transparent 100%),
    radial-gradient(ellipse at 50% 48%, #35004f 0%, #1d002f 47%, #10001a 100%);
  --cases-page-background:
    radial-gradient(ellipse 60% 68% at 50% 43%, rgba(255, 55, 74, .76) 0%, rgba(255, 55, 74, .46) 38%, rgba(255, 55, 74, .14) 76%, transparent 100%),
    radial-gradient(ellipse at 50% 48%, #35004f 0%, #1d002f 47%, #10001a 100%);
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 48%, #49006e 0%, #28003f 47%, #190026 100%);
}

button, input { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.app {
  position: relative;
  display: flex;
  width: min(100%, 460px);
  min-height: 100vh;
  flex-direction: column;
  margin: 0 auto;
  padding: calc(max(9px, env(safe-area-inset-top)) + var(--telegram-fullscreen-top-gap)) 14px max(86px, calc(82px + env(safe-area-inset-bottom)));
  overflow: hidden;
}

.app:not(.app--games-page):not(.app--arena-page):not(.app--plinko-page) {
  scrollbar-width: none;
}

.app:not(.app--games-page):not(.app--arena-page):not(.app--plinko-page)::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.topbar {
  display: grid;
  height: 42px;
  flex: 0 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.avatar, .icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: #3d1b54;
  cursor: pointer;
}

.avatar {
  border: 0;
  background: radial-gradient(circle at 30% 25%, #86ad46, #315331 55%, #1a322e);
  color: #fff1af;
  font-size: 12px;
  font-weight: 800;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.online {
  display: flex;
  width: 132px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
}

#online-label { min-width: 82px; }
.online > [hidden] { display: none; }

.online-dot, .live-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2ce78a;
  box-shadow: 0 0 7px #2ce78a;
}

.online-dot--offline { background: #ffb946; box-shadow: none; }

.game {
  width: 100%;
  max-width: 384px;
  margin: 8px auto 0;
}

.account-row {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: space-between;
}

.account-label, .stake-panel > label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .4px;
}

.balance-button {
  display: flex;
  height: 30px;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 11px;
  background: #41195a;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.balance-button:hover, .balance-button:focus-visible { border-color: rgba(255,255,255,.22); background: #552173; }
.balance-button:active { transform: scale(.97); }
.balance-button:focus-visible { outline: 2px solid #81d7ff; outline-offset: 2px; }

.gram-logo { display: inline-block; width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.balance-gram-logo { width: 15px; height: 15px; }
.balance-button > span:nth-child(3) { display: none; }
.balance-button .plus { padding-left: 4px; font-size: 16px; }

.promo {
  display: flex;
  width: 100%;
  height: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding: 0 9px;
  border: 1px solid rgba(190, 148, 255, .2);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 8% 50%, rgba(105, 218, 224, .2), transparent 36%),
    linear-gradient(105deg, #362454, #48215f 55%, #30204d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 5px 16px rgba(10,0,20,.16);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.promo-emojis { font-size: 13px; }
.promo-arrow { font-size: 24px; line-height: 1; }

.stats-row {
  display: grid;
  height: 42px;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 8px;
}

.stat-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 4px 8px;
  overflow: hidden;
  border: 1px solid rgba(203, 176, 226, .1);
  border-radius: 13px;
  background: linear-gradient(115deg, rgba(49, 35, 67, .88), rgba(35, 30, 54, .88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.stat-card-heading { display: flex; align-items: center; justify-content: space-between; }
.stat-caption { color: #a68aad; font-size: 8px; font-weight: 800; }
.stat-main { display: flex; width: 100%; min-width: 0; align-items: center; gap: 4px; overflow: hidden; font-size: 10px; font-weight: 800; white-space: nowrap; }
.stat-main > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.stat-main .stat-payout { margin-left: auto; color: #56d5e8; font-size: 10px; }
.tiny-avatar { display: grid; width: 13px; height: 13px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #647c32; font-size: 7px; }
.tiny-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }

.pot-row {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
}

.round-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(209, 185, 231, .13);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(69, 47, 91, .9), rgba(43, 34, 63, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  color: #f4eaff;
  font-size: 21px;
  cursor: pointer;
  text-decoration: none;
}

.pot-row > .round-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

.pot-row > .round-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.pot-row > .round-icon:focus-visible {
  outline: 2px solid rgba(212, 181, 255, .75);
  outline-offset: 2px;
}

.pot-label {
  padding: 9px 14px;
  border: 1px solid rgba(196, 162, 228, .16);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(65, 45, 88, .94), rgba(39, 42, 67, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 4px 14px rgba(7,0,15,.12);
  font-size: 10px;
  font-weight: 800;
}

.pot-label strong { color: #82e7e6; }

.wheel-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 21px;
}

.pointer {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 0;
  border-right: 12px solid transparent;
  border-bottom: 16px solid #fff;
  border-left: 12px solid transparent;
  filter: drop-shadow(0 2px 1px #140a19);
  transform: translateX(-50%) rotate(180deg);
}

.wheel-stage {
  position: relative;
  width: min(88vw, 360px);
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.wheel {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  place-items: center;
  border: 6px solid #60407c;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(231, 196, 255, .22), 0 0 0 7px rgba(95, 65, 124, .16), 0 18px 42px rgba(12, 0, 22, .3);
  transition: transform 4.8s cubic-bezier(.12,.7,.12,1);
}

.wheel.is-spinning {
  will-change: transform;
  transition-duration: 5.4s;
}

.wheel.is-waiting::before,
.wheel.is-waiting::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.wheel.is-waiting::before {
  background: conic-gradient(
    from -22.5deg,
    #542879 0deg 45deg,
    #48206e 45deg 90deg,
    #5b2d82 90deg 135deg,
    #492171 135deg 180deg,
    #5b2d82 180deg 225deg,
    #48206e 225deg 270deg,
    #5b2d82 270deg 315deg,
    #48206e 315deg 360deg
  );
  animation: idle-wheel-spin 24s linear infinite;
}

.wheel.is-waiting::after {
  inset: 3%;
  background: transparent;
  animation: idle-wheel-spin 24s linear infinite;
}

@keyframes idle-wheel-spin {
  to { transform: rotate(360deg); }
}

.wheel-empty {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 36%;
  min-width: 88px;
  max-width: 132px;
  aspect-ratio: 1;
  place-items: center;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(220, 194, 238, .16);
  background: radial-gradient(circle at 35% 25%, #332842, #17151e 72%);
  box-shadow: 0 4px 18px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.1);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transform: translate(-50%, -50%);
}

.wheel-empty > span {
  max-width: 100%;
  font-size: clamp(10px, 3.4vw, 12px);
  line-height: 1.2;
  white-space: nowrap;
}

.wheel-empty[hidden] { display: none; }

.wheel-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  width: 46%;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(220, 194, 238, .16);
  background: radial-gradient(circle at 35% 25%, #332842, #17151e 72%);
  box-shadow: 0 4px 18px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.1);
  transform: translate(-50%, -50%);
  text-align: center;
  overflow: visible;
}

.wheel-center.is-counting-down {
  border-color: rgba(255,255,255,.14);
  background: #050505;
  box-shadow: 0 3px 16px rgba(0,0,0,.5);
}

.wheel-center[hidden] { display: none; }
.wheel-center > span,
.wheel-center > small { position: relative; z-index: 1; }
.wheel-center > span { max-width: 90%; overflow: hidden; font-size: clamp(8px, 2.4vw, 11px); font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.wheel-center.is-counting-down > span { max-width: 100%; font-size: clamp(27px, 8vw, 34px); font-weight: 900; line-height: 1; letter-spacing: -.5px; }
.wheel-center.is-counting-down > small { display: none; }
.wheel-center > small { margin-top: 3px; color: #aaa2b0; font-size: 8px; }
.wheel-countdown-ring {
  position: absolute;
  z-index: 2;
  inset: -8%;
  width: 116%;
  height: 116%;
  overflow: visible;
  display: none;
  transform: rotate(-90deg);
  pointer-events: none;
}
.wheel-center.is-counting-down .wheel-countdown-ring { display: block; }
.wheel-countdown-track,
.wheel-countdown-progress {
  fill: none;
  stroke-width: 5;
}
.wheel-countdown-track { stroke: rgba(255,255,255,.08); }
.wheel-countdown-progress {
  stroke: #fff;
  stroke-width: 8;
  stroke-dasharray: 289.027;
  stroke-dashoffset: 289.027;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px rgba(255,255,255,.8));
  transition: stroke-dashoffset .1s linear;
}

.wheel-avatars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wheel-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--avatar-color, #6a9636);
  box-shadow: 0 2px 7px rgba(0,0,0,.35);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.wheel-avatar img, .player-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.wheel-caption {
  display: flex;
  min-height: 19px;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #d4c1df;
  font-size: 9px;
  font-weight: 700;
}

.wheel-caption #round-status {
  color: #fff;
  font-weight: 800;
  font-size: 11px;
}

.live-dot { width: 5px; height: 5px; }

.join-section { margin-top: 4px; }

.bet-utility-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 4px 9px;
}

.bet-utility {
  display: flex;
  min-width: 0;
  height: 35px;
  align-items: center;
  gap: 0;
  padding: 0 3px;
  border: 1px solid rgba(208, 183, 230, .12);
  border-radius: 13px;
  background: linear-gradient(110deg, rgba(65, 45, 88, .92), rgba(39, 42, 67, .92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  color: #eee3f5;
  transition: background .16s ease;
}

.bet-utility-wallet, .bet-utility-toggle {
  display: grid;
  width: 25px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #eee3f5;
  cursor: pointer;
}

.bet-utility .gram-logo { width: 17px; height: 17px; }
.bet-utility-star { display: grid; width: 25px; height: 27px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; background: transparent; color: #ffc928; font-size: 16px; cursor: pointer; }
.bet-utility-star[hidden] { display: none; }
.bet-utility-wallet[hidden] { display: none; }
.bet-utility.is-star-mode { padding-left: 8px; }
.bet-utility-wallet.is-active, .bet-utility-star.is-active { border-radius: 9px; background: rgba(255,255,255,.1); }
.quick-bets[hidden], .action-button[hidden] { display: none; }
.bet-utility-toggle { font-size: 23px; line-height: 1; }
.bet-utility-wallet:focus-visible, .bet-utility-star:focus-visible, .bet-utility-toggle:focus-visible { outline: 2px solid #81d7ff; outline-offset: 1px; border-radius: 8px; }

.quick-bets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.quick-bet {
  display: flex;
  min-width: 0;
  height: 43px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 4px;
  border: 1px solid rgba(207, 180, 231, .12);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(66, 47, 88, .96), rgba(43, 38, 65, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 4px 12px rgba(8,0,15,.12);
  color: #f0e9f5;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}

.quick-bet > span { color: #bdc4d5; font-size: 10px; }
.quick-bet > .gram-logo { width: 13px; height: 13px; }
.quick-bet:active:not(:disabled) { transform: translateY(1px); }
.quick-bet:disabled { opacity: .45; cursor: not-allowed; }
.quick-bet.all-in { background: linear-gradient(180deg, #20a8f2, #087de2); color: #fff; font-size: 12px; }

#star-bets[hidden], #quick-bets-gram[hidden] { display: none !important; }

.star-bets { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.star-bets.is-active { display: grid; }
.star-bets .quick-bet { height: 52px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #ffca20, #ffa900); color: #291900; font-size: 15px; }
.star-bets .quick-bet > span { color: #382000; font-size: 15px; }

.bet-actions {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 10px;
}

.bet-actions .action-button { height: 52px; border-radius: 14px; font-size: 14px; }
.bet-actions .action-icon { font-size: 15px; }

.action-button {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.03);
  border-radius: 13px;
  background: linear-gradient(120deg, #39104f, #4a1767);
  color: #f7f0fa;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.action-button > span { font-size: 15px; }
#configure-label { font-size: inherit !important; }
.action-button.is-selected { background: #542377; }
.action-button.is-enabled { background: linear-gradient(120deg, #087de2, #20a8f2); }

.stake-panel {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 13px;
  background: rgba(52, 20, 71, .84);
}

.stake-panel[hidden] { display: none; }
.stake-panel > label { font-size: 8px; }

.stake-control {
  display: flex;
  height: 30px;
  align-items: center;
  gap: 8px;
}

.stake-adjust {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  background: #50216b;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

#stake {
  width: 0;
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 800;
}

#stake::-webkit-inner-spin-button, #stake::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
#stake[type="number"] { appearance: textfield; }
.stake-currency { color: #c3b4cc; font-size: 10px; font-weight: 800; }

.join-button {
  display: flex;
  width: 100%;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffc62e, #ff9814);
  box-shadow: 0 4px 0 #d76c0b;
  color: #251300;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}

.stake-panel .join-button { margin-top: 4px; }

.join-button:active { transform: translateY(2px); }
.join-button:disabled { background: #6d5877; box-shadow: 0 4px 0 #4c3957; color: #e4dbe7; cursor: default; }
.join-plus { font-size: 19px; }
.join-amount { opacity: .7; font-size: 10px; }

.demo-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 8px 0 0;
  color: #c4a9cd;
  font-size: 9px;
  font-weight: 700;
}

.demo-note span { color: #ffd34d; }

.players-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(207, 180, 231, .11);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(49, 35, 65, .86), rgba(34, 30, 50, .9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px rgba(8,0,15,.12);
}

.players-heading { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.players-heading > span { color: #a990b5; font-size: 9px; font-weight: 700; }
.player-list { display: flex; flex-direction: column; gap: 10px; margin-top: 11px; }

.player-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 90px;
  flex-direction: column;
  justify-content: space-between;
  gap: 9px;
  padding: 13px 14px 11px;
  overflow: hidden;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 96% 8%, color-mix(in srgb, var(--player-color) 38%, transparent), transparent 35%),
    linear-gradient(112deg, #351344 0%, #48166b 55%, #3a1557 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 5px 15px rgba(14,0,23,.12);
}

.player-card:focus-visible { outline: 2px solid #d4b5ff; outline-offset: 2px; }
.player-card:active { filter: brightness(1.12); }

.player-card-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.player-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(255,255,255,.68);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, color-mix(in srgb, var(--player-color) 55%, white), transparent 48%),
    var(--player-color, #789141);
  box-shadow: 0 0 12px color-mix(in srgb, var(--player-color) 35%, transparent);
  font-size: 12px;
  font-weight: 800;
}

.player-identity { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.player-name { overflow: hidden; color: #fbf7ff; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.player-chance { color: #65d4ff; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }

.player-stake, .player-stake-small {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  background: rgba(131, 43, 190, .78);
  box-shadow: 0 4px 14px rgba(20,0,35,.16);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gram-icon { width: 12px; height: 12px; }

.player-card-footer { display: flex; align-items: center; gap: 9px; }

.player-stake-small {
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #38b9f4, #168fe5);
  box-shadow: 0 3px 10px rgba(0,133,240,.22);
  font-size: 10px;
}

.player-stake-small .gram-icon { width: 12px; height: 12px; }
.player-stake-group { display: inline-flex; align-items: center; gap: 4px; }

.player-share {
  position: relative;
  height: 4px;
  flex: 1;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.1);
}

.player-share-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--player-color) 72%, white), var(--player-color));
  box-shadow: 0 0 8px color-mix(in srgb, var(--player-color) 65%, transparent);
}

.player-chevron { color: #c9b5d5; font-size: 24px; font-weight: 400; line-height: 16px; }

.player-bet-dialog {
  position: fixed;
  inset: auto 0 0;
  display: flex;
  width: 100vw;
  max-width: 100vw;
  max-height: min(78vh, 620px);
  max-height: min(78dvh, 620px);
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 18px 16px max(20px, calc(env(safe-area-inset-bottom) + 14px));
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.08);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(160deg, #202126, #101114 78%);
  color: #f7f7f8;
  box-shadow: 0 -12px 44px rgba(0,0,0,.4);
}

.player-bet-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.player-bet-dialog:not([open]) { display: none; }
.player-bet-dialog-header { position: relative; display: flex; min-height: 34px; align-items: center; justify-content: center; }
.player-bet-dialog-header h2 { margin: 0; color: #f7f7f8; font-size: 14px; font-weight: 800; }
.player-bet-dialog-close { position: absolute; top: 50%; right: 0; display: grid; width: 28px; height: 28px; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(255,255,255,.09); color: #d8d9df; font-size: 21px; line-height: 1; cursor: pointer; }
.player-bet-dialog-player { display: flex; min-width: 0; align-items: center; gap: 10px; }
.player-bet-dialog-identity { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.player-bet-dialog-identity strong { overflow: hidden; color: #fbf7ff; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.player-bet-dialog-identity span { color: #65d4ff; font-size: 11px; font-weight: 800; }
.player-bet-dialog-assets { display: flex; flex-wrap: wrap; gap: 10px; }
.player-bet-asset { display: flex; width: 100px; min-height: 124px; flex-direction: column; align-items: flex-start; gap: 7px; padding: 10px; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; background: linear-gradient(145deg, rgba(53,74,93,.66), rgba(24,28,37,.92)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.player-bet-asset > img, .player-bet-asset-star { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 12px; object-fit: contain; }
.player-bet-asset > img { background: radial-gradient(circle, rgba(53,177,255,.35), transparent 72%); }
.player-bet-asset-star { background: radial-gradient(circle, rgba(255,210,68,.3), transparent 72%); color: #ffd34d; font-size: 34px; }
.player-bet-asset > strong { color: #f7f7f8; font-size: 10px; font-weight: 800; }
.player-bet-asset > span:last-child { display: flex; align-items: center; gap: 4px; color: #d7d9e0; font-size: 9px; font-weight: 700; white-space: nowrap; }
.player-bet-dialog-done { min-height: 44px; margin-top: auto; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: linear-gradient(180deg, #484957, #30313d); color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }

.bottom-nav {
  position: fixed;
  z-index: 4;
  view-transition-name: bottom-nav;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  width: min(calc(100% - 24px), 390px);
  min-height: 68px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 3px;
  padding: 6px;
  border: 1px solid rgba(226,208,255,.16);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(42,31,57,.94), rgba(22,20,33,.96));
  box-shadow: 0 12px 34px rgba(7,2,18,.48), inset 0 1px 0 rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.nav-item {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: #bdb5cb;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .18s ease, background .18s ease;
}

.nav-item:hover { color: #f3eaff; background: rgba(255,255,255,.055); }
.nav-item:active { transform: none; }
.nav-item:focus-visible { outline: 2px solid #d4b5ff; outline-offset: 2px; }
.nav-item.active {
  color: #fff;
  background: linear-gradient(155deg, rgba(167,104,255,.78), rgba(105,59,184,.62));
  box-shadow: 0 0 18px rgba(157,91,255,.3), inset 0 1px 0 rgba(255,255,255,.28);
}
.nav-item.active::after {
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: #f0ddff;
  box-shadow: 0 0 10px rgba(226,181,255,.95);
  content: "";
  transform: translateX(-50%);
}
.nav-item-icon { display: grid; width: 27px; height: 27px; place-items: center; }
.nav-item-icon svg { display: block; width: 21px; height: 21px; }
.nav-item.active .nav-item-icon svg { filter: drop-shadow(0 0 7px rgba(255,229,255,.65)); }
.nav-item small { max-width: 100%; overflow: hidden; color: inherit; font-size: 8px; font-weight: 750; letter-spacing: .1px; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }

.round-hash {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: center;
  margin: 13px 0 0;
  padding: 4px 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #b89ac5;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

.round-hash:hover:not(:disabled), .round-hash:focus-visible {
  background: rgba(255,255,255,.06);
  color: #f1dfff;
}

.round-hash:disabled { cursor: wait; opacity: .75; }
.copy-icon { color: #d0bbdb; font-size: 13px; line-height: 1; }

.toast {
  position: fixed;
  z-index: 5;
  bottom: 88px;
  left: 50%;
  max-width: calc(100vw - 30px);
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: #24142e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.bottom-nav { z-index: 18; }
.toast { z-index: 10; }

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .avatar {
  top: 60px;
  left: max(0px, calc((100% - min(100%, 406px)) / 2));
  width: 34px;
  height: 34px;
  position: absolute;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .topbar {
  position: relative;
  height: 88px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .game {
  max-width: 406px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .account-row {
  position: absolute;
  z-index: 9;
  top: calc(max(9px, env(safe-area-inset-top)) + var(--telegram-fullscreen-top-gap, 0px) + 60px);
  right: auto;
  left: 50%;
  width: min(calc(100% - 28px), 406px);
  justify-content: flex-end;
  height: 34px;
  pointer-events: none;
  transform: translateX(-50%);
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .online {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 72px;
  gap: 3px;
  overflow: hidden;
  margin: 0;
  font-size: 10px;
  white-space: nowrap;
  transform: translateX(-50%);
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) #online-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .balance-button {
  height: 30px;
  gap: 4px;
  font-size: 12px;
  pointer-events: auto;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .account-label {
  display: none;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .promo {
  height: 26px;
  font-size: 11px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .stats-row {
  height: 36px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .pot-row {
  height: 32px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .pot-row > .round-icon {
  transform: translateY(5px);
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .pot-label {
  transform: translateY(4px);
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .round-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-stage {
  width: min(calc(74vw + 25px), 355px);
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .quick-bet {
  height: 40px;
  font-size: 12px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .join-button {
  height: 42px;
  font-size: 13px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .players-panel {
  padding: 12px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .player-card {
  min-height: 88px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-utility-row {
  position: relative;
  margin-bottom: 6px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-utility-row .admin-panel-open {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-utility {
  height: 33px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-actions {
  margin-top: 7px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-actions .action-button {
  height: 43px;
}

@media (max-height: 740px) and (min-width: 390px) {
  .game { margin-top: 2px; }
  .stats-row { margin-top: 4px; }
  .pot-row { margin-top: 3px; }
  .wheel-section { padding-top: 16px; }
  .pointer { top: 6px; }
  .wheel-stage { width: min(78vw, 300px); }
  .join-section { margin-top: 0; }
  .stake-panel { padding-top: 6px; padding-bottom: 6px; }
  .players-panel { margin-top: 6px; }
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-stage {
    width: min(calc(82vw + 25px), 342px);
  }
}

@media (max-width: 360px) {
  :root { --pvp-content-gutter: 11px; }

  .app { padding-right: 11px; padding-left: 11px; }
  .game { margin-top: 3px; }
  .wheel-stage { width: min(86vw, 325px); }
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-stage {
    width: min(calc(74vw + 25px), 337px);
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .account-row {
    width: calc(100% - 22px);
  }

  body .app:is(.app--games-page, .app--arena-page, .app--plinko-page) .account-row {
    width: calc(100% - 22px);
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .balance-button {
    gap: 2px;
    padding-right: 4px;
    padding-left: 4px;
  }
}

@media (max-height: 700px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .topbar {
    height: 80px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .game {
    margin-top: 0;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .stats-row {
    height: 32px;
    margin-top: 4px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .pot-row {
    height: 32px;
    margin-top: 0;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .round-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-section {
    padding-top: 8px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-stage {
    width: min(calc(68vw + 25px), 297px);
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-caption {
    min-height: 17px;
    margin-top: 4px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):not(.app--games) .join-section {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 6px;
    row-gap: 7px;
    margin-top: 0;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-utility-row {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
    margin: 0;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-utility {
    width: 48px;
    height: 40px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-utility-wallet,
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-utility-toggle,
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-utility-star {
    width: 21px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .quick-bets,
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .star-bets {
    grid-column: 2;
    grid-row: 1;
    gap: 4px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .bet-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .stake-panel {
    grid-column: 1 / -1;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .join-section:has(.admin-panel-open:not([hidden])) {
    row-gap: 5px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .join-section:has(.admin-panel-open:not([hidden])) .bet-utility-row {
    grid-column: 1 / -1;
    grid-row: 1;
    width: auto;
    height: 40px;
    justify-content: space-between;
    margin: 0;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .join-section:has(.admin-panel-open:not([hidden])) .admin-panel-open {
    position: static;
    transform: none;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .join-section:has(.admin-panel-open:not([hidden])) .quick-bets,
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .join-section:has(.admin-panel-open:not([hidden])) .star-bets {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .join-section:has(.admin-panel-open:not([hidden])) .bet-actions {
    grid-row: 3;
  }
}

@media (max-height: 620px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-stage {
    width: min(calc(64vw + 25px), 275px);
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-caption {
    display: none;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .join-section:has(.admin-panel-open:not([hidden])) ~ .players-panel {
    margin-top: 6px;
  }
}

@media (max-height: 700px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(.admin-panel-open:not([hidden])) .wheel-stage {
    width: min(calc(50vw + 25px), 230px);
  }
}

@media (max-height: 580px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(.admin-panel-open:not([hidden])) .wheel-section {
    padding-top: 4px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(.admin-panel-open:not([hidden])) .wheel-stage {
    width: min(calc(49vw + 25px), 225px);
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .join-section:has(.admin-panel-open:not([hidden])) {
    row-gap: 1px;
  }
}

@media (min-width: 600px) {
  .app:not(.app--games-page) {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .app:not(.app--games-page) > .bottom-nav {
    position: fixed;
  }
}

@media (max-width: 599px) and (max-height: 740px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-stage {
    width: min(calc(44vw + 25px), 205px);
  }
}

@media (min-width: 600px) and (max-height: 912px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .topbar {
    height: 80px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .game {
    margin-top: 4px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-section {
    padding-top: 17px;
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-stage {
    width: min(calc(44vw + 25px), calc(100dvh - 551px), 355px);
  }
}

@media (min-width: 600px) and (max-height: 740px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-stage {
    width: min(calc(44vw + 25px), 205px);
  }
}

@media (min-width: 600px) and (max-height: 580px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .wheel-stage {
    width: min(calc(44vw + 25px), 189px);
  }

  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page) .players-panel {
    margin-top: calc(100dvh - 466px);
  }
}

body .app:is(.app--games, .app--cases, .app--upgrade, .app--games-page, .app--arena-page, .app--plinko-page) .topbar {
  position: relative;
  height: 88px;
}

body .app:is(.app--games, .app--cases, .app--upgrade, .app--games-page, .app--arena-page, .app--plinko-page) .avatar {
  position: absolute;
  top: 52px;
  left: max(0px, calc((100% - min(100%, 406px)) / 2));
  width: 34px;
  height: 34px;
}

body .app:is(.app--games, .app--cases, .app--upgrade, .app--games-page, .app--arena-page, .app--plinko-page) .online {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 72px;
  gap: 3px;
  overflow: hidden;
  margin: 0;
  font-size: 10px;
  white-space: nowrap;
  transform: translateX(-50%);
}

body .app:is(.app--games, .app--cases, .app--upgrade, .app--games-page, .app--arena-page, .app--plinko-page) #online-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .app:is(.app--games, .app--cases, .app--upgrade) .account-row {
  top: calc(max(9px, env(safe-area-inset-top)) + var(--telegram-fullscreen-top-gap, 0px) + 52px);
  right: auto;
  left: 50%;
  width: min(calc(100% - 28px), 406px);
  transform: translateX(-50%);
}

body .app:is(.app--games-page, .app--arena-page, .app--plinko-page) .account-row {
  position: absolute;
  z-index: 9;
  top: calc(max(8px, env(safe-area-inset-top)) + var(--telegram-fullscreen-top-gap, 0px) + 52px);
  right: auto;
  left: 50%;
  width: min(calc(100% - 28px), 406px);
  height: 34px;
  justify-content: flex-end;
  transform: translateX(-50%);
  pointer-events: none;
}

body .app:is(.app--games-page, .app--arena-page, .app--plinko-page) .account-label {
  display: none;
}

body .app:is(.app--games, .app--cases, .app--upgrade, .app--games-page, .app--arena-page, .app--plinko-page) .balance-button {
  height: 30px;
  gap: 4px;
  font-size: 12px;
  pointer-events: auto;
}

body .app:has(.profile-view:not([hidden])) .account-row,
body .app:has(.upgrade-view:not([hidden])) .account-row,
body .app:has(.dice-view:not([hidden])) .account-row {
  display: none;
}

body .app:has(.profile-view:not([hidden])) .topbar,
body .app:has(.profile-view:not([hidden])) .topbar .avatar,
body .app:has(.profile-view:not([hidden])) .topbar .online,
body .app:has(.profile-collection-view:not([hidden])) .topbar,
body .app:has(.profile-collection-view:not([hidden])) .topbar .avatar,
body .app:has(.profile-collection-view:not([hidden])) .topbar .online {
  display: none;
}

body .app:has(.upgrade-view:not([hidden])) .topbar,
body .app:has(.upgrade-view:not([hidden])) .topbar .avatar,
body .app:has(.upgrade-view:not([hidden])) .topbar .online,
body .app:has(.dice-view:not([hidden])) .topbar {
  display: none;
}

body .app:has(.nav-item[data-tab="PvP"]:not(.active)) .game > :not(.account-row),
body .app:has(.nav-item[data-tab="PvP"]:not(.active)) > .round-hash {
  display: none;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .players-panel {
  margin-top: 17px;
}

body:has(> .app > .game .wheel-section) {
  background: var(--pvp-page-background);
}

body:has(> .app > .game .wheel-section) .pot-row > .round-icon {
  background: linear-gradient(145deg, rgba(69, 47, 91, .58), rgba(43, 34, 63, .62));
  color: #fff;
}

body:has(> .app > .game .wheel-section) .stat-card {
  background: linear-gradient(115deg, rgba(49, 35, 67, .56), rgba(35, 30, 54, .56));
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .game {
  margin-top: 24px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .bet-utility-row,
body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .quick-bets {
  position: relative;
  top: 8px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .bet-actions .action-button {
  position: relative;
  top: 7px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .join-section,
body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .players-panel,
body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) > .round-hash {
  transform: translateY(7px);
}

@media (max-width: 599px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

@media (max-width: 599px) and (min-height: 741px) {
  body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .wheel-stage {
    width: min(calc(68vw + 25px), 289px);
  }
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .wheel-section {
  padding-top: 27px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .wheel-caption {
  transform: translateY(6px);
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .bet-utility {
  min-height: 37px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .bet-utility-row {
  margin-left: 0;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .bet-utility-wallet,
body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .bet-utility-toggle,
body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .bet-utility-star {
  height: 31px;
}

body:not(.arena-page):not(.plinko-page) .app:not(.app--games-page):has(> .game .wheel-section) .quick-bet {
  height: 44px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
