/*
 * ARENA ROLLBACKY: o sistema visual das páginas da arena (/arena, /arena/atirador,
 * /arena/entrar e /arena/admin). Arquivo completo por conta própria: as páginas
 * da arena não carregam o auth.css. Modo claro pela mesma classe html.tema-claro
 * do resto do site.
 */

/* ================================================================ tokens */

@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  color-scheme: dark;
  --bg: #02060d;
  --panel: rgba(4, 12, 30, 0.82);
  --panel-solid: #030a1a;
  --panel-2: #050f26;
  --sup-1: rgba(255, 255, 255, 0.022);
  --sup-2: rgba(255, 255, 255, 0.045);
  --fosco: rgba(0, 0, 0, 0.32);
  --nav-bg: rgba(1, 4, 11, 0.74);
  --line: rgba(125, 189, 250, 0.12);
  --line-2: rgba(125, 189, 250, 0.22);
  --line-3: rgba(var(--neon-rgb), 0.55);

  /* Os azuis do quarto: o preto dos móveis, o azul elétrico e o neon ciano das
     bordas. Os -rgb servem às transparências: rgba(var(--azul-rgb), 0.1). */
  --azul-rgb: 22, 119, 255;
  --neon-rgb: 30, 210, 255;
  --azul: #1677ff;
  --azul-2: #54b2ff;
  --azul-3: #2563eb;
  --azul-escuro: #0a3d91;
  --gelo: #c8e8ff;
  --branco: #ffffff;
  --texto: #dde9f8;
  --texto-2: #8aa4c5;
  --texto-3: #6d87a8;

  --ouro: #ffcf5c;
  --prata: #d0dbe9;
  --bronze: #e69c66;
  --vivo: #ff3d7f;
  --ok: #4ade80;
  --perigo: #ff4d6d;
  --aviso: #ffc94a;

  --grad: linear-gradient(135deg, #0a47c7 0%, #0b6fe0 52%, #1ea7ff 100%);
  --grad-barra: linear-gradient(90deg, #0a47c7, #1677ff 55%, #46e1ff);
  --brilho: 0 10px 34px -10px rgba(var(--azul-rgb), 0.85);

  --raio: 20px;
  --raio-2: 14px;
  --raio-3: 10px;

  --f-display: "Chakra Petch", "Segoe UI", sans-serif;
  --f-corpo: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  --nav-h: 72px;
  --curva: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.tema-claro {
  color-scheme: light;
  --bg: #ecf5fd;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-solid: #ffffff;
  --panel-2: #f4f9ff;
  --sup-1: rgba(10, 61, 145, 0.028);
  --sup-2: rgba(10, 61, 145, 0.055);
  --fosco: rgba(10, 61, 145, 0.05);
  --nav-bg: rgba(244, 249, 255, 0.82);
  --line: rgba(10, 61, 145, 0.12);
  --line-2: rgba(10, 61, 145, 0.2);
  --line-3: rgba(25, 87, 210, 0.5);
  --neon-rgb: 0, 155, 233;
  --azul-2: #1b69dc;
  --gelo: #1548ad;
  --branco: #010d2f;
  --texto: #082248;
  --texto-2: #3c587d;
  --texto-3: #567092;
  --ouro: #b07d00;
  --prata: #606f82;
  --bronze: #a75c22;
  --ok: #15803d;
  --perigo: #d4234a;
}

/* ================================================================== base */

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--azul) #000211;
}
html.tema-claro { scrollbar-color: var(--azul) rgba(10, 61, 145, 0.08); }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: #000211; }
::-webkit-scrollbar-thumb { border-radius: 999px; border: 3px solid #000211; background: linear-gradient(180deg, var(--azul-2), var(--azul-escuro)); }
::-webkit-scrollbar-thumb:hover { background: var(--azul); }
html.tema-claro ::-webkit-scrollbar-track { background: #e0ecfb; }
html.tema-claro ::-webkit-scrollbar-thumb { border-color: #e0ecfb; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--texto);
  font: 400 15px/1.6 var(--f-corpo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(var(--azul-rgb), 0.45); color: #fff; }
a { color: var(--azul-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gelo); }
:focus-visible { outline: 2px solid var(--azul-2); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--branco); line-height: 1.1; }
button { font-family: inherit; }

.ic { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
[data-ic] { display: inline-grid; place-items: center; }

.mudo { color: var(--texto-2); }
.fraco { color: var(--texto-3); }
.pequeno { font-size: 0.84rem; }
.mono { font-family: var(--f-mono); }
.vazio { color: var(--texto-3); padding: 18px 2px; text-align: left; }
.so-celular { display: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================ fundo vivo */

.fundo {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1100px 680px at 12% -12%, rgba(10, 92, 255, 0.24), transparent 62%),
    radial-gradient(900px 620px at 102% 4%, rgba(var(--neon-rgb), 0.13), transparent 60%),
    radial-gradient(1100px 760px at 50% 118%, rgba(10, 61, 145, 0.3), transparent 62%),
    var(--bg);
}
.fundo .grade-fundo {
  position: absolute;
  inset: -64px;
  background-image:
    linear-gradient(rgba(125, 189, 250, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 189, 250, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 25%, transparent 78%);
  animation: gradeAnda 26s linear infinite;
}
.fundo .orbe { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(100px); will-change: transform; }
.fundo .orbe.a { background: #0055ee; top: -220px; left: -160px; opacity: 0.42; animation: flutua 24s ease-in-out infinite alternate; }
.fundo .orbe.b { background: rgb(var(--neon-rgb)); top: 34%; right: -260px; opacity: 0.2; animation: flutua 30s ease-in-out infinite alternate-reverse; }
.fundo .ruido {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.tema-claro .fundo {
  background:
    radial-gradient(1100px 680px at 12% -12%, rgba(var(--azul-rgb), 0.14), transparent 62%),
    radial-gradient(900px 620px at 102% 4%, rgba(var(--neon-rgb), 0.1), transparent 60%),
    var(--bg);
}
html.tema-claro .fundo .orbe { opacity: 0.12; }
html.tema-claro .fundo .grade-fundo {
  background-image:
    linear-gradient(rgba(10, 61, 145, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 61, 145, 0.06) 1px, transparent 1px);
}

/* ================================================================ layout */

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; min-width: 0; }
.container.estreito { max-width: 1080px; }
main { display: block; min-width: 0; }

.duas { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .duas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .duas.larga-esq { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .duas.larga-dir { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
.duas > * { min-width: 0; }
.pilha > * + * { margin-top: 20px; }

/* ================================================================== nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.nav.rolou {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.nav-in { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: var(--nav-h); display: flex; align-items: center; gap: 22px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--branco); flex: none; }
.marca:hover { color: var(--branco); }
.marca-ic {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 8px 26px -8px rgba(var(--azul-rgb), 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff;
  overflow: hidden;
}
.marca-ic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: reflexoMarca 6s ease-in-out infinite 2s;
}
.marca-ic .ic { width: 23px; height: 23px; }
.marca-txt { display: grid; line-height: 1; }
.marca-txt b { font: 700 17px/1 var(--f-display); letter-spacing: 0.24em; }
.marca-txt small { font: 600 9.5px/1 var(--f-mono); letter-spacing: 0.34em; color: var(--texto-2); margin-top: 6px; }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--texto-2);
  text-decoration: none;
  font: 500 13.5px/1 var(--f-corpo);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--branco); background: var(--sup-2); }
.nav-links a.ativo { color: var(--branco); }
.nav-links a.ativo::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-barra);
  box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.8);
}
.nav-esp { flex: 1; }

.barra-conta { display: flex; align-items: center; gap: 8px; }
.conta-eu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--texto);
  border: 1px solid var(--line-2);
  background: var(--sup-1);
  transition: border-color 0.2s, background 0.2s;
}
.conta-eu:hover { border-color: var(--line-3); background: rgba(var(--azul-rgb), 0.1); color: var(--texto); }
.conta-eu .cabeca { --s: 32px; border-radius: 10px; }
.eu-nome { display: grid; line-height: 1.15; }
.eu-nome b { font: 600 13.5px var(--f-corpo); color: var(--branco); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eu-nome small { font: 500 10.5px var(--f-mono); color: var(--texto-3); letter-spacing: 0.04em; white-space: nowrap; }

/* =============================================================== status */

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--sup-1);
  font: 600 10.5px/1 var(--f-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--texto-2);
  white-space: nowrap;
  flex: none;
}
.status .ponto { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--texto-3); color: var(--texto-3); flex: none; }
.status.online { color: #b8f5cd; border-color: rgba(74, 222, 128, 0.32); }
.status.online .ponto { background: var(--ok); color: var(--ok); box-shadow: 0 0 10px var(--ok); }
.status.aovivo { color: #ffd0e1; border-color: rgba(255, 61, 127, 0.5); background: rgba(255, 61, 127, 0.09); }
.status.aovivo .ponto { background: var(--vivo); color: var(--vivo); box-shadow: 0 0 12px var(--vivo); }
.status.online .ponto::after,
.status.aovivo .ponto::after,
.ponto-vivo::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: onda 1.9s ease-out infinite;
}
html.tema-claro .status.online { color: #15803d; }
html.tema-claro .status.aovivo { color: #c0124f; }

/* ================================================================ botões */

.botao {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 13px;
  border: 1px solid transparent;
  font: 600 12.5px/1 var(--f-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  color: var(--branco);
  background: var(--sup-2);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--curva), box-shadow 0.3s, border-color 0.25s, background 0.25s, color 0.2s;
}
.botao .ic { width: 17px; height: 17px; }
.botao:hover { color: var(--branco); transform: translateY(-1px); }
/* Contornado: as ações secundárias do perfil (copiar link, comparar, sair). */
.botao-borda {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: transparent;
  font: 600 12.5px/1 var(--f-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  color: var(--texto);
  transition: transform 0.25s var(--curva), border-color 0.25s, background 0.25s, color 0.2s;
}
.botao-borda:hover { border-color: var(--line-3); background: rgba(var(--azul-rgb), 0.1); color: var(--branco); transform: translateY(-1px); }
.botao:active { transform: translateY(0) scale(0.98); }
.botao:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.botao.primario {
  color: #fff;
  background: var(--grad);
  box-shadow: var(--brilho), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.botao.primario::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.38) 50%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--curva);
}
.botao.primario:hover { box-shadow: 0 18px 44px -12px rgba(var(--azul-rgb), 1), inset 0 1px 0 rgba(255, 255, 255, 0.3); color: #fff; }
.botao.primario:hover::after { transform: translateX(120%); }
.botao.fantasma { background: var(--sup-1); border-color: var(--line-2); color: var(--texto); }
.botao.fantasma:hover { border-color: var(--line-3); background: rgba(var(--azul-rgb), 0.1); color: var(--branco); }
.botao.vidro {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}
.botao.vidro:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.botao.perigo { background: transparent; border-color: rgba(255, 77, 109, 0.45); color: #ff9fb2; }
.botao.perigo:hover { background: rgba(255, 77, 109, 0.12); color: #ffc2ce; }
html.tema-claro .botao.perigo { color: var(--perigo); }
.botao.pequeno { height: 38px; padding: 0 14px; font-size: 11px; border-radius: 11px; gap: 8px; }
.botao.pequeno .ic { width: 15px; height: 15px; }
.botao.micro { height: 30px; padding: 0 11px; font-size: 10.5px; border-radius: 9px; gap: 6px; letter-spacing: 0.1em; }
.botao.micro .ic { width: 13px; height: 13px; }
.botao.grande { height: 56px; padding: 0 28px; font-size: 13.5px; border-radius: 15px; }
.botao.bloco { width: 100%; }
.botao.so-ic { width: 48px; padding: 0; flex: none; }
.botao .seta-anda { transition: transform 0.3s var(--curva); }
.botao:hover .seta-anda { transform: translate(2px, -2px); }
.acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.link-botao { background: none; border: 0; padding: 0; color: var(--azul-2); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link-botao:hover { color: var(--gelo); }

/* ================================================================= chips */

.chip,
.selo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding: 0 11px;
  border-radius: 999px;
  font: 600 10.5px/1 var(--f-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--line-2);
  color: var(--gelo);
  background: rgba(var(--azul-rgb), 0.09);
}
.chip .ic, .selo .ic { width: 13px; height: 13px; }
.chip.ok, .selo.ok { color: #9af0b8; border-color: rgba(74, 222, 128, 0.34); background: rgba(74, 222, 128, 0.08); }
.chip.ouro { color: #ffe199; border-color: rgba(255, 207, 92, 0.4); background: rgba(255, 207, 92, 0.08); }
.chip.alerta, .selo.alerta { color: #ffa3b5; border-color: rgba(255, 77, 109, 0.45); background: rgba(255, 77, 109, 0.09); }
.chip.apagado, .selo.apagado { color: var(--texto-3); background: transparent; border-color: var(--line); }
.chip.vivo { color: #ffc2d8; border-color: rgba(255, 61, 127, 0.5); background: rgba(255, 61, 127, 0.1); }
.chip.solido { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 6px 18px -8px rgba(var(--azul-rgb), 0.9); }
.chip.de-time { color: var(--cor); border-color: color-mix(in srgb, var(--cor) 55%, transparent); background: color-mix(in srgb, var(--cor) 10%, transparent); }
.chip .ponto-vivo { width: 7px; height: 7px; }
.chip .ponto-vivo::after, .ticker-rot .ponto-vivo::after { inset: -2px; }
html.tema-claro .chip.ok, html.tema-claro .selo.ok { color: #15803d; }
html.tema-claro .chip.ouro { color: #8a6100; }
html.tema-claro .chip.alerta, html.tema-claro .selo.alerta { color: #c0123f; }
html.tema-claro .chip.vivo { color: #c0124f; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ponto-vivo { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--vivo); color: var(--vivo); box-shadow: 0 0 10px var(--vivo); flex: none; }

.verificado { display: inline-grid; place-items: center; color: var(--azul-2); flex: none; }
.verificado .ic { width: 16px; height: 16px; fill: rgba(var(--azul-rgb), 0.25); }

/* =============================================================== anúncio */

.anuncio {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: linear-gradient(90deg, rgba(var(--azul-rgb), 0.16), rgba(var(--azul-rgb), 0.04));
  color: var(--branco);
  font-size: 14.5px;
  line-height: 1.45;
  position: relative;
  overflow: hidden;
}
.anuncio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: varreAnuncio 7s ease-in-out infinite;
  pointer-events: none;
}
.anuncio-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; box-shadow: 0 6px 18px -6px rgba(var(--azul-rgb), 0.9); }
.anuncio-rot { font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--azul-2); flex: none; }
.anuncio-txt { min-width: 0; }
.anuncio.evento { border-color: rgba(255, 207, 92, 0.38); background: linear-gradient(90deg, rgba(255, 207, 92, 0.13), rgba(var(--azul-rgb), 0.06)); }
.anuncio.evento .anuncio-ic { background: linear-gradient(135deg, #d99a00, #ffcf5c); color: #2a1600; box-shadow: 0 6px 18px -6px rgba(255, 207, 92, 0.8); }
.anuncio.evento .anuncio-rot { color: var(--ouro); }
.anuncio.alerta { border-color: rgba(255, 77, 109, 0.45); background: linear-gradient(90deg, rgba(255, 77, 109, 0.14), rgba(255, 77, 109, 0.03)); }
.anuncio.alerta .anuncio-ic { background: linear-gradient(135deg, #c0123f, #ff4d6d); }
.anuncio.alerta .anuncio-rot { color: #ff8fa5; }

/* ================================================================ painel */

.painel {
  position: relative;
  border-radius: var(--raio);
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008) 40%), var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 30px 70px -36px rgba(0, 0, 0, 0.9);
  isolation: isolate;
  min-width: 0;
}
.painel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--neon-rgb), 0.65), transparent);
  opacity: 0.55;
  pointer-events: none;
}
.luz::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, -30%), rgba(var(--azul-rgb), 0.11), transparent 42%);
  opacity: 0;
  transition: opacity 0.4s;
}
.luz:hover::after { opacity: 1; }
html.tema-claro .painel { box-shadow: 0 20px 50px -30px rgba(10, 61, 145, 0.28); }

.painel-cab { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.painel-cab h2, .painel > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font: 700 19px/1.2 var(--f-display);
  letter-spacing: 0.02em;
}
.painel > h2 { margin-bottom: 18px; }
.painel h2 .ic-caixa,
.tit-ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(var(--azul-rgb), 0.13);
  border: 1px solid var(--line-2);
  color: var(--azul-2);
  flex: none;
}
.tit-ic .ic { width: 18px; height: 18px; }
.painel h3 {
  margin: 24px 0 12px;
  font: 600 11px/1 var(--f-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--texto-3);
}
.painel h3:first-child { margin-top: 0; }
.legenda { color: var(--texto-2); font-size: 14px; margin: -8px 0 18px; }

/* ================================================================ seções */

.secao { padding-top: 72px; }
.painel[id] { scroll-margin-top: 24px; }
.secao-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.secao-topo > div:first-child { min-width: 0; max-width: 680px; }
.olho {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 11px/1 var(--f-mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--azul-2);
  margin-bottom: 14px;
}
.olho::before { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, var(--azul-2), transparent); }
.secao-topo h2 { margin: 0; font: 700 clamp(30px, 3.6vw, 44px)/1.04 var(--f-display); letter-spacing: -0.005em; }
.secao-topo h2 em { font-style: normal; background: linear-gradient(92deg, var(--branco), var(--azul-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.secao-topo p { margin: 12px 0 0; color: var(--texto-2); font-size: 15.5px; }

/* aparece ao rolar */
.js .revela { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--curva), transform 0.9s var(--curva); }
.js .revela.visivel { opacity: 1; transform: none; }
.entra > * { animation: entra 0.6s var(--curva) both; animation-delay: calc(var(--i, 0) * 38ms); }

/* =============================================================== avatares */

.cabeca {
  --s: 38px;
  position: relative;
  flex: none;
  width: var(--s);
  height: var(--s);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--tom, var(--grad));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.cabeca b { font: 700 calc(var(--s) * 0.42)/1 var(--f-display); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); transition: opacity 0.2s; }
.cabeca.com-foto { background: radial-gradient(circle at 50% 28%, rgba(var(--neon-rgb), 0.4), rgba(0, 14, 58, 0.95) 75%); }
.cabeca.com-foto b { opacity: 0; }
.cabeca img { position: absolute; inset: -6% 0 0; width: 100%; height: 130%; object-fit: cover; object-position: center 22%; }
.cabeca.t0 { --tom: linear-gradient(135deg, #002c86, #0078f7); }
.cabeca.t1 { --tom: linear-gradient(135deg, #1249e6, #0087c2); }
.cabeca.t2 { --tom: linear-gradient(135deg, #00226c, #127bff); }
.cabeca.t3 { --tom: linear-gradient(135deg, #005995, #00bef2); }
.cabeca.t4 { --tom: linear-gradient(135deg, #0a1e6b, #008bee); }
.cabeca.t5 { --tom: linear-gradient(135deg, #004085, #00a1d9); }

.corpo { position: relative; display: grid; place-items: end center; width: 128px; height: 220px; }
.corpo img { width: auto; height: auto; max-width: 128px; max-height: 220px; image-rendering: pixelated; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 26px rgba(var(--azul-rgb), 0.4)); }
.corpo-inicial {
  align-self: center;
  font: 700 84px/1 var(--f-display);
  background: linear-gradient(180deg, #fff, var(--azul-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(var(--azul-rgb), 0.6));
}

/* ============================================================= insígnias */

.insignia { width: 30px; height: 35px; flex: none; overflow: visible; }
.insignia.f1 .ins-fundo { fill: #0b2a66; }
.insignia.f2 .ins-fundo { fill: #0d4fc0; }
.insignia.f3 .ins-fundo { fill: #e3f3ff; }
.insignia .ins-borda { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.2; }
.insignia.f1 .ins-borda { stroke: #4a9dff; }
.insignia.f2 .ins-borda { stroke: #7fd6ff; }
.insignia.f3 .ins-borda { stroke: #1677ff; stroke-width: 1.6; }
.insignia .ins-marca { fill: none; stroke: #cdeaff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.insignia .ins-cheia { fill: #fff; }
.insignia.f3 .ins-cheia { fill: #0a5ad6; }
.insignia { filter: drop-shadow(0 3px 8px rgba(var(--azul-rgb), 0.45)); }

/* =========================================================== segmentado */

.segmento {
  position: relative;
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 13px;
  background: var(--fosco);
  border: 1px solid var(--line);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.segmento::-webkit-scrollbar { display: none; }
.segmento::before {
  content: "";
  position: absolute;
  top: var(--y, 4px);
  left: 0;
  height: var(--h, calc(100% - 8px));
  width: var(--w, 0);
  transform: translateX(var(--x, 0));
  border-radius: 10px;
  background: var(--grad);
  box-shadow: 0 6px 20px -6px rgba(var(--azul-rgb), 0.85);
  transition: transform 0.42s var(--curva), width 0.42s var(--curva);
}
.segmento button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--texto-2);
  height: 34px;
  padding: 0 15px;
  border-radius: 10px;
  font: 600 11px/1 var(--f-display);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s;
}
.segmento button .ic { width: 14px; height: 14px; }
.segmento button:hover { color: var(--branco); }
.segmento button[aria-pressed="true"],
.segmento button[aria-selected="true"] { color: #fff; }
.segmento:not([style*="--w"]) button[aria-pressed="true"],
.segmento:not([style*="--w"]) button[aria-selected="true"] { background: var(--grad); }

/* ================================================================= busca */

.busca { position: relative; display: flex; gap: 8px; min-width: 0; }
.busca .busca-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--texto-3); pointer-events: none; }
.busca input { padding-left: 46px !important; margin: 0 !important; }
.rank-barra .busca input { height: 44px; }
.busca .botao { flex: none; }

/* ================================================================ forms */

label {
  display: block;
  margin-bottom: 18px;
  font: 600 10.5px/1.2 var(--f-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--texto-2);
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
  height: 50px;
  padding: 0 16px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: var(--fosco);
  color: var(--branco);
  font: 400 15px var(--f-corpo);
  letter-spacing: normal;
  text-transform: none;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
textarea { height: auto; min-height: 110px; padding: 13px 16px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--texto-3); }
input:hover, select:hover, textarea:hover { border-color: var(--line-3); }
input:focus, select:focus, textarea:focus { border-color: var(--azul-2); box-shadow: 0 0 0 4px rgba(var(--azul-rgb), 0.18); background: rgba(var(--azul-rgb), 0.05); }
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2354b2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
select option { background: var(--panel-solid); color: var(--texto); }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--azul); margin: 0; flex: none; }
.hint { display: block; margin-top: 8px; font: 400 12.5px/1.45 var(--f-corpo); letter-spacing: normal; text-transform: none; color: var(--texto-3); }
.linha-check { display: flex; align-items: center; gap: 12px; text-transform: none; letter-spacing: 0; font: 500 14.5px var(--f-corpo); color: var(--texto); cursor: pointer; }

.msg { display: none; margin: 0 0 18px; padding: 12px 15px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.msg.show { display: flex; gap: 10px; align-items: flex-start; animation: entra 0.4s var(--curva) both; }
.msg.error { background: rgba(255, 77, 109, 0.1); border: 1px solid rgba(255, 77, 109, 0.4); color: #ffc2ce; }
.msg.ok { background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.34); color: #bbf7d0; }
html.tema-claro .msg.error { color: #a3112f; }
html.tema-claro .msg.ok { color: #166534; }

/* ================================================================ tabela */

.table-scroll { overflow-x: auto; min-width: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--texto-3); }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: var(--sup-1); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* =============================================================== medidor */

.medidor { position: relative; height: 10px; border-radius: 999px; background: var(--sup-2); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35); }
.medidor > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 0%);
  border-radius: inherit;
  background: var(--grad-barra);
  box-shadow: 0 0 18px rgba(var(--neon-rgb), 0.55);
  animation: enche 1.5s var(--curva) both;
  overflow: hidden;
}
.medidor > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-100%);
  animation: reflexo 2.8s ease-in-out infinite 1.6s;
}
.medidor.fino { height: 5px; }
.medidor.fino > span::after { display: none; }
.medidor-legenda { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--texto-2); }
.medidor-legenda b { color: var(--branco); font-family: var(--f-display); }

/* ================================================================ números */

.num { font-variant-numeric: tabular-nums; display: inline-block; }
.num.mudou { animation: pisca 1.2s var(--curva); }

/* ================================================================= toast */

.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(1, 11, 43, 0.92);
  border: 1px solid var(--line-3);
  color: #fff;
  font: 500 14px var(--f-corpo);
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.9), 0 0 30px -10px rgba(var(--azul-rgb), 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: toastEntra 0.45s var(--curva) both;
}
.toast .ic { color: var(--ok); }
.toast.alerta { border-color: rgba(255, 77, 109, 0.55); }
.toast.alerta .ic { color: var(--perigo); }
.pular { position: fixed; top: -60px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 600; text-decoration: none; transition: top 0.2s; }
.pular:focus { top: 12px; color: #fff; }
.toast.sai { animation: toastSai 0.45s var(--curva) both; }

.dica {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  transform: translate(-50%, -100%);
  background: rgba(0, 6, 32, 0.96);
  color: var(--texto);
  border: 1px solid var(--line-3);
  border-radius: 11px;
  padding: 9px 12px;
  font-size: 12.5px;
  white-space: nowrap;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8), 0 0 24px -8px rgba(var(--azul-rgb), 0.6);
}
.dica strong { color: #fff; display: block; font: 700 15px var(--f-display); }
html.tema-claro .dica { background: #fff; color: var(--texto); }
html.tema-claro .dica strong { color: var(--branco); }

.esqueleto { position: relative; overflow: hidden; border-radius: 12px; background: var(--sup-2); min-height: 18px; }
.esqueleto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(var(--neon-rgb), 0.12), transparent); transform: translateX(-100%); animation: reflexo 1.6s ease-in-out infinite; }

/* ================================================================== HERO */

.hero { position: relative; padding-top: 54px; padding-bottom: 10px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 52px; align-items: center; }
.hero-olho { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero-titulo { margin: 0 0 24px; font: 700 clamp(54px, 7.6vw, 112px)/0.88 var(--f-display); letter-spacing: -0.015em; text-transform: uppercase; }
.hero-titulo .l1,
.hero-titulo .l2 { display: block; animation: sobeTitulo 1s var(--curva) both; }
.hero-titulo .l1 { color: var(--branco); }
.hero-titulo .l2 {
  animation-delay: 0.12s;
  background: linear-gradient(92deg, #ffffff 0%, #c9ecff 18%, #54b2ff 42%, #2f7dff 62%, #c9ecff 82%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(var(--azul-rgb), 0.4));
  animation: sobeTitulo 1s var(--curva) 0.12s both, brilhoTexto 8s linear 1.2s infinite;
}
html.tema-claro .hero-titulo .l2 { background-image: linear-gradient(92deg, #00226c 0%, #0a5ad6 35%, #0a8ae6 55%, #0a47c7 80%, #00226c 100%); }
.hero-desc { margin: 0 0 32px; max-width: 570px; color: var(--texto-2); font-size: 17.5px; line-height: 1.65; animation: entra 1s var(--curva) 0.25s both; }
.hero-desc b { color: var(--branco); font-weight: 600; }
.hero-acoes { animation: entra 1s var(--curva) 0.35s both; }
.hero-agora {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 61, 127, 0.4);
  background: linear-gradient(90deg, rgba(255, 61, 127, 0.12), rgba(var(--azul-rgb), 0.06));
  color: var(--texto);
  text-decoration: none;
  font-size: 14px;
  animation: entra 1s var(--curva) 0.45s both;
  transition: border-color 0.2s, transform 0.25s var(--curva);
}
.hero-agora:hover { border-color: rgba(255, 61, 127, 0.75); color: var(--branco); transform: translateX(3px); }
.hero-agora b { color: var(--branco); }
.hero-agora .ic { width: 16px; height: 16px; color: var(--texto-2); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--texto-3); font: 500 12px var(--f-mono); letter-spacing: 0.06em; animation: entra 1s var(--curva) 0.5s both; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .ic { width: 14px; height: 14px; color: var(--azul-2); }

/* destaque do líder */
.lider {
  position: relative;
  border-radius: 28px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(420px 320px at 50% 38%, rgba(var(--azul-rgb), 0.26), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    var(--panel);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: entra 1.1s var(--curva) 0.2s both;
}
.lider-cab { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lider-cab .rot { font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.26em; text-transform: uppercase; color: var(--texto-2); }
.lider-palco { position: relative; height: 270px; display: grid; place-items: center; margin: 4px 0 2px; }
.radar {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    repeating-radial-gradient(circle, transparent 0 33px, rgba(125, 189, 250, 0.12) 33px 34px),
    radial-gradient(circle, rgba(var(--azul-rgb), 0.16), transparent 68%);
  overflow: hidden;
}
.radar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(125, 189, 250, 0.16), rgba(125, 189, 250, 0.16)) center / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(125, 189, 250, 0.16), rgba(125, 189, 250, 0.16)) center / 100% 1px no-repeat;
}
.radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(var(--neon-rgb), 0.05) 18deg, rgba(var(--neon-rgb), 0.55) 69deg, rgba(147, 224, 255, 0.9) 70deg, transparent 70.6deg);
  animation: gira 4.5s linear infinite;
}
.radar i {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #bfeaff;
  box-shadow: 0 0 10px rgb(var(--neon-rgb)), 0 0 2px #fff;
  animation: blip 4.5s ease-out infinite;
  z-index: 1;
}
.lider-palco .plataforma {
  position: absolute;
  bottom: 22px;
  width: 210px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(70, 225, 255, 0.75), rgba(var(--azul-rgb), 0.25) 42%, transparent 70%);
  filter: blur(1px);
}
.lider-palco .corpo { z-index: 1; margin-bottom: 30px; animation: respira 5s ease-in-out infinite; }
.lider-palco .cabeca { --s: 110px; border-radius: 30px; z-index: 1; box-shadow: 0 0 0 2px rgba(255, 207, 92, 0.65), 0 0 50px -6px rgba(var(--azul-rgb), 0.8); }
.lider-coroa { position: absolute; z-index: 2; top: 14px; color: var(--ouro); filter: drop-shadow(0 0 12px rgba(255, 207, 92, 0.8)); }
.lider-coroa .ic { width: 30px; height: 30px; fill: rgba(255, 207, 92, 0.25); }
.lider-info { position: relative; z-index: 2; text-align: center; }
.lider-nome { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font: 700 28px/1.1 var(--f-display); color: var(--branco); text-decoration: none; }
.lider-nome span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lider-nome:hover { color: var(--branco); }
.lider-patente { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font: 500 12.5px var(--f-mono); color: var(--texto-2); }
.lider-patente .insignia { width: 20px; height: 24px; }
.lider-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.mini { padding: 12px 10px; border-radius: 14px; background: var(--fosco); border: 1px solid var(--line); text-align: center; }
.mini b { display: block; font: 700 21px/1 var(--f-display); color: var(--branco); }
.mini > span { display: block; margin-top: 6px; font: 600 9.5px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-3); }
.na-cola { display: grid; gap: 6px; margin-top: 12px; }
.na-cola a {
  display: grid;
  grid-template-columns: 26px 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--texto);
  font-size: 13.5px;
  background: var(--sup-1);
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.na-cola a:hover { border-color: var(--line-2); background: rgba(var(--azul-rgb), 0.08); color: var(--texto); }
.na-cola .p { font: 700 12px var(--f-mono); color: var(--texto-3); }
.na-cola .cabeca { --s: 28px; border-radius: 9px; }
.na-cola .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--branco); }
.na-cola .d { font: 500 12px var(--f-mono); color: var(--azul-2); }
.lider-vazio { position: relative; z-index: 2; text-align: center; color: var(--texto-2); padding: 12px 0 6px; }

/* ================================================================= KPIs */

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 46px; }
.kpi { position: relative; padding: 22px; border-radius: 20px; overflow: hidden; }
.kpi::before { left: 0; right: 0; }
.kpi-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(var(--azul-rgb), 0.13); border: 1px solid var(--line-2); color: var(--azul-2); }
.kpi-ic .ic { width: 20px; height: 20px; }
.kpi-tag { font: 600 10px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--texto-3); }
.kpi-num { display: block; margin: 20px 0 8px; font: 700 40px/1 var(--f-display); color: var(--branco); letter-spacing: -0.01em; }
.kpi-rot { font: 600 11px/1.3 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-2); }
.kpi-det { margin-top: 6px; font-size: 13px; color: var(--texto-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi-det a { color: var(--azul-2); text-decoration: none; font-weight: 600; }
.kpi .traco { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad-barra); transform: scaleX(0.18); transform-origin: left; transition: transform 0.7s var(--curva); opacity: 0.85; }
.kpi:hover .traco { transform: scaleX(1); }

/* ============================================================ ao vivo */

.vivo-card {
  position: relative;
  border-radius: 28px;
  padding: 1.5px;
  background: conic-gradient(from var(--ang), rgba(var(--neon-rgb), 0.05), rgba(var(--neon-rgb), 0.95) 12%, rgba(255, 61, 127, 0.75) 22%, rgba(var(--azul-rgb), 0.05) 38%, rgba(var(--azul-rgb), 0.05) 62%, rgba(var(--neon-rgb), 0.85) 80%, rgba(var(--neon-rgb), 0.05));
  animation: angulo 7s linear infinite;
  box-shadow: 0 40px 100px -40px rgba(var(--azul-rgb), 0.6);
}
.vivo-in {
  position: relative;
  border-radius: 27px;
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(255, 61, 127, 0.1), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(var(--azul-rgb), 0.18), transparent 60%),
    linear-gradient(180deg, #000b2e, #00041a);
}
html.tema-claro .vivo-in { background: radial-gradient(700px 300px at 0% 0%, rgba(255, 61, 127, 0.08), transparent 60%), #fff; }
.ev-grade { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; }
.ev-titulo { margin: 14px 0 8px; font: 700 clamp(28px, 3.4vw, 42px)/1.05 var(--f-display); color: var(--branco); }
.ev-meta { margin: 22px 0 6px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--fosco); }
.ev-meta-topo { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--texto-2); margin-bottom: 10px; }
.ev-meta-topo b { color: var(--branco); }
.ev-lado { display: grid; gap: 14px; align-content: start; }
.vencedor-rodada {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 20px 0 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 207, 92, 0.38);
  background: linear-gradient(90deg, rgba(255, 207, 92, 0.13), rgba(var(--azul-rgb), 0.05));
  animation: entra 0.7s var(--curva) both;
}
.vencedor-rodada .vr-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #d99a00, #ffcf5c); color: #2a1600; box-shadow: 0 8px 22px -8px rgba(255, 207, 92, 0.8); }
.vencedor-rodada small { display: block; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ouro); margin-bottom: 6px; }
.vencedor-rodada b { display: block; font: 600 15.5px/1.3 var(--f-corpo); color: var(--texto); }
.vencedor-rodada b a { color: var(--branco); font-weight: 700; text-decoration: none; }
.vencedor-rodada .cabeca { --s: 44px; box-shadow: 0 0 0 2px rgba(255, 207, 92, 0.7); }
.relogio-anel { position: relative; width: 210px; height: 210px; margin: 0 auto; display: grid; place-items: center; }
.relogio-anel > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.relogio-anel .trilho { fill: none; stroke: var(--sup-2); stroke-width: 9; }
.relogio-anel .arco { fill: none; stroke: url(#gradRelogio); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s linear; filter: drop-shadow(0 0 8px rgba(var(--neon-rgb), 0.7)); }
.relogio-anel .marcas { fill: none; stroke: rgba(125, 189, 250, 0.22); stroke-width: 1; stroke-dasharray: 1 10.5; }
.relogio-txt { text-align: center; }
.relogio-txt b { display: block; font: 700 46px/1 var(--f-display); color: var(--branco); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.relogio-txt small { display: block; margin-top: 8px; font: 600 10px/1 var(--f-mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--texto-3); }
.ev-numeros { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.times { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0 4px; }
.time { position: relative; padding: 14px 16px; border-radius: 15px; border: 1px solid color-mix(in srgb, var(--cor) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--cor) 14%, transparent), transparent 70%); overflow: hidden; }
.time b { display: block; font: 700 30px/1 var(--f-display); color: var(--branco); }
.time span { display: block; margin-top: 6px; font: 600 10.5px var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cor); }
.time .medidor { margin-top: 12px; height: 4px; }
.time .medidor > span { background: var(--cor); box-shadow: 0 0 10px var(--cor); }

/* lista de placar (evento e ranking) */
.cab-lista,
.linha {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(110px, 210px) repeat(var(--extras, 0), 84px);
  align-items: center;
  gap: 14px;
  padding: 0 16px;
}
.cab-lista { margin: 4px 0 8px; font: 600 10px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-3); }
.cab-lista span:nth-child(n + 3) { text-align: right; }
.lista-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.linha {
  min-height: 60px;
  border-radius: 15px;
  border: 1px solid transparent;
  background: var(--sup-1);
  color: inherit;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--curva);
}
a.linha:hover { background: rgba(var(--azul-rgb), 0.09); border-color: var(--line-2); transform: translateX(4px); color: inherit; }
.linha.eu { border-color: rgba(var(--neon-rgb), 0.45); background: linear-gradient(90deg, rgba(var(--azul-rgb), 0.16), rgba(var(--azul-rgb), 0.03)); }
.linha .pos { font: 700 15px var(--f-mono); color: var(--texto-3); display: flex; align-items: center; gap: 6px; }
.linha .pos .ic { width: 13px; height: 13px; }
.linha .quem { display: flex; align-items: center; gap: 12px; min-width: 0; }
.linha .nome { font-weight: 600; font-size: 15px; color: var(--branco); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linha .sub { display: flex; align-items: center; gap: 6px; font: 500 11.5px var(--f-mono); color: var(--texto-3); margin-top: 2px; white-space: nowrap; overflow: hidden; }
.linha .sub .insignia { width: 13px; height: 15px; filter: none; }
.linha .valor { display: grid; gap: 7px; }
.linha .valor b { font: 700 18px/1 var(--f-display); color: var(--branco); text-align: right; }
.linha .extra { text-align: right; font: 500 13.5px var(--f-mono); color: var(--texto-2); }
.barra-dado { height: 4px; border-radius: 99px; background: var(--sup-2); overflow: hidden; }
.barra-dado i { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: var(--grad-barra); box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.5); animation: enche 1.1s var(--curva) both; }
.linha.mudou-linha { animation: linhaPisca 1.4s var(--curva); }
.parado .barra-dado i, .parado .medidor > span, .parado .degrau-barra { animation: none; }

/* pódio */
.podio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr); gap: 16px; align-items: end; margin: 4px 0 18px; }
.pod {
  --m: var(--prata);
  --mr: 208, 219, 233;
  position: relative;
  display: block;
  text-align: center;
  padding: 30px 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(var(--mr), 0.28);
  background: radial-gradient(260px 160px at 50% 0%, rgba(var(--mr), 0.16), transparent 70%), linear-gradient(180deg, var(--sup-2), var(--sup-1)), var(--panel-solid);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--curva), border-color 0.3s, box-shadow 0.4s;
}
.pod:hover { transform: translateY(-6px); border-color: rgba(var(--mr), 0.55); box-shadow: 0 30px 60px -30px rgba(var(--mr), 0.45); color: inherit; }
.pod.p1 { --m: var(--ouro); --mr: 255, 207, 92; padding-top: 42px; padding-bottom: 28px; }
.pod.p2 { --m: var(--prata); --mr: 208, 219, 233; }
.pod.p3 { --m: var(--bronze); --mr: 230, 156, 102; }
html.tema-claro .pod.p1 { --mr: 196, 140, 0; }
html.tema-claro .pod.p2 { --mr: 96, 111, 130; }
html.tema-claro .pod.p3 { --mr: 167, 92, 34; }
.pod::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--m), transparent); }
.pod-pos { position: absolute; top: 14px; left: 16px; font: 700 12px/1 var(--f-mono); letter-spacing: 0.1em; color: var(--m); }
.pod-coroa { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); color: var(--m); filter: drop-shadow(0 0 10px rgba(var(--mr), 0.8)); }
.pod-coroa .ic { width: 22px; height: 22px; fill: rgba(var(--mr), 0.25); }
.pod .cabeca { --s: 76px; border-radius: 22px; margin: 0 auto 16px; box-shadow: 0 0 0 2px rgba(var(--mr), 0.85), 0 0 36px -6px rgba(var(--mr), 0.65); }
.pod.p1 .cabeca { --s: 96px; border-radius: 28px; }
.pod-nome { display: flex; align-items: center; justify-content: center; gap: 6px; font: 700 17px/1.2 var(--f-display); color: var(--branco); min-width: 0; }
.pod-nome span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-pat { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 500 11.5px var(--f-mono); color: var(--texto-3); }
.pod-pat .insignia { width: 14px; height: 16px; filter: none; }
.pod-valor { display: block; margin: 16px 0 4px; font: 700 38px/1 var(--f-display); color: var(--m); text-shadow: 0 0 26px rgba(var(--mr), 0.4); }
.pod.p1 .pod-valor { font-size: 46px; }
.pod-rot { font: 600 10px/1 var(--f-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--texto-3); }
.pod-sub { display: flex; justify-content: center; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font: 500 12px var(--f-mono); color: var(--texto-2); flex-wrap: wrap; }
.pod-sub b { color: var(--branco); font-weight: 600; }

/* abas do ranking */
.rank-barra { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
.abas-rank { display: flex; gap: 8px; flex-wrap: wrap; }
.abas-rank::-webkit-scrollbar { display: none; }
.abas-rank button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--sup-1);
  color: var(--texto-2);
  font: 600 11.5px/1 var(--f-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.25s, box-shadow 0.25s;
}
.abas-rank button .ic { width: 15px; height: 15px; }
.abas-rank button:hover { color: var(--branco); border-color: var(--line-2); }
.abas-rank button[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(var(--neon-rgb), 0.6);
  background: linear-gradient(180deg, rgba(var(--azul-rgb), 0.36), rgba(var(--azul-rgb), 0.12));
  box-shadow: inset 0 0 0 1px rgba(var(--neon-rgb), 0.2), 0 10px 26px -14px rgba(var(--azul-rgb), 1);
}
html.tema-claro .abas-rank button[aria-pressed="true"] { color: #fff; background: var(--grad); }
.rank-rodape { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; font: 500 12px var(--f-mono); color: var(--texto-3); }

/* ================================================================ torneio */

.chave { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 34px; overflow-x: auto; padding: 4px 2px 10px; }
.fase-col { display: flex; flex-direction: column; min-width: 0; }
.fase-nome { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--texto-3); }
.fase-col.atual .fase-nome { color: var(--azul-2); }
.fase-duelos { display: flex; flex-direction: column; justify-content: space-around; flex: 1; gap: 16px; }
.duelo { position: relative; border-radius: 15px; border: 1px solid var(--line); background: var(--sup-1); transition: border-color 0.3s, box-shadow 0.3s; }
.fase-col:not(:last-child) .duelo::after { content: ""; position: absolute; top: 50%; right: -35px; width: 34px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.duelo.agora { border-color: rgba(255, 61, 127, 0.6); box-shadow: 0 0 0 1px rgba(255, 61, 127, 0.25), 0 0 36px -10px rgba(255, 61, 127, 0.7); }
.duelo.agora .agora-tag { position: absolute; top: -10px; right: 12px; }
.duelo .lado { display: flex; align-items: center; gap: 10px; padding: 11px 13px; min-width: 0; }
.duelo .lado + .lado { border-top: 1px solid var(--line); }
.duelo .lado a { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; color: var(--texto); text-decoration: none; }
.duelo .lado a:hover .nome { color: var(--branco); text-decoration: underline; }
.duelo .lado .cabeca { --s: 28px; border-radius: 9px; }
.duelo .lado .nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; padding-right: 3px; }
.duelo .lado.venceu .nome { color: var(--branco); font-weight: 700; }
.duelo .lado.venceu > .ic { color: var(--ok); }
.duelo .lado.perdeu { opacity: 0.42; }
.duelo .lado.perdeu .nome { text-decoration: line-through; }
.duelo .lado.aberto .nome { color: var(--texto-3); font-style: italic; }
.duelo .lado.aberto .cabeca { background: transparent; border: 1px dashed var(--line-2); box-shadow: none; }
.campeao {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 207, 92, 0.4);
  background: radial-gradient(500px 220px at 0% 50%, rgba(255, 207, 92, 0.16), transparent 70%), var(--sup-1);
}
.campeao .cabeca { --s: 88px; border-radius: 26px; box-shadow: 0 0 0 2px var(--ouro), 0 0 40px -6px rgba(255, 207, 92, 0.7); }
.campeao h3 { margin: 0 0 6px !important; color: var(--ouro) !important; }
.campeao .nome-grande { font: 700 34px/1.1 var(--f-display); color: var(--branco); text-decoration: none; }

/* =================================================================== feed */

.feed-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  max-height: 600px;
  overflow-y: auto;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(#000 86%, transparent);
  mask-image: linear-gradient(#000 86%, transparent);
  padding-bottom: 36px;
}
.feed-lista li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 9px 10px; border-radius: 13px; transition: background 0.2s; }
.feed-lista li:hover { background: var(--sup-1); }
.feed-lista li.novo { animation: feedEntra 0.8s var(--curva) both; }
.feed-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(var(--azul-rgb), 0.12); color: var(--azul-2); }
.feed-ic .ic { width: 17px; height: 17px; }
.feed-ic.abate { color: #ff8db5; background: rgba(255, 61, 127, 0.1); border-color: rgba(255, 61, 127, 0.28); }
.feed-ic.chama { color: #ffad72; background: rgba(255, 140, 60, 0.1); border-color: rgba(255, 140, 60, 0.3); }
.feed-ic.ouro { color: var(--ouro); background: rgba(255, 207, 92, 0.1); border-color: rgba(255, 207, 92, 0.32); }
.feed-ic.ok { color: #86efac; background: rgba(74, 222, 128, 0.08); border-color: rgba(74, 222, 128, 0.28); }
.feed-ic.neutro { color: var(--texto-2); background: var(--sup-2); border-color: var(--line); }
.feed-txt { font-size: 14px; line-height: 1.45; color: var(--texto); min-width: 0; overflow-wrap: anywhere; }
.feed-txt .k { color: var(--branco); font-weight: 600; text-decoration: none; }
.feed-txt a.k:hover { text-decoration: underline; }
.feed-txt .kill { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feed-txt .kill .ic { width: 15px; height: 15px; color: #ff6fa3; }
.feed-txt .kill .v { color: var(--texto-2); font-weight: 500; text-decoration: none; }
.feed-quando { font: 500 11.5px var(--f-mono); color: var(--texto-3); white-space: nowrap; }

/* ========================================================== hall e eventos */

.hall-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hall-lista a { display: grid; grid-template-columns: 30px 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 13px; color: var(--texto); text-decoration: none; transition: background 0.2s; }
.hall-lista a:hover { background: var(--sup-2); color: var(--texto); }
.hall-lista .p { font: 700 13px var(--f-mono); color: var(--texto-3); }
.hall-lista li:nth-child(1) .p { color: var(--ouro); }
.hall-lista li:nth-child(2) .p { color: var(--prata); }
.hall-lista li:nth-child(3) .p { color: var(--bronze); }
.hall-lista .cabeca { --s: 36px; }
.hall-lista .n { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 600; color: var(--branco); }
.hall-lista .n span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hall-lista .v { font: 600 13px var(--f-mono); color: var(--texto-2); white-space: nowrap; text-align: right; }
.hall-lista .v small { display: block; color: var(--ouro); font-size: 11px; }

.linha-tempo { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; }
.linha-tempo::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--line-3), transparent); }
.linha-tempo li { position: relative; padding: 0 0 18px; }
.linha-tempo li::before { content: ""; position: absolute; left: -21px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--panel-solid); border: 2px solid var(--azul-2); box-shadow: 0 0 12px rgba(var(--neon-rgb), 0.6); }
.linha-tempo li:last-child { padding-bottom: 0; }
.linha-tempo strong { color: var(--branco); font-weight: 600; }
.linha-tempo .quando { font: 500 11.5px var(--f-mono); color: var(--texto-3); margin-left: 6px; }
.linha-tempo .det { font-size: 13px; color: var(--texto-2); margin-top: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.linha-tempo .det .ic { width: 14px; height: 14px; color: var(--ouro); }

/* ============================================================ escada de patentes */

.escada { display: flex; align-items: flex-end; gap: 6px; overflow-x: auto; padding: 8px 2px 4px; scrollbar-width: thin; }
.degrau { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 66px; text-align: center; }
.degrau .insignia { width: 34px; height: 40px; transition: transform 0.4s var(--curva); }
.degrau:hover .insignia { transform: translateY(-4px) scale(1.08); }
.degrau-barra {
  position: relative;
  width: 100%;
  height: calc(46px + var(--h, 0) * 1.5px);
  border-radius: 12px 12px 6px 6px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--sup-2), var(--sup-1));
  display: grid;
  place-items: center;
  overflow: hidden;
  transform-origin: bottom;
  animation: cresce 1s var(--curva) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.degrau.tem .degrau-barra { border-color: rgba(var(--neon-rgb), 0.5); background: linear-gradient(180deg, rgba(var(--neon-rgb), 0.42), rgba(10, 71, 199, 0.25) 60%, rgba(10, 71, 199, 0.08)); box-shadow: 0 0 26px -8px rgba(var(--azul-rgb), 0.8); }
.degrau-barra b { font: 700 18px/1 var(--f-display); color: var(--branco); }
.degrau-barra small { display: block; font: 500 9.5px var(--f-mono); color: var(--texto-2); margin-top: 3px; letter-spacing: 0.04em; }
.degrau-nome { font: 600 11.5px/1.2 var(--f-display); color: var(--texto); min-height: 28px; }
.degrau-xp { font: 500 10.5px var(--f-mono); color: var(--texto-3); margin-top: -6px; }
.degrau.vazio-d .insignia { opacity: 0.45; filter: grayscale(0.5); }

/* =============================================================== Web API */

.fluxo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; }
.no {
  position: relative;
  padding: 22px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--sup-2), var(--sup-1));
  text-align: left;
  transition: transform 0.4s var(--curva), border-color 0.3s;
}
.no:hover { transform: translateY(-4px); border-color: var(--line-2); }
.no .no-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--azul-rgb), 0.13); border: 1px solid var(--line-2); color: var(--azul-2); margin-bottom: 16px; }
.no .no-ic .ic { width: 22px; height: 22px; }
.no b { display: block; font: 700 16px/1.2 var(--f-display); color: var(--branco); }
.no small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--texto-2); }
.no .passo { position: absolute; top: 18px; right: 18px; font: 600 10.5px var(--f-mono); color: var(--texto-3); letter-spacing: 0.12em; }
.no.destaque { border-color: rgba(var(--neon-rgb), 0.55); background: radial-gradient(260px 160px at 50% 0%, rgba(var(--azul-rgb), 0.28), transparent 70%), linear-gradient(180deg, var(--sup-2), var(--sup-1)); box-shadow: 0 0 50px -16px rgba(var(--azul-rgb), 0.8); }
.no.destaque .no-ic { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--brilho); }
.cabo { position: relative; align-self: center; height: 2px; margin: 0 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); overflow: visible; }
.cabo i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #a3e2ff; box-shadow: 0 0 14px rgb(var(--neon-rgb)), 0 0 4px #fff; animation: pacote 2.2s linear infinite; }
.cabo i:nth-child(2) { animation-delay: 1.1s; }

