/* The drone camera (ui/drone-ui.js): a clean screen - only the 3D picture, the stick on phones and a small bar */
body.drone > :not(.drone-view):not(#droneBar):not(#droneFlash):not(#joy):not(script):not(style):not(link) { visibility: hidden !important; pointer-events: none !important; }
#droneBar { position: fixed; z-index: 90; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); transform: translateX(-50%); display: none; align-items: center; gap: 8px;
  padding: 6px; border-radius: 999px; background: rgba(12,14,18,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .5s; font: 700 13px var(--ui, system-ui); color: #fff; }
#droneBar.show { display: flex; }
#droneBar.idle { opacity: .18; }
#droneBar button { border: 0; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; min-width: 46px; height: 46px; font: 800 17px var(--ui, system-ui); cursor: pointer; touch-action: none; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; }
#droneBar button:active { background: rgba(255,255,255,.3); }
#droneBar [data-rec] i { width: 14px; height: 14px; border-radius: 50%; background: #e74c3c; display: block; }
#droneBar [data-rec] span { font-size: 12px; letter-spacing: .06em; }
#droneBar [data-rec].on { background: #e74c3c; } #droneBar [data-rec].on i { background: #fff; border-radius: 3px; animation: dronePulse 1s infinite; }
#droneBar [data-exit] { background: rgba(231,76,60,.75); }
#droneBar [data-time]:empty { display: none; } #droneBar [data-time] { padding: 0 10px 0 2px; font-variant-numeric: tabular-nums; }
@keyframes dronePulse { 50% { opacity: .35; } }
#droneFlash { position: fixed; inset: 0; z-index: 89; background: #fff; opacity: 0; pointer-events: none; }
#droneFlash.go { animation: droneFlash .35s ease-out; }
@keyframes droneFlash { 0% { opacity: .7; } 100% { opacity: 0; } }
