@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fontes/inter-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fontes/inter-normal-400-latin.woff2) format('woff2');
  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';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fontes/inter-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fontes/inter-normal-500-latin.woff2) format('woff2');
  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';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fontes/inter-normal-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fontes/inter-normal-600-latin.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fontes/jetbrains-mono-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fontes/jetbrains-mono-normal-400-latin.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fontes/jetbrains-mono-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fontes/jetbrains-mono-normal-500-latin.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fontes/jetbrains-mono-normal-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fontes/jetbrains-mono-normal-600-latin.woff2) format('woff2');
  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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fontes/space-grotesk-normal-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fontes/space-grotesk-normal-500-latin.woff2) format('woff2');
  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: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fontes/space-grotesk-normal-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fontes/space-grotesk-normal-600-latin.woff2) format('woff2');
  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: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fontes/space-grotesk-normal-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fontes/space-grotesk-normal-700-latin.woff2) format('woff2');
  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;
}

/* Layout: sala de comando. O mapa orbital no centro (o Squad é o núcleo), os números à esquerda, o que acontece à direita, os pares embaixo.
   Um visual só, escuro, por escolha: é uma tela de sala de comando. */
:root{
  color-scheme:dark;
  --fundo:#04090d; --fundo2:#07141b; --tinta:#e2f6f9; --tinta2:#8aabb5; --tinta3:#527079;
  --fio:rgba(120,220,235,.14); --fio2:rgba(120,220,235,.34);
  --ciano:#46e3f2; --petroleo:#0F6E7B;
  --c-lei:#14a6bd; --c-alt:#bf8a1c; --c-ia:#a36cf0;
  --ok:#3ddc97; --ambar:#ffc65c; --erro:#ff6170;
  --f-titulo:"Space Grotesk",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-corpo:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-dado:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--fundo)}
