*{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app{width:100%;height:100vh;display:flex;flex-direction:column}.header{background:#1a1a2e;color:#fff;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;z-index:1000}.header h1{font-size:1.4rem;font-weight:700;letter-spacing:.5px}.header h1 span{color:#e94560}.header-stats{font-size:.85rem;color:#aaa}.map-container{flex:1;position:relative}.loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#1a1a2ed9;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:999;color:#fff}.spinner{width:48px;height:48px;border:4px solid rgba(255,255,255,.2);border-top-color:#e94560;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}@keyframes spin{to{transform:rotate(360deg)}}.legend{position:absolute;bottom:30px;right:10px;background:#fffffff2;border-radius:8px;padding:12px 16px;z-index:1000;box-shadow:0 2px 8px #0003;font-size:.8rem}.legend h4{margin-bottom:8px;font-size:.85rem;color:#333}.legend-gradient{width:160px;height:14px;background:linear-gradient(to right,#0f0,#ff0,#f80,red);border-radius:3px;margin-bottom:4px}.legend-labels{display:flex;justify-content:space-between;color:#555;font-size:.7rem}.legend-item{display:flex;align-items:center;gap:8px;margin-top:8px}.legend-dot{width:12px;height:12px;border-radius:50%;border:2px solid #333;flex-shrink:0}.error-banner{background:#f44;color:#fff;padding:8px 24px;text-align:center;font-size:.85rem}.cursor-info{position:absolute;bottom:30px;left:10px;background:#000c;color:#fff;padding:8px 14px;border-radius:6px;z-index:1000;font-size:.8rem;line-height:1.5;pointer-events:none;font-family:monospace}
