* {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	display: flex;
	justify-content: center;
	min-height: 100vh;
	height: 100%;
	min-width: 320px;
	width: 100%;
	scroll-behavior: smooth;
	background-color: #d7dbe1;
}

.sub-header {
	background-color: #ff7070;
}

/* css para congelamento das colunas na tabela */

.tabela-scroll::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.tabela-scroll::-webkit-scrollbar-track {
	background-color: transparent;
}

.tabela-scroll::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: rgba(0, 0, 0, 0.3);
}

.tabela-scroll::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0, 0, 0, 0.6);
}

.tabela-scroll {
	display: block;
	margin: 20px 0px;
	max-width: 1200px;
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;
}

.congelar-col1.col,
.congelar {
	position: sticky;
	top: 0;
	left: 0;
}

.congelar-col2 {
	position: sticky;
	top: 0;
	left: 33px;
	border-right: inset;
}

.congelar-col1.col,
.congelar-col2.col {
	background-color: inherit;
}

.celula-principal {
	z-index: 2;
}

.tamanho {
	min-width: 150px;
	max-width: 300px;
}

.classificacao-col-equipe {
	text-align: left;
	vertical-align: middle;
}

.classificacao-col-equipe-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 0;
	line-height: 1.25;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1rem;
}

.classificacao-equipe-nome {
	font-weight: 700;
	margin: 0;
	padding: 0;
}

.classificacao-jogadores-lista {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin: 0;
	padding: 0;
	width: 100%;
}

.classificacao-equipe-nome + .classificacao-jogadores-lista {
	margin-top: 4px;
}

.classificacao-jogador-item {
	font-weight: 700;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.tabela-scroll table {
	border: none;
	border-collapse: collapse;
	position: relative;
	text-align: center;
	width: 100%;
}

.tabela-scroll table th,
.tabela-scroll table td {
	padding: 10px 10px;
}

.tabela-scroll tbody tr:nth-child(odd) {
	background-color: #E1E1E1;
}

.tabela-scroll tbody tr:nth-child(even) {
	background-color: #FFFFFF;
}

.tabela-scroll thead tr,
thead tr th {
	background-color: #c1272d;
	color: white;
	z-index: 1;
}

/* css para congelamento das colunas na tabela */

#container {
	height: 100%;
	width: 100%;
	max-width: 1200px;
	background-color: #d7dbe1;
	padding: 5px;
}

header {
	display: flex;
	align-items: center;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	font-size: 1.5rem;
	margin-bottom: 10px;
}

header img {
	margin-right: 5px;
}

header img.logo-cabecalho {
	height: 86px;
	width: auto;
	max-width: min(280px, 42vw);
	object-fit: contain;
	flex-shrink: 0;
}

