/* =====================================================
   SHORTCUTS BAR
   ===================================================== */

.shortcuts-bar {
    margin: 0;
    padding: 0 0 var(--space-xs) 0;
}

.shortcuts-scroll {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.shortcut-item {
    display: block;
    background: transparent;
    border: none;
    transition: all var(--transition-base);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    line-height: 0;
    font-size: 0;
}

.shortcut-img {
    display: block;
    height: 81px;
    width: auto;
    object-fit: contain;
}

.shortcut-item:hover {
    transform: translateY(-2px);
}


/* =====================================================
   BANNER CAROUSEL
   ===================================================== */

.banner-carousel {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 0;
    margin-bottom: var(--space-2xl);
    border: 1px solid var(--border);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 1.9 / 1;
    display: flex;
    align-items: flex-end;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-darkest);
}

/* Desktop: mantém a proporção 2.2/1 (natural da imagem) mas usa `cover`
   pra não distorcer se a área ficar em uma proporção diferente.
   Como a betslip-sidebar é mais larga no desktop, o banner já fica
   com largura confortável sem precisar de max-width extra. */
@media (min-width: 900px) {
    .carousel-slide {
        background-size: cover;
    }
}

.slide-content {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-xl);
    z-index: 2;
}

.slide-content .btn {
    background: var(--primary);
    border: none;
    color: #0a0a0a;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 28px;
    border-radius: 0;
    font-size: var(--font-sm);
    transform: skewX(-8deg);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    transition: all var(--transition-fast);
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

.slide-content .btn span {
    display: inline-block;
    transform: skewX(8deg);
}

.slide-content .btn:hover {
    background: #ffe033;
    transform: skewX(-8deg) translateY(-2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
}

.slide-content .btn-green {
    background: var(--green);
    color: white;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.slide-content .btn-green:hover {
    background: #00c261;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-md);
    pointer-events: none;
    z-index: 5;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all var(--transition-fast);
    opacity: 0;
}

.banner-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    border-color: var(--green);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 5;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.carousel-dot.active {
    background: var(--green);
    width: 24px;
    border-radius: var(--radius-full);
}

/* =====================================================
   BRACKET PREVIEW
   ===================================================== */

.bracket-phases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.bracket-phase-card {
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-xl);
    text-align: center;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bracket-phase-card:hover {
    border-color: rgba(0, 232, 112, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 232, 112, 0.1), 0 0 0 1px rgba(0, 232, 112, 0.06);
}

.bracket-phase-card.highlight {
    border-color: rgba(0, 232, 112, 0.25);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, rgba(0, 232, 112, 0.04) 100%);
}

.phase-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 232, 112, 0.08);
    border: 1px solid rgba(0, 232, 112, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.phase-icon .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--primary);
}

.bracket-phase-card.highlight .phase-icon {
    background: var(--green-glow-strong);
}

.bracket-phase-card.highlight .phase-icon .material-symbols-outlined {
    color: var(--green);
}

.bracket-phase-card h4 {
    font-size: var(--font-md);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.bracket-phase-card p {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

/* =====================================================
   STATS GRID
   ===================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-card {
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-card:hover {
    border-color: rgba(0, 232, 112, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 232, 112, 0.1), 0 0 0 1px rgba(0, 232, 112, 0.06);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 232, 112, 0.08);
    border: 1px solid rgba(0, 232, 112, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon .material-symbols-outlined {
    font-size: 1.4rem;
    color: var(--green);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: var(--font-2xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.stat-label {
    font-size: var(--font-xs);
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 2px;
}

/* =====================================================
   FEATURED ODDS GRID
   ===================================================== */

.featured-odds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.loading-skeleton.horizontal {
    flex-direction: row;
}

.skeleton-card.wide {
    flex: 1;
    min-height: 120px;
}

/* =====================================================
   BOTTOM NAVIGATION
   ===================================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* Cor SÓLIDA (sem alpha) — evita que o fundo do body vaze através
       da barra e apareça como "faixa" entre a nav e a borda inferior. */
    background: #050b06;
    /* Estende a barra até o rodapé real do dispositivo (safe area do iPhone),
       usando padding — assim a home indicator fica sobre a MESMA cor. */
    padding: 0 var(--space-sm);
    padding-bottom: env(safe-area-inset-bottom, 0);
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    display: none;
    align-items: center;
    justify-content: space-around;
    z-index: var(--z-header);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: var(--font-xs);
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    min-width: 56px;
}

.bottom-nav-item .material-symbols-outlined {
    font-size: 1.4rem;
    transition: all var(--transition-fast);
}

.bottom-nav-item:hover {
    color: var(--text-secondary);
}

.bottom-nav-item.active {
    color: var(--green);
}

.bottom-nav-item.active .material-symbols-outlined {
    color: var(--green);
    transform: scale(1.1);
}

.bottom-nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--green);
    border-radius: 0 0 3px 3px;
}

.bottom-nav-live {
    position: absolute;
    top: 4px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--live);
    border-radius: 50%;
    display: none;
    animation: pulse-live 1.5s infinite;
}

.bottom-nav-live.has-live {
    display: block;
}

/* =====================================================
   SECTION ENHANCEMENTS
   ===================================================== */

.section {
    margin-bottom: var(--space-2xl);
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: var(--font-xl);
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* "Mercados Disponíveis" (tela da partida) — título maior e com destaque,
   afastado do card do jogo acima e mais colado à barra de busca logo abaixo.
   Escopado a #oddsSection pra NÃO afetar as demais seções que reusam
   .section-header/.section-title (home, info da partida, etc). */
#oddsSection {
    margin-top: 20px;             /* respiro entre o card do jogo e o título */
}
#oddsSection .section-header {
    margin-bottom: 10px;          /* aproxima o título da busca (era --space-xl) */
}
#oddsSection .section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.375rem;          /* meio-termo: maior que o --font-xl (1.25) sem exagero */
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;                                       /* fallback sem clip */
    background: linear-gradient(90deg, #ffffff 0%, #00ff80 135%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
#oddsSection .section-title .material-symbols-outlined {
    -webkit-text-fill-color: #00ff80;  /* ícone verde sólido (não entra no clip) */
    color: #00ff80;
    font-size: 1.15em;
}

/* =====================================================
   MATCH DETAIL PAGE
   ===================================================== */

.match-detail-page {
    max-width: 640px;
    margin: 0 auto;
}

