:root {
  --bg: #080102;
  --deep: #120306;
  --panel: #21070b;
  --panel-2: #3c0b13;
  --card: #180c0e;
  --red: #c60b31;
  --red-dark: #6a1020;
  --gold: #f1c873;
  --gold-bright: #ffd95a;
  --gold-dark: #9b641e;
  --text: #ffffff;
  --muted: #d7c2c7;
  --pink: #d65777;
  --line: #5d1e2d;
  --soft-line: rgba(255, 255, 255, .08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #0d0c0e;
}

html.pageScrollLocked {
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, #171619, #0d0c0e 25%, #0b090a 50%, #0d0c0e 75%, #171619);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.pageScrollLocked {
  position: fixed;
  top: var(--page-lock-top, 0);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
}

button:disabled {
  opacity: .55;
  cursor: wait;
}

.appShell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, #341018, #0c0102 46%, #000);
  box-shadow: 0 0 0 1px rgba(241, 200, 115, .09), 0 0 70px rgba(0, 0, 0, .62);
}

.appView {
  padding-bottom: calc(132px + env(safe-area-inset-bottom));
}

.appView-wallet,
.appView-recharge,
.appView-withdraw,
.appView-game {
  padding-bottom: 0;
}

.scene {
  position: relative;
  z-index: 1;
  padding: 0 14px 18px;
}

.scene-home {
  padding-inline: 0;
}

.scene-wallet {
  min-height: calc(100dvh - 50px);
  display: flex;
  flex-direction: column;
  padding: 12px 16px 36px;
}

.scene-recharge,
.scene-withdraw {
  padding-top: 12px;
  padding-bottom: 28px;
}

.scene-rank,
.scene-earn {
  padding-top: 8px;
}

.loading {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--gold);
}

.loading img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  animation: pulse 1.2s ease-in-out infinite;
}

.loading strong {
  font-size: 22px;
}

@keyframes pulse {
  50% { transform: scale(1.06); filter: brightness(1.18); }
}

.topBar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 90px;
  display: grid;
  grid-template-columns: 42px minmax(148px, 184px) minmax(112px, 1fr);
  align-items: start;
  gap: 8px;
  padding: 14px 18px 0;
  background: url("assets/six_fire_header_bg.png") center top / calc(100% + 36px) 78px no-repeat;
}

.brandMark {
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.brandMark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.balancePill {
  position: relative;
  width: 100%;
  height: 39px;
  display: grid;
  place-items: center;
  padding: 0 35px 0 15px;
  color: #fff;
  background: url("assets/wallet_balance_display_bg.png") center / 100% 100% no-repeat;
  text-shadow: 0 2px 2px #000;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.topActions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.giftChip {
  flex: 0 0 34px;
  width: 34px;
  height: 38px;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.profileChip {
  min-width: 0;
  width: 88px;
  height: 42px;
  display: grid;
  grid-template-columns: 38px minmax(20px, 1fr) 16px;
  align-items: center;
  padding: 0;
  color: #f5cf75;
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

.profileChip img {
  width: 38px;
  height: 38px;
  border: 1px solid #d9a93c;
  border-radius: 50%;
  object-fit: cover;
  padding: 2px;
  background: #2b0810;
}

.profileChip span {
  overflow: hidden;
  white-space: nowrap;
}

.profileChip b {
  color: #fff;
  font-size: 15px;
}

.titleBar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 50px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 68px;
  align-items: center;
  background: linear-gradient(180deg, #321016, #1e090d);
  border-bottom: 1px solid #5d1e2d;
}

.titleBar > strong {
  min-width: 0;
  padding-inline: 4px;
  overflow: hidden;
  color: var(--gold-bright);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.backBtn {
  width: 44px;
  height: 50px;
  padding: 0 0 4px;
  color: var(--gold);
  background: transparent;
  font-size: 34px;
  font-weight: 900;
  cursor: pointer;
}

.titleActions {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7px;
}

.titleActions button {
  width: 29px;
  height: 42px;
  padding: 0;
  color: var(--gold);
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.homeHero {
  min-height: 180px;
  height: auto;
  margin: -6px 16px 12px;
  overflow: visible;
  background: transparent;
}

button.homeHero {
  width: calc(100% - 32px);
  padding: 0;
  color: inherit;
  text-align: initial;
  border: 0;
  cursor: pointer;
}

.offerHero:focus-visible {
  outline: 2px solid #ffd95a;
  outline-offset: 2px;
}

.homeHero.hasImage {
  display: block;
}

.homeHero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.featuredGames {
  display: grid;
  gap: 12px;
  padding: 0 4px;
}

.featuredGame {
  min-height: 68px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
  text-align: left;
  background: #1a0a0f;
  border: 1px dashed #e7b04e;
  border-radius: 16px;
  cursor: pointer;
}

.featuredGame.hasMedia {
  min-height: 82px;
}

.featuredGame.noMedia {
  grid-template-columns: minmax(0, 1fr) 44px;
}

.featuredGame > img {
  width: 92px;
  height: 58px;
  display: grid;
  place-items: center;
  object-fit: contain;
  color: var(--gold);
  background: #241015;
  border-radius: 10px;
  font-weight: 900;
}

.featureCopy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.featureCopy strong {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featureCopy em {
  color: #ffd36e;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.featuredGame > b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #c60b31;
  border-radius: 12px;
  font-size: 16px;
}

.homeSection,
.homeCatalog {
  padding: 0 16px;
}

.homeSection {
  margin-top: 18px;
}

.homeSection h2,
.categoryDivider h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.brandStrip {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.brandStrip::-webkit-scrollbar,
.privilegeScroller::-webkit-scrollbar,
.vipRail::-webkit-scrollbar {
  display: none;
}

.brandCard {
  flex: 0 0 116px;
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  color: #fff;
  background: #12090b;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
}

.brandCard.active {
  background: #1b0b0d;
}

.brandCard > span {
  width: 100%;
  height: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold);
  background: #2a1116;
  border-radius: 18px;
  font-weight: 900;
}

.brandCard img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}

.brandCard strong {
  display: -webkit-box;
  overflow: hidden;
  text-align: center;
  font-size: 13px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.homeCatalog {
  margin-top: 22px;
}

.categoryFolder {
  position: relative;
  width: 100%;
  min-height: 102px;
  aspect-ratio: 3.7 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: end;
  gap: 12px;
  margin: 0 0 10px;
  padding: 14px 16px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 78% 38%, rgba(218, 42, 73, .34), transparent 35%),
    linear-gradient(125deg, #330b13, #100406 72%);
  border: 1px solid rgba(244, 194, 84, .78);
  border-radius: 8px;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 243, 188, .12),
    inset 0 -1px 0 rgba(91, 23, 30, .82);
  cursor: pointer;
  isolation: isolate;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.categoryFolder::before,
.folderHero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 239, 165, .14), transparent 22%, transparent 76%, rgba(255, 188, 55, .08)),
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 34%);
}

.categoryFolder::after,
.folderHero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 1, 3, .96), rgba(9, 2, 4, .38) 64%, rgba(7, 1, 3, .76)),
    linear-gradient(0deg, rgba(7, 1, 3, .86), transparent 62%);
}

.categoryFolder > img,
.folderHero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categoryFolder > span {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.categoryFolder > span strong {
  overflow: hidden;
  font-size: 22px;
  line-height: 1.05;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .9);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.categoryFolder > span em {
  width: max-content;
  padding: 4px 8px;
  color: #ffe18a;
  background: rgba(36, 8, 12, .82);
  border: 1px solid rgba(244, 194, 84, .42);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.categoryFolder > b {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff3c4;
  background:
    linear-gradient(#9e0829, #5f061b) padding-box,
    linear-gradient(145deg, #ffe48b, #a46612 65%, #f6c950) border-box;
  border: 2px solid transparent;
  border-radius: 50%;
  box-shadow:
    0 9px 22px rgba(0, 0, 0, .52),
    0 0 12px rgba(224, 154, 32, .2),
    inset 0 1px 0 rgba(255, 255, 255, .16);
  font-size: 15px;
}

@media (hover: hover) {
  .categoryFolder:hover {
    border-color: #f6cf6c;
    box-shadow:
      0 18px 34px rgba(0, 0, 0, .48),
      0 0 18px rgba(213, 151, 32, .14),
      inset 0 1px 0 rgba(255, 243, 188, .16);
    transform: translateY(-2px);
  }
}

.folderScene {
  padding: 12px 16px 132px;
}

.folderHeader {
  height: 48px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.folderHeader button {
  width: 38px;
  height: 38px;
  color: var(--gold-bright);
  background: #240b10;
  border: 1px solid #5d2731;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.folderHeader strong {
  overflow: hidden;
  color: #fff;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folderHeader span {
  color: #c9a8af;
  font-size: 12px;
}

.folderHero {
  position: relative;
  min-height: 118px;
  aspect-ratio: 3.35 / 1;
  display: flex;
  align-items: end;
  margin: 4px 0 16px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(125deg, #350812, #160609);
  border: 1px solid rgba(244, 194, 84, .78);
  border-radius: 8px;
  box-shadow:
    0 15px 30px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 243, 188, .12);
  isolation: isolate;
}

.folderHero strong {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 28px;
  text-shadow: 0 3px 12px #000;
}

.categorySection + .categorySection {
  margin-top: 14px;
}

.categoryDivider {
  position: relative;
  height: 60px;
  padding-bottom: 2px;
}

.categoryDivider span {
  display: none;
}

.categoryDivider::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #fce797, #d8a93e, #8a6419);
}

.categoryDivider h2 {
  height: 58px;
  margin: 0 8px;
  overflow: hidden;
  color: #f8db7b;
  font-size: 42px;
  line-height: 58px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gameGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gameCard {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(57, 18, 25, .98), rgba(17, 5, 8, .99) 70%);
  border: 1px solid rgba(220, 164, 65, .48);
  border-radius: 8px;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 238, 183, .09);
  isolation: isolate;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.gameCard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 230, 148, .08), transparent 26%);
}

.gameCard.isFavorite {
  border-color: rgba(248, 202, 91, .88);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, .48),
    0 0 15px rgba(225, 159, 39, .14),
    inset 0 1px 0 rgba(255, 240, 187, .13);
}

