/* ============================================
   Bolão NAMOSCA — Public Stylesheet v3
   Identidade: dark navy + teal/green NAMOSCA
   Fontes: Sora (display) + Inter (body) + Space Grotesk (eyebrows/UI)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Cores baseadas no logo NAMOSCA (default, podem ser sobrescritas por inline CSS do branding) */
    --bolao-bg:          #0a0e1a;
    --bolao-bg-alt:      #0d1220;
    --bolao-card:        #131825;
    --bolao-card-elev:   #1a1f2e;
    --bolao-line:        #232a3d;
    --bolao-line-soft:   #2e364d;
    --bolao-muted:       #7a82a0;       /* mais claro que antes (antes #6c7494) */
    --bolao-text:        #e8ebf2;
    --bolao-text-dim:    #c5cce0;       /* CLAREADO de #a5acc4 — passa WCAG AA */

    /* Teal/green NAMOSCA (cor primária do logo) */
    --bolao-teal:        #1ec596;
    --bolao-teal-bright: #2dd4a9;
    --bolao-teal-dim:    #14a37b;
    --bolao-teal-dark:   #0f7d5e;

    /* Acentos */
    --bolao-navy:        #1a2545;
    --bolao-gold:        #ffd84d;
    --bolao-pink:        #ff4787;
    --bolao-red:         #ff5566;

    --grad-primary:      linear-gradient(135deg, var(--bolao-teal) 0%, var(--bolao-teal-bright) 100%);
    --grad-hero:         linear-gradient(135deg, var(--bolao-teal) 0%, var(--bolao-teal-dark) 100%);
    --grad-gold:         linear-gradient(135deg, #ffd84d 0%, #ff8c00 100%);
    --grad-fire:         linear-gradient(135deg, #ff4787 0%, #ffd84d 100%);
    --grad-navy:         linear-gradient(180deg, #1a2545 0%, #0a0e1a 100%);
}

/* Body reset nas páginas do bolão */
body.bolao-page {
    background: var(--bolao-bg);
    color: var(--bolao-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Esconde título do post/página renderizado pelo tema (Blocksy, etc.)
   nas páginas do bolão. O plugin tem seu próprio header com logo. */
body.bolao-page .page-title,
body.bolao-page .entry-title,
body.bolao-page .ct-hero,
body.bolao-page .hero-section,
body.bolao-page header.entry-header,
body.bolao-page .ct-page-title,
body.bolao-page [class*="page-hero"],
body.bolao-page [class*="page-header"]:not(.bolao-plugin-header) {
    display: none !important;
}

/* Wrapper do plugin */
.bolao-app {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--bolao-text);
    line-height: 1.6;
    background: var(--bolao-bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Override defensivo contra temas WordPress que escurecem textos.
   Força cores claras em TODOS os elementos textuais dentro do plugin.
   Se um elemento precisa ser propositadamente escuro, ele tem que ter
   classe específica que sobrescreve essa regra. */
.bolao-app h1,
.bolao-app h2,
.bolao-app h3,
.bolao-app h4,
.bolao-app h5,
.bolao-app h6,
.bolao-app p,
.bolao-app li,
.bolao-app span:not(.bolao-title-gradient):not([style*="color"]),
.bolao-app div:not([style*="color"]),
.bolao-app a:not(.bolao-btn-primary):not([style*="color"]),
.bolao-app label,
.bolao-app th,
.bolao-app td,
.bolao-app .bolao-modal h3,
.bolao-app .bolao-modal label {
    color: var(--bolao-text);
}

/* Botões primários continuam com texto escuro (sobre fundo verde) */
.bolao-app .bolao-btn-primary { color: #0a0e1a !important; }
.bolao-app .bolao-btn-primary:hover { color: #0a0e1a !important; }

/* Inputs e textareas também forçados (alguns temas pintam cinza) */
.bolao-app input[type="text"],
.bolao-app input[type="email"],
.bolao-app input[type="number"],
.bolao-app input[type="tel"],
.bolao-app input[type="password"],
.bolao-app textarea,
.bolao-app select {
    color: var(--bolao-text);
    color-scheme: dark;
}

/* Headers de modal */
.bolao-modal-header h3,
.bolao-modal h3 {
    color: var(--bolao-text) !important;
}

/* Grain overlay sutil para textura */
.bolao-app::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* Glow radial decorativo no canto */
.bolao-app::after {
    content: '';
    position: fixed;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(30,197,150,0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.bolao-app > * { position: relative; z-index: 2; }

/* ============================================
   HEADER do Plugin
   ============================================ */

.bolao-plugin-header {
    border-bottom: 1px solid var(--bolao-line);
    padding: 18px 0;
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 50;
}
.bolao-plugin-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.bolao-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--bolao-text);
    background: transparent !important;  /* respeita PNG transparente */
}
.bolao-logo-symbol {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent !important;
}
.bolao-logo-wordmark {
    height: 22px;
    object-fit: contain;
    background: transparent !important;
    /* removido o filter brightness que causava aparência de fundo escuro */
}
.bolao-nav {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.bolao-nav a {
    color: var(--bolao-text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.15s;
}
.bolao-nav a:hover { color: var(--bolao-text); background: var(--bolao-card); }
.bolao-nav a.active { color: var(--bolao-teal-bright); }

/* Mobile: header handled by hamburger menu section below */

/* ============================================
   TIPOGRAFIA (Sora pros títulos, Space Grotesk pros eyebrows)
   ============================================ */

.bolao-display {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--bolao-text) !important;  /* força contra tema externo */
}

/* Quando .bolao-display contém um .bolao-title-gradient, o pedaço gradient
   deve manter transparent. Senão herda o creme. */
.bolao-display .bolao-title-gradient {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

.bolao-mono {
    font-family: 'Space Grotesk', sans-serif;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.bolao-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--bolao-teal-bright);
    font-weight: 600;
}

.bolao-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.04em;
    line-height: 0.98;
    margin: 0;
    color: var(--bolao-text);  /* garante cor clara nos pedaços normais */
}

/* Pedaços da palavra que NÃO estão em destaque (não-gradient) precisam ser claros */
.bolao-title:not(.bolao-title-gradient) {
    color: var(--bolao-text);
}

.bolao-title-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.bolao-h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 16px 0;
    color: var(--bolao-text);
}

/* ============================================
   COMPONENTES
   ============================================ */

.bolao-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bolao-card {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 18px;
    padding: 28px;
    transition: border-color 0.3s, transform 0.3s;
}
.bolao-card:hover { border-color: var(--bolao-line-soft); }

.bolao-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
    line-height: 1;
}

.bolao-btn-primary {
    background: var(--grad-primary);
    color: #0a0e1a;
    font-weight: 700;
    box-shadow: 0 0 0 rgba(30,197,150,0);
}
.bolao-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px -10px rgba(30,197,150,0.5), 0 0 30px rgba(45,212,169,0.25);
    color: #0a0e1a;  /* mantém escuro no hover */
}
.bolao-btn-primary:active { transform: translateY(0); }

.bolao-btn-secondary {
    background: transparent;
    color: var(--bolao-text);
    border: 1px solid var(--bolao-line-soft);
}
.bolao-btn-secondary:hover { border-color: var(--bolao-teal); color: var(--bolao-teal-bright); }

.bolao-btn-ghost {
    background: transparent;
    color: var(--bolao-text-dim);
}
.bolao-btn-ghost:hover { color: var(--bolao-teal-bright); }

.bolao-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Inputs */
.bolao-input,
.bolao-select {
    width: 100%;
    background: var(--bolao-card-elev);
    border: 1px solid var(--bolao-line);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--bolao-text) !important;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    /* Força o navegador a renderizar dropdown nativo em dark mode */
    color-scheme: dark;
}
.bolao-select option {
    background: #131825;
    color: #e8ebf2;
    padding: 8px;
}
.bolao-select option:checked,
.bolao-select option:hover {
    background: rgba(30,197,150,0.15);
    color: #2dd4a9;
}
.bolao-input:focus,
.bolao-select:focus {
    outline: none;
    border-color: var(--bolao-teal);
    box-shadow: 0 0 0 3px rgba(30,197,150,0.15);
}
.bolao-input::placeholder { color: var(--bolao-muted); }
.bolao-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--bolao-text-dim);
    margin-bottom: 8px;
}

.bolao-score-input {
    width: 54px;
    height: 54px;
    text-align: center;
    background: var(--bolao-card-elev);
    border: 1px solid var(--bolao-line);
    border-radius: 12px;
    color: var(--bolao-text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    transition: all 0.2s;
    -moz-appearance: textfield;
}
.bolao-score-input::-webkit-outer-spin-button,
.bolao-score-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bolao-score-input:focus {
    outline: none;
    border-color: var(--bolao-teal);
    box-shadow: 0 0 0 3px rgba(30,197,150,0.2);
    background: rgba(30,197,150,0.06);
}
.bolao-score-input.has-value {
    border-color: var(--bolao-line-soft);
    color: var(--bolao-teal-bright);
}

/* Badge */
.bolao-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}
.bolao-badge-pending  { background: rgba(255,216,77,0.15);  color: var(--bolao-gold); }
.bolao-badge-approved { background: rgba(30,197,150,0.15);  color: var(--bolao-teal-bright); }
.bolao-badge-rejected { background: rgba(255,85,102,0.15); color: var(--bolao-red); }
.bolao-badge-live     {
    background: rgba(255,85,102,0.15);
    color: var(--bolao-red);
    animation: pulse 1.4s infinite;
}
.bolao-badge-finished { background: rgba(108,116,148,0.15); color: var(--bolao-text-dim); }
.bolao-badge-scheduled { background: rgba(26,37,69,0.6); color: var(--bolao-text-dim); }

@keyframes pulse {
    0%, 50%   { opacity: 1; }
    51%, 100% { opacity: 0.55; }
}

/* Progress bar */
.bolao-progress {
    height: 6px;
    background: var(--bolao-line);
    border-radius: 999px;
    overflow: hidden;
}
.bolao-progress-bar {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(.4,0,.2,1);
}

/* ============================================
   LANDING PAGE
   ============================================ */

.bolao-hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
}
.bolao-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30,197,150,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,197,150,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.bolao-hero-symbol {
    width: 280px;
    height: auto;
    opacity: 0.15;
    position: absolute;
    right: -40px;
    bottom: 5%;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 60px rgba(30,197,150,0.3));
    background: transparent;
}

