/* geodrops-1 (LD-20261109-1340-GEODROPS) – uses app tokens, so light/dark follow html[data-theme]. */
.gd-me span{display:block;width:16px;height:16px;margin:3px;border-radius:50%;background:#3b82f6;border:3px solid #fff;box-shadow:0 0 0 0 rgba(59,130,246,.6);animation:gdPulse 2s infinite}
@keyframes gdPulse{0%{box-shadow:0 0 0 0 rgba(59,130,246,.55)}70%{box-shadow:0 0 0 18px rgba(59,130,246,0)}100%{box-shadow:0 0 0 0 rgba(59,130,246,0)}}
.gd-drop span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-size:20px;background:var(--surface);border:2px solid var(--accent);
  box-shadow:0 2px 8px rgba(0,0,0,.35);animation:gdBob 2.4s ease-in-out infinite}
.gd-drop.is-got span{filter:grayscale(1);opacity:.45;animation:none}
@keyframes gdBob{50%{transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.gd-me span,.gd-drop span{animation:none}}
button.radar-drop{background:none;border:0;padding:0;cursor:pointer}
.gd-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0 8px}.gd-head h4{flex:1 1 100%;margin:0;color:var(--accent-600)}
.gd-r{font-size:12px;color:var(--text-2)}.gd-r select{margin-left:4px;padding:4px;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--text)}
.gd-item{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);margin-bottom:8px}
.gd-item.is-got{opacity:.55}.gd-emo{font-size:26px}.gd-info{flex:1;min-width:0}.gd-info b{display:block;overflow-wrap:anywhere}
.gd-info small{display:block;color:var(--text-2);font-size:12px}.gd-far{font-size:12px;color:var(--text-2);text-align:right;max-width:110px}.gd-got{font-size:12px}
.gd-code{display:grid;text-align:center;font-size:11px;color:var(--text-2)}.gd-code b{font:700 16px ui-monospace,monospace;color:var(--text);letter-spacing:1px}
.gd-empty{text-align:center}.gd-note{font-size:11px;color:var(--text-2);margin:6px 0 0}
.gd-form{display:grid;gap:8px}.gd-form input,.gd-form select{width:100%;box-sizing:border-box;padding:9px 10px;border-radius:var(--r-sm);border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit}
.gd-row{display:grid;grid-template-columns:64px 72px 1fr;gap:6px}
.gd-pop b{display:block}.gd-pop small{display:block;color:#555}.gd-pop p{margin:6px 0}.gd-pop .btn{margin-top:6px}
.gd-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--tab-h) + 16px);z-index:2000;max-width:92vw;padding:10px 14px;border-radius:var(--r-md);
  background:var(--text);color:var(--surface);font-size:14px;box-shadow:0 6px 20px rgba(0,0,0,.3)}
/* map.css hides the old demo radar/list; show them again only when geodrops has real data (higher specificity wins) */
#view-map #nearbyDropsList.gd-on{display:block!important}
#view-map .map-radar.gd-on{display:block!important}

