/* ── BOLÃO COPA 2026 v8 ────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.bolao-app {
    --bolao-topbar-height: 56px;
    --bolao-sticky-offset: 56px;
    --bolao-tabs-height: 0px;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f4f0;
    color: #475467;
    scroll-padding-top: calc(var(--bolao-sticky-offset) + 18px);
}

body.bolao-app #page,
body.bolao-app #content,
body.bolao-app .site,
body.bolao-app .site-content,
body.bolao-app .ast-container,
body.bolao-app .ast-plain-container,
body.bolao-app .ast-separate-container,
body.bolao-app .ast-article-single,
body.bolao-app .entry-content,
body.bolao-app article,
body.bolao-app .post,
body.bolao-app .page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.bolao-app .ast-single-post-featured-section+article,
body.bolao-app .ast-single-post-featured-section+.post,
body.bolao-app .ast-single-post-featured-section+.page {
    margin-top: 0 !important;
}

body.bolao-app.bolao-app--has-pool-bar {
    --bolao-topbar-height: 56px;
    --bolao-sticky-offset: 56px;
}

@media (max-width: 900px) {
    body.bolao-app {
        --bolao-sticky-offset: 72px;
    }

    body.bolao-app.bolao-app--has-pool-bar {
        --bolao-topbar-height: 72px;
        --bolao-sticky-offset: 72px;
    }
}

/* ── NAV ──────────────────────────────────────────────────── */
.bolao-topbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: #2d7a1f;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    overflow: visible;
}

.bolao-nav {
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    min-height: 64px;
    flex-wrap: wrap;
    position: static;
    overflow: visible;
}

.bolao-nav__menu-panel {
    display: contents;
}

.bolao-nav__menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.bolao-nav__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    flex: 0 1 240px;
    min-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    order: 1;
}

.bolao-nav__trophy {
    font-size: 22px;
}

.bolao-nav__links {
    display: flex;
    gap: 10px;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    justify-content: center;
}

.bolao-nav__menu-panel>.bolao-nav__links {
    order: 2;
}

.bolao-nav__menu-divider {
    display: none;
}

.bolao-nav__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.bolao-nav__links a:hover,
.bolao-nav__links a:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
    outline: none;
}

.bolao-nav__links a.is-active {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.34);
    color: #166534;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .10);
}

.bolao-nav__links a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.26);
}

.bolao-nav__user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    flex: 0 1 auto;
    order: 4;
}

.bolao-nav__user img,
.bolao-nav__avatar {
    border-radius: 50%;
    cursor: pointer;
}

.bolao-nav__logout {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: 13px;
}

.bolao-nav__logout:hover {
    color: #fff;
}

.bolao-display-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── POOL BAR ─────────────────────────────────────────────── */
#bolao-pool-bar {
    background: transparent;
    color: #fff;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    white-space: nowrap;
    flex-wrap: wrap;
    opacity: .98;
    justify-content: center;
    flex: 0 1 320px;
    min-width: 200px;
    order: 3;
}

#bolao-pool-bar form {
    flex: 0 0 auto;
}

.bolao-pools-dropdown {
    position: relative;
}

.bolao-pools-dropdown__summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 0;
}

.bolao-pools-dropdown__summary::-webkit-details-marker {
    display: none;
}

.bolao-pools-dropdown__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(16, 92, 24, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .18);
}

.bolao-pools-dropdown__item {
    width: 100%;
}

.bolao-pools-dropdown__item .bolao-pool-switch-btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
}

.bolao-pools-mobile-list {
    display: none;
}

.bolao-pool-switch-btn {
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.bolao-pool-switch-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.bolao-pool-switch-btn--active {
    background: #fff;
    color: #2d7a1f;
}

@media (min-width: 1181px) {
    .bolao-nav {
        display: grid;
        grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto auto;
        align-items: center;
        column-gap: 14px;
        row-gap: 8px;
        flex-wrap: nowrap;
    }

    .bolao-nav__brand {
        grid-column: 1;
    }

    .bolao-nav__menu-panel>.bolao-nav__links {
        grid-column: 2;
        align-self: center;
    }

    #bolao-pool-bar {
        grid-column: 3;
        align-self: center;
        justify-content: center;
    }

    .bolao-pools-dropdown-desktop {
        display: block;
    }

    .bolao-nav__user {
        grid-column: 4;
        justify-self: end;
    }
}

@media (min-width: 601px) and (max-width: 1180px) {
    .bolao-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand user"
            "links links"
            "pool pool";
        align-items: center;
        row-gap: 10px;
        column-gap: 12px;
        min-height: auto;
        padding: 10px 16px;
        flex-wrap: nowrap;
    }

    .bolao-nav__brand {
        grid-area: brand;
        flex: initial;
        min-width: 0;
    }

    .bolao-nav__menu-panel {
        display: contents;
    }

    .bolao-nav__menu-panel>.bolao-nav__links {
        grid-area: links;
        justify-content: center;
        row-gap: 8px;
    }

    #bolao-pool-bar {
        grid-area: pool;
        min-width: 0;
        justify-content: center;
        row-gap: 8px;
    }

    .bolao-nav__user {
        grid-area: user;
        margin-left: 0;
        justify-self: end;
        min-width: 0;
    }

    .bolao-nav__links a {
        min-height: 34px;
        padding: 6px 11px;
    }
}

/* ── MAIN ─────────────────────────────────────────────────── */
.bolao-main {
    padding: 0 0 40px;
}

.bolao-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 16px;
}

.bolao-page__title {
    display: flex;
    align-items: center;
    /* Alinha o emoji e o texto verticalmente no centro */
    gap: 8px;
    /* Cria um espacinho entre o emoji e o texto */
    margin-bottom: 6px;
}

.bolao-page__title {
    margin: 0 0 20px;
    font-size: 22px;
    color: #1e293b;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.bolao-footer {
    background: #2d7a1f;
    color: rgba(255, 255, 255, .6);
    text-align: center;
    padding: 16px;
    font-size: 13px;
    margin-top: 40px;
}

.bolao-footer__brand {
    color: #fff;
    font-weight: 800;
    margin-bottom: 6px;
}

.bolao-footer__links {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.bolao-footer__links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.bolao-footer__links a:hover {
    text-decoration: underline;
}

.bolao-footer__divider {
    color: rgba(255, 255, 255, .78);
}

.bolao-cookie-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10020;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid #d0d5dd;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .24s ease, transform .24s ease;
}

.bolao-cookie-notice[hidden] {
    display: none !important;
}

.bolao-cookie-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bolao-cookie-notice.is-leaving {
    opacity: 0;
    transform: translateY(28px);
}

.bolao-cookie-notice__copy {
    min-width: 0;
}

.bolao-cookie-notice__copy strong {
    display: block;
    margin-bottom: 3px;
    color: #101828;
    font-size: 14px;
}

.bolao-cookie-notice__copy p {
    margin: 0;
    color: #475467;
    font-size: 12px;
    line-height: 1.4;
}

.bolao-cookie-notice__copy a {
    color: #166534;
    font-weight: 700;
    text-decoration: none;
}

