/* FliperBet — tema "neon arcade": navy profundo + violeta + ciano */
:root {
  --bg: #0a0d1c;
  --bg2: #0e1226;
  --panel: #131a33;
  --panel2: #1a2244;
  --line: #26315a;
  --brand: #7c5cff;
  --brand2: #5b3df0;
  --accent: #00e5b0;
  --accent2: #00b4d8;
  --ink: #eef1ff;
  --muted: #9aa5cc;
  --faint: #67719c;
  --up: #2fd67b;
  --down: #ff5c74;
  --gold: #ffc94d;
  --header-h: 58px;
  --radius: 10px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px; min-height: 100vh;
  user-select: none; -webkit-user-select: none;
}
input, textarea, .allow-select { user-select: text; -webkit-user-select: text; }
button { font-family: inherit; cursor: pointer; border: 0; }
img { max-width: 100%; }
a { color: var(--accent2); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

/* ==================== HEADER ==================== */
#hdr {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 300;
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  background: linear-gradient(135deg, #1a1340 0%, #101736 55%, #0d1b3a 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(0,0,0,.45);
}
#menuBtn { display: none; background: none; color: var(--ink); padding: 6px; }
#menuBtn svg { width: 24px; height: 24px; fill: var(--ink); display: block; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: 0 0 auto; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent2));
  box-shadow: 0 0 14px rgba(124,92,255,.55);
}
.logo .mark svg { width: 20px; height: 20px; fill: #fff; }
.logo .word { font-size: 19px; font-weight: 800; letter-spacing: -.3px; color: #fff; }
.logo .word b { color: var(--accent); font-weight: 800; }
#hdrAuth { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr-balance {
  display: flex; align-items: center; gap: 7px; padding: 6px 12px;
  background: rgba(0,229,176,.1); border: 1px solid rgba(0,229,176,.35);
  border-radius: 999px; white-space: nowrap; cursor: pointer;
}
.hdr-balance small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.hdr-balance strong { font-size: 13.5px; color: var(--accent); font-weight: 800; }
.langsel {
  background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--ink);
  border-radius: 8px; padding: 7px 8px; font-size: 12px; font-weight: 700;
}
/* menu do usuário (dropdown) */
.acct-wrap { position: relative; }
.acct-btn {
  display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 12.5px;
}
.acct-btn svg { width: 17px; height: 17px; fill: var(--muted); }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 240px; z-index: 400;
  background: var(--panel2); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.6); overflow: hidden; display: none;
}
.acct-menu.open { display: block; }
.acct-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 11px 14px; background: none; color: var(--ink); font-size: 13px; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.acct-menu button:last-child { border-bottom: 0; }
.acct-menu button:hover { background: rgba(124,92,255,.14); }
.acct-menu button svg { width: 16px; height: 16px; fill: var(--muted); flex: 0 0 auto; }
.acct-menu .danger { color: var(--down); }

/* ==================== BOTÕES ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: 8px; font-weight: 800; font-size: 13px;
  color: var(--ink); background: var(--panel2); border: 1px solid var(--line);
  transition: transform .08s, box-shadow .15s;
}
.btn:active { transform: scale(.97); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #04120d; border: 0;
  box-shadow: 0 3px 14px rgba(0,229,176,.35);
}
.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border: 0;
  box-shadow: 0 3px 14px rgba(124,92,255,.4);
}
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ==================== LAYOUT ==================== */
#layout {
  display: flex; gap: 14px; max-width: 1360px; margin: 0 auto;
  padding: calc(var(--header-h) + 14px) 14px 80px;
}
#sidebar {
  flex: 0 0 250px; background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px; height: fit-content;
  position: sticky; top: calc(var(--header-h) + 14px);
  max-height: calc(100vh - var(--header-h) - 28px); overflow-y: auto;
}
#main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
#betslipCol {
  flex: 0 0 300px; background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--radius); height: fit-content;
  position: sticky; top: calc(var(--header-h) + 14px); overflow: hidden;
}
.side-search input {
  width: 100%; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); font-size: 13px; outline: none;
}
.side-group { margin-top: 8px; }
.side-group-h {
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 5px;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--faint);
}
.side-group-h svg { width: 15px; height: 15px; fill: var(--brand); }
.side-item {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 8px 10px; border-radius: 7px; background: none; color: var(--muted);
  font-size: 12.5px; font-weight: 600; text-align: left;
}
.side-item:hover { background: var(--panel2); color: var(--ink); }
.side-item.active { background: linear-gradient(90deg, rgba(124,92,255,.25), transparent); color: var(--accent); }
.side-item .cnt { font-size: 10.5px; color: var(--faint); background: var(--panel); border-radius: 10px; padding: 1px 7px; }

