﻿/* ==========================================================================
   Meu Time — estilos base (extraídos de meu_time.html inline <style>)
   Migrado para arquivo externo em 2026-09-03
   ========================================================================== */
    .mt-page {
        max-width: 1580px; margin: 0 auto; padding: 20px 28px 48px;
        /* Tokens hub locais (Meu Time não usa .dash-wrap) */
        --hub-surface: var(--ds-hub-surface);
        --hub-surface-card: var(--ds-hub-surface-card);
        --hub-surface-navy: var(--ds-hub-surface-navy);
        --hub-radius-card: 16px;
        --hub-border: 1px solid var(--ds-border);
        --hub-shadow: var(--ds-shadow-md);
    }
    html[data-theme="dark"] .mt-page {
        --hub-surface: var(--ds-hub-surface);
        --hub-surface-card: var(--ds-hub-surface-card);
        --hub-surface-navy: var(--ds-hub-surface-navy);
        --hub-border: 1px solid var(--ds-border);
        --hub-shadow: var(--ds-shadow-md);
    }

    .mt-header {
        display: flex; justify-content: space-between; align-items: flex-start;
        flex-wrap: wrap; gap: 16px; margin-bottom: 22px;
    }
    .mt-title {
        font-size: 1.35rem; font-weight: 700; color: var(--text-strong);
        text-transform: none; letter-spacing: -0.01em;
    }
    .mt-subtitle { display: none; }
    .mt-stats { display: none; }
    .mt-budget { display: none !important; }
    .mt-toolbar { display: none !important; }

    .mt-pitch-toolbar {
        display: flex; flex-direction: column; align-items: stretch;
        gap: 8px; margin: 0 0 10px;
        padding: 0; border: none; background: transparent;
        box-shadow: none; width: 100%; box-sizing: border-box;
        position: relative;
    }
    .mt-summary-bar {
        display: flex; flex-direction: column; align-items: stretch;
        gap: 8px;
        padding: 8px 10px; border-radius: 12px;
        background: var(--bg-secondary, rgba(15,23,42,0.04));
        border: 1px solid var(--border-subtle);
        width: 100%; box-sizing: border-box; min-width: 0;
    }
    .mt-toolbar-team {
        display: flex; align-items: center; gap: 8px; min-width: 0; width: 100%;
    }
    .mt-toolbar-escudo {
        width: 32px; height: 32px; object-fit: contain; flex-shrink: 0;
        background: transparent; border-radius: 6px;
    }
    .mt-toolbar-escudo.is-on { display: inline-block !important; }
    .mt-toolbar-nome {
        font-size: 0.88rem; font-weight: 900; color: var(--text-strong);
        line-height: 1.2; white-space: normal; overflow: visible;
        text-overflow: unset; word-break: break-word; min-width: 0; flex: 1 1 auto;
    }
    .mt-summary-metrics {
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px; width: 100%;
    }
    .mt-summary-metric {
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        gap: 4px; min-width: 0; min-height: 54px; padding: 8px 5px;
        border-radius: 9px;
        background: var(--hub-surface-card, var(--bg-elevated));
        border: 1px solid var(--border-subtle);
        line-height: 1.2; text-align: center;
        overflow: visible;
    }
    .mt-summary-metric-label {
        font-size: 0.62rem; font-weight: 600; letter-spacing: 0.02em;
        text-transform: none; color: var(--text-muted);
        white-space: normal; text-align: center; line-height: 1.25;
        overflow-wrap: break-word; hyphens: manual;
        width: 100%;
    }
    .mt-summary-metric-val {
        font-size: 0.9rem; font-weight: 800; color: var(--text-strong);
        font-variant-numeric: tabular-nums; white-space: nowrap;
        text-align: center; line-height: 1.2;
        width: 100%;
    }
    .mt-summary-metric-val.is-pos { color: #16a34a; }
    .mt-summary-metric-val.is-neg { color: #dc2626; }
    .mt-pitch-toolbar-right {
        display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
        margin-left: auto; justify-content: flex-end;
    }
    .mt-pitch-toolbar-actions {
        display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
        justify-content: flex-end; width: 100%;
        padding: 0 2px;
    }
    .mt-formacao-wrap { display: inline-flex; align-items: center; margin-right: auto; }
    .mt-btn-icon,
    .mt-btn-trash, .mt-btn-logout, .mt-btn-enviar, .mt-btn-sync, .mt-btn-share {
        display: inline-flex; align-items: center; justify-content: center;
        width: 32px; height: 32px; min-width: 32px; min-height: 32px;
        padding: 0; margin: 0;
        border-radius: 9px; cursor: pointer;
        flex-shrink: 0;
        box-sizing: border-box;
        line-height: 0;
    }
    .mt-btn-trash {
        background: rgba(239, 68, 68, 0.12);
        color: #ef4444;
        border: 1px solid rgba(239, 68, 68, 0.35);
    }
    .mt-btn-trash:hover { background: rgba(239, 68, 68, 0.2); }
    .mt-btn-trash:disabled { opacity: 0.45; cursor: not-allowed; }
    .mt-btn-logout {
        display: none;
        background: rgba(100, 116, 139, 0.12);
        color: var(--text-muted, #64748b);
        border: 1px solid rgba(100, 116, 139, 0.35);
    }
    .mt-btn-logout.visible { display: inline-flex; }
    .mt-btn-logout:hover {
        background: rgba(100, 116, 139, 0.22);
        color: var(--text-strong, #0f172a);
    }
    .mt-btn-share {
        background: rgba(100, 116, 139, 0.12);
        color: var(--text-muted, #64748b);
        border: 1px solid rgba(100, 116, 139, 0.35);
    }
    .mt-btn-share:hover {
        background: rgba(100, 116, 139, 0.22);
        color: var(--text-strong, #0f172a);
    }
    .mt-btn-share:disabled { opacity: 0.45; cursor: not-allowed; }
    /* Print: layout estável (estilo desktop) — não herda cards largos/estreitos do viewport mobile */
    .mt-share-clone .mt-no-capture { display: none !important; }
    .mt-share-clone.mt-share-print {
        width: 520px !important;
        max-width: 520px !important;
        min-width: 520px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    .mt-share-clone.mt-share-print .pitch-board {
        width: 100% !important;
        max-width: none !important;
        min-height: 640px !important;
        max-height: none !important;
        padding: 28px 16px 14px !important;
        overflow: visible !important;
        aspect-ratio: auto !important;
        background-color: var(--ds-pitch-fm, #0b1224) !important;
        background-image: none !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    .mt-share-clone.mt-share-print .bench-board,
    .mt-share-clone.mt-share-print .mt-summary-bar,
    .mt-share-clone.mt-share-print .bench-title {
        width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
    }
    .mt-share-clone.mt-share-print .bench-board {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 8px 4px 10px !important;
    }
    .mt-share-clone.mt-share-print .pitch-row.slots-1:not(.pitch-bottom) { padding: 0 28% !important; }
    .mt-share-clone.mt-share-print .pitch-row.slots-2 { padding: 0 16% !important; }
    .mt-share-clone.mt-share-print .pitch-row.slots-3 { padding: 0 5% !important; }
    .mt-share-clone.mt-share-print .pitch-row.slots-4 { padding: 0 3% !important; justify-content: space-between !important; }
    .mt-share-clone.mt-share-print .pitch-row.slots-5 { padding: 0 1.5% !important; justify-content: space-between !important; }
    /* GOL no centro: colunas flex iguais (html-to-image ignora grid/absolute) */
    .mt-share-clone.mt-share-print .pitch-row.pitch-bottom {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 0 4% 4px !important;
        gap: 0 !important;
        position: relative !important;
    }
    .mt-share-clone.mt-share-print .pitch-bottom-spacer,
    .mt-share-clone.mt-share-print .pitch-bottom-tec {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: flex-end !important;
        position: relative !important;
        transform: none !important;
        right: auto !important;
        bottom: auto !important;
    }
    .mt-share-clone.mt-share-print .pitch-bottom-tec {
        justify-content: flex-end !important;
    }
    .mt-share-clone.mt-share-print .pitch-bottom-gol {
        flex: 0 0 auto !important;
        position: relative !important;
        transform: none !important;
        justify-self: unset !important;
        grid-column: auto !important;
    }
    .mt-share-clone.mt-share-print .player-card-on-pitch {
        width: 88px !important;
        max-width: 88px !important;
        padding-top: 26px !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
    }
    .mt-share-clone.mt-share-print .bench-board .player-card-on-pitch {
        width: 72px !important;
        max-width: 72px !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }
    .mt-share-clone.mt-share-print .pc-avatar-wrap,
    .mt-share-clone.mt-share-print .pc-avatar-ring {
        width: 54px !important;
        height: 54px !important;
    }
    .mt-share-clone.mt-share-print .pc-name {
        hyphens: none !important;
        -webkit-hyphens: none !important;
        max-width: 100% !important;
        width: 100% !important;
        font-size: 10.5px !important;
        letter-spacing: 0 !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        padding: 0 2px !important;
        box-sizing: border-box !important;
    }
    .mt-share-clone.mt-share-print .bench-board .pc-name {
        font-size: 10px !important;
    }
    .mt-share-clone.mt-share-print .mt-toolbar-nome {
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
    }
    .mt-share-clone.mt-share-print .mt-toolbar-escudo {
        display: inline-block !important;
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
        border-radius: 6px !important;
        background: transparent !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .mt-share-clone.mt-share-print .pc-photo,
    .mt-share-clone.mt-share-print .pc-escudo {
        display: block !important;
        opacity: 1 !important;
    }
    .mt-share-clone.mt-share-print .pc-escudo {
        width: 22px !important;
        height: 22px !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        object-fit: contain !important;
    }
    .mt-share-clone.mt-share-print .pc-avatar-wrap,
    .mt-share-clone.mt-share-print .player-card-on-pitch {
        overflow: visible !important;
    }
    .mt-share-clone.mt-share-print .pc-badge-cap,
    .mt-share-clone.mt-share-print .pc-badge-luxo {
        z-index: 30 !important;
        overflow: visible !important;
    }
    .mt-share-clone.mt-share-print .pc-badge-cap {
        top: -6px !important;
        left: -6px !important;
    }
    .mt-share-clone.mt-share-print .pc-badge-luxo {
        top: -6px !important;
        left: -6px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        width: 22px !important;
        height: 20px !important;
    }
    .mt-share-clone.mt-share-print .pc-badge-luxo .pc-luxo-ico {
        width: 22px !important;
        height: 20px !important;
        display: block !important;
    }
    .mt-share-clone.mt-share-print .pc-badge-luxo.with-cap {
        top: auto !important;
        bottom: -6px !important;
        left: -6px !important;
    }
    /* Safari/html-to-image: ::before/::after do campinho somem — usamos nós reais */
    .mt-share-clone.mt-share-print .pitch-board::before,
    .mt-share-clone.mt-share-print .pitch-board::after {
        content: none !important;
        display: none !important;
        background: none !important;
    }
    .mt-share-clone.mt-share-print .mt-share-pitch-logo {
        position: absolute !important;
        top: 50% !important; left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 42% !important; height: 42% !important;
        object-fit: contain !important;
        opacity: 0.25 !important;
        mix-blend-mode: screen !important;
        z-index: 2 !important;
        pointer-events: none !important;
        filter: none !important;
        box-shadow: none !important;
    }
    /* Linhas = divs com border (SVG/img falham no html-to-image mobile) */
    .mt-share-clone.mt-share-print .mt-share-pitch-lines {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important; height: 100% !important;
        z-index: 1 !important;
        pointer-events: none !important;
        filter: none !important;
        box-shadow: none !important;
    }
    .mt-share-clone.mt-share-print .mt-share-pitch-lines > div {
        position: absolute !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
    }
    .mt-share-clone.mt-share-print .pc-avatar-ring.mt-share-avatar-baked {
        overflow: hidden !important;
        border-radius: 50% !important;
        background-color: transparent !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: 100% 100% !important;
        border: none !important;
        box-shadow: none !important;
    }
    /* NÃO usar border-radius no img assado — Safari/html-to-image pinta círculo branco */
    .mt-share-clone.mt-share-print .pc-avatar-ring.mt-share-avatar-baked > img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        border: 0 !important;
        border-radius: 0 !important;
        object-fit: fill !important;
        filter: none !important;
        box-shadow: none !important;
    }
    /* Chip MPV: borda sólida. Avatar circular — sem quadrado preto atrás. */
    .mt-share-clone.mt-share-print .pc-mpv {
        background: #111827 !important;
        color: #fde68a !important;
        border: 1px solid #fbbf24 !important;
    }
    .mt-share-clone.mt-share-print .player-card-on-pitch,
    .mt-share-clone.mt-share-print .pc-avatar-wrap {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        filter: none !important;
    }
    .mt-share-clone.mt-share-print .pc-avatar-wrap {
        overflow: hidden !important;
        border-radius: 50% !important;
    }
    .mt-share-clone.mt-share-print .pc-avatar-ring:not(.mt-share-avatar-baked) {
        box-shadow: none !important;
        border: 2.5px solid #fff !important;
    }
    .mt-share-clone.mt-share-print .pc-avatar-ring.status-ok:not(.mt-share-avatar-baked) {
        border-color: #22c55e !important;
        box-shadow: none !important;
    }
    .mt-share-clone.mt-share-print .pc-avatar-ring.status-warn:not(.mt-share-avatar-baked) {
        border-color: #eab308 !important;
        box-shadow: none !important;
    }
    .mt-share-clone.mt-share-print .pc-avatar-ring.status-bad:not(.mt-share-avatar-baked) {
        border-color: #ef4444 !important;
        box-shadow: none !important;
    }
    .mt-share-clone.mt-share-print .pc-bubble,
    .mt-share-clone.mt-share-print .pc-badge-val,
    .mt-share-clone.mt-share-print .pc-badge-cap,
    .mt-share-clone.mt-share-print .pc-badge-luxo,
    .mt-share-clone.mt-share-print .pc-escudo {
        box-shadow: none !important;
        filter: none !important;
        text-shadow: none !important;
    }
    .mt-share-clone.mt-share-print .pc-bubble {
        border: 1px solid rgba(15, 23, 42, 0.12) !important;
    }
    .mt-share-clone.mt-share-print .pc-name {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
        color: #fff !important;
    }
    .mt-share-clone.mt-share-print .pitch-board {
        box-shadow: none !important;
    }
    .mt-custo-chip {
        display: inline-flex; flex-direction: column; justify-content: center;
        gap: 1px; min-width: 64px; padding: 3px 8px;
        border-radius: 9px;
        background: var(--bg-secondary, rgba(15,23,42,0.04));
        border: 1px solid var(--border-subtle);
        line-height: 1.1;
    }
    .mt-custo-chip-label {
        font-size: 0.5rem; font-weight: 900; letter-spacing: 0.08em;
        text-transform: uppercase; color: var(--text-muted);
    }
    .mt-custo-chip-val {
        font-size: 0.82rem; font-weight: 900; color: var(--text-strong);
        font-variant-numeric: tabular-nums;
    }
    .mt-cmd-bar { display: none !important; }
    .intel-card-resumo .intel-xpts-cap { font-size: 1.55rem; }
    .intel-side-label { letter-spacing: 0.1em; }
    #intel-posrodada-card { min-height: 0; }
    #intel-ia-card { min-height: 0; }
    .posrodada-turnos {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px; margin-top: 10px;
    }
    .posrodada-turno {
        display: flex; flex-direction: column; align-items: center;
        justify-content: center; gap: 3px; text-align: center;
        padding: 8px 8px 7px; border-radius: 10px;
        background: var(--bg-secondary, rgba(15,23,42,0.04));
        border: 1px solid var(--border-subtle);
        min-width: 0;
    }
    .posrodada-turno-label {
        font-size: 0.52rem; font-weight: 900; letter-spacing: 0.07em;
        text-transform: uppercase; color: var(--text-muted);
        text-align: center; width: 100%;
    }
    .posrodada-turno-val {
        font-size: 0.92rem; font-weight: 900; color: var(--text-strong);
        font-variant-numeric: tabular-nums;
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        text-align: center; width: 100%;
    }
    .posrodada-turno.is-current .posrodada-turno-val { color: var(--accent-orange, #ff6600); }

    @media (max-width: 720px) {
        .mt-pitch-toolbar { flex-direction: column; align-items: stretch; }
        .mt-pitch-toolbar-actions { justify-content: flex-start; margin-left: 0; }
        .posrodada-turnos { grid-template-columns: 1fr; }
    }
    .mt-formacao {
        background: var(--bg-elevated, #fff); border: 1px solid var(--border-subtle, #e2e8f0); color: var(--text-strong, #0f172a);
        font-weight: 800; font-size: 0.78rem; border-radius: 8px; padding: 6px 10px;
        cursor: pointer; box-shadow: var(--hub-shadow, 0 1px 3px rgba(15,23,42,0.06));
        min-height: 32px;
    }
    .mt-btn-sync {
        background: rgba(100, 116, 139, 0.12);
        color: var(--text-muted, #64748b);
        border: 1px solid rgba(100, 116, 139, 0.35);
        box-shadow: none;
    }
    .mt-btn-sync:hover {
        background: rgba(100, 116, 139, 0.22);
        color: var(--text-strong, #0f172a);
        filter: none;
    }
    .mt-btn-sync.is-auth {
        background: var(--ds-brand-midnight, #191970);
        color: #fff;
        border-color: var(--ds-brand-midnight, #191970);
    }
    .mt-btn-sync.is-auth:hover { background: var(--ds-brand-midnight-light, #2430a0); color: #fff; }
    .mt-btn-sync:disabled { opacity: 0.45; cursor: not-allowed; }
    .sr-only {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
    }
    .mt-btn-enviar {
        background: var(--ds-brand-primary, #ff6600);
        color: #fff;
        border: 1px solid var(--ds-brand-primary, #ff6600);
        box-shadow: none;
    }
    .mt-btn-enviar:hover { filter: brightness(1.06); }
    .mt-btn-enviar.is-auth {
        background: var(--ds-success, #009c3b);
        border-color: var(--ds-success, #009c3b);
    }
    .mt-btn-enviar:disabled { opacity: 0.45; cursor: not-allowed; }
    .mt-auth-senha {
        -webkit-text-security: disc;
        text-security: disc;
    }
    .mt-sync-label {
        display: block; font-size: 11px; font-weight: 800; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 0.04em; margin: 10px 0 4px;
    }
    .mt-sync-input {
        width: 100%; padding: 10px 12px; border-radius: 8px;
        border: 1px solid var(--border-subtle); background: var(--bg-elevated);
        color: var(--text-primary); font-weight: 600;
    }
    .mt-sync-erro { color: #ef4444; font-size: 13px; font-weight: 600; margin: 10px 0 0; }
    .mt-sync-modal { max-width: 480px; width: 92%; padding: 20px 22px; }
    .mt-title { color: var(--text-strong); }
    .mt-subtitle { color: var(--text-muted); }
    .mt-stats { color: var(--text-muted); }

    .mt-formacao option { background: var(--bg-elevated); color: var(--text-strong); }

    .mt-board-wrap {
        width: 100%; max-width: 540px;
        margin: 0 auto;
        background: var(--hub-surface-card, var(--bg-elevated));
        border-radius: var(--hub-radius-card, 14px);
        padding: 12px;
        border: var(--hub-border, 1px solid var(--border-subtle));
        box-shadow: var(--hub-shadow);
        overflow: visible;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    /* Live bar removida — time fica na toolbar */
    .mt-live-bar { display: none !important; }

    .mt-layout {
        display: grid;
        grid-template-columns: minmax(0, 23%) minmax(0, 1fr) minmax(0, 23%);
        gap: 18px; align-items: start;
    }
    body.mt-freemium .mt-layout {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }
    body.mt-freemium .mt-center { width: min(920px, 100%); }
    body.mt-freemium .mt-intel-side { display: none !important; }
    .mt-upsell-pro {
        width: min(920px, 100%);
        margin: 0 auto 14px;
        padding: 12px 14px;
        border-radius: 10px;
        border: 1px solid color-mix(in srgb, var(--accent-orange, #ff6600) 35%, var(--border-subtle));
        background: color-mix(in srgb, var(--accent-orange, #ff6600) 10%, transparent);
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        flex-wrap: wrap;
    }
    .mt-upsell-pro p { margin: 0; font-size: 0.85rem; color: var(--text-primary); }
    .mt-upsell-pro a {
        display: inline-flex; align-items: center; gap: 6px;
        padding: 8px 12px; border-radius: 8px; font-weight: 800; font-size: 0.75rem;
        text-transform: uppercase; letter-spacing: 0.4px; text-decoration: none;
        background: var(--accent-orange, #ff6600); color: #fff;
    }
    .mt-upsell-links {
        display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    }
    .mt-upsell-links a.is-ghost {
        background: transparent;
        border: 1px solid var(--border-subtle);
        color: var(--text-primary);
    }
    .mt-pro-modal-backdrop {
        position: fixed; inset: 0; z-index: 12000;
        background: rgba(0, 0, 0, 0.62);
        display: flex; align-items: center; justify-content: center;
        padding: 16px;
    }
    .mt-pro-modal-backdrop[hidden] { display: none !important; }
    .mt-pro-modal {
        width: min(420px, 100%);
        padding: 20px 18px 16px;
        border-radius: 14px;
        border: 1px solid var(--border-subtle);
        background: var(--bg-elevated, #1c1c1c);
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    }
    .mt-pro-modal h3 {
        margin: 0 0 8px;
        font-size: 1.05rem;
        color: var(--text-primary);
    }
    .mt-pro-modal p {
        margin: 0 0 14px;
        font-size: 0.88rem;
        line-height: 1.45;
        color: var(--text-muted);
    }
    .mt-pro-modal-actions {
        display: flex; flex-wrap: wrap; gap: 8px;
        justify-content: flex-end;
    }
    .mt-pro-modal-actions button,
    .mt-pro-modal-actions a {
        min-height: 44px;
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        cursor: pointer;
        text-decoration: none;
        border: none;
    }
    .mt-pro-modal-actions .is-primary {
        background: var(--accent-orange, #ff6600);
        color: #fff;
    }
    .mt-pro-modal-actions .is-secondary {
        background: transparent;
        border: 1px solid var(--border-subtle);
        color: var(--text-primary);
    }
    .mt-intel-side {
        display: flex; flex-direction: column; gap: 12px;
        position: sticky; top: 82px;
        max-height: calc(100vh - 96px); overflow-y: auto;
        padding-right: 2px;
        scrollbar-width: thin;
        scrollbar-color: var(--border-subtle) transparent;
    }
    .mt-intel-right {
        /* Evita card da IA pintar por cima do Desempenho (overflow:visible + sticky) */
        position: static;
        max-height: none;
        overflow: visible;
    }
    .mt-intel-right .intel-card {
        overflow: visible;
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }
    #intel-posrodada-card {
        overflow: visible;
        z-index: 1;
        margin-bottom: 0;
    }
    .mt-intel-side::-webkit-scrollbar { width: 4px; }
    .mt-intel-side::-webkit-scrollbar-thumb {
        background: var(--border-subtle); border-radius: 4px;
    }
    .mt-center { min-width: 0; display: flex; flex-direction: column; align-items: center; }

    .intel-side-label {
        display: flex; align-items: center; gap: 8px;
        font-size: 0.64rem; font-weight: 900; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 1.4px;
        padding: 0 2px 10px;
        border-bottom: 1px solid var(--border-subtle);
        margin-bottom: 2px;
    }
    .intel-side-label::before {
        content: ''; width: 8px; height: 8px; border-radius: 2px;
        background: var(--ds-verde, #009c3b);
        box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.18);
        flex-shrink: 0;
    }

    /* ===== Cards laterais — command center ===== */
    .intel-card {
        position: relative;
        background: var(--hub-surface-card, var(--bg-elevated));
        border: 1px solid var(--border-subtle);
        border-radius: 14px;
        padding: 14px 14px 18px;
        box-shadow: var(--hub-shadow);
        margin-bottom: 0;
        overflow: hidden;
    }
    .intel-card:has(.mt-ia-btns) {
        padding-bottom: 20px;
    }
    .intel-card::before {
        content: '';
        position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
        background: linear-gradient(180deg, var(--accent-orange, #ff6600), var(--ds-verde, #009c3b));
        opacity: 0.85;
    }
    .intel-panel-title {
        font-size: 0.64rem; font-weight: 900; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 1.15px; margin: 0 0 14px;
        display: flex; align-items: center; gap: 8px;
        padding-left: 4px;
    }
    .intel-panel-title svg {
        width: 14px; height: 14px; flex-shrink: 0;
        opacity: 0.9; stroke: var(--accent-orange, #ff6600);
    }

    /* Resumo — hero + KPIs (conteúdo centralizado) */
    .intel-card-resumo .intel-panel-title {
        justify-content: center;
        padding-left: 0;
        text-align: center;
    }
    .intel-card-resumo .intel-hero {
        text-align: center;
        padding: 6px 8px 14px;
        border-bottom: 1px solid var(--border-subtle);
        margin-bottom: 12px;
    }
    .intel-hero {
        text-align: center;
        padding: 6px 8px 14px;
        border-bottom: 1px solid var(--border-subtle);
        margin-bottom: 12px;
    }
    .intel-hero-label {
        font-size: 0.58rem; font-weight: 800; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 8px;
    }
    .intel-xpts-cap {
        font-size: 2.25rem; font-weight: 900; color: var(--ds-verde, #22c55e);
        line-height: 1; letter-spacing: -0.5px;
        font-variant-numeric: tabular-nums;
    }
    .intel-xpts-cap span {
        font-size: 0.72rem; color: var(--text-muted); font-weight: 800;
        letter-spacing: 0.4px; margin-left: 2px;
    }

    .intel-kpi-grid {
        display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    }
    .intel-kpi {
        background: var(--bg-secondary);
        border: 1px solid var(--border-subtle);
        border-radius: 10px;
        padding: 10px 11px;
        min-width: 0;
    }
    .intel-card-resumo .intel-kpi {
        display: flex; flex-direction: column; align-items: center;
        justify-content: center; text-align: center;
    }
    .intel-kpi-label {
        font-size: 0.55rem; font-weight: 800; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 0.5px;
        margin-bottom: 5px; line-height: 1.2;
    }
    .intel-card-resumo .intel-kpi-label,
    .intel-card-resumo .intel-kpi-val {
        text-align: center; width: 100%;
    }
    .intel-kpi-val {
        font-size: 1.05rem; font-weight: 900; color: var(--text-strong);
        line-height: 1.15; font-variant-numeric: tabular-nums;
        word-break: break-word;
    }
    .intel-kpi-val.is-green { color: var(--ds-verde, #10b981); }
    .intel-kpi-val.is-pos { color: #22c55e; }
    .intel-kpi-val.is-neg { color: #f87171; }
    .intel-kpi-val.is-zero { color: var(--text-muted); }

    .intel-kpi-duo {
        display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
        margin-top: 8px;
    }
    .intel-kpi-duo .intel-kpi {
        display: flex; flex-direction: column; justify-content: center;
        align-items: center; min-height: 72px; text-align: center;
    }
    .intel-tier-badge {
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.82rem; font-weight: 900; padding: 5px 10px;
        border-radius: 8px; letter-spacing: 0.3px; width: fit-content;
        margin: 2px auto 0;
    }
    .intel-mitar-val {
        font-size: 1.45rem; font-weight: 900; line-height: 1;
        font-variant-numeric: tabular-nums;
        color: var(--text-muted);
        text-align: center; width: 100%;
    }

    /* aliases de valor (JS className) */
    .intel-valor { font-size: 1.05rem; font-weight: 900; }
    .intel-valor.pos { color: #22c55e; }
    .intel-valor.neg { color: #f87171; }
    .intel-valor.zero { color: var(--text-muted); }

    /* Força por setor */
    .sector-row {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-subtle);
    }
    .sector-row:last-child { border-bottom: none; padding-bottom: 2px; }
    .sector-row:first-child { padding-top: 2px; }
    .sector-header {
        display: flex; align-items: baseline; justify-content: space-between;
        gap: 8px; margin-bottom: 7px;
    }
    .sector-label {
        display: inline-flex; align-items: center; gap: 7px;
        font-size: 0.7rem; font-weight: 900; color: var(--text-strong);
        letter-spacing: 0.6px;
    }
    .sector-dot {
        width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
        box-shadow: 0 0 0 2px color-mix(in srgb, var(--dot, #94a3b8) 25%, transparent);
    }
    .sector-vals {
        font-size: 0.62rem; font-weight: 700; color: var(--text-muted);
        line-height: 1.3; text-align: right; font-variant-numeric: tabular-nums;
    }
    .sector-vals .mine { color: var(--text-strong); font-weight: 900; }
    .sector-vals .delta-pos { color: #22c55e; font-weight: 800; }
    .sector-vals .delta-neg { color: #f87171; font-weight: 800; }
    .sector-bar-bg {
        width: 100%; height: 6px;
        background: color-mix(in srgb, var(--border-subtle) 80%, transparent);
        border-radius: 99px; overflow: hidden; position: relative;
    }
    .sector-bar-fill {
        height: 100%; border-radius: 99px;
        transition: width 0.45s cubic-bezier(0.4,0,0.2,1);
        opacity: 0.92;
    }
    .sector-bar-avg {
        position: absolute; top: -2px; bottom: -2px; width: 2px;
        background: #f59e0b; border-radius: 1px;
        box-shadow: 0 0 0 1px rgba(15,23,42,0.25);
    }
    .sector-meta {
        font-size: 0.58rem; color: var(--text-muted); margin-top: 5px; font-weight: 700;
        letter-spacing: 0.2px;
    }

    /* Desempenho */
    .desemp-list { display: flex; flex-direction: column; gap: 0; }
    .desemp-time-head {
        display: flex; align-items: center; gap: 10px;
        margin: 0 0 12px; padding: 10px 11px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-subtle);
        border-radius: 10px;
    }
    .desemp-time-escudo {
        width: 32px; height: 32px; object-fit: contain; flex-shrink: 0;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
    }
    .desemp-time-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    .desemp-time-nome {
        font-weight: 900; font-size: 0.82rem; color: var(--text-strong);
        line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .desemp-time-sub { font-size: 0.62rem; color: var(--text-muted); font-weight: 700; }
    .desemp-row {
        display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: baseline;
        padding: 9px 2px; border-bottom: 1px solid var(--border-subtle);
    }
    .desemp-row:last-child { border-bottom: none; }
    .desemp-pos { font-weight: 900; font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.4px; }
    .desemp-val { font-weight: 900; font-size: 0.95rem; color: var(--accent-orange, #ff6600); font-variant-numeric: tabular-nums; }
    .desemp-unit { font-size: 0.58rem; color: var(--text-muted); font-weight: 700; margin-left: 2px; }
    .desemp-empty, .desemp-insight {
        font-size: 0.72rem; line-height: 1.45; color: var(--text-muted); font-weight: 600;
        padding: 8px 0;
    }
    .desemp-insight {
        margin-top: 8px; padding: 10px 11px; border-radius: 10px;
        border: 1px solid var(--border-subtle);
        background: var(--bg-secondary);
    }
    .desemp-insight.neg {
        background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.28);
        color: var(--text-primary);
    }
    .desemp-insight.pos {
        background: rgba(0,156,59,0.08); border-color: rgba(0,156,59,0.28);
        color: var(--text-primary);
    }
    .desemp-insight.neutro { background: var(--bg-secondary); }
    .desemp-insight strong { color: var(--text-strong); }

    /* S4 — Pós-rodada */
    .posrodada-card-inner { margin-bottom: 4px; }
    .posrodada-head {
        display: flex; align-items: center; justify-content: center; gap: 10px;
        padding: 10px 12px; margin-bottom: 8px;
        border-radius: 10px;
        background: rgba(37,99,235,0.08);
        border: 1px solid rgba(37,99,235,0.22);
        text-align: center; flex-wrap: wrap;
    }
    .posrodada-kicker {
        font-size: 0.58rem; font-weight: 900; text-transform: uppercase;
        letter-spacing: 0.7px; color: var(--text-muted); margin-bottom: 2px;
        text-align: center;
    }
    .posrodada-title {
        font-size: 0.78rem; font-weight: 800; color: var(--text-strong); line-height: 1.25;
        text-align: center;
    }
    .posrodada-delta {
        flex-shrink: 0;
        min-width: 72px;
        text-align: center;
        font-size: 1.05rem; font-weight: 900;
        font-variant-numeric: tabular-nums; line-height: 1.05;
    }
    .posrodada-delta.pos { color: #16a34a; }
    .posrodada-delta.neg { color: #b91c1c; }
    .posrodada-delta.neu { color: var(--text-muted); }
    .posrodada-delta small {
        display: block; margin-top: 3px;
        font-size: 0.55rem; font-weight: 800; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 0.55px;
        text-align: center;
    }
    .posrodada-metrics {
        display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 8px;
    }
    .posrodada-metric {
        padding: 8px; border-radius: 8px; background: var(--bg-secondary);
        border: 1px solid var(--border-subtle); text-align: center;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
    }
    .posrodada-metric-title {
        display: block;
        font-size: 0.55rem; font-weight: 900; text-transform: uppercase;
        letter-spacing: 0.55px; color: var(--accent-orange, #ff6600);
        margin-bottom: 4px;
        text-align: center;
    }
    .posrodada-metric b {
        display: block; font-size: 0.9rem; font-weight: 900; color: var(--text-strong);
        font-variant-numeric: tabular-nums;
        text-align: center;
    }
    .posrodada-metric span {
        font-size: 0.55rem; font-weight: 800; text-transform: uppercase;
        letter-spacing: 0.4px; color: var(--text-muted);
        text-align: center;
    }
    .posrodada-insight {
        font-size: 0.7rem; font-weight: 600; color: var(--text-primary);
        line-height: 1.45; padding: 8px 10px; border-radius: 8px;
        background: var(--bg-secondary); border: 1px solid var(--border-subtle);
        margin-bottom: 0;
        white-space: pre-line;
    }
    .posrodada-ia {
        font-size: 0.66rem; font-weight: 600; color: var(--text-muted); line-height: 1.35;
    }
    .posrodada-empty {
        font-size: 0.72rem; color: var(--text-muted); font-weight: 600;
        text-align: center; padding: 12px 8px; line-height: 1.45;
    }

    /* Ganho no Time (S1) + sugestões */
    .ganho-time-head {
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
        padding: 10px 12px; margin-bottom: 10px;
        border-radius: 10px;
        background: rgba(34,197,94,0.10);
        border: 1px solid rgba(34,197,94,0.28);
    }
    .ganho-time-head.is-empty {
        background: var(--bg-secondary);
        border-color: var(--border-subtle);
    }
    .ganho-time-kicker {
        font-size: 0.58rem; font-weight: 900; text-transform: uppercase;
        letter-spacing: 0.7px; color: var(--text-muted); margin-bottom: 2px;
    }
    .ganho-time-title {
        font-size: 0.78rem; font-weight: 800; color: var(--text-strong); line-height: 1.25;
    }
    .ganho-time-delta {
        flex-shrink: 0;
        min-width: 72px;
        text-align: center;
        font-size: 1.05rem; font-weight: 900; color: #16a34a;
        font-variant-numeric: tabular-nums; line-height: 1;
    }
    .ganho-time-delta small {
        display: block; margin-top: 2px;
        font-size: 0.58rem; font-weight: 800; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 0.4px;
        text-align: center;
    }
    .sugestao-item {
        display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
        padding: 10px 11px; margin-bottom: 8px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-subtle);
        border-radius: 10px;
        transition: border-color 0.15s, background 0.15s;
    }
    .sugestao-item:hover {
        border-color: rgba(34,197,94,0.4);
        background: rgba(34,197,94,0.08);
    }
    .sugestao-item:last-of-type { margin-bottom: 12px; }
    .sugestao-main { min-width: 0; flex: 1; }
    .sugestao-pos {
        font-size: 0.58rem; font-weight: 900; color: var(--accent-orange, #ff6600);
        text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 3px;
    }
    .sugestao-text {
        font-size: 0.72rem; font-weight: 700; color: var(--text-primary); line-height: 1.35;
    }
    .sugestao-text strong { color: var(--text-strong); }
    .sugestao-frase {
        margin-top: 4px;
        font-size: 0.66rem; font-weight: 600; color: var(--text-muted); line-height: 1.35;
    }
    .sugestao-porque {
        margin-top: 3px;
        font-size: 0.66rem; font-weight: 600; color: var(--text-primary); line-height: 1.35;
    }
    .sugestao-porque span {
        font-weight: 900; text-transform: uppercase; letter-spacing: 0.45px;
        color: var(--accent-orange, #ff6600); margin-right: 4px; font-size: 0.58rem;
    }
    .sugestao-gain {
        flex-shrink: 0;
        font-size: 0.78rem; font-weight: 900; color: #16a34a;
        background: rgba(34,197,94,0.12);
        border: 1px solid rgba(34,197,94,0.28);
        border-radius: 8px;
        padding: 6px 8px;
        text-align: center;
        line-height: 1.2;
        min-width: 72px;
        font-variant-numeric: tabular-nums;
    }
    .sugestao-gain span {
        display: block;
        margin-top: 2px;
        font-size: 0.55rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        color: var(--text-muted);
        text-align: center;
    }
    .sugestao-budget {
        font-size: 0.66rem; color: var(--text-muted); font-weight: 700;
        line-height: 1.35; margin: 0 0 10px; padding: 8px 10px;
        border-radius: 8px; background: var(--bg-secondary);
        overflow-wrap: anywhere;
    }
    .sugestao-budget strong { color: var(--text-strong); }
    .sugestao-empty {
        font-size: 0.74rem; color: var(--text-muted); font-weight: 600;
        text-align: center; padding: 14px 10px 16px; line-height: 1.45;
        background: var(--bg-secondary); border: 1px dashed var(--border-subtle);
        border-radius: 10px; margin-bottom: 12px;
    }

    .mt-estrategia {
        display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap;
    }
    .mt-estrategia-chip {
        flex: 1 1 0; min-width: 0; padding: 8px 6px;
        border-radius: 8px; border: 1px solid var(--border-subtle);
        background: var(--bg-secondary); color: var(--text-muted);
        font-size: 0.58rem; font-weight: 800; text-transform: uppercase;
        letter-spacing: 0.3px; cursor: pointer; line-height: 1.2;
        transition: border-color 0.15s, background 0.15s, color 0.15s;
    }
    .mt-estrategia-chip:hover { border-color: color-mix(in srgb, var(--ds-brand-primary, #ff6600) 45%, transparent); color: var(--text-strong); }
    .mt-estrategia-chip.is-active {
        border-color: var(--ds-brand-primary, #ff6600);
        background: rgba(255, 102, 0, 0.14);
        color: var(--text-strong);
        box-shadow: 0 0 0 1px rgba(255, 102, 0, 0.22);
    }
    .mt-estrategia-hint {
        font-size: 0.62rem; font-weight: 600; color: var(--text-muted);
        margin: -4px 0 10px; line-height: 1.35;
    }

    .btn-otimizar-ia, .btn-escalacao-ia {
        width: 100%; padding: 15px 16px; border: none; border-radius: 10px;
        min-height: 52px;
        color: #fff; font-size: 0.72rem; font-weight: 900;
        text-transform: uppercase; letter-spacing: 0.55px;
        cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
        display: flex; align-items: center; justify-content: center; gap: 8px;
        box-sizing: border-box;
    }
    .mt-ia-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 6px;
    }
    .btn-otimizar-ia {
        background: var(--ds-brand-primary, #ff6600);
        box-shadow: 0 4px 14px rgba(255, 102, 0, 0.28);
    }
    .btn-escalacao-ia {
        background: transparent;
        color: var(--text-strong, #f8fafc);
        border: 1px solid var(--border-subtle, #343434);
        box-shadow: none;
    }
    .btn-otimizar-ia:hover:not(:disabled),
    .btn-escalacao-ia:hover:not(:disabled) {
        transform: translateY(-1px); filter: brightness(1.06);
    }
    .btn-otimizar-ia:hover:not(:disabled) { box-shadow: 0 6px 18px rgba(255, 102, 0, 0.36); }
    .btn-escalacao-ia:hover:not(:disabled) {
        border-color: var(--ds-brand-primary, #ff6600);
        background: rgba(255, 102, 0, 0.1);
        box-shadow: none;
        filter: none;
    }
    .btn-otimizar-ia:active:not(:disabled),
    .btn-escalacao-ia:active:not(:disabled) { transform: scale(0.98); }
    .btn-otimizar-ia:disabled,
    .btn-escalacao-ia:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

    .esc-ia-perfis { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
    .esc-ia-perfil {
        display: block; width: 100%; text-align: left; cursor: pointer;
        padding: 12px 14px; border-radius: 10px;
        border: 1px solid var(--border-subtle); background: var(--bg-secondary);
        transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    }
    .esc-ia-perfil:hover { border-color: color-mix(in srgb, var(--ds-brand-primary, #ff6600) 50%, transparent); }
    .esc-ia-perfil.is-active {
        border-color: var(--ds-brand-primary, #ff6600);
        background: rgba(255, 102, 0, 0.12);
        box-shadow: 0 0 0 1px rgba(255, 102, 0, 0.25);
    }
    .esc-ia-perfil-nome {
        font-size: 0.78rem; font-weight: 900; color: var(--text-strong);
        text-transform: uppercase; letter-spacing: 0.4px;
    }
    .esc-ia-perfil-desc {
        margin-top: 4px; font-size: 0.68rem; font-weight: 600;
        color: var(--text-muted); line-height: 1.4;
    }
    .esc-ia-pat {
        margin-bottom: 12px; font-size: 0.72rem; font-weight: 700;
        color: var(--text-muted);
    }
    .esc-ia-pat strong { color: var(--text-strong); }

    .intel-actions { display: flex; flex-direction: column; gap: 8px; }
    .intel-btn {
        width: 100%; padding: 11px 12px; border-radius: 10px;
        font-size: 0.7rem; font-weight: 800;
        text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer;
        transition: 0.15s; text-align: center; text-decoration: none;
        display: flex; align-items: center; justify-content: center; gap: 6px;
        border: 1px solid transparent;
    }
    .intel-btn-outline {
        background: transparent;
        border-color: rgba(239,68,68,0.4);
        color: #f87171;
    }
    .intel-btn-outline:hover { background: rgba(239,68,68,0.12); color: #fecaca; }
    .intel-btn-radar {
        background: var(--hub-surface-navy, #191970) !important;
        color: #fff !important; border: none !important;
    }
    .intel-btn-radar:hover { filter: brightness(1.08); color: #fff !important; }
    .intel-btn-ghost {
        background: var(--bg-secondary); border: 1px solid var(--border-subtle); color: var(--text-muted);
    }
    .intel-btn-ghost:hover { color: var(--text-strong); border-color: var(--accent-orange); }

    .risk-list { display: flex; flex-direction: column; gap: 8px; }
    .risk-player {
        display: flex; align-items: center; gap: 10px; padding: 10px 11px;
        background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.28); border-radius: 10px;
    }
    .risk-player img {
        width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
        border: 2px solid rgba(248,113,113,0.55); background: #1e293b;
    }
    .risk-player-info { flex: 1; min-width: 0; }
    .risk-player-name {
        font-size: 0.76rem; font-weight: 800; color: var(--text-strong);
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .risk-player-status { font-size: 0.62rem; font-weight: 700; color: #f87171; text-transform: uppercase; }
    .risk-player-xpts { font-size: 0.76rem; font-weight: 900; color: #fbbf24; }
    .risk-total {
        margin-top: 10px; padding: 10px 12px; border-radius: 10px;
        display: flex; justify-content: space-between; align-items: center;
        background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
    }
    .risk-total.high {
        background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.35);
        animation: pulse-risk 2s ease-in-out infinite;
    }
    @keyframes pulse-risk {
        0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.25); }
        50% { box-shadow: 0 0 0 5px rgba(239,68,68,0); }
    }
    .risk-total-label { font-size: 0.65rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; }
    .risk-total-val { font-size: 1.1rem; font-weight: 900; color: #fbbf24; }
    .risk-total.high .risk-total-val { color: #f87171; }
    .risk-empty { font-size: 0.76rem; color: #34d399; font-weight: 700; text-align: center; padding: 8px 0; }

    .modal-otimizar-overlay {
        position: fixed; inset: 0; background: rgba(8,12,20,0.72); z-index: 1100;
        display: flex; align-items: center; justify-content: center; padding: 20px;
        opacity: 0; visibility: hidden; transition: opacity 0.25s;
        backdrop-filter: blur(4px);
    }
    .modal-otimizar-overlay.active { opacity: 1; visibility: visible; }
    .modal-otimizar-content {
        background: var(--bg-elevated); border-radius: 16px; padding: 24px; width: 100%; max-width: 440px;
        box-shadow: 0 24px 64px rgba(0,0,0,0.45); border: 1px solid var(--border-subtle);
        color: var(--text-primary);
    }
    .modal-otimizar-title {
        font-size: 1rem; font-weight: 900; color: var(--text-strong); margin-bottom: 6px;
        text-transform: uppercase; letter-spacing: 0.5px;
    }
    .modal-otimizar-sub {
        font-size: 0.78rem; color: var(--text-muted); font-weight: 600; margin-bottom: 16px; line-height: 1.45;
    }
    .modal-otimizar-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; max-height: 320px; overflow-y: auto; }
    .modal-otimizar-item {
        display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px;
        background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: 10px; cursor: pointer;
        transition: border-color 0.15s, background 0.15s;
    }
    .modal-otimizar-item:has(input:checked) {
        background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.45);
    }
    .modal-otimizar-item input { margin-top: 3px; accent-color: #10b981; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
    .modal-otimizar-item-body { flex: 1; min-width: 0; }
    .modal-otimizar-item-text { font-size: 0.76rem; font-weight: 700; color: var(--text-primary); line-height: 1.35; }
    .modal-otimizar-item-gain { font-size: 0.82rem; font-weight: 900; color: #22c55e; margin-top: 4px; }
    .modal-otimizar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
    .modal-otimizar-btn {
        flex: 1; padding: 12px; border-radius: 10px; font-size: 0.78rem; font-weight: 800;
        text-transform: uppercase; letter-spacing: 0.4px; cursor: pointer; border: none; transition: 0.15s;
    }
    .modal-otimizar-btn-cancel {
        background: var(--bg-secondary); color: var(--text-muted); border: 1px solid var(--border-subtle);
    }
    .modal-otimizar-btn-cancel:hover { color: var(--text-strong); border-color: var(--accent-orange); }
    .modal-otimizar-btn-apply {
        background: var(--ds-brand-primary, #ff6600); color: #fff;
        box-shadow: 0 3px 12px rgba(255, 102, 0, 0.3);
    }
    .modal-otimizar-btn-apply:hover { box-shadow: 0 5px 18px rgba(255, 102, 0, 0.38); }
    .modal-otimizar-btn-apply:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

    /* Popovers auth (login / logout) — mesmo visual dos modais do Meu Time */
    .mt-popover-backdrop {
        position: fixed; inset: 0; z-index: 1090;
        background: rgba(8,12,20,0.45);
        backdrop-filter: blur(2px);
        opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity 0.18s, visibility 0.18s;
    }
    .mt-popover-backdrop.active {
        opacity: 1; visibility: visible; pointer-events: auto;
    }
    .mt-popover {
        position: fixed; z-index: 1105;
        background: var(--bg-elevated);
        border-radius: 16px; padding: 18px 18px 16px;
        width: min(360px, calc(100vw - 24px));
        box-shadow: 0 24px 64px rgba(0,0,0,0.45);
        border: 1px solid var(--border-subtle);
        color: var(--text-primary);
        opacity: 0; visibility: hidden; pointer-events: none;
        transform: translateY(4px);
        transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
    }
    .mt-popover.active {
        opacity: 1; visibility: visible; pointer-events: auto;
        transform: translateY(0);
    }
    /* Auth: modal central sem transform (hCaptcha quebra com transform no ancestral) */
    .mt-popover.mt-sync-modal {
        transform: none;
        width: min(420px, calc(100vw - 24px));
        max-height: min(92vh, 740px);
        overflow-x: visible;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mt-popover.mt-sync-modal.active {
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        margin: auto;
        height: fit-content;
        transform: none;
        visibility: visible;
    }
    #auth-hcaptcha {
        margin: 12px 0 8px;
        min-height: 78px;
        width: 100%;
        overflow: visible;
        display: flex;
        justify-content: center;
    }
    #auth-hcaptcha iframe {
        min-height: 78px;
        max-width: 100%;
    }
    .mt-popover .modal-otimizar-title { margin-bottom: 6px; }
    .mt-popover .modal-otimizar-sub { margin-bottom: 14px; }
    .mt-popover .modal-otimizar-actions { margin-top: 4px; }

    .mt-sync-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
    .mt-sync-tab {
        flex: 1; padding: 8px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 600;
        text-transform: none; letter-spacing: 0.01em; cursor: pointer;
        background: var(--bg-secondary); color: var(--text-muted); border: 1px solid var(--border-subtle);
        box-shadow: none;
    }
    .mt-sync-tab.active {
        color: #fff; border-color: var(--ds-brand-midnight, #191970);
        background: var(--ds-brand-midnight, #191970);
        box-shadow: none;
    }
    html[data-theme="dark"] .mt-sync-tab.active {
        color: #f8fafc;
        background: #161616;
        border-color: var(--accent-orange, #ff6600);
    }
    .mt-sync-hint {
        font-size: 0.7rem; color: var(--text-muted); font-weight: 600; line-height: 1.4; margin: 0 0 8px;
    }
    .mt-sync-panel { display: none; }
    .mt-sync-panel.active { display: block; }
    #sync-hcaptcha { margin: 12px 0 4px; min-height: 78px; }

    .pitch-board {
        background-color: var(--ds-pitch-fm, #0b1224);
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        padding: 32px 18px 16px;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        min-height: 660px; aspect-ratio: 68 / 105; max-height: 780px;
        display: flex; flex-direction: column; justify-content: stretch;
        gap: 0;
        position: relative; overflow: visible;
        align-self: stretch;
        flex: 0 0 auto;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    }
    .pitch-board::before {
        content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 42%; height: 42%;
        background: url('/static/logo.png') no-repeat center center;
        background-size: contain; opacity: 0.25; mix-blend-mode: screen;
        z-index: 2; pointer-events: none;
    }
    .pitch-board .ds-pitch-fm-mark {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: fill;
        pointer-events: none;
        z-index: 0;
        border-radius: inherit;
        display: block;
    }
    .pitch-board::after {
        content: none;
        display: none;
    }
    .pitch-row {
        flex: 1 1 0;
        display: flex; align-items: flex-start; justify-content: space-evenly;
        width: 100%; z-index: 3; margin: 0; position: relative;
        min-height: 0;
    }
    .pitch-row.slots-1 { justify-content: center; padding: 0 28%; }
    .pitch-row.slots-2 { justify-content: space-evenly; padding: 0 16%; }
    .pitch-row.slots-3 { justify-content: space-evenly; padding: 0 5%; }
    .pitch-row.slots-4 { justify-content: space-between; padding: 0 3%; }
    .pitch-row.slots-5 { justify-content: space-between; padding: 0 1.5%; }
    .pitch-row.pitch-line-0 { padding-top: 6px; } /* ATA / linha alta */
    .pitch-row.pitch-bottom {
        flex: 0.62 1 0;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        padding: 0 4% 0;
        margin-bottom: -6px;
        width: 100%;
        box-sizing: border-box;
        position: relative;
    }
    .pitch-bottom-spacer,
    .pitch-bottom-tec {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        align-items: flex-end;
    }
    .pitch-bottom-tec { justify-content: flex-end; z-index: 4; }
    .pitch-bottom-gol { flex: 0 0 auto; }

    /* ===== Cards campinho/banco — avatar + bolha (estilo Cartola moderno) ===== */
    /* NUNCA translateY/scale no root do card no hover: move o hitbox e gera
       loop mouseenter/mouseleave (avatar “tremendo” infinito). */
    .player-card-on-pitch {
        width: 96px; position: relative; cursor: pointer;
        transition: filter 0.15s;
        z-index: 4; background: transparent; border: none; border-radius: 0;
        box-shadow: none;
        display: flex; flex-direction: column; align-items: center;
        overflow: visible; padding-top: 28px;
        flex-shrink: 0;
        transform: none !important;
    }
    .player-card-on-pitch:hover { filter: brightness(1.06); }
    .player-card-on-pitch:hover .pc-avatar-ring {
        box-shadow: 0 0 0 2.5px rgba(255,255,255,0.95), 0 6px 14px rgba(15,23,42,0.35);
    }
    .player-card-on-pitch:active { filter: brightness(0.96); }

    .pc-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);
        /* Mesmo tamanho da badge de valorização (.pc-badge-val) */
        font-size: 9.5px; font-weight: 900; line-height: 1;
        padding: 3px 6px 4px; border-radius: 6px;
        box-shadow: 0 3px 10px rgba(15,23,42,0.22);
        white-space: nowrap; z-index: 6;
        pointer-events: none;
        max-width: none;
    }
    .pc-bubble::after {
        content: ''; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
        border: 5px solid transparent; border-top-color: var(--bg-elevated, #fff); border-bottom: 0;
    }
    .pc-bubble-val { letter-spacing: -0.2px; }
    .pc-bubble-val-arrow {
        display: inline-block;
        width: 0.62em;
        height: 0.62em;
        margin-left: 3px;
        flex-shrink: 0;
        vertical-align: -0.06em;
        border-style: solid;
        border-width: 0;
        box-sizing: border-box;
    }
    /* ↗ — canto sup-dir, sem emoji */
    .pc-bubble-val-arrow.up {
        color: #16a34a;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(-45deg) translateY(0.04em);
    }
    /* ↘ — canto inf-dir, sem emoji */
    .pc-bubble-val-arrow.down {
        color: #ef4444;
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg) translateY(-0.04em);
    }
    .pc-bubble:has(.pc-bubble-cap) {
        width: max-content;
        max-width: none;
        align-items: center;
        font-size: 9.5px;
        gap: 2px;
        padding: 3px 5px 4px;
        border-radius: 8px;
    }
    .pc-bubble-unit {
        font-size: 8px; font-weight: 800; color: var(--text-muted, #64748b);
        letter-spacing: 0.15px; text-transform: none;
    }

    .pc-avatar-wrap {
        position: relative; width: 58px; height: 58px; flex-shrink: 0;
        filter: drop-shadow(0 4px 10px rgba(15,23,42,0.35));
        overflow: visible;
    }
    .pc-avatar-ring {
        width: 58px; height: 58px; border-radius: 50%;
        border: 2.5px solid #fff;
        background: #1e293b;
        overflow: hidden;
        box-shadow: 0 0 0 1.5px rgba(15,23,42,0.15);
    }
    /* Contorno = status do jogador */
    .pc-avatar-ring.status-ok { box-shadow: 0 0 0 2.5px #22c55e; }
    .pc-avatar-ring.status-warn { box-shadow: 0 0 0 2.5px #eab308; }
    .pc-avatar-ring.status-bad { box-shadow: 0 0 0 2.5px #ef4444; }
    .pc-avatar-ring.status-nulo { box-shadow: 0 0 0 2.5px #94a3b8; }

    .pc-photo-wrapper { display: none; }
    .pc-photo {
        width: 100%; height: 100%;
        object-fit: cover; object-position: center 18%;
        display: block;
    }
    .pc-photo.pc-tecnico {
        object-fit: contain; object-position: center center;
        background: #0f172a;
    }
    .pc-escudo {
        position: absolute; right: -2px; bottom: -2px;
        width: 22px; height: 22px; border-radius: 50%;
        background: #fff; padding: 1px;
        box-shadow: 0 2px 6px rgba(15,23,42,0.35);
        z-index: 8; object-fit: contain;
    }
    .pc-name {
        margin-top: 0; max-width: 110px; min-height: 0;
        background: transparent; color: #fff;
        font-size: 12.5px; font-weight: 800; text-transform: none;
        text-align: center; padding: 0 1px;
        white-space: normal; overflow: visible; text-overflow: unset;
        letter-spacing: -0.12px; line-height: 1.15;
        text-shadow: 0 1px 3px rgba(0,0,0,0.55);
        display: block;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: none;
        -webkit-hyphens: none;
    }
    .pc-identity {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
        text-align: center;
    }
    .pc-mpv {
        display: inline-flex; align-items: center; justify-content: center;
        align-self: center;
        height: 15px; padding: 0 6px; margin-top: 2px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.72);
        border: 1px solid rgba(251, 191, 36, 0.55);
        color: #fde68a;
        font-size: 9px; font-weight: 800; letter-spacing: 0.02em;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
        line-height: 1;
        text-shadow: none;
        box-shadow: 0 1px 3px rgba(0,0,0,0.28);
    }
    .bench-board .pc-mpv {
        background: rgba(15, 23, 42, 0.08);
        color: #b45309;
        border-color: rgba(217, 119, 6, 0.35);
    }

    .pc-badge-cap, .pc-badge-luxo {
        position: absolute; z-index: 9;
        width: 18px; height: 18px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        border: 1.5px solid #fff; color: #fff; font-weight: 900;
        box-shadow: 0 2px 5px rgba(15,23,42,0.35); line-height: 1;
    }
    .pc-badge-cap { top: -2px; left: -4px; background: #f97316; font-size: 10px; }
    .pc-badge-luxo {
        top: -2px; left: -4px;
        width: 18px; height: 16px;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        line-height: 0;
    }
    .pc-badge-luxo .pc-luxo-ico {
        width: 18px; height: 16px; display: block;
    }
    /* Luxo + C no mesmo avatar: C fica no topo-esq; luxo no canto livre (baixo-esq; escudo é baixo-dir) */
    .pc-badge-luxo.with-cap { top: auto; bottom: -2px; left: -4px; }
    .pc-badge-val {
        position: relative; z-index: 5;
        display: inline-flex; align-items: center; justify-content: center;
        width: auto; min-width: 0; height: 16px;
        margin-top: 0;
        padding: 0 5px;
        font-size: 9.5px; font-weight: 900;
        border-radius: 4px; letter-spacing: -0.02em;
        white-space: nowrap; font-variant-numeric: tabular-nums;
        border: 1.5px solid #fff; color: #fff;
        box-shadow: 0 2px 5px rgba(15,23,42,0.28);
        line-height: 1;
        left: auto; right: auto; top: auto; transform: none;
        flex-shrink: 0;
    }
    .pc-badge-val.up { background: #16a34a; }
    .pc-badge-val.down { background: #ef4444; }
    .pc-badge-val.flat { background: #eab308; }
    .pc-badge-val .pc-val-txt { line-height: 1; }
    /* Ícone banco de praça — não atuou / suspenso / lesionado / nulo */
    .pc-badge-val.banco {
        background: transparent;
        border: none;
        box-shadow: none;
        height: auto;
        min-height: 0;
        padding: 1px 0 0;
        color: rgba(255, 255, 255, 0.92);
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
    }
    .bench-board .pc-badge-val.banco {
        color: var(--text-muted, #64748b);
        filter: none;
    }
    .pc-badge-val.banco svg {
        width: 18px; height: 18px; display: block;
    }

    .pc-bubble-cap {
        display: inline-flex; align-items: baseline; gap: 3px;
        flex-wrap: nowrap; max-width: none; flex-shrink: 0;
    }
    .pc-bubble-cap .pc-bubble-raw { font-weight: 800; opacity: 0.92; }
    .pc-bubble-cap .pc-bubble-mult {
        font-size: 0.62em; font-weight: 900; opacity: 0.85;
        letter-spacing: 0.02em;
    }
    .pc-bubble-cap .pc-bubble-bonus { font-weight: 900; }

    .mt-scout-val-badge {
        position: absolute; top: 10px; left: 10px; z-index: 2;
        display: none; align-items: center; justify-content: center;
        min-height: 22px; padding: 3px 7px; border-radius: 6px;
        border: 1.5px solid rgba(255,255,255,0.85);
        color: #fff; font-weight: 900; font-size: 0.68rem;
        font-variant-numeric: tabular-nums;
        box-shadow: 0 2px 6px rgba(15,23,42,0.35);
        line-height: 1;
    }
    .mt-scout-val-badge.visible { display: inline-flex; }
    .mt-scout-val-badge.up { background: #16a34a; }
    .mt-scout-val-badge.down { background: #ef4444; }
    .mt-scout-val-badge.flat { background: #eab308; }

    .card-capitao .pc-name { color: #fff; font-weight: 900; }
    .card-luxo .pc-name { color: #fde68a; }

    /* Banco — mesmas superfícies do hub (dark/light) */
    .bench-board .player-card-on-pitch { width: 84px; }
    .bench-board .pc-name {
        color: var(--text-muted); text-shadow: none; font-size: 11.5px; font-weight: 800;
        text-transform: none; letter-spacing: -0.1px; max-width: 96px;
    }
    .bench-board .card-luxo .pc-name { color: #fbbf24; }
    .bench-board .pc-bubble {
        background: var(--bg-elevated);
        color: var(--text-strong);
        box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    }
    .bench-board .pc-bubble-unit { color: var(--text-muted); }
    .bench-board .pc-bubble::after { border-top-color: var(--bg-elevated); }

    .badge-right, .badge-left { display: none; }

    .empty-slot { box-shadow: none; cursor: pointer; transition: filter 0.15s; padding-top: 22px; }
    .empty-slot .pc-avatar-wrap { filter: none; }
    .empty-slot .pc-avatar-ring {
        background: rgba(15,23,42,0.35);
        border: 2px dashed rgba(255,255,255,0.7);
        box-shadow: none;
        display: flex; align-items: center; justify-content: center;
    }
    .empty-slot-pitch:hover { filter: brightness(1.08); }
    .empty-slot-pitch:hover .pc-avatar-ring { background: rgba(15,23,42,0.5); border-color: #fff; }
    .empty-slot-bench .pc-avatar-ring {
        background: var(--bg-secondary);
        border: 2px dashed var(--border-subtle);
    }
    .empty-slot-bench:hover { filter: brightness(1.08); }
    .empty-slot-bench:hover .pc-avatar-ring {
        border-color: var(--accent-orange, #ff6600);
        background: var(--bg-elevated);
    }
    .empty-slot-pitch .pc-name { color: rgba(255,255,255,0.88); }
    .empty-slot-bench .pc-name { color: var(--text-muted); text-shadow: none; }
    .empty-plus { font-size: 22px; font-weight: 900; line-height: 1; color: rgba(255,255,255,0.75); }
    .empty-slot-bench .empty-plus { color: var(--text-muted); font-size: 20px; }
    .empty-slot-disabled {
        cursor: not-allowed !important; opacity: 0.45; pointer-events: none;
    }
    .empty-slot-disabled:hover { filter: none !important; }
    .empty-slot-pitch.empty-slot-disabled .pc-avatar-ring {
        border-color: rgba(255,255,255,0.35); background: rgba(15,23,42,0.2);
    }

    .bench-title {
        text-align: center;
        color: var(--text-muted);
        font-size: 0.68rem; font-weight: 900;
        margin: 14px 0 10px;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 10px;
        text-transform: uppercase; letter-spacing: 1.2px;
    }
    .bench-board {
        display: flex; justify-content: center;
        padding: 10px 6px 8px; flex-wrap: wrap; gap: 10px;
        background: transparent;
        border-radius: 0;
        border: none;
    }

    .mt-empty {
        text-align: center; color: var(--text-muted); padding: 24px 20px; font-size: 0.85rem;
        background: var(--hub-surface-card, var(--bg-elevated));
        border: 1px dashed var(--border-subtle); border-radius: 10px; margin-top: 16px;
        max-width: 540px; width: 100%;
    }

    .action-sheet-overlay,
    .action-sheet-content,
    .as-header,
    .as-foto,
    .as-btn { display: none !important; }

    /* Popover pequeno legado — mantido oculto; info vai no modal scout */
    .pc-menu-backdrop {
        position: fixed; inset: 0; z-index: 1200;
        background: transparent;
        display: none;
    }
    .pc-menu-backdrop.open { display: block; }
    .pc-menu {
        position: fixed; z-index: 1201;
        min-width: 168px; max-width: 220px;
        padding: 6px;
        border-radius: 12px;
        background: var(--bg-elevated, #1e293b);
        border: 1px solid var(--border-subtle);
        box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
        display: none;
        flex-direction: column; gap: 4px;
        transform-origin: top center;
        animation: pc-menu-in 0.14s ease-out;
    }
    .pc-menu.open { display: flex; }

    /* ===== Modal Scout Meu Time — base mínima (premium.css refina) ===== */
    .mt-scout-overlay {
        position: fixed; inset: 0; z-index: 1300;
        display: none;
        align-items: center; justify-content: center;
        padding: 16px;
        box-sizing: border-box;
    }
    .mt-scout-overlay.open { display: flex; }
    .mt-scout-modal {
        overflow: hidden;
        display: flex; flex-direction: column;
    }
    .mt-scout-head { position: relative; }
    .mt-scout-close {
        position: absolute;
        cursor: pointer;
        display: inline-flex; align-items: center; justify-content: center;
    }
    .mt-scout-body {
        overflow-y: auto;
        flex: 1 1 auto;
    }
    .mt-scout-section-lbl {
        margin: 0 0 8px;
        font-size: 0.68rem; font-weight: 700;
        color: var(--text-muted);
    }
    .mt-scout-foot .pc-menu-btn { cursor: pointer; text-decoration: none; }

    .pc-menu-btn {
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
        width: 100%; padding: 9px 10px; border-radius: 8px;
        border: 1px solid transparent; cursor: pointer;
        background: transparent; color: var(--text-primary);
        font-size: 0.72rem; font-weight: 800; text-align: left;
        transition: background 0.12s, border-color 0.12s;
    }
    .pc-menu-btn:hover { background: var(--bg-secondary); border-color: var(--border-subtle); }
    .pc-menu-btn.is-cap { color: #fb923c; }
    .pc-menu-btn.is-cap:hover { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.35); }
    .pc-menu-btn.is-luxo { color: #fbbf24; }
    .pc-menu-btn.is-luxo:hover { background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.3); }
    .pc-menu-btn.is-rem { color: #f87171; }
    .pc-menu-btn.is-rem:hover { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.35); }
    .pc-menu-ico {
        width: 20px; height: 20px; border-radius: 5px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 11px; font-weight: 900; flex-shrink: 0; color: #fff;
    }
    .pc-menu-ico.cap { background: #f97316; }
    .pc-menu-ico.luxo { background: transparent; }
    .pc-menu-ico.luxo .pc-luxo-ico-btn { width: 16px; height: 14px; display: block; }
    .pc-menu-ico.rem { background: rgba(239,68,68,0.85); }

    .mt-budget {
        display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
        margin-top: 6px; font-size: 0.72rem; font-weight: 700; color: var(--text-muted);
    }
    .mt-budget strong { color: var(--text-strong); font-variant-numeric: tabular-nums; }
    .mt-budget.is-over strong { color: #f87171; }
    .mt-budget-pill {
        font-size: 0.58rem; font-weight: 900; letter-spacing: 0.4px; text-transform: uppercase;
        padding: 3px 7px; border-radius: 999px;
        background: rgba(0,156,59,0.12); color: #34d399;
        border: 1px solid rgba(0,156,59,0.28);
    }
    .mt-budget.is-over .mt-budget-pill {
        background: rgba(239,68,68,0.12); color: #f87171;
        border-color: rgba(239,68,68,0.3);
    }

    @media (max-width: 1200px) {
        /* legado: tablet fino — sobrescrito por min-width 769 abaixo quando aplicável */
        .mt-intel-side { position: static; max-height: none; }
    }
    @media (max-width: 768px) {
        .mt-layout {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .mt-center { order: 1; width: 100%; }
        .mt-intel-left { order: 2; width: 100%; }
        .mt-intel-right { order: 3; width: 100%; }
        .mt-page { padding: 14px 12px 36px; max-width: 100%; overflow-x: hidden; }
        .mt-header {
            flex-direction: column;
            align-items: stretch;
            gap: 12px;
            margin-bottom: 14px;
        }
        .mt-toolbar {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            width: 100%;
        }
        /* Legado: só a toolbar antiga (escondida). NÃO esticar ícones da pitch-toolbar. */
        .mt-toolbar .mt-btn-sync,
        .mt-toolbar .mt-btn-enviar,
        .mt-toolbar .mt-formacao {
            width: 100%;
            justify-content: center;
            min-height: 44px;
            box-sizing: border-box;
        }
        .mt-toolbar .mt-formacao { grid-column: 1 / -1; }
        .mt-auth-chip {
            grid-column: 1 / -1;
            justify-content: center;
            width: 100%;
            box-sizing: border-box;
        }
        .mt-intel-side {
            position: static;
            max-height: none;
            overflow: visible;
            padding: 0;
            width: 100%;
            min-width: 0;
        }
        .mt-board-wrap {
            max-width: 100%;
            width: 100%;
            padding: 12px 8px 14px;
            overflow: visible;
            box-sizing: border-box;
        }
        .pitch-board {
            min-height: 580px;
            height: auto;
            aspect-ratio: auto;
            max-height: none;
            padding: 28px 6px 14px;
            border-radius: 12px;
            gap: 4px;
        }
        .pitch-row { gap: 4px; margin: 0; }
        .pitch-row.slots-1 { padding: 0 22%; }
        .pitch-row.slots-2 { padding: 0 12%; }
        .pitch-row.slots-3 { padding: 0 4%; }
        .pitch-row.slots-4 { padding: 0 2%; }
        .pitch-row.slots-5 { padding: 0 1%; }
        .pitch-row.pitch-bottom {
            padding: 0 2% 4px;
        }
        .player-card-on-pitch {
            width: 78px;
            max-width: none;
            padding-top: 24px;
            flex-shrink: 0;
        }
        .pc-avatar-wrap, .pc-avatar-ring { width: 52px; height: 52px; }
        .pc-escudo { width: 18px; height: 18px; }
        .pc-bubble {
            font-size: 9.5px;
            padding: 3px 6px 4px;
            max-width: none;
        }
        .pc-bubble:has(.pc-bubble-cap) {
            width: max-content;
            max-width: none;
            font-size: 9px;
            padding: 2px 5px 3px;
            gap: 1px;
            border-radius: 7px;
        }
        .pc-bubble-cap { gap: 2px; }
        .pc-bubble-cap .pc-bubble-mult { font-size: 0.58em; }
        .pc-bubble-unit { font-size: 8px; }
        .pc-name {
            max-width: 86px;
            font-size: 11.5px;
            line-height: 1.18;
            -webkit-line-clamp: unset;
            display: block;
            overflow: visible;
            text-overflow: unset;
        }
        .pc-badge-val { font-size: 9.5px; height: 16px; }
        .pc-mpv { font-size: 8.5px; height: 14px; padding: 0 5px; }
        .pc-badge-val.banco { height: auto; }
    .bench-title { font-size: 0.72rem; margin: 14px 0 10px; text-align: center; }
    .bench-board {
        gap: 8px 4px;
        justify-content: space-between;
        flex-wrap: nowrap;
        overflow-x: visible;
        padding: 8px 4px 6px;
        background: transparent;
        border: none;
    }
        .bench-board .player-card-on-pitch {
            width: auto;
            max-width: 64px;
            flex: 1 1 0;
            min-width: 0;
        }
        .intel-card {
            padding: 14px 12px 14px 14px;
            border-radius: 12px;
        }
        .intel-side-label { font-size: 0.62rem; }
        .intel-xpts-cap { font-size: 1.7rem; }
        .intel-kpi { padding: 10px 8px; }
        .intel-kpi-val { font-size: 0.95rem; }
        .intel-mitar-val { font-size: 1.25rem; }
        .btn-otimizar-ia, .btn-escalacao-ia, .intel-btn {
            min-height: 44px;
            font-size: 0.72rem;
            padding: 12px 10px;
        }
        .pc-menu {
            max-width: calc(100vw - 16px);
            width: min(220px, calc(100vw - 16px));
        }
        .modal-otimizar-overlay { padding: 12px; align-items: flex-end; }
        .modal-otimizar-content {
            max-width: 100%;
            max-height: min(88vh, 760px);
            overflow-y: auto;
            padding: 18px 14px;
            border-radius: 14px 14px 0 0;
        }
        .mt-sync-modal { width: 96%; max-width: 100%; padding: 16px; }
        .mt-confronto-banner { font-size: 12px; padding: 10px; }
        .mt-stats, .mt-budget {
            font-size: 0.74rem;
            line-height: 1.4;
            overflow-wrap: anywhere;
        }
    }

    /* iPhone XR / estreito — campinho mais alto, cards tocáveis */
    @media (max-width: 430px) {
        .mt-page { padding: 12px 10px 32px; }
        .mt-title { font-size: 1.2rem; }
        .mt-subtitle { font-size: 0.76rem; }
        .pitch-board {
            min-height: 620px;
            padding: 26px 4px 12px;
        }
        .player-card-on-pitch {
            width: 72px;
            padding-top: 22px;
        }
        .pc-avatar-wrap, .pc-avatar-ring { width: 48px; height: 48px; }
        .pc-name {
            max-width: 78px; font-size: 11px;
            display: block; overflow: visible; text-overflow: unset;
            -webkit-line-clamp: unset;
        }
        .pc-bubble { font-size: 9.5px; max-width: none; }
        .pc-bubble:has(.pc-bubble-cap) {
            width: max-content;
            max-width: none;
            font-size: 8.5px;
            padding: 2px 4px 3px;
            gap: 1px;
            border-radius: 7px;
        }
        .pc-bubble-cap { gap: 2px; }
        .pc-bubble-cap .pc-bubble-mult { font-size: 0.55em; }
        .pc-bubble-unit { font-size: 8px; }
        .pitch-row.slots-5 { padding: 0; justify-content: space-between; }
        .bench-board .player-card-on-pitch {
            width: auto;
            max-width: 62px;
            flex: 1 1 0;
            min-width: 0;
        }
        .mt-mercado-budget { white-space: normal; }
    }

    /* === Side panels: compact fit / no clip (desktop / tablet largo) === */
    @media (min-width: 769px) {
        .mt-layout {
            grid-template-columns: minmax(280px, 26%) minmax(400px, 1fr) minmax(280px, 26%);
            gap: 16px;
        }
        .mt-intel-side {
            gap: 10px;
            top: 76px;
            max-height: calc(100vh - 88px);
            overflow-x: hidden;
            overflow-y: auto;
            padding: 0 4px 24px 0;
            min-width: 0;
        }
        .mt-intel-side::-webkit-scrollbar { width: 5px; }
    }
    .intel-side-label { font-size: 0.6rem; letter-spacing: 1.1px; padding-bottom: 8px; }
    .intel-card {
        overflow: visible !important;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 12px 12px 14px;
        border-radius: 12px;
    }
    .intel-card::before { top: 10px; bottom: 10px; border-radius: 0 2px 2px 0; }
    .intel-panel-title { font-size: 0.6rem; letter-spacing: 0.9px; margin-bottom: 10px; }
    .intel-hero { padding: 2px 4px 10px; margin-bottom: 10px; }
    .intel-hero-label { font-size: 0.55rem; margin-bottom: 6px; }
    .intel-xpts-cap {
        font-size: clamp(1.4rem, 2.4vw, 1.8rem);
        line-height: 1.15;
        overflow-wrap: anywhere;
    }
    .intel-xpts-cap span { font-size: 0.65rem; }
    .intel-kpi-grid, .intel-kpi-duo { gap: 6px; }
    .intel-kpi-duo { margin-top: 6px; }
    .intel-kpi { padding: 8px 9px; border-radius: 9px; overflow: visible; }
    .intel-kpi-duo .intel-kpi { min-height: 0; gap: 4px; }
    .intel-card-resumo .intel-panel-title { justify-content: center; padding-left: 0; }
    .intel-card-resumo .intel-kpi {
        align-items: center; text-align: center;
    }
    .intel-card-resumo .intel-kpi-label,
    .intel-card-resumo .intel-kpi-val,
    .intel-card-resumo .intel-mitar-val { text-align: center; width: 100%; }
    .intel-card-resumo .intel-tier-badge { margin-left: auto; margin-right: auto; }
    .intel-kpi-label {
        font-size: 0.52rem; letter-spacing: 0.3px; margin-bottom: 4px;
        overflow-wrap: anywhere; line-height: 1.25;
    }
    .intel-kpi-val {
        font-size: clamp(0.82rem, 1.4vw, 0.95rem);
        line-height: 1.2; overflow-wrap: anywhere;
    }
    .intel-tier-badge {
        font-size: 0.7rem; padding: 4px 8px; max-width: 100%;
        overflow-wrap: anywhere; line-height: 1.2;
    }
    .intel-mitar-val { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.15; }
    .intel-valor { font-size: inherit; }
    .sector-row { padding: 8px 0; }
    .sector-header { align-items: flex-start; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
    .sector-label { font-size: 0.66rem; }
    .sector-vals {
        font-size: 0.6rem; max-width: 100%; overflow-wrap: anywhere; margin-left: auto;
    }
    .sector-bar-bg { height: 5px; }
    .sector-meta { font-size: 0.55rem; margin-top: 4px; }
    .desemp-time-head { gap: 8px; padding: 8px 9px; margin-bottom: 10px; min-width: 0; }
    .desemp-time-escudo { width: 28px; height: 28px; }
    .desemp-time-meta { flex: 1; min-width: 0; }
    .desemp-time-nome {
        font-size: 0.75rem; white-space: normal; overflow: visible; text-overflow: unset;
        overflow-wrap: anywhere; word-break: break-word;
    }
    .desemp-time-sub { font-size: 0.58rem; line-height: 1.3; }
    .desemp-row {
        grid-template-columns: 36px minmax(0, 1fr) auto; gap: 6px; padding: 7px 0; min-width: 0;
    }
    .desemp-pos { font-size: 0.64rem; }
    .desemp-val { font-size: 0.86rem; min-width: 0; overflow-wrap: anywhere; }
    .desemp-unit { font-size: 0.55rem; white-space: nowrap; }
    .desemp-empty, .desemp-insight { font-size: 0.68rem; overflow-wrap: anywhere; }
    .desemp-insight { padding: 9px 10px; }
    .sugestao-item {
        align-items: flex-start; gap: 8px; padding: 9px 10px; margin-bottom: 7px;
        flex-wrap: wrap; min-width: 0;
    }
    .sugestao-main { flex: 1 1 140px; }
    .sugestao-text {
        font-size: 0.68rem; line-height: 1.4; overflow-wrap: anywhere; word-break: break-word;
    }
    .sugestao-frase { font-size: 0.62rem; }
    .sugestao-porque { font-size: 0.62rem; }
    .sugestao-gain { font-size: 0.72rem; padding: 5px 7px; min-width: 64px; align-self: center; }
    .sugestao-empty { font-size: 0.68rem; padding: 12px 8px; overflow-wrap: anywhere; }
    .ganho-time-head { padding: 9px 10px; margin-bottom: 8px; }
    .ganho-time-title { font-size: 0.7rem; }
    .ganho-time-delta { font-size: 0.92rem; }
    .btn-otimizar-ia, .btn-escalacao-ia {
        font-size: 0.66rem; letter-spacing: 0.35px; padding: 13px 12px;
        min-height: 46px; line-height: 1.25; box-sizing: border-box;
    }
    .intel-btn {
        font-size: 0.64rem; letter-spacing: 0.35px; padding: 10px;
        line-height: 1.25; box-sizing: border-box;
    }
    .risk-player-name {
        white-space: normal; overflow: visible; text-overflow: unset; overflow-wrap: anywhere;
    }
    @media (min-width: 769px) and (max-width: 1200px) {
        .mt-layout {
            grid-template-columns: 1fr 1fr;
            grid-template-areas:
                "center center"
                "left right";
        }
        .mt-center { grid-area: center; }
        .mt-intel-left { grid-area: left; }
        .mt-intel-right { grid-area: right; }
        .mt-intel-side { max-height: none; position: static; }
    }

    .mt-confronto-banner {
        margin-top: 12px;
        padding: 12px 14px;
        border-radius: 10px;
        background: color-mix(in srgb, var(--hub-surface-navy, #191970) 12%, transparent);
        border: 1px solid color-mix(in srgb, var(--accent-orange, #ff6600) 28%, var(--border-subtle));
        font-size: 13px;
        color: var(--text-primary);
    }
    .mt-confronto-banner strong { color: var(--text-strong); }
    .mt-confronto-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .mt-confronto-pick {
        font-size: 11px;
        font-weight: 700;
        padding: 5px 10px;
        border-radius: 6px;
        background: var(--bg-elevated);
        border: 1px solid var(--border-subtle);
        color: var(--text-primary);
    }

    /* ===== Mercado Picker modal ===== */
    .mt-mercado-overlay {
        position: fixed; inset: 0; z-index: 1300;
        display: flex; align-items: center; justify-content: center;
        padding: 20px;
        background: rgba(8, 12, 20, 0.72);
        backdrop-filter: blur(4px);
        opacity: 0; visibility: hidden;
        transition: opacity 0.2s, visibility 0.2s;
    }
    .mt-mercado-overlay.open { opacity: 1; visibility: visible; }
    .mt-mercado-panel {
        position: relative;
        width: min(920px, 100%);
        max-height: min(88vh, 820px);
        display: flex; flex-direction: column;
        background: var(--hub-surface-card, var(--bg-elevated));
        border: 1px solid var(--border-subtle);
        border-radius: 16px;
        box-shadow: 0 24px 64px rgba(0,0,0,0.45);
        overflow: hidden;
        color: var(--text-primary);
    }
    .mt-mercado-head {
        position: relative;
        display: flex; flex-direction: column; align-items: center;
        justify-content: center; text-align: center;
        gap: 6px; padding: 18px 48px 14px;
        border-bottom: 1px solid var(--border-subtle);
        flex-shrink: 0;
    }
    .mt-mercado-title {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        font-size: 0.95rem; font-weight: 900; color: var(--text-strong);
        letter-spacing: 0.2px; margin: 0; line-height: 1.25;
    }
    .mt-mercado-bra {
        width: 28px; height: 28px; object-fit: contain; flex-shrink: 0;
    }
    .mt-mercado-sub {
        font-size: 0.72rem; font-weight: 600; color: var(--text-muted); line-height: 1.4;
        max-width: 36rem;
    }
    .mt-mercado-close {
        position: absolute; top: 12px; right: 12px;
        width: 36px; height: 36px; border-radius: 8px;
        border: 1px solid var(--border-subtle); background: var(--bg-secondary);
        color: var(--text-muted); font-size: 1.25rem; font-weight: 700;
        cursor: pointer; line-height: 1;
    }
    .mt-mercado-close:hover { color: var(--text-strong); border-color: var(--accent-orange); }
    .mt-mercado-toolbar {
        display: flex; flex-direction: column; gap: 10px;
        padding: 12px 18px; flex-shrink: 0;
        border-bottom: 1px solid var(--border-subtle);
    }
    .mt-mercado-chips-row {
        display: flex; align-items: center; gap: 10px;
        width: 100%; min-width: 0;
    }
    .mt-mercado-chips {
        display: flex; flex-wrap: wrap; gap: 6px;
        flex: 1; min-width: 0;
    }
    .mt-mercado-chip {
        padding: 6px 11px; border-radius: 999px; cursor: pointer;
        font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
        border: 1px solid var(--border-subtle); background: var(--bg-secondary);
        color: var(--text-muted); text-transform: uppercase;
    }
    .mt-mercado-chip.active {
        background: color-mix(in srgb, var(--accent-orange, #ff6600) 18%, transparent);
        border-color: var(--accent-orange, #ff6600);
        color: var(--text-strong);
    }
    .mt-mercado-budget {
        margin-left: auto;
        flex-shrink: 0;
        text-align: right;
        font-size: 0.68rem; font-weight: 700; color: var(--text-muted);
        font-variant-numeric: tabular-nums;
        line-height: 1.35;
        white-space: nowrap;
    }
    .mt-mercado-budget strong { color: var(--text-strong); font-weight: 800; }
    .mt-mercado-filters {
        display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    }
    .mt-mercado-search {
        flex: 1 1 160px; min-width: 0;
        padding: 9px 12px; border-radius: 8px;
        border: 1px solid var(--border-subtle); background: var(--bg-elevated);
        color: var(--text-primary); font-weight: 600; font-size: 0.82rem;
    }
    .mt-mercado-sort {
        padding: 9px 10px; border-radius: 8px;
        border: 1px solid var(--border-subtle); background: var(--bg-elevated);
        color: var(--text-strong); font-weight: 700; font-size: 0.75rem;
        cursor: pointer;
    }
    .mt-mercado-list {
        flex: 1; overflow-y: auto; padding: 8px 12px 16px;
        min-height: 200px;
    }
    .mt-mercado-empty {
        text-align: center; padding: 36px 16px;
        color: var(--text-muted); font-size: 0.82rem; font-weight: 600;
    }
    /* .mt-mercado-row — layout em meu-time-premium.css */
    .mt-mercado-avatar-wrap {
        position: relative; width: 48px; height: 48px; flex-shrink: 0;
    }
    .mt-mercado-avatar-ring {
        width: 48px; height: 48px; border-radius: 50%;
        border: 2px solid #fff;
        background: #1e293b;
        overflow: hidden;
        box-shadow: 0 0 0 1.5px rgba(15,23,42,0.15);
    }
    .mt-mercado-avatar-ring.status-ok { box-shadow: 0 0 0 2.5px #22c55e; }
    .mt-mercado-avatar-ring.status-warn { box-shadow: 0 0 0 2.5px #eab308; }
    .mt-mercado-avatar-ring.status-bad { box-shadow: 0 0 0 2.5px #ef4444; }
    .mt-mercado-avatar-ring.is-tec { border-radius: 10px; }
    .mt-mercado-foto {
        width: 100%; height: 100%;
        object-fit: cover; object-position: center 18%;
        display: block;
    }
    .mt-mercado-foto.is-tec {
        object-fit: contain; object-position: center;
        background: #0f172a;
    }
    .mt-mercado-meta { min-width: 0; }
    .mt-mercado-name-row {
        display: flex; align-items: center; gap: 8px; min-width: 0;
        flex-wrap: wrap;
    }
    .mt-mercado-name {
        font-size: 0.84rem; font-weight: 800; color: var(--text-strong);
        line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        max-width: min(220px, 46vw);
    }
    .mt-mercado-match {
        display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
    }
    .mt-mercado-crest {
        width: 18px; height: 18px; object-fit: contain;
    }
    .mt-mercado-vs {
        font-size: 0.58rem; font-weight: 800; color: var(--text-muted);
        letter-spacing: 0.04em;
    }
    .mt-mercado-proj {
        display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
        margin-top: 4px;
        font-size: 0.68rem; font-weight: 700;
        font-variant-numeric: tabular-nums;
        color: var(--text-muted); line-height: 1.3;
    }
    .mt-mercado-proj-range { color: var(--text-primary); }
    .mt-mercado-proj-range .piso { color: #94a3b8; }
    .mt-mercado-proj-range .xpts { color: var(--ds-verde, #22c55e); font-weight: 900; }
    .mt-mercado-proj-range .teto { color: #94a3b8; }
    .mt-mercado-score {
        display: inline-flex; align-items: center; gap: 4px;
        padding: 2px 7px; border-radius: 6px;
        background: color-mix(in srgb, var(--accent-orange, #ff6600) 14%, transparent);
        border: 1px solid color-mix(in srgb, var(--accent-orange, #ff6600) 35%, transparent);
        color: var(--text-strong); font-weight: 900; font-size: 0.64rem;
        letter-spacing: 0.03em;
    }
    .mt-mercado-buy {
        display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        min-width: 92px; min-height: 44px; padding: 8px 12px;
        border-radius: 8px; border: none; cursor: pointer;
        background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
        color: #fff;
        box-shadow: 0 2px 0 rgba(0,0,0,0.2);
        transition: filter 0.12s;
    }
    .mt-mercado-buy:hover:not(:disabled) { filter: brightness(1.06); }
    .mt-mercado-buy.is-remove {
        background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    }
    .mt-mercado-buy:disabled {
        opacity: 0.45; cursor: not-allowed; filter: none;
    }
    .mt-mercado-buy-label {
        font-size: 0.68rem; font-weight: 900;
        letter-spacing: 0.08em; line-height: 1.15; color: #fff;
    }
    .mt-mercado-buy-price {
        font-size: 0.68rem; font-weight: 700;
        opacity: 0.95; margin-top: 2px; color: #fff;
        font-variant-numeric: tabular-nums;
    }
    .mt-mercado-foot {
        flex-shrink: 0; padding: 12px 18px 14px;
        border-top: 1px solid var(--border-subtle);
        display: flex; justify-content: center; align-items: center;
    }
    .mt-mercado-hub-btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        min-height: 40px; padding: 10px 18px; border-radius: 10px;
        background: var(--ds-brand-primary, #ff6600); color: #fff !important;
        font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
        text-transform: uppercase; text-decoration: none !important;
        border: 1px solid var(--ds-brand-primary, #ff6600); cursor: pointer;
        box-shadow: 0 8px 22px rgba(255, 102, 0, 0.28);
    }
    .mt-mercado-filters {
        display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    }
    .mt-mercado-filters .mt-mercado-search { flex: 1 1 140px; min-width: 120px; }
    .mt-mercado-filters .mt-mercado-sort { flex: 0 1 auto; min-width: 120px; }

    .mt-grade-badge {
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 22px; height: 18px; padding: 0 5px; border-radius: 5px;
        font-size: 0.62rem; font-weight: 900; color: #fff; vertical-align: middle;
    }
    .mt-grade-badge.g-ap, .mt-grade-badge.g-a { background: #16a34a; }
    .mt-grade-badge.g-am, .mt-grade-badge.g-bp { background: #65a30d; }
    .mt-grade-badge.g-b { background: #ca8a04; }
    .mt-grade-badge.g-bm, .mt-grade-badge.g-c { background: #ea580c; }
    .mt-grade-badge.g-d, .mt-grade-badge.g-f { background: #dc2626; }
    .mt-grade-badge.g-na { background: #64748b; }

    .sugestao-porque-list {
        margin: 4px 0 0; padding-left: 16px;
        font-size: 0.66rem; font-weight: 600; color: var(--text-primary); line-height: 1.45;
    }
    .sugestao-porque-list li { margin: 2px 0; }
    .sugestao-porque-list .mt-adv-mini {
        width: 14px; height: 14px; object-fit: contain;
        vertical-align: -2px; margin: 0 3px;
    }
    @media (max-width: 430px) {
        .mt-live-bar { display: none !important; }
        .mt-live-metrics { width: 100%; justify-content: space-between; }
        .mt-live-rodada { border-left: none; padding-left: 0; margin-left: 0; }
        .mt-live-nome { max-width: 160px; }
        .mt-mercado-overlay { padding: 0; align-items: flex-end; }
        .mt-mercado-panel {
            width: 100%; max-height: 92vh;
            border-radius: 16px 16px 0 0;
        }
        .mt-mercado-head { padding: 16px 44px 12px 14px; }
        .mt-mercado-title { font-size: 0.82rem; flex-wrap: wrap; }
        .mt-mercado-toolbar { padding: 10px 12px; }
        .mt-mercado-chips-row { flex-wrap: wrap; }
        .mt-mercado-budget {
            width: 100%; text-align: left; white-space: normal; margin-left: 0;
        }
        .mt-mercado-list { padding: 6px 8px 14px; }
        .mt-mercado-avatar-wrap,
        .mt-mercado-avatar-ring { width: 44px; height: 44px; }
        .mt-mercado-name { max-width: none; font-size: 0.78rem; }
        .mt-mercado-buy { width: 100%; min-height: 50px; padding: 10px 14px; }
    }

/* ==========================================================================
   Meu Time — Premium V1 (campinho, mercado, etc.)
   ========================================================================== */
/**
 * Meu Time â€” Fase 1 visual (premium campinho)
 * Estende hero-lab.css / tokens --hl-* Â· nÃ£o altera lÃ³gica JS.
 */
.mt-page.mt-premium-v1 {
    --mt-grass-a: #0b7a38;
    --mt-grass-b: #0a6b32;
    --mt-grass-c: #095c2b;
    --mt-pitch-line: rgba(255, 255, 255, 0.42);
    --mt-cmd-bg: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
    --mt-bench-bg: transparent;
}

html[data-theme="dark"] .mt-page.mt-premium-v1 {
    --mt-cmd-bg: color-mix(in srgb, #1a1a1a 94%, transparent);
    --mt-bench-bg: transparent;
}

/* â€”â€” Shell do campinho â€”â€” */
.mt-premium-v1 .mt-board-wrap {
    max-width: 560px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--bg-elevated) 96%, #fff) 0%,
        var(--bg-elevated) 48%,
        color-mix(in srgb, var(--bg-elevated) 94%, #0f172a) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 16px 48px rgba(15, 23, 42, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.06);
}

html[data-theme="dark"] .mt-premium-v1 .mt-board-wrap {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 20px 56px rgba(0, 0, 0, 0.45),
        0 2px 10px rgba(0, 0, 0, 0.25);
}

/* â€”â€” Barra de comando unificada â€”â€” */
.mt-premium-v1 .mt-pitch-toolbar {
    margin: 0 0 12px;
    padding: 10px 12px 10px;
    border-radius: 14px;
    background: var(--mt-cmd-bg);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    gap: 0;
}

.mt-premium-v1 .mt-summary-bar {
    padding: 0 0 10px;
    border: none;
    background: transparent;
    border-radius: 0;
    gap: 10px;
}

@media (min-width: 520px) {
    .mt-premium-v1 .mt-summary-bar {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    .mt-premium-v1 .mt-toolbar-team {
        flex: 1 1 120px;
        min-width: 0;
    }
    .mt-premium-v1 .mt-summary-metrics {
        flex: 1 1 240px;
        max-width: 100%;
    }
}

.mt-premium-v1 .mt-toolbar-nome {
    font-size: 0.92rem;
    letter-spacing: -0.02em;
}

.mt-premium-v1 .mt-summary-metric {
    min-height: 48px;
    padding: 6px 8px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--bg-elevated) 80%, transparent);
    border-color: color-mix(in srgb, var(--border-subtle) 90%, transparent);
}

.mt-premium-v1 .mt-summary-metric-label {
    font-size: 0.54rem;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.mt-premium-v1 .mt-summary-metric-val {
    font-size: 0.88rem;
    letter-spacing: -0.02em;
}

.mt-premium-v1 .mt-pitch-toolbar-actions {
    padding: 10px 0 0;
    margin: 0;
    border-top: 1px solid var(--border-subtle);
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.mt-premium-v1 .mt-formacao {
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    background: var(--bg-elevated);
    border-color: var(--border-subtle);
    box-shadow: none;
}

.mt-premium-v1 .mt-pitch-toolbar-actions .mt-btn-icon,
.mt-premium-v1 .mt-pitch-toolbar-actions .mt-btn-trash,
.mt-premium-v1 .mt-pitch-toolbar-actions .mt-btn-logout,
.mt-premium-v1 .mt-pitch-toolbar-actions .mt-btn-enviar,
.mt-premium-v1 .mt-pitch-toolbar-actions .mt-btn-sync,
.mt-premium-v1 .mt-pitch-toolbar-actions .mt-btn-share {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 10px;
    transition: transform 0.14s ease, filter 0.14s ease, background 0.14s ease;
}

.mt-premium-v1 .mt-pitch-toolbar-actions button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.mt-premium-v1 .mt-pitch-toolbar-actions button:active:not(:disabled) {
    transform: translateY(0);
}

/* Campinho FM / Wyscout */
.mt-premium-v1 .pitch-board {
    min-height: 600px;
    max-height: 760px;
    padding: 28px 16px 6px;
    border-radius: 16px 16px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: var(--ds-pitch-fm, #0b1224);
    background-image: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    margin-bottom: 0;
}

.mt-premium-v1 .pitch-board::before {
    opacity: 0.25;
    width: 42%;
    height: 42%;
    mix-blend-mode: screen;
}

.mt-premium-v1 .pitch-board::after {
    display: none;
}

/* â€”â€” Cards titulares: minimalista (1 mÃ©trica = bolha xPTS/pts) â€”â€” */
.mt-premium-v1 .pitch-board .player-card-on-pitch {
    width: 88px;
    padding-top: 24px;
}

.mt-premium-v1 .pitch-board .player-card-on-pitch:not(.empty-slot) .pc-mpv,
.mt-premium-v1 .pitch-board .player-card-on-pitch:not(.empty-slot) .pc-badge-val {
    display: none !important;
}

.mt-premium-v1 .pitch-board .pc-avatar-wrap {
    width: 54px;
    height: 54px;
}

.mt-premium-v1 .pitch-board .pc-avatar-ring {
    width: 54px;
    height: 54px;
    border: 2px solid rgba(255, 255, 255, 0.94);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.mt-premium-v1 .pitch-board .player-card-on-pitch:hover .pc-avatar-ring {
    transform: scale(1.05);
}

.mt-premium-v1 .pitch-board .pc-escudo {
    width: 20px;
    height: 20px;
    right: -1px;
    bottom: -1px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.mt-premium-v1 .pitch-board .pc-bubble {
    top: -2px;
    padding: 4px 9px 5px;
    border-radius: 999px;
    font-size: 10px;
    background: rgba(15, 23, 42, 0.88);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.mt-premium-v1 .pitch-board .pc-bubble:has(.pc-bubble-cap) {
    width: max-content;
    max-width: none;
    border-radius: 8px;
    align-items: center;
    gap: 2px;
    padding: 3px 7px 4px;
    z-index: 8;
}

.mt-premium-v1 .pitch-board .pc-bubble::after {
    display: none;
}

.mt-premium-v1 .pitch-board .pc-bubble-unit {
    color: rgba(248, 250, 252, 0.72);
    font-size: 7.5px;
}

.mt-premium-v1 .pitch-board .pc-name {
    margin-top: 4px;
    max-width: 86px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    letter-spacing: -0.02em;
}

.mt-premium-v1 .pitch-board .pc-badge-cap,
.mt-premium-v1 .pitch-board .pc-badge-luxo {
    width: 17px;
    height: 17px;
    font-size: 9px;
    border-width: 1.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mt-premium-v1 .pitch-board .pc-badge-luxo {
    width: 18px;
    height: 16px;
    border: none;
    box-shadow: none;
    background: transparent;
}

.mt-premium-v1 .pitch-board .empty-slot {
    padding-top: 20px;
}

.mt-premium-v1 .pitch-board .empty-slot-pitch .pc-avatar-ring {
    background: rgba(255, 255, 255, 0.06);
    border: 2px dashed rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(2px);
}

.mt-premium-v1 .pitch-board .empty-slot-pitch:hover .pc-avatar-ring {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
}

.mt-premium-v1 .pitch-board .empty-plus {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.82);
}

/* â€”â€” Banco: slots centralizados, fundo transparente â€”â€” */
.mt-premium-v1 .bench-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 12px 14px 6px;
    text-align: center;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    border: none;
    background: transparent;
    border-radius: 0;
}

.mt-premium-v1 .bench-title::before {
    content: '';
    width: 3px;
    height: 12px;
    border-radius: 2px;
    background: var(--accent-orange, #ff6600);
    flex-shrink: 0;
    opacity: 0.85;
}

.mt-premium-v1 .bench-board {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 12px 14px;
    padding: 8px 12px 14px;
    margin: 0;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.mt-premium-v1 .bench-board::-webkit-scrollbar {
    height: 4px;
}

.mt-premium-v1 .bench-board::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

.mt-premium-v1 .bench-board .player-card-on-pitch {
    width: 72px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding-top: 22px;
}

.mt-premium-v1 .bench-board .pc-avatar-wrap,
.mt-premium-v1 .bench-board .pc-avatar-ring {
    width: 46px;
    height: 46px;
}

.mt-premium-v1 .bench-board .pc-name {
    max-width: 72px;
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.mt-premium-v1 .bench-board .pc-mpv {
    font-size: 8px;
    height: 14px;
    padding: 0 5px;
    margin-top: 3px;
}

.mt-premium-v1 .bench-board .pc-badge-val {
    transform: scale(0.92);
    transform-origin: center top;
}

.mt-premium-v1 .bench-board .empty-slot-bench .pc-avatar-ring {
    border-radius: 12px;
    background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
}

.mt-premium-v1 .bench-board .empty-slot-bench:hover .pc-avatar-ring {
    border-color: var(--accent-orange, #ff6600);
}

.mt-premium-v1 .bench-board .pc-mpv,
.mt-premium-v1 .bench-board .pc-badge-val {
    display: none !important;
}

/* â€”â€” CapitÃ£o / luxo â€”â€” */
.mt-premium-v1 .card-capitao .pc-avatar-ring {
    box-shadow: 0 0 0 2px #f97316, 0 0 12px rgba(249, 115, 22, 0.35) !important;
}

.mt-premium-v1 .card-luxo:not(.card-capitao) .pc-avatar-ring {
    box-shadow: 0 0 0 2px #fbbf24, 0 0 10px rgba(251, 191, 36, 0.28) !important;
}

/* ============================================================
   Fase 2 â€” Modal scout (estÃ©tica Cartola FC)
   ============================================================ */

/* â€”â€” Overlay + shell â€”â€” */
.mt-scout-overlay {
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

html[data-theme="dark"] .mt-scout-overlay {
    background: rgba(0, 0, 0, 0.72);
}

.mt-scout-modal {
    width: min(400px, 100%);
    max-height: min(90vh, 720px);
    border-radius: 14px;
    background: var(--ds-bg-elevated, #fff);
    border: 1px solid var(--ds-border, #e2e8f0);
    box-shadow: var(--ds-shadow-lg, 0 20px 48px rgba(15, 23, 42, 0.18));
    color: var(--ds-ink, #1f2937);
    animation: mt-scout-in 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box;
}

@keyframes mt-scout-in {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* â€”â€” Header â€”â€” */
.mt-scout-head {
    padding: 18px 16px 14px;
    border-bottom: none;
    background: var(--ds-bg-elevated, #fff);
    text-align: left;
}

.mt-scout-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--ds-border, #e2e8f0);
    background: var(--ds-bg-inset, #f1f5f9);
    color: var(--ds-ink-muted, #6b7280);
    font-size: 1.15rem;
    line-height: 1;
    z-index: 2;
}

.mt-scout-close:hover {
    color: var(--ds-ink, #1f2937);
    border-color: var(--ds-border, #e2e8f0);
    background: var(--ds-hover-surface, #f8fafc);
}

.mt-scout-head-top {
    padding-right: 36px;
}

.mt-scout-head-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mt-scout-avatar-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.mt-scout-foto {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    background: var(--ds-bg-inset, #f1f5f9);
    border: 2px solid var(--ds-border, #e2e8f0);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.mt-scout-escudo {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -2px;
    bottom: -1px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.mt-scout-head-meta {
    flex: 1;
    min-width: 0;
}

.mt-scout-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mt-scout-head .mt-scout-name {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ds-ink, #1f2937);
    line-height: 1.15;
}

.mt-scout-status-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.mt-scout-status-badge .mt-mercado-status-icon,
.mt-scout-status-badge img {
    width: 18px;
    height: 20px;
    display: block;
}

.mt-scout-head .mt-scout-sub {
    margin: 4px 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ds-ink-muted, #6b7280);
    line-height: 1.3;
}

.mt-scout-sub-row {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
}

.mt-scout-sub-sep {
    color: var(--ds-ink-faint, #94a3b8);
    font-weight: 800;
    letter-spacing: 0;
}

.mt-scout-val-inline {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: none;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mt-scout-val-inline.is-up {
    color: #16a34a;
}

.mt-scout-val-inline.is-down {
    color: #ef4444;
}

.mt-scout-foto-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mt-scout-body {
    padding: 0 12px 12px;
}

/* â€”â€” Grid Cartola (6 colunas) â€”â€” */
.mt-scout-bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}

.mt-scout-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    min-height: 56px;
    padding: 10px 11px;
    border-radius: 8px;
    background: var(--ds-bg-inset, #f1f5f9);
    border: none;
    min-width: 0;
}

.mt-scout-tile.span-2 { grid-column: span 2; }
.mt-scout-tile.span-3 { grid-column: span 3; }
.mt-scout-tile.span-4 { grid-column: span 4; }
.mt-scout-tile.span-6 { grid-column: 1 / -1; }

.mt-scout-tile.is-live {
    background: color-mix(in srgb, var(--ds-bg-inset, #f1f5f9) 85%, #f27405 15%);
}

.mt-scout-tile.is-val.is-up {
    background: rgba(22, 163, 74, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.mt-scout-tile.is-val.is-down {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.28);
}

.mt-scout-tile.is-val.is-neutral {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.22);
}

.mt-scout-tile.is-val.is-up .mt-scout-tile-val {
    color: var(--ds-success-text, #15803d);
}

.mt-scout-tile.is-val.is-down .mt-scout-tile-val {
    color: var(--ds-danger-text, #dc2626);
}

.mt-scout-tile.is-val.is-neutral .mt-scout-tile-val {
    color: #a16207;
}

html[data-theme="dark"] .mt-scout-tile.is-val.is-up .mt-scout-tile-val {
    color: #4ade80;
}

html[data-theme="dark"] .mt-scout-tile.is-val.is-down .mt-scout-tile-val {
    color: #f87171;
}

html[data-theme="dark"] .mt-scout-tile.is-val.is-neutral .mt-scout-tile-val {
    color: #fde68a;
}

.mt-scout-tile-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ds-ink, #1f2937);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.mt-scout-tile.is-match .mt-scout-tile-val {
    min-height: 32px;
}

.mt-scout-tile .mt-mercado-match {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mt-scout-tile .mt-mercado-crest,
.mt-scout-tile .mt-mercado-match img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.mt-scout-tile .mt-mercado-vs {
    font-size: 0.75rem;
    font-weight: 800;
    color: #6b7280;
    letter-spacing: 0.04em;
}

.mt-scout-tile.is-xpts .mt-scout-tile-val {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.mt-scout-tile.is-xpts .mt-scout-tile-lbl {
    color: var(--ds-ink-muted, #6b7280);
}

.mt-scout-tile-lbl {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ds-ink-muted, #6b7280);
    line-height: 1.25;
}

.mt-scout-tile-lbl.is-hint,
.mt-scout-tile-lbl.is-hint-val {
    color: var(--ds-ink-muted, #6b7280);
}

/* â€”â€” Lista de scouts â€”â€” */
.mt-scout-scouts-wrap {
    border-top: 1px solid var(--ds-border, #e2e8f0);
    padding-top: 10px;
}

.mt-scout-scouts-wrap summary.mt-scout-section-lbl {
    cursor: pointer;
    list-style: none;
    user-select: none;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ds-ink-muted, #6b7280);
    margin-bottom: 8px;
}

.mt-scout-scouts-wrap summary::-webkit-details-marker {
    display: none;
}

.mt-scout-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    background: var(--ds-bg-inset, #f1f5f9);
}

.mt-scout-row {
    display: grid;
    grid-template-columns: 36px 1fr auto auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid var(--ds-border, #e2e8f0);
}

.mt-scout-row:last-child {
    border-bottom: none;
}

.mt-scout-sig {
    font-size: 0.65rem;
    font-weight: 800;
    color: #f27405;
    letter-spacing: 0.02em;
}

.mt-scout-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ds-ink, #1f2937);
}

.mt-scout-qty {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ds-ink-muted, #6b7280);
}

.mt-scout-pts {
    font-size: 0.72rem;
    font-weight: 800;
    color: #4ade80;
}

.mt-scout-pts.neg {
    color: #f87171;
}

.mt-scout-empty {
    padding: 14px 12px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ds-ink-muted, #6b7280);
    border: 1px dashed var(--ds-border, #e2e8f0);
    border-radius: 8px;
    background: transparent;
}

/* â€”â€” RodapÃ© Cartola: capitÃ£o largo + remover â€”â€” */
.mt-scout-foot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 16px;
    border-top: 1px solid var(--ds-border, #e2e8f0);
    background: var(--ds-bg-elevated, #fff);
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.mt-scout-foot-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.mt-scout-foot .pc-menu-btn {
    min-height: 44px;
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--ds-border, #e2e8f0);
    background: var(--ds-bg-inset, #f1f5f9);
    color: var(--ds-ink, #1f2937);
    padding: 0 10px;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.mt-scout-foot-row .pc-menu-btn.is-primary {
    flex: 1 1 0;
    background: var(--accent-orange, #ff6600);
    border-color: var(--accent-orange, #ff6600);
    color: #fff;
}

.mt-scout-foot-row .pc-menu-btn.is-cap.is-primary {
    background: var(--accent-orange, #ff6600);
    border-color: var(--accent-orange, #ff6600);
    color: #fff;
}

.mt-scout-foot-row .pc-menu-btn.is-luxo.is-primary {
    background: var(--ds-bg-inset, #f1f5f9);
    border-color: rgba(217, 119, 6, 0.45);
    color: #b45309;
}

html[data-theme="dark"] .mt-scout-foot-row .pc-menu-btn.is-luxo.is-primary {
    border-color: rgba(251, 191, 36, 0.45);
    color: #fde68a;
}

.mt-scout-foot-row .pc-menu-btn.is-rem {
    flex: 0 1 30%;
    max-width: 34%;
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    padding: 0 8px;
}

.mt-scout-foot-row .pc-menu-btn.is-rem:hover {
    background: #dc2626;
    border-color: #dc2626;
    filter: none;
}

.mt-scout-foot-row .pc-menu-btn.is-rem:only-child {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
}

.mt-scout-foot-row .pc-menu-btn span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.mt-scout-foot .pc-menu-btn.is-ghost {
    width: 100%;
    min-height: 38px;
    background: transparent;
    border-color: transparent;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ds-ink-muted, #6b7280);
}

.mt-scout-foot .pc-menu-btn:hover {
    filter: brightness(1.08);
}

.mt-scout-foot .pc-menu-ico {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
    border-radius: 4px;
}

.mt-scout-foot .pc-menu-ico.cap {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.mt-scout-foot .pc-menu-ico.rem {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.85rem;
}

/* â€”â€” Mobile: bottom sheet â€”â€” */
@media (max-width: 719px) {
    .mt-scout-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .mt-scout-modal {
        width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
        border-bottom: none;
    }

    .mt-scout-head .mt-scout-name {
        font-size: 1.2rem;
    }

    .mt-scout-bento {
        gap: 5px;
    }

    .mt-scout-tile {
        min-height: 52px;
        padding: 9px 10px;
    }

    .mt-scout-tile-val {
        font-size: 0.88rem;
    }

    .mt-scout-foot {
        padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
    }

    .mt-scout-foot-row {
        flex-direction: row;
    }
}

/* â€”â€” Campinho: hover no avatar (sutil) â€”â€” */
.mt-premium-v1 .player-card-on-pitch:hover {
    filter: none;
}

.mt-premium-v1 .player-card-on-pitch:hover .pc-avatar-ring {
    box-shadow:
        0 0 0 2.5px rgba(255, 255, 255, 0.95),
        0 4px 12px rgba(15, 23, 42, 0.28);
}

.mt-premium-v1 .player-card-on-pitch:active .pc-avatar-ring {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}

.mt-premium-v1 .pc-avatar-ring {
    transition: box-shadow 0.15s ease, transform 0.1s ease;
}

/* â€”â€” Mercado: hero patrimÃ´nio / fechamento â€”â€” */
.mt-mercado-hero {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--accent-orange) 12%, var(--bg-elevated)) 0%,
        var(--bg-elevated) 55%
    );
}

.mt-mercado-hero-fecha,
.mt-mercado-hero-budget,
.mt-mercado-hero-slots {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    min-width: 0;
}

.mt-mercado-hero-label {
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mt-mercado-hero-fecha strong,
.mt-mercado-hero-budget strong,
.mt-mercado-hero-slots strong {
    font-size: 0.92rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    color: var(--text-strong);
    line-height: 1.2;
}

.mt-mercado-hero-countdown {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--accent-orange, #ff6600);
    font-variant-numeric: tabular-nums;
}

.mt-mercado-hero-rest {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.mt-mercado-status-icon {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 18px;
    flex-shrink: 0;
}

.mt-mercado-budget,
.mt-mercado-sticky-foot {
    display: none !important;
}

/* â€”â€” Mercado: lista desktop + cards mobile â€”â€” */
.mt-mercado-list-wrap {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mt-mercado-table-head {
    display: none;
}

.mt-mercado-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 12px 16px;
}

.mt-mercado-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 36px 16px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.mt-mercado-sticky-foot {
    flex-shrink: 0;
    padding: 10px 14px;
    border-top: 1px solid var(--border-subtle);
    background: color-mix(in srgb, var(--bg-elevated) 96%, var(--accent-orange) 4%);
}

.mt-mercado-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.mt-mercado-sticky-budget {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.mt-mercado-sticky-budget strong {
    color: var(--text-strong);
}

.mt-mercado-sticky-meta {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mt-mercado-toolbar {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--hub-surface-card, var(--bg-elevated));
}

.mt-mercado-chips-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.mt-mercado-chips-row::-webkit-scrollbar {
    display: none;
}

.mt-mercado-chips {
    flex-wrap: nowrap;
}

.mt-mercado-chip {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Desktop: tabela com subgrid (head + linhas compartilham trilhos) */
@media (min-width: 720px) {
    .mt-mercado-panel {
        width: min(1040px, 100%);
    }

    .mt-mercado-list-wrap {
        --mt-mercado-cols-pro: minmax(0, 1.55fr) 72px 60px 72px 48px 48px 108px;
        --mt-mercado-cols-free: minmax(0, 1.7fr) 72px 60px 108px;
        display: grid;
        grid-template-columns: var(--mt-mercado-cols-pro);
        column-gap: 8px;
        padding: 0 14px;
        overflow-y: auto;
        align-content: start;
    }

    #mt-mercado-modal:not(.mt-mercado-pro) .mt-mercado-list-wrap {
        grid-template-columns: var(--mt-mercado-cols-free);
    }

    .mt-mercado-list {
        display: contents;
        padding: 0;
        overflow: visible;
    }

    .mt-mercado-table-head {
        display: grid;
        grid-template-columns: subgrid;
        grid-column: 1 / -1;
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 8px 0 6px;
        font-size: 0.58rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border-subtle);
        background: var(--hub-surface-card, var(--bg-elevated));
    }

    .mt-mercado-th {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
    }

    .mt-mercado-th:first-child {
        justify-content: flex-start;
    }

    #mt-mercado-modal:not(.mt-mercado-pro) .mt-mercado-col-pro {
        display: none;
    }

    .mt-mercado-row {
        display: grid;
        grid-template-columns: subgrid;
        grid-column: 1 / -1;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    .mt-mercado-stats-strip {
        display: contents;
    }

    .mt-mercado-row:hover {
        background: color-mix(in srgb, var(--accent-orange) 6%, transparent);
    }

    .mt-mercado-player-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .mt-mercado-cell {
        min-width: 0;
    }

    .mt-mercado-cell:not(.mt-mercado-cell-player) {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .mt-mercado-cell-action {
        display: flex;
        justify-content: center;
    }

    .mt-mercado-cell-val {
        font-size: 0.82rem;
        font-weight: 900;
        font-variant-numeric: tabular-nums;
        color: var(--text-strong);
    }

    .mt-mercado-xpts-hero {
        display: block;
        font-size: 0.88rem;
        font-weight: 900;
        color: var(--ds-verde, #22c55e);
    }

    .mt-mercado-xpts-sub {
        display: block;
        font-size: 0.58rem;
        color: var(--text-muted);
        font-weight: 700;
    }

    .mt-mercado-posline {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.62rem;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .mt-mercado-buy {
        width: 100%;
        min-width: 0;
    }

    .mt-mercado-buy-price {
        display: none;
    }
}

/* Mobile: card por jogador */
@media (max-width: 719px) {
    .mt-mercado-hero {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mt-mercado-list-wrap {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding: 0;
    }

    .mt-mercado-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 8px 12px 16px;
        overflow-y: auto;
    }

    .mt-mercado-row {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        border-radius: 14px;
        border: 1px solid var(--border-subtle);
        background: var(--bg-secondary);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .mt-mercado-cell-player {
        width: 100%;
        padding-bottom: 10px;
    }

    .mt-mercado-player-inner {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mt-mercado-player-text {
        flex: 1;
        min-width: 0;
    }

    .mt-mercado-name {
        max-width: none;
        font-size: 0.86rem;
        white-space: normal;
        line-height: 1.25;
    }

    .mt-mercado-posline {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.62rem;
        font-weight: 800;
        color: var(--text-muted);
        text-transform: uppercase;
        margin: 4px 0;
    }

    .mt-mercado-match {
        margin-top: 2px;
    }

    .mt-mercado-stats-strip {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 10px 0;
        border-top: 1px solid var(--border-subtle);
        border-bottom: 1px solid var(--border-subtle);
    }

    #mt-mercado-modal.mt-mercado-pro .mt-mercado-stats-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #mt-mercado-modal:not(.mt-mercado-pro) .mt-mercado-col-pro {
        display: none;
    }

    .mt-mercado-cell-price {
        display: none !important;
    }

    .mt-mercado-cell-media,
    .mt-mercado-cell-xpts,
    .mt-mercado-cell-score,
    .mt-mercado-cell-mpv {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 52px;
        padding: 6px 4px;
        border-radius: 10px;
        background: color-mix(in srgb, var(--bg-elevated) 88%, var(--accent-orange) 12%);
    }

    .mt-mercado-cell-price::before,
    .mt-mercado-cell-media::before,
    .mt-mercado-cell-xpts::before,
    .mt-mercado-cell-score::before,
    .mt-mercado-cell-mpv::before {
        content: attr(data-label);
        font-size: 0.54rem;
        font-weight: 900;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .mt-mercado-cell-val {
        font-size: 0.84rem;
        font-weight: 900;
        font-variant-numeric: tabular-nums;
        color: var(--text-strong);
        line-height: 1.1;
    }

    .mt-mercado-xpts-hero {
        font-size: 0.84rem;
        font-weight: 900;
        color: var(--ds-verde, #22c55e);
        line-height: 1.1;
    }

    .mt-mercado-xpts-sub {
        font-size: 0.58rem;
        color: var(--text-muted);
        font-weight: 700;
        line-height: 1.1;
    }

    .mt-mercado-cell-action {
        width: 100%;
        padding-top: 10px;
    }

    .mt-mercado-buy {
        width: 100%;
        min-height: 50px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2px;
        padding: 10px 14px;
        border-radius: 12px;
    }

    .mt-mercado-buy-label {
        line-height: 1.1;
        letter-spacing: 0.06em;
    }

    .mt-mercado-buy-price {
        display: block;
        font-size: 0.74rem;
        font-weight: 800;
        opacity: 0.92;
        line-height: 1.1;
        margin-top: 0;
    }
}

/* ============================================================
   Mobile campinho — avatares maiores (estilo Parciais CFC) + gaps curtos
   ============================================================ */
@media (max-width: 719px) {
    .mt-premium-v1 .mt-board-wrap {
        padding: 8px 6px 10px;
    }

    .mt-premium-v1 .mt-pitch-toolbar {
        margin-bottom: 8px;
        padding: 8px 10px;
    }

    .mt-premium-v1 .bench-title {
        padding: 8px 4px 4px;
        font-size: 0.58rem;
    }

    .mt-premium-v1 .pitch-board {
        --mt-mob-avatar: 52px;
        --mt-mob-card: 70px;
        min-height: 500px;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        padding: 16px 2px 8px;
        gap: 2px;
        overflow-x: visible;
        overflow-y: visible;
    }

    .mt-premium-v1 .pitch-row {
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
        box-sizing: border-box;
        min-width: 0;
        width: 100%;
        padding-left: 2px;
        padding-right: 2px;
        overflow: visible;
    }

    .mt-premium-v1 .pitch-row.slots-1 {
        padding: 0 12%;
        justify-content: center;
    }

    .mt-premium-v1 .pitch-row.slots-2 {
        padding: 0 4%;
        justify-content: space-evenly;
    }

    .mt-premium-v1 .pitch-row.slots-3 {
        padding: 0 1%;
        justify-content: space-between;
    }

    .mt-premium-v1 .pitch-row.slots-4 {
        padding: 0;
        justify-content: space-between;
    }

    .mt-premium-v1 .pitch-row.slots-5 {
        padding: 0;
        justify-content: space-between;
    }

    /* GOL centralizado na área (col 50%) · TEC fora à direita */
    .mt-premium-v1 .pitch-row.pitch-bottom {
        display: grid;
        grid-template-columns: 25% 50% 25%;
        align-items: flex-end;
        justify-items: stretch;
        padding: 0 0 0;
        margin-bottom: -4px;
        flex: 0.58 1 0;
        gap: 0;
    }

    .mt-premium-v1 .pitch-bottom-spacer {
        display: none;
    }

    .mt-premium-v1 .pitch-bottom-gol {
        grid-column: 2;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .mt-premium-v1 .pitch-bottom-tec {
        grid-column: 3;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        padding-right: 0;
        z-index: 4;
    }

    /* Cards fluidos — avatar dominante */
    .mt-premium-v1 .pitch-board .player-card-on-pitch {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: var(--mt-mob-card);
        padding-top: 22px;
        align-items: center;
        box-sizing: border-box;
        overflow: visible;
    }

    .mt-premium-v1 .pitch-row.slots-2 .player-card-on-pitch {
        flex: 0 1 auto;
        max-width: calc(var(--mt-mob-card) + 6px);
    }

    .mt-premium-v1 .pitch-row.slots-3 .player-card-on-pitch {
        flex: 1 1 calc((100% - 2px) / 3);
    }

    .mt-premium-v1 .pitch-row.slots-4 .player-card-on-pitch {
        flex: 1 1 calc((100% - 2px) / 4);
    }

    .mt-premium-v1 .pitch-row.slots-5 .player-card-on-pitch {
        flex: 1 1 calc((100% - 2px) / 5);
        max-width: none;
    }

    .mt-premium-v1 .pitch-row.pitch-bottom .player-card-on-pitch {
        flex: 0 0 auto;
        max-width: var(--mt-mob-card);
    }

    .mt-premium-v1 .pitch-board .empty-slot,
    .mt-premium-v1 .bench-board .empty-slot {
        padding-top: 22px;
    }

    /* Avatar uniforme em todas as linhas */
    .mt-premium-v1 .pitch-board .pc-avatar-wrap,
    .mt-premium-v1 .pitch-board .pc-avatar-ring {
        width: var(--mt-mob-avatar);
        height: var(--mt-mob-avatar);
    }

    .mt-premium-v1 .pitch-board .pc-escudo {
        width: 16px;
        height: 16px;
        right: -1px;
        bottom: -1px;
    }

    .mt-premium-v1 .pitch-board .pc-bubble {
        top: -2px;
        font-size: 9.5px;
        padding: 3px 7px 4px;
    }

    .mt-premium-v1 .pitch-board .pc-bubble:not(:has(.pc-bubble-cap)) {
        max-width: calc(100% + 8px);
    }

    .mt-premium-v1 .pitch-board .pc-bubble:has(.pc-bubble-cap) {
        width: max-content;
        max-width: none;
        border-radius: 7px;
        padding: 2px 6px 3px;
        gap: 1px;
        font-size: 9px;
        z-index: 10;
    }

    .mt-premium-v1 .pitch-board .pc-bubble-cap {
        gap: 2px;
    }

    .mt-premium-v1 .pitch-board .pc-bubble-cap .pc-bubble-mult {
        font-size: 0.55em;
    }

    .mt-premium-v1 .pitch-board .pc-bubble-unit {
        font-size: 7px;
    }

    .mt-premium-v1 .pitch-board .pc-name {
        max-width: 100%;
        width: 100%;
        font-size: 11px;
        font-weight: 800;
        margin-top: 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mt-premium-v1 .pitch-board .pc-badge-cap,
    .mt-premium-v1 .pitch-board .pc-badge-luxo {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }

    .mt-premium-v1 .pitch-board .pc-badge-luxo {
        width: 18px;
        height: 16px;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    /* Banco — 5 fileira, avatares grandes, gap mínimo */
    .mt-premium-v1 .bench-board {
        --mt-mob-avatar: 52px;
        --mt-mob-card: 100%;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0 2px;
        padding: 6px 0 8px;
        margin: 0;
        overflow-x: visible;
        overflow-y: visible;
        width: 100%;
        box-sizing: border-box;
    }

    .mt-premium-v1 .bench-board .player-card-on-pitch {
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        flex: 1 1 0;
        padding-top: 18px;
        align-items: center;
        box-sizing: border-box;
    }

    .mt-premium-v1 .bench-board .pc-avatar-wrap,
    .mt-premium-v1 .bench-board .pc-avatar-ring {
        width: var(--mt-mob-avatar);
        height: var(--mt-mob-avatar);
    }

    .mt-premium-v1 .bench-board .pc-escudo {
        width: 15px;
        height: 15px;
        right: -1px;
        bottom: -1px;
    }

    .mt-premium-v1 .bench-board .pc-name {
        max-width: 100%;
        width: 100%;
        font-size: 10.5px;
        font-weight: 800;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mt-premium-v1 .bench-board .pc-mpv {
        font-size: 6px;
        height: 10px;
        padding: 0 2px;
        margin-top: 2px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mt-premium-v1 .bench-board .pc-badge-val {
        transform: scale(0.72);
        transform-origin: center top;
    }

    .mt-premium-v1 .bench-board .pc-bubble {
        font-size: 8.5px;
        padding: 2px 5px 3px;
        top: 0;
    }

    .mt-premium-v1 .player-card-on-pitch .pc-avatar-wrap {
        margin-left: auto;
        margin-right: auto;
    }

    .mt-premium-v1 .pc-identity {
        width: 100%;
        min-width: 0;
        align-items: center;
        overflow: hidden;
    }

    .mt-premium-v1 .pitch-board .player-card-on-pitch:hover .pc-avatar-ring {
        transform: none;
    }
}

/* iPhone 13 / estreito (~390px): avatares ainda maiores, quase colados */
@media (max-width: 430px) {
    .mt-premium-v1 .mt-page,
    .mt-page.mt-premium-v1 {
        padding-left: 6px;
        padding-right: 6px;
    }

    .mt-premium-v1 .mt-board-wrap {
        padding: 6px 4px 8px;
    }

    .mt-premium-v1 .pitch-board {
        --mt-mob-avatar: 56px;
        --mt-mob-card: 72px;
        min-height: 460px;
        padding: 12px 0 6px;
        gap: 1px;
    }

    .mt-premium-v1 .pitch-board .player-card-on-pitch {
        padding-top: 20px;
    }

    .mt-premium-v1 .pitch-board .pc-escudo {
        width: 17px;
        height: 17px;
    }

    .mt-premium-v1 .bench-title {
        padding: 6px 2px 2px;
        margin: 0;
        font-size: 0.55rem;
        letter-spacing: 0.1em;
    }

    .mt-premium-v1 .bench-board {
        --mt-mob-avatar: 56px;
        flex-wrap: nowrap !important;
        gap: 0;
        padding: 4px 0 6px;
    }

    .mt-premium-v1 .bench-board .player-card-on-pitch {
        padding-top: 16px;
    }

    .mt-premium-v1 .bench-board .pc-escudo {
        width: 16px;
        height: 16px;
    }

    .mt-premium-v1 .pitch-board .pc-name,
    .mt-premium-v1 .bench-board .pc-name {
        font-size: 10.5px;
        font-weight: 800;
    }

    .mt-premium-v1 .pitch-board .pc-bubble {
        font-size: 9px;
        padding: 2px 6px 3px;
    }

    .mt-premium-v1 .pitch-board .pc-bubble:has(.pc-bubble-cap) {
        font-size: 8.5px;
        padding: 2px 5px 3px;
        gap: 1px;
    }

    .mt-premium-v1 .bench-board .pc-bubble {
        font-size: 8.5px;
        padding: 2px 5px 3px;
    }
}

.mt-jogos-list { display: flex; flex-direction: column; gap: 8px; }
.mt-jogo-card {
    display: block; width: 100%; text-align: left; cursor: pointer;
    padding: 10px; border-radius: 10px; border: 1px solid var(--border-subtle);
    background: var(--bg-secondary, var(--hub-surface-card)); color: inherit;
}
.mt-jogo-quando, .mt-jogo-local { text-align: center; font-size: 0.68rem; color: var(--text-muted); }
.mt-jogo-times { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 8px; }
.mt-jogo-clube { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 800; }
.mt-jogo-escudo { width: 32px; height: 32px; object-fit: contain; }
.mt-jogo-centro { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mt-jogo-score { font-size: 1.05rem; }
.mt-jogo-status { font-size: 0.58rem; font-weight: 800; text-transform: uppercase; }
.mt-jogos-empty { padding: 16px 8px; text-align: center; color: var(--text-muted); font-weight: 600; }
.mt-jogos-back { border: 0; background: none; color: var(--accent-orange, #ff6600); font-weight: 800; cursor: pointer; }
.mt-jogo-pos-h { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; color: var(--text-muted); margin: 10px 0 4px; }
.mt-jogo-pos-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 4px; }
.mt-jogo-atleta { padding: 6px 7px; border-radius: 8px; border: 1px solid var(--border-subtle); min-height: 42px; }
.mt-jogo-atleta.is-empty { border-style: dashed; background: transparent; }
.mt-jogo-atleta.is-meu { border-color: var(--accent-orange, #ff6600); }
.mt-jogo-atleta-top { display: flex; justify-content: space-between; gap: 6px; font-size: 0.72rem; }
.mt-jogo-atleta-nome { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-jogo-atleta-scouts { font-size: 0.58rem; font-weight: 700; }
.mt-jogo-atleta-scouts .is-pos { color: #16a34a; }
.mt-jogo-atleta-scouts .is-neg { color: #dc2626; }
