/* Unified dropped-pin editor. Keep source image URL for the compact card,
   but prevent the raw 256x256 map tile from becoming a huge map overlay. */
html:root body#voidral-app#voidral-app #vc-place-thumb {
 display:none!important;visibility:hidden!important;
 width:0!important;height:0!important;min-width:0!important;max-width:0!important;
 min-height:0!important;max-height:0!important;
 position:absolute!important;pointer-events:none!important;
}
html:root body#voidral-app#voidral-app.vr-pin-editor-open #voidral-point-panel{
 z-index:1760!important;
 box-sizing:border-box!important;
 right:14px!important;left:auto!important;
 top:auto!important;bottom:88px!important;
 width:min(328px,calc(100vw - 30px))!important;
 max-width:328px!important;min-width:0!important;
 max-height:min(70dvh,520px)!important;
 margin:0!important;padding:13px!important;
 background:linear-gradient(145deg,#0c3340,#061f2b 92%)!important;
 border:1px solid #418c98!important;border-radius:15px!important;
 box-shadow:0 15px 40px #000b,0 0 12px #20d6e61b!important;
 color:#e8f8fb!important;-webkit-text-fill-color:#e8f8fb!important;
 overflow-x:hidden!important;overflow-y:auto!important;
 overscroll-behavior-y:contain!important;
 scrollbar-width:thin!important;scrollbar-color:#4c97a1 transparent!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel[hidden]{
 display:none!important;pointer-events:none!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel .vp-head{
 min-height:38px!important;height:auto!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:8px!important;padding:0 0 8px!important;
 border-bottom:1px solid #3c7683!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel .vp-head strong{
 font:750 15px/1.25 system-ui!important;color:#f0ffff!important;-webkit-text-fill-color:#f0ffff!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel .vp-head button{
 display:grid!important;place-items:center!important;
 width:34px!important;min-width:34px!important;max-width:34px!important;
 height:34px!important;min-height:34px!important;max-height:34px!important;
 margin:0!important;padding:0!important;
 font:750 23px/1 system-ui!important;
 background:#174250!important;border:1px solid #57959e!important;border-radius:9px!important;
 color:#f2ffff!important;-webkit-text-fill-color:#f2ffff!important;
 clip-path:none!important;box-shadow:none!important;visibility:visible!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel label{
 display:block!important;margin:9px 0!important;font:600 12px/1.4 system-ui!important;
 color:#cae5e9!important;-webkit-text-fill-color:#cae5e9!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel input,
html:root body#voidral-app#voidral-app #voidral-point-panel select{
 display:block!important;box-sizing:border-box!important;
 width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;
 padding:7px 10px!important;margin:5px 0 0!important;
 background:#0a2937!important;border:1px solid #4a7e89!important;border-radius:9px!important;
 color:#edf9fb!important;-webkit-text-fill-color:#edf9fb!important;
 font:500 13px/1.4 system-ui!important;box-shadow:none!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel #vp-coordinates{
 display:block!important;overflow-wrap:anywhere!important;
 font:500 11px/1.5 system-ui!important;color:#a9d6de!important;
 -webkit-text-fill-color:#a9d6de!important;
 padding:6px 0 1px!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel .vp-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:7px!important;padding:0!important;margin:10px 0!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel .vp-actions button{
 display:flex!important;align-items:center!important;justify-content:center!important;
 min-width:0!important;width:100%!important;height:auto!important;min-height:39px!important;
 padding:7px 6px!important;margin:0!important;border-radius:9px!important;
 background:#12404d!important;border:1px solid #498492!important;
 color:#e3f6f9!important;-webkit-text-fill-color:#e3f6f9!important;
 font:650 11px/1.25 system-ui!important;white-space:normal!important;
 box-shadow:none!important;clip-path:none!important;touch-action:manipulation!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel .vp-actions button[data-action=save]{
 background:linear-gradient(135deg,#20dee5,#11bccd)!important;
 color:#062e36!important;-webkit-text-fill-color:#062e36!important;
 border-color:#62eff0!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel .vp-links{
 display:flex!important;flex-wrap:wrap!important;gap:8px 13px!important;margin:7px 0!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel .vp-links a{
 font:600 11px/1.4 system-ui!important;color:#73e1e7!important;-webkit-text-fill-color:#73e1e7!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel #vp-note{
 font:400 11px/1.45 system-ui!important;margin:9px 0 0!important;color:#a9d1d8!important;
 -webkit-text-fill-color:#a9d1d8!important;
}
html:root body#voidral-app#voidral-app #voidral-point-panel :is(input,select,button,a):focus-visible{
 outline:2px solid #4ff1f1!important;outline-offset:2px!important;
}
/* Desktop: move the floating orb and map buttons beside the editor,
   rather than on top of text and inputs. */
@media(min-width:761px){
 html:root body#voidral-app#voidral-app.vr-pin-editor-open .map-controls{
  right:calc(14px + 328px + 13px)!important;left:auto!important;
  top:267px!important;bottom:auto!important;
  z-index:1660!important;
 }
 html:root body#voidral-app#voidral-app.vr-pin-editor-open .gaia-float{
  right:calc(14px + 328px + 13px)!important;left:auto!important;
  top:190px!important;bottom:auto!important;
  z-index:1670!important;
 }
 html:root body#voidral-app#voidral-app.vr-pin-editor-open #vc-placecard:not([hidden]){
  max-width:min(620px,calc(100vw - 370px))!important;
 }
}
/* Phone: show ONE editing surface. Background tools and a duplicate
   destination sheet should not obstruct the pin editor. */
@media(max-width:760px){
 html:root body#voidral-app#voidral-app.vr-pin-editor-open #voidral-point-panel{
  top:clamp(160px,24dvh,232px)!important;
  bottom:calc(83px + env(safe-area-inset-bottom,0px))!important;
  left:10px!important;right:10px!important;
  width:auto!important;max-width:none!important;max-height:none!important;
  padding:12px!important;border-radius:15px!important;z-index:1780!important;
 }
 html:root body#voidral-app#voidral-app.vr-pin-editor-open .map-controls,
 html:root body#voidral-app#voidral-app.vr-pin-editor-open .gaia-float,
 html:root body#voidral-app#voidral-app.vr-pin-editor-open .destination,
 html:root body#voidral-app#voidral-app.vr-pin-editor-open #vc-placecard,
 html:root body#voidral-app#voidral-app.vr-pin-editor-open .vp-map-button{
  visibility:hidden!important;pointer-events:none!important;
 }
 html:root body#voidral-app#voidral-app.vr-pin-editor-open #vc-nav{
  z-index:1790!important;
 }
}
@media(max-height:500px) and (orientation:landscape){
 html:root body#voidral-app#voidral-app.vr-pin-editor-open #voidral-point-panel{
  top:55px!important;bottom:67px!important;
  left:auto!important;right:12px!important;
  width:min(320px,calc(100vw - 25px))!important;
  max-height:none!important;z-index:1780!important;
 }
 html:root body#voidral-app#voidral-app.vr-pin-editor-open .map-controls,
 html:root body#voidral-app#voidral-app.vr-pin-editor-open .gaia-float{
  visibility:hidden!important;pointer-events:none!important;
 }
}

/* One selected-place card at a time.  The legacy compact placecard
   duplicated the destination sheet and covered its Navigate / Nearby buttons
   while the full pin editor was open. */
html:root body#voidral-app#voidral-app.vr-pin-editor-open #vc-placecard{
 display:none!important;visibility:hidden!important;pointer-events:none!important;
}
