:root {
  --brand: #00e676;
  --brand-hover: #2bff8f;
  --brand-glow: rgba(0, 230, 118, .4);
  --brand-soft: rgba(0, 230, 118, .12);
  --live: #ff1f4b;
  --up: #00e676;
  --down: #ff4d4d;

  --bg: #0b0d0c;
  --surface: #151816;
  --surface-2: #1e2220;
  --surface-3: #2a2f2c;
  --border: #222724;
  --text: #f2f5f3;
  --muted: #8d9691;

  --radius: 10px;
  --header-h: 64px;
  --sidebar-w: 230px;
  --slip-w: 320px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--text); font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
ul { list-style: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hidden { display: none !important; }

/* ---------- Botões ---------- */
.btn { padding: 9px 18px; border-radius: 999px; font-weight: 700; white-space: nowrap; transition: background .15s, box-shadow .15s, transform .08s; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--brand); color: #03140a; }
.btn--primary:hover { background: var(--brand-hover); box-shadow: 0 0 16px var(--brand-glow); }
.btn--outline { border: 1.5px solid var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand-soft); }
.btn--ghost { border: 1.5px solid var(--surface-3); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--link { color: var(--muted); font-weight: 600; font-size: 13px; }
.btn--link:hover { color: var(--text); }
.btn--block { width: 100%; display: block; margin-top: 8px; }
.btn--lg { padding: 13px; font-size: 15px; }
.btn--sm { padding: 6px 12px; font-size: 12px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.icon-btn:hover { background: var(--surface-2); }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--brand); color: #03140a; font-size: 12px; font-weight: 800; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.4s infinite; }
.live-dot--green { background: var(--brand); }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 20px; padding: 0 18px;
  background: linear-gradient(180deg, #0d1a12, #0b100d); border-bottom: 1px solid var(--border);
}
.menu-btn { display: none; }
.logo { display: flex; align-items: center; gap: 6px; user-select: none; }
.logo__icon { height: 42px; width: auto; mix-blend-mode: lighten; } /* some o fundo preto da imagem */
.logo__text { font-weight: 900; font-size: 22px; letter-spacing: -.5px; font-style: italic; color: var(--brand); text-shadow: 0 0 14px var(--brand-glow); }
.logo__text b { color: #fff; text-shadow: none; }
.logo--center { justify-content: center; margin-bottom: 14px; }
.modal__logo { width: 170px; mix-blend-mode: lighten; }
.top-nav { display: flex; gap: 6px; margin: 0 auto; height: 100%; }
.top-nav a { display: flex; align-items: center; gap: 6px; padding: 0 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; }
.top-nav a:hover { color: var(--text); }
.top-nav a.active { color: var(--brand); border-bottom-color: var(--brand); }
.header__right { display: flex; align-items: center; gap: 10px; }
.auth { display: flex; align-items: center; gap: 8px; }
.balance-chip { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; padding: 0 6px; }
.balance-chip small { color: var(--muted); font-size: 11px; }
.balance-chip strong { color: var(--brand); }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr) var(--slip-w); align-items: start; }

/* ---------- Sidebar ---------- */
.sidebar {
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h));
  overflow-y: auto; padding: 16px 10px 30px; background: var(--bg); border-right: 1px solid var(--border);
}
.sidebar-header-mobile { display: none; }
.sidebar__title { color: var(--brand); font-size: 15px; font-weight: 800; padding: 10px 10px 8px; }
.sidebar__title:not(:first-child) { margin-top: 14px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer; }
.side-item:hover { background: var(--surface); }
.side-item.active { background: var(--surface-2); color: var(--brand); }
.side-item__icon { width: 20px; text-align: center; font-size: 15px; }
.side-item__count { margin-left: auto; color: var(--muted); font-size: 11px; }
.side-item--sub { padding-left: 38px; font-weight: 500; color: var(--muted); }
.side-item--sub:hover, .side-item--sub.active { color: var(--text); }

