/* NetOps · mapa animado (topo-scene.js) — mesmo arquivo no NetOps e no NetOps Core */
.tsc { margin: 6px 0 0; border: 1px solid var(--tsc-line, rgba(127,127,160,.28)); border-radius: 14px; overflow: hidden; background: var(--tsc-bg, #0f0c1f); color: #e9e6ff; }
.tsc figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 10px 12px 4px; } .tsc figcaption b { font-size: 13.5px; } .tsc figcaption small { color: #a29dc8; font-size: 11.5px; }
.tsc-cv { position: relative; background: radial-gradient(ellipse at 50% 0%, rgba(124,92,255,.22), transparent 60%), #0f0c1f; }
.tsvg { width: 100%; height: 340px; display: block; } .tsc.cmp .tsvg { height: 250px; }
.tsl { stroke: rgba(170,160,220,.35); stroke-width: 2; } .tsl.k-transito { stroke-dasharray: 6 5; } .tsl.bad { stroke: #ff4d6d; stroke-width: 3; } .tsl.warn { stroke: #ffb020; } .tsl.focus { stroke: #a78bfa; stroke-width: 3; } .tsl.off { stroke: rgba(170,160,220,.15); stroke-dasharray: 3 6; }
.tslt { fill: #8c87b4; font-size: 10px; }
.tsf { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 14; animation: tscdash 1.4s linear infinite; opacity: .9; }
.tsf.clean { stroke: #22c55e; } .tsf.attack { stroke: #ff3b5c; stroke-width: 6; stroke-dasharray: 14 10; filter: drop-shadow(0 0 4px rgba(255,59,92,.8)); } .tsf.div { stroke: #f59e0b; } .tsf.off { stroke: #6b6690; stroke-dasharray: 2 8; animation: none; opacity: .6; }
@keyframes tscdash { to { stroke-dashoffset: -48; } }
.tsp.clean { fill: #86efac; } .tsp.attack { fill: #ffd1d9; filter: drop-shadow(0 0 3px #ff3b5c); } .tsp.div { fill: #fde68a; }
.tsn .tsc0 { fill: #1d1838; stroke: #6d63a8; stroke-width: 2; transition: all .4s; } .tsn .tsi { color: #d8d2ff; } .tsn .tst { fill: #cfc9f2; font-size: 11px; font-weight: 600; paint-order: stroke; stroke: #0f0c1f; stroke-width: 3px; }
.tsn.ok .tsc0 { stroke: #22c55e; } .tsn.warn .tsc0 { stroke: #ffb020; fill: #2b2210; } .tsn.warn .tsi { color: #ffd27a; }
.tsn.bad .tsc0 { stroke: #ff4d6d; fill: #3a1020; stroke-width: 3; } .tsn.bad .tsi { color: #ffb3c0; } .tsn.bad .tst { fill: #ffb3c0; }
.tsn.focus .tsc0 { stroke: #a78bfa; stroke-width: 3; filter: drop-shadow(0 0 6px rgba(167,139,250,.9)); } .tsn.off { opacity: .45; }
.tsn.kd-attacker .tsc0 { fill: #3a0f1a; stroke: #ff3b5c; } .tsn.kd-attacker .tsi { color: #ff8fa3; } .tsn.kd-scrub .tsc0 { fill: #2b2210; stroke: #f59e0b; } .tsn.kd-scrub .tsi { color: #fcd34d; }
.tsr { fill: none; stroke: #ff4d6d; stroke-width: 2; animation: tscping 1.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes tscping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.tsc-cap { display: flex; gap: 10px; align-items: baseline; padding: 8px 12px 2px; min-height: 42px; } .tsc-t { font-weight: 800; color: #c4b5fd; font-size: 12.5px; white-space: nowrap; } .tsc-x { margin: 0; font-size: 13px; line-height: 1.45; color: #ece9ff; }
.tsc-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px 10px; } .tsc-b { width: 30px; height: 28px; border-radius: 8px; border: 1px solid rgba(167,139,250,.35); background: rgba(124,92,255,.14); color: #e9e6ff; cursor: pointer; font-size: 14px; line-height: 1; }
.tsc-b.pl { width: 38px; background: #7c5cff; border-color: #7c5cff; } .tsc-b:hover { filter: brightness(1.15); }
.tsc-dots { display: flex; gap: 5px; flex: 1; flex-wrap: wrap; margin-left: 6px; } .tsc-dots button { flex: 1; min-width: 14px; max-width: 60px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: rgba(167,139,250,.25); cursor: pointer; } .tsc-dots button.on { background: #a78bfa; }
.tsc-n { font-size: 11.5px; color: #a29dc8; min-width: 34px; text-align: right; }
.tsc-leg { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 12px 10px; font-size: 11px; color: #a29dc8; } .tsc-leg span { display: inline-flex; align-items: center; gap: 5px; }
.tsc-leg i.f { width: 16px; height: 3px; border-radius: 2px; } .tsc-leg i.f.clean { background: #22c55e; } .tsc-leg i.f.attack { background: #ff3b5c; } .tsc-leg i.f.div { background: #f59e0b; } .tsc-leg i.f.off { background: #6b6690; }
.tsc-leg i.n { width: 9px; height: 9px; border-radius: 50%; border: 2px solid; } .tsc-leg i.n.bad { border-color: #ff4d6d; } .tsc-leg i.n.warn { border-color: #ffb020; } .tsc-leg i.n.focus { border-color: #a78bfa; }
@media (max-width: 640px) { .tsvg { height: 260px; } .tsc-cap { flex-direction: column; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .tsf { animation: none; } .tsr { animation: none; } }