.gameLaunchButton {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 0;
  padding: 7px 7px 0;
  color: #fff;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.gameImage {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1.26 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold);
  background: #241015;
  border: 1px solid rgba(255, 229, 151, .12);
  border-radius: 6px;
  font-size: 20px;
}

.gameImage.hasMedia {
  height: auto;
  aspect-ratio: 1.26 / 1;
  display: block;
  overflow: hidden;
  background: #140609;
  border-radius: 6px;
}

.gameImage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gameBadge {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 42px;
  padding: 5px 7px;
  color: #fff;
  text-align: center;
  background: #db123d;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 5px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .36);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.gameBadge.new {
  color: #3a1b00;
  background: #ffd35d;
}

.gameLaunchButton > strong {
  min-height: 46px;
  display: -webkit-box;
  align-content: center;
  padding: 11px 8px 10px;
  overflow: hidden;
  color: #fff7e5;
  border-top: 1px solid rgba(237, 184, 75, .18);
  font-size: 14px;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .72);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.favoriteButton {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, .22), transparent 28%) padding-box,
    linear-gradient(145deg, #321016, #100306 72%) padding-box,
    linear-gradient(145deg, #fff2a7, #a76714 56%, #f2c552) border-box;
  border: 1px solid transparent;
  border-radius: 50%;
  box-shadow:
    0 5px 10px rgba(0, 0, 0, .58),
    0 1px 0 rgba(255, 230, 132, .35),
    inset 0 2px 2px rgba(255, 244, 190, .18),
    inset 0 -5px 7px rgba(0, 0, 0, .5);
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.favoriteButton > svg {
  width: 16px;
  height: 16px;
  display: block;
  overflow: visible;
  filter:
    drop-shadow(0 1px 0 rgba(255, 244, 174, .4))
    drop-shadow(0 2px 3px rgba(0, 0, 0, .8));
}

.favoriteButton > svg path {
  fill: transparent;
  stroke: #f4c958;
  stroke-width: 1.8;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.favoriteButton.active {
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 245, 188, .34), transparent 25%) padding-box,
    linear-gradient(145deg, #7b1d2a, #3a080f 47%, #0b0102 100%) padding-box,
    linear-gradient(145deg, #fff6b5, #f5b72a 42%, #7b3107 72%, #ffdf6e) border-box;
  border-color: transparent;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, .62),
    0 0 8px rgba(242, 174, 45, .42),
    0 1px 0 rgba(255, 238, 157, .5),
    inset 0 2px 2px rgba(255, 244, 188, .24),
    inset 0 -6px 8px rgba(0, 0, 0, .52);
}

.favoriteButton.active > svg {
  filter:
    drop-shadow(0 1px 0 rgba(255, 252, 211, .72))
    drop-shadow(0 2px 4px rgba(0, 0, 0, .9))
    drop-shadow(0 0 3px rgba(255, 187, 38, .72));
}

.favoriteButton.active > svg path {
  fill: #f9c83f;
  stroke: #fff2a1;
  stroke-width: 1.45;
}

@media (hover: hover) {
  .favoriteButton:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow:
      0 9px 20px rgba(0, 0, 0, .6),
      0 0 15px rgba(242, 174, 45, .35),
      inset 0 1px 0 rgba(255, 255, 255, .14);
  }
}

.favoriteButton:focus-visible {
  outline: 2px solid #ffe287;
  outline-offset: 3px;
}

.favoriteGamesSection {
  margin-top: 22px;
}

.favoriteGamesStrip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(156px, 43%);
  gap: 12px;
  padding: 4px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.favoriteGamesStrip::-webkit-scrollbar {
  display: none;
}

.favoriteGamesStrip .gameCard {
  scroll-snap-align: start;
}

@media (hover: hover) {
  .gameCard:hover {
    border-color: rgba(248, 202, 91, .88);
    box-shadow:
      0 16px 30px rgba(0, 0, 0, .5),
      0 0 16px rgba(225, 159, 39, .14);
    transform: translateY(-2px);
  }

  .gameCard:hover .gameImage img {
    transform: scale(1.035);
  }
}

.catalogLoader {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--gold);
}

.catalogLoader i {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(241, 200, 115, .2);
  border-top-color: var(--gold-bright);
  border-radius: 50%;
  animation: catalogSpin .72s linear infinite;
}

.catalogLoader strong {
  font-size: 14px;
}

@keyframes catalogSpin {
  to { transform: rotate(360deg); }
}

.infoPanel {
  width: 100%;
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  color: #fff;
  background: #17090d;
  border: 0;
  border-radius: 22px;
}

.infoPanel strong {
  font-size: 16px;
}

.infoPanel span {
  color: #a8b1c2;
  font-size: 14px;
  line-height: 1.4;
}

.tapPanel {
  cursor: pointer;
}