.recursos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.recurso { position: relative; padding: 22px; border-radius: 20px; overflow: hidden; }
.recurso .no-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(var(--azul-rgb), 0.12); border: 1px solid var(--line-2); color: var(--azul-2); margin-bottom: 16px; transition: transform 0.4s var(--curva), background 0.3s, color 0.3s; }
.recurso:hover .no-ic { transform: rotate(-8deg) scale(1.08); background: var(--grad); color: #fff; }
.recurso b { display: block; font: 700 15.5px/1.25 var(--f-display); color: var(--branco); }
.recurso p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--texto-2); }

/* ==================================================================== CTA */

.cta {
  position: relative;
  margin-top: 72px;
  border-radius: 30px;
  padding: 56px;
  overflow: hidden;
  border: 1px solid rgba(var(--neon-rgb), 0.4);
  background:
    radial-gradient(600px 300px at 85% 30%, rgba(70, 225, 255, 0.35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(10, 71, 199, 0.55), transparent 60%),
    linear-gradient(135deg, #001955, #00082a 60%, #000f3d);
  box-shadow: 0 50px 120px -50px rgba(var(--azul-rgb), 0.7);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.cta-mira { position: absolute; right: 6%; top: 50%; width: 300px; height: 300px; transform: translateY(-50%); color: rgba(255, 255, 255, 0.1); animation: gira 40s linear infinite; }
.cta-mira .ic { width: 100%; height: 100%; stroke-width: 0.6; }
.cta-in { position: relative; max-width: 620px; }
.cta h2 { margin: 0 0 14px; font: 700 clamp(30px, 4vw, 48px)/1.04 var(--f-display); color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.78); font-size: 16.5px; margin: 0 0 28px; }
.cta .olho { color: #a3e2ff; }
.cta .olho::before { background: linear-gradient(90deg, #a3e2ff, transparent); }
.cta .botao.primario { background: #fff; color: #001955; box-shadow: 0 16px 40px -14px rgba(255, 255, 255, 0.6); }
.cta .botao.primario:hover { color: #001955; }
.cta .botao.primario::after { background: linear-gradient(105deg, transparent 32%, rgba(var(--azul-rgb), 0.25) 50%, transparent 68%); }

/* ================================================================ rodapé */

.rodape { margin-top: 90px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35)); }
html.tema-claro .rodape { background: linear-gradient(180deg, transparent, rgba(10, 61, 145, 0.04)); }
.rodape-in { max-width: 1240px; margin: 0 auto; padding: 54px 28px 30px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.rodape p { color: var(--texto-3); font-size: 13.5px; max-width: 340px; margin: 16px 0 0; }
.rodape h4 { margin: 4px 0 16px; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--texto-3); }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rodape ul a { color: var(--texto-2); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.rodape ul a:hover { color: var(--branco); }
.rodape-base { max-width: 1240px; margin: 0 auto; padding: 20px 28px 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 11.5px var(--f-mono); color: var(--texto-3); letter-spacing: 0.04em; }
.rodape-base span { display: inline-flex; align-items: center; gap: 8px; }
.rodape-base .ic { width: 14px; height: 14px; color: var(--azul-2); }

/* ================================================================= PERFIL */

.perfil-topo-pag { padding-top: 26px; }
.perfil-hero {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(760px 420px at 0% 0%, rgba(18, 96, 255, 0.32), transparent 62%),
    radial-gradient(620px 420px at 100% 100%, rgba(var(--neon-rgb), 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--panel-solid);
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: entra 0.9s var(--curva) both;
}
html.tema-claro .perfil-hero { background: radial-gradient(760px 420px at 0% 0%, rgba(var(--azul-rgb), 0.14), transparent 62%), #fff; }
.perfil-hero .grade-hero, .perfil-hero .marca-dagua { z-index: 0; }
.perfil-hero .grade-hero {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(125, 189, 250, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 189, 250, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 15% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 90% at 15% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}
.marca-dagua {
  position: absolute;
  right: -8px;
  bottom: 62px;
  font: 700 clamp(90px, 15vw, 210px)/1 var(--f-display);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--neon-rgb), 0.1);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}
.perfil-grid { position: relative; display: grid; grid-template-columns: 240px minmax(0, 1fr) 260px; gap: 34px; align-items: center; padding: 38px 40px 34px; }
.pedestal { position: relative; width: 240px; height: 280px; display: grid; place-items: end center; }
.pedestal .aro { position: absolute; left: 50%; top: 46%; width: 210px; height: 210px; margin: -105px 0 0 -105px; border-radius: 50%; border: 1px dashed rgba(var(--neon-rgb), 0.4); animation: gira 34s linear infinite; }
.pedestal .aro.b { width: 160px; height: 160px; margin: -80px 0 0 -80px; border: 1px solid rgba(var(--neon-rgb), 0.16); border-top-color: rgba(70, 225, 255, 0.8); animation-duration: 6s; }
.pedestal .aro.c { width: 250px; height: 250px; margin: -125px 0 0 -125px; border: 1px solid rgba(125, 189, 250, 0.07); animation: none; }
.pedestal .plataforma { position: absolute; bottom: 10px; width: 200px; height: 44px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(70, 225, 255, 0.7), rgba(var(--azul-rgb), 0.22) 45%, transparent 70%); }
.pedestal .corpo { z-index: 1; margin-bottom: 22px; animation: respira 5s ease-in-out infinite; }
.perfil-info { min-width: 0; }
.perfil-nome { margin: 16px 0 16px; font: 700 clamp(40px, 5.4vw, 70px)/0.95 var(--f-display); letter-spacing: -0.01em; color: var(--branco); overflow-wrap: anywhere; }
.perfil-patente { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 12px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--fosco); max-width: 100%; }
.perfil-patente .insignia { width: 40px; height: 46px; }
.perfil-patente b { display: block; font: 700 17px/1.2 var(--f-display); color: var(--branco); }
.perfil-patente small { display: block; font: 500 12px var(--f-mono); color: var(--texto-2); margin-top: 3px; }
.perfil-patente .medidor { width: 160px; margin-top: 8px; }
.perfil-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 24px; color: var(--texto-2); font-size: 13.5px; }
.perfil-meta span { display: inline-flex; align-items: center; gap: 8px; }
.perfil-meta .ic { width: 15px; height: 15px; color: var(--azul-2); }
.perfil-lado { display: grid; gap: 10px; align-content: center; }
.destaque-pos {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--fosco);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.3s var(--curva), background 0.25s;
}
.destaque-pos { text-align: left; }
.destaque-pos:hover { border-color: var(--line-3); transform: translateX(-4px); background: rgba(var(--azul-rgb), 0.1); color: inherit; }
.destaque-pos b { font: 700 32px/1 var(--f-display); color: var(--branco); min-width: 54px; }
.destaque-pos.ouro b { color: var(--ouro); text-shadow: 0 0 22px rgba(255, 207, 92, 0.45); }
.destaque-pos.prata b { color: var(--prata); }
.destaque-pos.bronze b { color: var(--bronze); }
.destaque-pos span { font-size: 13px; color: var(--texto-2); line-height: 1.35; }
.destaque-pos span strong { display: block; color: var(--branco); font: 600 13.5px var(--f-display); letter-spacing: 0.04em; }

.tiras { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.22); }
html.tema-claro .tiras { background: rgba(10, 61, 145, 0.03); }
.tira { display: flex; align-items: center; gap: 12px; padding: 18px 20px; min-width: 0; }
.tira + .tira { border-left: 1px solid var(--line); }
.tira .ti-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--azul-rgb), 0.12); border: 1px solid var(--line-2); color: var(--azul-2); flex: none; }
.tira .ti-ic .ic { width: 19px; height: 19px; }
.tira b { display: block; font: 700 23px/1 var(--f-display); color: var(--branco); white-space: nowrap; }
.tira small { display: block; margin-top: 5px; font: 600 9.5px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-3); white-space: nowrap; }

