/* ==========================================================================
   tema.css — visual "Master" para o Count Master (jogodamultidao.online)
   Substitui o tema.css atual. Funciona junto com o tema.js.
   --------------------------------------------------------------------------
   1. Fontes e cores
   2. Ajustes globais do site (cores de fundo, botões candy, telas logadas)
   3. Landing nova (#lp-root) — montada pelo tema.js
   4. Esconde a landing antiga quando a nova está ativa
   5. Modal Entrar / Cadastrar
   6. Tela do jogo (HUD)
   7. Animações e acessibilidade
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Luckiest+Guy&display=swap');

/* 1. FONTES E CORES ------------------------------------------------------ */
:root {
  /* cores que o próprio sistema usa */
  --ci-primary-color: #0cc8fd;
  --ci-primary-opacity-color: #ffffff;
  --ci-secundary-color: #0990b6;
  --ci-gray-light: #0a0e17;
  --ci-gray-over: #0a0e17;
  --ci-gray-dark: #0a0e17;
  --background-color: #0a0e17;
  --standard-color: #0a0e17;
  --card-color-dark: #0a0e17;
  --carousel-banners-dark: #0a0e17;
  --footer-color: #0a0e17;
  --footer-color-dark: #0a0e17;
  --yellow-color: #f3cf23;
  --yellow-dark-color: #b85e02;

  /* paleta do visual novo */
  --lp-bg: #0a0e17;
  --lp-bg-visual: #0a0e1a;
  --lp-line: rgba(255, 255, 255, .08);
  --lp-text: #f3edff;
  --lp-dim: #a08cc8;
  --lp-note: rgba(154, 163, 199, .7);
  --lp-primary: #0cc8fd;
  --lp-primary-2: #0990b6;
  --lp-gold: #f3cf23;
  --lp-money: #ffd21e;

  --lp-cyan-shine: #b6effe;
  --lp-cyan-face: #61dbfe;
  --lp-cyan-face-2: #0cc8fd;
  --lp-cyan-base: #055a72;
  --lp-cyan-edge: #033847;

  --lp-gold-shine: #fff6b0;
  --lp-gold-face: #f7d733;
  --lp-gold-face-2: #f0a80c;
  --lp-gold-base: #b85e02;
  --lp-gold-edge: #7a3d02;

  --lp-candy-edge: #05546a;
  --lp-candy-glow: rgba(9, 144, 182, .4);

  /* Banner do topo do modal Entrar/Cadastrar (troque pela sua arte 1080×600) */
  --lp-banner-login: url('/images/cm/home/hero.webp');

  --lp-font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body, input, button, textarea, select { font-family: var(--lp-font); }

/* 2. AJUSTES GLOBAIS ------------------------------------------------------ */
body.bg-base,
.dark .bg-base { background-color: var(--lp-bg) !important; }
.footer-color { background-color: var(--lp-bg) !important; }

/* Botão "candy" do sistema (Cadastrar, Entrar do modal etc.) */
.candy-btn.candy-brand {
  background:
    linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.14) 40%, rgba(255,255,255,0) 56%, rgba(0,0,0,.1) 100%),
    linear-gradient(180deg, var(--lp-cyan-face) 0%, var(--lp-primary) 40%, var(--lp-primary-2) 100%) !important;
  border-color: var(--lp-candy-edge) !important;
}