/* ---------- Main ---------- */
.main { padding: 16px 18px 30px; min-width: 0; }
.search {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; margin-bottom: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.search svg { color: var(--muted); }
.search input { flex: 1; background: none; border: 0; outline: 0; font-weight: 600; }
.search:focus-within { border-color: var(--brand); }

/* Atalhos (quadrados) */
.tiles { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile {
  flex-shrink: 0; width: 76px; height: 64px; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--surface); border: 1px solid var(--border); font-size: 11px; font-weight: 700; color: var(--muted);
  transition: border-color .15s, color .15s;
}
.tile span:first-child { font-size: 22px; }
.tile:hover { color: var(--text); border-color: var(--surface-3); }
.tile.active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* Banners */
.banners {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 3); gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-bottom: 18px;
}
.banners::-webkit-scrollbar { display: none; }
.banner {
  scroll-snap-align: start; position: relative; overflow: hidden; aspect-ratio: 2.2 / 1;
  border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; justify-content: center;
  background-size: cover; background-position: right center; cursor: pointer;
  border: 1px solid var(--border); transition: border-color .2s, transform .2s;
}
.banner:hover { border-color: var(--brand); transform: translateY(-2px); }
.banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,7,.95) 0%, rgba(5,10,7,.7) 45%, rgba(5,10,7,0) 80%); }
.banner > * { position: relative; }
.banner { container-type: inline-size; }
.banner__title { font-size: clamp(15px, 7.2cqi, 26px); font-weight: 900; line-height: 1; text-transform: uppercase; }
.banner__title em { display: block; color: var(--brand); font-style: normal; }
.banner__text { font-size: clamp(10px, 3.6cqi, 12px); color: #c9d1cc; margin-top: 6px; max-width: 60%; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Pills de campeonato */
.pills { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex-shrink: 0; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--muted); }
.pill:hover { color: var(--text); }
.pill.active { background: #fff; color: #0b0d0c; }

/* Cabeçalho da seção */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.section-head h2 { font-size: 17px; font-weight: 800; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; }
.seg__btn { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.seg__btn.active { background: var(--brand); color: #03140a; }
.seg__btn:disabled { opacity: .35; cursor: not-allowed; }
.seg--sm .seg__btn { padding: 6px 12px; font-size: 12px; }
.tab__count { font-size: 10px; background: var(--live); color: #fff; border-radius: 99px; padding: 1px 6px; font-weight: 800; }

.api-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.api-bar span { display: flex; align-items: center; gap: 6px; }
.api-bar strong { color: var(--text); }
.api-bar strong.low { color: var(--down); }
.api-bar__refresh { margin-left: auto; color: var(--brand); font-weight: 700; font-size: 12px; }

/* ---------- Tabela de partidas ---------- */
.day-head {
  display: grid; grid-template-columns: 1fr repeat(3, var(--odd-w, 110px)); gap: 6px; align-items: center;
  padding: 11px 14px; background: var(--surface); border-radius: var(--radius); margin: 14px 0 6px;
  font-weight: 700; font-size: 13px;
}
.day-head:first-child { margin-top: 0; }
.day-head span:not(:first-child) { text-align: center; color: var(--muted); }

.row {
  display: grid; grid-template-columns: 1fr repeat(3, var(--odd-w, 110px)); gap: 6px; align-items: stretch;
  padding: 8px 8px 8px 14px; background: var(--surface); border: 1px solid transparent; border-radius: var(--radius); margin-bottom: 6px;
  transition: border-color .15s;
}
.row:hover { border-color: var(--surface-3); }
.row__info { display: flex; flex-direction: column; gap: 6px; padding: 4px 0; min-width: 0; }
.row__team { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; }
.row__team-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__score { font-weight: 900; color: var(--brand); min-width: 18px; text-align: right; padding-right: 8px; }
.row__league { font-size: 12px; color: var(--muted); }
.row__meta { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; }
.chip { padding: 3px 7px; border-radius: 5px; background: var(--surface-3); color: var(--text); }
.chip--live { background: var(--live); color: #fff; }
.chip--green { background: var(--brand-soft); color: var(--brand); }
.row__fav { color: var(--muted); display: grid; place-items: center; }
.row__fav svg { width: 15px; height: 15px; }
.row__fav.on { color: #ffd23f; }
.row__fav.on svg { fill: currentColor; }

.crest { position: relative; flex-shrink: 0; width: 20px; height: 20px; display: grid; place-items: center; }
.crest__fallback { width: 18px; height: 20px; display: grid; place-items: center; font-size: 7px; font-weight: 900; color: #fff; clip-path: polygon(50% 0, 100% 12%, 100% 55%, 50% 100%, 0 55%, 0 12%); }
.crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.odd {
  border-radius: 8px; background: var(--surface-2); border: 1px solid transparent; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-weight: 800; font-size: 15px; position: relative; transition: background .15s, border-color .15s;
}
.odd small { display: none; color: var(--muted); font-size: 10px; font-weight: 600; }
.odd:hover { border-color: var(--brand); background: var(--surface-3); }
.odd.selected { background: var(--brand); color: #03140a; box-shadow: 0 0 12px var(--brand-glow); }
.odd.selected small { color: #03140a; }
.odd.locked { opacity: .4; pointer-events: none; }
.odd.empty { visibility: hidden; }
.odd.up { animation: flashUp 1.4s; }
.odd.down { animation: flashDown 1.4s; }
.odd.up::after, .odd.down::after { position: absolute; top: 5px; right: 7px; font-size: 8px; }
.odd.up::after { content: '▲'; color: var(--up); }
.odd.down::after { content: '▼'; color: var(--down); }
@keyframes flashUp { 0% { background: rgba(0,230,118,.35) } }
@keyframes flashDown { 0% { background: rgba(255,77,77,.35) } }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state > div { font-size: 40px; margin-bottom: 8px; }
.skeleton { height: 86px; border-radius: var(--radius); margin-bottom: 6px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.spinner { width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.spinner--sm { display: inline-block; width: 11px; height: 11px; border-width: 2px; margin: 0 0 0 6px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Minhas apostas / promos / perfil ---------- */
.page-title { font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.bet-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.bet-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 800; }
.status { font-size: 11px; padding: 4px 10px; border-radius: 99px; font-weight: 800; }
.status--open { background: rgba(255,210,63,.15); color: #ffd23f; }
.status--won { background: var(--brand-soft); color: var(--brand); }
.status--cashout { background: rgba(120,160,255,.15); color: #8fb0ff; }
.bet-card__sel { padding: 8px 0; border-top: 1px dashed var(--surface-3); font-size: 13px; font-weight: 600; }
.bet-card__sel small { display: block; color: var(--muted); font-weight: 500; }
.bet-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--surface-3); padding-top: 10px; margin-top: 4px; }
.bet-card__foot strong { color: var(--brand); }
.btn--cashout { background: transparent; border: 1.5px solid var(--brand); color: var(--brand); }
.btn--cashout:hover { background: var(--brand); color: #03140a; }
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.promo-card { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background-size: cover; background-position: right center; min-height: 200px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.promo-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,10,7,.97) 30%, rgba(5,10,7,.2)); }
.promo-card > * { position: relative; }
.promo-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.promo-card p { font-size: 13px; color: #c9d1cc; line-height: 1.45; }
.profile-card { max-width: 420px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.profile-card__avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--brand-soft); border: 2px solid var(--brand); font-size: 30px; }
.profile-card__balance { font-size: 28px; font-weight: 900; color: var(--brand); margin: 6px 0 16px; }
.profile-card .btn { margin: 4px; }

/* ---------- Footer ---------- */
.footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px; }
.footer__links a:hover { color: var(--text); }
.footer__top { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 22px; }
.footer__logo { width: 140px; mix-blend-mode: lighten; }
.footer__cols { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.footer__cols h5 { color: var(--text); font-size: 13px; margin-bottom: 10px; }
.footer__cols a { display: block; padding: 4px 0; font-size: 13px; }
.footer__cols a:hover { color: var(--brand); }
.footer__legal { display: flex; gap: 12px; align-items: center; }
.age-badge { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--live); display: grid; place-items: center; font-weight: 900; color: var(--live); }

/* ---------- Boletim ---------- */
.betslip {
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--border);
}
.betslip__handle { display: none; }
.betslip__header { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 12px; }
.betslip__header h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 900; }
.betslip__close { display: none; }
.betslip > .seg { margin: 0 16px; }
.betslip__body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.betslip__empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.betslip__empty-icon { font-size: 40px; margin-bottom: 10px; }
.betslip__empty p { color: var(--text); font-weight: 700; margin-bottom: 4px; }
.selection { background: var(--surface-2); border-radius: 10px; padding: 12px; margin-bottom: 8px; position: relative; }
.selection__top { display: flex; justify-content: space-between; gap: 8px; padding-right: 22px; }
.selection__pick { font-weight: 800; }
.selection__odd { font-weight: 900; color: var(--brand); }
.selection__market, .selection__match { font-size: 12px; color: var(--muted); margin-top: 2px; }
.selection__remove { position: absolute; top: 10px; right: 10px; color: var(--muted); font-size: 13px; }
.selection__remove:hover { color: var(--down); }
.selection .stake-input { margin-top: 10px; }
.selection__return { font-size: 11px; color: var(--muted); margin-top: 6px; text-align: right; }
.betslip__footer { padding: 14px 16px 16px; border-top: 1px solid var(--surface-3); }
.label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; font-weight: 600; }
.stake-input { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1.5px solid var(--surface-3); border-radius: 10px; padding: 0 14px; height: 44px; }
.stake-input:focus-within { border-color: var(--brand); }
.stake-input span { color: var(--muted); font-weight: 700; }
.stake-input input { background: none; border: 0; outline: 0; width: 100%; font-weight: 800; font-size: 15px; }
.quick-stakes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; }
.quick-stakes button { padding: 7px; border-radius: 999px; background: var(--surface-2); font-size: 12px; font-weight: 700; border: 1px solid var(--surface-3); }
.quick-stakes button:hover { border-color: var(--brand); }
.summary > div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.summary strong { color: var(--text); }
#boostRow strong { color: var(--brand); }
.summary__return strong { color: var(--brand); font-size: 18px; font-weight: 900; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none;
  width: 100%; max-width: 100%;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
  background: rgba(13, 16, 14, .97); backdrop-filter: blur(12px); border-top: 1px solid var(--surface-3);
}
.bottom-nav a, .bottom-nav__fab, .bottom-nav__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--nav-h); color: var(--muted); font-size: 11px; font-weight: 600; min-width: 0; padding: 0 2px; }
.bottom-nav a span, .bottom-nav__btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bottom-nav a.active { color: var(--brand); }
.bottom-nav__fab { position: relative; height: calc(var(--nav-h) + 14px); margin-top: -14px; background: var(--brand); color: #03140a; font-weight: 800; border-radius: 36px 36px 0 0; box-shadow: 0 -4px 20px var(--brand-glow); }
.bottom-nav__fab-icon { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #03140a; color: var(--brand); display: grid; place-items: center; }
.bottom-nav__badge { position: absolute; top: -6px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #fff; color: #03140a; font-size: 11px; font-weight: 900; display: grid; place-items: center; border: 2px solid var(--brand); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 500 !important; display: grid; place-items: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: min(420px, 92vw); max-height: 90vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--surface-3); border-radius: 18px; padding: 26px 22px; }
.modal__box .seg { margin-bottom: 18px; }
.modal__close { position: absolute; top: 14px; right: 16px; color: var(--muted); font-size: 16px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.form input:not([type=checkbox]) { height: 46px; padding: 0 14px; border-radius: 10px; background: var(--bg); border: 1.5px solid var(--surface-3); outline: 0; }
.form input:focus { border-color: var(--brand); }
.form__check { flex-direction: row !important; align-items: flex-start; gap: 8px !important; font-weight: 500 !important; }
.form__check input { accent-color: var(--brand); margin-top: 2px; }
.form__link { text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- Toast / overlay ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200px); background: var(--surface-2); border: 1px solid var(--surface-3); border-left: 4px solid var(--brand); padding: 12px 18px; border-radius: 10px; font-weight: 700; z-index: 900 !important; max-width: 90vw; transition: transform .3s ease; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.toast.show { transform: translate(-50%, 0); }
.toast.error { border-left-color: var(--down); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 200 !important; display: none; }
.overlay.show { display: block; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1280px) {
  :root { --odd-w: 92px; }
  .layout { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
  body { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
  .bottom-nav { display: grid; }
  .toast { bottom: calc(var(--nav-h) + 16px); }
  .betslip {
    position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 300 !important; height: auto; max-height: 85vh;
    width: min(480px, 100%); margin: 0 auto; border: 1px solid var(--surface-3); border-radius: 20px 20px 0 0;
    transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  }
  .betslip.open { transform: translateY(0); }
  .betslip__handle { display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--surface-3); margin: 10px auto 0; }
  .betslip__close { display: grid; }
}

@media (max-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .menu-btn { display: grid; }
  .top-nav { display: none; }
  .header__right { margin-left: auto; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; height: 100vh; height: 100dvh; width: min(300px, 84vw); z-index: 300 !important;
    transform: translateX(-100%); transition: transform .3s ease; background: var(--surface);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
  }
  .sidebar-header-mobile__title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.2px;
  }
  .sidebar-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s;
  }
  .sidebar-close-btn:hover, .sidebar-close-btn:active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
  }
  .overlay { z-index: 200 !important; touch-action: manipulation; }
  .banners { grid-auto-columns: 80%; }
}

@media (max-width: 640px) {
  :root { --odd-w: 64px; --header-h: 58px; }
  .header { padding: 0 10px; gap: 8px; }
  .logo__text { font-size: 17px; }
  .logo__mark { width: 30px; height: 30px; font-size: 17px; }
  .btn { padding: 8px 13px; font-size: 13px; }
  #authGuest .btn--outline { display: none; }
  .balance-chip small { display: none; }
  #btnHeaderWithdraw { display: none; }
  #btnDeposit { display: inline-flex; }
  .main { padding: 12px 10px 20px; }
  .banners { grid-auto-columns: 88%; }
  .banner__text { max-width: 65%; }
  .row { padding: 8px 6px 8px 10px; gap: 5px; }
  .day-head { padding: 10px; gap: 5px; }
  .odd { min-height: 54px; font-size: 14px; }
  .row__team { font-size: 13px; }
}


/* =========================================================
   PÁGINAS INSTITUCIONAIS
   ========================================================= */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.doc__nav { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.doc__nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--muted); }
.doc__nav a:hover { color: var(--text); background: var(--surface-2); }
.doc__nav a.active { color: var(--brand); background: var(--brand-soft); }
.doc__content { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px 30px; line-height: 1.65; color: #d5dcd8; min-width: 0; }
.doc__content h1 { font-size: 26px; font-weight: 900; color: var(--text); margin-bottom: 4px; line-height: 1.2; }
.doc__content h2 { font-size: 17px; font-weight: 800; color: var(--text); margin: 26px 0 8px; }
.doc__content h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 18px 0 6px; }
.doc__content p { margin-bottom: 10px; }
.doc__content ul, .doc__content ol { margin: 0 0 12px 20px; }
.doc__content ul { list-style: disc; }
.doc__content li { margin-bottom: 5px; }
.doc__content a { color: var(--brand); }
.doc__content strong { color: var(--text); }
.doc__updated { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.doc__toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.doc__toc a { font-size: 12px; padding: 5px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted) !important; }
.doc__toc a:hover { color: var(--text) !important; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; margin: 14px 0; font-size: 13px; line-height: 1.5; background: var(--brand-soft); border: 1px solid rgba(0,230,118,.3); }
.notice--warn { background: rgba(255,210,63,.08); border-color: rgba(255,210,63,.3); }
.notice--danger { background: rgba(255,31,75,.08); border-color: rgba(255,31,75,.35); }
.notice__icon { font-size: 20px; line-height: 1; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 13px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--surface-3); }
.doc th { color: var(--text); background: var(--surface-2); }

/* Central de ajuda */
.help-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; margin: 16px 0; background: var(--bg); border: 1.5px solid var(--surface-3); border-radius: 999px; }
.help-search:focus-within { border-color: var(--brand); }
.help-search input { flex: 1; background: none; border: 0; outline: 0; font-weight: 600; }
.help-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 18px; }
.help-cat { padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--surface-3); text-align: left; font-weight: 700; font-size: 13px; color: var(--text); }
.help-cat span { display: block; font-size: 22px; margin-bottom: 6px; }
.help-cat:hover, .help-cat.active { border-color: var(--brand); }
.faq { border: 1px solid var(--surface-3); border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 18px; line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq[open] summary { background: var(--surface-2); }
.faq__body { padding: 12px 16px 14px; font-size: 13.5px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.contact-card { padding: 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--surface-3); }
.contact-card__icon { font-size: 26px; }
.contact-card h3 { margin: 8px 0 4px !important; }
.contact-card p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.tag-soon { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: rgba(255,210,63,.15); color: #ffd23f; vertical-align: middle; margin-left: 6px; }

/* Jogo responsável */
.rg-quiz { counter-reset: q; }
.rg-quiz label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); margin-bottom: 6px; cursor: pointer; font-size: 13.5px; }
.rg-quiz input { accent-color: var(--brand); margin-top: 3px; }
.rg-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin: 12px 0; }
.rg-tool { padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--surface-3); }
.rg-tool h3 { margin-top: 0 !important; }
.rg-tool p { font-size: 12.5px; color: var(--muted); }
.rg-tool select, .rg-tool input { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--bg); border: 1.5px solid var(--surface-3); outline: 0; margin: 6px 0 10px; color: var(--text); }
.rg-tool select:focus, .rg-tool input:focus { border-color: var(--brand); }
.btn--danger { background: var(--live); color: #fff; }
.btn--danger:hover { background: #ff4669; }

@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; }
  .doc__nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .doc__nav a { white-space: nowrap; }
  .doc__content { padding: 20px 16px; }
  .doc__content h1 { font-size: 22px; }
}

