@font-face {
  font-family: "TP Barlow Condensed";
  src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-style: normal; font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "TP Barlow Condensed";
  src: url("fonts/BarlowCondensed-Black.ttf") format("truetype");
  font-style: normal; font-weight: 900; font-display: swap;
}
@font-face {
  font-family: "TP Kaushan Script";
  src: url("fonts/KaushanScript-Regular.ttf") format("truetype");
  font-style: normal; font-weight: 400; font-display: swap;
}
.tp-resultado {
  width: 100%; max-width: 1080px; min-width: 0; margin: 0 auto 32px;
  text-align: center; font-family: Arial, sans-serif;
}
.tp-resultado .tp-viewport { position: relative; width: 100%; max-width: 100%; overflow-x: auto; padding: 0; }
.tp-resultado .tp-resumo {
  box-sizing: border-box; position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  width: 1080px; min-width: 1080px; max-width: none;
  height: 1920px; min-height: 1920px; margin: 0; padding: 36px 42px; overflow: hidden;
  background: #faf7eb; color: #073d25; font-family: Arial, sans-serif; text-align: center;
  transform-origin: top left;
}
.tp-resultado .tp-resumo * { box-sizing: border-box; }
/* Grafismos feitos em CSS: não dependem de uma imagem externa. */
.tp-resultado .tp-resumo::before,
.tp-resultado .tp-resumo::after {
  content: ""; position: absolute; z-index: -1;
  width: 340px; height: 34px; background: #e2b52f;
  border-top: 24px solid #126a41; transform: rotate(-40deg);
}
.tp-resultado .tp-resumo::before { top: 64px; left: -98px; }
.tp-resultado .tp-resumo::after { right: -98px; bottom: 64px; }
.tp-resultado .tp-resumo header {
  display: block; position: static; flex: 0 0 auto; width: auto; height: auto;
  padding: 0; margin: 0 0 20px; background: transparent; color: #073d25; border: 0; border-radius: 0;
}
.tp-resultado .tp-resumo h2 {
  margin: 0; padding: 0; text-transform: none; letter-spacing: normal;
  font: inherit;
}
.tp-resultado .tp-titulo-top {
  display: block; color: #00ce25; white-space: nowrap;
  font: 900 116px/110px "TP Barlow Condensed", Impact, sans-serif;
}
.tp-resultado .tp-titulo-principal {
  display: block; margin-top: 6px; color: #0089d0; white-space: nowrap;
  font: 900 50px/54px "TP Barlow Condensed", "Arial Narrow", sans-serif;
}
.tp-resultado .tp-titulo-epoca {
  display: block; margin-top: 2px; color: #e6ba00; white-space: nowrap;
  font: 400 50px/64px "TP Kaushan Script", "Brush Script MT", cursive;
  text-shadow: 0 1px 0 #aa8100;
}
.tp-resultado .tp-assinatura {
  margin: 8px 0 0; color: #49644e; overflow-wrap: anywhere;
  font: 700 28px/32px "TP Barlow Condensed", "Arial Narrow", sans-serif;
}
.tp-resultado .grid-jogadores { display: flex; flex: 0 0 auto; flex-wrap: wrap; margin: -7px; padding: 0; }
.tp-resultado .jogador {
  display: flex; flex-direction: column; position: relative; flex: 0 0 calc(25% - 14px);
  width: calc(25% - 14px); min-width: 0; height: 280px;
  margin: 7px; padding: 0; background: #f5f0dc;
  border: 1px solid #c8d0b8; border-bottom: 3px solid #31593d; border-radius: 0;
  text-align: center;
}
.tp-resultado .jogador::before { content: none; }
.tp-resultado .tp-posicao {
  position: absolute; z-index: 2; top: 5px; left: 5px;
  display: block; width: auto; min-width: 48px; margin: 0; padding: 2px 7px 4px;
  border: 1px solid #c5cdb7; border-radius: 2px;
  background: #faf7eb; color: #073d25;
  font: 900 36px/1 "TP Barlow Condensed", Impact, sans-serif;
}
.tp-resultado .jogador img {
  display: block; flex: 0 0 194px; width: 100%; height: 194px; max-width: none;
  object-fit: cover; object-position: center 28%;
  margin: 0; padding: 0; border: 0; border-radius: 0;
}
.tp-resultado .jogador strong {
  display: flex; align-items: center; justify-content: center; flex: 1 1 auto;
  width: 100%; min-height: 0; margin: 0; padding: 3px 4px 5px;
  color: #073d25; overflow-wrap: normal; text-transform: uppercase;
  font: 900 36px/1 "TP Barlow Condensed", "Arial Narrow", sans-serif;
}
.tp-resultado .jogador strong.tp-nome-longo { font-size: 33px; }
.tp-resultado .tp-sem-foto { display: flex; align-items: center; justify-content: center; flex: 0 0 194px; height: 194px; font-size: 20px; }
.tp-resultado .tp-resumo footer {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  position: static; padding: 20px 0 0; margin: auto 0 0;
  background: transparent; border-top: 1px solid #9dac91; text-align: center;
}
.tp-resultado .tp-resumo footer img { display: block; width: 68px; height: 68px; margin: 0 16px 0 0; }
.tp-resultado .tp-resumo footer p { margin: 0; color: #073d25; font: 700 30px/1.2 "TP Barlow Condensed", "Arial Narrow", sans-serif; }
.tp-resultado .tp-baixar {
  margin-top: 20px; border: 0; border-radius: 7px; background: #073d25;
  color: #fff; font: 700 17px/1.4 Arial, sans-serif; padding: 14px 24px; cursor: pointer;
}
.tp-resultado .tp-baixar:hover { background: #126a41; }
.tp-resultado .tp-baixar:disabled { opacity: .6; cursor: wait; }
.tp-resultado .tp-status { font-size: 14px; min-height: 22px; color: #163a53; }
