/* Jade Imperial: acabamentos (complementa ssss/jade-theme.css).
   Direção: jade profundo + ouro; bordô só como acento (banners, "ao vivo"); textura guilloché (gravura de cédula).
   Seletores por prefixo de classe ([class*="_nome_"]) para sobreviver a mudanças de hash.
   Todo movimento fica dentro de prefers-reduced-motion: no-preference. */

html[theme=burgundyRed][data-vegas] {
  --jd-abyss: #03100c;
  --jd-night: #062018;
  --jd-surface: #0a2e24;
  --jd-raised: #0f3a2e;
  --jd-line: #1a4a3b;
  --jd-emerald: #0a8a62;
  --jd-jade: #35d6a4;
  --jd-gold: #f1c25a;
  --jd-gold-hi: #ffe3a0;
  --jd-gold-lo: #b8862b;
  --jd-ivory: #f3ecd6;
  --jd-muted: rgba(243, 236, 214, .64);
  --jd-oxblood: #7a1230;
  --jd-gold-fill: linear-gradient(180deg, #ffe7a8 0%, #f1c25a 46%, #c8932f 100%);
  --jd-ui: 'Manrope', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --jd-display: 'Bodoni Moda', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --jd-ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
  background-color: var(--jd-abyss);
  background-image:
    radial-gradient(70% 45% at 50% 0%, rgba(30, 170, 122, .16), transparent 72%),
    url(/ssss/guilloche.svg);
  background-size: auto, 170px 170px;
  background-repeat: no-repeat, repeat;
}

/* ---------- base ---------- */
html[theme=burgundyRed][data-vegas] body,
html[theme=burgundyRed][data-vegas] #root {
  background: transparent;
}
html[theme=burgundyRed][data-vegas] body {
  font-family: var(--jd-ui);
  color: var(--jd-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[theme=burgundyRed][data-vegas] ::selection {
  background: rgba(241, 194, 90, .35);
  color: #fff;
}
html[theme=burgundyRed][data-vegas] :focus-visible {
  outline: 2px solid var(--jd-gold);
  outline-offset: 2px;
}
html[theme=burgundyRed][data-vegas] ::-webkit-scrollbar-thumb {
  background: rgba(241, 194, 90, .4);
  border-radius: 6px;
}

/* coluna do app: jade com luz no topo, brasa bordô embaixo e guilloché */
html[theme=burgundyRed][data-vegas] [class*="_h5PageContentBox_"] {
  background-color: var(--jd-night);
  background-image:
    radial-gradient(120% 46% at 50% -6%, rgba(30, 170, 122, .22), transparent 64%),
    radial-gradient(100% 34% at 50% 104%, rgba(122, 18, 48, .30), transparent 70%),
    url(/ssss/guilloche.svg);
  background-size: auto, auto, 170px 170px;
  background-repeat: no-repeat, no-repeat, repeat;
}
@media (min-width: 600px) {
  html[theme=burgundyRed][data-vegas] [class*="_h5PageContentBox_"] {
    box-shadow: 0 0 0 1px rgba(241, 194, 90, .16), 0 0 80px rgba(0, 0, 0, .65);
  }
}

/* ---------- cabeçalho ---------- */
html[theme=burgundyRed][data-vegas] [class*="_headerBox_"]:not([class*="_headerBox_search_"]) {
  background: linear-gradient(180deg, rgba(3, 16, 12, .96), rgba(6, 32, 24, .9));
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(241, 194, 90, .65) 28%, rgba(241, 194, 90, .65) 72%, transparent) 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
}
html[theme=burgundyRed][data-vegas] [class*="_rightBox_15jvu_"] {
  top: 0;
  height: 49px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* a cadeia repete a do tema (._headerBox_ ._rightBox_ ._xBtn_) para empatar a especificidade */
html[theme=burgundyRed][data-vegas] [class*="_headerBox_"] [class*="_rightBox_"] [class*="_loginBtn_"],
html[theme=burgundyRed][data-vegas] [class*="_headerBox_"] [class*="_rightBox_"] [class*="_registerBtn_"] {
  box-sizing: border-box;
  height: 32px;
  min-width: 66px;
  width: auto;
  margin: 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: var(--jd-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  transition: transform .18s var(--jd-ease), filter .18s var(--jd-ease);
}
html[theme=burgundyRed][data-vegas] [class*="_headerBox_"] [class*="_rightBox_"] [class*="_loginBtn_"] {
  background: rgba(243, 236, 214, .06);
  color: var(--jd-ivory);
  border: 1px solid rgba(241, 194, 90, .4);
  box-shadow: none;
}
html[theme=burgundyRed][data-vegas] [class*="_headerBox_"] [class*="_rightBox_"] [class*="_registerBtn_"] {
  background: var(--jd-gold-fill);
  color: #2b1d05;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 6px 16px rgba(241, 194, 90, .3);
}
html[theme=burgundyRed][data-vegas] [class*="_headerBox_"] [class*="_rightBox_"] :is([class*="_loginBtn_"], [class*="_registerBtn_"]):active {
  transform: scale(.96);
}

/* ---------- banners e aviso ---------- */
html[theme=burgundyRed][data-vegas] [class*="_carouselBox_"] {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55));
}
html[theme=burgundyRed][data-vegas] [class*="_carouselBox_"] img {
  border-radius: 14px;
}
html[theme=burgundyRed][data-vegas] [class*="_noticeBox_"] {
  background: linear-gradient(90deg, rgba(241, 194, 90, .10), rgba(241, 194, 90, .02) 70%, transparent);
  border-top: 1px solid rgba(241, 194, 90, .10);
  border-bottom: 1px solid rgba(241, 194, 90, .10);
}

/* ---------- abas de categoria ---------- */
html[theme=burgundyRed][data-vegas] [class*="_tabItemBox_"] {
  opacity: .78;
  transition: transform .2s var(--jd-ease), opacity .2s var(--jd-ease);
}
html[theme=burgundyRed][data-vegas] [class*="_tabItemBox_"][class*="_select_"] {
  opacity: 1;
}
html[theme=burgundyRed][data-vegas] [class*="_tabItemBox_"] span {
  font-family: var(--jd-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}
html[theme=burgundyRed][data-vegas] [class*="_tabItemBox_"][class*="_select_"] span {
  color: var(--jd-gold-hi);
  text-shadow: 0 0 14px rgba(241, 194, 90, .55);
}
html[theme=burgundyRed][data-vegas] [class*="_tabItemBox_"]:active {
  transform: scale(.94);
}

/* ---------- jackpot: assinatura (raios de ouro, brilho e dígitos dourados) ---------- */
html[theme=burgundyRed][data-vegas] [class*="_pot_container_"] {
  isolation: isolate;
  filter: drop-shadow(0 8px 22px rgba(241, 194, 90, .30));
}
html[theme=burgundyRed][data-vegas] [class*="_pot_container_"]::before {
  content: "";
  position: absolute;
  inset: -34px -22px;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(241, 194, 90, .22) 0deg 3deg, transparent 3deg 15deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  opacity: .8;
  pointer-events: none;
}
html[theme=burgundyRed][data-vegas] [class*="_numsBox_"] {
  filter: sepia(1) saturate(3.4) hue-rotate(-14deg) brightness(1.12) drop-shadow(0 0 5px rgba(241, 194, 90, .55));
}
@media (prefers-reduced-motion: no-preference) {
  html[theme=burgundyRed][data-vegas] [class*="_pot_container_"]::before {
    animation: jd-rays 60s linear infinite;
  }
  @keyframes jd-rays {
    to { transform: rotate(360deg); }
  }
}

/* ---------- título de seção ---------- */
html[theme=burgundyRed][data-vegas] [class*="_topBarBox_"] [class*="_leftBox_"] span {
  font-family: var(--jd-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .005em;
  color: var(--jd-gold-hi);
}

/* ---------- cards de jogo ---------- */
html[theme=burgundyRed][data-vegas] [class*="_logoBox_18nth_"] {
  border-radius: 16px;
  overflow: hidden;
  outline: 0;
  background: #06231b;
  box-shadow: 0 0 0 1px rgba(241, 194, 90, .30), 0 12px 24px -8px rgba(0, 0, 0, .65);
  transition: transform .2s var(--jd-ease), box-shadow .2s var(--jd-ease);
}
html[theme=burgundyRed][data-vegas] [class*="_logoBox_18nth_"]:active {
  transform: scale(.97);
  box-shadow: 0 0 0 1px rgba(241, 194, 90, .6), 0 6px 14px -6px rgba(0, 0, 0, .7);
}
html[theme=burgundyRed][data-vegas] [class*="_gameBox_s_18nth_"] {
  box-sizing: border-box;
  left: 0;
  right: 0;
  height: 50px;
  padding: 0 6px 7px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(0deg, rgba(2, 12, 9, .95), rgba(2, 12, 9, .55) 60%, transparent);
  font-family: var(--jd-ui);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .85);
}
html[theme=burgundyRed][data-vegas] [class*="_game_list_item_hots_"] {
  background-color: rgba(3, 16, 12, .55);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 68%;
  border-radius: 50%;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- barra inferior flutuante ---------- */
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] {
  left: 10px;
  right: 10px;
  bottom: 10px;
  width: auto;
  height: 62px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 46, 36, .93), rgba(4, 20, 15, .95));
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(241, 194, 90, .26);
  border-top-color: rgba(255, 226, 154, .5);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .6);
}
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] > div {
  position: relative;
  border-radius: 16px;
  transition: transform .18s var(--jd-ease);
}
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] > div:active {
  transform: scale(.94);
}
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] span {
  font-family: var(--jd-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .01em;
}
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] [class*="_active_ad37q_"]::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 24px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--jd-gold-lo), var(--jd-gold-hi), var(--jd-gold-lo));
  box-shadow: 0 0 12px rgba(241, 194, 90, .85);
}

