/* app.css — gerado por install/build-css.sh */
/* Estilos base do site — migrado de src/app/globals.css */

:root {
  --ci-primary-color: #f5a524;
  --ci-primary-opacity-color: rgba(245, 165, 36, 0.2);
  --ci-secundary-color: #ff6a1a;
  --ci-gray-dark: #1c1e22;
  --ci-gray-light: #2a2d2e;
  --ci-gray-medium: #323637;
  --ci-gray-over: #424344;
  --ci-background-base: #0d0f14;
  --ci-background-base-dark: #08090c;
  --navtop-color: #111520;
  --navtop-color-dark: #0d0f14;
  --sidebar-color: #0f141c;
  --sidebar-color-dark: #0a0e14;
  --card-color-dark: #151b28;
  --carousel-banners: #1e2024;
  --carousel-banners-dark: #1e2024;
  --title-color: #f4f6f8;
  --text-color: rgba(244, 246, 248, 0.78);
  --sub-text-color: rgba(244, 246, 248, 0.55);
  --standard-color: #1c1e22;
  --shadow-color: #111415;
  --yellow-color: #ffbf39;
  --surface-0: #08090c;
  --surface-1: #0d0f14;
  --surface-2: #111520;
  --surface-3: #151b28;
  --surface-border: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --text-strong: #f4f6f8;
  --text-soft: rgba(244, 246, 248, 0.78);
  --text-muted: rgba(244, 246, 248, 0.55);
  --fire-1: #e63b2e;
  --fire-2: #ff6a1a;
  --fire-3: #ff8c42;
  --fire-glow: rgba(255, 106, 26, 0.45);
  --fire-soft: #ff9a6b;
  --layout-header-height: 90px;
  --layout-bottom-nav-height: 120px;
  --ci-primary: var(--ci-primary-color);
  --ci-bg: var(--ci-background-base-dark);
  --ci-surface: var(--surface-2);
  --ci-text: var(--text-strong);
  --ci-muted: var(--text-muted);
  --ci-border: var(--surface-border);
}

@media (min-width: 1024px) {
  :root {
    --layout-header-height: 72px;
    --layout-bottom-nav-height: 0px;
  }
}

@media (max-width: 1023px) {
  :root {
    --layout-header-height: 99px;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text-soft);
  font-family: Montserrat, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(245, 165, 36, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(255, 255, 255, 0.03), transparent 45%),
    linear-gradient(180deg, var(--ci-background-base-dark), var(--ci-background-base));
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
button,
select,
textarea {
  font: inherit;
}

::-webkit-scrollbar {
  display: none !important;
}

.navtop-color {
  background: linear-gradient(135deg, var(--navtop-color-dark), var(--navtop-color));
  border-bottom: 1px solid var(--surface-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.button-register-model {
  border: none;
  border-radius: 10px;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--fire-1) 0%, var(--fire-2) 55%, var(--fire-3) 100%);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--fire-2) 45%, transparent);
}

.button-login-model {
  color: rgba(255, 200, 170, 0.95);
  border: 1.5px solid rgba(255, 106, 26, 0.5);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 14px;
  background: rgba(255, 106, 26, 0.08);
}