.subnav {
  position: sticky;
  top: calc(var(--nav-h) + 10px);
  z-index: 40;
  display: flex;
  gap: 4px;
  margin: 22px 0 6px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.9);
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 11px; color: var(--texto-2); text-decoration: none; font: 600 11.5px/1 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; transition: color 0.2s, background 0.25s; }
.subnav a .ic { width: 15px; height: 15px; }
.subnav a:hover { color: var(--branco); background: var(--sup-2); }
.subnav a.ativo { color: #fff; background: var(--grad); box-shadow: 0 8px 22px -10px rgba(var(--azul-rgb), 1); }

.faixa { padding-top: 26px; scroll-margin-top: 64px; }

/* patente grande */
.patente-cab { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.patente-cab .insignia { width: 62px; height: 72px; }
.patente-cab b { display: block; font: 700 26px/1.1 var(--f-display); color: var(--branco); }
.patente-cab small { display: block; font: 500 12.5px var(--f-mono); color: var(--texto-2); margin-top: 4px; }
.patente-cab .chip { margin-left: auto; }
.medidor.grande { height: 14px; }
.trilha-patentes { display: flex; align-items: center; gap: 0; margin-top: 22px; }
.trilha-patentes .tp { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; min-width: 0; }
.trilha-patentes .tp .insignia { width: 24px; height: 28px; }
.trilha-patentes .tp small { font: 500 10px var(--f-mono); color: var(--texto-3); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.trilha-patentes .tp.atual small { color: var(--branco); font-weight: 600; }
.trilha-patentes .tp.longe .insignia { opacity: 0.35; filter: grayscale(0.6); }
.trilha-patentes .tp + .tp::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 1px; background: var(--line-2); z-index: -1; }

/* objetivos */
.objetivos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.objetivos li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 13px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--sup-1); font-size: 14px; line-height: 1.45; transition: border-color 0.2s, transform 0.3s var(--curva); }
.objetivos li:hover { border-color: var(--line-2); transform: translateX(3px); }
.objetivos .obj-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--azul-rgb), 0.12); color: var(--azul-2); border: 1px solid var(--line-2); }
.objetivos .obj-ic .ic { width: 17px; height: 17px; }
.objetivos b { color: var(--branco); }

