body { background-color: #fdfdfd; padding: 20px; font-family: 'Segoe UI', sans-serif; }
.header-painel { border-bottom: 2px solid #333; margin-bottom: 15px; }
.table thead { background-color: #000; color: #fff; position: sticky; top: 0; z-index: 10; }
.placar { font-weight: bold; background: rgba(255,255,255,0.7); padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.1); }
.vitoria td { background-color: #e7f1ff !important; }
.empate td { background-color: #fff9e6 !important; }
.derrota td { background-color: #ffebe6 !important; }
.secao-filtros { background-color: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 15px; border: 1px solid #dee2e6; }
.table-responsive { max-height: 80vh; min-height: 600px; border-radius: 8px; border: 1px solid #ddd; background: white; }

.resumo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
  width: 100%;
}
.card-resumo {
  background: white; border: 1px solid #dee2e6; border-radius: 8px; padding: 10px;
  text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; justify-content: center; height: 100%;
}
.card-resumo h6 { font-size: 0.62rem; font-weight: bold; text-transform: uppercase; color: #666; margin-bottom: 5px; }
.card-resumo h2 { font-size: 1.15rem; font-weight: bold; margin-bottom: 0; color: #333; }

.paginacao-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding: 10px; background: #f8f9fa; border-radius: 8px; border: 1px solid #dee2e6; }
.label-ano { font-size: 0.65rem; color: #999; }
.form-check-label { font-size: 0.8rem; font-weight: bold; cursor: pointer; }

.grafico-container { background: white; border: 1px solid #dee2e6; border-radius: 8px; padding: 20px; margin-top: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.btn-metrica { font-size: 0.65rem; text-transform: uppercase; font-weight: bold; margin: 2px; }

.filtro-celula { cursor: pointer; transition: background-color 0.15s; }
.filtro-celula:hover { background-color: rgba(13, 110, 253, 0.12) !important; outline: 1px solid rgba(13, 110, 253, 0.3); }
.filtro-celula-ativo { font-weight: bold; }

.btn-play { background: #dc3545; color: white; border: none; border-radius: 50%; width: 26px; height: 26px; cursor: pointer; font-size: 0.65rem; display: inline-flex; align-items: center; justify-content: center; transition: background-color 0.15s; padding: 0; }
.btn-play:hover { background: #bb2d3b; transform: scale(1.1); }
.btn-stats { background: #6f42c1; color: white; border: none; border-radius: 50%; width: 26px; height: 26px; cursor: pointer; font-size: 0.75rem; display: inline-flex; align-items: center; justify-content: center; transition: background-color 0.15s; padding: 0; }
.btn-stats:hover { background: #59359a; transform: scale(1.1); }
.stats-modal-box { background: #1a1a1a; color: #fff; border-radius: 12px; width: 92%; max-width: 600px; margin: 40px auto 60px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.stats-modal-header { background: #000; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.btn-fechar-stats { background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 1rem; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.15s; }
.btn-fechar-stats:hover { background: rgba(255,255,255,0.3); }
.stat-card { padding: 16px; border-bottom: 1px solid #2e2e2e; }
.stat-card:last-child { border-bottom: none; }
.stat-card-inativo { opacity: 0.65; }
.stat-texto { font-size: 0.87rem; line-height: 1.6; margin-bottom: 10px; color: #ddd; }
.btn-share-x { background: #000; color: #fff; border: 1px solid #555; border-radius: 20px; padding: 4px 14px; font-size: 0.78rem; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: background 0.15s; }
.btn-share-x:hover { background: #222; color: #fff; }
#video-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.88); z-index: 9998; justify-content: center; align-items: center; }
.video-modal-box { position: relative; width: 92%; max-width: 1000px; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.btn-fechar-video { position: absolute; top: 10px; right: 14px; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 1.2rem; cursor: pointer; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.btn-fechar-video:hover { background: rgba(255,255,255,0.3); }

.dropdown-check-list { width: 100%; position: relative; }
.dropdown-check-list .anchor {
  position: relative; cursor: pointer; display: block; padding: 5px 10px;
  border: 1px solid #ccc; border-radius: 4px; background: #fff; font-size: 0.875rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 25px;
}
.dropdown-check-list .anchor:after {
  position: absolute; content: ""; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 5px solid #000; right: 10px; top: 45%;
}
.dropdown-check-list .items {
  padding: 5px; display: none; position: absolute; background: #fff; border: 1px solid #ccc;
  border-radius: 4px; width: 100%; z-index: 1000; max-height: 200px; overflow-y: auto;
}
.dropdown-check-list.visible .items { display: block; }
.dropdown-check-list .items label { display: block; font-size: 0.8rem; cursor: pointer; padding: 2px 5px; margin-bottom: 0; }
.dropdown-check-list .items label:hover { background: #f0f0f0; }
.exceto-label { font-size: 0.65rem; color: #d63384; font-weight: bold; margin-top: 2px; display: block; }

#loading-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(5px);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999; transition: opacity 0.5s ease;
}
.loading-box { text-align: center; background: white; padding: 40px; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); max-width: 400px; }
.spinner-corinthians { width: 3rem; height: 3rem; margin-bottom: 20px; color: #000; }