/* Home do usuário logado (lobby) — mesmas cores do visual novo */
.cmh-page { background: var(--lp-bg) !important; }
.cmh-hero { background: var(--lp-bg) !important; }
.cmh-shade {
  background:
    linear-gradient(rgba(10,14,23,.84) 0%, rgba(10,14,23,.6) 38%, rgba(10,14,23,0) 66%),
    linear-gradient(rgba(10,14,23,0) 72%, var(--lp-bg) 100%) !important;
}
.cmh-h1, .cmh-h2 {
  -webkit-text-stroke-color: var(--lp-primary-2) !important;
  text-shadow: 0 5px 0 var(--lp-cyan-base) !important;
}
.cmh-btn-blue, .cmh-chip-on {
  background: linear-gradient(180deg, var(--lp-cyan-shine) 0%, var(--lp-cyan-face) 48%, var(--lp-primary) 52%, var(--lp-cyan-face) 100%) !important;
  border-color: var(--lp-cyan-base) !important;
  box-shadow: 0 6px 0 var(--lp-cyan-base), 0 14px 28px rgba(5,90,114,.45), inset 0 2px 2px rgba(255,255,255,.5) !important;
}
.cmh-chip-on { box-shadow: 0 3px 0 var(--lp-cyan-base), inset 0 1px 1px rgba(255,255,255,.45) !important; }
.cmh-btn-gold {
  background: linear-gradient(180deg, var(--lp-gold-shine) 0%, var(--lp-gold-face) 16%, var(--lp-gold-face-2) 100%) !important;
  border-color: var(--lp-gold-edge) !important;
  color: #fff !important;
  text-shadow: 0 2px 0 rgba(0,0,0,.45);
  box-shadow: 0 6px 0 var(--lp-gold-base), 0 13px 18px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.45) !important;
}
.cmh-lobby { background: var(--lp-bg) !important; border-color: #2f323a !important; }

/* 3. LANDING NOVA (#lp-root) --------------------------------------------- */
#lp-root[hidden] { display: none !important; }
#lp-root {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
#lp-root *, #lp-root *::before, #lp-root *::after { box-sizing: border-box; }
#lp-root h1, #lp-root h2, #lp-root h3, #lp-root p { margin: 0; }
#lp-root img { display: block; max-width: 100%; }
#lp-root button { font-family: inherit; }

/* Botões */
#lp-root .lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border: 0; border-radius: 12px;
  font-size: 1rem; font-weight: 700; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer; user-select: none; color: var(--lp-text); background: none;
  transition: transform .12s, box-shadow .12s, filter .15s, opacity .12s;
}
#lp-root .lp-btn:focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 4px; }
#lp-root .lp-btn--sm { height: 38px; padding: 0 14px; font-size: .78rem; }
#lp-root .lp-btn--pill { border-radius: 999px; }
#lp-root .lp-btn--ghost { background: transparent; border: 1px solid var(--lp-primary-2); color: var(--lp-text); }
#lp-root .lp-btn--ghost:hover { transform: translateY(-2px); }
#lp-root .lp-btn--3d {
  --lift: 6px;
  border: 2px solid var(--b-edge);
  background: linear-gradient(180deg, var(--b-shine) 0%, var(--b-face) 16%, var(--b-face-2) 100%);
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.45);
  box-shadow: 0 var(--lift) 0 var(--b-base), 0 calc(var(--lift) + 7px) 18px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.45);
  transition: transform .07s, box-shadow .07s, filter .15s;
}
#lp-root .lp-btn--3d:hover { filter: brightness(1.06); animation: none; }
#lp-root .lp-btn--3d:active {
  transform: translateY(var(--lift)); animation: none;
  box-shadow: 0 0 0 var(--b-base), 0 3px 8px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.3);
}
#lp-root .lp-btn--cyan {
  --b-shine: var(--lp-cyan-shine); --b-face: var(--lp-cyan-face); --b-face-2: var(--lp-cyan-face-2);
  --b-base: var(--lp-cyan-base); --b-edge: var(--lp-cyan-edge); --b-halo: rgba(12,200,253,.35);
}
#lp-root .lp-btn--gold {
  --b-shine: var(--lp-gold-shine); --b-face: var(--lp-gold-face); --b-face-2: var(--lp-gold-face-2);
  --b-base: var(--lp-gold-base); --b-edge: var(--lp-gold-edge); --b-halo: rgba(247,215,51,.35);
}
#lp-root .lp-btn--pulse { animation: lp-halo 2.8s ease-in-out infinite; }

/* Header */
#lp-root .lp-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
  background: linear-gradient(180deg, rgba(10,14,23,.85) 0%, rgba(10,14,23,0) 100%);
}
#lp-root .lp-logo { display: flex; align-items: center; }
#lp-root .lp-logo img {
  width: auto; height: 44px; max-width: 160px; object-fit: contain; object-position: left center;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.45));
}
#lp-root .lp-actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 899px) {
  #lp-root .lp-actions .lp-btn--ghost { padding: 0 12px; }
  #lp-root .lp-actions .lp-btn--3d { padding: 0 16px; }
}