/* números */
.numeros { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.stat { position: relative; padding: 18px; border-radius: 17px; border: 1px solid var(--line); background: var(--sup-1); overflow: hidden; transition: border-color 0.25s, transform 0.35s var(--curva); }
.stat:hover { border-color: var(--line-2); transform: translateY(-3px); }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--azul-rgb), 0.18), transparent 70%); }
.stat .st-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--azul-rgb), 0.12); color: var(--azul-2); border: 1px solid var(--line-2); }
.stat .st-ic .ic { width: 16px; height: 16px; }
.stat b { display: block; margin: 16px 0 7px; font: 700 30px/1 var(--f-display); color: var(--branco); }
.stat b small { font: 500 13px var(--f-corpo); color: var(--texto-3); }
.stat .st-rot { display: block; font: 600 10.5px/1.3 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-2); }
.stat .st-det { display: block; margin-top: 6px; font-size: 12.5px; color: var(--texto-3); }
.stat .st-pos { position: absolute; top: 16px; right: 14px; z-index: 1; font: 600 11px/1 var(--f-mono); color: var(--gelo); padding: 5px 8px; border-radius: 8px; background: rgba(var(--azul-rgb), 0.14); border: 1px solid var(--line-2); }
.stat .st-pos.top { color: #2a1600; background: linear-gradient(135deg, #e0a800, #ffd76a); border-color: transparent; }

/* grupos de estatísticas */
.grupos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grupo { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; background: var(--sup-1); }
.grupo h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px !important; color: var(--texto-2) !important; }
.grupo h3 .ic { width: 16px; height: 16px; color: var(--azul-2); }
.grupo dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.grupo dt, .grupo dd { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.grupo dt { color: var(--texto-2); }
.grupo dd { margin: 0; text-align: right; color: var(--branco); font-weight: 600; font-variant-numeric: tabular-nums; padding-left: 12px; }
.grupo dt:nth-last-of-type(1), .grupo dd:last-of-type { border-bottom: 0; }

/* gráfico de atividade */
.resumo-ativ { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.grafico { position: relative; margin-top: 14px; }
.grafico .area { position: relative; height: 210px; border-bottom: 1px solid var(--line-2); }
.grafico .grade-linha { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); }
.grafico .grade-linha span { position: absolute; right: 0; top: -9px; font: 500 10.5px var(--f-mono); color: var(--texto-3); background: var(--panel-solid); padding-left: 6px; }
.grafico .colunas { position: absolute; inset: 0 42px 0 0; display: flex; align-items: flex-end; gap: 3px; }
.grafico .col { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: default; outline: none; border-radius: 6px; }
.grafico .col > i {
  display: block;
  width: 100%;
  max-width: 22px;
  min-height: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #3cd3ff, #1677ff 45%, #0a3d91);
  box-shadow: 0 0 14px -3px rgba(var(--neon-rgb), 0.6);
  transform-origin: bottom;
  animation: cresce 0.9s var(--curva) both;
  animation-delay: calc(var(--i, 0) * 16ms);
  transition: filter 0.2s;
}
.grafico .col.zero > i { background: var(--sup-2); box-shadow: none; min-height: 3px; }
.grafico .col.hoje > i { background: linear-gradient(180deg, #fff, #3cd3ff 40%, #1677ff); }
.grafico .col:hover > i, .grafico .col:focus-visible > i { filter: brightness(1.3) saturate(1.2); }
.grafico .col:hover { background: rgba(var(--azul-rgb), 0.07); }
.grafico .col:focus-visible { box-shadow: inset 0 0 0 2px var(--azul-2); }
.grafico .eixo { display: flex; justify-content: space-between; margin-right: 42px; font: 500 10.5px var(--f-mono); color: var(--texto-3); margin-top: 8px; }
details.tabela { margin-top: 16px; }
details.tabela summary { cursor: pointer; color: var(--texto-2); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; list-style: none; }
details.tabela summary::-webkit-details-marker { display: none; }
details.tabela summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line-2); font: 600 12px var(--f-mono); color: var(--azul-2); }
details.tabela[open] summary::before { content: "−"; }

.semana-mini { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 120px; margin-top: 8px; }
.semana-mini .d { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.semana-mini .d i { display: block; width: 100%; max-width: 34px; height: var(--h); min-height: 4px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(var(--neon-rgb), 0.85), rgba(10, 71, 199, 0.45)); transform-origin: bottom; animation: cresce 1s var(--curva) both; animation-delay: calc(var(--i, 0) * 50ms); }
.semana-mini .d.top i { background: linear-gradient(180deg, #fff, #54b2ff 45%, #2563eb); box-shadow: 0 0 20px -4px rgba(var(--neon-rgb), 0.9); }
.semana-mini .d small { font: 600 10px var(--f-mono); color: var(--texto-3); text-transform: uppercase; letter-spacing: 0.08em; }
.semana-mini .d.top small { color: var(--branco); }

/* partidas */
.lista-partidas { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lista-partidas li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 13px; border-radius: 14px; border: 1px solid var(--line); background: var(--sup-1); }
.lista-partidas .colocacao { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 700 15px var(--f-display); color: var(--texto-2); background: var(--sup-2); border: 1px solid var(--line); }
.lista-partidas li.venceu { border-color: rgba(255, 207, 92, 0.35); background: linear-gradient(90deg, rgba(255, 207, 92, 0.09), transparent 60%); }
.lista-partidas li.venceu .colocacao { color: #2a1600; background: linear-gradient(135deg, #e0a800, #ffd76a); border-color: transparent; }
.lista-partidas li.podio-2 .colocacao { color: #0a1a32; background: linear-gradient(135deg, #9aa9bd, #e5ecf4); border-color: transparent; }
.lista-partidas li.podio-3 .colocacao { color: #2b1300; background: linear-gradient(135deg, #b8692e, #f0b183); border-color: transparent; }
.lista-partidas .t strong { display: block; color: var(--branco); font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lista-partidas .t small { display: block; font: 500 11.5px var(--f-mono); color: var(--texto-3); margin-top: 2px; }
.lista-partidas .r { text-align: right; font: 500 12.5px var(--f-mono); color: var(--texto-2); white-space: nowrap; }
.lista-partidas .r b { display: block; color: var(--branco); font: 700 16px var(--f-display); }

.lista-simples { list-style: none; margin: 0; padding: 0; }
.lista-simples li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; flex-wrap: wrap; }
.lista-simples li:last-child { border-bottom: 0; }
.lista-simples li > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.lista-simples li > span:first-child .ic { width: 16px; height: 16px; color: var(--azul-2); }
.lista-simples a { text-decoration: none; }

.classif { display: grid; gap: 8px; }
.classif .cl { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--sup-1); }
.classif .cl .tit-ic { width: 34px; height: 34px; border-radius: 10px; }
.classif .cl strong { display: block; font: 600 13.5px var(--f-display); color: var(--branco); letter-spacing: 0.03em; }
.classif .cl .pos-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pos-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 8px; font: 600 11px/1 var(--f-mono); text-decoration: none; color: var(--gelo); background: rgba(var(--azul-rgb), 0.1); border: 1px solid var(--line-2); transition: background 0.2s, border-color 0.2s; }
.pos-chip:hover { background: rgba(var(--azul-rgb), 0.22); border-color: var(--line-3); color: var(--branco); }
.pos-chip.m1 { color: #2a1600; background: linear-gradient(135deg, #e0a800, #ffd76a); border-color: transparent; }
.pos-chip.m2 { color: #0a1a32; background: linear-gradient(135deg, #9aa9bd, #e5ecf4); border-color: transparent; }
.pos-chip.m3 { color: #2b1300; background: linear-gradient(135deg, #b8692e, #f0b183); border-color: transparent; }

/* conquistas */
.conquistas-cab { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.conquistas-cab .medidor { flex: 1; min-width: 160px; max-width: 320px; }
.conquistas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.conquista { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px 14px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--sup-1); overflow: hidden; transition: transform 0.35s var(--curva), border-color 0.25s; }
.conquista:hover { transform: translateY(-3px); border-color: var(--line-2); }
.cq-ic { position: relative; width: 58px; height: 58px; display: grid; place-items: center; }
.cq-ic .hexa { position: absolute; inset: 2px; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); background: var(--sup-2); }
.cq-ic .anel { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cq-ic .anel circle { fill: none; stroke-width: 3; }
.cq-ic .anel .tr { stroke: var(--sup-2); }
.cq-ic .anel .pr { stroke: var(--azul-2); stroke-linecap: round; }
.cq-ic > .ic { position: relative; width: 22px; height: 22px; color: var(--texto-3); }
.conquista.feita { border-color: rgba(var(--neon-rgb), 0.4); background: radial-gradient(240px 120px at 0% 50%, rgba(var(--azul-rgb), 0.16), transparent 70%), var(--sup-1); }
.conquista.feita .hexa { inset: 0; background: var(--grad); box-shadow: 0 0 20px rgba(var(--azul-rgb), 0.6); }
.conquista.feita .cq-ic { filter: drop-shadow(0 6px 14px rgba(var(--azul-rgb), 0.55)); }
.conquista.feita .cq-ic > .ic { color: #fff; }
.conquista.feita::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.07) 50%, transparent 60%); transform: translateX(-100%); animation: varreAnuncio 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.3s); pointer-events: none; }
.conquista b { display: block; font: 700 14.5px/1.25 var(--f-display); color: var(--branco); letter-spacing: 0.02em; }
.conquista span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--texto-2); line-height: 1.4; }
.conquista.bloqueada b { color: var(--texto); }
.conquista .pct { font: 600 11px var(--f-mono); color: var(--azul-2); }

/* guia */
table.patentes td.num, table.patentes th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.patentes .pt-nome { display: flex; align-items: center; gap: 10px; }
table.patentes .chip { height: 21px; padding: 0 8px; font-size: 9.5px; }
table.patentes .insignia { width: 18px; height: 21px; filter: none; }
table.patentes tr.atual td { color: var(--branco); font-weight: 700; background: rgba(var(--azul-rgb), 0.13); }
table.patentes tr.proxima td { color: var(--azul-2); }
.regras { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 8px; }
.regras li { counter-increment: r; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; padding: 10px 12px; border-radius: 13px; background: var(--sup-1); border: 1px solid var(--line); }
.regras li::before { content: counter(r, decimal-leading-zero); font: 700 12px/26px var(--f-mono); color: var(--azul-2); text-align: center; border-radius: 8px; background: rgba(var(--azul-rgb), 0.12); }

.estado { text-align: center; padding: 54px 28px; }
.estado .estado-ic { width: 74px; height: 74px; border-radius: 22px; margin: 0 auto 20px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--brilho); }
.estado .estado-ic .ic { width: 34px; height: 34px; }
.estado h2 { justify-content: center; font-size: 26px !important; }
.estado p { color: var(--texto-2); max-width: 520px; margin: 10px auto 24px; }
.estado .busca { max-width: 520px; margin: 0 auto; }

.ativar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border-color: rgba(var(--neon-rgb), 0.4) !important;
  background: radial-gradient(500px 200px at 0% 50%, rgba(var(--azul-rgb), 0.22), transparent 70%), var(--panel) !important;
}
.ativar .estado-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--brilho); }
.ativar .estado-ic .ic { width: 28px; height: 28px; }
.ativar h2 { margin: 0 0 6px !important; }
.ativar p { margin: 0; color: var(--texto-2); font-size: 14px; }

