.faixa-demo {
  position: sticky; top: 0; z-index: 100; text-align: center; padding: 9px 10px calc(9px); padding-top: calc(9px + env(safe-area-inset-top));
  background: repeating-linear-gradient(135deg, #ffd23f, #ffd23f 14px, #f5c400 14px, #f5c400 28px);
  color: #1a1400; font-weight: 900; letter-spacing: .16em; font-size: 12.5px; box-shadow: 0 4px 18px rgba(0, 0, 0, .5); pointer-events: none;
}
.entrada { padding-top: calc(36px + env(safe-area-inset-top)); }
.hero { text-align: center; margin: 8px 0 18px; }
.hero-logo { width: 112px; height: 112px; filter: drop-shadow(0 0 28px rgba(25, 255, 122, .35)); }
.hero h1 { font-size: 34px; margin: 10px 0 6px; letter-spacing: .01em; }
.hero h1 span { color: var(--neon); text-shadow: 0 0 22px var(--neon-glow); }
.hero p { max-width: 380px; margin: 0 auto; font-size: 15px; }
.entrada .card .btn-out, .entrada .card .btn-red { margin-top: 6px; font-size: 13px; }

.topo { display: flex; align-items: center; justify-content: space-between; padding-top: env(safe-area-inset-top); margin: 2px 0 2px; }
.topo-dir { display: flex; align-items: center; gap: 8px; }
.icone { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); cursor: pointer; display: grid; place-items: center; color: var(--txt); font-size: 18px; }
.icone.on { color: var(--neon); border-color: rgba(25, 255, 122, .45); }

.plano .pl-linha { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.plano .pl-rodape { margin-top: 8px; }

.ct-email { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.saldos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.saldos > div { background: rgba(0, 0, 0, .3); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; }
.saldos span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.saldos b { font-size: 18px; font-variant-numeric: tabular-nums; }
.saldos.mini { margin: 10px 0 2px; }
.saldos.mini b { font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stats > div { background: rgba(0, 0, 0, .3); border: 1px solid var(--line2); border-radius: 12px; padding: 9px 6px; text-align: center; }
.stats span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.stats b { font-size: 17px; font-variant-numeric: tabular-nums; }
.g { color: var(--neon); } .r { color: var(--red); }
.pausa { border: 1px solid rgba(255, 210, 63, .45); background: rgba(255, 210, 63, .07); border-radius: 12px; padding: 12px; margin-bottom: 12px; font-size: 14px; }
.pausa b { display: block; color: var(--yellow); margin-bottom: 4px; letter-spacing: .04em; text-transform: uppercase; font-size: 12.5px; }
#bt-robo { margin-top: 4px; min-height: 60px; font-size: 16px; }
.logs { margin-top: 12px; border-top: 1px solid var(--line2); padding-top: 8px; }
.logs div { display: flex; gap: 10px; font-size: 12.5px; padding: 5px 0; border-bottom: 1px dashed rgba(255, 255, 255, .05); }
.logs time { color: var(--dim); font-family: var(--mono); font-size: 11.5px; flex: none; }

.gf-ctl { align-items: center; }
.gf-ctl select { min-height: 46px; padding: 8px 12px; }
.gf-area { position: relative; margin-top: 12px; height: 300px; border-radius: 14px; overflow: hidden; background: radial-gradient(500px 200px at 50% 0%, rgba(25, 255, 122, .06), transparent), rgba(0, 0, 0, .35); border: 1px solid var(--line2); }
.gf-area canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.gf-tip { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(6, 12, 9, .94); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; box-shadow: 0 8px 24px rgba(0, 0, 0, .6); }
.gf-tip b.g { color: var(--neon); } .gf-tip b.r { color: var(--red); }
.gf-vazio { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.lg { display: inline-block; width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; }
.lg.seta-g { border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid var(--neon); width: 0; height: 0; }
.lg.seta-r { border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 9px solid var(--red); width: 0; height: 0; }
.lg.ord { border-radius: 2px; transform: rotate(45deg); border: 2px solid #fff; width: 8px; height: 8px; }
.lg.lin { height: 0; border-top: 2px dashed rgba(25, 255, 122, .6); width: 14px; }

.filtros { display: grid; gap: 10px; margin-bottom: 12px; }
.ft-nota input[type=range] { width: 100%; accent-color: var(--neon); height: 40px; }
.lista { display: grid; gap: 10px; }
.sinal { position: relative; border-radius: 15px; padding: 13px 14px 34px; background: rgba(0, 0, 0, .32); border: 1px solid var(--line2); overflow: hidden; cursor: pointer; transition: opacity .3s; }
.sinal::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--neon); box-shadow: 0 0 14px var(--neon); }
.sinal.venda::before { background: var(--red); box-shadow: 0 0 14px var(--red); }
.sinal.novo { animation: chega .9s ease-out; }
@keyframes chega { from { box-shadow: 0 0 0 2px rgba(25, 255, 122, .8), 0 0 30px rgba(25, 255, 122, .45); } }
.sinal.expirado { opacity: .42; }
.s-top { display: flex; align-items: center; gap: 8px; }
.s-ativo { white-space: nowrap; font-weight: 800; font-size: 16.5px; letter-spacing: .02em; }
.s-tag { white-space: nowrap; font-size: 11px; color: var(--muted); border: 1px solid var(--line2); padding: 2px 7px; border-radius: 99px; font-weight: 700; }
.s-nota { margin-left: auto; text-align: right; line-height: 1; }
.s-nota b { font-size: 26px; font-variant-numeric: tabular-nums; color: var(--neon); text-shadow: 0 0 16px var(--neon-glow); }
.s-nota small { display: block; white-space: nowrap; font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.s-dir { font-weight: 900; letter-spacing: .1em; font-size: 15px; margin-top: 6px; color: var(--neon); }
.venda .s-dir { color: var(--red); }
.s-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.s-motivos { font-size: 12.5px; color: #b9cbc1; margin-top: 7px; line-height: 1.45; }
.s-cd { position: absolute; right: 14px; bottom: 12px; font-family: var(--mono); font-size: 13px; font-weight: 800; color: var(--neon); }
.venda .s-cd { color: var(--red); }
.expirado .s-cd { color: var(--dim); }
.s-prog { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--neon); transition: width .25s linear; }
.venda .s-prog { background: var(--red); }
.vazio { padding: 18px 0 6px; }
