/* ==========================================================================
   Brasa365 · PHP + MySQL
   Tokens extraídos do projeto original (oklch convertido para hex).
   ========================================================================== */

:root {
    --bg: #111111;
    --fg: #ffffff;
    --card: #1f1f1f;
    --primary: #14674d;
    --primary-fg: #ffffff;
    --secondary: #2c2c2c;
    --muted: #d9d9d9;
    --muted-soft: #a3a3a3;
    --border: #2c2c2c;
    --gold: #ffd400;
    --mint: #3bf7b8;
    --topbar: #072e20;
    --danger: #ff5c5c;
    --panel: #e5e5e5;
    --surface: #ffffff;
    --panel-fg: #424242;
    --panel-muted: #696969;
    --panel-border: #c7c7c7;
    --radius: 8px;
    --header-h: 64px;
    --shadow: 0 18px 40px rgba(0, 0, 0, .35);
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --font-display: 'Outfit', 'Manrope', Arial, sans-serif;
    --font-desk: 'Roboto', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.4;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button, a, input, select, textarea, label { touch-action: manipulation; }
input, select, textarea { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
.muted { color: var(--muted-soft); }
.fine-print { font-size: 10px; color: var(--muted-soft); margin-top: 8px; }
.empty { padding: 28px 12px; text-align: center; font-size: 13px; color: var(--muted-soft); }
.empty a { color: var(--mint); text-decoration: underline; }
.strong { font-weight: 800; }
.mono { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 999;
    background: var(--primary); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------- botões */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 38px; padding: 0 16px;
    border: 1px solid transparent; border-radius: 999px;
    background: var(--secondary); color: var(--fg);
    font-family: var(--font-body); font-size: 12px; font-weight: 800;
    line-height: 1; white-space: nowrap; cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--primary); color: var(--primary-fg); }
.btn--primary:hover { background: #1a7d5e; }
.btn--mint { background: var(--mint); color: #0b241c; }
.btn--mint:hover { background: #63ffcb; }
.btn--gold { background: var(--gold); color: #141400; }
.btn--secondary { background: var(--secondary); color: var(--fg); }
.btn--outline { border-color: var(--primary); background: rgba(20, 103, 77, .18); color: var(--fg); }
.btn--outline:hover { background: rgba(20, 103, 77, .34); }
.btn--outline-gold { border-color: var(--gold); background: transparent; color: var(--gold); }
.btn--outline-gold:hover { background: rgba(255, 212, 0, .12); }
.btn--panel { background: var(--surface); border-color: var(--panel-border); color: #333; border-radius: 3px; }
.btn--outline-gold[disabled], .btn--mint[disabled] { opacity: .45; }
.btn--sm { min-height: 32px; padding: 0 12px; font-size: 11px; }
.btn--xs { min-height: 26px; padding: 0 9px; font-size: 10px; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 15px; border-radius: 4px; }
.btn--block { display: flex; width: 100%; }
.btn--icon { width: 34px; min-height: 34px; padding: 0; border-radius: 999px; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--muted-soft); font-size: 9px; font-weight: 700; }
.link-inline { color: var(--fg); font-weight: 800; padding: 0; text-decoration: none; }

/* ---------------------------------------------------------------- marca */
.brand {
    display: inline-flex; align-items: baseline;
    font-family: var(--font-display); font-size: 27px; font-weight: 800; line-height: 1;
    letter-spacing: -.02em; color: var(--fg);
}
.brand span { color: var(--gold); }
.brand i { width: 5px; height: 5px; margin-left: 3px; border-radius: 50%; background: var(--gold); }
.brand--dark { color: #1a1a1a; }
.brand--dark span { color: #b58900; }
.brand--dark i { background: #b58900; }
.brand--sm { font-size: 22px; }
.brand-link { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo { display: block; height: 34px; width: auto; max-width: 190px; object-fit: contain; }
.footer-logo { display: block; max-height: 56px; max-width: 260px; width: auto; }
.admin-brand { display: inline-flex; align-items: center; }
.admin-brand .brand-logo { height: 24px; max-width: 150px; }

/* --------------------------------------------------------------- topo site */
.site { background: var(--bg); color: var(--fg); padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

.install-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    background: rgba(20, 103, 77, .72);
    font-size: 12px;
}
.install-bar__logo {
    display: grid; place-items: center; width: 38px; height: 38px; flex: none;
    border-radius: 8px; background: var(--bg); color: #fff;
    font-size: 9px; font-weight: 900; line-height: 1; text-align: center;
}
.install-bar__text { min-width: 0; flex: 1; display: grid; }
.install-bar__text strong { font-size: 13px; }
.install-bar__text span { font-size: 10px; color: var(--muted); }
.install-bar__close { color: var(--muted); font-size: 20px; line-height: 1; padding: 4px 8px; }

.responsible { display: none; }

.site-header {
    position: sticky; top: 0; z-index: 30;
    background: var(--topbar); color: var(--fg);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; gap: 8px;
    height: var(--header-h); max-width: 1440px; margin: 0 auto; padding: 0 12px;
}
.header-inner > .brand,
.header-inner > .brand-link { margin-right: auto; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-actions .btn { font-size: 10px; min-height: 32px; padding: 0 10px; }
.header-rewards {
    display: inline-flex;
    height: 34px; min-height: 34px;
    padding: 0 14px;
    border: 1px solid #3f9679;
    background: rgba(0, 0, 0, .10);
    color: #fff;
    font-size: 11px !important;
    font-weight: 800;
    opacity: 1;
}
.header-rewards:hover { background: rgba(59, 247, 184, .12); border-color: #5bd3ac; }
@media (min-width: 1440px) {
    .header-rewards { height: 38px; min-height: 38px; padding: 0 18px; font-size: 12px !important; }
}
.balance-pill {
    display: inline-flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 6px 0 12px;
    border: 1px solid var(--primary); border-radius: 999px;
    background: rgba(0, 0, 0, .25);
    font-size: 12px; font-weight: 800;
}
.balance-pill__plus {
    display: grid; place-items: center; width: 22px; height: 22px;
    border-radius: 50%; background: var(--mint); color: #0b241c; font-size: 14px; line-height: 1;
}
.tabs-desktop { display: none; }

.flash-wrap {
    max-width: 720px; margin: 10px auto 0; padding: 0 12px;
    display: grid; gap: 6px;
}
.alert {
    padding: 11px 14px; border-radius: 6px; font-size: 12px; line-height: 1.45;
    border-left: 4px solid transparent;
}
.alert--error { background: rgba(255, 92, 92, .12); border-color: var(--danger); color: #ffd7d7; }
.alert--ok { background: rgba(59, 247, 184, .1); border-color: var(--mint); color: #d9fff2; }
.alert--warn { background: rgba(255, 212, 0, .12); border-color: var(--gold); color: #fff2b8; }

/* ------------------------------------------------------------- lobby base */
.lobby-body {
    max-width: 1440px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: minmax(0, 1fr);
}
.lobby-main { min-width: 0; padding: 8px 12px 40px; }

.searchbar {
    display: flex; align-items: center; gap: 10px;
    height: 44px; padding: 0 16px; margin-bottom: 8px;
    border-radius: 999px; background: rgba(20, 103, 77, .34);
    font-weight: 600;
}
.searchbar .ico { color: var(--muted); width: 18px; height: 18px; }
.searchbar input {
    width: 100%; height: 100%; border: 0; outline: 0; background: transparent;
    color: var(--fg); font-size: 13px;
}
.searchbar input::placeholder { color: var(--muted-soft); }
.searchbar--round { background: var(--secondary); border-radius: 999px; }

/* --------------------------------------------------------- faixas esporte */
.sport-strip { display: flex; gap: 4px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.sport-strip::-webkit-scrollbar { display: none; }
.sport-tile {
    flex: 1 0 64px; min-width: 64px; height: 62px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    border: 1px solid var(--border); border-radius: 8px; background: var(--card);
    font-size: 9px; font-weight: 800; color: var(--fg);
}
.sport-tile span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sport-tile .sport-icon { width: 24px; height: 24px; }
.sport-strip-desktop { display: none; }
.desktop-sports-sidebar { display: none; }

.sport-icon { width: 18px; height: 18px; flex: none; }
img.sport-icon { object-fit: contain; }
.sport-icon.ico, .sport-cassino .ico, .sport-proximo .ico, .sport-bandeira .ico, .sport-trofeu .ico, .sport-generico .ico { width: 18px; height: 18px; }
.sport-cassino, .sport-proximo, .sport-bandeira, .sport-trofeu, .sport-generico { display: inline-grid; place-items: center; color: var(--mint); }
.sport-glyph { display: inline-grid; place-items: center; }

/* --------------------------------------------------------------- banners */
.promo-row {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 6px -12px 0; padding: 0 12px 4px;
    scrollbar-width: none;
}
.promo-row::-webkit-scrollbar { display: none; }
.promo-card {
    position: relative; flex: 0 0 82%; height: 158px; padding: 0;
    border-radius: 10px; overflow: hidden; background: var(--card);
    text-align: left; scroll-snap-align: start;
}
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-card__shade {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--bg) 4%, rgba(17, 17, 17, .78) 42%, rgba(17, 17, 17, 0) 82%);
}
.promo-card__copy { position: relative; display: block; padding: 20px 16px; max-width: 78%; }
.promo-card__copy strong {
    display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800;
    line-height: .95; text-transform: uppercase; letter-spacing: -.02em;
}
.promo-card__copy em { font-style: normal; color: var(--mint); }
.promo-card__copy small { display: block; margin-top: 10px; font-size: 9px; color: var(--muted-soft); }
.promo-card--extra { display: none; }

/* --------------------------------------------------------------- ligas */
.league-row {
    position: sticky; top: var(--header-h); z-index: 20;
    display: flex; gap: 6px; overflow-x: auto;
    margin: 6px -12px 0; padding: 6px 12px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    scrollbar-width: none;
}
.league-row::-webkit-scrollbar { display: none; }
.league-chip {
    flex: none; height: 34px; padding: 0 14px; border-radius: 999px;
    font-size: 13px; color: var(--fg);
}
.league-chip.is-active { background: var(--fg); color: var(--bg); font-weight: 800; }

/* -------------------------------------------------------------- jogos */
.matches { margin-top: 12px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.section-head h2 { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 800; }
.section-head h2 .sport-icon { width: 18px; height: 18px; }
.section-head .btn { min-height: 30px; font-size: 10px; padding: 0 12px; border-radius: 5px; }

.match-head, .match-card {
    display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 54px); gap: 6px;
}
.match-head {
    align-items: center; margin-bottom: 8px; padding: 10px 8px;
    border: 1px solid var(--border); border-radius: 8px; background: var(--card);
    font-size: 12px; font-weight: 800; text-align: center;
}
.match-head span:first-child { text-align: left; padding-left: 4px; }
.match-card {
    align-items: start; margin-bottom: 8px; padding: 10px 8px;
    border: 1px solid var(--border); border-radius: 8px; background: var(--card);
    font-size: 13px;
}
.team { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.6; }
.crest {
    display: grid; place-items: center; width: 18px; height: 18px; flex: none;
    border-radius: 50%; background: var(--secondary); border: 1px solid #3d3d3d;
    font-size: 9px; font-weight: 800; color: var(--mint);
}
.crest--away { color: var(--gold); }
.match-league { margin-top: 6px; font-size: 10px; color: var(--muted-soft); }
.match-meta { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
.chip-time { padding: 1px 5px; border: 1px solid #3d3d3d; border-radius: 3px; font-size: 9px; }
.chip-markets { padding: 1px 5px; border: 1px solid var(--mint); border-radius: 3px; font-size: 9px; font-weight: 800; color: var(--mint); }
.match-meta .link-btn {
    margin-left: auto; padding: 2px 6px; border: 1px solid #3d3d3d; border-radius: 4px;
    font-size: 9px; color: var(--muted);
}
.odd {
    height: 56px; border-radius: 6px; background: var(--secondary);
    color: var(--gold); font-size: 13px; font-weight: 600;
}
.odd:hover { background: #3a3a3a; }

/* --------------------------------------------------------------- cassino */
.casino-lobby { margin-top: 20px; }
.casino-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.game-card { min-width: 0; }
.game-cover { position: relative; aspect-ratio: 1; border-radius: 7px; overflow: hidden; background: var(--card); }
.game-open { display: block; width: 100%; height: 100%; padding: 0; }
.game-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.game-open:hover img { transform: scale(1.04); }
.fav-btn {
    position: absolute; top: 4px; right: 4px;
    display: grid; place-items: center; width: 26px; height: 26px;
    border-radius: 50%; background: rgba(17, 17, 17, .6); color: var(--fg);
}
.fav-btn .ico { width: 13px; height: 13px; }
.fav-btn.is-fav { color: var(--mint); }
.fav-btn.is-fav .ico { fill: var(--mint); }
.game-name { margin-top: 7px; font-size: 11px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.game-provider { font-size: 9px; color: var(--muted-soft); overflow-wrap: anywhere; }
.game-card[hidden] { display: none; }

.casino-page { padding-top: 6px; }
@media (min-width: 1024px) { .casino-page { max-width: 1170px; margin: 0 auto; } }
.casino-cats {
    display: flex; justify-content: space-between; gap: 8px;
    margin: 0 -12px 10px; padding: 0 12px 4px; overflow-x: auto;
}
.casino-cat {
    flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px;
    min-width: 60px; padding: 4px 2px;
    font-size: 11px; font-weight: 700; color: var(--muted-soft);
}
.casino-cat .ico { width: 22px; height: 22px; }
.casino-cat.is-active { color: var(--mint); }
.casino-providers { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
.casino-providers::-webkit-scrollbar { display: none; }
.provider-chip {
    flex: none; height: 32px; padding: 0 13px; border-radius: 999px;
    border: 1px solid var(--border); font-size: 11px; font-weight: 800; color: var(--fg);
}
.provider-chip.is-active { background: var(--primary); border-color: var(--primary); }
.safety-card {
    margin-top: 20px; padding: 18px; border-radius: 10px; background: var(--card);
    display: grid; gap: 10px;
}
.safety-card h2 { font-family: var(--font-display); font-size: 22px; font-weight: 800; font-style: italic; }
.safety-tags { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; font-weight: 700; }
.safety-card .btn { justify-self: start; border-radius: 4px; }

/* ------------------------------------------------ categorias do cassino */
.casino-cats--six { justify-content: space-between; gap: 4px; }
.casino-cats--six .casino-cat {
    flex: 1 1 0; min-width: 0; padding: 2px 0;
    font-size: 9px; line-height: 1.1; text-align: center; white-space: nowrap;
}
.casino-cat__icon { display: grid; place-items: center; height: 28px; }
.casino-cat__icon img { display: block; width: 28px; height: 28px; object-fit: contain; }
.cat-inicio .ico { color: var(--mint); }
.cat-novidades .ico { color: var(--gold); }
.cat-slots .ico { color: #ff5b5b; }
.cat-mesa .ico { color: #f4f4f4; }
.cat-jackpots .ico { color: var(--gold); }
.cat-todos .ico { color: var(--mint); }
.casino-count { font-size: 10px; color: var(--muted-soft); }
@media (min-width: 1024px) {
    .casino-cats--six { justify-content: center; gap: 30px; }
    .casino-cats--six .casino-cat { flex: 0 0 auto; min-width: 62px; font-size: 10px; }
    .casino-cat__icon img { width: 30px; height: 30px; }
    .casino-cats--six .casino-cat { font-size: 11.5px; }
}

/* ---------------------------------------------- setas das fileiras de jogos */
.casino-carousel { position: relative; }
.casino-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(17, 17, 17, .82);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
    transition: background .2s ease, opacity .2s ease;
}
.casino-arrow:hover { background: rgba(20, 103, 77, .9); }
.casino-arrow[disabled] { opacity: 0; pointer-events: none; }
.casino-arrow--prev { left: -14px; }
.casino-arrow--next { right: -14px; }
.casino-arrow__glyph {
    display: block; width: 9px; height: 9px;
    border-left: 2px solid #fff; border-bottom: 2px solid #fff;
}
.casino-arrow--prev .casino-arrow__glyph { transform: rotate(45deg); }
.casino-arrow--next .casino-arrow__glyph { transform: rotate(-135deg); }
@media (max-width: 1023px) {
    .casino-arrow { width: 32px; height: 32px; }
    .casino-arrow--prev { left: -7px; }
    .casino-arrow--next { right: -7px; }
}

/* --------------------------------------------------- cassino em seções */
.casino-section { margin-top: 20px; }
.casino-section__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.casino-section__head h2 { font-size: 18px; font-weight: 800; color: var(--fg); }
.casino-link {
    flex: none; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px;
    font-size: 10px; font-weight: 700; color: var(--muted);
}
.casino-track { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.casino-track::-webkit-scrollbar { display: none; }
.casino-tile { flex: 0 0 31%; min-width: 0; }
.casino-tile__cover { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--card); }
.casino-tile__open { display: block; width: 100%; height: 100%; padding: 0; }
.casino-tile__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.casino-tile:hover .casino-tile__open img { transform: scale(1.04); }
.casino-tile__info {
    position: absolute; right: 6px; bottom: 6px;
    display: grid; place-items: center; width: 17px; height: 17px;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(0, 0, 0, .45); color: #fff;
}
.casino-tile__info .ico { width: 10px; height: 10px; stroke-width: 2; }
.casino-tile .fav-btn { opacity: 0; transition: opacity .18s ease; }
.casino-tile:hover .fav-btn, .casino-tile:focus-within .fav-btn { opacity: 1; }
@media (hover: none) { .casino-tile .fav-btn { opacity: 1; } }
.casino-tile__badge {
    position: absolute; top: 0; left: 0; padding: 2px 7px;
    border-radius: 0 0 6px 0; background: var(--primary);
    color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .03em;
}
.casino-newgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.casino-most-title { display: flex; align-items: flex-end; gap: 6px; text-transform: uppercase; font-weight: 900; font-style: italic; }
.casino-most-title span { font-size: 11px; font-style: normal; font-weight: 700; }
.casino-most-title strong { font-size: 28px; line-height: .8; color: var(--mint); }
.casino-top { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.casino-top::-webkit-scrollbar { display: none; }
.casino-top__item { position: relative; flex: 0 0 42%; display: flex; align-items: flex-end; min-width: 0; }
.casino-top__num {
    position: relative; z-index: 2; margin-right: -12px;
    font-size: 62px; font-style: italic; font-weight: 900; line-height: .8;
    color: transparent; -webkit-text-stroke: 2px var(--mint);
}
.casino-top__open { display: block; width: 100%; padding: 0; }
.casino-top__open img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border: 2px solid var(--primary); border-radius: 6px;
}

@media (min-width: 640px) {
    .casino-tile { flex-basis: 23%; }
    .casino-newgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .casino-section { margin-top: 16px; }
    .casino-section__head h2 { font-size: 19px; }
    .casino-tile { flex-basis: calc((100% - 40px) / 6); }
    .casino-newgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .casino-top__item { flex-basis: 15%; }
    .casino-top__num { font-size: 52px; }
}
@media (min-width: 1200px) {
    .casino-tile { flex-basis: calc((100% - 48px) / 7); }
    .casino-newgrid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------- esportes */
.page-block { margin-bottom: 26px; }
.page-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.trending-list { display: flex; flex-wrap: wrap; gap: 8px; }
.trending-chip {
    display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px;
    border: 1px solid var(--border); border-radius: 8px; background: var(--card);
    font-size: 13px; font-weight: 800;
}
.trending-chip .sport-icon { width: 24px; height: 24px; }
.sport-list { display: grid; gap: 8px; }
.sport-row {
    display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 14px;
    border: 1px solid var(--border); border-radius: 8px; background: var(--card);
    text-align: left;
}
.sport-row__icon { display: grid; place-items: center; width: 28px; }
.sport-row__icon .sport-icon { width: 26px; height: 26px; }
.sport-row__name { flex: 1; font-size: 16px; font-weight: 700; }
.sport-row > .ico { color: var(--muted-soft); width: 18px; height: 18px; }

/* --------------------------------------------------------------- apostas */
.bets-page { margin-top: 10px; }
.bets-tabs { display: flex; gap: 6px; }
.bets-tabs a { display: grid; place-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.bets-tabs a.is-active { background: var(--fg); color: var(--bg); font-weight: 800; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 54px 16px; font-size: 14px; }
.empty-state .btn { padding: 0 26px; }

/* ------------------------------------------------------- ao vivo desktop */
.live-desktop { display: none; }
.live-mobile { margin-top: 4px; }
.live-tabs { display: flex; overflow-x: auto; border-bottom: 2px solid var(--border); scrollbar-width: none; }
.live-tabs::-webkit-scrollbar { display: none; }
.live-tab {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    min-width: 76px; padding: 8px 6px; margin-bottom: -2px;
    border-bottom: 2px solid transparent;
    font-size: 10px; color: var(--muted-soft);
}
.live-tab .sport-icon { width: 24px; height: 24px; }
.live-tab.is-active { border-color: var(--primary); color: var(--fg); font-weight: 800; }
.live-markets { display: flex; align-items: center; gap: 16px; padding: 12px 4px 0; }
.live-markets > a { padding-bottom: 8px; border-bottom: 2px solid transparent; font-size: 14px; color: var(--muted); }
.live-markets > a.is-active { border-color: var(--primary); color: var(--fg); font-weight: 800; }
.live-markets > .btn { margin-left: auto; }
.live-games { display: grid; gap: 6px; padding: 10px 2px 0; }
.live-league { display: grid; gap: 2px; }
.live-league__head {
    display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 50px);
    align-items: center; padding: 8px; border-radius: 5px;
    background: rgba(20, 103, 77, .45); font-size: 13px;
}
.live-league__head span:first-child { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.live-league__head span:not(:first-child) { text-align: center; }
.live-league__head .ico { width: 15px; height: 15px; }
.live-game {
    display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 50px);
    gap: 2px; padding: 8px; border-radius: 5px; background: var(--card);
}
.live-game__teams { display: grid; gap: 6px; padding-right: 4px; }
.live-game__teams p { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
.live-game__teams p > span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-game__teams strong { background: var(--secondary); border-radius: 3px; padding: 0 5px; font-size: 12px; }
.live-shirt { display: grid; place-items: center; }
.live-shirt--home { color: var(--gold); }
.live-shirt--away { color: var(--danger); }
.live-shirt .ico { width: 14px; height: 14px; }
.live-game__clock { gap: 8px !important; font-size: 11px !important; font-weight: 500 !important; }
.live-game__clock .ico { width: 13px; height: 13px; color: var(--muted); }
.live-game__odd { border-radius: 4px; background: var(--secondary); color: var(--gold); font-size: 14px; }

/* ---------------------------------------------------------- rodapé */
.footer {
    margin: 26px -12px 0; padding: 0 16px 24px;
    border-top: 1px solid var(--border);
    font-size: 12px; line-height: 1.6; color: var(--muted-soft);
}
.footer-safety { display: flex; align-items: center; gap: 22px; padding: 22px 0; }
.footer-safety span { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--fg); }
.footer-safety .ico { width: 22px; height: 22px; }
.age-badge {
    display: grid; place-items: center; width: 40px; height: 40px; flex: none;
    border: 2px solid var(--muted-soft); border-radius: 50%;
    font-size: 14px; font-weight: 800; color: var(--fg);
}
.age-badge--sm { width: 30px; height: 30px; font-size: 11px; }
.footer-copy { display: grid; gap: 10px; }
.footer-brand { font-family: var(--font-display); font-size: 38px; font-weight: 800; line-height: 1; color: var(--fg); }
.footer-brand span { color: var(--gold); }
.footer-brand i { display: inline-block; width: 5px; height: 5px; margin-left: 4px; border-radius: 50%; background: var(--gold); }
.server-clock { font-weight: 800; color: var(--fg); }
.footer-social { display: flex; align-items: center; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.footer-partner { font-size: 15px; color: var(--fg); }
.footer-social > div { display: flex; gap: 18px; margin-left: auto; color: var(--fg); }
.footer-social a { display: grid; place-items: center; color: var(--fg); }
.footer-social .ico { width: 24px; height: 24px; }

/* ----------------------------------------------------------- nav inferior */
.mobile-nav {
    position: fixed; inset: auto 0 0 0; z-index: 40;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--card); border-top: 1px solid var(--border);
}
.mobile-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: 68px; font-size: 10px; font-weight: 700; color: var(--muted);
}
.mobile-nav a .ico, .mobile-nav a .sport-icon { width: 24px; height: 24px; }
.mobile-nav a.is-active { color: var(--mint); }

/* --------------------------------------------------------------- modal */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .68); }
.modal__card {
    position: relative; width: 100%; max-width: 380px;
    padding: 24px; border: 1px solid var(--border); border-radius: 12px;
    background: var(--card); box-shadow: var(--shadow); text-align: center;
    display: grid; gap: 12px; justify-items: center;
}
.modal__icon { color: var(--mint); display: grid; place-items: center; }
.modal__icon .ico { width: 30px; height: 30px; }
.modal__title { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.modal__body { font-size: 13px; color: var(--muted); line-height: 1.5; }
.modal__card .btn { margin-top: 6px; }
body.modal-open { overflow: hidden; }

/* --------------------------------------------------------------- auth */
.auth-body {
    min-height: 100vh; background: radial-gradient(120% 80% at 50% 0%, #124d3a 0%, #111 62%);
    color: var(--fg);
    display: flex; justify-content: center;
}
.auth-shell { width: 100%; max-width: 460px; padding: 16px 16px 36px; }
.auth-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.auth-close { display: grid; place-items: center; width: 32px; height: 32px; color: var(--muted); }
.auth-close .ico { width: 24px; height: 24px; }
.auth-title { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.auth-intro { margin: 8px 0 18px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.auth-form { display: grid; gap: 11px; }
.auth-note { max-width: 340px; margin: 14px auto 0; text-align: center; font-size: 11px; color: var(--muted-soft); }
.auth-switch { text-align: center; font-size: 12px; color: var(--muted); }
.auth-switch a { color: var(--mint); font-weight: 800; }
.auth-foot { margin-top: 26px; text-align: center; font-size: 10px; color: var(--muted-soft); }

.field {
    position: relative; display: block;
    border: 1px solid var(--border); border-radius: 4px; background: var(--secondary);
}
.field:focus-within { border-color: var(--mint); }
.field__label { position: absolute; top: 7px; left: 14px; font-size: 9px; color: var(--muted-soft); letter-spacing: .02em; }
.field input {
    width: 100%; height: 56px; padding: 20px 14px 6px;
    border: 0; outline: 0; background: transparent; color: var(--fg); font-size: 15px;
}
.field input::placeholder { color: transparent; }
.field--phone { display: flex; align-items: stretch; }
.field--phone .field__prefix {
    display: grid; place-items: center; padding: 0 12px;
    border-right: 1px solid var(--border); color: var(--muted); font-size: 13px;
}
.field--phone .field__label { left: 62px; }
.field--phone input { padding-left: 62px; }
.field-block { position: relative; }
.field-block .field input { padding-right: 84px; }
.field-toggle { position: absolute; top: 20px; right: 12px; font-size: 10px; font-weight: 800; color: var(--mint); }
.field-hint { margin-top: 6px; font-size: 10px; color: var(--muted-soft); }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.checkline input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--mint); }

.login-card {
    width: 100%; max-width: 330px; margin: 26px auto 0;
    background: #d7d7d7; color: #171717; border-radius: 2px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}
.login-form { display: grid; gap: 9px; padding: 16px 12px 14px; }
.login-field { display: grid; gap: 4px; }
.login-field span { font-size: 10px; color: #4d4d4d; }
.login-field input {
    height: 44px; padding: 0 12px; border: 1px solid #a3a3a3; border-radius: 2px;
    background: #fff; color: #111; font-size: 14px;
}
.login-form .btn { min-height: 44px; border-radius: 2px; font-size: 15px; }
.login-register { display: block; padding-top: 6px; text-align: center; color: #14674d; font-size: 14px; }
.login-help { padding-bottom: 4px; text-align: center; font-size: 12px; }
.login-help span { color: #14674d; }
.login-footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-top: 1px solid #bdbdbd; font-size: 12px; font-weight: 800; }
.login-footer .age-badge { border-color: #555; color: #222; }

/* ------------------------------------------------------- painel claro */
.panel-body .alert--ok { color: #0d6b4b; background: #d8f5e8; }
.panel-body .alert--error { color: #a51e1e; background: #fbdede; }
.panel-body .alert--warn { color: #7a5b00; background: #fdf3cd; }
.panel-body .flash-wrap { max-width: 760px; }
.panel-body { background: var(--panel); color: #2b2b2b; font-family: var(--font-body); min-height: 100vh; }
.panel-top {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; gap: 12px;
    height: 56px; padding: 0 14px;
    background: #f5f5f5; border-bottom: 1px solid var(--panel-border);
}
.panel-back { display: grid; place-items: center; color: #5a5a5a; }
.panel-back .ico { width: 20px; height: 20px; }
.panel-top__spacer { flex: 1; }
.panel-balance { font-size: 13px; font-weight: 800; color: #1f1f1f; }
.panel-user { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--panel-border); border-radius: 50%; color: #444; }
.panel-user .ico { width: 15px; height: 15px; }
.panel-main { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }

.panel-tabs {
    display: flex; gap: 22px; overflow-x: auto; padding: 0 16px;
    background: #f5f5f5; border-bottom: 1px solid var(--panel-border);
    scrollbar-width: none;
}
.panel-tabs::-webkit-scrollbar { display: none; }
.panel-tabs a { flex: none; padding: 12px 0; border-bottom: 2px solid transparent; font-size: 14px; color: #5c5c5c; white-space: nowrap; }
.panel-tabs a.is-active { border-color: var(--primary); color: #111; font-weight: 800; }
.panel-tabs__current { flex: none; padding: 12px 0; color: #5c5c5c; font-size: 14px; }
.panel-content { padding: 16px; }
.panel-title { font-size: 24px; font-weight: 800; color: #191919; margin-bottom: 12px; }
.panel-subtitle { margin: 20px 0 8px; font-size: 15px; font-weight: 800; color: #191919; }
.panel-lead { margin: 6px 0 8px; font-size: 14px; font-weight: 800; color: #191919; }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--panel-border); font-size: 13px; }
.panel-row strong, .panel-row b { font-size: 15px; color: #111; }
.panel-row--big { margin-top: 6px; font-size: 17px; }
.panel-row--big strong { font-size: 24px; }
.panel-row--field { flex-direction: column; align-items: stretch; gap: 6px; }
.panel-row--field input { height: 44px; padding: 0 12px; border: 1px solid var(--panel-border); background: #fff; font-size: 14px; }
.panel-row--stack { flex-wrap: wrap; }
.panel-rows { display: grid; gap: 0; }
.panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.panel-actions .btn { min-height: 44px; border-radius: 3px; }
.panel-form { display: grid; gap: 10px; margin-top: 10px; }
.panel-field {
    display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px;
    background: #fff; border: 1px solid var(--panel-border);
}
.panel-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 14px; }
.panel-field small { font-size: 10px; color: #777; white-space: nowrap; }
.panel-input {
    width: 100%; height: 48px; padding: 0 12px;
    border: 1px solid var(--panel-border); background: #fff; color: #222; font-size: 14px;
}
.panel-label { display: grid; gap: 6px; font-size: 12px; color: #4d4d4d; }
.quick-values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.quick-values button { height: 38px; border: 1px solid var(--panel-border); background: #f7f7f7; color: #14674d; font-size: 12px; font-weight: 800; }
.pix-card { display: grid; gap: 10px; padding: 16px; background: #fff; border: 1px solid var(--panel-border); margin: 12px 0; }
.pix-card__title { font-size: 14px; font-weight: 800; }
.pix-code { max-height: 120px; overflow: auto; padding: 10px; background: #f0f0f0; font-family: Consolas, monospace; font-size: 11px; word-break: break-all; }
.pix-key-row { display: grid; grid-template-columns: 118px minmax(0, 1fr); background: #fff; border: 1px solid var(--panel-border); }
.pix-key-row select, .pix-key-row input { height: 48px; border: 0; background: transparent; padding: 0 12px; font-size: 14px; outline: 0; }
.pix-key-row select { border-right: 1px solid var(--panel-border); }
.panel-available { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: 13px; }
.panel-available .ico { color: #14674d; }
.mov-list { display: grid; background: #fff; border: 1px solid #dedede; margin-top: 6px; }
.mov-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #ececec; font-size: 12px; }
.mov-list li:last-child { border-bottom: 0; }
.status { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.status--ok { background: #d8f5e8; color: #0d6b4b; }
.status--warn { background: #fdf3cd; color: #7a5b00; }
.status--danger { background: #fbdede; color: #a51e1e; }
.status--muted { background: #e8e8e8; color: #555; }
.status--gold { background: #fff0b8; color: #6b5300; }
.panel-note { padding: 14px 16px 0; text-align: center; font-size: 11px; color: #6b6b6b; }
.panel-card { padding: 12px; background: #fff; border: 1px solid #e2e2e2; margin-bottom: 10px; }
.panel-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; }
.panel-card__head b { font-size: 15px; }
.panel-card__split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; text-align: center; }
.panel-card__split span { display: block; font-size: 10px; color: #666; }
.panel-card__split b { font-size: 16px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); margin: 8px 0 10px; border: 1px solid var(--panel-border); }
.segmented button { height: 36px; background: #fff; border-right: 1px solid var(--panel-border); font-size: 12px; font-weight: 700; }
.segmented button:last-child { border-right: 0; }
.segmented button.is-active { background: var(--mint); }
.segmented button:disabled { color: #8a8a8a; }
.history-list { display: grid; background: #fff; border: 1px solid #e2e2e2; }
.history-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #ededed; font-size: 15px; }
.history-list a:last-child { border-bottom: 0; }
.history-list .ico { width: 16px; height: 16px; color: #777; }
.panel-table-wrap { overflow-x: auto; border: 1px solid #e2e2e2; background: #fff; }
.panel-table { width: 100%; min-width: 420px; font-size: 12px; }
.panel-table th { padding: 9px 10px; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: #666; border-bottom: 1px solid #e2e2e2; }
.panel-table td { padding: 9px 10px; border-bottom: 1px solid #f0f0f0; }
.code-line { display: block; font-size: 12px; word-break: break-all; }

.profile-hello { font-size: 13px; color: #5e5e5e; }
.profile-balance { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #141414; margin-top: 2px; }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.profile-actions .btn { min-height: 44px; border-radius: 3px; font-size: 13px; }
.profile-credits { display: flex; gap: 26px; padding-top: 10px; border-top: 1px solid var(--panel-border); }
.profile-credits span { display: block; font-size: 10px; color: #666; }
.profile-credits strong { font-size: 14px; color: #111; }
.panel-block { padding: 14px 16px; }
.panel-block + .panel-block { border-top: 8px solid #d6d6d6; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
.profile-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: #4a4a4a; text-align: center; }
.profile-item .ico { width: 28px; height: 28px; color: #14674d; }
.panel-links { background: #fff; border-top: 1px solid var(--panel-border); }
.panel-link { display: block; width: 100%; padding: 13px 16px; border-bottom: 1px solid #ececec; text-align: left; font-size: 14px; }
.panel-link--danger { color: #b42318; }

/* --------------------------------------------------------------- admin */
.admin-body {
    background:
        radial-gradient(900px 480px at 12% -12%, rgba(20, 103, 77, .3), transparent 62%),
        radial-gradient(700px 380px at 96% -4%, rgba(255, 212, 0, .06), transparent 58%),
        #0d0d0d;
    color: var(--fg); font-family: var(--font-body); min-height: 100vh;
}
.admin-top {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; gap: 12px;
    height: 56px; padding: 0 14px;
    background: rgba(12, 12, 12, .82); border-bottom: 1px solid rgba(255, 255, 255, .07);
    backdrop-filter: blur(12px);
}
.admin-back { display: grid; place-items: center; color: var(--muted-soft); }
.admin-badge { padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #141400; font-size: 9px; font-weight: 900; letter-spacing: .06em; }
.admin-user { margin-left: auto; display: none; font-size: 10px; color: var(--muted-soft); }
.admin-logout .btn { font-size: 10px; min-height: 30px; }
.admin-wrap { display: grid; gap: 14px; max-width: 1220px; margin: 0 auto; padding: 12px; }
.admin-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav a {
    display: flex; align-items: center; gap: 7px; padding: 10px 12px;
    border: 1px solid transparent; border-radius: 9px;
    font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.admin-nav a .ico { width: 15px; height: 15px; }
.admin-nav a.is-active {
    background: linear-gradient(135deg, #17805f, #0f5741);
    border-color: rgba(59, 247, 184, .2); color: #fff;
    box-shadow: 0 8px 20px rgba(20, 103, 77, .35);
}
.admin-main { min-width: 0; }
.admin-page { display: grid; gap: 14px; }
.admin-page--narrow { max-width: 860px; }
.admin-title { font-family: var(--font-display); font-size: 23px; font-weight: 800; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.admin-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid #2f2f2f; border-radius: 8px; background: var(--card); }
.admin-search .ico { width: 15px; height: 15px; color: var(--muted-soft); }
.admin-search input { width: 200px; max-width: 52vw; border: 0; outline: 0; background: transparent; color: var(--fg); font-size: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat-grid--3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat-card {
    position: relative; display: flex; flex-direction: column; gap: 7px;
    padding: 14px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px;
    background: linear-gradient(170deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)), #171717;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
    transition: transform .2s ease, border-color .2s ease;
    overflow: hidden;
}
.stat-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
}
.stat-card:hover { transform: translateY(-2px); border-color: rgba(59, 247, 184, .22); }
.stat-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat-card__label, .stat-card > span {
    font-size: 9px; font-weight: 800; letter-spacing: .09em;
    text-transform: uppercase; color: var(--muted-soft);
}
.stat-card__icon {
    display: grid; place-items: center; width: 32px; height: 32px; flex: none;
    border-radius: 10px; background: rgba(59, 247, 184, .1); color: var(--mint);
}
.stat-card__icon .ico { width: 16px; height: 16px; }
.stat-card__value, .stat-card > strong {
    font-family: var(--font-display); font-size: 23px; font-weight: 800;
    letter-spacing: -.02em; line-height: 1.05; color: #fff;
}
.stat-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.stat-card__foot small { flex: 1; }
.kpi-badge { margin-right: 2px; vertical-align: 1px; }
.stat-card small { font-size: 9px; line-height: 1.45; color: var(--muted-soft); }
.stat-card--gold .stat-card__icon { background: rgba(255, 212, 0, .1); color: var(--gold); }
.stat-card--blue .stat-card__icon { background: rgba(96, 165, 250, .12); color: #7cb3ff; }
.stat-card--slate .stat-card__icon { background: rgba(255, 255, 255, .06); color: #b9b9b9; }
.stat-card--positivo { border-color: rgba(59, 247, 184, .3); background: linear-gradient(170deg, rgba(59, 247, 184, .09), rgba(255, 255, 255, .01)), #171717; }
.stat-card--positivo .stat-card__value { color: var(--mint); }
.stat-card--negativo { border-color: rgba(255, 92, 92, .3); background: linear-gradient(170deg, rgba(255, 92, 92, .09), rgba(255, 255, 255, .01)), #171717; }
.stat-card--negativo .stat-card__value { color: #ff8f8f; }
.stat-card--negativo .stat-card__icon { background: rgba(255, 92, 92, .12); color: #ff8f8f; }
.stat-card--neutro .stat-card__value { color: #ededed; }
.delta { display: inline-flex; padding: 2px 6px; border-radius: 999px; font-size: 9px; font-weight: 800; background: rgba(59, 247, 184, .12); color: var(--mint); }
.kpi-badge { padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.kpi-badge--positivo { background: rgba(59, 247, 184, .14); color: var(--mint); }
.kpi-badge--negativo { background: rgba(255, 92, 92, .14); color: #ff9a9a; }
.kpi-badge--neutro { background: rgba(255, 255, 255, .07); color: #bcbcbc; }

.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dash-eyebrow {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px;
    font-size: 9px; font-weight: 800; letter-spacing: .16em;
    text-transform: uppercase; color: var(--mint);
}
.dash-lead { margin-top: 4px; font-size: 12px; color: var(--muted-soft); }
.dash-stamp {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .07); border-radius: 999px;
    background: rgba(255, 255, 255, .035); font-size: 10px; color: var(--muted-soft);
}
.dash-stamp__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(59, 247, 184, .12); }
.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-sub { margin-top: 2px; font-size: 10px; color: var(--muted-soft); }
.card-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
    display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .06); border-radius: 999px;
    background: rgba(255, 255, 255, .05); font-size: 9px; font-weight: 800; color: #cfcfcf;
}
.pill--mint { background: rgba(59, 247, 184, .09); border-color: rgba(59, 247, 184, .18); color: var(--mint); }
.pill--gold { background: rgba(255, 212, 0, .08); border-color: rgba(255, 212, 0, .18); color: var(--gold); }
.card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800; color: var(--mint); }
.card-link .ico { width: 12px; height: 12px; }
.quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.quick-actions a {
    display: flex; align-items: center; gap: 9px; padding: 10px;
    border: 1px solid rgba(255, 255, 255, .07); border-radius: 10px;
    background: rgba(255, 255, 255, .025); font-size: 11px; font-weight: 800;
    transition: border-color .2s ease, background .2s ease;
}
.quick-actions a:hover { border-color: rgba(59, 247, 184, .28); background: rgba(59, 247, 184, .06); }
.quick-actions span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--mint); }
.quick-actions .ico { width: 14px; height: 14px; }
.dash-note {
    display: flex; gap: 8px; padding: 10px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .05); background: rgba(255, 255, 255, .03);
    font-size: 10px; line-height: 1.55; color: var(--muted-soft);
}
.dash-note .ico { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--mint); }
.admin-card {
    display: grid; gap: 10px; padding: 16px;
    border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px;
    background: linear-gradient(170deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)), #171717;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.admin-card h2 { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
.admin-card--muted { background: #191919; }
.admin-card .muted { font-size: 12px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-form { display: grid; gap: 10px; max-width: 520px; }
.admin-field { display: grid; gap: 5px; font-size: 10px; color: var(--muted-soft); }
.admin-field input { height: 42px; padding: 0 12px; border: 1px solid #333; border-radius: 7px; background: #141414; color: var(--fg); font-size: 13px; outline: 0; }
.admin-field input:focus, .admin-field textarea:focus { border-color: var(--primary); }
.admin-field textarea {
    width: 100%; min-height: 88px; padding: 10px 12px; resize: vertical;
    border: 1px solid #333; border-radius: 7px; background: #141414;
    color: var(--fg); font-size: 13px; line-height: 1.5; outline: 0;
}
.admin-field--static > span { margin-bottom: 2px; }
.admin-list { display: grid; gap: 6px; padding-left: 16px; list-style: disc; font-size: 12px; color: var(--muted); }
.code-box { padding: 10px; border: 1px solid #333; border-radius: 6px; background: #141414; font-family: Consolas, monospace; font-size: 11px; word-break: break-all; color: var(--mint); }
.chart-legend { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted-soft); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot--mint { background: var(--mint); }
.dot--gold { background: var(--gold); }
.chart {
    display: flex; align-items: flex-end; gap: 8px; height: 170px; padding: 8px 2px 0;
    border-bottom: 1px solid #2f2f2f;
    background-image: repeating-linear-gradient(to top, transparent 0 41px, rgba(255, 255, 255, .05) 41px 42px);
}
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.chart-bars { display: flex; align-items: flex-end; justify-content: center; gap: 3px; width: 100%; height: 100%; }
.bar { display: block; width: 16px; min-height: 2px; border-radius: 3px 3px 0 0; }
.bar--mint { background: var(--mint); background-image: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent); }
.bar--gold { background: var(--gold); background-image: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent); }
.bar--primary { background: #1f8a68; background-image: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent); }
.chart-label { font-size: 8px; color: var(--muted-soft); white-space: nowrap; }
.activity-list { display: grid; gap: 0; }
.activity-list li {
    display: flex; align-items: flex-start; gap: 9px; padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 12px;
}
.activity-list li:last-child { border-bottom: 0; }
.activity-dot {
    width: 7px; height: 7px; flex: none; margin-top: 5px; border-radius: 50%;
    background: var(--mint); box-shadow: 0 0 0 3px rgba(59, 247, 184, .1);
}
.activity-text { flex: 1; min-width: 0; }
.activity-list small { color: var(--muted-soft); white-space: nowrap; font-size: 9px; padding-top: 2px; }
.table-wrap { overflow-x: auto; border: 1px solid #2a2a2a; border-radius: 10px; background: var(--card); }
.tbl { width: 100%; min-width: 640px; font-size: 12px; }
.tbl th { padding: 10px 12px; text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-soft); border-bottom: 1px solid #2f2f2f; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid #262626; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td small { display: block; font-size: 9px; color: var(--muted-soft); }
.provider-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; max-height: 420px; overflow: auto; }
.provider-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #333; border-radius: 8px; background: #141414; font-size: 12px; }
.provider-option input { width: 16px; height: 16px; accent-color: var(--mint); }
.provider-option small { display: block; font-size: 9px; color: var(--muted-soft); }
.provider-option[hidden] { display: none; }
.admin-foot { padding: 12px 0 20px; text-align: center; font-size: 9px; color: var(--muted-soft); }

/* ------------------------------------------------------------ erro */
.error-page { max-width: 520px; margin: 0 auto; padding: 60px 20px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.error-code { font-family: var(--font-display); font-size: 64px; font-weight: 800; color: var(--primary); line-height: 1; }
.error-page h1 { font-size: 20px; }
.error-page p { color: var(--muted-soft); font-size: 13px; }

/* ============================================================ >= 640px */
@media (min-width: 640px) {
    .casino-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .promo-card { flex-basis: 48%; }
    .match-head, .match-card { grid-template-columns: minmax(0, 1fr) repeat(3, 80px); }
    .footer { margin-left: -12px; margin-right: -12px; }
}

/* =========================================================== >= 1024px */
@media (min-width: 1024px) {
    :root { --header-h: 55px; }

    .site { font-family: var(--font-desk); }
    .install-bar { display: none; }
    .responsible {
        display: flex; align-items: center; justify-content: flex-end; gap: 7px;
        height: 38px; padding-inline: max(24px, calc((100vw - 1412px) / 2));
        background: var(--card); font-size: 9px; color: var(--muted);
    }
    .responsible__badge { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid var(--muted-soft); border-radius: 50%; font-size: 8px; }

    .site-header { background: linear-gradient(180deg, var(--primary), var(--topbar)); }
    .header-inner { height: var(--header-h); gap: 10px; padding-inline: 14px; display: grid; grid-template-columns: minmax(150px, 1fr) auto auto; }
    .header-inner > .brand { margin-right: 0; font-size: 38px; }
    .brand-logo { height: 40px; max-width: 240px; }
    .tabs-desktop { display: flex; gap: 30px; align-items: stretch; height: var(--header-h); margin-right: 40px; }
    .tabs-desktop a { display: flex; align-items: center; height: 100%; padding: 0 4px; border-bottom: 2px solid transparent; font-size: 11px; font-weight: 800; }
    .tabs-desktop a[aria-current="page"] { color: var(--mint); border-bottom-color: var(--mint); }
    .header-actions { margin-left: 0; }
    .header-actions .btn { font-size: 10px; height: 28px; min-height: 28px; padding-inline: 12px; }
    .header-rewards { display: inline-flex; }
    .header-actions .btn--icon { width: 34px; min-height: 34px; padding: 7px; }
    .balance-pill { height: 34px; font-size: 12px; }

    .lobby-body--sports { grid-template-columns: 208px minmax(0, 1fr); width: min(1440px, 100%); }
    .lobby-main { padding: 7px 24px 30px; }

    .desktop-sports-sidebar {
        display: block; min-width: 0; padding: 22px 12px 24px 14px;
        border-right: 1px solid var(--border);
        position: sticky; top: var(--header-h); max-height: calc(100vh - var(--header-h));
        overflow-y: auto; scrollbar-width: thin;
    }
    .desktop-sports-sidebar h2 { margin-bottom: 10px; color: var(--mint); font-size: 13px; font-weight: 800; }
    .desktop-sports-sidebar section + section { margin-top: 10px; }
    .side-link { display: flex; align-items: center; gap: 7px; width: 100%; min-height: 33px; padding: 0; color: var(--muted); font-size: 11px; font-weight: 700; text-align: left; }
    .side-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .side-link:hover { color: var(--fg); }

    .searchbar { height: 32px; background: var(--secondary); font-size: 11px; margin-top: 6px; }
    .searchbar input { font-size: 11px; }
    .sport-strip { display: none; }
    .sport-strip-desktop { display: flex; gap: 3px; overflow-x: auto; margin-top: 11px; scrollbar-width: none; }
    .sport-strip-desktop::-webkit-scrollbar { display: none; }
    .sport-chip {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
        flex: 0 0 62px; height: 50px; padding: 4px 2px;
        border: 1px solid var(--border); border-radius: 5px; background: var(--card);
        font-size: 8px; font-weight: 800; text-align: center;
    }
    .sport-chip span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sport-chip .sport-icon { width: 19px; height: 19px; }

    .promo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0 0; padding: 0; overflow: visible; }
    .promo-card { flex: none; width: 100%; height: 118px; border-radius: 2px; }
    .promo-card--extra { display: block; }
    .promo-card__copy { padding: 14px 10px; max-width: 100%; }
    .promo-card__copy strong { font-size: 27px; }
    .promo-card__copy small { font-size: 8px; margin-top: 6px; }

    .league-row { top: var(--header-h); margin: 7px -12px 0; padding: 7px 12px; gap: 3px; }
    .league-chip { height: 21px; padding: 0 9px; font-size: 11px; }

    .matches { margin-top: 10px; }
    .section-head h2 { font-size: 13px; }
    .section-head .btn { min-height: 23px; font-size: 9px; padding: 0 8px; }
    .match-head, .match-card { grid-template-columns: minmax(0, 1fr) repeat(3, 16.5%); gap: 4px; font-size: 11px; }
    .match-head { padding: 8px; border-radius: 6px; }
    .match-card { position: relative; min-height: 110px; padding: 6px 6px 25px; border-radius: 6px; }
    .match-teams { padding: 6px 2px 0; }
    .team { font-size: 11px; }
    .match-league { font-size: 9px; font-weight: 400; }
    .match-meta { position: absolute; left: 8px; right: 8px; bottom: 7px; font-size: 8px; }
    .match-meta .link-btn { height: 15px; font-size: 8px; padding: 0 4px; }
    .chip-time, .chip-markets { font-size: 8px; }
    .odd { height: 60px; font-size: 11px; }

    .casino-lobby { margin-top: 12px; }
    .casino-lobby .section-head h2 { font-size: 14px; }
    .casino-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
    .game-name { font-size: 10px; }
    .game-provider { font-size: 8px; }

    .casino-page { padding-top: 10px; }
    .casino-page .searchbar { border-radius: 30px; height: 34px; background: var(--secondary); border: 0; font-size: 11px; max-width: 100%; }
    .casino-cats { justify-content: center; gap: 24px; margin: 0 0 12px; padding: 2px 0 12px; }
    .casino-cat { flex: 0 0 auto; font-size: 9px; gap: 5px; padding: 0; }
    .casino-cat .ico { width: 22px; height: 22px; }
    .casino-providers { justify-content: center; }
    .safety-card { max-width: 720px; margin-inline: auto; }

    .page-title { font-size: 30px; }
    .bets-page { min-height: calc(100vh - 220px); }
    .bets-tabs a { height: 32px; font-size: 13px; }

    .live-mobile { display: none; }
    .live-desktop { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 0; margin: 0 -24px; min-height: calc(100vh - 200px); }
    .live-desktop__list { min-width: 0; padding: 0 16px 20px; border-right: 1px solid var(--border); }
    .live-categories { display: flex; gap: 5px; overflow-x: auto; border-bottom: 1px solid var(--border); scrollbar-width: none; }
    .live-categories::-webkit-scrollbar { display: none; }
    .live-cat { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 60px; max-width: 70px; height: 60px; padding: 8px 4px; border-bottom: 2px solid transparent; font-size: 8px; text-align: center; color: var(--muted); }
    .live-cat .sport-icon { width: 21px; height: 21px; }
    .live-cat.is-active { border-bottom-color: var(--gold); font-weight: 700; color: var(--fg); }
    .live-event { margin-top: 16px; --sport-band: #684329; }
    .live-event.live-futebol-americano { --sport-band: #2f4b29; }
    .live-event.live-hoquei { --sport-band: #264a5b; }
    .live-event h2 { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 13px; font-weight: 800; }
    .live-event h2 .sport-icon { width: 18px; height: 18px; }
    .live-event__principal { display: inline-block; margin-bottom: 7px; padding-bottom: 4px; border-bottom: 2px solid var(--sport-band); font-size: 11px; font-weight: 700; }
    .live-market-head { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 14%); padding: 5px 44px 5px 8px; border-radius: 3px; background: var(--sport-band); font-size: 9px; }
    .live-market-head span:first-child { display: flex; align-items: center; gap: 6px; font-weight: 700; }
    .live-market-head span:not(:first-child) { text-align: center; }
    .live-market-head .ico { width: 13px; height: 13px; }
    .live-event__body { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 14%) 34px; gap: 3px; align-items: start; margin-top: 4px; padding: 6px; border-radius: 4px; background: var(--secondary); }
    .live-teams { display: grid; gap: 2px; min-width: 0; }
    .live-team { display: flex; align-items: center; gap: 5px; height: 35px; padding: 4px; font-size: 11px; }
    .live-team span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .live-team strong { padding: 0 3px; background: rgba(255, 255, 255, .12); font-size: 11px; }
    .live-team .ico { width: 13px; height: 13px; color: var(--muted); }
    .live-clock { display: flex; align-items: center; gap: 4px; font-size: 8px; color: var(--muted); }
    .live-clock .ico { width: 12px; height: 12px; }
    .live-cell { display: grid; gap: 2px; }
    .live-odd { height: 34px; border-radius: 2px; background: var(--card); color: var(--muted-soft); font-size: 12px; }
    .live-event__body > .link-btn { align-self: center; justify-self: center; color: var(--muted); }
    .live-score { position: relative; padding: 10px 12px; min-width: 0; }
    .live-score__head { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 10px; font-weight: 700; }
    .live-score__head strong { color: var(--gold); font-size: 20px; }
    .live-score__visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 160px; margin: 10px 0; background: var(--card); border: 1px solid var(--border); }
    .live-score__visual .ico { width: 26px; height: 26px; color: var(--muted); }
    .live-score__visual strong { font-size: 13px; }
    .live-score__visual small { font-size: 10px; color: var(--muted-soft); }
    .live-detail-tabs { display: flex; justify-content: center; border-bottom: 1px solid var(--border); }
    .live-detail-tabs a { display: grid; place-items: center; height: 35px; padding: 0 10px; font-size: 10px; color: var(--muted); }
    .live-detail-tabs a.is-active { border-bottom: 2px solid var(--fg); color: var(--fg); }
    .live-score table { width: 100%; margin-top: 18px; font-size: 10px; }
    .live-score th { padding: 6px 3px; text-align: left; }
    .live-score td { text-align: center; }
    .live-score td:last-child { color: var(--gold); font-weight: 700; }
    .live-score thead { font-size: 8px; color: var(--muted-soft); }
    .live-more { margin-top: 18px; text-align: center; }

    .footer { margin: 24px -24px 0; padding: 0 24px 26px; }
    .footer .brand, .footer-brand { font-size: 42px; }
    .footer-copy { max-width: 820px; gap: 8px; font-size: 11px; }
    .footer-safety { gap: 26px; }
    .footer-social { max-width: 100%; }
    .mobile-nav { display: none; }
    .site { padding-bottom: 0; }
    .lobby-main { padding-bottom: 30px; }

    .panel-main { max-width: 820px; }
    .profile-grid { grid-template-columns: repeat(6, 1fr); }
    .panel-content { padding: 20px; }

    .admin-user { display: inline; }
    .admin-wrap { grid-template-columns: 196px minmax(0, 1fr); padding: 20px; gap: 20px; }
    .admin-nav { flex-direction: column; position: sticky; top: 76px; align-self: start; overflow: visible; padding: 0; }
    .admin-nav a { font-size: 12px; padding: 10px 12px; }
    .chart { height: 190px; }
    .bar { width: 20px; }
    .admin-title { font-size: 26px; }
    .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .dash-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
    .stat-card__value, .stat-card > strong { font-size: 26px; }
    .stat-card { padding: 16px; }
}

/* =========================================================== >= 1440px */
@media (min-width: 1440px) {
    :root { --header-h: 70px; }
    .responsible { height: 48px; font-size: 11px; }
    .responsible__badge { width: 24px; height: 24px; }
    .header-inner { height: var(--header-h); padding-inline: 18px; gap: 13px; }
    .header-inner > .brand { font-size: 48px; }
    .brand-logo { height: 50px; max-width: 280px; }
    .tabs-desktop { height: var(--header-h); gap: 44px; margin-right: 110px; }
    .tabs-desktop a { font-size: 14px; }
    .header-actions .btn { font-size: 13px; height: 34px; min-height: 34px; padding-inline: 14px; }
    .header-actions .btn--icon { width: 38px; min-height: 38px; }
    .balance-pill { height: 38px; padding: 0 7px 0 14px; font-size: 13px; }
    .balance-pill__plus { width: 24px; height: 24px; font-size: 15px; }
    .lobby-body--sports { grid-template-columns: 260px minmax(0, 1fr); }
    .desktop-sports-sidebar { padding: 28px 15px 30px 18px; }
    .desktop-sports-sidebar h2 { font-size: 16px; margin-bottom: 14px; }
    .side-link { min-height: 41px; font-size: 14px; gap: 9px; }
    .side-link .sport-icon { width: 21px; height: 21px; }
    .lobby-main { padding: 9px 28px 30px; }
    .searchbar { height: 40px; font-size: 14px; }
    .searchbar input { font-size: 14px; }
    .searchbar .ico { width: 20px; height: 20px; }
    .sport-strip-desktop { gap: 4px; margin-top: 14px; }
    .sport-chip { flex: 1 0 72px; min-width: 0; height: 60px; font-size: 10px; }
    .sport-chip .sport-icon { width: 24px; height: 24px; }
    .promo-row { gap: 8px; }
    .promo-card { height: 152px; }
    .promo-card__copy { padding: 18px 14px; }
    .promo-card__copy strong { font-size: 34px; }
    .promo-card__copy small { font-size: 10px; }
    .league-row { padding: 9px 12px; gap: 5px; }
    .league-chip { height: 26px; padding: 0 12px; font-size: 14px; }
    .section-head h2 { font-size: 16px; }
    .match-head { padding: 10px; font-size: 14px; }
    .match-card { min-height: 142px; padding: 8px 8px 30px; margin-bottom: 8px; }
    .team { font-size: 14px; }
    .match-league { font-size: 12px; }
    .match-meta { font-size: 10px; bottom: 9px; }
    .match-meta .link-btn { height: 19px; font-size: 10px; }
    .chip-time, .chip-markets { font-size: 10px; }
    .odd { height: 77px; font-size: 14px; }
    .casino-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .game-name { font-size: 11px; }
    .live-desktop { margin: 0 -28px; }
    .footer { margin-inline: -28px; padding-inline: 28px; }
}

/* ------------------------------------------------- páginas de conta */
.panel-body {
    background: #ececec;
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { .panel-body { padding-bottom: 0; } }
.account-shell { max-width: 916px; margin: 0 auto; padding: 28px 24px 70px; }
.account-shell:not(:has(.account-nav)) { max-width: 780px; }
.account-nav { min-width: 0; }
.account-nav h2 { display: none; font-size: 15px; font-weight: 800; color: #1b1b1b; margin-bottom: 16px; }
.account-nav .panel-tabs { background: transparent; }
.panel-content { padding: 16px; max-width: 430px; }
.panel-content:has(.balance-layout) { max-width: 660px; }
.panel-title { font-size: 23px; font-weight: 800; color: #1a1a1a; margin-bottom: 18px; }
.panel-content .panel-title { margin-top: 0; }
.panel-content .panel-lead { margin-top: 4px; }
.panel-content .fine-print { color: #6f6f6f; }
.panel-body .alert { max-width: 100%; }

.balance-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 6px; }
.balance-available {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding-bottom: 10px; border-bottom: 1px solid #bfbfbf; font-size: 14px; color: #333;
}
.balance-available strong { font-size: 22px; color: #141414; }
.balance-main .panel-actions { display: flex; gap: 10px; margin: 16px 0 0; }
.balance-main .panel-actions .btn { min-height: 44px; padding: 0 18px; border-radius: 3px; font-size: 12px; }
.balance-credits { font-size: 12px; }
.balance-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.balance-line span { color: #555; }
.balance-line b { color: #222; white-space: nowrap; }

.dados-form { display: grid; gap: 15px; max-width: 420px; }
.dados-field { display: grid; gap: 4px; }
.dados-label { font-size: 10px; color: #6b6b6b; }
.dados-phone { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #c7c7c7; }
.dados-phone input {
    flex: 1; min-width: 0; height: 36px; border: 0; outline: 0;
    background: transparent; font-size: 14px; font-weight: 700; color: #222;
}
.dados-edit { font-size: 10px; font-weight: 800; color: #14674d; }
.dados-value { font-size: 14px; font-weight: 700; color: #1c1c1c; }
.dados-pass { position: relative; }
.dados-pass .panel-input { padding-right: 84px; }
.dados-toggle {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    font-size: 10px; font-weight: 800; color: #14674d;
}
.dados-actions { display: grid; gap: 10px; margin-top: 8px; text-align: center; }
.dados-actions .btn { min-height: 46px; border-radius: 3px; font-size: 14px; }
.dados-cancel { font-size: 13px; font-weight: 700; color: #222; }

.hist-tabs { display: flex; gap: 22px; border-bottom: 1px solid #c7c7c7; margin-bottom: 16px; }
.hist-tabs button { padding: 8px 0; border-bottom: 2px solid transparent; font-size: 14px; color: #555; }
.hist-tabs button.is-active { border-color: #111; color: #111; font-weight: 800; }
.hist-filters { display: flex; flex-wrap: wrap; margin-bottom: 18px; }
.hist-filters button {
    flex: 1 1 0; height: 40px; margin-right: -1px; padding: 0 8px;
    border: 1px solid #c7c7c7; background: #f8f8f8;
    font-size: 11px; font-weight: 700; color: #333;
}
.hist-show { width: 344px; max-width: 100%; margin: 4px 0 18px; opacity: .6; border-radius: 3px; }

@media (min-width: 900px) {
    .account-shell:has(.account-nav) {
        display: grid; grid-template-columns: 180px minmax(0, 1fr);
        gap: 48px; align-items: start;
    }
    .account-nav h2 { display: block; }
    .account-nav .panel-tabs {
        display: block; padding: 0; border: 0; overflow: visible;
    }
    .account-nav .panel-tabs a {
        display: block; padding: 8px 0 8px 12px; border: 0;
        border-left: 2px solid transparent;
        font-size: 13px; white-space: normal; color: #5c5c5c;
    }
    .account-nav .panel-tabs a.is-active {
        border-left-color: #14674d; color: #111; font-weight: 800;
    }
    .panel-content { padding: 0; max-width: 430px; }
    .panel-content:has(.balance-layout) { max-width: 660px; }
    .balance-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; }
}

/* --------------------------------------------- minha atividade (cartões) */
.ativ-card {
    padding: 14px 16px; margin-bottom: 10px;
    background: #fff; border: 1px solid #e3e3e3;
}
.ativ-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ativ-title { min-width: 0; }
.ativ-title strong { display: block; font-size: 14px; font-weight: 800; color: #1c1c1c; }
.ativ-title small { display: block; margin-top: 3px; font-size: 10px; color: #777; line-height: 1.45; }
.ativ-value { flex: none; text-align: right; }
.ativ-value b { display: block; font-size: 16px; font-weight: 800; color: #111; }
.ativ-value small { display: block; margin-top: 2px; font-size: 9px; color: #777; }
.info-i {
    display: inline-grid; place-items: center; width: 13px; height: 13px;
    margin-left: 3px; border: 1px solid #9a9a9a; border-radius: 50%;
    font-size: 8px; font-style: normal; font-weight: 700; color: #777;
    vertical-align: 1px;
}
.ativ-empty { margin-top: 12px; text-align: center; font-size: 10px; color: #777; }
.ativ-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; text-align: center; }
.ativ-split span { display: block; font-size: 9px; color: #777; }
.ativ-split b { font-size: 15px; color: #111; }
.ativ-link { font-size: 11px; font-weight: 800; color: #14674d; flex: none; }
.ativ-alert { margin-top: 10px; text-align: center; font-size: 11px; color: #555; }
.ativ-alert b { display: block; margin-top: 2px; font-size: 15px; color: #111; }

/* ------------------------------------------------------- perfil (menu) */
.profile-menu .profile-credits { border-top: 0; padding-top: 0; }
:root { --profile-top: 64px; }
@media (min-width: 1024px) { :root { --profile-top: 93px; } }
@media (min-width: 1440px) { :root { --profile-top: 118px; } }
.profile-overlay {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--profile-top);
    z-index: 90;
}
.profile-overlay[hidden] { display: none; }
.profile-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }
.profile-menu {
    position: relative; display: flex; flex-direction: column;
    margin-left: auto; width: min(420px, 92vw); height: auto; max-height: 100%;
    overflow-y: auto; background: #f8f9fa; color: #2b2b2b;
    font-family: var(--font-desk);
    box-shadow: -12px 0 40px rgba(0, 0, 0, .35);
    animation: profileIn .18s ease-out;
}
.profile-menu:focus { outline: none; }
@keyframes profileIn {
    from { transform: translateX(18px); opacity: .55; }
    to { transform: translateX(0); opacity: 1; }
}
.profile-top { display: flex; align-items: flex-start; gap: 2px; padding: 18px 10px 12px 20px; }
.profile-id { flex: 1; min-width: 0; }
.profile-user {
    font-size: 13px; color: #5a5a5a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.profile-balance {
    display: flex; align-items: center; gap: 5px; margin-top: 4px;
    font-family: var(--font-desk); font-size: 21px; font-weight: 700;
    line-height: 1.1; color: #141414;
}
.profile-refresh { display: grid; place-items: center; width: 22px; height: 22px; color: #777; }
.profile-refresh .ico { width: 14px; height: 14px; }
.profile-action {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    width: 89px; height: 47px; flex: none;
    border: 1px solid var(--panel-border); border-radius: 3px;
    background: #fff; color: #333; font-size: 10px; font-weight: 700;
}
.profile-action .ico { width: 15px; height: 15px; color: #333; }
.profile-action { font-size: 11px; }
.profile-action--mint { border-color: #7fe3bd; background: rgba(59, 247, 184, .22); }
.profile-credits { display: flex; gap: 62px; padding: 0 16px 20px 20px; }
.profile-credits span { display: block; font-size: 10px; color: #666; }
.profile-credits b { font-size: 14px; color: #1c1c1c; }
.profile-tabs {
    display: flex; gap: 24px; overflow-x: auto; padding: 0 16px 0 20px;
    border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border);
    background: #f3f5f4; scrollbar-width: none;
}
.profile-tabs::-webkit-scrollbar { display: none; }
.profile-tabs button {
    flex: none; padding: 12px 0; border-bottom: 2px solid transparent;
    font-size: 13px; font-weight: 400; color: #555;
}
.profile-tabs button.is-active { border-color: #14674d; color: #111; font-weight: 800; }
.profile-pane { padding: 14px 16px 67px; background: #fff; }
.profile-pane[hidden] { display: none; }
.profile-menu .profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px 8px; }
.profile-menu .profile-item {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    font-size: 11px; font-weight: 400; line-height: 1.25; color: #333; text-align: center;
}
.profile-menu .profile-item .ico { width: 40px; height: 40px; color: #8a8a8a; stroke-width: 1.15; }
.profile-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 8px; border-bottom: 1px solid #e0e0e0;
    font-size: 12px; color: #333;
}
.profile-row:last-child { border-bottom: 0; }
.profile-row small { display: block; font-size: 9px; color: #777; }
.profile-row > .ico { width: 14px; height: 14px; color: #777; }
.profile-row--wrap { flex-wrap: wrap; }
.profile-muted { padding: 8px; font-size: 12px; color: #666; }
.switch {
    position: relative; width: 34px; height: 20px; flex: none;
    border-radius: 999px; background: #bdbdbd; transition: background .2s ease;
}
.switch i {
    position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
    border-radius: 50%; background: #fff; transition: left .2s ease;
}
.switch.is-on { background: #14674d; }
.switch.is-on i { left: 16px; }
.profile-extra { margin-top: auto; border-top: 1px solid var(--panel-border); background: #fff; }
.profile-extra form { margin: 0; }
.profile-extra__link {
    display: block; width: 100%; padding: 13px 16px 13px 20px;
    border-bottom: 1px solid #e6e6e6; text-align: left; font-size: 14px; color: #333;
}
.profile-extra__link:last-child { border-bottom: 0; }

@media (min-width: 1024px) {
    .profile-menu {
        width: 380px; height: auto;
        max-height: calc(100dvh - var(--profile-top) - 12px);
        margin-top: 8px;
        margin-right: max(16px, calc((100vw - 1440px) / 2));
        border-radius: 0 0 8px 8px;
    }
}

/* ------------------------------------------------------- saldo (modal) */
.balance-overlay {
    position: fixed; inset: 0; z-index: 110;
    display: grid; place-items: center; padding: 18px;
}
.balance-overlay[hidden] { display: none !important; }
.balance-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); }
.balance-card {
    position: relative; width: min(405px, 94vw);
    padding: 22px 24px 26px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, #1d1d1d 0%, #16231d 55%, #0a2a1f 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    color: #fff; min-height: 520px;
}
.balance-card:focus { outline: none; }
.balance-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; text-align: center; }
.balance-close {
    position: absolute; top: 14px; right: 14px;
    display: grid; place-items: center; width: 30px; height: 30px; color: var(--mint);
}
.balance-close .ico { width: 20px; height: 20px; }
.balance-big {
    margin: 64px 0 56px; text-align: center;
    font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -.02em;
}
.balance-rows { display: grid; gap: 14px; }
.balance-rows p { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.balance-rows span { color: #ededed; font-weight: 700; }
.balance-rows b { font-weight: 700; }
.balance-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.balance-btn {
    display: flex; align-items: center; justify-content: center; height: 48px;
    border-radius: 4px; font-size: 14px; font-weight: 800;
}
.balance-btn--outline { border: 1.5px solid var(--mint); color: var(--mint); background: rgba(59, 247, 184, .06); }
.balance-btn--mint { background: var(--mint); color: #0b241c; }
@media (max-width: 600px) {
    .balance-card { min-height: 0; }
}
@media (max-width: 480px) {
    .balance-card { padding: 18px; }
    .balance-big { font-size: 34px; margin: 40px 0 34px; }
}

@keyframes spin { to { transform: rotate(360deg); } }
[data-balance-refresh].is-loading .ico { animation: spin .8s linear infinite; }

/* ------------------------------------------------------- logo rápida */
.logo-quick {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 12px 16px; border: 1px solid rgba(59, 247, 184, .2); border-radius: 14px;
    background: linear-gradient(120deg, rgba(20, 103, 77, .18), rgba(255, 255, 255, .02));
}
.logo-quick__copy { flex: 1; min-width: 180px; }
.logo-quick__copy p { margin-top: 2px; font-size: 11px; color: var(--muted-soft); }
.logo-quick img { height: 34px; width: auto; max-width: 220px; object-fit: contain; }
.logo-quick form { margin: 0; }

/* ------------------------------------------------------- configurações */
.admin-page--settings { max-width: 980px; }
.settings-form { display: grid; gap: 14px; }
.settings-section {
    display: grid; gap: 12px; padding: 18px;
    border: 1px solid rgba(255, 255, 255, .07); border-radius: 16px;
    background: linear-gradient(170deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)), #151515;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.settings-head { display: flex; align-items: flex-start; gap: 10px; }
.settings-head__icon {
    display: grid; place-items: center; width: 34px; height: 34px; flex: none;
    border-radius: 10px; background: rgba(59, 247, 184, .1); color: var(--mint);
}
.settings-head__icon .ico { width: 17px; height: 17px; }
.settings-head h2 { font-size: 15px; font-weight: 800; }
.settings-head p { margin-top: 2px; font-size: 10px; color: var(--muted-soft); }
.settings-section .fine-print { margin-top: -4px; }
.settings-section code { color: var(--mint); background: rgba(59, 247, 184, .08); padding: 1px 4px; border-radius: 4px; }
.form-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.form-grid--2, .form-grid--3 { grid-template-columns: minmax(0, 1fr); }
.upload-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.upload-field {
    display: grid; gap: 8px; padding: 12px;
    border: 1px dashed rgba(255, 255, 255, .14); border-radius: 12px;
    background: rgba(255, 255, 255, .02);
}
.upload-field__label { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-soft); }
.upload-preview {
    display: grid; place-items: center; min-height: 92px; padding: 8px;
    border: 1px solid rgba(255, 255, 255, .06); border-radius: 9px;
    background: #0e0e0e; overflow: hidden;
}
.upload-preview img { max-height: 116px; max-width: 100%; object-fit: contain; }
.upload-preview span { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted-soft); }
.upload-preview .ico { width: 14px; height: 14px; }
.upload-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.upload-btn { cursor: pointer; }
.upload-remove { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted-soft); }
.upload-remove input { accent-color: var(--danger); }
.banner-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.banner-block {
    display: grid; gap: 10px; padding: 12px;
    border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px;
    background: rgba(255, 255, 255, .015);
}
.settings-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 4px 4px 10px;
}
.settings-actions .fine-print { margin: 0; max-width: 420px; }

@media (min-width: 700px) {
    .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .upload-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .banner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* iOS/Safari: campos com menos de 16px fazem a página dar zoom ao focar. */
@media (max-width: 1023px) {
    input, select, textarea,
    .searchbar input,
    .casino-page .searchbar input,
    .login-field input,
    .field input,
    .panel-field input,
    .panel-input,
    .pix-key-row input,
    .pix-key-row select,
    .admin-field input,
    .admin-search input {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Recompensas no topo: texto branco nítido e borda verde */
.header-actions .btn.header-rewards {
    color: #fff;
    border-color: #3f9679;
    background: rgba(0, 0, 0, .10);
    opacity: 1;
}
@media (min-width: 1024px) {
    .header-actions .btn.header-rewards { height: 34px; min-height: 34px; padding: 0 14px; font-size: 11px; }
}
@media (min-width: 1440px) {
    .header-actions .btn.header-rewards { height: 38px; min-height: 38px; padding: 0 18px; font-size: 12px; }
}

/* Logo no celular: mantém o topo sem estourar a largura */
@media (max-width: 420px) {
    .brand-logo { height: 30px; max-width: 136px; }
    .header-actions .btn.header-rewards { padding: 0 10px; font-size: 10px; height: 32px; min-height: 32px; }
    .balance-pill { padding-left: 9px; font-size: 11px; }
}

/* Topo do celular: logo e pílulas cabendo sem cortar */
@media (max-width: 420px) {
    .header-inner { padding: 0 9px; gap: 5px; }
    .header-inner > .brand-link { flex: none; }
    .brand-logo { height: 30px; max-width: 158px; }
    .header-actions { gap: 4px; }
    .header-actions .btn { min-height: 30px; font-size: 9px; padding: 0 8px; }
    .header-actions .btn.header-rewards {
        height: 30px; min-height: 30px; padding: 0 9px; font-size: 9.5px; white-space: nowrap;
    }
    .balance-pill { height: 30px; padding: 0 4px 0 8px; font-size: 10px; gap: 4px; }
    .balance-pill__plus { width: 19px; height: 19px; font-size: 12px; }
    .header-actions .btn--icon { width: 30px; min-height: 30px; padding: 6px; }
}

/* Topo mobile: logo e ações em espaços separados, sem sobreposição */
@media (max-width: 1023px) {
    .header-inner > .brand-link { flex: 0 0 auto; max-width: 125px; overflow: hidden; }
    .brand-logo { width: 100%; max-width: 100%; height: auto; max-height: 30px; object-fit: contain; }
    .header-actions { flex: 0 0 auto; margin-left: auto; }
    .header-actions .btn { white-space: nowrap; }
}
@media (max-width: 360px) {
    .header-inner > .brand-link { max-width: 104px; }
    .header-actions .btn.header-rewards { padding: 0 7px; font-size: 9px; }
}
@media (max-width: 380px) {
    .header-inner > .brand-link { max-width: 112px; }
}

/* ------------------------------------------------------- login modal */
.login-overlay {
    position: fixed; inset: 0; z-index: 120;
    display: flex; justify-content: center; align-items: flex-start;
    padding: 104px 16px 28px; overflow-y: auto;
}
.login-overlay[hidden] { display: none !important; }
.login-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .68); }
.login-overlay .login-card {
    position: relative; z-index: 1; margin: 0; width: 100%; max-width: 310px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .55);
}
.login-error {
    margin: 0; padding: 8px 10px; border-radius: 3px;
    background: #fbdede; color: #a51e1e; font-size: 12px; text-align: center;
}

/* Admin: selects do formulário */
.admin-field select {
    height: 42px; padding: 0 12px;
    border: 1px solid #333; border-radius: 7px;
    background: #141414; color: var(--fg); font-size: 13px; outline: 0;
}
.admin-field select:focus { border-color: var(--primary); }

/* Painel claro: textos secundários com contraste legível */
.panel-body .muted { color: #5f5f5f; }

/* Depósito Pix */
.panel-text { margin: 0 0 14px; font-size: 14px; color: #2b2b2b; }
.panel-content .panel-form { max-width: 500px; }
.panel-content .quick-values button { height: 40px; background: #fff; font-size: 13px; }
.pix-submit { min-height: 50px; font-size: 15px; font-weight: 800; border-radius: 2px; }
.pix-view { display: grid; gap: 12px; max-width: 500px; }
.pix-qr { justify-self: center; padding: 14px; background: #fff; border: 1px solid #dcdcdc; }
.pix-qr img { display: block; width: 190px; height: 190px; }
.pix-view .pix-code { max-height: 76px; margin: 0; background: #fff; border: 1px solid #dcdcdc; color: #222; }
.pix-copy { min-height: 50px; font-size: 15px; font-weight: 800; border-radius: 2px; }
.pix-wait { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #333; }
.pix-spin { width: 14px; height: 14px; border: 2px solid #cfe9df; border-top-color: #14674d; border-radius: 50%; animation: pixspin .9s linear infinite; }
@keyframes pixspin { to { transform: rotate(360deg); } }
.pix-steps { margin: 0 0 0 18px; padding: 0; list-style: none; font-size: 12px; color: #555; line-height: 1.7; }
.pix-again { justify-self: center; font-size: 14px; font-weight: 800; color: #191919; }
.pix-done { justify-content: center; color: #0d6b4b; font-weight: 800; }

/* ------------------------------------------- esportes (motor de jogos) */
.trending-chip.is-active, .sport-row.is-active { border-color: var(--gold); }
.sport-count { margin-left: 2px; padding: 1px 6px; border-radius: 10px; background: var(--secondary); color: var(--muted-soft); font-size: 11px; font-weight: 700; }
.sport-count--live { color: var(--gold); }
.chip-time--live { border-color: var(--gold); color: var(--gold); }
.match-score { margin-left: auto; padding: 0 5px; border-radius: 3px; background: var(--secondary); color: var(--gold); font-size: 12px; }
.live-odd--on { color: var(--gold); }
.live-odd small { font-size: 9px; color: var(--muted-soft); }
a.match-teams { display: block; min-width: 0; }
.live-game__clock a { display: inline-flex; align-items: center; gap: 4px; color: var(--mint); font-weight: 700; }

/* ----------------------------------------------- partida (todos os mercados) */
.match-page { display: grid; gap: 14px; padding-bottom: 24px; }
.match-page__back { display: inline-flex; align-items: center; gap: 4px; width: max-content; font-size: 13px; font-weight: 700; color: var(--mint); }
.match-page__back .ico { width: 14px; height: 14px; transform: rotate(180deg); }
.match-page__head { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); text-align: center; }
.match-page__league { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted-soft); }
.match-page__league .sport-icon { width: 16px; height: 16px; }
.match-page__score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.match-page__team { font-family: var(--font-display); font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.match-page__team:first-child { text-align: right; }
.match-page__team:last-child { text-align: left; }
.match-page__result { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.match-page__result small { color: var(--muted-soft); font-size: 18px; }
.match-page__result--time { font-size: 22px; color: var(--fg); }
.match-page__when { display: flex; justify-content: center; gap: 6px; }
.match-page__when .chip-time, .match-page__when .chip-markets { font-size: 11px; padding: 2px 8px; }
.match-page__title { margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.match-page__info { display: grid; gap: 14px; }
.match-stats, .match-timeline { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.match-stat { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; row-gap: 4px; padding: 5px 0; font-size: 13px; font-weight: 800; }
.match-stat span:last-of-type { text-align: right; }
.match-stat small { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted-soft); }
.match-stat__bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--secondary); overflow: hidden; }
.match-stat__bar b { display: block; height: 100%; background: var(--mint); }
.match-timeline__row { display: grid; grid-template-columns: 42px 1fr auto; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.match-timeline__row:last-child { border-bottom: 0; }
.match-timeline__row strong { color: var(--gold); }
.match-timeline__row small { color: var(--muted-soft); }
.match-timeline__row--gol span { font-weight: 800; color: var(--mint); }
.match-page__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.match-page__tabs a { flex: none; display: inline-flex; gap: 6px; background: var(--card); }
.match-page__tabs a small { font-size: 10px; opacity: .7; }
.market-list { display: grid; gap: 8px; }
.market { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.market__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 14px; font-weight: 800; cursor: pointer; list-style: none; }
.market__head::-webkit-details-marker { display: none; }
.market__head span { flex: 1; }
.market__head .ico { width: 16px; height: 16px; color: var(--muted-soft); transition: transform .2s ease; }
.market[open] .market__head .ico { transform: rotate(180deg); }
.market__lock { padding: 1px 6px; border-radius: 3px; background: var(--secondary); color: var(--danger); font-size: 10px; }
.market__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; padding: 0 10px 10px; }
.market__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.market-odd { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 6px 10px; border-radius: 4px; background: var(--secondary); text-align: left; transition: background-color .15s ease; }
.market-odd:hover { background: #3a3a3a; }
.market-odd span { font-size: 12px; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.market-odd strong { flex: none; font-size: 14px; color: var(--gold); }
.market-odd.is-off { opacity: .5; }
.market-odd.is-off strong { color: var(--muted-soft); }
@media (min-width: 900px) {
    .match-page__info { grid-template-columns: 1fr 1fr; align-items: start; }
    .match-page__team { font-size: 22px; }
    .match-page__result { font-size: 38px; }
}
@media (max-width: 560px) {
    .market__grid--3 .market-odd { flex-direction: column; justify-content: center; text-align: center; gap: 2px; }
    .market__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .market__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