.btn-fire {
  background: linear-gradient(135deg, var(--fire-1), var(--fire-2), var(--fire-3));
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
  box-shadow: 0 6px 24px var(--fire-glow);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--fire-1), var(--fire-2));
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--fire-glow);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Cards temáticos das páginas do jogador */
.th-card-wallet {
  background: var(--th-wallet-card, #212425);
  border-color: var(--th-wallet-border, rgba(255, 255, 255, 0.1));
  color: var(--th-wallet-text, #fff);
}
.th-accent-wallet {
  color: var(--th-wallet-accent, #ff9a6b);
}
.th-muted-wallet {
  color: var(--th-wallet-muted, rgba(255, 255, 255, 0.5));
}

.th-card-bets {
  background: var(--th-bets-card, #212425);
  border-color: var(--th-bets-border, rgba(255, 255, 255, 0.1));
  color: var(--th-bets-text, #fff);
}
.th-accent-bets {
  color: var(--th-bets-accent, #ff9a6b);
}
.th-muted-bets {
  color: var(--th-bets-muted, rgba(255, 255, 255, 0.5));
}

.th-card-statement {
  background: var(--th-statement-card, #212425);
  border-color: var(--th-statement-border, rgba(255, 255, 255, 0.1));
  color: var(--th-statement-text, #fff);
}
.th-accent-statement {
  color: var(--th-statement-accent, #ff9a6b);
}
.th-muted-statement {
  color: var(--th-statement-muted, rgba(255, 255, 255, 0.5));
}

.th-card-profile {
  background: var(--th-profile-card, #212425);
  border-color: var(--th-profile-border, rgba(255, 255, 255, 0.1));
  color: var(--th-profile-text, #fff);
}
.th-accent-profile {
  color: var(--th-profile-accent, #ff9a6b);
}
.th-muted-profile {
  color: var(--th-profile-muted, rgba(255, 255, 255, 0.5));
}

.th-card-affiliate {
  background: var(--th-affiliate-card, #212425);
  border-color: var(--th-affiliate-border, rgba(255, 255, 255, 0.1));
  color: var(--th-affiliate-text, #fff);
}
.th-accent-affiliate {
  color: var(--th-affiliate-accent, #ff9a6b);
}
.th-muted-affiliate {
  color: var(--th-affiliate-muted, rgba(255, 255, 255, 0.5));
}

.th-card-withdraw {
  background: var(--th-withdraw-card, #212425);
  border-color: var(--th-withdraw-border, rgba(255, 255, 255, 0.1));
  color: var(--th-withdraw-text, #fff);
}
.th-accent-withdraw {
  color: var(--th-withdraw-accent, #ff9a6b);
}
.th-muted-withdraw {
  color: var(--th-withdraw-muted, rgba(255, 255, 255, 0.5));
}
.th-warning-withdraw {
  color: var(--th-withdraw-warning, #fbbf24);
}

.btn-secondary {
  background: #1e293b;
  color: #e2e8f0;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.input {
  width: 100%;
  background: #323637;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-strong);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}

.input::placeholder {
  color: #acafaf;
}

.card {
  background: var(--card-color-dark);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
}

.providersNames {
  color: #fff;
  font-weight: 550;
  font-size: 18px;
}

@media (max-width: 768px) {
  .game-carousel-head {
    align-items: center;
  }
}

.search-bar {
  background: var(--th-home-search, #323637);
  border-radius: 5px;
}

.wallet-pill {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  color: var(--fire-soft);
  font-weight: 700;
  font-size: 0.85rem;
}

.mobile-nav {
  display: none;
}

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s, box-shadow 0.3s;
  aspect-ratio: 1 / 1;
  background: var(--th-home-card, #0a0f1a);
}

.game-card:hover {
  border-color: var(--th-home-hover, rgba(255, 106, 26, 0.5));
  box-shadow: 0 12px 40px color-mix(in srgb, var(--th-home-accent, #ff6a1a) 20%, transparent);
}

.game-card .play-overlay {
  opacity: 0;
  transition: opacity 0.2s;
}

.game-card:hover .play-overlay {
  opacity: 1;
}

.game-card:hover img {
  opacity: 0.5;
  transform: scale(1.03);
}

.section-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.25rem) / 3);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
}

@media (min-width: 700px) {
  .section-scroll {
    grid-auto-columns: calc((100% - 2.25rem) / 4);
  }
}

@media (min-width: 1024px) {
  .section-scroll {
    grid-auto-columns: calc((100% - 3.75rem) / 6);
  }
}

.section-scroll > * {
  scroll-snap-align: start;
}

.auth-panel {
  background: var(--carousel-banners-dark);
  border-radius: 8px;
  border: 1px solid var(--surface-border);
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ============================================================
   Componentes da interface (versao PHP).
   Usa as variaveis de cor definidas em base.css, que por sua vez
   sao sobrescritas pelo tema escolhido no painel.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

/* Botoes usados nas telas novas (o .btn-primary vem do CSS original). */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .65rem 1.15rem;
  font-size: .95rem; font-weight: 700; white-space: nowrap;
  border: 1px solid transparent; border-radius: .65rem;
  cursor: pointer; transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn-ghost {
  background: transparent; color: var(--title-color, #f4f6f8);
  border-color: var(--surface-border, rgba(255,255,255,.14));
}
.btn-block { width: 100%; }
.btn-sm { padding: .4rem .8rem; font-size: .85rem; }
.link-botao {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--ci-primary-color); font: inherit; text-decoration: underline;
}

/* ---------- Alertas ---------- */

.alerta {
  margin: 0 0 1rem; padding: .85rem 1.1rem;
  border-radius: .65rem; font-size: .92rem; border: 1px solid;
}
.alerta-ok   { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.5); color: #a7f3d0; }
.alerta-erro { background: rgba(239,68,68,.12);  border-color: rgba(239,68,68,.5);  color: #fecaca; }

/* ---------- Formularios ---------- */

.campo { display: block; margin-bottom: 1rem; }
.campo > span { display: block; margin-bottom: .35rem; font-size: .88rem; color: var(--text-color); }

.campo input, .campo select, .campo textarea {
  width: 100%; padding: .7rem .85rem; font-size: 1rem;
  color: var(--title-color); background: var(--surface-0, #08090c);
  border: 1px solid var(--surface-border, rgba(255,255,255,.12));
  border-radius: .6rem;
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: var(--ci-primary-color);
  box-shadow: 0 0 0 3px var(--ci-primary-opacity-color, rgba(245,165,36,.2));
}

/* ---------- Telas de login / cadastro ---------- */

.auth-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100dvh; padding: 2rem 1rem;
}
.auth-card {
  width: 100%; max-width: 430px; padding: 2rem;
  background: var(--surface-3, #151b28);
  border: 1px solid var(--surface-border); border-radius: 1rem;
}
.auth-title { font-size: 1.5rem; margin-bottom: .25rem; }
.auth-sub { margin: 0 0 1.5rem; color: var(--sub-text-color); font-size: .92rem; }
.auth-rodape { margin: 1.25rem 0 0; text-align: center; font-size: .9rem; color: var(--sub-text-color); }
.auth-rodape a { color: var(--ci-primary-color); font-weight: 600; }
.auth-indicacao {
  margin: 0 0 1rem; padding: .6rem .8rem; font-size: .85rem;
  background: var(--ci-primary-opacity-color); border-radius: .55rem;
}
.blank-body { min-height: 100dvh; }

/* ---------- Painel ----------
   Mesmas cores do AdminShell.tsx do projeto antigo:
   fundo #07111f, barra lateral #0a1628, cartoes #0d1a2d,
   linhas #1e293b, texto slate e destaque #f5a524.          */

.admin-body {
  --adm-fundo:   #07111f;
  --adm-lateral: #0a1628;
  --adm-cartao:  #0d1a2d;
  --adm-linha:   #1e293b;
  --adm-ouro:    #f5a524;
  --adm-texto:   #e2e8f0;  /* slate-200 */
  --adm-suave:   #cbd5e1;  /* slate-300 */
  --adm-fraco:   #64748b;  /* slate-500 */

  background: var(--adm-fundo);
  color: var(--adm-texto);
}

.admin-menu-toggle {
  position: fixed; top: .6rem; left: .6rem; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 38px; height: 38px; padding: 0 9px;
  background: var(--adm-cartao); border: 1px solid var(--adm-linha);
  border-radius: .5rem; cursor: pointer;
}
.admin-menu-toggle span { display: block; height: 2px; background: var(--adm-suave); border-radius: 2px; }
@media (min-width: 1024px) { .admin-menu-toggle { display: none; } }

/* ---- Barra lateral ---- */

.admin-sidebar-head { padding: 1rem; border-bottom: 1px solid var(--adm-linha); }
.admin-sidebar-head a { font-size: 1rem; font-weight: 900; color: #fff; }
.admin-sidebar-head p { font-size: .75rem; color: var(--adm-fraco); margin: 0; }

.admin-sidebar nav { flex: 1; padding: .75rem; }
.admin-nav-grupo-bloco + .admin-nav-grupo-bloco { margin-top: 1.25rem; }

.admin-nav-grupo {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .5rem; padding: 0 .5rem;
}
.admin-nav-grupo-marca {
  flex-shrink: 0; width: 4px; height: 12px;
  border-radius: 999px; background: var(--adm-ouro);
}
.admin-nav-grupo p {
  margin: 0; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em; color: var(--adm-ouro);
}

.admin-nav-lista { list-style: none; margin: 0; padding: 0; }
.admin-nav-lista > li + li { margin-top: 2px; }
.admin-nav-lista--filha {
  margin-left: .625rem; padding-left: .5rem;
  border-left: 1px solid var(--adm-linha);
}

.admin-nav-item {
  display: block; padding: .375rem .5rem;
  border-radius: .375rem; color: var(--adm-suave);
  transition: background .15s ease, color .15s ease;
}
.admin-nav-item:hover { background: #132033; color: var(--adm-ouro); }
.admin-nav-item.is-active { background: #132033; color: var(--adm-ouro); font-weight: 600; }

.admin-sidebar-foot {
  margin-top: auto; padding: .75rem;
  border-top: 1px solid var(--adm-linha);
}
.admin-sidebar-foot a,
.admin-sidebar-foot button {
  display: block; width: 100%; text-align: left;
  padding: .375rem .5rem; border: 0; border-radius: .375rem;
  font-size: .75rem; color: #94a3b8; background: transparent; cursor: pointer;
}
.admin-sidebar-foot a:hover,
.admin-sidebar-foot button:hover { color: #fff; }

/* ---- Cabecalho da pagina ---- */

.admin-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--adm-linha); }
.admin-header h1 { margin: 0; font-size: 1.25rem; font-weight: 700; color: #fff; }

.admin-page-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem;
}
.admin-filtro select {
  padding: .45rem .7rem; color: var(--adm-texto);
  background: var(--adm-cartao); border: 1px solid var(--adm-linha); border-radius: .5rem;
}

/* ---- Botoes de periodo do painel ---- */

.adm-periodo { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.adm-periodo a {
  padding: .375rem .75rem; border-radius: .5rem;
  font-size: .75rem; font-weight: 600;
  border: 1px solid var(--adm-linha); background: var(--adm-cartao); color: var(--adm-suave);
  transition: border-color .15s ease;
}
.adm-periodo a:hover { border-color: rgba(245,165,36,.5); }
.adm-periodo a.is-active { background: var(--adm-ouro); border-color: var(--adm-ouro); color: #000; }

/* ---- Cartoes de indicador ---- */

.adm-kpis {
  display: grid; gap: .75rem; margin-bottom: .75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .adm-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1280px) { .adm-kpis { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.adm-kpi {
  display: block; padding: 1rem;
  border: 1px solid var(--adm-linha); border-radius: .75rem;
  background: linear-gradient(to bottom, #0f1c30, var(--adm-cartao));
  transition: border-color .15s ease;
}
a.adm-kpi:hover { border-color: rgba(245,165,36,.4); }
.adm-kpi-rotulo {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--adm-fraco);
}
.adm-kpi-valor {
  display: block; margin-top: .5rem;
  font-size: 1.5rem; font-weight: 900;
  font-variant-numeric: tabular-nums; color: #fff;
}
.adm-kpi-valor.tom-bom    { color: #34d399; }
.adm-kpi-valor.tom-alerta { color: #fbbf24; }
.adm-kpi-valor.tom-ruim   { color: #f87171; }
.adm-kpi-valor.tom-ouro   { color: var(--adm-ouro); }
.adm-kpi-nota { display: block; margin-top: .25rem; font-size: .75rem; color: var(--adm-fraco); }

/* ---- Blocos e graficos ---- */

.painel-bloco {
  margin-bottom: 1rem; padding: 1rem;
  background: var(--adm-cartao);
  border: 1px solid var(--adm-linha); border-radius: .75rem;
}
.painel-bloco > h2 { font-size: .875rem; font-weight: 600; color: #fff; margin: 0; }
.painel-bloco-sub  { font-size: .75rem; color: var(--adm-fraco); margin: 0 0 1rem; }

.adm-linha-graficos { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1rem; }
@media (min-width: 1280px) {
  .adm-linha-graficos--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .adm-linha-graficos--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .adm-col-2 { grid-column: span 2 / span 2; }
}

.adm-gfx { width: 100%; height: 18rem; }
.adm-gfx--baixo { height: 16rem; }
.adm-gfx svg { width: 100%; height: 100%; display: block; overflow: visible; }
.adm-gfx-vazio { display: grid; place-items: center; height: 100%; font-size: .875rem; color: var(--adm-fraco); }

.adm-legenda {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-top: .5rem; font-size: 12px; color: #94a3b8;
}
.adm-legenda span { display: flex; align-items: center; gap: .35rem; }
.ponto { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }

/* Grafico de barras em CSS puro, usado pela tela de rastreamento. */
.grafico-barras {
  display: flex; align-items: flex-end; gap: .5rem;
  height: 210px; overflow-x: auto; padding-bottom: .25rem;
}
.grafico-coluna {
  display: flex; flex-direction: column; align-items: center;
  gap: .35rem; flex: 1 0 34px; height: 100%;
}
.grafico-coluna small { font-size: .68rem; color: var(--adm-fraco, #64748b); white-space: nowrap; }
.grafico-barras-par {
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  width: 100%; height: 100%;
}
.barra { width: 11px; min-height: 2px; border-radius: 3px 3px 0 0; }
.barra-deposito { background: var(--adm-ouro, #f5a524); }
.barra-saque    { background: #38bdf8; }

/* ---- Atalhos do rodape ---- */

.adm-atalhos { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .adm-atalhos { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.adm-atalho {
  display: block; padding: 1rem;
  background: var(--adm-cartao); border: 1px solid var(--adm-linha);
  border-radius: .75rem; transition: border-color .15s ease;
}
.adm-atalho:hover { border-color: rgba(245,165,36,.5); }
.adm-atalho strong { display: block; font-weight: 600; color: #fff; }
.adm-atalho span   { display: block; margin-top: .25rem; font-size: .75rem; color: var(--adm-fraco); }

/* ---- Cartoes simples (telas antigas do painel) ---- */

.cards-resumo {
  display: grid; gap: .75rem; margin-bottom: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.card-resumo {
  padding: 1rem;
  background: var(--adm-cartao);
  border: 1px solid var(--adm-linha); border-radius: .75rem;
}
.card-destaque { border-color: var(--adm-ouro); }
.card-resumo-label {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--adm-fraco);
}
.card-resumo-valor {
  display: block; margin-top: .5rem; font-size: 1.35rem; font-weight: 800;
  font-variant-numeric: tabular-nums; color: #fff;
}
.card-resumo-nota { color: var(--adm-fraco); font-size: .75rem; }

/* ---------- Tabelas ---------- */

.tabela-wrap { overflow-x: auto; }
.tabela { width: 100%; border-collapse: collapse; font-size: .875rem; text-align: left; }
.tabela th, .tabela td { padding: .5rem; white-space: nowrap; }
.tabela th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--adm-fraco); font-weight: 400;
}
.tabela tbody tr { border-top: 1px solid var(--adm-linha); }
.tabela tbody tr:hover { background: rgba(255,255,255,.03); }
.tabela .num { text-align: right; font-variant-numeric: tabular-nums; }
.tabela .codigo { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; color: #fff; }
.positivo { color: #34d399; }
.negativo { color: #f87171; }

/* ---------- Estados ---------- */

.vazio, .estado-vazio { padding: 2rem 1rem; text-align: center; color: var(--sub-text-color); }
.estado-vazio h1, .estado-vazio h2 { color: var(--title-color); }

.pagina-erro {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem; min-height: 60dvh; padding: 2rem 1rem; text-align: center;
}
.pagina-erro h1 { font-size: 2.5rem; color: var(--ci-primary-color); }

/* ---------- Painel: filtros, abas, etiquetas ---------- */

.filtro-linha {
  display: flex; flex-wrap: wrap; gap: .5rem;
  align-items: center; margin-bottom: 1.25rem;
}
.filtro-linha .game-search-input { flex: 1; min-width: 220px; }
.filtro-linha select {
  padding: .7rem .85rem; color: var(--title-color);
  background: var(--surface-0); border: 1px solid var(--surface-border);
  border-radius: .6rem;
}

.abas {
  display: flex; flex-wrap: wrap; gap: .25rem;
  margin-bottom: 1.25rem; border-bottom: 1px solid var(--surface-border);
}
.aba {
  padding: .6rem 1rem; font-size: .9rem; color: var(--sub-text-color);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.aba:hover { color: var(--title-color); }
.aba.is-active {
  color: var(--ci-primary-color); font-weight: 600;
  border-bottom-color: var(--ci-primary-color);
}

.etiqueta {
  display: inline-block; padding: .2rem .6rem;
  font-size: .74rem; font-weight: 600; border-radius: 999px;
  background: rgba(255,255,255,.08); color: var(--text-color);
}
.etiqueta-approved   { background: rgba(16,185,129,.18);  color: #6ee7b7; }
.etiqueta-pending    { background: rgba(245,158,11,.18);  color: #fcd34d; }
.etiqueta-processing { background: rgba(59,130,246,.18);  color: #93c5fd; }
.etiqueta-failed,
.etiqueta-cancelled  { background: rgba(239,68,68,.18);   color: #fca5a5; }

.acoes-linha { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; }
.acoes-linha form { display: inline; }

/* Botao de liga/desliga da tabela de jogos */
.chave {
  min-width: 54px; padding: .3rem .7rem;
  font-size: .78rem; font-weight: 700;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
}
.chave-on  { background: rgba(16,185,129,.2); color: #6ee7b7; border-color: rgba(16,185,129,.4); }
.chave-off { background: rgba(255,255,255,.06); color: var(--sub-text-color); border-color: var(--surface-border); }
.chave:hover { filter: brightness(1.25); }

.miniatura {
  width: 42px; height: 42px; object-fit: cover;
  border-radius: .4rem; border: 1px solid var(--surface-border);
}

.linha-ajuste { background: rgba(255,255,255,.03); }
.linha-ajuste[hidden] { display: none; }

.form-ajuste {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end;
  padding: .5rem 0;
}
.form-ajuste .campo { margin-bottom: 0; min-width: 130px; }
.form-ajuste .campo-largo { flex: 1; min-width: 220px; }

.paginacao {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1.25rem; font-size: .88rem; color: var(--sub-text-color);
}

.grade-2 {
  display: grid; gap: 0 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.secao-titulo {
  margin: 1.75rem 0 .75rem; padding-top: 1.25rem;
  font-size: 1rem; border-top: 1px solid var(--surface-border);
}

.checkbox-linha {
  display: flex; gap: .6rem; align-items: flex-start;
  margin-bottom: 1rem; font-size: .92rem; cursor: pointer;
}
.checkbox-linha input { margin-top: .3rem; flex-shrink: 0; }
.checkbox-linha small { display: block; color: var(--sub-text-color); font-size: .82rem; }

.ajuda { color: var(--sub-text-color); font-size: .84rem; }

.aviso-caixa {
  padding: .85rem 1rem; margin: 1rem 0; font-size: .87rem;
  background: var(--surface-0); border: 1px solid var(--surface-border);
  border-left: 3px solid var(--ci-primary-color); border-radius: .5rem;
}
.aviso-caixa code {
  display: inline-block; margin-top: .35rem; padding: .3rem .5rem;
  font-size: .8rem; color: var(--ci-primary-color);
  background: rgba(0,0,0,.35); border-radius: .35rem;
  word-break: break-all;
}

.divisor { margin: 1.75rem 0; border: 0; border-top: 1px solid var(--surface-border); }

/* ---------- Telas do perfil ---------- */

.pagina-perfil { max-width: 780px; margin: 0 auto; }
.pagina-perfil h1 { margin-bottom: 1.25rem; font-size: 1.4rem; }

.card-form, .card-pix {
  padding: 1.5rem; background: var(--surface-2);
  border: 1px solid var(--surface-border); border-radius: .9rem;
}

.atalhos-valor {
  display: grid; gap: .5rem; margin-bottom: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}
.atalho {
  position: relative; padding: .7rem .5rem;
  font-size: .95rem; font-weight: 700; color: var(--title-color);
  background: var(--surface-0); border: 1px solid var(--surface-border);
  border-radius: .6rem; cursor: pointer;
}
.atalho:hover { border-color: var(--ci-primary-color); }
.atalho-selo {
  position: absolute; top: -8px; right: -4px;
  padding: .1rem .4rem; font-size: .68rem; font-weight: 700;
  color: #1a1205; background: var(--ci-primary-color); border-radius: 999px;
}

.pix-valor { font-size: 1.1rem; }
.pix-bonus { color: #6ee7b7; font-size: .92rem; }
.pix-instrucao { font-size: .92rem; color: var(--text-color); }
.pix-codigo textarea {
  width: 100%; padding: .75rem; font-family: monospace; font-size: .78rem;
  color: var(--title-color); background: var(--surface-0);
  border: 1px solid var(--surface-border); border-radius: .5rem;
  resize: vertical; word-break: break-all;
}
.pix-aviso { margin-top: .75rem; font-size: .84rem; color: var(--sub-text-color); }

.acoes-carteira { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.card-promo {
  overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--surface-border); border-radius: .8rem;
}
.card-promo-corpo { padding: 1rem; }
.card-promo-regras { font-size: .88rem; color: var(--text-color); }

/* ---------- Gamificacao ---------- */

.grade-baus {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card-bau {
  padding: 1.25rem; text-align: center;
  background: var(--surface-2); border: 1px solid var(--surface-border);
  border-radius: .9rem;
}
.card-bau img { width: 120px; margin: 0 auto .75rem; }
.card-bau h2 { font-size: 1.05rem; }

.chances { margin: .75rem 0; text-align: left; }
.chances summary { cursor: pointer; font-size: .85rem; color: var(--ci-primary-color); }
.chances ul { list-style: none; margin: .5rem 0 0; padding: 0; }
.chances li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .3rem 0; font-size: .84rem;
  border-bottom: 1px solid var(--surface-border);
}
.chances small { color: var(--sub-text-color); }

/* Missoes */
.lista-missoes { display: grid; gap: 1rem; }
.card-missao {
  display: flex; gap: 1rem; padding: 1rem;
  background: var(--surface-2); border: 1px solid var(--surface-border);
  border-radius: .8rem;
}
.card-missao.is-concluida { border-color: var(--ci-primary-color); }
.card-missao.is-resgatada { opacity: .6; }
.missao-img { width: 74px; height: 74px; object-fit: cover; border-radius: .6rem; flex-shrink: 0; }
.missao-corpo { flex: 1; min-width: 0; }
.missao-topo { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.missao-topo h2 { margin: 0; font-size: 1rem; }
.missao-recompensa {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-top: .75rem;
}

.barra-progresso {
  height: 8px; margin: .5rem 0 .25rem; overflow: hidden;
  background: var(--surface-0); border-radius: 999px;
}
.barra-progresso > span {
  display: block; height: 100%;
  background: var(--ci-primary-color); border-radius: 999px;
  transition: width .3s ease;
}

/* Niveis VIP */
.card-nivel {
  padding: 1rem; margin-bottom: .75rem;
  background: var(--surface-0); border: 1px solid var(--surface-border);
  border-radius: .7rem;
}
.nivel-topo {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem;
}

/* Roleta do bonus diario */
.roleta-area { position: relative; max-width: 340px; margin: 0 auto 2rem; }

.roleta {
  position: relative; width: 100%; aspect-ratio: 1;
  margin-bottom: 1.25rem; overflow: hidden;
  border: 6px solid var(--ci-primary-color); border-radius: 50%;
  background: var(--surface-2);
  transition: transform 4s cubic-bezier(.17,.67,.24,1);
}
.roleta-fatia {
  position: absolute; top: 0; left: 50%;
  width: 50%; height: 50%;
  transform-origin: 0% 100%;
  transform: rotate(var(--angulo)) skewY(-45deg);
  background: var(--cor);
  border: 1px solid rgba(0,0,0,.15);
}
.roleta-fatia span {
  position: absolute; top: 30%; left: 22%;
  font-size: .62rem; font-weight: 700; color: #1a1205;
  transform: skewY(45deg) rotate(45deg);
  white-space: nowrap;
}
.roleta-ponteiro {
  position: absolute; top: -6px; left: 50%; z-index: 2;
  width: 0; height: 0; transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid var(--ci-primary-color);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.5));
}

/* ============================================================
   Complementos do layout do jogador.
   O visual base vem de base.css e de assets/css/parts/*.css
   (copiados do projeto antigo). Aqui ficam apenas os ajustes
   que antes eram feitos por classes utilitarias do Tailwind.
   ============================================================ */

.min-h-screen { min-height: 100vh; }

/* Espaco do header fixo e da barra inferior.
   As alturas vem das variaveis do CSS original (base.css), que ja
   mudam sozinhas por tamanho de tela. */
.page-shell {
  padding-top: var(--layout-header-height);
  padding-bottom: calc(var(--layout-bottom-nav-height) + 8px);
}
@media (min-width: 1024px) {
  .page-shell.has-sidebar { margin-left: 280px; }
}

/* Mesmo espacamento do <main> antigo:
   max-w-[1600px] mx-auto space-y-6 px-3 pb-4 pt-2 sm:px-4 lg:px-6 lg:pt-1 */
.home-page-main {
  max-width: 1600px; margin: 0 auto;
  padding: .5rem .75rem 1rem;
}
.home-page-main > * + * { margin-top: 1.5rem; }

@media (min-width: 640px)  { .home-page-main { padding-left: 1rem;   padding-right: 1rem; } }
@media (min-width: 1024px) { .home-page-main { padding: .25rem 1.5rem 1rem; } }

/* ---- Barra superior ---- */
.wallet-nav strong a { color: inherit; text-decoration: none; }

.avatar-menu-wrap { position: relative; }
.avatar-dropdown {
  position: absolute; right: 0; top: calc(100% + .5rem);
  min-width: 220px; padding: .5rem;
  background: var(--surface-3, #151b28);
  border: 1px solid var(--surface-border, rgba(255,255,255,.1));
  border-radius: .75rem; box-shadow: 0 12px 30px rgba(0,0,0,.5); z-index: 100;
}
.avatar-dropdown[hidden] { display: none; }
.avatar-dropdown a, .avatar-dropdown-sair {
  display: block; width: 100%; padding: .5rem .7rem;
  font-size: .9rem; text-align: left; color: rgba(244,246,248,.78);
  background: none; border: 0; border-radius: .5rem; cursor: pointer;
}
.avatar-dropdown a:hover, .avatar-dropdown-sair:hover { background: rgba(255,255,255,.06); }
.avatar-dropdown-head {
  padding: .5rem .7rem .7rem; margin-bottom: .3rem;
  border-bottom: 1px solid var(--surface-border, rgba(255,255,255,.1));
}
.avatar-dropdown-head strong { display: block; font-size: .92rem; color: #fff; }
.avatar-dropdown-head small { color: rgba(244,246,248,.5); font-size: .78rem; }
.avatar-dropdown-admin { color: var(--ci-primary-color) !important; font-weight: 600; }
.avatar-dropdown-sair { color: #fca5a5; }

/* ---- Menu lateral ---- */
.sidebar-ctas { display: grid; gap: .5rem; padding: .5rem 1rem 0; position: relative; z-index: 10; }
.sidebar-general-list { list-style: none; margin: 0; padding: .375rem; display: grid; gap: .25rem; }
.sidebar-general-arrow { color: #9ca3af; }
.sidebar-featured-desc { font-size: .82rem; color: rgba(255,255,255,.8); margin: 0; }

.sidebar-backdrop {
  position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.6);
}
.sidebar-backdrop[hidden] { display: none; }
@media (min-width: 1024px) { .sidebar-backdrop { display: none !important; } }

/* ---- Busca: o visual vem de parts/game-search.css ---- */
.gs-trigger-text { font-variant-numeric: tabular-nums; }

/* ---- Cards de jogo ---- */
.game-card { display: block; scroll-snap-align: start; }
.game-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.game-card:hover .game-card-img { transform: scale(1.04); }
.game-card-fallback {
  display: flex; align-items: center; justify-content: center;
  height: 100%; padding: .5rem; text-align: center;
  font-size: .75rem; color: rgba(255,255,255,.7); background: #12131d;
}
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35);
}
.play-overlay-btn {
  padding: .6rem 1.25rem; font-size: .85rem; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #e63b2e, #ff6a1a); border-radius: .75rem;
  box-shadow: 0 6px 24px rgba(255,106,26,.45);
}

.game-carousel { margin-bottom: 1.5rem; }
.game-carousel-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: .75rem; padding: 0 .25rem; margin-bottom: .75rem;
}
.game-carousel-more {
  font-size: .78rem; font-weight: 600; color: var(--ci-primary-color); white-space: nowrap;
}

/* ---- Rodape ---- */
.footer-col { display: flex; flex-direction: column; }
.footer-desc { margin-top: .5rem; font-size: .78rem; line-height: 1.6; color: rgba(255,255,255,.45); }
.footer-email { margin-top: .5rem; font-size: .78rem; color: rgba(255,255,255,.55); }

.footer-bottom {
  padding: 1.5rem 1rem; text-align: center;
  font-size: .8rem; color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-copy { margin-top: .75rem; }
.footer-copy span { color: var(--ci-primary-color); }

/* A barra inferior e inteira do arquivo parts/bottom-nav.css, copiado
   igual ao do projeto antigo. Nao redefinir nada dela aqui.

   Unica adaptacao: la o "+" do saldo era um <button> que abria modal.
   Aqui e um link para /profile/deposit, e link nao aceita largura
   sem display. O tamanho e as cores continuam vindo do arquivo original. */
a.bottom-nav__balance-add { display: block; }

/* ---- Lista de jogos do cassino ---- */
.casino-grid {
  display: grid; gap: .7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 640px)  { .casino-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .casino-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.casino-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.casino-chips .chip {
  padding: .35rem .85rem; font-size: .82rem;
  color: rgba(244,246,248,.78);
  background: var(--surface-2, #111520);
  border: 1px solid var(--surface-border, rgba(255,255,255,.1));
  border-radius: 999px;
}
.casino-chips .chip:hover, .casino-chips .chip.is-active {
  color: var(--ci-primary-color); border-color: var(--ci-primary-color);
}

/* Busca do painel (reaproveita o visual dos campos) */
.filtro-linha .game-search-input {
  padding: .7rem .85rem; color: var(--title-color, #f4f6f8);
  background: var(--surface-0, #08090c);
  border: 1px solid var(--surface-border, rgba(255,255,255,.12));
  border-radius: .6rem;
}

/* O visual do modal de busca vive em parts/casino-search-modal.css.
   As regras que existiam aqui eram uma segunda versao das mesmas
   classes e brigavam com ela (icone e X soltos, grade em outro
   numero de colunas), por isso sairam. */

/* ---- Editor de cores do painel ---- */

.campo-cor .cor-linha { display: flex; gap: .5rem; margin: 0; }

/* Liga/desliga dentro de uma tela de configuracao. */
.campo-check { display: flex; align-items: center; gap: .5rem; margin: 0; }
.campo-check input { width: auto; }
.campo-check > span { margin: 0; font-size: .875rem; color: var(--adm-suave, #cbd5e1); }

.cor-seletor {
  width: 3rem; height: 2.5rem; flex-shrink: 0; padding: .25rem;
  background: var(--adm-lateral, #0a1628);
  border: 1px solid var(--adm-linha, #1e293b);
  border-radius: .375rem; cursor: pointer;
}
.cor-texto {
  flex: 1; min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem;
}

/* ---- Formulario de cadastro ---- */
.campo-largo-total { grid-column: 1 / -1; }
.obrigatorio { color: #f87171; font-style: normal; }
.previa-imagem {
  max-width: 120px; margin-top: .5rem; border-radius: .4rem;
  border: 1px solid var(--surface-border, rgba(255,255,255,.1));
}

/* Campo de imagem: enviar arquivo ou colar endereco. */
.campo-imagem { display: grid; gap: .4rem; }
.campo-imagem-arquivo {
  /* Em coluna: o seletor de arquivo do navegador tem largura propria e
     ficava cortado quando dividia a linha com o rotulo. */
  display: grid; gap: .35rem;
  padding: .55rem .7rem; font-size: .85rem;
  background: var(--surface-1, #12141a);
  border: 1px dashed var(--surface-border, rgba(255,255,255,.18));
  border-radius: .5rem; cursor: pointer;
}
.campo-imagem-arquivo:hover { border-color: var(--ci-primary-color, #f5a524); }
.campo-imagem-arquivo > span { color: var(--sub-text-color, rgba(255,255,255,.65)); font-weight: 600; }
.campo-imagem-arquivo input[type="file"] { width: 100%; min-width: 0; font-size: .8rem; color: inherit; }
.campo-imagem-ou {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--sub-text-color, rgba(255,255,255,.45)); text-align: center;
}

/* ---- KYC ---- */
.kyc-topo {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.kyc-topo strong { display: block; }
.kyc-docs {
  display: grid; gap: .75rem; margin-bottom: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.kyc-doc { margin: 0; }
.kyc-doc img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--surface-border, rgba(255,255,255,.12)); border-radius: .5rem;
}
.kyc-doc figcaption { margin-top: .35rem; font-size: .78rem; color: var(--sub-text-color); }
.kyc-acoes .campo { margin-bottom: .75rem; }

/* ---- Esportes: iframe em tela cheia ---- */
.sports-page iframe {
  width: 100%;
  height: calc(100vh - var(--layout-header-height) - var(--layout-bottom-nav-height));
  min-height: 480px; border: 0; display: block;
}

/* ============================================================
   Utilitarios que vinham do Tailwind.
   O CSS antigo (sidebar.css, navtop.css...) conta com estas
   classes: sem elas o header nao fica fixo e a barra lateral
   empurra a pagina para baixo.
   ============================================================ */

.fixed    { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky   { position: sticky; }

.top-0    { top: 0; }
.left-0   { left: 0; }
.right-0  { right: 0; }
.bottom-0 { bottom: 0; }
.inset-0  { inset: 0; }

.w-full        { width: 100%; }
.h-full        { height: 100%; }
.min-h-screen  { min-height: 100vh; }

.block        { display: block; }
.inline-block { display: inline-block; }
.flex         { display: flex; }
.grid         { display: grid; }
.hidden       { display: none; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.cursor-pointer  { cursor: pointer; }
.truncate {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* O modal de busca comeca fechado. Marcado com !important porque o
   CSS antigo define display:flex na mesma classe. */
.csm-backdrop[hidden],
.sidebar-backdrop[hidden],
.sidebar-overlay[hidden] { display: none !important; }

/* Variaveis que o CSS antigo usa mas que vinham do tema do Tailwind. */
:root {
  --footer-color: var(--surface-1, #0d0f14);
}

/* ============================================================
   Estrutura do painel administrativo.
   (Fica aqui porque o CSS antigo so cobre a area do jogador.)
   ============================================================ */

/* Barra lateral fixa de 16rem e conteudo ocupando o resto,
   igual ao AdminShell.tsx. */

.admin-shell { display: flex; align-items: stretch; min-height: 100vh; }

.admin-sidebar {
  display: flex; flex-direction: column;
  width: 16rem; flex-shrink: 0;
  height: 100vh; position: sticky; top: 0; overflow-y: auto;
  font-size: .875rem;
  background: var(--adm-lateral, #0a1628);
  color: var(--adm-suave, #cbd5e1);
  border-right: 1px solid var(--adm-linha, #1e293b);
}

.admin-main { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 100vh; }
.admin-content { flex: 1; min-width: 0; padding: 1.5rem; }

/* No celular o menu do painel vira gaveta */
@media (max-width: 1023px) {
  .admin-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 95;
    transform: translateX(-100%); transition: transform .2s ease;
  }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-content { padding: 1rem; }
  .admin-header { padding: 1rem 1rem 1rem 3.5rem; }
}

/* Formulario das telas de entrar/cadastrar */
.auth-form { display: block; }

/* Cor de fundo do rodape (o CSS antigo so define o formato) */
.footer-color {
  background: var(--surface-1, #0d0f14);
  border-top: 1px solid var(--surface-border, rgba(255,255,255,.07));
}

/* ---- Carteira: complementos do layout ---- */
.wallet-page { max-width: 768px; margin: 0 auto; padding: 1.25rem .75rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .wallet-page { padding: 1.25rem 1rem; } }

.wallet-page__card { padding: 1.5rem; }
.wallet-page__tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .75rem; }
.wallet-page__coins { margin-top: .5rem; }
.wallet-page__small { font-size: .78rem; }
.wallet-page__ok { margin-top: .5rem; font-size: .78rem; color: rgba(110,231,183,.85); }

.wallet-page__rollover {
  margin-top: .75rem; padding: .6rem .75rem; display: grid; gap: .5rem;
  font-size: .78rem; border-radius: .5rem;
  border: 1px solid rgba(245,230,211,.12); background: rgba(245,230,211,.04);
}
.wallet-page__rollover-title { font-weight: 600; color: var(--bb-areia, #f5e6d3); margin: 0; }

.wallet-page__actions {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1rem;
}
.wallet-page__btn-withdraw {
  padding: .65rem 1rem; font-size: .88rem; font-weight: 600;
  border: 1px solid rgba(245,230,211,.15); border-radius: .75rem;
  color: var(--bb-areia-muted, rgba(245,230,211,.55));
}
.wallet-page__extract { padding: 0; overflow: hidden; }
.wallet-page__extract-head {
  padding: .75rem 1rem; font-weight: 600;
  border-bottom: 1px solid rgba(245,230,211,.1);
}
.wallet-page__extract-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 1rem; font-size: .88rem;
  border-bottom: 1px solid rgba(245,230,211,.06);
}
.wallet-page__extract-row:last-child { border-bottom: 0; }
.wallet-page__extract-desc { margin: 0; font-weight: 500; }
.wallet-page__extract-value { margin: 0; font-weight: 600; color: var(--bb-areia, #f5e6d3); }
.wallet-page__empty { padding: 1.5rem 1rem; }

/* ---- Páginas internas do jogador (layout do backup) ---- */
.pagina-conteudo {
  max-width: 768px; margin: 0 auto; padding: 1.25rem .75rem;
  display: grid; gap: 1.25rem; align-content: start;
}
@media (min-width: 640px) { .pagina-conteudo { padding: 1.25rem 1rem; } }

.titulo-pagina { font-size: 1.5rem; font-weight: 900; margin: 0; }
.subtitulo-pagina { margin: .25rem 0 0; font-size: .88rem; }

.lista-cartao {
  overflow: hidden; border-radius: .75rem;
  border: 1px solid var(--surface-border, rgba(255,255,255,.08));
  background: var(--surface-2, #111520);
}
.lista-linha {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .75rem 1rem; font-size: .88rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.lista-linha:last-child { border-bottom: 0; }
.lista-linha-info { min-width: 0; }
.lista-linha-titulo { margin: 0; font-weight: 600; }
.lista-linha-sub { margin: 0; font-size: .78rem; }
.lista-linha-valor { flex-shrink: 0; text-align: right; }
.lista-vazia { padding: 2rem 1rem; text-align: center; font-size: .88rem; }

.valor-positivo { margin: 0; font-weight: 600; color: #34d399; }
.valor-negativo { margin: 0; font-weight: 600; color: #f87171; }

/* ============================================================
   Utilitarios do Tailwind usados pelas telas do jogador.
   Sao os mesmos nomes do projeto antigo, para as paginas
   ficarem com o espacamento e o alinhamento originais.
   ============================================================ */

/* Layout */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-sm { max-width: 24rem; }  .max-w-lg { max-width: 32rem; }
.max-w-3xl { max-width: 48rem; } .max-w-5xl { max-width: 64rem; }
.max-w-none { max-width: none; }

.items-center     { align-items: center; }
.items-start      { align-items: flex-start; }
.justify-between  { justify-content: space-between; }
.justify-center   { justify-content: center; }
.flex-wrap        { flex-wrap: wrap; }
.flex-1           { flex: 1 1 0%; }
.shrink-0         { flex-shrink: 0; }
.min-w-0          { min-width: 0; }

/* Grade */
.grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-cols-5  { grid-template-columns: repeat(5, minmax(0,1fr)); }
@media (min-width: 640px) {
  .sm\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sm\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0,1fr)); }
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
}
@media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* Espacamentos */
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; }  .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }
.px-1 { padding-left: .25rem; padding-right: .25rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.p-6 { padding: 1.5rem; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; }
.mb-2 { margin-bottom: .5rem; }

/* "space-y": espaco entre os filhos */
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Texto */
.text-xs  { font-size: .75rem; }  .text-sm { font-size: .875rem; }
.text-lg  { font-size: 1.125rem; } .text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; } .text-3xl { font-size: 1.875rem; }
.font-medium { font-weight: 500; } .font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }   .font-black { font-weight: 900; }
.text-center { text-align: center; } .text-right { text-align: right; }
.uppercase { text-transform: uppercase; }

/* Bordas e formas */
.border { border: 1px solid var(--surface-border, rgba(255,255,255,.1)); }
.rounded-lg { border-radius: .5rem; } .rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.ring-2 { box-shadow: 0 0 0 2px rgba(255,255,255,.1); }

.w-10 { width: 2.5rem; }  .h-10 { height: 2.5rem; }
.w-16 { width: 4rem; }    .h-16 { height: 4rem; }
.object-cover { object-fit: cover; }

/* Divisor entre itens de uma lista */
.divide-y > * + * { border-top: 1px solid rgba(255,255,255,.05); }

/* Cores usadas nas mensagens */
.text-emerald-400 { color: #34d399; }
.text-red-400     { color: #f87171; }

/* ---- Escolha de avatar ---- */
.avatar-opcao {
  padding: 0; overflow: hidden; cursor: pointer;
  background: var(--surface-0, #08090c);
  border: 2px solid transparent; border-radius: 50%;
  transition: border-color .15s ease, transform .15s ease;
}
.avatar-opcao:hover { transform: translateY(-2px); border-color: var(--ci-primary-color); }
.avatar-opcao.is-active { border-color: var(--ci-primary-color); }
.avatar-opcao img { border-radius: 50%; }

/* ---- Indicações ---- */
.chip-nivel {
  padding: .375rem .75rem; font-size: .75rem;
  color: rgba(255,255,255,.8); background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.1); border-radius: .5rem;
}
.lista-cartao-titulo {
  padding: .75rem 1rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.wallet-page__extract-list { display: block; }


/* ============================================================
   Menu do avatar: textos 5% maiores que o original,
   a pedido — o resto do visual continua igual ao backup.
   ============================================================ */

.ud-name { font-size: 0.892rem; }
.ud-rank-badge { font-size: 9.45px; }
.ud-rank-title { font-size: 10.5px; }
.ud-progress-meta { font-size: 9.45px; }
.ud-cta { font-size: 11.55px; }
.ud-cta-badge { font-size: 9.45px; }
.ud-feature { font-size: 12.6px; }
.ud-wallet-email { font-size: 10.5px; }
.ud-wallet-balance { font-size: 1.208rem; }
.ud-wallet-note { font-size: 9.45px; }
.ud-deposit { font-size: 12.6px; }
.ud-grid-item { font-size: 11.55px; }
.ud-logout { font-size: 12.6px; }
.ud-session { font-size: 9.45px; }

/* O icone do "Sair" acompanha o texto */
.ud-logout svg { width: 13.65px; height: 13.65px; }

/* ---- Baú: complementos ---- */
.chest-chances { margin: .5rem 0; text-align: left; }
.chest-chances summary { cursor: pointer; font-size: .8rem; color: var(--ci-primary-color); }
.chest-chances ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.chest-chances li {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .25rem 0; font-size: .78rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.chest-chances small { color: rgba(255,255,255,.5); }

.chest-history ul { list-style: none; margin: 0; padding: 0; }
.chest-history li {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  padding: .55rem 0; font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.chest-history li strong { color: var(--ci-primary-color); }
.chest-history li small { margin-left: auto; color: rgba(255,255,255,.45); font-size: .75rem; }

.chest-modal-backdrop[hidden] { display: none !important; }
.chest-shop-card-body h3 { margin: 0 0 .5rem; font-size: 1rem; }
.chest-shop-cost small { margin-left: .35rem; color: rgba(255,255,255,.5); font-size: .75rem; }

/* ---- Missões: complementos ---- */
.missions-page { display: grid; gap: 1.25rem; align-content: start; }
.missions-head { text-align: center; }
.missions-sub { margin: .35rem 0 0; font-size: .88rem; color: rgba(255,255,255,.6); }
.missions-grupo { margin: 0 0 .25rem; font-size: 1.05rem; font-weight: 700; }
.missions-regras {
  margin: .5rem 0 0; padding: .6rem .75rem; font-size: .8rem;
  color: rgba(255,255,255,.7); background: rgba(0,0,0,.25); border-radius: .5rem;
}
.gamification-list-item__terms-container details summary { cursor: pointer; }
.gamification-list-item form { width: 100%; }

/* ---- VIP: complementos ---- */
.vip-level {
  flex: 0 0 auto; width: 200px; padding: 1rem; text-align: center;
  background: var(--surface-2, #111520);
  border: 1px solid var(--surface-border, rgba(255,255,255,.1));
  border-radius: .9rem;
}
.vip-level.is-reached { border-color: var(--ci-primary-color); }
.vip-level form { width: 100%; }
.vip-req-resumo { margin: .5rem 0; font-size: .78rem; color: rgba(255,255,255,.6); }
.vip-medal-core {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0 auto;
  font-size: 1.5rem; font-weight: 900; color: #1a1205; border-radius: 50%;
}
.vip-medal-core.bronze { background: linear-gradient(135deg, #FF8A3D, #d16a0b); }
.vip-medal-core.silver { background: linear-gradient(135deg, #2EC4B6, #1a8f85); }
.vip-medal-core.gold   { background: linear-gradient(135deg, #FFD166, #e1a13a); }

/* ---- Bônus diário: roleta ---- */
.db-page { padding: 1.5rem .75rem; }
.db-shell {
  max-width: 36rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.db-head { text-align: center; }
.db-title { font-size: 1.875rem; letter-spacing: .02em; color: #F5E6D3;
            text-shadow: 0 0 24px rgba(255,138,61,.4); }
.db-sub { margin-top: .25rem; font-size: .875rem; color: rgba(245,230,211,.55); }

.db-wheel-wrap { position: relative; width: min(92vw, 420px); aspect-ratio: 1; }
.db-wheel-glow {
  position: absolute; inset: -10%; border-radius: 50%; opacity: .9; pointer-events: none;
  background: radial-gradient(circle, rgba(255,209,102,.4) 0%, rgba(255,138,61,.13) 42%, transparent 68%);
}
.db-wheel-ring {
  position: absolute; inset: 0; padding: 10px; border-radius: 50%;
  background: linear-gradient(145deg, #FFD166, #FF8A3D 40%, #143D2E 100%);
  box-shadow: 0 0 40px rgba(255,138,61,.53), 0 10px 30px rgba(0,0,0,.5);
}
.db-wheel {
  position: relative; width: 100%; height: 100%;
  overflow: hidden; border-radius: 50%;
  box-shadow: inset 0 0 50px rgba(0,0,0,.7);
}
.db-wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.db-pointer {
  position: absolute; top: -6px; left: 50%; z-index: 3;
  width: 0; height: 0; transform: translateX(-50%);
  border-left: 14px solid transparent; border-right: 14px solid transparent;
  border-top: 26px solid #FFD166;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.6));
}

.db-spin-btn {
  padding: .85rem 2.25rem; font-size: 1rem; font-weight: 800;
  color: #1a1205; background: linear-gradient(135deg, #FFD166, #FF8A3D);
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 8px 26px rgba(255,138,61,.45);
}
.db-spin-btn:disabled { opacity: .6; cursor: not-allowed; }

.db-espera, .db-indisponivel, .db-aviso {
  text-align: center; font-size: .875rem; color: rgba(245,230,211,.6);
}
.db-espera strong { color: #FFD166; }
.db-aviso { font-size: .75rem; opacity: .7; }

.db-historico { width: 100%; }
.db-historico h2 { font-size: 1rem; margin-bottom: .5rem; }
.db-historico ul { list-style: none; margin: 0; padding: 0; }
.db-historico li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.db-historico small { color: rgba(255,255,255,.45); }

.db-modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(0,0,0,.75);
}
.db-modal-backdrop[hidden] { display: none !important; }
.db-modal {
  max-width: 24rem; width: 100%; padding: 2rem 1.5rem; text-align: center;
  background: var(--surface-3, #151b28);
  border: 1px solid var(--surface-border, rgba(255,255,255,.12));
  border-radius: 1rem;
}
.db-modal h2 { font-size: 1.35rem; color: #FFD166; }
.db-modal p { margin: .5rem 0 1.25rem; color: rgba(255,255,255,.75); }

/* ---- Depósito ---- */
.dp-card { background: #212425; border-color: rgba(255,255,255,.1); }
.dp-voltar { color: rgba(255,255,255,.5); }
.dp-limites { color: rgba(255,255,255,.45); }
.dp-aviso { color: #fcd34d; }
.dp-check { color: rgba(255,255,255,.6); }
.dp-pendente {
  padding: .6rem .8rem; font-size: .85rem; border-radius: .5rem;
  color: #a7f3d0; background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.25);
}
.dp-bonus {
  padding: .5rem .75rem; font-size: .875rem; border-radius: .5rem;
  color: #34d399; background: rgba(16,185,129,.05); border: 1px solid rgba(16,185,129,.2);
}
.dp-bonus[hidden] { display: none; }
.dp-atalhos {
  display: grid; gap: .5rem;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
}
.dp-atalho {
  position: relative; padding: .65rem .5rem;
  font-size: .95rem; font-weight: 700; color: #fff;
  background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12);
  border-radius: .6rem; cursor: pointer;
}
.dp-atalho:hover { border-color: var(--ci-primary-color); }
.dp-atalho-selo {
  position: absolute; top: -8px; right: -4px;
  padding: .1rem .4rem; font-size: .65rem; font-weight: 700;
  color: #1a1205; background: var(--ci-primary-color); border-radius: 999px;
}

/* ---- KYC, promoções, gifts e suporte ---- */
.kyc-card, .sup-card, .gift-card {
  background: var(--surface-2, #111520);
  border-color: var(--surface-border, rgba(255,255,255,.1));
}
.kyc-voltar, .kyc-sub, .gift-sub, .promo-sub, .sup-sub { color: rgba(255,255,255,.55); }
.kyc-motivo { color: rgba(252,165,165,.8); }
.kyc-label span { color: rgba(255,255,255,.8); }
.kyc-previa { max-height: 10rem; margin-top: .5rem; border-color: rgba(255,255,255,.1); }
.kyc-dicas {
  padding: .75rem 1rem; font-size: .78rem; border-radius: .5rem;
  color: rgba(255,255,255,.65); background: rgba(0,0,0,.25);
  border-left: 3px solid var(--ci-primary-color);
}
.kyc-dicas ul { margin: .4rem 0 0; padding-left: 1.1rem; }

.promo-img { width: 100%; height: 11rem; object-fit: cover; }

/* O ::before do .bb-promo-banner e absoluto e cobriria o texto:
   o corpo precisa ficar acima dele. */
.promo-corpo { position: relative; z-index: 1; }

.promo-sem-img {
  display: flex; align-items: center; justify-content: center; height: 11rem;
  background: linear-gradient(135deg, rgba(255,138,61,.2), rgba(255,77,141,.15));
}
.promo-regras summary { cursor: pointer; }
.promo-regras .prose {
  margin-top: .5rem; color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.1); background: rgba(0,0,0,.2);
}
.promo-cta { display: inline-block; text-align: center; }

.gift-historico { margin-top: 1rem; }
.gift-historico h2 { margin-bottom: .5rem; }

.sup-canal {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1rem; border-radius: .6rem;
  background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.08);
}
.sup-canal:hover { border-color: var(--ci-primary-color); }
.sup-canal-ico { font-size: 1.35rem; }
.sup-canal strong { display: block; font-size: .92rem; }
.sup-canal small { color: rgba(255,255,255,.5); font-size: .8rem; }

.sup-faq { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.sup-faq summary { cursor: pointer; font-size: .92rem; font-weight: 600; }
.sup-faq p { margin: .5rem 0 0; font-size: .85rem; color: rgba(255,255,255,.65); }

/* ---- Painel: seções da home e destaque ---- */
.secao-grade {
  display: grid; gap: .75rem; margin-top: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}
.secao-item {
  display: flex; flex-direction: column; gap: .35rem; padding: .6rem;
  text-align: center; color: var(--title-color, #f4f6f8);
  background: var(--surface-0, #08090c);
  border: 1px solid var(--surface-border, rgba(255,255,255,.1));
  border-radius: .6rem; cursor: pointer;
}
.secao-item:hover { border-color: var(--ci-primary-color); }
.secao-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .4rem; }
.secao-item strong { font-size: .8rem; line-height: 1.2; }
.secao-item small { font-size: .7rem; color: var(--sub-text-color); }
.campo-ordem {
  width: 80px; padding: .35rem .5rem; color: var(--title-color);
  background: var(--surface-0); border: 1px solid var(--surface-border); border-radius: .4rem;
}

/* ---- bottom-nav.css ---- */
.bottom-nav {
  --bottom-nav-gold-1: #d16a0b;
  --bottom-nav-gold-2: #f3b84c;
  --bottom-nav-gold-3: #fdca6d;
  --bottom-nav-gold-4: #e1a13a;
  --bottom-nav-dark-1: #15191f;
  --bottom-nav-dark-2: #222733;
  --bottom-nav-text: #130f06;
  --bottom-nav-bar-height: 72px;
  --bottom-nav-float: 46px;
  --bottom-nav-float-offset: 10px;

  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(var(--bottom-nav-float) + var(--bottom-nav-bar-height) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 50;
  overflow: visible;
}

.bottom-nav__bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--bottom-nav-bar-height) + env(safe-area-inset-bottom, 0px));
  z-index: 0;
}

.bottom-nav__bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bottom-nav--auth {
  --bottom-nav-float: 48px;
  --bottom-nav-float-offset: 12px;
}

.bottom-nav__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0px);
  z-index: 1;
  display: flex;
  align-items: flex-end;
  height: var(--bottom-nav-bar-height);
  padding: 0 12px 11px;
  gap: 2px;
}

.bottom-nav__side {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: end;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-height: 48px;
  max-width: 56px;
  margin: 0 auto;
  padding-bottom: 1px;
  text-decoration: none;
  color: var(--bottom-nav-text);
}

.bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.bottom-nav__icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.bottom-nav__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 13px;
  height: 13px;
  text-align: center;
  white-space: nowrap;
}

.bottom-nav__item.is-active .bottom-nav__label {
  color: var(--bottom-nav-dark-1);
}

.bottom-nav__center {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 86px;
  max-width: 86px;
  height: var(--bottom-nav-bar-height);
  flex-shrink: 0;
  padding-bottom: 0;
}

.bottom-nav__circle {
  position: absolute;
  top: calc(-1 * var(--bottom-nav-float) + var(--bottom-nav-float-offset) + var(--bottom-nav-bar-height) * 0.03);
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 3px solid transparent;
  background:
    radial-gradient(circle at 50% 42%, var(--bottom-nav-gold-3) 0%, var(--bottom-nav-gold-4) 100%) padding-box,
    linear-gradient(180deg, var(--bottom-nav-dark-2) 0%, var(--bottom-nav-dark-2) 100%) border-box;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  z-index: 2;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

.bottom-nav__circle--promo img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.bottom-nav__circle--avatar {
  overflow: visible;
  width: 68px;
  height: 68px;
  border: none;
  background: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.bottom-nav__circle--avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #f0cc62;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-drag: none;
}

.bottom-nav__circle--avatar:hover {
  transform: translateX(-50%) translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.bottom-nav__circle:hover {
  transform: translateX(-50%) translateY(-1px);
}

.bottom-nav__circle:not(.bottom-nav__circle--avatar):not(.bottom-nav__circle--promo) img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.bottom-nav__avatar-plus {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8a2a 0%, #ff6a1a 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  border: 2px solid var(--bottom-nav-dark-1);
  pointer-events: none;
}

.bottom-nav__register {
  position: relative;
  left: auto;
  bottom: auto;
  transform: translateY(calc(var(--bottom-nav-bar-height) * 0.02));
  z-index: 1;
  width: 80px;
  height: 23px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bottom-nav-gold-2);
  text-decoration: none;
  border: 2px solid transparent;
  background:
    linear-gradient(90deg, var(--bottom-nav-dark-1) 0%, var(--bottom-nav-dark-1) 100%) padding-box,
    linear-gradient(
      174deg,
      var(--bottom-nav-gold-3) 5%,
      var(--bottom-nav-gold-2) 28%,
      var(--bottom-nav-gold-4) 51%,
      var(--bottom-nav-gold-1) 96%
    )
    border-box;
  transition: transform 0.2s ease;
}

.bottom-nav__register:hover {
  transform: translateY(calc(var(--bottom-nav-bar-height) * 0.02 - 1px));
}

.bottom-nav__center--auth {
  width: 104px;
  max-width: 104px;
}

.bottom-nav__balance {
  position: relative;
  left: auto;
  bottom: auto;
  transform: translateY(calc(var(--bottom-nav-bar-height) * 0.02));
  z-index: 1;
  min-width: 103px;
  max-width: 118px;
  height: 19px;
  flex-shrink: 0;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 8px;
  border: 2px solid transparent;
  background:
    linear-gradient(90deg, var(--bottom-nav-dark-1) 0%, var(--bottom-nav-dark-1) 100%) padding-box,
    linear-gradient(
      174deg,
      var(--bottom-nav-gold-3) 5%,
      var(--bottom-nav-gold-2) 28%,
      var(--bottom-nav-gold-4) 51%,
      var(--bottom-nav-gold-1) 96%
    )
    border-box;
}

.bottom-nav__balance-value {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  line-height: 12px;
}

.bottom-nav__balance-refresh {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.bottom-nav__balance-add {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bottom-nav-gold-2);
  color: var(--bottom-nav-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
  cursor: pointer;
}

.bottom-nav__balance-refresh:hover,
.bottom-nav__balance-add:hover {
  filter: brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .bottom-nav__circle,
  .bottom-nav__register {
    transition: none;
  }

  .bottom-nav__circle:hover {
    transform: translateX(-50%);
  }

  .bottom-nav__register:hover {
    transform: translateY(calc(var(--bottom-nav-bar-height) * 0.02));
  }

  .bottom-nav__balance-refresh:hover,
  .bottom-nav__balance-add:hover {
    filter: none;
  }
}

@media (min-width: 1024px) {
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 380px) {
  .bottom-nav__bar {
    padding: 0 8px 10px;
  }

  .bottom-nav__center {
    width: 80px;
    max-width: 80px;
  }

  .bottom-nav__center--auth {
    width: 96px;
    max-width: 96px;
  }

  .bottom-nav__circle {
    width: 52px;
    height: 52px;
  }

  .bottom-nav__circle--promo img {
    width: 32px;
    height: 32px;
  }

  .bottom-nav__circle--avatar {
    width: 61px;
    height: 61px;
  }

  .bottom-nav__avatar-plus {
    width: 18px;
    height: 18px;
    font-size: 12px;
  }

  .bottom-nav__register {
    width: 74px;
    height: 21px;
    font-size: 11px;
  }

  .bottom-nav__balance {
    min-width: 95px;
    max-width: 108px;
    height: 18px;
  }

  .bottom-nav__balance-value {
    font-size: 11px;
  }

  .bottom-nav__icon img {
    width: 22px;
    height: 22px;
  }

  .bottom-nav__label {
    font-size: 12px;
  }
}

/* ---- brand-gamification.css ---- */
/* Brazilian Bet — páginas internas (gamificação + conta) */

:root {
  --bb-mango: #ff8a3d;
  --bb-pink: #ff4d8d;
  --bb-turquoise: #2ec4b6;
  --bb-ipe: #ffd166;
  --bb-jungle: #0a2e1f;
  --bb-jungle-mid: #143d2e;
  --bb-jungle-light: #1e5240;
  --bb-areia: #f5e6d3;
  --bb-areia-muted: rgba(245, 230, 211, 0.55);
  --bb-areia-soft: rgba(245, 230, 211, 0.35);
  --bb-status-progress: var(--bb-turquoise);
  --bb-status-ready: var(--bb-ipe);
  --bb-status-action: var(--bb-mango);
  --bb-status-promo: var(--bb-pink);
  --font-display: var(--font-baloo), "Baloo 2", cursive;
  --font-ui: var(--font-sora), "Sora", Montserrat, sans-serif;
}

.bb-page-shell {
  color: var(--bb-areia);
}

.bb-display-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bb-btn-mango {
  background: var(--bb-mango);
  color: #1a1208;
  font-family: var(--font-display);
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.bb-btn-mango:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bb-link-turquoise {
  color: var(--bb-turquoise);
  font-weight: 600;
}

.bb-link-turquoise:hover {
  color: #5eead4;
}

.bb-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(245, 230, 211, 0.12);
  overflow: hidden;
}

.bb-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--bb-status-progress);
  transition: width 0.35s ease, background-color 0.25s ease;
}

.bb-progress-fill.is-ready {
  background: var(--bb-status-ready);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.45);
}

.bb-promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(245, 230, 211, 0.1);
  background: linear-gradient(135deg, var(--bb-jungle-mid) 0%, var(--bb-jungle) 55%, #071a12 100%);
}

.bb-promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 92% 18%, rgba(255, 209, 102, 0.18), transparent 42%);
  pointer-events: none;
}

.bb-promo-banner__chip {
  position: absolute;
  top: 12px;
  right: 12px;
  opacity: 0.85;
  pointer-events: none;
}

.bb-empty-areia {
  color: var(--bb-areia-soft);
}

/* ---- casino-scroll.css ---- */
/* ---- Cassino: rolagem infinita ---- */

.casino-carregando {
  margin-top: 1rem;
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

/* A sentinela e so o gatilho da proxima pagina: precisa ocupar
   alguma altura para o observador enxerga-la. */
[data-casino-sentinela] {
  height: 1px;
}

/* ---- casino-search-modal.css ---- */
/* ============================================================
   Modal de busca de jogos.

   Unica fonte do visual do modal (o ui.css tinha uma segunda
   versao das mesmas classes e as duas brigavam).

   Estrutura: cabecalho + barra de ferramentas + categorias ficam
   parados; so o .csm-body rola. No celular o painel vira tela
   cheia e a barra de ferramentas se reorganiza em duas linhas.
   ============================================================ */

.csm-backdrop {
  position: fixed;
  inset: 0;
  /* Acima da navtop (1300), da sidebar (1100) e do menu de baixo (50):
     com z-index menor a navtop cobria o cabecalho do modal e o X de
     fechar ficava inalcancavel no celular. Mesma faixa dos outros
     modais do site (nav-modal 2000, sidebar-pwa 2100). */
  z-index: 2200;
  /* O modal fica dentro do <main>, que tem a regra
     ".home-page-main > * + * { margin-top: 1.5rem }". Esse margin
     empurrava a camada fixa 24px para baixo e ela deixava de cobrir a
     tela inteira (a navtop aparecia por cima do cabecalho). */
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
}

.csm-panel {
  width: min(1100px, 100%);
  max-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #16181d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ---- Cabecalho ---- */

.csm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 8px;
  color: #fff;
}

.csm-close {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 0;
  border-radius: 8px;
  background: #2a2e38;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

/* ---- Barra de ferramentas ---- */

.csm-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 12px;
  flex-wrap: wrap;
}

.csm-scope,
.csm-provider {
  position: relative;
  flex-shrink: 0;
  min-width: 0;
}

.csm-scope-btn,
.csm-tool-btn {
  max-width: 100%;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  background: #2a2e38;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.csm-scope-btn:hover,
.csm-tool-btn:hover {
  background: #333844;
}

.csm-provider-btn.active {
  outline: 1px solid var(--ci-primary-color, #f5a524);
}

.csm-search {
  flex: 1 1 200px;
  min-width: 0;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #22262f;
  border-radius: 8px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.csm-search:focus-within {
  border-color: var(--ci-primary-color, #f5a524);
}

.csm-search-ico {
  display: inline-flex;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
}

.csm-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  outline: none;
  /* 16px evita o zoom automatico do Safari no iPhone ao focar. */
  font-size: 16px;
  font-weight: 600;
}

/* O X nativo do input[type=search] (o azul do Chrome, que so aparece
   no hover) fica escondido: quem limpa a busca e o .csm-clear cinza. */
.csm-search-input::-webkit-search-cancel-button,
.csm-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.csm-clear {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-weight: 800;
}

/* ---- Menus suspensos (escopo e provedor) ---- */

.csm-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  min-width: 180px;
  /* Nunca passa da borda da tela em telas estreitas. */
  max-width: min(280px, calc(100vw - 32px));
  max-height: min(280px, 50vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.csm-menu-right {
  left: auto;
  right: 0;
}

.csm-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 7px;
  cursor: pointer;
}

.csm-menu button:hover,
.csm-menu button.active {
  background: rgba(245, 165, 36, 0.16);
  color: #fff;
}

/* ---- Categorias ---- */

.csm-cats-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px 10px;
  min-width: 0;
}

.csm-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.csm-cats::-webkit-scrollbar {
  display: none;
}

.csm-chip {
  flex-shrink: 0;
  border: 1px solid transparent;
  background: #2a2e38;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.csm-chip.active {
  background: color-mix(in srgb, var(--ci-primary-color, #f5a524) 88%, #111);
  color: #111;
  border-color: var(--ci-primary-color, #f5a524);
}

/* ---- Resultados ---- */

.csm-body {
  flex: 1 1 auto;
  /* min-height: 0 deixa a area rolar de verdade dentro do flex,
     inclusive em tela baixa (celular deitado). */
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 16px 12px;
}

.csm-section {
  margin-bottom: 18px;
}

.csm-section h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  overflow-wrap: anywhere;
}

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

.csm-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  padding: 32px 12px;
  margin: 0;
}

/* ---- Rodape: "20 de 8425 jogo(s)" + progresso ---- */

.csm-footer {
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.csm-progress-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.csm-progress-meta strong {
  color: #fff;
}

.csm-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.csm-progress > div {
  height: 100%;
  background: var(--ci-primary-color, #f5a524);
  transition: width 0.25s;
}

/* O JS usa o atributo hidden nessas partes. */
.csm-menu[hidden],
.csm-clear[hidden],
.csm-footer[hidden] {
  display: none;
}

/* ============================================================
   Telas menores
   ============================================================ */

@media (max-width: 1100px) {
  .csm-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .csm-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Celular: o modal ocupa a tela inteira. */
@media (max-width: 640px) {
  .csm-backdrop {
    padding: 0;
    align-items: stretch;
  }

  .csm-panel {
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    padding-top: env(safe-area-inset-top, 0px);
  }

  .csm-header {
    padding: 12px 12px 6px;
  }

  /* Duas linhas: a busca em cima, os tres filtros dividindo a de baixo
     em partes iguais — assim o botao "Provedor" nunca passa da borda. */
  .csm-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "busca  busca  busca"
      "escopo ordem  provedor";
    gap: 8px;
    padding: 6px 12px 10px;
  }

  .csm-search    { grid-area: busca; }
  .csm-scope     { grid-area: escopo; }
  .csm-toolbar > .csm-tool-btn { grid-area: ordem; }
  .csm-provider  { grid-area: provedor; }

  .csm-scope,
  .csm-provider,
  .csm-toolbar > .csm-tool-btn {
    min-width: 0;
  }

  .csm-scope-btn,
  .csm-toolbar > .csm-tool-btn,
  .csm-provider-btn {
    width: 100%;
    padding: 0 8px;
  }

  .csm-cats-row {
    padding: 0 12px 8px;
  }

  .csm-body {
    padding: 4px 12px 12px;
  }

  .csm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .csm-section {
    margin-bottom: 14px;
  }

  .csm-footer {
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

/* Telas minusculas (abaixo de 330px): 2 colunas para a capa nao virar
   um selo. Em 360px (Galaxy) e 375px (iPhone) ficam 3 colunas. */
@media (max-width: 330px) {
  .csm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .csm-scope-btn,
  .csm-tool-btn {
    padding: 0 8px;
    font-size: 0.76rem;
  }
}

/* ---- chest-page.css ---- */
.chest-page {
  min-height: calc(100vh - 120px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 0.75rem 3rem;
  background-size: cover;
  background-position: center;
  color: var(--bb-areia, #f5e6d3);
}

.chest-profile-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 18, 0.72);
}

.chest-profile-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chest-profile-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.65rem;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.chest-profile-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  text-transform: capitalize;
}

.chest-profile-rank {
  margin-top: 0.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.chest-currency-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chest-currency-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 2.75rem;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}

.chest-currency-img {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.chest-section {
  margin-bottom: 1.5rem;
}

.chest-section-title {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--chest-accent, #f3b344);
  text-transform: uppercase;
}

.chest-inventory-empty {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(245, 230, 211, 0.2);
  background: rgba(245, 230, 211, 0.06);
}

.chest-inventory-empty p {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bb-areia-soft, rgba(245, 230, 211, 0.35));
  text-transform: uppercase;
}

.chest-shop-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  margin-bottom: 1rem;
  border-radius: 0.35rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.chest-shop-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
}

.chest-shop-banner span {
  position: relative;
  z-index: 1;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.65);
}

.chest-shop-grid {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chest-shop-card {
  overflow: hidden;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 15, 0.82);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chest-shop-card-media {
  position: relative;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 82, 64, 0.5), rgba(10, 46, 31, 0.8));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.25rem;
}

.chest-shop-card-media::after {
  content: "🧺";
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.25;
  pointer-events: none;
}

.chest-shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.chest-shop-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem 0.4rem 0.5rem;
  flex: 1;
}

.chest-shop-card-body h3 {
  font-size: 0.62rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.15;
  text-align: center;
  min-height: 1.4rem;
}

.chest-shop-cost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  align-self: center;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.chest-shop-cost .chest-currency-img {
  width: 0.85rem;
  height: 0.85rem;
}

.chest-shop-btn {
  cursor: pointer;
  width: 100%;
  border: none;
  border-radius: 0.4rem;
  padding: 0.45rem 0.25rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(245, 230, 211, 0.12);
  color: var(--bb-areia-soft, rgba(245, 230, 211, 0.35));
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  margin-top: auto;
  line-height: 1.2;
}

.chest-shop-btn--ready {
  background: var(--chest-accent, var(--bb-mango, #ff8a3d));
  color: #111;
}

.chest-shop-btn:hover:not(:disabled) {
  opacity: 0.92;
}

.chest-shop-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.chest-shop-btn:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.chest-loading,
.chest-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
}

.chest-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-size: 0.875rem;
}

.chest-btn {
  cursor: pointer;
  border: none;
  border-radius: 0.55rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chest-btn--primary {
  color: #0b0d13;
}

.chest-disclosure {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.chest-foot-link {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.82rem;
}

.chest-foot-link a {
  color: var(--chest-accent, #f3b344);
  text-decoration: none;
}

.chest-foot-link a:hover {
  text-decoration: underline;
}

.chest-history {
  margin-top: 1.5rem;
}

.chest-history h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.chest-history ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.chest-history li {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  font-size: 0.78rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.7);
}

.chest-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.chest-modal {
  width: min(100%, 22rem);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #151922;
  padding: 1.5rem;
  text-align: center;
}

.chest-modal-opening p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.chest-modal-chest-img {
  width: 8rem;
  height: auto;
  object-fit: contain;
}

.chest-modal-chest-fallback {
  width: 5rem;
  height: 4rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
}

.chest-shake {
  display: inline-flex;
  animation: chest-shake 0.4s ease-in-out infinite;
}

@keyframes chest-shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chest-shake {
    animation: none;
  }
}

.chest-modal-reveal {
  animation: chest-reveal 0.35s ease-out;
}

@keyframes chest-reveal {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.chest-prize-img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.chest-prize-fallback {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.chest-modal-reveal h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
}

.chest-modal-reveal p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.chest-modal-error p {
  color: #fca5a5;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .chest-history li {
    grid-template-columns: 1fr;
  }

  .chest-shop-banner span {
    font-size: 1.45rem;
  }

  .chest-shop-grid {
    gap: 0.3rem;
  }

  .chest-shop-card-body h3 {
    font-size: 0.5rem;
    min-height: 1.2rem;
  }

  .chest-shop-btn {
    font-size: 0.48rem;
    padding: 0.38rem 0.1rem;
  }

  .chest-shop-cost {
    font-size: 0.52rem;
  }
}

@media (max-width: 380px) {
  .chest-page {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  .chest-shop-grid {
    gap: 0.25rem;
  }
}

/* ---- footer.css ---- */
/* Footer — espelhado do Vue FooterComponent */

.footer-hero {
  border-top: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
  position: relative;
  width: 100%;
  z-index: 1;
  padding: 1rem;
  padding-bottom: calc(80px + 1rem);
  background: var(--footer-color, transparent);
}

@media (min-width: 768px) {
  .footer-hero {
    padding-bottom: 1.25rem;
  }
}

.footer-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem 1rem;
}

@media (min-width: 768px) {
  .footer-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 0.5rem;
  }
}

@media (min-width: 1280px) {
  .footer-info-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    padding: 2rem 0.5rem;
  }
}

.footer-logo-col {
  display: none;
}

@media (min-width: 1280px) {
  .footer-logo-col {
    display: flex;
    flex-direction: column;
  }
}

.footer-logo-col img {
  max-width: 180px;
  height: 5rem;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-col-title {
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--text-strong, #fff);
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 0.85;
}

.footer-menu a {
  color: var(--text-soft, #dfe3e6);
  font-size: 0.875rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-menu a:hover {
  color: var(--fire-soft, #ff9a6b);
  padding-left: 4px;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--th-footer-cta-start, #e63b2e) 0%, var(--th-footer-cta-end, #ff6a1a) 100%);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1rem;
  box-shadow: 0 6px 22px rgba(255, 106, 26, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.footer-contact:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(255, 106, 26, 0.5);
}

.footer-payment-col {
  display: none;
  flex-direction: column;
}

@media (min-width: 768px) {
  .footer-payment-col {
    display: flex;
  }
}

.footer-pix-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: rgba(50, 188, 173, 0.12);
  border: 1px solid rgba(50, 188, 173, 0.35);
  color: #32bcad;
  font-weight: 800;
  font-size: 0.85rem;
  width: fit-content;
}

.footer-pix-badge svg {
  width: 22px;
  height: 22px;
}

.footer-expand-wrap {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
  text-align: center;
  padding: 0 1rem;
}

.footer-text-fade {
  position: relative;
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.footer-text-fade.expanded {
  max-height: 2200px;
}

.footer-text-fade:not(.expanded)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--surface-2, #111520));
  pointer-events: none;
}

.footer-text-fade p {
  padding-top: 20px;
  font-size: 0.875rem;
  color: var(--text-soft, #dfe3e6);
  opacity: 0.9;
  line-height: 1.55;
  text-align: left;
}

.footer-text-fade strong {
  display: block;
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-strong, #fff);
}

.footer-text-fade strong:first-of-type {
  margin-top: 0.75rem;
}

.footer-ver-mais {
  color: #adadad;
  font-size: 14px;
  padding: 8px 16px;
  cursor: pointer;
  opacity: 0.8;
  background: transparent;
  border: 0;
  margin: 0 auto 1rem;
  transition: opacity 0.2s;
}

.footer-ver-mais:hover {
  opacity: 1;
}

.footer-made {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
}

.footer-made-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-soft, #dfe3e6);
}

.footer-made-row a {
  color: var(--text-strong, #fff);
  text-decoration: underline;
  transition: color 0.15s;
}

.footer-made-row a:hover {
  color: var(--fire-soft, #ff9a6b);
}

.footer-heart {
  color: var(--fire-soft, #ff9a6b);
}

/* ---- game-search.css ---- */
.gs-wrap {
  width: 100%;
}

.gs-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1d24;
  border: 1.5px solid color-mix(in srgb, var(--ci-primary-color, #f5a524) 75%, #fff);
  border-radius: 10px;
  padding: 0 14px;
  min-height: 46px;
  cursor: pointer;
  text-align: left;
}

.gs-trigger:hover {
  background: #1f232b;
}

.gs-search-icon {
  color: var(--ci-primary-color, #f5a524);
  display: inline-flex;
  flex-shrink: 0;
}

.gs-trigger-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- home-banner.css ---- */
/* Home banner carousel — slide + autoplay */

.home-banner-carousel {
  position: relative;
  width: 100%;
  padding: 17px 0 35px;
}

.home-banner-viewport {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  line-height: 0;
  background: var(--carousel-banners, #1e2024);
}

.home-banner-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.home-banner-track.no-anim {
  transition: none;
}

.home-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  line-height: 0;
}

.home-banner-link {
  display: block;
  line-height: 0;
}

.home-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(42vw, 420px);
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  background: var(--carousel-banners, #1e2024);
}

.home-banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}

.home-banner-carousel:hover .home-banner-nav {
  opacity: 1;
}

.home-banner-prev {
  left: 10px;
}

.home-banner-next {
  right: 10px;
}

.home-banner-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.home-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.home-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.home-banner-dot.active {
  width: 22px;
  background: var(--fire-soft, #ff9a6b);
}

@media (min-width: 769px) {
  .home-banner-carousel {
    padding-top: 12px;
  }

  .home-banner-img {
    max-height: min(63vw, 630px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-banner-track {
    transition: none;
  }
}

@media (max-width: 768px) {
  .home-banner-carousel {
    padding: 0;
  }

  .home-banner-viewport {
    border-radius: 16px;
  }

  .home-banner-img {
    max-height: 234px;
  }

  .home-banner-nav {
    opacity: 0.85;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .home-banner-dots {
    bottom: 10px;
  }
}

/* ---- home-highlights.css ---- */
.home-highlights {
  width: 100%;
  overflow: visible;
}

.home-highlights-track {
  display: flex;
  align-items: flex-end;
  gap: clamp(1.1rem, 3vw, 1.85rem);
  margin: 0;
  padding: 0.35rem 0 0.85rem;
  list-style: none;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-highlights-track::-webkit-scrollbar {
  display: none;
}

.home-highlights-item-wrap {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.home-highlights-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  min-width: 6.75rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.home-highlights-item:hover {
  transform: translateY(-2px);
}

.home-highlights-thumb {
  display: block;
  width: clamp(5.25rem, 12vw, 6.75rem);
  line-height: 0;
  overflow: visible;
  background: transparent;
}

.home-highlights-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  -webkit-user-drag: none;
}

.home-highlights-mark {
  display: block;
  width: 2.625rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--th-home-accent, #ff9a6b);
}

@media (min-width: 769px) {
  .home-highlights-track {
    gap: clamp(0.77rem, 2.1vw, 1.3rem);
  }

  .home-highlights-item {
    gap: 0.455rem;
    min-width: 4.725rem;
  }

  .home-highlights-thumb {
    width: clamp(3.675rem, 8.4vw, 4.725rem);
  }

  .home-highlights-mark {
    width: 1.8375rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-highlights-item {
    transition: none;
  }

  .home-highlights-item:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .home-highlights-track {
    gap: 0.67rem;
    padding-bottom: 0.65rem;
  }

  .home-highlights-item {
    min-width: 3.94rem;
    gap: 0.45rem;
  }

  .home-highlights-thumb {
    width: clamp(3.33rem, 12.6vw, 4.2rem);
  }

  .home-highlights-mark {
    width: 1.4rem;
  }
}

/* ---- home-providers.css ---- */
/* ---- Faixa de provedores da home ---- */
/* Os cartoes usam o mesmo .section-scroll dos carrosseis de jogos. */

.home-provider-card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: .5rem;
  border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--th-home-card, #0a0f1a);
  transition: border-color .3s, box-shadow .3s, transform .2s;
}

.home-provider-card:hover {
  border-color: var(--th-home-hover, rgba(255, 106, 26, .5));
  box-shadow: 0 12px 40px color-mix(in srgb, var(--th-home-accent, #ff6a1a) 20%, transparent);
  transform: translateY(-2px);
}

.home-provider-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Provedor sem logo cadastrado: mostra o nome. */
.home-provider-name {
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, .8);
}

/* ---- missions-card.css ---- */
/* Clone do card gamification-list-item (estrutura/compactação) */

.missions-gli-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  justify-content: flex-start;
}

.gamification-list-item {
  --gli-width: 152px;
  --gli-padding: 0;
  --gli-gap: 0;
  --gli-border-radius: 8px;
  --gli-accent: var(--bb-pink, #ff4d8d);
  --gli-btn: var(--bb-mango, #ff8a3d);
  --gli-progress: var(--bb-turquoise, #2ec4b6);

  width: var(--gli-width);
  max-width: var(--gli-width);
  min-width: var(--gli-width);
  padding: var(--gli-padding);
  gap: var(--gli-gap);
  border-radius: var(--gli-border-radius);
  background: rgba(20, 61, 46, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  box-sizing: border-box;
}

.gamification-list-item.is-mobile {
  --gli-width: calc(50% - 6px);
  min-width: 0;
  max-width: none;
  width: calc(50% - 6px);
}

@media (min-width: 640px) {
  .gamification-list-item.is-mobile {
    --gli-width: 152px;
    width: var(--gli-width);
    max-width: var(--gli-width);
    min-width: var(--gli-width);
  }
}

.gamification-list-item.is-ready {
  --gli-progress: var(--bb-ipe, #ffd166);
  --gli-btn: var(--bb-ipe, #ffd166);
}

.gamification-list-item.is-ready .gamification-list-item__header {
  background: var(--bb-ipe, #ffd166);
}

.gamification-list-item__header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  background: var(--gli-accent);
  min-height: 34px;
  padding: 6px 8px;
}

.gamification-list-item__title-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.gamification-list-item__title-text {
  color: #111;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gamification-list-item__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow: hidden;
  padding: 8px 8px 8px;
  gap: 6px;
  box-sizing: border-box;
}

.gamification-list-item__reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 2px;
}

.gamification-list-item__reward-label {
  width: 100%;
  text-align: center;
  color: var(--gli-accent);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
}

.gamification-list-item__reward-description {
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  word-break: break-word;
}

.gamification-list-item__progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.gamification-list-item__progress-container {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 16px;
  padding-top: 11px;
}

.gamification-list-item__progress-bar {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.gamification-list-item__progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gli-progress, var(--bb-turquoise, #2ec4b6));
}

.gamification-list-item__progress-fill.is-ready {
  background: var(--bb-ipe, #ffd166);
  box-shadow: 0 0 8px rgba(255, 209, 102, 0.45);
}

.gamification-list-item__progress-indicator {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.gamification-list-item__progress-indicator-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.gamification-list-item__image-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.gamification-list-item__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
}

.gamification-list-item__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gamification-list-item__image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  opacity: 0.4;
}

.gamification-list-item__cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--gli-btn);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
}

.gamification-list-item__cta-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.gamification-list-item__terms-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.gamification-list-item__terms-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--bb-turquoise, #2ec4b6);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  padding: 2px 0 0;
  cursor: pointer;
}

.gamification-list-item__terms-button:hover {
  color: #5eead4;
}

/* ---- navichat.css ---- */
/* NaviChat — sobe o botão acima do BottomNav no mobile */
@media (max-width: 1024px) {
  #chat-widget-button {
    bottom: calc(var(--layout-bottom-nav-height, 77px) + 12px) !important;
    z-index: 49 !important;
  }

  #chat-widget-badge {
    bottom: calc(var(--layout-bottom-nav-height, 77px) + 52px) !important;
    z-index: 49 !important;
  }

  #jc-panel {
    bottom: calc(var(--layout-bottom-nav-height, 77px) + 72px) !important;
    z-index: 49 !important;
  }
}

/* ---- navtop.css ---- */
/* NavTop — espelhado do Vue NavTopComponent + MakeDeposit */

.nav-indexx {
  z-index: 1300;
  isolation: isolate;
}

.pydSP {
  height: 72px;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.navtop-inner {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.navtop-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  height: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.navtop-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 30px;
}

.navtop-logo a {
  display: flex;
  align-items: center;
  max-height: 64px;
  color: #fff;
  white-space: nowrap;
}

.navtop-logo-text {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.navtop-logo-img {
  max-height: 64px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
}

.navtop-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  margin-left: 20px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.navtop-links::-webkit-scrollbar {
  display: none;
}

.navtop-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  color: #70dc49;
  flex-shrink: 0;
}

.navtop-home.active {
  border-color: #70dc49;
}

.navtop-home svg {
  width: 20px;
  height: 20px;
}

.navtop-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  height: 36px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.navtop-chip:hover,
.navtop-chip.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.navtop-chip-svg {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.navtop-chip-svg svg {
  width: 16px;
  height: 16px;
}

.navtop-chip-icon {
  font-size: 14px;
  line-height: 1;
}

.navtop-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.navtop-auth-btns,
.navtop-auth-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-register-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--fire-1) 0%, var(--fire-2) 55%, var(--fire-3) 100%);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--fire-2) 45%, transparent);
  cursor: pointer;
}

.btn-login-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 200, 170, 0.95);
  border: 1.5px solid rgba(255, 106, 26, 0.5);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 14px;
  background: rgba(255, 106, 26, 0.08);
  cursor: pointer;
}

.deposit-trigger {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-deposit-nav {
  border: 0;
  border-radius: 12px;
  padding: 6px 20px;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(to right, var(--fire-1), var(--fire-2), var(--fire-3));
  box-shadow: 0 4px 18px var(--fire-glow);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-deposit-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px var(--fire-glow);
}

.btn-deposit-pix {
  position: absolute;
  top: -7px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 30px;
  padding: 0 3px;
  background: linear-gradient(135deg, #f5e6a8, #e8f5a8);
  box-shadow: 0 2px 10px rgba(93, 190, 157, 0.35);
  font-size: 10px;
  font-weight: 700;
  color: #1a3d32;
  line-height: 1.4;
  z-index: 1;
  pointer-events: none;
}

.wallet-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 4px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fire-soft);
  font-weight: 700;
  font-size: 0.875rem;
}

.wallet-refresh {
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
}

.wallet-nav strong {
  cursor: pointer;
}

.wallet-nav:hover {
  border-color: rgba(255, 106, 26, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.bell-nav {
  position: relative;
  margin-left: 4px;
  color: gold;
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 4px;
  cursor: pointer;
}

.bell-nav svg {
  width: 22px;
  height: 22px;
}

.bell-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.notif-modal-shell {
  width: min(560px, calc(100vw - 24px));
  max-height: min(80vh, 640px);
  margin: 8vh auto 0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #151b28 0%, #0f141c 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.notif-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notif-modal-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.notif-modal-header p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: rgba(244, 246, 248, 0.55);
}

.notif-modal-body {
  overflow-y: auto;
  padding: 12px 14px 18px;
}

.notif-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 48px 16px;
  text-align: center;
  color: rgba(244, 246, 248, 0.55);
}

.notif-empty svg {
  width: 40px;
  height: 40px;
  opacity: 0.35;
  color: gold;
}

.notif-item--unread {
  border-left: 2px solid var(--ci-primary-color, #f5a524);
  background: rgba(245, 165, 36, 0.06);
}

.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.notif-item:last-child {
  margin-bottom: 0;
}

.notif-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245, 165, 36, 0.12);
  color: #f5a524;
}

.notif-item-icon svg {
  width: 20px;
  height: 20px;
}

.notif-item-content {
  min-width: 0;
  flex: 1;
}

.notif-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.notif-item-top h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.notif-item-top time {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: rgba(244, 246, 248, 0.45);
}

.notif-item-content > p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(244, 246, 248, 0.72);
  white-space: pre-wrap;
}

.notif-item-link {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f5a524;
  color: #0b1220;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.notif-item-link:hover {
  filter: brightness(1.05);
}

.avatar-menu-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  height: 36px;
}

.avatar-trigger {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  line-height: 0;
}

.avatar-notif-badge {
  position: absolute;
  top: -1px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f5c842;
  color: #130f06;
  font-size: 10px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

.avatar-nav {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 106, 26, 0.45);
  display: block;
  vertical-align: middle;
}

/* Modals */
.nav-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 4vh 12px;
}

.auth-modal-shell {
  width: 100%;
  max-width: 760px;
  border-radius: 14px;
  overflow: hidden;
  background: #1e2024;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .auth-modal-shell {
    flex-direction: row;
    min-height: 520px;
  }
}

.auth-modal-banner {
  display: none;
  width: 50%;
  background: #000;
  min-height: 200px;
}

@media (min-width: 768px) {
  .auth-modal-banner {
    display: block;
  }
}

.auth-banner-fallback {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  padding: 2rem;
  text-align: center;
}

.auth-modal-surface {
  width: 100%;
  padding: 1rem 1.25rem 1.5rem;
  background: #1e2024;
}

@media (min-width: 768px) {
  .auth-modal-surface {
    width: 50%;
  }
}

.auth-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.auth-close {
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

.auth-title {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}

.auth-subtitle {
  margin: -0.5rem 0 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.auth-input {
  width: 100%;
  padding: 15px 20px;
  border: none;
  outline: none;
  border-radius: 8px;
  background: var(--input-primary, #2a2d2e);
  color: #fff;
  margin-bottom: 0.5rem;
}

.auth-input::placeholder {
  color: #adafb0;
}

.pass-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.referral-toggle {
  width: 100%;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--fire-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.auth-terms {
  margin-bottom: 0.75rem;
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}

.auth-error {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #f87171;
}

.auth-switch {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.btn-fire-lg {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--fire-1), var(--fire-2), var(--fire-3));
  box-shadow: 0 6px 24px var(--fire-glow);
  cursor: pointer;
}

.btn-fire-lg:disabled {
  opacity: 0.7;
  cursor: wait;
}

.link-fire {
  color: var(--fire-soft);
}

.link-fire-muted {
  color: rgba(255, 255, 255, 0.55);
}

.forgot-modal {
  width: 100%;
  max-width: 28rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1e2024;
  padding: 1.5rem;
}

/* Deposit modal */
.deposit-modal-box {
  width: 100%;
  max-width: 420px;
  background: #1a1d23;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.deposit-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 20;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  padding: 7px 12px;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.deposit-banner {
  background: transparent;
  padding: 1.35rem 1.25rem 0.35rem;
  text-align: left;
}

.deposit-body {
  padding: 0.5rem 1.25rem 1.35rem;
}

.deposit-tip {
  background: #213326;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  margin: 0.75rem 0;
  color: #22912f;
  font-size: 0.8rem;
  font-weight: 600;
}

.deposit-bonus-banner {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  text-align: center;
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
}

.deposit-meta-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.deposit-meta-row > div {
  flex: 1;
}

.deposit-meta-row label {
  display: block;
  font-size: 12px;
  color: #87898a;
  opacity: 0.8;
  font-weight: 700;
  margin-bottom: 4px;
}

.deposit-meta-row input {
  width: 100%;
  padding: 7px 10px;
  background: var(--input-primary, #2a2d2e);
  border-radius: 5px;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.7;
}

.deposit-amount-label {
  display: block;
  color: #fff;
  font-weight: 550;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.deposit-amount-field {
  background: #252830;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px 12px;
  margin-bottom: 10px;
}

.deposit-amount-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.deposit-amount-value {
  display: flex;
  align-items: center;
  gap: 6px;
}

.deposit-amount-value > span {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.deposit-amount-value input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  outline: none;
  padding: 0;
  /* hide spinner */
  appearance: textfield;
  -moz-appearance: textfield;
}

.deposit-amount-value input::-webkit-outer-spin-button,
.deposit-amount-value input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.deposit-amount-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.deposit-amount-wrap input {
  width: 100%;
  padding: 10px 130px 10px 42px;
  background: #424344;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}

.deposit-currency {
  position: absolute;
  left: 14px;
  z-index: 2;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.deposit-brl {
  position: absolute;
  right: 14px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.deposit-saldo-preview {
  position: absolute;
  right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  white-space: nowrap;
}

.deposit-bonus-card {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid transparent;
}

.deposit-bonus-card.is-active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(245, 165, 36, 0.12));
  border-color: rgba(34, 197, 94, 0.35);
}

.deposit-bonus-card.is-muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.deposit-bonus-card-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #fff;
  font-size: 0.95rem;
}

.deposit-bonus-card-tag {
  display: inline-flex;
  align-items: center;
  background: #22c55e;
  color: #04120a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
}

.deposit-bonus-card-main strong {
  font-size: 1.05rem;
  font-weight: 900;
  color: #4ade80;
}

.deposit-bonus-card-eq {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.deposit-bonus-card-total {
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.deposit-bonus-card-total strong {
  color: #fff;
  font-weight: 800;
}

.deposit-bonus-card-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.deposit-bonus-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #22c55e;
}

.deposit-bonus-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.deposit-accept-bonus {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.deposit-accept-bonus input {
  accent-color: var(--ci-primary-color, #f5a524);
}

.deposit-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.deposit-tier {
  position: relative;
  background: #2a2e38;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 16px 8px 14px;
  min-height: 54px;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.deposit-tier:hover {
  background: #313642;
}

.deposit-tier.active {
  border-color: #f5a524;
  background: #2a2e38;
  box-shadow: none;
}

.deposit-tier-value {
  display: block;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.deposit-tier-hot {
  position: absolute;
  top: -7px;
  left: 8px;
  background: #f5a524;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(245, 165, 36, 0.45);
}

.deposit-tier-bonus {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #4ade80;
  text-align: center;
}

.deposit-tier-check {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.45);
}

.btn-deposit-submit {
  width: 100%;
  margin-top: 1.15rem;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(90deg, #f5a524 0%, #ffd34d 50%, #f5a524 100%);
  color: #111;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 13px 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(245, 165, 36, 0.35);
}

.btn-deposit-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.deposit-pix-result {
  padding-top: 2.5rem;
  text-align: center;
}

.deposit-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.deposit-pix-title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.deposit-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 1rem;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}

.deposit-pix-amount {
  font-size: 2em;
  font-weight: 700;
  color: var(--ci-primary-color, var(--fire-2));
  margin-bottom: 10px;
}

.btn-copy-pix {
  width: 100%;
  max-width: 270px;
  margin: 0.75rem auto;
  display: block;
  padding: 10px 16px;
  border-radius: 5px;
  border: 0;
  background: color-mix(in srgb, var(--ci-primary-color, var(--fire-2)) 20%, transparent);
  color: var(--ci-primary-color, var(--fire-soft));
  font-weight: 600;
  cursor: pointer;
}

.deposit-timer {
  padding: 20px 0;
  text-align: left;
}

.deposit-timer > p {
  color: #cc833c;
  font-weight: 800;
  font-size: 13px;
}

.time-display {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 8px 0;
}

.progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-bar > div {
  height: 100%;
  background: var(--ci-primary-color, var(--fire-2));
  transition: width 1s linear;
}

.btn-paid-pix {
  background: #213326;
  color: #22892e;
  padding: 5px 15px;
  border-radius: 5px;
  border: 0;
  margin: 10px auto;
  display: block;
  cursor: pointer;
  font-weight: 600;
}

/* User dropdown — modelo perfil (compacto, sem scroll) */
.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(300px, calc(100vw - 16px));
  max-height: none;
  overflow: visible;
  background: var(--th-usermenu-bg, #151921);
  border: 1px solid var(--th-usermenu-border, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  z-index: 80;
  padding: 8px;
  color: var(--th-usermenu-text, #fff);
}

.ud-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: start;
  margin-bottom: 6px;
}

.ud-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--th-usermenu-accent, #f5a524) 45%, transparent);
}

.ud-head-main {
  min-width: 0;
}

.ud-name {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ud-rank {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.ud-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--th-usermenu-accent, #f5a524) 70%, #8a5a20),
    var(--th-usermenu-accent, #f5a524)
  );
  color: var(--th-usermenu-accent-text, #1a1206);
  font-size: 9px;
  font-weight: 800;
}

.ud-rank-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--th-usermenu-accent, #f5a524);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.ud-progress-row {
  margin-top: 5px;
}

.ud-progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ud-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--th-usermenu-accent, #f5a524), #ffcf70);
  transition: width 0.35s ease;
}

.ud-progress-meta {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ud-edit {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ud-edit svg {
  width: 13px;
  height: 13px;
}

.ud-edit:hover {
  color: var(--th-usermenu-accent, #f5a524);
  border-color: rgba(245, 165, 36, 0.35);
}

.ud-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}

.ud-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  border: 0;
  background: var(--th-usermenu-accent, #f5a524);
  color: var(--th-usermenu-accent-text, #1a1206);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.ud-cta svg {
  width: 12px;
  height: 12px;
}

.ud-cta:hover {
  filter: brightness(1.06);
}

.ud-cta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: #1a1206;
  color: var(--th-usermenu-accent, #f5a524);
  font-size: 9px;
  font-weight: 800;
}

.ud-features {
  list-style: none;
  margin: 0 0 6px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ud-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ud-feature:hover {
  background: rgba(245, 165, 36, 0.1);
}

.ud-feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--th-usermenu-accent, #f5a524);
  flex-shrink: 0;
}

.ud-feature-icon svg {
  width: 12px;
  height: 12px;
}

.ud-feature-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ud-updated {
  display: none;
}

.ud-wallet {
  border-radius: 10px;
  background: var(--th-usermenu-section, #1c212b);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 8px;
  margin-bottom: 6px;
}

.ud-wallet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ud-wallet-email {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.ud-wallet-email svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.ud-wallet-email span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ud-wallet-actions {
  display: inline-flex;
  gap: 4px;
}

.ud-wallet-actions button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ud-wallet-actions svg {
  width: 12px;
  height: 12px;
}

.ud-wallet-actions button:hover {
  color: var(--th-usermenu-accent, #f5a524);
}

.ud-wallet-balance {
  margin: 6px 0 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--th-usermenu-accent, #f5a524);
  line-height: 1.1;
}

.ud-wallet-note {
  margin: 2px 0 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

.ud-deposit {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--th-usermenu-accent, #f5a524);
  color: var(--th-usermenu-accent-text, #1a1206);
  font-weight: 900;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.ud-deposit svg {
  width: 14px;
  height: 14px;
}

.ud-deposit:hover {
  filter: brightness(1.05);
}

.ud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 6px;
}

.ud-grid-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--th-usermenu-section, #1c212b);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.ud-grid-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ud-grid-item svg {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.ud-grid-item:hover {
  border-color: rgba(245, 165, 36, 0.35);
  background: rgba(245, 165, 36, 0.08);
}

.ud-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ud-logout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--th-usermenu-logout, #ef5b7a);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 0;
}

.ud-logout svg {
  width: 13px;
  height: 13px;
}

.ud-logout:hover {
  filter: brightness(1.15);
}

.ud-session {
  margin: 0;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  line-height: 1.25;
  white-space: nowrap;
}

.ud-session strong {
  color: rgba(255, 255, 255, 0.7);
}

.ud-avatar-btn {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  border-radius: 999px;
}

.ud-avatar-btn:hover .ud-avatar {
  border-color: var(--th-usermenu-accent, #f5a524);
}

.profile-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.profile-modal {
  width: min(520px, 100%);
  background: #0a0a0a;
  border: 1px solid rgba(245, 165, 36, 0.55);
  border-radius: 6px;
  padding: 18px 18px 16px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.profile-modal--name {
  width: min(420px, 100%);
}

.profile-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-modal-top h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.profile-modal-x {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 640px) {
  .avatar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.avatar-pick {
  aspect-ratio: 1;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  padding: 0;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.avatar-pick img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-pick.is-selected {
  border-color: var(--th-usermenu-accent, #f5a524);
  box-shadow: 0 0 0 2px rgba(245, 165, 36, 0.35);
}

.avatar-pick:hover {
  border-color: var(--th-usermenu-accent, #f5a524);
}

.profile-name-input {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 10px 8px 12px;
  outline: none;
  margin: 18px 0 22px;
}

.profile-modal-ok {
  display: block;
  margin: 16px auto 0;
  min-width: 120px;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: #2fa35a;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  padding: 0 28px;
}

.profile-modal-ok:hover {
  filter: brightness(1.06);
}

.profile-modal-ok:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.profile-modal-error {
  margin: 8px 0 0;
  text-align: center;
  color: #f87171;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .navtop-row {
    display: grid;
    grid-template-areas:
      "logo actions"
      "menu menu";
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 90px;
    padding: 8px 12px;
    gap: 8px;
  }

  .navtop-logo {
    grid-area: logo;
  }

  .navtop-actions {
    grid-area: actions;
  }

  .navtop-links {
    grid-area: menu;
    justify-content: flex-start;
    margin-left: 0;
    padding-bottom: 4px;
  }

  .pydSP {
    height: auto;
  }

  .btn-register-nav,
  .btn-login-nav {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .btn-deposit-nav {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .navtop-chip {
    padding: 6px 12px;
    height: 32px;
    font-size: 11px;
  }

  .navtop-home {
    width: 34px;
    height: 34px;
  }

  .bell-nav svg {
    width: 28px;
    height: 28px;
  }

  .wallet-nav {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .deposit-meta-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ---- player-modals.css ---- */
/* Shared cinematic dark glass modals — notifications + mining */

@keyframes qic-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes qic-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qic-modal-backdrop,
  .qic-modal-panel,
  .notif-item,
  .mining-particle {
    animation: none !important;
    transition: none !important;
  }
}

.qic-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: qic-fade-in 180ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.qic-modal-panel {
  width: min(520px, 100%);
  max-height: min(84vh, 680px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #151b28 0%, #0f141c 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: qic-modal-in 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qic-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.qic-modal-header-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.qic-modal-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245, 165, 36, 0.12);
  color: #f5a524;
}

.qic-modal-icon svg {
  width: 22px;
  height: 22px;
}

.qic-modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f5f7fa;
  line-height: 1.2;
}

.qic-modal-header p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(245, 247, 250, 0.55);
}

.qic-modal-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 247, 250, 0.8);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.qic-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.qic-modal-close:focus-visible {
  outline: 2px solid #f5a524;
  outline-offset: 2px;
}

.qic-modal-close svg {
  width: 18px;
  height: 18px;
}

.qic-modal-body {
  overflow-y: auto;
  padding: 14px;
  flex: 1;
  overscroll-behavior: contain;
}

/* —— Notifications —— */

.notif-empty {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 52px 20px;
  text-align: center;
  color: rgba(245, 247, 250, 0.55);
}

.notif-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(245, 165, 36, 0.55);
}

.notif-empty-icon svg {
  width: 26px;
  height: 26px;
}

.notif-empty p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 260px;
  line-height: 1.45;
}

.notif-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 16px;
  color: rgba(245, 247, 250, 0.55);
  font-size: 0.9rem;
}

.notif-loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f5a524;
  animation: notif-pulse 900ms ease-in-out infinite;
}

@keyframes notif-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.notif-item:last-child {
  margin-bottom: 0;
}

.notif-item:hover {
  border-color: rgba(245, 165, 36, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.notif-item--unread {
  border-color: rgba(245, 165, 36, 0.28);
  background: rgba(245, 165, 36, 0.06);
  border-left: 3px solid #f5a524;
}

.notif-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245, 165, 36, 0.12);
  color: #f5a524;
  position: relative;
}

.notif-item-icon svg {
  width: 20px;
  height: 20px;
}

.notif-unread-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  border: 2px solid #121820;
}

.notif-item-content {
  min-width: 0;
  flex: 1;
}

.notif-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.notif-item-top h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.notif-item-top time {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: rgba(245, 247, 250, 0.42);
  padding-top: 2px;
}

.notif-item-content > p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(245, 247, 250, 0.72);
  white-space: pre-wrap;
}

.notif-item-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #f5a524;
  color: #0b1220;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.notif-item-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.notif-item-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* —— Mining —— */

.mining-modal-panel {
  width: min(420px, 100%);
  text-align: center;
}

.mining-visual {
  margin: 8px auto 0;
  width: min(220px, 70%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.mining-visual img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(245, 165, 36, 0.25));
}

.mining-visual-fallback {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at 30% 25%, rgba(245, 165, 36, 0.28), rgba(20, 24, 36, 0.9));
  box-shadow: 0 0 40px rgba(245, 165, 36, 0.2);
  color: #f5a524;
}

.mining-visual-fallback svg {
  width: 56px;
  height: 56px;
}

.mining-reward-range {
  margin: 14px 16px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.86rem;
  color: rgba(245, 247, 250, 0.7);
}

.mining-reward-range strong {
  color: #f5a524;
  font-weight: 800;
}

.mining-cta {
  margin: 18px 16px 8px;
  width: calc(100% - 32px);
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.mining-cta:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.mining-cta:active:not(:disabled) {
  transform: scale(0.98);
}

.mining-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.mining-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.mining-cta-image {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.mining-cta-image img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
}

.mining-error {
  margin: 8px 16px 0;
  font-size: 0.85rem;
  color: #fca5a5;
}

.mining-success-amount {
  margin: 8px 0 0;
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mining-success-check {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.mining-success-check svg {
  width: 34px;
  height: 34px;
}

.mining-particles {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.mining-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  opacity: 0.7;
  animation: mining-float 2.4s ease-in-out infinite;
}

@keyframes mining-float {
  0%,
  100% {
    transform: translateY(0) scale(0.8);
    opacity: 0.25;
  }
  50% {
    transform: translateY(-10px) scale(1.1);
    opacity: 0.85;
  }
}

.mining-tip {
  margin: 16px 16px 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
}

/* ---- recent-prizes.css ---- */
.recent-prizes {
  width: 100%;
}

.recent-prizes-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0 0.15rem;
}

.recent-prizes-title-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--th-home-accent, #ff9a6b);
  flex-shrink: 0;
}

.recent-prizes-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--th-home-text, #fff);
}

.recent-prizes-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.recent-prizes-track {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  width: max-content;
  animation: recent-prizes-marquee 280s linear infinite;
}

.recent-prizes-card {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  width: 13.5rem;
  min-height: 4.35rem;
  border-radius: 0.65rem;
  overflow: hidden;
  background: var(--th-home-card, #1e2024);
  border: 1px solid color-mix(in srgb, var(--th-home-text, #fff) 8%, transparent);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.recent-prizes-card:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--th-home-accent, #ff9a6b) 35%, transparent);
}

.recent-prizes-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 4.1rem;
  width: 4.1rem;
  background: color-mix(in srgb, var(--th-home-bg, #0b0e11) 70%, #000);
}

.recent-prizes-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-prizes-thumb-fallback {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--th-home-muted, #94a3b8);
  text-transform: uppercase;
}

.recent-prizes-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08rem;
  min-width: 0;
  padding: 0.45rem 0.55rem 0.45rem 0.35rem;
}

.recent-prizes-user {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--th-home-text, #fff);
}

.recent-prizes-user-icon {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--th-home-muted, #94a3b8);
  flex-shrink: 0;
}

.recent-prizes-label {
  font-size: 0.62rem;
  color: var(--th-home-muted, #94a3b8);
}

.recent-prizes-amount {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--th-home-accent, #ff9a6b);
}

.recent-prizes-game {
  font-size: 0.62rem;
  color: var(--th-home-muted, #94a3b8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes recent-prizes-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .recent-prizes-track {
    animation: none;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .recent-prizes-track::-webkit-scrollbar {
    display: none;
  }

  .recent-prizes-card {
    transition: none;
  }

  .recent-prizes-card:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .recent-prizes-card {
    width: 12.5rem;
    min-height: 4rem;
  }

  .recent-prizes-thumb {
    flex-basis: 3.6rem;
    width: 3.6rem;
  }

  .recent-prizes-amount {
    font-size: 0.88rem;
  }
}

/* ---- sidebar.css ---- */
/* SideBar — espelhado do Vue SideBarComponent */

.sidebar-host {
  background: linear-gradient(180deg, var(--ci-gray-dark), var(--sidebar-color), var(--card-color-dark));
  border-right: 1px solid var(--surface-border);
  width: 280px;
  top: var(--layout-header-height);
  bottom: 0;
  left: 0;
  z-index: 40;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.sidebar-host-inner {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.sidebar-host-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
  pointer-events: none;
}

.sidebar-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.45;
}

.sidebar-glow-1 {
  top: -8rem;
  left: -8rem;
  width: 16rem;
  height: 16rem;
  background: color-mix(in srgb, var(--fire-2) 20%, transparent);
}

.sidebar-glow-2 {
  top: 33%;
  right: -4rem;
  width: 12rem;
  height: 12rem;
  background: color-mix(in srgb, var(--fire-3) 12%, transparent);
}

.sidebar-glow-3 {
  bottom: 4rem;
  left: 2rem;
  width: 8rem;
  height: 8rem;
  background: rgba(234, 179, 8, 0.12);
}

.sidebar-featured {
  display: block;
  position: relative;
  margin: 0.5rem 1rem 0;
  overflow: hidden;
  border-radius: 0.5rem;
}

.sidebar-featured img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s;
}

.sidebar-featured:hover img {
  transform: scale(1.05);
}

.sidebar-featured-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0.5rem;
}

.sidebar-featured:hover .sidebar-featured-overlay {
  opacity: 1;
}

.sidebar-featured-title {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.sidebar-featured-play {
  align-self: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.sidebar-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-align: left;
  cursor: pointer;
}

.sidebar-cta:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
}

.sidebar-cta-gold {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.1));
}

.sidebar-cta-gold:hover {
  box-shadow: 0 12px 30px rgba(234, 179, 8, 0.15);
}

.sidebar-cta-purple {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(147, 51, 234, 0.1));
}

.sidebar-cta-purple:hover {
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.15);
}

.sidebar-cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sidebar-cta-text small {
  font-size: 10px;
  color: rgba(209, 213, 219, 0.9);
}

.sidebar-cta-text span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.sidebar-cta-emoji {
  font-size: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.nav-line {
  height: 1px;
  margin: 0.75rem 1rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.sidebar-section {
  margin: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.sidebar-section-flat {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.sidebar-section-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem;
  background: transparent;
  border: 0;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
}

.sidebar-section-head:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-section-head-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ci-primary-color, var(--fire-soft));
}

.sidebar-section-icon svg,
.sidebar-section-icon img {
  width: 16px;
  height: 16px;
}

.sidebar-chevron {
  width: 12px;
  height: 12px;
  color: #9ca3af;
  transition: transform 0.25s;
}

.sidebar-chevron.open {
  transform: rotate(180deg);
}

.sidebar-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.2);
}

.sidebar-sublist li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-sublist li:last-child {
  border-bottom: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  color: #d1d5db;
  font-size: 0.75rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateX(2px);
}

.sidebar-link-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  flex-shrink: 0;
  color: #9ca3af;
}

.sidebar-link:hover .sidebar-link-icon,
.sidebar-link.active .sidebar-link-icon {
  opacity: 1;
  color: var(--fire-soft);
}

.sidebar-link-icon svg,
.sidebar-link-icon img {
  width: 16px;
  height: 16px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem;
  border-radius: 0.5rem;
  color: #e5e7eb;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.sidebar-item:hover,
.sidebar-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateX(2px);
}

.sidebar-heading {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.3));
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.sidebar-general-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: #d1d5db;
  font-size: 0.75rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.sidebar-general-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateX(2px);
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: calc(0.5rem - 2px);
}

.sidebar-footer {
  margin: 0.5rem 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem 0.5rem 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  padding: 0.75rem;
}

.sidebar-footer-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(168, 190, 190, 0.8);
  margin-bottom: 0.5rem;
}

.sidebar-footer a {
  display: block;
  padding: 0.2rem 0;
  font-size: 0.75rem;
  color: rgba(168, 190, 190, 0.75);
  transition: color 0.2s, transform 0.2s;
}

.sidebar-footer a:hover {
  color: #fff;
  transform: translateX(2px);
}

.sidebar-app-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  cursor: pointer;
  width: 100%;
  color: rgba(168, 190, 190, 0.7);
  font-size: 10px;
  font-weight: 700;
}

.sidebar-app-chip:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.sidebar-copy {
  margin-top: 0.5rem;
  font-size: 10px;
  color: rgba(168, 190, 190, 0.55);
}

.sidebar-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
  position: relative;
  z-index: 2;
}

.sidebar-mobile-close {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #3f4142;
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidebar-backdrop {
  display: none;
}

.sidebar-pwa-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sidebar-pwa-modal {
  width: 100%;
  max-width: 380px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1e2024;
  padding: 1.25rem;
  text-align: center;
}

.sidebar-pwa-modal h3 {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.sidebar-pwa-modal p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.sidebar-pwa-steps {
  text-align: left;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sidebar-pwa-steps li {
  margin-bottom: 0.35rem;
}

@media (min-width: 1024px) {
  .sidebar-host {
    display: block;
    transform: translateX(0) !important;
  }

  .sidebar-backdrop {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .sidebar-host {
    display: block;
    width: 100%;
    max-width: 320px;
    top: 0;
    z-index: 1100;
    padding-top: 0;
    transform: translateX(-105%);
  }

  .sidebar-host.mobile-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .sidebar-host:not(.mobile-open) {
    pointer-events: none;
  }

  .sidebar-mobile-header {
    display: flex;
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.55);
  }
}

/* ---- sports-page.css ---- */
.sports-page {
  position: relative;
  width: 100%;
  height: calc(100dvh - var(--layout-header-height) - var(--layout-bottom-nav-height));
  min-height: 420px;
  background: var(--bb-jungle, #0a2e1f);
  overflow: hidden;
}

.sports-page__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.sports-page__frame.is-loading {
  opacity: 0;
  pointer-events: none;
}

.sports-page__frame.is-ready {
  opacity: 1;
}

.sports-page__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--bb-jungle, #0a2e1f);
}

.sports-page__overlay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.sports-page__spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--bb-mango, #ff8a3d);
  border-radius: 999px;
  animation: sports-page-spin 0.8s linear infinite;
}

.sports-page__hint {
  font-size: 0.8rem;
  color: var(--th-text-muted, rgba(255, 255, 255, 0.45));
}

.sports-page--state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.sports-page__card {
  width: min(100%, 420px);
  border-radius: 1rem;
  border: 1px solid var(--th-card-border, rgba(255, 255, 255, 0.08));
  background: rgba(20, 61, 46, 0.85);
  padding: 1.5rem;
  text-align: center;
}

.sports-page__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bb-areia, #f5e6d3);
}

.sports-page__message {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--th-text-muted, rgba(255, 255, 255, 0.55));
}

.sports-page__message--error {
  color: #f87171;
}

.sports-page__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.sports-page__link {
  font-size: 0.875rem;
  color: var(--th-text-muted, rgba(255, 255, 255, 0.55));
  transition: color 150ms ease;
}

.sports-page__link:hover {
  color: var(--bb-turquoise, #2ec4b6);
}

@media (min-width: 1024px) {
  .sports-page {
    height: calc(100dvh - var(--layout-header-height));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sports-page__link {
    transition: none;
  }

  .sports-page__spinner {
    animation: none;
    border-top-color: var(--bb-mango, #ff8a3d);
  }
}

@keyframes sports-page-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- transactions.css ---- */
.tx-page {
  min-height: calc(100vh - var(--layout-header-height) - var(--layout-bottom-nav-height) - 16px);
  display: flex;
  flex-direction: column;
  padding: 12px 12px 20px;
  gap: 12px;
}

.tx-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(245, 165, 36, 0.35);
}

.tx-period {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tx-period-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  white-space: nowrap;
}

.tx-period-btns {
  display: flex;
  gap: 8px;
}

.tx-period-btn {
  min-width: 52px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #2a2e38;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.tx-period-btn:hover {
  color: #fff;
}

.tx-period-btn.active {
  border-color: #f5a524;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(245, 165, 36, 0.25), 0 0 12px rgba(245, 165, 36, 0.2);
}

.tx-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1;
  min-width: 260px;
}

.tx-date-field {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tx-date-field label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.tx-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tx-date-wrap input {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #12151b;
  color: #fff;
  padding: 0 38px 0 12px;
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

.tx-date-wrap input:focus {
  border-color: rgba(245, 165, 36, 0.45);
}

.tx-date-wrap svg {
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.tx-bonus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.tx-bonus input {
  width: 18px;
  height: 18px;
  accent-color: #f5a524;
  cursor: pointer;
}

.tx-apply {
  height: 40px;
  min-width: 96px;
  border: 0;
  border-radius: 8px;
  background: #2a2e38;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.15s;
}

.tx-apply:hover {
  background: #353a46;
}

.tx-apply:disabled {
  opacity: 0.65;
  cursor: wait;
}

.tx-panel {
  flex: 1;
  min-height: 420px;
  background: #12151b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tx-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.tx-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.tx-row-main {
  min-width: 0;
  flex: 1;
}

.tx-row-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-row-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.tx-row-side {
  text-align: right;
  flex-shrink: 0;
}

.tx-row-amount {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.tx-row-amount.pos {
  color: #4ade80;
}

.tx-row-amount.neg {
  color: #f87171;
}

.tx-row-amount.neutral {
  color: #f5a524;
}

.tx-row-sub {
  margin: 3px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.tx-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 16px;
  color: rgba(255, 255, 255, 0.4);
}

.tx-empty svg {
  width: 56px;
  height: 56px;
  opacity: 0.55;
}

.tx-empty p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.tx-loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  padding: 48px 16px;
}

@media (max-width: 900px) {
  .tx-filters {
    align-items: stretch;
  }

  .tx-apply {
    width: 100%;
  }
}

/* ---- vip-page.css ---- */
.vip-page {
  --vip-bg: var(--bb-jungle, #0a2e1f);
  --vip-card: rgba(20, 61, 46, 0.72);
  --vip-card-2: rgba(30, 82, 64, 0.55);
  --vip-line: rgba(245, 230, 211, 0.1);
  --vip-gold: var(--bb-mango, #ff8a3d);
  --vip-gold-2: var(--bb-ipe, #ffd166);
  --vip-soft: var(--bb-areia-muted, rgba(245, 230, 211, 0.55));
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(46, 196, 182, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 30% at 100% 20%, rgba(255, 138, 61, 0.1), transparent 50%),
    var(--vip-bg);
  color: var(--bb-areia, #f5e6d3);
  padding: 72px 16px 110px;
}

.vip-shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.vip-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--vip-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.vip-back:hover {
  color: var(--vip-gold);
}

.vip-hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1a1d24 0%, #12141a 100%);
  border: 1px solid var(--vip-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

@media (max-width: 720px) {
  .vip-hero {
    grid-template-columns: 88px 1fr;
    gap: 14px;
    padding: 14px;
  }
}

.vip-hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(245, 165, 36, 0.45);
  background: #0f1116;
  box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.08);
}

@media (max-width: 720px) {
  .vip-hero-avatar {
    width: 88px;
    height: 88px;
  }
}

.vip-hero-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.vip-hero-rank {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vip-soft);
}

.vip-xp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.vip-xp-track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vip-xp-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bb-turquoise, #2ec4b6), #5eead4);
  box-shadow: 0 0 12px rgba(46, 196, 182, 0.35);
  transition: width 0.4s ease;
}

.vip-xp-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--vip-soft);
  font-weight: 600;
}

.vip-xp-pct {
  color: var(--vip-gold);
  font-weight: 800;
  min-width: 42px;
  text-align: right;
}

.vip-assets {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.vip-asset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}

.vip-asset-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 14px;
}

.vip-sec-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
}

.vip-sec-title span {
  color: var(--vip-gold);
}

.vip-arrows {
  display: inline-flex;
  gap: 8px;
}

.vip-arrow {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--vip-line);
  background: var(--vip-card);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.vip-arrow:hover {
  border-color: rgba(245, 165, 36, 0.45);
  color: var(--vip-gold);
}

.vip-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 16px;
  scrollbar-width: thin;
}

.vip-carousel::-webkit-scrollbar {
  height: 6px;
}

.vip-carousel::-webkit-scrollbar-thumb {
  background: rgba(245, 165, 36, 0.35);
  border-radius: 999px;
}

.vip-level-card {
  flex: 0 0 190px;
  scroll-snap-align: start;
  border-radius: 16px;
  background: linear-gradient(180deg, #1d2028 0%, #14161c 100%);
  border: 1px solid var(--vip-line);
  padding: 14px 12px 12px;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vip-level-card.is-current {
  border-color: rgba(245, 165, 36, 0.75);
  box-shadow:
    0 0 0 1px rgba(245, 165, 36, 0.25),
    0 0 28px rgba(245, 165, 36, 0.22);
}

.vip-level-card.is-locked {
  opacity: 0.55;
  filter: saturate(0.7);
}

.vip-level-card:hover {
  transform: translateY(-3px);
}

.vip-level-xp {
  font-size: 11px;
  font-weight: 700;
  color: var(--vip-soft);
  min-height: 16px;
}

.vip-level-name {
  margin: 6px 0 10px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.vip-medal {
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
}

.vip-medal img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 999px;
}

.vip-medal-core {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #1a1206;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 8px 18px rgba(255, 255, 255, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.vip-medal-core.bronze {
  background: radial-gradient(circle at 35% 30%, #ffb07a, var(--bb-mango, #ff8a3d) 55%, #c45a12);
}

.vip-medal-core.silver {
  background: radial-gradient(circle at 35% 30%, #8ef0e4, var(--bb-turquoise, #2ec4b6) 55%, #148f84);
  color: #0a2e1f;
}

.vip-medal-core.gold {
  background: radial-gradient(circle at 35% 30%, #fff0b8, var(--bb-ipe, #ffd166) 55%, #c99700);
  color: #1a1206;
}

.vip-level-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 10px;
}

.vip-level-bar > span {
  display: block;
  height: 100%;
  background: var(--bb-turquoise, #2ec4b6);
}

.vip-level-card.is-current .vip-level-bar > span {
  background: var(--bb-ipe, #ffd166);
}

.vip-level-btn {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--bb-mango, #ff8a3d);
  color: #1a1206;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.vip-level-btn:hover {
  filter: brightness(1.06);
}

.vip-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .vip-benefits {
    grid-template-columns: 1fr;
  }
}

.vip-benefit-card {
  border-radius: 16px;
  border: 1px solid var(--vip-line);
  background: linear-gradient(160deg, #1c1f28 0%, #12141a 70%);
  padding: 16px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.vip-benefit-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  opacity: 0.35;
  pointer-events: none;
}

.vip-benefit-card.bronze::after {
  background: radial-gradient(circle at 40% 35%, #ffb07a, var(--bb-mango, #ff8a3d) 60%, transparent 70%);
}

.vip-benefit-card.silver::after {
  background: radial-gradient(circle at 40% 35%, #8ef0e4, var(--bb-turquoise, #2ec4b6) 60%, transparent 70%);
}

.vip-benefit-card.gold::after {
  background: radial-gradient(circle at 40% 35%, #fff0b8, var(--bb-ipe, #ffd166) 60%, transparent 70%);
}

.vip-benefit-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.vip-benefit-top h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
}

.vip-benefit-top span {
  font-size: 12px;
  color: var(--vip-soft);
  font-weight: 700;
}

.vip-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.vip-benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.vip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--vip-gold);
  box-shadow: 0 0 8px rgba(245, 165, 36, 0.5);
  flex-shrink: 0;
}

.vip-empty {
  border-radius: 16px;
  border: 1px dashed rgba(245, 165, 36, 0.35);
  background: rgba(245, 165, 36, 0.05);
  padding: 28px 18px;
  text-align: center;
  color: var(--vip-soft);
}

.vip-empty strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.vip-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.vip-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--bb-mango, #ff8a3d);
  color: #1a1206;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.vip-cta.ghost {
  background: transparent;
  border: 1px solid rgba(46, 196, 182, 0.45);
  color: var(--bb-turquoise, #2ec4b6);
}

.vip-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vip-modal {
  width: min(440px, 100%);
  border-radius: 18px;
  background: #16181f;
  border: 1px solid rgba(245, 165, 36, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  padding: 20px;
}

.vip-modal h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.vip-modal p.desc {
  margin: 8px 0 14px;
  color: var(--vip-soft);
  font-size: 13px;
}

.vip-req {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.vip-req-item {
  border-radius: 10px;
  border: 1px solid var(--vip-line);
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 12px;
}

.vip-req-item-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.vip-req-bar {
  margin-top: 8px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.vip-req-bar > span {
  display: block;
  height: 100%;
  background: var(--bb-turquoise, #2ec4b6);
}

.vip-modal-actions {
  display: flex;
  gap: 8px;
}

.vip-modal-actions button,
.vip-modal-actions a {
  flex: 1;
  min-height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

.vip-modal-close {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.vip-toast {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

/* ---- wallet-page.css ---- */
.wallet-page {
  font-family: var(--font-ui);
}

.wallet-page__balance {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bb-areia, #f5e6d3);
}

.wallet-page__tag {
  border-radius: 8px;
  border: 1px solid rgba(245, 230, 211, 0.1);
  background: rgba(245, 230, 211, 0.04);
  padding: 0.5rem;
  text-align: center;
}

.wallet-page__tag-label {
  font-size: 0.7rem;
  color: var(--bb-areia-muted, rgba(245, 230, 211, 0.55));
}

.wallet-page__tag-value {
  margin-top: 0.15rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.wallet-page__tag--padrao .wallet-page__tag-value {
  color: rgba(245, 230, 211, 0.88);
}

.wallet-page__tag--bonus .wallet-page__tag-value {
  color: rgba(167, 139, 250, 0.85);
}

.wallet-page__tag--saque .wallet-page__tag-value {
  color: rgba(110, 231, 183, 0.85);
}

.wallet-page__rollover-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(245, 230, 211, 0.1);
  overflow: hidden;
  margin-top: 0.5rem;
}

.wallet-page__rollover-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--bb-turquoise, #2ec4b6);
}

.wallet-page__extract {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}

.wallet-page__card {
  background: rgba(20, 61, 46, 0.55);
  border-color: rgba(245, 230, 211, 0.1);
  color: var(--bb-areia, #f5e6d3);
}

.wallet-page__muted {
  color: var(--bb-areia-muted, rgba(245, 230, 211, 0.55));
}

.wallet-page__btn-deposit {
  background: var(--bb-mango, #ff8a3d);
  color: #1a1208;
  font-family: var(--font-display);
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
}

/* ---- withdraw-form.css ---- */
.wd-page {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 2.5rem;
}

.wd-box {
  width: 100%;
  max-width: 420px;
  background: #1a1d23;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.wd-banner {
  padding: 1.35rem 1.25rem 0.35rem;
}

.wd-banner h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.wd-banner p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.wd-body {
  padding: 0.5rem 1.25rem 1.35rem;
}

.wd-available {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wd-available span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.wd-available strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #4ade80;
}

.wd-available.warn strong {
  color: #fbbf24;
}

.wd-amount-field {
  background: #252830;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px 12px;
  margin-bottom: 10px;
}

.wd-amount-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.wd-amount-value {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wd-amount-value > span {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.wd-amount-value input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  outline: none;
  padding: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.wd-amount-value input::-webkit-outer-spin-button,
.wd-amount-value input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wd-fee-card {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid transparent;
}

.wd-fee-card.is-active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(245, 165, 36, 0.12));
  border-color: rgba(249, 115, 22, 0.4);
}

.wd-fee-card.is-ok {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(245, 165, 36, 0.1));
  border-color: rgba(34, 197, 94, 0.35);
}

.wd-fee-card.is-muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.wd-fee-card-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #fff;
  font-size: 0.95rem;
}

.wd-fee-card-tag {
  display: inline-flex;
  align-items: center;
  background: #f97316;
  color: #1a0a00;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
}

.wd-fee-card.is-ok .wd-fee-card-tag {
  background: #22c55e;
  color: #04120a;
}

.wd-fee-card-main strong {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fb923c;
}

.wd-fee-card.is-ok .wd-fee-card-main strong {
  color: #4ade80;
}

.wd-fee-card-eq {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.wd-fee-card-total {
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.wd-fee-card-total strong {
  color: #fff;
  font-weight: 800;
}

.wd-fee-card-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.wd-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.wd-tier {
  position: relative;
  background: #2a2e38;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 16px 8px 14px;
  min-height: 54px;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  transition: border-color 0.15s, background 0.15s;
}

.wd-tier:hover {
  background: #313642;
}

.wd-tier.active {
  border-color: #f5a524;
  background: #2a2e38;
}

.wd-tier-value {
  display: block;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.wd-tier-hot {
  position: absolute;
  top: -7px;
  left: 8px;
  background: #f5a524;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(245, 165, 36, 0.45);
}

.wd-tier-check {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.45);
}

.wd-field-label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.wd-input,
.wd-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #252830;
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
}

.wd-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff99' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.wd-input:focus,
.wd-select:focus {
  border-color: rgba(245, 165, 36, 0.55);
}

.wd-alert {
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.wd-alert-warn {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
}

.wd-alert-warn a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.wd-alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.wd-alert-ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.wd-disabled {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #fde68a;
}

.wd-submit {
  width: 100%;
  margin-top: 1.15rem;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(90deg, #f5a524 0%, #ffd34d 50%, #f5a524 100%);
  color: #111;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 13px 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(245, 165, 36, 0.35);
}

.wd-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

