* {
  box-sizing: border-box;
}

:root {
  --largura-ranking: calc(46vw + min(460px, 46vw));
  --margem-interludio: clamp(33.333px, 5vw, 53.333px);
  --duracao-painel: 74s;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background-color: #ffffff;
  color: #000000;

  font-family: "IBM Plex Mono", monospace;
}

body.modal-aberto {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* RUÍDO GLOBAL */

.ruido-global {
  position: fixed;
  inset: 0;
  z-index: 10;

  background-image: url("./assets/ruido.gif");
  background-size: 200px 200px;
  background-position: top left;
  background-repeat: repeat;

  opacity: 0.12;

  pointer-events: none;
}

/* CABEÇALHO */

.topbar {
  height: 54px;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  position: sticky;
  top: 0;
  z-index: 100;

  background-color: #ffffff;
  border-bottom: 1px solid #000000;
}

.marca-topo {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28em;

  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(36px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -2.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.marca-topo span {
  width: auto;
  text-align: left;
}

.marca-topo .numero-marca {
  color: #93301e;
}

/* PRIMEIRA TELA */

.hero {
  height: calc(100vh - 54px);
  height: calc(100svh - 54px);

  display: grid;
  grid-template-rows:
    minmax(0, 2fr)
    minmax(0, 1fr)
    46px;

  position: relative;

  overflow: hidden;
}

/* IDENTIFICAÇÃO DA PÁGINA */

.identificacao-pagina {
  margin: 0;

  position: absolute;
  top: 14px;
  right: 20px;
  left: 20px;
  z-index: 30;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
}

.relogio-sp,
.nome-pagina {
  margin: 0;

  display: block;
  flex-shrink: 0;

  color: #000000;

  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.separador-relogio {
  opacity: 1;
}

.separador-relogio.apagado {
  opacity: 0;
}

/* IMAGEM */

.imagem-principal {
  width: 100%;
  min-height: 0;

  position: relative;
  z-index: 1;

  background-color: #ffffff;
  background-image: url("./assets/fundo.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  border: 0;

  pointer-events: none;
  user-select: none;
}

/* APRESENTAÇÃO SEM CAIXA */

.area-apresentacao {
  min-height: 0;
  padding: 14px 20px 0;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);
  align-items: center;

  position: relative;
  z-index: 30;

  background: transparent;
  border: 0;
}

.menu-apresentacao {
  grid-row: 2;

  width: clamp(520px, 52vw, 760px);
  max-width: calc(100% - 96px);
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 36px);
  flex-wrap: nowrap;

  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.menu-apresentacao a {
  display: inline-block;
  padding: 0 0 4px;

  background-color: transparent;
  color: #93301e;
  border: 0;

  line-height: 1;
  text-align: center;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: #93301e;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
  white-space: nowrap;

  transform: scaleX(0.9) scaleY(1.16);
  transform-origin: center;
}

.menu-apresentacao a:hover {
  opacity: 0.82;
}

.menu-apresentacao a:focus-visible {
  outline: 1px solid #000000;
  outline-offset: 3px;
}

.apresentacao {
  grid-row: 4;

  width: min(calc(66.6667vw - 20px), 100%);
  padding: 0;

  background: transparent;
  border: 0;
  box-shadow: none;
}

.texto-apresentacao {
  width: 100%;
  max-width: none;
  margin: 0;

  color: #000000;

  font-size: 14px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FAIXA ANIMADA MAIS GROSSA */

.faixa-status {
  height: 46px;

  position: relative;
  z-index: 30;

  overflow: hidden;

  background-color: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;

  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.faixa-track {
  width: max-content;
  height: 100%;

  display: flex;

  animation: movimento-lateral var(--duracao-painel) linear infinite;
  will-change: transform;
}

.faixa-grupo {
  min-width: 100vw;
  height: 100%;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  flex-shrink: 0;

  white-space: nowrap;
}

@keyframes movimento-lateral {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* INTERLÚDIO DO MASCOTE */

.interludio-mascote {
  --tamanho-mascote: clamp(60px, 5vw, 84px);
  --margem-inferior-mascote: var(--margem-interludio);

  width: 100%;
  height: calc(
    var(--margem-interludio) +
    var(--tamanho-mascote) +
    var(--margem-inferior-mascote)
  );
  min-height: 0;

  position: relative;
  z-index: 1;

  background-color: #ffffff;
  background-image: url("./assets/mascote-quadrado.webp");
  background-position: center var(--margem-interludio);
  background-repeat: no-repeat;
  background-size: var(--tamanho-mascote) auto;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

/* DESTAQUES DA SEMANA */

.destaques-semana {
  width: var(--largura-ranking);
  margin: 0 auto var(--margem-interludio);

  display: none;
  position: relative;
  z-index: 30;
}

.destaques-controle {
  --largura-cartao-destaque: min(58vw, 560px);

  width: min(100%, calc(var(--largura-cartao-destaque) + 92px));
  margin-inline: auto;

  display: grid;
  grid-template-columns: 30px var(--largura-cartao-destaque) 30px;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.destaques-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
}

.destaques-viewport.arrastando {
  cursor: grabbing;
  user-select: none;
}

.destaques-viewport::-webkit-scrollbar {
  display: none;
}

.destaques-viewport:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 4px;
}

.destaques-trilha {
  width: 100%;
  display: flex;
  align-items: stretch;
  will-change: transform;
  transition: transform 360ms cubic-bezier(0.22, 0.75, 0.25, 1);
}

.destaques-trilha.sem-transicao,
.destaques-trilha.arrastando {
  transition: none;
}

.cartao-destaque {
  flex: 0 0 100%;
  height: auto;
  min-height: clamp(164px, 13vw, 188px);
  min-width: 100%;
  padding: clamp(16px, 1.8vw, 24px);

  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: clamp(8px, 0.9vw, 12px);

  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid #000000;
}

.seta-destaque {
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;

  display: grid;
  place-items: center;

  appearance: none;
  cursor: pointer;
  background: transparent;
  color: #000080;
  border: 1px solid #000080;

  font: inherit;
  font-size: 16px;
  line-height: 1;
}

.seta-destaque:hover {
  background: #000080;
  color: #ffffff;
}

.seta-destaque:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

.titulo-destaque {
  margin: 0;
  color: #000000;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(24px, 2.35vw, 28px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.6px;
  text-transform: uppercase;
}

.secao-destaque {
  color: #000080;
  font-size: 1em;
  font-weight: 700;
}

.subsecao-destaque,
.separador-titulo-destaque {
  color: #000000;
  font-size: 0.68em;
  font-weight: 400;
}

.texto-destaque,
.estado-destaques {
  margin: 0;

  width: 100%;
  align-self: center;

  color: #000000;

  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(17px, 1.55vw, 20px);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0.15px;
  text-align: left;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.estado-destaques {
  text-align: center;
}

.rodape-destaque {
  width: 100%;
  margin: 0;
  align-self: end;

  color: #000000;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(11px, 0.95vw, 12px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: right;
  text-transform: lowercase;
}

.indicadores-destaques {
  margin: 12px 0 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.indicador-destaque {
  width: 8px;
  height: 8px;
  padding: 0;

  appearance: none;
  cursor: pointer;
  background: transparent;
  border: 1px solid #000080;
  border-radius: 50%;
}

.indicador-destaque.ativo {
  background: #000080;
}

.indicador-destaque:focus-visible {
  outline: 2px solid #000080;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .destaques-trilha {
    transition: none;
  }
}

/* SEÇÃO DO RANKING */

.ranking-section {
  min-height: 100vh;
  padding: 0 20px 100px;
  scroll-margin-top: 54px;

  position: relative;
  z-index: 30;

  container-type: inline-size;

  background-color: transparent;
}

.cabecalho-secao {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.identificacao-ranking,
.atualizacao {
  margin: 0;

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.titulo-ranking {
  width: var(--largura-ranking);
  margin: 0 auto;

  font-size: 8.14vw;
  line-height: 0.88;
  font-weight: 500;
  letter-spacing: calc(-0.16vw - min(1.6px, 0.16vw));

  white-space: nowrap;
  overflow-wrap: normal;
  text-align: center;
}

.periodo-ranking {
  color: #93301e;
  font-size: 0.86em;
}

@media (min-width: 1001px) {
  .titulo-ranking {
    font-size: calc(4.07vw + 40.7px);
  }
}

/* APRESENTAÇÃO DA SEÇÃO DO RANKING */

.apresentacao-ranking {
  width: var(--largura-ranking);
  margin: 24px auto 0;
}

.texto-ranking {
  margin: 0;

  color: #000000;

  font-size: 14px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CONTROLES DE VISUALIZAÇÃO */

.controles-visualizacao {
  width: var(--largura-ranking);
  margin: 22px auto 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;

  background-color: transparent;
  border: 0;
}

.botao-visualizacao {
  padding: 6px 11px;

  background-color: transparent;
  color: #000000;
  border: 1px solid transparent;
  border-radius: 999px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;

  cursor: pointer;
}

.botao-visualizacao.ativo {
  background-color: #000080;
  color: #ffffff;
}

.botao-visualizacao:focus-visible {
  outline: 1px solid #000000;
  outline-offset: 3px;
}

.legenda-tabela {
  width: var(--largura-ranking);
  margin: 12px auto 0;

  background-color: transparent;
  color: #000000;

  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legenda-tabela[hidden] {
  display: none !important;
}

/* LISTA */

.lista-ranking {
  width: 100%;
  margin: 14px 0 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  list-style: none;
}

.estado-carregamento {
  width: var(--largura-ranking);
  padding: 18px 0;

  color: #666666;
  font-size: 11px;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

/* VISUALIZAÇÃO EM TABELA */

.tabela-ranking-wrap {
  width: var(--largura-ranking);
  margin: 8px auto 0;

  overflow-x: auto;

  background-color: #ffffff;
  border: 1px solid #000000;
}

.tabela-ranking-wrap[hidden],
.lista-ranking[hidden] {
  display: none !important;
}

.tabela-ranking {
  width: 100%;
  min-width: 600px;

  border-collapse: collapse;
  background-color: #ffffff;

  color: #000000;
  font-size: 15px;
  text-align: left;
}

.tabela-ranking caption {
  position: absolute;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;

  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tabela-ranking th,
.tabela-ranking td {
  padding: 10px 16px;

  border-bottom: 1px solid #000000;
  white-space: nowrap;
}

.tabela-ranking th {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.tabela-ranking th:nth-child(n + 3),
.tabela-ranking td:nth-child(n + 3) {
  width: 46px;
  min-width: 46px;
  padding-right: 6px;
  padding-left: 6px;

  text-align: center;
}

.tabela-ranking th:last-child,
.tabela-ranking td:last-child {
  width: 56px;
  min-width: 56px;
  padding-right: 14px;
  padding-left: 10px;
}

.tabela-ranking .coluna-posicao,
.tabela-ranking .posicao-tabela {
  width: 44px;
  min-width: 44px;
  padding-right: 5px;
  padding-left: 5px;
  text-align: center;
}

.tabela-ranking th abbr {
  text-decoration: none;
}

.tabela-ranking td:nth-child(2) {
  font-weight: 500;
}

.tabela-ranking tbody tr:last-child td {
  border-bottom: 0;
}

.tabela-ranking tbody tr {
  transition: background-color 240ms linear;
}

.tabela-ranking tbody tr.linha-destacada {
  background-color: #d4af37;
  color: #000000;
}

.link-mc-tabela,
.botao-estatistica,
.botao-pontos-cartao,
.link-mc-adicional {
  color: inherit;
  font: inherit;
}

.link-mc-tabela {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
}

.link-mc-adicional {
  text-decoration: none;
}

.link-mc-tabela {
  font-size: 1.12em;
  font-weight: 700;
  line-height: 1;
}

.botao-estatistica,
.botao-pontos-cartao {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.botao-estatistica {
  width: auto;
  min-width: 2.2em;
  padding: 3px 5px;

  text-align: center;
  border: 0;

  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: #000080;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
}

.botao-pontos-cartao {
  display: block;
  width: fit-content;
  color: #000080;
  text-align: left;

  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: #000080;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
}

.link-mc-tabela:hover,
.link-mc-adicional:hover,
.botao-estatistica:hover,
.botao-pontos-cartao:hover {
  opacity: 0.55;
}

.link-mc-tabela:focus-visible,
.link-mc-adicional:focus-visible,
.botao-estatistica:focus-visible,
.botao-pontos-cartao:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

/* CARDS */

.item-ranking {
  --largura: var(--largura-ranking);
  --diferenca: 1px;

  width: var(--largura);
  padding: calc(18px + var(--diferenca));

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid #000000;

  font-size: calc(37px + var(--diferenca));
}

/* CONTEÚDO DOS CARDS */

.conteudo-mc {
  width: 100%;
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.posicao {
  margin-bottom: 7px;

  color: #000080;

  font-size: 0.38em;
  line-height: 1;
}

.linha-nome {
  max-width: 100%;

  display: flex;
  align-items: center;
  gap: 0.28em;
}

.nome-mc {
  min-width: 0;

  font-size: 1em;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;

  overflow-wrap: anywhere;
}

.bandeira-estado {
  width: 0.62em;
  height: 0.41em;

  display: block;
  flex-shrink: 0;

  object-fit: cover;

  border: 1px solid #000000;
}

.arroba-mc {
  margin-top: 2px;

  color: #666666;

  font-size: 0.384em;
  line-height: 1.2;
}

.pontos-mc {
  margin-top: 9px;

  font-size: 0.52em;
  line-height: 1.2;
}

.titulos-mc {
  margin-top: 8px;

  color: #666666;

  font-size: 0.38em;
  line-height: 1.3;
}

/* POSIÇÕES ADICIONAIS EM PROSA */

.ranking-adicional {
  width: var(--largura-ranking);
  margin: 24px auto 0;

  color: #000000;

  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.45px;
  text-transform: lowercase;
}

.ranking-adicional:empty {
  display: none;
}

/* BALÃO DE DETALHES */

.camada-detalhes {
  position: fixed;
  inset: 0;
  z-index: 300;

  display: grid;
  place-items: center;
  padding: 20px;

  background: rgba(255, 255, 255, 0.42);
}

.camada-detalhes[hidden] {
  display: none !important;
}

.balao-detalhes {
  width: max-content;
  max-width: calc(100vw - 40px);
  max-height: min(72vh, 620px);
  padding: 16px;

  overflow: auto;

  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;

  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.4px;
}

.topo-balao-detalhes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid #000000;
}

.topo-balao-detalhes strong,
.lista-detalhes p {
  white-space: nowrap;
}

.topo-balao-detalhes strong {
  font-size: 13px;
}

.topo-balao-detalhes button {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  padding: 0;

  cursor: pointer;
  background: transparent;
  color: #000000;
  border: 1px solid #000000;

  font: inherit;
  font-size: 18px;
  line-height: 1;
}

.lista-detalhes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
}

.lista-detalhes p {
  margin: 0;
}

.somente-leitores {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* CELULAR */

@media (max-width: 720px) {
  .topbar {
    height: 48px;
    padding: 0 12px;
  }

  .marca-topo {
    font-size: 34px;
    letter-spacing: -2px;
  }

  .hero {
    height: calc(100vh - 48px);
    height: calc(100svh - 48px);

    grid-template-rows:
      minmax(0, 2fr)
      minmax(0, 1fr)
      36px;
  }

  .identificacao-pagina {
    top: 10px;
    right: 12px;
    left: 12px;
    gap: 12px;
  }

  .relogio-sp,
  .nome-pagina {
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .imagem-principal {
    background-size: cover;
  }

  .interludio-mascote {
    --tamanho-mascote: 64px;
  }

  .destaques-semana:not([hidden]) {
    width: calc(100% - 24px);
    margin-bottom: 33.333px;
    display: block;
  }

  .destaques-controle {
    width: 88vw;
    margin-inline: auto;
    display: block;
  }

  .seta-destaque {
    display: none;
  }

  .destaques-viewport:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 4px;
  }

  .cartao-destaque {
    height: auto;
    min-height: 146px;
    padding: 14px;
    gap: 8px;
  }

  .titulo-destaque {
    font-size: 20px;
  }

  .texto-destaque {
    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(13px, 1.55vw, 14px);
    font-weight: 500;
    line-height: 1.24;
    letter-spacing: 0.15px;
    text-align: left;
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }

  .estado-destaques {
    font-size: 13px;
  }

  .rodape-destaque {
    font-size: 10px;
  }

  .area-apresentacao {
    padding: 10px 12px 0;

    grid-template-rows:
      minmax(0, 1fr)
      auto
      minmax(0, 1fr)
      auto
      minmax(0, 1fr);
  }

  .menu-apresentacao {
    width: min(330px, 100%);
    max-width: none;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 8px;

    font-size: clamp(13px, 3.7vw, 17px);
    line-height: 1.4;
    letter-spacing: 0.2px;
  }

  .menu-apresentacao a {
    width: 100%;
    padding: 6px 7px;

    transform: none;
  }

  .apresentacao {
    width: min(calc(66.6667vw - 12px), 100%);
    padding: 0;

    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .texto-apresentacao {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.7px;
  }

  .faixa-status {
    height: 36px;

    font-size: 12px;
    letter-spacing: 1.4px;
  }

  .faixa-grupo {
    padding: 0 12px;
    gap: 24px;
  }

  .ranking-section {
    padding: 0 12px 80px;
    scroll-margin-top: 48px;
  }

  .cabecalho-secao {
    align-items: flex-start;
    gap: 12px;
  }

  .identificacao-ranking,
  .atualizacao {
    font-size: 8px;
  }

  .atualizacao {
    text-align: right;
  }

  .titulo-ranking {
    margin-top: 0;

    line-height: 0.9;
  }

  .apresentacao-ranking {
    margin-top: 16px;
  }

  .texto-ranking {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.7px;
  }

  .controles-visualizacao {
    margin-top: 16px;
    gap: 5px;
  }

  .botao-visualizacao {
    padding: 5px 9px;

    font-size: 10px;
  }

  .legenda-tabela {
    margin-top: 9px;

    font-size: 10px;
    letter-spacing: 0.7px;
  }

  .lista-ranking {
    margin-top: 10px;
    gap: 9px;
  }

  .item-ranking {
    padding: calc(12px + var(--diferenca));
    font-size: calc(26px + var(--diferenca));
  }

  .tabela-ranking-wrap {
    margin-top: 7px;

    overflow-x: hidden;
  }

  .tabela-ranking {
    width: 100%;
    min-width: 0;
    max-width: 100%;

    table-layout: fixed;

    font-size: 11px;
  }

  .tabela-ranking th,
  .tabela-ranking td {
    padding: 9px 12px;
  }

  .tabela-ranking .coluna-posicao,
  .tabela-ranking .posicao-tabela {
    width: 8%;
    min-width: 0;
    padding-right: 2px;
    padding-left: 2px;

    font-size: 9px;
  }

  .tabela-ranking th:nth-child(2),
  .tabela-ranking td:nth-child(2) {
    width: 38%;
    padding-right: 4px;
    padding-left: 8px;

    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tabela-ranking th:nth-child(n + 3),
  .tabela-ranking td:nth-child(n + 3) {
    width: 10%;
    min-width: 0;
    padding-right: 2px;
    padding-left: 2px;

    font-size: 10px;
  }

  .tabela-ranking th:last-child,
  .tabela-ranking td:last-child {
    width: 14%;
    min-width: 0;
    padding-right: 4px;
    padding-left: 4px;

    font-size: 9px;
  }

  .tabela-ranking th {
    font-size: 10px;
  }

  .ranking-adicional {
    margin-top: 18px;
    font-size: 11px;
    line-height: 1.6;
  }

  .camada-detalhes {
    padding: 12px;
  }

  .balao-detalhes {
    max-width: calc(100vw - 24px);
    padding: 14px;
    font-size: 9px;
  }
}

/* ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {
  .faixa-track {
    animation: none;
  }

  .separador-relogio {
    opacity: 1 !important;
  }
}