/* =========================================================
   CASSINO
   ========================================================= */
body.is-casino .layout { grid-template-columns: minmax(0, 1fr); }
body.is-casino .sidebar, body.is-casino .betslip, body.is-casino .menu-btn { display: none !important; }
body.is-casino .main { max-width: 1280px; width: 100%; margin: 0 auto; }

.casino-hero {
  position: relative; overflow: hidden; border-radius: 18px; margin-bottom: 18px; min-height: 340px;
  display: flex; align-items: center; padding: 36px 40px;
  border: 1px solid rgba(0,230,118,.25);
  background: #050a07 url('assets/casino-hero.jpg') right center / cover no-repeat;
  box-shadow: 0 10px 40px rgba(0,0,0,.5), inset 0 0 60px rgba(0,230,118,.06);
}
.casino-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,9,6,.96) 0%, rgba(4,9,6,.8) 35%, rgba(4,9,6,0) 65%); }
.casino-hero::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.07), transparent);
  animation: heroShine 6s ease-in-out infinite;
}
@keyframes heroShine { 0%, 60% { left: -40%; } 100% { left: 120%; } }
.casino-hero__content { position: relative; z-index: 1; max-width: 520px; }
.casino-hero__kicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); background: rgba(0,230,118,.12); border: 1px solid rgba(0,230,118,.35); padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
.casino-hero h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; line-height: 1.05; text-transform: uppercase; letter-spacing: -.5px; }
.casino-hero h1 em { color: var(--brand); font-style: normal; text-shadow: 0 0 24px var(--brand-glow); }
.casino-hero p { color: #c9d1cc; margin-top: 12px; max-width: 440px; font-size: 15px; line-height: 1.45; }
.casino-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.casino-hero__cta .btn--primary { box-shadow: 0 0 22px var(--brand-glow); }
.casino-hero__stats { display: flex; gap: 26px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.casino-hero__stats b { display: block; font-size: 22px; font-weight: 900; color: var(--brand); }
.casino-hero__stats small { font-size: 11.5px; color: var(--muted); font-weight: 600; }

/* =========================================================
   PROVEDORES EM DESTAQUE (PROVIDER SHOWCASE)
   ========================================================= */
/* =========================================================
   PROVEDORES DE JOGOS (CARROSSEL IDÊNTICO À REFERÊNCIA DO USUÁRIO)
   ========================================================= */
.prov-sec { margin-top: 22px; margin-bottom: 22px; }
.prov-sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.prov-sec__left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.prov-sec__title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.2px;
  margin: 0;
  color: #FFFFFF;
}
.prov-sec__all-btn {
  background: none;
  border: none;
  color: var(--muted, #8e9ca8);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color .2s;
}
.prov-sec__all-btn:hover { color: var(--brand); }
.prov-sec__arrows {
  display: flex;
  align-items: center;
  gap: 6px;
}
.prov-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #15181c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c9d1cc;
  font-size: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .18s ease;
  user-select: none;
}
.prov-arrow-btn:hover {
  background: #22272e;
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.prov-track-wrap {
  position: relative;
  overflow: hidden;
}
.prov-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.prov-track::-webkit-scrollbar { display: none; }

.prov-ref-card {
  flex: 0 0 168px;
  min-width: 168px;
  height: 94px;
  border-radius: 12px;
  background: #14171c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  user-select: none;
  text-decoration: none;
  box-sizing: border-box;
}
.prov-ref-card:hover {
  background: #1c2128;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.prov-ref-card.is-active {
  background: #0d2217 !important;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 1px var(--brand), 0 8px 22px rgba(0, 230, 118, 0.25) !important;
  transform: translateY(-2px);
}
.prov-ref-card__logo {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.prov-ref-card__count {
  font-size: 12px;
  font-weight: 700;
  color: #8e9ca8;
  letter-spacing: .2px;
  transition: color .2s;
  white-space: nowrap;
}
.prov-ref-card:hover .prov-ref-card__count { color: #FFFFFF; }
.prov-ref-card.is-active .prov-ref-card__count {
  color: var(--brand);
  font-weight: 800;
}

/* Provider badge typography and icons */
.prov-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF;
  line-height: 1;
  text-align: left;
  user-select: none;
}
.prov-logo-box .prov-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: #FFFFFF;
  display: block;
}
.prov-logo-box .prov-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.prov-logo-box .prov-title-main {
  font-size: 14.5px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  line-height: 1.1;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: nowrap;
}
.prov-logo-box .prov-title-sub {
  font-size: 8px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 2px;
  line-height: 1;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: nowrap;
}
.prov-logo-box .prov-brand-word {
  font-size: 16px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: nowrap;
}
.prov-logo-box .prov-squircle {
  flex-shrink: 0;
}

/* Barra de filtro ativo */
.pf-active-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pf-active-bar--live {
  background: rgba(255, 51, 75, 0.09) !important;
  border-color: rgba(255, 51, 75, 0.3) !important;
}
.pf-active-bar__info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
}
.pf-active-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  flex-shrink: 0;
}
.pf-active-bar b { color: var(--brand); }
.pf-active-bar--live b { color: #ff4d63; }

/* ---------- Abas de Categorias do Cassino (Slots / Ao Vivo) ---------- */
.casino-cat-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.casino-cat-nav::-webkit-scrollbar { display: none; }

.casino-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #c5cdd6;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.casino-cat-btn:hover {
  background: var(--surface-3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}
.casino-cat-btn.active {
  background: #0d2618;
  color: #00e676;
  border-color: #00e676;
  box-shadow: 0 0 0 1px #00e676, 0 4px 16px rgba(0, 230, 118, 0.25);
}
.casino-cat-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2.2;
}
.casino-cat-icon { display: flex; align-items: center; }
.casino-cat-emoji { font-size: 16px; line-height: 1; }

/* Botão especial Cassino Ao Vivo */
.casino-cat-btn--live {
  border-color: rgba(255, 51, 75, 0.28);
}
.casino-cat-btn--live:hover {
  border-color: rgba(255, 51, 75, 0.55);
}
.casino-cat-btn--live.active {
  background: #280f14 !important;
  color: #ff4d63 !important;
  border-color: #ff334b !important;
  box-shadow: 0 0 0 1px #ff334b, 0 4px 16px rgba(255, 51, 75, 0.32) !important;
}
.casino-cat-badge {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 51, 75, 0.2);
  color: #ff4d63;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: .4px;
}
.casino-cat-btn--live.active .casino-cat-badge {
  background: #ff334b;
  color: #fff;
}

/* Pulsing Red Dot for Live status */
.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff334b;
  box-shadow: 0 0 0 0 rgba(255, 51, 75, 0.7);
  animation: liveDotAnim 1.8s infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes liveDotAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 51, 75, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(255, 51, 75, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 51, 75, 0); }
}

/* Live badge nos cards de jogos */
.game-card__prov-badge--live {
  background: rgba(230, 20, 45, 0.92) !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(230, 20, 45, 0.4) !important;
}
.game-card__prov-badge--live .live-dot-pulse {
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow: none;
  animation: none;
}

/* Sub-filtros ao vivo na barra ativa */
.pf-live-subnav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pill--sm {
  padding: 4px 10px !important;
  font-size: 11.5px !important;
  border-radius: 8px !important;
}

/* Link Cassino Ao Vivo na Top-Nav e Side-Nav */
.top-nav__link--live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.side-nav__tag--live {
  background: rgba(255, 51, 75, 0.2) !important;
  color: #ff4d63 !important;
  font-weight: 800 !important;
}

