* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: system-ui, -apple-system, sans-serif; }
#topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: rgba(20,30,48,0.92); color: #fff; backdrop-filter: blur(6px); }
#topbar h1 { font-size: 16px; font-weight: 600; }
#locateBtn { background: #2ea6ff; color: #fff; border: none; border-radius: 8px; padding: 8px 12px; font-size: 13px; cursor: pointer; }
#statusBar { position: absolute; top: 52px; left: 0; right: 0; z-index: 999; padding: 6px 14px; font-size: 13px; text-align: center; background: rgba(255,255,255,0.92); color: #333; border-bottom: 1px solid #ddd; }
#map { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
#legend { position: absolute; bottom: 12px; left: 12px; z-index: 1000; background: rgba(255,255,255,0.95); border-radius: 8px; padding: 8px 12px; font-size: 12px; display: flex; gap: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); flex-wrap: wrap; }
#legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.allclear { background: #2ecc71; } .att { background: #f1c40f; } .dan { background: #e74c3c; } .sd { background: #ff0000; box-shadow: 0 0 6px #ff0000; }
.airport { background: #ff0000; border-radius: 50%; position: relative; }
.airport::after { content: '✕'; color: #fff; font-size: 10px; font-weight: bold; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pulse { width: 24px; height: 24px; border-radius: 50%; background: var(--c); position: relative; box-shadow: 0 0 10px var(--c); }
.pulse::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--c); animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.city-hotspot { animation: cityPulse 1.6s infinite; }
@keyframes cityPulse { 0%,100% { opacity: 0.6; } 50% { opacity: 0.15; } }
.airport-cross { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: bold; color: #ff0000; background: rgba(255,255,255,0.85); border: 2px solid #ff0000; border-radius: 50%; box-shadow: 0 0 12px rgba(255,0,0,0.8); animation: crossPulse 1.4s infinite; }
@keyframes crossPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.7; } }