/* LD-20261109-1800 map layout: phone — map fills viewport, drops list is bottom sheet */
#view-map.map-layout-v2{display:flex;flex-direction:column;height:calc(100dvh - var(--header-h,64px) - var(--tab-h,64px));max-height:calc(100vh - var(--header-h,64px) - var(--tab-h,64px));overflow:hidden;padding:0}
#view-map.map-layout-v2 .chips-bar--map{flex:0 0 auto;margin:0;padding:6px 10px}
#view-map.map-layout-v2 .map-container{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;max-width:none;margin:0;position:relative}
#view-map.map-layout-v2 .map-wrap{flex:1 1 auto;max-width:none;width:100%;height:100%;aspect-ratio:auto;border-radius:0;box-shadow:none;min-height:180px}
#view-map.map-layout-v2 .map-wrap #map{border-radius:0}
#view-map.map-layout-v2 .map-radar,#view-map.map-layout-v2 .radar-grid{border-radius:0}
#view-map.map-layout-v2 .map-legend,#view-map.map-layout-v2 .map-badge-outside{display:none}
#view-map.map-layout-v2 .gd-sheet-wrap{flex:0 0 auto;position:relative;z-index:500}
#view-map.map-layout-v2 #nearbyDropsList.gd-sheet{
  position:absolute;left:0;right:0;bottom:0;max-height:48%;
  overflow:auto;-webkit-overflow-scrolling:touch;
  background:var(--surface,#fff);border-radius:16px 16px 0 0;
  box-shadow:0 -8px 28px rgba(0,0,0,.18);padding:0 12px 12px;
  transform:translateY(calc(100% - 52px));transition:transform .25s ease;
}
#view-map.map-layout-v2 #nearbyDropsList.gd-sheet.gd-open{transform:translateY(0)}
#view-map.map-layout-v2 #nearbyDropsList.gd-sheet .gd-sheet-handle{
  position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 0 8px;background:var(--surface,#fff);cursor:pointer;user-select:none;
}
#view-map.map-layout-v2 #nearbyDropsList.gd-sheet .gd-sheet-handle::before{
  content:"";width:36px;height:4px;border-radius:4px;background:var(--line,#ccc);display:block;position:absolute;top:6px;left:50%;transform:translateX(-50%);
}
#view-map.map-layout-v2 #nearbyDropsList.gd-sheet .gd-sheet-handle b{font-size:13px;margin-top:6px}
@media (min-width:900px){
  #view-map.map-layout-v2{height:calc(100dvh - var(--header-h,64px) - var(--tab-h,64px));max-height:none;overflow:hidden}
  #view-map.map-layout-v2 .map-container{max-width:none;margin:0;flex:1;display:flex;flex-direction:column}
  #view-map.map-layout-v2 .map-wrap{aspect-ratio:auto!important;border-radius:12px!important;max-width:none!important;height:100%!important;box-shadow:none;margin:0}
  #view-map.map-layout-v2 .map-wrap #map,#view-map.map-layout-v2 .map-radar{border-radius:12px!important}
  #view-map.map-layout-v2 .gd-sheet-wrap{position:absolute;left:12px;right:12px;bottom:12px;max-width:420px;margin:0 auto;z-index:500}
  #view-map.map-layout-v2 #nearbyDropsList.gd-sheet{position:relative;max-height:40vh;transform:translateY(calc(100% - 52px));border-radius:16px}
  #view-map.map-layout-v2 #nearbyDropsList.gd-sheet.gd-open{transform:translateY(0)}
  #view-map.map-layout-v2 #nearbyDropsList.gd-sheet .gd-sheet-handle{display:flex}
}

.gd-demo{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:#f59e0b;color:#111;border-radius:6px;padding:1px 6px;margin-left:4px;vertical-align:middle}

/* LD-20261109-1847: force full-size map vs legacy circular .map-wrap in app.css */
#view-map.map-layout-v2 .map-wrap,
#view-map.map-layout-v2 .map-container .map-wrap{
  aspect-ratio:auto!important;border-radius:0!important;max-width:none!important;width:100%!important;
  height:100%!important;min-height:var(--ld-map-h,60vh)!important;box-shadow:none!important;margin:0!important;
  filter:none!important;background:transparent!important;
}
#view-map.map-layout-v2 .map-wrap #map,
#view-map.map-layout-v2 .map-radar,
#view-map.map-layout-v2 .radar-grid{border-radius:0!important;filter:none!important}
#view-map.map-layout-v2 .map-container{max-width:none!important;height:100%!important;margin:0!important}