header .cabecalho {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.titulo {
	text-align: center;
}

.descricao {
	text-align: center;
	font-size: 1rem;
	margin: 0 0 10px 0;
	padding-top: 3px;
}

main section {
	overflow: hidden;
	border-radius: 10px;
	margin: 10px 0;
}

main .header {
	display: block;
	background-color: #c1272d;
	color: #ffffff;
	font-weight: bold;
	text-transform: uppercase;
	padding: 10px;
	text-align: center;
}

main section .classificacao-atualizada {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	width: 100%;
	margin: 0;
	padding: 3px 8px;
	font-size: 0.72rem;
	line-height: 1.2;
	font-weight: normal;
	text-transform: none;
	letter-spacing: normal;
	color: #2d3748;
	background-color: #eef2f7;
	border-bottom: 1px solid #d8dee8;
	border-left: 3px solid #c1272d;
	text-align: right;
}

main section .classificacao-atualizada__icone {
	flex-shrink: 0;
	display: inline;
	color: #c1272d;
	font-weight: bold;
	font-size: 0.75rem;
	line-height: 1;
}

main section .classificacao-atualizada__texto {
	flex: 0 1 auto;
}

main section .classificacao-atualizada__fuso {
	color: #64748b;
	font-size: 0.68rem;
}

main section .classificacao-atualizada--pendente {
	justify-content: flex-end;
	color: #7c5e10;
	background-color: #fff3cd;
	border-bottom: 1px solid #ffe69c;
	border-left: 3px solid #e0a800;
	text-align: right;
}

main section .classificacao-atualizada--pendente .classificacao-atualizada__icone {
	color: #7c5e10;
}

main section .classificacao-atualizada time {
	font-weight: 600;
	color: #1a202c;
	white-space: nowrap;
}

.classificacao {
	width: 100%;
	border: 3px;
	border-radius: 8px;
	border-color: black;
	border-style: solid;
	text-align: center;
	border-spacing: 0;
}

.classificacao1 {
	display: none;
	width: 100%;
	border: 3px;
	border-radius: 8px;
	border-color: black;
	border-style: solid;
	text-align: center;
	border-spacing: 0;
}

main .content {
	background-color: #ffffff;
	align-items: left;
	padding: 10px;
}

main .main-group {
	overflow: hidden;
	border-radius: 5px;
}

main .main-group .group {
	display: flex;
	align-items: center;
	font-size: 1rem;
	padding: 5px;
}

main .main-group .group:nth-child(odd) {
	background-color: #E1E1E1;
}

main .main-group .group:nth-child(even) {
	background-color: #FFFFFF;
}

main .main-group .group .texto {
	width: 100%;
	text-align: center;
}

main .main-group .group .btn {
	padding: 2px 8px;
	background-color: #03FF3F;
	color: black;
	border: 2px solid black;
	border-radius: 5px;
	cursor: pointer;
}

main .main-group .group .btn1 {
	padding: 3px 3px;
	background-color: #c1272d;
	border: 2px solid black;
	border-radius: 5px;
	cursor: pointer;
}

/* Botão azul escuro */
.btn1 {
	padding: 3px 3px;
	background-color: #c1272d;
	border: 2px solid black;
	border-radius: 5px;
	cursor: pointer;
}

/* Botão verde */
.btn2 {
	padding: 3px 3px;
	background-color: #03FF3F;
	border: 2px solid black;
	border-radius: 5px;
	cursor: pointer;
}

/* Botão fechar */
.btn3 {
	padding: 3px 3px;
	background-color: #FF0202;
	border: 2px solid black;
	border-radius: 5px;
	cursor: pointer;
	width: 80px;
	height: 35px;
	font-size: 14px;
	font-style: bold;
}

.pesquisa {
	padding: 5px;
}

.filtro-encerrados {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	padding: 6px 10px;
	background: #f4f6f8;
	border-bottom: 1px solid #e2e6ea;
}

.filtro-campo {
	display: flex;
	align-items: center;
	gap: 5px;
	flex: 1 1 0;
	min-width: 0;
}

.filtro-campo label {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 600;
	color: #6c757d;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	white-space: nowrap;
	flex-shrink: 0;
}

.filtro-campo select {
	flex: 1 1 auto;
	min-width: 0;
	padding: 3px 6px;
	font-size: 0.8rem;
	line-height: 1.3;
	color: #212529;
	background: #fff;
	border: 1px solid #ced4da;
	border-radius: 4px;
	cursor: pointer;
}

.filtro-campo select:hover {
	border-color: #adb5bd;
}

.filtro-campo select:focus {
	outline: none;
	border-color: #c1272d;
	box-shadow: 0 0 0 2px rgba(193, 39, 45, 0.12);
}

.filtro-linha-modalidade {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1 1 0;
	min-width: 0;
}

.filtro-linha-modalidade .filtro-campo-modalidade {
	flex: 1 1 auto;
	min-width: 0;
}

.filtro-limpar {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 1.1rem;
	line-height: 1;
	font-weight: 400;
	color: #6c757d;
	text-decoration: none;
	border: 1px solid #ced4da;
	border-radius: 4px;
	background: #fff;
}

.filtro-limpar:hover {
	color: #c1272d;
	border-color: #c1272d;
	background: #fff;
}

.filtro-resumo {
	margin: 0;
	padding: 4px 10px 6px;
	font-size: 0.72rem;
	color: #868e96;
	background: transparent;
	border-bottom: 1px solid #eee;
}

.filtro-vazio {
	margin: 0;
	padding: 12px 10px;
	text-align: center;
	font-size: 0.85rem;
	color: #6c757d;
	font-style: italic;
}

.comentario {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
	font-weight: bold;
	font-style: italic;
	color: #09012A;
}

.rodada {
	font-weight: bold;
	font-style: italic;
	color: #ff0000;
}
.rodape {
	text-align: center;
	font-size: 0.8rem;
}

.tr:nth-child(odd) {
	background-color: #E1E1E1;
	height: 60px;
}

.tr:nth-child(even) {
	background-color: #FFFFFF;
	height: 60px;
}

.tr1:nth-child(odd) {
	background-color: #E1E1E1;
	height: 30px;
}

.tr1:nth-child(even) {
	background-color: #FFFFFF;
	height: 30px;
}

.jg {
	font-size: 12px;
	padding: 2px;
}

.data {
	font-size: 10px;
}

.equipe {
	padding: 4px;
}

.placarp {
	font-size: 10px;
}

.placarf {
	font-size: 20px;
	font-weight: bold;
}

.meio {
	font-size: 10px;
}

.fase {
	font-size: 12px;
}

.grupo {
	font-size: 12px;
}

.info {
	font-size: 10px;
	color: red;
}

.stats {
	width: 100%;
	border: 3px;
	border-radius: 8px;
	border-color: black;
	border-style: solid;
	text-align: center;
	border-spacing: 0;
}

/* cores atuais utilizadas:
#4fa9c7;
#d7dbe1;
cornflowerblue;
#E1E1E1;

nova oficial:

#a50b10 padrao escuro
#c1272d padrao
#c03b40 padrao meio claro
#ff7070 padrao claro
*/

/* ===== Premiação em destaque (topo da página) ===== */
.premiacao-section {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.premiacao-content {
	background: linear-gradient(160deg, #fff7f7 0%, #ffffff 55%);
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 22px 16px;
}

/* Pódio */
.podio {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 14px;
	flex-wrap: wrap;
}

.podio-card {
	flex: 1 1 0;
	min-width: 150px;
	max-width: 250px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 16px 12px 18px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid #ececec;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	position: relative;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.podio-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

/* Campeão em destaque, mais alto e dourado */
.podio-1 {
	order: 2;
	transform: scale(1.06);
	background: linear-gradient(165deg, #fffbe6 0%, #ffffff 60%);
	border: 2px solid #e6b800;
	box-shadow: 0 10px 26px rgba(214, 165, 0, 0.35);
	z-index: 2;
}

.podio-1:hover {
	transform: translateY(-4px) scale(1.06);
}

.podio-2 {
	order: 1;
	background: linear-gradient(165deg, #f6f7f9 0%, #ffffff 60%);
	border-color: #c7ccd1;
}

.podio-3 {
	order: 3;
	background: linear-gradient(165deg, #fbf1e8 0%, #ffffff 60%);
	border-color: #e0b48c;
}

.podio-medalha {
	font-size: 2.2rem;
	line-height: 1;
	margin-bottom: 6px;
}

.podio-1 .podio-medalha {
	font-size: 2.7rem;
}

.podio-escudo {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 3px solid #f0f0f0;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.podio-1 .podio-escudo {
	width: 92px;
	height: 92px;
	border-color: #e6b800;
}

.podio-2 .podio-escudo {
	border-color: #c7ccd1;
}

.podio-3 .podio-escudo {
	border-color: #e0b48c;
}

.podio-escudo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6px;
}

.podio-escudo-vazio {
	font-size: 1.4rem;
	font-weight: bold;
	color: #b0b0b0;
}

.podio-rotulo {
	margin-top: 10px;
	font-size: 0.78rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #c1272d;
}

.podio-1 .podio-rotulo {
	color: #b8860b;
}

.podio-equipe {
	margin-top: 4px;
	font-size: 0.98rem;
	color: #1a202c;
	line-height: 1.3;
}

.podio-1 .podio-equipe {
	font-weight: 700;
	font-size: 1.06rem;
}

.podio-equipe .premiacao-equipe-jogadores {
	display: block;
	font-size: 0.82rem;
	color: #555;
	font-weight: 400;
	margin-top: 2px;
}

/* Destaques individuais */
.destaques {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	border-top: 1px dashed #e2c0c0;
	padding-top: 18px;
}

.destaque-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
	border: 1px solid #ececec;
	border-left: 4px solid #c1272d;
	border-radius: 12px;
	padding: 8px 14px 8px 10px;
	min-width: 210px;
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.destaque-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.destaque-foto {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: linear-gradient(135deg, #ff7070, #c1272d);
	display: flex;
	align-items: center;
	justify-content: center;
}

.destaque-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.destaque-foto-vazio {
	color: #ffffff;
	font-size: 1.4rem;
}

.destaque-info {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.destaque-premio {
	font-size: 0.72rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #c1272d;
}

.destaque-nome {
	font-size: 1.02rem;
	font-weight: 700;
	color: #1a202c;
	line-height: 1.2;
}

.destaque-equipe {
	font-size: 0.82rem;
	color: #666;
}

/* Stats ao vivo — ícones e linha do tempo */
.stat-gol-contra {
	display: inline-block;
	background: #e65100;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 5px;
	border-radius: 3px;
	margin: 0 2px;
	vertical-align: middle;
}

.stat-falta {
	display: inline-block;
	background: #546e7a;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	padding: 1px 5px;
	border-radius: 3px;
	margin: 0 2px;
}

.stat-volei-pts,
.stat-volei-badge {
	display: inline-block;
	background: #1565c0;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	padding: 1px 4px;
	border-radius: 3px;
	margin: 0 2px;
}

.stat-volei-erro {
	display: inline-block;
	background: #c62828;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	padding: 1px 4px;
	border-radius: 3px;
	margin: 0 2px;
}

.stats-timeline {
	margin: 16px 0 8px;
	padding: 12px 16px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #cbd5e1;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.stats-timeline-title {
	font-size: 0.95rem;
	margin: 0 0 10px;
	color: #333;
}

.stats-timeline-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 220px;
	overflow-y: auto;
	font-size: 0.85rem;
}

.stats-timeline-list li {
	padding: 6px 0;
	border-bottom: 1px solid #eee;
}

.stats-timeline-list li:last-child {
	border-bottom: none;
}

.stats-timeline-tempo {
	display: inline-block;
	min-width: 90px;
	color: #666;
	font-variant-numeric: tabular-nums;
}

.stats-ev-gol-contra {
	color: #e65100;
	font-weight: 600;
}

/* Detalhes do jogo — listagem estilo súmula */
.stats-detalhes-equipes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	align-items: start;
}

.stats-detalhes-equipe-bloco {
	min-width: 0;
}

.stats-detalhes-equipe-titulo {
	display: none;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 8px 10px;
	margin-bottom: 6px;
	background: #c1272d;
	color: #fff;
	border-radius: 10px;
	text-align: center;
	line-height: 1.25;
	word-break: break-word;
}

.stats-detalhes-lista {
	border: 1px solid #cbd5e1;
	margin-bottom: 8px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.stats-detalhes-linha {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 6px;
	align-items: center;
	padding: 5px 8px;
	min-height: 44px;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
	text-align: left;
}

.stats-detalhes-lista-com-foto .stats-detalhes-linha {
	grid-template-columns: 36px 40px 1fr;
}

.stats-detalhes-cabecalho {
	background: #f1f5f9;
	min-height: 0;
	font-size: 0.85rem;
	border-bottom: 1px solid #e2e8f0;
}

.stats-detalhes-linha:nth-child(even):not(.stats-detalhes-cabecalho):not(.stats-detalhes-rodape):not(.stats-detalhes-vazio) {
	background: #f7f7f7;
}

.stats-detalhes-linha-comissao {
	background: #fafafa;
}

.stats-detalhes-col-num {
	text-align: center;
	font-weight: 700;
	color: #555;
}

.stats-detalhes-col-foto {
	text-align: center;
}

.stats-detalhes-col-nome {
	min-width: 0;
	line-height: 1.35;
}

.stats-detalhes-col-nome img {
	vertical-align: middle;
}

.stats-detalhes-badge-funcao,
.stats-detalhes-badge-capitao {
	display: inline-block;
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: bold;
	background: #4fa9c7;
	color: #fff;
	margin-right: 4px;
	vertical-align: middle;
}

.stats-detalhes-obs {
	font-weight: 700;
}

.stats-detalhes-posicao {
	display: block;
	margin-top: 2px;
	line-height: 1.25;
	color: #0066cc;
	font-size: 0.78rem;
}

.stats-detalhes-rodape,
.stats-detalhes-vazio {
	text-align: center;
	border-bottom: none;
	min-height: 0;
	padding: 8px;
}

.stats-detalhes-vazio {
	grid-template-columns: 1fr;
}

.stats-detalhes-status {
	font-size: 0.85rem;
	color: #475569;
}

.stats-detalhes-timeline-wrap {
	margin-top: 4px;
}

/* ===== Responsivo ===== */

@media screen and (max-width: 600px) {
	* {
		font-size: 97.5%;
	}

	header img.logo-cabecalho {
		height: 52px;
		max-width: min(180px, 38vw);
	}

	header {
		font-size: 1.05rem;
	}

	header .titulo {
		font-size: 1.2rem;
		line-height: 1.25;
	}

	header .descricao {
		font-size: 0.82rem;
	}

	main section .classificacao-atualizada {
		font-size: 0.68rem;
		padding: 3px 6px;
	}

	main section .classificacao-atualizada time {
		white-space: normal;
	}

	.filtro-encerrados {
		padding: 6px 8px;
		gap: 5px 6px;
	}

	.filtro-encerrados > .filtro-campo {
		flex: 1 1 calc(50% - 6px);
	}

	.filtro-linha-modalidade {
		flex: 1 1 100%;
	}

	.podio {
		gap: 8px;
	}

	.podio-card {
		min-width: 30%;
		padding: 12px 6px 14px;
	}

	.podio-1 {
		transform: scale(1.03);
	}

	.podio-1:hover {
		transform: translateY(-3px) scale(1.03);
	}

	.podio-escudo {
		width: 58px;
		height: 58px;
	}

	.podio-1 .podio-escudo {
		width: 66px;
		height: 66px;
	}

	.podio-medalha {
		font-size: 1.7rem;
	}

	.podio-1 .podio-medalha {
		font-size: 2rem;
	}

	.podio-equipe {
		font-size: 0.86rem;
	}

	.podio-1 .podio-equipe {
		font-size: 0.92rem;
	}

	.destaque-card {
		min-width: 100%;
	}
    .classificacao {
        display: none;
    }
    
    .classificacao1 {
        display: table;
    }

	.stats-detalhes-equipes {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.stats-detalhes-equipe-titulo {
		display: block;
	}
}

@media screen and (max-width: 400px) {
	header img.logo-cabecalho {
		height: 40px;
		max-width: min(140px, 36vw);
		margin-right: 4px;
	}

	header .titulo {
		font-size: 0.82rem;
	}

	header .descricao {
		font-size: 0.64rem;
	}
    .classificacao {
        display: none;
    }
    
    .classificacao1 {
        display: table;
    }

}
