/* Painel do Bizu Play · visual "Vidro escuro"
   Spec: docs/superpowers/specs/2026-10-09-painel-visual-novo-design.md. Coerente com o app de TV: azul-escuro, vidro
   fosco e o azul neon da marca. Tudo fica neste arquivo: a CSP do painel é style-src 'self' (nada de style="",
   <style> nem fonte de fora). A página do trailer da TV usa o tv-trailer.css, que não muda.
   Vocabulário de classes: docs/superpowers/plans/2026-10-10-painel-visual-novo.md. */

/* ============================================================ fontes
   WOFF2 variável, só o subconjunto latino (cobre o português). Licença OFL 1.1 em ../fontes/LICENCA-*.txt.
   Origem: npm @fontsource-variable/montserrat@5.3.0 e @fontsource-variable/inter@5.3.0 (os do Google Fonts). */
@font-face {
  font-family: "Montserrat";
  src: url("../fontes/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fontes/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================ cores e medidas (spec, seção 2) */
:root {
  color-scheme: dark;
  --fundo: #050816;
  --fundo-2: #0a1233;
  --solido: #0d1640;
  --vidro: rgba(150, 175, 255, 0.07);
  --vidro-2: rgba(150, 175, 255, 0.12);
  --vidro-3: rgba(150, 175, 255, 0.18);
  --borda: rgba(150, 175, 255, 0.16);
  --borda-forte: rgba(150, 175, 255, 0.32);
  --texto: #eef2ff;
  --texto-2: #bcc6e4;
  --texto-3: #929fc4;
  --eletrico: #2f5bff;
  --ciano: #38d0ff;
  --raio-g: 24px;
  --raio: 18px;
  --raio-m: 12px;
  --raio-p: 10px;
  --sombra: 0 30px 60px -32px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --brilho: 0 0 0 1px rgba(96, 140, 255, 0.55), 0 12px 36px -10px rgba(47, 91, 255, 0.75);
  --grad-botao: linear-gradient(180deg, #3a63ff 0%, #2448ff 55%, #1934d6 100%);
  --grad-perigo: linear-gradient(180deg, #e11d48 0%, #be123c 100%);
  --fonte-titulo: "Montserrat", "Inter", system-ui, sans-serif;
  --fonte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "DejaVu Sans Mono", monospace;
}

/* ============================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--texto);
  font: 400 15px/1.55 var(--fonte);
  background:
    radial-gradient(1100px 700px at 6% -14%, rgba(47, 91, 255, 0.40), transparent 62%),
    radial-gradient(760px 520px at 104% -8%, rgba(56, 208, 255, 0.15), transparent 60%),
    radial-gradient(900px 700px at 80% 115%, rgba(23, 60, 255, 0.30), transparent 62%),
    linear-gradient(180deg, var(--fundo-2), var(--fundo) 70%);
  background-color: var(--fundo);
  background-attachment: fixed;
}
[hidden] { display: none !important; }
img, svg { display: block; }
.ic { flex: none; }
a { color: #8fb4ff; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; font-family: var(--fonte-titulo); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
h1 small { font-size: 0.55em; font-weight: 600; color: var(--texto-3); letter-spacing: 0; }
h1 code { font-size: 0.85em; }
h2 { font-size: 1.05rem; font-weight: 700; }
h3 { font-size: 0.95rem; font-weight: 700; color: var(--texto-2); }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
code, .codigo { font-family: var(--mono); letter-spacing: 0.04em; overflow-wrap: anywhere; }
.apoio, small { color: var(--texto-3); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pular {
  position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--raio-p);
  background: var(--eletrico); color: #fff; font-weight: 600; text-decoration: none;
}
.pular:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--ciano); outline-offset: 2px; }

/* ============================================================ casca: lateral de vidro flutuante (spec, seção 3) */
.casca { display: grid; grid-template-columns: 262px minmax(0, 1fr); min-height: 100vh; }
.lateral {
  position: sticky; top: 16px; z-index: 5; height: calc(100vh - 32px); margin: 16px 0 16px 16px;
  display: flex; flex-direction: column; gap: 6px; padding: 18px 12px 12px; overflow-y: auto;
  border: 1px solid var(--borda); border-radius: var(--raio-g);
  background: linear-gradient(180deg, rgba(150, 175, 255, 0.10), rgba(150, 175, 255, 0.04));
  box-shadow: var(--sombra);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  scrollbar-width: thin;
}
.marca { display: flex; align-items: center; gap: 12px; color: var(--texto); text-decoration: none; }
.marca:hover { color: var(--texto); }
.marca img { filter: drop-shadow(0 0 10px rgba(56, 150, 255, 0.55)); }
.marca-lateral { padding: 2px 8px 16px; margin-bottom: 4px; border-bottom: 1px solid var(--borda); }
.marca-texto { display: grid; line-height: 1.15; }
.marca-nome { font: 800 1.12rem/1.1 var(--fonte-titulo); letter-spacing: -0.01em; }
.marca-texto small { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.menu { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.menu a {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px;
  border: 1px solid transparent; border-radius: var(--raio-m);
  color: var(--texto-2); text-decoration: none; font-weight: 500;
  transition: background-color .15s, color .15s, box-shadow .15s, border-color .15s;
}
.menu a .ic { color: var(--texto-3); transition: color .15s; }
.menu a:hover {
  color: var(--texto); background: var(--vidro-2); border-color: rgba(110, 150, 255, 0.40);
  box-shadow: 0 0 22px -8px rgba(47, 91, 255, 0.9);
}
.menu a:hover .ic { color: var(--texto-2); }
.menu a[aria-current="page"] {
  color: #fff; font-weight: 600;
  background: linear-gradient(90deg, rgba(47, 91, 255, 0.46), rgba(47, 91, 255, 0.10));
  border-color: rgba(110, 150, 255, 0.50);
  box-shadow: 0 0 28px -8px rgba(47, 91, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.menu a[aria-current="page"] .ic { color: var(--ciano); filter: drop-shadow(0 0 6px rgba(56, 208, 255, 0.8)); }
.contador {
  margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; text-align: center;
  font: 700 12px/20px var(--fonte); color: #fde68a; background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.40);
}
.conta {
  margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 6px 4px 8px;
  border-top: 1px solid var(--borda);
}
.conta form { margin: 0 0 0 auto; }
.avatar {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font: 800 15px/1 var(--fonte-titulo); color: #fff;
  background: linear-gradient(140deg, var(--ciano), var(--eletrico));
  box-shadow: 0 0 0 2px rgba(5, 8, 22, 0.9), 0 0 0 3px rgba(110, 150, 255, 0.6);
}
.conta-nome { display: grid; min-width: 0; line-height: 1.25; }
.conta-nome strong { font-size: 14px; font-weight: 600; }
.conta-nome small { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.botao-icone {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; flex: none;
  border: 1px solid var(--borda); border-radius: var(--raio-m); background: var(--vidro);
  color: var(--texto-2); cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.botao-icone:hover { background: var(--vidro-3); color: #fff; border-color: var(--borda-forte); box-shadow: var(--brilho); }
.topo-celular { display: none; }

/* ============================================================ conteúdo e cabeçalho */
.conteudo { width: 100%; max-width: 1240px; min-width: 0; padding: 34px 32px 64px 28px; }
.conteudo > * { margin-top: 0; margin-bottom: 20px; }
.conteudo > .cabecalho { margin-bottom: 24px; }
.cabecalho { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cabecalho > div { min-width: 0; }
.sobretitulo {
  margin: 0 0 6px; color: var(--texto-3); font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================ cartões */
.cartao {
  border: 1px solid var(--borda); border-radius: var(--raio);
  background: linear-gradient(180deg, rgba(150, 175, 255, 0.09), rgba(150, 175, 255, 0.04));
  box-shadow: var(--sombra);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cartao, .lateral { background: var(--solido); }
}
.painel { display: grid; gap: 14px; padding: 18px 20px 20px; }
.painel > .botao { justify-self: start; }
.painel-topo { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.painel-topo .apoio { margin: 0; font-size: 13px; }
.link-mais {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none;
  color: #9ec0ff;
}
.link-mais:hover { color: #fff; }
.formulario { display: grid; gap: 16px; padding: 20px; }
.formulario > h2:not(:first-of-type) { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--borda); }
.formulario > .botao { justify-self: start; }
.linha { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; align-items: start; }
.linha > .botao { align-self: end; justify-self: start; }

/* ============================================================ campos (texto, número, data, hora, seleção, área de texto, caixa) */
input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="time"],
input[type="datetime-local"], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--borda-forte);
  border-radius: var(--raio-m); background-color: rgba(3, 6, 22, 0.55); color: var(--texto); font: inherit;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input[readonly], textarea[readonly] { color: var(--texto-2); }
input::placeholder, textarea::placeholder { color: var(--texto-3); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  border-color: rgba(120, 170, 255, 0.85); box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.35);
}
input:disabled, select:disabled, textarea:disabled { opacity: 0.55; cursor: not-allowed; }
select {
  appearance: none; padding-right: 38px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--texto-2) 50%),
    linear-gradient(135deg, var(--texto-2) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.campo { display: grid; gap: 6px; min-width: 0; }
.campo > span:first-child { font-size: 14px; font-weight: 500; color: var(--texto-2); }
.campo small { font-size: 13px; line-height: 1.45; }
.campo-ic { position: relative; display: block; }
.campo-ic .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--texto-3); pointer-events: none; }
.campo-ic input { padding-left: 44px; }
.campo-botoes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.campo-botoes input { flex: 1 1 200px; width: auto; min-width: 0; }
.caixa { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0; color: var(--texto-2); cursor: pointer; }
.caixa input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--eletrico); }

/* ============================================================ botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1px solid rgba(140, 175, 255, 0.55); border-radius: var(--raio-m);
  background: var(--grad-botao); color: #fff; font: 600 15px/1.2 var(--fonte); text-align: center;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 28px -10px rgba(47, 91, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  text-shadow: 0 1px 1px rgba(0, 0, 40, 0.35);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.botao:hover {
  color: #fff; filter: brightness(1.08);
  box-shadow: 0 14px 34px -10px rgba(47, 91, 255, 1), 0 0 0 1px rgba(160, 190, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.botao:active { transform: translateY(1px); }
.botao-vidro {
  background: var(--vidro-2); border-color: var(--borda-forte); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: none;
}
.botao-vidro:hover { background: var(--vidro-3); filter: none; box-shadow: var(--brilho); }
.botao.perigo {
  background: var(--grad-perigo); border-color: rgba(253, 164, 175, 0.55);
  box-shadow: 0 10px 28px -12px rgba(225, 29, 72, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.botao.perigo:hover {
  box-shadow: 0 14px 34px -12px rgba(225, 29, 72, 1), 0 0 0 1px rgba(253, 164, 175, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.botao.pequeno { min-height: 36px; padding: 0 14px; font-size: 14px; }
.botao-largo { width: 100%; }
.botao:disabled, .botao:disabled:hover { opacity: 0.5; cursor: not-allowed; filter: none; transform: none; box-shadow: none; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.acoes form { margin: 0; }

/* ============================================================ selos: cor + texto, nunca só a cor */
.selo {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px;
  white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 1.4;
  border: 1px solid var(--borda-forte); background: var(--vidro); color: var(--texto-2);
}
.selo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.selo-verde { color: #86efac; border-color: rgba(74, 222, 128, 0.40); background: rgba(74, 222, 128, 0.10); }
.selo-azul { color: #9fd8ff; border-color: rgba(56, 208, 255, 0.42); background: rgba(56, 208, 255, 0.10); }
.selo-ambar { color: #fde68a; border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.10); }
.selo-vermelho { color: #fecdd3; border-color: rgba(251, 113, 133, 0.50); background: rgba(251, 113, 133, 0.13); }
.selo-cinza { color: var(--texto-2); }
.selo-cinza::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

/* ============================================================ recado (flash e erro) */
.recado { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; }
.recado .selo { flex: none; }
.recado p { margin: 0; }
.recado-ok { border-color: rgba(74, 222, 128, 0.35); }
.recado-erro { border-color: rgba(251, 113, 133, 0.45); }
.recado-alerta { border-color: rgba(251, 191, 36, 0.40); }

/* ============================================================ filtros e pílulas */
.filtros { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 14px; }
.filtros .campo { flex: 1 1 200px; }
.filtros > .botao { flex: none; }
.busca {
  flex: 1 1 320px; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--borda-forte); border-radius: var(--raio-m); background: rgba(3, 6, 22, 0.55);
  color: var(--texto-3);
}
.busca:focus-within { outline: 2px solid var(--ciano); outline-offset: 2px; border-color: rgba(120, 170, 255, 0.85); }
.busca input { flex: 1; min-width: 0; min-height: 0; height: 44px; padding: 0; border: 0; background: transparent; box-shadow: none; outline: none; }
.campo-inline { flex: 0 1 240px; }
.campo-inline select { width: 100%; }
.fichas { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
.ficha {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--borda); background: var(--vidro); color: var(--texto-2); text-decoration: none;
  font-size: 14px; font-weight: 600;
}
.ficha:hover { color: #fff; border-color: var(--borda-forte); background: var(--vidro-2); }
.ficha[aria-current="true"] {
  color: #fff; border-color: rgba(110, 150, 255, 0.6); background: rgba(47, 91, 255, 0.35);
  box-shadow: 0 0 22px -8px rgba(47, 91, 255, 1);
}
.ficha-n {
  min-width: 22px; padding: 0 6px; border-radius: 999px; background: rgba(150, 175, 255, 0.14); color: var(--texto);
  text-align: center; font-size: 12px; line-height: 20px;
}
.ficha[aria-current="true"] .ficha-n { background: rgba(255, 255, 255, 0.2); }

/* ============================================================ tabelas */
.rolagem { position: relative; overflow-x: auto; } /* relative: o .sr (absolute) da tabela não escapa da rolagem */
.tabela { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.tabela th { /* o cabeçalho quebra a linha: com nowrap, /tvs e /pagamentos não cabiam em 1280 e 1366 px */
  padding: 10px; text-align: left; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--texto-3); border-bottom: 1px solid var(--borda);
}
.tabela td { padding: 12px 10px; border-bottom: 1px solid rgba(150, 175, 255, 0.09); vertical-align: middle; }
.tabela tbody tr { transition: background-color .12s; }
.tabela tbody tr:hover { background: rgba(80, 120, 255, 0.08); }
.tabela tbody tr:last-child td { border-bottom: 0; }
.tabela .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabela td.vazio { padding: 22px 12px; text-align: center; color: var(--texto-3); }
td.acoes { display: table-cell; vertical-align: middle; white-space: nowrap; text-align: right; }
.codigo-id { display: inline-block; min-width: 12ch; max-width: 24ch; font-size: 12.5px; line-height: 1.4; letter-spacing: 0; overflow-wrap: anywhere; }
.acoes-grupo { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.acoes-grupo form { margin: 0; display: flex; align-items: center; gap: 6px; }
.acoes-grupo input[type="date"] { width: auto; min-height: 36px; padding: 4px 10px; }
.acoes-grupo .botao.perigo { /* nas tabelas o perigo é discreto e só fica vermelho cheio no hover */
  background: rgba(251, 113, 133, 0.10); border-color: rgba(251, 113, 133, 0.45); color: #fecdd3;
  box-shadow: none; text-shadow: none;
}
.acoes-grupo .botao.perigo:hover { background: var(--grad-perigo); color: #fff; }
.rotulo-celular { /* texto do botão só no celular; no computador fica o ícone, com o nome para leitor de tela e o title */
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.linha-bloqueada { background: linear-gradient(90deg, rgba(251, 113, 133, 0.10), transparent 40%); }
.duas-linhas { display: grid; line-height: 1.35; }
.duas-linhas small { font-size: 13px; }
.codigo { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(143, 180, 255, 0.6); }
.codigo:hover { color: var(--ciano); border-bottom-color: var(--ciano); }
.tv-codigo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.tv-codigo code { font-size: 16px; font-weight: 700; letter-spacing: 0.1em; }
.tv-codigo:hover code { color: var(--ciano); text-shadow: 0 0 12px rgba(56, 208, 255, 0.7); }
.escudo { display: inline-block; width: 20px; height: 20px; object-fit: contain; vertical-align: middle; }
.paginas { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding: 6px 4px 0; font-size: 13px; }

/* ============================================================ medidor, detalhes e destaque */
.medidor {
  width: 100%; height: 6px; margin: 8px 0 6px; border: 0; border-radius: 999px; overflow: hidden;
  -webkit-appearance: none; appearance: none; background: rgba(150, 175, 255, 0.16);
}
.medidor::-webkit-progress-bar { background: rgba(150, 175, 255, 0.16); border-radius: 999px; }
.medidor::-webkit-progress-value {
  background: linear-gradient(90deg, var(--ciano), var(--eletrico)); border-radius: 999px;
  box-shadow: 0 0 10px rgba(56, 208, 255, 0.9);
}
.medidor::-moz-progress-bar { background: linear-gradient(90deg, var(--ciano), var(--eletrico)); border-radius: 999px; }
.detalhes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px 24px; margin: 0; }
.detalhes > div { min-width: 0; }
.detalhes dt {
  margin-bottom: 4px; color: var(--texto-3); font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detalhes dd { margin: 0; color: var(--texto); overflow-wrap: anywhere; }
.destaque { margin: 0; font: 800 1.6rem/1.2 var(--fonte-titulo); letter-spacing: -0.01em; }

/* ============================================================ Início (spec, seção 4) */
.numeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.numero {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 20px 20px 18px; min-height: 196px;
  color: inherit; text-decoration: none; overflow: hidden; container-type: inline-size; /* o cqi do .numero-valor */
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.numero::after { /* brilho de canto, como o reflexo do app de TV */
  content: ""; position: absolute; inset: -40% -30% auto auto; width: 220px; height: 220px; pointer-events: none;
  background: radial-gradient(circle, rgba(56, 160, 255, 0.20), transparent 65%);
}
.numero:hover { color: inherit; transform: translateY(-3px); border-color: rgba(120, 160, 255, 0.55); box-shadow: var(--sombra), var(--brilho); }
.numero-icone {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 14px; color: #d6ecff;
  background: radial-gradient(circle at 30% 20%, rgba(56, 208, 255, 0.40), rgba(47, 91, 255, 0.28) 60%, rgba(47, 91, 255, 0.12));
  border: 1px solid rgba(120, 170, 255, 0.50); box-shadow: 0 0 22px -6px rgba(56, 150, 255, 0.9);
}
.numero-rotulo { color: var(--texto-2); font-size: 14px; font-weight: 500; }
.numero-valor { /* acompanha a largura do cartão: "R$ 99.999,99" (6,9 em) cabe em qualquer uma, de 390 a 1920 px; o que
  passar disso quebra no espaço em vez de sumir. Sem cqi (navegador antigo) fica o 1.25rem do font. */
  font: 800 1.25rem/1.15 var(--fonte-titulo); font-size: clamp(1.25rem, 13.5cqi, 2.35rem);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.numero-valor small { font-size: min(1.1rem, 0.6em); font-weight: 700; color: var(--texto-3); letter-spacing: 0; }
.numero-apoio { margin-top: auto; color: var(--texto-3); font-size: 13px; line-height: 1.4; }
.numero-alerta .numero-icone {
  color: #fff3c4; border-color: rgba(251, 191, 36, 0.55);
  background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.45), rgba(217, 119, 6, 0.25) 60%, rgba(217, 119, 6, 0.10));
  box-shadow: 0 0 22px -6px rgba(251, 191, 36, 0.8);
}
.grade-inicio { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.pendentes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pendentes li {
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px;
  border: 1px solid var(--borda); border-radius: var(--raio-m); background: rgba(5, 10, 35, 0.35);
}
.pendentes .botao { margin-left: auto; }
.pend-tipo {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px;
  color: var(--ciano); background: rgba(56, 208, 255, 0.10); border: 1px solid rgba(56, 208, 255, 0.28);
}
.pend-info { display: grid; min-width: 0; line-height: 1.35; }
.pend-info code { font-size: 15px; color: #fff; }
.pend-info small { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atalhos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.atalho {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px;
  border: 1px solid var(--borda); border-radius: var(--raio-m); background: rgba(5, 10, 35, 0.35);
  color: var(--texto); text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1.25;
  transition: transform .15s, box-shadow .15s, border-color .15s, background-color .15s;
}
.atalho .ic { color: var(--ciano); }
.atalho:hover { color: #fff; transform: scale(1.03); background: rgba(47, 91, 255, 0.18); border-color: rgba(120, 160, 255, 0.6); box-shadow: var(--brilho); }

/* ============================================================ avisos (formulário com prévia) */
.grade-aviso { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.previa { position: sticky; top: 16px; display: grid; gap: 10px; padding: 20px; }
.previa img { max-width: 100%; height: auto; border-radius: var(--raio-m); }
.previa-mensagem { margin: 0; white-space: pre-wrap; color: var(--texto-2); overflow-wrap: anywhere; }

/* ============================================================ páginas sem login: entrar, licença, pagamento e privacidade */
.pagina-solta { display: grid; min-height: 100vh; place-items: start center; overflow-x: hidden; }
.riscos { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.riscos span { /* os riscos de luz do banner da marca */
  position: absolute; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(190, 215, 255, 0.85), transparent);
  box-shadow: 0 0 14px 2px rgba(80, 140, 255, 0.55);
}
.riscos span:nth-child(1) { top: 18%; left: 28%; width: 30%; opacity: .7; }
.riscos span:nth-child(2) { top: 47%; right: 8%; width: 22%; opacity: .45; }
.riscos span:nth-child(3) { bottom: 16%; left: 38%; width: 26%; opacity: .55; }
.solta { position: relative; width: 100%; max-width: 480px; display: grid; gap: 16px; padding: 32px 16px 40px; }
.solta-larga { max-width: 820px; }
.solta-logo { justify-self: center; width: min(300px, 76vw); height: auto; filter: drop-shadow(0 0 28px rgba(47, 91, 255, 0.55)); }
.cartao-solto { width: 100%; padding: 24px; }
.cartao-solto h1 { margin-bottom: 18px; font-size: 1.3rem; text-align: center; }
.cartao-solto form { display: grid; gap: 16px; }
.rodape-solto { margin: 0; text-align: center; font-size: 13px; }
.rodape-solto a { color: var(--texto-3); }
.pagina-licenca { width: 100%; max-width: 480px; }
.pagina-licenca > .apoio { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.licenca-codigo { margin: 0 0 18px; }
.digitos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.digito {
  display: grid; place-items: center; height: 58px; border-radius: 12px;
  font: 800 1.9rem/1 var(--fonte-titulo); color: #fff; text-shadow: 0 0 14px rgba(120, 180, 255, 0.9);
  border: 1px solid rgba(120, 165, 255, 0.55); background: linear-gradient(180deg, rgba(47, 91, 255, 0.30), rgba(47, 91, 255, 0.10));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 18px -6px rgba(47, 91, 255, 0.9);
}
.forma-pagamento {
  display: grid; gap: 12px; margin: 0 0 12px; padding: 14px; border: 1px solid var(--borda);
  border-radius: var(--raio-m); background: rgba(3, 6, 22, 0.45);
}
.forma-pagamento:last-child { margin-bottom: 0; }
.forma-topo { display: flex; align-items: center; gap: 12px; }
.forma-ic {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--ciano);
  background: rgba(56, 208, 255, 0.10); border: 1px solid rgba(56, 208, 255, 0.3);
}
.preco { margin: 0; font: 800 1.45rem/1.1 var(--fonte-titulo); font-variant-numeric: tabular-nums; }
.forma-pagamento .botao { min-height: 50px; font-size: 16px; }
.pagamento { display: grid; gap: 12px; }
.qr-pix { justify-self: center; width: min(260px, 100%); height: auto; padding: 12px; border-radius: var(--raio-m); background: #fff; }
.aguardando { display: flex; align-items: center; gap: 10px; color: var(--texto-2); }
.aguardando::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ciano);
  box-shadow: 0 0 10px var(--ciano); animation: pulsa 1.4s ease-in-out infinite;
}
.politica { padding: 28px; }
.politica h1 { margin-bottom: 18px; font-size: 1.5rem; text-align: left; }
.politica h2 { margin: 24px 0 8px; }
.politica p, .politica li { color: var(--texto-2); }

/* ============================================================ telas médias: menos colunas */
@media (min-width: 861px) {
  /* filtro do dia (jogos): atalhos, depois a outra data com o Ver ao lado, tudo pela base dos campos */
  .filtros > .acoes, .filtros form.acoes { align-items: flex-end; }
  .filtros form.acoes { flex-wrap: nowrap; }
  .filtros form.acoes .campo { flex: 0 1 auto; }
  /* tabelas: os botões só de ícone da linha das TVs ficam quadrados, e a coluna de ações gruda na direita da rolagem,
     com o fundo do cartão por baixo, para os botões ficarem à vista mesmo quando a tabela rola (trilho, 1181 px) */
  .acoes-grupo .botao:has(> .rotulo-celular) { width: 36px; padding: 0; }
  td.acoes { position: sticky; right: 0; z-index: 1; background: var(--solido); box-shadow: -12px 0 12px -10px rgba(0, 0, 0, 0.7); }
}
/* Onde há linha do tempo de rolagem, a faixa da coluna de ações só aparece quando a tabela rola de verdade: sem rolagem
   a linha do tempo fica inativa e a animação não vale. Sem suporte, ou com menos movimento pedido, fica a faixa acima. */
@supports (animation-timeline: scroll()) {
  @media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
    .rolagem { scroll-timeline: --rolagem inline; }
    td.acoes { background: none; box-shadow: none; animation: acoes-presas linear both; animation-timeline: --rolagem; }
  }
}
@keyframes acoes-presas { from, to { background: var(--solido); box-shadow: -12px 0 12px -10px rgba(0, 0, 0, 0.7); } }
@media (max-width: 1180px) {
  .numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grade-inicio, .grade-aviso { grid-template-columns: 1fr; }
  .previa { position: static; }
}

/* ============================================================ de 861 a 1180 px: a lateral vira trilho de ícones */
@media (min-width: 861px) and (max-width: 1180px) {
  .casca { grid-template-columns: 92px minmax(0, 1fr); }
  /* align-self: start: sem ele a lateral esticava até a altura da página e o sticky não pegava */
  .lateral { align-self: start; height: auto; min-height: calc(100vh - 32px); overflow: visible; padding: 14px 10px; align-items: center; }
  .marca-lateral { padding: 2px 0 14px; }
  .marca-texto, .menu-nome, .conta-nome {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .menu a { justify-content: center; width: 48px; min-height: 44px; padding: 0; }
  .menu a::after { /* a dica com o nome do item, no foco e no hover */
    content: attr(aria-label); position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%);
    padding: 6px 10px; border: 1px solid var(--borda-forte); border-radius: 8px; background: var(--solido);
    color: var(--texto); font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.9); opacity: 0; visibility: hidden; transition: opacity .12s;
  }
  .menu a:hover::after, .menu a:focus-visible::after { opacity: 1; visibility: visible; }
  .contador { position: absolute; top: -4px; right: -6px; min-width: 20px; height: 18px; padding: 0 5px; font-size: 11px; line-height: 16px; }
  .conta { flex-direction: column; padding: 10px 0 0; }
  .conta form { margin: 0; }
}

/* ============================================================ janela baixa (até 820 px de altura): menu compacto
   para o cartão do usuário caber na lateral (1366×768, 1280×720) e no trilho (1024×768); item de 36 px */
@media (min-width: 861px) and (max-height: 820px) {
  .lateral { gap: 2px; padding-top: 10px; padding-bottom: 8px; }
  .marca-lateral { padding-bottom: 8px; margin-bottom: 2px; }
  .menu { gap: 1px; padding-top: 4px; }
  .menu a { min-height: 36px; }
  .conta { padding-top: 8px; }
}
@media (min-width: 861px) and (max-width: 1180px) and (max-height: 720px) {
  .conta .avatar { display: none; } /* trilho baixo: fica o Sair (o avatar é só enfeite; o nome já era só para leitor de tela) */
}

/* ============================================================ até 860 px: barra no topo e gaveta <details> (sem JS) */
@media (max-width: 860px) {
  .casca { display: block; }
  .lateral { display: none; }
  /* sem backdrop-filter aqui: ele tornaria a barra o bloco de contenção da gaveta (position: fixed) */
  .topo-celular {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--borda); background: rgba(6, 10, 30, 0.94);
  }
  .gaveta > summary { list-style: none; }
  .gaveta > summary::-webkit-details-marker { display: none; }
  .gaveta-botao {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--borda-forte);
    border-radius: var(--raio-m); background: var(--vidro-2); color: var(--texto); font-weight: 600; cursor: pointer;
  }
  .gaveta-botao > span { display: inline-flex; align-items: center; gap: 8px; }
  .gaveta-botao, .topo-celular .marca { position: relative; z-index: 21; } /* acima da sombra que escurece a página */
  .gaveta:not([open]) .quando-aberta, .gaveta[open] .quando-fechada { display: none; }
  .gaveta-painel {
    position: fixed; top: 64px; bottom: 0; left: 0; z-index: 19; display: flex; flex-direction: column; gap: 6px;
    width: min(86vw, 340px); padding: 12px 12px 16px; overflow-y: auto;
    border-right: 1px solid var(--borda-forte); border-radius: 0 var(--raio-g) var(--raio-g) 0;
    background: linear-gradient(180deg, rgba(16, 26, 70, 0.97), rgba(6, 10, 30, 0.98));
    box-shadow: 0 0 0 100vmax rgba(2, 4, 14, 0.6), 30px 0 80px -20px rgba(0, 0, 0, 0.9);
    animation: gaveta-entra .2s ease-out;
  }
  .gaveta-painel .menu a { min-height: 48px; font-size: 16px; }
  .botao-icone { width: 48px; height: 48px; }
  .conteudo { padding: 20px 16px 48px; }
  .cabecalho { flex-direction: column; align-items: stretch; }
  .conteudo > .cabecalho { margin-bottom: 18px; }
  .cabecalho .botao { width: 100%; min-height: 48px; }
  .botao, .botao.pequeno { min-height: 44px; }
  /* campos */
  input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="time"], input[type="datetime-local"], input:not([type]), select { min-height: 48px; }
  .busca input { min-height: 0; }
  .numeros { gap: 12px; }
  .numero { min-height: 0; padding: 16px; }
  .numero-icone { width: 38px; height: 38px; margin-bottom: 10px; }
  .numero-valor { font-size: clamp(1.25rem, 13.5cqi, 1.8rem); }
  .painel, .formulario { padding: 16px; }
  .atalho { min-height: 56px; }
  .pendentes .botao { min-height: 44px; }
  .pend-info small { white-space: normal; overflow-wrap: anywhere; } /* a data aparece inteira, sem reticências */
  .ficha { min-height: 44px; }
  .campo-inline, .filtros .campo, .filtros > .botao { flex: 1 1 100%; }
  /* tabelas viram cartões: cada <td> mostra o nome da coluna (data-rotulo) */
  .rolagem { overflow-x: visible; }
  .tabela thead { display: none; }
  .tabela, .tabela tbody, .tabela tr, .tabela td { display: block; }
  .tabela tr { margin: 0 0 10px; padding: 12px 14px; border: 1px solid var(--borda); border-radius: var(--raio-m); background: rgba(3, 6, 22, 0.4); }
  .tabela td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border: 0; text-align: right; overflow-wrap: anywhere; }
  .tabela td::before { content: attr(data-rotulo); flex: none; max-width: 45%; color: var(--texto-3); font-size: 13px; text-align: left; }
  .tabela td.acoes { display: block; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--borda); text-align: left; white-space: normal; }
  .tabela td.acoes::before, .tabela td.vazio::before { content: none; }
  .tabela td.vazio { display: block; text-align: center; }
  .acoes-grupo { flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
  .acoes-grupo input[type="date"] { min-height: 44px; }
  .rotulo-celular { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  .duas-linhas { text-align: right; }
}

/* ============================================================ celular estreito */
@media (max-width: 480px) {
  .numeros, .atalhos { grid-template-columns: 1fr; }
  .digito { height: 50px; font-size: 1.6rem; }
}

@keyframes gaveta-entra { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes pulsa { 50% { opacity: 0.35; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .numero:hover, .atalho:hover, .botao:active { transform: none; }
}
@media (forced-colors: active) {
  .selo, .botao, .ficha, .cartao, .menu a[aria-current="page"] { border: 1px solid CanvasText; }
}

/* ============================================================ página de download do APK (/baixar)
   Proposta 2 "Vitrine" (resumo .superpowers/sdd/2026-10-28-pagina-download): topo azul com um celular desenhado em
   CSS, os 4 passos em cartões numerados e, no celular, uma barra fixa embaixo com o botão Baixar. Prefixo dl-.
   Abre num Chrome antigo de Android 6 (70–80): nada essencial depende de :has, cqi, aspect-ratio, inset,
   clamp()/min()/max() nem de gap em flex (Chrome 84+: em flex as distâncias são margens); env() tem valor de reserva
   e o desfoque da barra tem um fundo quase sólido por baixo. Fica no fim do arquivo para vencer o .solta. */
.solta.dl-pagina { display: block; max-width: none; padding: 0; font-size: 16px; line-height: 1.55; }
.solta.dl-com-barra { padding-bottom: 88px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.dl-pagina h1, .dl-pagina h2, .dl-pagina h3 { letter-spacing: -0.015em; }

/* topo: a marca e o Suporte (WhatsApp) por cima do degradê da vitrine */
.dl-topo {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; min-height: 72px; margin: 0 auto; padding: 12px 16px;
}
.dl-marca { display: flex; align-items: center; min-width: 0; color: var(--texto); }
.dl-marca img { flex: none; margin-right: 10px; filter: drop-shadow(0 0 10px rgba(56, 150, 255, 0.6)); }
.dl-marca-nome { font: 800 1.15rem/1 var(--fonte-titulo); letter-spacing: -0.01em; }
.dl-topo-suporte {
  display: inline-flex; align-items: center; flex: none; min-height: 48px; margin-left: 12px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(5, 8, 22, 0.35); color: #fff;
  font-weight: 600; text-decoration: none;
}
.dl-topo-suporte .ic { margin-right: 8px; color: #7ef0ad; }
.dl-topo-suporte:hover { color: #fff; background: rgba(5, 8, 22, 0.6); border-color: rgba(255, 255, 255, 0.5); }

/* vitrine: o topo de impacto com o degradê da marca */
.dl-vitrine {
  position: relative; display: grid; gap: 28px; margin-top: -72px; padding: 96px 16px 0; overflow: hidden;
  border-radius: 0 0 32px 32px; background-color: #1934d6;
  background-image:
    radial-gradient(420px 320px at 85% 62%, rgba(56, 208, 255, 0.45), transparent 70%),
    radial-gradient(520px 420px at 0% 0%, rgba(120, 150, 255, 0.35), transparent 70%),
    linear-gradient(165deg, #2a50ff 0%, #1934d6 34%, #10207e 62%, #0a1233 100%);
  box-shadow: 0 40px 80px -40px rgba(47, 91, 255, 0.8);
}
.dl-riscos { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; }
.dl-riscos span {
  position: absolute; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(220, 235, 255, 0.9), transparent);
  box-shadow: 0 0 14px 2px rgba(120, 180, 255, 0.6);
}
.dl-riscos span:nth-child(1) { top: 60%; left: -8%; width: 38%; opacity: .5; } /* na faixa do celular, longe do texto */
.dl-riscos span:nth-child(2) { top: 82%; right: -6%; width: 36%; opacity: .6; }
.dl-riscos span:nth-child(3) { display: none; }
.dl-vitrine-texto { position: relative; z-index: 2; min-width: 0; } /* acima do celular: a barra fixa mora aqui dentro */
.dl-selo {
  display: inline-flex; align-items: center; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.30); background: rgba(5, 8, 22, 0.28);
  color: #eaf2ff; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.dl-selo .ic { margin-right: 8px; }
.dl-vitrine h1 {
  font-size: 2.3rem; font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance;
  overflow-wrap: break-word;
}
.dl-grad { color: #d4f2ff; } /* sem recorte do degradê no texto, fica a cor clara */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .dl-grad {
    background: linear-gradient(90deg, #b9ecff 0%, #ffffff 60%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.dl-apoio { max-width: 30ch; margin: 14px 0 18px; color: #e6edff; font-size: 17px; line-height: 1.5; }
.dl-fichas { display: flex; flex-wrap: wrap; margin: 0 0 -8px; padding: 0; list-style: none; }
.dl-fichas li {
  margin: 0 8px 8px 0; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26); background: rgba(5, 8, 22, 0.32);
}
.dl-dica { display: none; margin: 18px 0 0; color: #dbe5ff; font-size: 14px; }
.dl-em-breve {
  display: inline-block; margin: 0 0 8px; padding: 14px 18px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(5, 8, 22, 0.5);
  color: #fff; font-size: 17px; font-weight: 700;
}

/* botões: Baixar (branco no topo do computador, azul na barra do celular) e WhatsApp */
.dl-botao {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border: 1px solid rgba(160, 190, 255, 0.6); border-radius: 14px;
  background: var(--grad-botao); color: #fff; font: 700 17px/1.2 var(--fonte); text-align: center;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 14px 34px -12px rgba(47, 91, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 1px rgba(0, 0, 40, 0.35);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.dl-botao .ic { margin-right: 10px; }
.dl-botao:hover { color: #fff; filter: brightness(1.08); }
.dl-botao:active { transform: translateY(1px); }
.dl-baixar { min-height: 60px; font-size: 18px; }
.dl-baixar-topo { /* só no computador; no topo de impacto o botão é branco, para saltar do degradê azul */
  display: none; background: #fff; color: #1430c4; border-color: #fff; text-shadow: none;
  box-shadow: 0 18px 40px -14px rgba(0, 10, 60, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.12);
}
.dl-baixar-topo:hover {
  color: #0b1f99; filter: none;
  box-shadow: 0 18px 40px -14px rgba(0, 10, 60, 0.9), 0 0 0 8px rgba(255, 255, 255, 0.2);
}
.dl-baixar-topo:focus-visible { outline-color: #fff; }
.dl-barra { /* só no celular: o botão Baixar sempre à mão, preso embaixo da tela */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px;
  padding-bottom: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(6, 10, 30, 0.92); border-top: 1px solid var(--borda-forte);
  box-shadow: 0 -18px 40px -18px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.dl-barra .dl-baixar {
  display: flex; width: 100%; min-height: 62px;
  box-shadow: 0 0 0 1px rgba(96, 140, 255, 0.35), 0 10px 30px -8px rgba(47, 91, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.dl-whats { /* verde do WhatsApp com texto escuro: contraste 7,7:1 */
  display: flex; width: 100%; min-height: 56px; background: #25d366; color: #062b1a; border-color: #5ff59a;
  text-shadow: none; box-shadow: 0 14px 34px -14px rgba(37, 211, 102, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.dl-whats:hover { color: #031a10; }

/* o celular desenhado em CSS (enfeite, aria-hidden) */
.dl-aparelho-area { position: relative; z-index: 1; display: grid; justify-items: center; height: 380px; }
.dl-aparelho-area::before { /* o halo de luz atrás do aparelho */
  content: ""; position: absolute; top: 40px; left: 50%; width: 300px; height: 300px; margin-left: -150px;
  border-radius: 50%; background: radial-gradient(circle, rgba(56, 208, 255, 0.55), transparent 65%); filter: blur(10px);
}
.dl-aparelho {
  position: relative; width: 232px; height: 470px; padding: 9px; border-radius: 40px;
  background: linear-gradient(160deg, #2b3566, #0b1030 40%, #05081a);
  box-shadow: 0 0 0 1.5px rgba(160, 190, 255, 0.45), 0 40px 70px -20px rgba(0, 0, 0, 0.9), 0 0 60px -10px rgba(56, 160, 255, 0.6);
  transform: rotate(-6deg); transform-origin: 50% 0;
}
.dl-tela {
  height: 100%; padding: 10px 12px; border-radius: 32px; overflow: hidden; color: #fff;
  background: radial-gradient(240px 180px at 10% 0%, rgba(47, 91, 255, 0.45), transparent 70%), linear-gradient(180deg, #0b1440, #050816 70%);
}
.dl-tela-status { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; font-size: 10px; font-weight: 600; }
.dl-tela-sinais { display: flex; align-items: flex-end; }
.dl-tela-sinais span { width: 3px; margin-left: 3px; border-radius: 1px; background: #fff; }
.dl-tela-sinais span:nth-child(1) { height: 5px; }
.dl-tela-sinais span:nth-child(2) { height: 7px; }
.dl-tela-sinais span:nth-child(3) { height: 9px; }
.dl-tela-topo { display: flex; align-items: center; margin: 12px 2px 10px; font: 800 14px/1 var(--fonte-titulo); }
.dl-tela-topo img { margin-right: 8px; }
.dl-tela-abas { display: flex; margin-bottom: 10px; }
.dl-tela-abas span {
  margin-right: 6px; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; color: #c9d4f5;
  white-space: nowrap; background: rgba(150, 175, 255, 0.12);
}
.dl-tela-abas .dl-ativa { color: #fff; background: var(--eletrico); box-shadow: 0 0 12px rgba(47, 91, 255, 0.9); }
.dl-tela-destaque {
  position: relative; height: 112px; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(120px 90px at 78% 30%, rgba(56, 208, 255, 0.85), transparent 70%),
    radial-gradient(160px 120px at 10% 100%, rgba(140, 90, 255, 0.75), transparent 70%),
    linear-gradient(135deg, #1e3bd8, #0e1a5c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.dl-tela-play {
  position: absolute; left: 12px; bottom: 18px; width: 34px; height: 34px; display: grid; place-items: center;
  padding-left: 2px; border-radius: 50%; background: #fff; color: #1934d6;
}
.dl-tela-play .ic { fill: currentColor; } /* o play cheio, como no app */
.dl-tela-progresso { position: absolute; left: 12px; right: 12px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); }
.dl-tela-progresso span { display: block; width: 42%; height: 100%; border-radius: 3px; background: var(--ciano); box-shadow: 0 0 8px var(--ciano); }
.dl-tela-rotulo { margin: 12px 2px 6px; font-size: 10px; font-weight: 700; color: #dbe4ff; }
.dl-tela-fileira { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dl-tela-fileira span { height: 64px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.dl-tela-fileira span:nth-child(1) { background: linear-gradient(160deg, #3a63ff, #121d6b); }
.dl-tela-fileira span:nth-child(2) { background: linear-gradient(160deg, #38d0ff, #1934d6); }
.dl-tela-fileira span:nth-child(3) { background: linear-gradient(160deg, #6a5cff, #1a1260); }
.dl-tela-fileira span:nth-child(4) { background: linear-gradient(160deg, #1f8fff, #0b1f66); }
.dl-tela-fileira-2 span:nth-child(1) { background: linear-gradient(160deg, #8a6bff, #20136b); }
.dl-tela-fileira-2 span:nth-child(2) { background: linear-gradient(160deg, #2f5bff, #0a1233); }
.dl-tela-fileira-2 span:nth-child(3) { background: linear-gradient(160deg, #3fc2ff, #123b9c); }
.dl-tela-fileira-2 span:nth-child(4) { background: linear-gradient(160deg, #4b6bff, #1a1f5c); }

/* os 4 passos em cartões numerados */
.dl-passos, .dl-ajuda, .dl-verificacao { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.dl-passos { padding-top: 40px; }
.dl-sobretitulo { margin: 0 0 6px; color: var(--ciano); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.dl-passos h2, .dl-duvidas h2 { font-size: 1.6rem; font-weight: 800; }
.dl-cartao {
  border: 1px solid var(--borda); border-radius: 20px;
  background: linear-gradient(180deg, rgba(150, 175, 255, 0.09), rgba(150, 175, 255, 0.035));
  box-shadow: var(--sombra);
}
.dl-cartoes { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.dl-passo { position: relative; padding: 18px 18px 20px; color: var(--texto-2); overflow: hidden; }
.dl-passo::after { /* brilho de canto */
  content: ""; position: absolute; top: -70px; right: -70px; width: 180px; height: 180px; pointer-events: none;
  background: radial-gradient(circle, rgba(56, 160, 255, 0.18), transparent 65%);
}
.dl-passo-cabeca { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dl-passo-num { font: 900 2.4rem/1 var(--fonte-titulo); letter-spacing: -0.04em; color: #dfe8ff; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .dl-passo-num {
    background: linear-gradient(180deg, #ffffff, #7fa2ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.dl-passo-ic {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #dff4ff;
  background: radial-gradient(circle at 30% 20%, rgba(56, 208, 255, 0.45), rgba(47, 91, 255, 0.30) 60%, rgba(47, 91, 255, 0.12));
  border: 1px solid rgba(120, 170, 255, 0.5); box-shadow: 0 0 22px -6px rgba(56, 150, 255, 0.9);
}
.dl-passo h3 { margin-bottom: 6px; color: #fff; font-size: 1.12rem; font-weight: 800; }
.dl-passo p { margin: 0; }
.dl-tecla {
  padding: 1px 7px; border-radius: 7px; color: #fff; font-weight: 600; white-space: nowrap;
  border: 1px solid rgba(120, 165, 255, 0.45); background: rgba(47, 91, 255, 0.24);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.dl-tecla-longa { white-space: normal; }
.dl-passo-final {
  border-color: rgba(120, 170, 255, 0.55);
  background: linear-gradient(180deg, rgba(47, 91, 255, 0.28), rgba(47, 91, 255, 0.08));
  box-shadow: var(--sombra), 0 0 40px -14px rgba(47, 91, 255, 0.9);
}

/* ajuda: suporte no WhatsApp e dúvidas comuns (<details>, sem JS) */
.dl-ajuda { display: grid; gap: 28px; padding-top: 40px; }
.dl-suporte { position: relative; padding: 22px 20px; overflow: hidden; }
.dl-suporte::after {
  content: ""; position: absolute; top: -80px; right: -60px; width: 220px; height: 220px; pointer-events: none;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.20), transparent 65%);
}
.dl-suporte-ic {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 16px;
  color: #7ef0ad; background: rgba(37, 211, 102, 0.14); border: 1px solid rgba(37, 211, 102, 0.45);
}
.dl-suporte h2 { margin-bottom: 6px; font-size: 1.3rem; font-weight: 800; }
.dl-suporte p { margin-bottom: 18px; color: var(--texto-2); }
.dl-duvidas { display: grid; gap: 10px; }
.dl-duvidas h2 { margin-bottom: 6px; }
.dl-duvidas details { border-radius: 14px; }
.dl-duvidas summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 8px 18px;
  list-style: none; cursor: pointer; color: #fff; font-weight: 600; border-radius: 14px;
}
.dl-duvidas summary::-webkit-details-marker { display: none; }
.dl-mais { position: relative; flex: none; width: 28px; height: 28px; margin-left: 12px; border-radius: 50%; background: rgba(47, 91, 255, 0.3); }
.dl-mais::before, .dl-mais::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; background: #fff; transition: transform .2s;
}
.dl-mais::after { transform: rotate(90deg); }
.dl-duvidas details[open] .dl-mais::after { transform: rotate(0deg); }
.dl-duvidas details p { margin: 0; padding: 0 18px 18px; color: var(--texto-2); }

/* verificação do arquivo e rodapé */
.dl-verificacao {
  display: flex; align-items: flex-start; margin-top: 28px; margin-bottom: 0;
  color: var(--texto-3); font-size: 12.5px; line-height: 1.5;
}
.dl-verificacao .ic { margin: 2px 8px 0 0; }
.dl-verificacao span { flex: 1 1 auto; min-width: 0; }
.dl-verificacao code { color: var(--texto-2); font-size: 12px; overflow-wrap: break-word; word-break: break-all; }
.dl-rodape {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 24px auto 0; padding: 8px 16px 24px; border-top: 1px solid var(--borda);
}
.dl-marca-rodape { margin-right: 16px; font: 800 14px/1 var(--fonte-titulo); color: var(--texto-2); }
.dl-rodape a { display: inline-flex; align-items: center; min-height: 48px; color: var(--texto-3); font-size: 14px; }
.dl-rodape a:hover { color: #fff; }

@media (max-width: 360px) {
  .dl-vitrine h1 { font-size: 2rem; }
}

/* computador: duas colunas no topo, os 4 cartões numa linha e sem a barra fixa */
@media (min-width: 861px) {
  .solta.dl-com-barra { padding-bottom: 0; }
  .dl-barra { display: none; }
  .dl-baixar-topo { display: inline-flex; min-height: 64px; margin-bottom: 20px; padding: 0 32px; font-size: 19px; }
  .dl-dica { display: block; }
  .dl-topo { min-height: 84px; padding: 18px 32px; }
  .dl-vitrine {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 24px;
    max-width: 1240px; min-height: 600px; margin: -84px auto 0; padding: 110px 64px 0; border-radius: 0 0 40px 40px;
  }
  .dl-vitrine-texto { padding-bottom: 72px; }
  .dl-riscos span:nth-child(1) { top: 14%; left: 52%; width: 30%; }
  .dl-riscos span:nth-child(2) { top: 90%; left: 50%; right: auto; width: 44%; }
  .dl-riscos span:nth-child(3) { display: block; top: 56%; right: -2%; width: 16%; opacity: .5; }
  .dl-vitrine h1 { font-size: 3.6rem; }
  .dl-apoio { margin: 18px 0 26px; font-size: 19px; }
  .dl-aparelho-area { height: 500px; align-self: end; }
  .dl-aparelho-area::before { top: 30px; width: 420px; height: 420px; margin-left: -210px; }
  .dl-aparelho { width: 260px; height: 528px; padding: 10px; border-radius: 44px; transform: rotate(-7deg) translateY(24px); }
  .dl-tela { border-radius: 35px; }
  .dl-passos { padding: 64px 32px 0; }
  .dl-passos h2, .dl-duvidas h2 { font-size: 2rem; }
  .dl-cartoes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
  .dl-passo { padding: 22px; }
  .dl-ajuda { gap: 32px; align-items: start; padding: 56px 32px 0; }
  .dl-ajuda-com-suporte { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .dl-suporte { padding: 28px; }
  .dl-verificacao { margin-top: 32px; padding: 0 32px; }
  .dl-rodape { margin-top: 28px; padding: 8px 32px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-botao:active { transform: none; }
}
@media (forced-colors: active) {
  .dl-botao, .dl-cartao, .dl-tecla, .dl-fichas li { border: 1px solid CanvasText; }
  .dl-grad, .dl-passo-num { color: CanvasText; background: none; }
}
