/* Shared by the SCADA 3D scenes. */
html, body { margin: 0; height: 100%; background: #070b12; overflow: hidden; }
#stage { position: fixed; inset: 0; }
canvas { display: block; }
.tag {
  font: 600 12px/1.2 Barlow, "Segoe UI", sans-serif; color: #dbe7f5; letter-spacing: 0.01em;
  background: rgba(9, 14, 22, 0.78); border: 1px solid rgba(0, 200, 255, 0.35); border-radius: 6px;
  padding: 4px 8px; white-space: nowrap; pointer-events: none; backdrop-filter: blur(3px);
}
.tag b { font: 500 10px "JetBrains Mono", monospace; color: #00c8ff; margin-right: 6px; }
.tag.dmz { border-color: #3fa9ff; box-shadow: 0 0 14px rgba(63, 169, 255, 0.35); }
.tag.sis { border-color: #e0b04c; }
.tag.sis b { color: #e0b04c; }
.tag.fw { border-color: rgba(255, 255, 255, 0.4); }
.tag.fw b { color: #ffffff; }
.tag.alert { border-color: #e5484d; box-shadow: 0 0 14px rgba(229, 72, 77, 0.35); }
.tag.alert b { color: #ff6b6b; }
.tag.out { border-color: rgba(150, 160, 175, 0.5); }
.tag.out b { color: #a9b4c2; }
.tag.gold { border-color: #e0b04c; }
.tag.gold b { color: #e0b04c; }
#hint { position: fixed; left: 14px; bottom: 12px; font: 500 11px "JetBrains Mono", monospace; color: #5f7186; }
#replay { position: fixed; right: 14px; bottom: 10px; font: 600 12px Barlow, sans-serif; color: #e6edf3;
  background: #111820; border: 1px solid #00c8ff; border-radius: 999px; padding: 5px 13px; cursor: pointer; }
#fallback { display: none; width: 100%; height: 100%; object-fit: contain; }
.no-webgl #fallback { display: block; }
