/* eFootClub - Estilos Personalizados Dark Mode */

:root {
    --bg-main: #0c0e14;
    --bg-card: #141724;
    --bg-card-hover: #1c2133;
    --border-color: #262c42;
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-lime: #a3e635;
    --accent-gold: #f59e0b;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar-efootclub {
    background-color: rgba(20, 23, 36, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    z-index: 1040;
}

.ad-sidebar.sticky-top {
    z-index: 1010;
}

.ad-banner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.ad-banner-container:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
}

.ad-banner-container ins.adsbygoogle {
    width: 100%;
}

.ad-mobile-section {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.ad-banner-container-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.ad-banner-container-mobile:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
}

.ad-banner-container-mobile ins.adsbygoogle {
    width: 100%;
}

/* Barra Global de Busca de Jogadores */
.global-search-bar {
    background-color: rgba(16, 19, 30, 0.96);
    position: relative;
    z-index: 1035;
}

.global-search-wrap {
    max-width: 680px;
}

.global-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background-color: #141724;
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1036;
}

.global-search-list {
    max-height: 440px;
    overflow-y: auto;
}

.global-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.15s ease;
}

.global-search-item:last-child {
    border-bottom: none;
}

.global-search-item:hover,
.global-search-item.is-active {
    background-color: #1e2640;
    color: inherit;
}

.global-search-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #1f253a, #0e111c);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-search-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

.global-search-footer {
    display: block;
    padding: 9px 12px;
    background-color: #0f1320;
    border-top: 1px solid #262c42;
    color: #60a5fa;
    text-decoration: none;
}

.global-search-footer:hover {
    background-color: #161d31;
    color: #93c5fd;
}

/* Seletor Visual de Ímpetos (Boosters) */
.booster-picker-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 193, 7, 0.45);
    color: #f8fafc;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.75rem;
    transition: all 0.15s ease;
    cursor: pointer;
    touch-action: manipulation;
}

.booster-picker-btn:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.75);
    color: #fff;
}

.booster-picker-btn.has-booster {
    border-style: solid;
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.45);
}

.booster-chips-clickable {
    cursor: pointer;
}

.booster-modal-content {
    border-radius: 14px;
    overflow: hidden;
}

.booster-modal-header {
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.07) 0%, rgba(17, 24, 39, 0.2) 100%);
}

.booster-modal-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
}

.booster-modal-toolbar {
    padding: 0.75rem 1rem;
    background: #101526;
    flex-shrink: 0;
}

.booster-modal-body {
    background: #0d1220;
    scrollbar-width: thin;
    scrollbar-color: #334155 #0d1220;
}

.booster-modal-body::-webkit-scrollbar {
    width: 6px;
}

.booster-modal-body::-webkit-scrollbar-track {
    background: #0d1220;
}

.booster-modal-body::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 999px;
}

.booster-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.booster-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #cbd5e1;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s ease;
    touch-action: manipulation;
}

.booster-filter-chip:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.45);
    color: #fde68a;
}

.booster-filter-chip.is-active {
    background: rgba(251, 191, 36, 0.18);
    border-color: #fbbf24;
    color: #fbbf24;
}

.booster-active-banner {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 10px;
    padding: 8px 10px;
}

.booster-option-card {
    display: block;
    background: #14192b;
    border: 1px solid #283049;
    border-radius: 12px;
    padding: 12px;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
    cursor: pointer;
    height: 100%;
    touch-action: manipulation;
}

.booster-option-card:hover {
    background: #1a2138;
    border-color: #f59e0b;
    transform: translateY(-1px);
}

.booster-option-card:active {
    transform: scale(0.99);
}

.booster-option-card.is-selected {
    background: rgba(59, 130, 246, 0.12);
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.booster-card-bolt {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    font-size: 0.85rem;
}

.booster-card-title {
    font-size: 0.9rem;
    line-height: 1.2;
}

.booster-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.64rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 2px;
}

