/* --- SEÇÃO LFG (Looking For Group) --- */
.main-main{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px ;
}

/* ==========================================================================
   MERCADO 2026 — visual esportivo inspirado no painel de transferências
========================================================================== */
.body-mercado {
  --mercado-verde: #10e76b;
  --mercado-fundo: #05080b;
  --mercado-painel: #0c1116;
  --mercado-linha: #283139;
  background:
    radial-gradient(circle at 6% 17%, rgba(16, 231, 107, .08), transparent 20rem),
    radial-gradient(circle at 94% 14%, rgba(255, 255, 255, .055), transparent 18rem),
    linear-gradient(155deg, transparent 0 62%, rgba(255,255,255,.018) 62% 63%, transparent 63%),
    var(--mercado-fundo);
  color: #f4f7f6;
}

.body-mercado .main-main {
  width: 100%;
  padding: 0;
}

.body-mercado .lfg-section {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 76px);
  align-items: flex-start;
  padding: 34px clamp(18px, 4vw, 64px) 56px;
  background: transparent;
}

.body-mercado .lfg-container,
.body-mercado .lfg-header {
  width: 100%;
  max-width: 1460px;
}

.body-mercado .lfg-container { margin: 0 auto; }
.body-mercado .lfg-header { margin: 0; text-align: left; }
.body-mercado .pagina-kicker,
.body-mercado .lfg-header > p { display: none; }

.body-mercado .lfg-header > h1 {
  margin: 0 0 20px;
  color: #f7f8f7;
  font-family: "Arial Narrow", "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.7rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .96;
  text-transform: uppercase;
  text-shadow: 0 8px 32px rgba(0,0,0,.55);
}

.body-mercado .mercado-abas {
  width: 100%;
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--mercado-linha);
  border-radius: 0;
}

.body-mercado .mercado-aba {
  position: relative;
  min-width: 220px;
  padding: 16px 24px;
  color: #aeb6bd;
  border: 0;
  border-radius: 0;
  font-size: .92rem;
  font-weight: 850;
  text-transform: uppercase;
}

.body-mercado .mercado-aba::before { margin-right: 10px; font-size: 1.1rem; }
.body-mercado #tab-vagas::before { content: "♙"; }
.body-mercado #tab-jogadores::before { content: "♙"; }
.body-mercado .mercado-aba.ativo { color: var(--mercado-verde); background: transparent; }
.body-mercado .mercado-aba.ativo::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--mercado-verde);
  box-shadow: 0 0 14px rgba(16,231,107,.45);
}

.body-mercado .mercado-filtros-card,
.body-mercado .jogadores-filtros-card {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) repeat(5, minmax(145px, 1fr));
  gap: 10px;
  margin: 0 0 26px;
  padding: 20px 16px 16px;
  background: linear-gradient(145deg, rgba(17,23,29,.98), rgba(8,12,16,.98));
  border: 1px solid var(--mercado-linha);
  border-radius: 7px;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}

.body-mercado .mercado-filtros-card .filtragem {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: #f3f5f4;
  font-size: .98rem;
  font-weight: 900;
  text-transform: uppercase;
}

.body-mercado .mercado-filtros-card .lfg-busca { margin: 0; }
.body-mercado .mercado-filtros-card .lfg-filtros {
  display: contents;
  margin: 0;
}