.rankTabs {
  position: sticky;
  top: 50px;
  z-index: 19;
  height: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 70px;
  background: linear-gradient(180deg, #180a0d, #2c1016, #110507);
  border-bottom: 1px solid #521925;
}

.rankTabs button,
.rankTabs > div {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 0 3px;
  color: #fff;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, .04);
  cursor: pointer;
}

.rankTabs button.active {
  color: var(--gold);
  background: linear-gradient(180deg, #c40c2d, #8e0b21);
}

.rankTabs strong {
  font-size: 12px;
}

.rankTabs span {
  color: var(--gold);
  font-size: 8px;
}

.rankTabs > div {
  color: var(--gold);
  text-align: center;
  background: linear-gradient(180deg, #311017, #120609);
}

.rankTabs > div strong {
  font-size: 8px;
}

.jackpotPanel {
  position: relative;
  min-height: 174px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 8px 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #120406, #4b1018, #180608);
  border-radius: 4px;
}

.jackpotPanel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(214, 167, 68, .2), transparent);
}

.jackpotPanel h2 {
  position: relative;
  margin: 0;
  color: #ffe39a;
  text-shadow: 0 2px 4px #000;
  font-size: 31px;
}

.jackpotReel {
  position: relative;
  width: 100%;
  height: 72px;
  display: grid;
  grid-template-columns: 34px repeat(9, minmax(0, 1fr));
  align-items: center;
  gap: 2px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #8f1c10, #250406);
  border: 2px solid #f6c663;
  border-radius: 12px;
  box-shadow: 0 0 0 7px #d9962f, 0 0 0 8px #fce58c;
}

.jackpotReel b {
  color: #fff0a2;
  text-align: center;
  font-size: 28px;
}

.jackpotReel span {
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff0a2;
  background: linear-gradient(180deg, #4b0d10, #160204);
  border: 1px solid #8e4a23;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 900;
}

.rankActionStrip {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #fff;
  background: linear-gradient(90deg, #a90d28, #550d17);
}

.rankActionStrip span {
  min-width: 0;
  flex: 1;
  font-size: 11px;
}

.rankActionStrip button,
.rankNotice button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 10px;
  color: #5a250e;
  background: linear-gradient(180deg, #fff2a3, #d99b1f);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.rankPodium {
  min-height: 246px;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: end;
  gap: 6px;
  padding-top: 16px;
}

.podiumCard {
  min-width: 0;
  min-height: 188px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  padding: 8px 6px 12px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #4b1018, #170507);
  border: 1px solid #6c2430;
  border-radius: 8px 8px 2px 2px;
}

.podiumCard.rank1 {
  min-height: 218px;
  border-color: #d6a744;
}

.podiumAvatar {
  position: relative;
  width: 72px;
  height: 72px;
}

.podiumCard.rank1 .podiumAvatar {
  width: 84px;
  height: 84px;
}

.podiumAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #d6a744;
  border-radius: 50%;
}

.podiumAvatar b {
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: #421803;
  background: #f1c873;
  border-radius: 50%;
}

.podiumCard > strong,
.podiumCard > span,
.podiumCard > em {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podiumCard > strong {
  margin-top: 5px;
  font-size: 12px;
}

.podiumCard > span {
  color: #c7939f;
  font-size: 9px;
}

.podiumCard > em {
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.rankRows {
  display: grid;
  gap: 8px;
}

.rankRow {
  min-height: 64px;
  display: grid;
  grid-template-columns: 28px 46px minmax(0, 1fr) minmax(58px, 72px);
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: linear-gradient(90deg, #3e0d15, #18080a);
  border: 1px solid #5a1b25;
  border-radius: 6px;
}

.rankPosition {
  color: var(--gold);
  text-align: center;
  font-size: 14px;
}

.rankRow img {
  width: 46px;
  height: 46px;
  padding: 2px;
  object-fit: cover;
  background: #000;
  border: 2px solid #d6a744;
  border-radius: 50%;
}

.rankRow > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.rankRow > div strong,
.rankRow > div span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rankRow > div strong {
  font-size: 13px;
}

.rankRow > div span {
  color: #c7939f;
  font-size: 10px;
}

.rankRow > em {
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rankNotice {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  padding: 10px 12px;
  background: linear-gradient(90deg, #5a1b1f, #18080a);
  border: 1px solid #e0b750;
  border-radius: 6px;
}

.rankNotice span {
  min-width: 0;
  flex: 1;
  font-size: 11px;
  line-height: 1.35;
}

.walletHero {
  position: relative;
  height: 146px;
  flex: 0 0 146px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  color: #6a3511;
  background: linear-gradient(90deg, #e2a333, #fff4b0, #c9822d);
  border: 1px solid #ffe28a;
  border-radius: 8px;
}

.walletHero span {
  font-size: 20px;
  font-weight: 900;
}

.walletHero strong {
  position: relative;
  z-index: 1;
  font-size: 34px;
}

.walletHero > b {
  position: absolute;
  right: 12px;
  color: rgba(168, 91, 24, .16);
  font-size: 118px;
}

.walletTip {
  display: grid;
  gap: 10px;
  color: #d7c2c7;
}

.walletTip:first-of-type {
  margin-top: 74px;
}

.walletTip + .walletTip {
  margin-top: 52px;
}

.walletTip strong {
  color: #fff;
  font-size: 19px;
}

.walletTip span {
  font-size: 12px;
  line-height: 1.55;
}

.walletActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: auto;
  padding-top: 80px;
}

.walletAction {
  height: 48px;
  color: #f5c4cc;
  background: linear-gradient(180deg, #aa1a30, #6a1020);
  border: 1px solid #d3445a;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.walletAction.deposit {
  color: #7a330c;
  background: linear-gradient(180deg, #fff1a0, #f2b02c);
  border-color: #ffe78b;
}

.balanceSummary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.balanceSummary > div {
  min-height: 84px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #5a301c;
  background: linear-gradient(90deg, #f4ca56, #b45b23);
  border-radius: 8px;
  text-align: center;
}

.balanceSummary span {
  font-size: 13px;
}

.balanceSummary strong {
  color: #5a250e;
  font-size: 20px;
}

.moneyPanel {
  margin-top: 14px;
  padding: 14px 12px;
  background: #210306;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
}

.teamCountStats {
  margin: 12px 0 16px;
}

.methodPills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.methodPills button {
  height: 42px;
  color: #e7c8ce;
  background: #351018;
  border: 1px solid #5d1e2d;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.methodPills button.active {
  color: #5a250e;
  background: linear-gradient(180deg, #fff2a3, #d99b1f);
  border-color: #ffd95a;
}

.formGrid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field > span,
.moneyLabel {
  color: #d7c2c7;
  font-size: 13px;
}

.moneyLabel span {
  color: #f1c873;
}

.input,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: #fff;
  background: #12080b;
  border: 1px solid #c09a58;
  border-radius: 8px;
  outline: 0;
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.input:focus,
.textarea:focus,
.moneyInput:focus {
  border-color: #ffd95a;
  box-shadow: 0 0 0 2px rgba(255, 217, 90, .12);
}

.moneyInput {
  width: 100%;
  height: 48px;
  padding: 8px;
  color: #ffd95a;
  text-align: center;
  background: #070001;
  border: 1px solid #8b263a;
  border-radius: 6px;
  outline: 0;
  font-size: 20px;
}

.amountGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.amountGrid button {
  position: relative;
  min-width: 0;
  height: 50px;
  display: grid;
  place-items: center;
  color: #e4c8ce;
  background: #50111b;
  border-radius: 8px;
  cursor: pointer;
}

.amountGrid strong {
  font-size: 13px;
}

.amountGrid span {
  position: absolute;
  top: 3px;
  right: 3px;
  padding: 2px 4px;
  color: #fff2a6;
  background: #8a1730;
  border-radius: 4px;
  font-size: 8px;
}

.conversionHint,
.goldNote {
  margin: 0;
  color: #ffd95a;
  font-size: 12px;
  line-height: 1.45;
}

.promotionBox {
  display: grid;
  gap: 5px;
  padding: 10px 18px;
  color: #ffd95a;
  background: linear-gradient(135deg, #81321b, #3a0811);
  border: 1px solid #e0b750;
  border-radius: 8px;
}

.promotionBox strong {
  color: #fff;
  font-size: 14px;
}

.promotionBox span {
  font-size: 17px;
  font-weight: 900;
}

.depositOfferPanel {
  border-color: rgba(255, 211, 91, .48);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 16px 36px rgba(0, 0, 0, .28);
}

.depositOfferHeading {
  display: grid;
  gap: 5px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, #6f0b1c, #260307 64%, #543008);
  border: 1px solid #dcae3a;
  border-radius: 8px;
}

.depositOfferHeading span {
  color: #ffd95a;
  font-size: 10px;
  font-weight: 900;
}

.depositOfferHeading strong {
  font-size: 22px;
}

.depositOfferHeading small,
.offerPromotionBox small {
  color: #d9bbc1;
  font-size: 11px;
}

.offerAmountGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offerAmountGrid button {
  height: 60px;
  border: 1px solid transparent;
}

.offerAmountGrid button.active {
  color: #fff7c5;
  border-color: #ffd95a;
  background: linear-gradient(180deg, #8f2033, #4c0915);
  box-shadow: 0 0 0 2px rgba(255, 217, 90, .1);
}

.offerPromotionBox small {
  display: block;
}

.depositTips {
  display: grid;
  gap: 6px;
}

.depositTips strong {
  color: #fff;
  font-size: 16px;
}

.depositTips p {
  margin: 0;
  color: #d7b783;
  font-size: 12px;
  line-height: 1.5;
}

.goldButton,
.redButton {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: #5a250e;
  background: linear-gradient(180deg, #fff2a3, #e4a323);
  border: 1px solid #ffd95a;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.redButton {
  color: #fff;
  background: linear-gradient(180deg, #b91b36, #741025);
  border-color: #d64b60;
}

.fullButton {
  width: 100%;
}

.bankCard {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #4b101a;
  border-radius: 8px;
}

.bankCard > div,
.withdrawInfo {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #d7b783;
  font-size: 12px;
}

.bankCard strong,
.withdrawInfo strong {
  color: #f2d28e;
  overflow-wrap: anywhere;
  text-align: right;
}

.bankCard button {
  min-height: 38px;
  margin-top: 4px;
  color: #5a250e;
  background: #f1c873;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.bankLockedNote {
  min-height: 38px;
  margin-top: 4px;
  display: grid;
  place-items: center;
  color: #f2d28e;
  background: #2a0910;
  border: 1px solid #8d5725;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.withdrawInfo {
  padding: 8px 12px;
  background: #4b101a;
  border-radius: 8px;
}

.vipHero {
  padding: 12px;
  background: linear-gradient(180deg, #721328, #2c0610, #130305);
  border-radius: 8px;
}

.vipIdentity {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.avatarImage {
  width: 44px;
  height: 44px;
  padding: 2px;
  object-fit: cover;
  background: #2b0810;
  border: 2px solid #d9a93c;
  border-radius: 50%;
}

.vipIdentity > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.vipIdentity strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.vipIdentity span {
  color: #f1c873;
  font-size: 13px;
  font-weight: 900;
}

.vipIdentity em {
  color: #d7b783;
  font-size: 10px;
  font-style: normal;
}

.vipZeroStatus {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  color: #f7edf0;
  background: #26080e;
  border: 1px solid #7a293a;
  border-radius: 8px;
}

.vipZeroStatusHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vipZeroStatusHeader > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.vipZeroStatusHeader span,
.vipZeroMetrics span {
  color: #caa9b1;
  font-size: 10px;
}

.vipZeroStatusHeader strong {
  font-size: 16px;
}

.vipZeroStatusHeader > b {
  width: 42px;
  height: 30px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  color: #3a0710;
  background: #f2cc67;
  border-radius: 6px;
  font-size: 12px;
}

.vipZeroMetrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vipZeroMetrics > div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #4b101a;
  border-radius: 6px;
}

.vipZeroMetrics strong {
  overflow-wrap: anywhere;
  color: #f2d28e;
  font-size: 15px;
}

.vipZeroStatus p,
.vipZeroStatus small {
  margin: 0;
  line-height: 1.45;
}

.vipZeroStatus p {
  color: #f1dde2;
  font-size: 12px;
}

.vipZeroStatus small {
  color: #caa9b1;
  font-size: 10px;
}

.vipZeroAction {
  min-height: 42px;
  padding: 10px 14px;
  color: #2c0710;
  background: #f2cc67;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.vipRail {
  display: flex;
  width: 100%;
  height: 176px;
  margin-top: 4px;
  padding: 0 calc(50% - 56px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.vipRail button {
  flex: 0 0 112px;
  height: 170px;
  display: grid;
  grid-template-rows: 94px 22px 7px 16px;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 0 5px;
  color: #e8c98b;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.vipRail button.active {
  color: #ffe68a;
}

.vipStageBadge {
  position: relative;
  width: 100%;
  height: 94px;
  display: grid;
  place-items: start center;
}

.vipStageBadge img {
  width: 72px;
  height: 72px;
  margin-top: 8px;
  object-fit: contain;
  opacity: .58;
  filter: saturate(.72);
}

.vipRail button.unlocked .vipStageBadge img {
  opacity: 1;
  filter: none;
}

.vipRail button.active .vipStageBadge img {
  width: 88px;
  height: 88px;
  margin-top: 0;
}

.vipStageBadge > i {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #f1c873;
  background: #7a1528;
  border-radius: 50%;
  font-size: 13px;
  font-style: normal;
}

.vipRail button > strong {
  width: 58px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #ead3b0;
  background: linear-gradient(90deg, #47101a, #2a0910);
  border: 1px solid #8b5c38;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 900;
}

.vipRail button.active > strong {
  color: #3a0710;
  background: linear-gradient(90deg, #ffe67d, #cc5d20);
}

.vipStageProgress {
  width: 100%;
  height: 7px;
  padding: 1px;
  overflow: hidden;
  background: #2a0710;
  border-radius: 8px;
}

.vipStageProgress > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f7dc72, #c78a22);
  border-radius: 8px;
}

.vipRail button.active .vipStageProgress > i {
  background: linear-gradient(90deg, #fff071, #f14735);
}

.vipRail button > em {
  align-self: start;
  color: #e8c98b;
  font-size: 9px;
  font-style: normal;
  line-height: 16px;
  white-space: nowrap;
}

.vipLevelGuide {
  position: relative;
  height: 26px;
  margin-top: 6px;
}

.vipLevelGuide > i {
  position: absolute;
  top: 12px;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a86b35, #f4d273, #a86b35, transparent);
  border-radius: 2px;
}

.vipLevelGuide > span {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 34px;
  height: 20px;
  display: grid;
  place-items: center;
  transform: translateX(calc(-50% + var(--level-offset) * 82px));
  color: #e4c98e;
  background: #3c0b14;
  border-radius: 14px;
  font-size: 9px;
  font-weight: 900;
  opacity: .82;
}

.vipLevelGuide > span.active {
  top: 1px;
  width: 42px;
  height: 24px;
  color: #3a0710;
  background: #f2cc67;
  font-size: 10px;
  opacity: 1;
}

.sectionLine {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 8px;
}

.sectionLine strong {
  color: var(--gold);
  font-size: 14px;
}

.sectionLine button {
  min-width: 0;
  padding: 5px 0;
  color: #d9a6b2;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.privilegeScroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.privilegeScroller article {
  position: relative;
  flex: 0 0 118px;
  min-height: 128px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  padding: 10px 7px;
  text-align: center;
  background: linear-gradient(180deg, #4b1018, #21070b);
  border: 1px solid #701d2a;
  border-radius: 8px;
}

.privilegeScroller.locked article {
  opacity: .62;
}

.privilegeScroller.locked article::before {
  content: "\1F512";
  position: absolute;
  top: 7px;
  right: 7px;
  color: var(--gold);
  font-size: 11px;
}

.privilegeScroller img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.privilegeScroller strong {
  font-size: 12px;
}

.privilegeScroller span {
  color: var(--gold);
  font-size: 10px;
}

.benefitList {
  display: grid;
  gap: 8px;
}

.benefitRow {
  min-height: 72px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #4b1018, #21070b);
  border: 1px solid #701d2a;
  border-radius: 8px;
}

.benefitRow img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.benefitRow > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.benefitRow strong {
  font-size: 13px;
}

.benefitRow span {
  color: #d8aeb7;
  font-size: 11px;
}

.benefitRow button {
  min-height: 34px;
  padding: 6px 11px;
  color: #5a250e;
  background: #f1c873;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.benefitRow button:disabled {
  color: #b68d68;
  background: #4b2730;
  cursor: not-allowed;
  opacity: .78;
}

.vipLevelButton {
  width: 100%;
  height: 58px;
  margin-top: 22px;
}

.inviteTabs {
  position: sticky;
  top: 50px;
  z-index: 19;
  height: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  background: linear-gradient(180deg, #180a0d, #2c1016, #110507);
  border-bottom: 1px solid #521925;
}

.inviteTabs button {
  height: 48px;
  padding: 0 3px;
  color: #fff;
  background: transparent;
  border-bottom: 3px solid transparent;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.inviteTabs button.active {
  color: var(--gold);
  border-bottom-color: #c40c2d;
  background: linear-gradient(180deg, rgba(196, 12, 45, .18), rgba(142, 11, 33, .36));
}

.invitePanel,
.supportCard {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  background: linear-gradient(180deg, #3c0b13, #190507);
  border: 1px solid #e0b750;
  border-radius: 8px;
}

.invitePanel h2,
.supportCard h2 {
  margin: 0;
  color: var(--gold);
  text-align: center;
  font-size: 20px;
}

.invitePanel > p {
  margin: 0;
  color: #e8dadd;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
}

.inviteAmount {
  color: var(--gold);
  text-align: center;
  font-size: 34px;
}

.referralPill {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--gold);
  background: #21070b;
  border: 1px solid #7a3340;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.inviteStats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.inviteStats > div {
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  background: linear-gradient(180deg, #4b1018, #21070b);
  border: 1px solid #701d2a;
  border-radius: 8px;
}

.inviteStats span {
  color: #e8dadd;
  font-size: 14px;
}

.inviteStats strong {
  color: var(--gold);
  font-size: 23px;
}

.winningBonusWallet {
  border-color: #f2cd61;
  background: linear-gradient(180deg, #4b1018, #1d070a);
}

.winningBonusHeading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.winningBonusHeading > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.winningBonusHeading h2 {
  text-align: left;
  font-size: 18px;
}

.winningBonusHeading span {
  color: #e8dadd;
  font-size: 11px;
}

.winningBonusHeading > b {
  flex: 0 0 auto;
  padding: 6px 8px;
  color: #3c1400;
  background: linear-gradient(180deg, #ffe292, #c68a1a);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .05em;
}

.winningBonusWallet .inviteAmount {
  color: #ffe39a;
  text-shadow: 0 2px 6px #8b0000;
}

.winningBonusStats {
  margin: 0;
}

.winningBonusStats > div {
  min-height: 82px;
}

.winningBonusStats span {
  font-size: 12px;
}

.winningBonusStats strong {
  font-size: 19px;
}

.winningBonusWallet .goldButton:disabled {
  cursor: not-allowed;
}

.winningBonusHistory {
  display: grid;
  gap: 8px;
}

.winningBonusHistory > strong {
  color: #f4d47b;
  font-size: 13px;
}

.winningBonusRow > b {
  min-width: 48px;
  text-align: center;
}

.referralReward > p:first-of-type {
  color: #f6c6cf;
  font-size: 18px;
}

.referralReward .inviteAmount {
  color: #ffe39a;
  text-shadow: 0 2px 6px #8b0000;
  font-size: 52px;
}

.shareRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shareRow button {
  height: 42px;
  color: #fff;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.shareRow .whatsapp {
  background: #128c7e;
}

.shareRow .telegram {
  background: #229ed9;
}

.referralReward > em {
  color: var(--gold);
  text-align: center;
  font-size: 14px;
  font-style: normal;
}

.cumulativeCard > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.cumulativeCard > div span {
  display: grid;
  place-items: center;
  gap: 3px;
  color: var(--gold);
  font-size: 11px;
}

.cumulativeCard > div b {
  font-size: 12px;
}

.rulesContent {
  padding-bottom: 12px;
}

.rulesContent h2 {
  margin: 18px 0 12px;
  font-size: 21px;
}

.rulesContent p {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 7px;
  margin: 9px 0;
  color: #e8dadd;
  font-size: 13px;
  line-height: 1.45;
}

.rulesContent p b {
  color: var(--gold);
}

.inviteSteps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 5px;
  padding: 12px 6px;
  background: #21070b;
  border-radius: 8px;
}

.inviteSteps span {
  display: grid;
  place-items: center;
  gap: 5px;
  color: #e8dadd;
  text-align: center;
  font-size: 10px;
}

.inviteSteps b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #5a250e;
  background: var(--gold);
  border-radius: 50%;
}

.inviteSteps i {
  color: var(--gold);
  font-size: 24px;
  font-style: normal;
}

.treeDiagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.treeDiagram > * {
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #6b1d2a;
  border-radius: 22px;
  font-size: 12px;
  font-style: normal;
}

.treeDiagram > b {
  grid-column: 1 / -1;
  justify-self: center;
  width: 82px;
  color: #5a250e;
  background: var(--gold);
}

.treeDiagram > span {
  grid-column: span 2;
}

.rulesTable {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #6e2632;
  border-radius: 6px;
}

.rulesTable > * {
  min-width: 0;
  padding: 8px 4px;
  overflow-wrap: anywhere;
  text-align: center;
  border-right: 1px solid #6e2632;
  border-bottom: 1px solid #6e2632;
  font-size: 9px;
}

.rulesTable strong {
  color: var(--gold);
  background: #4b1018;
}

.rulesTable span {
  color: #e8dadd;
  background: #21070b;
}

.teamMember {
  min-height: 49px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.teamMember > b {
  color: var(--gold);
  text-align: center;
  font-size: 12px;
}

.teamMember > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.teamMember > span {
  display: grid;
  color: #c7939f;
  text-align: right;
  font-size: 10px;
}

.teamMember em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.emptyText {
  margin: 0;
  color: #d8aeb7;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}

.missionList {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.missionList article {
  min-height: 72px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #4b1018, #21070b);
  border: 1px solid #701d2a;
  border-radius: 8px;
}

.missionList article > b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #38101a;
  border: 1px solid #7e4a57;
  border-radius: 50%;
}

.missionList article > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.missionList strong {
  font-size: 14px;
}

.missionList span {
  color: #d8aeb7;
  font-size: 11px;
}

.missionList button {
  height: 36px;
  color: #5a250e;
  background: var(--gold);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.scene-support > .infoPanel {
  margin-top: 12px;
}

.supportContactLinks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.supportContactLink {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 9px 10px;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.whatsappSupport {
  background: linear-gradient(135deg, #075e54, #128c7e);
  border: 1px solid #25d366;
}

.telegramSupport {
  background: linear-gradient(135deg, #176ca4, #229ed9);
  border: 1px solid #54bfea;
}

.whatsappSupport:focus-visible,
.telegramSupport:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .38);
  outline-offset: 2px;
}

.supportContactIcon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .13);
  border-radius: 50%;
}

.supportContactIcon svg {
  width: 27px;
  height: 27px;
  fill: #fff;
}

.supportContactText {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.supportContactText strong {
  font-size: 13px;
  line-height: 1.2;
}

.supportContactText small {
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Keeps the old JavaScript support link tidy while files are being deployed. */
.whatsappSupport:not(.supportContactLink) {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  margin-top: 12px;
  padding: 10px 13px;
  color: #fff;
  background: linear-gradient(135deg, #075e54, #128c7e);
  border: 1px solid #25d366;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.whatsappSupport:not(.supportContactLink) .whatsappSupportIcon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #25d366;
  border-radius: 50%;
}

.whatsappSupport:not(.supportContactLink) .whatsappSupportIcon svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsappSupport:not(.supportContactLink) .whatsappSupportText {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.whatsappSupport:not(.supportContactLink) .whatsappSupportText strong {
  font-size: 15px;
}

.whatsappSupport:not(.supportContactLink) .whatsappSupportText small {
  color: transparent;
  font-size: 0;
}

.whatsappSupport:not(.supportContactLink) .whatsappSupportText small::after {
  content: "@Sixfire_space";
  color: #d9ffe5;
  font-size: 12px;
}

.whatsappSupport:not(.supportContactLink) > b {
  padding: 7px 9px;
  color: #075e54;
  background: #fff;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
}

.supportCard {
  border-color: var(--soft-line);
  background: #17090d;
}

.supportCard h2 {
  color: #fff;
  text-align: left;
  font-size: 17px;
}

.cardHeading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cardHeading button {
  padding: 6px 10px;
  color: var(--gold);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ticketSummary {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #21070b;
  border-radius: 7px;
}

.ticketSummary span {
  color: #d8aeb7;
  font-size: 12px;
}

.supportThread {
  display: grid;
  gap: 8px;
}

.supportThread article {
  width: 86%;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #21070b;
  border: 1px solid #5d1e2d;
  border-radius: 8px;
}

.supportThread article.admin {
  justify-self: end;
  background: #4b1018;
  border-color: #e0b750;
}

.supportThread p {
  margin: 0;
  color: #e8dadd;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.4;
}

.bonusRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #21070b;
  border-radius: 8px;
}

.bonusRow > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.bonusRow strong {
  font-size: 13px;
}

.bonusRow span {
  color: #c9aeb4;
  font-size: 10px;
  line-height: 1.35;
}

.bonusRow > b {
  padding: 5px 8px;
  color: var(--gold);
  background: #4b1018;
  border-radius: 14px;
  font-size: 10px;
}

.notificationList {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.notificationList article {
  min-height: 82px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px;
  background: #17090d;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
}

.notificationList article > b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #38101a;
  border-radius: 50%;
}

.notificationList article > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.notificationList p {
  margin: 0;
  color: #d8aeb7;
  font-size: 12px;
  line-height: 1.4;
}

.notificationList span {
  color: #966d77;
  font-size: 10px;
}

.recordTabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #17090d;
  border-bottom: 1px solid #521925;
}

.recordTabs button {
  height: 48px;
  color: #d8aeb7;
  background: transparent;
  border-bottom: 3px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.recordTabs button.active {
  color: var(--gold);
  border-bottom-color: #c40c2d;
}

.recordBalance {
  min-height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: #5a301c;
  background: linear-gradient(90deg, #f4ca56, #b45b23);
}

.recordBalance strong {
  color: #5a250e;
  font-size: 26px;
}

.recordList {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.historyRow {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #17090d;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
}

.historyRow > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.historyRow > div:last-child {
  text-align: right;
}

.historyRow span {
  color: #a98b93;
  font-size: 10px;
}

.historyStatus {
  width: max-content;
  padding: 3px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.historyStatus.pending {
  color: #ffe08a;
  background: rgba(255, 224, 138, .08);
}

.historyStatus.approved {
  color: #7dff92;
  background: rgba(125, 255, 146, .08);
}

.historyStatus.rejected {
  color: #ff8395;
  background: rgba(255, 131, 149, .08);
}

.positive {
  color: #7dff92;
}

.negative {
  color: #ff8395;
}

.emptyProfile {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 24px;
  color: #fff;
  text-align: center;
}

.emptyProfile span {
  color: #a8b1c2;
  font-size: 12px;
  line-height: 1.45;
}

.giftRedeemCard {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  background: #25040a;
  border: 1px solid #a7374b;
  border-radius: 7px;
}

.giftRedeemCard h2 {
  margin: 0;
  font-size: 18px;
}

.bottomNav {
  position: fixed;
  left: 50%;
  bottom: -10px;
  z-index: 30;
  width: min(100%, 430px);
  height: calc(136px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr 92px 1fr 1fr;
  align-items: end;
  padding: 22px 22px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}

.bottomNav::before {
  content: "";
  position: absolute;
  inset: auto 8px 0;
  z-index: -1;
  height: 112px;
  background: url("assets/bottom_menu_bg.png") center bottom / 100% 100% no-repeat;
}

.navBtn {
  min-width: 0;
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0;
  color: #c07a8f;
  background: transparent;
  opacity: .55;
  font-size: 9px;
  font-weight: 900;
  pointer-events: auto;
  cursor: pointer;
}

.navBtn img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.navBtn.active {
  color: var(--gold);
  opacity: 1;
}

.navBtn:not(.centerNav) {
  transform: translateY(-12px);
}

.navBtn.centerNav {
  height: 108px;
  justify-content: flex-start;
  justify-self: center;
  transform: translateY(-6px);
  opacity: 1;
}

.navBtn.centerNav img {
  width: 72px;
  height: 72px;
}

.navBtn.centerNav span {
  color: var(--gold);
  font-size: 10px;
}

.menuOverlay,
.profileOverlay,
.modalOverlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: min(100%, 430px);
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  overscroll-behavior: none;
  background: rgba(0, 0, 0, .67);
}

.menuDrawer {
  width: 74%;
  height: 100%;
  padding: calc(18px + env(safe-area-inset-top)) 16px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(90deg, #341018, #260c12, #1c070b);
  box-shadow: 16px 0 32px rgba(0, 0, 0, .42);
  animation: drawerIn .16s ease-out;
}

@keyframes drawerIn {
  from { transform: translateX(-100%); }
}

.drawerProfile,
.profileHeader {
  width: 100%;
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 2px 0 18px;
  color: #fff;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.drawerProfile > img,
.profileHeader > img {
  width: 74px;
  height: 74px;
  padding: 3px;
  object-fit: cover;
  background: #2b0810;
  border: 2px solid #d9a93c;
  border-radius: 50%;
}

.drawerProfile > span,
.profileHeader > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.drawerProfile strong,
.profileHeader strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 19px;
}

.drawerProfile em,
.profileHeader em {
  color: #d2a7b2;
  font-size: 12px;
  font-style: normal;
}

.drawerProfile span b,
.profileHeader span b {
  color: var(--gold);
  font-size: 17px;
}

.drawerProfile i,
.profileHeader i,
.drawerItem > b,
.profileMenuRow > i {
  color: #a95a78;
  font-size: 28px;
  font-style: normal;
}

.drawerRule {
  height: 1px;
  margin-bottom: 8px;
  background: #3c1b22;
}

.drawerItem {
  width: 100%;
  min-height: 60px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  color: var(--pink);
  text-align: left;
  background: transparent;
  border-radius: 18px;
  cursor: pointer;
}

.drawerItem.active {
  color: var(--gold);
  background: #4a1320;
}

.drawerItem img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.drawerItem strong {
  font-size: 16px;
}

.drawerItem em {
  padding: 4px 7px;
  color: #ffe08a;
  background: #511524;
  border-radius: 14px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.profileDrawer {
  width: 310px;
  height: 100%;
  margin-left: auto;
  padding: calc(16px + env(safe-area-inset-top)) 18px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(90deg, #3a1119, #23080d, #180509);
  box-shadow: -16px 0 32px rgba(0, 0, 0, .42);
  animation: profileIn .16s ease-out;
}

@keyframes profileIn {
  from { transform: translateX(100%); }
}

.profileDrawer > h2 {
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--gold-bright);
  font-size: 20px;
}

.profileHeader {
  grid-template-columns: 70px minmax(0, 1fr) 22px;
  min-height: 86px;
  padding: 8px 0 4px;
}

.profileHeader > img {
  width: 66px;
  height: 66px;
}

.profileHeader strong {
  font-size: 16px;
}

.profileVip {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  margin: 12px 0 14px;
  padding: 8px;
  color: #6a3511;
  text-align: left;
  background: linear-gradient(90deg, #fff4ae, #edc260, #c98a29);
  border: 1px solid #ffe58b;
  border-radius: 8px;
  cursor: pointer;
}

.profileVip img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.profileVip > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.profileVip em {
  font-size: 9px;
  font-style: normal;
  line-height: 1.3;
}

.profileVip > b {
  font-size: 23px;
}

.profileMenuRow {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  color: #d65777;
  text-align: left;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  cursor: pointer;
}

.profileMenuRow > b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #38101a;
  border: 1px solid #7e4a57;
  border-radius: 50%;
  font-size: 13px;
}

.profileMenuRow strong {
  font-size: 14px;
}

.profileMenuRow.danger {
  color: #ff8ea3;
}

.profileDeposit {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  color: var(--gold);
  background: linear-gradient(90deg, #681b27, #4a111a);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.modalOverlay {
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 0, 10, .82);
}

.appModal {
  width: 100%;
  max-height: calc(100dvh - 36px);
  padding: 12px 14px 18px;
  overflow-y: auto;
  background: linear-gradient(180deg, #6a1722, #2a0710);
  border: 1px solid #e0b750;
  border-radius: 7px;
}

.withdrawalConfirmation {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px 18px 18px;
  text-align: center;
}

.withdrawalConfirmationIcon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #4a1d00;
  background: linear-gradient(180deg, #fff2a3, #e4a323);
  border: 1px solid #ffd95a;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .36);
  font-size: 30px;
  font-weight: 900;
}

.withdrawalConfirmation h2,
.withdrawalConfirmation p {
  margin: 0;
}

.withdrawalConfirmation h2 {
  color: #fff;
  font-size: 20px;
}

.withdrawalConfirmation p {
  color: #f1cfa2;
  font-size: 14px;
  line-height: 1.5;
}

.giftClaimResult {
  width: min(100%, 360px);
  padding: 24px 18px 18px;
}

.giftClaimResult p {
  width: 100%;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.giftClaimResult.success .giftClaimResultIcon {
  color: #062b18;
  background: linear-gradient(180deg, #8ff0b7, #2fc979);
  border-color: #aaf7c9;
}

.giftClaimAmount {
  color: #ffe47c;
  font-size: 28px;
  line-height: 1;
}

.giftClaimActions {
  width: 100%;
}

.modalTitle {
  height: 36px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  color: var(--gold-bright);
  text-align: center;
}

.modalTitle strong {
  grid-column: 2;
}

.modalTitle button {
  grid-column: 3;
  color: var(--gold-bright);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.avatarPicker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.avatarPicker label {
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
}

.avatarPicker input {
  position: absolute;
  opacity: 0;
}

.avatarPicker img {
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: cover;
  background: #2b0810;
  border: 2px solid #7e4a57;
  border-radius: 50%;
}

.avatarPicker input:checked + img {
  border: 3px solid #ffe36f;
}

.modalNote {
  margin: 0;
  color: #f0b0b8;
  font-size: 11px;
  line-height: 1.45;
}

.nativeControlModal {
  display: grid;
  gap: 12px;
  padding-bottom: 48px;
}

.securityRow,
.settingRow {
  width: 100%;
  min-height: 60px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #fff;
  text-align: left;
  background: linear-gradient(90deg, #7b1d2c, #661624);
  border-radius: 7px;
}

button.securityRow,
button.settingRow {
  cursor: pointer;
}

.securityRow > b,
.settingRow > b {
  font-size: 21px;
  text-align: center;
}

.securityRow > strong,
.settingRow > strong {
  font-size: 15px;
}

.securityRow > span,
.settingRow > span {
  color: #fff;
  font-size: 13px;
}

.securityRow > i {
  color: var(--pink);
  font-size: 28px;
  font-style: normal;
}

.staticRow {
  margin-bottom: 2px;
}

.switch {
  position: relative;
  width: 52px;
  height: 30px;
  padding: 3px;
  background: #5b2732;
  border-radius: 30px;
}

.switch i {
  width: 24px;
  height: 24px;
  display: block;
  background: #fff;
  border-radius: 50%;
  transition: transform .16s ease;
}

.switch.on {
  background: #e23858;
}

.switch.on i {
  transform: translateX(22px);
}

.languageSetting {
  align-items: start;
}

.languageSetting > b,
.languageSetting > strong {
  padding-top: 8px;
}

.languageOptions {
  display: grid;
  gap: 5px;
  min-width: 104px;
  padding: 4px;
  background: #53101c;
  border-radius: 7px;
}

.languageOptions button {
  min-height: 32px;
  padding: 4px 8px;
  color: #eac9cf;
  text-align: left;
  background: transparent;
  border-radius: 5px;
  cursor: pointer;
}

.languageOptions button.active {
  color: #3b1906;
  background: var(--gold);
  font-weight: 900;
}

.gameScene {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  background: #000;
}

.gameScene iframe {
  width: 100%;
  height: 100dvh;
  display: block;
  background: #000;
  border: 0;
}

.gameControlDock {
  position: fixed;
  right: max(10px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 105;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  touch-action: none;
  user-select: none;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .42);
  cursor: grab;
  transition:
    width 180ms cubic-bezier(.2, .8, .3, 1),
    height 180ms cubic-bezier(.2, .8, .3, 1),
    padding 180ms ease,
    border-radius 180ms ease;
}

.gameControlDock.expanded {
  width: auto;
  height: 54px;
  justify-content: flex-start;
  gap: 5px;
  padding: 4px;
  background:
    linear-gradient(#0d0507, #050102) padding-box,
    linear-gradient(135deg, #fff0a0, #a9650c 38%, #5f2305 68%, #f2c34e) border-box;
  border: 1px solid transparent;
  border-radius: 27px;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, .58),
    0 0 0 1px rgba(255, 226, 121, .14) inset,
    0 5px 15px rgba(241, 173, 43, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gameControlDock[data-game-orientation="portrait"].expanded {
  width: 116px;
  height: auto;
  flex-direction: column;
}

.gameControlDock.dragging {
  cursor: grabbing;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, .68),
    0 0 0 1px rgba(255, 238, 164, .28) inset,
    0 7px 22px rgba(241, 173, 43, .2);
}

.gameControlDock.snapping {
  transition: left 180ms cubic-bezier(.2, .8, .3, 1), top 180ms cubic-bezier(.2, .8, .3, 1);
}

.gameDockLauncher {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, #3b0c13, #080203) padding-box,
    linear-gradient(135deg, #fff2a7, #d58b13 38%, #6a2906 70%, #ffd86b) border-box;
  border: 2px solid transparent;
  border-radius: 50%;
  box-shadow:
    0 7px 18px rgba(0, 0, 0, .52),
    0 0 16px rgba(241, 173, 43, .16);
  cursor: grab;
}

.gameDockLauncher img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .55));
}

.gameControlDock.expanded .gameDockLauncher {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  padding: 6px;
  border-width: 1px;
}

.gameDockActions {
  display: none;
  align-items: center;
  gap: 5px;
}

.gameControlDock.expanded .gameDockActions {
  display: flex;
}

.gameControlDock[data-game-orientation="portrait"] .gameDockActions {
  flex-direction: column;
}

.gameDockActions button {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid #b05a70;
  border-radius: 20px;
  background: linear-gradient(#8e1730, #4d0918);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

.gameDockActions button b {
  font-size: 17px;
  line-height: 1;
}

.gameDockActions .gameDockDeposit {
  min-width: 104px;
  color: #321503;
  border-color: #fff2ad;
  background: linear-gradient(#fff09b, #e9a928);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, .3),
    0 1px 0 rgba(255, 255, 255, .42) inset;
}

@media (orientation: portrait) {
  .gameControlDock.expanded .gameDockLauncher {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .gameDockActions button {
    width: 106px;
    min-width: 106px;
  }
}

@media (max-width: 430px) and (orientation: landscape) {
  .gameDockActions button {
    height: 38px;
    padding-inline: 12px;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(122px + env(safe-area-inset-bottom));
  z-index: 120;
  width: min(calc(100% - 28px), 390px);
  transform: translateX(-50%);
  padding: 11px 14px;
  color: #fff;
  text-align: center;
  background: rgba(18, 2, 6, .96);
  border: 1px solid #e0b750;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .46);
  font-size: 13px;
}

.toast[hidden] {
  display: none;
}

.authApp {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% 8%, rgba(158, 24, 48, .52), transparent 30%),
    linear-gradient(180deg, #180207, #050001);
}

.authShell {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px 18px;
}

.authArtwork {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.authParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  mix-blend-mode: screen;
}

.authMark {
  position: relative;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.authWord {
  position: relative;
  width: 220px;
  height: 60px;
  object-fit: contain;
}

.authCard {
  padding: 16px;
  background: linear-gradient(180deg, #3a0a12, #120305);
  border: 1px solid #e0b750;
  border-radius: 8px;
}

.authSupportContacts {
  margin-top: 14px;
}

.authModes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #17090d;
}

.authModes button {
  height: 44px;
  color: #d8aeb7;
  background: transparent;
  border-bottom: 3px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.authModes button.active {
  color: var(--gold);
  border-bottom-color: #c40c2d;
}

/* Native motion timing mirrors AppCcActivity. */
button,
[data-action] {
  -webkit-tap-highlight-color: transparent;
  transform-origin: center;
}

button:active {
  opacity: .92;
}

.scene > * {
  animation: nativeSceneIn 260ms cubic-bezier(.16, .84, .3, 1) both;
}

.scene > :nth-child(2) {
  animation-delay: 35ms;
}

.scene > :nth-child(3) {
  animation-delay: 70ms;
}

.scene > :nth-child(n + 4) {
  animation-delay: 100ms;
}

@keyframes nativeSceneIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.titleBar {
  animation: nativeHeaderIn 220ms cubic-bezier(.16, .84, .3, 1) both;
}

@keyframes nativeHeaderIn {
  from {
    opacity: .4;
    transform: translateY(-8px);
  }
}

.brandMark img {
  animation: homeBrandLoop 10s cubic-bezier(.12, .78, .25, 1) infinite;
}

@keyframes homeBrandLoop {
  0% {
    opacity: 0;
    transform: translateY(-18px) rotate(-320deg) scale(.62);
  }
  6.5% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

.balancePill,
.giftChip,
.profileChip {
  animation: nativeHeaderControlIn 420ms cubic-bezier(.16, .84, .3, 1) both;
}

.giftChip {
  animation-delay: 70ms;
}

.profileChip {
  animation-delay: 120ms;
}

@keyframes nativeHeaderControlIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(.94);
  }
}

.homeHero img {
  will-change: opacity, transform;
}

.featuredGame {
  animation: featuredCardIn 220ms cubic-bezier(.16, .84, .3, 1) both;
}

.featuredGame:nth-child(2) {
  animation-delay: 70ms;
}

.featuredGame:nth-child(3) {
  animation-delay: 140ms;
}

@keyframes featuredCardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.97);
  }
}

.brandCard,
.gameCard {
  animation: catalogCardIn 260ms cubic-bezier(.16, .84, .3, 1) both;
}

.brandCard:nth-child(2n),
.gameCard:nth-child(2n) {
  animation-delay: 55ms;
}

.brandCard:nth-child(3n),
.gameCard:nth-child(3n) {
  animation-delay: 100ms;
}

@keyframes catalogCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.94);
  }
}

.brandCard img,
.gameCard img,
.featuredGame > img {
  animation: assetReveal 240ms ease-out both;
}

@keyframes assetReveal {
  from {
    opacity: 0;
    transform: scale(.96);
  }
}

.scene-rank .jackpotPanel {
  animation: rankJackpotIn 360ms cubic-bezier(.18, .78, .3, 1) both;
}

@keyframes rankJackpotIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }
}

.jackpotReel span {
  transform-origin: center;
  animation: jackpotDigitIn 280ms cubic-bezier(.12, .82, .25, 1) both;
  animation-delay: calc(var(--digit-index) * 65ms);
  backface-visibility: hidden;
}

@keyframes jackpotDigitIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scaleY(.65);
  }
}

.rankActionStrip {
  animation: rankStripIn 260ms ease-out 90ms both;
}

@keyframes rankStripIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
}

.rankTopStage {
  position: relative;
  min-height: 246px;
  animation: rankStageIn 420ms cubic-bezier(.18, .78, .3, 1) 100ms both;
}

@keyframes rankStageIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.95);
  }
}

.rankTopStage .rankPodium,
.rankTopRows {
  position: absolute;
  inset: 0;
}

.rankTopStage .rankPodium {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 320ms ease-in-out,
    transform 320ms ease-in-out,
    visibility 0s linear 0s;
}

.podiumCard {
  animation: podiumCardIn 320ms ease-out both;
  animation-delay: calc(var(--podium-index) * 120ms);
}

.podiumCard.rank1 {
  animation-duration: 420ms;
}

@keyframes podiumCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.92);
  }
}

.rankTopRows {
  min-height: 246px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  padding: 6px 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transition:
    opacity 280ms ease-in-out,
    transform 280ms ease-in-out,
    visibility 0s linear 280ms;
}

.rankTopStage.showRows .rankPodium {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-14px) scale(.96);
  transition:
    opacity 320ms ease-in-out,
    transform 320ms ease-in-out,
    visibility 0s linear 320ms;
}

.rankTopStage.showRows .rankTopRows {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 360ms cubic-bezier(.16, .84, .3, 1),
    transform 360ms cubic-bezier(.16, .84, .3, 1),
    visibility 0s linear 0s;
}

.rankTopRow {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 46px minmax(0, 1fr) minmax(58px, auto);
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 8px;
  overflow: hidden;
  background: linear-gradient(90deg, #713023, #31090e);
  border: 1px solid #d88968;
  border-radius: 8px;
}

.rankTopRow.rank1 {
  background: linear-gradient(90deg, #815414, #3a0b10);
  border-color: #f1c75b;
}

.rankTopRow.rank2 {
  background: linear-gradient(90deg, #233e70, #240910);
  border-color: #8da9e8;
}

.rankTopStage.showRows .rankTopRow {
  animation: rankTopRowIn 360ms cubic-bezier(.16, .84, .3, 1) both;
  animation-delay: calc(var(--top-index) * 110ms);
}

@keyframes rankTopRowIn {
  from {
    opacity: 0;
    transform: translateX(var(--row-start, -28px));
  }
}

.rankTopRow:nth-child(even) {
  --row-start: 28px;
}

.rankCrown {
  position: relative;
  color: var(--gold);
  text-align: center;
  font-size: 25px;
}

.rankCrown small {
  position: absolute;
  inset: auto 0 2px;
  color: #fff;
  font-size: 9px;
}

.rankTopRow > img {
  width: 46px;
  height: 46px;
  padding: 2px;
  object-fit: cover;
  background: #160307;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.rankTopRow > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.rankTopRow > div > * {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rankTopRow > div strong {
  font-size: 12px;
}

.rankTopRow > div span {
  color: #f1c873;
  font-size: 10px;
}

.rankTopRow > em {
  overflow: hidden;
  color: #ffe285;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.rankRow {
  animation: rankRowIn 260ms ease-out both;
  animation-delay: calc(var(--rank-index) * 90ms);
}

@keyframes rankRowIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.walletHero,
.balanceSummary {
  animation: walletCardIn 260ms cubic-bezier(.14, .82, .28, 1) both;
}

.moneyPanel {
  animation: walletPanelIn 260ms cubic-bezier(.14, .82, .28, 1) 70ms both;
}

@keyframes walletCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }
}

@keyframes walletPanelIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

.walletTip {
  animation: walletTipIn 260ms ease-out 90ms both;
}

.walletTip + .walletTip {
  animation-delay: 160ms;
}

@keyframes walletTipIn {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
}

.walletActions .walletAction:first-child {
  animation: walletActionIn 260ms cubic-bezier(.16, .84, .3, 1) 180ms both;
}

.walletActions .walletAction:last-child {
  animation: walletActionIn 260ms cubic-bezier(.16, .84, .3, 1) 250ms both;
}

@keyframes walletActionIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.94);
  }
}

.amountGrid button {
  animation: amountChipIn 220ms cubic-bezier(.16, .84, .3, 1) both;
}

.amountGrid button:nth-child(2n) {
  animation-delay: 45ms;
}

.amountGrid button:nth-child(3n) {
  animation-delay: 90ms;
}

@keyframes amountChipIn {
  from {
    opacity: 0;
    transform: scale(.9);
  }
}

.vipHero {
  animation: vipHeroIn 260ms cubic-bezier(.16, .84, .3, 1) both;
}

@keyframes vipHeroIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.96);
  }
}

.vipRail {
  scroll-behavior: smooth;
  perspective: 900px;
}

.vipRail button {
  transform-style: preserve-3d;
  transform-origin: center;
  transition: opacity 100ms linear;
  will-change: transform, opacity;
}

.vipRail button.active img {
  animation: vipBadgePulse 1250ms ease-in-out infinite alternate;
}

@keyframes vipBadgePulse {
  to {
    transform: translateY(-3px) scale(1.055);
    filter: brightness(1.08);
  }
}

.privilegeScroller article {
  animation: privilegeIn 220ms cubic-bezier(.16, .84, .3, 1) both;
  animation-delay: calc(var(--privilege-index) * 55ms);
}

@keyframes privilegeIn {
  from {
    opacity: 0;
    transform: translateX(18px) scale(.94);
  }
}

.benefitRow {
  animation: benefitIn 220ms cubic-bezier(.16, .84, .3, 1) both;
}

.benefitRow:nth-child(2) {
  animation-delay: 80ms;
}

@keyframes benefitIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }
}

.referralReward .inviteAmount {
  animation: rewardAmountIn 420ms cubic-bezier(.16, .84, .3, 1) 120ms both;
}

@keyframes rewardAmountIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.82);
  }
}

.treeDiagram > * {
  animation: treeNodeIn 260ms cubic-bezier(.16, .84, .3, 1) both;
}

.treeDiagram > :nth-child(2),
.treeDiagram > :nth-child(3) {
  animation-delay: 70ms;
}

.treeDiagram > :nth-child(n + 4) {
  animation-delay: 140ms;
}

@keyframes treeNodeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.9);
  }
}

.notificationList article,
.historyRow,
.missionList article,
.teamMember {
  animation: listRowIn 260ms cubic-bezier(.16, .84, .3, 1) both;
}

.notificationList article:nth-child(2n),
.historyRow:nth-child(2n),
.missionList article:nth-child(2n),
.teamMember:nth-child(2n) {
  animation-delay: 80ms;
}

@keyframes listRowIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.navBtn.active:not(.centerNav) {
  animation: dockSelect 400ms ease-in-out both;
}

@keyframes dockSelect {
  0%,
  100% {
    transform: translateY(-12px) scale(1);
  }
  55% {
    transform: translateY(-12px) scale(1.08);
  }
}

.navBtn.centerNav {
  animation: dockCenterNudge 640ms ease-in-out both;
}

@keyframes dockCenterNudge {
  0%,
  100% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(-9px);
  }
}

.menuOverlay,
.profileOverlay {
  animation: overlayFadeIn 90ms linear both;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
}

.menuDrawer {
  animation: nativeDrawerIn 155ms cubic-bezier(.16, .84, .3, 1) both;
}

@keyframes nativeDrawerIn {
  from {
    transform: translateX(-100%);
  }
}

.profileDrawer {
  animation: nativeProfileIn 160ms cubic-bezier(.16, .84, .3, 1) both;
}

@keyframes nativeProfileIn {
  from {
    transform: translateX(100%);
  }
}

.menuOverlay.closing,
.profileOverlay.closing {
  animation: overlayFadeOut 120ms linear both;
}

.menuOverlay.closing .menuDrawer {
  animation: nativeDrawerOut 120ms ease-out both;
}

.profileOverlay.closing .profileDrawer {
  animation: nativeProfileOut 120ms ease-out both;
}

@keyframes overlayFadeOut {
  to {
    opacity: 0;
  }
}

@keyframes nativeDrawerOut {
  to {
    transform: translateX(-100%);
  }
}

@keyframes nativeProfileOut {
  to {
    transform: translateX(100%);
  }
}

.walletDropdownDismiss {
  position: fixed;
  inset: 0;
  z-index: 44;
  width: min(100%, 430px);
  height: 100dvh;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.walletDropdown {
  position: fixed;
  left: 50%;
  top: 51px;
  z-index: 46;
  width: 206px;
  min-height: 132px;
  transform-origin: top center;
  animation: walletDropdownIn 150ms cubic-bezier(.12, .82, .22, 1) both;
}

@keyframes walletDropdownIn {
  from {
    opacity: 0;
    transform: translate(-50%, -4px) scaleY(.88);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scaleY(1);
  }
}

.walletDropdown.closing {
  animation: walletDropdownOut 120ms ease-in both;
}

@keyframes walletDropdownOut {
  from {
    opacity: 1;
    transform: translate(-50%, 0) scaleY(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -4px) scaleY(.88);
  }
}

.walletDropdown > i {
  position: absolute;
  left: calc(50% - 8px);
  top: 2px;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  background: #4a111d;
  border: 1px solid #b64a61;
}

.walletDropdown > div {
  position: relative;
  margin-top: 8px;
  padding: 8px 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #4a111d, #26070e, #120508);
  border: 1px solid #b64a61;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .48);
}

.walletDropdown button {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  padding: 8px;
  color: #fff;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.walletDropdown button + button {
  border-top: 1px solid #5e2630;
}

.walletDropdown button b {
  color: var(--gold);
  text-align: center;
  font-size: 23px;
}

.walletDropdown button strong {
  font-size: 14px;
}

.walletDropdown button span {
  color: #d7b783;
  font-size: 23px;
}

.modalOverlay,
.startupOverlay {
  animation: modalOverlayIn 160ms linear both;
}

@keyframes modalOverlayIn {
  from {
    opacity: 0;
  }
}

.appModal {
  animation: nativeModalIn 260ms cubic-bezier(.12, .82, .22, 1) both;
}

@keyframes nativeModalIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.96);
  }
}

.modalOverlay.closing,
.startupOverlay.closing {
  animation: modalOverlayOut 150ms linear both;
}

.modalOverlay.closing .appModal,
.startupOverlay.closing .startupCard {
  animation: nativeModalOut 150ms ease-in both;
}

@keyframes modalOverlayOut {
  to {
    opacity: 0;
  }
}

@keyframes nativeModalOut {
  to {
    opacity: 0;
    transform: translateY(14px) scale(.97);
  }
}

.startupOverlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: min(100%, 430px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, .8);
}

.startupCard {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #7e1425, #36070d, #140205);
  border: 1px solid #e4b34e;
  border-radius: 8px;
  animation: startupCardIn 260ms cubic-bezier(.16, .84, .3, 1) both;
}

@keyframes startupCardIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

.startupCard header {
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  padding: 4px 4px 4px 14px;
}

.startupCard header strong {
  overflow: hidden;
  color: #ffd870;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.startupCard header button {
  height: 42px;
  color: #ffd870;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.startupBanner {
  width: 100%;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  color: #ffd870;
  background: #120305;
  border-radius: 0;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.startupBanner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 130px);
  object-fit: contain;
  animation: assetReveal 240ms ease-out both;
}

.gameLaunchOverlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  width: min(100%, 430px);
  height: 100dvh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(8, 0, 2, .78), rgba(8, 0, 2, .86)),
    url("assets/apk_hero_particles.jpg") center / cover;
}

.gameLaunchOverlay > div {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 28px;
  color: #f1cfa2;
}

.gameLaunchOverlay > div > span {
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  padding: 2px;
  background: linear-gradient(180deg, #240609, #050101);
  border: 1px solid #d8a540;
  border-radius: 38px;
  animation: splashLogoIn 900ms cubic-bezier(.12, .82, .22, 1) both;
}

.gameLaunchOverlay > div > span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: splashPulse 1350ms ease-in-out 220ms infinite;
}

.gameLaunchOverlay > div > img {
  width: 260px;
  height: 86px;
  object-fit: contain;
  animation: splashWordIn 720ms cubic-bezier(.12, .82, .22, 1) 260ms both;
}

.gameLaunchOverlay strong {
  font-size: 14px;
}

.gameLaunchOverlay i {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 216, 112, .24);
  border-top-color: #ffd870;
  border-radius: 50%;
  animation: loadingSpin 750ms linear infinite;
}

@keyframes splashLogoIn {
  0% {
    opacity: 0;
    transform: rotate(-16deg) scale(.88);
  }
  58% {
    opacity: 1;
    transform: rotate(8deg) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes splashPulse {
  0%,
  100% {
    opacity: .86;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.07);
  }
}

@keyframes splashWordIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes loadingSpin {
  to {
    transform: rotate(360deg);
  }
}

.toast:not([hidden]) {
  animation: toastIn 220ms cubic-bezier(.16, .84, .3, 1) both;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 12px) scale(.96);
  }
}

.authMark {
  animation:
    authLogoIn 900ms cubic-bezier(.12, .82, .22, 1) both,
    splashPulse 1350ms ease-in-out 900ms infinite;
}

@keyframes authLogoIn {
  0% {
    opacity: 0;
    transform: rotate(-16deg) scale(.88);
  }
  58% {
    opacity: 1;
    transform: rotate(8deg) scale(1.08);
  }
}

.authWord {
  animation: splashWordIn 720ms cubic-bezier(.12, .82, .22, 1) 260ms both;
}

.authCard {
  animation: authCardIn 260ms cubic-bezier(.16, .84, .3, 1) 240ms both;
}

@keyframes authCardIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 380px) {
  .topBar {
    grid-template-columns: 40px minmax(130px, 1fr) 112px;
    padding-inline: 12px;
  }

  .profileChip {
    width: 76px;
    grid-template-columns: 35px minmax(18px, 1fr) 14px;
  }

  .profileChip img {
    width: 35px;
    height: 35px;
  }

  .giftChip {
    flex-basis: 30px;
    width: 30px;
  }

  .vipZeroMetrics {
    grid-template-columns: 1fr;
  }

  .featuredGame {
    grid-template-columns: 74px minmax(0, 1fr) 40px;
    padding-inline: 12px;
  }

  .featuredGame > img {
    width: 74px;
  }

  .amountGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jackpotReel {
    grid-template-columns: 28px repeat(9, minmax(0, 1fr));
    padding-inline: 10px;
  }

  .jackpotReel span {
    font-size: 21px;
  }

  .bottomNav {
    grid-template-columns: 1fr 1fr 78px 1fr 1fr;
    padding-inline: 14px;
  }
}
