/* =====================================================
   auth-style.css — visual Real Sports (tema claro, topo laranja)
   ===================================================== */
:root {
  --bg: #edf0f7; --bg-2: #f5f7fc; --card: #ffffff; --card-2: #f3f5fa; --line: #dde2ee;
  --text: #1c2233; --muted: #5d6883; --primary: #ff4d00; --primary-2: #ff6a26; --primary-ink: #fff;
  --green: #2f9b57; --green-2: #34ad61; --odd: #2b7a3d; --dark: #222838; --gold: #e69500;
  --danger: #d93545; --ok: #2f9b57; --radius: 12px; --mono: "Roboto Mono", monospace;
  --shadow: 0 1px 2px rgba(20,30,60,.06), 0 2px 8px rgba(20,30,60,.05);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body { background: var(--bg); color: var(--text); font-family: "Roboto", system-ui, sans-serif; font-size: 14px; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.center { text-align: center; }
.w-full { width: 100%; }
.container { max-width: 1400px; margin: 0 auto; padding: 16px 16px 60px; }

/* botões e campos */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--card);
  color: var(--text); padding: 9px 16px; border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { background: var(--card-2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); text-transform: uppercase; }
.btn-primary:hover { background: var(--primary-2); border-color: var(--primary-2); }
.btn-green, .btn-cash { background: var(--green); color: #fff; border-color: var(--green); text-transform: uppercase; }
.btn-green:hover, .btn-cash:hover { background: var(--green-2); border-color: var(--green-2); }
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); text-transform: uppercase; }
.btn-dark:hover { background: #33394d; }
.btn-ghost { background: transparent; }
.btn-outline { background: #fff; border-color: #c6cde0; color: var(--text); }
.btn.sm { padding: 6px 12px; font-size: 13px; text-transform: none; }
.btn.danger { color: var(--danger); }
.icon-btn { background: none; border: none; color: inherit; padding: 6px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: rgba(0,0,0,.06); }
.input { width: 100%; background: var(--bg-2); border: 1px solid #c9d0e2; color: var(--text); padding: 11px 12px; border-radius: 8px; font: inherit; margin: 6px 0 12px; }
.input:focus { outline: none; border-color: var(--primary); }
label { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
label.check { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.chip { background: #fff; border: 1px solid var(--line); color: var(--text); padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: .15s; }
.chip:hover { border-color: #b9c2d8; }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pill { background: var(--card-2); color: var(--muted); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.card { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.section-title { font-size: 17px; font-weight: 900; text-transform: uppercase; margin: 4px 0 12px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #e6eaf4; border-radius: 999px; padding: 3px; }
.seg button { background: none; border: none; border-radius: 999px; padding: 8px; font: inherit; color: var(--muted); cursor: pointer; }
.seg button.active { background: #fff; color: var(--text); font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* abas (admin) */
.tabs { display: flex; gap: 4px; overflow-x: auto; }
.tabs button { background: none; border: none; color: var(--muted); font: inherit; font-weight: 700; text-transform: uppercase; font-size: 13px;
  padding: 12px 16px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button.active, .tabs button:hover { color: var(--text); border-color: var(--primary); }
.tabs.inline { margin: 20px 0 16px; border-bottom: 1px solid var(--line); }

/* layout: menu | conteúdo | bilhete e widgets */
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 320px; gap: 16px; max-width: 1480px; margin: 0 auto; padding: 0 16px 0 0; align-items: start; }
.lside { position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; background: #fff; border-right: 1px solid var(--line); scrollbar-width: thin; }
.lside-head { display: none; }
.lnav { display: flex; flex-direction: column; padding: 8px 0; }
.lnav a { display: flex; align-items: center; gap: 12px; padding: 10px 16px; font-size: 15px; color: var(--text); }
.lnav a:hover, .lnav a.active { background: var(--card-2); color: var(--primary); }
.lnav hr { border: none; border-top: 1px solid var(--line); margin: 6px 0; }
.comp { border-top: 1px solid var(--line); padding: 4px 8px 16px; }
.comp summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 6px; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.comp summary::after { content: "⌃"; font-size: 16px; }
.comp:not([open]) summary::after { transform: rotate(180deg); }
.comp-item { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--bg-2); border: 1px solid transparent; border-radius: 8px; padding: 8px; margin-bottom: 6px; cursor: pointer; font: inherit; text-align: left; }
.comp-item:hover, .comp-item.active { border-color: var(--primary); }
.comp-ico { width: 34px; height: 34px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; flex: none; }
.comp-item span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.comp-item b { color: #1d4fae; font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comp-item small { color: var(--muted); font-size: 12px; }
.comp-item em { font-style: normal; color: var(--muted); font-size: 12px; }
.main { min-width: 0; padding: 16px 0 40px; }
.rside { position: sticky; top: 64px; padding-top: 16px; max-height: calc(100vh - 64px); overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 14px; padding-bottom: 20px; }

/* cards em destaque */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.feat { margin-bottom: 14px; }
.feat-card { border-radius: var(--radius); padding: 14px; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(10,14,30,.15), rgba(10,14,30,.85) 70%), repeating-linear-gradient(90deg, #1d6a35 0 34px, #22783c 34px 68px); }
.feat-card.sp-basquete { background: linear-gradient(180deg, rgba(10,14,30,.2), rgba(10,14,30,.88) 70%), repeating-linear-gradient(90deg, #a8682f 0 22px, #b8773a 22px 44px); }
.feat-card.sp-tenis { background: linear-gradient(180deg, rgba(10,14,30,.2), rgba(10,14,30,.88) 70%), linear-gradient(#2d5fa8, #2d5fa8); }
.feat-card::before { content: ""; position: absolute; left: 50%; top: 24px; width: 90px; height: 90px; margin-left: -45px; border: 2px solid rgba(255,255,255,.25); border-radius: 50%; }
.feat-top { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.45); padding: 4px 10px; border-radius: 999px; font-size: 12px; display: flex; gap: 6px; align-items: center; }
.feat-teams { display: flex; flex-direction: column; gap: 2px; font-weight: 900; text-transform: uppercase; font-size: 17px; letter-spacing: .01em; position: relative; }
.feat-teams b { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-card .odds { position: relative; }
.feat-card .odd { flex: 1; }

/* faixa do cassino */
.casino-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px; overflow-x: auto; margin-bottom: 18px; scrollbar-width: none; }
.casino-strip:not(:has(> a:not([style*="none"]))) { display: none; }
.cs-tile { aspect-ratio: 1 / 1; border-radius: 10px; color: #fff; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; font-weight: 700; font-size: 13px; }
.cs-tile i { position: absolute; top: 6px; right: 8px; font-style: normal; font-size: 44px; }
.cs-tile small { font-weight: 400; opacity: .85; font-size: 11px; }
.cs-leao { background: linear-gradient(transparent 40%, rgba(60,0,4,.85)), url(assets/leao/tile.webp) center / cover, #c40d16; }
.cs-leao i, .t-leao i { visibility: hidden; }
.cs-mines { background: radial-gradient(circle at 70% 20%, #3fd28a, #0b5d48 70%); }
.cs-dice { background: radial-gradient(circle at 70% 20%, #ff9a3c, #7a2bb0 75%); }

/* lista de jogos */
.action-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 6px 0 12px; }
.h-title { font-family: "Roboto Condensed", "Roboto", sans-serif; font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: -.01em; }
.pills { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.pills button { flex: none; display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid transparent; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--text); }
.pills button:hover { background: #fff; }
.pills button.active { background: #fff; border-color: #c6cde0; font-weight: 700; }
.pills button em { font-style: normal; font-size: 11px; color: var(--muted); }
.row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 32px; align-items: center; gap: 12px; background: #fff; border: 1px solid #e3e7f0; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 8px; }
.row-time { color: var(--muted); font-size: 13px; text-align: center; line-height: 1.35; }
.row-teams { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 15px; }
.row-teams span { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-teams small { color: var(--text); font-size: 12px; margin-top: 2px; }
.lg-group { background: #fff; border: 1px solid #e3e7f0; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.lg-bar { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; background: transparent; color: var(--text); border: 0; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.lg-bar b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-bar em { display: none; }
.lg-bar .comp-ico { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; background: #fff; border-radius: 50%; font-size: 14px; overflow: hidden; }
.lg-bar .lg-logo { width: 18px; height: 18px; object-fit: contain; }
.lg-group .row { border: 0; border-radius: 0; margin: 0; border-top: 1px solid #eef1f6; }
.lg-group .row-teams small { display: none; }
.shirt { width: 16px; height: 16px; flex: none; }
.fav { background: none; border: none; color: #8a94ad; cursor: pointer; font-size: 18px; padding: 4px; }
.fav.on { color: var(--gold); }
.empty { background: #fff; border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted); }
.live { display: inline-block; background: var(--danger); color: #fff; font-style: normal; font-weight: 700; font-size: 10px; padding: 1px 6px; border-radius: 3px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .55; } }
.score { display: block; color: var(--text); font-family: var(--mono); font-size: 15px; margin-top: 2px; }
.odds { display: flex; gap: 8px; }
.odd { width: 106px; height: 44px; background: #f4f6fb; border: 1px solid #e1e6f0; color: var(--text); border-radius: 8px; padding: 0 12px; cursor: pointer; font: inherit;
  display: flex; align-items: center; justify-content: space-between; transition: .15s; }
.odd small { font-size: 13px; color: var(--text); }
.odd b { color: var(--odd); font-weight: 700; font-size: 15px; }
.odd:hover:not(:disabled) { border-color: var(--primary); }
.odd:disabled { opacity: .55; cursor: default; }
.odd.selected { background: var(--primary); border-color: var(--primary); }
.odd.selected b, .odd.selected small { color: #fff; }
.feat-card .odd { background: #fff; border-color: #fff; }

/* bilhete */
.slip-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.slip-box.empty { display: none; }
.slip-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; font-size: 16px; }
.slip-head .slip-close { margin-left: auto; display: none; }
.slip-actions { display: flex; gap: 8px; padding: 0 16px 12px; border-bottom: 1px solid var(--line); }
.slip-actions button { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #cfd6e6; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.slip-box .seg { margin: 12px 16px; }
#slip { padding: 0 16px 16px; }
.slip-item { display: flex; gap: 10px; border: 1px solid #e1e6f0; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.si-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.si-main b { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.si-main small { color: var(--muted); font-size: 13px; }
.si-main .si-mkt { color: #4b63a8; }
.si-odd { display: flex; align-items: flex-start; gap: 6px; font-weight: 700; }
.si-odd span { background: var(--card-2); border-radius: 6px; padding: 4px 8px; }
.si-odd s { color: var(--muted); font-weight: 400; padding-top: 4px; }
.si-odd .down { color: var(--danger); background: #fde8ea; }
.si-odd .up { color: var(--green); background: #e5f5eb; }
.si-lock { color: var(--danger); font-size: 12px; }
.slip-x { background: #fff; border: 1px solid #d4dbe9; border-radius: 8px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; color: var(--text); flex: none; }
.stake-row { display: flex; align-items: center; gap: 10px; background: var(--card-2); border-radius: 10px; padding: 12px; margin-top: 12px; font-weight: 700; }
.stake-row span { flex: 1; }
.stake { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #cfd6e6; border-radius: 8px; padding: 0 10px; width: 130px; color: var(--muted); font-size: 16px; }
.stake input { border: none; outline: none; width: 100%; font: inherit; font-size: 17px; color: var(--text); padding: 9px 0; text-align: right; background: none; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 12px; }
.quick button { background: #eef1f8; border: 1px solid #dfe4ef; border-radius: 8px; padding: 10px 0; font: inherit; font-weight: 700; cursor: pointer; }
.quick button:hover { border-color: #b9c2d8; }
.slip-total { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 8px; }
#place { flex-direction: column; gap: 0; padding: 10px; }
#place small { text-transform: none; font-weight: 400; font-size: 13px; }
.slip-empty { text-align: center; padding: 20px 0; color: var(--muted); }

/* widgets da direita */
.widget { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.widget h4 { text-align: center; font-size: 13px; text-transform: uppercase; margin-bottom: 10px; }
.mb-list { padding: 10px 2px 2px; font-size: 13px; }
.mb-item { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mb-item small { color: var(--muted); display: block; }
.mb-all { display: block; text-align: center; font-weight: 700; font-size: 13px; text-transform: uppercase; padding-top: 10px; }
.mentor { background: #fff; padding: 0; overflow: hidden; }
.mentor-head { background: var(--dark); color: #fff; padding: 12px 14px; font-weight: 700; display: flex; justify-content: space-between; }
.mentor-body { padding: 12px 14px; }
.mentor-body p { font-size: 13px; color: var(--text); margin: 0 0 8px; }
.mentor .stake { width: 110px; margin-bottom: 12px; }
.ranges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.ranges button { background: #fff; border: 1px solid #8995b3; border-radius: 4px; padding: 9px 4px; font: inherit; font-size: 13px; cursor: pointer; }
.ranges button:last-child { grid-column: 1 / -1; }
.ranges button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.sug { border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-top: 10px; font-size: 13px; }
.sug div { display: flex; justify-content: space-between; gap: 6px; padding: 2px 0; }
.sug .btn { margin-top: 8px; }
.promo { display: block; border-radius: var(--radius); min-height: 150px; padding: 18px; color: #fff; font-weight: 900; font-size: 26px; line-height: 1; text-transform: uppercase; position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 80%, #ff7b2e 0, transparent 40%), linear-gradient(135deg, #1c1030, #3d0d0d); }
.promo span { color: var(--primary); display: block; }
.promo i { position: absolute; right: 14px; bottom: 6px; font-size: 72px; font-style: normal; }

/* flutuantes */
.slip-fab { display: none; }
.to-top { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 55; background: var(--dark); color: #fff; border: 2px solid var(--primary); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 15px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.overlay { display: none; position: fixed; inset: 0; background: rgba(10,14,30,.5); z-index: 70; }
body.slip-open .overlay, body.menu-open .overlay { display: block; }
.bottom-nav { display: none; }

/* cassino */
.casino-hero { border-radius: var(--radius); padding: 30px 34px; margin-bottom: 20px; color: #fff; background: radial-gradient(circle at 90% 20%, #ff7b2e, transparent 45%), linear-gradient(110deg, #26103d, #5b1670); }
.casino-hero small { display: inline-block; background: rgba(255,255,255,.18); padding: 3px 10px; border-radius: 4px; font-weight: 700; text-transform: uppercase; font-size: 11px; }
.casino-hero h1 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; text-transform: uppercase; margin-top: 10px; }
.casino-hero h1 span { color: #ffb23e; }
.casino-hero p { opacity: .85; margin-top: 6px; }
.game-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.tile { aspect-ratio: 4 / 3; border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; position: relative; overflow: hidden; transition: transform .15s; }
.tile:hover { transform: translateY(-3px); }
.tile i { position: absolute; top: 8px; right: 10px; font-style: normal; font-size: 54px; }
.tile b { font-size: 18px; font-weight: 900; text-transform: uppercase; }
.tile small { opacity: .85; font-size: 12px; }
.t-leao { background: linear-gradient(transparent 40%, rgba(60,0,4,.85)), url(assets/leao/tile.webp) center / cover, #c40d16; }
.t-mines { background: radial-gradient(circle at 70% 20%, #3fd28a, #0b5d48 70%); }
.t-dice { background: radial-gradient(circle at 70% 20%, #ff9a3c, #7a2bb0 75%); }
.casino-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.game-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.game-card h2 { margin-bottom: 16px; font-size: 18px; font-weight: 900; text-transform: uppercase; }
.game-body { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cell { aspect-ratio: 1; background: #e9edf6; border: 1px solid #d5dbea; border-radius: 8px; cursor: pointer; font-size: 26px; transition: .15s; }
.cell:not(:disabled):hover { transform: translateY(-2px); border-color: var(--primary); }
.cell:disabled { cursor: default; }
.cell.gem { background: #e2f6ea; border-color: var(--ok); }
.cell.gem::after { content: "💎"; }
.cell.bomb { background: #fde8ea; }
.cell.bomb::after { content: "💣"; }
.cell.hit { background: var(--danger); }
.cell.dim { opacity: .35; }
.dice-result { font-family: var(--mono); font-size: 64px; font-weight: 700; text-align: center; padding: 20px 0; background: var(--card-2); border-radius: 8px; margin-bottom: 12px; }
.dice-result.win { color: var(--ok); }
.dice-result.lose { color: var(--danger); }
.range { width: 100%; accent-color: var(--primary); margin: 10px 0; }
.dice-stats { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.dice-stats b { color: var(--text); font-family: var(--mono); }

/* histórico / tabelas */
.hist-card { background: #fff; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; box-shadow: var(--shadow); }
.hist-top { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.hist-top small { margin-left: auto; color: var(--muted); }
.hist-sel { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.hist-foot { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); }
.hist-foot b { color: var(--text); }
.cashout-box { margin-top: 10px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: 14px; box-shadow: var(--shadow); }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; background: var(--card-2); }
.table small { color: var(--muted); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.pos { color: var(--ok); } .neg { color: var(--danger); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--card-2); color: var(--muted); text-transform: uppercase; }
.b-won, .b-done, .b-aprovado { background: #e2f6ea; color: var(--ok); }
.b-lost, .b-rejected, .b-canceled, .b-rejeitado { background: #fde8ea; color: var(--danger); }
.b-pending, .b-active, .b-live, .b-cashout, .b-em_analise { background: #fff3dc; color: var(--gold); }

/* admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { background: #fff; border-radius: var(--radius); padding: 14px; border-top: 3px solid var(--primary); box-shadow: var(--shadow); }
.stat small { color: var(--muted); text-transform: uppercase; font-size: 11px; font-weight: 700; }
.stat b { display: block; font-size: 22px; font-family: var(--mono); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 10px; margin: 16px 0; align-items: center; }

/* login */
.auth-page { display: grid; place-items: center; padding: 20px; background: linear-gradient(180deg, var(--primary) 0 220px, var(--bg) 220px); }
.auth-card { width: 100%; max-width: 400px; background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 20px 60px rgba(20,30,60,.18); }
.auth-card h2 { margin: 18px 0 14px; font-size: 20px; font-weight: 900; }
.auth-card form .btn { margin: 4px 0 12px; }
.auth-card #forgot { display: block; text-align: center; margin-bottom: 16px; color: var(--primary); }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; background: #e6eaf4; border-radius: 999px; padding: 3px; margin-top: 20px; }
.auth-switch button { background: none; border: none; color: var(--muted); padding: 9px; border-radius: 999px; font: inherit; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.auth-switch button.active { background: #fff; color: var(--text); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 24px; color: var(--primary); letter-spacing: -.03em; font-style: italic; text-transform: uppercase; }
.logo span { color: var(--dark); }
.logo.big { font-size: 32px; display: flex; justify-content: center; }

/* avisos e janelas */
#rs-toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 120; }
.rs-toast { background: #fff; border-left: 4px solid var(--primary); padding: 12px 16px; border-radius: 8px; max-width: 340px; box-shadow: 0 8px 24px rgba(20,30,60,.2); transform: translateX(120%); transition: .3s; }
.rs-toast.show { transform: none; }
.rs-toast.error { border-left-color: var(--danger); }
.rs-toast.ok { border-left-color: var(--ok); }
.rs-modal { position: fixed; inset: 0; background: rgba(10,14,30,.55); display: grid; place-items: center; z-index: 110; padding: 16px; }
.rs-modal-box { position: relative; background: #fff; border-radius: 14px; padding: 24px; width: 100%; max-width: 400px; max-height: 90vh; overflow: auto; }
.rs-modal-box h3 { margin-bottom: 6px; font-weight: 900; text-transform: uppercase; }
.rs-modal-box p { margin-bottom: 14px; font-size: 14px; }
.rs-modal-x { position: absolute; top: 10px; right: 14px; background: none; border: none; color: var(--muted); font-size: 24px; cursor: pointer; }

/* rodapé */
.footer { color: var(--muted); font-size: 12px; padding: 32px 16px 24px; background: #fff; border-top: 1px solid var(--line); }
.foot-cols { max-width: 1400px; margin: 0 auto 20px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 20px; }
.foot-cols h5 { color: var(--text); text-transform: uppercase; font-size: 12px; margin-bottom: 10px; }
.foot-cols a:not(.logo) { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.foot-cols a:not(.logo):hover { color: var(--text); }
.foot-cols p { margin-top: 8px; }
.foot-legal { max-width: 1400px; margin: 0 auto; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }
.foot-legal b { color: #fff; background: var(--danger); border-radius: 4px; padding: 1px 6px; }
.tab-panel, .section-title { scroll-margin-top: 80px; }

@media (max-width: 1200px) {
  .layout { grid-template-columns: 220px minmax(0, 1fr) 290px; }
  .odd { width: 92px; }
}
@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding: 0 12px; }
  .lside { position: fixed; top: 0; left: 0; bottom: 64px; width: 82%; max-width: 340px; height: auto; z-index: 80; transform: translateX(-102%); transition: transform .25s; border-right: none; box-shadow: 4px 0 20px rgba(0,0,0,.2); }
  body.menu-open .lside { transform: none; }
  .lside-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-weight: 700; border-bottom: 1px solid var(--line); }
  .rside { position: static; max-height: none; padding: 0; display: block; }
  .rside > :not(.slip-box) { display: none; }
  .slip-box, .slip-box.empty { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 88vh; overflow-y: auto; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .25s; }
  body.slip-open .slip-box { transform: none; }
  .slip-head .slip-close { display: inline-flex; }
  .slip-fab { display: flex; align-items: center; position: fixed; right: 14px; bottom: 82px; z-index: 56; background: #fff; border: 3px solid var(--primary); border-radius: 14px 30px 30px 14px; padding: 10px 18px 10px 26px; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
  .slip-fab::before { content: "⚡"; position: absolute; left: -14px; font-size: 26px; color: var(--primary); }
  .slip-fab i { position: absolute; top: -12px; right: -8px; background: var(--green); color: #fff; font-style: normal; font-size: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
  .slip-fab.hidden { display: none; }
  body { padding-bottom: 64px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: #fff; border-top: 1px solid var(--line); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 10px; color: var(--dark); font-size: 13px; }
  .bottom-nav a.active { color: var(--primary); }
  .bottom-nav svg.i { width: 24px; height: 24px; }
  #rs-toasts { bottom: 80px; }
  .casino-grid, .game-body { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .table { display: block; overflow-x: auto; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .footer { padding-bottom: 90px; }
}
@media (max-width: 640px) {
  .row { grid-template-columns: minmax(0, 1fr) 32px; padding: 14px; gap: 10px; }
  .row-time { grid-column: 1; text-align: left; display: flex; gap: 6px; align-items: center; }
  .row-time br { display: none; }
  .row-time + .row-teams { grid-column: 1 / -1; grid-row: 2; }
  .row .fav { grid-column: 2; grid-row: 1; }
  .row-odds { grid-column: 1 / -1; grid-row: 3; }
  .row-odds .odds { width: 100%; }
  .row-odds .odd { flex: 1; width: auto; height: 50px; font-size: 16px; }
  .hscroll { grid-auto-columns: 86%; }
  .h-title { font-size: 18px; }
}

/* ajustes de ícones e flutuantes */
.fav svg.i { width: 20px; height: 20px; }
.fav.on svg.i { fill: currentColor; }
.feat-top svg.i { width: 14px; height: 14px; }
.pills svg.i { width: 18px; height: 18px; }
.odd b svg.i { width: 16px; height: 16px; color: var(--muted); }
.slip-x svg.i { width: 18px; height: 18px; }
.slip-actions svg.i { width: 16px; height: 16px; }
.si-lock svg.i { width: 12px; height: 12px; vertical-align: -1px; }
.btn svg.i { width: 18px; height: 18px; }
.ap-saldo svg.i { color: var(--primary); background: #ffe1d4; border-radius: 50%; padding: 10px; width: 46px; height: 46px; }
.filter-bar { display: flex; justify-content: flex-end; margin-bottom: 8px; }
@media (min-width: 1001px) {
  body.slip-open .overlay, body.menu-open .overlay { display: none; }
  .to-top { bottom: 24px; }
}
.rside > * { flex: none; }
.feat-card .odd.selected { background: var(--primary); border-color: var(--primary); }

/* ligas populares, cabeçalho da liga, teclado do bilhete e cassino escuro */
.sub-title { font-size: 16px; font-weight: 900; margin: 4px 0 10px; }
.league-sec { margin-bottom: 18px; }
.league-chips { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: max-content; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.league-chip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e3e7f0; border-radius: 12px; padding: 8px 14px 8px 8px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--text); white-space: nowrap; }
.league-chip:hover { border-color: var(--primary); }
.league-head { background: linear-gradient(135deg, #0f1f4d, #1b2f6e 60%, #13235a); color: #fff; border-radius: 0 0 22px 22px; padding: 18px 16px 14px; margin: -4px 0 14px; }
.lh-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lh-top h1 { font-size: 22px; font-weight: 900; line-height: 1.15; }
.lh-ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 24px; flex: none; }
.lh-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.lh-tabs button { background: none; border: 0; color: #dfe6ff; font: inherit; font-size: 15px; padding: 8px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.lh-tabs button.active { background: #fff; color: var(--text); font-weight: 700; }
.lh-tabs em { font-style: normal; opacity: .7; font-size: 12px; margin-left: 2px; }
.keypad { display: none; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 12px; }
.keypad button { background: #fff; border: 1px solid #e1e6f0; border-radius: 8px; height: 44px; font: inherit; font-size: 20px; cursor: pointer; color: var(--text); }
.keypad button:active { background: #eef1f8; }
@media (max-width: 1000px) { .keypad { display: grid; } }
.casino-dark { background: #0f1424; color: #eef1fb; border-radius: var(--radius); padding: 14px; }
.casino-dark .section-title { color: #fff; }
.casino-dark .game-card { background: #1a2136; color: #eef1fb; box-shadow: none; }
.casino-dark .game-card .muted, .casino-dark .game-card label { color: #aab3cc; }
.casino-dark .input { background: #0f1424; border-color: #2c3653; color: #fff; }
.casino-dark .dice-stats { color: #aab3cc; }
.casino-dark .dice-stats b { color: #fff; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px 0 6px; }
.cat-chips button { background: none; border: 1px solid #3a4566; color: #dfe4f5; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cat-chips button.active { background: #2a3455; border-color: #2a3455; color: #fff; }
.more-mk { grid-column: 1 / -1; justify-self: start; background: #eef1f8; border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12px; font-weight: 700; color: var(--primary); cursor: pointer; }
.more-mk.on { background: var(--primary); color: #fff; }
.mk-panel { background: #f7f8fc; border: 1px solid #e3e7f0; border-top: 0; border-radius: 0 0 12px 12px; padding: 10px 12px 4px; margin: -8px 0 10px; }
.mk-group { margin-bottom: 10px; }
.bb-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.bb-toggle { flex: none; position: relative; width: 86px; height: 34px; border-radius: 999px; border: 0; background: #c9d0de; color: #fff; font: inherit; font-size: 9px; font-weight: 800; line-height: 1.05; text-align: left; padding: 0 0 0 10px; cursor: pointer; transition: background .2s; }
.bb-toggle::after { content: ""; position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .2s; }
.bb-toggle:not(.on) { padding-left: 36px; }
.bb-toggle:not(.on)::after { transform: translateX(-52px); }
.bb-toggle.on { background: var(--primary); }
.si-main .si-bb { color: var(--primary); }
.si-legs { list-style: none; margin: 4px 0 0; padding: 0 0 0 6px; border-left: 2px solid #c9d3ea; display: flex; flex-direction: column; gap: 6px; }
.si-legs li { display: flex; flex-direction: column; padding-left: 8px; }
.si-legs li b { font-size: 14px; }
.mk-group h4 { font-size: 13px; font-weight: 800; margin: 0 0 6px; }
.mk-group .odds { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; }
.bottom-nav { grid-template-columns: repeat(4, 1fr) 76px; align-items: center; }
.bottom-nav a { position: relative; }
.bn-badge { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--green); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.bn-badge.hidden, .bn-ball, body.on-casino .bn-chip { display: none !important; }
.bn-switch span { width: 54px; height: 54px; margin-top: -16px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.bottom-nav .bn-switch svg.i { width: 30px; height: 30px; }
body.on-casino .bn-ball { display: grid !important; }
body.on-casino .bottom-nav { background: #0f1424; border-top-color: #2c3653; }
body.on-casino .bottom-nav a { color: #dfe4f5; }
body.on-casino .bn-switch span { border-color: #0f1424; }
@keyframes co-flash { from { filter: brightness(1.35); } to { filter: none; } }
.btn.co-up { background: var(--green); animation: co-flash .8s; }
.btn.co-down { background: var(--danger); animation: co-flash .8s; }
/* Minhas apostas */
.bt-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); }
.bt-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 13px; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; }
.bt-tabs button.active { font-weight: 700; border-color: var(--text); }
.bt-filters { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; }
.bt-f { flex: none; background: #fff; border: 1.5px solid var(--primary); color: var(--primary); border-radius: 10px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.bt-f.active { background: var(--primary); color: #fff; }
.bet-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.bc-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; cursor: pointer; border-bottom: 1px solid var(--line); }
.bc-odd { margin-left: auto; font-weight: 700; }
.bc-chev { width: 9px; height: 9px; border: solid var(--text); border-width: 2px 2px 0 0; transform: rotate(-45deg); margin: 4px 2px 0 12px; }
.bet-card.closed .bc-chev { transform: rotate(135deg); margin-top: -4px; }
.bet-card.closed .bc-head { border-bottom: 0; }
.bet-card.closed .bc-body { display: none; }
.bc-sel { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bc-l1 { display: flex; align-items: center; gap: 8px; }
.bc-l1 svg.i { width: 18px; height: 18px; color: var(--primary); flex: none; }
.bc-l1 span { margin-left: auto; font-weight: 700; }
.bc-mk { color: var(--muted); margin: 4px 0 2px 26px; font-size: 14px; }
.bc-l3 { display: flex; justify-content: space-between; gap: 8px; margin-left: 26px; font-size: 14px; }
.bc-l3 span:last-child { color: var(--muted); white-space: nowrap; }
.bc-row { display: flex; justify-content: space-between; padding: 10px 16px 0; color: var(--muted); }
.bc-row b { color: var(--text); }
.bc-win { padding-bottom: 4px; }
.bc-win span { font-weight: 700; }
.bc-win b { font-size: 20px; }
.bet-card .cashout-box { padding: 8px 16px 12px; margin: 0; }
.btn-co { background: #2c3442; color: #fff; letter-spacing: .3px; }
.bc-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.bc-foot button { background: none; border: 0; padding: 12px; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; display: flex; gap: 6px; justify-content: center; align-items: center; }
.bc-foot svg.i { width: 16px; height: 16px; }
.only-cash .bet-card:not(.co-ok) { display: none; }

/* tela do jogo (mercados) */
body.mv-open { overflow: hidden; }
.mv { position: fixed; inset: 0; z-index: 82; background: var(--bg, #eef1f8); display: flex; flex-direction: column; }
.mv-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--primary); color: #fff; }
.mv-head small { font-size: 13px; font-weight: 600; opacity: .95; }
.mv-back { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.mv-match { margin: 10px 12px 0; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 2px 8px rgba(20,30,60,.06); }
.mv-date { text-align: center; font-size: 13px; font-weight: 700; text-transform: capitalize; margin-bottom: 10px; }
.mv-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.mv-teams span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mv-teams span:last-child { justify-content: flex-end; text-align: right; }
.mv-score { font-size: 20px; }
.mv-vs { color: var(--muted); font-style: normal; }
.mv-bar { display: flex; align-items: center; gap: 8px; margin: 10px 12px 0; background: #fff; border-radius: 14px; padding: 8px; }
.mv-tabs { flex: 1; display: flex; gap: 4px; overflow-x: auto; }
.mv-tabs button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; color: var(--text); }
.mv-tabs button.on { background: var(--dark, #1c2233); color: #fff; }
.mv-all { flex: none; border: 0; background: none; font-size: 18px; color: var(--muted); cursor: pointer; padding: 4px 6px; }
.mv-hint { margin: 8px 14px 0; font-size: 12px; color: var(--muted); }
.mv-body { flex: 1; overflow-y: auto; padding: 10px 12px 90px; display: flex; flex-direction: column; gap: 8px; }
.mv-acc { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(20,30,60,.05); flex: none; }
.mv-acc-h { position: relative; width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--text); padding: 15px 14px; cursor: pointer; text-align: left; }
.mv-acc-h span { flex: 1; }
.mv-acc-h .ca { position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font-style: normal; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 0 0 0 8px; }
.mv-chev { width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-135deg); transition: transform .2s; margin-top: 4px; }
.mv-acc.closed .mv-chev { transform: rotate(45deg); margin-top: -4px; }
.mv-acc.closed .mv-acc-b { display: none; }
.mv-acc-b { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.mv .odds { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.mv .odd { width: auto; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; padding: 8px 6px; height: auto; min-height: 56px; }
.mv .odd small { white-space: normal; text-align: center; line-height: 1.15; overflow-wrap: anywhere; }
.mv .empty { text-align: center; color: var(--muted); padding: 30px 0; }
@media (min-width: 1001px) {
  .mv { inset: 70px auto 20px 50%; transform: translateX(-62%); width: min(640px, 92vw); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(20,30,60,.3); }
  .mv-body { padding-bottom: 16px; }
  body.mv-open { overflow: auto; }
}

/* menu lateral da conta */
.lacct { border-bottom: 1px solid var(--line); padding: 10px 10px 12px; }
.la-who { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; }
.la-who b { display: block; font-size: 15px; }
.la-who small { color: var(--green); font-weight: 700; }
.la-item, .la-grp summary { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: none; background: none; border-radius: 22px; font: inherit; font-size: 15px; font-weight: 700; color: var(--text); cursor: pointer; text-align: left; list-style: none; }
.la-grp summary::-webkit-details-marker { display: none; }
.la-grp summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.la-grp[open] summary { background: var(--primary); color: #fff; }
.la-grp[open] summary::after { transform: rotate(-135deg); }
.la-item svg.i, .la-grp summary svg.i { color: var(--primary); width: 22px; height: 22px; }
.la-grp[open] summary svg.i { color: #fff; }
.la-item:hover, .la-grp summary:hover { background: var(--card-2); }
.la-grp[open] summary:hover { background: var(--primary); }
.la-grp button { display: block; width: 100%; padding: 9px 14px 9px 48px; border: none; background: none; font: inherit; font-size: 14px; color: var(--text); text-align: left; cursor: pointer; }
.la-grp button:hover { color: var(--primary); }
.la-out { display: flex; align-items: center; gap: 8px; border: none; background: none; font: inherit; color: var(--muted); padding: 12px 14px 0; cursor: pointer; }
.la-out svg.i { width: 20px; height: 20px; }
@media (min-width: 1001px) { .lacct { display: none; } }

/* transações */
.tx-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tx-top b { font-size: 20px; }
.tx-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 12px; }
.tx-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.08); padding: 12px 14px; margin-bottom: 10px; }
.tx-h { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tx-h > div { flex: 1; }
.tx-h b { display: block; }
.tx-h small { color: var(--muted); }
.tx-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.tx-ic.out { background: var(--primary); }
.tx-ic.in { background: var(--green); }
.tx-ic svg.i { width: 20px; height: 20px; }
.tx-r { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 4px 0; color: var(--muted); }
.tx-r span:last-child { color: var(--text); display: inline-flex; align-items: center; gap: 4px; }
.tx-r .icon-btn svg.i { width: 15px; height: 15px; }
.tx-v { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; color: var(--text); font-weight: 700; }

/* saque PIX */
.wd-info { background: var(--card-2); border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.wd-info div { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.wd-info svg.i { width: 18px; height: 18px; flex: none; }
.wd-l { display: block; font-weight: 700; margin: 14px 0 6px; }
.wd-warn { margin-top: 8px; color: var(--muted); }
.wd-amt { display: flex; width: 100%; margin-bottom: 8px; }
.wd-amt input { flex: 1; }
.wd-key { display: grid; grid-template-columns: 130px 1fr; gap: 8px; margin-bottom: 14px; }
.wd .btn-dark { padding: 13px; }

/* bilhete: relógio, placar e resultado por seleção */
.bc-l3 { align-items: center; }
.bc-teams { line-height: 1.35; }
.bc-st { display: inline-flex; align-items: center; gap: 10px; }
.bc-clock { color: var(--muted); font-size: 13px; display: inline-flex; gap: 3px; align-items: center; }
.bc-clock b { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }
.bc-score { display: inline-flex; flex-direction: column; text-align: right; color: #2563eb; font-weight: 700; line-height: 1.35; min-width: 14px; }
.bc-when { color: var(--muted); font-size: 13px; }
.leg-ok, .leg-ko { font-style: normal; font-size: 12px; width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; margin-left: 6px; }
.leg-ok { background: var(--green); }
.leg-ko { background: var(--danger); }
.bc-bb { color: #2563eb; }
.bc-legs { list-style: none; margin: 6px 0 2px 10px; padding-left: 14px; border-left: 2px solid #c7d2fe; }
.bc-legs li { position: relative; padding: 3px 0; }
.bc-legs li::before { content: ""; position: absolute; left: -21px; top: 8px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #2563eb; background: #fff; }
.bc-legs b { display: block; font-size: 14px; }
.bc-legs small { color: var(--muted); }

/* cupom: sistema */
.sys-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; }
.sys-row select { max-width: 70%; }
.sys-hint { padding: 6px 12px; }

/* cadastro/login em dois painéis */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; max-width: 860px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(20,30,60,.18); }
.auth-wrap .auth-card { max-width: none; border-radius: 0; box-shadow: none; }
.auth-promo { background: radial-gradient(circle at 20% 15%, #ff7a3d, var(--primary) 55%, #c93a00); color: #fff; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.auth-promo .logo { color: #fff; }
.auth-promo h1 { font-size: 28px; line-height: 1.15; font-weight: 900; text-transform: uppercase; }
.auth-promo ul { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.auth-promo li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.14); border-radius: 10px; padding: 10px 12px; font-weight: 700; }
.auth-promo li b { width: 22px; text-align: center; }
.auth-promo small { margin-top: auto; opacity: .85; }
.auth-have { text-align: right; font-size: 14px; color: var(--muted); margin-top: 8px; }
.auth-have a { color: var(--primary); font-weight: 700; }
.logo.big.card-logo { display: none; }
@media (max-width: 760px) {
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-promo { padding: 22px 20px; gap: 12px; }
  .auth-promo h1 { font-size: 20px; }
  .auth-promo ul { grid-template-columns: 1fr 1fr; gap: 8px; }
  .auth-promo li { font-size: 13px; padding: 8px; }
  .auth-promo small { display: none; }
}
.la-who .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 900; flex: none; text-transform: uppercase; }

/* banners do Início: cartões quadrados na fileira de atalhos */
.pb-tile { justify-content: flex-end; gap: 2px; text-decoration: none; background-size: cover; background-position: center; }
.pb-tile b { position: relative; z-index: 1; font-size: 14px; line-height: 1.15; font-weight: 900; }
.pb-tile .pb-cta { position: relative; z-index: 1; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.pb-tile .pb-art { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.07); }
.pb-tile .pb-art svg.i { width: 36px; height: 36px; color: #fff; }
.pb-orange { background: linear-gradient(160deg, #ffb21a, #ff4d00 60%, #c93a00); }
.pb-navy { background: linear-gradient(160deg, #2d4fb3, #1b2f6e 60%, #0f1f4d); }
.pb-green { background: linear-gradient(160deg, #3fcf7f, #17a35a 60%, #0d7a43); }
.pb-purple { background: linear-gradient(160deg, #a35cff, #6a2fd1 60%, #3b1c8c); }
.pb-dark { background: linear-gradient(160deg, #2c3447, #1d2433 60%, #0b0f1c); }
.pb { display: flex; color: #fff; }
.pb.pb-mini { min-height: 0; width: 260px; padding: 10px 12px; border-radius: 10px; flex-direction: column; }
.pb-mini b { font-size: 14px; }
.pb-mini span { font-size: 11px; }

/* escudos */
.crest { width: 18px; height: 18px; object-fit: contain; flex: none; }
.lg-logo { width: 22px; height: 22px; object-fit: contain; }
.lh-ico .lg-logo { width: 30px; height: 30px; background: #fff; border-radius: 6px; padding: 3px; }
.feat-teams .crest { width: 22px; height: 22px; background: rgba(255,255,255,.92); border-radius: 50%; padding: 2px; }
.feat-card.has-crests::before { display: none; }
.feat-crests { position: absolute; top: 44px; right: 16px; display: flex; gap: 14px; }
.feat-crests img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.mv-teams .crest { width: 34px; height: 34px; }
.row-teams small .lg-logo { width: 14px; height: 14px; vertical-align: -2px; }
.bc-teams .crest { width: 15px; height: 15px; vertical-align: -3px; margin-right: 5px; }
.si-teams .crest, .si-bb + small .crest { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; }
/* cassino PlayFiver */
.pf-bar { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.pf-bar .input { flex: 1 1 180px; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 12px; }
.pf-tile { background: #1b2233; border: 0; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer; color: #fff; text-align: left; }
.pf-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #0f1522; }
.pf-tile span { display: block; padding: 6px 8px; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-fort { display: grid; grid-auto-flow: column; grid-auto-columns: 140px; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pf-fort::-webkit-scrollbar { display: none; }
.pf-fort .pf-tile { scroll-snap-align: start; border: 2px solid #f5b301; box-shadow: 0 4px 14px rgba(245, 179, 1, .25); }
.pf-ov { position: fixed; inset: 0; z-index: 9999; background: #000; display: flex; flex-direction: column; }
.pf-ov-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; color: #fff; background: #111; padding-top: max(8px, env(safe-area-inset-top)); }
.pf-ov-top button { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.pf-ov-body { flex: 1; }
.pf-ov-body iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .pf-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* cards de destaque do Início (Admin → Banners do site) */
.pc-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 12px; overflow-x: auto; margin-bottom: 18px; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; }
.pc-strip::-webkit-scrollbar { display: none; }
.pc { position: relative; overflow: hidden; min-height: 158px; border-radius: 18px; padding: 16px; color: #fff; text-decoration: none; display: flex; align-items: flex-end; scroll-snap-align: start; isolation: isolate;
  box-shadow: 0 10px 24px -10px var(--pc-c, rgba(0,0,0,.4)), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .2s; }
.pc:active { transform: scale(.97); }
.pc::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 22px), var(--pc-bg); }
.pc::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -80px; z-index: -1; border-radius: 50%;
  border: 26px solid rgba(255,255,255,.10); box-shadow: 0 0 0 26px rgba(255,255,255,.05); }
.pc-glow { position: absolute; z-index: -1; width: 160px; height: 160px; left: -40px; bottom: -70px; border-radius: 50%; background: var(--pc-glow, rgba(255,255,255,.35)); filter: blur(40px); opacity: .7; }
.pc-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%); transform: translateX(-120%); animation: pc-shine 5s ease-in-out infinite; }
.pc:nth-child(2) .pc-shine { animation-delay: 1.2s; } .pc:nth-child(3) .pc-shine { animation-delay: 2.4s; } .pc:nth-child(4) .pc-shine { animation-delay: 3.6s; }
@keyframes pc-shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.pc-art { position: absolute; right: 10px; top: 12px; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; transform: rotate(-10deg);
  background: linear-gradient(145deg, rgba(255,255,255,.35), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.25); animation: pc-float 4s ease-in-out infinite; }
.pc-art svg.i { width: 46px; height: 46px; color: #fff; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }
@keyframes pc-float { 0%, 100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-6px); } }
.pc-body { position: relative; z-index: 1; display: grid; gap: 5px; max-width: 72%; }
.pc-img .pc-body { max-width: 100%; }
.pc-body b { font-size: 19px; line-height: 1.1; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.pc-body small { font-size: 12px; line-height: 1.3; opacity: .92; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-cta { justify-self: start; margin-top: 4px; background: #fff; color: var(--pc-c, #111); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; padding: 7px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.pc-cta i { font-style: normal; display: inline-block; transition: transform .2s; }
.pc:hover .pc-cta i { transform: translateX(3px); }
.pc-orange { --pc-bg: radial-gradient(circle at 85% 15%, #ffd34d, transparent 45%), linear-gradient(135deg, #ff9a1a, #ff4d00 55%, #b83200); --pc-c: #e14400; --pc-glow: #ffe08a; }
.pc-navy { --pc-bg: radial-gradient(circle at 85% 15%, #4f8bff, transparent 45%), linear-gradient(135deg, #2b5ce6, #1b2f8e 55%, #0b1440); --pc-c: #1d3fae; --pc-glow: #00d4ff; }
.pc-green { --pc-bg: radial-gradient(circle at 85% 15%, #8bffb8, transparent 45%), linear-gradient(135deg, #22d47a, #0f9d55 55%, #05602f); --pc-c: #0d8a49; --pc-glow: #c6ff6b; }
.pc-purple { --pc-bg: radial-gradient(circle at 85% 15%, #ff7ae0, transparent 45%), linear-gradient(135deg, #a64dff, #6a1fd6 55%, #2d0b7a); --pc-c: #6a1fd6; --pc-glow: #ff5fd2; }
.pc-dark { --pc-bg: radial-gradient(circle at 85% 15%, #ff6a1a, transparent 40%), linear-gradient(135deg, #2c3447, #141a28 60%, #05070d); --pc-c: #ff5a00; --pc-glow: #ff6a1a; }
.pc-img::before { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.8)), var(--pc-img) center / cover no-repeat; }
.pc-img::after, .pc-img .pc-glow { display: none; }
@media (min-width: 900px) { .pc-strip { grid-auto-columns: 300px; } }
@media (prefers-reduced-motion: reduce) { .pc-shine, .pc-art { animation: none; } }

/* cassino em lobby (faixas que rolam para o lado) */
.cs-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; position: sticky; top: 64px; z-index: 6; background: #0f1424; margin: 10px -14px 0; padding: 10px 14px; }
.cs-nav::-webkit-scrollbar { display: none; }
.cs-nav button { flex: none; background: #1a2136; border: 1px solid #2c3653; color: #dfe4f5; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s; }
.cs-nav button:hover { transform: translateY(-1px); }
.cs-nav button.active { background: linear-gradient(135deg, #ff8a00, #ff4d00); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(255, 90, 0, .35); }
.cs-search { margin: 8px 0 2px; }
.cs-search .input { width: 100%; border-radius: 999px; padding: 12px 18px; background: #1a2136; }
.cs-sec { margin-top: 20px; }
.cs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cs-head h2 { font-size: 17px; font-weight: 900; color: #fff; margin: 0; }
.cs-head .input { max-width: 200px; padding: 8px 10px; }
.cs-arr { display: flex; gap: 6px; }
.cs-arr button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #2c3653; background: #1a2136; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.cs-arr button:hover { background: #2a3455; }
.cs-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 6px; -webkit-overflow-scrolling: touch; }
.cs-rail::-webkit-scrollbar { display: none; }
.cs-rail > * { scroll-snap-align: start; }
.cs-rail.cs-big { grid-auto-columns: 170px; }
.cs-big .pf-tile { border: 2px solid #ff6a00; box-shadow: 0 6px 18px rgba(255, 90, 0, .25); }
#pf-fort .pf-tile { border: 2px solid #f5b301; box-shadow: 0 4px 14px rgba(245, 179, 1, .25); }
.pf-tile { position: relative; transition: transform .18s, box-shadow .18s; }
.pf-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.pf-tile::before { content: "▶"; position: absolute; inset: 0 0 auto; aspect-ratio: 1; display: grid; place-items: center; font-size: 30px; color: #fff; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .18s; z-index: 1; }
.pf-tile:hover::before { opacity: 1; }
.pf-tile span small { display: block; font-size: 10px; font-weight: 600; color: #8f9abb; overflow: hidden; text-overflow: ellipsis; }
.cs-int { display: block; text-decoration: none; color: #fff; }
.cs-int i { display: grid; place-items: center; aspect-ratio: 1; font-size: 56px; font-style: normal; }
.cs-int span { background: rgba(0, 0, 0, .35); }
.cs-provs { grid-template-rows: repeat(2, auto); grid-auto-columns: 160px; }
.cs-prov { display: flex; align-items: center; gap: 8px; background: #1a2136; border: 1px solid #2c3653; border-radius: 12px; padding: 10px 12px; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; text-align: left; overflow: hidden; }
.cs-prov b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-prov img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; flex: none; }
.cs-prov:hover { border-color: #f5b301; }
.cs-orig { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 900px) { .cs-nav { top: 60px; } }
@media (max-width: 600px) { .cs-arr { display: none; } .cs-rail { grid-auto-columns: 30%; } .cs-rail.cs-big { grid-auto-columns: 42%; } .cs-provs { grid-auto-columns: 46%; } .cs-orig { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .pf-tile, .cs-nav button { transition: none; } }

/* jogos originais: escondidos até o mines.js confirmar que estão ativos (evita aparecer desativado ao recarregar) */
html:not(.g-mines) #mines-card, html:not(.g-mines) [data-game="mines-card"],
html:not(.g-dice) #dice, html:not(.g-dice) [data-game="dice"],
html:not(.g-leao) [data-game="leao"] { display: none !important; }