@media (max-width: 768px) {
    .bolao-hero-symbol { display: none; }
}

.bolao-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 560px;
    margin: 32px 0;
}
.bolao-countdown-unit {
    background: rgba(19, 24, 37, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bolao-line);
    border-radius: 14px;
    padding: 20px 8px;
    text-align: center;
}
.bolao-countdown-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: var(--bolao-teal-bright);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.bolao-countdown-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--bolao-text-dim);
    margin-top: 8px;
    font-weight: 600;
}

/* ============================================
   MATCH CARD (palpites + jogos públicos)
   ============================================ */

.bolao-match-card {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 14px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    transition: border-color 0.2s, transform 0.2s;
}
.bolao-match-card:hover { border-color: var(--bolao-line-soft); }
.bolao-match-card.saved {
    border-color: rgba(30,197,150,0.4);
    background: linear-gradient(135deg, rgba(30,197,150,0.04), transparent 60%);
}
.bolao-match-card.live {
    border-color: rgba(255,85,102,0.5);
    background: linear-gradient(135deg, rgba(255,85,102,0.05), transparent 60%);
}

.bolao-team {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.bolao-team-home { justify-content: flex-end; text-align: right; }
.bolao-team-away { justify-content: flex-start; text-align: left; }
.bolao-team-flag {
    font-size: 28px;
    line-height: 1;
}
.bolao-team-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--bolao-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bolao-match-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    color: var(--bolao-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    font-weight: 500;
}
.bolao-scores {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bolao-score-x {
    font-family: 'Sora', sans-serif;
    color: var(--bolao-text-dim);
    font-weight: 700;
    font-size: 18px;
}
.bolao-score-display {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--bolao-text);
    min-width: 32px;
    text-align: center;
}
.bolao-score-display.live {
    color: var(--bolao-red);
    animation: pulse 1.5s infinite;
}
.bolao-score-flash {
    animation: scoreFlash 1.5s ease-out;
}
@keyframes scoreFlash {
    0%   { transform: scale(1); color: var(--bolao-teal-bright); }
    30%  { transform: scale(1.4); color: var(--bolao-teal-bright); text-shadow: 0 0 20px var(--bolao-teal); }
    100% { transform: scale(1); }
}

/* ============================================
   RANKING
   ============================================ */

.bolao-rank-row {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bolao-line);
    transition: background 0.2s, transform 0.3s;
}
.bolao-rank-row:hover { background: rgba(255,255,255,0.02); }
.bolao-rank-row.bolao-me {
    background: linear-gradient(90deg, rgba(30,197,150,0.08), transparent);
    border-left: 3px solid var(--bolao-teal);
}
.bolao-rank-position {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--bolao-text-dim);
    line-height: 1;
    text-align: center;
}
.bolao-rank-1 { color: var(--bolao-gold); }
.bolao-rank-2 { color: #c0c0c8; }
.bolao-rank-3 { color: #cd7f32; }

.bolao-rank-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--bolao-line-soft);
    object-fit: cover;
    background: var(--bolao-card-elev);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bolao-text);
    font-weight: 700;
    font-size: 16px;
}
.bolao-rank-name { font-weight: 600; font-size: 15px; }
.bolao-rank-prize {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--bolao-teal-bright);
}
.bolao-rank-points {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--bolao-text);
    text-align: right;
}
.bolao-trend { font-size: 11px; margin-left: 4px; }
.bolao-trend-up   { color: var(--bolao-teal-bright); }
.bolao-trend-down { color: var(--bolao-red); }
.bolao-trend-same { color: var(--bolao-text-dim); }