/* Hero */
#lp-root .lp-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: stretch; justify-content: center;
  min-height: 100vh; min-height: 100dvh;
  padding: calc(74px + env(safe-area-inset-top, 0px)) 16px calc(48px + env(safe-area-inset-bottom, 0px));
}
#lp-root .lp-hero-bg { position: absolute; inset: 0; pointer-events: none; }
#lp-root .lp-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#lp-root .lp-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,23,.9) 0%, rgba(10,14,23,.77) 7%, rgba(10,14,23,.58) 17%, rgba(10,14,23,.36) 27%, rgba(10,14,23,.17) 36%, transparent 46%, transparent 58%, rgba(10,14,23,.25) 70%, rgba(10,14,23,.6) 82%, rgba(10,14,23,.88) 93%, #0a0e17 100%),
    linear-gradient(180deg, rgba(10,14,23,.55) 0%, rgba(10,14,23,.52) 34%, rgba(10,14,23,.62) 62%, rgba(10,14,23,.82) 100%),
    radial-gradient(120% 80% at 50% 8%, rgba(12,200,253,.22) 0%, transparent 60%);
}
#lp-root .lp-hero-inner {
  position: relative; z-index: 4;
  display: flex; flex-direction: column; justify-content: center;
  width: 100%; max-width: 480px; margin: 0 auto; text-align: center;
}

/* Pílula "jogadores online" (só aparece com número real — ver tema.js) */
#lp-root .lp-online {
  align-self: center; display: inline-flex; align-items: center; gap: 8px;
  margin: 0 auto 10px; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(180deg, #1b2a6b, #121c4d); border: 1px solid #2c3f8f;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
  color: #fff; font-size: .9rem; font-weight: 800; line-height: 1;
}
#lp-root .lp-online[hidden] { display: none; }
#lp-root .lp-online-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: lp-dot 1.6s ease-out infinite; }

/* Título: arte em imagem OU composição em texto */
#lp-root .lp-title { position: relative; isolation: isolate; margin: 0 0 14px; }
#lp-root .lp-title-img { width: 100%; max-width: 368px; height: auto; margin: 0 auto; filter: drop-shadow(0 10px 26px rgba(0,0,0,.45)); }
#lp-root .lp-title-art {
  position: relative; display: block; width: 100%; max-width: 368px; aspect-ratio: 4 / 3; margin: 0 auto;
  container-type: inline-size; filter: drop-shadow(0 10px 26px rgba(0,0,0,.45));
}
#lp-root .lp-title-ill { position: absolute; top: 0; left: 50%; width: 64%; height: auto; transform: translateX(-50%); }
#lp-root .lp-title-txt {
  position: absolute; left: 0; right: 0; bottom: 2%;
  display: flex; flex-direction: column; align-items: center;
  font-family: "Luckiest Guy", "Baloo 2", system-ui, sans-serif; font-weight: 400;
  line-height: .92; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap;
  color: #fff; -webkit-text-stroke: 2.4cqw #0b3a8f; paint-order: stroke fill;
  text-shadow: 0 1.6cqw 0 #0b2a6b, 0 3cqw 6cqw rgba(0,0,0,.45);
}
#lp-root .lp-title-txt span { font-family: "Luckiest Guy", "Baloo 2", system-ui, sans-serif; }
#lp-root .lp-title-txt .l1 { font-size: 13.6cqw; }
#lp-root .lp-title-txt .l2 { font-size: 14.6cqw; color: var(--lp-money); }
#lp-root .lp-title-txt .l3 { font-size: 9cqw; }

#lp-root .lp-plaque {
  position: absolute; z-index: -1; height: auto; pointer-events: none; user-select: none;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,.45));
}
#lp-root .lp-plaque--left { width: 24%; left: -4%; top: 7%; transform: rotate(-10deg); animation: lp-float-l 3.6s ease-in-out .6s infinite; }
#lp-root .lp-plaque--right { width: 28%; right: -4%; top: 5%; transform: rotate(10deg); animation: lp-float-r 3.2s ease-in-out infinite; }

