:root {
  --bg: #0a1226;
  --bg2: #0f1a33;
  --card: #14213f;
  --card2: #1a2a4f;
  --linha: #243660;
  --txt: #e8eefc;
  --txt2: #9aa9c9;
  --txt3: #6b7ba0;
  --azul: #3b82f6;
  --azul2: #60a5fa;
  --azul-fundo: rgba(59, 130, 246, .16);
  --vermelho: #ef4444;
  --verde: #22c55e;
  --amarelo: #f59e0b;
  --raio: 16px;
  --raio-p: 10px;
  --st: env(safe-area-inset-top, 0px);
  --sb: env(safe-area-inset-bottom, 0px);
  --sl: env(safe-area-inset-left, 0px);
  --sr: env(safe-area-inset-right, 0px);
  --aba-h: 62px;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--txt); }
body {
  font: 15px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overscroll-behavior: none; -webkit-user-select: none; user-select: none;
}
input, textarea, select { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i.cheio { fill: currentColor; }
[hidden] { display: none !important; }

#app { min-height: 100%; display: flex; flex-direction: column; }
.topo {
  position: sticky; top: 0; z-index: 20; padding: calc(var(--st) + 10px) calc(16px + var(--sr)) 10px calc(16px + var(--sl));
  background: linear-gradient(var(--bg) 70%, rgba(10, 18, 38, .92)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.topo-linha { display: flex; align-items: center; gap: 10px; }
.topo h1 { font-size: 26px; margin: 0; font-weight: 800; letter-spacing: -.02em; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topo .perfil { font-size: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--card); display: grid; place-items: center; }
.topo .sub { color: var(--txt2); font-size: 13px; margin-top: 2px; }
#view { flex: 1; padding: 0 calc(16px + var(--sr)) calc(var(--aba-h) + var(--sb) + 90px) calc(16px + var(--sl)); outline: none; }

/* barra de abas */
.abas {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-around;
  padding: 6px calc(4px + var(--sr)) calc(6px + var(--sb)) calc(4px + var(--sl));
  background: rgba(12, 21, 43, .96); border-top: 1px solid var(--linha); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.abas button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; color: var(--txt3); font-size: 10.5px; font-weight: 600; border-radius: 12px; min-width: 0; }
.abas button.ativo { color: var(--azul2); }
.abas button.ativo svg { filter: drop-shadow(0 0 8px rgba(96, 165, 250, .5)); }
.fab {
  position: fixed; z-index: 31; right: calc(16px + var(--sr)); bottom: calc(var(--aba-h) + var(--sb) + 16px);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--azul2), var(--azul)); box-shadow: 0 8px 24px rgba(59, 130, 246, .45);
}
.fab svg { width: 26px; height: 26px; }

/* controles comuns */
.busca { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--linha); border-radius: 14px; padding: 0 12px; height: 44px; margin-top: 10px; }
.busca input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--txt); font-size: 16px; }
.busca svg { color: var(--txt3); width: 18px; height: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--linha); color: var(--txt2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.chip.ativo { background: var(--azul); border-color: var(--azul); color: #fff; }
.chip small { opacity: .7; font-weight: 500; margin-left: 4px; }
.acoes-topo { display: flex; gap: 8px; margin-top: 10px; }
.btn-p { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--linha); font-size: 13.5px; font-weight: 600; color: var(--txt); flex: 1; white-space: nowrap; }
.btn-p svg { width: 18px; height: 18px; }
.btn-p.ativo { background: var(--azul-fundo); border-color: var(--azul); color: var(--azul2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 14px; background: var(--card2); font-weight: 700; color: var(--txt); }
.btn.azul { background: var(--azul); color: #fff; }
.btn.perigo { background: rgba(239, 68, 68, .15); color: #fca5a5; }
.btn.cheio { width: 100%; }
.secao-tit { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--txt2); font-weight: 700; }
.vazio { text-align: center; color: var(--txt2); padding: 48px 12px 24px; }
.vazio .ico { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 22px; background: var(--card); display: grid; place-items: center; color: var(--azul2); }
.vazio .ico svg { width: 34px; height: 34px; }
.vazio h2 { color: var(--txt); font-size: 18px; margin: 0 0 6px; }
.vazio p { margin: 0 auto 18px; max-width: 320px; }
.vazio .btns { display: grid; gap: 10px; max-width: 300px; margin: 0 auto; }

/* grade de canais */
.grade2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (min-width: 720px) { .grade2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grade2 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.canal { position: relative; background: var(--card); border-radius: var(--raio); padding: 10px; display: flex; flex-direction: column; gap: 6px; text-align: left; border: 1px solid transparent; min-width: 0; content-visibility: auto; contain-intrinsic-size: 180px; }
.canal:active { transform: scale(.98); border-color: var(--linha); }
.canal .cab { display: flex; align-items: center; gap: 8px; }
.canal .num { font-size: 11px; font-weight: 800; color: var(--txt3); min-width: 18px; }
.logo { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--bg2); display: grid; place-items: center; overflow: hidden; }
.logo img { max-width: 78%; max-height: 72%; object-fit: contain; }
.iniciais { font-weight: 800; font-size: 20px; color: #fff; letter-spacing: .02em; width: 100%; height: 100%; display: grid; place-items: center; }
.fav { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--txt3); background: rgba(10, 18, 38, .6); }
.fav.on { color: #f472b6; }
.fav svg { width: 18px; height: 18px; }
.canal .nome { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.canal .grupo { font-size: 11.5px; color: var(--txt3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: -4px; }
.aovivo { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; }
.aovivo .v { color: var(--vermelho); letter-spacing: .03em; }
.aovivo .r { color: var(--txt3); font-weight: 600; }
.prog { font-size: 12px; color: var(--txt2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra { height: 4px; border-radius: 4px; background: var(--linha); overflow: hidden; }
.barra i { display: block; height: 100%; background: linear-gradient(90deg, var(--azul), var(--azul2)); border-radius: 4px; }
.cadeado { position: absolute; inset: 0; border-radius: var(--raio); background: rgba(10, 18, 38, .75); display: grid; place-items: center; color: var(--txt2); }

/* pôsteres */
.grade3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (min-width: 720px) { .grade3 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grade3 { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.poster { position: relative; text-align: left; min-width: 0; content-visibility: auto; contain-intrinsic-size: 220px; }
.poster .capa { aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: var(--card); position: relative; }
.poster .capa img { width: 100%; height: 100%; object-fit: cover; }
.poster .capa .iniciais { font-size: 16px; padding: 8px; text-align: center; line-height: 1.15; }
.poster .tit { font-size: 12px; font-weight: 600; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.poster .tag { position: absolute; left: 6px; bottom: 6px; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: rgba(10, 18, 38, .85); color: var(--azul2); }
.poster .fav { top: 6px; right: 6px; width: 28px; height: 28px; }
.poster .prog-vod { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.poster .prog-vod i { display: block; height: 100%; background: var(--azul2); }
.sentinela { height: 1px; }
.contagem { color: var(--txt3); font-size: 12.5px; margin-top: 8px; }
select.filtro { margin-top: 10px; width: 100%; height: 40px; border-radius: 12px; background: var(--card); color: var(--txt); border: 1px solid var(--linha); padding: 0 10px; font-size: 15px; }

/* listas (ajustes, downloads, guia) */
.lista { background: var(--card); border-radius: var(--raio); overflow: hidden; }
.item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--linha); width: 100%; text-align: left; min-height: 52px; }
.item:last-child { border-bottom: 0; }
.item .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--azul-fundo); color: var(--azul2); display: grid; place-items: center; flex: none; }
.item .ic svg { width: 18px; height: 18px; }
.item .tx { flex: 1; min-width: 0; }
.item .tx b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .tx span { display: block; font-size: 12.5px; color: var(--txt2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .val { color: var(--txt2); font-size: 13.5px; flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .seta { color: var(--txt3); width: 18px; height: 18px; }
.item.perigo .ic { background: rgba(239, 68, 68, .15); color: #fca5a5; }
.chave { position: relative; width: 50px; height: 30px; flex: none; }
.chave input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.chave span { position: absolute; inset: 0; border-radius: 30px; background: var(--linha); transition: .2s; }
.chave span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: .2s; }
.chave input:checked + span { background: var(--azul); }
.chave input:checked + span::after { transform: translateX(20px); }
.seg { display: inline-flex; background: var(--bg2); border-radius: 10px; padding: 3px; gap: 2px; flex: none; }
.seg button { padding: 5px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--txt2); }
.seg button.ativo { background: var(--azul); color: #fff; }
input[type=range] { width: 100%; accent-color: var(--azul); }
.perfis { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 8px; }
.perfil-av { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; font-size: 12.5px; color: var(--txt2); }
.perfil-av .av { width: 62px; height: 62px; border-radius: 20px; background: var(--card); display: grid; place-items: center; font-size: 30px; border: 2px solid transparent; position: relative; }
.perfil-av.ativo .av { border-color: var(--azul); }
.perfil-av.ativo { color: var(--txt); font-weight: 700; }
.perfil-av .kids { position: absolute; bottom: -6px; font-size: 9px; font-weight: 800; background: var(--amarelo); color: #000; border-radius: 6px; padding: 1px 5px; }

/* formulários */
.form { display: grid; gap: 12px; }
.campo label { display: block; font-size: 12.5px; color: var(--txt2); margin: 0 0 5px 2px; font-weight: 600; }
.campo input, .campo select, .campo textarea { width: 100%; height: 46px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--linha); color: var(--txt); padding: 0 12px; font-size: 16px; outline: none; }
.campo textarea { height: 90px; padding: 10px 12px; resize: vertical; }
.campo input:focus, .campo select:focus { border-color: var(--azul); }
.dica { font-size: 12.5px; color: var(--txt3); }
.emojis { display: flex; flex-wrap: wrap; gap: 8px; }
.emojis button { width: 44px; height: 44px; border-radius: 12px; background: var(--bg2); font-size: 24px; border: 2px solid transparent; }
.emojis button.ativo { border-color: var(--azul); }
.pin { display: flex; justify-content: center; gap: 12px; margin: 8px 0 4px; }
.pin input { width: 52px; height: 60px; text-align: center; font-size: 26px; font-weight: 800; border-radius: 14px; background: var(--bg2); border: 1px solid var(--linha); color: var(--txt); outline: none; }
.pin input:focus { border-color: var(--azul); }

/* folha (modal de baixo) */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(3, 7, 18, .6); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet .caixa {
  width: 100%; max-width: 640px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; background: var(--bg2); border-radius: 22px 22px 0 0;
  padding: 10px calc(18px + var(--sr)) calc(22px + var(--sb)) calc(18px + var(--sl)); animation: sobe .2s ease-out; -webkit-overflow-scrolling: touch;
}
.sheet .alca { width: 40px; height: 5px; border-radius: 5px; background: var(--linha); margin: 0 auto 12px; }
.sheet h2 { margin: 0 0 4px; font-size: 20px; }
.sheet .fechar { position: sticky; top: 0; float: right; width: 34px; height: 34px; border-radius: 50%; background: var(--card); display: grid; place-items: center; color: var(--txt2); z-index: 1; }
@media (min-width: 700px) { .sheet { align-items: center; } .sheet .caixa { border-radius: 22px; max-height: 86vh; } }
@keyframes sobe { from { transform: translateY(40px); opacity: .4; } }
@keyframes fade { from { opacity: 0; } }

/* detalhe de filme/série */
.det-topo { display: flex; gap: 14px; margin: 6px 0 14px; }
.det-topo .capa { width: 118px; flex: none; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--card); }
.det-topo .capa img { width: 100%; height: 100%; object-fit: cover; }
.det-topo .info { min-width: 0; }
.det-topo .info h2 { font-size: 19px; line-height: 1.2; }
.det-topo .meta { color: var(--txt2); font-size: 13px; margin-top: 4px; }
.det-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.det-botoes .btn.azul { grid-column: 1 / -1; }
.sinopse { color: var(--txt2); font-size: 14px; margin: 14px 0 0; }
.ep { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linha); }
.ep .n { width: 34px; height: 34px; border-radius: 10px; background: var(--card); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; color: var(--azul2); }
.ep .tx { flex: 1; min-width: 0; }
.ep .tx b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep .tx span { font-size: 12px; color: var(--txt3); }
.ep .mini { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--txt2); flex: none; }

/* guia */
.guia-canal { padding: 12px 0; border-bottom: 1px solid var(--linha); }
.guia-canal .cab { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.guia-canal .cab .logo { width: 54px; height: 32px; flex: none; border-radius: 8px; }
.guia-canal .cab .logo .iniciais { font-size: 12px; }
.guia-canal .cab b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guia-prog { display: flex; gap: 10px; font-size: 13px; padding: 3px 0; color: var(--txt2); }
.guia-prog time { width: 44px; flex: none; color: var(--txt3); font-variant-numeric: tabular-nums; }
.guia-prog.agora { color: var(--txt); font-weight: 600; }
.guia-prog.agora time { color: var(--vermelho); }

/* eventos */
.ev-resumo { margin-top: 10px; padding: 12px 14px; border-radius: var(--raio); background: linear-gradient(135deg, rgba(59, 130, 246, .22), rgba(59, 130, 246, .06)); border: 1px solid rgba(59, 130, 246, .3); font-weight: 700; font-size: 14px; }
.ev-resumo span { color: var(--vermelho); }
.jogo { background: var(--card); border-radius: var(--raio); padding: 14px; margin-top: 10px; }
.jogo .topo-j { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--txt3); font-weight: 600; margin-bottom: 10px; gap: 8px; }
.jogo .topo-j .comp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-vivo { flex: none; background: var(--vermelho); color: #fff; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 8px; letter-spacing: .03em; }
.badge-hora { flex: none; background: var(--azul-fundo); color: var(--azul2); font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 8px; }
.times { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.time { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13.5px; font-weight: 700; min-width: 0; }
.time span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.escudo { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 15px; color: #fff; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .18); }
.placar { font-size: 24px; font-weight: 900; color: var(--txt); min-width: 56px; text-align: center; }
.placar.x { color: var(--txt3); font-size: 18px; }
.jogo .canais-j { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.jogo .canais-j button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--bg2); font-size: 12.5px; font-weight: 600; }
.jogo .canais-j svg { width: 14px; height: 14px; color: var(--azul2); }

/* player */
.player { position: fixed; inset: 0; z-index: 50; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .camada { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; transition: opacity .25s; }
.player.oculto .camada { opacity: 0; }
.player.oculto .camada * { pointer-events: none !important; }
.player .barra-s, .player .barra-i { pointer-events: auto; padding: calc(var(--st) + 8px) calc(12px + var(--sr)) 26px calc(12px + var(--sl)); background: linear-gradient(rgba(0, 0, 0, .8), transparent); display: flex; align-items: center; gap: 8px; }
.player .barra-i { padding: 26px calc(12px + var(--sr)) calc(var(--sb) + 10px) calc(12px + var(--sl)); background: linear-gradient(transparent, rgba(0, 0, 0, .85)); justify-content: center; }
.player .bp { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); flex: none; }
.player .bp.on { color: #f472b6; }
.player .titulo { flex: 1; min-width: 0; }
.player .titulo b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .titulo span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .meio { pointer-events: none; display: flex; justify-content: space-between; padding: 0 calc(10px + var(--sr)) 0 calc(10px + var(--sl)); }
.player .meio .bp { pointer-events: auto; width: 52px; height: 52px; background: rgba(0, 0, 0, .45); }
.player .estado { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 86%; pointer-events: auto; }
.player .giro { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .2); border-top-color: var(--azul2); animation: gira .8s linear infinite; margin: 0 auto; }
@keyframes gira { to { transform: rotate(360deg); } }
.player .erro { background: rgba(20, 33, 63, .95); border-radius: 18px; padding: 18px; }
.player .erro b { display: block; font-size: 16px; margin-bottom: 6px; }
.player .erro code { display: block; font-size: 11.5px; color: var(--txt2); word-break: break-all; margin: 8px 0 12px; max-height: 110px; overflow: auto; text-align: left; -webkit-user-select: text; user-select: text; }
.player .painel { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 86vw); background: rgba(10, 18, 38, .97); z-index: 2; overflow-y: auto; padding: calc(var(--st) + 12px) calc(12px + var(--sr)) calc(var(--sb) + 12px) 12px; }
.player .painel h3 { margin: 4px 4px 10px; font-size: 15px; }
.player .painel .item { color: var(--txt); }
.player .painel .item.ativo { background: var(--azul-fundo); border-radius: 12px; }
.player .painel .logo { width: 48px; height: 28px; flex: none; border-radius: 6px; }
.player .painel .logo .iniciais { font-size: 11px; }
.player .som { position: absolute; bottom: calc(var(--sb) + 90px); left: 50%; transform: translateX(-50%); pointer-events: auto; }
.player video.realce { filter: contrast(1.12) saturate(1.28) brightness(1.03); }

/* brilho e toast */
.brilho { position: fixed; inset: 0; z-index: 90; background: #000; opacity: 0; pointer-events: none; }
.brilho.preto { opacity: 1 !important; pointer-events: auto; }
.toast { position: fixed; z-index: 95; left: 50%; bottom: calc(var(--aba-h) + var(--sb) + 84px); transform: translateX(-50%) translateY(20px); opacity: 0; transition: .25s; background: #1e2e57; color: #fff; padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; max-width: 90vw; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); pointer-events: none; text-align: center; }
.toast.on { opacity: 1; transform: translateX(-50%); }
.carregando { display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--txt2); padding: 30px 0; }
.carregando .giro { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--linha); border-top-color: var(--azul2); animation: gira .8s linear infinite; }
.aviso { background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .35); color: #fcd34d; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; margin-top: 12px; }
.info-box { background: var(--azul-fundo); border: 1px solid rgba(59, 130, 246, .35); color: #bfdbfe; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; margin-top: 12px; }
.mini { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--txt2); flex: none; }
.mini svg { width: 18px; height: 18px; }