/* ============================================
   ALERTS / TOAST
   ============================================ */

.bolao-alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 3px solid;
}
.bolao-alert-info    { background: rgba(30,197,150,0.05); border-color: var(--bolao-teal-dim); color: var(--bolao-text); }
.bolao-alert-success { background: rgba(30,197,150,0.08); border-color: var(--bolao-teal); color: var(--bolao-teal-bright); }
.bolao-alert-warn    { background: rgba(255,216,77,0.08); border-color: var(--bolao-gold); color: var(--bolao-gold); }
.bolao-alert-error   { background: rgba(255,85,102,0.08); border-color: var(--bolao-red); color: var(--bolao-red); }

.bolao-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 22px;
    border-radius: 12px;
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    color: var(--bolao-text);
    font-size: 14px;
    z-index: 9999;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    max-width: 360px;
    box-shadow: 0 14px 40px -10px rgba(0,0,0,0.5);
}
.bolao-toast.show { transform: translateY(0); opacity: 1; }
.bolao-toast-success { border-color: var(--bolao-teal); }
.bolao-toast-success::before { content: '✓ '; color: var(--bolao-teal-bright); font-weight: 700; }
.bolao-toast-error { border-color: var(--bolao-red); }
.bolao-toast-error::before { content: '✗ '; color: var(--bolao-red); font-weight: 700; }

.bolao-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: var(--bolao-teal-bright);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* PIX copy box */
.bolao-pix-box {
    background: var(--bolao-card-elev);
    border: 1px dashed var(--bolao-line-soft);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    word-break: break-all;
    color: var(--bolao-text);
}

/* Tabs */
.bolao-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--bolao-line);
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.bolao-tab {
    padding: 12px 18px;
    border: none;
    background: transparent;
    color: var(--bolao-text-dim);
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}
.bolao-tab:hover { color: var(--bolao-text); }
.bolao-tab.active {
    color: var(--bolao-teal-bright);
    border-bottom-color: var(--bolao-teal);
}

/* Animações */
.bolao-fade-in { animation: fadeIn 0.6s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.bolao-stagger > * {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}
.bolao-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.bolao-stagger > *:nth-child(2) { animation-delay: 0.10s; }
.bolao-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.bolao-stagger > *:nth-child(4) { animation-delay: 0.20s; }
.bolao-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.bolao-stagger > *:nth-child(6) { animation-delay: 0.30s; }
.bolao-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.bolao-stagger > *:nth-child(8) { animation-delay: 0.40s; }

/* Standings table */
.bolao-standings {
    width: 100%;
    border-collapse: collapse;
}
.bolao-standings th, .bolao-standings td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--bolao-line);
    color: var(--bolao-text);
}
.bolao-standings th {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bolao-text-dim);
    font-weight: 600;
}
.bolao-standings td.num { text-align: center; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.bolao-standings tr.qualified td { background: rgba(30,197,150,0.04); }

/* ============================================
   FOOTER do Plugin
   ============================================ */

.bolao-plugin-footer {
    border-top: 1px solid var(--bolao-line);
    padding: 60px 0 32px;
    margin-top: 80px;
    background: rgba(10, 14, 26, 0.5);
    position: relative;
    z-index: 5;
}
.bolao-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.bolao-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .bolao-footer-top { grid-template-columns: 1fr; gap: 32px; }
}
.bolao-footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.bolao-footer-brand-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
}
.bolao-footer-symbol {
    width: 40px;
    height: 40px;
    background: transparent !important;
}
.bolao-footer-tagline {
    color: var(--bolao-text-dim);
    font-size: 14px;
    line-height: 1.6;
    max-width: 360px;
}
.bolao-footer-col-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--bolao-text);
    margin: 0 0 16px 0;
}
.bolao-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bolao-footer-links a {
    color: var(--bolao-text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}
.bolao-footer-links a:hover { color: var(--bolao-teal-bright); }
.bolao-footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.bolao-footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bolao-text-dim);
    text-decoration: none;
    transition: all 0.2s;
}
.bolao-footer-socials a:hover {
    color: var(--bolao-teal-bright);
    border-color: var(--bolao-teal);
    transform: translateY(-2px);
}
.bolao-footer-bottom {
    border-top: 1px solid var(--bolao-line);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.bolao-footer-copyright {
    color: var(--bolao-text-dim);
    font-size: 13px;
}
.bolao-footer-disclaimer {
    color: var(--bolao-muted);
    font-size: 12px;
    max-width: 480px;
    text-align: right;
}
@media (max-width: 768px) {
    .bolao-footer-bottom { flex-direction: column; align-items: flex-start; }
    .bolao-footer-disclaimer { text-align: left; }
}

/* Responsive */
@media (max-width: 768px) {
    .bolao-container { padding: 0 16px; }
    .bolao-match-card {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
    .bolao-team-home, .bolao-team-away {
        justify-content: center;
        text-align: center;
    }
    .bolao-rank-row {
        grid-template-columns: 40px 1fr auto;
        gap: 10px;
        padding: 12px;
    }
    .bolao-rank-prize { display: none; }
}

/* ============================================
   PALPITES — página principal
   ============================================ */

/* Rules box (regras colapsáveis) */
.bolao-rules-box {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
}
.bolao-rules-box summary {
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    color: var(--bolao-text);
    font-size: 14px;
    list-style: none;
    user-select: none;
    transition: background 0.15s;
}
.bolao-rules-box summary::-webkit-details-marker { display: none; }
.bolao-rules-box summary:hover { background: rgba(255,255,255,0.02); }
.bolao-rules-box[open] summary {
    border-bottom: 1px solid var(--bolao-line);
}
.bolao-rules-content { padding: 20px; }
.bolao-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.bolao-rules-grid h4 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: var(--bolao-teal-bright);
    margin: 0 0 10px 0;
    font-weight: 700;
}
.bolao-rules-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: var(--bolao-text-dim);
}
.bolao-rules-grid li {
    padding: 4px 0;
    border-bottom: 1px dashed var(--bolao-line);
}
.bolao-rules-grid li:last-child { border-bottom: none; }
.bolao-rules-grid strong { color: var(--bolao-text); font-family: 'Space Grotesk', sans-serif; }