.body-mercado .lfg-select,
.body-mercado .lfg-input,
.body-mercado .lfg-textarea {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  color: #e9eeeb;
  background-color: #090d11;
  border: 1px solid #303943;
  border-radius: 5px;
  font-size: .84rem;
}
.body-mercado .lfg-input::placeholder { color: #7e8790; }
.body-mercado .lfg-select:hover,
.body-mercado .lfg-input:hover { border-color: #4a555f; }
.body-mercado .filtro-destaque { border-color: rgba(16,231,107,.75); }

.body-mercado .mercado-busca-salva {
  min-height: 74px;
  margin: 0 0 20px;
  padding: 15px 18px 15px 54px;
  background: linear-gradient(100deg, #11171c, #090e12);
  border: 1px solid var(--mercado-linha);
  border-radius: 7px;
}
.body-mercado .mercado-busca-salva::before {
  margin-left: -34px;
  content: "♡";
  color: var(--mercado-verde);
  font-size: 1.5rem;
}
.body-mercado .mercado-busca-salva strong { color: #f5f7f6; text-transform: uppercase; }
.body-mercado .mercado-busca-salva button {
  color: var(--mercado-verde);
  background: transparent;
  border: 1px solid var(--mercado-verde);
  border-radius: 4px;
  text-transform: uppercase;
}

.body-mercado .titulo-time { justify-content: flex-start; margin: 18px 0 7px; font-size: 1rem; }
.body-mercado .mercado-acesso-card {
  margin: 0 0 22px;
  padding: 17px 20px;
  background: #0c1216;
  border-color: var(--mercado-linha);
  border-radius: 7px;
}

.body-mercado .mercado-resultados-cabecalho { margin: 18px 0 14px; }
.body-mercado .lfg-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.body-mercado .lfg-card,
.body-mercado .mercado-jogador-card {
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  background: linear-gradient(145deg, #11171c, #090e12);
  border: 1px solid var(--mercado-linha);
  border-radius: 7px;
  box-shadow: 0 16px 28px rgba(0,0,0,.18);
}
.body-mercado .lfg-card:hover,
.body-mercado .mercado-jogador-card:hover {
  border-color: rgba(16,231,107,.55);
  transform: translateY(-2px);
}
.body-mercado .card-topo { flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.body-mercado .badge,
.body-mercado .badge-nivel-min {
  padding: 4px 8px;
  color: #cbd3cf;
  background: #171d22;
  border: 1px solid #323b42;
  border-radius: 4px;
  font-size: .65rem;
}
.body-mercado .badge-idade { color: #fff; border-color: rgba(16,231,107,.52); }
.body-mercado .card-corpo .gamertag {
  margin: 3px 0 8px;
  color: #fff;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 900;
}
.body-mercado .vaga-compatibilidade { padding: 0; color: var(--mercado-verde) !important; background: transparent !important; border: 0 !important; }
.body-mercado .card-corpo .descricao { min-height: 44px; margin: 10px 0; font-size: .8rem; }
.body-mercado .vaga-detalhes-rapidos { grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--mercado-linha); }
.body-mercado .vaga-detalhes-rapidos span { padding: 8px 0; background: transparent; font-size: .7rem; }
.body-mercado .card-rodape { align-items: stretch; flex-direction: column; gap: 10px; }
.body-mercado .card-rodape > div { display: grid !important; grid-template-columns: repeat(2, 1fr); }
.body-mercado .btn-chamar {
  min-height: 46px;
  grid-column: 1 / -1;
  color: #031009;
  background: var(--mercado-verde);
  border-color: var(--mercado-verde);
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
}
.body-mercado .btn-acao-card { justify-content: center; border-radius: 4px; }
.body-mercado .estilo-jogo { display: none; }
.body-mercado .card-imagem img { max-height: 190px; object-fit: cover; }

.body-mercado .mercado-seguranca {
  min-height: 68px;
  margin-top: 38px;
  padding: 16px clamp(18px, 6vw, 100px);
  background: linear-gradient(100deg, #11171c, #090e12);
  border-color: var(--mercado-linha);
  border-radius: 7px;
}
.body-mercado .mercado-seguranca strong { min-width: 220px; color: #f5f7f6; text-transform: uppercase; }

.body-mercado .jogadores-intro { margin: 0 0 18px; background: #0c1216; border-radius: 7px; }
.body-mercado .jogadores-filtros-card { grid-template-columns: repeat(3, minmax(0,1fr)); }
.body-mercado .jogadores-busca { grid-column: 1 / -1; }
.body-mercado .jogadores-filtros { display: contents; }
.body-mercado .jogadores-feed { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.body-mercado .jogador-card-disponivel { color: var(--mercado-verde); }
.body-mercado .jogador-card-badge.destaque { color: var(--mercado-verde); border-color: rgba(16,231,107,.45); }
.body-mercado .btn-convidar-jogador-mercado { color: #031009; background: var(--mercado-verde); border-color: var(--mercado-verde); border-radius: 4px; }

@media (max-width: 1150px) {
  .body-mercado .mercado-filtros-card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .body-mercado .mercado-filtros-card .lfg-busca { grid-column: 1 / -1; }
  .body-mercado .lfg-feed,
  .body-mercado .jogadores-feed { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .body-mercado .lfg-section { padding: 24px 14px 40px; }
  .body-mercado .lfg-header > h1 { font-size: 2.55rem; }
  .body-mercado .mercado-abas { overflow-x: auto; }
  .body-mercado .mercado-abas { overflow-y: hidden; }
  .body-mercado .mercado-aba { min-width: 210px; padding-inline: 12px; white-space: nowrap; }
  .body-mercado .mercado-filtros-card,
  .body-mercado .jogadores-filtros-card { grid-template-columns: 1fr; padding: 16px 12px; }
  .body-mercado .mercado-filtros-card .lfg-busca,
  .body-mercado .jogadores-busca { grid-column: auto; }
  .body-mercado .lfg-feed,
  .body-mercado .jogadores-feed { grid-template-columns: 1fr; }
  .body-mercado .mercado-busca-salva,
  .body-mercado .mercado-seguranca { align-items: stretch; flex-direction: column; padding: 16px; }
  .body-mercado .mercado-busca-salva::before { display: none; }
  .body-mercado .mercado-seguranca strong { min-width: 0; }
}

/* Ganha prioridade sobre os limites genéricos carregados depois desta folha. */
body.body-mercado main.main-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.body-mercado main.main-main section.lfg-section {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 76px);
  padding: 34px clamp(18px, 4vw, 64px) 56px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.body-mercado #filtro-estilo { display: none; }

/* Confirmação da primeira ativação do perfil de jogador. */
.mercado-ativacao-sucesso {
    width: 100%;
    margin: 0 0 28px;
    padding: 20px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    color: #eef7f1;
    border: 1px solid rgba(18, 224, 108, 0.48);
    border-radius: 16px;
    background:
      radial-gradient(circle at 100% 0, rgba(18, 224, 108, 0.16), transparent 38%),
      linear-gradient(135deg, #102219, #09120d);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.27);
    text-align: left;
}

.mercado-ativacao-sucesso[hidden] {
    display: none !important;
}

.mercado-ativacao-icone {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #041008;
    border-radius: 14px;
    background: #12e06c;
    box-shadow: 0 10px 28px rgba(18, 224, 108, 0.22);
    font-size: 20px;
    font-weight: 950;
}

.mercado-ativacao-kicker {
    color: #12e06c;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.lfg-header .mercado-ativacao-conteudo h2 {
    margin: 4px 0 5px;
    color: #fff;
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.25;
}

.mercado-ativacao-conteudo p {
    max-width: 650px;
    margin: 0;
    color: #9aa9a0;
    font-size: 11px;
    line-height: 1.5;
}

.mercado-ativacao-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

.mercado-ativacao-tags span {
    padding: 4px 8px;
    color: #bdf6d3;
    border: 1px solid rgba(18, 224, 108, 0.25);
    border-radius: 999px;
    background: rgba(18, 224, 108, 0.07);
    font-size: 9px;
    font-weight: 750;
}

.mercado-ativacao-acoes {
    display: grid;
    gap: 7px;
    min-width: 170px;
}

.mercado-ativacao-acoes button {
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    color: #dfe8e2;
    background: rgba(255, 255, 255, 0.035);
    font: 850 10px 'Montserrat', sans-serif;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.mercado-ativacao-acoes button:first-child {
    color: #041008;
    border-color: #12e06c;
    background: #12e06c;
}

.mercado-ativacao-acoes button:hover {
    border-color: #12e06c;
    transform: translateY(-1px);
}

.mercado-ativacao-acoes button:first-child:hover {
    background: #36eb80;
}

.mercado-ativacao-acoes button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .mercado-ativacao-sucesso {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .mercado-ativacao-icone {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .mercado-ativacao-acoes {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        min-width: 0;
    }
}

@media (max-width: 440px) {
    .mercado-ativacao-acoes {
        grid-template-columns: 1fr;
    }
}
.lfg-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
    padding: 20px 20px;
    background-color: #0f0f0f;
    color: #fff;
    
}

.lfg-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    
}

/* Cabeçalho e Filtros */
.lfg-header {
    text-align: center;
    margin-bottom: 30px;
}

.lfg-header > h1,
.lfg-header h2 {
    color: #12E06C; /* Verde Neon Tático */
    font-size: 2rem;
    margin-bottom: 10px;
}

.lfg-filtros {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.lfg-select, .lfg-input {
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    padding: 10px 15px;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    transition: 0.3s;
}

.lfg-select:focus, .lfg-input:focus, .lfg-textarea:focus {
    border-color: #12E06C;
}

/* Criador de Anúncios */
.lfg-criador {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    margin-bottom: 40px;
}

.lfg-criador[hidden],
.mercado-acesso-card[hidden],
.lfg-checkbox-nivel[hidden] {
    display: none !important;
}

.mercado-acesso-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid rgba(18, 224, 108, 0.42);
    border-radius: 14px;
    background:
      radial-gradient(circle at 100% 0, rgba(18, 224, 108, 0.16), transparent 38%),
      #171a18;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.mercado-acesso-texto {
    min-width: 0;
}

.mercado-acesso-kicker {
    display: block;
    margin-bottom: 7px;
    color: #12e06c;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.mercado-acesso-texto h3 {
    margin: 0 0 7px;
    color: #f7fff9;
    font-size: clamp(1.1rem, 2.3vw, 1.45rem);
}

.mercado-acesso-texto p {
    max-width: 560px;
    margin: 0;
    color: #aebbb3;
    line-height: 1.55;
}

.mercado-acesso-acoes {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
    flex-shrink: 0;
}

.mercado-acesso-acoes a {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #06130b;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mercado-acesso-acoes a:hover {
    transform: translateY(-2px);
}

.mercado-acesso-primario {
    border: 1px solid #12e06c;
    background: #12e06c;
}

.mercado-acesso-secundario {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: transparent;
    color: #effff5 !important;
}

.mercado-acesso-secundario:hover {
    border-color: #12e06c;
    background: rgba(18, 224, 108, 0.1);
}

.lfg-criador h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.form-linha {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-linha .lfg-input {
    flex: 1;
}

.lfg-textarea {
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 15px;
}

.btn-publicar {
    background-color: #12E06C;
    color: #000;
    font-weight: bold;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    font-family: inherit;
}

.btn-publicar:hover {
    background-color: #0fb857;
    transform: translateY(-2px);
}

/* Feed e Cards */
.lfg-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lfg-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s;
}

.lfg-card:hover {
    border-color: #555;
    transform: translateY(-3px);
}

.mpc-publicidade-feed {
    width: 100%;
    min-height: 108px;
    margin: 0;
    padding: 28px 12px 10px;
    background:
        linear-gradient(135deg, rgba(18, 224, 108, 0.035), transparent 42%),
        #171b18;
    border-color: rgba(213, 238, 222, 0.12);
    border-radius: 12px;
    box-shadow: none;
}

.mpc-publicidade-feed::before {
    position: absolute;
    top: 10px;
    left: 13px;
    width: 5px;
    height: 5px;
    content: "";
    background: #12e06c;
    border-radius: 50%;
    box-shadow: 0 0 9px rgba(18, 224, 108, 0.48);
}

.mpc-publicidade-feed .mpc-publicidade-rotulo {
    top: 8px;
    left: 26px;
    color: #7f8d84;
    font-size: 9px;
    letter-spacing: 0.08em;
}

.mpc-publicidade-feed .adsbygoogle {
    min-height: 70px;
}

.card-topo {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

/* Badges Coloridas */
.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.badge-xbox { background-color: #107C10; color: #fff; }
.badge-ps5 { background-color: #003791; color: #fff; }
.badge-pc { background-color: #d32f2f; color: #fff; }
.badge-posicao { background-color: #333; color: #12E06C; border: 1px solid #12E06C; }

.card-corpo .gamertag {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.card-corpo .descricao {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 15px;
}

.estilo-jogo {
    font-size: 0.85rem;
    color: #888;
    background-color: #222;
    padding: 5px 10px;
    border-radius: 5px;
}

.btn-chamar {
    background-color: transparent;
    color: #12E06C;
    border: 1px solid #12E06C;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-chamar:hover {
    background-color: #12E06C;
    color: #000;
}

.btn-candidatar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Responsividade para Celulares */
@media (max-width: 600px) {
    .form-linha {
        flex-direction: column;
    }
    .lfg-filtros {
        flex-direction: column;
    }

    .mpc-publicidade-feed {
        width: 100%;
        min-height: 96px;
        margin: 0;
        padding: 26px 8px 8px;
        border-radius: 11px;
    }

    .mpc-publicidade-feed .adsbygoogle {
        min-height: 60px;
    }
}

.titulo-time {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-transform: uppercase;
    margin: 20px;
}
.bastao{
    width: 80px;
    height: 3px;
    background-color: #107C10;
    margin: 20px;
}
/* Estilos mínimos para busca e upload — mover para style.css quando possível */
      .lfg-busca { margin: 12px 0; }
      .lfg-busca .lfg-input { width: 100%; }
      .lfg-label-upload {
        display: flex; align-items: center; gap: 10px; cursor: pointer;
        border: 1px dashed #12E06C; border-radius: 8px; padding: 10px 14px;
        color: #A0AAB5; font-size: 0.85rem; flex: 1;
      }
      .lfg-label-upload:hover { border-color: #fff; color: #fff; }
      .lfg-input-file { display: none; }
      .lfg-foto-preview {
        max-width: 160px; max-height: 160px; border-radius: 8px; object-fit: contain;
        border: 1px solid #12E06C; background: #0d0d0d;
      }
      .lfg-foto-preview.hidden { display: none; }
      .card-imagem {
        width: 100%; border-radius: 10px; overflow: hidden; margin-bottom: 12px;
        background: #0d0d0d; display: flex; justify-content: center; align-items: center;
      }
      .card-imagem img {
        width: 100%; height: auto; max-height: 420px; object-fit: contain;
        display: block; margin: 0 auto;
      }
      .card-imagem img { cursor: zoom-in; }
      .lightbox-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.9);
        display: flex; align-items: center; justify-content: center;
        z-index: 10000; cursor: zoom-out; padding: 20px;
      }
      .lightbox-overlay.hidden { display: none; }
      .lightbox-overlay img {
        max-width: 90vw; max-height: 90vh; object-fit: contain;
        border-radius: 8px; box-shadow: 0 0 40px rgba(18,224,108,0.25);
      }
      .lightbox-fechar {
        position: absolute; top: 18px; right: 24px; color: #fff; font-size: 2rem;
        cursor: pointer; line-height: 1; user-select: none; background: none; border: 0;
      }
      /* Galeria de miniaturas (até 3 fotos) */
      .lfg-galeria-preview { display: flex; gap: 8px; flex-wrap: wrap; }
      .card-galeria { display: flex; gap: 6px; margin-top: 8px; }
      .card-galeria img {
        width: 64px; height: 64px; object-fit: cover; border-radius: 6px;
        cursor: zoom-in; border: 1px solid #333;
      }
      /* Badges extras */
      .badge-verificado {
        background: #0d2a1a; color: #12E06C; border: 1px solid #12E06C;
        font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px;
        margin-left: 6px;
      }
      .badge-nivel-min {
        background: #1a1a0d; color: #e0c012; border: 1px solid #e0c012;
        font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px;
      }
      /* Botões de ação extras no card */
      .btn-acao-card {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        padding: 6px 12px; border-radius: 8px; font-weight: bold; cursor: pointer;
        font-size: 0.75rem; border: 1px solid #444; background: transparent; color: #A0AAB5;
      }
      .btn-acao-card:hover { border-color: #12E06C; color: #12E06C; }
      .btn-ver-clube:hover { border-color: #12E06C; color: #12E06C; }
      .btn-editar-vaga:hover { border-color: #2196f3; color: #2196f3; }
      .btn-denunciar-vaga:hover { border-color: #d32f2f; color: #d32f2f; }
      /* Destaque quando a vaga é aberta via link compartilhado */
      .lfg-card.destaque-compartilhada {
        outline: 2px solid #12E06C; outline-offset: 2px;
        animation: pulso-destaque 1.6s ease-in-out 2;
      }
      @keyframes pulso-destaque {
        0%,100% { box-shadow: 0 0 0 rgba(18,224,108,0); }
        50% { box-shadow: 0 0 18px rgba(18,224,108,0.6); }
      }
      .btn-carregar-mais {
        display: block; margin: 20px auto 0; padding: 10px 26px; border-radius: 8px;
        border: 1px solid #12E06C; background: transparent; color: #12E06C;
        font-weight: bold; cursor: pointer;
      }
      .btn-carregar-mais.hidden { display: none; }
      .btn-carregar-mais:hover { background: #12E06C; color: #050B14; }
      .lfg-checkbox-nivel { display: flex; align-items: center; gap: 8px; margin: 10px 0; color: #A0AAB5; font-size: 0.85rem; }
      #btn-cancelar-edicao { display: none; }

/* Melhorias do mercado: filtros, contagem e estados de carregamento */
.lfg-filtros {
  flex-wrap: wrap;
}

.lfg-filtros .lfg-select {
  flex: 1 1 160px;
  min-width: 0;
}

.mercado-busca-salva,
.mercado-seguranca {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 24px;
  padding: 16px 18px;
  color: #dce7df;
  background: linear-gradient(135deg, rgba(18, 224, 108, 0.08), rgba(5, 11, 14, 0.92));
  border: 1px solid rgba(18, 224, 108, 0.28);
  border-radius: 12px;
}

.mercado-busca-salva strong,
.mercado-seguranca strong { display: block; color: #12e06c; }
.mercado-busca-salva span,
.mercado-seguranca span { display: block; margin-top: 4px; color: #a0aab5; font-size: .82rem; line-height: 1.5; }
.mercado-busca-salva-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.mercado-busca-salva button { padding: 9px 12px; color: #07130b; background: #12e06c; border: 0; border-radius: 8px; cursor: pointer; font: 700 .78rem inherit; }
.mercado-busca-salva #btn-remover-busca { color: #dce7df; background: transparent; border: 1px solid #405047; }
.mercado-seguranca { margin-top: 24px; justify-content: flex-start; }
.vaga-compatibilidade { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.vaga-compatibilidade.alta { color: #07130b; background: #12e06c; }
.vaga-compatibilidade.media { color: #ffe08a; background: rgba(240, 180, 41, .13); border: 1px solid rgba(240, 180, 41, .4); }
.vaga-compatibilidade.baixa { color: #ff9a9a; background: rgba(211, 47, 47, .1); border: 1px solid rgba(255, 123, 123, .35); }
.vaga-detalhes-rapidos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 12px 0; }
.vaga-detalhes-rapidos span { padding: 8px 10px; color: #b9c4bd; background: rgba(255,255,255,.035); border-radius: 8px; font-size: .76rem; }
.vaga-status-candidatura { color: #12e06c; border-color: rgba(18,224,108,.45); cursor: default; }

@media (max-width: 680px) {
  .mercado-busca-salva { align-items: stretch; flex-direction: column; }
  .mercado-busca-salva-acoes button { width: 100%; }
}

.mercado-resultados-cabecalho {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 18px;
  text-align: left;
}

.mercado-resultados-cabecalho .titulo-time {
  justify-content: flex-start;
  margin: 0 0 4px;
}

.mercado-resultado {
  color: #A0AAB5;
  font-size: 0.85rem;
}

.btn-limpar-filtros {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid #12E06C;
  border-radius: 8px;
  background: transparent;
  color: #12E06C;
  font-weight: 700;
  cursor: pointer;
}

.btn-limpar-filtros:hover,
.btn-limpar-filtros:focus-visible {
  background: #12E06C;
  color: #050B14;
}

.btn-limpar-filtros[hidden] {
  display: none;
}

.btn-excluir-vaga {
  padding: 6px 12px;
  border: 1px solid #d32f2f;
  border-radius: 8px;
  background: transparent;
  color: #d32f2f;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-excluir-vaga:hover,
.btn-excluir-vaga:focus-visible {
  background: #d32f2f;
  color: #fff;
}

.mercado-estado {
  padding: 30px 16px;
  border: 1px dashed #333;
  border-radius: 12px;
  color: #A0AAB5;
  text-align: center;
}

.mercado-estado strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.mercado-estado.erro {
  border-color: #d32f2f;
  color: #ff8a8a;
}

.badge-jogo {
  background: #1a2a1a;
  color: #12E06C;
  border: 1px solid #12E06C;
}

@media (max-width: 600px) {
  .mercado-resultados-cabecalho {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-limpar-filtros {
    width: 100%;
  }
}

/* ==========================================================================
   MERCADO EM DUAS ÁREAS — vagas de clubes e jogadores disponíveis
========================================================================== */
.mercado-abas {
  width: fit-content;
  display: flex;
  gap: 8px;
  margin: 24px auto 6px;
  padding: 6px;
  background: #141414;
  border: 1px solid #2b2b2b;
  border-radius: 12px;
}

.mercado-aba {
  padding: 11px 22px;
  color: #8b8b8b;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.mercado-aba:hover,
.mercado-aba:focus-visible {
  color: #fff;
}

.mercado-aba.ativo {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
}

.mercado-painel[hidden] {
  display: none;
}

.jogadores-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 22px 24px;
  text-align: left;
  background: #141414;
  border: 1px solid #2b2b2b;
  border-radius: 16px;
}

.jogadores-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #22c55e;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.jogadores-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
}

.jogadores-intro p {
  margin: 5px 0 0;
  color: #8b8b8b;
  font-size: 12.5px;
  line-height: 1.5;
}

.btn-meu-perfil-mercado {
  flex-shrink: 0;
  padding: 11px 17px;
  color: #07130b;
  background: #22c55e;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-meu-perfil-mercado:hover,
.btn-meu-perfil-mercado:focus-visible {
  background: #1ea952;
  transform: translateY(-1px);
}

.jogadores-filtros-card {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  background: #141414;
  border: 1px solid #2b2b2b;
  border-radius: 14px;
}

.jogadores-busca {
  width: 100%;
}

.jogadores-filtros {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.jogadores-filtros .lfg-select {
  min-width: 0;
  width: 100%;
}

.jogadores-resultados-cabecalho {
  margin-top: 22px;
}

.jogadores-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.jogadores-feed .mercado-estado {
  grid-column: 1 / -1;
}

.mercado-jogador-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  text-align: left;
  background: #141414;
  border: 1px solid #2b2b2b;
  border-radius: 16px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.mercado-jogador-card:hover {
  border-color: rgba(34, 197, 94, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.jogador-card-topo {
  display: flex;
  align-items: center;
  gap: 13px;
}

.jogador-card-foto {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  object-fit: cover;
  background: #101010;
  border: 2px solid #22c55e;
  border-radius: 50%;
}

.jogador-card-identidade {
  min-width: 0;
}

.jogador-card-disponivel {
  display: inline-flex;
  margin-bottom: 4px;
  padding: 3px 8px;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.jogador-card-identidade h3 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jogador-card-identidade p {
  overflow: hidden;
  margin: 3px 0 0;
  color: #8b8b8b;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jogador-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.jogador-card-badge {
  padding: 5px 9px;
  color: #cfcfcf;
  background: #1b1b1b;
  border: 1px solid #333;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
}

.jogador-card-badge.destaque {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.35);
}

.jogador-card-bio {
  min-height: 58px;
  margin: 14px 0;
  color: #b5b5b5;
  font-size: 11.5px;
  line-height: 1.55;
}

.jogador-card-detalhes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.jogador-card-detalhes div {
  min-width: 0;
  padding: 9px;
  background: #1b1b1b;
  border: 1px solid #2b2b2b;
  border-radius: 8px;
}

.jogador-card-detalhes dt {
  margin-bottom: 3px;
  color: #6f6f6f;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.jogador-card-detalhes dd {
  overflow: hidden;
  margin: 0;
  color: #e4e4e4;
  font-size: 10.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jogador-card-stats {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 4px 0;
  border-top: 1px solid #2b2b2b;
}

.jogador-card-stats span {
  color: #8b8b8b;
  font-size: 9px;
  text-align: center;
}

.jogador-card-stats strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 13px;
}

.jogador-card-acoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 16px;
}

.btn-ver-jogador,
.btn-convidar-jogador-mercado,
.btn-acao-jogador-secundaria {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.btn-ver-jogador,
.btn-acao-jogador-secundaria {
  color: #cfcfcf;
  background: transparent;
  border: 1px solid #3a3a3a;
}

.btn-ver-jogador:hover,
.btn-ver-jogador:focus-visible,
.btn-acao-jogador-secundaria:hover,
.btn-acao-jogador-secundaria:focus-visible {
  color: #fff;
  border-color: #5a5a5a;
}

.btn-convidar-jogador-mercado {
  color: #07130b;
  background: #22c55e;
  border: 1px solid #22c55e;
}

.btn-convidar-jogador-mercado:hover,
.btn-convidar-jogador-mercado:focus-visible {
  background: #1ea952;
  border-color: #1ea952;
}

.btn-convidar-jogador-mercado:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 1000px) {
  .jogadores-filtros {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .mercado-abas {
    width: 100%;
  }

  .mercado-aba {
    flex: 1;
    padding: 10px 8px;
    font-size: 13px;
  }

  .jogadores-intro {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .btn-meu-perfil-mercado {
    text-align: center;
  }

  .jogadores-filtros {
    grid-template-columns: 1fr;
  }

  .jogadores-feed {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CENTRAL DE NOTIFICAÇÕES E MENSAGENS
========================================================================== */
.email-container {
  position: relative;
}

.mensagens-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  color: #07130b;
  background: #22c55e;
  border: 2px solid #0f1a2c;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.mensagens-badge[hidden] {
  display: none;
}

.notificacoes-cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notificacoes-cabecalho h3 {
  margin: 0;
  color: #22c55e;
  font-size: 0.9rem;
}

.notificacoes-cabecalho button {
  padding: 4px;
  color: #a0aab5;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.notificacoes-abas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  background: #111a17;
  border: 1px solid #26362d;
  border-radius: 9px;
}

.notificacoes-aba {
  padding: 7px 9px;
  color: #8b8b8b;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
}

.notificacoes-aba.ativo {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
}

.notificacoes-painel[hidden] {
  display: none;
}

.notificacoes-vazio {
  margin: 14px 4px;
  color: #a0aab5;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.notificacoes-vazio.erro {
  color: #ff7b7b;
}

.notificacoes-rodape {
  display: grid;
  gap: 5px;
  margin-top: 2px;
  padding: 10px 4px 1px;
  border-top: 1px solid #26362d;
}

.notificacoes-rodape p {
  margin: 0;
  color: #75837b;
  font-size: 9px;
}

.notificacoes-rodape a {
  color: #22c55e;
  font-size: 10.5px;
  font-weight: 800;
  text-decoration: none;
}

.notificacoes-rodape a:hover {
  text-decoration: underline;
}

.modal-confirm-box.denuncia-modal-box {
  width: min(520px, calc(100vw - 28px));
}

.denuncia-modal-campo {
  display: grid;
  gap: 7px;
  margin-top: 15px;
  color: #d7e0da;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 800;
}

.denuncia-modal-campo span small,
.denuncia-modal-campo > small {
  color: #7d8981;
  font-weight: 600;
}

.denuncia-modal-campo select,
.denuncia-modal-campo textarea {
  width: 100%;
  padding: 11px 12px;
  color: #f1f5f2;
  background: #101511;
  border: 1px solid #344038;
  border-radius: 9px;
  outline: none;
  font: inherit;
  font-size: 0.8rem;
}

.denuncia-modal-campo textarea {
  min-height: 105px;
  resize: vertical;
  line-height: 1.5;
}

.denuncia-modal-campo select:focus,
.denuncia-modal-campo textarea:focus {
  border-color: #12e06c;
  box-shadow: 0 0 0 3px rgba(18, 224, 108, 0.11);
}

#denuncia-contador {
  text-align: right;
}

.historico-convite-item {
  margin-bottom: 7px;
  padding: 10px;
  background: #142019;
  border: 1px solid #26362d;
  border-radius: 9px;
}

.historico-convite-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.historico-convite-topo strong {
  color: #e6edf3;
  font-size: 10.5px;
  line-height: 1.4;
}

.historico-convite-item small {
  display: block;
  margin-top: 5px;
  color: #75837b;
  font-size: 9px;
}

.historico-status {
  flex-shrink: 0;
  padding: 3px 6px;
  color: #cfcfcf;
  background: #292929;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
}

.historico-status.status-aceito {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

.historico-status.status-recusado {
  color: #ff7b7b;
  background: rgba(211, 47, 47, 0.12);
}

.historico-status.status-pendente {
  color: #f0b429;
  background: rgba(240, 180, 41, 0.12);
}

.historico-status.status-cancelado {
  color: #a0aab5;
  background: rgba(160, 170, 181, 0.12);
}

.historico-acoes {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.historico-abrir-chat {
  flex: 1;
  padding: 7px 9px;
  color: #07130b;
  background: #22c55e;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 800;
}

.historico-cancelar {
  flex: 1;
  padding: 7px 9px;
  color: #ff9a9a;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(255, 123, 123, 0.45);
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 800;
}

.historico-cancelar:disabled {
  cursor: wait;
  opacity: 0.6;
}

.chat-lista-item.nao-lido {
  border-color: #22c55e !important;
  background: #163020 !important;
}

.chat-nao-lido-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
}

@media (max-width: 520px) {
  #painel-sino,
  #painel-msg {
    top: 72px !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-height: calc(100vh - 92px) !important;
  }
}

/* Filtros compartilháveis, feedback recuperável e skeletons do mercado. */
.mercado-filtros-ativos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}

.mercado-filtros-ativos[hidden] { display: none; }

.mercado-filtros-ativos button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: #dff8e8;
  background: rgba(18, 224, 108, .09);
  border: 1px solid rgba(18, 224, 108, .34);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 750;
  cursor: pointer;
}

.mercado-filtros-ativos button:hover,
.mercado-filtros-ativos button:focus-visible {
  color: #031008;
  background: #52f594;
  border-color: #52f594;
}

.mercado-filtros-ativos button span { font-size: 1rem; line-height: 1; }

.mercado-skeletons {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.mercado-skeleton-card {
  min-height: 470px;
  border-radius: 16px;
  background:
    linear-gradient(105deg, transparent 36%, rgba(255,255,255,.075) 48%, transparent 60%),
    linear-gradient(#111a15, #0a100d);
  background-size: 230% 100%, 100% 100%;
  animation: mercado-skeleton 1.25s linear infinite;
}

.mercado-estado .mercado-estado-acao {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 17px;
  color: #031008;
  background: #12e06c;
  border: 0;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

@keyframes mercado-skeleton { to { background-position: -230% 0, 0 0; } }

@media (max-width: 980px) {
  .mercado-skeletons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .mercado-filtros-ativos { gap: 6px; margin-top: 4px; }
  .mercado-filtros-ativos button { min-height: 44px; max-width: 100%; text-align: left; }
  .mercado-skeletons { grid-template-columns: 1fr; }
  .mercado-skeleton-card { min-height: 410px; }
}

@media (prefers-reduced-motion: reduce) {
  .mercado-skeleton-card { animation: none; }
}

/* ==========================================================================
   POLIMENTO VISUAL — profundidade esportiva e posts centralizados
========================================================================== */
body.body-mercado main.main-main section.lfg-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.body-mercado main.main-main section.lfg-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(118deg, transparent 0 52%, rgba(16,231,107,.025) 52.1% 52.35%, transparent 52.45%),
    linear-gradient(62deg, transparent 0 72%, rgba(255,255,255,.02) 72.1% 72.3%, transparent 72.4%),
    radial-gradient(ellipse at 50% 2%, rgba(16,231,107,.055), transparent 43%);
}

.body-mercado .lfg-header > h1 {
  position: relative;
  width: fit-content;
  padding-right: 30px;
}

.body-mercado .lfg-header > h1::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--mercado-verde);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(16,231,107,.85);
}

.body-mercado .mercado-filtros-card,
.body-mercado .jogadores-filtros-card,
.body-mercado .mercado-busca-salva,
.body-mercado .mercado-acesso-card,
.body-mercado .jogadores-intro,
.body-mercado .mercado-seguranca {
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.018);
}

.body-mercado .mercado-filtros-card {
  position: relative;
  overflow: hidden;
}

.body-mercado .mercado-filtros-card::before {
  position: absolute;
  top: 0;
  left: 16px;
  width: 74px;
  height: 2px;
  content: "";
  background: var(--mercado-verde);
  box-shadow: 0 0 12px rgba(16,231,107,.65);
}

.body-mercado .lfg-select,
.body-mercado .lfg-input {
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.body-mercado .lfg-select:focus,
.body-mercado .lfg-input:focus {
  background-color: #0c1216;
  border-color: var(--mercado-verde);
  box-shadow: 0 0 0 3px rgba(16,231,107,.09), 0 8px 22px rgba(0,0,0,.2);
}

/* Centraliza a grade mesmo quando há somente um ou dois posts. */
.body-mercado .lfg-feed,
.body-mercado .jogadores-feed {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  width: 100%;
  margin-inline: auto;
}

.body-mercado .lfg-card,
.body-mercado .mercado-jogador-card {
  position: relative;
  flex: 1 1 300px;
  max-width: 370px;
  width: 100%;
  height: 100%;
  border-color: #2b353d;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.body-mercado .lfg-card {
  display: flex;
  flex-direction: column;
  height: 720px;
}

.body-mercado .lfg-card .card-corpo {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #344139 transparent;
}

.body-mercado .lfg-card .card-rodape { flex: 0 0 auto; }

.body-mercado .mercado-jogador-card { height: 570px; }

.body-mercado .mercado-publicidade-entre-posts {
  flex: 1 0 100%;
  max-width: none;
  margin: 4px 0 8px;
}

.body-mercado .lfg-card::before,
.body-mercado .mercado-jogador-card::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(16,231,107,.8), transparent);
  opacity: .38;
  transition: opacity .24s ease;
}

.body-mercado .lfg-card::after,
.body-mercado .mercado-jogador-card::after {
  position: absolute;
  z-index: 0;
  top: -110px;
  right: -90px;
  width: 220px;
  height: 220px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(16,231,107,.075), transparent 68%);
}

.body-mercado .lfg-card:hover,
.body-mercado .mercado-jogador-card:hover {
  border-color: rgba(16,231,107,.68);
  box-shadow: 0 22px 52px rgba(0,0,0,.38), 0 0 0 1px rgba(16,231,107,.06);
  transform: translateY(-4px);
}

.body-mercado .lfg-card:hover::before,
.body-mercado .mercado-jogador-card:hover::before { opacity: 1; }

.body-mercado .lfg-card > *,
.body-mercado .mercado-jogador-card > * { position: relative; z-index: 1; }

.body-mercado .card-corpo .gamertag {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
}

.body-mercado .card-corpo .gamertag::after {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: "";
  background: var(--mercado-verde);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(16,231,107,.7);
}

.body-mercado .vaga-detalhes-rapidos span,
.body-mercado .jogador-card-detalhes div {
  transition: background-color .2s ease, border-color .2s ease;
}

.body-mercado .lfg-card:hover .vaga-detalhes-rapidos span,
.body-mercado .mercado-jogador-card:hover .jogador-card-detalhes div {
  background-color: rgba(255,255,255,.026);
  border-color: rgba(16,231,107,.14);
}

.body-mercado .btn-chamar,
.body-mercado .btn-convidar-jogador-mercado {
  box-shadow: 0 8px 22px rgba(16,231,107,.13);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.body-mercado .btn-chamar:hover,
.body-mercado .btn-convidar-jogador-mercado:hover {
  background: #35f586;
  box-shadow: 0 12px 30px rgba(16,231,107,.25);
  transform: translateY(-1px);
}

.body-mercado .mercado-estado,
.body-mercado .mpc-publicidade-feed {
  flex: 1 0 100%;
  max-width: none;
  width: 100%;
}

.body-mercado .mercado-resultados-cabecalho {
  max-width: 1312px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 720px) {
  .body-mercado .lfg-header > h1 { padding-right: 22px; }
  .body-mercado .lfg-header > h1::after { right: 2px; bottom: 4px; width: 6px; height: 6px; }
  .body-mercado .lfg-feed,
  .body-mercado .jogadores-feed { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .body-mercado .lfg-card,
  .body-mercado .mercado-jogador-card { max-width: 480px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .body-mercado .lfg-card,
  .body-mercado .mercado-jogador-card,
  .body-mercado .btn-chamar,
  .body-mercado .btn-convidar-jogador-mercado { transition: none; }
}

/* ==========================================================================
   ESPECIFICAÇÃO FINAL DO MERCADO — referência desktop/tablet/mobile
========================================================================== */
.body-mercado .mercado-publicidade-faixa {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 92px;
  min-height: 92px;
  margin: 0 0 22px;
  padding: 28px 16px 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16,231,107,.035), transparent 25% 75%, rgba(16,231,107,.035)),
    #090e12;
  border: 1px solid rgba(16,231,107,.52);
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(255,255,255,.02), 0 12px 28px rgba(0,0,0,.18);
}

.body-mercado .mercado-publicidade-faixa-rotulo {
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  color: var(--mercado-verde);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}

.body-mercado .mercado-publicidade-topo {
  grid-area: 1 / 1;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.body-mercado .mercado-publicidade-reserva {
  grid-area: 1 / 1;
  width: 100%;
  height: 52px;
}

.body-mercado .mercado-publicidade-topo .mpc-publicidade-rotulo { display: none; }

.body-mercado .mercado-publicidade-topo .adsbygoogle {
  width: 100%;
  min-height: 52px;
}

.body-mercado .vaga-clube-identidade {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  margin: 2px 0 10px;
}

.body-mercado .vaga-clube-escudo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  padding: 3px;
  object-fit: contain;
  background: #070b0e;
  border: 1px solid #344048;
  border-radius: 8px;
}

.body-mercado .vaga-clube-escudo-fallback {
  display: grid;
  place-items: center;
  color: var(--mercado-verde);
  font-size: 1.6rem;
}

.body-mercado .vaga-clube-identidade > div { min-width: 0; }
.body-mercado .vaga-clube-identidade .gamertag { min-height: 0; margin: 0 0 5px; }
.body-mercado .vaga-clube-identidade small {
  color: #7f8a91;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.body-mercado .card-imagem {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 0;
  margin: 14px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(16,231,107,.05), transparent 55%),
    #05080b;
  border: 1px solid #283139;
  border-radius: 6px;
}

.body-mercado .card-imagem img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.body-mercado .card-galeria {
  justify-content: center;
  margin: -4px 0 12px;
}

.body-mercado .card-galeria img {
  width: 58px;
  height: 44px;
  object-fit: contain;
  background: #05080b;
}

/* Desktop: três cards exatamente, centralizados inclusive em linhas incompletas. */
@media (min-width: 1150px) {
  .body-mercado .lfg-card,
  .body-mercado .mercado-jogador-card {
    flex: 0 1 calc((100% - 36px) / 3);
    max-width: calc((100% - 36px) / 3);
  }
}

/* Tablet: dois cards por linha, sempre centralizados. */
@media (min-width: 720px) and (max-width: 1149px) {
  .body-mercado .mercado-filtros-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .body-mercado .mercado-filtros-card .lfg-busca { grid-column: 1 / -1; }
  .body-mercado .jogadores-filtros-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .body-mercado .lfg-card,
  .body-mercado .mercado-jogador-card {
    flex: 0 1 calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

/* Mobile: um card por linha, sem rolagem horizontal. */
@media (max-width: 719px) {
  .body-mercado { overflow-x: hidden; }
  .body-mercado .lfg-card,
  .body-mercado .mercado-jogador-card {
    flex: 0 1 100%;
    max-width: 480px;
  }
  .body-mercado .btn-chamar,
  .body-mercado .btn-acao-card,
  .body-mercado .btn-ver-jogador,
  .body-mercado .btn-convidar-jogador-mercado,
  .body-mercado .btn-acao-jogador-secundaria { min-height: 44px; }
  .body-mercado .mercado-publicidade-faixa { height: 78px; min-height: 78px; padding-inline: 10px; }
  .body-mercado .vaga-clube-escudo { width: 56px; height: 56px; flex-basis: 56px; }
}

body.body-mercado main.main-main .lfg-header > h1 {
  font-family: "Arial Narrow", "Montserrat", sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .96;
}

body.body-mercado main.main-main .lfg-header > h1 span {
  color: #12e06c;
}

/* Centralização solicitada e remoção dos pontos decorativos. */
body.body-mercado main.main-main .lfg-header > h1 {
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  text-align: center;
}

body.body-mercado main.main-main .lfg-header > h1::after,
body.body-mercado main.main-main .card-corpo .gamertag::after {
  display: none;
  content: none;
}

/* Título e navegação do mercado alinhados como um único bloco central. */
body.body-mercado main.main-main .mercado-abas {
  justify-content: center;
}

body.body-mercado main.main-main .mercado-aba {
  flex: 0 1 290px;
  white-space: nowrap;
}

/* Destaque compacto para a exigência de overall da vaga. */
body.body-mercado main.main-main .badge-nivel-min {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  color: #ffe083;
  border-color: rgba(247, 201, 72, .52);
  border-radius: 5px;
  background: linear-gradient(120deg, rgba(247, 201, 72, .13), rgba(247, 201, 72, .035));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
  letter-spacing: .025em;
}

/* CTA principal do card: esportivo, legível e com feedback de interação. */
body.body-mercado main.main-main .btn-chamar {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 12px 0 18px;
  color: #021008;
  background: linear-gradient(100deg, #10e76b, #32f284);
  border: 1px solid #43f895;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(16,231,107,.2), inset 0 1px rgba(255,255,255,.28);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .055em;
  text-decoration: none;
}

body.body-mercado main.main-main .btn-candidatar-seta {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(2,16,8,.16);
  border-radius: 50%;
  background: rgba(2,16,8,.1);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}

body.body-mercado main.main-main .btn-chamar:hover .btn-candidatar-seta {
  background: rgba(2,16,8,.17);
  transform: translateX(3px);
}

body.body-mercado main.main-main .btn-chamar:focus-visible {
  outline: 3px solid rgba(255,255,255,.92);
  outline-offset: 3px;
}

@media (max-width: 719px) {
  body.body-mercado main.main-main .mercado-abas {
    justify-content: flex-start;
  }

  body.body-mercado main.main-main .mercado-aba {
    flex: 0 0 210px;
  }
}

/* Modal central do mercado — confirmação acima da página, nunca no fluxo. */
body.body-mercado > .modal-overlay {
  position: fixed;
  z-index: 20000;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: 20px;
  overflow: auto;
  background: rgba(1,5,3,.82);
  backdrop-filter: blur(10px);
  overscroll-behavior: contain;
  animation: mercadoOverlayEntrar .18s ease-out;
}

body.body-mercado > .modal-overlay .modal-confirm-box {
  position: relative;
  width: min(480px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  margin: auto;
  padding: 28px;
  overflow: auto;
  color: #edf7f0;
  border: 1px solid rgba(16,231,107,.34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 0, rgba(16,231,107,.13), transparent 34%),
    linear-gradient(150deg, #111a15, #090e0b);
  box-shadow: 0 34px 110px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.025) inset;
  text-align: center;
  animation: mercadoModalEntrar .2s ease-out;
}

body.body-mercado > .modal-overlay .modal-confirm-box::before {
  position: absolute;
  top: 0;
  right: 28%;
  left: 28%;
  height: 2px;
  content: "";
  background: #10e76b;
  box-shadow: 0 0 18px rgba(16,231,107,.8);
}

body.body-mercado > .modal-overlay .modal-confirm-icone {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 12px;
  color: #eafff1;
  border: 1px solid rgba(16,231,107,.42);
  border-radius: 50%;
  background: rgba(16,231,107,.1);
  box-shadow: 0 0 0 7px rgba(16,231,107,.045);
  font-size: 1.4rem;
}

body.body-mercado > .modal-overlay .modal-confirm-icone[hidden],
body.body-mercado > .modal-overlay .modal-confirm-detalhes[hidden] {
  display: none !important;
}

body.body-mercado > .modal-overlay .modal-confirm-titulo {
  margin: 0 0 8px;
  color: #f5fff8;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

body.body-mercado > .modal-overlay .modal-confirm-mensagem {
  margin: 0 0 18px;
  color: #a7b5ac;
  font-size: .82rem;
  line-height: 1.55;
}

body.body-mercado > .modal-overlay .modal-confirm-detalhes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 20px;
  text-align: left;
}

body.body-mercado > .modal-overlay .modal-confirm-detalhes span {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  color: #c9d5cd;
  border: 1px solid #2d3831;
  border-radius: 6px;
  background: rgba(255,255,255,.026);
  font-size: .68rem;
  line-height: 1.35;
}

body.body-mercado > .modal-overlay[data-modal-variante="candidatura"] .modal-confirm-box {
  width: min(520px, calc(100vw - 28px));
}

body.body-mercado > .modal-overlay[data-modal-variante="candidatura"] .modal-confirm-detalhes span:first-child {
  grid-column: 1 / -1;
  color: #f1fff6;
  border-color: rgba(16,231,107,.3);
  background: rgba(16,231,107,.055);
  font-weight: 800;
}

body.body-mercado > .modal-overlay .modal-confirm-acoes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

body.body-mercado > .modal-overlay .modal-confirm-cancelar,
body.body-mercado > .modal-overlay .modal-confirm-confirmar {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 9px 13px;
  border-radius: 6px;
  font-family: inherit;
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

body.body-mercado > .modal-overlay .modal-confirm-cancelar {
  color: #cbd5ce;
  border: 1px solid #3a4740;
  background: rgba(255,255,255,.035);
}

body.body-mercado > .modal-overlay .modal-confirm-cancelar:hover {
  color: #fff;
  border-color: #647169;
  background: rgba(255,255,255,.07);
}

body.body-mercado > .modal-overlay .modal-confirm-confirmar {
  color: #031008;
  border: 1px solid #3bf58d;
  background: linear-gradient(100deg, #10e76b, #36ef84);
  box-shadow: 0 10px 26px rgba(16,231,107,.18);
}

body.body-mercado > .modal-overlay .modal-confirm-confirmar:hover {
  background: #50f39a;
  transform: translateY(-1px);
}

body.body-mercado > .modal-overlay .modal-confirm-confirmar.destrutivo {
  color: #fff;
  border-color: #f36b6b;
  background: #d94747;
  box-shadow: 0 10px 26px rgba(217,71,71,.16);
}

body.body-mercado > .modal-overlay .candidatura-sucesso-modal {
  width: min(560px, calc(100vw - 28px));
}

@keyframes mercadoOverlayEntrar {
  from { opacity: 0; }
}

@keyframes mercadoModalEntrar {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
}

@media (max-width: 520px) {
  body.body-mercado > .modal-overlay { padding: 10px; }
  body.body-mercado > .modal-overlay .modal-confirm-box { padding: 22px 16px 16px; }
  body.body-mercado > .modal-overlay .modal-confirm-detalhes { grid-template-columns: 1fr; }
  body.body-mercado > .modal-overlay[data-modal-variante="candidatura"] .modal-confirm-detalhes span:first-child { grid-column: auto; }
  body.body-mercado > .modal-overlay .modal-confirm-acoes { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body.body-mercado > .modal-overlay,
  body.body-mercado > .modal-overlay .modal-confirm-box { animation: none; }
}

body.body-mercado > .modal-overlay[data-modal-variante="candidatura"] .modal-confirm-icone {
  width: 68px;
  height: 68px;
  padding: 5px;
  overflow: hidden;
  border-radius: 14px;
  background: #080d0a;
}

body.body-mercado > .modal-overlay .modal-confirm-icone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
}

/* Ampliação do post completo. */
.body-mercado .lfg-card[tabindex="0"] { cursor: zoom-in; }

.body-mercado .lfg-card[tabindex="0"]:focus-visible {
  outline: 3px solid rgba(16,231,107,.82);
  outline-offset: 4px;
}

.vaga-zoom-overlay {
  position: fixed;
  z-index: 18000;
  inset: 0;
  background: rgba(1,5,3,.84);
  backdrop-filter: blur(10px);
  animation: mercadoOverlayEntrar .18s ease-out;
}

.body-mercado .lfg-card-placeholder {
  min-width: 0;
  visibility: hidden;
  pointer-events: none;
}

body.body-mercado > .lfg-card.card-zoom-ativo {
  position: fixed;
  z-index: 18001;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100vw - 40px));
  max-width: 760px;
  height: min(88dvh, 820px);
  max-height: 820px;
  margin: 0;
  box-sizing: border-box;
  cursor: default;
  border-color: rgba(16,231,107,.62);
  box-shadow: 0 38px 120px rgba(0,0,0,.78), 0 0 0 1px rgba(16,231,107,.08);
  transform: translate(-50%, -50%);
  animation: mercadoCardZoomEntrar .2s ease-out;
}

body.body-mercado > .lfg-card.card-zoom-ativo:hover {
  transform: translate(-50%, -50%);
}

body.body-mercado > .lfg-card.card-zoom-ativo .card-topo {
  padding-right: 44px;
}

body.body-mercado > .lfg-card.card-zoom-ativo .card-corpo {
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.body-mercado > .lfg-card.card-zoom-ativo .card-imagem {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

body.body-mercado > .lfg-card.card-zoom-ativo > .card-zoom-fechar {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  color: #dce7e0;
  border: 1px solid #405047;
  border-radius: 50%;
  background: rgba(5,10,7,.9);
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

body.body-mercado > .lfg-card.card-zoom-ativo > .card-zoom-fechar:hover,
body.body-mercado > .lfg-card.card-zoom-ativo > .card-zoom-fechar:focus-visible {
  color: #06110b;
  border-color: #50f39a;
  background: #50f39a;
  outline: none;
}

body.body-mercado > .lfg-card.card-zoom-ativo .btn-chamar {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  grid-column: 1 / -1;
  padding: 0 12px 0 18px;
  color: #021008;
  border: 1px solid #43f895;
  border-radius: 6px;
  background: linear-gradient(100deg, #10e76b, #32f284);
  box-shadow: 0 10px 28px rgba(16,231,107,.2), inset 0 1px rgba(255,255,255,.28);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .055em;
  text-decoration: none;
}

body.body-mercado > .lfg-card.card-zoom-ativo .btn-candidatar-seta {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(2,16,8,.16);
  border-radius: 50%;
  background: rgba(2,16,8,.1);
  font-size: 1.15rem;
  line-height: 1;
}

@keyframes mercadoCardZoomEntrar {
  from { opacity: 0; transform: translate(-50%, -47%) scale(.96); }
}

@media (max-width: 719px) {
  body.body-mercado > .lfg-card.card-zoom-ativo {
    width: calc(100vw - 20px);
    height: 92dvh;
    max-height: 92dvh;
    padding: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vaga-zoom-overlay,
  body.body-mercado > .lfg-card.card-zoom-ativo { animation: none; }
}

/* Pós-candidatura: próximos passos e ações reversíveis. */
body.body-mercado main.main-main .btn-cancelar-candidatura {
  grid-column: 1 / -1;
  min-height: 40px;
  justify-content: center;
  color: #ff9c9c;
  border-color: rgba(255,113,113,.3);
  background: rgba(255,113,113,.045);
}

body.body-mercado main.main-main .btn-cancelar-candidatura:hover {
  color: #fff;
  border-color: rgba(255,113,113,.58);
  background: rgba(255,113,113,.13);
}

.candidatura-sucesso-modal {
  width: min(560px, calc(100vw - 28px));
  padding: clamp(22px, 4vw, 32px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(16,231,107,.16), transparent 42%),
    #0c1216;
  border-color: rgba(16,231,107,.4);
}

.candidatura-sucesso-icone {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 12px;
  color: #04110a;
  background: linear-gradient(145deg, #12e06c, #50f39a);
  border: 4px solid rgba(16,231,107,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(16,231,107,.07), 0 12px 34px rgba(16,231,107,.18);
  font-size: 1.65rem;
  font-weight: 950;
}

.candidatura-sucesso-kicker {
  display: block;
  margin-bottom: 6px;
  color: #50f39a;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.candidatura-sucesso-modal .modal-confirm-titulo {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
}

.candidatura-sucesso-modal .modal-confirm-mensagem {
  max-width: 440px;
  margin-right: auto;
  margin-left: auto;
  color: #aebbb3;
  line-height: 1.55;
}

.candidatura-sucesso-modal .modal-confirm-mensagem strong { color: #f4fff8; }

.candidatura-proximos-passos {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.candidatura-proximos-passos li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border: 1px solid #2b353d;
  border-radius: 7px;
  background: rgba(255,255,255,.025);
}

.candidatura-proximos-passos li > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  color: #50f39a;
  border: 1px solid rgba(16,231,107,.34);
  border-radius: 50%;
  background: rgba(16,231,107,.07);
  font-size: .72rem;
  font-weight: 900;
}

.candidatura-proximos-passos li div {
  display: grid;
  gap: 3px;
}

.candidatura-proximos-passos strong { color: #eef7f1; font-size: .78rem; }
.candidatura-proximos-passos small { color: #89978e; font-size: .68rem; line-height: 1.35; }

.candidatura-sucesso-acoes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.candidatura-sucesso-acoes .modal-confirm-cancelar,
.candidatura-sucesso-acoes .modal-confirm-confirmar {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 520px) {
  .candidatura-sucesso-modal { padding: 20px 16px; }
  .candidatura-proximos-passos { margin-block: 16px; }
  .candidatura-sucesso-acoes { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body.body-mercado main.main-main .btn-candidatar-seta { transition: none; }
}

/* No celular, mantém abas e filtros legíveis sem cortes ou rolagem lateral. */
@media (max-width: 520px) {
  body.body-mercado main.main-main .mercado-abas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  body.body-mercado main.main-main .mercado-aba {
    min-width: 0;
    min-height: 56px;
    padding: 10px 8px;
    font-size: .7rem;
    line-height: 1.25;
    white-space: normal;
  }

  body.body-mercado main.main-main .mercado-filtros-card,
  body.body-mercado main.main-main .jogadores-filtros-card {
    grid-template-columns: minmax(0, 1fr);
  }

  body.body-mercado main.main-main .mercado-filtros-card .lfg-filtros,
  body.body-mercado main.main-main .jogadores-filtros-card .jogadores-filtros {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 8px;
  }

  body.body-mercado main.main-main .mercado-filtros-card .lfg-input,
  body.body-mercado main.main-main .mercado-filtros-card .lfg-select,
  body.body-mercado main.main-main .jogadores-filtros-card .lfg-input,
  body.body-mercado main.main-main .jogadores-filtros-card .lfg-select {
    width: 100%;
    min-width: 0;
    min-height: 46px !important;
    font-size: .82rem;
  }
}

.body-mercado .mercado-resultados-cabecalho {
  position: relative;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.body-mercado .mercado-resultados-cabecalho .titulo-time {
  justify-content: center;
}

.body-mercado .mercado-resultados-cabecalho .btn-limpar-filtros {
  position: absolute;
  right: 0;
}

@media (max-width: 719px) {
  .body-mercado .mercado-resultados-cabecalho .btn-limpar-filtros {
    position: static;
  }
}

/* Centraliza toda a área do mercado em monitores largos. */
body.body-mercado main.main-main section.lfg-section > .lfg-container {
  width: min(1460px, 100%);
  max-width: 1460px;
  margin-right: auto;
  margin-left: auto;
}

body.body-mercado main.main-main section.lfg-section > .lfg-container > .lfg-header {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

/* Artes finais do mercado: hero e camada tática. */
body.body-mercado main.main-main section.lfg-section {
  background-color: #05080b;
  background-image:
    linear-gradient(180deg, rgba(5,8,11,.08) 0, rgba(5,8,11,.44) 275px, #05080b 420px),
    url('../IMG/mercado-hero-desktop-v1.webp');
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 430px, 100% 360px;
}

body.body-mercado main.main-main section.lfg-section::before {
  z-index: -1;
  inset: 34px max(18px, 4vw) auto;
  height: 330px;
  opacity: .2;
  background: url('../IMG/mercado-campo-tatico-v1.svg') center top / min(1400px, 92%) 310px no-repeat;
}

.body-mercado .card-imagem-padrao {
  position: relative;
}

.body-mercado .card-imagem-padrao img {
  opacity: .78;
  filter: saturate(.72) contrast(1.08) brightness(.82);
}

.body-mercado .card-imagem-padrao::after {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 4px 7px;
  content: "Imagem padrão";
  color: rgba(230,240,234,.58);
  background: rgba(5,8,11,.72);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  body.body-mercado main.main-main section.lfg-section {
    background-image:
      linear-gradient(180deg, rgba(5,8,11,.06) 0, rgba(5,8,11,.42) 320px, #05080b 470px),
      url('../IMG/mercado-hero-mobile-v1.webp');
    background-size: 100% 480px, cover;
  }

  body.body-mercado main.main-main section.lfg-section::before {
    inset: 26px 14px auto;
    height: 300px;
    background: url('../IMG/mercado-campo-tatico-v1.svg') center top / 1180px 270px no-repeat;
  }
}

/* ==========================================================================
   MERCADO COMPACTO — confiança, compatibilidade e candidatura
========================================================================== */
@media (min-width: 720px) {
  body.body-mercado main.main-main section.lfg-section {
    padding-top: 22px;
  }

  body.body-mercado main.main-main .lfg-header > h1 {
    margin-bottom: 12px;
    font-size: clamp(2.2rem, 3.8vw, 3.7rem);
  }

  body.body-mercado main.main-main .mercado-abas {
    margin-bottom: 16px;
  }

  body.body-mercado main.main-main .mercado-aba {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

body.body-mercado main.main-main .mercado-filtros-card {
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
}

body.body-mercado main.main-main .mercado-filtros-card .filtragem {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .045em;
}

body.body-mercado main.main-main .mercado-filtros-card .lfg-input,
body.body-mercado main.main-main .mercado-filtros-card .lfg-select {
  min-height: 42px;
  padding-inline: 12px;
  font-size: .78rem;
}

body.body-mercado main.main-main .mercado-busca-salva {
  min-height: 58px;
  margin-bottom: 9px;
  padding: 9px 12px 9px 44px;
}

body.body-mercado main.main-main .mercado-busca-salva::before {
  margin-left: -28px;
  font-size: 1.2rem;
}

body.body-mercado main.main-main .mercado-busca-salva span {
  margin-top: 2px;
  font-size: .74rem;
  line-height: 1.35;
}

body.body-mercado main.main-main .mercado-busca-salva button {
  min-height: 36px;
  padding: 7px 10px;
  font-size: .7rem;
}

body.body-mercado main.main-main #painel-vagas > .titulo-time {
  margin: 7px 0 4px;
  font-size: .78rem;
  letter-spacing: .04em;
}

body.body-mercado main.main-main .mercado-acesso-card {
  min-height: 72px;
  margin-bottom: 9px;
  padding: 10px 16px;
}

body.body-mercado main.main-main .mercado-acesso-kicker {
  margin-bottom: 3px;
  font-size: .62rem;
}

body.body-mercado main.main-main .mercado-acesso-texto h3 {
  margin-bottom: 2px;
  font-size: 1.05rem;
}

body.body-mercado main.main-main .mercado-acesso-texto p {
  font-size: .78rem;
  line-height: 1.35;
}

body.body-mercado main.main-main .mercado-acesso-acoes a {
  min-height: 36px;
  padding-inline: 13px;
  border-radius: 6px;
  font-size: .69rem;
}

body.body-mercado main.main-main .lfg-checkbox-nivel {
  margin: 6px 0;
  font-size: .74rem;
}

body.body-mercado main.main-main .mercado-resultados-cabecalho {
  margin-top: 9px;
  margin-bottom: 11px;
}

.body-mercado .vaga-clube-identidade > div,
.body-mercado .vaga-clube-titulo-linha,
.body-mercado .vaga-clube-confianca { min-width: 0; }

.body-mercado .vaga-clube-titulo-linha {
  display: flex;
  align-items: center;
  gap: 7px;
}

.body-mercado .vaga-clube-titulo-linha .gamertag {
  min-height: 0;
  min-width: 0;
  margin: 0;
}

.body-mercado .badge-verificado {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 3px 6px;
  color: #50f39a;
  border: 1px solid rgba(16,231,107,.42);
  border-radius: 5px;
  background: rgba(16,231,107,.09);
  font-size: .54rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.body-mercado .vaga-clube-confianca {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.body-mercado .vaga-clube-confianca > small {
  flex: 0 0 auto;
}

.body-mercado .vaga-clube-confianca .reputacao-inline {
  min-height: 32px;
  padding: 3px 8px 3px 5px;
}

.body-mercado .vaga-clube-confianca .reputacao-estrela {
  width: 24px;
  height: 24px;
}

body.body-mercado main.main-main .vaga-compatibilidade {
  display: grid;
  width: 100%;
  gap: 5px;
  margin: 4px 0 10px;
  padding: 9px 10px;
  color: #eaf4ee !important;
  border: 1px solid #344139 !important;
  border-radius: 7px;
  background: rgba(255,255,255,.025) !important;
}

.body-mercado .vaga-compatibilidade-cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #b7c4bc;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.body-mercado .vaga-compatibilidade-cabecalho strong {
  color: #f5fff9;
  font-size: .78rem;
}

.body-mercado .vaga-compatibilidade-trilho {
  display: block;
  height: 5px;
  overflow: hidden;
  background: #20282d;
  border-radius: 999px;
}

.body-mercado .vaga-compatibilidade-trilho > span {
  display: block;
  width: var(--compatibilidade);
  height: 100%;
  background: #aeb9b2;
  border-radius: inherit;
  box-shadow: 0 0 10px currentColor;
}

.body-mercado .vaga-compatibilidade > small {
  color: #9daaa2;
  font-size: .64rem;
}

.body-mercado .vaga-compatibilidade.alta { border-color: rgba(16,231,107,.42) !important; }
.body-mercado .vaga-compatibilidade.alta .vaga-compatibilidade-trilho > span { background: #10e76b; }
.body-mercado .vaga-compatibilidade.alta .vaga-compatibilidade-cabecalho strong,
.body-mercado .vaga-compatibilidade.alta > small { color: #50f39a; }
.body-mercado .vaga-compatibilidade.media { border-color: rgba(247,201,72,.36) !important; }
.body-mercado .vaga-compatibilidade.media .vaga-compatibilidade-trilho > span { background: #f7c948; }
.body-mercado .vaga-compatibilidade.media .vaga-compatibilidade-cabecalho strong,
.body-mercado .vaga-compatibilidade.media > small { color: #ffe083; }
.body-mercado .vaga-compatibilidade.baixa { border-color: rgba(255,113,113,.3) !important; }
.body-mercado .vaga-compatibilidade.baixa .vaga-compatibilidade-trilho > span { background: #ff7171; }
.body-mercado .vaga-compatibilidade.baixa .vaga-compatibilidade-cabecalho strong,
.body-mercado .vaga-compatibilidade.baixa > small { color: #ff9c9c; }

.body-mercado .vaga-candidatura-resumo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  padding: 9px 10px;
  color: #dbe6df;
  border: 1px solid #354139;
  border-radius: 7px;
  background: rgba(255,255,255,.025);
}

.body-mercado .vaga-candidatura-icone {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  font-size: 1rem;
  font-weight: 900;
}

.body-mercado .vaga-candidatura-resumo > span:last-child {
  display: grid;
  gap: 3px;
}

.body-mercado .vaga-candidatura-resumo strong { font-size: .72rem; }
.body-mercado .vaga-candidatura-resumo small { color: #94a198; font-size: .62rem; }
.body-mercado .vaga-candidatura-resumo.status-pendente { border-color: rgba(247,201,72,.38); }
.body-mercado .vaga-candidatura-resumo.status-pendente .vaga-candidatura-icone,
.body-mercado .vaga-candidatura-resumo.status-pendente strong { color: #ffe083; }
.body-mercado .vaga-candidatura-resumo.status-aceito { border-color: rgba(16,231,107,.44); background: rgba(16,231,107,.055); }
.body-mercado .vaga-candidatura-resumo.status-aceito .vaga-candidatura-icone,
.body-mercado .vaga-candidatura-resumo.status-aceito strong { color: #50f39a; }
.body-mercado .vaga-candidatura-resumo.status-recusado { border-color: rgba(255,113,113,.34); }
.body-mercado .vaga-candidatura-resumo.status-recusado .vaga-candidatura-icone,
.body-mercado .vaga-candidatura-resumo.status-recusado strong { color: #ff9c9c; }

body.body-mercado main.main-main .vaga-status-acao {
  grid-column: 1 / -1;
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 15px;
  color: #e8f5ed;
  border-color: rgba(16,231,107,.4);
  background: rgba(16,231,107,.08);
  text-decoration: none;
}

body.body-mercado main.main-main .vaga-status-acao:hover {
  color: #06110b;
  background: #31ef80;
}

@media (max-width: 719px) {
  body.body-mercado main.main-main section.lfg-section { padding-top: 18px; }
  body.body-mercado main.main-main .lfg-header > h1 { margin-bottom: 12px; font-size: 2rem; }
  body.body-mercado main.main-main .mercado-abas { margin-bottom: 14px; }
  body.body-mercado main.main-main .mercado-aba { padding-block: 11px; }
  body.body-mercado main.main-main .mercado-filtros-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.body-mercado main.main-main .mercado-filtros-card .filtragem,
  body.body-mercado main.main-main .mercado-filtros-card .lfg-busca,
  body.body-mercado main.main-main #ordenar-vagas { grid-column: 1 / -1; }
  body.body-mercado main.main-main .mercado-filtros-card .lfg-input,
  body.body-mercado main.main-main .mercado-filtros-card .lfg-select { font-size: .7rem; }
  body.body-mercado main.main-main .mercado-busca-salva { gap: 8px; margin-bottom: 8px; padding: 10px; }
  body.body-mercado main.main-main .mercado-busca-salva::before,
  body.body-mercado main.main-main .mercado-busca-salva #busca-salva-status { display: none; }
  body.body-mercado main.main-main .mercado-busca-salva-acoes,
  body.body-mercado main.main-main .mercado-busca-salva-acoes button { width: 100%; }
  body.body-mercado main.main-main .mercado-acesso-card { align-items: stretch; gap: 8px; padding: 11px 12px; }
  body.body-mercado main.main-main .mercado-acesso-texto p { display: none; }
  body.body-mercado main.main-main .mercado-acesso-acoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  body.body-mercado main.main-main .mercado-acesso-acoes a {
    min-width: 0;
    padding-inline: 7px;
    font-size: .61rem;
  }
}

/* Ajuste final para telefones estreitos; deve permanecer após as regras compactas. */
@media (max-width: 520px) {
  body.body-mercado main.main-main .mercado-filtros-card,
  body.body-mercado main.main-main .jogadores-filtros-card {
    grid-template-columns: minmax(0, 1fr);
  }

  body.body-mercado main.main-main .mercado-filtros-card .filtragem,
  body.body-mercado main.main-main .mercado-filtros-card .lfg-busca,
  body.body-mercado main.main-main .mercado-filtros-card .lfg-filtros,
  body.body-mercado main.main-main .jogadores-filtros-card .jogadores-busca,
  body.body-mercado main.main-main .jogadores-filtros-card .jogadores-filtros,
  body.body-mercado main.main-main #ordenar-vagas {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.body-mercado main.main-main .mercado-filtros-card .lfg-filtros,
  body.body-mercado main.main-main .jogadores-filtros-card .jogadores-filtros {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body.body-mercado main.main-main .mercado-filtros-card .lfg-select,
  body.body-mercado main.main-main .jogadores-filtros-card .lfg-select {
    width: 100%;
    min-height: 46px !important;
    font-size: .82rem;
  }
}