/* ================================================================ ENTRAR */

.entrar-pag { min-height: calc(100vh - var(--nav-h)); display: grid; align-items: center; padding-top: 34px; padding-bottom: 60px; }
.entrar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; }
.entrar-arte h1 { margin: 0 0 18px; font: 700 clamp(40px, 5vw, 64px)/0.95 var(--f-display); text-transform: uppercase; }
.entrar-arte h1 span { display: block; background: linear-gradient(92deg, #fff, #54b2ff 55%, #2f7dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.tema-claro .entrar-arte h1 span { background-image: linear-gradient(92deg, #00226c, #1677ff); }
.entrar-arte > p { color: var(--texto-2); font-size: 16.5px; max-width: 500px; margin-bottom: 30px; }
.beneficios { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 520px; }
.beneficios li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--sup-1); animation: entra 0.8s var(--curva) both; animation-delay: calc(0.15s + var(--i, 0) * 90ms); }
.beneficios .tit-ic { width: 44px; height: 44px; border-radius: 13px; }
.beneficios b { display: block; color: var(--branco); font: 700 15px var(--f-display); letter-spacing: 0.02em; }
.beneficios small { display: block; color: var(--texto-2); font-size: 13px; margin-top: 2px; }
.entrar-card { padding: 34px; border-radius: 26px; animation: entra 0.9s var(--curva) 0.1s both; }
.entrar-card h1 { margin: 0 0 8px; font: 700 28px/1.1 var(--f-display); }
.entrar-card .sub { margin: 0 0 24px; color: var(--texto-2); font-size: 14.5px; }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 24px; padding: 5px; border-radius: 14px; background: var(--fosco); border: 1px solid var(--line); }
.tabs button { position: relative; z-index: 1; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--texto-2); font: 600 12px/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: color 0.25s, background 0.3s; }
.tabs button:hover { color: var(--branco); }
.tabs button[aria-selected="true"] { color: #fff; background: var(--grad); box-shadow: 0 8px 22px -10px rgba(var(--azul-rgb), 1); }
.etapas { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.etapa { display: flex; align-items: center; gap: 8px; font: 600 10.5px/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-3); white-space: nowrap; }
.etapa i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--f-mono); font-style: normal; border: 1px solid var(--line-2); color: var(--texto-3); transition: all 0.3s; }
.etapa.feita i { background: rgba(var(--azul-rgb), 0.25); border-color: var(--azul-2); color: var(--branco); }
.etapa.atual { color: var(--branco); }
.etapa.atual i { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 18px rgba(var(--azul-rgb), 0.8); }
.etapas .liga { flex: 1; height: 1px; background: var(--line-2); min-width: 12px; }
.codigo-missao {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding: 20px 20px 20px 22px;
  border-radius: 18px;
  border: 1px dashed var(--line-3);
  background: radial-gradient(300px 120px at 0% 50%, rgba(var(--azul-rgb), 0.2), transparent 70%), var(--fosco);
  overflow: hidden;
}
.codigo-missao code { min-width: 0; font: 700 clamp(17px, 5vw, 23px)/1 var(--f-mono); letter-spacing: 0.06em; white-space: nowrap; color: var(--branco); user-select: all; text-shadow: 0 0 24px rgba(var(--neon-rgb), 0.6); }
.passos { margin: 6px 0 22px; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 10px; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.5; color: var(--texto); }
.passos li::before { content: counter(p); width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font: 700 12px/1 var(--f-mono); color: var(--azul-2); background: rgba(var(--azul-rgb), 0.12); border: 1px solid var(--line-2); }
.passos b { color: var(--branco); }
.entrar-card .quem { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 12px; border-radius: 16px; background: var(--sup-1); border: 1px solid var(--line); }
.entrar-card .quem .cabeca { --s: 48px; border-radius: 14px; }
.entrar-card .quem strong { display: block; color: var(--branco); font: 700 17px var(--f-display); }
.missao-atual { font-size: 13px; color: var(--texto-2); margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--fosco); overflow-wrap: anywhere; }
.validade { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px var(--f-corpo); color: var(--texto-2); }
.validade #validade { font: 600 12.5px var(--f-mono); color: var(--branco); }
.validade .ic { width: 14px; height: 14px; color: var(--azul-2); }
.entrar-rodape { margin-top: 18px; text-align: center; font-size: 13px; color: var(--texto-3); }
.pronto-ic { width: 84px; height: 84px; border-radius: 26px; margin: 4px auto 20px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 0 60px -10px rgba(var(--azul-rgb), 0.9); animation: pop 0.7s var(--curva) both; }
.pronto-ic .ic { width: 40px; height: 40px; stroke-width: 2.4; }

/* ================================================================= ADMIN */

.admin-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; padding: 34px 0 24px; }
.admin-cab h1 { margin: 0; font: 700 clamp(30px, 3.8vw, 44px)/1.05 var(--f-display); }
.admin-cab p { margin: 8px 0 0; color: var(--texto-2); }
.tabela-contas td { vertical-align: middle; }
.tabela-contas .acoes-linha { display: flex; gap: 6px; flex-wrap: wrap; }
.tabela-contas .quem-c { display: flex; align-items: center; gap: 12px; }
.tabela-contas .quem-c strong { display: block; color: var(--branco); }
.form-suspender { display: grid; gap: 8px; grid-template-columns: 1fr 110px auto auto; align-items: end; margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--fosco); border: 1px solid var(--line); }
.form-suspender label { margin: 0; }
.form-suspender input { height: 40px !important; margin-top: 6px !important; font-size: 14px !important; }
.paginas { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 16px; }
.central-status { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 18px; }
.central-status .estado-ic { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; }
.central-status.on .estado-ic { background: rgba(74, 222, 128, 0.12); color: var(--ok); border: 1px solid rgba(74, 222, 128, 0.35); box-shadow: 0 0 30px -8px rgba(74, 222, 128, 0.6); }
.central-status.off .estado-ic { background: rgba(255, 77, 109, 0.1); color: var(--perigo); border: 1px solid rgba(255, 77, 109, 0.4); }
.central-status .estado-ic .ic { width: 26px; height: 26px; }
.central-status b { display: block; font: 700 20px var(--f-display); color: var(--branco); }

/* =========================================================== animações */