/* Phase tabs (Grupos / 16-avos / ... / Bônus) */
.bolao-phase-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--bolao-line);
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0;
}
.bolao-phase-tab {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 14px 14px;
    color: var(--bolao-text-dim);
    font-family: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 90px;
    transition: all 0.15s;
    white-space: nowrap;
}
.bolao-phase-tab:hover { color: var(--bolao-text); }
.bolao-phase-tab.active {
    color: var(--bolao-teal-bright);
    border-bottom-color: var(--bolao-teal);
}
.bolao-phase-tab .tab-icon { font-size: 18px; }
.bolao-phase-tab .tab-label {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
}
.bolao-phase-tab .tab-progress {
    font-size: 10px;
    color: var(--bolao-muted);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}
.bolao-phase-tab.active .tab-progress { color: var(--bolao-teal); }

/* Phase headers */
.bolao-phase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

/* Stack de grupos verticais */
.bolao-groups-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bolao-group-block {
    padding: 0;
    overflow: hidden;
}
.bolao-group-block-header {
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(30,197,150,0.05), transparent);
    border-bottom: 1px solid var(--bolao-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.bolao-group-block-letter {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--bolao-teal), var(--bolao-teal-bright));
    color: #0a0e1a;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 16px;
}
.bolao-projected-toggle {
    background: transparent;
    border: 1px solid var(--bolao-line);
    color: var(--bolao-text-dim);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.bolao-projected-toggle:hover {
    color: var(--bolao-teal-bright);
    border-color: var(--bolao-teal-dim);
}

/* Projected standings table */
.bolao-projected {
    padding: 16px 20px;
    background: rgba(30,197,150,0.03);
    border-bottom: 1px solid var(--bolao-line);
}
.bolao-projected-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.bolao-projected-table th {
    text-align: left;
    padding: 6px 8px;
    color: var(--bolao-text-dim);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    border-bottom: 1px solid var(--bolao-line);
}
.bolao-projected-table td {
    padding: 6px 8px;
    color: var(--bolao-text);
}
.bolao-projected-table th:not(:first-child):not(:nth-child(2)),
.bolao-projected-table td:not(:first-child):not(:nth-child(2)) {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}
.bolao-projected-table tr.qualified td {
    background: rgba(30,197,150,0.06);
    color: var(--bolao-teal-bright);
}
.bolao-projected-table tr.qualified td strong { color: var(--bolao-teal-bright); }

/* Lista de jogos */
.bolao-guess-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--bolao-line);
}

/* Linha de palpite */
.bolao-guess-row {
    background: var(--bolao-card);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    transition: background 0.15s;
}
.bolao-guess-row:hover { background: var(--bolao-card-elev); }
.bolao-guess-row.saved { background: linear-gradient(90deg, rgba(30,197,150,0.04), var(--bolao-card)); }
.bolao-guess-row.finished { opacity: 0.85; }

.bolao-guess-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.bolao-guess-team.home {
    justify-content: flex-end;
    text-align: right;
}
.bolao-guess-team.away {
    justify-content: flex-start;
    text-align: left;
}
.bolao-guess-flag { font-size: 22px; flex-shrink: 0; }
.bolao-guess-name {
    font-weight: 600;
    color: var(--bolao-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.bolao-guess-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bolao-guess-inputs .bolao-score-input {
    width: 46px;
    height: 46px;
    font-size: 18px;
}

.bolao-guess-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    color: var(--bolao-text-dim);
    text-align: right;
    min-width: 100px;
}
.bolao-guess-date { font-weight: 600; color: var(--bolao-text-dim); }
.bolao-guess-real { color: var(--bolao-text); }
.bolao-guess-real strong { color: var(--bolao-teal-bright); }
.bolao-guess-points {
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 11px;
}
.bolao-guess-points.win { background: rgba(30,197,150,0.15); color: var(--bolao-teal-bright); }
.bolao-guess-points.zero { background: rgba(108,116,148,0.15); color: var(--bolao-muted); }
.bolao-guess-locked { color: var(--bolao-muted); }
.bolao-guess-empty { color: var(--bolao-muted); font-style: italic; }
.bolao-guess-saved-tag { color: var(--bolao-teal-bright); }

@media (max-width: 720px) {
    .bolao-guess-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    .bolao-guess-team.home, .bolao-guess-team.away {
        justify-content: center;
        text-align: center;
    }
    .bolao-guess-meta { align-items: center; text-align: center; }
}

/* Bracket info box */
.bolao-bracket-info {
    padding: 14px 16px;
    margin: 0 0 16px 0;
    background: rgba(255,216,77,0.06);
    border-left: 3px solid var(--bolao-gold);
    border-radius: 6px;
    font-size: 13px;
    color: var(--bolao-text-dim);
    line-height: 1.55;
}
.bolao-bracket-info strong { color: var(--bolao-text); }

/* Bônus grid */
.bolao-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
}
.bolao-bonus-card {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.2s;
}
.bolao-bonus-card.filled {
    border-color: rgba(30,197,150,0.4);
    background: linear-gradient(135deg, rgba(30,197,150,0.04), var(--bolao-card));
}
.bolao-bonus-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.bolao-bonus-icon { font-size: 32px; line-height: 1; }
.bolao-bonus-label {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--bolao-text);
}
.bolao-bonus-pts {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--bolao-gold);
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}
.bolao-bonus-earned-badge {
    margin-left: auto;
    background: rgba(30,197,150,0.15);
    color: var(--bolao-teal-bright);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}
