/* ==========================================================================
   Estudo da Rodada (ex-HUB) â scouts, confrontos, unanimidades
   Linguagem visual: superfÃ­cies em chip (gradiente suave + borda + raio)
   ========================================================================== */

.dash-wrap {
    max-width: 1440px;
    --hub-surface: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --hub-surface-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --hub-surface-navy: linear-gradient(180deg, #2430a0 0%, #191970 100%);
    --hub-radius-card: 16px;
    --hub-radius-chip: 10px;
    --hub-border: 1px solid var(--border-subtle);
    --hub-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    --hub-shadow-hover: 0 2px 4px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(25, 25, 112, 0.1);
}

html[data-theme="dark"] .dash-wrap {
    --hub-surface: linear-gradient(180deg, #202020 0%, #171717 100%);
    --hub-surface-card: linear-gradient(180deg, #232323 0%, #181818 100%);
    --hub-surface-navy: linear-gradient(180deg, #242424 0%, #151515 100%);
    --hub-border: 1px solid #353535;
    --hub-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.25);
    --hub-shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.3), 0 14px 32px rgba(0, 0, 0, 0.35);
}

.dash-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-orange);
}

.dash-meta-pill {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 6px 14px;
}

.dash-meta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.dash-tabs { gap: 8px; border-bottom: none; }

.dash-tabs .nav-link {
    border-radius: 10px !important;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 10px 18px;
    transition: all 0.2s ease;
}

.dash-tabs .nav-link:hover { color: var(--text-primary); border-color: var(--accent-orange); }
.dash-tabs .nav-link.active {
    background: var(--app-midnight);
    color: #fff !important;
    border-color: var(--app-midnight);
    box-shadow: 0 4px 12px rgba(25, 25, 112, 0.15);
}

.dash-card { overflow: hidden; }
.dash-card-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 20px;
}

.dash-search { max-width: 200px; border-radius: 8px; font-weight: 600; font-size: 12px; }
.dash-select-scout { min-width: 200px; max-width: 280px; border-radius: 8px; font-weight: 700; font-size: 12px; }

.dash-table-wrap { overflow: auto; }
.dash-table { font-size: 12px; border-collapse: collapse; }

.dash-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--app-midnight);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 8px;
    border: none;
    white-space: nowrap;
    cursor: default;
    user-select: none;
}

.dash-table thead th.sortable,
.dash-table thead th.sortable-bib {
    cursor: pointer;
}
.dash-table thead th.sortable:hover { background: #1e3a8a; }
.dash-table thead th.sort-asc::after { content: " â"; color: #34d399; }
.dash-table thead th.sort-desc::after { content: " â"; color: #f87171; }

.dash-table tbody td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
    color: var(--text-primary);
    font-weight: 600;
}

.dash-table tbody tr:hover td { background: var(--hover-surface); }

.dash-clube-cell { display: flex; align-items: center; gap: 10px; }
.dash-clube-cell img {
    width: 28px; height: 28px; object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12));
}
.dash-clube-sigla { font-weight: 900; font-size: 13px; }

.dash-val { font-variant-numeric: tabular-nums; font-weight: 800; display: inline-block; min-width: 2.5em; }

/* Filtros compartilhados */
.dash-filtros-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    align-items: flex-end;
}
.dash-filtro-grupo { display: flex; flex-direction: column; gap: 6px; }
.dash-filtro-hist { flex: 1; min-width: 220px; max-width: 360px; }

.dash-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.dash-pill {
    border: var(--hub-border, 1px solid var(--border-subtle));
    background: var(--hub-surface, var(--bg-elevated));
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: var(--hub-radius-chip, 8px);
    cursor: pointer;
    transition: all 0.15s;
}
.dash-pill:hover { border-color: var(--accent-orange); color: var(--text-primary); }
.dash-pill.ativo {
    background: var(--hub-surface-navy, #191970);
    color: #fff;
    border-color: #191970;
}

.dash-hist-wrap { position: relative; padding-top: 4px; }
.dash-hist-track {
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
}
.dash-hist-fill {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-orange), #f59e0b);
    width: 33%;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    opacity: 0.85;
}
.dash-hist-slider {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
.dash-hist-slider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
}
.dash-hist-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-orange);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    margin-top: -7px;
    transition: transform 0.15s ease;
}
.dash-hist-slider:active::-webkit-slider-thumb { transform: scale(1.15); }
.dash-hist-slider::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
}
.dash-hist-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-orange);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.dash-hist-labels-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
    text-align: center;
}
.dash-hist-labels-grid span {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.2s, transform 0.2s;
    padding: 2px 0;
}
.dash-hist-labels-grid span.ativo {
    color: var(--accent-orange);
    transform: scale(1.04);
}