.bolao-cookie-notice__button {
    border: none;
    border-radius: 999px;
    background: #166534;
    color: #fff;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.bolao-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #2d7a1f;
    background: #fff;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}

.bolao-btn:hover {
    background: #2d7a1f;
    color: #fff;
}

.bolao-btn--primary {
    background: #2d7a1f;
    color: #fff;
}

.bolao-btn--primary:hover {
    background: #2d7a1f;
    border-color: #2d7a1f;
}

/* ── MY CARD ──────────────────────────────────────────────── */
.bolao-my-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
}

.bolao-my-card--hero {
    margin-bottom: 0;
    height: 100%;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.bolao-my-card__avatar {
    text-align: center;
}

.bolao-my-card__info h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.bolao-my-card__stats {
    display: flex;
    gap: 20px;
}

.bolao-stat {
    text-align: center;
}

.bolao-stat__value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #2d7a1f;
}

.bolao-stat__label {
    font-size: 12px;
    color: #666;
}

/* ── DASHBOARD ────────────────────────────────────────────── */
.bolao-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(280px, .95fr) minmax(0, 1.2fr);
    gap: 16px;
    margin-bottom: 18px;
    align-items: stretch;
}

.bolao-dashboard-hero__copy,
.bolao-dashboard-summary-card,
.bolao-dashboard-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.bolao-dashboard-hero__copy {
    padding: 20px 22px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bolao-dashboard-hero__eyebrow,
.bolao-dashboard-panel__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #667085;
    margin-bottom: 8px;
}

.bolao-dashboard-hero__lead {
    margin-top: 10px;
    font-size: 14px;
    /* Ajuste aqui: 1.5 é o padrão ideal para leitura */
    line-height: 1.5;
    color: #475467;
    max-width: 58ch;
}

/* Para controlar o espaço ENTRE os parágrafos, use margin nos <p> */
.bolao-dashboard-hero__lead p {
    margin-bottom: 8px;
    /* Ajuste esse valor conforme desejar */
}

/* Remove a margem do último parágrafo para não sobrar espaço no final da div */
.bolao-dashboard-hero__lead p:last-child {
    margin-bottom: 0;
}

.bolao-dashboard-countdown {
    margin: 0 0 10px;
    font-size: 14px;
    color: #1e293b;
    display: inline;
    /* Faz a div se comportar como texto, sem quebrar linha */
}

.bolao-dashboard-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    justify-content: center;
}

.bolao-dashboard-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d0d5dd;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.bolao-dashboard-chip--full {
    flex-basis: 100%;
}

.bolao-dashboard-chip--accent {
    background: #2d7a1f;
    border-color: #2d7a1f;
    color: #fff;
}

.bolao-dashboard-summary-card {
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2d7a1f, #246619);
    border-color: #2d7a1f;
    color: #fff;
}

.bolao-dashboard-summary-card__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0.78;
}

.bolao-dashboard-summary-card__value {
    margin-top: 8px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.bolao-dashboard-summary-card__meta {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.88;
    line-height: 1.5;
}

.bolao-dashboard-panel {
    padding: 18px;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff, #f6f8fa);
}

.bolao-dashboard-panel--steps-mobile {
    display: none;
}

.bolao-dashboard-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.bolao-dashboard-panel__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bolao-dashboard-panel__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    color: #1e293b;
}

.bolao-dashboard-panel__link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff2f4;
    border: 1px solid #e5e7eb;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.bolao-dashboard-panel__link:hover,
.bolao-dashboard-panel__link:focus {
    background: #e6eaee;
    border-color: #d0d5dd;
    color: #344054;
    outline: none;
}

.bolao-dashboard-panel__link:focus-visible {
    outline: none;
    border-color: #2d7a1f;
    box-shadow: 0 0 0 3px rgba(45, 122, 31, .20);
}

.bolao-dashboard-prize-highlight {
    text-align: center;
}

.bolao-phase-helper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 14px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f8fafc;
    color: #475467;
    font-size: 12px;
    line-height: 1.45;
}

.bolao-phase-helper__item strong {
    color: #2d7a1f;
}

.bolao-phase-helper__divider {
    color: #98a2b3;
}

.bolao-tour-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(1px);
}

.bolao-tour-popover {
    position: fixed;
    z-index: 100000;
    width: min(360px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    padding: 18px;
    max-height: calc(100vh - 20px);
    overflow: auto;
}

.bolao-tour-spotlight {
    position: fixed;
    z-index: 99999;
    display: none;
    pointer-events: none;
    border-radius: 18px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.58), 0 0 0 3px rgba(255, 255, 255, .96), 0 0 0 7px rgba(45, 122, 31, .40);
}

.bolao-tour-popover__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #2d7a1f;
    text-transform: uppercase;
}

.bolao-tour-popover__title {
    margin: 0 0 8px;
    color: #1e293b;
    font-size: 18px;
    line-height: 1.35;
}

.bolao-tour-popover__body {
    color: #475467;
    font-size: 14px;
    line-height: 1.55;
}

.bolao-tour-popover__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}

.bolao-tour-popover__counter {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.bolao-tour-popover__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bolao-tour-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.bolao-tour-btn--primary {
    background: #2d7a1f;
    border-color: #2d7a1f;
    color: #fff;
}

.bolao-tour-highlight {
    position: relative;
    z-index: 99999 !important;
    border-radius: 18px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .92), 0 0 0 8px rgba(45, 122, 31, .34), 0 18px 40px rgba(15, 23, 42, .20);
}

.bolao-dashboard-prize-highlight .bolao-guide-highlight__title {
    justify-content: center;
}

.bolao-dashboard-prize-highlight .bolao-guide-prize-row {
    justify-content: center;
}

.bolao-dashboard-pools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.bolao-dashboard-pool-card {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 14px;
    text-align: left;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    -webkit-tap-highlight-color: transparent;
    appearance: none;
}