body{position:relative;color:var(--tinta);font:400 15px/1.5 var(--f-corpo)}
/* O desenho é de 1600x1000; o JavaScript aplica a escala e centraliza. */
.cena{position:absolute;left:50%;top:50%;width:1600px;height:1000px;margin:-500px 0 0 -800px;overflow:hidden;transform-origin:50% 50%;
  background:radial-gradient(1100px 640px at 50% 380px,#0a2630 0%,rgba(4,9,13,0) 64%),var(--fundo);background-repeat:no-repeat}
.app{max-width:1480px;margin:0 auto;padding-block:56px 0;
  padding-left:16px;padding-right:16px;
  display:grid;grid-template-columns:232px minmax(0,1fr) 330px;
  grid-template-areas:"topo topo topo" "numeros palco feed" "canais canais canais";
  gap:18px 26px;align-items:start}
h1{font:600 26px/1.1 var(--f-titulo);letter-spacing:.02em;margin:0;text-wrap:balance}
h2{font:500 11px/1.3 var(--f-dado);letter-spacing:.1em;text-transform:uppercase;color:var(--tinta2);margin:0 0 6px}
p{margin:0}

.topo{grid-area:topo;display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;border-bottom:1px solid var(--fio);padding-bottom:14px}
.marca{display:flex;align-items:center;gap:12px;min-width:0}
.vivo{width:10px;height:10px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px rgba(61,220,151,.16),0 0 14px var(--ok);flex:none;animation:pisca 1.6s ease-in-out infinite}
@keyframes pisca{50%{opacity:.35}}
.relogio{font:500 15px/1 var(--f-dado);color:var(--tinta2);font-variant-numeric:tabular-nums}
.sub{color:var(--tinta2);font-size:14px;flex:1 1 320px;min-width:0}
.selo{font:500 11px/1 var(--f-dado);letter-spacing:.08em;text-transform:uppercase;color:var(--tinta2);border:1px solid var(--fio2);border-radius:3px;padding:3px 7px;margin-left:6px;white-space:nowrap;display:inline-block}
.botoes{display:flex;flex-wrap:wrap;gap:8px}
.bt{font:500 12px/1 var(--f-dado);letter-spacing:.08em;text-transform:uppercase;height:38px;padding:0 14px;border-radius:4px;border:1px solid var(--fio2);background:rgba(10,24,32,.6);color:var(--tinta);cursor:pointer;display:inline-flex;align-items:center;gap:9px}
.bt i{width:8px;height:8px;border-radius:50%;background:var(--tinta3);flex:none}
.bt:hover{border-color:var(--ciano)}
.bt:focus-visible{outline:2px solid var(--ciano);outline-offset:2px}
.bt[aria-pressed="true"]{border-color:var(--ciano);background:rgba(70,227,242,.12)}
.bt[aria-pressed="true"] i{background:var(--ciano);box-shadow:0 0 10px var(--ciano)}

.numeros{grid-area:numeros;display:flex;flex-direction:column;min-width:0}
.kpi{display:flex;flex-direction:column;gap:2px;padding:14px 0;border-bottom:1px solid var(--fio);min-width:0}
.kpi:first-child{padding-top:0}
.kpi:last-child{border-bottom:0}
.rot{font:500 11px/1.3 var(--f-dado);letter-spacing:.1em;text-transform:uppercase;color:var(--tinta2)}
.kpi b{font:600 40px/1.08 var(--f-titulo);font-variant-numeric:tabular-nums;letter-spacing:-.01em;text-shadow:0 0 22px rgba(70,227,242,.35)}
.kpi b small{font:500 15px/1 var(--f-dado);color:var(--tinta2);margin-left:5px;text-shadow:none;letter-spacing:0}
.kpi .nota{font-size:12.5px;color:var(--tinta2);min-height:1.5em;font-variant-numeric:tabular-nums}
.fio-vivo{width:100%;height:auto;display:block;margin:4px 0 2px;overflow:visible;cursor:crosshair;touch-action:none}
.fv-area{fill:var(--c-lei);opacity:.16}
.fv-linha{fill:none;stroke:var(--c-lei);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.fv-ponto{fill:var(--ciano);stroke:var(--fundo);stroke-width:2}
.fv-mira{stroke:var(--fio2);stroke-width:1}
.leds{display:flex;gap:5px;margin:8px 0 4px}
.leds i{flex:1;height:6px;border-radius:2px;background:var(--ok)}
.leds i.fora{background:var(--erro)}

.palco{grid-area:palco;min-width:0}
.quadro{position:relative}
.quadro::before,.quadro::after{content:"";position:absolute;width:22px;height:22px;border:1px solid var(--fio2);pointer-events:none}
.quadro::before{top:0;left:0;border-right:0;border-bottom:0}
.quadro::after{bottom:0;right:0;border-left:0;border-top:0}
#mapa{display:block;width:100%;height:auto}
#mapa text{font-family:var(--f-corpo);fill:var(--tinta)}
.grade{fill:none;stroke:var(--fio);stroke-width:1}
.brilho{fill:url(#g-brilho)}
.orbita{fill:none;stroke:var(--fio2);stroke-width:1.2;stroke-dasharray:1 7;stroke-linecap:round}
.varre{animation:gira 11s linear infinite}
.varre path{fill:var(--ciano)}
.varre line{stroke:var(--ciano);stroke-width:1.2;opacity:.5}
@keyframes gira{to{transform:rotate(360deg)}}
.raio{fill:none;stroke:var(--ciano);stroke-width:1.2;stroke-dasharray:2 8;stroke-linecap:round;opacity:.55;animation:marcha 1.3s linear infinite}
@keyframes marcha{to{stroke-dashoffset:-20}}
.feixe-b{fill:none;stroke:var(--ciano);stroke-linecap:round;opacity:.07}
.feixe{fill:none;stroke:var(--ciano);stroke-linecap:round;opacity:.42}
.pulsos{mix-blend-mode:screen}
.pb{fill:none;stroke-linecap:round;opacity:.3}
.pn{fill:none;stroke-linecap:round}
.t-lei{stroke:var(--c-lei)} .t-alt{stroke:var(--c-alt)} .t-ia{stroke:var(--c-ia)} .t-err{stroke:var(--erro)} .t-reg{stroke:var(--tinta3)}
.estouro{fill:none;stroke:var(--erro);stroke-width:2;transform-box:fill-box;transform-origin:center;animation:estouro .7s ease-out forwards}
@keyframes estouro{from{transform:scale(.4);opacity:1}to{transform:scale(3.4);opacity:0}}
.rf{paint-order:stroke;stroke:var(--fundo);stroke-width:5px;stroke-linejoin:round}
.taxa{font-family:var(--f-dado) !important;font-weight:500;font-variant-numeric:tabular-nums}

.nucleo{cursor:pointer;outline:none}
.anel{fill:none;stroke:var(--ciano)}
.a1{stroke-width:1.4;stroke-dasharray:3 9;opacity:.85;animation:gira 36s linear infinite}
.a2{stroke-width:2.2;stroke-dasharray:64 22;opacity:.55;animation:gira 52s linear infinite reverse}
.a3{stroke-width:5;stroke-dasharray:1 11;opacity:.32}
.disco{fill:url(#g-nucleo);stroke:var(--ciano);stroke-width:1.6}
.halo{fill:none;stroke:var(--ciano);stroke-width:1.2;opacity:0;animation:halo 3.4s ease-out infinite}
.halo.h2{animation-delay:-1.7s}
@keyframes halo{0%{transform:scale(1);opacity:.55}100%{transform:scale(2.5);opacity:0}}
.nucleo .nome{font-family:var(--f-titulo) !important;font-weight:700;letter-spacing:.14em;fill:#fff !important}
.nucleo .dado{font-family:var(--f-dado) !important;fill:var(--tinta) !important}
.nucleo:focus-visible .disco,.nucleo.sel .disco{stroke-width:3}

.no{cursor:pointer;outline:none}
.no .corpo{fill:var(--fundo2);stroke:var(--fio2);stroke-width:1.2}
.no .trilho{fill:none;stroke:var(--fio);stroke-width:3}
.no .medidor{fill:none;stroke:var(--ciano);stroke-width:3;stroke-linecap:round;transition:stroke-dasharray .8s ease}
.no .icone{fill:none;stroke:var(--tinta);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.no .icone .cheio{fill:var(--tinta);stroke:none}
.no .nome{font-family:var(--f-titulo) !important;font-weight:600}
.no .papel{fill:var(--tinta2) !important}
.no .dado{font-family:var(--f-dado) !important;font-variant-numeric:tabular-nums}
.no:focus-visible .corpo,.no.sel .corpo{stroke:var(--ciano);stroke-width:2.6}
.no.chegou .corpo{animation:chegou .5s ease-out}
@keyframes chegou{0%{stroke:var(--ciano);stroke-width:4.5}100%{stroke-width:1.2}}

.legenda{display:flex;flex-wrap:wrap;gap:6px 18px;padding:12px 0 10px;font-size:12.5px;color:var(--tinta2)}
.legenda span{display:inline-flex;align-items:center;gap:7px}
.legenda i{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}
.legenda i.c-lei{background:var(--c-lei)} .legenda i.c-alt{background:var(--c-alt)} .legenda i.c-ia{background:var(--c-ia)}
.legenda i.erro{border-radius:1px;transform:rotate(45deg);background:var(--erro)}
.legenda u{display:inline-block;width:26px;height:0;border-top:2px solid var(--ciano);text-decoration:none;opacity:.6}
.legenda u.tr{border-top:2px dotted var(--ciano)}
#detalhe{border-top:1px solid var(--fio);padding:12px 0 0;font-size:14px;line-height:1.5;color:var(--tinta2);min-height:3.4em;max-width:78ch}
#detalhe b{font-family:var(--f-titulo);font-weight:600;color:var(--tinta)}

.feed{grid-area:feed;min-width:0}
#agora{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;max-height:560px;overflow:hidden;
  -webkit-mask-image:linear-gradient(#000 72%,transparent);mask-image:linear-gradient(#000 72%,transparent)}
#agora li{display:grid;grid-template-columns:auto 8px minmax(0,1fr) auto;gap:10px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--fio);font-size:13.5px;line-height:1.35;color:var(--tinta2);animation:entra .3s ease-out}
@keyframes entra{from{opacity:.5;transform:translateY(-6px)}to{opacity:1;transform:none}}
#agora time{font:400 12px/1 var(--f-dado);color:var(--tinta3);font-variant-numeric:tabular-nums}
#agora .pt{width:8px;height:8px;border-radius:50%;align-self:center}
#agora .pt.lei{background:var(--c-lei)} #agora .pt.alt{background:var(--c-alt)} #agora .pt.ia{background:var(--c-ia)} #agora .pt.bkp{background:var(--tinta3)}
#agora .pt.err{background:var(--erro);border-radius:1px;transform:rotate(45deg)}
#agora b{font-weight:600;color:var(--tinta)}
#agora .ms{font:400 12px/1 var(--f-dado);color:var(--tinta2);font-variant-numeric:tabular-nums;white-space:nowrap}

.canais{grid-area:canais;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);overflow:hidden;border-top:1px solid var(--fio);border-bottom:1px solid var(--fio);min-width:0}
.canal{padding:14px 16px;border-left:1px solid var(--fio);display:flex;flex-direction:column;gap:4px;min-width:0}
.canal:first-child{border-left:0;padding-left:0}
.canal .par{font:600 14px/1.3 var(--f-titulo)}
.canal b{font:600 26px/1.1 var(--f-titulo);font-variant-numeric:tabular-nums}
.canal b small{font:500 12px/1 var(--f-dado);color:var(--tinta2);margin-left:4px}
.barra{height:4px;background:var(--fio);border-radius:2px;overflow:hidden;margin:2px 0}
.barra i{display:block;height:100%;background:var(--c-lei);border-radius:2px;transition:width .8s ease}
.canal .dado{font:400 12px/1.3 var(--f-dado);color:var(--tinta2);font-variant-numeric:tabular-nums}
.canal .mais{font-size:12.5px;color:var(--tinta2)}


.quieto *,.quieto *::before,.quieto *::after{animation-play-state:paused !important}
@media (prefers-reduced-motion: reduce){
  .vivo,.varre,.raio,.a1,.a2,.halo,#agora li,.no.chegou .corpo{animation:none}
  .halo{opacity:.3}
  .varre{transform:rotate(150deg)}
  .no .medidor{transition:none}
  .barra i{transition:none}
}
