/* ==========================================================================
   Futebol Virtual - design system
   Fundo sólido quase preto, degradê curto só no topo, painéis opacos, raio 8 px.
   Saira Condensed só no placar, na odd e no relógio. O resto em Figtree.
   ========================================================================== */
:root {
  --bg: #070c0d;
  --bg-top: #0f1d1c;
  --bg-a: #070c0d;
  --bg-b: #070c0d;
  --accent: #1fd655;
  --accent-hover: #3fe073;
  --accent-ink: #04140a;
  --accent-dim: rgba(31, 214, 85, 0.14);
  --accent-glow: rgba(31, 214, 85, 0.35);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.38);
  --panel: #0d1617;
  --panel-2: #131e1f;
  --panel-3: #1a2728;
  --line: #1e2a2b;
  --line-strong: #25573b;
  --danger: #ff6464;
  --warn: #f6c453;
  --radius: 8px;
  --radius-sm: 6px;
  --side-w: 280px;
  --bar-h: 64px;
  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; touch-action: pan-x pan-y; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 400 15px/1.55 var(--font-body);
  background: linear-gradient(180deg, var(--bg-top), var(--bg) 260px) no-repeat;
  background-color: var(--bg);
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 20px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; background: var(--accent); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--line-strong); }
.btn-ghost:disabled { opacity: 0.5; cursor: not-allowed; background: transparent; border-color: var(--line); }
.btn-danger { background: transparent; border-color: rgba(255, 100, 100, 0.5); color: var(--danger); }
.btn-danger:hover { background: rgba(255, 100, 100, 0.12); }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2);
}
.icon-btn:hover { border-color: var(--line-strong); }