.bolao-dashboard-pool-card:hover {
    border-color: #d0d5dd;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.bolao-dashboard-pool-card--active {
    border-color: #2d7a1f;
    background: #eff2f4;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.bolao-dashboard-pool-card--active:hover {
    border-color: #2d7a1f;
    background: linear-gradient(180deg, #eff2f4, #e6eaee);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.bolao-dashboard-pool-card:focus,
.bolao-dashboard-pool-card:focus-visible,
.bolao-dashboard-pool-card:active {
    outline: none;
    border-color: #2d7a1f;
    box-shadow: 0 0 0 3px rgba(45, 122, 31, .20);
}

.bolao-dashboard-pool-card--active:focus,
.bolao-dashboard-pool-card--active:focus-visible,
.bolao-dashboard-pool-card--active:active {
    border-color: #2d7a1f;
    background: #eff2f4;
    box-shadow: 0 0 0 3px rgba(45, 122, 31, .20), 0 12px 26px rgba(15, 23, 42, 0.08);
}

.bolao-dashboard-pool-card__title {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.bolao-dashboard-pool-card__meta {
    font-size: 12px;
    color: #667085;
}

.bolao-dashboard-pool-card__active {
    font-size: 11px;
    color: #2d7a1f;
    font-weight: 700;
    margin-top: 5px;
}

.bolao-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.bolao-dashboard-kpi {
    padding: 16px 16px 15px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.bolao-dashboard-kpi::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 18px 0 0 18px;
    background: #2d7a1f;
}

.bolao-dashboard-kpi--navy {
    background: #eff2f4;
    border-color: #dbe4ee;
}

.bolao-dashboard-kpi--navy::before {
    background: #2d7a1f;
}

.bolao-dashboard-kpi--gold {
    background: linear-gradient(135deg, #eff2f4, #eff2f4);
    border-color: #d0d5dd;
}

.bolao-dashboard-kpi--gold::before {
    background: #667085;
}

.bolao-dashboard-kpi--green {
    background: linear-gradient(135deg, #fbfefc, #eef8f1);
    border-color: #d6e8db;
}

.bolao-dashboard-kpi--green::before {
    background: #2d7a1f;
}

.bolao-dashboard-kpi--coral {
    background: linear-gradient(135deg, #eff2f4, #eff2f4);
    border-color: #d0d5dd;
}

.bolao-dashboard-kpi--coral::before {
    background: #667085;
}

.bolao-dashboard-kpi__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.bolao-dashboard-kpi__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .82);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .16);
    font-size: 16px;
}

.bolao-dashboard-kpi__label {
    font-size: 12px;
    font-weight: 800;
    color: #475467;
}

.bolao-dashboard-kpi__value {
    margin-top: 6px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #1e293b;
}

.bolao-dashboard-kpi__meta {
    margin-top: 6px;
    font-size: 12px;
    color: #667085;
}

.bolao-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.bolao-dashboard-action-card {
    display: block;
    padding: 17px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #ffffff, #f6f8fa);
    color: #1f2937;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.bolao-dashboard-action-card:hover {
    border-color: #d0d5dd;
    background: linear-gradient(180deg, #ffffff, #f7fafc);
    color: #1f2937;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
    transform: translateY(-1px);
}

.bolao-dashboard-action-card:hover .bolao-dashboard-action-card__meta {
    color: #667085;
}

.bolao-dashboard-action-card:hover .bolao-dashboard-action-card__desc {
    color: #667085;
}

.bolao-dashboard-action-card:focus,
.bolao-dashboard-action-card:focus-visible {
    outline: none;
    border-color: #2d7a1f;
    box-shadow: 0 0 0 3px rgba(45, 122, 31, .20), 0 14px 34px rgba(15, 23, 42, 0.06);
}

.bolao-dashboard-action-card--primary {
    background: linear-gradient(135deg, #2d7a1f, #246619);
    border-color: #2d7a1f;
    color: #fff;
}

.bolao-dashboard-action-card--primary .bolao-dashboard-action-card__meta,
.bolao-dashboard-action-card--primary .bolao-dashboard-action-card__desc {
    color: rgba(255, 255, 255, .88);
}

.bolao-dashboard-action-card--primary:hover {
    background: linear-gradient(135deg, #2a5f22, #344054);
    border-color: #2a5f22;
    color: #fff;
}

.bolao-dashboard-action-card--primary:hover .bolao-dashboard-action-card__meta,
.bolao-dashboard-action-card--primary:hover .bolao-dashboard-action-card__desc {
    color: rgba(255, 255, 255, .88);
}

.bolao-dashboard-action-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bolao-dashboard-action-card__icon {
    font-size: 18px;
}

.bolao-dashboard-action-card__meta {
    font-size: 11px;
    font-weight: 800;
    color: #667085;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bolao-dashboard-action-card__title {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 800;
}

.bolao-dashboard-action-card__desc {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
    color: #667085;
}

.bolao-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
    gap: 16px;
}

.bolao-dashboard-match-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bolao-dashboard-match-row {
    padding: 14px 15px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f7f8f9);
    border: 1px solid #e5e7eb;
}

.bolao-dashboard-match-row--result {
    background: linear-gradient(180deg, #ffffff, #f7f8f9);
}

.bolao-dashboard-match-row__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #667085;
    margin-bottom: 7px;
}

.bolao-dashboard-match-row__teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.bolao-dashboard-match-row__teams span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bolao-dashboard-result-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.bolao-dashboard-result-row__team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 700;
    color: #1e293b;
}

.bolao-dashboard-result-row__team--away {
    justify-content: flex-end;
    text-align: right;
}

.bolao-dashboard-result-row__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #2d7a1f;
    color: #fff;
    font-size: 14px;
    letter-spacing: .02em;
}

.bolao-dashboard-match-row__status {
    margin-top: 8px;
}

.bolao-dashboard-match-row__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.bolao-dashboard-match-row__badge--ok {
    background: #edf8f0;
    color: #166534;
    border-color: #cfe7d7;
}

.bolao-dashboard-match-row__badge--pending {
    background: #eff2f4;
    color: #667085;
    border-color: #f2dfb0;
}

.bolao-dashboard-empty {
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #eff2f4);
    border: 1px dashed #d0d5dd;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.bolao-dashboard-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bolao-dashboard-checklist__item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #eff2f4);
    border: 1px solid #e5e7eb;
    font-size: 14px;
    line-height: 1.6;
    color: #475467;
}

.bolao-dashboard-checklist__item>strong {
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #eff2f4;
    font-size: 12px;
}

.bolao-dashboard-support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.bolao-results-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.bolao-results-section-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 18px;
}

.bolao-results-section-divider__line {
    height: 1px;
    background: #d0d5dd;
    flex: 1;
}

.bolao-results-section-divider__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #98a2b3;
    white-space: nowrap;
}

.bolao-results-bonus-card {
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #eff2f4);
    border: 1px solid #e5e7eb;
}

.bolao-results-bonus-card__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #667085;
}

.bolao-results-bonus-card__value {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.45;
}

.bolao-results-bonus-card__meta {
    margin-top: 6px;
    font-size: 12px;
    color: #667085;
}

.bolao-results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.bolao-results-summary__item {
    padding: 13px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #eff2f4);
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.bolao-results-summary__label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #667085;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bolao-results-summary__value {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    color: #1e293b;
}

.bolao-results-table td {
    vertical-align: middle;
    text-align: center;
}

.bolao-results-table th {
    text-align: center;
}

.bolao-results-table__col--home {
    text-align: right !important;
}

.bolao-results-table__col--away {
    text-align: left !important;
}

thead .bolao-results-table__col.bolao-results-table__col--home,
thead .bolao-results-table__col.bolao-results-table__col--away {
    text-align: center !important;
}

.bolao-results-table__col--code,
.bolao-results-table__col--group,
.bolao-results-table__col--date,
.bolao-results-table__col--score,
.bolao-results-table__col--city {
    text-align: center !important;
}

.bolao-results-table .bolao-results-table__col--code {
    width: 6%;
}

.bolao-results-table .bolao-results-table__col--group {
    width: 10%;
}

.bolao-results-table .bolao-results-table__col--date {
    width: 18%;
}

.bolao-results-table .bolao-results-table__col--home {
    width: 19%;
}

.bolao-results-table .bolao-results-table__col--score {
    width: 14%;
}

.bolao-results-table .bolao-results-table__col--away {
    width: 19%;
}

.bolao-results-table .bolao-results-table__col--city {
    width: 14%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Se o nome for grande demais para a tela, ele coloca "..." no final */
    max-width: 120px;
    /* Opcional: define um limite para não empurrar a tabela para fora no mobile */
}


.bolao-results-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eff2f4;
    border: 1px solid #e5e7eb;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.bolao-results-phase-content--loading {
    opacity: .58;
    pointer-events: none;
    transition: opacity .18s ease;
}

