* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #11151b; color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
#city-container { position: fixed; inset: 0; }
#city { display: block; width: 100vw; height: 100vh; }
.sidebar { position: fixed; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 20; }
.sidebar-btn { padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); background: rgba(20,22,28,0.85); color: #fff; font-size: 13px; cursor: pointer; backdrop-filter: blur(4px); min-width: 160px; text-align: left; }
.sidebar-btn:hover { background: rgba(255,255,255,0.12); }
.stats { position: fixed; top: 16px; left: 16px; background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 12px; z-index: 20; min-width: 150px; display: flex; flex-direction: column; gap: 8px; }
.stat { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.stat-label { opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-value { font-weight: 700; font-variant-numeric: tabular-nums; }
.hud-fps { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 12px; font-size: 13px; z-index: 20; }
.legend { position: fixed; bottom: 14px; right: 14px; background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 12px; font-size: 11px; opacity: 0.85; z-index: 20; }
.quake-badge { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); background: rgba(200,40,40,0.9); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 8px 14px; font-weight: 700; letter-spacing: 0.12em; z-index: 30; }
.hidden { display: none; }
@media (prefers-reduced-motion: reduce) {
  .quake-badge { animation: none !important; }
}