/* LD-20261109-1904-FOLLETOS-2 map-full */
body.ld-map-full{overflow:hidden}
body.ld-map-full #topbar{
  position:fixed;top:0;left:0;right:0;z-index:650;height:44px;min-height:44px;padding:0;
  background:linear-gradient(180deg,rgba(15,12,28,.72),rgba(15,12,28,.28) 70%,transparent);
  backdrop-filter:blur(8px);border-bottom:0;pointer-events:none;
}
body.ld-map-full #topbar .topbar__inner{
  max-width:none;padding:4px 8px;gap:6px;align-items:center;min-height:44px;pointer-events:auto;
}
body.ld-map-full #topbar .brand__tag,
body.ld-map-full #topbar .brand__name{display:none}
body.ld-map-full #topbar .brand__logo{width:28px;height:18px}
body.ld-map-full #topbar .search{
  position:absolute;left:52px;right:120px;top:6px;height:32px;margin:0;
  background:rgba(255,255,255,.92);border-radius:999px;box-shadow:0 2px 10px rgba(0,0,0,.18);
}
body.ld-map-full #topbar .search input{font-size:13px;height:32px;padding:0 10px 0 32px}
body.ld-map-full #topbar .lang-selector select{font-size:12px;padding:2px 4px}
body.ld-map-full #topbar .iconbtn{width:34px;height:34px}
body.ld-map-full #main{padding-top:0!important}
body.ld-map-full #view-map.map-layout-v2,
body.ld-map-full #view-map{
  position:fixed!important;top:0!important;left:0!important;right:0!important;
  bottom:calc(var(--tab-h,64px) + env(safe-area-inset-bottom,0px))!important;
  height:auto!important;max-height:none!important;width:100vw!important;max-width:100vw!important;
  margin:0!important;z-index:20;padding:0!important;display:flex!important;flex-direction:column!important;
  overflow:hidden!important;background:transparent;
}
body.ld-map-full #view-map .chips-bar--map{
  position:absolute;top:48px;left:0;right:0;z-index:600;flex:none;margin:0;padding:4px 8px;
  background:transparent;pointer-events:none;display:flex;gap:6px;overflow-x:auto;
}
body.ld-map-full #view-map .chips-bar--map .chip,
body.ld-map-full #view-map .chips-bar--map .chips,
body.ld-map-full #view-map .chips-bar--map button{
  pointer-events:auto;font-size:12px;padding:4px 10px;min-height:28px;
  background:rgba(255,255,255,.92)!important;box-shadow:0 1px 6px rgba(0,0,0,.15);
}
body.ld-map-full #view-map .map-container,
body.ld-map-full #view-map .map-wrap,
body.ld-map-full #view-map .map-wrap #map{
  flex:1 1 auto!important;width:100%!important;height:100%!important;min-height:650px!important;
  aspect-ratio:auto!important;border-radius:0!important;max-width:none!important;margin:0!important;
}
body.ld-map-full .tabbar{z-index:700}
@media (min-width:900px){
  body.ld-map-full #view-map .map-wrap{border-radius:0!important}
}


/* row-fit-1: body.ld-map-full zet het zoekvak op left:52px/right:120px, maar .topbar .search uit
   app.css zet nog width:100%. Bij position:absolute wint die breedte van het links/rechts-paar,
   dus het vak stak 52 px buiten beeld. width:auto laat links en rechts het werk doen. */
body.ld-map-full #topbar .search{width:auto}

/* map-flicker-1: de vaste kaartbalk had backdrop-filter:blur(8px) over onafgebroken bewegende
   speldjes (gdBob, gdPulse). Een backdrop-filter stelt opnieuw samen zodra er iets achter
   beweegt; op Android Chrome ziet dat eruit als knipperen. Het verloop dat er al stond doet
   het werk ook, dus de vervaging gaat eruit en het verloop wordt iets steviger om het
   verschil op te vangen. */
body.ld-map-full #topbar{
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  background:linear-gradient(180deg,rgba(16,24,56,.86),rgba(16,24,56,.52) 70%,rgba(16,24,56,.18))!important;
}