.bolao-results-tabs .bolao-tab {
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bolao-dashboard-status {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.bolao-dashboard-status::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.bolao-dashboard-status__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 20px;
    background: rgba(255, 255, 255, .7);
}

.bolao-dashboard-status__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.55;
    font-size: 13px;
    color: #475467;
}

.bolao-dashboard-status__body strong {
    font-size: 15px;
    color: #1e293b;
}

.bolao-dashboard-status--success {
    background: linear-gradient(135deg, #f8fcfa, #edf7f1);
    border-color: #cfe7d7;
}

.bolao-dashboard-status--success::before {
    background: #2d7a1f;
}

.bolao-dashboard-status--success .bolao-dashboard-status__icon {
    background: #e0f2e5;
}

.bolao-dashboard-status--warning {
    background: linear-gradient(135deg, #eff2f4, #eff2f4);
    border-color: #d0d5dd;
}

.bolao-dashboard-status--warning::before {
    background: #667085;
}

.bolao-dashboard-status--warning .bolao-dashboard-status__icon {
    background: #fff2cb;
}

/* ── GUIDE ───────────────────────────────────────────────── */
.bolao-guide-page {
    max-width: 1120px;
}

.bolao-guide-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, .9fr);
    gap: 16px;
    margin-bottom: 18px;
}

.bolao-guide-hero__copy,
.bolao-guide-summary-card,
.bolao-guide-card,
.bolao-guide-highlight,
.bolao-guide-metric {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.bolao-guide-hero__copy {
    padding: 22px 24px;
    background: #fff;
}

.bolao-guide-hero__eyebrow,
.bolao-guide-section__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #667085;
    margin-bottom: 8px;
}

.bolao-guide-hero__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.72;
    color: #475467;
    max-width: 62ch;
}

.bolao-guide-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.bolao-guide-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d0d5dd;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.bolao-guide-summary-card {
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2d7a1f, #246619);
    border-color: #2d7a1f;
    color: #fff;
}

.bolao-guide-summary-card__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    opacity: .78;
}

.bolao-guide-summary-card__value {
    margin-top: 8px;
    font-size: 21px;
    line-height: 1.32;
    font-weight: 800;
}

.bolao-guide-summary-card__meta {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
    opacity: .9;
}

.bolao-guide-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    position: sticky;
    top: var(--bolao-sticky-offset);
    z-index: 30;
    padding: 10px 0 12px;
    background: linear-gradient(180deg, rgba(240, 244, 240, .96), rgba(240, 244, 240, .88));
    backdrop-filter: blur(10px);
}

.bolao-guide-index__item {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #344054;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.bolao-guide-index__item:hover {
    background: #eff2f4;
    border-color: #d0d5dd;
}

.bolao-guide-section {
    margin-bottom: 18px;
    scroll-margin-top: calc(var(--bolao-sticky-offset) + 32px);
}

.bolao-guide-section__head {
    margin-bottom: 14px;
}

.bolao-guide-section__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    color: #1e293b;
}

.bolao-ranking-guide {
    background: linear-gradient(180deg, #ffffff, #ffffff);
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
    margin: 0 0 18px;
    overflow: hidden;
}

.bolao-ranking-guide__summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #1e293b;
    background: linear-gradient(135deg, #ffffff, #f7fafc);
}

.bolao-ranking-guide__summary-meta {
    font-size: 12px;
    color: #667085;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    text-align: right;
}

.bolao-ranking-guide__body {
    padding: 0 20px 20px;
}

.bolao-ranking-guide__kpis,
.bolao-ranking-guide__cards {
    display: grid;
    gap: 12px;
}

.bolao-ranking-guide__kpis {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 12px;
}

.bolao-ranking-guide__cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 12px;
}

.bolao-ranking-guide__kpi,
.bolao-ranking-guide__card {
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #ffffff, #ffffff);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.bolao-ranking-guide__kpi {
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #eff2f4);
    border-color: #dbe4ee;
}

.bolao-ranking-guide__kpi--success {
    background: linear-gradient(135deg, #fbfefc, #eef8f1);
    border-color: #d6e8db;
}

.bolao-ranking-guide__kpi--warning {
    background: linear-gradient(135deg, #eff2f4, #eff2f4);
    border-color: #d0d5dd;
}

.bolao-ranking-guide__kpi--status {
    background: linear-gradient(135deg, #eff2f4, #eff2f4);
    border-color: #d0d5dd;
}

.bolao-ranking-guide__kpi-label,
.bolao-ranking-guide__card-label {
    font-size: 12px;
    color: #667085;
    text-align: center;
}

.bolao-ranking-guide__kpi-value {
    margin-top: 6px;
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
}

.bolao-ranking-guide__card-value {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    word-break: break-word;
}

.bolao-ranking-guide__card--medals {
    grid-column: span 2;
}

.bolao-ranking-guide__card--stack {
    min-height: 100%;
}

.bolao-ranking-guide__stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.bolao-ranking-guide__stack-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #eff2f4);
    border: 1px solid #e5e7eb;
}

.bolao-ranking-guide__stack-key {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #667085;
}

.bolao-ranking-guide__stack-value {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    word-break: break-word;
}

.bolao-ranking-guide__medals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
    text-align: center;
}

.bolao-ranking-guide__medal {
    border-radius: 14px;
    padding: 10px 8px;
    border: 1px solid #e5e7eb;
}

.bolao-ranking-guide__medal--gold {
    background: #fff8e1;
    border-color: #d0d5dd;
}

.bolao-ranking-guide__medal--silver {
    background: #eff2f4;
    border-color: #d8dde6;
}

.bolao-ranking-guide__medal--bronze {
    background: #fff1eb;
    border-color: #f5c8b8;
}

.bolao-ranking-guide__medal-icon {
    font-size: 18px;
}

.bolao-ranking-guide__medal-pct {
    font-size: 12px;
    color: #667085;
    margin-top: 2px;
}

.bolao-ranking-guide__medal-value {
    font-weight: 800;
    margin-top: 3px;
    color: #1e293b;
}

.bolao-ranking-guide__pill-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.bolao-ranking-guide__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    background: #eff2f4;
    color: #475467;
    font-size: 11px;
    font-weight: 800;
}

.bolao-ranking-guide__pill--success {
    background: #e6f3e3;
    border-color: #cfe7d7;
    color: #166534;
}

h3 span.title-line-break,
li span.card-line-break {
    display: block;
}

.bolao-guide-grid {
    display: grid;
    gap: 14px;
}

.bolao-guide-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
}

.bolao-guide-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 14px;
}

.bolao-guide-card {
    padding: 18px;
}

.bolao-guide-card h3,
.bolao-guide-rule-card h3 {
    margin: 10px 0 10px;
    font-size: 17px;
    line-height: 1.35;
    color: #1e293b;
}

.bolao-guide-card p,
.bolao-guide-rule-card p,
.bolao-guide-highlight__text,
.bolao-guide-details__body p {
    margin: 0 0 10px;
    color: #475467;
    font-size: 14px;
    line-height: 1.72;
}

.bolao-guide-list {
    margin: 0;
    padding-left: 18px;
    color: #475467;
    font-size: 14px;
    line-height: 1.8;
}

.bolao-guide-list li+li {
    margin-top: 4px;
}

.bolao-guide-highlight {
    padding: 18px;
}