.casino-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.casino-bar .pills { flex: 1; padding-bottom: 0; min-width: 0; }
.search--sm { height: 38px; margin: 0; width: 240px; }

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.game-card {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 14px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.game-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 8px 24px rgba(0,230,118,.18); }
.game-card__icon { font-size: 44px; }
.game-card__name { font-weight: 800; font-size: 14px; padding: 0 8px; }
.game-card__tag { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: rgba(0,0,0,.7); color: #ffb648; }
.game-card__tag--soon { color: var(--muted); }
.game-card__prov-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  font-size: 9.5px; font-weight: 800; padding: 2.5px 7px; border-radius: 6px;
  background: rgba(0,0,0,.72); backdrop-filter: blur(4px); color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.14); pointer-events: none;
}
.game-card__overlay {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; padding: 12px 8px;
  background: rgba(0,0,0,.78); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s ease;
}
.game-card:hover .game-card__overlay { opacity: 1; }
.game-card__overlay-btn {
  font-size: 13.5px; font-weight: 900; color: #000; background: var(--brand);
  padding: 6px 16px; border-radius: 99px; box-shadow: 0 0 16px var(--brand-glow);
}
.game-card__overlay-sub {
  font-size: 11px; font-weight: 700; color: #c9d1cc; max-width: 90%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-card__overlay-prov {
  font-size: 9.5px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .5px;
}
.game-card__fallback {
  display: none !important;
}
.game-card.has-fallback {
  display: none !important;
}
.orig-banner-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.orig-preview-img { width: 48px; height: 64px; border-radius: 8px; object-fit: cover; border: 1px solid var(--surface-3); background: #000; flex-shrink: 0; }
.orig-file-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 12px; font-size: 11px; font-weight: 700; background: var(--surface-3); border-radius: 8px; cursor: pointer; color: var(--text); white-space: nowrap; }
.orig-file-btn:hover { background: var(--brand); color: #000; }

/* ---------- Modal do jogo (Otimizado Desktop & Mobile) ---------- */
.game-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.game-modal.hidden,
#gameModal.hidden,
[id="gameModal"].hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
.game-modal__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(8px);
}
.game-modal__box {
  position: relative;
  width: min(1560px, 98vw);
  height: 95vh;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  background: #050806;
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.95);
  transition: all 0.2s ease;
}
.game-modal.is-fullscreen .game-modal__box {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
}
.game-modal__head {
  flex-shrink: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #0a0f0d;
  z-index: 10;
}
.game-modal__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-modal__rtp {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 8px;
  border-radius: 99px;
  flex-shrink: 0;
}
.game-modal__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.game-modal__fs-btn {
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s ease;
}
.game-modal__fs-btn:hover {
  color: #fff;
  background: var(--surface-3);
  border-color: var(--brand);
}
.game-modal__close {
  position: static;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s ease;
  z-index: 10;
}
.game-modal__close:hover {
  color: #fff;
  background: rgba(255, 23, 68, 0.25);
  border-color: #ff1744;
}
.game-modal__body {
  flex: 1 1 auto;
  width: 100%;
  height: calc(100% - 52px);
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}
.pf-frame {
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  min-height: 100% !important;
  border: none !important;
  display: block !important;
  background: #000;
}

