/* ==========================================================================
   Bora365 · 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; }

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; }
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; }

/* --------------------------------------------------------------- topo site */
.site { background: var(--bg); color: var(--fg); padding-bottom: calc(62px + 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);
    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 { 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: none; }
.balance-pill {
    display: inline-flex; align-items: center; gap: 6px;
    height: 32px; padding: 0 6px 0 10px;
    border: 1px solid var(--primary); border-radius: 999px;
    background: rgba(0, 0, 0, .25);
    font-size: 11px; font-weight: 800;
}
.balance-pill__plus {
    display: grid; place-items: center; width: 19px; height: 19px;
    border-radius: 50%; background: var(--mint); color: #0b241c; font-size: 13px; 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; }
.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; }
.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; }

/* ------------------------------------------------------------- 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 .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: 62px; font-size: 9px; color: var(--muted);
}
.mobile-nav a .ico { width: 20px; height: 20px; }
.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: #0e0e0e; 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: #161616; border-bottom: 1px solid #262626;
}
.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: 9px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.admin-nav a .ico { width: 15px; height: 15px; }
.admin-nav a.is-active { background: var(--primary); color: #fff; }
.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 { display: grid; gap: 4px; padding: 14px; border: 1px solid #2a2a2a; border-radius: 10px; background: var(--card); }
.stat-card span { font-size: 10px; color: var(--muted-soft); }
.stat-card strong { font-family: var(--font-display); font-size: 21px; font-weight: 800; }
.stat-card small { font-size: 9px; color: var(--muted-soft); }
.admin-card { display: grid; gap: 10px; padding: 16px; border: 1px solid #2a2a2a; border-radius: 10px; background: var(--card); }
.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 { border-color: var(--primary); }
.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); }
.bar--gold { background: var(--gold); }
.bar--primary { background: #1f8a68; }
.chart-label { font-size: 8px; color: var(--muted-soft); white-space: nowrap; }
.activity-list { display: grid; gap: 9px; }
.activity-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.activity-list small { color: var(--muted-soft); white-space: nowrap; font-size: 10px; }
.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; }
    .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: 28px; min-height: 28px; padding: 5px; }
    .balance-pill { height: 28px; font-size: 10px; }

    .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; }
}

/* =========================================================== >= 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; }
    .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: 34px; min-height: 34px; }
    .balance-pill { height: 34px; font-size: 12px; }
    .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; }
}

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