body.page-fonte .fonte-palco {
  width: var(--revenda-largura);
  max-width: 100%;
  margin: 0 auto;
  padding: 0.4rem 0 2.4rem;
}

.fonte-hero {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.fonte-kicker {
  margin: 0 0 0.35rem;
  color: #9eb6ff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fonte-saudacao {
  margin: 0 0 0.15rem;
  color: #9eb6ff;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
}

.fonte-painel > h1 {
  margin: 0 0 1rem;
  max-width: none;
  text-align: center;
}

.fonte-painel[data-fonte-painel="configuracoes"] > h2,
.fonte-painel[data-fonte-painel="perfil"] > h2 {
  margin: 0 0 1rem;
  text-align: center;
}

.fonte-config {
  display: flex;
  flex-direction: column;
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(8, 12, 24, 0.72);
}

.fonte-config-form { display: contents; }

.fonte-config-ips { order: 1; }

.fonte-config-form > [data-fonte-config-botao] { order: 2; }

.fonte-config-form > [data-fonte-config-botao]:disabled {
  opacity: 1;
  background: #2a334d;
  color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
  cursor: not-allowed;
}

.fonte-config h3,
.fonte-config-ips h3 {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 1.05rem;
}

.fonte-config > form > h3:first-of-type { margin-top: 0.15rem; }

.fonte-config-ips {
  margin-top: 1.15rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fonte-ip-cabeca {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.fonte-ip-cabeca > span {
  color: #d7def5;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fonte-ip-adicionar {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex: none;
  margin: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  background: #245bff;
  color: #fff;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.fonte-ip-lista {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
}

.fonte-ip-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0.4rem;
  padding: 0.32rem 0.5rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
}

.fonte-ip-linha > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fonte-ip-botoes {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: none;
}

.fonte-ip-botoes form { margin: 0; }

.fonte-ip-botoes button {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  border: 0;
  border-radius: 999px;
  padding: 0.2rem 0.52rem;
  background: #245bff;
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.fonte-ip-botoes .fonte-ip-remover { background: #d41432; }

.fonte-config-ips .fonte-config-nota {
  margin-top: 0.6rem;
  font-size: 0.78rem;
}

.fonte-ip-popup {
  position: fixed;
  inset: 0;
  width: min(100% - 2rem, 26rem);
  height: fit-content;
  margin: auto;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.1rem;
  background: #12182b;
  color: #fff;
}

.fonte-ip-popup::backdrop { background: rgba(4, 8, 18, 0.72); }

.fonte-ip-popup h3 { margin: 0; text-align: center; }

.fonte-ip-popup .field { margin-top: 0.9rem; }

.fonte-ip-popup-acoes {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.fonte-ip-popup-acoes button {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: #245bff;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fonte-ip-popup-acoes button[type="button"] { background: #2a334d; }

.fonte-config .fonte-par {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.fonte-config .fonte-par .field {
  grid-column: auto;
  width: 100%;
  min-width: 0;
}

.fonte-config .fonte-par input {
  height: 3rem;
  min-height: 3rem;
  font-size: 1rem;
  font-weight: 500;
}

.fonte-config .fonte-senha-caixa {
  height: 3rem;
  font: inherit;
}

.fonte-config .field { margin-top: 0.85rem; }

.fonte-prazo {
  display: flex;
  align-items: end;
  gap: 0.75rem;
}

.fonte-prazo .field,
body.page-revenda .fonte-prazo .field {
  grid-column: auto;
  width: fit-content;
  flex: none;
}

.fonte-prazo input[type="date"] {
  width: 11.6rem;
  height: 3rem;
  min-height: 3rem;
  padding-right: 0.45rem;
  font-size: 1rem;
  font-weight: 500;
  color-scheme: dark;
}

.fonte-prazo-valor {
  display: flex;
  align-items: center;
  height: 3rem;
  margin: 0;
  color: #8d97ab;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.fonte-prazo-valor.fonte-prazo-cobrado { color: #9ff7ec; }

.fonte-config-nota,
.fonte-config-erro {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.fonte-config-nota { color: #b7c3e6; }

.fonte-config-erro { color: #ffb4be; }

.fonte-perfil,
.fonte-perfil-codigo {
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(8, 12, 24, 0.72);
}

.fonte-perfil-codigo { margin-top: 0.85rem; }

.fonte-perfil .field,
.fonte-perfil-codigo .field { margin-top: 0.85rem; }

.fonte-perfil-reenviar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: fit-content;
  margin: 0.75rem auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9eb6ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fonte-hero h1,
.fonte-bloco h1 {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.fonte-lead {
  margin: 0.7rem 0 0;
  max-width: 36rem;
  color: rgba(246, 247, 251, 0.78);
  font-size: 1.02rem;
}

.fonte-numeros {
  container-type: inline-size;
  min-width: 0;
}

.fonte-canais-titulo {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.45rem;
  font-size: clamp(1.15rem, 8.4cqi, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(130, 168, 255, 0.55);
}

.fonte-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.fonte-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.9rem 0.95rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.05rem;
  background: rgba(9, 12, 28, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.fonte-stat-total {
  grid-column: 1 / -1;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(61, 125, 255, 0.35), transparent 55%),
    rgba(9, 12, 28, 0.78);
}

.fonte-stat span {
  display: block;
  color: rgba(246, 247, 251, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fonte-stat svg {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.45rem 0 0.2rem;
}

.fonte-stat strong {
  display: block;
  font-size: clamp(1.7rem, 6vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.fonte-stat-total svg { color: #9eb6ff; }
.fonte-stat-live strong,
.fonte-stat-live svg { color: #3ee0a0; }
.fonte-stat-down strong,
.fonte-stat-down svg { color: #ff8d7d; }

.fonte-nota {
  margin: 0.75rem 0 0;
  color: rgba(246, 247, 251, 0.66);
  font-size: 0.88rem;
}

.fonte-bloco {
  margin-top: 0.4rem;
}

.fonte-bloco h2 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
}

.fonte-vitrine {
  display: grid;
  gap: 0;
}

.fonte-grupo-planos {
  display: grid;
  gap: 0.75rem;
}

.fonte-faixa {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.75rem 0 0;
  color: #d7e3ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.fonte-faixa::before,
.fonte-faixa::after {
  content: "";
  flex: 1;
  height: 2px;
  background: rgba(215, 227, 255, 0.45);
}

.fonte-faixa-teste { color: #ffd27a; }

.fonte-faixa-teste::before,
.fonte-faixa-teste::after { background: rgba(255, 193, 74, 0.7); }

.fonte-grade {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.fonte-plano {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
  padding: 1.05rem 1.05rem 0.95rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(20, 26, 48, 0.94), rgba(8, 11, 24, 0.9)) padding-box,
    linear-gradient(155deg, rgba(168, 190, 255, 0.72), rgba(255, 255, 255, 0.08) 46%, rgba(62, 224, 160, 0.42)) border-box;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.fonte-plano::before {
  content: "";
  position: absolute;
  top: -2.4rem;
  right: -1.6rem;
  width: 8.5rem;
  height: 8.5rem;
  background: radial-gradient(circle, rgba(75, 134, 255, 0.34), transparent 68%);
  pointer-events: none;
}

.fonte-plano-topo,
.fonte-plano .fonte-preco,
.fonte-plano-lista,
.fonte-plano-acao {
  position: relative;
}

.fonte-plano-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.fonte-plano h3 {
  margin: 0;
  color: #d7e3ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

.fonte-preco {
  margin: 0.15rem 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fonte-plano .fonte-preco {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.fonte-plano-lista {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0.75rem 0 0.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
}

.fonte-plano-lista li {
  display: flex;
  align-items: flex-start;
  gap: 0.48rem;
  color: rgba(246, 247, 251, 0.8);
  font-size: 0.92rem;
  line-height: 1.35;
}

.fonte-plano-lista li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.38rem;
  border-radius: 999px;
  background: #3ee0a0;
  box-shadow: 0 0 8px rgba(62, 224, 160, 0.75);
  flex: 0 0 auto;
}

.fonte-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.fonte-ip-adicionar .fonte-ico,
.fonte-ip-botoes .fonte-ico {
  width: 0.82rem;
  height: 0.82rem;
}

.fonte-plano-acao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.7rem;
  margin-top: auto;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #5b92ff, #2a5fe0);
  box-shadow: 0 10px 22px rgba(42, 95, 224, 0.34);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.fonte-plano-acao:hover { filter: brightness(1.08); }

.fonte-plano-teste {
  background:
    linear-gradient(180deg, rgba(52, 36, 10, 0.96), rgba(16, 11, 5, 0.94)) padding-box,
    linear-gradient(155deg, rgba(255, 196, 74, 0.9), rgba(255, 255, 255, 0.1) 46%, rgba(255, 138, 32, 0.62)) border-box;
}

.fonte-plano-teste::before {
  background: radial-gradient(circle, rgba(255, 176, 46, 0.42), transparent 68%);
}

.fonte-plano-teste h3 { color: #ffe3ad; }

.fonte-plano-teste .fonte-preco { color: #ffd27a; }

.fonte-plano-teste .fonte-plano-lista li::before {
  background: #ffb02e;
  box-shadow: 0 0 8px rgba(255, 176, 46, 0.75);
}

.fonte-plano-teste .fonte-plano-acao {
  background: linear-gradient(180deg, #ffc14a, #e08a12);
  box-shadow: 0 10px 22px rgba(224, 138, 18, 0.34);
  color: #2a1600;
}

.fonte-plano-seu {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(61, 255, 176, 0.45);
}

.fonte-plano form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  margin-top: auto;
}

.fonte-plano-nota {
  margin: 0;
  color: rgba(246, 247, 251, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

button.fonte-plano-acao {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.fonte-plano-atual {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: rgba(246, 247, 251, 0.82);
  cursor: default;
}

button.fonte-plano-downgrade {
  background: linear-gradient(180deg, #ff5d5d, #c41010);
  box-shadow: none;
  color: #fff;
}

button.fonte-plano-upgrade {
  background: linear-gradient(180deg, #49f0b8, #12a56a);
  box-shadow: none;
  color: #042216;
}

.fonte-plano-cancelar {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  padding: 0.45rem 0.8rem;
  border: 0;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (hover: hover) {
  .fonte-plano { transition: transform 0.18s ease, box-shadow 0.18s ease; }
  .fonte-plano:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

.fonte-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0 0 0.8rem;
  color: #b9cbff;
  text-decoration: none;
}

.fonte-resumo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.8rem;
  margin-bottom: 0.9rem;
}

.fonte-form {
  display: grid;
  gap: 1rem;
}

.fonte-grupo {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.15rem;
}

.fonte-grupo legend {
  margin-bottom: 0.35rem;
  color: rgba(246, 247, 251, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fonte-par {
  display: grid;
  gap: 0 0.75rem;
}

.fonte-par .field { margin-top: 0.65rem; }

.fonte-senha-caixa {
  position: relative;
  display: block;
}

.fonte-senha-caixa input { padding-right: 2.8rem; }

.fonte-olho {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(246, 247, 251, 0.78);
  transform: translateY(-50%);
  cursor: pointer;
}

.fonte-olho svg { width: 1.25rem; height: 1.25rem; }

.fonte-forca {
  display: block;
  height: 0.35rem;
  margin-top: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.fonte-forca span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
}

.fonte-aviso {
  display: block;
  margin-top: 0.35rem;
  color: #ff8d8d;
  font-size: 0.82rem;
  font-weight: 700;
}

.fonte-aviso[hidden] { display: none; }

.fonte-form .form-acoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.fonte-form .form-acoes .btn {
  width: 100%;
  margin: 0;
  cursor: pointer;
}

.fonte-abas {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fonte-abas a {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
}

.fonte-abas a.ativo {
  background: linear-gradient(180deg, #4b86ff, #2457d6);
}

.fonte-conta {
  display: grid;
  gap: 0.75rem;
}

.fonte-painel-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.fonte-medidor,
.fonte-plano-conta {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(46, 220, 160, 0.16), transparent 58%),
    rgba(8, 14, 28, 0.88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.fonte-medidor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1rem 1rem;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(46, 220, 160, 0.16), transparent 58%),
    rgba(8, 14, 28, 0.88);
  transition: background 0.35s ease;
}

.fonte-medidor-anel {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 1;
}

.fonte-medidor-anel svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fonte-medidor-halo,
.fonte-medidor-riscos,
.fonte-medidor-trilho,
.fonte-medidor-arco {
  fill: none;
}

.fonte-medidor-halo,
.fonte-medidor-riscos,
.fonte-medidor-trilho {
  transition: stroke 0.35s ease;
}

.fonte-medidor-halo {
  stroke: rgba(80, 190, 220, 0.28);
  stroke-width: 1.4;
}

.fonte-medidor-riscos {
  stroke: rgba(110, 214, 230, 0.55);
  stroke-width: 7;
  stroke-dasharray: 1.6 8.4;
  stroke-linecap: round;
}

.fonte-medidor-trilho {
  stroke: rgba(62, 224, 160, 0.14);
  stroke-width: 12;
}

.fonte-medidor-arco {
  stroke: #3dffb0;
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 110px 110px;
  filter: drop-shadow(0 0 7px rgba(61, 255, 176, 0.85));
  transition: stroke-dasharray 0.55s ease, stroke 0.35s ease, filter 0.35s ease;
}

.fonte-medidor-medio {
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(255, 193, 74, 0.18), transparent 58%),
    rgba(8, 14, 28, 0.88);
}

.fonte-medidor-alerta {
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(255, 138, 42, 0.2), transparent 58%),
    rgba(8, 14, 28, 0.88);
}

.fonte-medidor-cheio,
.fonte-medidor-estouro {
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(255, 70, 70, 0.24), transparent 58%),
    rgba(8, 14, 28, 0.88);
}

.fonte-medidor-medio .fonte-medidor-halo { stroke: rgba(255, 193, 74, 0.34); }
.fonte-medidor-medio .fonte-medidor-riscos { stroke: rgba(255, 193, 74, 0.62); }
.fonte-medidor-medio .fonte-medidor-trilho { stroke: rgba(255, 193, 74, 0.16); }

.fonte-medidor-alerta .fonte-medidor-halo { stroke: rgba(255, 138, 42, 0.36); }
.fonte-medidor-alerta .fonte-medidor-riscos { stroke: rgba(255, 138, 42, 0.66); }
.fonte-medidor-alerta .fonte-medidor-trilho { stroke: rgba(255, 138, 42, 0.16); }

.fonte-medidor-cheio .fonte-medidor-halo,
.fonte-medidor-estouro .fonte-medidor-halo { stroke: rgba(255, 90, 90, 0.4); }

.fonte-medidor-cheio .fonte-medidor-riscos,
.fonte-medidor-estouro .fonte-medidor-riscos { stroke: rgba(255, 90, 90, 0.72); }

.fonte-medidor-cheio .fonte-medidor-trilho,
.fonte-medidor-estouro .fonte-medidor-trilho { stroke: rgba(255, 70, 70, 0.18); }

.fonte-medidor-medio .fonte-medidor-arco {
  stroke: #ffc14a;
  filter: drop-shadow(0 0 7px rgba(255, 193, 74, 0.8));
}

.fonte-medidor-alerta .fonte-medidor-arco {
  stroke: #ff8a2a;
  filter: drop-shadow(0 0 7px rgba(255, 138, 42, 0.85));
}

.fonte-medidor-cheio .fonte-medidor-arco,
.fonte-medidor-estouro .fonte-medidor-arco {
  stroke: #ff4b4b;
  filter: drop-shadow(0 0 8px rgba(255, 60, 60, 0.9));
}

.fonte-medidor-centro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.fonte-medidor-centro strong {
  color: #fff;
  font-size: clamp(2.6rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.fonte-medidor-centro span,
.fonte-medidor-centro strong {
  transition: color 0.35s ease;
}

.fonte-medidor-centro span {
  margin-top: 0.25rem;
  color: #3dffb0;
  font-size: 0.98rem;
  font-weight: 700;
}

.fonte-medidor-medio .fonte-medidor-centro span { color: #ffc14a; }
.fonte-medidor-alerta .fonte-medidor-centro span { color: #ff8a2a; }
.fonte-medidor-cheio .fonte-medidor-centro span,
.fonte-medidor-estouro .fonte-medidor-centro span { color: #ff5c5c; }
.fonte-medidor-estouro .fonte-medidor-centro strong { color: #ff5c5c; }

.fonte-medidor-centro small {
  margin-top: 0.08rem;
  color: rgba(246, 247, 251, 0.62);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}

.fonte-plano-conta {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1rem;
}

.fonte-plano-topo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.55rem;
}

.fonte-plano .fonte-plano-topo {
  display: flex;
  justify-content: center;
}

.fonte-status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.fonte-status-ativo {
  background: linear-gradient(180deg, #49f0b8, #12a56a);
  color: #042216;
}

.fonte-status-inativo {
  background: rgba(255, 90, 90, 0.16);
  color: #ffb4b4;
  box-shadow: inset 0 0 0 1px rgba(255, 120, 120, 0.45);
}

.fonte-plano-conta h2 {
  margin: 0;
  font-size: clamp(0.92rem, 1.7vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: break-word;
  text-align: center;
}

.fonte-plano-preco {
  justify-self: end;
  margin: 0;
  color: #fff;
  font-size: clamp(0.92rem, 1.7vw, 1.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.fonte-plano-expira {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  margin: 0.75rem 0 0.1rem;
  text-align: center;
}

.fonte-plano-expira span {
  color: rgba(246, 247, 251, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fonte-plano-expira strong {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.fonte-copia {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.45rem;
  align-items: center;
  margin-top: 0.7rem;
}

.fonte-copia span {
  grid-column: 1 / -1;
  color: rgba(246, 247, 251, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fonte-copia input {
  width: 100%;
  min-width: 0;
  height: 2.35rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  text-overflow: ellipsis;
}

.fonte-copia button {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  height: 2.35rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.fonte-copia button.copiado {
  background: #3dffb0;
  color: #042216;
}

.fonte-plano-infos {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(246, 247, 251, 0.78);
}

.fonte-plano-infos li + li { margin-top: 0.28rem; }

.fonte-plano-acoes {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.fonte-plano-acoes form {
  flex: 1 1 0;
  margin: 0;
}

.fonte-plano-acoes .btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.3rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 0.9rem;
  cursor: pointer;
  font: inherit;
  line-height: 1.15;
}

.fonte-plano-acoes .btn span {
  font-weight: 800;
}

.fonte-plano-acoes .btn small {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.82;
}

.fonte-plano-acoes .btn-downgrade {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.fonte-plano-acoes .btn-upgrade {
  background: linear-gradient(180deg, #49f0b8, #12a56a);
  color: #042216;
}

.fonte-historico {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.fonte-historico article {
  min-width: 0;
  padding: 1rem 1rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  background: rgba(12, 16, 32, 0.76);
}

.fonte-historico h2 {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fonte-historico-vazio {
  margin: 0;
  color: rgba(246, 247, 251, 0.62);
}

.fonte-rolagem {
  overflow-x: auto;
}

.fonte-historico table {
  width: 100%;
  border-collapse: collapse;
}

.fonte-historico th,
.fonte-historico td {
  padding: 0.48rem 0.55rem 0.48rem 0;
  text-align: left;
  vertical-align: middle;
}

.fonte-historico th {
  color: rgba(246, 247, 251, 0.5);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fonte-historico td {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

[data-fonte-recentes-lista] th,
[data-fonte-recentes-lista] td:nth-child(1),
[data-fonte-recentes-lista] td:nth-child(3),
[data-fonte-recentes-lista] td:nth-child(4) {
  white-space: nowrap;
}

.fonte-historico th:last-child {
  padding-right: 0;
  text-align: right;
}

.fonte-historico td:last-child {
  padding-right: 0;
  text-align: right;
  white-space: nowrap;
}

.fonte-qualidade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.14rem 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.fonte-qualidade-alta {
  background: #1fbe78;
  color: #042216;
}

.fonte-qualidade-media {
  background: #e6b325;
  color: #2a2204;
}

.fonte-qualidade-baixa {
  background: rgba(255, 90, 90, 0.2);
  color: #ffb4b4;
}

.fonte-dados {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  background: rgba(12, 16, 32, 0.76);
}

.fonte-dados p { margin: 0.25rem 0; }

.fonte-listas {
  display: grid;
  gap: 0.7rem;
}

.fonte-listas label {
  display: grid;
  gap: 0.35rem;
  color: rgba(246, 247, 251, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fonte-listas input {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.fonte-painel[hidden] { display: none !important; }

@media (min-width: 720px) {
  .fonte-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fonte-par { grid-template-columns: 1fr 1fr; }
  .fonte-painel-cards { grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 1.1fr); }
}

@media (min-width: 980px) {
  .fonte-historico { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr); }
  .fonte-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: end;
  }
  .fonte-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .fonte-stat,
  .fonte-plano { box-shadow: none; transition: none; }
  .fonte-plano:hover { transform: none; }
  .fonte-pix-pulso { animation: none; }
  .fonte-pix-festa-barra::after { animation: none; }
}

.fonte-painel-pagamento:not([hidden]) {
  display: flex;
  justify-content: center;
  padding-top: 0.15rem;
}

.fonte-painel-pagamento > [data-fonte-pix],
.fonte-painel-pagamento > [data-fonte-pagamento-base] {
  width: min(100%, 25rem);
}

.fonte-painel-pagamento > [hidden] { display: none !important; }

.fonte-pix {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.05rem 1.1rem;
  border: 1px solid rgba(80, 214, 198, 0.38);
  border-radius: 1.45rem;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(50, 188, 173, 0.24), transparent 56%),
    radial-gradient(70% 55% at 0% 100%, rgba(61, 125, 255, 0.16), transparent 52%),
    rgba(10, 14, 28, 0.94);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fonte-pix-topo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fonte-pix-marca {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border-radius: 0.9rem;
  color: #04221d;
  background: linear-gradient(180deg, #9ff7ec, #1fbfae);
  box-shadow: 0 10px 22px rgba(31, 191, 174, 0.32);
}

.fonte-pix-marca svg { width: 1.4rem; height: 1.4rem; }

.fonte-pix-ok .fonte-pix-marca {
  color: #042114;
  background: linear-gradient(180deg, #9dffc9, #12c46a);
  box-shadow: 0 10px 22px rgba(18, 196, 106, 0.28);
}

.fonte-pix-alerta .fonte-pix-marca {
  color: #3a0b0b;
  background: linear-gradient(180deg, #ffb0a8, #ff5d5d);
  box-shadow: 0 10px 22px rgba(255, 93, 93, 0.28);
}

.fonte-pix-kicker {
  margin: 0;
  color: #8ef3e6;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fonte-pix h2 {
  margin: 0.12rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.fonte-pix-valor {
  margin: 0.85rem 0 0;
  color: #fff;
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-align: center;
}

.fonte-pix-passos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.fonte-pix-passos li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 0.2rem 0.5rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(246, 247, 251, 0.78);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.fonte-pix-passos svg { width: 1.05rem; height: 1.05rem; color: #7ef0e2; }

.fonte-pix-qr {
  display: grid;
  place-items: center;
  width: 12.2rem;
  margin: 0.95rem auto 0;
  padding: 0.65rem;
  border-radius: 1.05rem;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(50, 188, 173, 0.16);
}

.fonte-pix-qr img { display: block; width: 100%; height: auto; }

.fonte-pix-chave {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.fonte-pix-chave > span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(246, 247, 251, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fonte-pix-chave svg { width: 0.9rem; height: 0.9rem; color: #7ef0e2; }

.fonte-pix-chave textarea {
  width: 100%;
  height: 4.2rem;
  margin: 0;
  padding: 0.55rem 0.65rem;
  resize: none;
  border: 1px solid rgba(126, 240, 226, 0.28);
  border-radius: 0.8rem;
  background: rgba(0, 0, 0, 0.28);
  color: #e8fff9;
  font: 0.72rem/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.fonte-pix-copiar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.85rem;
  margin-top: 0.7rem;
  border: 0;
  border-radius: 0.9rem;
  color: #04221d;
  background: linear-gradient(180deg, #9ff7ec, #1fbfae);
  box-shadow: 0 10px 22px rgba(31, 191, 174, 0.24);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.fonte-pix-copiar svg { width: 1.05rem; height: 1.05rem; }

.fonte-pix-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  color: #b7fff4;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.fonte-pix-pulso {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3ee0a0;
  box-shadow: 0 0 0 0 rgba(62, 224, 160, 0.65);
  animation: fonte-pix-pulso 1.6s ease-out infinite;
}

@keyframes fonte-pix-pulso {
  70% { box-shadow: 0 0 0 7px rgba(62, 224, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 160, 0); }
}

.fonte-pix-status-erro { color: #ffb4a8; }

.fonte-pix-status-erro .fonte-pix-pulso {
  background: #ff5d5d;
  animation: none;
}

.fonte-pix-nota {
  margin: 0.55rem 0 0;
  color: rgba(246, 247, 251, 0.66);
  font-size: 0.84rem;
  line-height: 1.4;
  text-align: center;
}

.fonte-pix .field { margin-top: 0.85rem; }

.fonte-pix .field input {
  width: 100%;
}

.fonte-pix-festa {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(50, 188, 173, 0.28), transparent 55%),
    #070a14;
}

.fonte-pix-festa-card {
  width: min(100%, 26rem);
  padding: 1.6rem 1.3rem 1.35rem;
  border: 1px solid rgba(80, 214, 198, 0.4);
  border-radius: 1.45rem;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(50, 188, 173, 0.22), transparent 55%),
    rgba(10, 14, 28, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.fonte-pix-festa-card .fonte-pix-marca { margin: 0 auto 0.9rem; }

.fonte-pix-festa-card .fonte-pix-kicker { margin: 0; }

.fonte-pix-festa-card h2 {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: none;
}

.fonte-pix-festa-card > p:not(.fonte-pix-kicker) {
  margin: 0.7rem 0 0;
  color: rgba(246, 247, 251, 0.82);
  font-size: 1.02rem;
  line-height: 1.4;
}

.fonte-pix-festa-card .fonte-pix-festa-espera {
  color: #8ef3e6;
  font-size: 0.84rem;
  font-weight: 700;
}

.fonte-pix-festa-barra {
  display: block;
  height: 0.28rem;
  margin-top: 1.1rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.fonte-pix-festa-barra::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #9ff7ec, #1fbfae);
  transform-origin: left center;
  animation: fonte-pix-festa 5s linear forwards;
}

@keyframes fonte-pix-festa {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