@keyframes gradeAnda { to { transform: translate3d(64px, 64px, 0); } }
@keyframes flutua { to { transform: translate3d(140px, 100px, 0) scale(1.18); } }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes angulo { to { --ang: 360deg; } }
@keyframes onda { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes entra { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sobeTitulo { from { opacity: 0; transform: translateY(40%); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes brilhoTexto { to { background-position: -220% 0; } }
@keyframes reflexo { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(220%); } }
@keyframes reflexoMarca { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes varreAnuncio { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes enche { from { width: 0; } }
@keyframes cresce { from { transform: scaleY(0); } }
@keyframes pisca { 0% { color: #fff; text-shadow: 0 0 18px #46e1ff, 0 0 4px #fff; transform: scale(1.12); } 100% { text-shadow: none; transform: none; } }
@keyframes linhaPisca { 0% { background: rgba(var(--neon-rgb), 0.28); border-color: rgba(var(--neon-rgb), 0.6); } 100% { } }
@keyframes feedEntra { from { opacity: 0; transform: translateX(-18px); background: rgba(var(--azul-rgb), 0.26); } 50% { background: rgba(var(--azul-rgb), 0.14); } to { opacity: 1; transform: none; background: transparent; } }
@keyframes blip { 0% { transform: scale(0.4); opacity: 0.3; } 8% { transform: scale(1.5); opacity: 1; } 40% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(0.8); opacity: 0.35; } }
@keyframes respira { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pacote { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes toastEntra { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toastSai { to { opacity: 0; transform: translateY(10px) scale(0.96); } }
@keyframes pop { 0% { transform: scale(0.3); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

/* ============================================================ responsivo */

@media (max-width: 1290px) {
  .nav-links { display: none; }
  .nav-menu { display: grid !important; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px; }
  .perfil-grid { grid-template-columns: 210px minmax(0, 1fr); }
  .perfil-lado { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pedestal { width: 210px; }
  .tiras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tira:nth-child(4) { border-left: 0; }
  .tira:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .recursos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fluxo { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cabo { width: 2px; height: 40px; margin: 0 0 0 44px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .cabo i { left: 50%; top: 0; margin: 0 0 0 -5px; animation-name: pacoteV; }
  .rodape-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rodape-in > div:first-child { grid-column: 1 / -1; }
}
@keyframes pacoteV { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-grade { grid-template-columns: minmax(0, 1fr); }
  .ev-lado { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .relogio-anel { width: 170px; height: 170px; }
  .relogio-txt b { font-size: 36px; }
  .rank-barra { grid-template-columns: minmax(0, 1fr); }
  .entrar-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .entrar-card { order: -1; }
  .entrar-pag { min-height: 0; padding-top: 18px; }
  .resumo-ativ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ativar { grid-template-columns: auto minmax(0, 1fr); }
  .ativar .botao { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --nav-h: 64px; }
  .container, .nav-in, .rodape-in, .rodape-base { padding-left: 16px; padding-right: 16px; }
  .nav-in { gap: 10px; }
  .marca-txt small { display: none; }
  .marca-ic { width: 36px; height: 36px; }
  .status { padding: 0 10px; height: 30px; font-size: 9.5px; letter-spacing: 0.1em; }
  .status .st-txt { display: none; }
  .some-celular { display: none !important; }
  .so-celular { display: inline !important; }
  .painel { padding: 20px 16px; border-radius: 18px; }
  .secao { padding-top: 52px; }
  .hero-titulo { font-size: clamp(46px, 15vw, 64px); }
  .hero-desc { font-size: 16px; }
  .hero-acoes .botao { flex: 1 1 100%; }
  .lider { padding: 18px; }
  .kpis { gap: 10px; margin-top: 30px; }
  .kpi { padding: 16px; }
  .kpi-num { font-size: 30px; margin-top: 14px; }
  .kpi-ic { width: 36px; height: 36px; }
  .vivo-in { padding: 20px 16px; }
  .ev-lado { grid-template-columns: minmax(0, 1fr); }
  .cab-lista { display: none; }
  .cab-lista, .linha { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 0 12px; }
  .linha .extra { display: none; }
  .linha .valor { min-width: 64px; }
  .linha .valor .barra-dado { display: none; }
  .linha .pos { font-size: 13px; }
  .linha .cabeca { --s: 34px; }
  .podio { gap: 8px; }
  .pod { padding: 26px 8px 14px; border-radius: 16px; }
  .pod.p1 { padding-top: 34px; }
  .pod .cabeca { --s: 52px; border-radius: 16px; margin-bottom: 10px; }
  .pod.p1 .cabeca { --s: 64px; border-radius: 19px; }
  .pod-nome { font-size: 13px; }
  .pod-pat { display: none; }
  .pod-valor { font-size: 24px; margin-top: 10px; }
  .pod.p1 .pod-valor { font-size: 28px; }
  .pod-sub { display: none; }
  .pod-pos { top: 9px; left: 10px; font-size: 10.5px; }
  .chave { grid-auto-columns: minmax(210px, 82%); gap: 22px; }
  .fase-col:not(:last-child) .duelo::after { display: none; }
  .recursos { grid-template-columns: minmax(0, 1fr); }
  .cta { padding: 34px 22px; border-radius: 22px; }
  .cta-mira { width: 200px; height: 200px; right: -50px; opacity: 0.6; }
  .rodape-in { grid-template-columns: 1fr 1fr; }
  .perfil-grid { grid-template-columns: minmax(0, 1fr); padding: 26px 18px 22px; gap: 18px; justify-items: center; text-align: center; }
  .perfil-info .chips, .perfil-meta, .perfil-info .acoes { justify-content: center; }
  .perfil-lado { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .pedestal { height: 240px; }
  .perfil-patente { text-align: left; }
  .tiras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tira { padding: 16px; gap: 10px; }
  .tira + .tira { border-left: 0; }
  .tira:nth-child(even) { border-left: 1px solid var(--line); }
  .tira:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .tira b { font-size: 19px; }
  .tira .ti-ic { width: 34px; height: 34px; }
  .numeros { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 14px; }
  .stat b { font-size: 23px; margin-top: 12px; }
  .grupos { grid-template-columns: minmax(0, 1fr); }
  .conquistas { grid-template-columns: minmax(0, 1fr); }
  .trilha-patentes .tp small { display: none; }
  .patente-cab { flex-wrap: wrap; }
  .patente-cab .chip { margin-left: 0; }
  .grafico .area { height: 170px; }
  .grafico .colunas { gap: 2px; }
  .lista-partidas li { grid-template-columns: 38px minmax(0, 1fr); }
  .lista-partidas .colocacao { width: 38px; height: 38px; }
  .lista-partidas .r { grid-column: 2; text-align: left; white-space: normal; }
  .lista-partidas .r b { display: inline; margin-right: 6px; }
  .entrar-card { padding: 24px 18px; }
  .form-suspender { grid-template-columns: 1fr 1fr; }
  .busca { flex-wrap: wrap; }
  .busca .botao { flex: 1 1 100%; }
  .busca .busca-ic { top: 25px; }
  .campeao { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .anuncio { align-items: flex-start; flex-wrap: wrap; }
  .anuncio-rot { display: none; }
}

@media (max-width: 380px) {
  .kpis { grid-template-columns: minmax(0, 1fr); }
}

/* ===================================================== no quarto e equipes */

.hero-meta .meta-link { display: inline-flex; align-items: center; gap: 8px; color: var(--texto-2); text-decoration: none; transition: color 0.2s; }
.hero-meta .meta-link:hover { color: var(--branco); }

.no-quarto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.no-quarto .vazio { grid-column: 1 / -1; }
.no-quarto > li { display: grid; }
.presente {
  --cor: var(--azul-2);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 11px 9px 9px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--sup-1);
  color: var(--texto);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.3s var(--curva), background 0.2s;
}
.presente::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cor); opacity: 0.85; }
.presente:hover { border-color: var(--line-2); background: rgba(var(--azul-rgb), 0.07); transform: translateY(-2px); }
.presente.eu { border-color: rgba(var(--neon-rgb), 0.45); background: linear-gradient(90deg, rgba(var(--azul-rgb), 0.16), rgba(var(--azul-rgb), 0.03)); }
.presente .cabeca { --s: 34px; border-radius: 10px; }
.pr-info { min-width: 0; display: grid; gap: 2px; }
.pr-nome { display: flex; align-items: center; gap: 5px; min-width: 0; font-weight: 600; font-size: 14px; color: var(--branco); }
.pr-nome > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-sub { display: flex; align-items: center; gap: 5px; font: 500 11px var(--f-mono); color: var(--texto-3); white-space: nowrap; overflow: hidden; }
.pr-sub .insignia { width: 12px; height: 14px; flex: none; }
.pr-sub .ic { width: 12px; height: 12px; flex: none; }
.pr-equipe { font: 600 10px/1 var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 7px; border-radius: 8px; color: color-mix(in srgb, var(--cor) 72%, var(--branco)); background: color-mix(in srgb, var(--cor) 13%, transparent); border: 1px solid color-mix(in srgb, var(--cor) 40%, transparent); white-space: nowrap; }

.novos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; }
.novos-rot { display: inline-flex; align-items: center; gap: 7px; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ok); }
.novos-rot .ic { width: 14px; height: 14px; }
.novos a { color: var(--branco); text-decoration: none; font-weight: 600; }
.novos a small { font-weight: 500; color: var(--texto-3); font-family: var(--f-mono); }

.placar-equipes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.equipe { --cor: var(--azul-2); position: relative; padding: 14px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--cor) 38%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--cor) 13%, transparent), transparent 70%); overflow: hidden; }
.equipe.na-frente, .equipe.venceu { border-color: color-mix(in srgb, var(--cor) 75%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--cor) 25%, transparent), 0 18px 40px -22px var(--cor); }
.eq-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.eq-nome { display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1.2 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--cor) 72%, var(--branco)); }
.eq-nome .ic { width: 15px; height: 15px; color: var(--ouro); }
.eq-placar { font: 700 30px/1 var(--f-display); color: var(--branco); }
.eq-topo small { font: 600 12px var(--f-mono); color: var(--texto-3); }
.elenco { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.elenco li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; min-width: 0; }
.elenco li a { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto; color: var(--texto); text-decoration: none; }
.elenco li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.elenco li a:hover { color: var(--branco); }
.elenco .cabeca { --s: 22px; border-radius: 7px; }
.elenco small { font: 500 11.5px var(--f-mono); color: var(--texto-3); flex: none; }
.time .elenco { margin-top: 12px; }
.time.na-frente { box-shadow: 0 0 0 1px color-mix(in srgb, var(--cor) 30%, transparent), 0 16px 36px -22px var(--cor); }

.partida-nome { margin: -8px 0 14px; font-size: 14px; color: var(--texto); }
.partida-nome b { color: var(--branco); }
.partida-faixa { --cor: var(--azul-2); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--cor) 45%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--cor) 18%, transparent), transparent 80%); }
.pf-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #d99a00, #ffcf5c); color: #2a1600; box-shadow: 0 8px 22px -8px rgba(255, 207, 92, 0.8); }
.pf-ic .ic { width: 20px; height: 20px; }
.partida-faixa small { display: block; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ouro); margin-bottom: 6px; }
.partida-faixa b { display: block; font: 700 19px/1.15 var(--f-display); color: var(--branco); }
.pf-placar { font: 700 26px/1 var(--f-display); color: var(--branco); white-space: nowrap; }
p.destaque { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 14px 0 0; font-size: 13.5px; color: var(--texto-2); }
p.destaque .ic { width: 15px; height: 15px; color: var(--ouro); }
p.destaque a { color: var(--branco); font-weight: 700; text-decoration: none; }

/* ============================================================== missões */

.missoes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.missao { position: relative; padding: 20px; border-radius: 20px; display: grid; align-content: start; gap: 10px; }
.ms-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ms-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(var(--azul-rgb), 0.13); border: 1px solid var(--line-2); color: var(--azul-2); }
.ms-ic .ic { width: 20px; height: 20px; }
.ms-nome { font: 700 19px/1.2 var(--f-display); color: var(--branco); }
.ms-desc { margin: 0; font-size: 14px; color: var(--texto-2); }
.ms-prog { font: 600 12px var(--f-mono); color: var(--texto-2); }
.ms-prog .ok { color: var(--ok); }
.missao.feita { border-color: rgba(74, 222, 128, 0.4); }
.missao.feita .ms-ic { background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.35); color: var(--ok); }
.missao .medidor > span { transition: width 0.8s var(--curva); }
.checkin-box { margin-top: 16px; }
.trilha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.trilha li { position: relative; padding: 12px 12px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--sup-1); display: grid; gap: 4px; }
.trilha li b { font: 600 10.5px/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-3); }
.trilha li span { font: 600 13px/1.3 var(--f-corpo); color: var(--texto); }
.trilha li .ic { position: absolute; top: 9px; right: 9px; width: 15px; height: 15px; color: var(--ok); }
.trilha li:last-child { border-color: rgba(255, 207, 92, 0.38); background: linear-gradient(160deg, rgba(255, 207, 92, 0.1), transparent 70%); }
.trilha li.feito { border-color: rgba(74, 222, 128, 0.38); background: rgba(74, 222, 128, 0.07); }
.trilha li.hoje { border-color: var(--line-3); box-shadow: 0 0 0 1px rgba(var(--neon-rgb), 0.3), 0 12px 30px -16px rgba(var(--azul-rgb), 0.9); }
.trilha li.hoje b { color: var(--azul-2); }
.duas .trilha { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.duas .trilha li:last-child { grid-column: span 2; }
.ms-rodape { margin: 14px 0 0; font-size: 13.5px; color: var(--texto-2); }
.ms-rodape a { color: var(--azul-2); font-weight: 600; text-decoration: none; }

/* ======================================================= perfil: rivais */

.rival-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; }
.rival { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--sup-1); color: var(--texto); text-decoration: none; overflow: hidden; transition: border-color 0.2s, transform 0.3s var(--curva); }
.rival:hover { border-color: var(--line-2); transform: translateY(-2px); }
.rival.nemesis { border-color: rgba(255, 77, 109, 0.4); background: linear-gradient(140deg, rgba(255, 77, 109, 0.12), transparent 70%); }
.rival.vitima { border-color: rgba(74, 222, 128, 0.35); background: linear-gradient(140deg, rgba(74, 222, 128, 0.1), transparent 70%); }
.rival .cabeca { --s: 52px; border-radius: 15px; }
.rival small { display: block; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-3); margin-bottom: 6px; }
.rival.nemesis small { color: #ff8fa5; }
.rival.vitima small { color: var(--ok); }
.rival b { display: block; font: 700 18px/1.2 var(--f-display); color: var(--branco); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rival span { display: block; margin-top: 4px; font-size: 13px; color: var(--texto-2); }
.lista-simples .cabeca { --s: 26px; border-radius: 8px; }
.saldo { font: 600 13px var(--f-mono); }
.saldo.mais { color: var(--ok); }
.saldo.menos { color: var(--perigo); }

/* ============================================== navegação: busca e menu */

.nav-in { gap: 14px; }
.nav-links { margin-left: 8px; }
.nav-bt {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line-2);
  background: var(--sup-1);
  color: var(--texto);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.25s var(--curva);
}
.nav-bt:hover { border-color: var(--line-3); background: rgba(var(--azul-rgb), 0.12); color: var(--branco); transform: translateY(-1px); }
.nav-bt .ic { width: 18px; height: 18px; }
.nav-menu { display: none; }
.nav-menu[aria-expanded="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.nav-prog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform-origin: left;
  transform: scaleX(var(--prog, 0));
  background: var(--grad-barra);
  box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.7);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.nav.rolou .nav-prog { opacity: 1; }
.nav { min-height: var(--nav-h); }

.gaveta {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 59;
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  padding: 16px 16px 24px;
  background: rgba(0, 3, 21, 0.98);
  border-bottom: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -20px #000;
  animation: gavetaDesce 0.32s var(--curva) both;
}
html.tema-claro .gaveta { background: rgba(244, 249, 255, 0.99); box-shadow: 0 40px 80px -30px rgba(10, 61, 145, 0.4); }
.gaveta-in { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.gaveta-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gaveta-links a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--sup-1);
  color: var(--texto);
  text-decoration: none;
  font: 600 14px/1.2 var(--f-corpo);
}
.gaveta-links a .ic { width: 17px; height: 17px; color: var(--azul-2); }
.gaveta-links a:hover { border-color: var(--line-3); color: var(--branco); }
.gaveta-conta { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.gaveta-eu { display: flex; align-items: center; gap: 12px; color: var(--texto); text-decoration: none; padding: 8px 10px; border-radius: 13px; background: var(--sup-1); border: 1px solid var(--line); }
.gaveta-eu .cabeca { --s: 42px; }
.gaveta-eu b { display: block; color: var(--branco); font: 700 15px/1.2 var(--f-display); }
.gaveta-eu small { display: block; font: 500 11.5px var(--f-mono); color: var(--texto-3); }
.gaveta-duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bt-tema { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--texto-2); font: inherit; }
.bt-tema:hover { color: var(--branco); }
.bt-tema .ic { width: 15px; height: 15px; color: var(--azul-2); }