.booster-cat-tag.is-offensive { color: #fca5a5; }
.booster-cat-tag.is-technical { color: #67e8f9; }
.booster-cat-tag.is-physical { color: #86efac; }
.booster-cat-tag.is-defensive { color: #a5b4fc; }
.booster-cat-tag.is-gk { color: #fcd34d; }

.booster-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.booster-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.22);
}

.booster-stat-val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    padding: 1px 5px;
    border-radius: 5px;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

.booster-stat-name {
    color: #f1f5f9;
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.booster-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fde68a;
    line-height: 1.25;
}

.booster-stat-pill strong {
    color: #fbbf24;
    font-weight: 800;
}

.booster-stat-pill--compact {
    font-size: 0.62rem;
    padding: 2px 6px;
    border-radius: 5px;
    max-width: 100%;
    white-space: normal;
    text-align: left;
}

@media (max-width: 575.98px) {
    .booster-modal-content {
        border-radius: 0;
    }

    .booster-modal-header {
        padding: 0.65rem 0.85rem;
    }

    .booster-modal-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .booster-modal-header .modal-title {
        font-size: 1rem;
    }

    .booster-modal-toolbar {
        padding: 0.6rem 0.75rem;
    }

    .booster-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .booster-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .booster-option-card {
        padding: 10px;
    }

    .booster-stats-grid {
        gap: 5px;
    }

    .booster-stat-item {
        padding: 4px 6px;
        gap: 5px;
    }

    .booster-stat-name {
        font-size: 0.7rem;
    }
}

@media (max-width: 340px) {
    .booster-stats-grid {
        grid-template-columns: 1fr;
    }
}

.brand-badge {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 4px;
}

/* Card Jogador */
.player-card-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
}

.player-card-box:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(59, 130, 246, 0.2);
    color: inherit;
}

.player-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5.5;
    background: radial-gradient(circle at 50% 30%, #1f253a, #10121d);
    overflow: hidden;
}

.player-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.player-card-box:hover .player-card-img-wrap img {
    transform: scale(1.04);
}

.player-ovr-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 4px 8px;
    text-align: center;
    line-height: 1;
}

.player-ovr-val {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
}

.player-pos-val {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-lime);
    letter-spacing: 0.5px;
}

.player-max-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #3b82f6;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.player-card-info {
    padding: 10px 12px;
    background: var(--bg-card);
}

.player-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.player-card-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cores de Atributos (Estilo eFootClub) */
.stat-epic {
    color: #c084fc !important; /* Roxo / Cyan 95+ */
    background-color: rgba(192, 132, 252, 0.15);
}
.stat-super {
    color: #38bdf8 !important; /* Azul Neon 90-94 */
    background-color: rgba(56, 189, 248, 0.15);
}
.stat-high {
    color: #4ade80 !important; /* Verde 80-89 */
    background-color: rgba(74, 222, 128, 0.15);
}
.stat-medium {
    color: #fbbf24 !important; /* Amarelo 70-79 */
    background-color: rgba(251, 191, 36, 0.15);
}
.stat-low {
    color: #94a3b8 !important; /* Cinza <70 */
    background-color: rgba(148, 163, 184, 0.1);
}

