/* Maquete: imagem renderizada + camada de pontos, ligações e simulação de ataque. */
.cena-img{position:relative;width:100%}
.cena-img img{display:block;width:100%;height:auto;border-radius:16px}
.cena-img svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;--w:7;--d:2 16;--off:18}
.fluxo{fill:none;stroke:#7ff3ea;stroke-width:var(--w);stroke-linecap:round;stroke-dasharray:var(--d);opacity:.95;filter:url(#brilho)}
.fluxo.filial{stroke:#9ff8f0}
@media (prefers-reduced-motion:no-preference){.fluxo{animation:corre 1.4s linear infinite}}
@keyframes corre{to{stroke-dashoffset:calc(var(--off) * -1)}}
.ataque{fill:none;stroke:#ff9a2e;stroke-width:calc(var(--w) * 2.2);stroke-linecap:round;filter:url(#brilho-l);opacity:0}
.flash{fill:none;stroke-width:calc(var(--w) * 1.6);opacity:0;filter:url(#brilho-l)}
.hs{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;background:rgba(255,255,255,.95);box-shadow:0 8px 22px -8px rgba(16,42,92,.55),0 0 0 1px rgba(16,42,92,.08);font:600 14px/18px var(--font-sans);color:#102a5c;border:0;cursor:pointer;white-space:nowrap;min-height:34px}
.hs-dot{width:9px;height:9px;border-radius:50%;background:#14b5a8;box-shadow:0 0 0 4px rgba(20,181,168,.22)}
.hs-on{background:#102a5c;color:#fff}
.hs-on .hs-dot{background:#f2a33a;box-shadow:0 0 0 4px rgba(242,163,58,.3)}
.hs:focus-visible{outline:3px solid #f2a33a;outline-offset:3px}
.legenda{margin:14px 0 0;min-height:28px;color:#102a5c;font-weight:600;font-size:16px;line-height:26px}
.ctrl{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-top:10px}
.ctrl small{color:#5a6f95;font-size:13px;line-height:20px;max-width:46ch}
@media (max-width:820px){
  .hs{padding:0;width:30px;height:30px;min-height:30px;justify-content:center}
  .hs .nm{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .legenda{font-size:15px;line-height:22px;min-height:44px}
}