.bolao-guide-highlight--success {
    background: linear-gradient(135deg, #effcf6, #e6f3e3);
}

.bolao-guide-highlight--warning {
    background: linear-gradient(135deg, #fffaf0, #fff3cd);
    border: 1px solid #ead7a5;
}

.bolao-guide-highlight--info {
    background: #fff;
    margin-bottom: 14px;
}

.bolao-guide-highlight__title {
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-top: 10px;
}

.bolao-guide-prize-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.bolao-guide-metric {
    padding: 16px 14px;
    text-align: center;
}

.bolao-guide-metric__title {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    color: #475467;
    margin-top: 10px;
}

.bolao-guide-metric__value {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
}

.bolao-guide-metric--exact {
    background: linear-gradient(135deg, #effcf6, #dcfce7);
}

.bolao-guide-metric--near {
    background: linear-gradient(135deg, #fffaf0, #fff3cd);
}

.bolao-guide-metric--result {
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
}

.bolao-guide-metric--miss {
    background: linear-gradient(135deg, #fff5f5, #fee2e2);
}

.bolao-guide-metric--bonus {
    background: linear-gradient(135deg, #ffffff, #fef3c7);
}

.bolao-guide-rule-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.bolao-guide-rule-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    padding: 18px;
}

.bolao-guide-details {
    margin-top: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #eff2f4;
    overflow: hidden;
    max-width: 100%;
    contain: inline-size;
}

.bolao-guide-details summary {
    cursor: pointer;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 800;
    color: #344054;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    justify-content: flex-start
}

.bolao-guide-details__body {
    padding: 0 12px 12px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #d0d5dd transparent;
}

.bolao-guide-details__body p:last-child {
    margin-bottom: 0;
}

.bolao-example-header {
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #344054;
}

.bolao-guide-video-embed {
    position: relative;
    margin-top: 12px;
    border-radius: 18px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.bolao-guide-video-embed::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.bolao-guide-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.bolao-shortcut-card {
    display: none;
    align-items: center;
    gap: 12px;
    margin: 18px 0 22px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fffaf0, #fff3cd);
    border: 1px solid #f4d58d;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.bolao-shortcut-card.is-visible {
    display: flex;
}

.bolao-shortcut-card__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.72);
}

.bolao-shortcut-card__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.bolao-shortcut-card__copy strong {
    display: block;
    margin-bottom: 2px;
    color: #4d3500;
}

.bolao-shortcut-card__copy p {
    margin: 0;
    color: #7c5a10;
    font-size: 13px;
    line-height: 1.4;
}

.bolao-shortcut-card__button {
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 14px;
    cursor: pointer;
}

.bolao-guide-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 13px;
    white-space: nowrap;
    min-width: max-content;
    text-align: center;
}

.bolao-guide-table th {
    background: #eff2f4;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
    /* text-align: left; */
    padding: 10px 12px;
}

.bolao-guide-table td {
    padding: 10px 12px;
    border-top: 1px solid #e5e7eb;
    color: #475467;
    background: #fff;
}

.bolao-guide-table--examples td {
    vertical-align: middle;
}

.bolao-guide-table--examples tr.is-success td:first-child {
    background: #f0fdf4;
    color: #166534;
}

.bolao-guide-table--examples tr.is-warning td:first-child {
    background: #fffbeb;
    color: #92400e;
}

.bolao-guide-table--examples tr.is-danger td:first-child {
    background: #fff1f2;
    color: #b42318;
}

/* .bolao-guide-table th:first-child,
.bolao-guide-table td:first-child {
    position: sticky;
    left: 0;
} */

.bolao-guide-table th:first-child {
    z-index: 2;
    background: #eff2f4;
}

.bolao-guide-table td:first-child {
    z-index: 1;
    background: #fff;
}

.bolao-guide-details__body>* {
    max-width: 100%;
}

.bolao-guide-details__body .bolao-table-scroll {
    width: 100%;
    max-width: 100%;
}

details[id$="history-card"] {
    max-width: 100%;
}

.bolao-guide-cta {
    margin-top: 18px;
    text-align: center;
}

@media (max-width: 921px) {

    .bolao-guide-hero,
    .bolao-guide-grid--2,
    .bolao-guide-grid--4,
    .bolao-guide-rule-list {
        grid-template-columns: 1fr;
    }

    .bolao-guide-summary-card__value {
        font-size: 18px;
    }
}

.bolao-dashboard-video-info {
    color: #1e293b;
}

.bolao-dashboard-video-card-wrap img {
    border: solid 1px #347c4e;
}

.bolao-scorer-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bolao-scorer-step-label {
    flex: 1;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Se o texto não couber, ele vira '...' em vez de quebrar */
}

.bolao-scorer-select-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
}

.bolao-scorer-select-actions {
    display: flex;
    justify-content: flex-end;
    /* Garante que os itens dentro dela fiquem à direita */
    align-items: center;
    gap: 5px;
    /* Espaço entre o 'Limpar' e a 'Lupa' */
    margin-left: auto;
    /* Empurra o grupo todo para a direita se estiver dentro de um flex-parent */
    flex-shrink: 0;
    /* IMPEDIR que os botões diminuam ou quebrem de linha */
}

.bolao-scorer-icon-btn,
.bolao-scorer-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    /* Impede que o botão diminua de tamanho */
    border: 1px solid #2d7a1f;
    background: #fff;
    color: #344054;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
}

.bolao-scorer-icon-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
}

.bolao-scorer-clear-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
}

.bolao-scorer-filter-wrap[hidden] {
    display: none !important;
}

.bolao-scorer-player-select,
#scorer-input,
#scorer-filter {
    appearance: none;
    -webkit-appearance: none;
}

.bolao-scorer-player-select {
    height: auto;
}

.bolao-scorer-player-select.is-expanded {
    min-height: 190px;
    overflow-y: auto;
}

@media (max-width: 700px) {
    .bolao-scorer-filters {
        grid-template-columns: 1fr;
    }

    .bolao-scorer-player-select,
    #scorer-input,
    #scorer-filter {
        font-size: 16px !important;
    }

    .bolao-scorer-player-select.is-expanded {
        min-height: 240px;
    }

    .bolao-scorer-select-head {
        align-items: center;
        /* Mude para center */
        flex-direction: row;
        /* GARANTA que continue em linha */
        justify-content: space-between;
    }
}