.bolao-bonus-help {
    margin-top: 10px;
    font-size: 12px;
    color: var(--bolao-text-dim);
    line-height: 1.5;
}

/* Sticky bar */
.bolao-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10,14,26,0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--bolao-line);
    z-index: 100;
    padding: 12px 0;
}
.bolao-sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.bolao-sticky-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 200px;
}
.bolao-sticky-progress-label {
    font-size: 13px;
    color: var(--bolao-text);
    font-weight: 600;
    white-space: nowrap;
}
.bolao-sticky-progress-label span { color: var(--bolao-teal-bright); font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.bolao-sticky-deadline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

@media (max-width: 720px) {
    .bolao-sticky-inner { padding: 0 12px; gap: 8px; }
    .bolao-sticky-progress { width: 100%; }
    .bolao-sticky-progress > div:last-child { flex: 1; }
}

/* Section label helper */
.bolao-section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--bolao-text-dim);
    font-weight: 700;
    margin-bottom: 10px;
}

/* ============================================
   PÁGINA DE PALPITES
   ============================================ */

.bolao-guesses-topbar {
    background: linear-gradient(135deg, rgba(30,197,150,0.05), transparent 60%);
    border-bottom: 1px solid var(--bolao-line);
    padding: 32px 0 24px;
    margin-bottom: 16px;
}

/* Tabs principais — grandes e com destaque */
.bolao-guesses-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}
.bolao-guesses-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 12px 14px;
    background: var(--bolao-card);
    border: 2px solid var(--bolao-line);
    color: var(--bolao-text-dim);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    min-height: 100px;
}
.bolao-guesses-tab:hover:not(:disabled) {
    color: var(--bolao-text);
    border-color: var(--bolao-line-soft);
    background: rgba(255,255,255,0.03);
}
.bolao-guesses-tab.active {
    background: linear-gradient(135deg, rgba(30,197,150,0.12), rgba(30,197,150,0.04));
    color: var(--bolao-teal-bright);
    border-color: rgba(30,197,150,0.5);
    box-shadow: 0 0 0 1px rgba(30,197,150,0.2);
}
.bolao-guesses-tab.tab-locked,
.bolao-guesses-tab:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.5);
}
.bgt-icon { font-size: 28px; line-height: 1; }
.bgt-label { font-size: 14px; font-weight: 700; color: inherit; }
.bgt-lock { font-size: 16px; margin-top: 2px; }
.bolao-tab-counter {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--bolao-text-dim);
    margin-top: 2px;
}
.bolao-guesses-tab.active .bolao-tab-counter,
.bolao-tab-counter.complete {
    background: rgba(30,197,150,0.15);
    color: var(--bolao-teal-bright);
}

@media (max-width: 640px) {
    .bolao-guesses-tabs { grid-template-columns: repeat(2, 1fr); }
    .bolao-guesses-tab { min-height: 80px; padding: 14px 8px; }
    .bgt-icon { font-size: 22px; }
    .bgt-label { font-size: 12px; }
}

/* Card de regras */
.bolao-rules-card {
    background: linear-gradient(135deg, rgba(30,197,150,0.04), transparent 60%);
    border: 1px solid var(--bolao-line);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
}

/* === Fase de grupos === */
.bolao-groups-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
}
.bolao-group-guess-card {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 14px;
    overflow: hidden;
}
.bolao-group-guess-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--bolao-line);
    background: linear-gradient(135deg, rgba(30,197,150,0.05), transparent 60%);
}
.bolao-group-guess-letter {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--bolao-teal), var(--bolao-teal-bright));
    color: #0a0e1a;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}