/* a barra flutuante ocupa 72px: sobra espaço no fim da rolagem para o último card não ficar escondido */
html[theme=burgundyRed][data-vegas] [class*="_contentBox_1dosx_"] {
  padding-bottom: 92px;
}
/* itens inativos mais discretos; o ativo já ganha o filete de ouro */
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] > div:not([class*="_active_"]) {
  opacity: .72;
  transition: transform .18s var(--jd-ease), opacity .18s var(--jd-ease);
}
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] > div:not([class*="_active_"]):active {
  opacity: 1;
}
/* "Depósito" (3º item) vira uma moeda de ouro que salta da barra: é a ação que gera receita */
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] > div:nth-child(3) {
  opacity: 1;
  z-index: 2;
}
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] > div:nth-child(3) svg {
  box-sizing: content-box;
  width: 24px;
  height: 24px;
  padding: 12px;
  margin-top: -26px;
  border-radius: 50%;
  background: var(--jd-gold-fill);
  box-shadow:
    0 0 0 5px var(--jd-night),
    0 0 0 6px rgba(241, 194, 90, .45),
    0 10px 22px rgba(241, 194, 90, .35),
    inset 0 1px 0 rgba(255, 255, 255, .65);
}
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] > div:nth-child(3) svg * {
  fill: #2b1d05 !important;
}
html[theme=burgundyRed][data-vegas] [class*="_homebarsBox_"] > div:nth-child(3) span {
  margin-top: 2px;
}

/* ---------- barra "Baixar app" ---------- */
html[theme=burgundyRed][data-vegas] ._download_15jvu_1714 ._downloadIcon_15jvu_1844 {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 9px;
}