/* ==================== HERO / TABS ==================== */
.hero {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: linear-gradient(120deg, #241a5e 0%, #171f4d 55%, #0d2b4a 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  overflow: hidden; position: relative;
}
.hero::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,229,176,.25), transparent 65%);
}
.hero h1 { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.hero h1 b { color: var(--accent); }
.hero p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 520px; line-height: 1.5; }
.hero .ball { flex: 0 0 auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }
.tabs { display: flex; gap: 8px; }
.tab {
  padding: 8px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); font-size: 12.5px; font-weight: 700;
}
.tab.active { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-color: transparent; }

.section-t {
  display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; margin-top: 4px;
}
.section-t svg { width: 17px; height: 17px; fill: var(--accent); }

/* ==================== EVENTOS ==================== */
.league { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.league-h {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px; cursor: pointer;
  font-weight: 800; font-size: 13px; background: var(--panel);
}
.league-h .flag svg { fill: var(--gold); }
.league-h .caret { width: 18px; height: 18px; fill: var(--faint); margin-left: auto; transition: transform .2s; }
.league.closed .caret { transform: rotate(-90deg); }
.league-body { display: flex; flex-direction: column; }
.ev-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer;
}
.ev-row:hover { background: rgba(124,92,255,.06); }
.ev-time { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.45; }
.ev-time .live {
  display: inline-block; color: #fff; background: var(--down); font-weight: 800; font-size: 9.5px;
  padding: 2px 7px; border-radius: 4px; letter-spacing: .5px; animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .55; } }
.ev-teams .t { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 2.5px 0; }
@media (min-width: 601px) { .ev-teams .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.ev-teams .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.ev-score { font-size: 12px; font-weight: 800; color: var(--gold); text-align: center; margin-top: 3px; }
.mcols { display: flex; gap: 6px; }
.odd {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 62px;
  padding: 7px 9px; border-radius: 8px; background: var(--panel2); border: 1px solid var(--line);
  color: var(--ink); position: relative; transition: border-color .15s, background .15s;
}
.odd:hover { border-color: var(--brand); }
.odd .lbl { font-size: 10px; color: var(--faint); font-weight: 700; text-transform: uppercase; }
.odd .val { font-size: 13.5px; font-weight: 800; color: var(--accent); }
.odd.sel { background: linear-gradient(135deg, var(--brand), var(--brand2)); border-color: transparent; }
.odd.sel .lbl, .odd.sel .val { color: #fff; }
.odd.off { opacity: .38; pointer-events: none; }
/* setas de movimento das odds */
.odd .arr {
  position: absolute; top: 2px; right: 4px; font-size: 9px; line-height: 1;
  animation: arrFade 8s forwards;
}
.odd .arr.up { color: var(--up); }
.odd .arr.down { color: var(--down); }
@keyframes arrFade { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-3px); } }