.bolao-mini-btn {
    background: transparent;
    border: 1px solid var(--bolao-line);
    color: var(--bolao-text-dim);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.bolao-mini-btn:hover:not(:disabled) { color: var(--bolao-text); border-color: var(--bolao-line-soft); }
.bolao-mini-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.bolao-mini-btn-accent {
    border-color: rgba(30,197,150,0.4);
    color: var(--bolao-teal-bright);
}
.bolao-mini-btn-accent:hover:not(:disabled) {
    background: rgba(30,197,150,0.08);
    border-color: var(--bolao-teal);
}

.bolao-group-guess-matches {
    padding: 8px 12px;
}
.bolao-match-row {
    display: grid;
    grid-template-columns: 48px 1fr auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(35,42,61,0.4);
    position: relative;
}
.bolao-match-row:last-child { border-bottom: none; }
.bolao-match-row.is-filled {
    background: linear-gradient(90deg, rgba(30,197,150,0.04), transparent);
}
.bolao-match-row-date {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--bolao-text-dim);
    text-align: center;
    line-height: 1.2;
}
.bolao-match-row-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.bolao-match-row-team.home { justify-content: flex-end; text-align: right; }
.bolao-match-row-team.away { justify-content: flex-start; }
.bolao-match-row-flag { font-size: 18px; flex-shrink: 0; }
.bolao-match-row-name {
    font-weight: 500;
    font-size: 13px;
    color: var(--bolao-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bolao-match-row-scores {
    display: flex;
    align-items: center;
    gap: 6px;
}
.bolao-match-row-scores .bolao-score-input {
    width: 42px;
    height: 42px;
    font-size: 18px;
}
.bolao-match-row-scores .bolao-score-x {
    font-size: 14px;
    color: var(--bolao-text-dim);
}
.bolao-match-row-points {
    position: absolute;
    right: -2px;
    top: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--bolao-teal-bright);
    background: rgba(30,197,150,0.12);
    padding: 1px 6px;
    border-radius: 999px;
}
.bolao-match-row-locked {
    position: absolute;
    right: 6px;
    top: 12px;
    font-size: 14px;
    opacity: 0.6;
}

/* Projeção do grupo */
.bolao-projected-standings {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--bolao-line);
    background: rgba(0,0,0,0.15);
}
.bolao-projected-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.bolao-projected-table td {
    padding: 5px 4px;
    color: var(--bolao-text);
}
.bolao-projected-table td.pos { width: 18px; color: var(--bolao-text-dim); font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.bolao-projected-table td.flag { width: 22px; }
.bolao-projected-table td.pts { width: 30px; text-align: right; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.bolao-projected-table tr.qualified td { color: var(--bolao-teal-bright); font-weight: 600; }
.bolao-projected-empty {
    text-align: center;
    padding: 8px;
    color: var(--bolao-text-dim);
    font-size: 11px;
    font-style: italic;
}

/* === Mata-mata: stage pills === */
.bolao-bracket-stage-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.bolao-stage-pill {
    padding: 9px 14px;
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 9px;
    color: var(--bolao-text-dim);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}
.bolao-stage-pill:hover { color: var(--bolao-text); }
.bolao-stage-pill.active {
    background: var(--bolao-teal);
    color: #0a0e1a;
    border-color: var(--bolao-teal);
    font-weight: 700;
}

/* === Bracket slots === */
.bolao-bracket-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.bolao-bracket-slot {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 10px;
    padding: 12px;
    transition: border-color 0.2s;
}
.bolao-bracket-slot.is-filled {
    background: linear-gradient(135deg, rgba(30,197,150,0.06), transparent 60%);
    border-color: rgba(30,197,150,0.3);
}
.bolao-bracket-slot-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bolao-text-dim);
    font-weight: 700;
    margin-bottom: 6px;
}
.bolao-bracket-slot-team {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bolao-card-elev);
    border: 1px solid var(--bolao-line);
    border-radius: 8px;
    color: var(--bolao-text);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    text-align: left;
    transition: all 0.15s;
}
.bolao-bracket-slot-team:hover:not(:disabled) {
    border-color: var(--bolao-teal-dim);
}
.bolao-bracket-slot-team:disabled { opacity: 0.6; cursor: not-allowed; }
.bolao-bracket-slot-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === Modal team picker === */
.bolao-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.bolao-modal {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 14px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.bolao-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bolao-line);
}
.bolao-modal-close {
    background: transparent;
    border: none;
    color: var(--bolao-text-dim);
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    line-height: 1;
}
.bolao-modal-close:hover { color: var(--bolao-text); background: rgba(255,255,255,0.05); }
.bolao-modal-body {
    overflow-y: auto;
    padding: 8px 12px 12px;
}
.bolao-team-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--bolao-text);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    text-align: left;
    transition: all 0.12s;
    margin-bottom: 2px;
}
.bolao-team-option:hover {
    background: rgba(30,197,150,0.06);
    border-color: rgba(30,197,150,0.2);
}
.bolao-team-option > span:nth-child(2) {
    flex: 1;
    font-weight: 500;
}
.bolao-team-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    color: var(--bolao-text-dim);
    font-weight: 600;
}

/* === Bônus === */
.bolao-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}
.bolao-bonus-card {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bolao-bonus-card.bonus-champion {
    background: linear-gradient(135deg, rgba(255,216,77,0.08), transparent 60%);
    border-color: rgba(255,216,77,0.3);
}
.bolao-bonus-icon { font-size: 36px; line-height: 1; }
.bolao-bonus-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--bolao-text);
}
.bolao-bonus-desc {
    color: var(--bolao-text-dim);
    font-size: 13px;
    line-height: 1.55;
    margin-top: 4px;
}

/* === Summary === */
.bolao-summary-stat {
    background: var(--bolao-card-elev);
    border: 1px solid var(--bolao-line);
    border-radius: 12px;
    padding: 16px 18px;
}
.bolao-summary-stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bolao-text-dim);
    font-weight: 700;
    margin-bottom: 8px;
}
.bolao-summary-stat-value {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: var(--bolao-text);
    line-height: 1;
}
.bolao-summary-stat-ok {
    color: var(--bolao-teal-bright);
    font-size: 13px;
    margin-top: 8px;
    font-weight: 600;
}
.bolao-summary-stat-warning {
    color: var(--bolao-gold);
    font-size: 13px;
    margin-top: 8px;
    font-weight: 600;
}

@media (max-width: 640px) {
    .bolao-match-row {
        grid-template-columns: 38px 1fr auto 1fr;
        gap: 6px;
    }
    .bolao-match-row-scores .bolao-score-input { width: 38px; height: 38px; font-size: 16px; }
    .bolao-match-row-name { font-size: 12px; }
}

/* === Pills de seleção de grupo === */
.bolao-group-pills {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 8px;
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 14px;
}
.bolao-group-pill {
    flex: 1;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--bolao-text-dim);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.15s;
}
.bolao-group-pill:hover { background: rgba(255,255,255,0.03); color: var(--bolao-text); }
.bolao-group-pill.active {
    background: var(--bolao-bg);
    color: var(--bolao-teal-bright);
    box-shadow: 0 0 0 1px var(--bolao-line);
}
.bolao-group-pill-letter {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
}
.bolao-group-pill-count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    opacity: 0.7;
}
.bolao-group-pill.is-complete .bolao-group-pill-count {
    color: var(--bolao-teal-bright);
    opacity: 1;
}
.bolao-group-pill.is-complete .bolao-group-pill-letter::after {
    content: '✓';
    display: inline-block;
    margin-left: 4px;
    color: var(--bolao-teal-bright);
    font-size: 12px;
    vertical-align: super;
}

/* === Layout: um grupo por vez ocupando largura cheia === */
.bolao-groups-flex {
    display: block; /* não é mais grid */
}
.bolao-group-guess-card {
    max-width: 720px;
    margin: 0 auto;
}

/* Nomes de seleções podem aparecer completos agora */
.bolao-match-row {
    grid-template-columns: 64px 1fr auto 1fr 32px;
}
.bolao-match-row-name {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 14px !important;
}
.bolao-match-row-team {
    min-width: 0;
}

