/* Fundo da página inicial do EB do Delta: o mapa tático no estilo do site da PM, nas cores do Delta.
   ARQUIVO GERADO por ferramentas/textura_mapa.py: mudar lá e rodar. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 85% at 50% 0%, transparent 45%, rgba(0, 0, 0, .6) 100%),
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Crect x='64' y='54' width='60' height='58' rx='3' fill='rgb(205,225,214)' fill-opacity='.025'/%3E%3Crect x='206' y='186' width='50' height='52' rx='3' fill='rgb(205,225,214)' fill-opacity='.025'/%3E%3Crect x='414' y='54' width='50' height='58' rx='3' fill='rgb(205,225,214)' fill-opacity='.025'/%3E%3Crect x='480' y='384' width='62' height='40' rx='3' fill='rgb(205,225,214)' fill-opacity='.025'/%3E%3Crect x='140' y='520' width='50' height='48' rx='3' fill='rgb(205,225,214)' fill-opacity='.025'/%3E%3Crect x='12' y='250' width='40' height='44' rx='3' fill='rgb(205,225,214)' fill-opacity='.025'/%3E%3Crect x='556' y='250' width='74' height='44' rx='3' fill='rgb(205,225,214)' fill-opacity='.025'/%3E%3Crect x='276' y='384' width='52' height='40' rx='3' fill='rgb(205,225,214)' fill-opacity='.025'/%3E%3Crect x='346' y='186' width='58' height='52' rx='4' fill='rgb(59,255,144)' fill-opacity='.035'/%3E%3Crect x='64' y='384' width='58' height='40' rx='4' fill='rgb(59,255,144)' fill-opacity='.035'/%3E%3Cpath d='M0 470 C80 500 160 440 320 470 S560 440 640 470' stroke='rgb(205,225,214)' stroke-opacity='.06' stroke-width='12' fill='none'/%3E%3Cpath d='M0 470 C80 500 160 440 320 470 S560 440 640 470' stroke='rgb(59,255,144)' stroke-opacity='.10' stroke-width='1' fill='none'/%3E%3Cpath d='M0 0V640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M58 0V640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M131 0V640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M196 0V640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M262 0V640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M404 0V640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M470 0V640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M548 0V640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 0H640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 47H640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 118H640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 176H640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 244H640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 372H640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 431H640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 508H640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 575H640' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M95 118V176' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M228 47V118' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M300 244V301' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M505 176H548' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M131 330H196' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M590 508V575' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M30 600H131' stroke='rgb(205,225,214)' stroke-opacity='.075' stroke-width='1' fill='none'/%3E%3Cpath d='M0 640 L640 0' stroke='rgb(205,225,214)' stroke-opacity='.13' stroke-width='3.2' fill='none'/%3E%3Cpath d='M0 301H640' stroke='rgb(205,225,214)' stroke-opacity='.13' stroke-width='3.2' fill='none'/%3E%3Cpath d='M338 0V640' stroke='rgb(205,225,214)' stroke-opacity='.13' stroke-width='3.2' fill='none'/%3E%3Ctext x='70' y='40' font-family='monospace' font-size='9' letter-spacing='2' fill='rgb(205,225,214)' fill-opacity='.2'%3ESETOR 01%3C/text%3E%3Ctext x='412' y='168' font-family='monospace' font-size='9' letter-spacing='2' fill='rgb(205,225,214)' fill-opacity='.2'%3EQG%3C/text%3E%3Ctext x='150' y='362' font-family='monospace' font-size='9' letter-spacing='2' fill='rgb(205,225,214)' fill-opacity='.2'%3EPAIOL%3C/text%3E%3Ctext x='482' y='500' font-family='monospace' font-size='9' letter-spacing='2' fill='rgb(205,225,214)' fill-opacity='.2'%3ESETOR 07%3C/text%3E%3Ctext x='566' y='236' font-family='monospace' font-size='9' letter-spacing='2' fill='rgb(205,225,214)' fill-opacity='.2'%3E1%C2%AA BIA%3C/text%3E%3Ccircle cx='196' cy='118' r='8' fill='rgb(59,255,144)' fill-opacity='.09'/%3E%3Ccircle cx='196' cy='118' r='2.4' fill='rgb(59,255,144)' fill-opacity='.5'/%3E%3Ccircle cx='470' cy='301' r='8' fill='rgb(236,248,241)' fill-opacity='.09'/%3E%3Ccircle cx='470' cy='301' r='2.4' fill='rgb(236,248,241)' fill-opacity='.5'/%3E%3Ccircle cx='58' cy='431' r='8' fill='rgb(59,255,144)' fill-opacity='.09'/%3E%3Ccircle cx='58' cy='431' r='2.4' fill='rgb(59,255,144)' fill-opacity='.5'/%3E%3Ccircle cx='404' cy='575' r='8' fill='rgb(236,248,241)' fill-opacity='.09'/%3E%3Ccircle cx='404' cy='575' r='2.4' fill='rgb(236,248,241)' fill-opacity='.5'/%3E%3Ccircle cx='262' cy='47' r='8' fill='rgb(59,255,144)' fill-opacity='.09'/%3E%3Ccircle cx='262' cy='47' r='2.4' fill='rgb(59,255,144)' fill-opacity='.5'/%3E%3C/svg%3E") 0 0 / 640px 640px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E %3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E %3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .9 0 0 0 0 .85 0 0 0 .06 0'/%3E%3C/filter%3E %3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px;
}
/* o radar da central, girando devagar no canto (só transform: não pesa) */
body::after {
  content: ""; position: fixed; right: -190px; bottom: -190px; width: 580px; height: 580px; z-index: -1; pointer-events: none;
  border-radius: 50%; opacity: .85;
  background: conic-gradient(from 0deg, rgba(59,255,144, 0) 0deg 290deg, rgba(59,255,144, .12) 356deg, rgba(59,255,144, .32) 360deg),
              repeating-radial-gradient(circle, transparent 0 63px, rgba(59,255,144, .09) 63px 64px);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  animation: mapa-radar 9s linear infinite;
}
@keyframes mapa-radar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }
