.drone-active .field-header{display:none}
.drone-active .field-main{padding:0}
.drone-active .field-main>:not(#field):not(#drone-hud){display:none!important}
#drone-hud{position:absolute;inset:0;z-index:10;pointer-events:none;color:#edf4f1;font-size:12px;text-shadow:0 1px 3px #000}
#drone-hud button,#drone-hud input{pointer-events:auto}
.drone-top{position:absolute;top:max(16px,env(safe-area-inset-top));left:18px;right:18px;display:flex;justify-content:space-between;align-items:start;gap:12px}
.drone-top>div{background:#142620cc;padding:10px 14px;border-left:3px solid #b3dec6}
#drone-view-label{display:block;font-size:15px;letter-spacing:.12em}
#drone-telemetry{display:block;margin-top:4px;font-family:monospace}
.drone-crosshair{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:27px;opacity:.5;font-weight:200}
.drone-bottom{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(650px,calc(100% - 28px));padding:12px;background:#10261fe0;border:1px solid #c5dbcd55;border-radius:8px}
.drone-buttons{display:flex;flex-wrap:wrap;gap:6px}
#drone-hud button{background:#1e3931ed;min-height:40px;color:#e5f6ec;border-color:#738b7b}
#drone-hud button.recording{background:#9b3a32}
.drone-camera-controls{display:flex;align-items:center;gap:15px;margin-top:8px}
.drone-camera-controls label{flex:1;margin:0;color:#bcd7c9;font-size:11px}
.drone-camera-controls input{width:100%;margin:0;padding:0;accent-color:#aad0b6;min-height:25px}
.drone-help{font-size:11px;line-height:1.6;color:#bed4c9;margin:7px 0 0}
.drone-touch{display:none;justify-content:space-between;gap:18px;margin-top:9px}
.drone-touch>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#drone-hud .drone-touch button{touch-action:none;user-select:none;min-width:54px;min-height:44px;padding:5px;font-size:11px}
@media(pointer:coarse){.drone-touch{display:flex}}
@media(max-width:600px){.drone-top{left:8px;right:8px;gap:6px;top:8px}.drone-top>div{padding:6px 8px}#drone-view-label{font-size:12px}#drone-telemetry{font-size:9px;max-width:210px}.drone-top button{font-size:11px;padding:6px}.drone-bottom{padding:8px;width:calc(100% - 16px);bottom:8px}.drone-buttons{display:grid;grid-template-columns:1fr 1fr}.drone-buttons button{font-size:11px}.drone-camera-controls{gap:7px}.drone-camera-controls button{font-size:10px;padding:5px}.drone-help{font-size:10px}}
@media(max-height:480px){.drone-bottom{left:8px;bottom:6px;transform:none;width:calc(100% - 16px);padding:5px 8px;display:flex;gap:10px;align-items:center}.drone-buttons{max-width:260px;gap:3px}.drone-camera-controls{width:200px;margin:0}.drone-help{display:none}.drone-touch{margin:0;gap:8px}.drone-camera-controls button{display:none}#drone-hud .drone-touch button{min-width:40px;min-height:35px}.drone-camera-controls label{min-width:60px}}

#drone-video-preview{display:block;width:100%;max-height:55dvh;background:#101715;margin:12px 0}#drone-video-download{display:inline-block;padding:10px 16px;background:#395e4c;color:#e4ffec;border-radius:4px}

.field-actions #drone-open{background:#d4e7a7;color:#182b23;border:1px solid #e9f9c4;font-size:14px;font-weight:700;min-height:40px;padding:8px 14px;box-shadow:0 2px 12px #102b2344}.field-actions #drone-open:hover{background:#e4f5bd;border-color:#fff}