/* === DEFINITIVAMENTE esconder spinners do input number ===
   (mesmo que algum browser ignore color-scheme + appearance) */
.bolao-score-input::-webkit-outer-spin-button,
.bolao-score-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    display: none !important;
}
.bolao-score-input {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}


.bolao-guesses-action-bar {
    background: var(--bolao-card);
    border-top: 1px solid var(--bolao-line);
    margin-top: 32px;
    padding: 4px 0;
}
.bolao-guesses-action-bar .bolao-container {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Slots auto-preenchidos pela propagação de grupos */
.bolao-bracket-slot.is-auto {
    background: linear-gradient(135deg, rgba(30,197,150,0.04), transparent);
    border-color: rgba(30,197,150,0.2);
}
.bolao-bracket-slot.is-auto .bolao-bracket-slot-label::after {
    content: ' · automático';
    font-style: italic;
    opacity: 0.6;
}

/* ============================================
   CONFRONTOS DO MATA-MATA — estilo portal esportivo
   ============================================ */

.bolao-matchup-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 12px;
}

.bolao-matchup-card {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.bolao-matchup-card:hover { border-color: var(--bolao-line-soft); }

.bolao-matchup-header {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--bolao-line);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bolao-text-dim);
}

.bolao-matchup-body {
    display: flex;
    align-items: stretch;
}

.bolao-matchup-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    min-width: 0;
    font-family: inherit;
    position: relative;
}
.bolao-matchup-team:hover:not(:disabled) {
    background: rgba(30,197,150,0.05);
}
.bolao-matchup-team:disabled { cursor: not-allowed; opacity: 0.7; }

.bolao-matchup-team.is-picked {
    background: linear-gradient(135deg, rgba(30,197,150,0.06), transparent);
}
.bolao-matchup-team.is-picked::after {
    content: '✓ escolhido';
    position: absolute;
    bottom: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bolao-teal-bright);
    opacity: 0.7;
}

.bolao-matchup-flag {
    font-size: 32px;
    line-height: 1;
    display: block;
}
.bolao-matchup-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--bolao-text);
    text-align: center;
    line-height: 1.3;
    max-width: 140px;
}

.bolao-matchup-vs {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--bolao-text-dim);
    flex-shrink: 0;
    border-left: 1px solid var(--bolao-line);
    border-right: 1px solid var(--bolao-line);
}

/* Auto-preenchidos pelos grupos */
.bolao-matchup-team.is-auto::before {
    content: '🔄';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 10px;
    opacity: 0.5;
}

@media (max-width: 500px) {
    .bolao-matchup-list { grid-template-columns: 1fr; }
    .bolao-matchup-flag { font-size: 26px; }
    .bolao-matchup-name { font-size: 13px; }
}

/* === Vencedor / lado do confronto === */
.bolao-matchup-body {
    display: flex;
    align-items: stretch;
    min-height: 120px;
}
.bolao-matchup-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: background 0.2s;
}
.bolao-matchup-side.is-winner {
    background: linear-gradient(135deg, rgba(30,197,150,0.08), transparent);
}
.bolao-matchup-side.is-loser {
    opacity: 0.45;
}
.bolao-matchup-side.is-loser .bolao-matchup-team {
    filter: grayscale(0.6);
}

/* Botão avançar */
.bolao-advance-btn {
    width: calc(100% - 16px);
    margin: 6px 8px 10px;
    padding: 9px 12px;
    background: rgba(30,197,150,0.1);
    border: 1.5px solid rgba(30,197,150,0.4);
    border-radius: 8px;
    color: var(--bolao-teal-bright);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.05em;
    text-align: center;
}
.bolao-advance-btn:hover:not(:disabled) {
    background: rgba(30,197,150,0.2);
    border-color: var(--bolao-teal);
    transform: translateY(-1px);
}
.bolao-advance-btn.is-active {
    background: rgba(30,197,150,0.25);
    border-color: var(--bolao-teal);
    box-shadow: 0 0 0 2px rgba(30,197,150,0.15);
}
.bolao-advance-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: var(--bolao-text-dim);
    border-color: var(--bolao-line);
    background: transparent;
}

/* Badge do vencedor no header */
.bolao-matchup-winner-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: var(--bolao-teal-bright);
    letter-spacing: 0.06em;
}

.bolao-matchup-header {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--bolao-line);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bolao-text-dim);
    gap: 8px;
}

/* ============================================
   MATA-MATA — componente bmc (bracket match card)
   ============================================ */

.bmc {
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.bmc:hover { border-color: var(--bolao-line-soft); }

.bmc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--bolao-line);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bolao-text-dim);
}
.bmc-winner-badge {
    margin-left: auto;
    color: var(--bolao-teal-bright);
    font-size: 11px;
}
.bmc-pending {
    margin-left: auto;
    color: var(--bolao-muted);
    font-size: 10px;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
}

.bmc-body {
    display: flex;
    align-items: stretch;
    min-height: 140px;
}

.bmc-vs {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--bolao-text-dim);
    border-left: 1px solid var(--bolao-line);
    border-right: 1px solid var(--bolao-line);
    flex-shrink: 0;
}

.bmc-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px 10px;
    position: relative;
    transition: background 0.2s;
}
.bmc-side.bmc-winner {
    background: rgba(30,197,150,0.07);
}
.bmc-side.bmc-loser {
    opacity: 0.35;
    filter: grayscale(0.5);
}

.bmc-flag {
    font-size: 36px;
    line-height: 1;
}
.bmc-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--bolao-text);
    text-align: center;
    max-width: 130px;
    line-height: 1.3;
}

/* Botão avançar — ação principal */
.bmc-advance {
    width: calc(100% - 12px);
    padding: 8px 10px;
    background: rgba(30,197,150,0.1);
    border: 1.5px solid rgba(30,197,150,0.35);
    border-radius: 8px;
    color: var(--bolao-teal-bright);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    letter-spacing: 0.05em;
    margin-top: 4px;
}
.bmc-advance:hover {
    background: rgba(30,197,150,0.2);
    border-color: var(--bolao-teal);
    transform: translateY(-1px);
}
.bmc-advance.active {
    background: rgba(30,197,150,0.22);
    border-color: var(--bolao-teal);
    box-shadow: 0 0 0 2px rgba(30,197,150,0.12);
}