/* Switch Jogadores / Clubes */
.dash-mode-switch {
    display: inline-flex;
    padding: 4px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    gap: 2px;
}
.dash-mode-opt {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.dash-mode-opt:hover { color: var(--text-primary); }
.dash-mode-opt.active {
    background: var(--app-midnight);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.dash-filtros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px 20px;
    align-items: end;
}
.dash-select-compact { font-size: 11px; font-weight: 700; border-radius: 8px; }

/* CÃ©lula jogador */
.bib-jogador-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}
.bib-jogador-foto-wrap { position: relative; flex-shrink: 0; }
.bib-jogador-foto {
    width: 36px; height: 36px; border-radius: 50%;
    object-fit: cover; background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
}
.bib-status-badge {
    position: absolute; bottom: -2px; right: -2px;
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid var(--bg-elevated);
    display: flex; align-items: center; justify-content: center;
    font-size: 8px; font-weight: 900;
}
.bib-status-provavel { background: #22c55e; color: #fff; }
.bib-status-duvida { background: #f59e0b; color: #1e293b; }
.bib-status-lesionado { background: #ef4444; color: #fff; font-size: 10px; }
.bib-status-suspenso { background: #ef4444; color: #fff; }
.bib-status-nulo { background: #94a3b8; color: #fff; }
.bib-jogador-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bib-jogador-nome {
    font-weight: 800; font-size: 12px; cursor: pointer;
    transition: color 0.15s;
}
.bib-jogador-nome:hover { color: var(--accent-orange); }
.bib-jogador-sub {
    display: flex; align-items: center; gap: 6px;
    font-size: 9px; font-weight: 800; color: var(--text-muted);
    text-transform: uppercase;
}
.bib-jogador-sub img { width: 14px; height: 14px; object-fit: contain; }

/* Tooltip hover histÃ³rico */
.dash-bib-tooltip {
    position: fixed;
    z-index: 1080;
    max-width: 320px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 11px;
}
.dash-bib-tooltip.visible { opacity: 1; transform: translateY(0); }
.dash-bib-tooltip .tip-title { font-weight: 900; font-size: 10px; text-transform: uppercase; color: var(--accent-orange); margin-bottom: 6px; }
.dash-bib-tooltip .tip-row { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px solid var(--border-subtle); }
.dash-bib-tooltip .tip-scouts { color: var(--text-muted); font-size: 10px; }

/* Clubes cards */
.dash-clubes-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.dash-clube-card {
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    background: var(--bg-elevated);
    padding: 14px;
    transition: border-color 0.2s;
}
.dash-clube-card:hover { border-color: var(--accent-orange); }
.dash-clube-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dash-clube-card-head img { width: 32px; height: 32px; object-fit: contain; }
.dash-clube-card-val { font-size: 22px; font-weight: 900; color: var(--text-primary); }
.dash-clube-card-lbl { font-size: 9px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); }

/* Perfil modal */
.dash-perfil-hero {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    border-radius: 14px;
    padding: 20px;
    color: #fff;
    margin-bottom: 16px;
}
.dash-perfil-radar-card, .dash-perfil-shot-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 16px;
    height: 100%;
}
.dash-perfil-shot-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
    margin-top: 12px;
}
.dash-perfil-shot-stats .n { font-size: 20px; font-weight: 900; }
.dash-perfil-shot-stats .l { font-size: 9px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); }

.dash-pitch-mini {
    position: relative; width: 100%; max-width: 220px; aspect-ratio: 0.68;
    background: linear-gradient(180deg, #2d5a27 0%, #1e4620 100%);
    border-radius: 10px; border: 2px solid rgba(255,255,255,0.25); margin: 0 auto;
}
.dash-pitch-dot {
    position: absolute; width: 12px; height: 12px; border-radius: 50%;
    background: #ef4444; border: 2px solid #fff; transform: translate(-50%, -50%);
}
.dash-radar-wrap { max-width: 300px; margin: 0 auto; }
.dash-shotmap {
    position: relative; width: 100%; max-width: 280px; aspect-ratio: 0.68;
    background: linear-gradient(180deg, #2d5a27 0%, #1e4620 100%);
    border-radius: 10px; margin: 0 auto; border: 1px solid rgba(255,255,255,0.15);
}
.dash-shot-dot {
    position: absolute; width: 9px; height: 9px; border-radius: 50%;
    transform: translate(-50%, -50%); background: rgba(239,68,68,0.75); border: 1px solid #fff;
}
.dash-shot-dot.gol { background: #fff; width: 11px; height: 11px; box-shadow: 0 0 0 2px #ef4444; }

html[data-theme="dark"] .dash-mode-opt.active { background: #334155; }
html[data-theme="dark"] .dash-bib-tooltip { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .dash-perfil-hero { background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%); }

/* CÃ©lulas coloridas â pontuaÃ§Ã£o (alto contraste light + dark) */
.cell-bom {
    background: rgba(16, 185, 129, 0.22);
    color: #047857;
    font-weight: 800;
}
.cell-medio {
    background: rgba(245, 158, 11, 0.22);
    color: #b45309;
    font-weight: 800;
}
.cell-ruim {
    background: rgba(239, 68, 68, 0.2);
    color: #b91c1c;
    font-weight: 800;
}
.cell-neutro {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

/* RecorrÃªncia */
.dash-rec-card {
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    background: var(--bg-elevated);
    overflow: hidden;
    height: 100%;
}
.dash-rec-header {
    background: var(--bg-secondary);
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
}
.dash-rec-body {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 12px 8px;
}
.dash-rec-side {
    flex: 1;
    min-width: 0;
    text-align: center;
}
.dash-rec-team-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}
.dash-rec-team-head img { width: 36px; height: 36px; object-fit: contain; }
.dash-rec-sigla { font-weight: 900; font-size: 13px; color: var(--text-primary); }
.dash-rec-vs-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-size: 10px;
    font-weight: 900;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.dash-matrix {
    width: 100%;
    font-size: 10px;
    border-collapse: collapse;
}
.dash-matrix th,
.dash-matrix td {
    border: 1px solid var(--border-subtle);
    padding: 6px 3px;
    text-align: center;
}
.dash-matrix th {
    background: var(--bg-secondary);
    font-weight: 800;
    color: var(--text-muted);
    font-size: 9px;
}
.dash-matrix .row-label {
    text-align: left;
    font-weight: 800;
    font-size: 8px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-left: 6px;
    white-space: nowrap;
}

.dash-jogador-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dash-jogador-foto {
    width: 32px; height: 32px; border-radius: 50%;
    object-fit: cover; background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
}

/* Dark mode â contraste garantido */
html[data-theme="dark"] .dash-tabs .nav-link.active {
    background: #202020;
    border-color: var(--accent-orange);
    box-shadow: none;
}
html[data-theme="dark"] .dash-table thead th { background: #191919; color: #f1f5f9; }
html[data-theme="dark"] .dash-table thead th.sortable:hover { background: #292929; }
html[data-theme="dark"] .dash-pill {
    background: #202020;
    color: #a1a1aa;
    border-color: #383838;
}
html[data-theme="dark"] .dash-pill:hover { color: #f1f5f9; border-color: var(--accent-orange); }
html[data-theme="dark"] .dash-pill.ativo {
    background: #161616;
    color: #f8fafc;
    border-color: var(--accent-orange);
}

html[data-theme="dark"] .hub-tab {
    background: #202020;
    color: #a1a1aa;
    border-color: #383838;
}
html[data-theme="dark"] .hub-tab:hover { color: #f1f5f9; border-color: var(--accent-orange); }
html[data-theme="dark"] .hub-tab.ativo {
    background: #161616;
    color: #f8fafc;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 1px rgba(255, 102, 0, 0.24);
}

html[data-theme="dark"] .hub-toolbar {
    background: var(--bg-primary);
    border-bottom-color: #383838;
}


html[data-theme="dark"] .cell-bom {
    background: rgba(52, 211, 153, 0.18);
    color: #6ee7b7;
}
html[data-theme="dark"] .cell-medio {
    background: rgba(251, 191, 36, 0.18);
    color: #fcd34d;
}
html[data-theme="dark"] .cell-ruim {
    background: rgba(248, 113, 113, 0.18);
    color: #fca5a5;
}
html[data-theme="dark"] .cell-neutro {
    background: #202020;
    color: #a1a1aa;
}

html[data-theme="dark"] .dash-matrix th {
    background: #202020;
    color: #cbd5e1;
    border-color: #383838;
}
html[data-theme="dark"] .dash-matrix td { border-color: #383838; }

/* ==========================================================================
   EscalÃ´metro
   ========================================================================== */

.esc-board {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

@media (max-width: 1200px) {
    .esc-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .esc-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .esc-board { grid-template-columns: 1fr; }
}

.esc-col {
    background: var(--hub-surface, var(--bg-secondary));
    border: var(--hub-border, 1px solid var(--border-subtle));
    border-radius: var(--hub-radius-card, 14px);
    overflow: hidden;
    min-height: 200px;
    box-shadow: var(--hub-shadow);
}

.esc-col-head {
    background: var(--hub-surface-navy, var(--app-midnight));
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 10px 12px;
    text-align: center;
}

.esc-col-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 12px;
}

.esc-card {
    background: var(--hub-surface-card, var(--bg-primary, #fff));
    border: var(--hub-border, 1px solid var(--border-subtle));
    border-radius: var(--hub-radius-chip, 12px);
    padding: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.esc-card:hover {
    border-color: rgba(25, 25, 112, 0.25);
    box-shadow: var(--hub-shadow-hover);
}

.esc-card-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.esc-rank {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
}

.esc-tier {
    font-size: 9px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.esc-tier-s { background: #16a34a; color: #fff; }
.esc-tier-a { background: #2563eb; color: #fff; }
.esc-tier-b { background: #f59e0b; color: #1e293b; }
.esc-tier-c { background: #94a3b8; color: #fff; }

.esc-des {
    margin-left: auto;
    font-size: 18px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.esc-card-player {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.esc-foto-wrap { position: relative; flex-shrink: 0; }

.esc-foto {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-secondary);
}

.esc-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-primary, #fff);
}

.esc-status-provavel { background: #22c55e; color: #fff; }
.esc-status-duvida { background: #f59e0b; color: #1e293b; }

.esc-meta { min-width: 0; }

.esc-nome {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.esc-sub {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.esc-sub img { width: 14px; height: 14px; object-fit: contain; }

.esc-vs {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.esc-proj {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 4px;
    text-align: center;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 6px;
    border-radius: var(--hub-radius-chip, 10px);
    background: var(--hub-surface);
    border: var(--hub-border, 1px solid var(--border-subtle));
}

.esc-proj small {
    display: block;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.esc-proj-main { color: var(--accent-orange); font-size: 13px; }

.esc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.esc-chip {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 6px;
    background: var(--hub-surface);
    color: var(--text-muted);
    border: var(--hub-border, 1px solid var(--border-subtle));
}

.esc-chip-matchup { background: rgba(37, 99, 235, 0.12); color: #2563eb; border-color: transparent; }
.esc-chip-forma { background: rgba(34, 197, 94, 0.12); color: #16a34a; border-color: transparent; }
.esc-chip-sg, .esc-chip-vit { background: rgba(25, 25, 112, 0.1); color: var(--app-midnight); border-color: transparent; }
.esc-chip-off { background: rgba(249, 115, 22, 0.12); color: #ea580c; border-color: transparent; }
.esc-chip-status { background: rgba(245, 158, 11, 0.15); color: #b45309; border-color: transparent; }

.esc-preco {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent-orange);
    margin-top: 2px;
}

.esc-preco-valor {
    margin-left: 6px;
    color: #16a34a;
}

.esc-empty {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 24px 8px;
}

html[data-theme="dark"] .esc-card { background: #1c1c1c; }
html[data-theme="dark"] .esc-status { border-color: #1c1c1c; }

/* ==========================================================================
   HUB â Confrontos da rodada
   ========================================================================== */

.hub-confrontos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.hub-jogo-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px;
}

.hub-jogo-destaque {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.hub-jogo-times {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hub-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 64px;
}

.hub-time img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.hub-sigla {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.hub-prob {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.hub-x {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.6;
}

.hub-jogo-sg {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
}

.hub-jogo-tags {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.hub-tag {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}

.hub-tag-def {
    background: rgba(25, 25, 112, 0.1);
    color: var(--app-midnight);
}

.hub-tag-atk {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
}

/* ==========================================================================
   HUB unificado â toolbar + confrontos + tabela jogadores
   ========================================================================== */

.hub-toolbar {
    z-index: 100;
    background: transparent;
    padding: 0;
    margin: 0;
    border-bottom: none;
}

.hub-toolbar.sticky-top {
    top: 70px;
}

.hub-toolbar-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--hub-surface-card, var(--bg-primary));
    border: var(--hub-border, 1px solid var(--border-subtle));
    border-radius: var(--hub-radius-card, 16px);
    box-shadow: var(--hub-shadow);
}

.hub-nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 1px solid var(--border-subtle);
    background: var(--hub-surface, #f1f5f9);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.hub-nav-toggle-bars {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    width: 18px;
    flex-shrink: 0;
}

.hub-nav-toggle-bars span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: currentColor;
}

.hub-nav-toggle-label {
    flex: 1;
    text-align: left;
}

.hub-nav-toggle-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.15s ease;
}

.hub-toolbar-inner.is-nav-open .hub-nav-toggle-chevron {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.hub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hub-tab {
    border: var(--hub-border, 1px solid #e2e8f0);
    background: var(--hub-surface, #f1f5f9);
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 8px 14px;
    border-radius: var(--hub-radius-chip, 8px);
    cursor: pointer;
    transition: all 0.15s ease;
}

.hub-tab:hover { border-color: var(--accent-orange); color: #0f172a; }
.hub-tab.ativo {
    background: var(--hub-surface-navy, #191970);
    color: #fff;
    border-color: #191970;
    box-shadow: 0 2px 8px rgba(25, 25, 112, 0.2);
}

.hub-toolbar-filtros {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-main { min-height: 320px; }

.hub-jogos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.hub-jogo-panel {
    flex: 0 1 320px;
    width: 100%;
    max-width: 340px;
    background: var(--hub-surface-card, var(--bg-elevated, #fff));
    border: var(--hub-border, 1px solid var(--border-subtle));
    border-radius: var(--hub-radius-card, 16px);
    overflow: hidden;
    box-shadow: var(--hub-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hub-jogo-clickable:hover {
    box-shadow: var(--hub-shadow-hover);
    transform: translateY(-1px);
}

.hub-jogo-panel-head {
    position: relative;
    padding: 18px 16px 14px;
    background: var(--hub-surface-navy, #191970);
    color: #f8fafc;
}

.hub-card-score {
    display: none !important;
}

.hub-conf-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.hub-conf-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hub-conf-badge-favorito {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.45);
}

.hub-conf-badge-classico {
    background: rgba(234, 179, 8, 0.22);
    color: #fde68a;
    border: 1px solid rgba(234, 179, 8, 0.5);
}

.hub-conf-badge-equilibrio {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.45);
}

.hub-conf-badge-evitar {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.45);
}

.hub-badge-crest {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.hub-card-stat-single .hub-card-stat-v {
    letter-spacing: 0;
}

.hub-card-metrics {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.hub-metric-chip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border-radius: var(--hub-radius-chip, 10px);
    background: var(--hub-surface);
    border: var(--hub-border, 1px solid var(--border-subtle));
    min-width: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

html[data-theme="dark"] .hub-metric-chip {
    background: var(--hub-surface);
}

.hub-metric-chip-k {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    color: var(--text-muted);
}

.hub-metric-chip-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.hub-metric-chip .hub-metric-side {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: initial;
    max-width: none;
    grid-template-columns: none;
}

.hub-metric-crest {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.hub-metric-chip .hub-metric-side strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hub-metric-chip-over {
    align-items: flex-start;
    justify-content: space-between;
}

.hub-metric-over-val {
    font-size: 18px;
    font-weight: 900;
    color: #191970;
    letter-spacing: -0.03em;
    line-height: 1;
}

html[data-theme="dark"] .hub-metric-over-val {
    color: #93c5fd;
}

.hub-metric-bar {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(25, 25, 112, 0.12);
    overflow: hidden;
    margin-top: 2px;
}

.hub-metric-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #191970, #3b82f6);
}

html[data-theme="dark"] .hub-metric-bar {
    background: rgba(147, 197, 253, 0.15);
}

html[data-theme="dark"] .hub-metric-bar span {
    background: linear-gradient(90deg, #60a5fa, #93c5fd);
}

.hub-card-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hub-card-stat {
    text-align: center;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--bg-secondary, #f8fafc);
    min-width: 120px;
    flex: 0 1 140px;
}

.hub-card-stat-k {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.hub-card-stat-v {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hub-card-stat-sep {
    margin: 0 3px;
    color: var(--text-muted);
    font-weight: 600;
}

.hub-side-crest {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.95;
}

.hub-side-sigla {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.hub-side-vit {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hub-draw-pct {
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
}

.hub-draw-lbl {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    color: rgba(255, 255, 255, 0.45);
}

.hub-x-lg { display: none; }

.hub-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.hub-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.hub-shield-wrap { display: none; }

.hub-vs-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 48px;
    padding: 0 4px;
}

.hub-fav-center {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 2px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.hub-fav-center img { display: none; }
.hub-fav-amplo,
.hub-fav-fav,
.hub-fav-leve,
.hub-fav-eq {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border: none;
}

/* Versus â Ã grande e legÃ­vel */
.hub-vs-x {
    display: block;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    padding: 0;
    margin: 0 0 2px;
    border: none;
    border-radius: 0;
    background: transparent !important;
    color: #fff !important;
    opacity: 0.95;
    text-transform: none;
}

.hub-card-body {
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
}

.hub-card-pick {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 12px;
    margin-top: 2px;
    margin-bottom: 2px;
    border-radius: var(--hub-radius-chip, 10px);
    background: var(--hub-surface);
    border: var(--hub-border, 1px solid var(--border-subtle));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.hub-card-pick-k {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.35px;
}

.hub-card-pick-n {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-card-pick-d {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-orange);
}

.hub-jogo-cta {
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: #0f172a;
    margin: 10px 14px 14px;
    padding: 11px 12px;
    border-radius: var(--hub-radius-chip, 10px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}

.hub-jogo-clickable:hover .hub-jogo-cta {
    color: #0f172a;
    background: #fff;
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .hub-jogo-cta,
html[data-theme="dark"] .hub-jogo-clickable:hover .hub-jogo-cta {
    color: #0f172a;
    background: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.hub-jogo-metrics,
.hub-jogo-scouts,
.hub-jogo-preview,
.hub-jogo-badges,
.hub-ms-badge { display: none !important; }

/* MÃ©tricas SG / Gol / Over â centralizadas */
.hub-jogo-metrics {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--hub-metrics-bg, var(--bg-primary));
}

.hub-metric {
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.hub-metric-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}

.hub-metric-compare {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.hub-jogo-metrics .hub-metric-side {
    flex: 1;
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 130px;
}

.hub-metric-side-dir {
    grid-template-columns: auto 1fr 22px;
}

.hub-metric-escudo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.hub-metric-val {
    font-size: 10px;
    font-weight: 900;
    color: var(--text-primary);
    min-width: 30px;
    text-align: center;
}

.hub-bar-track {
    height: 7px;
    background: var(--hub-bar-bg, var(--border-subtle));
    border-radius: 99px;
    overflow: hidden;
}

.hub-bar-track-wide { flex: 1; height: 8px; max-width: 220px; }

.hub-bar-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s ease;
}

.hub-bar-casa { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.hub-bar-fora { background: linear-gradient(90deg, #ea580c, #fb923c); }
.hub-bar-over { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

.hub-metric-single { max-width: 260px; }

.hub-metric-single-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hub-metric-val-lg {
    font-size: 13px;
    font-weight: 900;
    color: var(--hub-over-color, #6d28d9);
    min-width: 36px;
}

/* Cruzamento tÃ¡tico */
.hub-jogo-scouts {
    padding: 12px;
    background: var(--hub-scouts-bg, var(--bg-secondary));
}

.hub-cruzamento {
    background: var(--hub-rec-bg, var(--bg-primary));
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px;
}

.hub-cruz-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.hub-cruz-title {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-primary);
}

.hub-cruz-sub {
    font-size: 8px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hub-spots-pill {
    display: none;
}

.hub-cruz-block { margin-bottom: 8px; }

.hub-cruz-team {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.hub-cruz-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 10px 0;
}

.hub-rec-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hub-rec-row {
    display: grid;
    grid-template-columns: 76px repeat(5, 1fr);
    gap: 4px;
    align-items: stretch;
}

.hub-rec-row-head .hub-rec-bucket {
    font-size: 8px;
    font-weight: 900;
    text-align: center;
    color: var(--text-muted);
    padding: 2px 0;
    position: relative;
}

.hub-rec-bucket-match {
    color: var(--hub-spot-tag-text, #166534);
}

.hub-match-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #22c55e;
    margin: 2px auto 0;
}

.hub-rec-type {
    font-size: 8px;
    font-weight: 800;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding-right: 4px;
    line-height: 1.2;
}

.hub-hcell {
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    padding: 6px 2px;
    border-radius: 4px;
    line-height: 1;
    border: 1px solid transparent;
    color: var(--text-primary);
}

.hub-hcell-i0 { background: transparent; color: var(--text-muted); }
.hub-hcell-i1 { background: rgba(25, 25, 112, 0.06); }
.hub-hcell-i2 { background: rgba(25, 25, 112, 0.12); }
.hub-hcell-i3 { background: rgba(25, 25, 112, 0.22); color: #1e293b; }
.hub-hcell-i4 { background: rgba(25, 25, 112, 0.38); color: #fff; }

.hub-hcell-match {
    border-color: var(--accent-orange);
    box-shadow: inset 0 0 0 1px var(--accent-orange);
}

.hub-hcell-neut,
.hub-hcell-vermelho,
.hub-hcell-amarelo,
.hub-hcell-verde-claro,
.hub-hcell-verde-escuro { /* legado â mapeado via i0-i4 no JS */ }

.hub-cruz-fav-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    padding: 0;
    background: none;
    border: none;
}

.hub-cruz-fav-chip {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.hub-cruzamento-compact {
    border: none;
    background: transparent;
    padding: 0;
}

.hub-rec-team-block {
    margin-bottom: 12px;
}

.hub-rec-team-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.hub-cruzamento-compact .hub-rec-row {
    grid-template-columns: 36px repeat(5, 1fr);
}

/* Dark mode â confrontos */
html[data-theme="dark"] {
    --hub-metrics-bg: #1b1b1b;
    --hub-scouts-bg: #181818;
    --hub-rec-bg: #1b1b1b;
    --hub-bar-bg: #2a2a2a;
    --hub-over-color: #c4b5fd;
    --hub-cell-neut: #202020;
}

html[data-theme="dark"] .hub-jogo-panel-head {
    background: var(--hub-surface-navy);
    color: #f8fafc;
    border-bottom: 1px solid #334155;
}

html[data-theme="dark"] .hub-side-sigla { color: rgba(248, 250, 252, 0.9); }
html[data-theme="dark"] .hub-side-vit,
html[data-theme="dark"] .hub-draw-pct { color: #fff; }
html[data-theme="dark"] .hub-draw-lbl { color: rgba(248, 250, 252, 0.55); }
html[data-theme="dark"] .hub-x-lg { color: rgba(248, 250, 252, 0.35); }

html[data-theme="dark"] .hub-fav-amplo { background: #ca8a04; color: #1c1917; }
html[data-theme="dark"] .hub-fav-fav { background: #a16207; color: #fef3c7; }
html[data-theme="dark"] .hub-fav-leve { background: rgba(255,255,255,0.15); color: #f1f5f9; }
html[data-theme="dark"] .hub-fav-eq { background: rgba(255,255,255,0.1); color: #e2e8f0; }

html[data-theme="dark"] .hub-jogo-panel {
    background: var(--hub-surface-card);
    border-color: #334155;
}
html[data-theme="dark"] .hub-bar-casa { background: linear-gradient(90deg, #1d4ed8, #3b82f6); }
html[data-theme="dark"] .hub-bar-fora { background: linear-gradient(90deg, #c2410c, #f97316); }
html[data-theme="dark"] .hub-bar-over { background: linear-gradient(90deg, #6d28d9, #8b5cf6); }
html[data-theme="dark"] .hub-hcell-match { border-color: #4ade80; box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.45); }

html[data-theme="dark"] .hub-hcell-vermelho { background: rgba(248, 113, 113, 0.22); color: #fecaca; }
html[data-theme="dark"] .hub-hcell-amarelo { background: rgba(251, 191, 36, 0.2); color: #fde68a; }
html[data-theme="dark"] .hub-hcell-verde-claro { background: rgba(74, 222, 128, 0.28); color: #bbf7d0; }
html[data-theme="dark"] .hub-hcell-verde-escuro { background: rgba(22, 101, 52, 0.9); color: #ecfdf5; }

html[data-theme="dark"] .hub-cruz-fav-line {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(74, 222, 128, 0.3);
}
html[data-theme="dark"] .hub-cruz-fav-lbl { color: #86efac; }
html[data-theme="dark"] .hub-cruz-fav-chip {
    background: rgba(34, 197, 94, 0.22);
    color: #bbf7d0;
}

.hub-table-wrap { max-height: 70vh; overflow: auto; border-radius: 12px; border: 1px solid var(--border-subtle); }

.hub-players-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--app-midnight);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 8px;
    border: none;
}

.hub-players-table tbody td {
    padding: 8px;
    font-size: 12px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

.hub-row-top5 td { background: rgba(37, 99, 235, 0.06); }
.hub-row-top5 .hub-player-nome { font-weight: 900; }

.hub-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--app-midnight);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}
.hub-rank-dim { background: var(--bg-secondary); color: var(--text-muted); font-weight: 700; }

.hub-player-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
}
.hub-player-foto {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-subtle);
}
.hub-player-nome { font-weight: 700; line-height: 1.2; }
.hub-player-chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.hub-escudo-sm { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
.hub-des { color: var(--accent-orange); }

.hub-st {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    font-size: 8px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bg-secondary);
}
.hub-st-ok { background: #22c55e; }
.hub-st-warn { background: #f59e0b; color: #fff; }

.hub-player-cell { position: relative; }
.hub-player-cell .hub-player-foto { position: relative; }

.hub-top5-legend { display: inline-flex; align-items: center; gap: 6px; }
.hub-top5-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(37, 99, 235, 0.4);
}

.cell-bom { color: #16a34a; font-weight: 800; }
.cell-medio { color: #d97706; font-weight: 800; }
.cell-ruim { color: #dc2626; font-weight: 800; }
.cell-neutro { color: var(--text-muted); }

.hub-jogo-clickable {
    cursor: pointer;
}

.hub-tabs-confrontos-only {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hub-link-escalometro {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
}
.hub-link-escalometro:hover { text-decoration: underline; }

body.hub-raiox-open { overflow: hidden; }

.hub-raiox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(72px, calc(env(safe-area-inset-top, 0px) + 64px)) 16px 24px;
    box-sizing: border-box;
}

.hub-raiox-backdrop[hidden] {
    display: none !important;
}

.hub-raiox-panel {
    position: relative;
    top: auto;
    right: auto;
    width: min(560px, 100%);
    max-height: min(calc(100vh - 96px), 860px);
    height: auto;
    background: #ffffff;
    z-index: 1101;
    display: flex;
    flex-direction: column;
    border-radius: var(--hub-radius-card, 16px);
    border: var(--hub-border, 1px solid var(--border-subtle));
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    overflow: hidden;
    isolation: isolate;
}

html[data-theme="dark"] .hub-raiox-panel {
    background: #181818;
    border-color: #353535;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.hub-raiox-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--hub-surface-navy, #191970);
    color: #fff;
    flex-shrink: 0;
}

html[data-theme="dark"] .hub-raiox-head { background: #151515; }

.hub-raiox-eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 8px;
}

.hub-raiox-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hub-rx-team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hub-rx-team-name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
}

.hub-rx-title-x {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}

.hub-rx-crest {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: -5px;
    display: inline-block;
}

.hub-raiox-title .hub-rx-crest {
    width: 28px;
    height: 28px;
}

.hub-raiox-bullets .hub-rx-crest {
    width: 20px;
    height: 20px;
    margin: 0 2px;
}

.hub-rx-vs {
    font-size: 10px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
    margin: 0 6px;
}

.hub-rec-type-crest {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    font-size: 8px;
}

.hub-rec-type-crest .hub-rx-crest {
    width: 18px;
    height: 18px;
}

.hub-rec-type-crest span {
    font-size: 8px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hub-pick-meta-crest {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hub-pick-meta-sep {
    color: var(--text-muted);
}

.hub-pick-status {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
}

.hub-pick-status .hub-cs-status-icon {
    width: 18px;
    height: 20px;
}

.hub-rx-cross-block .hub-rec-team-label {
    display: none;
}

.hub-raiox-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.hub-raiox-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0;
    min-height: 0;
    background: #ffffff;
}

html[data-theme="dark"] .hub-raiox-body {
    background: #181818;
}

.hub-raiox-tabs {
    display: flex;
    gap: 6px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px;
}

.hub-raiox-tab {
    flex: 1;
    appearance: none;
    border: var(--hub-border, 1px solid var(--border-subtle));
    background: var(--hub-surface);
    padding: 10px 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--hub-radius-chip, 10px);
    line-height: 1.25;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.hub-raiox-tab.is-active {
    color: #fff;
    background: var(--accent-orange, #ff6600);
    border-color: var(--accent-orange, #ff6600);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.25);
}

html[data-theme="dark"] .hub-raiox-tab {
    background: #202020;
    border-color: #353535;
    color: #a1a1aa;
}

html[data-theme="dark"] .hub-raiox-tab.is-active {
    color: #fff;
    background: var(--accent-orange, #ff6600);
    border-color: var(--accent-orange, #ff6600);
    box-shadow: 0 2px 10px rgba(255, 102, 0, 0.28);
}

.hub-raiox-pane {
    padding: 14px 14px 18px;
    background: #ffffff;
}

html[data-theme="dark"] .hub-raiox-pane {
    background: #181818;
}

.hub-raiox-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hub-raiox-bullets li {
    position: relative;
    padding: 12px 14px 12px 36px;
    background: var(--hub-surface);
    border: var(--hub-border, 1px solid var(--border-subtle));
    border-radius: var(--hub-radius-chip, 10px);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

html[data-theme="dark"] .hub-raiox-bullets li {
    background: #202020;
    border-color: #353535;
    color: #e8e8e8;
}

.hub-raiox-bullets li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-orange, #ff6600);
}

html[data-theme="dark"] .hub-raiox-bullets li::before {
    background: var(--accent-orange, #ff6600);
}

.hub-raiox-hero {
    padding: 24px 20px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.hub-raiox-score {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #191970;
    margin-bottom: 12px;
}

html[data-theme="dark"] .hub-raiox-score { color: #fb923c; }

.hub-raiox-lead {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
}

.hub-raiox-xg {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.hub-raiox-muted {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.hub-raiox-muted p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
}

.hub-raiox-section {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.hub-raiox-section h3 {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: var(--text-muted);
    margin: 0 0 14px;
}

.hub-pick-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hub-pick-card {
    display: grid;
    grid-template-columns: 24px 40px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--hub-radius-chip, 10px);
    background: var(--hub-surface);
    border: var(--hub-border, 1px solid var(--border-subtle));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.hub-pick-foto {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
}

.hub-pick-foto-ph {
    display: inline-block;
    background: var(--border-subtle);
}

.hub-pick-rank {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    text-align: center;
}

.hub-pick-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.hub-pick-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.hub-pick-metrics {
    display: flex;
    gap: 8px;
    text-align: right;
    align-items: stretch;
}

.hub-pick-m {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--hub-surface-card, #fff);
    border: var(--hub-border, 1px solid var(--border-subtle));
}

html[data-theme="dark"] .hub-pick-m {
    background: rgba(24, 24, 24, 0.85);
    border-color: #353535;
}

.hub-pick-m strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.hub-pick-m small {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.hub-pick-m:first-child strong { color: var(--accent-orange); }

.hub-grade-pill {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 13px !important;
    font-weight: 800;
    line-height: 1.2 !important;
}

.hub-grade-a { background: rgba(22, 163, 74, 0.18); color: #15803d; }
.hub-grade-b { background: rgba(245, 158, 11, 0.2); color: #b45309; }
.hub-grade-c { background: rgba(148, 163, 184, 0.22); color: #475569; }
.hub-grade-d { background: rgba(239, 68, 68, 0.16); color: #b91c1c; }

html[data-theme="dark"] .hub-grade-a { background: rgba(34, 197, 94, 0.2); color: #86efac; }
html[data-theme="dark"] .hub-grade-b { background: rgba(245, 158, 11, 0.22); color: #fcd34d; }
html[data-theme="dark"] .hub-grade-c { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
html[data-theme="dark"] .hub-grade-d { background: rgba(239, 68, 68, 0.22); color: #fca5a5; }

.hub-cruzamento-raiox {
    padding: 10px;
    border-radius: var(--hub-radius-chip, 10px);
    background: var(--hub-surface);
    border: var(--hub-border, 1px solid var(--border-subtle));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    overflow: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hub-cruzamento-raiox .hub-cruz-head {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: var(--hub-radius-chip, 10px);
    background: var(--hub-surface-card, #fff);
    border: var(--hub-border, 1px solid var(--border-subtle));
}

.hub-cruzamento-raiox .hub-cruz-title {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-primary);
}

.hub-cruzamento-raiox .hub-cruz-sub {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: var(--text-muted);
}

.hub-cruzamento-raiox .hub-rec-row {
    display: grid;
    grid-template-columns: 36px repeat(9, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    min-width: 0;
    align-items: stretch;
}

.hub-cruzamento-raiox .hub-rec-row-head .hub-rec-bucket {
    font-size: 6.5px;
    letter-spacing: 0;
    line-height: 1.1;
    padding: 2px 0;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}

.hub-cruzamento-raiox .hub-rec-type {
    font-size: 7px;
    min-width: 0;
    padding: 0;
    gap: 2px;
}

.hub-cruzamento-raiox .hub-rec-type-crest {
    flex-direction: column;
    justify-content: center;
}

.hub-cruzamento-raiox .hub-rec-type-crest .hub-rx-crest {
    width: 14px;
    height: 14px;
}

.hub-cruzamento-raiox .hub-scell {
    min-height: 28px;
    font-size: 11px;
    border-radius: 6px;
    padding: 3px 0;
    min-width: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
    border: none;
    color: #0f172a;
}

.hub-cruzamento-raiox .hub-rec-team-block {
    margin-bottom: 8px;
    padding: 8px;
    overflow: visible;
}

.hub-rec-team-block {
    margin-bottom: 12px;
    padding: 10px;
    border-radius: var(--hub-radius-chip, 10px);
    background: var(--hub-surface-card, #fff);
    border: var(--hub-border, 1px solid var(--border-subtle));
}

.hub-rx-cross-block.hub-rec-team-block:last-of-type {
    margin-bottom: 8px;
}

.hub-scell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    border: 1px solid transparent;
}

/* Heatmap oportunidade (Escala-like): alto = verde nos dois lados */
.hub-scell-i0 {
    background: #e2e8f0;
    color: #64748b;
}
.hub-scell-i1 {
    background: #ef4444;
    color: #fff;
}
.hub-scell-i2 {
    background: #f5d0a9;
    color: #7c2d12;
}
.hub-scell-i3 {
    background: #c8e86a;
    color: #3f6212;
}
.hub-scell-i4 {
    background: #22c55e;
    color: #052e16;
}

.hub-scell-match {
    box-shadow: inset 0 0 0 2px #0f172a;
}

.hub-rec-bucket-hot {
    color: #16a34a !important;
    font-weight: 800;
}

.hub-ced-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 8px;
    padding: 0 4px 2px;
    font-size: 10px;
    color: var(--text-muted, #64748b);
}
.hub-ced-leg-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.hub-ced-leg-swatch {
    display: inline-block;
    width: 14px;
    height: 10px;
    border-radius: 3px;
    vertical-align: middle;
    flex-shrink: 0;
}
.hub-ced-leg-note {
    margin-left: 4px;
    opacity: 0.85;
}

/* legado ETL cor â mantido p/ outras telas */
.hub-scell-bom {
    background: rgba(22, 163, 74, 0.14);
    border-color: rgba(22, 163, 74, 0.18);
    color: #166534;
}
.hub-scell-medio {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.18);
    color: #92400e;
}
.hub-scell-ruim {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.16);
    color: #991b1b;
}
.hub-scell-neutro {
    background: var(--hub-surface);
    border-color: var(--border-subtle);
    color: var(--text-muted);
}

/* Dark mode â Cedido Ã conquistado legÃ­vel */
html[data-theme="dark"] .hub-cruzamento-raiox {
    background: rgba(24, 24, 24, 0.75);
    border-color: #353535;
}

html[data-theme="dark"] .hub-cruzamento-raiox .hub-cruz-head,
html[data-theme="dark"] .hub-rec-team-block {
    background: rgba(32, 32, 32, 0.98);
    border-color: #353535;
}

html[data-theme="dark"] .hub-cruzamento-raiox .hub-cruz-title {
    color: #f1f5f9;
}

html[data-theme="dark"] .hub-cruzamento-raiox .hub-cruz-sub,
html[data-theme="dark"] .hub-ced-legend,
html[data-theme="dark"] .hub-rec-type-crest span,
html[data-theme="dark"] .hub-rec-row-head .hub-rec-bucket {
    color: #94a3b8;
}

html[data-theme="dark"] .hub-cruzamento-raiox .hub-scell-i0 {
    background: #2a2a2a;
    color: #a1a1aa;
}
html[data-theme="dark"] .hub-cruzamento-raiox .hub-scell-i1 {
    background: #dc2626;
    color: #fff;
}
html[data-theme="dark"] .hub-cruzamento-raiox .hub-scell-i2 {
    background: #d4a574;
    color: #431407;
}
html[data-theme="dark"] .hub-cruzamento-raiox .hub-scell-i3 {
    background: #a3e635;
    color: #1a2e05;
}
html[data-theme="dark"] .hub-cruzamento-raiox .hub-scell-i4 {
    background: #22c55e;
    color: #052e16;
}
html[data-theme="dark"] .hub-scell-match {
    box-shadow: inset 0 0 0 2px #f8fafc;
}

html[data-theme="dark"] .hub-scell-bom {
    background: rgba(34, 197, 94, 0.22);
    border-color: rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
}

html[data-theme="dark"] .hub-scell-medio {
    background: rgba(245, 158, 11, 0.22);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fde68a;
}

html[data-theme="dark"] .hub-scell-ruim {
    background: rgba(248, 113, 113, 0.2);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

html[data-theme="dark"] .hub-scell-neutro {
    background: rgba(42, 42, 42, 0.85);
    border-color: #454545;
    color: #d4d4d4;
}

html[data-theme="dark"] .hub-pick-card {
    background: rgba(32, 32, 32, 0.92);
    border-color: #353535;
}

html[data-theme="dark"] .hub-pick-name {
    color: #f1f5f9;
}

html[data-theme="dark"] .hub-pick-meta,
html[data-theme="dark"] .hub-pick-m small,
html[data-theme="dark"] .hub-pick-rank {
    color: #94a3b8;
}

html[data-theme="dark"] .hub-pick-m strong {
    color: #e2e8f0;
}

.hub-ced-legend {
    margin: 14px 0 0;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

.hub-vul-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hub-vul-compact-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hub-vul-row {
    display: grid;
    grid-template-columns: 32px 1fr 28px;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.hub-vul-pos {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
}

.hub-vul-bar {
    height: 6px;
    background: var(--border-subtle);
    border-radius: 99px;
    overflow: hidden;
}

.hub-vul-bar span {
    display: block;
    height: 100%;
    background: #191970;
    border-radius: 99px;
}

html[data-theme="dark"] .hub-vul-bar span { background: #64748b; }

.hub-vul-val {
    font-size: 11px;
    font-weight: 800;
    text-align: right;
    color: var(--text-primary);
}

.hub-contrarian-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hub-contrarian-item {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.hub-empty {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.hub-raiox-foot {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    background: #ffffff;
    flex-shrink: 0;
}

/* ââ Contexto do confronto (aba CenÃ¡rio) ââ */
.hub-eq-ctx {
    margin: 4px 0 14px;
    padding: 14px 16px 16px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.16));
    background: var(--hub-surface-card, var(--bg-elevated));
    box-shadow: var(--hub-shadow);
}
.hub-eq-ctx .hub-cruz-head {
    margin-bottom: 10px;
}
.hub-eq-vs {
    margin: 4px 0 8px;
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
}
.hub-raiox-cenario-cta {
    margin: 16px 0 4px;
}
.hub-cenario-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    background: linear-gradient(180deg, #f97316, #ea580c);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: filter 0.15s ease, transform 0.15s ease;
}
.hub-cenario-cta-btn:hover {
    filter: brightness(1.06);
}
.hub-cenario-cta-btn:active {
    transform: translateY(1px);
}
.hub-ctx-mini {
    margin-top: 0;
    margin-bottom: 0;
    padding: 8px;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.08);
    flex-shrink: 0;
}

.hub-ctx-mini-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.hub-ctx-mini-scores strong {
    color: var(--text-primary);
    font-size: 12px;
}

.hub-ctx-mini-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
}

.hub-ctx-mini-lab {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
}

.hub-ctx-mini-bars {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hub-ctx-mini-fill {
    display: block;
    height: 4px;
    border-radius: 2px;
    max-width: 100%;
}

.hub-ctx-mini-fill.casa { background: #2563eb; }
.hub-ctx-mini-fill.fora { background: #ea580c; }

.hub-ctx-pane { display: flex; flex-direction: column; gap: 14px; }

.hub-ctx-overall {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
}

.hub-ctx-overall-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hub-ctx-overall-side strong {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.hub-ctx-overall-side span {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hub-ctx-perfil {
    text-align: center;
}

.hub-ctx-perfil-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    text-transform: capitalize;
}

.hub-ctx-perfil-sub {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.hub-ctx-polar-wrap,
.hub-scout-polar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hub-polar-svg {
    width: min(220px, 100%);
    height: auto;
}

.hub-polar-grid {
    fill: none;
    stroke: rgba(148, 163, 184, 0.35);
    stroke-width: 1;
}

.hub-polar-axis {
    stroke: rgba(148, 163, 184, 0.25);
    stroke-width: 1;
}

.hub-polar-lab {
    font-size: 9px;
    font-weight: 700;
    fill: var(--text-muted, #64748b);
}

.hub-scout-polar .hub-polar-lab {
    fill: #cbd5e1;
    font-size: 10px;
    font-weight: 800;
}

.hub-polar-casa {
    fill: rgba(37, 99, 235, 0.22);
    stroke: #2563eb;
    stroke-width: 2;
}

.hub-polar-fora {
    fill: rgba(234, 88, 12, 0.18);
    stroke: #ea580c;
    stroke-width: 2;
}

.hub-polar-player {
    fill: rgba(251, 146, 60, 0.28);
    stroke: #fb923c;
    stroke-width: 2;
}

.hub-polar-ref {
    fill: rgba(100, 116, 139, 0.12);
    stroke: #94a3b8;
    stroke-width: 1.5;
    stroke-dasharray: 4 3;
}

.hub-polar-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
}

.hub-polar-legend .casa::before,
.hub-polar-legend .fora::before,
.hub-polar-legend .player::before,
.hub-polar-legend .ref::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    margin-right: 5px;
    vertical-align: middle;
}

.hub-polar-legend .casa::before { background: #2563eb; }
.hub-polar-legend .fora::before { background: #ea580c; }
.hub-polar-legend .player::before { background: #fb923c; }
.hub-polar-legend .ref::before { background: #94a3b8; }

.hub-ctx-eixos { display: flex; flex-direction: column; gap: 10px; }

.hub-ctx-axis-lab {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.hub-ctx-axis-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hub-ctx-axis-side {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hub-ctx-axis-side-r { flex-direction: row-reverse; }

.hub-ctx-axis-val {
    font-size: 11px;
    font-weight: 800;
    min-width: 2.4rem;
    font-variant-numeric: tabular-nums;
}

.hub-ctx-axis-track {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.hub-ctx-axis-track span {
    display: block;
    height: 100%;
    border-radius: 3px;
}

.hub-ctx-axis-track span.tier-elite { background: #15803d; }
.hub-ctx-axis-track span.tier-excelente { background: #22c55e; }
.hub-ctx-axis-track span.tier-bom { background: #facc15; }
.hub-ctx-axis-track span.tier-mediano { background: #fde68a; }
.hub-ctx-axis-track span.tier-fraco { background: #f87171; }
.hub-ctx-axis-track span.tier-muito_fraco { background: #dc2626; }

.hub-ctx-axis-val.tier-elite { color: #15803d; font-weight: 900; }
.hub-ctx-axis-val.tier-excelente { color: #22c55e; font-weight: 900; }
.hub-ctx-axis-val.tier-bom { color: #ca8a04; font-weight: 900; }
.hub-ctx-axis-val.tier-mediano { color: #a16207; font-weight: 900; }
.hub-ctx-axis-val.tier-fraco { color: #f87171; font-weight: 900; }
.hub-ctx-axis-val.tier-muito_fraco { color: #dc2626; font-weight: 900; }

html[data-theme="dark"] .hub-ctx-axis-val.tier-bom { color: #facc15; }
html[data-theme="dark"] .hub-ctx-axis-val.tier-mediano { color: #fde68a; }

.hub-ctx-axis-hint {
    margin-top: 3px;
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
}

.hub-ctx-forma {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hub-ctx-forma-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.08);
}

.hub-ctx-forma-card strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
}

.hub-ctx-forma-card span {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ââ Scout Card ââ */
body.hub-scout-open { overflow: hidden; }

.hub-scout-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(2, 6, 23, 0.72);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: max(72px, calc(env(safe-area-inset-top, 0px) + 56px)) 0 0;
    box-sizing: border-box;
}

.hub-scout-backdrop[hidden] { display: none !important; }

.hub-scout-panel-premium {
    width: min(720px, 100%);
}

.hub-scout-panel {
    width: min(520px, 100%);
    max-height: min(calc(100vh - 80px), 900px);
    background: #181818;
    color: #e8e8e8;
    border-radius: 16px 16px 0 0;
    border: 1px solid #353535;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hub-scout-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 44px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #151515;
    color: #e8e8e8;
    text-align: center;
}

.hub-scout-head-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.hub-scout-eyebrow {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.55);
}

.hub-scout-title {
    margin: 0;
    font-size: 1rem;
    color: #f8fafc;
    width: 100%;
}

.hub-scout-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hub-scout-foto {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #202020;
    border: 2px solid rgba(251, 146, 60, 0.45);
}

.hub-scout-title-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    text-align: center;
}

.hub-scout-title-text strong {
    font-size: 16px;
    font-weight: 900;
    color: #f8fafc;
}

.hub-scout-name-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.hub-scout-name-line .hub-cs-status-icon {
    width: 14px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.hub-scout-title-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.78);
}

.hub-scout-pos-gran {
    font-weight: 800;
    color: #fb923c;
}

.hub-scout-meta-sep {
    opacity: 0.45;
    font-weight: 700;
}

.hub-scout-title-meta .hub-cs-status-icon {
    width: 14px;
    height: 16px;
    object-fit: contain;
}

.hub-ctx-ipo-table-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hub-ctx-ipo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.hub-ctx-ipo-table th,
.hub-ctx-ipo-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
    vertical-align: middle;
}

.hub-ctx-ipo-table th {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hub-ctx-ipo-table td strong {
    font-size: 18px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.hub-ctx-ipo-table td:nth-child(2),
.hub-ctx-ipo-table td:nth-child(3),
.hub-ctx-ipo-table th:nth-child(2),
.hub-ctx-ipo-table th:nth-child(3) {
    text-align: center;
}

.hub-ctx-ipo-table td:first-child {
    font-weight: 800;
}

.hub-ctx-ipo-team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.hub-ctx-score-body {
    flex: 1;
    min-width: 0;
}

.hub-ctx-score-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.hub-ctx-score-pair em {
    display: block;
    font-style: normal;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hub-ctx-score-pair strong {
    font-size: 18px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

/* Scout metric / odds quality tiers (6 nÃ­veis) â contraste no dark */
.hub-scout-metric.tier-elite,
.hub-scout-odds-card.tier-elite {
    background: rgba(21, 128, 61, 0.22);
    border-color: #22c55e;
}
.hub-scout-metric.tier-elite strong,
.hub-scout-odds-card.tier-elite strong { color: #4ade80; }

.hub-scout-metric.tier-excelente,
.hub-scout-odds-card.tier-excelente {
    background: rgba(34, 197, 94, 0.18);
    border-color: #4ade80;
}
.hub-scout-metric.tier-excelente strong,
.hub-scout-odds-card.tier-excelente strong { color: #86efac; }

.hub-scout-metric.tier-bom,
.hub-scout-odds-card.tier-bom {
    background: rgba(250, 204, 21, 0.16);
    border-color: #eab308;
}
.hub-scout-metric.tier-bom strong,
.hub-scout-odds-card.tier-bom strong { color: #fde047; }

.hub-scout-metric.tier-mediano,
.hub-scout-odds-card.tier-mediano {
    background: rgba(253, 230, 138, 0.12);
    border-color: #ca8a04;
}
.hub-scout-metric.tier-mediano strong,
.hub-scout-odds-card.tier-mediano strong { color: #fde68a; }

.hub-scout-metric.tier-fraco,
.hub-scout-odds-card.tier-fraco {
    background: rgba(248, 113, 113, 0.16);
    border-color: #f87171;
}
.hub-scout-metric.tier-fraco strong,
.hub-scout-odds-card.tier-fraco strong { color: #fca5a5; }

.hub-scout-metric.tier-muito_fraco,
.hub-scout-odds-card.tier-muito_fraco {
    background: rgba(220, 38, 38, 0.2);
    border-color: #ef4444;
}
.hub-scout-metric.tier-muito_fraco strong,
.hub-scout-odds-card.tier-muito_fraco strong { color: #f87171; }


.hub-ctx-ipo-hint {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.hub-ctx-score-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hub-ctx-score-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--bg-secondary);
}

.hub-ctx-score-card span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hub-ctx-score-card strong {
    font-size: 20px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.hub-ctx-perfis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.hub-ctx-perfil-card {
    padding: 11px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--bg-secondary);
}
.hub-ctx-perfil-card header {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    font-size: 12px;
}
.hub-ctx-perfil-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.hub-ctx-perfil-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hub-ctx-perfil-rows span,
.hub-ctx-perfil-rows small {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.hub-ctx-perfil-rows b {
    font-size: 13px;
}
.hub-ctx-perfil-rows b.tier-elite { color: #22c55e; }
.hub-ctx-perfil-rows b.tier-bom,
.hub-ctx-perfil-rows b.tier-boa { color: #a3e635; }
.hub-ctx-perfil-rows b.tier-mediano,
.hub-ctx-perfil-rows b.tier-mediana { color: #facc15; }
.hub-ctx-perfil-rows b.tier-ruim { color: #f87171; }
.hub-ctx-desvio {
    display: block;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

.hub-ctx-matchup-legend {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
}

.hub-ctx-matchup-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hub-ctx-matchup-legend .atk { color: #2563eb; }
.hub-ctx-matchup-legend .def { color: #ea580c; }

.hub-ctx-leitura {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-primary);
    font-weight: 600;
    padding: 10px 12px;
    border-left: 3px solid #fb923c;
    background: var(--bg-secondary);
    border-radius: 0 8px 8px 0;
}

.hub-scout-polar-inner {
    position: relative;
}

.hub-polar-dot {
    fill: #fb923c;
    stroke: #181818;
    stroke-width: 1;
    pointer-events: none;
}

.hub-scout-radar-tip {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    background: #181818;
    color: #f8fafc;
    border: 1px solid #353535;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 700;
    max-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    display: none;
}

.hub-scout-radar-hit {
    fill: transparent;
    stroke: transparent;
    cursor: help;
}

.hub-scout-odds-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.hub-scout-odds-card {
    flex: 1 1 72px;
    max-width: 110px;
    background: #202020;
    border: 1px solid #353535;
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
}

.hub-scout-odds-card span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.hub-scout-odds-card strong {
    font-size: 15px;
    font-weight: 900;
    color: #f8fafc;
}

.hub-scout-odds-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hub-scout-odds-heading .hub-scout-section-title {
    margin-bottom: 10px;
}

.hub-scout-odds-link {
    margin: -10px 0 0;
    padding: 0;
    border: 0;
    color: #fdba74;
    background: transparent;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hub-scout-odds-empty {
    margin: 0;
    padding: 12px;
    border: 1px dashed #3f3f46;
    border-radius: 8px;
    color: #a1a1aa;
    font-size: 11px;
    font-weight: 700;
}

.hub-scout-loading {
    padding: 18px 16px 24px;
    color: #94a3b8;
    text-align: center;
}

.hub-scout-loading-kicker {
    display: block;
    margin-bottom: 14px;
    color: #fdba74;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hub-scout-loading p {
    margin: 12px 0 0;
    font-size: 11px;
    font-weight: 650;
}

.hub-scout-skeleton,
.hub-scout-skeleton-grid i {
    display: block;
    border-radius: 8px;
    background: linear-gradient(90deg, #232323 20%, #323232 50%, #232323 80%);
    background-size: 220% 100%;
    animation: hub-scout-shimmer 1.25s ease-in-out infinite;
}

.hub-scout-skeleton-tabs {
    height: 38px;
}

.hub-scout-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 14px 0;
}

.hub-scout-skeleton-grid i {
    height: 56px;
}

.hub-scout-skeleton-chart {
    height: 118px;
}

@keyframes hub-scout-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -120% 0; }
}

.hub-scout-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    justify-content: center;
    gap: 8px;
    margin: 12px auto 0;
    max-width: 480px;
}

.hub-scout-metric-ref {
    display: block;
    font-size: 10px;
    color: #cbd5e1;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.35;
    min-height: 2.4em;
}

.hub-scout-section-title {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: center;
}

.hub-scout-hist {
    margin-top: 28px;
    text-align: center;
    width: 100%;
}

.hub-scout-hist-context {
    margin: -4px 0 10px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
}

.hub-scout-panel-premium .hub-scout-performance {
    padding: 0;
}

.hub-scout-panel-premium .hub-scout-tab-pane {
    display: block;
}

.hub-scout-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 10px 16px 0;
    background: #181818;
    position: sticky;
    top: 0;
    z-index: 3;
}

.hub-scout-tab {
    min-height: 38px;
    border: 1px solid #353535;
    border-radius: 8px;
    color: #a1a1aa;
    background: #202020;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
}

.hub-scout-tab.is-active {
    color: #fff;
    background: var(--accent-orange, #ff6600);
    border-color: var(--accent-orange, #ff6600);
}

.hub-scout-tab-pane { display: none; }
.hub-scout-tab-pane.is-active { display: block; }

.hub-scout-performance {
    padding: 16px;
    color: #f8fafc;
}

.hub-scout-performance-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 16px;
}

.hub-scout-performance-summary.is-sem-cedido {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-scout-performance-summary span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 9px 6px;
    border: 1px solid #353535;
    border-radius: 8px;
    background: #202020;
    text-align: center;
}

.hub-scout-performance-summary small {
    color: #a1a1aa;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.hub-scout-performance-summary strong {
    color: #f8fafc;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}


.hub-scout-chart-wrap {
    overflow: visible;
    width: 100%;
    padding: 6px 0 2px;
}

.hub-scout-chart {
    display: flex;
    align-items: end;
    gap: 2px;
    width: 100%;
    min-width: 0;
    min-height: 132px;
    padding: 4px 0 0;
    border-bottom: 2px solid #525252;
}

.hub-scout-chart-col {
    display: grid;
    grid-template-rows: 104px 16px;
    align-items: end;
    justify-items: center;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    position: relative;
}

.hub-scout-chart-bar {
    align-self: end;
    width: 72%;
    max-width: 18px;
    min-height: 2px;
    padding: 0;
    border: 0;
    border-radius: 2px 2px 0 0;
    background: #30a982;
    cursor: pointer;
    position: relative;
}

.hub-scout-chart-col.is-negative .hub-scout-chart-bar { background: #ef4444; }
.hub-scout-chart-col.is-zero .hub-scout-chart-bar { background: #525252; }
.hub-scout-chart-tip {
    display: none;
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: calc(100% + 7px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 110px;
    padding: 5px 7px;
    border: 1px solid #525252;
    border-radius: 5px;
    color: #f8fafc;
    background: #171717;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
    font-size: 10px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    pointer-events: none;
}
.hub-scout-chart-bar:hover .hub-scout-chart-tip,
.hub-scout-chart-bar:focus-visible .hub-scout-chart-tip,
.hub-scout-chart-bar.is-open .hub-scout-chart-tip {
    display: block;
}
.hub-scout-chart-bar:focus-visible {
    outline: 2px solid #ff6600;
    outline-offset: 2px;
}
.hub-scout-chart-col:first-child .hub-scout-chart-tip {
    left: 0;
    transform: none;
}
.hub-scout-chart-col:last-child .hub-scout-chart-tip {
    right: 0;
    left: auto;
    transform: none;
}
.hub-scout-chart-col small {
    color: #a1a1aa;
    font-size: clamp(7px, 1.5vw, 10px);
    font-weight: 800;
    padding-top: 4px;
    line-height: 1;
}

.hub-scout-probs {
    margin-top: 22px;
    text-align: center;
    width: 100%;
}

.hub-scout-why {
    margin-top: 18px;
    text-align: left;
    width: 100%;
}
.hub-scout-why-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hub-scout-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 102, 0, 0.04);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
}
.hub-scout-why-list li.is-warn {
    background: rgba(245, 158, 11, 0.06);
}
.hub-scout-why-mark {
    flex-shrink: 0;
    color: var(--accent-orange, #ff6600);
    font-weight: 800;
}
.hub-scout-why-list li.is-warn .hub-scout-why-mark {
    color: #d97706;
}

.hub-prob-empty-box {
    margin: 12px auto 0;
    max-width: 420px;
    padding: 18px 16px;
    border-radius: 12px;
    border: 1px dashed var(--border-subtle);
    text-align: center;
}
.hub-prob-empty-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.hub-prob-empty-box p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.hub-ctx-modo {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.hub-ctx-modo-btn {
    flex: 1;
    border: 1px solid var(--border-subtle);
    background: transparent;
    border-radius: 8px;
    padding: 9px 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    min-height: 40px;
}

.hub-ctx-modo-btn.is-active {
    background: rgba(251, 146, 60, 0.16);
    border-color: #fb923c;
    color: var(--text-primary);
}

html[data-theme="dark"] .hub-ctx-modo-btn.is-active {
    color: #f8fafc;
}

.hub-scout-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.hub-scout-tog {
    flex: 1;
    border: 1px solid #353535;
    background: #202020;
    border-radius: 8px;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 800;
    color: #a1a1aa;
    cursor: pointer;
    min-height: 40px;
}

.hub-scout-tog.is-active {
    background: rgba(251, 146, 60, 0.18);
    border-color: #fb923c;
    color: #f8fafc;
}

.hub-scout-metric {
    background: #202020;
    border: 1px solid #353535;
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
}

.hub-scout-metric-k {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.hub-scout-metric strong {
    font-size: 16px;
    font-weight: 900;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}

.hub-scout-legend-keys {
    display: none;
}

.hub-ctx-forma-card span {
    display: block;
    line-height: 1.35;
    margin-top: 4px;
}

@media (max-width: 430px) {
    .hub-scout-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hub-scout-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: rgba(226, 232, 240, 0.7);
    cursor: pointer;
    padding: 0 4px;
    z-index: 2;
}

.hub-scout-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 14px 16px 24px;
    -webkit-overflow-scrolling: touch;
    background: #181818;
    text-align: center;
}

.hub-scout-pane {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hub-scout-pane .hub-intel-tbl,
.hub-scout-pane .hub-intel-scroll {
    text-align: left;
    width: 100%;
}

.hub-scout-foot {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #353535;
    background: #151515;
}

.hub-scout-foot .btn,
.hub-scout-foot .hub-cs-buy-btn.unanim-buy-btn {
    margin: 0;
}

.hub-scout-hint {
    margin: 0 0 10px;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
}

.hub-scout-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
}

.hub-scout-kpi {
    text-align: center;
    padding: 8px 2px;
    border-radius: 8px;
    background: #202020;
    border: 1px solid #353535;
}

.hub-scout-kpi strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    color: #f8fafc;
}

.hub-scout-kpi span {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.hub-scout-kpi-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 12px;
}

.hub-scout-kpi-primary {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #202020;
    border: 1px solid #353535;
    text-align: center;
}

.hub-scout-kpi-primary .hub-scout-kpi-lbl {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hub-scout-kpi-primary .hub-scout-kpi-val {
    display: block;
    margin-top: 4px;
    font-size: 1.35rem;
    font-weight: 900;
    color: #f8fafc;
    line-height: 1.1;
}

.hub-scout-kpi-chips {
    display: flex;
    flex: 1 1 220px;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
}

.hub-scout-kpi-chip {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    gap: 6px;
    flex: 1 1 140px;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.hub-scout-kpi-chip-lbl {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.25;
    color: #94a3b8;
    letter-spacing: 0.01em;
}

.hub-scout-kpi-linha .hub-cs-boa-rodada {
    font-size: 0.95rem;
    margin: 0 auto;
}

.hub-scout-kpi-matchup-pill {
    margin: 0 auto;
    font-size: 0.72rem;
}

.hub-scout-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.hub-scout-chip {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(251, 146, 60, 0.18);
    color: #fdba74;
    border: 1px solid rgba(251, 146, 60, 0.35);
}

.hub-scout-ctx-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0 14px;
}

.hub-scout-ctx-row > div {
    text-align: center;
    padding: 8px 2px;
    border-radius: 8px;
    background: #202020;
    border: 1px solid #353535;
}

.hub-scout-ctx-row span {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.hub-scout-ctx-row strong {
    font-size: 13px;
    font-weight: 900;
    color: #f8fafc;
}

.hub-scout-hist-title {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: center;
}

.hub-scout-pane .hub-intel-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    color: #e2e8f0;
}

.hub-scout-pane .hub-intel-tbl th {
    color: #94a3b8;
    font-weight: 800;
    text-align: left;
    padding: 6px 4px;
    border-bottom: 1px solid #334155;
}

.hub-scout-pane .hub-intel-tbl td {
    padding: 7px 4px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
    color: #e2e8f0;
}

.hub-scout-pane .hub-intel-empty,
.hub-scout-pane .hub-empty {
    color: #94a3b8;
}

.hub-scout-pane .hub-intel-loading {
    color: #fdba74;
}

.hub-ctx-fonte {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.hub-ctx-mini-loading {
    padding: 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.hub-polar-ring {
    fill: none;
    stroke: rgba(148, 163, 184, 0.28);
    stroke-width: 1;
}

.hub-polar-area .hub-polar-lab {
    fill: #cbd5e1;
    font-size: 9px;
    font-weight: 700;
}

html[data-theme="dark"] .hub-polar-area .hub-polar-lab {
    fill: #cbd5e1;
}

html[data-theme="light"] .hub-ctx-pane .hub-polar-lab {
    fill: #475569;
}

html[data-theme="light"] .hub-ctx-pane .hub-polar-ring {
    stroke: rgba(100, 116, 139, 0.35);
}

@media (min-width: 768px) {
    .hub-scout-backdrop {
        align-items: center;
        padding: max(72px, calc(env(safe-area-inset-top, 0px) + 48px)) 24px 24px;
    }
    .hub-scout-panel {
        border-radius: 16px;
        max-height: min(calc(100vh - 100px), 88vh);
    }
}

@media (max-width: 430px) {
    .hub-scout-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hub-scout-ctx-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hub-ctx-forma {
        grid-template-columns: 1fr;
    }
    .hub-ctx-overall-side strong {
        font-size: 22px;
    }
}

html[data-theme="dark"] .hub-cs-val-pos { color: #34d399; }
html[data-theme="dark"] .hub-cs-val-neg { color: #f87171; }
html[data-theme="dark"] .hub-cs-rival-foto { border-color: #0f172a; }
html[data-theme="dark"] .hub-cs-num,
html[data-theme="dark"] .hub-cs-num,
html[data-theme="dark"] .hub-cs-linha { color: inherit; }

.hub-cs-linha-td {
    text-align: center;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.hub-cs-linha {
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

.hub-cs-linha-na {
    color: var(--text-muted);
    font-weight: 700;
}

.hub-m-metrics .hub-cs-linha {
    display: block;
    font-size: 1.05em;
    line-height: 1.2;
}


html[data-theme="dark"] .hub-raiox-foot {
    background: #151515;
    border-top-color: #353535;
}

html[data-theme="dark"] .hub-raiox-tabs {
    background: #181818;
    border-bottom-color: #353535;
}

@media (max-width: 520px) {
    .hub-vul-duo { grid-template-columns: 1fr; }
    .hub-pick-card { grid-template-columns: 22px 36px 1fr; }
    .hub-pick-metrics { grid-column: 2 / -1; justify-content: flex-start; text-align: left; margin-top: 4px; }
    .hub-raiox-tab { font-size: 9px; padding: 10px 4px; }
    .hub-card-metrics { grid-template-columns: 1fr; }
    .hub-rx-team-name { font-size: 11px; }
}

/* ââ EscalÃ´metro cheatsheet ââ */
body.hub-dock-open { padding-bottom: 132px; }

.hub-sheet-panel { margin-top: 4px; }
.hub-sheet-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 10px;
}

.hub-sheet-scroll {
    max-height: calc(100vh - 220px);
    overflow: auto;
    overscroll-behavior: contain;
    border: var(--hub-border, 1px solid var(--border-subtle));
    border-radius: var(--hub-radius-card, 12px);
    background: var(--hub-surface-card, var(--bg-elevated));
    box-shadow: var(--hub-shadow);
    padding-top: 0;
}

.hub-cs-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: clamp(13px, 0.72vw + 8px, 15px);
    table-layout: auto;
}

/* CabeÃ§alho inteiro cola no scroll da planilha â evita grupo Ã colunas se sobreporem */
.hub-cs-table thead {
    position: sticky;
    top: 0;
    z-index: 6;
    background: var(--hub-surface-navy, var(--app-midnight));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hub-cs-table thead th {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    background: var(--hub-surface-navy, var(--app-midnight));
    color: #fff;
    font-size: clamp(10px, 0.45vw + 7px, 12px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 10px;
    text-align: center;
    white-space: nowrap;
}

.hub-cs-table thead th.hub-cs-th-rk {
    width: 44px;
    min-width: 44px;
    padding-left: 8px;
    padding-right: 4px;
}
.hub-cs-table thead th.hub-cs-th-player {
    width: 1%;
    text-align: left;
    padding-left: 10px;
    padding-right: 16px; /* gap â STATUS */
}
.hub-cs-table thead th.hub-cs-th-status {
    width: 52px;
    min-width: 52px;
    padding-left: 10px;
    padding-right: 16px; /* gap â POS */
}
.hub-cs-table thead th.hub-cs-th-pos {
    width: 48px;
    min-width: 48px;
    padding-left: 10px;
    padding-right: 16px; /* gap â IVR */
}
.hub-cs-table thead th.hub-cs-th-mando {
    width: 44px;
    min-width: 44px;
    padding-left: 6px;
    padding-right: 6px;
}

.hub-cs-mando-td {
    text-align: center;
    vertical-align: middle;
}

.hub-cs-mando {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hub-cs-mando-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.hub-cs-mando-na {
    color: var(--text-muted);
    font-size: 12px;
}

.hub-cs-table thead th.hub-cs-th-buy {
    width: 1%;
    padding-left: 10px;
    padding-right: 12px;
}

.hub-cs-table tbody td {
    padding: 10px 10px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}


.hub-cs-row:hover td { background: rgba(255, 102, 0, 0.04); }
.hub-cs-row-selected td { background: rgba(255, 102, 0, 0.07); }
.hub-cs-row-pinned td {
    background: rgba(255, 102, 0, 0.06);
}

.hub-pin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    font: inherit;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.hub-pin-btn:hover,
.hub-pin-btn:focus-visible {
    border-color: rgba(255, 102, 0, 0.45);
    background: rgba(255, 102, 0, 0.08);
    color: #ffd7bf;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}
.hub-pin-btn.is-pinned {
    border-color: rgba(255, 102, 0, 0.7);
    background: linear-gradient(160deg, #ff8533 0%, #ff6600 55%, #e65c00 100%);
    color: #fff;
    box-shadow:
        0 0 0 3px rgba(255, 102, 0, 0.18),
        0 8px 18px rgba(255, 102, 0, 0.28);
}
.hub-pin-btn.is-pinned:hover,
.hub-pin-btn.is-pinned:focus-visible {
    transform: translateY(-1px);
    box-shadow:
        0 0 0 3px rgba(255, 102, 0, 0.22),
        0 10px 22px rgba(255, 102, 0, 0.34);
}
.hub-pin-face {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}
.hub-pin-rank {
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    color: inherit;
    line-height: 1;
}
.hub-pin-mark {
    display: none;
    place-items: center;
    color: inherit;
}
.hub-pin-mark svg {
    display: block;
}
.hub-pin-btn.is-pinned .hub-pin-rank {
    display: none;
}
.hub-pin-btn.is-pinned .hub-pin-mark {
    display: grid;
}

.hub-cs-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.hub-cs-pin img {
    width: 15px;
    height: 15px;
    display: block;
}

.hub-compare-mode-hint {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.hub-compare-mode-hint strong {
    color: #e11d48;
    font-weight: 800;
}

.hub-jogadores-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hub-jogadores-toolbar .hub-pos-filters {
    flex: 1 1 auto;
    min-width: 0;
}

.hub-btn-comparar {
    flex: 0 0 auto;
    margin-left: 0;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: not-allowed;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.hub-btn-comparar.is-ready:not(:disabled) {
    cursor: pointer;
    background: #fff;
    color: #191970;
    border-color: #191970;
}

.hub-btn-comparar.is-ready:not(:disabled):hover {
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(25, 25, 112, 0.12);
}

.hub-btn-comparar.is-active {
    cursor: pointer;
    background: #191970;
    border-color: #191970;
    color: #fff;
}

.hub-btn-comparar.is-active:hover {
    background: #15155c;
    box-shadow: 0 2px 8px rgba(25, 25, 112, 0.25);
}

.hub-btn-comparar:disabled {
    opacity: 0.55;
}

.hub-btn-comparar.is-clear {
    cursor: pointer;
    background: transparent;
    color: #64748b;
    border-color: #94a3b8;
}

.hub-btn-comparar.is-clear:hover {
    background: rgba(148, 163, 184, 0.12);
    color: #475569;
    border-color: #64748b;
}

html[data-theme="dark"] .hub-btn-comparar.is-clear {
    color: #cbd5e1;
    border-color: #64748b;
}

html[data-theme="dark"] .hub-btn-comparar.is-clear:hover {
    background: rgba(148, 163, 184, 0.14);
    color: #f1f5f9;
}

.hub-pos-pill:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hub-m-card-pinned .hub-m-rk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html[data-theme="dark"] .hub-cs-row:hover td {
    background: rgba(148, 163, 184, 0.06);
}

html[data-theme="dark"] .hub-cs-row-pinned td {
    background: rgba(255, 102, 0, 0.12);
}

html[data-theme="dark"] .hub-compare-mode-hint strong {
    color: #fb7185;
}

html[data-theme="dark"] .hub-btn-comparar.is-ready:not(:disabled) {
    background: #181818;
    color: #e2e8f0;
    border-color: #525252;
}

html[data-theme="dark"] .hub-btn-comparar.is-active {
    background: var(--accent-orange, #ff6600);
    border-color: var(--accent-orange, #ff6600);
    color: #fff;
}

@media (max-width: 700px) {
    .hub-jogadores-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .hub-jogadores-toolbar .hub-pos-filters {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }

    .hub-jogadores-actions {
        margin-left: 0;
        width: 100%;
        justify-content: stretch;
    }

    .hub-jogadores-actions .hub-btn-meu-time,
    .hub-btn-comparar {
        margin-left: 0;
        flex: 1 1 auto;
        width: 100%;
        text-align: center;
        padding: 10px 14px;
    }
}



.hub-cs-rk {
    font-weight: 800;
    color: var(--text-muted);
    font-size: 0.95em;
    padding-left: 12px !important;
    padding-right: 8px !important;
}

.hub-cs-cmp { text-align: center; }
.hub-cs-check { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent-orange); }

.hub-cs-player {
    width: 1%;
    text-align: left !important;
    padding-left: 10px !important;
    padding-right: 16px !important; /* gap â STATUS */
    white-space: nowrap;
}
.hub-cs-status {
    width: 52px;
    min-width: 52px;
    padding-left: 10px !important;
    padding-right: 16px !important; /* gap â POS */
}
.hub-cs-pos {
    width: 48px;
    min-width: 48px;
    padding-left: 10px !important;
    padding-right: 16px !important; /* gap â IVR */
    font-size: 0.85em;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.hub-cs-player-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    max-width: min(280px, 22vw);
}

.hub-cs-intel-trigger {
    cursor: pointer;
    border-radius: 10px;
    outline: none;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    padding: 2px 4px 2px 2px;
}

.hub-cs-intel-trigger:hover,
.hub-cs-intel-trigger:focus-visible {
    background: rgba(37, 99, 235, 0.06);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
}


.hub-intel-popover {
    position: fixed;
    z-index: 2400;
    max-width: calc(100vw - 24px);
    max-height: min(70vh, 480px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.hub-intel-popover[hidden] {
    display: none !important;
}

.hub-intel-head {
    padding: 12px 14px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle, #e2e8f0);
}

.hub-intel-head-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.hub-intel-pos {
    color: #0f172a;
    font-weight: 900;
    text-transform: uppercase;
}

.hub-intel-vs {
    color: #94a3b8;
    font-weight: 800;
    text-transform: uppercase;
}

.hub-intel-adv-crest {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.hub-intel-adv-sigla {
    font-weight: 900;
    color: #0f172a;
}

.hub-intel-rest {
    font-weight: 800;
    color: #475569;
    font-size: 12px;
}

.hub-intel-body {
    padding: 0;
    overflow: auto;
    min-height: 80px;
    -webkit-overflow-scrolling: touch;
}

.hub-intel-loading,
.hub-intel-empty {
    padding: 22px 16px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.hub-intel-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hub-intel-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.hub-intel-tbl th {
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 800;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-subtle, #e2e8f0);
    text-align: left;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.hub-intel-tbl th:nth-child(3),
.hub-intel-tbl th:nth-child(4) {
    text-align: center;
}

.hub-intel-tbl td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.hub-intel-tbl tr:last-child td {
    border-bottom: none;
}

.hub-intel-tbl tbody tr:hover td {
    background: #f8fafc;
}

.hub-intel-player {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.hub-intel-escudo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.hub-intel-nome {
    font-weight: 800;
    color: #0f172a;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.hub-intel-match-meta {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.hub-intel-scouts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hub-intel-scout {
    display: inline-flex;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    border: 1px solid;
    line-height: 1.2;
}

.hub-intel-scout.destaque {
    font-weight: 900;
}

.hub-intel-scout.scout-g { background: #dcfce7; color: #16a34a; border-color: #86efac; }
.hub-intel-scout.scout-a { background: #dbeafe; color: #1d4ed8; border-color: #93c5fd; }
.hub-intel-scout.scout-sg { background: #e0f2fe; color: #0369a1; border-color: #7dd3fc; }
.hub-intel-scout.scout-dp { background: #ede9fe; color: #7c3aed; border-color: #c4b5fd; }
.hub-intel-scout.scout-def { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }

.hub-intel-pts {
    text-align: center;
    font-weight: 900;
    font-size: 14px;
    color: #0f172a;
    white-space: nowrap;
}

.hub-intel-rd {
    text-align: center;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

html[data-theme="dark"] .hub-intel-popover {
    background: #181818;
    border-color: #353535;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .hub-intel-head {
    background: #202020;
    border-bottom-color: #353535;
}

html[data-theme="dark"] .hub-intel-head-line,
html[data-theme="dark"] .hub-intel-rest {
    color: #94a3b8;
}

html[data-theme="dark"] .hub-intel-pos,
html[data-theme="dark"] .hub-intel-adv-sigla,
html[data-theme="dark"] .hub-intel-nome,
html[data-theme="dark"] .hub-intel-pts {
    color: #f1f5f9;
}

html[data-theme="dark"] .hub-intel-match-meta {
    color: #94a3b8;
}

html[data-theme="dark"] .hub-intel-tbl th,
html[data-theme="dark"] .hub-intel-tbl tbody tr:hover td {
    background: #202020;
}

html[data-theme="dark"] .hub-intel-tbl td {
    border-bottom-color: #2a2a2a;
}

html[data-theme="dark"] .hub-cs-intel-trigger:hover,
html[data-theme="dark"] .hub-cs-intel-trigger:focus-visible {
    background: rgba(255, 102, 0, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 102, 0, 0.28);
}

@media (max-width: 700px) {
    .hub-intel-popover {
        width: min(100vw - 16px, 420px) !important;
        max-height: min(65vh, 420px);
        border-radius: 12px;
    }

    .hub-intel-head {
        padding: 12px;
    }

    .hub-intel-head-line {
        font-size: 11px;
        gap: 5px 6px;
    }

    .hub-intel-rest {
        font-size: 11px;
        flex: 1 1 100%;
    }

    .hub-intel-adv-crest {
        width: 24px;
        height: 24px;
    }

    .hub-intel-tbl th,
    .hub-intel-tbl td {
        padding: 10px;
    }

    .hub-intel-nome {
        max-width: 96px;
        font-size: 12px;
    }

    .hub-scout-backdrop {
        padding-top: max(52px, env(safe-area-inset-top, 0px));
    }

    .hub-scout-panel {
        width: 100%;
        max-height: calc(100dvh - max(52px, env(safe-area-inset-top, 0px)));
        border-radius: 14px 14px 0 0;
    }

    .hub-scout-head {
        padding: 11px 40px 10px;
    }

    .hub-scout-foto {
        width: 38px;
        height: 38px;
    }

    .hub-scout-body {
        padding: 10px 12px calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .hub-scout-tabs {
        padding: 8px 12px 0;
    }

    .hub-scout-performance {
        padding: 12px 0;
    }

    .hub-scout-performance-summary {
        gap: 5px;
        margin-bottom: 13px;
    }

    .hub-scout-performance-summary span {
        min-height: 52px;
        padding: 7px 3px;
    }

    .hub-scout-performance-summary small {
        font-size: 8px;
        letter-spacing: -.02em;
    }

    .hub-scout-performance-summary strong {
        font-size: 13px;
    }

    .hub-scout-chart {
        min-height: 118px;
    }

    .hub-scout-chart-col {
        grid-template-rows: 92px 15px;
    }

    .hub-scout-chart-bar {
        width: 86%;
        min-width: 4px;
    }

    .hub-intel-tbl th,
    .hub-intel-tbl td {
        padding: 8px 5px;
    }

    .hub-intel-tbl th:nth-child(2),
    .hub-intel-tbl td:nth-child(2) {
        width: 48%;
    }

    .hub-intel-scouts {
        gap: 3px;
    }

    .hub-intel-scout {
        padding: 2px 4px;
        font-size: 9px;
    }
}

@media (max-width: 430px) {
    .hub-scout-performance-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .hub-scout-performance-summary span {
        min-height: 48px;
        padding: 8px 6px;
    }

    .hub-scout-performance-summary small {
        font-size: 9px;
        letter-spacing: 0;
    }

    .hub-scout-performance-summary strong {
        font-size: 14px;
    }
}

.hub-cs-foto {
    width: clamp(36px, 2.2vw, 44px);
    height: clamp(36px, 2.2vw, 44px);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    flex-shrink: 0;
    background: var(--border-subtle);
}
.hub-cs-foto.is-tec {
    object-fit: contain;
    object-position: center center;
    border-radius: 8px;
}
.hub-cs-player-text { min-width: 0; text-align: left; }
.hub-cs-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.hub-cs-name {
    display: inline;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    font-size: 1.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(180px, 14vw);
}
.hub-cs-crest {
    width: clamp(16px, 1.1vw, 20px);
    height: clamp(16px, 1.1vw, 20px);
    object-fit: contain;
    flex-shrink: 0;
}
.hub-cs-capitao {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-size: 0.78em;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-muted);
    text-transform: lowercase;
    letter-spacing: 0;
}
.hub-cs-capitao img {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
}
.hub-cs-status-icon {
    width: clamp(24px, 1.5vw, 28px);
    height: clamp(27px, 1.7vw, 32px);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.hub-cs-flag {
    display: inline-block;
    margin-right: 4px;
    font-size: 10px;
    font-weight: 900;
    color: #d97706;
}

.hub-cs-des {
    font-weight: 900;
    font-size: 1.15em;
    color: var(--accent-orange);
    font-variant-numeric: tabular-nums;
    padding-left: 6px;
}

.hub-cs-val-cell { text-align: center; }
.hub-cs-val {
    font-weight: 800;
    font-size: 1em;
    font-variant-numeric: tabular-nums;
}
.hub-cs-val-pos { color: #059669; }
.hub-cs-val-neg { color: #dc2626; }
.hub-cs-val-neu { color: var(--text-muted); }

.hub-cs-confronto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}
.hub-cs-adv-crest {
    width: clamp(18px, 1.2vw, 22px);
    height: clamp(18px, 1.2vw, 22px);
    object-fit: contain;
    flex-shrink: 0;
}

.hub-cs-num,
.hub-cs-xpts,
.hub-cs-linha-td {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 1.05em;
    color: var(--text-primary);
}
.hub-cs-xpts { color: var(--accent-orange); font-weight: 900; font-size: 1.12em; }
.hub-cs-linha-td { text-align: center; }

.hub-th-sortable {
    cursor: pointer;
    user-select: none;
}
.hub-th-sortable:hover .hub-th-label,
.hub-th-sortable.is-sorted .hub-th-label {
    color: #fdba74;
}
.hub-th-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
}
.hub-th-label {
    display: inline;
}
.hub-th-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.45);
    cursor: help;
    border: none;
    border-radius: 50%;
    background: transparent;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.hub-th-tip-icon {
    display: block;
    pointer-events: none;
}
.hub-th-tip:hover,
.hub-th-tip:focus-visible {
    color: #fff;
    background: rgba(249, 115, 16, 0.28);
    transform: translateY(-1px);
    outline: none;
}

/* Portal fixed no body â escapa overflow da tabela */
.hub-th-tip-portal {
    position: fixed;
    z-index: 10050;
    width: max-content;
    max-width: min(240px, calc(100vw - 16px));
    padding: 10px 12px;
    border-radius: 8px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    color: #e8e8e8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-align: left;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px) scale(0.98);
    transition: opacity 0.16s ease, transform 0.16s ease;
}
.hub-th-tip-portal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.hub-th-tip-portal.is-below {
    transform: translateY(-4px) scale(0.98);
}
.hub-th-tip-portal.is-below.is-visible {
    transform: translateY(0) scale(1);
}

.hub-cs-buy-td {
    padding: 6px 10px !important;
    text-align: center;
}
.hub-cs-buy { display: flex; justify-content: center; }
.hub-cs-buy-btn.unanim-buy-btn {
    min-width: 92px;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.hub-cs-buy-btn .unanim-buy-label { font-size: 10px; }
.hub-cs-buy-btn .unanim-buy-price { font-size: 11px; }

.hub-cs-viz { text-align: center; }
.hub-cs-vs {
    font-weight: 700;
    color: var(--text-muted);
}
.hub-cs-price {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}

/* Escala em monitores Full HD+ */
@media (min-width: 1600px) {
    .hub-cs-table { font-size: 15px; }
    .hub-cs-table thead th { font-size: 11px; padding: 12px 12px; }
    .hub-cs-foto { width: 44px; height: 44px; }
    .hub-cs-name { max-width: 200px; }
    .hub-cs-player-row { max-width: 300px; }
    .hub-cs-status-icon { width: 28px; height: 32px; }
    .hub-cs-crest { width: 20px; height: 20px; }
    .hub-cs-adv-crest { width: 22px; height: 22px; }
    .hub-micro-star { font-size: 13px; }
}

@media (min-width: 1920px) {
    .hub-cs-table { font-size: 16px; }
    .dash-wrap.container-xl { max-width: 1600px; }
}

.hub-tier-row td {
    padding: 6px 10px !important;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.hub-tier-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}
.hub-tier-pill-s { background: rgba(234, 179, 8, 0.22); color: #a16207; }
.hub-tier-pill-a { background: rgba(37, 99, 235, 0.18); color: #1d4ed8; }
.hub-tier-pill-b { background: rgba(100, 116, 139, 0.18); color: #334155; }
.hub-tier-pill-c { background: rgba(148, 163, 184, 0.2); color: #475569; }

html[data-theme="dark"] .hub-tier-row td {
    background: #202020;
    border-bottom-color: #353535;
}
html[data-theme="dark"] .hub-tier-pill-s {
    background: rgba(250, 204, 21, 0.28);
    color: #fde68a;
}
html[data-theme="dark"] .hub-tier-pill-a {
    background: rgba(96, 165, 250, 0.28);
    color: #bfdbfe;
}
html[data-theme="dark"] .hub-tier-pill-b {
    background: rgba(148, 163, 184, 0.28);
    color: #e2e8f0;
}
html[data-theme="dark"] .hub-tier-pill-c {
    background: rgba(100, 116, 139, 0.35);
    color: #cbd5e1;
}

html[data-theme="dark"] .hub-pos-pill {
    background: #202020;
    border-color: #353535;
    color: #cbd5e1;
}
html[data-theme="dark"] .hub-pos-pill:hover {
    border-color: var(--accent-orange);
    color: #f8fafc;
    background: #292929;
}
html[data-theme="dark"] .hub-pos-pill.ativo {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
    box-shadow: 0 2px 8px rgba(249, 115, 16, 0.35);
}

html[data-theme="dark"] .hub-cs-name,
html[data-theme="dark"] .hub-cs-des,
html[data-theme="dark"] .hub-cs-pos {
    color: #f1f5f9;
}
html[data-theme="dark"] .hub-cs-pos { color: #94a3b8; }
html[data-theme="dark"] .hub-cs-des { color: var(--accent-orange); }
html[data-theme="dark"] .hub-cs-xpts { color: #fb923c; }
html[data-theme="dark"] .hub-sheet-scroll {
    background: #181818;
    border-color: #353535;
}

.hub-micro-ticks {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    justify-content: center;
}
.hub-micro-tick {
    width: 6px;
    height: 14px;
    border-radius: 2px;
    background: var(--border-subtle);
}
.hub-micro-tick.on { background: #64748b; }
.hub-micro-up .hub-micro-tick.on { background: #16a34a; }
.hub-micro-risk .hub-micro-tick.on { background: #dc2626; }

.hub-micro-stars {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    letter-spacing: 0;
    line-height: 1;
}
.hub-micro-star {
    font-size: 13px;
    line-height: 1;
    color: #cbd5e1;
    border: none !important;
    width: auto !important;
    height: auto !important;
    transform: none;
}
.hub-micro-star.on {
    color: #f59e0b;
    border-bottom-color: transparent !important;
}

html[data-theme="dark"] .hub-micro-star { color: #475569; }
html[data-theme="dark"] .hub-micro-star.on { color: #fbbf24; }

/* ââ Compare dock ââ */
.hub-compare-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: var(--hub-surface-card, var(--bg-elevated));
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.12);
    padding: 12px 16px 16px;
}

.hub-compare-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hub-compare-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hub-compare-title {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.hub-compare-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.hub-compare-clear {
    margin-left: auto;
    border: none;
    background: none;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: underline;
}

.hub-compare-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.hub-compare-slot {
    position: relative;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.hub-compare-remove {
    position: absolute;
    top: 4px;
    right: 6px;
    border: none;
    background: none;
    font-size: 16px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.hub-compare-slot-name {
    font-size: 13px;
    font-weight: 800;
    padding-right: 18px;
    line-height: 1.2;
}

.hub-compare-slot-meta {
    font-size: 11px;
    color: var(--accent-orange);
    font-weight: 700;
    margin-top: 2px;
}

.hub-compare-slot-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.hub-compare-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* ââ Assistente (removido da UI; estilos legados mantidos inofensivos) ââ */
.hub-coach-fab { display: none !important; }

.hub-coach-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1045;
    background: rgba(15, 23, 42, 0.45);
}

.hub-coach-panel {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1050;
    width: min(400px, 92vw);
    background: var(--hub-surface-card, var(--bg-elevated));
    border-left: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.16);
}

.hub-coach-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--hub-surface-navy, #191970);
    color: #fff;
}

.hub-coach-eyebrow {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 4px;
}

.hub-coach-title {
    font-size: 18px;
    font-weight: 900;
    margin: 0;
    color: #fff;
}

.hub-coach-close {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 22px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
}

.hub-coach-body {
    flex: 1;
    overflow: auto;
    padding: 16px 20px 24px;
}

.hub-coach-veredito p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.hub-coach-hints {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.hub-coach-hint {
    text-align: left;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--bg-secondary);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
}

.hub-coach-hint:hover { border-color: var(--accent-orange); }

@media (max-width: 640px) {
    .hub-cs-table { font-size: 11px; }
    .hub-cs-foto { width: 28px; height: 28px; }
    .hub-cs-buy-btn.unanim-buy-btn { min-width: 72px; padding: 5px 8px; }
    .hub-cs-capitao span { display: none; }
    .hub-compare-slots { grid-template-columns: 1fr 1fr; }
}

/* ââ Estudo da Rodada: Unanimidades ââ */
.dash-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hub-bra-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.hub-unanim-empty {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    padding: 20px;
    border-radius: 10px;
    border: 1px dashed var(--border-subtle);
    background: var(--bg-secondary);
    text-align: center;
}

.hub-unanim-tier-hint {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hub-hero { margin-bottom: 32px; }

.hub-briefing {
    margin-bottom: 28px;
    padding: 16px 16px 18px;
    border: 1px solid #2f2f35;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(253, 186, 116, 0.08), rgba(24, 24, 27, 0.55));
}

.hub-brief-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hub-brief-kicker {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fdba74;
}

.hub-brief-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hub-brief-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #3f3f46;
    background: #18181b;
    color: #e4e4e7;
    font-size: 11px;
    font-weight: 750;
}

.hub-brief-chip.is-open { border-color: rgba(34,197,94,.45); color: #86efac; }
.hub-brief-chip.is-closed { border-color: rgba(248,113,113,.4); color: #fca5a5; }
.hub-brief-chip.is-odds-ok { border-color: rgba(253,186,116,.45); color: #fdba74; }
.hub-brief-chip.is-odds-stale { border-color: rgba(248,113,113,.55); color: #fca5a5; }
.hub-brief-chip.is-odds-wait,
.hub-brief-chip.is-unknown { color: #a1a1aa; }

.hub-brief-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hub-brief-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid #3f3f46;
    background: #27272a;
    color: #fafafa;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.hub-brief-cta:hover { border-color: #fdba74; color: #fdba74; }

.hub-brief-odds,
.hub-brief-prestacao {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #2f2f35;
}

.hub-brief-odds-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.hub-brief-odds-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hub-brief-odds-label {
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a1a1aa;
}

.hub-brief-odds ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hub-brief-odds li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #27272a;
    font-size: 12px;
    color: #e4e4e7;
}

.hub-brief-odds li span { color: #fdba74; font-weight: 800; }
.hub-brief-odds li.is-empty { color: #71717a; border: 0; }

.hub-brief-odds-empty {
    padding: 12px;
    border: 1px dashed #3f3f46;
    border-radius: 10px;
    color: #a1a1aa;
}

.hub-brief-odds-empty strong {
    display: block;
    margin-bottom: 4px;
    color: #e4e4e7;
}

.hub-brief-odds-empty p { margin: 0 0 10px; font-size: 12px; }

.hub-brief-prest-metrics {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.35fr;
    gap: 12px;
}

.hub-brief-prestacao {
    margin: 0 0 34px;
    padding: 20px;
    border: 1px solid rgba(253, 186, 116, .28);
    border-radius: 16px;
    background:
        radial-gradient(circle at 0 0, rgba(253, 186, 116, .12), transparent 38%),
        linear-gradient(145deg, #18181b, #111113);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
}

.hub-audit-card {
    display: flex;
    min-height: 116px;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(39, 39, 42, .72);
}

.hub-audit-card-main {
    border-color: rgba(34, 197, 94, .3);
    background: linear-gradient(145deg, rgba(34, 197, 94, .12), rgba(39, 39, 42, .72));
}

.hub-audit-icon {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: rgba(253, 186, 116, .13);
    color: #fdba74;
    font-size: 14px;
    font-weight: 900;
}

.hub-audit-card-main .hub-audit-icon {
    background: rgba(34, 197, 94, .15);
    color: #86efac;
}

.hub-audit-card div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.hub-audit-card small {
    font-size: 10px;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1.35;
}

.hub-audit-card strong {
    margin-top: 5px;
    font-size: 25px;
    line-height: 1.1;
    color: #fafafa;
}

.hub-audit-card-rule strong {
    font-size: 15px;
    margin-top: 9px;
}

.hub-audit-card p {
    margin: 7px 0 0;
    color: #a1a1aa;
    font-size: 11px;
    line-height: 1.4;
}

.hub-brief-prest-note {
    margin: 10px 0 0;
    font-size: 11px;
    color: #71717a;
}

.hub-audit-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    border: 1px solid #2f2f35;
    border-radius: 12px;
    background: #18181b;
}

.hub-audit-empty strong {
    color: #fafafa;
    font-size: 14px;
}

.hub-audit-empty p {
    margin: 0;
    color: #a1a1aa;
    font-size: 12px;
    line-height: 1.4;
}

.hub-brief-hist-wrap {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #2f2f35;
    border-radius: 12px;
    background: #141417;
}

.hub-brief-hist-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.hub-brief-hist-head span {
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #e4e4e7;
}

.hub-brief-hist-head small {
    font-size: 10px;
    color: #71717a;
}

.hub-brief-hist-ia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hub-brief-hist-ia li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #2f2f35;
    background: #18181b;
    color: #a1a1aa;
}

.hub-brief-hist-ia li.is-current {
    border-color: rgba(253, 186, 116, .55);
    background: linear-gradient(180deg, rgba(253, 186, 116, .12), #18181b 70%);
}

.hub-brief-hist-rod {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #a1a1aa;
}

.hub-brief-hist-ia strong {
    color: #fdba74;
    font-size: 18px;
    line-height: 1.1;
}

.hub-brief-hist-ia small {
    font-size: 10px;
    color: #71717a;
}

.hub-resumo-prob,
.hub-resumo-cenarios {
    margin: 0 0 32px;
}

.hub-resumo-prob-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.hub-resumo-prob-market {
    min-width: 0;
}

.hub-resumo-prob-title {
    min-height: 0;
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a1a1aa;
}

.hub-resumo-prob .hub-prob-spot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hub-resumo-prob .hub-prob-spot[data-count="1"] {
    grid-template-columns: minmax(0, 420px);
    grid-template-areas: "a";
    justify-content: center;
}

.hub-resumo-prob .hub-prob-spot[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 360px));
    grid-template-areas: "a b";
    justify-content: center;
}

.hub-resumo-prob .hub-prob-spot-card {
    min-height: 228px;
}

.hub-resumo-cenarios-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hub-resumo-cenario {
    display: flex;
    flex: 0 1 calc(33.333% - 10px);
    width: 100%;
    max-width: 380px;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0;
    border: 1px solid #2f2f35;
    border-radius: 12px;
    background: #18181b;
    color: #e4e4e7;
    overflow: hidden;
    text-align: left;
}

.hub-resumo-cenario:hover {
    border-color: rgba(253, 186, 116, .7);
}

.hub-resumo-cenario-body {
    display: flex;
    width: 100%;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px;
}

.hub-resumo-cenario-match {
    font-size: 11px;
    font-weight: 800;
    color: #fdba74;
}

.hub-resumo-cenario strong {
    font-size: 14px;
    color: #fafafa;
}

.hub-resumo-cenario-fav {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 0 2px;
    text-align: center;
}

.hub-resumo-cenario-fav img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.hub-resumo-cenario small {
    color: #a1a1aa;
    font-size: 11px;
    line-height: 1.35;
}

.hub-resumo-cenario-heat {
    width: 100%;
    margin-top: 6px;
}

.hub-resumo-cenario-heat-loading {
    margin: 8px 0;
    color: #71717a;
    font-size: 11px;
}

.hub-resumo-cenario-indices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.hub-resumo-cenario-idx {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 9px 10px 8px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.hub-resumo-cenario-idx.is-ipo {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.18), rgba(249, 115, 22, 0.06));
    border-color: rgba(249, 115, 22, 0.35);
}

.hub-resumo-cenario-idx.is-ivd {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.06));
    border-color: rgba(37, 99, 235, 0.35);
}

.hub-resumo-cenario-idx-k {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hub-resumo-cenario-idx.is-ipo .hub-resumo-cenario-idx-k {
    color: #fb923c;
}

.hub-resumo-cenario-idx.is-ivd .hub-resumo-cenario-idx-k {
    color: #60a5fa;
}

.hub-resumo-cenario-idx strong {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
    color: #fafafa;
}

.hub-resumo-cenario-idx-hint {
    font-size: 9px;
    font-weight: 650;
    color: #a1a1aa;
}

.hub-resumo-cenario-idx-bar {
    display: block;
    height: 4px;
    margin-top: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hub-resumo-cenario-idx-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.hub-resumo-cenario-idx.is-ipo .hub-resumo-cenario-idx-bar i {
    background: linear-gradient(90deg, #fb923c, #f97316);
}

.hub-resumo-cenario-idx.is-ivd .hub-resumo-cenario-idx-bar i {
    background: linear-gradient(90deg, #60a5fa, #2563eb);
}

.hub-resumo-cenario-pitches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hub-resumo-cenario-pitches .hub-eq-pitch {
    min-width: 0;
}

.hub-resumo-cenario-pitches .hub-eq-pitch-field {
    min-height: 132px;
}

.hub-resumo-cenario-pitches .hub-eq-ab-pt {
    display: none;
}

.hub-resumo-cenario .hub-jogo-cta {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    background: linear-gradient(135deg, #ff7a18, #f05a00);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: inset 0 1px rgba(255, 255, 255, .14);
}

.hub-resumo-cenario .hub-jogo-cta:hover {
    background: linear-gradient(135deg, #ff8c32, #ff6600);
    color: #fff;
}

@media (max-width: 720px) {
    .hub-brief-odds-grid,
    .hub-brief-prest-metrics,
    .hub-resumo-prob-grid,
    .hub-resumo-cenarios-grid {
        grid-template-columns: 1fr;
    }

    .hub-resumo-prob-title {
        min-height: auto;
    }

    .hub-resumo-prob .hub-prob-spot {
        grid-template-columns: minmax(0, 420px);
        grid-template-areas: "a" "b" "c";
        justify-content: center;
    }

    .hub-resumo-prob .hub-prob-spot[data-count="1"] {
        grid-template-areas: "a";
    }

    .hub-resumo-prob .hub-prob-spot[data-count="2"] {
        grid-template-columns: minmax(0, 420px);
        grid-template-areas: "a" "b";
    }

    .hub-resumo-prob .hub-prob-spot-card {
        min-height: 150px;
    }

    .hub-resumo-cenario-pitches {
        grid-template-columns: 1fr 1fr;
    }

    .hub-resumo-cenario {
        flex-basis: 100%;
        max-width: 420px;
    }
}

.hub-section-head { margin-bottom: 16px; }

.hub-section-head-split {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
}

.hub-ivr-legenda {
    margin: 0;
    flex: 1 1 220px;
    max-width: 100%;
    text-align: right;
    font-size: 11px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.hub-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hub-section-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin: 4px 0 0;
}

.hub-capitao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    border-radius: 3px;
    background: #FF6B00;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    vertical-align: middle;
    user-select: none;
}

.hub-capitao-sm {
    width: 14px;
    height: 14px;
    font-size: 9px;
    border-radius: 2px;
    margin-right: 0;
}

.hub-capitao img {
    display: none;
}

.hub-capitao-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.unanim-name-row .hub-capitao {
    margin-right: 6px;
}

.hub-pane {
    margin-top: 4px;
}

.hub-insight-list,
.hub-diff-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hub-diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.hub-insight-card,
.hub-diff-card {
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--bg-elevated);
    padding: 14px 16px;
}

.hub-insight-acao {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
    background: rgba(37, 99, 235, 0.12);
    color: #60a5fa;
}

.hub-insight-acao-priorize { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.hub-insight-acao-evite { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.hub-insight-acao-capitao { background: rgba(34, 197, 94, 0.2); color: #86efac; }

.hub-insight-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}

.hub-insight-body {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
}

.hub-insight-ancora {
    margin: 8px 0 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-orange, #f97316);
}

/* ââ Mapa de Gols ââ */
.hub-mapa-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.hub-mapa-card {
    background: var(--hub-surface-card, var(--bg-elevated));
    border: var(--hub-border, 1px solid var(--border-subtle));
    border-radius: 12px;
    box-shadow: var(--hub-shadow);
    padding: 12px 12px 10px;
    overflow: visible;
}

.hub-mapa-card-head {
    text-align: center;
    margin-bottom: 10px;
}

.hub-mapa-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 14px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hub-mapa-card-title img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.hub-mapa-card-vs {
    color: var(--text-muted);
    font-weight: 800;
    opacity: 0.7;
}

.hub-mapa-card-sub {
    margin: 6px 0 0;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hub-mapa-pitches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}

.hub-mapa-side-label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 6px;
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.hub-mapa-side-label img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.hub-mapa-side-sep {
    opacity: 0.55;
}

.hub-mapa-modo-wrap {
    display: inline-flex;
    gap: 4px;
    padding: 3px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid var(--border-subtle, #334155);
}

.hub-mapa-modo-btn {
    border: 0;
    background: transparent;
    color: var(--text-muted, #94a3b8);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease;
}

.hub-mapa-modo-btn.is-active {
    background: rgba(251, 146, 60, 0.22);
    color: #fb923c;
    box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.45);
}

.hub-mapa-modo-btn:focus-visible {
    outline: 2px solid var(--accent-orange, #f97316);
    outline-offset: 1px;
}

.hub-mapa-cruz-hint {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    text-align: center;
}

.hub-ctx-fav-crest {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 4px;
}

.hub-ctx-axis-lab {
    font-size: 10px;
    line-height: 1.35;
}

.hub-mapa-modo {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--border-subtle);
    background: var(--hub-surface, #f1f5f9)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2364748b' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E")
        no-repeat right 7px center;
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 4px 22px 4px 8px;
    border-radius: 7px;
    cursor: pointer;
    line-height: 1.2;
    max-width: 140px;
}

.hub-mapa-modo:focus-visible {
    outline: 2px solid var(--accent-orange, #f97316);
    outline-offset: 1px;
}

.hub-mapa-pitch-wrap {
    position: relative;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    aspect-ratio: 68 / 105;
    min-height: 0;
    border-radius: 10px;
    overflow: visible;
}

.hub-mapa-pitch-wrap canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hub-mapa-markers {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hub-mapa-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    min-width: 1.85rem;
    height: 1.85rem;
    padding: 1px 4px;
    border-radius: 999px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.78);
    color: #fff;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hub-mapa-marker:hover,
.hub-mapa-marker:focus-visible {
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.55), 0 6px 16px rgba(15, 23, 42, 0.35);
}

.hub-mapa-marker.is-hot {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.45), 0 4px 14px rgba(15, 23, 42, 0.3);
}

.hub-mapa-marker.is-heat {
    transform: translate(-50%, -50%) scale(1.12);
    border-color: #fdba74;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.7), 0 0 22px rgba(249, 115, 22, 0.45);
    z-index: 5;
}

.hub-mapa-marker.has-split {
    min-width: 2.35rem;
    height: auto;
    min-height: 2.45rem;
    padding: 3px 5px 4px;
    border-radius: 10px;
}

.hub-mapa-marker-pos {
    font-size: 0.5rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
}

.hub-mapa-marker-val {
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1;
    margin-top: 1px;
}

.hub-mapa-marker .hub-mapa-marker-split {
    margin-top: 2px;
}

.hub-mapa-tooltip {
    position: absolute;
    z-index: 20;
    min-width: 180px;
    max-width: min(240px, 92%);
    padding: 8px 10px;
    border-radius: 10px;
    background: #181818;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s ease;
}

.hub-mapa-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
}

.hub-mapa-tip-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
}

.hub-mapa-tip-head strong {
    font-size: 12px;
    letter-spacing: 0.04em;
}

.hub-mapa-tip-head span {
    color: #94a3b8;
    font-weight: 700;
}

.hub-mapa-tip-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: 180px;
    overflow-y: auto;
}

.hub-mapa-tip-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-mapa-tip-foto {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #262626;
    flex-shrink: 0;
}

.hub-mapa-tip-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.hub-mapa-tip-meta strong {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-mapa-tip-scout {
    font-size: 10px;
    font-weight: 800;
    color: #fb923c;
}

.hub-mapa-tip-rod {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.hub-mapa-tip-empty {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.hub-mapa-cruz {
    margin-top: 10px;
    padding: 10px 10px 8px;
    border-radius: 10px;
    background: var(--bg-secondary, rgba(15, 23, 42, 0.04));
    border: 1px solid var(--border-subtle);
}

.hub-mapa-cruz-title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hub-mapa-cruz-empty {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.hub-mapa-cruz-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hub-mapa-cruz-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--hub-surface-card, var(--bg-elevated));
    border: 1px solid var(--border-subtle);
    min-width: 140px;
}

.hub-mapa-cruz-crest {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.hub-mapa-cruz-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.hub-mapa-cruz-meta strong {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-mapa-cruz-meta span {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 700px) {
    .hub-mapa-list {
        max-width: 100%;
    }
    .hub-mapa-pitches {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .hub-mapa-pitch-wrap {
        max-width: 280px;
        min-height: 0;
    }
    .hub-mapa-card {
        padding: 10px 8px 8px;
    }
    .hub-mapa-card-title {
        font-size: 13px;
    }
    .hub-mapa-modo {
        max-width: 150px;
    }
}

html[data-theme="dark"] .hub-mapa-cruz {
    background: rgba(18, 18, 18, 0.55);
}

html[data-theme="dark"] .hub-mapa-modo {
    background-color: #202020;
    border-color: #353535;
    color: #f1f5f9;
}

/* ââ Mapa de Gols: provÃ¡veis (campinho horizontal) ââ */
.hub-mapa-prov {
    margin-top: 14px;
    padding: 14px 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.18));
    background: #1b1b1b;
}

.hub-mapa-prov-title {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted, #94a3b8);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hub-mapa-prov-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 4px;
}

.hub-mapa-prov-beta.nav-badge-pro,
.hub-mapa-prov-beta {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--accent-orange, #f97316);
    color: #0f172a;
    line-height: 1.2;
}

.hub-mapa-atualizacao {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #94a3b8;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.2);
    white-space: nowrap;
}

.hub-mapa-prov-hint {
    margin: 0 0 12px;
    font-size: 0.72rem;
    color: var(--text-muted, #64748b);
    line-height: 1.35;
}

.hub-mapa-prov-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    padding: 0 4px;
}

.hub-mapa-prov-team {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.hub-mapa-prov-team-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.hub-mapa-prov-team.is-fora {
    align-items: flex-end;
    text-align: right;
}

.hub-mapa-prov-team.is-fora .hub-mapa-prov-team-row {
    flex-direction: row-reverse;
}

.hub-mapa-prov-team img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.hub-mapa-prov-vs {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.hub-mapa-prov-sigla {
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

.hub-mapa-prov-form {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.68rem;
}

.hub-mapa-prov-pitch-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 960 / 420;
    max-height: 340px;
    border-radius: 10px;
    overflow: visible;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-mapa-prov-pitch-wrap canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
}

.hub-mapa-prov-players {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.hub-mapa-prov-player {
    position: absolute;
    transform: translate(-50%, -48%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    max-width: 58px;
    text-align: center;
    pointer-events: auto;
    z-index: 1;
}

.hub-mapa-prov-player:hover {
    z-index: 20;
}

.hub-mapa-prov-player.is-tip-open {
    z-index: 20;
}

.hub-mapa-prov-cruz-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: 0;
    padding: 1px 4px;
    border-radius: 999px;
    font-size: 0.42rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff7ed;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.92), rgba(234, 88, 12, 0.88));
    border: 1px solid rgba(253, 186, 116, 0.5);
    line-height: 1.1;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(234, 88, 12, 0.28);
    max-width: 54px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-mapa-prov-cruz-chip::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
}

.hub-mapa-prov-tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    min-width: 132px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(24, 24, 24, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    color: #e8e8e8;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 30;
    white-space: nowrap;
}

.hub-mapa-prov-player:hover .hub-mapa-prov-tip,
.hub-mapa-prov-player:focus-within .hub-mapa-prov-tip,
.hub-mapa-prov-player.is-tip-open .hub-mapa-prov-tip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hub-mapa-prov-player.tip-below .hub-mapa-prov-tip {
    bottom: auto;
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(-4px);
}

.hub-mapa-prov-player.tip-below:hover .hub-mapa-prov-tip,
.hub-mapa-prov-player.tip-below:focus-within .hub-mapa-prov-tip,
.hub-mapa-prov-player.tip-below.is-tip-open .hub-mapa-prov-tip {
    transform: translateX(-50%) translateY(0);
}

.hub-mapa-prov-player.tip-left .hub-mapa-prov-tip {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(4px);
}

.hub-mapa-prov-player.tip-left:hover .hub-mapa-prov-tip,
.hub-mapa-prov-player.tip-left:focus-within .hub-mapa-prov-tip,
.hub-mapa-prov-player.tip-left.is-tip-open .hub-mapa-prov-tip {
    transform: translateX(0) translateY(0);
}

.hub-mapa-prov-player.tip-right .hub-mapa-prov-tip {
    left: 0;
    transform: translateX(0) translateY(4px);
}

.hub-mapa-prov-player.tip-right:hover .hub-mapa-prov-tip,
.hub-mapa-prov-player.tip-right:focus-within .hub-mapa-prov-tip,
.hub-mapa-prov-player.tip-right.is-tip-open .hub-mapa-prov-tip {
    transform: translateX(0) translateY(0);
}

.hub-mapa-prov-tip-head {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
}

.hub-mapa-prov-tip-pts {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 6px;
}

.hub-mapa-prov-tip-rods {
    margin: 0 0 4px;
    font-size: 0.58rem;
    letter-spacing: 0.02em;
    color: #94a3b8;
    text-align: center;
    line-height: 1.2;
}

.hub-mapa-prov-tip-pt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 4px 5px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    border: 1px solid transparent;
    line-height: 1;
}

/* Escala charcoal/laranja no tip (sem midnight) */
.hub-mapa-prov-tip .hub-hcell-i0 { background: transparent; color: #9ca3af; }
.hub-mapa-prov-tip .hub-hcell-i1 { background: rgba(255, 102, 0, 0.18); color: #fdba74; }
.hub-mapa-prov-tip .hub-hcell-i2 { background: rgba(255, 102, 0, 0.32); color: #fed7aa; }
.hub-mapa-prov-tip .hub-hcell-i3 { background: rgba(255, 102, 0, 0.52); color: #fff7ed; }
.hub-mapa-prov-tip .hub-hcell-i4 { background: rgba(255, 102, 0, 0.78); color: #fff; }

.hub-mapa-prov-tip-mm {
    font-size: 0.62rem;
    color: #94a3b8;
    text-align: center;
}

.hub-mapa-prov-tip-mm strong {
    color: #e2e8f0;
    font-weight: 800;
}

.hub-mapa-prov-tip-empty {
    margin: 0;
    font-size: 0.62rem;
    color: #64748b;
    white-space: normal;
    max-width: 140px;
    text-align: center;
}

.hub-mapa-prov-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    background: #202020;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hub-mapa-prov-player.is-duvida .hub-mapa-prov-avatar {
    border-color: #facc15;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.35);
}

.hub-mapa-prov-name {
    font-size: 0.54rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.1;
    max-width: 58px;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.hub-mapa-prov-alt {
    font-size: 0.5rem;
    color: #facc15;
    line-height: 1.1;
    max-width: 58px;
    white-space: normal;
    word-break: break-word;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hub-mapa-prov-tec {
    font-size: 0.62rem;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.hub-mapa-prov-team.is-fora .hub-mapa-prov-tec {
    text-align: right;
}

.hub-mapa-prov-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
}

.hub-mapa-prov-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    font-size: 0.65rem;
    color: #64748b;
}

.hub-mapa-prov-leg {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hub-mapa-prov-leg .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.hub-mapa-prov-leg .dot-ok {
    background: #fff;
    border: 1px solid #94a3b8;
}

.hub-mapa-prov-leg .dot-duv {
    background: #facc15;
}

.hub-mapa-prov-leg .dot-cruz {
    background: #fb923c;
}

@media (max-width: 768px) {
    .hub-mapa-prov-pitch-wrap {
        max-height: 280px;
    }
    .hub-mapa-prov-avatar {
        width: 20px;
        height: 20px;
        border-width: 1px;
    }
    .hub-mapa-prov-name,
    .hub-mapa-prov-alt {
        font-size: 0.46rem;
        max-width: 50px;
        line-height: 1.08;
    }
    .hub-mapa-prov-player {
        max-width: 50px;
        gap: 0;
    }
    .hub-mapa-prov-cruz-chip {
        font-size: 0.36rem;
        padding: 0 3px;
        gap: 1px;
        max-width: 46px;
        letter-spacing: 0.02em;
    }
    .hub-mapa-prov-cruz-chip::before {
        width: 3px;
        height: 3px;
    }
    .hub-mapa-prov-head {
        align-items: flex-start;
    }
}

/* ââ Mapa de Gols: navegaÃ§Ã£o por escudos ââ */
.hub-mapa-clubes-nav {
    position: sticky;
    top: 122px;
    z-index: 95;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 14px;
    margin: 0 0 18px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--hub-surface-card, var(--bg-elevated, rgba(15, 23, 42, 0.92)));
    border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.16));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .hub-mapa-clubes-nav {
        top: 118px;
        gap: 8px 10px;
        padding: 8px 10px;
    }
}

.hub-mapa-clube-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 4px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.hub-mapa-clube-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hub-mapa-clube-btn:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.hub-mapa-clube-btn.is-active {
    background: color-mix(in srgb, var(--accent-orange, #ff6600) 22%, transparent);
    box-shadow: 0 0 0 2px var(--accent-orange, #ff6600);
}

.hub-mapa-clube-crest {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.hub-mapa-card-highlight {
    animation: hub-mapa-card-flash 1.4s ease;
}

@keyframes hub-mapa-card-flash {
    0%, 100% { box-shadow: none; }
    25%, 75% { box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.55), 0 8px 24px rgba(56, 189, 248, 0.15); }
}

.hub-mapa-top-btn {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hub-mapa-top-btn[hidden] {
    display: none;
}

.hub-mapa-top-btn:hover {
    transform: translateY(-2px);
    background: rgba(30, 41, 59, 0.96);
}

.hub-mapa-top-btn:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.hub-mapa-top-btn-icon {
    font-size: 0.9rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .hub-mapa-top-btn {
        padding: 9px 12px;
    }
    .hub-mapa-top-btn-label {
        display: none;
    }
}

html[data-theme="dark"] .hub-mapa-prov {
    background: #1b1b1b;
    border-color: #353535;
}

/* ââ Probabilidades (layout elite: 1 mercado + pÃ³dio + ranking + SG) ââ */
.hub-prob-head {
    margin-bottom: 12px;
}

.hub-prob-head .dash-eyebrow {
    margin: 0 0 4px;
}

.hub-prob-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.hub-prob-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: hub-prob-pulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes hub-prob-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hub-prob-cmd {
    position: sticky;
    top: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 16px;
    padding: 10px 0 12px;
    background: color-mix(in srgb, var(--bg-primary, #f8fafc) 88%, transparent);
    backdrop-filter: blur(10px);
}

.hub-prob-markets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.hub-prob-market {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 10px 12px;
    border-radius: var(--hub-radius-chip, 10px);
    border: var(--hub-border, 1px solid var(--border-subtle));
    background: var(--hub-surface-card, var(--bg-elevated));
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    box-shadow: var(--hub-shadow);
}

.hub-prob-market-label {
    font-size: 12px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    line-height: 1.25;
    text-transform: uppercase;
    text-align: center;
}

.hub-prob-market.is-active {
    border-color: var(--accent-orange);
    background: #171717;
    box-shadow: 0 0 0 1px rgba(255, 102, 0, 0.28), var(--hub-shadow-hover);
}

.hub-prob-market.is-active .hub-prob-market-label {
    color: #fff;
}

.hub-prob-cmd-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.hub-prob-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hub-prob-chip {
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
}

html[data-theme="dark"] .hub-prob-chip {
    background: #202020;
    border-color: #353535;
    color: #a1a1aa;
}

html[data-theme="dark"] .hub-prob-market {
    background: #1c1c1c;
    border-color: #353535;
}

html[data-theme="dark"] .hub-prob-search {
    background: #202020;
    border-color: #353535;
    color: #e8e8e8;
}

html[data-theme="dark"] .hub-prob-cmd {
    background: color-mix(in srgb, #121212 88%, transparent);
}

.hub-prob-chip.is-active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
}

.hub-prob-search-wrap {
    flex: 1 1 200px;
    max-width: 320px;
    margin: 0 0 0 auto;
}

.hub-prob-search {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.hub-prob-search:focus {
    outline: 2px solid color-mix(in srgb, var(--accent-orange) 55%, transparent);
    border-color: var(--accent-orange);
}

.hub-prob-stage-head {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.hub-prob-stage-count {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hub-prob-spot {
    display: grid;
    grid-template-columns: 1fr 1.18fr 1fr;
    grid-template-areas: "b a c";
    gap: 10px;
    align-items: stretch;
    margin-bottom: 14px;
}

.hub-prob-spot[data-count="1"] {
    grid-template-columns: minmax(0, 420px);
    grid-template-areas: "a";
    justify-content: center;
}

.hub-prob-spot[data-count="2"] {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a b";
}

.hub-prob-spot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 28px 12px 14px;
    border-radius: var(--hub-radius-card, 16px);
    border: var(--hub-border, 1px solid var(--border-subtle));
    background: var(--hub-surface-card, var(--bg-elevated));
    box-shadow: var(--hub-shadow);
    min-height: 0;
}

.hub-prob-spot-mando {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    display: inline-flex;
}

.hub-prob-spot-mando .hub-cs-mando-icon {
    width: 18px;
    height: 18px;
}

.hub-prob-spot-match {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.hub-prob-spot-match .hub-prob-mini-crest {
    width: 18px;
    height: 18px;
}

.hub-prob-spot-card[data-rk="1"] { grid-area: a; }
.hub-prob-spot-card[data-rk="2"] { grid-area: b; }
.hub-prob-spot-card[data-rk="3"] { grid-area: c; }

.hub-prob-spot-card[data-rk="1"] {
    padding-top: 28px;
    padding-bottom: 16px;
    transform: translateY(-8px);
    background: linear-gradient(180deg, #fff6c8 0%, #f6d365 48%, #e8b923 100%);
    border-color: #eab308;
    box-shadow: 0 10px 28px rgba(202, 138, 4, 0.28);
}

.hub-prob-spot-card[data-rk="2"] {
    padding-top: 28px;
    padding-bottom: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #cfd6de 48%, #94a3b8 100%);
    border-color: #94a3b8;
    box-shadow: 0 8px 22px rgba(71, 85, 105, 0.22);
}

.hub-prob-spot-card[data-rk="3"] {
    padding-top: 28px;
    padding-bottom: 16px;
    background: linear-gradient(180deg, #fde8d0 0%, #d4a574 48%, #b87333 100%);
    border-color: #c2410c;
    box-shadow: 0 8px 22px rgba(154, 52, 18, 0.22);
}

.hub-prob-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hub-prob-medal-1 {
    width: 72px;
    height: 72px;
}

.hub-prob-medal-2,
.hub-prob-medal-3 {
    width: 52px;
    height: 52px;
}

.hub-prob-trophy {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.18));
}

.hub-prob-spot-foto {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #202020;
    border: 2px solid var(--border-subtle);
}

.hub-prob-spot-card[data-rk="1"] .hub-prob-spot-foto {
    width: 80px;
    height: 80px;
    border-color: rgba(120, 53, 15, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.hub-prob-spot-card[data-rk="2"] .hub-prob-spot-foto {
    border-color: rgba(51, 65, 85, 0.28);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.hub-prob-spot-card[data-rk="3"] .hub-prob-spot-foto {
    border-color: rgba(120, 53, 15, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.hub-prob-spot-body {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hub-prob-spot-body > .hub-cs-buy {
    margin-top: 4px;
    width: 100%;
}

.hub-prob-spot-body .hub-cs-buy-btn.unanim-buy-btn {
    min-width: 118px;
    min-height: 44px;
    padding: 9px 14px;
}

.hub-prob-spot-nome {
    margin: 0;
    max-width: 100%;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-prob-spot-card[data-rk="1"] .hub-prob-spot-nome {
    font-size: 17px;
    color: #1c1917;
}

.hub-prob-spot-card[data-rk="2"] .hub-prob-spot-nome {
    color: #0f172a;
}

.hub-prob-spot-card[data-rk="3"] .hub-prob-spot-nome {
    color: #1c1917;
}

.hub-prob-spot-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 4px 0 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.hub-prob-spot-card[data-rk="1"] .hub-prob-spot-line {
    color: rgba(28, 25, 23, 0.7);
}

.hub-prob-spot-pct {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--accent-orange);
    line-height: 1;
}

.hub-prob-spot-card[data-rk="1"] .hub-prob-spot-pct {
    font-size: 36px;
    color: #9a3412;
}

.hub-prob-spot-card[data-rk="2"] .hub-prob-spot-pct {
    color: #334155;
}

.hub-prob-spot-card[data-rk="3"] .hub-prob-spot-pct {
    color: #9a3412;
}

.hub-prob-spot-pct span {
    font-size: 0.45em;
    margin-left: 1px;
}

.hub-prob-bar {
    display: block;
    width: 100%;
    height: 6px;
    margin: 0;
    border-radius: 99px;
    background: rgba(148, 163, 184, 0.28);
    overflow: hidden;
}

.hub-prob-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-orange), #f59e0b);
}

.hub-prob-spot-card[data-rk="1"] .hub-prob-bar {
    background: rgba(120, 53, 15, 0.22);
}

.hub-prob-spot-card[data-rk="1"] .hub-prob-bar i {
    background: linear-gradient(90deg, #b45309, #f59e0b);
}

.hub-prob-spot-card[data-rk="2"] .hub-prob-bar {
    background: rgba(51, 65, 85, 0.22);
}

.hub-prob-spot-card[data-rk="2"] .hub-prob-bar i {
    background: linear-gradient(90deg, #475569, #94a3b8);
}

.hub-prob-spot-card[data-rk="3"] .hub-prob-bar {
    background: rgba(120, 53, 15, 0.22);
}

.hub-prob-spot-card[data-rk="3"] .hub-prob-bar i {
    background: linear-gradient(90deg, #9a3412, #d97706);
}

.hub-prob-rank {
    background: var(--hub-surface-card, var(--bg-elevated));
    border: var(--hub-border, 1px solid var(--border-subtle));
    border-radius: var(--hub-radius-card, 16px);
    box-shadow: var(--hub-shadow);
    padding: 6px;
}

.hub-prob-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hub-prob-list-scroll {
    max-height: min(58vh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.hub-prob-row {
    display: grid;
    grid-template-columns: 28px 40px minmax(0, 1fr) minmax(13.25rem, auto);
    gap: 10px 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    min-height: 56px;
}

.hub-prob-row:nth-child(odd) {
    background: rgba(148, 163, 184, 0.08);
}

.hub-prob-rk {
    font-size: 12px;
    font-weight: 900;
    color: var(--text-muted);
    text-align: center;
}

.hub-prob-foto {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #202020;
    flex-shrink: 0;
}

.hub-prob-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hub-prob-meta strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
}

.hub-prob-meta strong span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-prob-meta .hub-cs-mando-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.hub-prob-meta .hub-prob-bar {
    margin-top: 4px;
    height: 3px;
}

.hub-prob-line {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.hub-prob-pos {
    flex-shrink: 0;
    max-width: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-prob-vs {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 700;
    text-transform: lowercase;
    opacity: 0.85;
}

.hub-prob-mini-crest {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.hub-prob-rail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.hub-prob-rail .hub-cs-buy {
    flex-shrink: 0;
}

.hub-prob-rail .hub-cs-buy-btn.unanim-buy-btn {
    min-width: 108px;
    position: relative;
    z-index: 1;
}

.hub-prob-pct {
    flex: 0 0 4.5rem;
    min-width: 4.5rem;
    text-align: right;
    padding: 0;
}

.hub-prob-pct strong {
    font-size: 15px;
    font-weight: 900;
    color: #fb923c;
    white-space: nowrap;
}

.hub-prob-empty {
    margin: 12px 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.hub-prob-sg {
    margin-top: 22px;
}

.hub-prob-sg-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.hub-prob-sg-title {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hub-prob-sg-n {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hub-prob-sg-rail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}

.hub-prob-sg-card {
    display: grid;
    grid-template-columns: 22px 28px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: var(--hub-border, 1px solid var(--border-subtle));
    background: var(--hub-surface-card, var(--bg-elevated));
    box-shadow: var(--hub-shadow);
    min-height: 58px;
}

.hub-prob-sg-rk {
    font-size: 11px;
    font-weight: 900;
    color: var(--text-muted);
    text-align: center;
}

.hub-prob-sg-crest {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.hub-prob-sg-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hub-prob-sg-meta strong {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-prob-sg-line .hub-cs-mando-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.hub-prob-sg-line {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.hub-prob-sg-pct {
    text-align: right;
    min-width: 3.6rem;
}

.hub-prob-sg-pct strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    color: #fb923c;
}

.hub-prob-sg-pct .hub-prob-bar {
    margin-top: 4px;
    width: 56px;
    margin-left: auto;
}

@media (max-width: 900px) {
    .hub-prob-pane .hub-section-head {
        margin-bottom: 10px;
    }

    .hub-prob-market {
        min-height: 52px;
        padding: 8px 6px;
    }

    .hub-prob-market-label {
        font-size: 10px;
        letter-spacing: 0.01em;
    }

    .hub-prob-spot-card[data-rk="1"] {
        transform: none;
    }

    .hub-prob-search-wrap {
        max-width: none;
        margin-left: 0;
        flex-basis: 100%;
    }

    .hub-prob-spot {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }

    .hub-prob-spot-card[data-rk="1"],
    .hub-prob-spot-card[data-rk="2"],
    .hub-prob-spot-card[data-rk="3"] {
        grid-area: auto;
    }

    .hub-prob-list-scroll {
        max-height: min(52vh, 480px);
    }

    .hub-prob-row {
        grid-template-columns: 22px 36px minmax(0, 1fr) minmax(7.5rem, 8.5rem);
        gap: 8px 8px;
        padding: 10px 8px;
        min-height: 64px;
        align-items: start;
    }

    .hub-prob-rail {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 6px;
    }

    .hub-prob-pct {
        flex: none;
        min-width: 0;
        width: 100%;
        text-align: right;
    }

    .hub-prob-rail .hub-cs-buy-btn.unanim-buy-btn {
        width: 100%;
        min-width: 0;
        min-height: 40px;
    }

    .hub-prob-sg-rail {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .hub-prob-sg-card {
        flex: 0 0 min(78vw, 280px);
        scroll-snap-align: start;
    }
}

@media (max-width: 430px) {
    .hub-prob-pane {
        padding-bottom: 8px;
    }

    .hub-prob-spot-pct {
        font-size: 24px;
    }

    .hub-prob-spot-card[data-rk="1"] .hub-prob-spot-pct {
        font-size: 30px;
    }

    .hub-prob-row {
        grid-template-columns: 18px 34px minmax(0, 1fr) minmax(7.25rem, 8.25rem);
        gap: 6px;
    }

    .hub-prob-pos {
        max-width: 3.2rem;
    }

    .hub-prob-pct strong {
        font-size: 14px;
    }
}

html[data-theme="dark"] .hub-prob-cmd {
    background: color-mix(in srgb, #121212 88%, transparent);
}

html[data-theme="dark"] .hub-prob-market.is-active {
    color: #fdba74;
}

.hub-diff-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hub-diff-name {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-primary);
}

.hub-diff-meta {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.hub-diff-metrics {
    display: flex;
    gap: 12px;
}

.hub-diff-metrics div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hub-diff-metrics strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}

.hub-diff-metrics small {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hub-base-board-wrap {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.hub-base-pitch {
    position: relative;
    overflow: visible;
    width: 100%;
    aspect-ratio: 1631 / 1450;
    min-height: 0;
    max-height: 720px;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent url("/static/campinho.png") center center / contain no-repeat;
    box-shadow: none;
}

.hub-base-pitch::before {
    content: none;
    display: none;
}

.hub-base-pitch::after { display: none; }

.hub-base-abs {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    justify-content: center;
}

.hub-base-abs.is-tec { z-index: 5; }

.hub-base-formacao-mark {
    position: absolute;
    left: 50%;
    top: 94.5%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #fff;
    line-height: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
}

.hub-base-formacao-label {
    font-size: clamp(0.58rem, 2.2vw, 0.72rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    opacity: 0.5;
    text-transform: uppercase;
}

.hub-base-formacao-val {
    font-size: clamp(1.25rem, 5.2vw, 1.75rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    opacity: 0.55;
}

.hub-base-xpts-switch {
    position: absolute;
    top: 2.2%;
    right: 3.5%;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(4px);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.hub-base-xpts-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.hub-base-xpts-track {
    width: 34px;
    height: 18px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    position: relative;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.hub-base-xpts-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease;
}

.hub-base-xpts-switch input:checked + .hub-base-xpts-track {
    background: rgba(249, 115, 22, 0.9);
}

.hub-base-xpts-switch input:checked + .hub-base-xpts-track .hub-base-xpts-knob {
    transform: translateX(16px);
}

.hub-base-xpts-text {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    opacity: 0.9;
}

.hub-base-hide-xpts .hub-base-bubble {
    display: none;
}

.hub-base-hide-xpts .hub-base-card {
    padding-top: 0;
}

.hub-base-rm {
    position: absolute;
    top: -6px;
    right: -8px;
    z-index: 12;
    width: 18px;
    height: 18px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.4);
}

@media (hover: hover) and (pointer: fine) {
    .hub-base-card:hover .hub-base-rm,
    .hub-base-card:focus-within .hub-base-rm {
        display: inline-flex;
    }
}

.hub-base-card.is-rm-open .hub-base-rm {
    display: inline-flex;
}

.hub-base-card {
    width: 78px;
    position: relative;
    z-index: 4;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 18px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.hub-base-card.is-compact { width: 72px; }

.hub-base-card:hover .hub-base-avatar-ring {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 5px 12px rgba(15, 23, 42, 0.35);
}

.hub-base-bubble {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    background: var(--bg-elevated, #fff);
    color: var(--text-strong, #0f172a);
    border: 1px solid var(--border-subtle, transparent);
    font-size: 8.5px;
    font-weight: 900;
    line-height: 1;
    padding: 2px 5px 3px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.22);
    white-space: nowrap;
    z-index: 6;
    pointer-events: none;
    font-variant-numeric: tabular-nums;
}

.hub-base-bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--bg-elevated, #fff);
    border-bottom: 0;
}

.hub-base-bubble-unit {
    font-size: 7px;
    font-weight: 800;
    color: var(--text-muted, #64748b);
    letter-spacing: 0.15px;
}

.hub-base-avatar-wrap {
    position: relative;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(15, 23, 42, 0.35));
    overflow: visible;
}

.hub-base-avatar-ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #1e293b;
    overflow: hidden;
    box-shadow: 0 0 0 1.5px rgba(15, 23, 42, 0.15);
}

.hub-base-avatar-ring.status-ok { box-shadow: 0 0 0 2px #22c55e; }
.hub-base-avatar-ring.status-warn { box-shadow: 0 0 0 2px #eab308; }
.hub-base-avatar-ring.status-bad { box-shadow: 0 0 0 2px #ef4444; }

.hub-base-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

.hub-base-photo.is-tec {
    object-fit: contain;
    object-position: center center;
    background: #0f172a;
}

.hub-base-escudo {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    padding: 1px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35);
    z-index: 8;
    object-fit: contain;
}

.hub-base-badge-cap {
    position: absolute;
    top: -2px;
    left: -4px;
    z-index: 9;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
    color: #fff;
    font-weight: 900;
    font-size: 9px;
    line-height: 1;
    background: #f97316;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.35);
}

.hub-base-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: 4px;
    width: 100%;
}

.hub-base-name {
    margin: 0;
    max-width: 90px;
    background: transparent;
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    text-align: center;
    padding: 0 1px;
    line-height: 1.12;
    letter-spacing: -0.12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    word-break: break-word;
    overflow-wrap: break-word;
}

.hub-base-empty-plus {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.hub-base-card-empty {
    cursor: default;
    pointer-events: none;
}

.hub-base-card-empty .hub-base-avatar-ring {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.hub-base-card-empty .hub-base-name {
    color: rgba(255, 255, 255, 0.88);
}

html[data-theme="dark"] .hub-base-board-wrap {
    background: transparent;
    border-color: transparent;
}

@media (max-width: 700px) {
    .hub-base-board-wrap {
        max-width: 100%;
        padding: 6px;
        overflow: visible;
    }

    .hub-base-pitch {
        width: 100%;
        min-height: 0;
        max-height: none;
        aspect-ratio: 1631 / 1450;
        height: auto;
    }

    .hub-base-card,
    .hub-base-card.is-compact {
        width: 64px;
        padding-top: 16px;
    }

    .hub-base-avatar-wrap,
    .hub-base-avatar-ring {
        width: 40px;
        height: 40px;
    }

    .hub-base-escudo { width: 16px; height: 16px; }
    .hub-base-badge-cap { width: 14px; height: 14px; font-size: 8px; }
    .hub-base-bubble { font-size: 8px; padding: 2px 4px 2px; }
    .hub-base-name { font-size: 9.5px; max-width: 68px; }

    .hub-base-formacao-mark {
        top: 94.5%;
    }

    .hub-base-formacao-label {
        font-size: 0.55rem;
    }

    .hub-base-formacao-val {
        font-size: clamp(1.05rem, 6vw, 1.4rem);
        opacity: 0.55;
    }

    .hub-base-xpts-switch {
        top: 1.5%;
        right: 2%;
        gap: 5px;
        padding: 3px 5px;
    }

    .hub-base-xpts-text {
        font-size: 9px;
    }

    .hub-base-pane,
    .hub-main {
        overflow-x: hidden;
        max-width: 100%;
    }
}


.hub-jogadores-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hub-jogadores-mobile {
    display: none;
}

.hub-compare-board {
    overflow: hidden;
    border: var(--hub-border, 1px solid var(--border-subtle));
    border-radius: 14px;
    background: var(--hub-surface-card, var(--bg-primary));
}
.hub-compare-board-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.hub-compare-board-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 13px;
}
.hub-compare-board-table th,
.hub-compare-board-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
    vertical-align: middle;
}
.hub-compare-board-table thead th {
    background: var(--bg-secondary, rgba(15, 23, 42, 0.06));
    font-weight: 800;
}
.hub-compare-board-table tbody th {
    text-align: left;
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hub-compare-board-name {
    display: block;
    font-weight: 800;
}
.hub-compare-board-table thead small {
    display: block;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 2px;
}
.hub-compare-board-table td.is-best {
    background: rgba(34, 197, 94, 0.12);
    font-weight: 800;
}

/* Sort mobile — hidden on desktop (table headers already sort) */
.hub-m-sort-bar {
    display: none;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}
/* UI v2: Ordenar substituído pelo switch Visualizar SCORE|xPTS */
.hub-jogadores-v2 .hub-m-sort-bar {
    display: none !important;
}
.hub-v2-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.hub-v2-hero .hub-met-badges {
    justify-content: center;
    margin-top: 0;
}
.hub-cs-table-v2 .hub-v2-des .hub-v2-hero { margin-inline: auto; }
.hub-v2-card-strip {
    margin-left: auto;
    margin-right: auto;
}
.hub-jogadores-v2 .hub-m-sort-chips {
    flex-wrap: wrap;
    overflow: visible;
}
.hub-m-sort-label {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.hub-m-sort-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
    flex: 1;
    padding: 2px 0;
}
.hub-m-sort-chips::-webkit-scrollbar { display: none; }
.hub-m-sort-chip {
    flex-shrink: 0;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--hub-surface-card, var(--bg-elevated));
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.hub-m-sort-chip.is-active {
    border-color: var(--accent-orange, #ff6600);
    background: rgba(255, 102, 0, 0.14);
    color: var(--accent-orange, #ff6600);
}
.hub-m-sort-clear {
    flex-shrink: 0;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px dashed var(--border-subtle);
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.hub-m-sort-clear.is-hidden { display: none; }

@media (max-width: 1100px) {
    .hub-jogadores-desktop { display: none !important; }
    .hub-jogadores-mobile {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .hub-m-sort-bar {
        display: flex;
    }
    .hub-toolbar.sticky-top {
        position: relative;
        top: auto;
    }
    .hub-mapa-clubes-nav {
        position: relative;
        top: auto;
    }
}

.hub-m-tier {
    padding: 4px 2px 2px;
}

.hub-m-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    background: var(--hub-surface-card, var(--bg-elevated));
    box-shadow: var(--hub-shadow);
}

.hub-m-card-top {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.hub-m-card-intel {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    cursor: pointer;
    border-radius: 10px;
}

.hub-m-card-head {
    display: grid;
    grid-template-columns: 22px 40px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.hub-m-rk {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-align: center;
}

.hub-m-card-pinned {
    border-color: rgba(255, 102, 0, 0.45);
}

.hub-m-card-pinned .hub-m-rk {
    color: var(--accent-orange, #ff6600);
}

.hub-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 220px;
    padding: 32px 16px;
    text-align: center;
}
.hub-loading-msg {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}
.hub-loading-error .hub-loading-msg,
.hub-loading-error p {
    margin: 0;
    color: #f87171;
    font-weight: 700;
}
.hub-loading-spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(148, 163, 184, 0.25);
    border-top-color: var(--accent-orange, #ff6600);
    animation: hub-spin 0.7s linear infinite;
}
@keyframes hub-spin {
    to { transform: rotate(360deg); }
}

.hub-m-foto {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    background: var(--border-subtle);
}
.hub-m-foto.is-tec {
    object-fit: contain;
    object-position: center center;
    border-radius: 8px;
}

.hub-m-id { min-width: 0; }

.hub-m-name-line {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.hub-m-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-m-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    flex-wrap: wrap;
}

.hub-m-meta .hub-cs-status-icon {
    width: 18px;
    height: 20px;
    margin: 0;
}

.hub-m-pos {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.hub-m-ivr {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}

.hub-m-ivr strong {
    font-size: 18px;
    font-weight: 900;
    color: var(--accent-orange);
}

.hub-m-ivr small {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hub-m-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    background: var(--bg-secondary);
}

.hub-m-metrics > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.hub-m-metrics strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.hub-m-metrics small {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hub-m-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.hub-m-foot-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.hub-m-foot-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hub-m-foot-k {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.2;
}

.hub-m-foot-r {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hub-m-val {
    font-size: 12px;
    font-weight: 800;
}

.hub-m-conf .hub-cs-confronto {
    justify-content: flex-start;
}

.hub-m-mando {
    display: inline-flex;
    align-items: center;
}

.hub-m-buy .hub-cs-buy-btn.unanim-buy-btn {
    min-width: 76px;
}

html[data-theme="dark"] .hub-m-card {
    background: #1c1c1c;
    border-color: #353535;
}

html[data-theme="dark"] .hub-m-metrics {
    background: #202020;
}

html[data-theme="dark"] .hub-m-name,
html[data-theme="dark"] .hub-m-metrics strong {
    color: #f1f5f9;
}

/* Mobile (iPhone XR 414Ã896 e similares): cards + menu de abas */
@media (max-width: 700px) {
    .hub-pos-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hub-pos-filters::-webkit-scrollbar { display: none; }
    .hub-pos-pill { flex-shrink: 0; padding: 8px 12px; }
    .dash-wrap {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 24px;
        max-width: 100%;
        overflow-x: hidden;
    }
    .dash-header { margin-bottom: 12px !important; }
    .app-shell-title { font-size: 20px; }
    .app-shell-subtitle { font-size: 12px; }

    /* sticky desligado ≤1100px (position:relative); top≠auto desloca a
       toolbar sem reservar espaço e cobria o filtro de posição em Jogadores */
    .hub-toolbar { z-index: 110; }
    .hub-toolbar.sticky-top { top: auto; }
    .hub-toolbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px;
    }
    .hub-nav-toggle { display: inline-flex; }
    .hub-tabs {
        display: none;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 4px;
        width: 100%;
        padding: 4px 0 2px;
        overflow: visible;
    }
    .hub-toolbar-inner.is-nav-open .hub-tabs {
        display: flex;
    }
    .hub-tab {
        flex-shrink: 0;
        width: 100%;
        text-align: left;
        font-size: 13px;
        padding: 12px 14px;
        border-radius: 10px;
    }
    .hub-toolbar-filtros {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .hub-jogos-grid {
        gap: 10px;
    }
    .hub-jogo-panel {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .hub-section-title { font-size: 18px; }
    .hub-section-sub { font-size: 12px; }
}

html[data-theme="dark"] .hub-nav-toggle {
    background: #202020;
    border-color: #353535;
    color: #f1f5f9;
}

@media (min-width: 701px) and (max-width: 1100px) {
    .hub-cs-table { font-size: 13px; }
    .hub-cs-name { max-width: 140px; }
    .hub-cs-player-row { max-width: 200px; }
    .hub-cs-buy-btn.unanim-buy-btn { min-width: 80px; padding: 6px 10px; }
    .hub-cs-foto { width: 36px; height: 36px; }
}

.hub-pos-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Mobile: scroll horizontal (esta regra vem DEPOIS do @media 700px
   acima, então reforça nowrap/scroll aqui para não perder o override). */
@media (max-width: 700px) {
    .hub-pos-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hub-pos-filters::-webkit-scrollbar { display: none; }
    .hub-pos-pill { flex-shrink: 0; }
}

.hub-pos-pill {
    border: var(--hub-border, 1px solid #e2e8f0);
    background: var(--hub-surface, #f1f5f9);
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 7px 12px;
    border-radius: var(--hub-radius-chip, 8px);
    cursor: pointer;
    transition: all 0.15s ease;
}

.hub-pos-pill:hover {
    border-color: var(--accent-orange);
    color: #0f172a;
}

.hub-pos-pill.ativo {
    background: var(--accent-orange, #ff6600);
    color: #fff;
    border-color: var(--accent-orange, #ff6600);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.25);
}

.hub-confrontos-sec {
    margin-top: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.hub-confrontos-sec-full {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.hub-side-crest-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hub-class-pos {
    position: absolute;
    right: -6px;
    bottom: -4px;
    min-width: 22px;
    padding: 1px 4px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-variant-numeric: tabular-nums;
}

.hub-class-pos.is-lib { background: #14532d; border-color: #4ade80; }
.hub-class-pos.is-sula { background: #1e3a8a; border-color: #60a5fa; }
.hub-class-pos.is-rebaixamento { background: #7f1d1d; border-color: #f87171; }

.hub-class-rodada {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.hub-class-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.hub-class-head-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hub-class-mando-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hub-class-mando-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted, #94a3b8);
}

.hub-class-mando-seg .hub-eq-seg-opt {
    min-width: 52px;
    padding: 5px 10px;
    font-size: 0.62rem;
}

.hub-class-league-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.hub-class-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--text-primary, #e2e8f0);
    line-height: 1.25;
}

.hub-class-dot {
    margin: 0 0.35em;
    color: var(--text-muted, #94a3b8);
    font-weight: 600;
}

.hub-class-table {
    display: grid;
    /* # | escudo | time | P J V E D GP GS SG | forma */
    grid-template-columns:
        32px 32px minmax(56px, 1fr)
        28px 28px 28px 28px 28px 28px 28px 28px
        92px;
    column-gap: 4px;
    row-gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 100%;
}

.hub-class-table.is-xg {
    /* + xG e xGA (colunas decimais um pouco mais largas) */
    grid-template-columns:
        32px 32px minmax(56px, 1fr)
        28px 28px 28px 28px 28px 28px 34px 28px 34px 28px
        92px;
}

.hub-class-row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    align-items: center;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary, #e2e8f0);
    background: var(--hub-surface-card, rgba(15, 23, 42, 0.35));
}

.hub-class-crest-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-class-stat {
    justify-self: center;
    text-align: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-class-row--head .hub-class-stat,
.hub-class-row--head .hub-class-forma-col,
.hub-class-row--head .hub-class-pos-col,
.hub-class-row--head .hub-class-crest-col {
    justify-self: center;
    text-align: center;
}

.hub-class-team {
    font-weight: 800;
    letter-spacing: 0.03em;
    justify-self: start;
    text-align: left;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-class-row--head .hub-class-team {
    justify-self: start;
    text-align: left;
}

.hub-class-row--head {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #94a3b8);
    background: transparent;
    padding-top: 0;
}

.hub-class-row--lib { border-left: 3px solid #4ade80; }
.hub-class-row--sula { border-left: 3px solid #60a5fa; }
.hub-class-row--rebaixamento { border-left: 3px solid #f87171; }

.hub-class-crest {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-class-pos-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-class-pos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    background: rgba(51, 65, 85, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.hub-class-pos-badge.is-lib { background: #14532d; border-color: #4ade80; }
.hub-class-pos-badge.is-sula { background: #1e3a8a; border-color: #60a5fa; }
.hub-class-pos-badge.is-rebaixamento { background: #7f1d1d; border-color: #f87171; }
.hub-class-pos-badge.is-meio,
.hub-class-pos-badge.is-neutro { background: rgba(51, 65, 85, 0.92); border-color: rgba(148, 163, 184, 0.4); }

.hub-class-xg {
    color: var(--text-muted, #94a3b8);
    font-weight: 700;
}

.hub-class-forma-col {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    justify-self: center;
}

.hub-class-forma {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.hub-class-forma--empty {
    color: var(--text-muted, #64748b);
}

.hub-class-forma-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    font-size: 0.52rem;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}

.hub-class-forma-dot.is-v {
    background: #16a34a;
    color: #fff;
}

.hub-class-forma-dot.is-e {
    background: #fff;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.55);
}

.hub-class-forma-dot.is-d {
    background: #dc2626;
    color: #fff;
}

.hub-class-crest {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

@media (max-width: 640px) {
    .hub-class-head { gap: 8px; }
    .hub-class-head-main { flex: 1 1 100%; }
    .hub-class-mando-wrap { margin-left: auto; }
    .hub-class-league-logo { width: 26px; height: 26px; }
    .hub-class-title { font-size: 0.76rem; }
    .hub-class-table {
        grid-template-columns:
            28px 28px minmax(48px, 1fr)
            24px 24px 24px 24px 24px 24px 24px 24px
            84px;
    }
    .hub-class-table.is-xg {
        grid-template-columns:
            28px 28px minmax(48px, 1fr)
            24px 24px 24px 24px 24px 24px 30px 24px 30px 24px
            84px;
    }
    .hub-class-row {
        padding: 5px 6px;
        font-size: 0.66rem;
    }
    .hub-class-forma-dot {
        width: 14px;
        height: 14px;
        font-size: 0.48rem;
    }
    .hub-class-mando-seg .hub-eq-seg-opt {
        min-width: 44px;
        padding: 4px 7px;
        font-size: 0.58rem;
    }
}

.hub-play-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.unanim-card-wrap {
    border-radius: var(--hub-radius-chip, 10px);
    overflow: hidden;
    border: var(--hub-border, 1px solid var(--border-subtle));
    background: var(--hub-surface-card, var(--bg-elevated));
    box-shadow: var(--hub-shadow);
    transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.unanim-card-wrap:hover,
.unanim-card-wrap.unanim-expanded {
    border-color: rgba(25, 25, 112, 0.22);
    box-shadow: var(--hub-shadow-hover);
}

/* ââ Card Unanimidade ââ */
.unanim-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 14px 18px;
    align-items: center;
    padding: 14px 16px;
}

.unanim-card-wrap .unanim-card {
    border: none;
    background: transparent;
}

.unanim-ivr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: var(--hub-radius-chip, 12px);
    background: var(--hub-surface);
    border: var(--hub-border, 1px solid rgba(251, 146, 60, 0.25));
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.unanim-ivr-num {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    color: var(--accent-orange);
    letter-spacing: -0.04em;
}

.unanim-ivr-lbl {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

.unanim-core {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.unanim-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.unanim-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unanim-flag {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 800;
    color: #fbbf24;
}

.unanim-match {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.unanim-team {
    color: var(--text-muted);
    min-width: 2.5em;
}

.unanim-team:first-child { text-align: right; }
.unanim-team:last-child { text-align: left; }

.unanim-vs {
    color: var(--text-muted);
    opacity: 0.45;
    font-weight: 600;
    font-size: 11px;
}

.unanim-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.unanim-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.unanim-badge-matchup { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.unanim-badge-piso { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.unanim-badge-teto { background: rgba(251, 146, 60, 0.12); color: #fb923c; }
.unanim-badge-cruz { background: rgba(168, 85, 247, 0.12); color: #c084fc; }
.unanim-badge-ctx { background: rgba(148, 163, 184, 0.1); color: #94a3b8; }

/* ââ BotÃ£o COMPRAR (split + chevron) ââ */
.unanim-buy-col {
    flex-shrink: 0;
    align-self: center;
}

.unanim-buy-split {
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.unanim-buy-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 8px 14px;
    border: none;
    background: linear-gradient(180deg, var(--accent-orange, #ff6600) 0%, #ea580c 100%);
    color: #fff;
    cursor: pointer;
    transition: filter 0.12s, box-shadow 0.12s;
}

.unanim-buy-btn:hover {
    filter: brightness(1.06);
}

.unanim-buy-btn.unanim-buy-active {
    background: linear-gradient(180deg, #c2410c 0%, #9a3412 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.unanim-buy-label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    color: #fff;
}

.unanim-buy-price {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.95;
    margin-top: 2px;
    line-height: 1.2;
    color: #fff;
}

.unanim-buy-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    padding: 0;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    background: #c2410c;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.12s;
}

.unanim-buy-chevron:hover {
    background: #9a3412;
}

.unanim-buy-chevron.open i {
    transform: rotate(180deg);
}

.unanim-buy-chevron i {
    display: block;
    transition: transform 0.2s ease;
}

/* ââ Drawer mÃ©tricas ââ */
.unanim-drawer {
    border-top: 1px solid var(--border-subtle);
    background: var(--hub-surface);
}

.unanim-drawer-inner {
    padding: 14px 16px 16px;
}

.unanim-drawer-loading,
.unanim-drawer-empty {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    text-align: center;
    padding: 8px 0;
}

.unanim-drawer-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.unanim-kpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: var(--hub-radius-chip, 10px);
    background: var(--hub-surface-card, #fff);
    border: var(--hub-border, 1px solid var(--border-subtle));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.unanim-kpi-lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.unanim-kpi-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.unanim-conf-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
}

.unanim-conf-bar {
    width: 7px;
    border-radius: 2px;
    background: rgba(148, 163, 184, 0.25);
    height: 40%;
}

.unanim-conf-bar:nth-child(2) { height: 55%; }
.unanim-conf-bar:nth-child(3) { height: 70%; }
.unanim-conf-bar:nth-child(4) { height: 85%; }
.unanim-conf-bar:nth-child(5) { height: 100%; }

.unanim-conf-bar.on {
    background: var(--accent-orange, #ff6600);
}

.unanim-kpi-sub {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.unanim-scout-section {
    margin-top: 14px;
}

.unanim-scout-title {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.unanim-drawer-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.35;
}

.unanim-drawer-legend strong {
    color: var(--text-primary);
    font-weight: 800;
}

.unanim-scout-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.unanim-scout-block {
    min-width: 64px;
    width: auto;
    max-width: 96px;
    min-height: 56px;
    border-radius: var(--hub-radius-chip, 8px);
    border: var(--hub-border, 1px solid var(--border-subtle));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 6px;
    cursor: help;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.unanim-scout-block.tier-bom {
    background: rgba(34, 197, 94, 0.35);
    border-color: rgba(34, 197, 94, 0.35);
}

.unanim-scout-block.tier-mediano {
    background: rgba(234, 179, 8, 0.35);
    border-color: rgba(234, 179, 8, 0.35);
}

.unanim-scout-block.tier-ruim {
    background: rgba(239, 68, 68, 0.35);
    border-color: rgba(239, 68, 68, 0.35);
}

.unanim-scout-sigla {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.15;
    max-width: 100%;
    white-space: nowrap;
}

.unanim-scout-val {
    font-size: 14px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.unanim-drawer-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px 16px;
}

.unanim-metric-row {
    display: grid;
    grid-template-columns: 1fr 36px;
    grid-template-rows: auto auto;
    gap: 2px 8px;
    align-items: center;
}

.unanim-metric-head {
    grid-column: 1;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
}

.unanim-metric-label {
    font-weight: 600;
    color: var(--text-muted);
}

.unanim-metric-val {
    font-weight: 800;
    color: var(--text-primary);
}

.unanim-metric-track {
    grid-column: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(148, 163, 184, 0.15);
    overflow: hidden;
}

.unanim-metric-fill {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-orange), #fbbf24);
}

.unanim-metric-pct {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-align: right;
}

.unanim-drawer-foot {
    font-size: 10px;
    color: var(--text-muted);
    margin: 12px 0 0;
}

.unanim-drawer-link {
    display: inline-block;
    margin-top: 10px;
    border: none;
    background: none;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-orange);
    cursor: pointer;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .unanim-card {
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
    }
    .unanim-ivr {
        width: 64px;
        height: 64px;
        grid-row: span 2;
    }
    .unanim-ivr-num { font-size: 24px; }
    .unanim-buy-col {
        grid-column: 2;
        justify-self: end;
    }
    .unanim-drawer-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hub-ivr-legenda {
        text-align: left;
        flex-basis: 100%;
    }
    .unanim-drawer-metrics {
        grid-template-columns: 1fr;
    }
}

.hub-jogadores-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
    flex: 0 0 auto;
}
.hub-btn-meu-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    text-decoration: none;
    color: #fff;
    background: var(--hub-surface-navy, #191970);
    border: 1px solid transparent;
    white-space: nowrap;
}
.hub-btn-meu-time:hover {
    filter: brightness(1.06);
    color: #fff;
}
.hub-resumo-escala {
    margin-bottom: 28px;
}
.hub-resumo-escala-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}
.hub-escala-pos-card {
    min-width: 0;
    position: relative;
}
.hub-escala-pos-label {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-orange, #fb923c);
    text-align: center;
}
.hub-escala-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 12px 8px 10px;
    border: 1px solid var(--border-subtle, #3f3f46);
    border-radius: 14px;
    background: var(--bg-secondary, #18181b);
    cursor: pointer;
    text-align: center;
    transform: none;
}
.hub-escala-player:hover {
    border-color: var(--accent-orange, #fb923c);
    transform: none;
}
.hub-escala-foto {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #202020;
}
.hub-escala-foto.is-tec {
    border-radius: 8px;
    object-fit: contain;
}
.hub-escala-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 0;
    width: 100%;
}
.hub-escala-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.hub-escala-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
@media (max-width: 1100px) {
    .hub-resumo-escala-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .hub-resumo-escala-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.hub-escala-des {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
}

.hub-escalar-banner {
    display: none;
}
.unanim-buy-btn.is-disabled,
.hub-cs-buy-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.unanim-buy-btn.is-owned {
    background: var(--ds-verde, #009c3b);
    border-color: transparent;
}

/* --- Grupos no thead (PriorizaÃ§Ã£o / Expectativa / Chance) --- */
/* Sticky no <thead> inteiro (.hub-sheet-scroll); cÃ©lulas estÃ¡ticas. */
.hub-cs-table thead tr.hub-cs-group-row th {
    height: 34px;
    max-height: 34px;
    padding: 6px 8px 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: none;
    vertical-align: bottom;
    background: var(--hub-surface-navy, var(--app-midnight));
    color: var(--accent-orange, #ff6600);
}
.hub-cs-table thead tr.hub-cs-cols-row th {
    padding-top: 4px;
    padding-bottom: 8px;
    background: var(--hub-surface-navy, var(--app-midnight));
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}
.hub-cs-group-spacer {
    background: transparent !important;
    color: transparent !important;
}
.hub-cs-group-chip {
    display: inline-block;
    max-width: 100%;
    padding: 0 0 5px;
    border: none;
    border-radius: 0;
    border-bottom: 1.5px solid rgba(255, 102, 0, 0.55);
    background: none;
    box-shadow: none;
    color: var(--accent-orange, #ff6600);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
    white-space: nowrap;
}
.hub-cs-group-score,
.hub-cs-group-pts,
.hub-cs-group-linha {
    background: transparent !important;
}

.hub-met-badges {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    align-items: center;
}
.hub-met-leitura {
    margin: 6px 0 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-muted);
}
.hub-met-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
}
.hub-met-badge-unanimidade {
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 45%, #fde68a 100%);
    color: #422006;
    border: 1px solid rgba(245, 158, 11, 0.65);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}
.hub-met-badge-mitar {
    background: rgba(168, 85, 247, 0.14);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.32);
}
.hub-met-badge-segura {
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.32);
}
.hub-met-badge-boa {
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.32);
}
.hub-met-badge-arriscada {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.hub-met-badge-evitar {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.hub-met-badge-copa {
    background: rgba(220, 38, 38, 0.18);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.55);
    gap: 5px;
    padding: 4px 8px;
}
.hub-met-badge-copa .hub-met-alerta {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}
.hub-met-badge-duvida {
    background: rgba(234, 179, 8, 0.14);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.hub-score-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    min-width: 108px;
}
.hub-score-num {
    font-size: 1.35rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--accent-orange, #ff6600);
    letter-spacing: -0.02em;
}
.hub-m-score-zone {
    margin: 0 0 10px;
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 102, 0, 0.06);
}
.hub-m-score-zone .hub-score-num {
    font-size: 1.6rem;
}
.hub-m-block {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 102, 0, 0.04);
}
.hub-m-block-k {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    color: var(--accent-orange, #ff6600);
}
.hub-m-block .hub-m-metrics { margin: 0; }
.hub-m-metrics small {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
}

.hub-cs-des {
    text-align: center;
    vertical-align: middle;
}
.hub-cs-des .hub-met-badge {
    max-width: 130px;
    white-space: normal;
    line-height: 1.25;
}
.hub-cs-boa-rodada {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 5px 8px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 11px;
    white-space: nowrap;
    border: 1px solid transparent;
}
.hub-cs-boa-alta {
    background: linear-gradient(135deg, rgba(20, 83, 45, 0.55), rgba(34, 197, 94, 0.28));
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.4);
}
.hub-cs-boa-boa {
    background: linear-gradient(135deg, rgba(63, 98, 18, 0.45), rgba(132, 204, 22, 0.22));
    color: #bef264;
    border-color: rgba(132, 204, 22, 0.35);
}
.hub-cs-boa-media {
    background: linear-gradient(135deg, rgba(113, 63, 18, 0.45), rgba(234, 179, 8, 0.22));
    color: #fde047;
    border-color: rgba(234, 179, 8, 0.35);
}
.hub-cs-boa-baixa {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.5), rgba(239, 68, 68, 0.22));
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.35);
}
.hub-cs-th-pts {
    background: rgba(96, 165, 250, 0.08);
}
.hub-cs-pts {
    background: rgba(96, 165, 250, 0.04);
}
.hub-cs-table-premium .hub-cs-th-ivr .hub-th-label {
    color: var(--accent-orange, #ff6600);
}

.hub-m-block-k-score {
    margin-bottom: 6px;
}

/* ââ Equipes: dossiÃª de clube ââ */
.hub-eq {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.hub-eq-cmd {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hub-eq-crests {
    position: static;
    margin: 0;
}
.hub-eq-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
}
.hub-eq-switch {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.28);
    gap: 2px;
}
.hub-eq-switch-opt {
    border: none;
    background: transparent;
    color: var(--text-muted, #94a3b8);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.hub-eq-switch-opt:hover {
    color: var(--text-primary, #e2e8f0);
}
.hub-eq-switch-opt.is-active {
    background: linear-gradient(180deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.35);
}
.hub-eq-switch-opt.is-clear {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: rgba(148, 163, 184, 0.72);
}
.hub-eq-switch-opt.is-clear:hover {
    color: #cbd5e1;
}
.hub-eq-switch-opt.is-clear.is-active {
    background: rgba(100, 116, 139, 0.42);
    color: #e2e8f0;
    box-shadow: none;
}
.hub-eq-seg {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.hub-eq-seg-opt {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(30, 41, 59, 0.55);
    color: var(--text-muted, #94a3b8);
    font-size: 11px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.hub-eq-seg-opt:hover {
    color: var(--text-primary, #e2e8f0);
    border-color: rgba(125, 211, 252, 0.55);
}
.hub-eq-seg-opt.is-active {
    background: rgba(14, 165, 233, 0.18);
    border-color: #38bdf8;
    color: #e0f2fe;
}
.hub-eq-seg-opt.is-clear {
    font-weight: 600;
    color: rgba(148, 163, 184, 0.72);
}
.hub-eq-seg-opt.is-clear:hover {
    color: #cbd5e1;
}
.hub-eq-seg-opt.is-clear.is-active {
    background: rgba(100, 116, 139, 0.42);
    border-color: rgba(148, 163, 184, 0.45);
    color: #e2e8f0;
}
.hub-eq-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px 22px;
    align-items: center;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.16));
    background: var(--hub-surface-card, var(--bg-elevated));
    box-shadow: var(--hub-shadow);
}
.hub-eq-hero-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    justify-self: stretch;
}
.hub-eq-hero-filters .hub-eq-switch,
.hub-eq-hero-filters .hub-eq-seg {
    justify-content: center;
}
.hub-eq-hero-crest {
    width: 72px;
    height: 72px;
    object-fit: contain;
}
.hub-eq-kicker {
    margin: 0 0 4px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}
.hub-eq-name {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}
.hub-eq-next {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}
.hub-eq-next-crest {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.hub-eq-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 102, 0, 0.12);
    color: var(--accent-orange, #ff6600);
    font-size: 11px;
    font-weight: 800;
}
.hub-eq-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 10px;
}
.hub-eq-kpi {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg-secondary, rgba(15, 23, 42, 0.35));
    min-width: 120px;
}
.hub-eq-kpi-lab {
    display: block;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}
.hub-eq-kpi strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
}
.hub-eq-kpi small {
    color: var(--text-muted);
    font-size: 11px;
}
.hub-eq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 16px;
}
.hub-eq-pitches-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}
.hub-eq-card {
    padding: 14px 16px 16px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.16));
    background: var(--hub-surface-card, var(--bg-elevated));
    min-width: 0;
    overflow: visible;
}
.hub-eq-pitch {
    margin-top: 8px;
    overflow: visible;
}
.hub-eq-pitch-field {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 68 / 105;
    border-radius: 10px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden; /* gramado/heat; tip vai pro portal fixed */
}
.hub-eq-pitch-base {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    border-radius: 10px;
    border: none;
}
.hub-eq-pitch-bg {
    display: none;
}
.hub-eq-pitch-surface {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: visible;
    border-radius: 10px;
    pointer-events: none;
}
.hub-eq-heat-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    mix-blend-mode: normal;
    opacity: 1;
    z-index: 2;
}
.hub-eq-heat-atk {
    z-index: 2;
}
.hub-eq-heat-def {
    z-index: 3;
}
.hub-eq-pitch-conc .hub-eq-heat-canvas {
    mix-blend-mode: soft-light;
    opacity: 0.95;
}
.hub-eq-zonas-dual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
}
.hub-eq-pitch-field-horiz {
    max-width: 100%;
    aspect-ratio: 105 / 68;
}
.hub-eq-zonas-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 7% 5% 7% 4%;
    pointer-events: none;
}
.hub-eq-zona-lane {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 0;
    flex: 1;
}
.hub-eq-zona-pct {
    flex: 0 0 2.5em;
    font-size: 13px;
    font-weight: 800;
    color: var(--zona-color);
    opacity: var(--zona-op);
    letter-spacing: -0.02em;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.hub-eq-zona-lane.is-dom .hub-eq-zona-pct {
    opacity: 1;
}
.hub-eq-zona-arrow-wrap {
    display: flex;
    align-items: center;
    width: 72%;
    height: 52%;
    min-height: 8px;
}
.hub-eq-zona-arrow {
    width: 100%;
    height: 100%;
    display: block;
    fill: var(--zona-color);
    opacity: var(--zona-op);
}
.hub-eq-zona-lane.is-dom .hub-eq-zona-arrow {
    opacity: 1;
    filter: drop-shadow(0 0 6px var(--zona-color));
}
.hub-eq-map-filters {
    grid-column: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: -2px auto 0;
    width: 100%;
}
.hub-eq-zones-card {
    grid-column: 3;
    grid-row: 1 / span 2;
}
.hub-eq-map-filters.hub-eq-hero-filters .hub-eq-seg {
    justify-content: center;
    flex-wrap: wrap;
}
.hub-eq-map-filters .hub-eq-seg-opt {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 11px;
}
.hub-eq-shot-seg .hub-eq-seg-opt {
    letter-spacing: 0;
}
.hub-eq-shot-goal {
    background: #facc15;
    color: #1f2937;
}
.hub-eq-markings {
    display: none;
}
.hub-eq-heat {
    display: none;
}
.hub-eq-ab {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}
.hub-eq-ab-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.hub-eq-ab-stroke {
    stroke: rgba(255, 255, 255, 0.78);
    stroke-width: 0.35;
    stroke-dasharray: none;
    fill: none;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.45));
}
.hub-eq-ab-pt {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    padding: 0;
    margin: 0;
    cursor: pointer;
    pointer-events: auto;
    border: 1px solid #fff;
    z-index: 7;
}
.hub-eq-ab-pt.is-active {
    transform: translate(-50%, -50%) scale(1.25);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.55), 0 2px 8px rgba(0,0,0,0.45);
}
.hub-eq-ab-a {
    background: #fde68a;
}
.hub-eq-ab-f,
.hub-eq-ab-b {
    background: #fb7185;
}
.hub-eq-af-tip {
    position: absolute;
    z-index: 12;
    min-width: 168px;
    max-width: 210px;
    padding: 0;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    color: #e2e8f0;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.hub-eq-af-tip.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.hub-eq-af-tip-portal {
    position: fixed;
    z-index: 10050;
    left: 0;
    top: 0;
}
.hub-eq-af-tip-inner {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    align-items: center;
}
.hub-eq-af-foto {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: #1e293b;
    flex: 0 0 auto;
}
.hub-eq-af-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hub-eq-af-copy strong {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.hub-eq-af-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.hub-eq-af-crest {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
.hub-eq-af-vs {
    font-size: 9px;
    color: #94a3b8;
}
.hub-eq-af-rod {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 700;
}
.hub-eq-af-metric {
    font-size: 11px;
    color: #cbd5e1;
}
.hub-eq-af-metric b {
    color: #ff6600;
    font-weight: 800;
}
.hub-eq-af-result {
    display: inline-block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 800;
    color: #4ade80;
    letter-spacing: 0.01em;
}
.hub-eq-pitch-empty {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.18);
    border-radius: 8px;
}
.hub-eq-pitch-cap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.35;
}
.hub-eq-cap-crest {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 auto;
}
.hub-eq-pitch-cap strong {
    color: var(--text-primary, #e2e8f0);
    font-weight: 700;
}
.hub-eq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 0;
}
.hub-eq-conc-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.hub-eq-conc-swatches {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hub-eq-conc-swatches span {
    display: block;
    width: 18px;
    height: 10px;
    border-radius: 2px;
}
.hub-eq-conc-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 58px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.2;
}
.hub-eq-legend {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hub-eq-leg-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.hub-eq-leg-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.hub-eq-leg-bar {
    width: 88px;
    height: 8px;
    border-radius: 999px;
}
.hub-eq-legend-warm .hub-eq-leg-bar {
    background: linear-gradient(90deg, #7f0000, #ff4500, #ffd700, #fff8e7);
}
.hub-eq-legend-warm .hub-eq-leg-title {
    color: #f97316;
}
.hub-eq-legend-blue .hub-eq-leg-bar {
    background: linear-gradient(90deg, #0c4a6e, #0284c7, #7dd3fc, #e0f2fe);
}
.hub-eq-legend-blue .hub-eq-leg-title {
    color: #2563eb;
}
.hub-eq-legend-green .hub-eq-leg-bar {
    background: linear-gradient(90deg, #0d2a14, #1a4d22, #2a7a2e, #3cbc3a, #8cff46);
}
.hub-eq-legend-green .hub-eq-leg-title {
    color: #4ade80;
}
.hub-eq-proto-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 102, 0, 0.45);
    background: rgba(255, 102, 0, 0.08);
    font-size: 12px;
    color: var(--text-muted);
}
.hub-eq-proto-banner strong {
    color: #ff6600;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hub-eq-proto-go {
    margin-left: auto;
    border: 0;
    border-radius: 999px;
    padding: 6px 12px;
    background: #ff6600;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.hub-eq-pitch-split .hub-eq-split-mid {
    display: none;
}
.hub-eq-split-read {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 8px 2px 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.14);
    font-size: 11px;
    line-height: 1.35;
    color: var(--text-muted);
}
.hub-eq-split-read strong {
    color: var(--text-primary, #e2e8f0);
    font-weight: 800;
}
.hub-eq-split-method {
    opacity: 0.75;
    font-size: 10px;
}
.hub-eq-split-legends {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin-top: 4px;
}
.hub-eq-pill-ipo {
    background: rgba(249, 115, 22, 0.16);
    color: #ea580c;
}
.hub-eq-pill-ivd {
    background: rgba(37, 99, 235, 0.14);
    color: #2563eb;
}
.hub-eq-ranks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.hub-eq-rank-card {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.16));
    background: var(--hub-surface-card, var(--bg-elevated));
}
.hub-eq-rank-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
}
.hub-eq-rank-head small {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 11px;
}
.hub-eq-rank-row {
    display: grid;
    grid-template-columns: 18px 22px 1fr auto;
    gap: 8px;
    align-items: center;
    width: 100%;
    padding: 5px 4px;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: 8px;
    text-align: left;
}
.hub-eq-rank-row:hover {
    background: rgba(255, 255, 255, 0.05);
}
.hub-eq-rank-n {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
}
.hub-eq-rank-crest {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.hub-eq-rank-sigla {
    font-weight: 700;
    font-size: 13px;
}
.hub-eq-rank-val {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    font-size: 13px;
}
.hub-eq-elenco {
    padding: 14px 16px 16px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.16));
    background: var(--hub-surface-card, var(--bg-elevated));
}
.hub-eq-link {
    border: none;
    background: none;
    color: var(--accent-orange, #ff6600);
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
}
.hub-eq-elenco-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
}
.hub-eq-elenco-row {
    display: grid;
    grid-template-columns: 36px 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 6px 8px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}
.hub-eq-elenco-row:hover {
    background: rgba(255, 255, 255, 0.05);
}
.hub-eq-elenco-foto {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.2);
}
.hub-eq-elenco-nome {
    font-weight: 700;
    font-size: 14px;
}
.hub-eq-elenco-pos {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
}
.hub-eq-elenco-score {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--accent-orange, #ff6600);
}
.hub-eq-fonte {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
    text-align: right;
}
.hub-eq-cards4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.hub-eq-card4 {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.16));
    background: var(--hub-surface-card, var(--bg-elevated));
    min-width: 0;
}
.hub-eq-card4-head { margin-bottom: 10px; }
.hub-eq-card4-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hub-eq-card4-title strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
}
.hub-eq-card4-title span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}
.hub-eq-card4-crest,
.hub-eq-forma-crest {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.hub-eq-forma-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 14px;
    text-align: center;
}
.hub-eq-forma-title .hub-eq-card4-crest {
    width: 34px;
    height: 34px;
}
.hub-eq-forma-title strong {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}
.hub-eq-forma-title > span {
    margin-top: -3px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.hub-eq-forma-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}
.hub-eq-forma-summary > div {
    padding: 10px;
    border-radius: 10px;
    background: var(--bg-secondary);
}
.hub-eq-forma-summary > div > span {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 5px;
    align-items: baseline;
}
.hub-eq-forma-summary small {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.hub-eq-forma-summary strong {
    font-size: 21px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.hub-eq-forma-summary em {
    color: var(--text-muted);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}
.hub-eq-forma-bar {
    height: 5px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
}
.hub-eq-forma-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
}
.hub-eq-forma-summary .is-created .hub-eq-forma-bar i {
    background: linear-gradient(90deg, #fb923c, #f97316);
}
.hub-eq-forma-summary .is-conceded .hub-eq-forma-bar i {
    background: linear-gradient(90deg, #38bdf8, #2563eb);
}
.hub-eq-forma-crest-ph { width: 22px; height: 22px; }
.hub-eq-forma-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.hub-eq-game {
    padding: 9px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.06);
}
.hub-eq-game-head {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 24px;
    margin-bottom: 8px;
}
.hub-eq-game-head > span {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 10px;
}
.hub-eq-game-head > div {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
}
.hub-eq-game-score b {
    display: inline-grid;
    grid-template-columns: 14px 12px 14px;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.hub-eq-game-score b strong {
    font-size: 14px;
    font-weight: 900;
}
.hub-eq-game-score b i {
    color: var(--text-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}
.hub-eq-game-head small {
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}
.hub-eq-game-lines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.hub-eq-game-lines > div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 4px 8px;
    padding: 7px 8px;
    border-radius: 8px;
    background: var(--bg-secondary);
}
.hub-eq-game-lines span {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}
.hub-eq-game-lines strong {
    font-size: 15px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.hub-eq-game-lines strong em {
    font-style: normal;
    color: var(--text-muted);
}
.hub-eq-game-lines small {
    grid-column: 1 / -1;
    text-align: right;
    font-size: 11px;
    color: var(--text-muted);
}
.hub-eq-game-lines small i {
    font-style: normal;
}
.hub-eq-game-performance {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 9px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 8px;
    background: var(--bg-secondary);
}
.hub-eq-game-performance > i {
    width: 1px;
    height: 24px;
    background: var(--border-subtle);
}
.hub-eq-game-performance > span {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 4px;
    align-items: baseline;
}
.hub-eq-game-performance small {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}
.hub-eq-game-performance strong {
    font-size: 14px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.hub-eq-game-performance em {
    color: var(--text-muted);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}
.hub-eq-forma-reading {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    padding-top: 9px;
    border-top: 1px solid var(--border-subtle);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}
.hub-eq-forma-reading > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #fb923c;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.12);
}
.hub-eq-card4-foot {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
    font-size: 11px;
    color: var(--text-muted);
}
.hub-eq-card4-foot b {
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.hub-eq-signal-head {
    text-align: center;
    margin-bottom: 16px;
}
.hub-eq-signal-head strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
}
.hub-eq-signal-head span {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
}
.hub-eq-signal-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 9px;
}
.hub-eq-signal-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 104px;
    padding: 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--bg-secondary);
    text-align: center;
}
.hub-eq-signal-input span {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
}
.hub-eq-signal-input strong {
    font-size: 21px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.hub-eq-signal-input strong small {
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
}
.hub-eq-signal-vs {
    align-self: center;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 900;
}
.hub-eq-signal-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    padding: 9px 11px;
    border-radius: 9px;
    background: rgba(148, 163, 184, 0.1);
}
.hub-eq-signal-result span {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hub-eq-signal-result strong {
    font-size: 12px;
    text-transform: uppercase;
}
.hub-eq-signal-result.is-up { color: #4ade80; }
.hub-eq-signal-result.is-down { color: #f87171; }
.hub-eq-signal-result.is-eq { color: var(--text-muted); }
.hub-eq-sg-evidence {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 9px;
    background: rgba(249, 115, 22, 0.08);
    font-size: 11px;
    font-weight: 700;
}
.hub-eq-sg-evidence strong {
    color: #fb923c;
    font-size: 17px;
    font-variant-numeric: tabular-nums;
}
.hub-eq-match-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    text-align: center;
}
.hub-eq-match-grid em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}
.hub-eq-match-grid b {
    display: block;
    font-size: 20px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.hub-eq-match-grid small {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}
.hub-eq-match-edge {
    min-width: 72px;
    padding: 8px 6px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.12);
}
.hub-eq-match-edge span {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.hub-eq-match-edge strong {
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}
.hub-eq-match-edge.is-up,
.hub-eq-card4-leitura.is-up { color: #4ade80; }
.hub-eq-match-edge.is-down,
.hub-eq-card4-leitura.is-down { color: #f87171; }
.hub-eq-match-edge.is-eq,
.hub-eq-card4-leitura.is-eq { color: var(--text-muted); }
.hub-eq-card4-sg {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.1);
    font-size: 12px;
    font-weight: 700;
}
.hub-eq-card4-sg strong {
    font-size: 18px;
    font-variant-numeric: tabular-nums;
}
.hub-eq-card4-leitura {
    margin: 10px 0 0;
    font-size: 12px;
    font-weight: 700;
}
@media (max-width: 900px) {
    .hub-eq-cards4 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .hub-eq-game-lines { grid-template-columns: 1fr; }
    .hub-eq-signal-inputs { grid-template-columns: 1fr; }
    .hub-eq-signal-vs { transform: rotate(90deg); }
}
.hub-prob-chip:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .hub-eq-hero {
        grid-template-columns: auto 1fr;
    }
    .hub-eq-hero-filters {
        grid-column: 1 / -1;
        align-items: stretch;
    }
    .hub-eq-hero-filters .hub-eq-switch,
    .hub-eq-hero-filters .hub-eq-seg {
        width: 100%;
        justify-content: center;
    }
    .hub-eq-kpis {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .hub-eq-grid,
    .hub-eq-pitches-row,
    .hub-eq-ranks {
        grid-template-columns: 1fr;
    }
    .hub-eq-map-filters,
    .hub-eq-zones-card {
        grid-column: 1;
        grid-row: auto;
    }
}
@media (max-width: 720px) {
    .hub-eq-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .hub-eq-kpis,
    .hub-eq-grid,
    .hub-eq-pitches-row,
    .hub-eq-ranks,
    .hub-eq-elenco-list {
        grid-template-columns: 1fr;
    }
    .hub-eq-name { font-size: 22px; }
}

@media (max-width: 1100px) {
    .hub-cs-group-chip {
        font-size: 9px;
        letter-spacing: 0.05em;
        padding-bottom: 4px;
    }
}

.hub-teaser-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 0 0 16px;
    padding: 12px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--bg-secondary);
    font-size: 0.92rem;
}
.hub-teaser-banner .hl-btn { margin-left: auto; }
.hub-paywall-teaser {
    max-width: 520px;
    margin: 24px auto;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    background: var(--bg-secondary);
}
.hub-paywall-teaser h2 { margin: 0 0 8px; font-size: 1.25rem; }
.hub-paywall-teaser p { margin: 0 0 16px; opacity: 0.85; }


/* ——— Jogadores UI v2 (localhost) ——— */
.hub-jogadores-v2 .hub-v2-legend {
    margin: 0 0 12px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.hub-jogadores-v2 .hub-v2-legend strong { color: #ffb347; font-weight: 800; }

.hub-cs-table-v2 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 16px;
    background: transparent !important;
}
/* Painel sem preenchimento: o border-spacing fica só espaço (fundo da página). */
.hub-jogadores-v2 .hub-sheet-scroll,
html[data-theme="dark"] .hub-jogadores-v2 .hub-sheet-scroll,
html[data-theme="dark"] .hl-tools .hub-jogadores-v2 .hub-sheet-scroll {
    background: transparent !important;
    box-shadow: none;
}
.hub-cs-table-v2 .hub-cs-cols-row th {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(148,163,184,0.2);
    white-space: nowrap;
}
.hub-cs-table-v2 .hub-v2-row td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: none;
}
.hub-cs-table-v2 .hub-v2-row.is-tray-open td {
    background: rgba(255,102,0,0.04);
}
/* Mantém a bandeja colada na linha (anula o spacing de 16px só nesse par). */
.hub-cs-table-v2 .hub-v2-row.is-tray-open + .hub-v2-tray-row > td {
    transform: translateY(-16px);
    padding-bottom: 16px !important;
}

.hub-v2-des { min-width: 110px; text-align: center; }
.hub-cs-table-v2 .hub-v2-des .hub-v2-score { margin-inline: auto; }
.hub-v2-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}
.hub-v2-score-num {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}
.hub-v2-score-lbl {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ff6600;
}
.hub-v2-score .hub-met-badges {
    margin-top: 4px;
    justify-content: center;
    width: 100%;
}

.hub-v2-tray-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,102,0,0.35);
    background: rgba(255,102,0,0.08);
    color: #ffd7bf;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}
.hub-v2-tray-btn:hover { border-color: #ff6600; background: rgba(255,102,0,0.16); }
.hub-v2-tray-btn.is-open {
    background: #ff6600;
    border-color: #ff6600;
    color: #fff;
}
.hub-v2-tray-chevron {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform .15s ease;
}
.hub-v2-tray-btn.is-open .hub-v2-tray-chevron { transform: rotate(180deg); }

.hub-v2-tray-row td {
    padding: 0 12px 0 !important;
    background: linear-gradient(180deg, rgba(255,102,0,0.05), rgba(15,23,42,0.35));
    border-bottom: none !important;
}
.hub-v2-tray-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255,102,0,0.22);
    border-radius: 12px;
    background: rgba(11,18,32,0.55);
}

/* ——— Gaveta ESTUDAR premium (padrão ouro) ——— */
.hub-v2-tray-premium {
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-color: rgba(255, 102, 0, 0.28);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(11, 18, 32, 0.88));
}
.hub-v2-tray-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.hub-v2-tray-foto {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 102, 0, 0.35);
    background: rgba(15, 23, 42, 0.6);
    flex-shrink: 0;
}
.hub-v2-tray-foto.is-tec {
    border-radius: 10px;
}
.hub-v2-tray-head-copy {
    min-width: 0;
    flex: 1;
}
.hub-v2-tray-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.hub-v2-tray-meta {
    margin: 4px 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.35;
}
.hub-v2-tray-status {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.28);
}
.hub-v2-tray-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.08), rgba(56, 189, 248, 0.04));
}
.hub-v2-tray-hero-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hub-v2-tray-hero-lbl {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
}
.hub-v2-tray-hero-val {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #38bdf8;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.hub-v2-tray-hero-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 0;
    flex: 1;
    max-width: 52%;
}
.hub-v2-tray-hero-matchup {
    font-size: 0.68rem !important;
    padding: 4px 10px;
}
.hub-v2-tray-hero-linha {
    font-size: 0.78rem;
    font-weight: 700;
    text-align: right;
}
.hub-v2-tray-hero-linha .hub-cs-boa-rodada {
    font-size: inherit;
}
.hub-v2-tray-tabs {
    display: none;
    gap: 6px;
    padding: 10px 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.hub-v2-tray-tab {
    flex: 1;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    background: rgba(15, 23, 42, 0.45);
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.hub-v2-tray-tab.is-active {
    color: #f8fafc;
    border-color: rgba(255, 102, 0, 0.45);
    background: rgba(255, 102, 0, 0.12);
}
.hub-v2-tray-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: start;
}
.hub-v2-tray-col {
    padding: 12px 14px 14px;
}
.hub-v2-tray-col-proj {
    border-right: 1px solid rgba(148, 163, 184, 0.1);
}
.hub-v2-tray-section {
    margin: 0;
}
.hub-v2-tray-section + .hub-v2-tray-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(148, 163, 184, 0.16);
}
.hub-v2-tray-section h4 {
    margin: 0 0 10px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}
.hub-v2-tray-section-kicker {
    margin: 0 0 10px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #cbd5e1;
}
.hub-v2-tray-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.hub-v2-tray-metric-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 58px;
    padding: 8px 6px;
    border-radius: 10px;
    text-align: center;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.14);
}
.hub-v2-tray-metric-cell.is-hero {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.1);
}
.hub-v2-tray-metric-cell strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.hub-v2-tray-metric-cell.is-hero strong {
    color: #38bdf8;
    font-size: 1.15rem;
}
.hub-v2-tray-metric-cell small {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}
.hub-v2-tray-metric-sub {
    font-size: 0.58rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
}

@media (max-width: 900px) {
    .hub-v2-tray-tabs {
        display: flex;
    }
    .hub-v2-tray-body {
        grid-template-columns: 1fr;
    }
    .hub-v2-tray-col {
        display: none;
        border-right: none;
    }
    .hub-v2-tray-col.is-active {
        display: block;
    }
    .hub-v2-tray-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .hub-v2-tray-hero-side {
        align-items: flex-start;
        max-width: 100%;
        width: 100%;
    }
    .hub-v2-tray-hero-linha {
        text-align: left;
    }
}

@media (min-width: 901px) {
    .hub-v2-tray-col-forma {
        border-bottom: 1px dashed rgba(148, 163, 184, 0.14);
    }
}
.hub-v2-tray-block h4 {
    margin: 0 0 8px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}
.hub-v2-tray-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.hub-v2-tray-metrics > div,
.hub-v2-tray-linha {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hub-v2-tray-mercado .hub-v2-tray-metrics > div {
    align-items: center;
    text-align: center;
}
.hub-v2-tray-mercado .hub-v2-tray-val,
.hub-v2-tray-mercado .hub-v2-tray-mando {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 1.2em;
}
.hub-v2-tray-metrics strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}
.hub-v2-tray-metrics small,
.hub-v2-tray-metrics > div small {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}
.hub-v2-tray-foot {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-top: 10px;
    border-top: 1px dashed rgba(148,163,184,0.25);
    text-align: center;
}
.hub-v2-matchup-badge {
    font-size: 0.72rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
}
.hub-v2-tray-note {
    margin: 0;
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
    max-width: 36rem;
    line-height: 1.35;
}

.hub-compare-board-v2 .hub-compare-v2-legend {
    margin: 0 0 10px;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}
.hub-compare-board-v2 th[scope="row"] small {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2px;
}

.hub-compare-board-mobile {
    display: none;
}

@media (max-width: 1100px) {
    .hub-jogadores-v2.is-compare-mode {
        gap: 12px;
    }

    .hub-jogadores-v2.is-compare-mode .hub-compare-mode-hint {
        margin: 0;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .hub-jogadores-v2.is-compare-mode .hub-jogadores-mobile-dim {
        display: none !important;
    }

    .hub-jogadores-v2 .hl-compare {
        margin: 0;
        padding: 14px 12px 12px;
        border-radius: 14px;
    }

    .hub-jogadores-v2 .hl-compare-head {
        margin-bottom: 12px;
    }

    .hub-jogadores-v2 .hl-compare-title {
        font-size: 1.1rem;
    }

    .hub-jogadores-v2 .hub-compare-board-desktop {
        display: none !important;
    }

    .hub-jogadores-v2 .hub-compare-board-mobile {
        display: block;
    }

    .hub-jogadores-v2 .hl-compare-cards {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .hub-jogadores-v2 .hl-compare-card {
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.28);
        overflow: hidden;
    }

    .hub-jogadores-v2 .hl-compare-card.is-a { border-top: 3px solid #38bdf8; }
    .hub-jogadores-v2 .hl-compare-card.is-b { border-top: 3px solid #f43f5e; }
    .hub-jogadores-v2 .hl-compare-card.is-c { border-top: 3px solid #a78bfa; }
    .hub-jogadores-v2 .hl-compare-card.is-d { border-top: 3px solid #34d399; }

    .hub-jogadores-v2 .hl-compare-card-head {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hub-jogadores-v2 .hl-compare-card-head .hl-compare-crest {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .hub-jogadores-v2 .hl-compare-card-id {
        min-width: 0;
    }

    .hub-jogadores-v2 .hl-compare-card-name {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 800;
        color: #f8fafc;
        line-height: 1.2;
        word-break: break-word;
    }

    .hub-jogadores-v2 .hl-compare-card-meta {
        margin: 4px 0 0;
        font-size: 0.72rem;
        font-weight: 600;
        color: #94a3b8;
        line-height: 1.3;
    }

    .hub-jogadores-v2 .hl-compare-card-remove {
        border: none;
        background: rgba(148, 163, 184, 0.12);
        color: #cbd5e1;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        flex-shrink: 0;
    }

    .hub-jogadores-v2 .hl-compare-card-remove:hover {
        background: rgba(248, 113, 113, 0.2);
        color: #fecaca;
    }

    .hub-jogadores-v2 .hl-compare-card-metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        background: rgba(255, 255, 255, 0.06);
    }

    .hub-jogadores-v2 .hl-compare-metric {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 11px 12px;
        background: #141414;
        min-width: 0;
    }

    .hub-jogadores-v2 .hl-compare-metric.is-wide {
        grid-column: 1 / -1;
    }

    .hub-jogadores-v2 .hl-compare-metric-label {
        font-size: 0.62rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #94a3b8;
        line-height: 1.25;
    }

    .hub-jogadores-v2 .hl-compare-metric-val {
        font-size: 0.92rem;
        font-weight: 800;
        color: #f8fafc;
        font-variant-numeric: tabular-nums;
        line-height: 1.3;
        word-break: break-word;
    }

    .hub-jogadores-v2 .hl-compare-metric-hint {
        font-size: 0.6rem;
        font-weight: 600;
        color: #64748b;
        line-height: 1.3;
    }

    .hub-jogadores-v2 .hl-compare-metric.is-best {
        box-shadow: inset 3px 0 0 #34d399;
        background: rgba(52, 211, 153, 0.08);
    }

    .hub-jogadores-v2 .hl-compare-metric.is-mid {
        box-shadow: inset 3px 0 0 #ffb347;
        background: rgba(255, 179, 71, 0.08);
    }

    .hub-jogadores-v2 .hl-compare-metric.is-worst {
        box-shadow: inset 3px 0 0 #f87171;
        background: rgba(248, 113, 113, 0.08);
    }

    .hub-jogadores-v2 .hl-compare-metric.is-wide .hl-compare-diff {
        align-items: flex-start;
    }

    .hub-jogadores-v2 .hl-compare-metric-val .hl-compare-grade {
        display: block;
        margin-top: 4px;
        font-size: 0.58rem;
    }
}

@media (max-width: 420px) {
    .hub-jogadores-v2 .hl-compare-card-metrics {
        grid-template-columns: 1fr;
    }

    .hub-jogadores-v2 .hl-compare-metric.is-wide {
        grid-column: auto;
    }
}

.hub-m-card-v2 .hub-m-card-top {
    display: none;
}
.hub-m-card-v2 .hub-m-v2-head {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}
.hub-m-card-v2 .hub-m-card-intel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-width: 0;
}
.hub-m-card-v2 .hub-m-foto {
    width: 44px;
    height: 44px;
}
.hub-m-card-v2 .hub-m-id {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hub-m-card-v2 .hub-m-name {
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.hub-m-card-v2 .hub-m-meta {
    flex-wrap: wrap;
    row-gap: 4px;
}
.hub-m-card-v2 .hub-m-v2-conf {
    margin-top: 2px;
}
.hub-m-card-v2 .hub-m-v2-conf .hub-cs-confronto {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px;
}
.hub-m-card-v2 .hub-m-v2-metric {
    flex: 0 0 auto;
    text-align: center;
    min-width: 4.2rem;
}
.hub-m-card-v2 .hub-m-v2-metric .hub-v2-score {
    align-items: center;
}
.hub-m-card-v2 .hub-m-v2-metric .hub-v2-score-num {
    font-size: 1.35rem;
}
.hub-m-card-v2 .hub-m-v2-badges {
    margin-top: 10px;
}
.hub-m-card-v2 .hub-m-v2-badges .hub-met-badges {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}
.hub-m-card-v2 .hub-m-v2-strip {
    margin-top: 10px;
}
.hub-m-card-v2 .hub-m-v2-strip .hub-v2-card-strip,
.hub-m-card-v2 .hub-m-v2-strip .hl-hub-metrics {
    max-width: none;
    width: 100%;
    margin: 0;
}
.hub-m-card-v2 .hub-m-v2-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(148,163,184,0.15);
}
.hub-m-card-v2 .hub-m-v2-tray {
    margin-top: 12px;
}
.hub-m-card-v2 .hub-v2-tray-grid {
    grid-template-columns: 1fr;
}

@media (max-width: 900px) {
    .hub-v2-tray-grid { grid-template-columns: 1fr; }
}


/* ——— Jogadores v2: card mercado + forma recente ——— */
.hub-v2-card-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
    width: 100%;
    max-width: 220px;
}
.hub-v2-card-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    min-height: 44px;
    padding: 4px 2px;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.14);
}
.hub-v2-card-metric strong {
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.1;
    color: #f8fafc;
}
.hub-v2-card-metric .hub-cs-val {
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.hub-v2-card-metric .hub-cs-val-pos { color: #34d399 !important; }
.hub-v2-card-metric .hub-cs-val-neg { color: #f87171 !important; }
.hub-v2-card-metric .hub-cs-val-neu { color: #cbd5e1 !important; }
.hub-v2-card-metric.is-val-pos {
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(52, 211, 153, 0.08);
}
.hub-v2-card-metric.is-val-neg {
    border-color: rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.08);
}
.hub-v2-card-metric small {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}
.hub-v2-card-metric .hub-cs-mando { display: inline-flex; }
.hub-cs-table-v2 .hub-v2-des {
    vertical-align: top;
}
.hub-m-card-v2 .hub-v2-card-strip {
    max-width: none;
    margin-top: 12px;
}
.hub-v2-tray-forma .hub-v2-forma-mount { min-height: 72px; }
.hub-v2-forma-kicker {
    margin: 0 0 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.03em;
}
.hub-v2-forma-mm {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: #94a3b8;
}
.hub-v2-forma-mm-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e2e8f0;
}
.hub-v2-forma-mm strong {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.hub-v2-forma-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.hub-v2-forma-game {
    padding: 8px 10px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.hub-v2-forma-game-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hub-v2-forma-game-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
}
.hub-v2-forma-game-rodada {
    white-space: nowrap;
}
.hub-v2-forma-game-vs {
    color: #64748b;
    font-weight: 600;
    text-transform: lowercase;
}
.hub-v2-forma-crest,
.hub-forma-strip-crest {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}
.hub-v2-forma-game-pts {
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.hub-v2-forma-game-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
}
.hub-v2-forma-game-head strong {
    font-size: 1rem;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.hub-v2-forma-scouts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.hub-v2-scout-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.28);
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffd7bf;
}
.hub-v2-scout-chip b { color: #ff6600; }
.hub-v2-scout-chip-icon {
    gap: 4px;
    padding: 3px 7px 3px 4px;
}
.hub-scout-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}
.hub-scout-icon-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: rgba(255, 102, 0, 0.2);
    font-size: 0.5rem;
    font-weight: 800;
    color: #ff6600;
    line-height: 1;
}
.hub-v2-scout-chip-lbl {
    font-size: 0.58rem;
    font-weight: 800;
    color: #ff6600;
}
.hub-v2-scout-chip-cnt {
    font-size: 0.62rem;
    font-weight: 800;
    color: #ffd7bf;
}
.hub-forma-strip-block {
    margin-top: 14px;
}
.hub-forma-strip-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.hub-forma-strip-scroll--wy {
    background: rgba(0, 0, 0, 0.2);
}
.hub-forma-strip-row {
    display: grid;
    gap: 4px;
    align-items: center;
    padding: 7px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.68rem;
    color: #cbd5e1;
}
.hub-forma-strip-row--comp {
    grid-template-columns: 44px minmax(100px, 1fr) minmax(110px, 1.2fr) repeat(6, 40px);
    min-width: 560px;
}
.hub-forma-strip-meta {
    display: contents;
}
.hub-forma-strip-stats {
    display: contents;
}
.hub-forma-strip-row--partida {
    grid-template-columns: 68px minmax(150px, 1.8fr) minmax(100px, 1fr) 48px repeat(5, 40px);
    min-width: 636px;
}
.hub-forma-strip-row:nth-child(even):not(.hub-forma-strip-head) {
    background: rgba(255, 255, 255, 0.02);
}
.hub-forma-strip-row:last-child {
    border-bottom: none;
}
.hub-forma-strip-head {
    background: rgba(255, 255, 255, 0.04);
    min-height: 34px;
}
.hub-forma-strip-head .hub-forma-strip-stat {
    color: #94a3b8;
}
.hub-forma-strip-head .hub-scout-icon {
    width: 15px;
    height: 15px;
    opacity: 0.9;
}
.hub-forma-strip-cell {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hub-forma-strip-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #e2e8f0;
}
.hub-wy-ico {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    flex-shrink: 0;
}
.hub-forma-strip-clube,
.hub-forma-strip-match {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.hub-forma-strip-dash {
    color: #64748b;
    padding: 0 3px;
    font-weight: 600;
}
.hub-forma-strip-placar {
    font-weight: 800;
    color: #fff;
    text-align: center;
}
.hub-forma-strip-date,
.hub-forma-strip-year {
    font-weight: 700;
    color: #ff6600;
}
.hub-forma-strip-date {
    overflow: visible;
    text-overflow: clip;
    min-width: 68px;
}
.hub-forma-strip-comp {
    color: #94a3b8;
}

@media (max-width: 640px) {
    .hub-forma-strip-scroll--wy {
        overflow-x: visible;
        border: none;
        background: transparent;
    }
    .hub-forma-strip-row.hub-forma-strip-head {
        display: none;
    }
    .hub-forma-strip-row--comp:not(.hub-forma-strip-head),
    .hub-forma-strip-row--partida:not(.hub-forma-strip-head) {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        min-width: 0;
        padding: 12px;
        margin-bottom: 8px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.22);
    }
    .hub-forma-strip-row--comp:not(.hub-forma-strip-head):last-child,
    .hub-forma-strip-row--partida:not(.hub-forma-strip-head):last-child {
        margin-bottom: 0;
    }
    .hub-forma-strip-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        min-width: 0;
    }
    .hub-forma-strip-meta .hub-forma-strip-clube,
    .hub-forma-strip-meta .hub-forma-strip-match {
        white-space: normal;
        flex-wrap: wrap;
    }
    .hub-forma-strip-meta .hub-forma-strip-comp {
        font-size: 0.68rem;
        line-height: 1.35;
        white-space: normal;
    }
    .hub-forma-strip-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }
    .hub-forma-strip-stat[data-stat-lbl] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 44px;
        padding: 6px 4px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
        overflow: visible;
        white-space: normal;
        text-overflow: clip;
    }
    .hub-forma-strip-stat[data-stat-lbl]::before {
        content: attr(data-stat-lbl);
        font-size: 0.52rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #94a3b8;
    }
    .hub-scout-foot {
        gap: 10px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .hub-scout-foot .btn-outline-secondary {
        min-width: 92px;
    }
    .hub-scout-foot .hub-cs-buy-btn.unanim-buy-btn {
        min-width: 120px;
    }
}

@media (max-width: 520px) {
    .hub-forma-strip-date {
        min-width: 56px;
        font-size: 0.58rem;
    }
    .hub-forma-strip-crest,
    .hub-v2-forma-crest {
        width: 16px;
        height: 16px;
    }
    .hub-scout-icon {
        width: 14px;
        height: 14px;
    }
    .hub-v2-scout-chip {
        font-size: 0.58rem;
        padding: 2px 5px;
    }
    .hub-v2-forma-game-row {
        flex-wrap: wrap;
        gap: 6px;
    }
    .hub-v2-forma-game-pts {
        width: 100%;
        text-align: right;
        margin-left: 0;
    }
    .hub-v2-forma-scouts {
        flex: 1 1 100%;
        order: 3;
    }
}

.hub-v2-forma-scouts-empty,
.hub-v2-forma-empty {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
}
.hub-v2-forma-rank-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.72rem;
    color: #94a3b8;
}
.hub-v2-forma-rank-meta strong { color: #fff; }
.hub-v2-forma-track {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #334155, #ff6600);
    overflow: visible;
}
.hub-v2-forma-mark {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ff6600;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.25);
}
.hub-v2-forma-track-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.62rem;
    color: #64748b;
    font-weight: 700;
}
.hub-v2-forma-cedido {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(148, 163, 184, 0.25);
    font-size: 0.75rem;
    color: #94a3b8;
}
.hub-v2-forma-cedido strong {
    font-size: 1.05rem;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.hub-v2-poscopa-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.hub-v2-poscopa-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
    text-align: center;
    min-width: 0;
}
.hub-v2-poscopa-cell strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}
.hub-v2-poscopa-cell small {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}
.hub-v2-poscopa-cell span {
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.25;
}
@media (max-width: 520px) {
    .hub-v2-poscopa-grid {
        grid-template-columns: 1fr;
    }
}