.skel { height: 74px; border-radius: var(--radius); background: linear-gradient(90deg, var(--bg2) 25%, var(--panel) 50%, var(--bg2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.center-msg { text-align: center; color: var(--muted); padding: 40px 20px; font-size: 13.5px; }

/* ==================== BETSLIP ==================== */
.bs-h {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; background: var(--panel); border-bottom: 1px solid var(--line); font-size: 13px;
}
.bs-h .n { background: var(--brand); color: #fff; border-radius: 10px; padding: 1px 8px; font-size: 11px; margin-left: 6px; }
.bs-h .clear { background: none; color: var(--faint); font-size: 11.5px; font-weight: 700; }
.bs-h .clear:hover { color: var(--down); }
.bs-empty { padding: 34px 16px; text-align: center; color: var(--faint); font-size: 12.5px; line-height: 1.7; }
.bs-empty svg { width: 34px; height: 34px; fill: var(--line); }
.bs-item { position: relative; padding: 11px 38px 11px 14px; border-bottom: 1px solid var(--line); }
.bs-item .rm {
  position: absolute; right: 8px; top: 10px; width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255,92,116,.14); color: var(--down); font-size: 11px; font-weight: 800;
}
.bs-item .rm:hover { background: var(--down); color: #fff; }
.bs-item .pick { font-weight: 800; font-size: 13px; color: var(--accent); }
.bs-item .mkt { font-size: 10.5px; color: var(--faint); text-transform: uppercase; font-weight: 700; margin-top: 1px; }
.bs-item .match { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.bs-item .odds { position: absolute; right: 12px; bottom: 11px; font-weight: 800; color: var(--gold); font-size: 13px; }
.bs-foot { padding: 12px 14px; }
.stake-quick { display: flex; gap: 5px; margin-bottom: 8px; }
.stake-quick button {
  flex: 1; padding: 6px 0; border-radius: 6px; background: var(--panel2); border: 1px solid var(--line);
  color: var(--muted); font-size: 11px; font-weight: 700;
}
.stake-quick button:hover { color: var(--accent); border-color: var(--accent); }
.stake-box input {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); font-size: 15px; font-weight: 700; outline: none;
}
.stake-box input:focus { border-color: var(--brand); }
.bs-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 12.5px; color: var(--muted); }
.bs-row .tot { font-weight: 800; color: var(--ink); }

/* FAB mobile */
#fabSlip {
  position: fixed; right: 14px; bottom: 76px; z-index: 280; display: none;
  align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #04120d;
  font-weight: 800; font-size: 13px; box-shadow: 0 8px 24px rgba(0,229,176,.4);
}
#fabSlip.on { display: inline-flex; }

/* ==================== MODAL / FORM ==================== */
.overlay {
  position: fixed; inset: 0; z-index: 500; background: rgba(4,6,16,.78);
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 14px;
  overflow-y: auto; backdrop-filter: blur(3px);
}
.modal {
  width: 100%; max-width: 420px; background: var(--bg2); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; animation: pop .18s ease-out;
}
@keyframes pop { from { transform: scale(.94) translateY(10px); opacity: 0; } }
.modal-h {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; background: var(--panel); border-bottom: 1px solid var(--line);
  font-weight: 800; font-size: 14.5px;
}
.modal-h .x { background: none; color: var(--muted); font-size: 15px; padding: 4px 6px; }
.modal-b { padding: 16px; max-height: 76vh; overflow-y: auto; }
.fld { margin-bottom: 12px; }
.fld label { display: block; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; }
.fld input, .fld select {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); font-size: 14px; outline: none;
}
.fld input:focus, .fld select:focus { border-color: var(--brand); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-err {
  background: rgba(255,92,116,.12); border: 1px solid rgba(255,92,116,.4); color: var(--down);
  border-radius: 8px; padding: 9px 12px; font-size: 12.5px; margin-bottom: 12px;
}
.form-ok {
  background: rgba(47,214,123,.1); border: 1px solid rgba(47,214,123,.4); color: var(--up);
  border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; font-weight: 600;
}
.auth-switch { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.auth-switch b { color: var(--accent); cursor: pointer; }
.code-input { display: flex; gap: 8px; justify-content: center; margin: 16px 0; }
.code-input input {
  width: 44px; height: 52px; text-align: center; font-size: 22px; font-weight: 800;
  border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); outline: none;
}
.code-input input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,229,176,.15); }
.note { font-size: 11.5px; color: var(--faint); text-align: center; line-height: 1.6; margin-top: 10px; }
.amount-chips { display: flex; gap: 6px; margin-bottom: 12px; }
.amount-chips button {
  flex: 1; padding: 7px 0; border-radius: 7px; background: var(--panel2); border: 1px solid var(--line);
  color: var(--muted); font-size: 12px; font-weight: 700;
}
.amount-chips button:hover { border-color: var(--accent); color: var(--accent); }
.pay-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.pay-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); font-size: 11px; font-weight: 700;
}
.pay-tab svg { width: 20px; height: 20px; fill: var(--faint); }
.pay-tab.active { border-color: var(--accent); color: var(--accent); background: rgba(0,229,176,.07); }
.pay-tab.active svg { fill: var(--accent); }
.qr-wrap { text-align: center; }
.qr-wrap img { width: 210px; height: 210px; border-radius: 12px; background: #fff; padding: 8px; }
.pay-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0; color: var(--gold); font-size: 12.5px; font-weight: 700; }
.spin { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.copiacola { display: flex; gap: 6px; }
.copiacola input {
  flex: 1; min-width: 0; padding: 9px 10px; border-radius: 8px; border: 1px dashed var(--accent2);
  background: var(--panel); color: var(--muted); font-size: 11px;
}
.boleto-frame { width: 100%; height: 380px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.acc-tabs { display: flex; gap: 5px; margin-bottom: 14px; flex-wrap: wrap; }
.acc-tab { padding: 7px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-weight: 700; }
.acc-tab.active { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-color: transparent; }
.badge { padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; }
.badge.open { background: rgba(255,201,77,.15); color: var(--gold); }
.badge.won { background: rgba(47,214,123,.15); color: var(--up); }
.badge.lost { background: rgba(255,92,116,.15); color: var(--down); }
.badge.pend { background: rgba(124,92,255,.18); color: var(--brand); }

/* ==================== MINHAS APOSTAS ==================== */
.bet-card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; }
.bet-card .top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--faint); margin-bottom: 9px; }
.bet-sel { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 12.5px; }
.bet-sel .o { font-weight: 800; color: var(--gold); }
.bet-card .foot { display: flex; justify-content: space-between; padding-top: 9px; margin-top: 5px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* ==================== CASSINO ==================== */
.casino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.game-tile {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1.15;
  border: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 10px; transition: transform .15s, box-shadow .15s;
}
.game-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.5); }
.game-tile .gname { font-weight: 800; font-size: 12.5px; text-shadow: 0 2px 6px rgba(0,0,0,.8); }
.game-tile .gprov { font-size: 9.5px; color: rgba(255,255,255,.75); font-weight: 600; }
.game-tile .gicon { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); font-size: 40px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.game-tile .soon {
  position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.55); color: var(--gold);
  font-size: 8.5px; font-weight: 800; padding: 3px 7px; border-radius: 6px; text-transform: uppercase;
}
.game-tile.hot::before {
  content: '🔥'; position: absolute; top: 8px; right: 8px; font-size: 14px;
}
/* Mines */
.mines-wrap { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.mines-ctrl { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 12px; }
.mines-ctrl .fld { margin: 0; }
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; max-width: 430px; margin: 0 auto; }
.mcell {
  aspect-ratio: 1; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line);
  font-size: 21px; display: grid; place-items: center; transition: transform .1s, background .15s;
}
.mcell:hover:not(:disabled) { border-color: var(--brand); transform: scale(1.05); }
.mcell:disabled { cursor: default; }
.mcell.gem { background: linear-gradient(135deg, rgba(0,229,176,.3), rgba(0,180,216,.3)); border-color: var(--accent); }
.mcell.bomb { background: linear-gradient(135deg, rgba(255,92,116,.4), rgba(160,30,60,.4)); border-color: var(--down); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.mines-info { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; gap: 8px; }
.mines-info b { color: var(--accent); font-size: 15px; }

/* ==================== FOOTER / BOTTOM NAV ==================== */
.footer { text-align: center; color: var(--faint); font-size: 11.5px; line-height: 1.8; padding: 22px 10px 8px; }
.footer .age {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--down); color: var(--down); font-weight: 800; font-size: 11px; margin-bottom: 6px;
}
#bottomNav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 290; display: none;
  background: rgba(14,18,38,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
#bottomNav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; color: var(--faint); font-size: 10px; font-weight: 700; padding: 4px 0;
}
#bottomNav button svg { width: 21px; height: 21px; fill: var(--faint); }
#bottomNav button.active { color: var(--accent); }
#bottomNav button.active svg { fill: var(--accent); }