/* Botão escolher (quando vazio) */
.bmc-choose {
    width: calc(100% - 12px);
    padding: 16px 10px;
    background: rgba(255,255,255,0.03);
    border: 1.5px dashed var(--bolao-line-soft);
    border-radius: 10px;
    color: var(--bolao-text-dim);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}
.bmc-choose:hover:not(:disabled) {
    background: rgba(30,197,150,0.06);
    border-color: var(--bolao-teal-dim);
    color: var(--bolao-teal-bright);
}
.bmc-choose:disabled { opacity: 0.4; cursor: not-allowed; }

/* Botão editar (lápis pequeno) */
.bmc-edit {
    position: absolute;
    top: 8px; right: 8px;
    width: 22px; height: 22px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--bolao-line);
    border-radius: 5px;
    color: var(--bolao-text-dim);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    padding: 0;
}
.bmc-edit:hover {
    background: rgba(255,255,255,0.1);
    color: var(--bolao-text);
}

@media (max-width: 600px) {
    .bmc-flag { font-size: 28px; }
    .bmc-name { font-size: 12px; }
    .bmc-advance { font-size: 11px; }
}

/* Botão gerar mata-mata */
.bolao-generate-bracket-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding: 32px;
    background: var(--bolao-card);
    border: 1px solid var(--bolao-line);
    border-radius: 16px;
}
.bolao-generate-btn-locked {
    background: rgba(255,255,255,0.04) !important;
    border: 2px dashed var(--bolao-line) !important;
    color: var(--bolao-text-dim) !important;
    cursor: not-allowed !important;
    font-size: 16px !important;
    padding: 16px 36px !important;
    border-radius: 12px !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    opacity: 0.5;
}
.bolao-generate-btn-ready {
    animation: pulse-glow 2s ease-in-out infinite;
    font-size: 16px !important;
    padding: 16px 36px !important;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30,197,150,0); }
    50% { box-shadow: 0 0 16px 4px rgba(30,197,150,0.3); }
}

/* Mobile global: previne scroll horizontal */
@media (max-width: 600px) {
    .bolao-plugin-wrap, .bolao-app, .bolao-container { overflow-x: hidden; max-width: 100vw; }
    .bolao-group-card-body { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════
   MENU HAMBURGUER — Mobile
   ═══════════════════════════════════════════════════ */

/* Botão hamburguer — escondido no desktop */



/* ══════════════════════════════════
   HEADER MOBILE — dropdown simples
   ══════════════════════════════════ */

.bolao-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 9px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.bolao-hamburger span {
  display: block; width: 100%; height: 2px;
  background: #e8ebf2; border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
  transform-origin: center;
}
.bolao-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bolao-hamburger.is-open span:nth-child(2) { opacity: 0; }
.bolao-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Oculto no desktop */
.bolao-nav-overlay { display: none; }

/* ─── Mobile ─────────────────────── */
@media (max-width: 768px) {
  /* Header: símbolo | shortcut | hamburguer */
  .bolao-plugin-header {
    position: sticky;
    z-index: 200;
  }
  .bolao-plugin-header-inner {
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 0 14px !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
  }
  .bolao-logo-wordmark { display: none !important; }
  .bolao-hamburger { display: flex; margin-left: auto; }

  /* Dropdown: fixed abaixo do header, cobre a tela */
  .bolao-nav {
    display: none;
    position: fixed !important;
    top: 74px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    background: #111827 !important;
    padding: 16px 16px 40px !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    align-items: stretch !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.6) !important;
    border-top: 1px solid rgba(30,197,150,.3) !important;
  }
  .bolao-nav.is-open {
    display: flex !important;
  }
  .bolao-nav a {
    display: block !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #c5cce0 !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
  }
  .bolao-nav a:active { background: rgba(255,255,255,.08) !important; }
  .bolao-nav a.active {
    background: rgba(30,197,150,.15) !important;
    border-color: rgba(30,197,150,.3) !important;
    color: #2dd4a9 !important;
    font-weight: 700 !important;
  }
  .bolao-nav a.nav-guesses-highlight {
    background: rgba(30,197,150,.18) !important;
    border-color: rgba(30,197,150,.4) !important;
    color: #2dd4a9 !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    margin-bottom: 8px !important;
  }
}

/* ── Botão atalho "Palpites" no header ─────────────────── */
.bolao-header-shortcut {
  display: none;
  padding: 7px 14px;
  background: rgba(30,197,150,.15);
  border: 1px solid rgba(30,197,150,.4);
  border-radius: 8px;
  color: #2dd4a9;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex: 1; /* ocupa o espaço do meio */
  text-align: center;
  margin: 0 6px;
  transition: background .15s;
}
.bolao-header-shortcut:hover { background: rgba(30,197,150,.25); color: #2dd4a9; }

@media (max-width: 768px) {
  .bolao-header-shortcut { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
}

/* ══════════════════════════════════════════════════════
   CONFRONTOS MOBILE — corrige cortados e desalinhados
   ══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Container dos jogos não pode ter overflow hidden */
  .bolao-mini-matches-wrap,
  .bolao-round-matches,
  [class*="jogos"],
  .bolao-group-card-body > div:last-child { overflow: visible !important; }

  .bolao-mini-match {
    grid-template-columns: minmax(0,1fr) 60px minmax(0,1fr) !important;
    padding: 8px 10px !important;
    gap: 6px !important;
    overflow: visible !important;
  }
  /* Cada célula do grid não pode crescer além do espaço disponível */
  .bolao-mini-team {
    gap: 5px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .bolao-mini-team.home {
    justify-content: flex-end !important;
  }
  .bolao-mini-team.away {
    justify-content: flex-start !important;
  }
  .bolao-mini-team .bolao-team-name-cell {
    font-size: 11px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    flex: 1 !important;
  }
  .bolao-mini-team .bolao-team-flag {
    font-size: 16px !important;
    flex-shrink: 0 !important;
  }
  .bolao-mini-score {
    min-width: 56px !important;
    font-size: 12px !important;
    flex-direction: column !important;
    gap: 1px !important;
    flex-shrink: 0 !important;
  }
  .bolao-mini-score .score-date { font-size: 10px !important; line-height: 1.3 !important; }
  .bolao-mini-score .score-x { display: none !important; }
}