/* Frase + botões */
#lp-root .lp-tagline { display: flex; flex-direction: column; gap: 1px; max-width: 400px; margin: 0 auto 20px; line-height: 1.2; }
#lp-root .lp-tagline span { color: #fff; font-size: clamp(1rem, 4.4vw, 1.18rem); font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
#lp-root .lp-tagline b {
  color: var(--lp-gold); font-size: clamp(.92rem, 4.15vw, 1.14rem); font-weight: 800; letter-spacing: -.005em;
  text-wrap: balance; text-shadow: 0 2px 0 #7a4a00, 0 3px 14px rgba(0,0,0,.6);
}
#lp-root .lp-ctas { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 10px; }
#lp-root .lp-cta { --lift: 7px; width: 100%; max-width: 310px; padding: 17px 24px; font-size: 1.02rem; font-weight: 800; line-height: 1.5; }
#lp-root .lp-link { padding: 8px; border: 0; background: none; color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.5; cursor: pointer; }
#lp-root .lp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
#lp-root .lp-hero .lp-tagline,
#lp-root .lp-hero .lp-ctas { transform: translateY(64px); }

@media (min-width: 769px) {
  #lp-root .lp-title-img, #lp-root .lp-title-art { max-width: 440px; }
  #lp-root .lp-plaque--left { width: 34%; left: -20%; top: 13%; }
  #lp-root .lp-plaque--right { width: 38%; right: -22%; top: 8%; }
  #lp-root .lp-hero .lp-tagline,
  #lp-root .lp-hero .lp-ctas { transform: translateY(56px); }
}
@media (max-height: 640px) {
  #lp-root .lp-title-img, #lp-root .lp-title-art { max-width: 240px; }
}

/* Como jogar */
#lp-root .lp-howto {
  padding: 24px 0 48px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.22) 14%, rgba(0,0,0,.22) 86%, transparent 100%);
}
#lp-root .lp-howto-head { margin-bottom: 28px; padding: 0 16px; text-align: center; }
#lp-root .lp-howto-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 10px; color: var(--lp-gold); }
#lp-root .lp-howto-icon svg { display: block; width: 28px; height: 28px; }
#lp-root .lp-howto-title { font-size: 1.55rem; font-weight: 900; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; color: var(--lp-text); }
#lp-root .lp-howto-sub { margin-top: 8px; color: var(--lp-dim); font-size: .9rem; line-height: 1.45; }

#lp-root .lp-steps {
  display: flex; gap: 14px; margin: 0; padding: 4px 16px 12px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
}
#lp-root .lp-steps::-webkit-scrollbar { display: none; }
#lp-root .lp-card {
  flex: 0 0 min(72vw, 260px); scroll-snap-align: center; overflow: hidden;
  background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
#lp-root .lp-card-visual {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 3 / 1; overflow: hidden; background: var(--lp-bg-visual);
}
#lp-root .lp-card-visual img { width: auto; height: 80%; object-fit: contain; }
#lp-root .lp-badge {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--lp-gold); color: #041510; font-size: .78rem; font-weight: 900; line-height: 1;
}
#lp-root .lp-card h3 { padding: 14px 14px 6px; font-size: .95rem; font-weight: 800; line-height: 1.25; color: var(--lp-text); }
#lp-root .lp-card p { padding: 0 14px 16px; color: var(--lp-dim); font-size: .82rem; line-height: 1.5; }
#lp-root .lp-dots { display: flex; justify-content: center; gap: 7px; margin-top: 6px; }
#lp-root .lp-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.25); cursor: pointer; transition: width .2s, background .2s; }
#lp-root .lp-dots button.is-on { width: 20px; background: var(--lp-primary); }
@media (min-width: 769px) {
  #lp-root .lp-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    max-width: 1100px; margin: 0 auto; padding: 4px 24px 12px; overflow: visible;
  }
  #lp-root .lp-card { flex: unset; }
  #lp-root .lp-dots { display: none; }
}