/* ESTRATÉGIA PARA TELAS < 400px */
@media (max-width: 400px) {
    .bolao-scorer-step-label {
        font-size: 11px;
        /* Diminui levemente a fonte */
    }

    .bolao-scorer-clear-btn {
        padding: 0 8px;
        /* Botão mais estreito */
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .bolao-scorer-step-label {
        font-size: 11px;
    }

    .bolao-scorer-clear-btn {
        padding: 0 8px;
        font-size: 11px;
    }
}

/* O wrapper herda a largura do entry-content do Astra automaticamente */
.bolao-faq-wrapper {
    padding: 18px;
    box-sizing: border-box;
    display: block;
    clear: both;
    margin-top: 16px;
}

.bolao-faq-wrapper__head {
    margin-bottom: 18px;
}

.bolao-faq-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bolao-faq-action {
    cursor: pointer;
}

.faq-main-title {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0;
    font-weight: 600;
}

/* Card Estilizado */
.faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.faq-card summary {
    padding: 0px 15px;
    min-height: 52px;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2d7a1f;
    /* Verde original */
    font-weight: 600;
}

/* Seta giratória */
.faq-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.faq-card[open] .faq-arrow {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 15px 15px;
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Remove a seta padrão do Chrome/Safari */
.faq-card summary::-webkit-details-marker {
    display: none;
}

/* ── CARROSSEL ────────────────────────────────────────────── */
.bolao-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bolao-carousel-viewport {
    overflow: hidden;
    flex: 1;
}

.bolao-carousel {
    display: flex;
    gap: 16px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.bolao-carousel-btn {
    background: #2d7a1f;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    padding: 0;
}

.bolao-carousel-btn:disabled {
    background: #ccc;
    cursor: default;
}

.bolao-carousel-btn:not(:disabled):hover {
    background: #2d7a1f;
}

.bolao-match-card {
    /* §26: 3 cards exatos — calc(33.333% - 11px) com gap 16px */
    min-width: calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    font-size: 13px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.bolao-match-card--finished {
    opacity: .6;
}

.bolao-match-card__phase {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.bolao-match-card__date {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d7a1f;
}

.bolao-match-card__teams {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
}

.bolao-match-card__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    text-align: center;
    min-width: 0;
}

.bolao-result-badge {
    white-space: nowrap;
}

/* §26: resultado em 1 linha */
.bolao-match-card__vs {
    font-weight: 700;
    font-size: 15px;
}

.bolao-match-card__city {
    font-size: 11px;
    color: #888;
    margin-top: 8px;
    text-align: center;
}

.bolao-result-badge {
    background: #2d7a1f;
    color: #fff;
    border-radius: 6px;
    padding: 2px 8px;
    font-weight: 700;
    font-size: 14px;
}

/* ── TABS ─────────────────────────────────────────────────── */
.bolao-tabs-shell {
    margin-bottom: 0;
    border: 1px solid #dbe3ec;
    border-radius: 16px 16px 0 0;
    background: #fff;
    position: sticky;
    top: var(--bolao-sticky-offset);
    z-index: 24;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #d0d5dd transparent;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.bolao-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    padding: 8px;
    min-width: max-content;
}

.bolao-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #667085;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    gap: 10px;
}

.bolao-tab:hover {
    background: #eff2f4;
    color: #344054;
    border-color: #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.bolao-tab__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bolao-tab--active {
    background: #fff;
    color: #1e293b;
    border-color: #d0d5dd;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
}

.bolao-tab--active::after {
    content: "";
    position: absolute;
    inset: auto 12px 3px 12px;
    height: 2px;
    border-radius: 999px;
    background: #2d7a1f;
    opacity: .9;
}

.bolao-tabs-shell::-webkit-scrollbar {
    height: 8px;
}

.bolao-tabs-shell::-webkit-scrollbar-thumb {
    background: #d0d5dd;
    border-radius: 999px;
}

.bolao-tabs-shell::-webkit-scrollbar-track {
    background: transparent;
}

.bolao-progress-strip {
    margin: 10px 0 16px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dbe3ec;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.bolao-progress-strip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #344054;
    font-size: 12px;
}

.bolao-progress-strip__head strong {
    color: #1e293b;
    font-size: 13px;
}

.bolao-progress-strip__track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.bolao-progress-strip__fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2d7a1f, #52b141);
}

.bolao-progress-strip__meta {
    margin-top: 6px;
    font-size: 11px;
    color: #667085;
    text-align: right;
}

.bolao-dashboard-progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: -2px 0 18px;
}

.bolao-dashboard-progress-mobile {
    display: none;
}

.bolao-page--dashboard .bolao-mobile-text-hide {
    display: inline;
}

.bolao-page--dashboard .bolao-mobile-text-show {
    display: none;
}

.bolao-progress-strip--predictions {
    margin-top: 8px;
}

#ast-scroll-top,
.ast-scroll-top-icon,
.ast-scroll-to-top-right {
    display: none !important;
}

.bolao-scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #1f7a2e 0%, #166534 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, box-shadow .2s ease;
    z-index: 1150;
}

.bolao-scroll-top:hover {
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.24);
    transform: translateY(6px);
}

.bolao-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ── PALPITES ─────────────────────────────────────────────── */
.bolao-predictions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bolao-prediction-row {
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.bolao-prediction-row--locked {
    opacity: .7;
}

.bolao-prediction-row__meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.bolao-prediction-row__code {
    font-weight: 700;
    color: #2d7a1f;
}

.bolao-prediction-row__teams {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.bolao-prediction-row__team {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    flex: 1;
}

.bolao-prediction-row__team--home {
    justify-content: flex-end;
}

.bolao-prediction-row__score {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    justify-content: center;
}

.bolao-score-input {
    width: 52px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 6px 4px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    -moz-appearance: textfield;
    transition: border-color .2s;
}

.bolao-score-input:focus {
    border-color: #2d7a1f;
    outline: none;
}

.bolao-score-input::-webkit-outer-spin-button,
.bolao-score-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.bolao-prediction-row__sep {
    font-size: 18px;
    font-weight: 700;
    color: #888;
}

.bolao-prediction-row__locked-score {
    font-size: 18px;
    font-weight: 700;
    color: #888;
}

.bolao-lock-icon {
    font-size: 16px;
}

.bolao-prediction-row__deadline {
    font-size: 12px;
    color: #2d7a1f;
    margin-top: 6px;
}

.bolao-prediction-row__submitted {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

.bolao-predictions-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.bolao-autosave-status {
    font-size: 13px;
    color: #888;
}

.bolao-copy-pix-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px;
    border: 1px solid #bdd5c0;
    border-radius: 999px;
    background: #ffffff;
    color: #1b5e20;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    cursor: pointer;
    white-space: nowrap;
    vertical-align: middle;
}

.bolao-copy-pix-btn:hover {
    background: #eff8ef;
    border-color: #91bd94;
}

.bolao-copy-pix-btn.is-copied {
    background: #1b5e20;
    border-color: #1b5e20;
    color: #ffffff;
}

.bolao-copy-pix-btn--inline,
.bolao-copy-pix-btn--status {
    margin: 0 4px;
}

.bolao-guide-pix-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ── STANDINGS ────────────────────────────────────────────── */
.bolao-standings-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
}

.bolao-standings-table th {
    background: #2d7a1f;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-size: 13px;
}

.bolao-standings-table td {
    padding: 10px 12px;
    font-size: 14px;
    border-top: 1px solid #f0f0f0;
}

.bolao-standings-table__me td {
    background: #e6f3e3;
    font-weight: 600;
}

.bolao-standings-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bolao-me-badge {
    background: #2d7a1f;
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
}

/* ── NOTICES ─────────────────────────────────────────────── */
.bolao-notice-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 10px auto 0;
    padding: 14px 16px;
    max-width: 980px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff2f4, #eff2f4);
    border: 1px solid #d0d5dd;
    box-shadow: 0 14px 34px rgba(180, 83, 9, 0.08);
    animation: slideIn .3s ease;
    position: relative;
    overflow: hidden;
}

.bolao-notice-banner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #667085;
}

.bolao-notice-banner__content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.bolao-notice-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #fff2cb;
    flex-shrink: 0;
}