/* Barras de Progresso de Atributos */
.stat-progress-bar {
    height: 8px;
    background-color: #1e2438;
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-fill-epic { background: linear-gradient(90deg, #8b5cf6, #c084fc); }
.stat-bar-fill-super { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.stat-bar-fill-high { background: linear-gradient(90deg, #16a34a, #4ade80); }
.stat-bar-fill-medium { background: linear-gradient(90deg, #d97706, #fbbf24); }
.stat-bar-fill-low { background: #64748b; }

/* Campo Tático de Futebol */
.tactical-pitch {
    position: relative;
    width: 100%;
    min-height: 1150px;
    background: radial-gradient(ellipse at center, #1b381b 0%, #0e240e 75%, #071507 100%);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    touch-action: none;
}

/* Linhas do Campo */
.pitch-line-half {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.pitch-circle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    margin-top: -70px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.pitch-penalty-box-top {
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 16%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top: none;
}

.pitch-penalty-box-bottom {
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 16%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-bottom: none;
}

/* 3.3 Redimensionamento das Cartas no Campo */
.pitch-player-slot {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 142px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    user-select: none;
    touch-action: none;
}

.pitch-player-slot:active, .pitch-player-slot.dragging {
    z-index: 999;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.85));
}

.slot-top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 3px;
    z-index: 5;
}

.slot-ovr-top {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #a3e635;
    box-shadow: 0 2px 6px rgba(0,0,0,0.7);
    margin-bottom: 0;
    z-index: 2;
}

.btn-slot-select {
    background: #1e293b;
    border: 1px solid #3b82f6;
    color: #60a5fa;
    border-radius: 6px;
    padding: 3px 7px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.6);
    transition: all 0.15s ease;
    z-index: 5;
}

.btn-slot-select:hover {
    background: #3b82f6;
    color: #fff;
    transform: scale(1.1);
}

.slot-token {
    width: 142px;
    height: 200px;
    border-radius: 8px;
    border: 2px solid #3b82f6;
    background: radial-gradient(circle at 50% 30%, #1e293b, #0f172a);
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 16px rgba(0,0,0,0.75);
    transition: border-color 0.15s ease, transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}

.slot-token:active, .pitch-player-slot.dragging .slot-token {
    cursor: grabbing;
}

.slot-token:hover {
    border-color: #60a5fa;
}

.slot-token img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.slot-role-bottom {
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    background: #e11d48;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.6);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
    transition: background 0.15s ease;
}

.slot-role-bottom:hover {
    background: #f43f5e;
}

.slot-name {
    margin-top: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 5px;
    max-width: 135px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    color: #f8fafc;
}

/* 1.3 Padronização do tamanho das cartas dos reservas: 142px x 200px */
.reserves-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.reserve-slots-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.reserve-slot-card {
    width: 154px;
    flex-shrink: 0;
    text-align: center;
    background: #111422;
    border: 1px solid #283049;
    border-radius: 10px;
    padding: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.reserve-slot-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.reserve-slot-img {
    width: 142px;
    height: 200px;
    margin: 0 auto 6px auto;
    background: radial-gradient(circle at 50% 30%, #1e293b, #0f172a);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reserve-slot-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.btn-add-reserve-slot {
    width: 154px;
    min-height: 295px;
    flex-shrink: 0;
    border: 2px dashed #3b82f6;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.05);
    color: #3b82f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-reserve-slot:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #60a5fa;
    color: #60a5fa;
    transform: translateY(-2px);
}

/* 2.1 & 2.2 Grid de 4 Colunas de Atributos & Evolução em player.php */
.player-4col-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(230px, 1fr));
    gap: 12px;
}

/* Desktop grande (>1400px): posicionamento explícito em 4 colunas */
@media (min-width: 1401px) {
    .player-grid-distribuicao { grid-column: 1; grid-row: 1 / 3; }
    .player-grid-atacante     { grid-column: 2; grid-row: 1; }
    .player-grid-atletismo    { grid-column: 3; grid-row: 1; }
    .player-grid-defesa       { grid-column: 4; grid-row: 1; }
    .player-grid-habilidades  { grid-column: 2; grid-row: 2; }
    .player-grid-modelo       { grid-column: 3; grid-row: 2; }
    .player-grid-ia           { grid-column: 4; grid-row: 2; }
}

/* Tablets / Desktop médio: auto-fit sem posicionamento forçado */
@media (min-width: 769px) and (max-width: 1400px) {
    .player-4col-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile: coluna única, ordem customizada */
@media (max-width: 768px) {
    .player-4col-grid {
        grid-template-columns: 1fr;
    }
    .player-grid-atacante    { order: 1; }
    .player-grid-atletismo   { order: 2; }
    .player-grid-defesa      { order: 3; }
    .player-grid-modelo      { order: 4; }
    .player-grid-habilidades { order: 5; }
    .player-grid-ia          { order: 6; }
}

/* 3.1 Menu Inferior de Distribuição de Pontos Mobile */
.mobile-evolution-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 18, 29, 0.98);
    border-top: 2px solid #3b82f6;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7);
    z-index: 1050;
    backdrop-filter: blur(8px);
    padding-bottom: env(safe-area-inset-bottom, 10px);
    transition: transform 0.25s ease-in-out;
}

.mobile-drawer-header {
    background: #111526;
    padding: 8px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-body {
    padding: 12px 16px 8px 16px;
}

.mobile-evolution-drawer.is-collapsed .mobile-drawer-body {
    display: none;
}

/* 4.2 Compactação das Colunas de Comparação */
.compare-container-compact-2 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.compare-container-compact-3 {
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
}

/* Ajustes compactos para 3 jogadores */
.compare-container-compact-3 .player-compare-card {
    padding: 0.5rem !important;
    overflow: hidden;
}

.compare-container-compact-3 .player-compare-card .d-flex.flex-wrap.flex-sm-nowrap,
.compare-container-compact-3 .player-compare-card .d-flex.flex-nowrap {
    gap: 0.4rem !important;
}

.compare-data-table th,
.compare-data-table td {
    padding: 0.25rem 0.35rem;
}

.compare-container-compact-3 .compare-data-table th,
.compare-container-compact-3 .compare-data-table td {
    padding: 0.2rem 0.3rem;
}

.compare-container-compact-3 .compare-table-badges {
    font-size: 0.8rem;
    padding: 0.2em 0.5em;
}

.compare-table-best-tag {
    font-size: 0.6rem;
    padding: 0.1em 0.35em;
    line-height: 1.1;
    letter-spacing: 0.3px;
}

.compare-container-compact-3 .compare-table-best-tag {
    font-size: 0.58rem;
    padding: 0.1em 0.3em;
}

.stat-badge-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-badge-wrapper .best-star {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 4px;
    font-size: 0.65rem;
    padding: 0.12em 0.3em;
    line-height: 1;
    white-space: nowrap;
    z-index: 2;
}

.compare-container-compact-3 .player-card-img-wrapper {
    width: 110px !important;
    height: 160px !important;
}

.compare-container-compact-3 .player-card-area,
.compare-container-compact-3 .player-card-info-area {
    width: 120px !important;
    flex-shrink: 0 !important;
}

.compare-container-compact-3 .player-compare-card .player-ovr-val {
    font-size: 0.9rem !important;
}

.compare-container-compact-3 .player-compare-card h6 {
    font-size: 0.75rem !important;
}

.compare-container-compact-3 .distribution-area {
    padding-left: 0.4rem !important;
    font-size: 0.68rem !important;
    overflow: hidden;
    min-width: 0 !important;
}

.compare-container-compact-3 .distribution-area .d-flex.flex-column.gap-1 {
    max-height: 780px !important;
}

.compare-container-compact-3 .distribution-area input[type="range"] {
    max-width: 100%;
    min-width: 0;
}

.compare-container-compact-3 .distribution-area .form-range {
    width: 100% !important;
    max-width: 100% !important;
}

.compare-container-compact-3 .player-compare-card .badge {
    font-size: 0.62rem !important;
    padding: 0.15em 0.4em !important;
}

.compare-container-compact-3 .player-compare-card .btn-xs {
    font-size: 0.62rem !important;
    padding: 0.1rem 0.3rem !important;
}

.compare-container-compact-3 .distribution-area .form-select {
    font-size: 0.68rem !important;
}

/* ===== MOBILE: Comparação responsiva para telas pequenas ===== */
@media (max-width: 767.98px) {
    /* Painel superior: cada jogador empilha verticalmente */
    .card-panel .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    .player-compare-card {
        padding: 0.4rem !important;
        overflow: hidden;
    }

    /* Imagem menor no mobile */
    .player-card-img-wrapper {
        width: 90px !important;
        height: 130px !important;
    }

    .player-card-area,
    .player-card-info-area {
        width: 100px !important;
        flex-shrink: 0 !important;
    }

    .player-card-area h6,
    .player-card-info-area h6 {
        font-size: 0.7rem !important;
    }

    .player-card-area small,
    .player-card-info-area small {
        font-size: 0.6rem !important;
    }

    .player-card-area .badge,
    .player-card-info-area .badge {
        font-size: 0.58rem !important;
        padding: 0.1em 0.3em !important;
    }

    .player-card-area .btn-xs,
    .player-card-info-area .btn-xs {
        font-size: 0.6rem !important;
        padding: 0.1rem 0.25rem !important;
    }

    /* Distribuição compacta no mobile */
    .distribution-area {
        padding-left: 0.3rem !important;
        font-size: 0.65rem !important;
        overflow: hidden;
        min-width: 0 !important;
    }

    .distribution-area .d-flex.flex-column.gap-1,
    .compare-container-compact-3 .distribution-area .d-flex.flex-column.gap-1 {
        max-height: 500px !important;
    }

    .distribution-area input[type="range"],
    .distribution-area .form-range {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .distribution-area .form-select {
        font-size: 0.65rem !important;
    }

    .distribution-area .btn-xs {
        font-size: 0.58rem !important;
        padding: 0.05rem 0.2rem !important;
    }

    /* Tabela de comparação: somatórios e atributos */
    .compare-table-badges {
        font-size: 0.75rem !important;
        padding: 0.2em 0.5em !important;
    }

    .compare-table-best-tag {
        font-size: 0.55rem !important;
        padding: 0.1em 0.3em !important;
    }

    .compare-summary-label {
        font-size: 0.72rem !important;
    }

    .compare-summary-label small {
        font-size: 0.55rem !important;
    }

    /* Total Geral menor no mobile */
    .compare-total-label {
        font-size: 0.8rem !important;
    }

    /* Tabela com min-width menor no mobile */
    .compare-data-table {
        min-width: 420px !important;
    }

    .compare-data-table th,
    .compare-data-table td {
        padding: 0.2rem 0.25rem !important;
        font-size: 0.72rem;
    }

    .compare-data-table .stat-val-badge {
        min-width: 32px !important;
        font-size: 0.72rem !important;
    }

    .stat-badge-wrapper .best-star {
        margin-left: 2px !important;
        font-size: 0.55rem !important;
        padding: 0.1em 0.2em !important;
    }

    .compare-data-table .best-tag {
        font-size: 0.55rem !important;
        padding: 0.1em 0.25em !important;
    }

    /* OVR badge menor */
    .player-compare-card .player-ovr-val {
        font-size: 0.8rem !important;
    }

    .player-compare-card .player-pos-val {
        font-size: 0.6rem !important;
    }

    /* Booster info compacta */
    .player-compare-card .border-warning {
        font-size: 0.6rem !important;
        padding: 0.15rem 0.3rem !important;
    }

    /* ===== Campo Tático e Cartas no Mobile (squad.php) ===== */
    .tactical-pitch {
        min-height: 760px !important;
        border-width: 2px !important;
        border-radius: 12px !important;
    }

    .pitch-circle-center {
        width: 80px !important;
        height: 80px !important;
        margin-left: -40px !important;
        margin-top: -40px !important;
    }

    .pitch-player-slot {
        width: 66px !important;
    }

    .slot-token {
        width: 66px !important;
        height: 94px !important;
        border-width: 1.5px !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7) !important;
    }

    .slot-top-bar {
        gap: 2px !important;
        margin-bottom: 2px !important;
    }

    .slot-ovr-top {
        font-size: 0.72rem !important;
        padding: 2px 4px !important;
        border-radius: 4px !important;
    }

    .btn-slot-select {
        padding: 2px 5px !important;
        font-size: 0.68rem !important;
        border-radius: 4px !important;
        min-width: 22px !important;
        min-height: 22px !important;
    }

    .slot-role-bottom {
        margin-top: 2px !important;
        font-size: 0.58rem !important;
        padding: 1px 4px !important;
        border-radius: 3px !important;
    }

    .slot-name {
        margin-top: 2px !important;
        font-size: 0.58rem !important;
        padding: 1px 4px !important;
        max-width: 66px !important;
        border-radius: 3px !important;
    }

    /* Seção de Reservas no Mobile */
    .reserve-slots-container {
        gap: 8px !important;
        padding-bottom: 6px !important;
    }

    .reserve-slot-card {
        width: 88px !important;
        padding: 6px 3px !important;
        border-radius: 8px !important;
    }

    .reserve-slot-img {
        width: 78px !important;
        height: 110px !important;
        border-width: 1.5px !important;
        border-radius: 6px !important;
        margin-bottom: 4px !important;
    }

    .btn-add-reserve-slot {
        width: 88px !important;
        min-height: 175px !important;
        border-radius: 8px !important;
    }

    .btn-add-reserve-slot i {
        font-size: 1.4rem !important;
    }

    .btn-add-reserve-slot strong {
        font-size: 0.7rem !important;
    }

    .btn-add-reserve-slot small {
        font-size: 0.6rem !important;
    }

    .reserve-slot-card .slot-ovr-top {
        font-size: 0.72rem !important;
        padding: 1px 4px !important;
    }

    .reserve-slot-card .btn-slot-select {
        font-size: 0.62rem !important;
        padding: 1px 4px !important;
    }

    .reserve-slot-card strong {
        font-size: 0.62rem !important;
        max-width: 80px !important;
    }

    .reserve-slot-card .badge {
        font-size: 0.6rem !important;
    }

    /* Avatar do Treinador no Mobile */
    #coachAvatarWrap {
        width: 48px !important;
        height: 62px !important;
    }
}

/* Tablet: squad responsivo */
@media (min-width: 768px) and (max-width: 991.98px) {
    .tactical-pitch {
        min-height: 920px !important;
    }

    .pitch-player-slot {
        width: 95px !important;
    }

    .slot-token {
        width: 95px !important;
        height: 134px !important;
    }

    .slot-top-bar {
        gap: 3px !important;
    }

    .slot-ovr-top {
        font-size: 0.9rem !important;
        padding: 2px 6px !important;
    }

    .btn-slot-select {
        font-size: 0.72rem !important;
        padding: 2px 5px !important;
    }

    .slot-role-bottom {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
    }

    .slot-name {
        font-size: 0.65rem !important;
        max-width: 95px !important;
    }

    .reserve-slot-card {
        width: 115px !important;
        padding: 6px 4px !important;
    }

    .reserve-slot-img {
        width: 100px !important;
        height: 140px !important;
    }

    .btn-add-reserve-slot {
        width: 115px !important;
        min-height: 220px !important;
    }
}

/* Painéis e Forms */
.card-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.form-control, .form-select {
    background-color: #0f121d;
    border-color: #272d42;
    color: #f1f5f9;
}

.form-control:focus, .form-select:focus {
    background-color: #141827;
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}


/* ==========================================================================
   MÓDULO: PACKS & BOXES DO EFOOTBALL (Design Exclusivo eFootClub)
   ========================================================================== */

.pack-box-card {
    background: linear-gradient(180deg, #151928 0%, #0e111c 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    overflow: hidden;
}

.pack-box-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #3b82f6;
    opacity: 0.8;
    transition: height 0.2s ease, opacity 0.2s ease;
}

.pack-box-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.15);
}

.pack-box-card:hover::before {
    height: 4px;
    opacity: 1;
}

/* Bordas e acentos por categoria de Box */
.pack-box-card.cat-bigtime::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
}
.pack-box-card.cat-bigtime:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.25);
}

.pack-box-card.cat-epic::before {
    background: linear-gradient(90deg, #8b5cf6, #06b6d4, #a855f7);
}
.pack-box-card.cat-epic:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(139, 92, 246, 0.25);
}

.pack-box-card.cat-showtime::before {
    background: linear-gradient(90deg, #10b981, #06b6d4, #34d399);
}
.pack-box-card.cat-showtime:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.25);
}

.pack-box-card.cat-potw::before {
    background: linear-gradient(90deg, #2563eb, #38bdf8);
}
.pack-box-card.cat-potw:hover {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.2);
}

.pack-box-card.cat-highlight::before {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
}

/* Badges de Categoria */
.badge-bigtime {
    background: linear-gradient(135deg, #d97706, #fbbf24) !important;
    color: #0b0d14 !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.badge-epic {
    background: linear-gradient(135deg, #7c3aed, #06b6d4) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

.badge-showtime {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.badge-potw {
    background: linear-gradient(135deg, #2563eb, #0284c7) !important;
    color: #fff !important;
    font-weight: 800;
}

.badge-highlight {
    background: linear-gradient(135deg, #4f46e5, #0ea5e9) !important;
    color: #fff !important;
    font-weight: 700;
}

.badge-selection {
    background: linear-gradient(135deg, #475569, #64748b) !important;
    color: #fff !important;
    font-weight: 700;
}

/* Data de Lançamento no Card */
.pack-date-badge {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pack-recent-pill {
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.4);
    color: #facc15;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* Mini Showcase de Cartas na Box */
.pack-cards-showcase {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px 12px 2px;
    scrollbar-width: thin;
    scrollbar-color: #272d42 transparent;
}

.pack-cards-showcase::-webkit-scrollbar {
    height: 4px;
}
.pack-cards-showcase::-webkit-scrollbar-thumb {
    background: #272d42;
    border-radius: 4px;
}

.pack-mini-card {
    flex: 0 0 102px;
    width: 102px;
    background: #111422;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.pack-mini-card:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: #3b82f6;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6), 0 0 12px rgba(59, 130, 246, 0.3);
    color: inherit;
    z-index: 2;
}

.pack-mini-card-img {
    width: 100%;
    aspect-ratio: 4 / 5.2;
    position: relative;
    background: radial-gradient(circle at 50% 30%, #1c2236, #0e111d);
    overflow: hidden;
}

.pack-mini-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.25s ease;
}

.pack-mini-card:hover .pack-mini-card-img img {
    transform: scale(1.08);
}

.pack-mini-ovr {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(10, 14, 26, 0.88);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 1px 4px;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}

.pack-mini-pos {
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.pack-mini-card-name {
    padding: 4px 6px;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    color: #f1f5f9;
}

.pack-more-players-pill {
    flex: 0 0 80px;
    width: 80px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pack-more-players-pill:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Modal Detalhes da Box */
.modal-box-header {
    background: linear-gradient(135deg, #182036 0%, #0d1222 100%);
    border-bottom: 1px solid var(--border-color);
}

.modal-player-card {
    background: #131726;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-player-card:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.modal-player-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 5.2;
    position: relative;
    background: radial-gradient(circle at 50% 30%, #1e253c, #101322);
    overflow: hidden;
}

.modal-player-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}


/* Badges e Pílulas de Tipo de Box / Método de Aquisição */
.pack-tipo-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}

.pack-tipo-badge.tipo-moedas {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.pack-tipo-badge.tipo-contrato {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
}

.pack-tipo-badge.tipo-evento {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.pack-tipo-badge.tipo-loja {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60a5fa;
}

/* ==========================================================================
   HABILIDADES EXCLUSIVAS AO REDOR DAS CARTAS NO CAMPO TÁTICO (squad.php)
   ========================================================================== */
.slot-exclusive-skills {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 25;
    pointer-events: auto;
    transition: opacity 0.15s ease;
}

.slot-exclusive-skills:hover {
    z-index: 60;
}

.slot-exclusive-skills[data-excl-pos="bottom"] {
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: max-content;
    max-width: 180px;
}

.slot-exclusive-skills[data-excl-pos="top"] {
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: max-content;
    max-width: 180px;
}

.slot-exclusive-skills[data-excl-pos="right"] {
    left: calc(100% + 5px);
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: 140px;
}

.slot-exclusive-skills[data-excl-pos="left"] {
    right: calc(100% + 5px);
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: flex-end;
    width: max-content;
    max-width: 140px;
}

.excl-skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(24, 17, 8, 0.94) 0%, rgba(36, 20, 52, 0.94) 100%);
    border: 1px solid rgba(251, 191, 36, 0.78);
    color: #fef08a;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.15;
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.78), 0 0 8px rgba(245, 158, 11, 0.25);
    backdrop-filter: blur(4px);
    white-space: normal;
    text-align: center;
}

.slot-exclusive-skills[data-excl-pos="right"] .excl-skill-pill {
    text-align: left;
}

.slot-exclusive-skills[data-excl-pos="left"] .excl-skill-pill {
    text-align: right;
}

.excl-skill-pill i {
    color: #fbbf24;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.excl-skill-pill span {
    white-space: normal;
    overflow-wrap: break-word;
}

.excl-skill-pill:hover {
    border-color: #fde047;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.85), 0 0 12px rgba(251, 191, 36, 0.45);
}

/* Habilidades Exclusivas nos Cards de Reservas */
.reserve-exclusive-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    margin-top: 4px;
}

.reserve-exclusive-skills .excl-skill-pill {
    font-size: 0.58rem;
    padding: 2px 5px;
    max-width: 138px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .slot-exclusive-skills[data-excl-pos="bottom"],
    .slot-exclusive-skills[data-excl-pos="top"] {
        max-width: 130px;
    }

    .slot-exclusive-skills[data-excl-pos="right"],
    .slot-exclusive-skills[data-excl-pos="left"] {
        max-width: 104px;
    }

    .excl-skill-pill {
        font-size: 0.56rem;
        padding: 1.5px 5px;
        gap: 3px;
    }

    .excl-skill-pill i {
        font-size: 0.52rem;
    }
}

@media (max-width: 767.98px) {
    .slot-exclusive-skills[data-excl-pos="bottom"],
    .slot-exclusive-skills[data-excl-pos="top"] {
        max-width: 96px;
        gap: 2px;
    }

    .slot-exclusive-skills[data-excl-pos="right"],
    .slot-exclusive-skills[data-excl-pos="left"] {
        max-width: 86px;
        gap: 2px;
    }

    .excl-skill-pill {
        font-size: 0.5rem;
        padding: 1.5px 4px;
        gap: 2px;
        border-radius: 4px;
    }

    .excl-skill-pill i {
        font-size: 0.46rem;
    }

    .reserve-exclusive-skills .excl-skill-pill {
        font-size: 0.5rem;
        max-width: 80px;
    }
}

/* ==========================================================================
   MÓDULO: COMENTÁRIOS DE CARTAS & PERFIL DE USUÁRIO
   ========================================================================== */
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-avatar-fallback {
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
}

.comment-author-link:hover {
    color: #60a5fa !important;
    text-decoration: underline !important;
}

.comment-vote-btn {
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 20px;
    transition: all 0.15s ease;
}

.profile-hero-card {
    background: radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.18) 0%, rgba(20, 23, 36, 0.98) 65%);
    border-color: rgba(59, 130, 246, 0.3);
}

.profile-avatar-lg {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    border: 3px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-lg .profile-avatar-fallback {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
}

.profile-avatar-md {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-md img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-md .profile-avatar-fallback {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.follow-stat-btn:hover {
    border-color: #3b82f6 !important;
    background-color: #161c2e !important;
}

.social-btn-youtube {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
}
.social-btn-youtube:hover {
    background: #ef4444;
    color: #fff;
}

.social-btn-tiktok {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #f8fafc;
}
.social-btn-tiktok:hover {
    background: #f8fafc;
    color: #0f172a;
}

.social-btn-instagram {
    background: rgba(236, 72, 153, 0.14);
    border: 1px solid rgba(236, 72, 153, 0.45);
    color: #f9a8d4;
}
.social-btn-instagram:hover {
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    color: #fff;
}

.social-btn-twitter {
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #7dd3fc;
}
.social-btn-twitter:hover {
    background: #0ea5e9;
    color: #fff;
}

/* Botão Login com Google OAuth 2.0 */
.btn-google-oauth {
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.btn-google-oauth:hover,
.btn-google-oauth:focus {
    background-color: #f3f4f6;
    color: #111827;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.25);
}

/* ==========================================================================
   PÁGINA 404 (NOT FOUND)
   ========================================================================== */

.efootclub-404-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.16) 0%, rgba(20, 23, 36, 0.98) 60%, #0e111c 100%);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 18px;
}

.efootclub-404-pitch-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        radial-gradient(circle at 50% 50%, transparent 90px, #60a5fa 91px, transparent 92px),
        linear-gradient(to right, transparent calc(50% - 1px), #60a5fa 50%, transparent calc(50% + 1px));
}

.efootclub-404-code {
    font-size: clamp(4.25rem, 11vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 12px 35px rgba(59, 130, 246, 0.2);
}

.efootclub-404-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.45);
}

.efootclub-404-path-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
}

.efootclub-404-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(15, 19, 32, 0.85);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
    height: 100%;
}

.efootclub-404-quick-link:hover {
    transform: translateY(-2px);
    background: #182036;
    border-color: rgba(59, 130, 246, 0.55);
    color: #ffffff;
}

.efootclub-404-quick-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

/* Badges de Habilidades Exclusivas */
.skill-badge-exclusive {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(139, 92, 246, 0.14) 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.65) !important;
    color: #fef08a !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(254, 240, 138, 0.12);
    transition: all 0.2s ease;
}

.skill-badge-exclusive:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(139, 92, 246, 0.22) 100%);
    border-color: rgba(253, 224, 71, 0.9) !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32), 0 0 10px rgba(251, 191, 36, 0.15);
    transform: translateY(-1px);
    color: #fef9c3 !important;
}

/* Seletor Global de Idioma & Ocultação da Barra Padrão do Google Tradutor */
.efootclub-lang-menu {
    min-width: 205px;
    max-height: 360px;
    overflow-y: auto;
}

.efootclub-lang-option.active {
    background-color: rgba(59, 130, 246, 0.22);
    color: #ffffff;
    font-weight: 600;
}

@keyframes efootclubSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.efootclub-spin {
    display: inline-block;
    animation: efootclubSpin 0.9s linear infinite;
}

.efootclub-gt-hidden {
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
body > .skiptranslate:not(#google_translate_element_wrap),
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