/* Rodapé */
#lp-root .lp-footer { padding: 28px 16px calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--lp-bg); text-align: center; }
#lp-root .lp-footer-logo { width: auto; height: 56px; max-width: 220px; margin: 0 auto 14px; object-fit: contain; opacity: .9; }
#lp-root .lp-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin: 6px auto 14px; color: #888; opacity: .85; }
#lp-root .lp-badges svg { width: auto; height: 26px; }
#lp-root .lp-copy { color: var(--lp-dim); font-size: .82rem; line-height: 1.5; }
#lp-root .lp-note { margin-top: 8px; color: var(--lp-note); font-size: .75rem; line-height: 1.4; }

/* 4. ESCONDE A LANDING ANTIGA QUANDO A NOVA ESTÁ ATIVA -------------------- */
html.lp-on #galaxsysgaming nav.fixed.top-0,
html.lp-on #galaxsysgaming .cmh-page,
html.lp-on #galaxsysgaming .footer.footer-color,
html.lp-on #galaxsysgaming .fixed.bottom-0.nav-glass { display: none !important; }
html.lp-on #galaxsysgaming .mt-\[47px\],
html.lp-on #galaxsysgaming .mt-\[81px\] { margin-top: 0 !important; }

/* 5. MODAL ENTRAR / CADASTRAR -------------------------------------------- */
.fixed.inset-0:has(> .auth-card .candy-tab) {
  padding: 0 !important; align-items: stretch !important; height: 100% !important; overflow: hidden !important;
}
.fixed.inset-0:has(> .auth-card .candy-tab) > div:first-child {
  background: #08090d !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html:has(.auth-card .candy-tab), body:has(.auth-card .candy-tab) { overflow: hidden !important; overscroll-behavior: none !important; }
.auth-card:has(.candy-tab) {
  display: flex !important; flex-direction: column;
  height: 100%; max-height: 100%; max-width: 480px !important;
  padding-top: env(safe-area-inset-top); padding-bottom: calc(env(safe-area-inset-bottom) + 18px);
  border-radius: 0 !important; border-top: 0 !important; border-bottom: 0 !important;
  overflow-y: auto !important; overscroll-behavior: contain;
  background: var(--lp-bg) !important;
  animation: lp-auth-in .25s ease;
}
@media (min-width: 600px) {
  .auth-card:has(.candy-tab) { border-left: 1px solid rgba(255,255,255,.08) !important; border-right: 1px solid rgba(255,255,255,.08) !important; }
}
/* banner no topo (some suavemente embaixo) */
.auth-card:has(.candy-tab)::before {
  content: ""; display: block; flex: 0 0 auto; width: 100%;
  aspect-ratio: 1080 / 600; max-height: 38dvh;
  background: var(--lp-banner-login) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.82) 52%, rgba(0,0,0,.55) 66%, rgba(0,0,0,.28) 80%, rgba(0,0,0,.08) 92%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.82) 52%, rgba(0,0,0,.55) 66%, rgba(0,0,0,.28) 80%, rgba(0,0,0,.08) 92%, transparent 100%);
}
/* abas sobem um pouco sobre o banner */
.auth-card:has(.candy-tab) > div:nth-child(2) { position: relative; z-index: 2; margin-top: 16px !important; }
.auth-card:has(.candy-tab) > div:last-child { flex: 1 1 auto; }
/* botão fechar vermelho */
.auth-card:has(.candy-tab) > button:first-child {
  position: absolute !important; top: calc(env(safe-area-inset-top) + 12px) !important; right: 12px !important; z-index: 20 !important;
  width: 36px !important; height: 36px !important; border-radius: 12px !important;
  background: #ef4444 !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.25) !important; box-shadow: 0 4px 14px rgba(239,68,68,.45) !important;
}
.auth-card:has(.candy-tab) > button:first-child:hover { background: #dc2626 !important; }
/* caixa "Lembrar de mim" escura */
.auth-card input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; display: grid; place-content: center; flex: 0 0 auto;
  width: 14px; height: 14px; margin: 0; border: 1px solid rgba(255,255,255,.2) !important; border-radius: 4px;
  background: transparent !important; cursor: pointer;
}
.auth-card input[type="checkbox"]::before {
  content: ""; width: 8px; height: 8px; background: #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%); transform: scale(0); transition: transform .12s;
}
.auth-card input[type="checkbox"]:checked { background: #22c55e !important; border-color: #22c55e !important; }
.auth-card input[type="checkbox"]:checked::before { transform: scale(1); }

/* 6. TELA DO JOGO (HUD) --------------------------------------------------- */
.cm-wrap { position: relative; }
.cm-wrap > .cm-topbar {
  position: absolute !important; top: 15px; left: 15px; right: 15px; z-index: 20;
  padding: 8px 10px 8px 14px !important; border-radius: 16px !important;
  border: 1.5px solid transparent !important;
  background:
    linear-gradient(rgba(9,14,28,.78), rgba(9,14,28,.62)) padding-box,
    linear-gradient(90deg, rgba(12,200,253,.7), rgba(255,255,255,.25) 50%, rgba(12,200,253,.7)) border-box !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 14px rgba(12,200,253,.18) !important;
}
.cm-wrap .cm-lbl { color: #8fb3d9 !important; font-size: 9.5px !important; font-weight: 800 !important; letter-spacing: .14em !important; }
.cm-topbar .cm-val { font-size: 17px !important; font-weight: 900 !important; color: var(--lp-money) !important; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.cm-topbar .cm-stat.cm-right { align-items: center !important; }
.cm-topbar .cm-betctl { gap: 4px !important; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.cm-topbar .cm-betctl button {
  display: flex !important; align-items: center; justify-content: center;
  width: 30px !important; height: 30px !important; min-width: 30px; padding: 0 !important;
  border-radius: 50% !important; border: 1.5px solid var(--lp-cyan-edge) !important;
  background: linear-gradient(180deg, var(--lp-cyan-shine) 0%, var(--lp-primary) 22%, #09a7d6 100%) !important;
  color: #fff !important; font-size: 18px !important; font-weight: 900 !important; line-height: 1 !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  box-shadow: 0 3px 0 var(--lp-cyan-base), inset 0 1px 0 rgba(255,255,255,.5) !important;
  cursor: pointer; transition: transform .07s, box-shadow .07s;
}
.cm-topbar .cm-betctl button:active { transform: translateY(3px); box-shadow: 0 0 0 var(--lp-cyan-base), inset 0 1px 0 rgba(255,255,255,.4) !important; }
.cm-topbar .cm-betctl button:disabled { opacity: .45; }
.cm-topbar .cm-amt { min-width: 84px; text-align: center; font-variant-numeric: tabular-nums; font-size: 15px !important; font-weight: 900 !important; color: #fff !important; }

.cm-board .cm-tip {
  display: flex !important; align-items: center; gap: 9px;
  bottom: 20px !important; max-width: calc(100% - 40px) !important;
  padding: 8px 18px 8px 12px !important; border-radius: 999px !important;
  border: 1.5px solid transparent !important;
  background:
    linear-gradient(rgba(7,11,22,.84), rgba(7,11,22,.84)) padding-box,
    linear-gradient(90deg, var(--lp-primary), #fff 50%, var(--lp-primary)) border-box !important;
  box-shadow: 0 0 18px rgba(12,200,253,.35), 0 8px 20px rgba(0,0,0,.3) !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff !important; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .02em;
  line-height: 1.35; text-align: left;
}
.cm-board .cm-tip::before {
  content: ""; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lp-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 8 4 4-4 4M6 8l-4 4 4 4M2 12h20'/%3E%3C/svg%3E") center / 14px auto no-repeat;
  box-shadow: 0 0 0 3px rgba(12,200,253,.25);
  animation: lp-swipe 1.4s ease-in-out infinite;
}
.cm-board .cm-tip::after { content: none !important; }

.cm-footer .cm-multirow {
  justify-content: space-between; gap: 14px !important; padding: 10px 14px !important; border-radius: 18px !important;
  border: 1.5px solid transparent !important;
  background:
    linear-gradient(135deg, #0f1d3a, #0a1226) padding-box,
    linear-gradient(90deg, rgba(12,200,253,.55), rgba(255,255,255,.18) 50%, rgba(12,200,253,.55)) border-box !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.cm-footer .cm-mtext { order: 1; flex: 1 1 auto; min-width: 0; }
.cm-footer .cm-mval { font-size: 24px !important; font-weight: 900 !important; color: var(--lp-money) !important; line-height: 1.1 !important; text-shadow: 0 0 14px rgba(255,210,30,.35), 0 2px 0 rgba(0,0,0,.35); }
.cm-footer .cm-hint { margin-top: 2px; font-size: 11.5px !important; color: #7f93b5 !important; }
.cm-footer .cm-mbubble {
  order: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 76px; width: auto !important; height: auto !important; padding: 7px 12px !important;
  border-radius: 999px !important; border: 1.5px solid rgba(12,200,253,.55);
  background: rgba(12,200,253,.12) !important; box-shadow: 0 0 14px rgba(12,200,253,.25) !important; transform: none !important;
}
.cm-footer .cm-mbubble::before { content: "MULTIPLICADOR"; font-size: 8px; font-weight: 800; letter-spacing: .12em; color: #8fb3d9; }
.cm-footer .cm-mbubble::after { content: none !important; }
.cm-footer .cm-mbubble span { font-size: 17px !important; font-weight: 900; color: #fff; text-shadow: none; line-height: 1; font-variant-numeric: tabular-nums; }
.cm-footer .cm-mbubble span::after { content: "x"; margin-left: 1px; font-size: 12px; color: var(--lp-primary); }

.cm-action.cm-play,
.cm-action.cm-cash {
  min-height: 56px; margin-bottom: 6px;
  font-size: 17px !important; font-weight: 800 !important; letter-spacing: .04em; text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0,0,0,.45) !important;
  background: linear-gradient(180deg, var(--lp-cyan-shine) 0%, var(--lp-primary) 16%, #09a7d6 100%) !important;
  border: 2px solid var(--lp-cyan-edge) !important; border-radius: 999px !important; color: #fff !important;
  box-shadow: 0 6px 0 var(--lp-cyan-base), 0 13px 18px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.45) !important;
  transition: transform .07s, box-shadow .07s, filter .15s;
}
.cm-action.cm-play:not(:disabled):hover,
.cm-action.cm-cash:not(:disabled):hover { filter: brightness(1.06); }
.cm-action.cm-play:not(:disabled):active,
.cm-action.cm-cash:not(:disabled):active {
  transform: translateY(6px) !important;
  box-shadow: 0 0 0 var(--lp-cyan-base), 0 3px 8px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.3) !important;
}
.cm-action.cm-play:disabled,
.cm-action.cm-cash:disabled { cursor: default; filter: none !important; opacity: .85 !important; }
.cm-wrap .cm-back.cm-sair {
  width: auto !important; padding: 0 14px !important; font-size: 13px; font-weight: 800; letter-spacing: .02em;
  background: linear-gradient(180deg, #f87171, #dc2626) !important; border: 1px solid #7f1d1d !important; color: #fff !important;
  box-shadow: 0 3px 0 #7f1d1d;
}
.cm-wrap .cm-back.cm-sair:active { transform: translateY(2px); box-shadow: 0 1px 0 #7f1d1d; }
/* No site de referência essa linha não aparece */
.cm-fairbar { display: none !important; }

/* 7. ANIMAÇÕES E ACESSIBILIDADE ------------------------------------------ */
@keyframes lp-halo {
  0%, 100% { box-shadow: 0 var(--lift) 0 var(--b-base), 0 calc(var(--lift) + 7px) 18px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.45), 0 0 0 0 var(--b-halo); }
  50%      { box-shadow: 0 var(--lift) 0 var(--b-base), 0 calc(var(--lift) + 7px) 18px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.45), 0 0 0 10px transparent; }
}
@keyframes lp-dot { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
@keyframes lp-float-r { 0%, 100% { transform: translateY(0) rotate(10deg); } 50% { transform: translateY(-12px) rotate(6deg); } }
@keyframes lp-float-l { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-12px) rotate(-6deg); } }
@keyframes lp-auth-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lp-swipe { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }

@media (prefers-reduced-motion: reduce) {
  #lp-root *, .cm-board .cm-tip::before { animation: none !important; transition: none !important; }
}