.match-hero {
    /* MESMO visual dos cards da tela inicial (premium/futurista): preto fosco +
       glass leve + linha verde ULTRAFINA + sombra praticamente inexistente. */
    background: rgba(15, 15, 15, 0.55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(0, 255, 128, 0.10);
    border-radius: 14px;
    box-shadow: none;
    padding: 10px 12px 11px;
    text-align: center;
    margin-bottom: 10px;
}

.match-hero-badge {
    margin-bottom: 3px;
}

.match-hero-badge .live-badge {
    font-size: 10px;
    padding: 2px 9px;
}

.completed-badge,
.pending-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.completed-badge { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
.pending-badge { background: rgba(0, 232, 112, 0.1); color: #00E870; }

.match-hero-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3px;
}

.match-hero-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.match-hero-flag {
    font-size: 26px;
    line-height: 1;
}

.match-hero-name {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}

.match-hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.match-hero-score {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 25px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.match-hero-score.live {
    color: #00E870;
    text-shadow: 0 0 14px rgba(0, 232, 112, 0.35);
}

.match-hero-score.pending {
    font-size: 17px;
    color: var(--text-muted);
}

.match-hero-separator {
    color: var(--text-muted);
    font-weight: 400;
}

.match-hero-status {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.match-hero-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.match-hero-info .material-symbols-outlined {
    font-size: 13px;
    color: #00E870;
}

.match-hero-dot {
    opacity: 0.4;
}

/* Odds 1X2 no card do topo (hero) — MESMO estilo dos botões de odd da tela
   inicial (.pcc-odd): fundo preto, linha verde fina, valor verde neon. Escopado
   em .match-hero-odds pra vencer o .odd-btn base. */
.match-hero-odds {
    display: flex;
    gap: 6px;
    margin-top: 9px;
}
.match-hero-odds .hero-odd {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 46px;
    padding: 7px 4px;
    border-radius: 9px;
    border: 1px solid rgba(0, 255, 128, 0.16);
    background: rgba(0, 0, 0, 0.32);
    box-shadow: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.08s ease;
}
.match-hero-odds .hero-odd:hover {
    border-color: rgba(0, 255, 128, 0.5);
    background: rgba(0, 255, 128, 0.07);
}
.match-hero-odds .hero-odd:active { transform: scale(0.95); }
/* time dentro do botão: escudo + nome, CENTRALIZADOS */
.hero-odd-team {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    min-width: 0;
}
.hero-odd-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}
.hero-odd-name {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-odd-v {
    font-size: 13.5px;
    font-weight: 800;
    color: #00ff80;
    line-height: 1;
    letter-spacing: -0.3px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 8px rgba(0, 255, 128, 0.25);
}
.match-hero-odds .hero-odd.selected {
    background: linear-gradient(180deg, #00ff80, #00cc66);
    border-color: #00ff80;
    box-shadow: 0 0 14px rgba(0, 255, 128, 0.3);
}
.match-hero-odds .hero-odd.selected .hero-odd-name { color: rgba(0, 0, 0, 0.78); }
.match-hero-odds .hero-odd.selected .hero-odd-v { color: #001b0e; text-shadow: none; }

/* Match Sections */
.match-section {
    margin-bottom: var(--space-xl);
}

/* Odds Tabs */
.odds-market-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-lg);
    overflow-x: auto;
    padding-bottom: 4px;
}

.odds-tab {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: var(--font-sm);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
}

.odds-tab.active,
.odds-tab:hover {
    background: rgba(0, 232, 112, 0.1);
    border-color: rgba(0, 232, 112, 0.3);
    color: #00E870;
}

/* Odds Bookmaker Cards */
.odds-bm-card {
    background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
    border: 1px solid rgba(0, 232, 112, 0.1);
    border-radius: 14px;
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.odds-bm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.odds-bm-name {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #fff;
}

.odds-bm-updated {
    font-size: 11px;
    color: var(--text-muted);
}

.odds-bm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.odds-bm-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    background: rgba(0, 232, 112, 0.04);
    border: 1px solid rgba(0, 232, 112, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.odds-bm-btn:hover {
    background: rgba(0, 232, 112, 0.12);
    border-color: rgba(0, 232, 112, 0.3);
    transform: translateY(-1px);
}

.odds-bm-btn:active {
    transform: translateY(0);
}

.odds-bm-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.odds-bm-value {
    font-size: var(--font-lg);
    font-weight: 800;
    color: #00E870;
}

/* Match Info Grid */
.match-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.match-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
    border: 1px solid rgba(0, 232, 112, 0.08);
    border-radius: 12px;
}

.match-info-item .material-symbols-outlined {
    font-size: 20px;
    color: #00E870;
    margin-top: 2px;
}

.match-info-item small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.match-info-item strong {
    display: block;
    font-size: var(--font-sm);
    color: #fff;
    font-weight: 600;
}

/* Match Error */
.match-error {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.match-error .material-symbols-outlined {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.match-error h3 {
    color: #fff;
    margin-bottom: 8px;
}

.match-error p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* =====================================================
   MERCADOS DE APOSTAS (MATCH DETAIL)
   ===================================================== */

.markets-tabs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-md);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.markets-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.market-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
}

.market-tab .material-symbols-outlined {
    font-size: 16px;
}

.market-tab:hover {
    background: rgba(0, 232, 112, 0.06);
    border-color: rgba(0, 232, 112, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.market-tab.active {
    background: rgba(0, 232, 112, 0.12);
    border-color: rgba(0, 232, 112, 0.3);
    color: #00E870;
}

/* ============================================================
   MERCADOS EM ACCORDION VERTICAL (2026-07-15)
   Substitui a barra horizontal de abas (#marketsTabs). Cada mercado
   vira um card full-width que expande/recolhe — navegacao 100%
   vertical. Reusa .market-card-body / .market-odds-grid / .odd-btn
   intactos (a logica de odds nao muda).
   ============================================================ */
.markets-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* ============================================================
   CATEGORIA = ACCORDION (2026-07-15). Cada categoria (Gols, Cartões,
   Escanteios, ...) é um card com CABEÇALHO CLICÁVEL que expande/recolhe.
   Dentro dela ficam os cards de mercado (que mantêm o próprio accordion
   de odds). Single-open: só uma categoria aberta por vez.
   ============================================================ */
.mkt-cat {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    scroll-margin-top: calc(var(--header-height, 68px) + 10px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.mkt-cat:hover { border-color: rgba(0, 232, 112, 0.2); }
.mkt-cat.open {
    border-color: rgba(0, 232, 112, 0.34);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}
.mkt-cat-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 15px; /* área de toque ampla no mobile */
    background: transparent;
    border: 0;
    color: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}
.mkt-cat-header:hover { background: rgba(0, 232, 112, 0.045); }
.mkt-cat-header:active { background: rgba(0, 232, 112, 0.08); }
.mkt-cat.open .mkt-cat-header { background: rgba(0, 232, 112, 0.06); }
.mkt-cat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #00E870;
    background: rgba(0, 232, 112, 0.10);
    border: 1px solid rgba(0, 232, 112, 0.20);
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mkt-cat-ico .mkt-ico-svg { width: 18px; height: 18px; }
.mkt-cat-header:hover .mkt-cat-ico,
.mkt-cat.open .mkt-cat-ico {
    background: rgba(0, 232, 112, 0.17);
    border-color: rgba(0, 232, 112, 0.4);
    box-shadow: 0 0 14px rgba(0, 232, 112, 0.22);
}
.mkt-cat-title {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #eaf6ee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mkt-cat.open .mkt-cat-title { color: #b9f6d1; }
.mkt-cat-count {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: rgba(134, 239, 172, 0.9);
    background: rgba(0, 232, 112, 0.1);
    border: 1px solid rgba(0, 232, 112, 0.22);
    border-radius: 999px;
    padding: 1px 8px;
    min-width: 22px;
    text-align: center;
}
.mkt-cat-chevron {
    flex-shrink: 0;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}
.mkt-cat.open .mkt-cat-chevron { transform: rotate(180deg); color: #00E870; }
.mkt-cat-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
}
.mkt-cat.open .mkt-cat-body { padding-top: 2px; padding-bottom: 12px; }
/* cards de mercado DENTRO da categoria: borda leve (evita moldura dupla) e sem
   o "levantar" no hover (fica mais estável dentro do accordion de categoria). */
.mkt-cat-body .mkt-acc { border-color: rgba(255, 255, 255, 0.06); border-radius: 12px; }
.mkt-cat-body .mkt-acc:hover { transform: none; box-shadow: none; }
.mkt-acc {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.012) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.mkt-acc:hover {
    border-color: rgba(0, 232, 112, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
/* ABERTO: uma cor SÓ (sem gradiente) — tom verde uniforme da marca. */
.mkt-acc.open {
    border-color: rgba(0, 232, 112, 0.30);
    background: rgba(0, 232, 112, 0.05);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
    transform: none;
}
/* dentro do card aberto, a faixa de explicacao nao repete outro tom verde:
   fica transparente (herda a cor unica do card) com so um divisor sutil. */
.mkt-acc.open .market-explain-line {
    background: transparent;
    border-bottom: 1px solid rgba(0, 232, 112, 0.14);
}
.mkt-acc-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 16px;
    background: transparent;
    border: 0;
    color: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}
.mkt-acc-header:hover { background: rgba(0, 232, 112, 0.045); }
.mkt-acc-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 18px;
    color: #00E870;
    background: rgba(0, 232, 112, 0.10);
    border: 1px solid rgba(0, 232, 112, 0.20);
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mkt-acc-ico .mkt-ico-svg { width: 17px; height: 17px; }
.mkt-acc-header:hover .mkt-acc-ico,
.mkt-acc.open .mkt-acc-ico {
    background: rgba(0, 232, 112, 0.16);
    border-color: rgba(0, 232, 112, 0.38);
    box-shadow: 0 0 14px rgba(0, 232, 112, 0.22);
}
.mkt-acc-title {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #eaf6ee;
    /* nome do mercado NUNCA corta: quebra em 2 linhas se preciso */
    white-space: normal;
    overflow-wrap: anywhere;
}
.mkt-acc-title img { flex-shrink: 0; }
.mkt-acc-time {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.32);
    flex-shrink: 0;
}
.mkt-acc-chevron {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}
.mkt-acc.open .mkt-acc-chevron {
    transform: rotate(180deg);
    color: #00E870;
}
.mkt-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Botoes de odd na tela de mercados: mais destacados/modernos e com contraste
   contra o card aberto (verde). Escopo .mkt-acc -> NAO afeta a home. */
.mkt-acc .market-odd-btn {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(0, 232, 112, 0.22);
    border-radius: 12px;
}
.mkt-acc .market-odd-btn:hover {
    background: rgba(0, 232, 112, 0.10);
    border-color: rgba(0, 232, 112, 0.45);
    box-shadow: 0 4px 14px rgba(0, 232, 112, 0.14);
    transform: translateY(-1px);
}
.mkt-acc .market-odd-btn.selected {
    background: rgba(0, 232, 112, 0.18);
    border-color: #00E870;
    box-shadow: 0 0 16px rgba(0, 232, 112, 0.20);
}

/* ============================================================
   BARRA DE BUSCA DE MERCADO (2026-07-15)
   Filtra os cards do accordion no cliente. O valor digitado NUNCA
   vira HTML (so comparacao de string) e nao e enviado ao servidor.
   ============================================================ */
.markets-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.markets-search-ico {
    position: absolute;
    left: 12px;
    font-size: 20px;
    color: rgba(0, 232, 112, 0.7);
    pointer-events: none;
}
.markets-search-input {
    width: 100%;
    padding: 12px 40px 12px 42px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.markets-search-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.markets-search-input:focus {
    outline: none;
    border-color: rgba(0, 232, 112, 0.5);
    background: rgba(0, 232, 112, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 232, 112, 0.10);
}
.markets-search-clear {
    position: absolute;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}
.markets-search-clear:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.markets-search-clear .material-symbols-outlined { font-size: 18px; }
.markets-noresults {
    text-align: center;
    padding: 24px 12px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

.market-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.market-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 232, 112, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.market-card-name {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #00E870;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.market-card-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

.market-explain-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(0, 232, 112, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #c4d0d8;
    font-size: 12.5px;
    line-height: 1.4;
}

.market-explain-line .material-symbols-outlined {
    font-size: 17px;
    flex-shrink: 0;
    color: #00E870;
    margin-top: 1px;
}

.market-cashout-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(255, 176, 32, 0.08);
    border-bottom: 1px solid rgba(255, 176, 32, 0.18);
    color: #ffd27a;
    font-size: 12px;
    line-height: 1.35;
}

.market-cashout-note .material-symbols-outlined {
    font-size: 18px;
    flex-shrink: 0;
    color: #ffb020;
}

.market-cashout-note b {
    color: #ffd27a;
    font-weight: 700;
}

/* "Mais detalhes do handicap" — botão e card AZUL
   (seletor composto p/ ter especificidade maior que a base .market-explain-*) */
.market-explain-toggle.market-explain-toggle--blue {
    background: rgba(45, 130, 255, 0.14);
    border-color: rgba(45, 130, 255, 0.45);
    color: #9fcaff;
    font-weight: 700;
}
.market-explain-toggle.market-explain-toggle--blue:hover {
    background: rgba(45, 130, 255, 0.24);
    color: #d7e8ff;
}
.market-explain-toggle.market-explain-toggle--blue .material-symbols-outlined { color: #4d9bff; }

.market-explain-box.market-explain-box--blue.open {
    max-height: 5000px;
    background: linear-gradient(180deg, rgba(45, 130, 255, 0.12) 0%, rgba(45, 130, 255, 0.05) 100%);
    border: 1px solid rgba(45, 130, 255, 0.35);
    border-radius: 12px;
    padding: 4px 14px;
}

.market-explain-box.market-explain-box--blue .hcp-h { color: #6db3ff; }
.market-explain-box.market-explain-box--blue .hcp-block { border-bottom-color: rgba(45, 130, 255, 0.18); }

/* "Mais detalhes do handicap" — blocos por linha */
.hcp-block {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hcp-block:last-child { border-bottom: none; }

.hcp-h {
    font-weight: 800;
    color: #00E870;
    font-size: 13.5px;
    margin-bottom: 4px;
}

.hcp-d {
    color: #c4d0d8;
    font-size: 12.5px;
    margin: 0 0 4px;
}

.hcp-ex-title {
    color: #8a97a0;
    font-size: 12px;
    font-style: italic;
    margin: 0 0 4px;
}

.hcp-ex {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hcp-ex li {
    color: #d4dde3;
    font-size: 12.5px;
    line-height: 1.5;
    padding: 1px 0;
}

.hcp-note {
    margin-top: 10px;
    padding: 12px 14px;
    background: rgba(45, 130, 255, 0.1);
    border: 1px solid rgba(45, 130, 255, 0.3);
    border-radius: 10px;
}
.hcp-note .hcp-h { color: #ffd27a; }

/* Placar exato: bandeira de cada time ao redor do número (🇳🇱 2-1 🇲🇦) */
.score-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.score-label .score-num {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.score-label .team-flag {
    height: 1.05em;
    width: 1.55em;
}

.player-team-section + .player-team-section {
    margin-top: 14px;
}

.player-team-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.player-team-head .team-flag {
    height: 1.15em;
    width: 1.7em;
}

.market-card-body {
    padding: 12px;
}

.market-odds-grid {
    display: grid;
    gap: 8px;
}

.market-odds-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.market-odds-grid.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.market-odds-grid .odd-btn {
    padding: 12px 8px;
}

.market-odds-grid .odd-btn .odd-label {
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
    word-break: break-word;
}

.market-odds-grid .odd-btn .odd-value {
    font-size: 16px;
}

.market-line-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.market-line-row:last-child {
    margin-bottom: 0;
}

.market-line-hdp {
    min-width: 40px;
    font-size: var(--font-sm);
    font-weight: 800;
    color: #FFD700;
    text-align: center;
    flex-shrink: 0;
}

.market-line-row .market-odds-grid {
    flex: 1;
}

.score-grid {
    gap: 6px;
}

.score-grid .odd-btn {
    padding: 10px 6px;
}

.score-grid .odd-btn .odd-label {
    font-size: 10px;
}

.score-grid .odd-btn .odd-value {
    font-size: 14px;
}

.market-refund-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(0, 232, 112, 0.08);
    border: 1px solid rgba(0, 232, 112, 0.25);
    border-radius: 8px;
    color: #00E870;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.market-refund-notice .material-symbols-outlined,
.market-info-notice .material-symbols-outlined {
    font-size: 16px;
}

.market-info-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(100, 180, 255, 0.08);
    border: 1px solid rgba(100, 180, 255, 0.25);
    border-radius: 8px;
    color: #64b4ff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.market-explain-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.market-explain-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}
.market-explain-toggle .arrow {
    margin-left: auto;
    font-size: 18px;
    transition: transform 0.3s;
}
.market-explain-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s, margin 0.3s;
    opacity: 0;
    margin-top: 0;
}
.market-explain-box.open {
    max-height: 800px;
    opacity: 1;
    margin-top: 10px;
}
.market-explain-box.open + .market-explain-toggle .arrow,
.market-explain-toggle:has(+ .market-explain-box.open) .arrow {
    transform: rotate(180deg);
}
.market-explain-box .explain-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.market-explain-box p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 12px 0;
    line-height: 1.5;
}
.market-explain-box p strong {
    color: #fff;
}
.explain-scenarios {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.explain-scenarios .scenario {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}
.explain-scenarios .scenario strong {
    color: #fff;
    display: block;
    margin-bottom: 2px;
}
.explain-scenarios .scenario-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}
.scenario.win {
    background: rgba(0, 232, 112, 0.08);
    border: 1px solid rgba(0, 232, 112, 0.2);
}
.scenario.refund {
    background: rgba(100, 180, 255, 0.08);
    border: 1px solid rgba(100, 180, 255, 0.2);
}
.scenario.loss {
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.2);
}
.result-win { color: #00E870; font-weight: 600; }
.result-refund { color: #64b4ff; font-weight: 600; }
.result-loss { color: #ff5050; font-weight: 600; }
.explain-example {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 200, 50, 0.06);
    border: 1px solid rgba(255, 200, 50, 0.15);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 10px;
}
.explain-example .material-symbols-outlined {
    color: #ffc832;
    font-size: 18px;
    flex-shrink: 0;
}
.explain-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 232, 112, 0.05);
    border-radius: 8px;
    font-size: 11px;
    color: rgba(0, 232, 112, 0.8);
    font-style: italic;
}
.explain-tip .material-symbols-outlined {
    font-size: 16px;
    color: #00E870;
}

@media (max-width: 480px) {
    .market-tab {
        padding: 6px 10px;
        font-size: 11px;
    }

    .market-tab .material-symbols-outlined {
        font-size: 14px;
    }

    .market-odds-grid .odd-btn .odd-value {
        font-size: 14px;
    }
}

/* =====================================================
   LIVE PAGE
   ===================================================== */

.live-page {
    max-width: 640px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: var(--space-xl);
}

.page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-xl);
    font-weight: 800;
    color: #fff;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: var(--font-sm);
    margin-top: 4px;
}

/* Live Match Card */
.live-match-card {
    display: block;
    background: linear-gradient(180deg, #1a2a1e 0%, #141414 100%);
    border: 1px solid rgba(0, 232, 112, 0.15);
    border-radius: 14px;
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    text-decoration: none;
    transition: all 0.2s;
}

.live-match-card:hover {
    border-color: rgba(0, 232, 112, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 232, 112, 0.08);
}

.live-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

/* Na página "Jogos Ao Vivo" (tela cheia) o header traz só o selo AO VIVO + o
   minuto — centralizados juntos, em vez de nas pontas. */
.live-page .live-match-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
}
.live-page .live-match-header .live-badge {
    margin-left: 0;
}

.live-clock {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #00E870;
}

.live-clock.running {
    animation: clockPulse 1.5s ease-in-out infinite;
}

.live-clock.interval {
    color: #FFB800;
}

.live-clock.penalties {
    color: #FF4444;
}

.live-period {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 4px;
}

.live-match-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.live-match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.live-match-flag {
    font-size: 36px;
    line-height: 1;
}

.live-match-name {
    font-size: var(--font-xs);
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.live-match-score {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 32px;
    font-weight: 900;
    color: #00E870;
    text-shadow: 0 0 16px rgba(0, 232, 112, 0.3);
}

.live-score-sep {
    color: var(--text-muted);
    font-weight: 400;
}

.live-match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.live-match-odds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: var(--space-md);
}

.live-odd-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-odd-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.live-odd-val {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--green-neon, #00E870);
}

.live-match-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.live-match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.live-match-clock {
    font-size: 12px;
    font-weight: 700;
    color: #00E870;
    text-transform: capitalize;
}

.live-match-clock.running {
    animation: clockPulse 1.5s ease-in-out infinite;
}

.live-match-clock.interval {
    color: #FFB800;
}

.live-match-clock.penalties {
    color: #FF4444;
}

.live-match-period {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    text-align: center;
}

@keyframes clockPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-odds-row {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Upcoming flags on live page */
.upcoming-flag {
    font-size: 16px;
}

@media (max-width: 480px) {
    .match-hero-teams {
        gap: var(--space-md);
    }

    .match-hero-flag {
        font-size: 26px;
    }

    .match-hero-score {
        font-size: 24px;
    }

    .match-info-grid {
        grid-template-columns: 1fr;
    }

    .live-match-flag {
        font-size: 28px;
    }

    .live-match-score {
        font-size: 26px;
    }
}

/* =====================================================
   TEAMS PAGE
   ===================================================== */

.teams-page {
    padding-bottom: var(--space-3xl);
}

.teams-search-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.teams-search-bar:focus-within {
    border-color: rgba(0, 232, 112, 0.4);
    box-shadow: 0 0 20px rgba(0, 232, 112, 0.08);
}

.teams-search-bar .material-symbols-outlined {
    color: var(--text-muted);
    font-size: 20px;
}

.teams-search-bar input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: var(--font-base);
    font-family: var(--font-family);
    outline: none;
}

.teams-search-bar input::placeholder {
    color: var(--text-muted);
}

.teams-filter-bar {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-xl);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.teams-filter-bar::-webkit-scrollbar {
    display: none;
}

.teams-filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-lg);
    color: var(--text-secondary);
    font-size: var(--font-xs);
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.teams-filter-btn:hover {
    background: rgba(0, 232, 112, 0.06);
    border-color: rgba(0, 232, 112, 0.2);
    color: var(--text-primary);
}

.teams-filter-btn.active {
    background: rgba(0, 166, 81, 0.15);
    border-color: var(--green);
    color: var(--green);
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.team-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-lg);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.team-card:hover {
    border-color: rgba(0, 232, 112, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 232, 112, 0.1), 0 0 0 1px rgba(0, 232, 112, 0.06);
}

.team-card-flag {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.team-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-card-name {
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.team-card-dot {
    color: var(--text-muted);
}

.team-card-ranking {
    font-size: var(--font-sm);
    font-weight: 800;
    color: var(--green);
    background: rgba(0, 166, 81, 0.1);
    border: 1px solid rgba(0, 166, 81, 0.2);
    border-radius: var(--radius-md);
    padding: 2px 8px;
    white-space: nowrap;
}

.teams-empty {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-muted);
}

.teams-empty .material-symbols-outlined {
    font-size: 48px;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.teams-empty h3 {
    font-size: var(--font-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

/* =====================================================
   TEAM DETAIL PAGE
   ===================================================== */

.team-hero {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, rgba(0, 232, 112, 0.04) 100%);
    border: 1px solid rgba(0, 232, 112, 0.2);
    border-radius: 14px;
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.team-hero-flag {
    font-size: 4rem;
    line-height: 1;
}

.team-hero-info {
    flex: 1;
}

.team-hero-name {
    font-size: var(--font-3xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.team-hero-meta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.team-hero-badge {
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 4px 12px;
}

.team-hero-badge.green {
    color: var(--green);
    background: rgba(0, 166, 81, 0.1);
    border-color: rgba(0, 166, 81, 0.2);
}

.team-hero-badge.gold {
    color: var(--primary);
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
}

.team-section {
    margin-bottom: var(--space-2xl);
}

.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.team-stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.team-stat-card .material-symbols-outlined {
    font-size: 1.4rem;
    color: var(--green);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 166, 81, 0.08);
    border: 1px solid rgba(0, 166, 81, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-stat-card small {
    font-size: var(--font-xs);
    color: var(--text-muted);
    display: block;
}

.team-stat-card strong {
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-top: 2px;
}

/* Players Grid */
.team-players-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.team-player-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-md) var(--space-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease;
}

.team-player-card:hover {
    border-color: rgba(0, 232, 112, 0.25);
}

.team-player-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 166, 81, 0.08);
    border: 1px solid rgba(0, 166, 81, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-player-avatar .material-symbols-outlined {
    font-size: 18px;
    color: var(--green);
}

.team-player-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.team-player-name {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-player-pos {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.team-player-club {
    font-size: var(--font-xs);
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Team Matches */
.team-match-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.team-match-card:hover {
    border-color: rgba(0, 232, 112, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 232, 112, 0.1), 0 0 0 1px rgba(0, 232, 112, 0.06);
}

.team-match-teams {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.team-match-flag {
    font-size: 1.2rem;
}

.team-match-name {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.team-match-vs {
    font-size: var(--font-xs);
    color: var(--text-muted);
    font-weight: 500;
}

.team-match-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.team-match-date {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.team-match-time {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--green);
}

.team-error {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.team-error .material-symbols-outlined {
    font-size: 56px;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: var(--space-lg);
}

.team-error h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.team-error p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* RESPONSIVE - Teams */
@media (max-width: 480px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }

    .team-hero {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }

    .team-hero-flag {
        font-size: 3.5rem;
    }

    .team-hero-name {
        font-size: var(--font-2xl);
    }

    .team-hero-meta {
        justify-content: center;
    }

    .team-stats-grid {
        grid-template-columns: 1fr;
    }

    .team-players-grid {
        grid-template-columns: 1fr;
    }

    .team-match-card {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }

    .team-match-details {
        align-items: flex-start;
        flex-direction: row;
        gap: var(--space-sm);
    }
}

/* =====================================================
   GROUPS PAGE
   ===================================================== */

.groups-page {
    padding-bottom: var(--space-3xl);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.group-card {
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-lg);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: block;
}

.group-card:hover {
    border-color: rgba(0, 232, 112, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 232, 112, 0.1), 0 0 0 1px rgba(0, 232, 112, 0.06);
}

.group-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.group-card-letter {
    font-size: var(--font-md);
    font-weight: 800;
    color: var(--green);
}

.group-card-arrow {
    font-size: 18px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.group-card:hover .group-card-arrow {
    color: var(--green);
}

.group-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-xs);
}

.group-mini-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
    padding: 4px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.group-mini-table th.col-team {
    text-align: left;
}

.group-mini-table td {
    text-align: center;
    padding: 6px 2px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.group-mini-table td.col-team {
    text-align: left;
}

.group-mini-table td.col-pts {
    font-weight: 800;
    color: var(--text-primary);
}

.group-mini-table tr.qualified td {
    color: var(--text-primary);
}

.group-mini-table tr.qualified td.col-team .mini-name {
    color: var(--green);
}

.mini-flag {
    margin-right: 4px;
}

.mini-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =====================================================
   GROUP DETAIL PAGE
   ===================================================== */

.group-detail-page {
    padding-bottom: var(--space-3xl);
}

.page-back {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.page-back:hover {
    background: rgba(0, 232, 112, 0.1);
    border-color: rgba(0, 232, 112, 0.3);
}

.page-back .material-symbols-outlined {
    font-size: 20px;
    color: var(--text-secondary);
}

.page-header:has(.page-back) {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.group-section {
    margin-bottom: var(--space-2xl);
}

.group-table-wrapper {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(0, 232, 112, 0.12);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.group-full-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-sm);
}

.group-full-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.group-full-table th.col-team {
    text-align: left;
    padding-left: var(--space-lg);
}

.group-full-table th.col-pos {
    width: 36px;
    text-align: center;
}

.group-full-table td {
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.group-full-table td.col-team {
    text-align: left;
    padding-left: var(--space-lg);
}

.group-full-table td.col-pts strong {
    color: var(--text-primary);
    font-size: var(--font-base);
}

.group-full-table tr.qualified {
    background: rgba(0, 166, 81, 0.04);
}

.group-full-table tr:last-child td {
    border-bottom: none;
}

.pos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: var(--font-xs);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.pos-badge.pos-up {
    background: rgba(0, 166, 81, 0.15);
    color: var(--green);
}

.table-team-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.table-flag {
    font-size: 1.2rem;
}

.table-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.table-team-link:hover .table-name {
    color: var(--green);
}

/* Group Matches */
.group-round {
    margin-bottom: var(--space-xl);
}

.group-round-label {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
    padding-left: var(--space-xs);
}

.group-match-card {
    display: block;
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-md);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.group-match-card:hover {
    border-color: rgba(0, 232, 112, 0.3);
    transform: translateY(-2px);
}

.group-match-card.fixture {
    cursor: default;
}

.group-match-card.fixture:hover {
    transform: none;
}

.gm-date {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.gm-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.gm-team {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
}

.gm-team.home {
    justify-content: flex-end;
    text-align: right;
}

.gm-team.away {
    justify-content: flex-start;
}

.gm-flag {
    font-size: 1.3rem;
    line-height: 1;
}

.gm-name {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gm-time {
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--green);
    min-width: 50px;
    text-align: center;
}

.gm-score {
    font-size: var(--font-lg);
    font-weight: 800;
    color: var(--text-primary);
    min-width: 60px;
    text-align: center;
}

.gm-score.live {
    color: var(--green);
    text-shadow: 0 0 10px rgba(0, 166, 81, 0.4);
}

.gm-vs {
    font-size: var(--font-sm);
    color: var(--text-muted);
    min-width: 30px;
    text-align: center;
}

.gm-tbd {
    font-size: var(--font-xs);
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-xs);
}

.live-badge.sm {
    font-size: 10px;
    padding: 1px 6px;
}

/* RESPONSIVE - Groups */
@media (max-width: 480px) {
    .groups-grid {
        grid-template-columns: 1fr;
    }

    .group-full-table {
        font-size: var(--font-xs);
    }

    .group-full-table th,
    .group-full-table td {
        padding: var(--space-sm) 3px;
    }

    .gm-name {
        font-size: var(--font-xs);
        max-width: 80px;
    }
}

/* =====================================================
   BRACKET PAGE
   ===================================================== */

.bracket-page {
    padding-bottom: var(--space-3xl);
}

.bracket-phases-nav {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-xl);
    scrollbar-width: none;
}

.bracket-phases-nav::-webkit-scrollbar {
    display: none;
}

.bracket-phase-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    min-width: 80px;
    flex-shrink: 0;
}

.bracket-phase-link:hover {
    border-color: rgba(0, 232, 112, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 232, 112, 0.1);
}

.bracket-phase-link .material-symbols-outlined {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.bracket-phase-link span:last-child {
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.bracket-phase-link.highlight {
    border-color: rgba(255, 215, 0, 0.25);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, rgba(255, 215, 0, 0.04) 100%);
}

.bracket-phase-link.highlight .material-symbols-outlined {
    color: var(--primary);
}

.bracket-phase-link.highlight span:last-child {
    color: var(--primary);
}

/* Bracket Info Cards */
.bracket-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.bracket-info-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 12px;
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.bracket-info-card:hover {
    border-color: rgba(0, 232, 112, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 24px rgba(0, 232, 112, 0.08);
}

.bracket-info-card.final {
    border-color: rgba(255, 215, 0, 0.2);
}

.bracket-info-card.final:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 24px rgba(255, 215, 0, 0.08);
}

.bracket-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 232, 112, 0.08);
    border-radius: 10px;
    flex-shrink: 0;
}

.bracket-info-card.final .bracket-info-icon {
    background: rgba(255, 215, 0, 0.08);
}

.bracket-info-icon .material-symbols-outlined {
    font-size: 20px;
    color: var(--green);
}

.bracket-info-card.final .bracket-info-icon .material-symbols-outlined {
    color: var(--primary);
}

.bracket-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.bracket-info-name {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--text-primary);
}

.bracket-info-detail {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.bracket-info-arrow {
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.bracket-section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.bracket-section-title .material-symbols-outlined {
    font-size: 20px;
    color: var(--green);
}

/* Bracket Tree */
.bracket-tree {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-lg);
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.bracket-column {
    flex-shrink: 0;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.bracket-col-title {
    font-size: var(--font-xs);
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(0, 232, 112, 0.15);
    margin-bottom: var(--space-sm);
}

.bracket-matches {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    justify-content: space-around;
    flex: 1;
}

.bracket-match-slot {
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.bracket-slot-team {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bracket-slot-team:last-child {
    border-bottom: none;
}

.bracket-slot-flag {
    font-size: 0.9rem;
    line-height: 1;
}

.bracket-slot-name {
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =====================================================
   BRACKET ROUND DETAIL
   ===================================================== */

.bracket-round-page {
    padding-bottom: var(--space-3xl);
}

.bracket-round-card {
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, #1a1a1a 100%);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 14px;
    margin-bottom: var(--space-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease;
}

.bracket-round-card:hover {
    border-color: rgba(0, 232, 112, 0.25);
}

.bracket-round-card.final {
    border-color: rgba(255, 215, 0, 0.25);
    background: linear-gradient(165deg, #1c1c1c 0%, #141414 40%, rgba(255, 215, 0, 0.04) 100%);
}

.bracket-round-card.third {
    border-color: rgba(205, 127, 50, 0.25);
}

.bracket-final-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 215, 0, 0.08);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    font-size: var(--font-xs);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.bracket-final-badge .material-symbols-outlined {
    font-size: 16px;
    color: var(--primary);
}

.bracket-third-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(205, 127, 50, 0.08);
    border-bottom: 1px solid rgba(205, 127, 50, 0.1);
    font-size: var(--font-xs);
    font-weight: 800;
    color: #CD7F32;
    letter-spacing: 1px;
}

.bracket-third-badge .material-symbols-outlined {
    font-size: 16px;
    color: #CD7F32;
}

.bracket-round-num {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px var(--space-md);
    background: rgba(0, 232, 112, 0.06);
    border-bottom: 1px solid rgba(0, 232, 112, 0.08);
    font-size: var(--font-xs);
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.5px;
}

.bracket-round-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-md);
}

.bracket-round-team {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

.bracket-round-team:last-child {
    flex-direction: row-reverse;
    text-align: right;
}

.bracket-round-team:last-child .bracket-round-info {
    align-items: flex-end;
}

.bracket-round-flag {
    font-size: 2.2rem;
    line-height: 1;
}

.bracket-round-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bracket-round-name {
    font-size: var(--font-base);
    font-weight: 700;
    color: var(--text-primary);
}

.bracket-round-origin {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.bracket-round-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.bracket-round-vs {
    font-size: var(--font-lg);
    font-weight: 800;
    color: var(--text-muted);
}

.bracket-round-status {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.bracket-round-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.bracket-round-footer .material-symbols-outlined {
    font-size: 14px;
}

.bracket-round-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    width: 100%;
}

.bracket-round-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.bracket-round-meta-item .material-symbols-outlined {
    font-size: 13px;
    color: var(--green);
}

.bracket-round-card.is-live {
    border-color: rgba(0, 232, 112, 0.4);
    box-shadow: 0 4px 24px rgba(0, 232, 112, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bracket-round-vs.live {
    color: var(--green);
    font-size: var(--font-sm);
    font-weight: 800;
}

.bracket-round-vs.completed {
    color: var(--text-primary);
    font-size: var(--font-xl);
    font-weight: 800;
}

.bracket-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.bracket-round-team.winner .bracket-round-name {
    color: var(--green);
}

.bracket-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-3xl);
    color: var(--text-muted);
    font-size: var(--font-sm);
}

.bracket-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 232, 112, 0.15);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.bracket-empty {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-muted);
    font-size: var(--font-sm);
}

.bracket-slot-score {
    font-size: var(--font-xs);
    font-weight: 800;
    color: var(--text-primary);
    margin-left: auto;
    padding: 2px 6px;
    background: rgba(0, 232, 112, 0.08);
    border-radius: 4px;
}

.bracket-odds-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid rgba(0, 232, 112, 0.08);
}

.bracket-odds-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.bracket-odds-label .material-symbols-outlined {
    font-size: 16px;
    color: #00E870;
}

.bracket-odds-btns {
    display: flex;
    gap: var(--space-sm);
    flex: 1;
}

.bracket-odd-btn {
    flex: 1;
    min-width: 0;
}

/* RESPONSIVE - Bracket */
@media (max-width: 480px) {
    .bracket-tree {
        gap: var(--space-sm);
    }

    .bracket-column {
        min-width: 130px;
    }

    .bracket-round-body {
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-lg);
    }

    .bracket-round-team,
    .bracket-round-team:last-child {
        flex-direction: row;
        text-align: left;
        width: 100%;
    }

    .bracket-round-team:last-child .bracket-round-info {
        align-items: flex-start;
    }

    .bracket-round-flag {
        font-size: 1.8rem;
    }

    .bracket-round-name {
        font-size: var(--font-sm);
    }

    .bracket-odds-row {
        flex-direction: column;
        gap: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
    }

    .bracket-odds-btns {
        width: 100%;
    }

    .bracket-odd-btn {
        padding: 8px 4px;
    }
}

/* =====================================================
   CALENDÁRIO
   ===================================================== */
.calendar-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: var(--space-lg);
    scrollbar-width: thin;
}

.cal-chip {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted, #999);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cal-chip:hover { background: rgba(0, 232, 112, 0.08); color: #fff; }

.cal-chip.active {
    background: linear-gradient(135deg, #00E870, #00A651);
    border-color: #00E870;
    color: #000;
}

.cal-day-group { margin-bottom: var(--space-xl); }

.cal-day-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: var(--space-md);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cal-day-header .material-symbols-outlined { color: #00E870; font-size: 18px; }

.cal-day-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #999);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: none;
}

.cal-game {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.cal-game:hover {
    border-color: rgba(0, 232, 112, 0.25);
    transform: translateX(2px);
}

/* Jogo ainda sem os dois times/odds — não clicável. */
.cal-game-locked { cursor: default; opacity: .75; }
.cal-game-locked:hover { border-color: rgba(255, 255, 255, 0.06); transform: none; }

/* ===================== Cards especiais: Final & Semifinais ===================== */
.cal-special {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    padding: 18px 16px 16px;
    margin-bottom: 12px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: radial-gradient(130% 120% at 50% -10%, #201d12 0%, #131313 62%);
    isolation: isolate;
    transition: transform .2s;
}
.cs-final { --sp-a:#FFDF7E; --sp-b:#B8860B; --sp-glow: rgba(255,193,7,.55); }
.cs-semi  { --sp-a:#4DF3A8; --sp-b:#087E4E; --sp-glow: rgba(0,232,112,.42); }
.cs-third { --sp-a:#C08D5A; --sp-b:#7A4E1F; --sp-glow: rgba(192,141,90,.28); }
/* Card 3o lugar: menor e mais compacto que semi/final */
.cal-special.cs-third { padding:14px 16px; border-radius:12px; }
.cal-special.cs-third::before { border-radius:12px; padding:1.2px; }
.cs-third .cs-ribbon { gap:6px; font-size:12px; letter-spacing:1.5px; }
.cs-third .cs-ribbon .material-symbols-outlined { font-size:15px; }
.cs-third .cs-sub { font-size:10px; margin:2px 0 10px; }
.cs-third .cs-name { font-size:13px; }
.cs-third .cs-name.ph { font-size:11px; }
.cs-third .cs-vs { width:34px; height:34px; font-size:11px; }
.cs-third .cs-flag { font-size:22px; }
.cs-third .cs-foot { margin-top:10px; font-size:11px; }

.cs-semi  { background: radial-gradient(130% 120% at 50% -10%, #0e2018 0%, #121212 62%); }
.cs-third { background: radial-gradient(130% 120% at 50% -10%, #1a1410 0%, #121212 60%); }

/* borda gradiente animada */
.cal-special::before {
    content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 1.6px;
    background: linear-gradient(130deg, var(--sp-a), var(--sp-b), var(--sp-a));
    background-size: 220% 220%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: spBorder 4s linear infinite; z-index: -1;
}
@keyframes spBorder { to { background-position: 220% 0; } }
/* glow externo pulsante */
.cal-special::after {
    content: ""; position: absolute; inset: 0; border-radius: 16px;
    box-shadow: 0 0 26px -6px var(--sp-glow);
    animation: spGlow 2.8s ease-in-out infinite; z-index: -2; pointer-events: none;
}
@keyframes spGlow { 0%,100% { opacity:.45 } 50% { opacity:1 } }
/* reflexo que atravessa o card */
.cs-shine {
    position: absolute; top: 0; left: -60%; width: 38%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent);
    transform: skewX(-18deg); animation: spShine 4.8s ease-in-out infinite; pointer-events: none;
}
@keyframes spShine { 0% { left:-60% } 55%,100% { left:130% } }

.cal-special:hover { transform: translateY(-2px); }
.cal-special.cs-locked { cursor: default; }
.cal-special.cs-locked:hover { transform: none; }

.cs-ribbon { display:flex; align-items:center; justify-content:center; gap:8px; font-size:15px; font-weight:800; letter-spacing:2.5px; }
.cs-ribbon .material-symbols-outlined { font-size:20px; }
.cs-final .cs-ribbon { color:#FFDF7E; text-shadow:0 0 12px rgba(255,193,7,.55); }
.cs-semi  .cs-ribbon { color:#4DF3A8; text-shadow:0 0 12px rgba(0,232,112,.45); }
.cs-third .cs-ribbon { color:#D3A575; text-shadow:0 0 8px rgba(192,141,90,.35); font-size:13px; }
.cs-sub { font-size:11px; color:var(--text-muted,#9a9a9a); margin:3px 0 14px; letter-spacing:.5px; }

.cs-body { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:10px; }
.cs-side { display:flex; flex-direction:column; align-items:center; gap:6px; min-width:0; }
.cs-flag { font-size:30px; line-height:1; }
.cs-name { font-size:15px; font-weight:700; color:#fff; }
.cs-name.ph { font-size:12px; font-weight:600; color:#d7d7d7; line-height:1.25; }
.cs-name.ph .ph-kind { display:block; font-size:10px; font-weight:800; letter-spacing:.5px; }
.cs-final .cs-name.ph .ph-kind { color:#FFDF7E; }
.cs-semi  .cs-name.ph .ph-kind { color:#4DF3A8; }
.cs-name.ph .ph-pair { display:block; color:#fff; }

.cs-center { flex-shrink:0; }
.cs-vs { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; font-size:13px; font-weight:900; letter-spacing:1px; color:#0b0b0b; }
.cs-final .cs-vs { background:linear-gradient(135deg,#FFE9A6,#E0A200); box-shadow:0 0 16px rgba(255,193,7,.6); }
.cs-semi  .cs-vs { background:linear-gradient(135deg,#6FF6BC,#00B569); box-shadow:0 0 16px rgba(0,232,112,.5); }
.cs-third .cs-vs { background:linear-gradient(135deg,#D5B08A,#8B5A2B); box-shadow:0 0 10px rgba(192,141,90,.35); }
.cs-score { font-size:24px; font-weight:900; color:#fff; }
.cs-score i { color:var(--text-muted,#888); font-style:normal; margin:0 2px; }

.cs-foot { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:14px; font-size:12px; color:var(--text-muted,#9a9a9a); }
.cs-foot .material-symbols-outlined { font-size:15px; vertical-align:middle; margin-right:3px; }
.cs-time, .cs-venue { display:inline-flex; align-items:center; }
.cs-live { display:inline-flex; align-items:center; gap:6px; color:#ff4d4d; font-weight:800; }

@media (prefers-reduced-motion: reduce) {
    .cal-special::before, .cal-special::after, .cs-shine { animation: none; }
}

.cal-game-status { width: 96px; flex-shrink: 0; text-align: center; }
.cal-game-time { font-size: 15px; font-weight: 700; color: #fff; }

.cal-game-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #00E870;
}

.cal-game-done { font-size: 11px; color: var(--text-muted, #888); }

.cal-game-teams {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.cal-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cal-team-home { justify-content: flex-end; text-align: right; }
.cal-team-away { justify-content: flex-start; }
.cal-team-name { font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.2px; }
/* Nomes de mata-mata indefinido ("Vencedor: A × B") são longos: quebram em
   linha para aparecerem por inteiro, sem cortar com reticências. */
.cal-team-name.ph { white-space: normal; overflow: visible; text-overflow: clip; font-size: 12px; line-height: 1.25; font-weight: 600; color: var(--text-muted, #9aa); }
/* "Vencedor:" numa linha e o par "A × B" na linha de baixo. */
.cal-team-name.ph .ph-kind { display: block; font-size: 11px; font-weight: 700; color: #00E870; }
.cal-team-name.ph .ph-pair { display: block; color: #fff; }
.cal-flag { font-size: 22px; flex-shrink: 0; }
.cal-vs { font-size: 13px; color: var(--text-muted, #777); font-weight: 600; }
.cal-score { font-size: 17px; font-weight: 800; color: #00E870; white-space: nowrap; }
.cal-game-arrow { color: var(--text-muted, #666); font-size: 20px; flex-shrink: 0; }

@media (max-width: 600px) {
    .cal-game-status { width: 84px; }
    .cal-team-name { font-size: 12px; }
    .cal-flag { font-size: 18px; }
    .cal-game-arrow { display: none; }
}

/* =====================================================
   CARTEIRA
   ===================================================== */
.wallet-balance-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,232,112,0.12), rgba(0,166,81,0.05));
    border: 1px solid rgba(0,232,112,0.2);
    margin-bottom: var(--space-xl);
}

.wallet-balance-label { display:block; font-size:13px; color: var(--text-muted,#999); margin-bottom:4px; }
.wallet-balance-value { font-size:32px; font-weight:800; color:#00E870; }
.wallet-actions { display:flex; gap:10px; }

.wallet-tx-list { display:flex; flex-direction:column; gap:8px; }

.wallet-tx {
    display:flex; align-items:center; gap:12px;
    padding:14px 16px; border-radius:12px;
    background: linear-gradient(180deg,#1c1c1c,#161616);
    border:1px solid rgba(255,255,255,0.06);
}

.wallet-tx-icon {
    width:40px; height:40px; border-radius:10px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
}
.wallet-tx-icon.pos { background:rgba(0,232,112,0.12); color:#00E870; }
.wallet-tx-icon.neg { background:rgba(244,67,54,0.12); color:#ff5a4d; }

.wallet-tx-body { flex:1; display:flex; flex-direction:column; min-width:0; }
.wallet-tx-title { font-size:14px; font-weight:600; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wallet-tx-date { font-size:12px; color: var(--text-muted,#888); }

.wallet-tx-amount { font-size:15px; font-weight:700; white-space:nowrap; }
.wallet-tx-amount.pos { color:#00E870; }
.wallet-tx-amount.neg { color:#ff5a4d; }

.wallet-pagination { display:flex; gap:6px; justify-content:center; margin-top:var(--space-lg); flex-wrap:wrap; }
.wallet-page-btn {
    min-width:34px; height:34px; padding:0 8px; border-radius:8px;
    display:inline-flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1);
    color:var(--text-muted,#999); font-size:13px; font-weight:600; text-decoration:none;
}
.wallet-page-btn.active { background:linear-gradient(135deg,#00E870,#00A651); border-color:#00E870; color:#000; }

@media (max-width:600px){
    .wallet-balance-card{ flex-direction:column; align-items:flex-start; }
    .wallet-actions{ width:100%; }
    .wallet-actions .btn{ flex:1; justify-content:center; }
    .wallet-balance-value{ font-size:28px; }
}

/* =====================================================
   ROLLOVER
   ===================================================== */
.rollover-card {
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,171,0,0.10), rgba(255,171,0,0.03));
    border: 1px solid rgba(255,171,0,0.25);
    margin-bottom: var(--space-xl);
}
.rollover-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.rollover-title { display:flex; align-items:center; gap:6px; font-size:14px; font-weight:700; color:#FFB800; }
.rollover-title .material-symbols-outlined { font-size:18px; }
.rollover-pct { font-size:15px; font-weight:800; color:#FFB800; }
.rollover-bar { height:10px; border-radius:6px; background:rgba(255,255,255,0.08); overflow:hidden; }
.rollover-fill { height:100%; border-radius:6px; background:linear-gradient(90deg,#FFB800,#FF8A00); transition:width .5s ease; }
.rollover-info { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; margin-top:10px; font-size:12px; color:var(--text-muted,#aaa); }
.rollover-info strong { color:#fff; }
.rollover-remaining { color:#FFB800 !important; }
.rollover-hint { margin-top:6px; font-size:12px; color:var(--text-muted,#999); }

.rollover-card.done {
    display:flex; align-items:center; gap:8px;
    background:linear-gradient(135deg, rgba(0,232,112,0.10), rgba(0,232,112,0.03));
    border-color:rgba(0,232,112,0.25); color:#00E870; font-weight:600; font-size:14px;
}
.rollover-card.done .material-symbols-outlined { font-size:20px; }

/* Campo de nome no depósito (1º depósito) */
.deposit-name-field { margin-bottom: 14px; }
.deposit-name-field label {
    display: block;
    font-size: 12px;
    color: var(--text-muted, #999);
    margin-bottom: 6px;
}
.deposit-name-field input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 11px 12px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.deposit-name-field input:focus { border-color: rgba(0,232,112,0.4); }

/* Campo de valor personalizado no depósito */
.deposit-custom { margin-top: 12px; }
.deposit-custom label {
    display: block;
    font-size: 12px;
    color: var(--text-muted, #999);
    margin-bottom: 6px;
}
.deposit-custom-input {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.deposit-custom-input:focus-within { border-color: rgba(0,232,112,0.4); }
.deposit-custom-prefix {
    padding: 0 12px;
    color: #888;
    font-size: 15px;
    font-weight: 700;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.deposit-custom-input input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
}
/* tira as setinhas do number input */
.deposit-custom-input input::-webkit-outer-spin-button,
.deposit-custom-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.deposit-custom-input input { -moz-appearance: textfield; }

/* =====================================================
   TELA DE CARREGAMENTO (SPLASH) — home
   ===================================================== */
.app-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* respeita as margens seguras (notch) + um respiro */
    padding: calc(env(safe-area-inset-top, 0px) + 24px)
             calc(env(safe-area-inset-right, 0px) + 24px)
             calc(env(safe-area-inset-bottom, 0px) + 24px)
             calc(env(safe-area-inset-left, 0px) + 24px);
    background: radial-gradient(120% 120% at 50% 40%, #0b1a10 0%, #060D08 60%, #04060a 100%);
    opacity: 1;
    transition: opacity .45s ease;
    /* failsafe: some sozinho aos 7s mesmo se o JS falhar */
    animation: splashFailsafe 0s linear 7s forwards;
}
.app-splash.hide { opacity: 0; pointer-events: none; }

.app-splash-logo {
    width: min(46vw, 220px);
    max-width: 70%;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(0, 232, 112, 0.25));
    animation: splashPulse 1.5s ease-in-out infinite;
}

@keyframes splashPulse {
    0%, 100% { transform: scale(1);    opacity: .9; }
    50%      { transform: scale(1.06); opacity: 1;  }
}
@keyframes splashFailsafe {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
    .app-splash-logo { animation: none; }
}

/* =====================================================
   ODD SIMPLES TURBINADA (tela do jogo) — 2026-07-15
   Card promocional de UMA odd real (design moderno/futurista):
   glass escuro + borda/brilho neon verde + varredura de luz.
   Renderizado por MatchPage.renderBoostedSingle() em #boostedSingleWrap.
   ===================================================== */
.boosted-single-section { margin: 16px 0; }

.bsingle-card {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
    padding: 30px 16px 12px;
    color: #eafff4;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(0, 255, 128, 0.14), transparent 60%),
        linear-gradient(155deg, rgba(10, 26, 18, 0.92), rgba(6, 10, 8, 0.96));
    border: 1px solid rgba(0, 255, 128, 0.34);
    box-shadow: 0 0 0 1px rgba(0, 255, 128, 0.05) inset, 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 22px rgba(0, 255, 128, 0.10);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.bsingle-card:hover { border-color: rgba(0, 255, 128, 0.60); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 128, 0.22); }
.bsingle-card:active { transform: scale(0.99); }
.bsingle-card.selected { border-color: #00ff80; box-shadow: 0 0 0 2px rgba(0, 255, 128, 0.5), 0 0 30px rgba(0, 255, 128, 0.3); }

/* brilho pulsante de fundo */
.bsingle-glow {
    position: absolute; inset: -40% -10% auto -10%; height: 80%;
    background: radial-gradient(60% 100% at 80% 0%, rgba(0, 255, 128, 0.20), transparent 70%);
    pointer-events: none;
    animation: bsingle-pulse 3.2s ease-in-out infinite;
}
@keyframes bsingle-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* varredura de luz */
.bsingle-shine {
    position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.10), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: bsingle-sweep 4.5s ease-in-out infinite;
}
@keyframes bsingle-sweep { 0% { left: -60%; } 55%, 100% { left: 130%; } }

.bsingle-ribbon {
    position: absolute; top: 10px; right: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 10px; font-weight: 800; letter-spacing: .06em;
    padding: 3px 9px; border-radius: 999px;
    color: #04140b;
    background: linear-gradient(180deg, #00ff9d, #00c46e);
    box-shadow: 0 0 14px rgba(0, 255, 128, 0.45);
}
.bsingle-ribbon .material-symbols-outlined { font-size: 13px; }

.bsingle-body { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.bsingle-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bsingle-player { font-size: 17px; font-weight: 800; line-height: 1.15; color: #fff; }
.bsingle-sub { font-size: 12px; font-weight: 600; color: #00ff80; }
.bsingle-teams { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 11px; color: rgba(234, 255, 244, 0.62); }
.bsingle-logo { width: 15px; height: 15px; object-fit: contain; vertical-align: middle; }
.bsingle-x { opacity: .6; }

.bsingle-odd {
    flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 74px; padding: 8px 10px; border-radius: 12px;
    background: linear-gradient(180deg, rgba(0, 255, 128, 0.16), rgba(0, 255, 128, 0.06));
    border: 1px solid rgba(0, 255, 128, 0.40);
    box-shadow: 0 0 16px rgba(0, 255, 128, 0.16) inset;
}
.bsingle-odd-label { font-size: 9px; font-weight: 700; letter-spacing: .12em; color: rgba(0, 255, 128, 0.80); }
.bsingle-odd-old { font-size: 12px; font-weight: 800; line-height: 1; margin: 2px 0; color: rgba(234, 255, 244, 0.42); text-decoration: line-through; text-decoration-color: rgba(255, 96, 96, 0.75); }
.bsingle-odd-v { font-size: 24px; font-weight: 900; line-height: 1; color: #00ff80; text-shadow: 0 0 14px rgba(0, 255, 128, 0.5); }

.bsingle-foot {
    position: relative; z-index: 1; display: block; margin-top: 10px; padding-top: 9px;
    border-top: 1px dashed rgba(0, 255, 128, 0.18);
    font-size: 12px; color: rgba(234, 255, 244, 0.70);
}
.bsingle-foot strong { color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .bsingle-glow, .bsingle-shine { animation: none; }
}
@media (max-width: 380px) {
    .bsingle-player { font-size: 15px; }
    .bsingle-odd-v { font-size: 21px; }
    .bsingle-odd { min-width: 66px; }
}

/* Carrossel de turbinadas: scroll-snap horizontal com PEEK — a borda do card
   seguinte aparece de lado (efeito de carrossel real) e dá pra arrastar no dedo.
   Auto-scroll suave é feito via JS (scrollTo behavior:smooth). */
.bsingle-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;                 /* Firefox: sem barra */
    padding: 6px 0 10px;                    /* espaço pro glow/sombra dos cards */
    scroll-padding: 0 6%;
}
.bsingle-carousel::-webkit-scrollbar { display: none; }  /* WebKit: sem barra */
.bsingle-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; }
/* com 2+ cards, encolhe pra 88% => sobra a borda do próximo aparecendo de lado */
.bsingle-carousel--multi .bsingle-slide { flex-basis: 88%; }
.bsingle-dots { display: flex; justify-content: center; gap: 6px; margin-top: 9px; }
.bsingle-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 255, 128, 0.25); transition: width .3s ease, background .3s ease; }
.bsingle-dot.active { width: 18px; border-radius: 3px; background: #00ff80; box-shadow: 0 0 8px rgba(0, 255, 128, 0.5); }

/* HOME: card especial + carrossel viram um bloco só. A margem de 12px do card
   ficou entre o card e o carrossel, então o WRAPPER precisa da mesma folga
   embaixo — senão os dots do carrossel encostam no próximo card (ex.: 3º lugar). */
.home-special-wrap { margin-bottom: 12px; }

/* ===== Seletor de esportes v7 (23/07/2026) — verde como ILUMINAÇÃO ============
   Direção: acabamento premium (Tesla/Apple/Linear). Ativo = quase preto (#111),
   verde SÓ como iluminação: borda iluminada + glow concentrado nos cantos
   inferiores + inset bottom light (NUNCA preenchimento chapado). Inativo = #171717
   / borda #343434 / highlight interno discreto / ícone cinza claro / texto 70%.
   Cantos 17px, sem chanfro. Badge EM BREVE integrado (glass). Micro 150-180ms.  */
.sport-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 12px;
    margin-bottom: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sport-tabs::-webkit-scrollbar { display: none; }

.sport-tab {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 80px;
    padding: 13px 14px;
    border-radius: 17px;
    border: 1px solid #343434;                 /* borda cinza escuro */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .028) 0%, rgba(255, 255, 255, 0) 38%),  /* highlight interno */
        #171717;                                /* fundo levemente iluminado */
    box-shadow: 0 3px 10px -6px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .035);  /* leve sombra + reflexo */
    color: rgba(255, 255, 255, .70);           /* texto inativo ~70% */
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
    transition: transform .17s cubic-bezier(.34, 1.35, .64, 1), border-color .18s ease,
                box-shadow .18s ease, background .18s ease, color .18s ease;
}
.sport-tab-ico {
    display: grid; place-items: center;
    width: 30px; height: 30px;
    color: #b9c0bb;                            /* ícone inativo cinza claro */
    transition: color .18s ease, filter .18s ease, transform .17s ease;
}
.sport-tab-ico svg { width: 27px; height: 27px; display: block; }
.sport-tab-lbl { display: block; }

.sport-tab:hover { border-color: #4a524c; color: rgba(255, 255, 255, .92); }
.sport-tab:hover .sport-tab-ico { color: #d3d9d5; }
.sport-tab:active { transform: scale(.97); }

/* ATIVO — quase preto; verde só como iluminação (cantos inferiores + borda) */
.sport-tab.is-active {
    transform: scale(1.05);
    color: #ffffff;
    border-color: rgba(0, 232, 112, .40);
    background:
        radial-gradient(82% 62% at 50% 124%, rgba(0, 232, 112, .16) 0%, transparent 72%),  /* iluminacao difusa subindo do rodape */
        linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, 0) 30%),  /* glass topo */
        linear-gradient(180deg, #191b1a 0%, #111212 60%, #0d0e0e 100%);                    /* quase preto */
    box-shadow:
        0 16px 44px -18px rgba(0, 232, 112, .36),     /* halo difuso p/ baixo: brilho, sem contorno */
        0 4px 30px -14px rgba(0, 232, 112, .14),       /* ambiente sutil ao redor */
        inset 0 1px 0 rgba(255, 255, 255, .10),        /* highlight superior (glass) */
        inset 0 -12px 22px -18px rgba(0, 232, 112, .16),   /* luz concentrada embaixo, suave */
        inset 0 0 0 1px rgba(0, 232, 112, .10);        /* borda interna discreta */
}
.sport-tab.is-active .sport-tab-ico {
    color: #ffffff;
    filter: drop-shadow(0 0 6px rgba(0, 232, 112, .45));
}
/* pulso (anel) ao selecionar — dispara ao ganhar .is-active */
.sport-tab.is-active::before {
    content: '';
    position: absolute; inset: -1px; border-radius: 18px; pointer-events: none;
    animation: sportPulse .5s ease-out 1;
}
@keyframes sportPulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 232, 112, .40); }
    100% { box-shadow: 0 0 0 8px rgba(0, 232, 112, 0); }
}
/* barra inferior — largura do botão, fina, glow discreto, desliza ao ativar */
.sport-tab.is-active::after {
    content: '';
    position: absolute; z-index: 1;
    left: 16px; right: 16px; bottom: 5px;
    height: 2.5px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, #00E870 50%, transparent);
    box-shadow: 0 0 7px rgba(0, 232, 112, .55);
    animation: sportInd .18s ease;
}
@keyframes sportInd { from { transform: scaleX(.3); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* BLOQUEADO (EM BREVE) — disponível, porém um tom abaixo */
.sport-tab.is-soon { cursor: not-allowed; }
.sport-tab.is-soon .sport-tab-lbl { color: rgba(255, 255, 255, .58); }
.sport-tab.is-soon .sport-tab-ico { color: #929b95; opacity: .5; }
.sport-tab.is-soon:hover { border-color: #343434; color: rgba(255, 255, 255, .58); }
.sport-tab.is-soon:hover .sport-tab-ico { color: #929b95; }

/* selo EM BREVE — integrado (glass, borda verde discreta), no canto superior */
.sport-tab-soon {
    position: absolute;
    top: 6px; right: 7px;
    font-size: 6.5px; font-weight: 800; letter-spacing: .04em;
    padding: 2px 5px; border-radius: 6px;
    color: #bfe9cf;
    background: rgba(0, 232, 112, .08);
    border: 1px solid rgba(0, 232, 112, .22);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    line-height: 1; white-space: nowrap;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .sport-tab, .sport-tab-ico { transition: none; }
    .sport-tab.is-active { transform: none; }
    .sport-tab.is-active::before, .sport-tab.is-active::after { animation: none; }
}

/* MOBILE: cápsulas dividem a largura toda (flex:1). */
@media (max-width: 640px) {
    .sport-tabs { gap: 6px; }
    .sport-tab { flex: 1 1 0; min-width: 0; padding: 12px 6px; font-size: 10.5px; letter-spacing: .04em; border-radius: 16px; }
    .sport-tab-ico { width: 28px; height: 28px; }
    .sport-tab-ico svg { width: 26px; height: 26px; }
    .sport-tab.is-active { transform: scale(1.035); }
    .sport-tab.is-active::after { left: 20%; right: 20%; }
    .sport-tab-soon { top: 5px; right: 5px; font-size: 6px; padding: 1px 4px; }
}

/* ==========================================================================
   BASQUETE — visual espelhado no FUTEBOL (23/07/2026)
   O basquete usa a MESMA estrutura/experiencia do futebol (cards compactos na
   home, hero da partida, accordion de mercados, botoes de odd), so que na COR
   do esporte: laranja (#FF7A2F) — futebol=verde, basquete=laranja. Jogo de
   AMANHA herda o tema DOURADO, igual ao futebol. Aditivo: nenhuma regra do
   futebol foi alterada; tudo aqui e escopado em .bk-* / .sport-basquete.
   ========================================================================== */

.sport-pane[hidden] { display: none !important; }

.sport-tab-preview {
    background: linear-gradient(135deg, #FF7A2F, #ff9d5c) !important;
    color: #12160f !important;
    font-weight: 800;
}

.bk-league .section-title .bk-ico { color: #FF7A2F; }

/* ---- separacao HOJE / AMANHA (mesma ideia do futebol) ---- */
.bk-day-group { margin-bottom: 4px; }
.bk-day-group + .bk-day-group { margin-top: 18px; }
.bk-day-title {
    display: flex; align-items: center; gap: 8px;
    margin: 6px 4px 10px; font-size: .82rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .05em; color: #fff;
}
.bk-day-title::before {
    content: ''; width: 4px; height: 15px; border-radius: 3px;
    background: #FF7A2F; box-shadow: 0 0 10px rgba(255, 122, 47, .5);
}
.bk-day-group--tomorrow .bk-day-title { color: #ffce4d; }
.bk-day-group--tomorrow .bk-day-title::before {
    background: #ffce4d; box-shadow: 0 0 10px rgba(255, 200, 60, .5);
}

/* ---- cards GRANDES da home do basquete (poucos jogos = jogos grandes, estilo hero) ---- */
.bk-bc {
    display: block; text-decoration: none; color: inherit;
    background: rgba(15, 15, 15, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 122, 47, 0.16); border-radius: 16px;
    padding: 13px 14px 12px; margin-bottom: 12px;
    transition: border-color .18s ease, background .18s ease, transform .1s ease;
}
.bk-bc:hover { border-color: rgba(255, 122, 47, 0.34); background: rgba(20, 20, 20, 0.62); }
.bk-bc:active { transform: scale(.99); }
.bk-bc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.bk-bc-league { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 170, 110, .95); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-bc-league .bk-ico { width: 15px; height: 15px; color: #ff8c3f; flex: 0 0 15px; }
.bk-bc-when { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #fff; background: rgba(255, 122, 47, .10); border: 1px solid rgba(255, 122, 47, .2); border-radius: 999px; padding: 2px 9px; font-variant-numeric: tabular-nums; }
.bk-bc-teams { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 13px; }
.bk-bc-team { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.bk-bc-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .55)); }
.bk-bc-logo.bk-logo-txt { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.2rem; font-weight: 800; background: rgba(255, 122, 47, .18); color: #ff8c3f; }
.bk-bc-tname { font-size: 13px; font-weight: 700; color: #fff; text-align: center; line-height: 1.2; word-break: break-word; }
.bk-bc-vs { flex: 0 0 auto; font-size: 15px; font-weight: 800; color: #ff8c3f; letter-spacing: .5px; }
.bk-bc-odds { display: flex; gap: 8px; }
.bk-bc-odd { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 50px; padding: 8px 6px; border-radius: 11px; border: 1px solid rgba(255, 122, 47, .22); background: rgba(0, 0, 0, .32); }
.bk-bc-odd-name { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .75); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bk-bc-odd-v { font-size: 17px; font-weight: 800; color: #ff8c3f; font-variant-numeric: tabular-nums; text-shadow: 0 0 8px rgba(255, 122, 47, .28); }
.bk-bc-mkt { margin-top: 9px; text-align: center; font-size: 10.5px; color: rgba(255, 255, 255, .42); }
/* jogo de AMANHA = tema dourado */
.bk-bc--tomorrow { border-color: rgba(255, 200, 60, .16); background: rgba(22, 18, 7, .55); }
.bk-bc--tomorrow:hover { border-color: rgba(255, 200, 60, .34); background: rgba(28, 22, 8, .6); }
.bk-bc--tomorrow .bk-bc-vs, .bk-bc--tomorrow .bk-bc-odd-v { color: #ffce4d; text-shadow: 0 0 8px rgba(255, 200, 60, .28); }
.bk-bc--tomorrow .bk-bc-when { background: rgba(255, 200, 60, .09); border-color: rgba(255, 200, 60, .2); }
.bk-bc--tomorrow .bk-bc-league { color: rgba(255, 206, 90, .95); }
.bk-bc--tomorrow .bk-bc-league .bk-ico { color: #ffce4d; }
.bk-bc--tomorrow .bk-bc-odd { border-color: rgba(255, 200, 60, .22); }
.bk-bc--tomorrow .bk-bc-logo.bk-logo-txt { background: rgba(255, 200, 60, .18); color: #ffce4d; }

.bk-country {
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

/* ---- cards de jogo na home: MESMO padrao compacto do futebol ---- */
.bk-games { display: flex; flex-direction: column; gap: 7px; }

.bk-game {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 13px;
    border: 1px solid rgba(255, 122, 47, 0.14);   /* linha laranja ULTRAFINA */
    background: rgba(15, 15, 15, 0.55);            /* preto fosco + glass leve */
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    transition: border-color .18s ease, background .18s ease;
}
.bk-game:hover { border-color: rgba(255, 122, 47, 0.30); background: rgba(20, 20, 20, 0.6); }

/* HORA — badge lateral */
.bk-game-time {
    flex: 0 0 auto;
    display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1px;
    min-width: 40px; padding: 4px; border-radius: 8px;
    background: rgba(255, 122, 47, 0.06);
    border: 1px solid rgba(255, 122, 47, 0.14);
    color: rgba(255, 150, 90, 0.92); line-height: 1;
}
.bk-game-hour { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
.bk-game-day  { font-size: 8.5px; text-transform: uppercase; letter-spacing: .04em; opacity: .82; }

/* TIMES empilhados — nome completo, sem reticencias */
.bk-game-match { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.bk-team { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bk-logo { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; object-fit: contain; }
.bk-logo-txt {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 122, 47, .18); color: #FF7A2F; font-size: .7rem; font-weight: 800;
}
.bk-name {
    flex: 1 1 auto; min-width: 0; font-size: 12px; font-weight: 600; color: #fff;
    line-height: 1.16; letter-spacing: .1px; white-space: normal; overflow-wrap: break-word;
}

/* ODDS do card = VITRINE (quem aposta e a tela do jogo; o card e um link) */
.bk-game-odds { flex: 0 0 auto; display: flex; gap: 4px; }
.bk-odd {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    width: 42px; min-height: 40px; padding: 5px 2px; border-radius: 9px;
    border: 1px solid rgba(255, 122, 47, 0.18); background: rgba(0, 0, 0, 0.32); color: #fff;
}
.bk-o-k { font-size: 9px; font-weight: 600; color: rgba(255, 255, 255, 0.42); line-height: 1; }
.bk-o-v {
    font-size: 13px; font-weight: 800; color: #ff8c3f; line-height: 1; letter-spacing: -.3px;
    font-variant-numeric: tabular-nums; text-shadow: 0 0 8px rgba(255, 122, 47, 0.28);
}
.bk-odd-none { font-size: .7rem; color: rgba(255, 255, 255, .35); align-self: center; padding: 0 6px; white-space: nowrap; }

.bk-odd-skel {
    width: 42px; height: 40px; border-radius: 9px;
    background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.1), rgba(255,255,255,.05));
    background-size: 200% 100%; animation: bkSkel 1.2s linear infinite;
}
@keyframes bkSkel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.bk-game-arrow { flex: 0 0 auto; width: 16px; height: 16px; color: rgba(255, 255, 255, 0.26); }

/* ---- JOGO AMANHA: tema DOURADO (igual ao futebol) ---- */
.bk-game--tomorrow { border-color: rgba(255, 200, 60, 0.16); background: rgba(22, 18, 7, 0.55); }
.bk-game--tomorrow:hover { border-color: rgba(255, 200, 60, 0.34); background: rgba(28, 22, 8, 0.6); }
.bk-game--tomorrow .bk-game-time { background: rgba(255, 200, 60, 0.07); border-color: rgba(255, 200, 60, 0.16); color: rgba(255, 206, 90, 0.92); }
.bk-game--tomorrow .bk-odd { border-color: rgba(255, 200, 60, 0.20); }
.bk-game--tomorrow .bk-o-v { color: #ffce4d; text-shadow: 0 0 8px rgba(255, 200, 60, 0.28); }
.bk-game--tomorrow .bk-logo-txt { background: rgba(255, 200, 60, .18); color: #ffce4d; }

.bk-empty {
    text-align: center; padding: 34px 18px; color: rgba(255,255,255,.55);
    background: rgba(15, 15, 15, 0.4); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 14px;
}
.bk-empty .bk-ico, .bk-empty .bk-svg { width: 42px; height: 42px; flex-basis: 42px; opacity: .5; color: #FF7A2F; }
.bk-empty p     { margin: 10px 0 4px; font-size: .95rem; color: #fff; }
.bk-empty small { font-size: .78rem; color: rgba(255,255,255,.4); }

@media (prefers-reduced-motion: reduce) {
    .bk-odd-skel { animation: none; }
    .bk-bloco-corpo, .bk-chev { transition: none; }
}

/* --------------------------------------------------------------------------
   Troca de esporte v2 (21/07) — classe no <body>, nao display por elemento.
   MOTIVO: o home.js faz `section.style.display = ''` na secao "Jogos Ao Vivo"
   a cada rodada do polling (60s). Esconder por JS perdia a briga com o timer e
   o futebol reaparecia por baixo do basquete. !important vence estilo inline,
   e o estado que o home.js controla fica INTACTO pra quando voltar.
   -------------------------------------------------------------------------- */
body.sport-basquete .section,
body.sport-basquete #dynamicLeaguesContainer,
body.sport-basquete .combined-section {
    display: none !important;
}
body.sport-basquete #sportBasquete,
body.sport-basquete #sportBasquete .section {
    display: block !important;
}

/* icone em SVG inline — Material Symbols e subconjunto e nome fora dela vira
   TEXTO CRU pro jogador ('sports_basketball' escrito na tela) */
.bk-ico { width: 20px; height: 20px; flex: 0 0 20px; color: #FF7A2F; vertical-align: -4px; }

a.bk-game { text-decoration: none; color: inherit; }

/* ==========================================================================
   BASQUETE — tela do jogo (hero da partida + accordion de mercados)
   Espelha .match-hero / .markets-accordion / .mkt-cat / .odd-btn do futebol.
   ========================================================================== */

.bk-preview-bar {
    background: linear-gradient(135deg, rgba(255,122,47,.18), rgba(255,122,47,.06));
    border: 1px solid rgba(255,122,47,.3);
    color: #FF7A2F; font-size: .78rem; font-weight: 700;
    padding: 8px 14px; margin: 10px 0; border-radius: 10px; text-align: center;
}

/* ---- CARD DA PARTIDA (hero) — igual ao .match-hero do futebol ---- */
.bk-hero {
    background: rgba(15, 15, 15, 0.55);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 122, 47, 0.16); border-radius: 14px;
    box-shadow: none; padding: 10px 12px 11px; text-align: center; margin-bottom: 10px;
}
.bk-hero-badge { margin-bottom: 4px; }
.bk-hero-tag {
    display: inline-block; padding: 2px 9px; border-radius: 999px;
    font-size: 9.5px; font-weight: 700; letter-spacing: .06em;
    background: rgba(255, 122, 47, 0.12); color: #ff8c3f;
}
.bk-hero-teams { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 3px; }
.bk-hero-team { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; min-width: 0; }
.bk-hero-logo { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.bk-hero-logo.bk-logo-txt { border-radius: 50%; font-size: 1rem; }
.bk-hero-name { font-size: 11px; font-weight: 700; color: #fff; text-align: center; line-height: 1.2; word-break: break-word; }
.bk-hero-center { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 0 0 auto; }
.bk-hero-vs { font-size: 15px; font-weight: 800; color: #ff8c3f; letter-spacing: .5px; }
.bk-hero-status { font-size: 10px; color: rgba(255,255,255,.5); font-weight: 500; }
.bk-hero-info {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    font-size: 10px; color: rgba(255,255,255,.5); margin-top: 8px; padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.bk-hero-info-ico { display: inline-flex; }
.bk-hero-info-ico .bk-svg { width: 13px; height: 13px; color: #ff8c3f; }
.bk-hero-dot { opacity: .4; }

/* odds 1X2/moneyline no card do topo — mesmo estilo do .match-hero-odds */
.bk-hero-odds { display: flex; gap: 6px; margin-top: 9px; }
.bk-hero-mktlbl { margin-top: 7px; text-align: center; font-size: 10.5px; color: rgba(255, 255, 255, .42); }
.bk-hero-odd {
    flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 0; min-height: 46px; padding: 7px 4px; border-radius: 9px;
    border: 1px solid rgba(255, 122, 47, 0.20); background: rgba(0, 0, 0, 0.32);
    color: #fff; font: inherit; cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .08s ease;
}
.bk-hero-odd:hover { border-color: rgba(255, 122, 47, 0.5); background: rgba(255, 122, 47, 0.07); }
.bk-hero-odd:active { transform: scale(.95); }
.bk-hero-odd-name {
    font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, 0.9); line-height: 1.1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.bk-hero-odd-v {
    font-size: 13.5px; font-weight: 800; color: #ff8c3f; line-height: 1; letter-spacing: -.3px;
    font-variant-numeric: tabular-nums; text-shadow: 0 0 8px rgba(255, 122, 47, 0.28);
}
.bk-hero-odd.is-picked, .bk-hero-odd.selected {
    background: linear-gradient(180deg, #ff9a4d, #ff7a2f); border-color: #ff9a4d;
    box-shadow: 0 0 14px rgba(255, 122, 47, 0.3);
}
.bk-hero-odd.is-picked .bk-hero-odd-name, .bk-hero-odd.selected .bk-hero-odd-name { color: rgba(30, 15, 0, 0.82); }
.bk-hero-odd.is-picked .bk-hero-odd-v,    .bk-hero-odd.selected .bk-hero-odd-v    { color: #2a1400; text-shadow: none; }

/* ---- "Mercados Disponiveis" — mesmo cabecalho do futebol ---- */
.bk-markets-sec { margin-bottom: 20px; }
.bk-markets-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: #fff; }
.bk-markets-title .bk-svg { width: 20px; height: 20px; color: #ff8c3f; flex: 0 0 20px; }

/* ---- accordion de mercados — espelha .markets-accordion / .mkt-cat ---- */
.bk-accordion { display: flex; flex-direction: column; gap: 10px; }

.bk-bloco {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.bk-bloco:hover { border-color: rgba(255, 122, 47, 0.22); }
.bk-bloco.is-open { border-color: rgba(255, 122, 47, 0.34); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25); }
.bk-bloco-head {
    width: 100%; display: flex; align-items: center; gap: 11px; padding: 14px 15px;
    background: transparent; border: 0; color: #fff; font-family: inherit; text-align: left; cursor: pointer;
    transition: background .2s ease;
}
.bk-bloco-head:hover { background: rgba(255, 122, 47, 0.045); }
.bk-bloco.is-open .bk-bloco-head { background: rgba(255, 122, 47, 0.06); }
.bk-bloco-ico {
    display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    border-radius: 10px; color: #ff8c3f; background: rgba(255, 122, 47, 0.10);
    border: 1px solid rgba(255, 122, 47, 0.20); flex-shrink: 0;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.bk-bloco-ico .bk-svg { width: 18px; height: 18px; }
.bk-bloco-head:hover .bk-bloco-ico, .bk-bloco.is-open .bk-bloco-ico {
    background: rgba(255, 122, 47, 0.17); border-color: rgba(255, 122, 47, 0.4); box-shadow: 0 0 14px rgba(255, 122, 47, 0.22);
}
.bk-bloco-titulo {
    flex: 1; min-width: 0; font-size: 13.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
    color: #f3e6dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bk-bloco.is-open .bk-bloco-titulo { color: #ffc79f; }
.bk-bloco-n {
    flex-shrink: 0; font-size: 11px; font-weight: 700; color: rgba(255, 170, 110, 0.95);
    background: rgba(255, 122, 47, 0.1); border: 1px solid rgba(255, 122, 47, 0.22);
    border-radius: 999px; padding: 1px 8px; min-width: 22px; text-align: center;
}
.bk-chev {
    flex-shrink: 0; width: 20px; height: 20px; color: rgba(255, 255, 255, 0.4);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), color .2s ease;
}
.bk-bloco.is-open > .bk-bloco-head .bk-chev { transform: rotate(180deg); color: #ff8c3f; }

/* corpo com animacao de altura (grid-rows 0fr->1fr, sem JS) */
.bk-bloco-corpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s cubic-bezier(.4, 0, .2, 1); }
.bk-bloco.is-open .bk-bloco-corpo { grid-template-rows: 1fr; }
.bk-bloco-inner { overflow: hidden; min-height: 0; padding: 0 12px; }
.bk-bloco.is-open .bk-bloco-inner { padding-bottom: 12px; }

/* ---- mercado + botoes de odd — espelham .odd-btn / .market-odd-btn ---- */
.bk-market { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.bk-market:first-child { border-top: 0; padding-top: 4px; }
.bk-market-nome { font-size: 13px; font-weight: 700; color: #eadfd7; letter-spacing: .2px; margin-bottom: 10px; }

/* ---- cada MERCADO = card colapsavel (dentro do periodo), espelha .mkt-acc ---- */
.bk-mkt { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.bk-mkt:first-child { border-top: 0; }
.bk-mkt-head {
    width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 2px;
    background: transparent; border: 0; color: #fff; font-family: inherit; text-align: left; cursor: pointer;
}
.bk-mkt-head:hover .bk-mkt-nome { color: #ffc79f; }
.bk-mkt-ico {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
    border-radius: 8px; color: #ff8c3f; background: rgba(255, 122, 47, 0.08);
    border: 1px solid rgba(255, 122, 47, 0.16); flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease;
}
.bk-mkt-ico .bk-svg { width: 15px; height: 15px; }
.bk-mkt.is-open .bk-mkt-ico { background: rgba(255, 122, 47, 0.16); border-color: rgba(255, 122, 47, 0.34); }
.bk-mkt-nome { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: #eadfd7; letter-spacing: .2px; }
.bk-mkt.is-open .bk-mkt-nome { color: #ffc79f; }
.bk-mkt-head .bk-chev { width: 18px; height: 18px; }
.bk-mkt.is-open .bk-mkt-head .bk-chev { transform: rotate(180deg); color: #ff8c3f; }
.bk-mkt-corpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.4, 0, .2, 1); }
.bk-mkt.is-open .bk-mkt-corpo { grid-template-rows: 1fr; }
.bk-mkt-inner { overflow: hidden; min-height: 0; }
.bk-mkt.is-open .bk-mkt-inner { padding-bottom: 13px; }

/* explicacao do mercado — espelha .market-explain-line do futebol, em laranja */
.bk-explica {
    display: flex; gap: 8px; align-items: flex-start;
    padding: 10px 12px; margin-bottom: 12px; border-radius: 10px;
    background: rgba(255, 122, 47, 0.06); border: 1px solid rgba(255, 122, 47, 0.14);
    font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.82);
}
.bk-explica .bk-svg { width: 16px; height: 16px; color: #ff8c3f; flex: 0 0 16px; margin-top: 1px; }

.bk-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.bk-pick {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 12px 8px; border-radius: 12px;
    border: 1px solid rgba(255, 122, 47, 0.20); background: rgba(255, 255, 255, 0.035);
    color: #fff; font: inherit; cursor: pointer; text-align: center;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .1s ease;
}
.bk-pick:hover { background: rgba(255, 122, 47, 0.10); border-color: rgba(255, 122, 47, 0.45); box-shadow: 0 4px 14px rgba(255, 122, 47, 0.14); transform: translateY(-1px); }
.bk-pick:active { transform: scale(.98); }
.bk-pick.is-picked, .bk-pick.selected { background: rgba(255, 122, 47, 0.18); border-color: #FF7A2F; box-shadow: 0 0 16px rgba(255, 122, 47, 0.20); }
.bk-pick-lbl { font-size: 11px; line-height: 1.3; color: rgba(255, 255, 255, 0.55); font-weight: 600; word-break: break-word; }
.bk-pick.is-picked .bk-pick-lbl { color: #fff; }
.bk-pick-val { font-size: 16px; font-weight: 800; color: #ff8c3f; font-variant-numeric: tabular-nums; text-shadow: 0 0 8px rgba(255, 122, 47, 0.22); }

/* ---- mercado de TOTAL: linhas pareadas (Mais/Menos) ---- */
.bk-line-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bk-line-row:last-child { margin-bottom: 0; }
.bk-line-hdp { min-width: 46px; font-size: 13px; font-weight: 800; color: #ff8c3f; text-align: center; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.bk-line-picks { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-line-extra { margin-top: 8px; }
.bk-line-more {
    margin-top: 8px; width: 100%; padding: 8px; border-radius: 10px;
    border: 1px dashed rgba(255, 122, 47, 0.3); background: transparent; color: #ff8c3f;
    font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.bk-line-more:hover { background: rgba(255, 122, 47, 0.08); border-color: rgba(255, 122, 47, 0.5); }