.game { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.game__stage { position: relative; min-height: 340px; border-radius: 14px; background: radial-gradient(circle at 50% 30%, #12261a, #08100b); border: 1px solid var(--border); padding: 16px; overflow: hidden; }
.game__controls { display: flex; flex-direction: column; gap: 12px; }
.game__help { font-size: 12px; color: var(--muted); line-height: 1.45; }
.gbet { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 6px 0 12px; background: var(--bg); border: 1.5px solid var(--surface-3); border-radius: 10px; }
.gbet:focus-within { border-color: var(--brand); }
.gbet span { color: var(--muted); font-weight: 700; }
.gbet input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-weight: 800; font-size: 15px; }
.gbet input:disabled { opacity: .5; }
.gbet button { padding: 6px 10px; border-radius: 7px; background: var(--surface-2); font-weight: 800; font-size: 12px; }
.gbet button:hover { background: var(--surface-3); }
.game__controls select { width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--bg); border: 1.5px solid var(--surface-3); color: var(--text); font: inherit; font-weight: 700; outline: 0; }
.game__controls select:disabled { opacity: .5; }
.btn--cashout-live { background: #ffb648 !important; color: #1a0f00 !important; box-shadow: 0 0 18px rgba(255,182,72,.45); }
.game__controls .btn:disabled { opacity: .5; cursor: not-allowed; }

/* Crash */
.crash { display: flex; flex-direction: column; padding: 12px; }
.crash__history { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-height: 24px; }
.crash__history span { flex-shrink: 0; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: rgba(255,31,75,.15); color: #ff6b85; }
.crash__history span.good { background: var(--brand-soft); color: var(--brand); }
.crash canvas { width: 100%; height: 300px; display: block; margin-top: 8px; }
.crash__mult { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font-size: clamp(40px, 7vw, 64px); font-weight: 900; text-shadow: 0 0 30px var(--brand-glow); pointer-events: none; }
.crash__mult.crashed { color: var(--live); text-shadow: 0 0 30px rgba(255,31,75,.5); }
.crash__msg { text-align: center; font-weight: 700; color: #c9d1cc; min-height: 20px; margin-top: 6px; }
.crash__msg b { color: var(--brand); }

/* Mines */
.mines { display: grid; place-items: center; }
.mines__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: min(100%, 400px); }
.mines__tile {
  aspect-ratio: 1; border-radius: 10px; font-size: 28px; display: grid; place-items: center;
  background: linear-gradient(160deg, #2c332f, #1f2522); border-bottom: 4px solid #141816;
  transition: transform .12s, background .2s;
}
.mines__tile:not(:disabled):hover { transform: translateY(-2px); background: linear-gradient(160deg, #36403a, #262d29); }
.mines__tile:disabled { cursor: default; }
.mines__tile.open { background: #0f1612; border-bottom-color: transparent; animation: pop .25s; }
.mines__tile.gem { background: radial-gradient(circle, rgba(0,230,118,.3), #0f1612 70%); }
.mines__tile.boom { background: radial-gradient(circle, rgba(255,31,75,.5), #1a0a0e 70%); }
.mines__tile.dim { opacity: .4; animation: none; }
@keyframes pop { 0% { transform: scale(.8); } 60% { transform: scale(1.08); } }
.mines__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mines__info > div { background: var(--surface-2); border-radius: 10px; padding: 8px; text-align: center; }
.mines__info small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.mines__info b { font-size: 13px; color: var(--brand); }

/* Dice */
.dice { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 24px; }
.dice__result { text-align: center; font-size: clamp(48px, 8vw, 72px); font-weight: 900; font-variant-numeric: tabular-nums; }
.dice__result.win { color: var(--brand); text-shadow: 0 0 30px var(--brand-glow); }
.dice__result.lose { color: var(--live); }
.dice__track { position: relative; height: 34px; display: flex; align-items: center; }
.dice__bar { position: absolute; left: 0; right: 0; height: 12px; border-radius: 99px; }
.dice__track input[type=range] { position: relative; width: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; height: 34px; }
.dice__track input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 12px; }
.dice__track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -8px; border-radius: 8px; background: #fff; border: 3px solid var(--brand); cursor: grab; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
.dice__track input[type=range]::-moz-range-track { background: transparent; }
.dice__track input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 8px; background: #fff; border: 3px solid var(--brand); cursor: grab; }
.dice__marker { position: absolute; top: -30px; transform: translateX(-50%); background: #fff; color: #03140a; font-weight: 900; font-size: 12px; padding: 3px 7px; border-radius: 6px; pointer-events: none; transition: left .3s; }
.dice__marker::after { content: ''; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-bottom: 0; border-top-color: #fff; }
.dice__scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 700; }
.dice__hist { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; min-height: 24px; }
.dice__hist span { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.dice__hist span.good { background: var(--brand-soft); color: var(--brand); }
.dice__hist span.bad { background: rgba(255,31,75,.15); color: #ff6b85; }

/* Slot */
.slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.slot__machine { position: relative; padding: 14px; border-radius: 18px; background: linear-gradient(160deg, #1d3a27, #0b1a10); border: 2px solid rgba(0,230,118,.4); box-shadow: 0 0 30px rgba(0,230,118,.15), inset 0 0 20px rgba(0,0,0,.6); }
.slot__reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot__reel { width: clamp(80px, 14vw, 110px); display: flex; flex-direction: column; align-items: center; border-radius: 12px; background: linear-gradient(180deg, #0a0f0c, #18201b 50%, #0a0f0c); overflow: hidden; }
.slot__reel span { height: clamp(64px, 10vw, 84px); display: grid; place-items: center; font-size: clamp(36px, 6vw, 50px); opacity: .35; }
.slot__reel span.hit { opacity: 1; }
.slot__reel.spinning span { opacity: .8; filter: blur(2px); animation: reelShake .07s infinite; }
@keyframes reelShake { 50% { transform: translateY(6px); } }
.slot__line { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: var(--brand); opacity: .6; box-shadow: 0 0 10px var(--brand); pointer-events: none; }
.slot__msg { font-weight: 800; color: #c9d1cc; min-height: 22px; text-align: center; }
.slot__msg.win { color: var(--brand); font-size: 17px; animation: pop .4s; }
.paytable { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.paytable th { text-align: left; color: var(--muted); font-weight: 700; padding: 6px 4px; border-bottom: 1px solid var(--surface-3); }
.paytable td { padding: 5px 4px; border-bottom: 1px solid var(--border); }
.paytable td:last-child, .paytable th:last-child { text-align: right; color: var(--brand); font-weight: 800; }

/* Cassino responsivo */
@media (max-width: 900px) {
  .game { grid-template-columns: minmax(0, 1fr); }
  .game__stage { min-height: 280px; }
  .crash canvas { height: 240px; }
  .casino-hero::after { display: none; }
}
@media (max-width: 640px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .search--sm { width: 100%; }
  .game-modal.hidden,
  #gameModal.hidden,
  [id="gameModal"].hidden {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
  .game-modal:not(.hidden) {
    inset: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    place-items: stretch !important;
    width: 100vw !important;
    height: 100dvh !important;
  }
  .game-modal__backdrop { display: none !important; }
  .game-modal__box {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #000 !important;
  }
  .game-modal__head {
    height: 44px !important;
    padding: 0 10px !important;
    flex-shrink: 0 !important;
  }
  .game-modal__head .balance-chip small { display: none !important; }
  .game-modal__body {
    flex: 1 1 auto !important;
    width: 100vw !important;
    height: calc(100dvh - 44px) !important;
    max-height: calc(100dvh - 44px) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    background: #000 !important;
  }
  .pf-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    flex: 1 1 auto !important;
    border: none !important;
    display: block !important;
  }
  .casino-hero { padding: 150px 18px 20px; min-height: 0; align-items: flex-end; background-position: 75% top; background-size: auto 230px; }
  .casino-hero::before { background: linear-gradient(0deg, rgba(4,9,6,1) 45%, rgba(4,9,6,.6) 65%, rgba(4,9,6,0) 85%); }
  .casino-hero__stats { gap: 16px; }
  .casino-hero__stats b { font-size: 18px; }
  .casino-hero__cta .btn { flex: 1; }
}

/* =========================================================
   ÍCONES SVG (substituem emojis)
   ========================================================= */
.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex-shrink: 0; }
.flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; vertical-align: middle; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.side-item__icon { display: grid; place-items: center; color: var(--muted); }
.side-item__icon .ic { width: 18px; height: 18px; }
.side-item.active .side-item__icon { color: var(--brand); }
.tile span:first-child { display: grid; place-items: center; height: 26px; }
.tile .ic { width: 24px; height: 24px; stroke-width: 1.7; }
.tile .flag { width: 26px; height: 18px; }
.tile.active span:first-child { color: var(--brand) !important; }
#sectionTitle { display: flex; align-items: center; gap: 8px; }
#sectionTitle .ic { color: var(--brand); width: 20px; height: 20px; }
.day-head .live-dot { margin-right: 4px; }
.odd .ic { width: 16px; height: 16px; color: var(--muted); }
.empty-state > div .ic { width: 44px; height: 44px; color: var(--muted); stroke-width: 1.4; }
.betslip__empty-icon .ic { width: 44px; height: 44px; color: var(--muted); stroke-width: 1.4; }
.profile-card__avatar .ic { width: 34px; height: 34px; color: var(--brand); }
.status .ic { width: 12px; height: 12px; }
.bet-card__sel .ic { width: 14px; height: 14px; color: var(--brand); }
.notice__icon { display: grid; place-items: center; }
.notice__icon .ic { width: 22px; height: 22px; }
.notice__icon--age { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--live); color: var(--live); font-size: 11px; font-weight: 900; }
.help-cat span .ic { width: 24px; height: 24px; color: var(--brand); stroke-width: 1.6; }
.contact-card__icon .ic { width: 28px; height: 28px; color: var(--brand); stroke-width: 1.6; }
.doc h3 .ic, .rg-card h3 .ic, h3 > .ic { color: var(--brand); width: 18px; height: 18px; margin-right: 4px; }
.page-nav a .ic, .doc-nav a .ic { width: 15px; height: 15px; margin-right: 4px; }
.pill .ic { width: 15px; height: 15px; margin-right: 2px; }
.btn .ic { width: 17px; height: 17px; }
.game-card__tag .ic { width: 11px; height: 11px; color: #ffb648; }
.game-card__icon .ic { width: 48px; height: 48px; color: var(--brand); stroke-width: 1.3; }
.crash__msg .ic { color: var(--brand); }
.art { display: block; }
.mines__tile .art { width: 62%; height: 62%; }
.slot__reel span .art { width: 72%; height: 72%; }
.pt-syms .art { display: inline-block; width: 18px; height: 18px; margin-right: 2px; vertical-align: middle; }

/* =========================================================
   PÁGINA DA PARTIDA (mercados)
   ========================================================= */
.row__info[data-match] { cursor: pointer; }
.row__info[data-match]:hover .row__team-name { color: var(--brand); }

.match-head {
  position: relative; text-align: center; padding: 18px 16px 22px; margin-bottom: 12px; border-radius: 14px;
  background: radial-gradient(circle at 50% 0%, rgba(0,230,118,.14), transparent 60%), var(--surface); border: 1px solid var(--border);
}
.match-head__back { position: absolute; left: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); display: grid; place-items: center; }
.match-head__back:hover { background: var(--brand); color: #03140a; }
.match-head__back .ic { width: 20px; height: 20px; }
.match-head__league { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.match-head__league .ic { width: 16px; height: 16px; }
.match-head__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; max-width: 620px; margin: 0 auto; }
.match-team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.match-team .crest { width: 52px; height: 52px; }
.match-team .crest__fallback { width: 44px; height: 50px; font-size: 13px; }
.match-head__mid { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 110px; }
.match-head__score { font-size: 34px; font-weight: 900; color: var(--brand); letter-spacing: 2px; }
.match-head__score i { font-style: normal; color: var(--muted); }
.match-head__vs { font-size: 22px; font-weight: 900; color: var(--muted); }

.match-tabs { position: sticky; top: var(--header-h); z-index: 5; background: var(--bg); padding: 8px 0 10px; margin-bottom: 4px; }
.match-tabs .pill small { opacity: .6; font-size: 11px; margin-left: 2px; }

.markets { display: flex; flex-direction: column; gap: 10px; }
.market { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.market__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; text-align: left; }
.market__title { display: flex; flex-direction: column; font-weight: 800; font-size: 14px; }
.market__tag { font-size: 10.5px; font-style: italic; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .3px; margin-top: 2px; }
.market__chev { color: var(--muted); transition: transform .2s; }
.market.is-collapsed .market__chev { transform: rotate(-90deg); }
.market__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 6px; padding: 0 10px 10px; }
.mkt {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 12px;
  border-radius: 8px; background: var(--surface-2); border: 1px solid transparent; text-align: left; transition: background .15s, border-color .15s;
}
.mkt span { font-size: 13px; color: #d5dbd7; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkt b { font-weight: 900; color: var(--brand); flex-shrink: 0; }
.mkt:hover { border-color: var(--brand); background: var(--surface-3); }
.mkt.selected { background: var(--brand); box-shadow: 0 0 12px var(--brand-glow); }
.mkt.selected span, .mkt.selected b { color: #03140a; }
.market__more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 10px; border-top: 1px solid var(--border); font-weight: 700; font-size: 13px; color: var(--muted); }
.market__more:hover { color: var(--text); }
.market__more .ic { width: 15px; height: 15px; }
.match-foot { margin-top: 14px; font-size: 11.5px; color: var(--muted); text-align: center; }

@media (max-width: 640px) {
  .match-head { padding: 54px 10px 18px; }
  .match-team { font-size: 13px; }
  .match-team .crest { width: 42px; height: 42px; }
  .match-head__score { font-size: 28px; }
  .market__grid { gap: 5px; padding: 0 8px 8px; }
  .mkt { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 7px 9px; }
  .mkt span { white-space: normal; font-size: 12.5px; }
}

/* =========================================================
   CHAT DE SUPORTE (widget)
   ========================================================= */
.sup-fab {
  position: fixed; right: calc(var(--slip-w) + 20px); bottom: 20px; z-index: 58; width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); color: #03140a; display: grid; place-items: center; box-shadow: 0 6px 24px var(--brand-glow); transition: transform .2s;
}
.sup-fab:hover { transform: scale(1.06); }
.sup-fab .ic { width: 26px; height: 26px; stroke-width: 2; }
.sup-fab.is-open { background: var(--surface-3); color: var(--text); box-shadow: none; }
.sup-fab__badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--live); color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
body.is-casino .sup-fab, body.is-casino .sup-panel { right: 20px; }

.sup-panel {
  position: fixed; right: calc(var(--slip-w) + 20px); bottom: 88px; z-index: 9999; width: 370px; height: min(600px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--surface-3); border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: supIn .2s ease;
}
@keyframes supIn { from { opacity: 0; transform: translateY(12px); } }
.sup-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: linear-gradient(120deg, #0d2417, #0b1a11); border-bottom: 1px solid var(--surface-3); }
.sup-head__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; border: 1.5px solid var(--brand); flex-shrink: 0; overflow: hidden; }
.sup-head__avatar img, .sup-head__logo { width: 24px; height: 24px; object-fit: contain; display: block; }
.sup-head__info { flex: 1; min-width: 0; }
.sup-head__info strong { display: block; font-size: 14px; }
.sup-head__info small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.sup-head__btn { width: 32px; height: 32px; border-radius: 8px; color: var(--muted); display: grid; place-items: center; }
.sup-head__btn:hover { background: var(--surface-2); color: var(--text); }
.sup-head__btn .ic { width: 17px; height: 17px; }
.sup-body { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.sup-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 88%; }
.sup-msg--me { align-self: flex-end; align-items: flex-end; }
.sup-who { font-size: 10.5px; color: var(--muted); font-weight: 700; margin: 0 0 3px 4px; }
.sup-bubble { padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); font-size: 13.5px; line-height: 1.45; word-wrap: break-word; }
.sup-bubble a { color: var(--brand); text-decoration: underline; }
.sup-msg--me .sup-bubble { background: var(--brand); color: #03140a; border-radius: 14px 14px 4px 14px; font-weight: 600; }
.sup-msg--agent .sup-bubble { background: #13314a; }
.sup-msg time { font-size: 10px; color: var(--muted); margin: 3px 4px 0; }
.sup-muted { color: var(--muted); font-size: 12.5px; }
.sup-sys { align-self: center; text-align: center; font-size: 12px; color: #c9d1cc; background: rgba(255,182,72,.08); border: 1px solid rgba(255,182,72,.25); padding: 8px 12px; border-radius: 10px; max-width: 95%; }
.sup-tips { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.sup-tips p { font-size: 11.5px; color: var(--muted); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .4px; }
.sup-tips, .sup-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sup-tips p { width: 100%; }
.sup-chips { margin-top: 8px; }
.sup-chip { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--brand); color: var(--brand); font-size: 12.5px; font-weight: 700; background: transparent; }
.sup-chip:hover { background: var(--brand); color: #03140a; }
.sup-chip--alt { border-color: var(--surface-3); color: var(--text); }
.sup-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; width: 260px; max-width: 100%; }
.sup-contact input { height: 40px; padding: 0 12px; border-radius: 9px; background: var(--bg); border: 1.5px solid var(--surface-3); outline: 0; }
.sup-contact input:focus { border-color: var(--brand); }
.sup-rate { text-align: center; padding: 12px; background: var(--bg); border-radius: 12px; }
.sup-rate p { font-weight: 700; margin-bottom: 6px; }
.sup-rate button { color: #ffd23f; padding: 2px; }
.sup-rate button .ic { width: 26px; height: 26px; }
.sup-rate button:hover .ic, .sup-rate button:hover ~ button .ic { fill: none; }
.sup-rate div:hover button .ic { fill: #ffd23f; }
.sup-rate div button:hover ~ button .ic { fill: none; }
.sup-typing { display: flex; gap: 4px; padding: 0 16px 8px; }
.sup-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: supDot 1s infinite; }
.sup-typing span:nth-child(2) { animation-delay: .15s; } .sup-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes supDot { 50% { opacity: .2; transform: translateY(-3px); } }
.sup-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--surface-3); }
.sup-input input { flex: 1; height: 44px; padding: 0 14px; border-radius: 99px; background: var(--bg); border: 1.5px solid var(--surface-3); outline: 0; }
.sup-input input:focus { border-color: var(--brand); }
.sup-input button { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #03140a; display: grid; place-items: center; }
.sup-input button .ic { width: 18px; height: 18px; fill: currentColor; }

/* mini extrato no perfil */
.tx-mini { margin: 16px 0 6px; text-align: left; border-top: 1px solid var(--surface-3); padding-top: 10px; }
.tx-mini > div { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--surface-3); font-size: 13px; }
.tx-mini small { display: block; color: var(--muted); font-size: 11px; }
.tx-mini b { color: var(--brand); }
.tx-mini b.neg { color: var(--text); }

@media (max-width: 1280px) {
  .sup-fab { right: 16px; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  .sup-panel { right: 16px; bottom: calc(var(--nav-h) + 76px); }
}
@media (max-width: 640px) {
  .sup-panel { left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; z-index: 9999; }
  .sup-fab.is-open { display: none; }
}


/* =========================================================
   PROMOÇÕES · ROLETA · CARTEIRA (promos.js)
   ========================================================= */
.promo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(0,230,118,.25); padding: 4px 10px; border-radius: 999px; }
.promo-tag .ic { width: 13px; height: 13px; }
.promo-list { display: grid; gap: 14px; }
.promo-hero { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.promo-hero__media { background-size: cover; background-position: 70% center; min-height: 230px; position: relative; }
.promo-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--surface)); }
.promo-hero__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.promo-hero__body h3 { font-size: 24px; font-weight: 900; line-height: 1.1; }
.promo-hero__body h3 em, .wheel-sec h2 em { font-style: normal; color: var(--brand); }
.promo-hero__body p { color: #c9d1cc; font-size: 14px; line-height: 1.5; }
.promo-hero__cta { width: 100%; }
.promo-rules { width: 100%; font-size: 12.5px; color: var(--muted); }
.promo-rules summary { cursor: pointer; font-weight: 700; color: #c9d1cc; }
.promo-rules ul { margin: 8px 0 0 18px; display: grid; gap: 4px; line-height: 1.45; }
.promo-status { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--surface-3); border-radius: 12px; padding: 10px 12px; font-size: 13px; width: 100%; margin: 6px 0; }
.promo-status > span { flex: 1; text-align: left; }
.promo-status .ic { width: 18px; height: 18px; color: var(--brand); }
.promo-status--col { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; }
.promo-status--col div { display: grid; gap: 2px; }
.promo-status--col span { font-size: 11.5px; color: var(--muted); }
.promo-status--col b { font-size: 17px; color: var(--brand); }
.promo-status--col small { font-size: 11px; color: var(--muted); }
.badge-ok { font-size: 12px; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 6px 10px; border-radius: 8px; }
.promo-legal { font-size: 11.5px; color: var(--muted); margin: 18px 0 6px; }
.promo-legal a { color: var(--brand); }

/* roleta */
.wheel-sec { position: relative; display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: 24px; align-items: center; padding: 26px; margin-bottom: 16px; border-radius: 18px; border: 1px solid rgba(0,230,118,.25); overflow: hidden;
  background: radial-gradient(circle at 80% 50%, rgba(0,230,118,.16), transparent 60%), linear-gradient(135deg, #0c1410, #070908); }
.wheel-sec__info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; position: relative; z-index: 1; }
.wheel-sec h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.05; text-transform: uppercase; }
.wheel-sec p { color: #c9d1cc; font-size: 14px; max-width: 460px; }
.wheel-prizes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 13.5px; font-weight: 700; }
.wheel-prizes li { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot--item { background: #d4af37; box-shadow: 0 0 8px #d4af37; }
.dot--cash { background: #00c864; box-shadow: 0 0 8px #00c864; }
.dot--spins { background: #2c8a5a; }
.wheel-status { color: var(--muted); font-size: 12.5px; }
#wheelBtn[data-soft-disabled] { background: var(--surface-3); color: var(--text); box-shadow: none; }
.wheel { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; justify-self: center; filter: drop-shadow(0 0 30px rgba(0,230,118,.25)); }
.wheel canvas { width: 100%; height: 100%; display: block; border-radius: 50%; }
.wheel__pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 2; width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-top: 34px solid #fff; filter: drop-shadow(0 3px 4px rgba(0,0,0,.6)); }
.wheel__hub { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 22%; aspect-ratio: 1; border-radius: 50%; background: #070908; border: 4px solid var(--brand); display: grid; place-items: center; box-shadow: 0 0 18px rgba(0,230,118,.5); }
.wheel__hub img { width: 70%; mix-blend-mode: lighten; }
.wheel-hist { width: 100%; max-width: 380px; display: grid; gap: 4px; font-size: 12.5px; margin-top: 4px; }
.wheel-hist small { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; }
.wheel-hist div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding: 4px 0; }
.wheel-hist span { color: var(--muted); }
.pos { color: var(--brand); }
.wheel-result { position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,.7); display: grid; place-items: center; animation: fadeIn .2s; }
.wheel-result__box { width: min(380px, 90vw); text-align: center; background: var(--surface); border: 1px solid var(--surface-3); border-radius: 18px; padding: 26px 22px; display: grid; gap: 12px; justify-items: center; }
.wheel-result__box.is-win { border-color: var(--brand); box-shadow: 0 0 40px rgba(0,230,118,.35); }
.wheel-result__box h3 { font-size: 22px; font-weight: 900; }
.wheel-result__box p { color: #c9d1cc; font-size: 14px; line-height: 1.5; }
.wheel-result__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.wheel-result__icon .ic { width: 32px; height: 32px; }
@keyframes fadeIn { from { opacity: 0; } }

/* carteira */
.wallet { display: grid; gap: 10px; }
.wallet__title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.wallet__title .ic { color: var(--brand); }
.wallet__amount input { font-size: 20px; font-weight: 800; }
.wallet__note { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.wallet__note .ic { width: 14px; height: 14px; color: var(--brand); vertical-align: -2px; margin-right: 4px; }
.wallet__bal { display: flex; justify-content: space-between; align-items: center; background: var(--surface-2); border-radius: 10px; padding: 12px 14px; }
.wallet__bal span { color: var(--muted); font-size: 13px; }
.wallet__bal b { font-size: 20px; color: var(--brand); }
.offer { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(0,230,118,.3); background: var(--brand-soft); font-size: 13px; cursor: pointer; text-align: left; }
.offer input { margin-top: 3px; accent-color: var(--brand); }
.offer .ic { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.offer small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.offer--off { opacity: .55; border-color: var(--surface-3); background: var(--surface-2); }
.pix { display: grid; justify-items: center; gap: 8px; text-align: center; }
.pix__qr { width: 210px; padding: 10px; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; }
.pix__qr svg { display: block; width: 100%; }
.pix__qr-img { width: 100%; aspect-ratio: 1; display: block; object-fit: contain; }
.pix__val { font-size: 26px; font-weight: 900; color: var(--brand); letter-spacing: -.5px; }
.pix small { color: var(--muted); font-size: 12px; }
.pix__code { display: flex; gap: 6px; width: 100%; }
.pix__code input { flex: 1; min-width: 0; background: var(--surface-2); border: 1px solid var(--surface-3); color: var(--text); border-radius: 8px; padding: 0 10px; font-size: 12px; font-family: monospace; }
.pix__status { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--brand); font-weight: 600; }
.pix__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: pulsePix 1.5s infinite; }
@keyframes pulsePix { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.3); } }
.pix__timer { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); background: var(--surface-2); padding: 4px 10px; border-radius: 99px; }
.pix__timer .ic { width: 14px; height: 14px; }
.pix__steps { text-align: left; font-size: 12.5px; color: var(--muted); line-height: 1.5; padding-left: 18px; margin: 10px 0 0; }
.pix__steps li { margin-bottom: 4px; }
.pix__steps b { color: var(--text); }
.pix-success { text-align: center; padding: 16px 8px; }
.pix-success__icon { width: 68px; height: 68px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 16px; border: 2px solid rgba(0,230,118,.3); }
.pix-success__icon .ic { width: 34px; height: 34px; }
.roll { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; font-size: 12.5px; width: 100%; text-align: left; margin: 6px 0; }
.roll__top { display: flex; justify-content: space-between; }
.roll__top span { color: var(--muted); }
.roll__bar { height: 7px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.roll__bar i { display: block; height: 100%; background: linear-gradient(90deg, #00b35c, var(--brand)); border-radius: 99px; }
.roll small { color: var(--muted); }
.fs-bar { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--brand-soft); border: 1px solid rgba(0,230,118,.35); font-size: 12.5px; margin-bottom: 10px; }
.fs-bar .ic { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.fs-bar span { flex: 1; }

@media (max-width: 900px) {
  .promo-hero { grid-template-columns: 1fr; }
  .promo-hero__media { min-height: 170px; }
  .promo-hero__media::after { background: linear-gradient(0deg, var(--surface), transparent 60%); }
  .wheel-sec { grid-template-columns: 1fr; padding: 18px; }
  .wheel { max-width: 320px; order: -1; }
  .promo-status--col { grid-template-columns: 1fr 1fr; }
  .promo-status--col > :last-child { grid-column: 1 / -1; }
}

.wheel-prizes .wp-img { width: 30px; height: 26px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }

/* =========================================================
   CASSINO ORIGINAIS DELUXE
   ========================================================= */
/* Aviator */
.aviator-stage {
  min-height: 280px;
  position: relative;
  background: radial-gradient(circle at 50% 30%, #1a1e24 0%, #0d1013 100%);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.aviator-progress-bar {
  position: absolute;
  top: 10px; left: 16px; right: 16px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
  z-index: 5;
}
.aviator-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e51937, #ff6b81);
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(229, 25, 55, 0.6);
}
.aviator-countdown {
  color: #ffcc00 !important;
  font-size: clamp(48px, 8vw, 72px) !important;
  text-shadow: 0 0 25px rgba(255, 204, 0, 0.4) !important;
}
.aviator-flying {
  color: #ffffff !important;
  font-size: clamp(52px, 9vw, 84px) !important;
  text-shadow: 0 0 30px rgba(229, 25, 55, 0.6) !important;
}
.av-chip {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}
.av-chip.badge--blue { background: rgba(33, 150, 243, 0.18); color: #64b5f6; border: 1px solid rgba(33, 150, 243, 0.35); }
.av-chip.badge--purple { background: rgba(156, 39, 176, 0.22); color: #ba68c8; border: 1px solid rgba(156, 39, 176, 0.45); }
.av-chip.badge--gold { background: rgba(255, 193, 7, 0.25); color: #ffd54f; border: 1px solid rgba(255, 193, 7, 0.6); }

/* Mines Deluxe */
.mines-status-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--surface-2);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--surface-3);
  margin-bottom: 12px;
  text-align: center;
}
.mines-stat-item small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.mines-stat-item b {
  font-size: 15px;
  font-weight: 900;
}
.mines-stat-item b.gold { color: #ffd700; }
.mines-grid-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  min-height: 320px;
}
.mines__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(52px, 68px));
  grid-auto-rows: minmax(52px, 68px);
  gap: 10px;
  justify-content: center;
  align-content: center;
  width: 100%;
  max-width: 380px;
}
.mine-tile {
  width: 100%;
  height: 100%;
  min-width: 52px;
  min-height: 52px;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #1e2429, #13171a);
  border: 2px solid #2d363f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.06), 0 4px 10px rgba(0,0,0,0.3);
}
.mines-count-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.mines-count-btn {
  flex: 1 1 calc(25% - 6px);
  min-width: 44px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mines-count-btn:hover { border-color: #00e676; }
.mines-count-btn.active {
  background: #00e676;
  color: #000;
  border-color: #00e676;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}
.mine-tile:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #00e676;
  box-shadow: 0 0 16px rgba(0,230,118,0.35);
}
.mine-tile.open {
  background: #0a0d0f;
  border-color: #1a2024;
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.8);
  transform: none;
}
.mine-tile.gem {
  background: radial-gradient(circle, rgba(0,230,118,0.2) 0%, #0a0d0f 80%);
  border-color: #00e676;
  box-shadow: 0 0 20px rgba(0,230,118,0.5);
  animation: gemPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mine-tile.boom {
  background: radial-gradient(circle, rgba(255,23,68,0.35) 0%, #0a0d0f 80%);
  border-color: #ff1744;
  box-shadow: 0 0 24px rgba(255,23,68,0.7);
  animation: boomShake 0.4s ease;
}
.mine-tile.dim { opacity: 0.4; }

@keyframes gemPop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes boomShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Limbo Deluxe */
.limbo-neon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: radial-gradient(circle, #1a2228 0%, #0c1013 100%);
  border: 2px solid #2c3842;
  border-radius: 16px;
  padding: 32px 24px;
  margin: 16px 0;
  box-shadow: inset 0 2px 10px rgba(255,255,255,0.05), 0 8px 30px rgba(0,0,0,0.5);
  width: 100%;
}
.limbo-inputs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.limbo-slider-wrap { margin: 10px 0 14px; }
.limbo-range-slider { width: 100%; accent-color: #00e676; cursor: pointer; height: 6px; background: var(--surface-3); border-radius: 99px; outline: none; }

/* Slot Deluxe */
.slot-deluxe-game {
  display: flex;
  flex-direction: column;
}
.slot-cabinet {
  background: linear-gradient(180deg, #1b2026 0%, #0c0f12 100%);
  border: 2px solid #d4af37;
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.2), inset 0 2px 8px rgba(255,255,255,0.1);
  position: relative;
}
.slot-cabinet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.slot-title {
  font-size: 16px;
  font-weight: 900;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.slot-lights {
  display: flex;
  gap: 4px;
}
.slot-lights span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffcc00;
  box-shadow: 0 0 6px #ffcc00;
  animation: lightBlink 1s infinite alternate;
}
.slot-lights span:nth-child(2n) { animation-delay: 0.3s; background: #ff1744; box-shadow: 0 0 6px #ff1744; }
.slot-lights span:nth-child(3n) { animation-delay: 0.6s; background: #00e676; box-shadow: 0 0 6px #00e676; }

@keyframes lightBlink {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

.slot-reels-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: #050708;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #232a30;
  position: relative;
  box-shadow: inset 0 20px 30px rgba(0,0,0,0.9), inset 0 -20px 30px rgba(0,0,0,0.9);
}
.slot-payline {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #ffd700 0%, #00e676 50%, #ffd700 100%);
  box-shadow: 0 0 12px #00e676, 0 0 20px #ffd700;
  z-index: 5;
  pointer-events: none;
}
.slot-payline::before, .slot-payline::after {
  content: '▶';
  position: absolute;
  top: -8px;
  font-size: 14px;
  color: #ffd700;
  text-shadow: 0 0 8px #ffd700;
}
.slot-payline::before { left: 4px; }
.slot-payline::after { right: 4px; transform: rotate(180deg); }

.slot-reel-box {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(180deg, #090c0e 0%, #151b20 50%, #090c0e 100%);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  box-shadow: inset 0 20px 25px rgba(0,0,0,0.8), inset 0 -20px 25px rgba(0,0,0,0.8);
}
.slot-reel-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
  transition: transform 0.1s ease;
}
.slot-sym-row {
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  transform: scale(0.85);
  transition: all 0.2s ease;
}
.slot-sym-row.is-payline {
  opacity: 1;
  transform: scale(1.05);
}
.slot-sym-row.is-payline.win-glow {
  animation: winGlowPulse 0.4s infinite alternate;
}
@keyframes winGlowPulse {
  0% { transform: scale(1.05); filter: drop-shadow(0 0 4px #ffd700); }
  100% { transform: scale(1.18); filter: drop-shadow(0 0 18px #ffd700); }
}
.slot-sym {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.slot-sym-lbl {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}
.slot-sym.pop-in {
  animation: symPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}
@keyframes symPop {
  0% { transform: scale(0.7); }
  100% { transform: scale(1); }
}

.blur-spin {
  filter: blur(4px);
  opacity: 0.6;
  transform: translateY(-8px);
  transition: transform 0.08s linear;
}

.slot-win-display {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  color: var(--text);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slot-win-display.win {
  background: linear-gradient(90deg, rgba(0,230,118,0.2), rgba(255,215,0,0.25));
  border-color: #ffd700;
  color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}
.slot-win-display.pulse {
  animation: winPulse 0.5s infinite alternate;
}
@keyframes winPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.03); }
}

.fs-gold-badge {
  background: linear-gradient(90deg, #7b1fa2, #ba68c8);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  box-shadow: 0 0 15px rgba(186, 104, 200, 0.5);
  animation: winPulse 1.2s infinite alternate;
}
.btn--purple {
  background: linear-gradient(135deg, #8e24aa, #ab47bc) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(171, 71, 188, 0.4) !important;
}
.btn--purple:hover {
  background: linear-gradient(135deg, #7b1fa2, #9c27b0) !important;
}


/* Banners Carousel Dots */
.banners-wrap { position: relative; width: 100%; margin: 16px 0; }
.banners-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.b-dot { width: 28px; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.2); cursor: pointer; transition: all .3s; }
.b-dot.active { width: 44px; background: var(--brand); box-shadow: 0 0 10px var(--brand); }

/* Support FAB Button */
.sup-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #03140a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 230, 118, 0.45);
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  border: none;
}
.sup-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0, 230, 118, 0.65); }
.sup-fab svg { width: 26px; height: 26px; stroke: #03140a; }

@media (max-width: 1024px) {
  .sup-fab { bottom: calc(var(--nav-h) + 16px); right: 16px; width: 46px; height: 46px; }
}

/* =========================================================
   MODAL DE DEPÓSITO CLEAN (BET DA FIRMA SPORTS STYLE)
   ========================================================= */
.modal__box.wallet-clean-box {
  width: min(440px, 94vw);
  background: #0d1712;
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 20px;
  padding: 24px 22px 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 230, 118, 0.08);
  position: relative;
  overflow: visible;
}

.dep-clean__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dep-clean__title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.4px;
}

.dep-clean__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #14221a;
  color: #8da496;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all .15s;
  z-index: 10;
}

.dep-clean__close:hover {
  background: #1c3025;
  color: #00e676;
}

/* Two Meta Boxes (Método & Mínimo) */
.dep-clean__meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.dep-meta-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dep-meta-label {
  font-size: 10.5px;
  font-weight: 800;
  color: #728c7c;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dep-meta-val {
  background: #132019;
  border: 1px solid rgba(0, 230, 118, 0.12);
  border-radius: 10px;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 800;
  color: #d1fae5;
}

/* Section Valor */
.dep-clean__input-section {
  margin-bottom: 14px;
}

.dep-clean__input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #9ab3a3;
  margin-bottom: 8px;
}

.dep-clean__input-box {
  background: #132019;
  border: 1.5px solid rgba(0, 230, 118, 0.18);
  border-radius: 12px;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  transition: border-color .15s, box-shadow .15s;
}

.dep-clean__input-box:focus-within {
  border-color: #00e676;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.25);
}

.dep-currency {
  font-size: 20px;
  font-weight: 900;
  color: #00e676;
  user-select: none;
}

.dep-clean__input-box input {
  flex: 1;
  background: none;
  border: 0;
  outline: 0;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  padding: 0;
  font-family: inherit;
}

.dep-brl-tag {
  font-size: 12.5px;
  font-weight: 800;
  color: #8da496;
  display: flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}

/* Banner de Oferta Free Bet / Bônus */
.dep-offer-banner {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.dep-offer-tag-icon {
  font-size: 18px;
  color: #00e676;
  flex-shrink: 0;
}

.dep-offer-text {
  font-size: 12px;
  color: #d1fae5;
  line-height: 1.4;
}

.dep-offer-text strong {
  color: #00e676;
  font-weight: 800;
}

/* Quick Amounts 3x2 Grid */
.dep-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.btn-quick-amt {
  position: relative;
  background: #132019;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  height: 48px;
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
}

.btn-quick-amt:hover {
  background: #1a2d23;
  border-color: rgba(0, 230, 118, 0.35);
}

.btn-quick-amt.active {
  background: #172c21;
  border-color: #00e676;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.25);
}

.btn-quick-amt .hot-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  background: #ffea00;
  color: #000000;
  font-size: 9.5px;
  font-weight: 900;
  border-radius: 999px;
  padding: 1px 6px;
  letter-spacing: -0.2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Action Button DEPOSITAR */
.btn-dep-submit {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00b359 0%, #008740 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 6px 18px rgba(0, 230, 118, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-dep-submit.ready {
  background: linear-gradient(135deg, #00e676 0%, #00b359 100%);
  color: #04120a;
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.45);
}

.btn-dep-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Tela de Checkout PIX Limpa & Segura */
.pix-checkout-clean {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pix-checkout__val-badge {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.pix-checkout__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #00e676;
  background: rgba(0, 230, 118, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.pix-checkout__timer {
  font-size: 12px;
  color: #8da496;
  font-weight: 600;
  margin-bottom: 14px;
}

.pix-checkout__qr-wrap {
  background: #ffffff;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.pix-checkout__qr-wrap img {
  width: 200px;
  height: 200px;
  display: block;
}

.pix-checkout__code-row {
  width: 100%;
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.pix-checkout__code-input {
  flex: 1;
  background: #132019;
  border: 1px solid rgba(0, 230, 118, 0.18);
  border-radius: 10px;
  padding: 0 12px;
  height: 44px;
  color: #d1fae5;
  font-size: 12px;
  font-family: monospace;
}

.pix-checkout__btn-copy {
  background: #00e676;
  color: #04120a;
  font-weight: 800;
  font-size: 13px;
  border-radius: 10px;
  padding: 0 16px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}

.pix-checkout__btn-copy:hover {
  background: #25f48b;
}

.pix-checkout__instrucoes {
  font-size: 11.5px;
  color: #8da496;
  line-height: 1.4;
  margin-bottom: 16px;
}

.pix-checkout__btn-confirm {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: #14221a;
  border: 1px solid rgba(0, 230, 118, 0.2);
  color: #00e676;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .15s;
}

.pix-checkout__btn-confirm:hover {
  background: #1a2d23;
}

/* SUPER ODDS CARD */
.sp-super-odds-row {
  margin-bottom: 20px;
}
.sp-super-card {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.08), #0c1611);
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  max-width: 380px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.1);
}
.sp-super-card:hover {
  border-color: #00e676;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 230, 118, 0.2);
}
.sp-card-league {
  font-size: 11px;
  font-weight: 700;
  color: #8da496;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-card-time {
  font-size: 11px;
  font-weight: 700;
  color: #00e676;
  margin-bottom: 8px;
}
.sp-card-market-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.sp-card-teams-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.team-crest {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
  vertical-align: middle;
}
.team-txt {
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
}
.team-dot { color: #64748b; }
.sp-super-odd-btn {
  background: #14241b;
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.sp-super-odd-btn:hover {
  background: #1c3326;
  border-color: #00e676;
}
.sp-super-odd-btn .old-odd {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: line-through;
}
.sp-super-odd-btn .odd-arr {
  font-size: 11px;
  color: #00e676;
  font-weight: 700;
}
.sp-super-odd-btn .new-odd {
  font-size: 13.5px;
  font-weight: 900;
  color: #00e676;
}

/* =========================================================
   AVATAR BONEQUINHO, GAVETA DE CONTA E HISTÓRICO DE PERFIL
   ========================================================= */
.avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}
.avatar-btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
}
.avatar-btn svg {
  width: 19px;
  height: 19px;
}

/* Drawer da Conta (Lateral Direito) */
.balance-chip[data-account] { cursor: pointer; }
.acct {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 92vw);
  z-index: 300 !important;
  pointer-events: auto !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  background: #0f1411;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
}
.acct.open {
  pointer-events: auto !important;
  transform: translateX(0) !important;
}
.acct * {
  pointer-events: auto !important;
}
.acct__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.acct__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 230, 118, 0.12);
  border: 2px solid var(--brand);
  flex: none;
  color: var(--brand);
}
.acct__who {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.acct__who b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  color: #fff;
  font-weight: 800;
}
.acct__who small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acct__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.acct__close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.acct__wallet {
  background: #141d18;
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}
.acct__wallet > small {
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
}
.acct__wallet > strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--brand);
  margin: 4px 0 14px;
}
.acct__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.acct__btns .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  font-weight: 800;
  font-size: 13px;
}
.acct__nav {
  display: flex;
  flex-direction: column;
}
.acct__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text);
  transition: background .15s, color .15s;
  border-radius: 8px;
  text-decoration: none;
}
.acct__nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.acct__nav-item span {
  flex: 1;
}
.acct__logout {
  margin-top: auto;
  padding: 16px 8px 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ef4444;
  font-weight: 700;
  font-size: 13.5px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
}
.acct__logout:hover {
  opacity: .8;
}

/* Perfil Completo na View #profileContainer */
.pf-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0 40px;
}
.pf-hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.pf-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.pf-hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.12);
  border: 2px solid var(--brand);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex: none;
}
.pf-hero-details h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.pf-hero-details p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.pf-hero-bal-box {
  background: #080c0a;
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 14px;
  padding: 14px 20px;
  text-align: right;
}
.pf-hero-bal-box small {
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}
.pf-hero-bal-box strong {
  font-size: 26px;
  font-weight: 900;
  color: var(--brand);
}
.pf-actions-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.pf-actions-bar .btn {
  flex: 1;
  min-width: 140px;
  height: 42px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pf-history-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.pf-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.pf-history-title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.pf-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #080c0a;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow-x: auto;
  max-width: 100%;
}
.pf-tab {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.pf-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.pf-tab.active {
  background: var(--brand) !important;
  color: #03140a !important;
  box-shadow: 0 2px 10px rgba(0, 230, 118, 0.4);
}
.pf-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pf-history-table th {
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.pf-history-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  color: #cbd5e1;
}
.pf-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.pf-status-badge.aprovado,
.pf-status-badge.pago,
.pf-status-badge.ganha,
.pf-status-badge.sucesso {
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.3);
}
.pf-status-badge.pendente,
.pf-status-badge.aberta,
.pf-status-badge.em-analise {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.pf-status-badge.recusado,
.pf-status-badge.perdida,
.pf-status-badge.cancelado {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* =========================================================
   BET DELAY & PROCESSING & ODDS PROTECTION (LIVE / PRE-GAME)
   ========================================================= */
.bet-progress-wrap {
  margin: 10px 0 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  position: relative;
}
.bet-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00e676, #00b0ff);
  border-radius: 999px;
  transition: width 0.1s linear;
}
.bet-progress-wrap.is-live .bet-progress-fill {
  background: linear-gradient(90deg, #ff9100, #ff1744);
}
.bet-process-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: betSpin 0.7s infinite linear;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes betSpin {
  to { transform: rotate(360deg); }
}
.btn-place-processing {
  opacity: 0.95;
  cursor: not-allowed !important;
  pointer-events: none;
  background: #1e293b !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.btn-place-processing.is-live {
  background: #2a1b12 !important;
  border-color: #ff9100 !important;
  color: #ffb74d !important;
}

/* Odds Changed UI in Betslip */
.selection--changed {
  border: 1.5px solid #ff9100 !important;
  background: rgba(255, 145, 0, 0.1) !important;
  animation: pulseChanged 1.5s infinite alternate;
}
@keyframes pulseChanged {
  0% { box-shadow: 0 0 0 0 rgba(255, 145, 0, 0.4); }
  100% { box-shadow: 0 0 10px 2px rgba(255, 145, 0, 0.3); }
}
.selection__odd-box {
  display: flex;
  align-items: center;
  gap: 6px;
}
.selection__odd--old {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--muted);
  opacity: 0.7;
}
.selection__odd--new {
  color: #ff9100 !important;
  font-size: 15px;
  font-weight: 900;
}
.selection__odd-alert {
  margin-top: 6px;
  padding: 5px 8px;
  background: rgba(255, 145, 0, 0.15);
  border: 1px solid rgba(255, 145, 0, 0.4);
  border-radius: 6px;
  color: #ffb74d;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.slip-changed-banner {
  background: rgba(255, 145, 0, 0.16);
  border: 1.5px solid #ff9100;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #ffb74d;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}
.slip-auto-odds-row {
  margin: 10px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.slip-auto-odds-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--brand);
}
.slip-auto-odds-row:hover {
  color: var(--text);
}
.btn--accept-odd {
  background: linear-gradient(135deg, #ff9100, #ff6d00) !important;
  color: #000 !important;
  font-weight: 900 !important;
  border-color: #ff9100 !important;
  box-shadow: 0 0 16px rgba(255, 145, 0, 0.45) !important;
  animation: pulseAcceptBtn 1.5s infinite alternate;
}
@keyframes pulseAcceptBtn {
  0% { box-shadow: 0 0 10px rgba(255, 145, 0, 0.4); }
  100% { box-shadow: 0 0 22px rgba(255, 145, 0, 0.85); }
}
.chip-live-mini {
  background: #ff1744;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-left: 6px;
  vertical-align: middle;
  display: inline-block;
}

/* =========================================================
   NATIVE ORIGINALS & GAME MODAL RESPONSIVE LAYOUT
   ========================================================= */
.game-modal__body > .game {
  width: 100% !important;
  height: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
.aviator-stage {
  flex: 1 1 auto !important;
  min-height: 360px !important;
  width: 100% !important;
}
.aviator-stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}
.mines-wrapper {
  width: 100% !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}
.mines-layout-cabinet {
  display: grid !important;
  grid-template-columns: 320px 1fr !important;
  gap: 24px !important;
  align-items: center !important;
}
@media (max-width: 768px) {
  .mines-layout-cabinet {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}


body.sidebar-open,
body.drawer-open,
body:has(#sidebar.open),
body:has(#acct.open),
body:has(#betslip.open) {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
  touch-action: none !important;
}

body.sidebar-open .bottom-nav,
body.drawer-open .bottom-nav,
body:has(#sidebar.open) .bottom-nav,
body:has(#acct.open) .bottom-nav,
body:has(#betslip.open) .bottom-nav {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(100%) !important;
}


/* =========================================================
   BLINDAGEM ANTI-ZOOM MOBILE (iOS Safari, Android Chrome, WebViews)
   Garante 100% que NENHUM input no mobile cause zoom no Safari
   ========================================================= */
html {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

body {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
}

*, *::before, *::after {
  touch-action: manipulation;
}

button, a, input, select, textarea, label, [role="button"],
.odd, .sp-odd-btn, .game-card, .game-card-betboa, .sp-match-card, .tab, .bnav-item {
  touch-action: manipulation;
}

/* Previne rigorosamente o auto-zoom do Safari/iOS ao focar em qualquer input */
@media screen and (max-width: 768px) {
  input,
  select,
  textarea,
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="search"],
  #casinoSearchInput,
  .betboa-search-bar input,
  .cat-header__search input,
  .stake-input input,
  .search input,
  .form input:not([type="checkbox"]),
  .pix__code input,
  .pix-checkout__code-input,
  .indique-link-input,
  .aff-link-input,
  .cfg-in,
  .cfg-f input[type="number"],
  .orig-input {
    font-size: 16px !important;
  }
}