/* ---------- paineis ---------- */
.card, .panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.card { padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-title { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.card-title .ico { color: var(--accent); }
.eyebrow { font: 600 13px/1.2 var(--font-body); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 22px 18px;
  background: var(--panel); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; display: block; background: none; flex: none;
}
.brand-mark img { width: 40px; height: 40px; object-fit: contain; display: block; }
.brand-name { display: block; font: 700 18px/1.1 var(--font-body); }
.brand-name b { color: var(--accent); }
.brand-tag { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.side-label { margin: 6px 8px -6px; font-size: 12px; color: var(--faint); font-weight: 600; }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius);
  color: var(--muted); font-weight: 600; border: 1px solid transparent;
}
.side-nav a:hover { color: var(--text); background: var(--panel-2); }
.side-nav a.is-active { color: var(--text); background: var(--accent-dim); border-color: var(--line-strong); }
.side-nav a.is-active .ico { color: var(--accent); }
.side-nav a.side-tg {
  margin-top: 8px; color: #e7f6ff; background: rgba(42, 171, 238, 0.12);
  border-color: rgba(42, 171, 238, 0.45);
}
.side-nav a.side-tg:hover { color: #041018; background: #2AABEE; border-color: #2AABEE; }
.side-nav a.side-tg:hover .ico.tg { color: #041018; }
.ico.tg { fill: currentColor; stroke: none; color: #2AABEE; }
.side-nav a.side-wa {
  margin-top: 4px; color: #e8fff1; background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.4);
}
.side-nav a.side-wa:hover { color: #04140a; background: #25d366; border-color: #25d366; }
.side-nav a.side-wa:hover small { color: #04140a; }
.side-nav a.side-wa span { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.side-nav a.side-wa small { font-size: 11px; font-weight: 600; color: var(--muted); }
.ico.wa { fill: currentColor; stroke: none; color: #25d366; }
.side-nav a.side-wa:hover .ico.wa, .wa-btn:hover .ico.wa { color: #04140a; }
.seal { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--font-body); color: #000; background: var(--accent); font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width 0.5s; }

.content-col { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--bar-h); padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-drawer-btn { display: none; }
.crumb { font: 600 13px var(--font-body); color: var(--faint); }
.crumb b { color: var(--text); font-weight: 700; }
.level-chip { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 5px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); }
.level-chip:hover { border-color: var(--line-strong); }
.level-copy { display: flex; flex-direction: column; min-width: 0; }
.level-name { font-weight: 700; font-size: 14px; line-height: 1.15; white-space: nowrap; }
.wallet-chip { display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); }
.wallet-chip a { display: flex; align-items: center; gap: 10px; color: inherit; }
.wallet-chip a .ico { color: var(--accent); }
.wallet-eye { width: 32px; height: 32px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.wallet-eye .ico { width: 18px; height: 18px; }
.wallet-eye:hover, .wallet-eye[aria-pressed="true"] { color: var(--accent); }
html.bal-hidden [data-balance] { color: transparent; user-select: none; position: relative; }
html.bal-hidden [data-balance]::after { content: "••••"; color: var(--text); position: absolute; left: 0; top: 0; }
.wallet-label { display: block; font-size: 11px; color: var(--muted); line-height: 1.15; }
.wallet-value { display: block; font: 700 16px/1.2 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Bônus no depósito: campo separado logo abaixo do saldo, com barrinha sutil do rollover do bônus. Só existe com bônus a cumprir. */
.wallet-stack { position: relative; display: flex; }
.wallet-stack .wallet-chip { flex: 1; }
.bonus-chip { position: absolute; left: 10px; right: 10px; top: calc(100% - 1px); z-index: 4; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 2px 8px 6px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: var(--panel-2); color: var(--muted); font-size: 11px; line-height: 1.3; white-space: nowrap; }
.bonus-chip:hover { border-color: var(--line-strong); }
.bonus-chip .bonus-value { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.bonus-bar { position: absolute; left: 6px; right: 6px; bottom: 2px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.bonus-card-line { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.bonus-card-line strong { font: 700 22px/1.2 var(--font-body); color: var(--accent); font-variant-numeric: tabular-nums; }
.bonus-progress { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 2px 0 10px; }
.bonus-progress i { display: block; height: 100%; border-radius: 6px; background: var(--accent); }
.bonus-card { margin-bottom: 18px; }
.bonus-bar i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--accent); opacity: 0.85; transition: width 0.5s ease; }
html.bal-hidden .bonus-value { color: transparent; user-select: none; }
.avatar-wrap { position: relative; }
.avatar-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); font: 700 16px var(--font-body); }
.menu {
  position: absolute; right: 0; top: 52px; min-width: 200px; padding: 6px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}
.menu a, .menu button {
  display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: none; border: 0; text-align: left; color: var(--muted); font-weight: 600;
}
.menu a:hover, .menu button:hover { background: var(--accent-dim); color: var(--text); }
.content-body { padding: 28px; display: flex; flex-direction: column; gap: 26px; flex: 1; }

/* ---------- hero ---------- */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hero-track { display: flex; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.hero-slide { position: relative; flex: 0 0 100%; min-height: 340px; display: flex; align-items: center; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 12, 13, 0.92) 8%, rgba(7, 12, 13, 0.35) 62%, transparent); }
.hero-slide.align-right::after { background: linear-gradient(270deg, rgba(7, 12, 13, 0.92) 8%, rgba(7, 12, 13, 0.35) 62%, transparent); }
.hero-copy { position: relative; z-index: 1; padding: 36px 48px; max-width: 560px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-slide.align-right .hero-copy { margin-left: auto; align-items: flex-end; text-align: right; }
.hero-copy h2 { font-size: clamp(24px, 3vw, 36px); }
.hero-copy h2 b { color: var(--accent); }
.hero-copy p { color: var(--muted); margin: 0; font-size: 16px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; }
.hero-arrow.prev { left: 14px; } .hero-arrow.prev .ico { transform: rotate(180deg); }
.hero-arrow.next { right: 14px; }
.hero-arrow:hover { background: var(--accent); color: #000; }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, 0.4); padding: 0; transition: width 0.25s; }
.hero-dots button.is-active { width: 30px; background: var(--accent); }

/* ---------- kpis ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.kpi small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi strong { display: block; font: 700 24px/1.2 var(--font-body); margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: 12px; color: var(--muted); }
.kpi.is-up strong { color: var(--accent); } .kpi.is-down strong { color: var(--danger); }

/* ---------- jogos: tabs de liga ---------- */
.arena { padding: 0; overflow: hidden; overflow: clip; border-color: var(--line); }
.arena-head { padding: 18px 24px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.arena-head h2 { font-size: 22px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--font-body); color: var(--accent); }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.sport-switch { display: flex; gap: 8px; overflow-x: auto; padding: 16px 24px 0; }
.sport-tab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius);
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font: 700 14px var(--font-body);
}
.sport-tab b { font: 700 11px var(--font-body); padding: 2px 6px; border-radius: var(--radius-sm); background: var(--panel-3); color: var(--muted); }
.sport-tab:not(:disabled) { cursor: pointer; }
.sport-tab.is-on { background: var(--panel-3); border-color: var(--line-strong); }
.sport-tab.is-soon,
.sport-tab:disabled { color: var(--muted); cursor: default; }
.sport-tab.is-soon:hover,
.sport-tab:disabled:hover { color: var(--muted); }
.league-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 16px 24px 0; }
.league-tab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--panel-2); border: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-weight: 700;
}
.league-tab b { font: 700 13px var(--font-body); padding: 3px 7px; border-radius: var(--radius-sm); background: var(--panel-3); }
.league-tab .tab-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.league-tab .tab-meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.league-tab small { display: block; font-size: 11px; color: var(--faint); font-weight: 600; }
.league-tab .tab-novo {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 10px var(--font-body);
}
.league-tab b.flag {
  padding: 0;
  width: 30px;
  height: 20px;
  border-radius: 3px;
  background: transparent;
  overflow: hidden;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
}
.league-tab b.flag svg { width: 30px; height: 20px; max-width: none; display: block; }
.league-tab:hover { color: var(--text); }
.league-tab.is-on { color: var(--text); background: var(--panel-3); border-color: var(--line-strong); }
.league-tab.is-on b { background: var(--accent); color: #000; }
.league-tab.is-on b.flag { background: transparent; color: inherit; box-shadow: 0 0 0 1px var(--accent); }
.league-tab.is-soon,
.league-tab:disabled { opacity: 0.62; cursor: default; }
.league-tab.is-soon:hover,
.league-tab:disabled:hover { color: var(--muted); }
.arena-body { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.arena-left { padding: 20px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.arena-right { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.pen-wait { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px; text-align: center; background: radial-gradient(ellipse at 50% 78%, rgba(31, 214, 85, 0.16), transparent 34%), linear-gradient(#102119, #070c0d 62%); }
.pen-mark { position: relative; width: 84px; height: 28px; margin-bottom: 6px; }
.pen-mark::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: rgba(255, 255, 255, 0.88); }
.pen-mark i { position: absolute; left: 50%; top: 6px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(31, 214, 85, 0.28); }
.pen-wait p { margin: 0; max-width: 16ch; font-family: var(--font-display, "Saira Condensed", "Arial Narrow", sans-serif); font-size: clamp(1.55rem, 3.4vw, 2.15rem); font-weight: 700; line-height: 0.95; letter-spacing: 0.01em; }
.pen-wait strong { font-weight: 650; }
.pen-wait small { color: var(--muted); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .pen-mark i { animation: pen-spot 1.8s ease-in-out infinite; }
}
@keyframes pen-spot {
  50% { box-shadow: 0 0 0 11px rgba(31, 214, 85, 0.04); }
}
.screen video, .screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.screen-status { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: rgba(0, 0, 0, 0.55); font-weight: 600; pointer-events: none; }
.screen.is-locked video, .screen.is-locked iframe { display: none; }
.screen-lock {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 28px; text-align: center; text-decoration: none; color: #fff;
  background: var(--panel);
}
.screen-lock strong { font: 700 clamp(22px, 3vw, 32px)/1.15 var(--font-body); max-width: 16ch; }
.screen-lock span { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: var(--radius); background: var(--accent); color: #04140a; font-weight: 700; }
.screen-lock:hover span { background: var(--accent-hover); }
.screen-lock:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; }

.green { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--panel-2); position: relative; overflow: hidden; }
.green-head { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.green-head strong { font: 700 clamp(18px, 2vw, 22px)/1.2 var(--font-body); }
.green-body { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 96px; justify-content: center; }
.green-btn { min-width: 220px; font-size: 16px; }
.btn.green-btn.is-locked, .green-result .btn.is-locked { background: var(--panel-3); color: var(--faint); border: 1px solid var(--line); cursor: not-allowed; }
.green-info { margin: 0; font-size: 13px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.green-note { margin: 0; font-size: 11px; color: var(--faint); text-align: center; }
.green.is-gated > :not(.green-gate) { opacity: 0.5; filter: blur(0.4px); pointer-events: none; user-select: none; }
.green-gate {
  position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center; text-decoration: none; color: #fff;
  background: rgba(7, 12, 13, 0.72);
}
.green-gate strong { font: 700 clamp(16px, 2vw, 20px)/1.25 var(--font-body); max-width: 22ch; }
.green-gate:hover strong { color: var(--accent); }
.green-gate:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; }
.green-scan { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.green-scan-msg { margin: 0; font: 600 14px var(--font-body); color: var(--accent); min-height: 1.4em; text-align: center; }
.green-radar { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--panel); }
.green-radar::before, .green-radar::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid var(--line-strong); }
.green-radar::after { inset: 27px; background: var(--accent); border: 0; }
.green-radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(31, 214, 85, 0.55), transparent 28%); animation: spin 1.1s linear infinite; }
.green-bar { width: 100%; max-width: 360px; height: 6px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.green-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.1s linear; }
.green-result { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.green-result .input { width: 100%; text-align: right; font: 700 17px var(--font-body); font-variant-numeric: tabular-nums; }
.green-result .hint, .green-result .msg { margin: 0; }
.green-result.is-pop { animation: green-pop 0.3s ease-out; }
@keyframes green-pop { from { transform: scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }
.green-pick { font: 700 clamp(22px, 2.6vw, 28px)/1.15 var(--font-body); color: var(--accent); }
.green-gale { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
.green-gale[hidden] { display: none !important; }
.green-gale-row { display: flex; gap: 8px; align-items: center; }
.green-gale-row .input { flex: 1; text-align: right; font: 700 17px var(--font-body); font-variant-numeric: tabular-nums; }
.green-gale .hint, .green-gale .msg { margin: 0; }
.spin { display: block; margin: 0 auto 6px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tape { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.slip { padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel-2); font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.slip b { font: 700 20px var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.slip.is-new { border-color: var(--line-strong); }

.countdown { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 6.4ch; }
.countdown span { font: 600 12px/1.2 var(--font-body); color: var(--muted); text-align: right; }
.countdown b { font: 700 clamp(42px, 5.6vw, 60px)/0.9 var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.match-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.match-line h3 { font-size: clamp(20px, 2.2vw, 26px); }
.prev-result { display: grid; gap: 6px; padding: 8px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); min-width: 0; }
.prev-result[hidden] { display: none !important; }
.prev-head { display: grid; gap: 4px; }
.prev-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.prev-line .crest { width: 22px; height: 26px; }
.prev-line .crest-img.is-flag { width: 22px; height: 22px; margin: 2px 0; }
.prev-name { flex: 1; min-width: 0; font: 700 13px/1.2 var(--font-body); }
.prev-line span.prev-name:first-of-type { text-align: right; }
.prev-score { flex: none; margin: 0; font: 700 22px/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.prev-score.is-live { font: 600 12px/1 var(--font-body); color: var(--muted); }
.prev-wins { display: flex; flex-wrap: nowrap; align-items: center; justify-content: safe center; gap: 6px; min-width: 0; max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.prev-win { flex: none; white-space: nowrap; padding: 3px 8px; border-radius: var(--radius-sm); border: 1px solid var(--accent); background: var(--accent-dim); color: var(--text); font: 700 12px/1.2 var(--font-body); }
.tag { display: inline-block; padding: 3px 8px; border-radius: var(--radius-sm); font: 600 12px var(--font-body); background: var(--accent-dim); color: var(--accent); border: 1px solid var(--line-strong); }
button.tag { cursor: pointer; }
.reject-note p { margin: 0 0 12px; line-height: 1.5; }
.reject-note p:last-child { margin-bottom: 0; color: var(--muted); }
.tag.warn { color: var(--warn); border-color: rgba(246, 196, 83, 0.45); background: rgba(246, 196, 83, 0.1); }
.tag.danger { color: var(--danger); border-color: rgba(255, 100, 100, 0.45); background: rgba(255, 100, 100, 0.1); }
.tag.neutral { color: var(--muted); border-color: var(--line); background: var(--panel-2); }

/* odds */
.odds-switch {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; max-width: 100%;
  overflow-x: auto; overflow-y: hidden; padding: 12px 4px 14px;
  scroll-behavior: smooth; overscroll-behavior-x: contain;
}
.odds-switch::-webkit-scrollbar { height: 8px; width: 8px; }
.odds-switch::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.odds-switch::-webkit-scrollbar-track {
  background: var(--panel); border-radius: 99px; margin: 0 10px;
}
.odds-switch::-webkit-scrollbar-thumb {
  background: #1a7a3a; border: 0; border-radius: 99px; min-width: 48px;
}
.odds-switch::-webkit-scrollbar-thumb:hover { background: var(--accent); }
@supports not selector(::-webkit-scrollbar) {
  .odds-switch { scrollbar-width: thin; scrollbar-color: #1a7a3a var(--panel); }
}
.odds-switch button {
  flex: 0 0 auto; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-sizing: border-box; min-height: 46px; padding: 6px 14px; line-height: 1;
  white-space: nowrap; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--panel-2); font-weight: 700; font-size: 13px; color: var(--muted);
}
.odds-switch button small { font-size: 10px; font-weight: 600; opacity: 0.72; line-height: 1; }
.odds-switch button small:empty { display: none; }
.odds-switch button.is-on { background: var(--accent); color: #000; border-color: var(--accent); }
.odds-switch button.is-now:not(.is-on) { color: var(--accent); border-color: var(--accent); }
.fixture-row {
  display: flex; flex-wrap: nowrap; gap: 8px; max-width: 100%;
  overflow-x: auto; overflow-y: hidden; padding: 2px 2px 8px;
  scroll-behavior: smooth; overscroll-behavior-x: contain;
}
.fixture-row[hidden] { display: none !important; }
.fixture-row::-webkit-scrollbar { height: 6px; }
.fixture-row::-webkit-scrollbar-thumb { background: #1a7a3a; border-radius: 99px; }
.fixture-row button {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 92px; padding: 8px 10px 7px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel-2); color: var(--muted);
}
.fixture-crests { display: flex; align-items: center; gap: 4px; }
.fixture-x { font-style: normal; font-size: 11px; color: var(--faint); }
.crest { width: 28px; height: 32px; display: block; }
.crest text { fill: #fff; font: 700 11px var(--font-body); }
.crest-img { object-fit: contain; }
.crest-img.is-flag { width: 28px; height: 28px; margin: 2px 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.fixture-time { font: 700 13px var(--font-body); color: var(--text); font-variant-numeric: tabular-nums; }
.fixture-row button small { font-size: 10px; font-weight: 600; opacity: 0.72; line-height: 1; }
.fixture-row button small:empty { display: none; }
.fixture-row button.is-on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fixture-row button.is-now:not(.is-on) { border-color: rgba(31, 214, 85, 0.55); }
.fixture-row button.is-on .fixture-time,
.fixture-row button.is-now .fixture-time { color: var(--accent); }
.markets { display: flex; flex-direction: column; gap: 10px; flex: 1 1 0%; min-height: 0; overflow-x: hidden; overflow-y: auto; padding-right: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #1a7a3a var(--panel); }
.markets::-webkit-scrollbar { width: 8px; }
.markets::-webkit-scrollbar-thumb { background: #1a7a3a; border-radius: 99px; }
.market-board { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); }
.board-mkt { padding: 0; }
.board-mkt + .board-mkt { border-top: 1px solid var(--line); }
.board-mkt h4 { margin: 0; }
.mkt-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; margin: 0; padding: 12px 14px; border: 0; background: transparent;
  text-align: left; font: 600 14px var(--font-body); color: var(--text);
}
.mkt-toggle:hover { background: var(--panel-3); }
.mkt-name { min-width: 0; }
.mkt-chev {
  flex: none; width: 8px; height: 8px; margin-right: 2px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
}
.board-mkt.is-shut .mkt-chev { transform: rotate(-45deg); }
.board-mkt.is-shut .market-body { display: none; }
.market { flex: 0 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); overflow: hidden; }
.market > summary { list-style: none; cursor: pointer; padding: 11px 14px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.market > summary::-webkit-details-marker { display: none; }
.market > summary::after { content: "+"; color: var(--accent); font-size: 18px; }
.market[open] > summary::after { content: "–"; }
.market-body { padding: 4px 12px 12px; display: grid; gap: 8px; }
.odd-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.total-grid { display: grid; grid-template-columns: 42px 1fr 1fr; gap: 6px; align-items: stretch; }
.total-grid .th { font: 600 12px var(--font-body); color: var(--faint); text-align: center; align-self: end; padding-bottom: 2px; }
.total-grid .line { display: grid; place-items: center; font: 700 14px var(--font-body); color: var(--text); font-variant-numeric: tabular-nums; }
.odd-row.wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
.odd {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 6px 4px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel-3); font-size: 12px; color: var(--muted); text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.odd b { font: 700 18px var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.odd:not(:disabled):not(.is-capped):hover { border-color: var(--accent); }
.odd.is-capped { opacity: 0.55; cursor: pointer; }
.odd.is-picked { background: var(--accent); border-color: var(--accent); color: #000; }
.odd.is-picked b { color: #000; }
.odd:disabled { opacity: 0.55; cursor: default; }
.odd.is-won { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.odd.is-won b { color: var(--accent); }
.odd.is-lost { opacity: 0.45; }

/* boletim */
.betslip { display: flex; flex-direction: column; min-height: 0; background: var(--panel); }
.betslip .field { margin-bottom: 0; }
.slip-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.slip-head h4 { font-size: 16px; margin: 0; flex: 1; min-width: 0; display: flex; align-items: baseline; }
.slip-clear { padding: 4px 8px; border-radius: var(--radius-sm); border: 0; background: none; color: var(--muted); font: 600 13px var(--font-body); }
.slip-clear:hover { color: var(--text); background: var(--panel-2); }
.slip-close { width: 36px; height: 36px; }
.slip-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px 16px; display: grid; align-content: start; gap: 8px; scrollbar-width: thin; scrollbar-color: #24433a transparent; }
.slip-empty { margin: 8px 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.slip-foot { display: grid; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: var(--panel); }
.slip-foot .hint { margin: 0; }
.betslip .msg.bad { color: var(--danger); font-size: 13px; }
.slip-count { margin-left: 8px; font: 600 13px/1 var(--font-body); color: var(--muted); }
.slip-line .icon-btn { width: 32px; height: 32px; flex: none; font-size: 18px; }
.slip-lines, #slipLines { display: grid; gap: 8px; }
.slip-line { display: grid; gap: 8px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); }
.slip-line.is-bad { border-color: var(--danger); }
.slip-line-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.slip-pick { font-size: 13px; color: var(--muted); min-width: 0; }
.slip-pick strong { color: var(--text); display: block; font-size: 15px; }
.slip-line .slip-sum b { font-size: 16px; }
.slip-note { margin: 0; }
.stake-row { display: flex; gap: 8px; }
.stake-row .field { flex: 1; }
.quick-stakes { display: flex; gap: 6px; flex-wrap: wrap; }
.quick-stakes button { padding: 5px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel-3); font-weight: 700; font-size: 12px; }
.slip-line .quick-stakes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.slip-line .quick-stakes button { min-width: 0; padding: 5px 2px; }
.quick-stakes button:hover { border-color: var(--accent); }
.slip-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.slip-sum b { font: 700 18px var(--font-body); color: var(--accent); font-variant-numeric: tabular-nums; }
.hint { font-size: 12px; color: var(--muted); }
.fee-live { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-dim); border: 1px solid var(--line-strong); color: var(--text); font-size: 14px; line-height: 1.45; }
.fee-live b { color: var(--accent); font-size: 18px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, .select, textarea.input {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font: inherit; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.input { padding: 12px 14px; min-height: 90px; }
.input::placeholder { color: var(--faint); }
.input:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.input.is-bad { border-color: var(--danger); }
.input.is-ok { border-color: var(--accent); }
.field .msg { font-size: 12px; min-height: 16px; color: var(--muted); }
.field .msg.bad { color: var(--danger); } .field .msg.ok { color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 16px; font-size: 14px; }
.alert.error { border-color: rgba(255, 100, 100, 0.5); background: rgba(255, 100, 100, 0.1); color: #ffb4b4; }
.alert.ok { border-color: var(--line-strong); background: var(--accent-dim); color: #bff5cf; }
.alert.warn { border-color: rgba(246, 196, 83, 0.45); background: rgba(246, 196, 83, 0.1); color: #ffe3a1; }
.strength { height: 5px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.strength > span { display: block; height: 100%; width: 0; background: var(--danger); transition: width 0.25s, background 0.25s; }
/* ---------- tabelas ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th.num { text-align: right; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pos { color: var(--accent); } .neg { color: var(--danger); }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.empty strong { display: block; font: 700 18px var(--font-body); color: var(--text); margin-bottom: 4px; }

/* ---------- modal / toast ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.75); }
.modal-card { position: relative; width: min(480px, 100%); max-height: 92vh; overflow-y: auto; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.modal-close { position: absolute; top: 12px; right: 12px; }

.wa-gate { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 22px; }
.wa-gate-back { position: absolute; inset: 0; background: rgba(4, 8, 9, 0.78); }
.wa-card {
  position: relative; width: min(520px, 100%); max-height: min(88vh, 740px); overflow: auto;
  padding: 28px 26px 22px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.wa-x { position: absolute; top: 12px; right: 12px; }
.wa-card h2 {
  font-family: var(--font-display); font-size: 28px; line-height: 1.02; font-weight: 700;
  margin: 4px 42px 16px 0; letter-spacing: 0.01em;
}
.wa-card p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.86); }
.wa-join {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 52px; margin-top: 10px; padding: 0 16px;
  border-radius: var(--radius); background: #25D366; color: #06210f;
  font-weight: 700; font-size: 16px;
}
.wa-join:hover { background: #1ebe5d; }
.wa-join:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wa-join svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
@media (max-width: 520px) {
  .wa-gate { padding: 14px; }
  .wa-card { padding: 22px 16px 16px; }
  .wa-card h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .wa-card { animation: wa-in 0.28s ease-out; }
}
@keyframes wa-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.modal-card h2 { font-size: 24px; margin: 6px 0 14px; }
.pix-qr { display: flex; justify-content: center; margin: 0 0 14px; }
.pix-qr img { width: 220px; height: 220px; object-fit: contain; background: #fff; border-radius: var(--radius); padding: 12px; }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 10px; }
.toast { padding: 12px 16px; border-radius: var(--radius); background: var(--panel-2); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); max-width: 340px; animation: slidein 0.25s; }
.toast.bad { border-color: rgba(255, 100, 100, 0.6); }
.toast.bet { padding: 16px 20px; font-size: 17px; font-weight: 700; line-height: 1.35; max-width: min(420px, calc(100vw - 36px)); color: var(--text); border-color: var(--accent); background: var(--panel-2); }
@keyframes slidein { from { transform: translateY(14px); opacity: 0; } }

/* ---------- missoes / ranking ---------- */
.mission { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mission:last-child { border-bottom: 0; }
.mission strong { display: block; }
.mission .bar { grid-column: 1 / -1; }
.rank-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border-bottom: 0; }
.rank-pos { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); font: 700 14px var(--font-body); font-variant-numeric: tabular-nums; }
.rank-row:nth-child(1) .rank-pos { background: var(--accent); color: #000; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.badge { padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); text-align: center; }
.badge .ico { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--faint); }
.badge.on { border-color: var(--line-strong); background: var(--accent-dim); }
.badge.on .ico { color: var(--accent); }
.badge small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- landing / auth ---------- */
.pub-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
.pub-nav { display: flex; gap: 10px; align-items: center; }
.landing { max-width: 1280px; margin: 0 auto; padding: 34px 28px 20px; display: grid; gap: 34px; }
.land-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.8fr); gap: 24px; align-items: stretch; }
.land-copy { display: flex; flex-direction: column; min-width: 0; }
.land-copy .preview { flex: 1; display: flex; flex-direction: column; }
.land-copy .preview .screen { flex: 1; min-height: 0; }
.land-copy h1 { font-size: clamp(32px, 4.2vw, 52px); margin: 14px 0 14px; }
.land-copy h1 b { color: var(--accent); }
.land-copy > p { color: var(--muted); font-size: 17px; max-width: 560px; }
.partner { display: inline-flex; align-items: center; gap: 14px; margin: 20px 0 0; padding: 8px 16px 8px 14px; width: fit-content; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.partner span { font: 600 13px var(--font-body); color: var(--accent); }
.partner img { height: 48px; width: auto; display: block; border-radius: var(--radius-sm); }
.preview { margin-top: 22px; padding: 16px; }
.preview-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.preview-tabs button { padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel-2); font-weight: 700; font-size: 12px; color: var(--muted); }
.preview-tabs button.is-on { background: var(--accent); color: #000; border-color: var(--accent); }
.preview-tabs .tab-novo {
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 10px var(--font-body);
}
.preview-tabs button.is-on .tab-novo { background: #04140a; color: var(--accent); }
.auth-card { padding: 26px; position: sticky; top: 90px; align-self: start; }
.land-grid .auth-card { display: flex; flex-direction: column; align-self: stretch; position: static; }
.login-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 6px 0 10px; }
.login-badge { display: block; width: 52px; height: 52px; margin-bottom: 16px; background: none; }
.login-badge img { width: 52px; height: 52px; object-fit: contain; display: block; }
.login-sub { font-size: 14px; margin: 0 0 22px; }
.input-wrap { position: relative; }
.input-wrap > .ico { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.input-wrap .input { padding-left: 42px; }
.input-wrap:focus-within > .ico { color: var(--accent); }
.input-wrap .pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; color: var(--accent); background: transparent; }
.input-wrap .pw-toggle:hover { background: var(--accent-dim); }
.input-wrap:has(.pw-toggle) .input { padding-right: 84px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 12px; font-weight: 700; color: var(--accent); }
.btn-lg { padding: 15px 20px; font-size: 16px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; font-size: 13px; color: var(--faint); }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.trust-list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.trust-list .ico { width: 18px; height: 18px; color: var(--accent); flex: none; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: var(--radius); background: var(--panel-2); margin-bottom: 20px; }
.auth-tabs a { text-align: center; padding: 10px; border-radius: var(--radius-sm); font-weight: 700; color: var(--muted); }
.auth-tabs a.is-on { background: var(--accent); color: #000; }
.auth-card h2 { font-size: 24px; margin-bottom: 4px; }
.auth-links { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 14px; }
.auth-links a { color: var(--accent); font-weight: 700; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 20px; }
.feature .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 12px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 14px; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-page .auth-card { position: static; width: min(460px, 100%); }
.center { text-align: center; }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 36px 28px 10px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 12px; max-width: 360px; }
.footer-col h4 { font-size: 15px; color: var(--text); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
.footer-affiliate { max-width: 1280px; margin: 4px auto 0; padding: 0 28px; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius);
  border: 1px solid rgba(37, 211, 102, 0.5); background: rgba(37, 211, 102, 0.12);
  color: #fff; font-weight: 700;
}
.wa-btn:hover { background: #25d366; color: #04140a; border-color: #25d366; }
.wa-btn:focus-visible, .side-nav a.side-wa:focus-visible, .float-support:focus-visible { outline: 2px solid #25d366; outline-offset: 3px; }
.side-nav a.side-tg:focus-visible { outline: 2px solid #2AABEE; outline-offset: 3px; }
.float-support {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 50;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px;
  background: #25d366; color: #04140a; font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.float-support .ico.wa { color: #04140a; }
.float-support:hover { background: #1ebe5d; color: #04140a; }
.footer-legal { max-width: 1280px; margin: 0 auto; padding: 18px 28px 26px; display: flex; gap: 18px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 24px; }
.footer-legal p { margin: 0; font-size: 12px; color: var(--faint); max-width: 860px; }
.age-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.age-badge .num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font: 700 14px var(--font-body); }

.bottom-nav { display: none; }
.drawer-overlay { display: none; }

/* ---------- responsivo ---------- */
@media (min-width: 1280px) {
  .arena-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(280px, 312px); }
  /* Tênis e cavalos não têm o card do Pegar green, então a coluna das odds fica só na altura do vídeo. */
  .arena.is-tall .arena-body { min-height: 560px; }
  .arena-right { height: 0; min-height: 100%; overflow: hidden; }
  .markets { flex: 1 1 0%; min-height: 0; overflow-y: auto; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .arena-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 280px; }
  .arena-left, .arena-right { padding: 16px; }
}
@media (min-width: 1101px) and (max-width: 1279px) {
  .arena-body { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "left slip" "right slip"; }
  .arena-left { grid-area: left; border-right: 0; border-bottom: 1px solid var(--line); }
  .arena-right { grid-area: right; }
  .arena-slip { grid-area: slip; }
  .markets { flex: none; max-height: 70vh; }
}
@media (min-width: 1101px) {
  .arena-slip { display: block; min-width: 0; height: 0; min-height: 100%; border-left: 1px solid var(--line); background: var(--panel); }
  .arena-slip .betslip { position: sticky; top: var(--bar-h); max-height: calc(100vh - var(--bar-h)); }
  .slip-close, .slip-bar, .slip-backdrop { display: none !important; }
}
@media (max-width: 1100px) {
  .arena-body { grid-template-columns: 1fr; }
  .arena-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .arena-right { height: auto; overflow: visible; }
  .markets { flex: none; min-height: 0; max-height: 70vh; overflow-y: auto; }
  .arena-slip {
    display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    max-height: min(86vh, 720px); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;
    background: var(--panel); box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.55);
    transform: translateY(102%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .arena-slip .betslip { flex: 1 1 auto; min-height: 0; border-radius: inherit; }
  .arena-slip .slip-scroll { overscroll-behavior: contain; }
  .arena-slip .slip-foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  body.slip-open { overflow: hidden; }
  body.slip-open .arena-slip { transform: none; visibility: visible; transition: transform 0.25s ease; }
  .slip-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, 0.6); }
  .slip-bar {
    position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 37;
    display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius);
    border: 1px solid var(--accent); background: var(--panel-2); color: var(--text); font: 700 15px var(--font-body);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  }
  .slip-bar b { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--accent); color: #000; font-size: 13px; font-variant-numeric: tabular-nums; }
  .slip-bar-go { margin-left: auto; color: var(--accent); }
  body.has-slip .content-body { padding-bottom: 96px; }
  .land-grid { grid-template-columns: 1fr; }
  .auth-card { position: static; }
  #auth { scroll-margin-top: 72px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform 0.28s; box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5); }
  body.drawer-open .sidebar { transform: none; }
  body.drawer-open .drawer-overlay { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 35; }
  .topbar-drawer-btn { display: inline-grid; }
  .topbar { padding: 0 14px; }
  .content-body { padding: 16px 14px 90px; gap: 20px; }
  .crumb { display: none; }
  .hero-slide { min-height: 300px; }
  .hero-copy { padding: 24px 22px; }
  .hero-slide.align-right .hero-copy { margin-left: 0; align-items: flex-start; text-align: left; }
  .hero-slide.align-right::after { background: linear-gradient(90deg, rgba(7, 12, 13, 0.92) 8%, rgba(7, 12, 13, 0.35) 62%, transparent); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; background: var(--panel); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 6px 0; }
  .bottom-nav .is-active { color: var(--accent); }
  .bottom-nav .nav-deposit { color: #000; background: var(--accent); border-radius: var(--radius); margin: -12px 4px 0; }
  .slip-bar { bottom: calc(74px + env(safe-area-inset-bottom)); }
  body.has-slip .content-body { padding-bottom: 160px; }
  .footer-affiliate { padding: 0 14px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .wallet-chip .wallet-label, .level-copy { display: none; }
  .bonus-chip { left: 4px; right: 4px; padding: 2px 4px 6px; font-size: 10px; }
  .bonus-chip .bonus-label { display: none; }
  .level-chip { padding: 4px; }
  .topbar-right .btn-primary span { display: none; }
  .pub-top { padding: 10px 14px; }
  .landing { padding: 20px 14px; }
  .green-btn { width: 100%; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .arena-head, .league-tabs, .arena-left, .arena-right { padding-left: 14px; padding-right: 14px; }
  .topbar { padding: 0 10px; gap: 8px; }
  .topbar-left, .topbar-right { gap: 6px; }
  .wallet-chip { padding: 4px 2px 4px 10px; }
  .wallet-chip a > .ico { display: none; }
  .topbar-right .btn-primary { padding: 0 12px; }
  .avatar-btn { width: 38px; height: 38px; }
  .level-chip .seal { width: 28px; height: 28px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

[hidden] { display: none !important; }

/* ---------- barras de rolagem (vertical e horizontal) ---------- */
html { color-scheme: dark; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; border-radius: 99px; margin: 3px; }
::-webkit-scrollbar-thumb {
  background: #24433a; border: 3px solid transparent; background-clip: padding-box; border-radius: 99px;
  min-height: 42px; min-width: 42px;
}
::-webkit-scrollbar-thumb:hover { background: #1a7a3a; background-clip: padding-box; }
::-webkit-scrollbar-thumb:active { background: var(--accent); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
html::-webkit-scrollbar { width: 14px; height: 14px; }
html::-webkit-scrollbar-track { background: var(--bg); border-radius: 0; margin: 0; border-left: 1px solid var(--line); }
.sidebar::-webkit-scrollbar, .sport-switch::-webkit-scrollbar, .league-tabs::-webkit-scrollbar, .preview-tabs::-webkit-scrollbar, .slip-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.league-tabs::-webkit-scrollbar-thumb, .slip-scroll::-webkit-scrollbar-thumb, .table-wrap::-webkit-scrollbar-thumb { border-width: 2px; }
.sidebar, .modal-card { overscroll-behavior: contain; }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: #24433a transparent; }
}