/* ================================================================= ticker */

.ticker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  height: 42px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(var(--azul-rgb), 0.13), rgba(var(--azul-rgb), 0.025) 34%, rgba(var(--azul-rgb), 0.025) 72%, rgba(var(--azul-rgb), 0.1));
}
.ticker-rot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 0 20px 0 max(16px, calc((100vw - 1240px) / 2 + 28px));
  font: 700 10.5px/1 var(--f-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--branco);
  background: linear-gradient(90deg, rgba(0, 23, 79, 1) 72%, transparent);
}
html.tema-claro .ticker-rot { background: linear-gradient(90deg, #d9eaff 72%, transparent); }
.ticker-janela { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent); }
.ticker-pista { display: flex; width: max-content; height: 100%; animation: ticker var(--dur, 70s) linear infinite; will-change: transform; }
.ticker:hover .ticker-pista { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; font-size: 13px; line-height: 1; white-space: nowrap; color: var(--texto-2); border-right: 1px solid var(--line); }
.ticker-item .ic { width: 14px; height: 14px; }
.ticker-item .tom-abate { color: #ff6fa3; }
.ticker-item .tom-chama { color: #ffad72; }
.ticker-item .tom-ouro { color: var(--ouro); }
.ticker-item .tom-azul { color: var(--azul-2); }
.ticker-item .tom-ok { color: var(--ok); }
.ticker-item .tom-neutro { color: var(--texto-3); }
.ticker-item a { color: var(--branco); font-weight: 600; text-decoration: none; }
.ticker-item a:hover { text-decoration: underline; }
.ticker-item a.v { color: var(--texto-2); font-weight: 500; }
.ticker-item time { font: 500 11px var(--f-mono); color: var(--texto-3); }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }

/* ============================================================== kill feed */

.killfeed { position: fixed; top: calc(var(--nav-h) + 14px); right: 18px; z-index: 50; display: grid; gap: 6px; justify-items: end; pointer-events: none; }
.kf-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1;
  color: var(--texto);
  background: rgba(0, 6, 30, 0.92);
  border: 1px solid rgba(255, 61, 127, 0.38);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.9), 0 0 22px -10px rgba(255, 61, 127, 0.8);
  animation: kfEntra 0.38s var(--curva) both;
}
html.tema-claro .kf-item { background: rgba(255, 255, 255, 0.96); }
.kf-item.sai { animation: kfSai 0.42s var(--curva) both; }
.kf-item .ic { width: 14px; height: 14px; color: #ff6fa3; }
.kf-item .k { color: var(--branco); font-weight: 700; }
.kf-item .v { color: var(--texto-2); }
.kf-item.ouro { border-color: rgba(255, 207, 92, 0.5); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.9), 0 0 22px -10px rgba(255, 207, 92, 0.8); }
.kf-item.ouro .ic { color: var(--ouro); }
.kf-item.azul { border-color: var(--line-3); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.9), 0 0 22px -10px rgba(var(--azul-rgb), 0.9); }
.kf-item.azul .ic { color: var(--azul-2); }
@keyframes kfEntra { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes kfSai { to { opacity: 0; transform: translateX(16px); } }
@keyframes gavetaDesce { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ================================================================== HUD */

.hud { display: grid; gap: 4px; margin-top: 5px; }
.hud-barra { display: grid; grid-template-columns: 12px minmax(0, 1fr); align-items: center; gap: 5px; }
.hud-barra .ic { width: 11px; height: 11px; color: var(--cor); }
.hud-trilho { height: 4px; border-radius: 99px; background: var(--sup-2); overflow: hidden; }
.hud-trilho i { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: var(--cor); box-shadow: 0 0 8px var(--cor); transition: width 0.7s var(--curva); }
.hud-itens { display: inline-flex; align-items: center; gap: 8px; font: 600 10.5px/1 var(--f-mono); color: var(--texto-2); }
.hud-itens span { display: inline-flex; align-items: center; gap: 3px; }
.hud-itens .ic { width: 11px; height: 11px; color: var(--azul-2); }

.combate { display: grid; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 61, 127, 0.3); background: linear-gradient(120deg, rgba(255, 61, 127, 0.08), transparent 70%), var(--fosco); max-width: 520px; }
.combate-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-2); }
.combate-linha { display: grid; grid-template-columns: 74px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 13px; color: var(--texto-2); }
.combate-linha > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.combate-linha .ic { width: 14px; height: 14px; color: var(--cor); }
.combate-linha .hud-trilho { height: 7px; }
.combate-linha b { font: 700 14px var(--f-display); color: var(--branco); text-align: right; }
.combate-extras { display: flex; flex-wrap: wrap; gap: 8px; }

/* ======================================================= estados vazios */

.vazio-bonito { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 34px 20px; color: var(--texto-2); }
.vb-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: var(--azul-2); background: rgba(var(--azul-rgb), 0.11); border: 1px solid var(--line-2); box-shadow: 0 0 40px -14px rgba(var(--azul-rgb), 0.9); }
.vb-ic .ic { width: 26px; height: 26px; }
.vazio-bonito b { font: 700 18px/1.2 var(--f-display); color: var(--branco); }
.vazio-bonito p { margin: 0; max-width: 460px; font-size: 14px; line-height: 1.55; }
.vazio-bonito .acoes { justify-content: center; margin-top: 6px; }
li.vazio-li { list-style: none; grid-column: 1 / -1; }

/* ================================================ no quarto: sala vazia */

.quarto-vazio {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  overflow: hidden;
}
.qv-radar { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: var(--azul-2); border: 1px solid var(--line-2); background: radial-gradient(circle, rgba(var(--azul-rgb), 0.22), transparent 70%); }
.qv-radar::before, .qv-radar::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--azul-2); animation: qvOnda 3s ease-out infinite; opacity: 0; }
.qv-radar::after { animation-delay: 1.5s; }
.qv-radar .ic { width: 26px; height: 26px; }
@keyframes qvOnda { 0% { transform: scale(0.8); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }
.quarto-vazio b { display: block; font: 700 22px/1.2 var(--f-display); color: var(--branco); }
.quarto-vazio p { margin: 6px 0 0; color: var(--texto-2); font-size: 14.5px; max-width: 620px; }
.lotacao { display: grid; gap: 7px; margin-bottom: 16px; }
.lotacao-topo { display: flex; justify-content: space-between; gap: 12px; font: 500 12px var(--f-mono); color: var(--texto-2); }
.lotacao .medidor { height: 6px; }

/* ================================================================== KPIs */

.kpi-cab { min-height: 42px; }
.kpi-ocupa { margin-top: 12px; height: 4px; border-radius: 99px; background: var(--sup-2); overflow: hidden; }
.kpi-ocupa i { display: block; height: 100%; width: var(--p, 0%); min-width: 2px; border-radius: inherit; background: var(--grad-barra); transition: width 0.8s var(--curva); }

/* ================================================== ranking: o seu lugar */

.meu-lugar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(var(--neon-rgb), 0.45);
  background: linear-gradient(90deg, rgba(var(--azul-rgb), 0.2), rgba(var(--azul-rgb), 0.04));
  color: var(--texto);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.3s var(--curva);
}
.meu-lugar:hover { border-color: var(--azul-2); color: var(--texto); transform: translateY(-1px); }
.meu-lugar .cabeca { --s: 44px; }
.meu-lugar small { display: block; font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--azul-2); margin-bottom: 5px; }
.meu-lugar b { color: var(--branco); }
.meu-lugar .pos-grande { font: 700 28px/1 var(--f-display); color: var(--branco); }
.abas-rank button.sem-dados { opacity: 0.62; }
.abas-rank button.sem-dados:hover, .abas-rank button.sem-dados[aria-pressed="true"] { opacity: 1; }
.busca-linha { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.busca-linha .busca { flex: 1 1 240px; }
.feed-filtros { margin-bottom: 14px; }
.degrau.meu .degrau-barra { border-color: var(--azul-2); box-shadow: 0 0 0 1px var(--azul-2), 0 0 26px -6px rgba(var(--azul-rgb), 1); }
.degrau.meu .degrau-nome { color: var(--azul-2); }
.degrau-barra b.zero { color: var(--texto-3); font-weight: 600; }

/* ==================================================================== guia */

.passos-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.passo-3 { position: relative; padding: 22px; border-radius: 20px; overflow: hidden; }
.passo-3 .n { position: absolute; top: 14px; right: 18px; font: 700 44px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--line-3); opacity: 0.8; }
.passo-3 .no-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: var(--grad); box-shadow: var(--brilho); }
.passo-3 .no-ic .ic { width: 20px; height: 20px; }
.passo-3 b { display: block; font: 700 17px/1.25 var(--f-display); color: var(--branco); }
.passo-3 p { margin: 7px 0 0; font-size: 14px; color: var(--texto-2); }
.passo-3 a { font-weight: 600; }
.modos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.modo { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; align-items: start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--sup-1); }
.modo .tit-ic { width: 42px; height: 42px; border-radius: 12px; }
.modo b { display: block; font: 700 15px/1.25 var(--f-display); color: var(--branco); }
.modo p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--texto-2); }
.guia-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.premios { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.premios li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--sup-1); border: 1px solid var(--line); font-size: 13.5px; }
.premios li > span:first-child { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: var(--texto); }
.premios li > span:first-child .ic { width: 15px; height: 15px; color: var(--ouro); flex: none; }
.premios li > span:last-child { font: 600 12px/1.3 var(--f-mono); color: var(--texto-2); text-align: right; }
.marcos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.marcos li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 7px 12px 7px 7px; border-radius: 12px; background: var(--sup-1); border: 1px solid var(--line); font-size: 14px; color: var(--branco); font-weight: 600; }
.marcos .n { width: 40px; height: 32px; border-radius: 9px; display: grid; place-items: center; font: 700 14px/1 var(--f-display); color: #ffbe8e; background: rgba(255, 140, 60, calc(0.08 + var(--f, 0) * 0.26)); border: 1px solid rgba(255, 140, 60, calc(0.2 + var(--f, 0) * 0.5)); }

/* ============================================================= telemetria */

.telemetria { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.tele { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 11px 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--fosco); }
.tele code { font: 600 12.5px/1.3 var(--f-mono); color: var(--azul-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tele small { grid-column: 1; font-size: 12.5px; color: var(--texto-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tele > b { grid-column: 2; grid-row: 1 / span 2; font: 700 19px/1 var(--f-display); color: var(--branco); text-align: right; white-space: nowrap; }
.tele > b.liga { color: var(--ok); font-size: 14px; }
.tele > b.desl { color: var(--texto-3); font-size: 14px; }
.tele-painel { margin-top: 16px; }

/* ========================================================== busca global */

dialog { color: var(--texto); }
dialog::backdrop { background: rgba(0, 2, 14, 0.72); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
html.tema-claro dialog::backdrop { background: rgba(3, 39, 111, 0.35); }
.busca-global {
  width: min(620px, calc(100vw - 24px));
  max-height: min(620px, calc(100vh - 80px));
  margin: 8vh auto auto;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line-3);
  background: var(--panel-solid);
  box-shadow: 0 50px 120px -30px #000, 0 0 70px -24px rgba(var(--azul-rgb), 0.9);
}
.busca-global[open] { display: flex; flex-direction: column; animation: dialogoEntra 0.26s var(--curva) both; }
.bg-topo { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--line); flex: none; }
.bg-topo .ic { position: absolute; left: 18px; width: 19px; height: 19px; color: var(--azul-2); pointer-events: none; }
.bg-topo input { height: 60px !important; margin: 0 !important; padding: 0 60px 0 50px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 16.5px !important; }
.bg-fechar { position: absolute; right: 12px; height: 26px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--sup-2); color: var(--texto-2); cursor: pointer; font: 600 10.5px var(--f-mono); }
.bg-lista { flex: 1 1 auto; overflow-y: auto; padding: 8px; list-style: none; margin: 0; min-height: 90px; }
.bg-rotulo { padding: 10px 10px 6px; font: 600 10px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-3); }
.bg-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--texto); text-decoration: none; }
.bg-item.ativo { background: rgba(var(--azul-rgb), 0.16); color: var(--texto); box-shadow: inset 0 0 0 1px var(--line-3); }
.bg-item .cabeca { --s: 38px; border-radius: 11px; }
.bg-item .tit-ic { width: 38px; height: 38px; }
.bg-item b { display: block; font-weight: 600; font-size: 14.5px; color: var(--branco); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bg-item small { display: flex; align-items: center; gap: 6px; font: 500 11.5px var(--f-mono); color: var(--texto-3); }
.bg-item small .insignia { width: 12px; height: 14px; filter: none; }
.bg-item > .ic { width: 15px; height: 15px; color: var(--texto-3); }
.bg-vazio { padding: 26px 12px; text-align: center; color: var(--texto-3); font-size: 14px; }
.bg-rodape { display: flex; gap: 16px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--line); font: 500 11px var(--f-mono); color: var(--texto-3); flex: none; }
.bg-rodape kbd { font: 600 10.5px var(--f-mono); padding: 2px 5px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--sup-2); color: var(--texto-2); }

/* ================================================================== modal */