/* toast */
.toast {
  position: fixed; top: calc(var(--header-h) + 10px); left: 50%; transform: translateX(-50%);
  z-index: 600; background: var(--panel2); border: 1px solid var(--accent); color: var(--ink);
  padding: 11px 18px; border-radius: 10px; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: pop .18s; max-width: 90vw; text-align: center;
}
.toast.err { border-color: var(--down); }

/* ==================== RESPONSIVO ==================== */
@media (max-width: 1080px) { #betslipCol { display: none; } }
@media (max-width: 860px) {
  #sidebar { display: none; }
  #bottomNav { display: flex; }
  #layout { padding-bottom: 96px; }
  .logo .word { font-size: 17px; }
  .hdr-balance small { display: none; }
}
@media (max-width: 600px) {
  .ev-row { grid-template-columns: 46px 1fr; grid-template-rows: auto auto; }
  .ev-row .mcols { grid-column: 1 / -1; justify-content: stretch; }
  .ev-row .mcols .odd { flex: 1; }
  .ev-teams .t { white-space: normal; font-size: 12.5px; }
  .hero { padding: 18px; }
  .hero h1 { font-size: 19px; }
  .hero p { font-size: 12px; }
  .hero .ball svg { width: 44px !important; height: 44px !important; }
  .casino-grid { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); }
  .mines-ctrl { grid-template-columns: 1fr 1fr; }
  #hdrAuth .btn span.bt { display: none; }
  .fld-row { grid-template-columns: 1fr; }
}