.bolao-notice-banner__text {
    font-size: 13px;
    line-height: 1.6;
    color: #475467;
}

.bolao-notice-banner__close {
    border: 1px solid #d0d5dd;
    background: rgba(255, 255, 255, .84);
    color: #667085;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.bolao-notice-banner__close:hover {
    background: #fff;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── RESPONSIVE §32 ─────────────────────────────────────── */
@media (max-width: 600px) {

    /* Nav */
    .bolao-topbar {
        box-shadow: 0 8px 22px rgba(15, 23, 42, .10);
    }

    .bolao-nav {
        padding: 10px;
        gap: 10px;
        flex-wrap: nowrap;
        min-height: auto;
        align-items: center;
        position: relative;
    }

    .bolao-nav__brand {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        font-size: 14px;
    }

    .bolao-nav__user {
        order: 3;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        margin-left: 0;
        min-width: 0;
        flex: 0 1 auto;
    }

    .bolao-nav__user .bolao-nav__logout {
        display: none;
    }

    .bolao-nav__menu-toggle {
        display: inline-flex;
        order: 2;
        flex: 0 0 auto;
    }

    .bolao-nav__menu-panel {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 10px;
        width: min(180px, calc(100vw - 20px));
        background: rgba(16, 92, 24, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 14px 28px rgba(15, 23, 42, .18);
        z-index: 1200;
    }

    .bolao-topbar.is-nav-open .bolao-nav__menu-panel {
        display: block;
    }

    .bolao-nav__menu-divider {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 10px 0 6px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .72);
    }

    .bolao-nav__menu-divider::before,
    .bolao-nav__menu-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: rgba(255, 255, 255, .16);
    }

    .bolao-nav__links {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: initial;
        padding-top: 0;
    }

    #bolao-pool-bar {
        width: 100%;
        display: grid;
        gap: 6px;
        justify-content: stretch;
        padding-top: 6px;
        min-width: 0;
        overflow: visible;
        border-top: 0;
        margin-top: 0;
    }

    .bolao-pools-dropdown-desktop {
        display: none;
    }

    .bolao-pools-mobile-list {
        display: grid;
        gap: 6px;
    }

    #bolao-pool-bar form {
        width: 100%;
    }

    .bolao-nav--public .bolao-nav__links {
        grid-template-columns: 1fr;
    }

    .bolao-nav__links a {
        min-height: 40px;
        padding: 8px;
        font-size: 12px;
        line-height: 1.25;
        white-space: nowrap;
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: none;
    }

    .bolao-nav__links a.is-active {
        background: #fff;
        color: #166534;
        border-color: rgba(255, 255, 255, 0.34);
        box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    }

    .bolao-pool-switch-btn {
        width: 100%;
        min-height: 36px;
        padding: 8px;
        text-align: left;
        justify-content: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .bolao-guide-index {
        margin-bottom: 14px;
        border: 1px solid #dbe3ec;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scrollbar-color: #d0d5dd transparent;
        -webkit-overflow-scrolling: touch;
        padding: 8px;
    }

    .bolao-guide-index::-webkit-scrollbar {
        height: 8px;
    }

    .bolao-guide-index::-webkit-scrollbar-thumb {
        background: #d0d5dd;
        border-radius: 999px;
    }

    .bolao-guide-index__item {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 8px 14px;
    }

    .bolao-ranking-guide__summary {
        padding: 8px 10px;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .bolao-ranking-guide__summary>span:first-child {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        text-align: center;
    }

    .bolao-ranking-guide__summary-meta {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        min-width: 0;
        width: 100%;
        text-align: right;
    }

    /* Carrossel: 1 card em mobile */
    .bolao-match-card {
        min-width: calc(100% - 0px);
        max-width: calc(100% - 0px);
    }

    /* Dashboard */
    .bolao-my-card {
        flex-direction: column;
        text-align: center;
    }

    .bolao-my-card__stats {
        justify-content: center;
    }

    .bolao-dashboard-hero,
    .bolao-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .bolao-dashboard-panel__head,
    .bolao-dashboard-match-row__meta,
    .bolao-dashboard-match-row__teams {
        display: block;
    }

    .bolao-dashboard-panel__link {
        margin-top: 10px;
    }

    .bolao-dashboard-panel__actions {
        display: flex;
    }

    .bolao-mobile-text-hide {
        display: inline;
    }

    .bolao-mobile-text-show {
        display: none;
    }

    .bolao-phase-helper {
        justify-content: flex-start;
        border-radius: 16px;
    }

    .bolao-phase-helper__divider {
        display: none;
    }

    .bolao-tour-popover {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    .bolao-faq-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .bolao-faq-action {
        flex: 1 1 180px;
        justify-content: center;
    }

    .bolao-dashboard-result-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bolao-dashboard-result-row__team,
    .bolao-dashboard-result-row__team--away {
        justify-content: center;
        text-align: center;
    }

    .bolao-ranking-guide__card--medals {
        grid-column: auto;
    }

    .bolao-ranking-guide__stack-row {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 5px;
    }

    .bolao-ranking-guide__stack-value {
        text-align: center;
    }

    .bolao-ranking-guide__medals {
        grid-template-columns: 1fr;
    }

    .bolao-dashboard-match-row__teams span:last-child {
        margin-top: 6px;
    }

    .bolao-dashboard-status,
    .bolao-notice-banner {
        grid-template-columns: 1fr;
    }

    .bolao-notice-banner {
        display: block;
    }

    .bolao-notice-banner__close {
        margin-top: 12px;
        width: 100%;
    }

    /* Palpites */
    .bolao-prediction-row {
        padding: 12px;
    }

    .bolao-prediction-row__meta {
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .bolao-prediction-row__teams {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .bolao-prediction-row__team {
        font-size: 13px;
        min-width: min(100%, 140px);
    }

    .bolao-prediction-row__team,
    .bolao-prediction-row__team--home {
        justify-content: center;
        text-align: center;
    }

    .bolao-prediction-row__score {
        min-width: 100%;
        order: 2;
    }

    .bolao-score-input {
        width: 44px;
        font-size: 18px;
    }

    .bolao-predictions-actions {
        flex-wrap: wrap;
        justify-content: stretch;
    }

    #pred-bottom-save,
    #bonus-bottom-save {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 10px !important;
        border-radius: 16px !important;
        justify-content: stretch !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    #pred-bottom-save .bolao-btn,
    #bonus-bottom-save .bolao-btn {
        width: 100%;
        justify-content: center;
    }

    /* Classificação: ocultar cols menos importantes */
    .bolao-standings-table:not(.bolao-mobile-cards):not(.bolao-results-table) th:nth-child(5),
    .bolao-standings-table:not(.bolao-mobile-cards):not(.bolao-results-table) td:nth-child(5),
    .bolao-standings-table:not(.bolao-mobile-cards):not(.bolao-results-table) th:nth-child(6),
    .bolao-standings-table:not(.bolao-mobile-cards):not(.bolao-results-table) td:nth-child(6) {
        display: none;
    }

    .bolao-guide-table,
    .bolao-standings-table,
    .bolao-results-table {
        white-space: nowrap;
    }

    .bolao-table-scroll {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        scrollbar-color: #d0d5dd transparent;
    }

    .bolao-table-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .bolao-table-scroll::-webkit-scrollbar-thumb {
        background: #d0d5dd;
        border-radius: 999px;
    }

    .bolao-table-scroll .bolao-standings-table,
    .bolao-table-scroll .bolao-results-table {
        min-width: 720px;
    }

    .bolao-table-scroll--guide {
        margin-top: 10px;
    }

    .bolao-table-scroll--guide .bolao-guide-table {
        min-width: 640px;
    }

    .bolao-mobile-cards--devices {
        display: block;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .bolao-mobile-cards--devices thead {
        display: none;
    }

    .bolao-mobile-cards--devices tbody {
        display: grid;
        gap: 12px;
    }

    .bolao-mobile-cards--devices tr {
        display: block;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        padding: 12px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
    }

    .bolao-mobile-cards--devices td {
        display: block;
        padding: 9px 0;
        border-top: 1px solid #edf2f7;
        text-align: left !important;
        font-size: 13px;
        background: transparent !important;
    }

    .bolao-mobile-cards--devices td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 5px;
        color: #64748b;
        font-weight: 700;
        font-size: 11px;
        letter-spacing: .02em;
        text-transform: uppercase;
    }

    .bolao-mobile-cards--devices td:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .bolao-mobile-cards--devices td[data-label="Ação"] .bolao-btn {
        margin-top: 2px;
    }

    .bolao-guide-details summary,
    #sim-guided-fill>summary,
    #sim-simulated-bonus>summary,
    [data-sim-bonus-section]>summary,
    [data-sim-phase-detail]>summary,
    details[id$="history-card"]>summary,
    .bolao-dashboard-panel>summary,
    .bolao-participant-section>summary {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        padding: 8px 10px !important;
    }

    .bolao-guide-details summary span:last-child,
    #sim-guided-fill>summary span:last-child,
    #sim-simulated-bonus>summary span:last-child,
    [data-sim-bonus-section]>summary span:last-child,
    [data-sim-phase-detail]>summary span:last-child,
    details[id$="history-card"]>summary span:last-child,
    .bolao-dashboard-panel>summary span:last-child,
    .bolao-participant-section>summary span:last-child {
        font-size: 12px;
        color: #667085;
        width: 100%;
        text-align: right;
    }

    .bolao-guide-details summary span:first-child,
    #sim-guided-fill>summary span:first-child,
    #sim-simulated-bonus>summary span:first-child,
    [data-sim-bonus-section]>summary span:first-child,
    [data-sim-phase-detail]>summary span:first-child,
    details[id$="history-card"]>summary span:first-child,
    .bolao-dashboard-panel>summary span:first-child,
    .bolao-participant-section>summary span:first-child {
        width: 100%;
        text-align: center;
    }

    #sim-simulated-bonus,
    #sim-guided-fill,
    [data-sim-bonus-section],
    [data-sim-phase-detail] {
        overflow-x: clip;
    }

    #sim-simulated-bonus>details>div,
    [data-sim-bonus-section="top2"]>div,
    [data-sim-bonus-section="third"]>div {
        min-width: 0;
    }

    .bolao-guide-details__body {
        padding: 0 4px 4px;
    }

    .bolao-example-header {
        padding: 8px 10px;
        font-size: 13px;
        line-height: 1.55;
    }

    .bolao-shortcut-card {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .bolao-shortcut-card__button {
        width: 100%;
    }

    .bolao-cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
        border-radius: 16px;
        align-items: flex-start;
        flex-direction: column;
    }

    .bolao-cookie-notice__button {
        width: 100%;
    }

    .bolao-guide-table--examples th,
    .bolao-guide-table--examples td {
        padding: 8px 10px;
        font-size: 12px;
        line-height: 1.5;
    }

    details[id$="history-card"] {
        padding: 10px 12px !important;
    }

    .bolao-results-summary {
        grid-template-columns: 1fr;
    }

    .bolao-results-bonus-grid {
        grid-template-columns: 1fr;
    }

    .bolao-results-section-divider {
        gap: 8px;
    }

    .bolao-results-section-divider__label {
        white-space: normal;
        text-align: center;
    }

    /* Formulários */
    input[type="text"],
    input[type="email"],
    select,
    textarea {
        font-size: 16px !important;
        /* evita zoom automático iOS */
    }

    /* Botões touch-friendly */
    .bolao-btn {
        min-height: 44px;
    }

    /* Página geral */
    .bolao-page {
        padding: 12px 10px;
    }
}

@media (max-width: 784px) {

    /* Tablet: 2 cards no carrossel */
    .bolao-match-card {
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .bolao-page--dashboard .bolao-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .bolao-page--dashboard .bolao-dashboard-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .bolao-page--dashboard .bolao-dashboard-panel--steps-mobile {
        display: block;
        margin-bottom: 0;
    }

    .bolao-page--dashboard .bolao-dashboard-panel--steps-desktop {
        display: none;
    }

    .bolao-page--dashboard .bolao-my-card--hero,
    .bolao-page--dashboard .bolao-dashboard-hero__copy--start {
        margin-bottom: 0;
    }

    .bolao-page--dashboard .bolao-my-card--hero {
        width: min(100%, 640px);
        margin: 0 auto;
        justify-self: center;
        text-align: center;
        flex-direction: column;
    }

    .bolao-page--dashboard .bolao-my-card--hero .bolao-my-card__info {
        width: 100%;
        text-align: center;
    }

    .bolao-page--dashboard .bolao-my-card--hero .bolao-my-card__stats {
        justify-content: center;
    }

    .bolao-page--dashboard .bolao-mobile-text-hide {
        display: none !important;
    }

    .bolao-page--dashboard .bolao-mobile-text-show {
        display: inline !important;
    }

    .bolao-page--dashboard .bolao-dashboard-actions,
    .bolao-page--dashboard .bolao-dashboard-status {
        margin-bottom: 16px;
    }

    .bolao-page--dashboard .bolao-dashboard-progress-grid {
        display: none;
    }

    .bolao-page--dashboard .bolao-dashboard-actions {
        gap: 8px 12px;
        margin-bottom: 16px;
    }

    .bolao-page--dashboard .bolao-dashboard-progress-mobile {
        display: block;
        margin: 0;
    }

    .bolao-page--dashboard .bolao-dashboard-progress-mobile .bolao-progress-strip {
        margin: 0;
        padding: 14px 16px;
    }

    .bolao-page--dashboard .bolao-dashboard-action-card {
        margin-bottom: 0;
    }

    .bolao-page--dashboard .bolao-nav__links,
    .bolao-page--dashboard #bolao-pool-bar {
        overflow: visible;
    }
}

@media (max-width: 471px) {

    .bolao-page--dashboard .bolao-dashboard-actions {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 472px) and (max-width: 784px) {

    .bolao-page--dashboard .bolao-dashboard-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "games-card bonus-card"
            "games-progress bonus-progress";
        align-items: start;
    }

    .bolao-page--dashboard #bolao-tour-games-card {
        grid-area: games-card;
    }

    .bolao-page--dashboard .bolao-dashboard-progress-mobile--games {
        grid-area: games-progress;
    }

    .bolao-page--dashboard #bolao-tour-bonus-card {
        grid-area: bonus-card;
    }

    .bolao-page--dashboard .bolao-dashboard-progress-mobile--bonus {
        grid-area: bonus-progress;
    }
}