.modal {
  width: min(460px, calc(100vw - 24px));
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line-3);
  background: var(--panel-solid);
  box-shadow: 0 50px 120px -30px #000, 0 0 70px -24px rgba(var(--azul-rgb), 0.9);
}
.modal[open] { animation: dialogoEntra 0.26s var(--curva) both; }
.modal.perigo { border-color: rgba(255, 77, 109, 0.55); box-shadow: 0 50px 120px -30px #000, 0 0 70px -24px rgba(255, 77, 109, 0.8); }
.modal-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: var(--grad); box-shadow: var(--brilho); }
.modal.perigo .modal-ic { background: linear-gradient(135deg, #c0123f, #ff4d6d); box-shadow: 0 10px 34px -10px rgba(255, 77, 109, 0.85); }
.modal-ic .ic { width: 24px; height: 24px; }
.modal h2 { margin: 0 0 8px; font: 700 22px/1.2 var(--f-display); }
.modal p { margin: 0 0 18px; color: var(--texto-2); font-size: 14.5px; line-height: 1.55; }
.modal label { margin-bottom: 18px; }
.modal-acoes { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
@keyframes dialogoEntra { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ================================================================= PERFIL */

.perfil-pag { padding-top: 22px; }
.perfil-pag > .anuncio { margin: 0 0 16px; }
.perfil-esqueleto { display: grid; gap: 16px; }
.perfil-info > .chips { margin-bottom: 2px; }
.perfil-patente { min-width: 0; }
.perfil-patente > div { min-width: 0; }
.perfil-patente .medidor { max-width: 100%; }
.perfil-meta span { min-width: 0; }
.tiras .tira > div { min-width: 0; }
.faixa > .painel + .painel, .faixa > .duas + .painel, .faixa > .painel + .duas { margin-top: 16px; }
.linha-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.linha-cab h2 { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 19px/1.2 var(--f-display); color: var(--branco); }
.linha-cab small { color: var(--texto-3); font-size: 13px; }
.lista-simples .rival-nome { display: inline-flex; align-items: center; gap: 10px; color: var(--branco); font-weight: 600; text-decoration: none; }
.lista-simples .rival-nome:hover { color: var(--azul-2); }
.lista-simples li .mudo a, a.mudo { color: var(--texto-2); }
.ms-linha { display: grid; gap: 7px; min-width: 0; }
.ms-linha .ms-tit { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ms-linha .ms-tit b { font: 700 14.5px var(--f-display); color: var(--branco); }
.ms-linha .premio { font: 600 11.5px var(--f-mono); color: var(--ouro); }
.ms-linha .ms-d { font-size: 13px; color: var(--texto-2); }
.ms-linha .ms-p { display: flex; align-items: center; gap: 6px; font: 600 11.5px var(--f-mono); color: var(--texto-3); }
.ms-linha .ms-p.ok { color: var(--ok); }
.ms-linha .ms-p .ic { width: 13px; height: 13px; }
.objetivos li.feita { border-color: rgba(74, 222, 128, 0.4); }
.objetivos li.feita .obj-ic { background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.35); color: var(--ok); }
.atalhos-perfil { display: flex; gap: 8px; flex-wrap: wrap; }
.stat .st-ic + b { margin-top: 14px; }
.numeros.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.semana-painel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 22px; }
.tabela-mini { margin-top: 12px; }
.confirma-suspensa { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; border-color: rgba(255, 77, 109, 0.45); background: linear-gradient(120deg, rgba(255, 77, 109, 0.1), transparent 70%), var(--panel); }
.confirma-suspensa .ic { width: 26px; height: 26px; color: var(--perigo); }

details.sanfona { border: 1px solid var(--line); border-radius: 16px; background: var(--sup-1); overflow: hidden; transition: border-color 0.2s; }
details.sanfona + details.sanfona { margin-top: 10px; }
details.sanfona[open] { border-color: var(--line-2); }
details.sanfona > summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; font: 700 14.5px/1.2 var(--f-display); color: var(--branco); }
details.sanfona > summary::-webkit-details-marker { display: none; }
details.sanfona > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--azul-2); border-bottom: 2px solid var(--azul-2); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.25s var(--curva); flex: none; }
details.sanfona[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.sanfona > summary .ic { width: 17px; height: 17px; color: var(--azul-2); flex: none; }
details.sanfona > .sf-in { padding: 2px 16px 16px; }
table.patentes tr.proxima td:first-child, table.patentes tr.atual td:first-child { font-weight: 700; }

/* ================================================================ ENTRAR */

.entrar-pag { min-height: calc(100vh - var(--nav-h) - 40px); }
.entrar-arte .olho { margin-bottom: 18px; }
.entrar-card label:last-of-type { margin-bottom: 20px; }
.campo-senha { position: relative; display: block; }
.campo-senha input { padding-right: 52px !important; }
.olho-bt { position: absolute; right: 6px; bottom: 6px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--texto-3); cursor: pointer; }
.olho-bt:hover { color: var(--branco); background: var(--sup-2); }
.olho-bt .ic { width: 18px; height: 18px; }
.previa-avatar { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; margin: -6px 0 16px; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--sup-1); font-size: 13px; line-height: 1.35; color: var(--texto-2); animation: entra 0.4s var(--curva) both; }
.previa-avatar.achou { border-color: rgba(74, 222, 128, 0.34); }
.previa-avatar .cabeca { --s: 44px; }
.previa-avatar b { display: block; color: var(--branco); font-size: 14px; }
.conta-cartao { display: grid; justify-items: center; gap: 8px; text-align: center; margin-bottom: 18px; }
.conta-cartao .cabeca { --s: 76px; border-radius: 22px; box-shadow: 0 0 40px -8px rgba(var(--azul-rgb), 0.9); }
.conta-cartao b { font: 700 22px var(--f-display); color: var(--branco); }
.codigo-missao .botao { flex: none; }
.pronto-caixa { text-align: center; }
.pronto-ic { position: relative; }
.pronto-ic::before, .pronto-ic::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--azul-2); animation: prontoOnda 1.8s var(--curva) 0.35s 2 both; }
.pronto-ic::after { animation-delay: 0.7s; }
@keyframes prontoOnda { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
.nota-entrar { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--texto-3); }
.nota-entrar .ic { width: 15px; height: 15px; color: var(--azul-2); margin-top: 1px; }
.entrar-rodape a { color: var(--texto-2); }

/* ========================================================== comparação */

.vs-pag { padding-top: 26px; }
.vs-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.vs-cab h1 { margin: 0; font: 700 clamp(30px, 4vw, 48px)/1.05 var(--f-display); }
.vs-cab h1 em { font-style: normal; background: linear-gradient(92deg, var(--branco), var(--azul-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs-cab p { margin: 8px 0 0; color: var(--texto-2); max-width: 640px; }
.vs-busca { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.vs-busca input { margin: 0 !important; }
.vs-busca .vs-e { font: 700 13px var(--f-display); letter-spacing: 0.1em; color: var(--texto-3); text-align: center; }
.vs-sugestoes { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--texto-3); }
.vs-sugestoes a { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 4px; border-radius: 11px; border: 1px solid var(--line); background: var(--sup-1); color: var(--texto); text-decoration: none; font-weight: 600; font-size: 13px; }
.vs-sugestoes a:hover { border-color: var(--line-3); color: var(--branco); }
.vs-sugestoes .cabeca { --s: 26px; border-radius: 8px; }

.vs-palco {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 26px 26px 30px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(560px 380px at 8% 30%, rgba(18, 96, 255, 0.34), transparent 66%),
    radial-gradient(560px 380px at 92% 30%, rgba(255, 61, 127, 0.2), transparent 66%),
    var(--panel-solid);
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 0.95);
  animation: entra 0.8s var(--curva) both;
}
html.tema-claro .vs-palco { background: radial-gradient(560px 380px at 8% 30%, rgba(18, 96, 255, 0.14), transparent 66%), radial-gradient(560px 380px at 92% 30%, rgba(255, 61, 127, 0.1), transparent 66%), #fff; }
.vs-lado { display: grid; justify-items: center; align-self: start; gap: 6px; min-width: 0; color: inherit; text-decoration: none; text-align: center; }
.vs-lado:hover { color: inherit; }
.vs-lado:hover h2 { color: var(--azul-2); }
.vs-lado .pedestal { width: 200px; height: 236px; }
.vs-lado .pedestal .aro { top: 44%; width: 176px; height: 176px; margin: -88px 0 0 -88px; }
.vs-lado .pedestal .aro.b { width: 130px; height: 130px; margin: -65px 0 0 -65px; }
.vs-lado .pedestal .plataforma { width: 170px; height: 38px; }
.vs-lado h2 { margin: 2px 0 0; font: 700 clamp(22px, 3vw, 34px)/1.1 var(--f-display); color: var(--branco); overflow-wrap: anywhere; transition: color 0.2s; }
.vs-pat { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px var(--f-mono); color: var(--texto-2); }
.vs-pat .insignia { width: 20px; height: 24px; }
.vs-centro { position: relative; display: grid; place-items: center; height: 130px; }
.vs-centro .aro { position: absolute; width: 124px; height: 124px; border-radius: 50%; border: 1px dashed rgba(var(--neon-rgb), 0.45); animation: gira 18s linear infinite; }
.vs-centro .aro.b { width: 96px; height: 96px; border: 1px solid rgba(255, 61, 127, 0.16); border-top-color: rgba(255, 61, 127, 0.85); animation-duration: 4s; animation-direction: reverse; }
.vs-x { position: relative; font: 700 44px/1 var(--f-display); background: linear-gradient(135deg, #fff, #54b2ff 50%, #ff5c9b); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(var(--neon-rgb), 0.55)); }
html.tema-claro .vs-x { background-image: linear-gradient(135deg, #00226c, #1677ff 50%, #d4234a); }
.vs-vence { color: var(--ouro); }

.confronto { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; text-align: center; }
.confronto b { display: block; font: 700 clamp(40px, 6vw, 64px)/1 var(--f-display); color: var(--texto-2); }
.confronto small { display: block; margin-top: 8px; font-size: 13px; color: var(--texto-2); overflow-wrap: anywhere; }
.confronto .vence b { color: var(--branco); text-shadow: 0 0 30px rgba(var(--neon-rgb), 0.7); }
.confronto .meio { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--azul-2); border: 1px solid var(--line-2); background: rgba(var(--azul-rgb), 0.1); }
.confronto .meio .ic { width: 20px; height: 20px; }
.cabo-guerra { display: flex; height: 12px; gap: 3px; margin-top: 18px; border-radius: 99px; overflow: hidden; background: var(--sup-2); }
.cabo-guerra i { display: block; height: 100%; flex: var(--f, 1) 1 0; transition: flex 1s var(--curva); min-width: 0; }
.cabo-guerra i:first-child { background: var(--grad-barra); box-shadow: 0 0 14px rgba(var(--neon-rgb), 0.6); }
.cabo-guerra i:last-child { background: linear-gradient(90deg, #ff8db5, #ff3d7f); box-shadow: 0 0 14px rgba(255, 61, 127, 0.55); }
.vs-placar { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--texto-2); }
.vs-placar b { color: var(--branco); }

.vs-linhas { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.vs-linhas li { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.vs-linhas li:last-child { border-bottom: 0; }
.vs-linhas .rot { display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-align: center; font: 600 10.5px/1.2 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-3); }
.vs-linhas .rot .ic { width: 14px; height: 14px; color: var(--azul-2); flex: none; }
.vs-linhas .v { display: grid; gap: 7px; font: 700 18px/1 var(--f-display); color: var(--texto-3); min-width: 0; }
.vs-linhas .v.a { text-align: right; justify-items: end; }
.vs-linhas .v.b { text-align: left; justify-items: start; }
.vs-linhas .v.vence { color: var(--branco); }
.vs-linhas .v .barra { display: block; height: 6px; border-radius: 4px; background: var(--sup-2); width: 100%; overflow: hidden; }
.vs-linhas .v .barra i { display: block; height: 100%; width: var(--p); border-radius: 4px; background: var(--sup-2); animation: enche 1.1s var(--curva) both; }
.vs-linhas .v.a .barra i { margin-left: auto; }
.vs-linhas .v.vence.a .barra i { background: var(--grad-barra); box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.7); }
.vs-linhas .v.vence.b .barra i { background: linear-gradient(90deg, #ff3d7f, #ff8db5); box-shadow: 0 0 10px rgba(255, 61, 127, 0.6); }
.veredito { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 207, 92, 0.34); background: linear-gradient(90deg, rgba(255, 207, 92, 0.1), transparent 70%); }
.veredito .vr-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #d99a00, #ffcf5c); color: #2a1600; }
.veredito b { color: var(--branco); }

/* ================================================================== ADMIN */

.admin-pag { padding-bottom: 20px; }
.admin-abas { margin-bottom: 18px; }
.numeros.admin { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.central-status small { color: var(--texto-2); font-size: 13.5px; }
.tabela-contas .sub-c { font-size: 12.5px; color: var(--texto-3); }
.tabela-contas .cabeca { --s: 38px; }
.tabela-contas .selo { white-space: nowrap; }
.form-grupo { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--sup-1); }
.form-grupo + .form-grupo { margin-top: 12px; }
.form-grupo h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px !important; }
.form-grupo h3 .ic { width: 15px; height: 15px; color: var(--azul-2); }
.form-grupo label:last-child { margin-bottom: 0; }
.previa-aviso { margin-bottom: 14px; }
.previa-aviso .anuncio { margin: 0; }
.previa-rot { display: block; margin-bottom: 7px; font: 600 10px/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-3); }
.contador { float: right; font: 500 11px var(--f-mono); letter-spacing: 0; color: var(--texto-3); text-transform: none; }
.interruptor { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; cursor: pointer; font: 500 14.5px/1.35 var(--f-corpo); letter-spacing: 0; text-transform: none; color: var(--texto); }
.interruptor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.interruptor i { position: relative; flex: none; width: 46px; height: 26px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--fosco); transition: background 0.25s, border-color 0.25s; }
.interruptor i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--texto-3); transition: transform 0.25s var(--curva), background 0.25s; }
.interruptor input:checked + i { background: var(--grad); border-color: transparent; box-shadow: 0 0 18px -4px rgba(var(--azul-rgb), 0.9); }
.interruptor input:checked + i::after { transform: translateX(20px); background: #fff; }
.interruptor input:focus-visible + i { outline: 2px solid var(--azul-2); outline-offset: 3px; }

/* ============================================================== rodapé */

.rodape-base { align-items: center; }

/* ============================================================ responsivo */

@media (max-width: 1100px) {
  .guia-grid { grid-template-columns: minmax(0, 1fr); }
  .passos-3 { grid-template-columns: minmax(0, 1fr); }
  .vs-palco { grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); padding: 20px 14px 24px; }
  .vs-lado .pedestal { width: 160px; height: 210px; }
  .vs-centro { height: 90px; }
  .vs-centro .aro { width: 88px; height: 88px; }
  .vs-centro .aro.b { width: 66px; height: 66px; }
  .vs-x { font-size: 30px; }
}

@media (max-width: 900px) {
  .fundo .grade-fundo, .fundo .orbe { animation: none; }
  .quarto-vazio { grid-template-columns: auto minmax(0, 1fr); }
  .quarto-vazio .botao { grid-column: 1 / -1; width: 100%; }
  .killfeed { display: none; }
  .vs-busca { grid-template-columns: minmax(0, 1fr); }
  .vs-busca .vs-e { display: none; }
  .vs-busca .botao { width: 100%; }
}

@media (max-width: 680px) {
  .chip { height: auto; min-height: 27px; padding-block: 5px; max-width: 100%; white-space: normal; line-height: 1.3; }
  .nav-conta { display: none; }
  .ticker-rot { padding-left: 16px; padding-right: 12px; }
  .ticker-rot .so-grande { display: none; }
  .meu-lugar { grid-template-columns: auto minmax(0, 1fr); }
  .meu-lugar .pos-grande { grid-column: 1 / -1; font-size: 20px; }
  .abas-rank { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
  .abas-rank::-webkit-scrollbar { display: none; }
  .numeros.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .numeros.tres .stat { padding: 12px 10px; }
  .numeros.tres .stat b { font-size: 20px; }
  .recursos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .recurso { padding: 14px; }
  .recurso p { font-size: 12.5px; }
  .recurso .no-ic { width: 36px; height: 36px; margin-bottom: 10px; }
  .perfil-patente { display: grid; grid-template-columns: auto minmax(0, 1fr); width: 100%; }
  .perfil-patente .medidor { width: 100%; }
  .combate { margin-inline: auto; width: 100%; }
  .confronto { gap: 8px; }
  .confronto .meio { width: 34px; height: 34px; }
  .vs-palco { grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); gap: 2px; padding: 16px 6px 20px; border-radius: 22px; }
  .vs-lado .pedestal { width: 130px; height: 170px; }
  .vs-lado .pedestal .corpo { transform-origin: bottom; }
  .vs-lado .pedestal .corpo, .vs-lado .pedestal .corpo img { max-height: 150px; }
  .vs-lado .pedestal .aro { width: 116px; height: 116px; margin: -58px 0 0 -58px; }
  .vs-lado .pedestal .aro.b { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .vs-lado .pedestal .plataforma { width: 110px; height: 26px; }
  .vs-lado h2 { font-size: 16px; }
  .vs-pat { font-size: 10.5px; }
  .vs-centro { height: 50px; }
  .vs-centro .aro { width: 46px; height: 46px; }
  .vs-centro .aro.b { width: 34px; height: 34px; }
  .vs-x { font-size: 19px; }
  .vs-linhas li { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); gap: 8px; }
  .vs-linhas .rot { flex-direction: column; font-size: 9.5px; letter-spacing: 0.06em; gap: 4px; }
  .vs-linhas .v { font-size: 15px; }
  .veredito { grid-template-columns: auto minmax(0, 1fr); }
  .veredito .botao { grid-column: 1 / -1; }
  .tabela-contas thead { display: none; }
  .tabela-contas, .tabela-contas tbody, .tabela-contas tr, .tabela-contas td { display: block; width: 100%; }
  .tabela-contas tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tabela-contas td { border: 0; padding: 5px 0; }
  .bg-rodape { display: none; }
  .modal { padding: 20px; }
  .modal-acoes .botao { flex: 1 1 auto; }
  .combate-linha { grid-template-columns: 66px minmax(0, 1fr) 34px; }
}

/* ============================================================ sem movimento */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .revela { opacity: 1; transform: none; }
  .radar::after, .cabo i, .fundo .orbe, .fundo .grade-fundo, .ticker-pista, .qv-radar::before, .qv-radar::after { animation: none !important; }
  .ticker-janela { overflow-x: auto; scrollbar-width: none; }
}
