/* ============================================================
   WhereTooEat — MAP COMPOSITION AUTHORITY (2026-10-07)

   SINGLE AUTHORITY for desktop map composition. Loaded LAST, after
   panel-anchor-20261004.css and map-zoom-rail-20261004.css.

   Contains ONLY:
     .workspace geometry      #mapShell geometry
     left/right panel position + surface
     desktop map height       desktop promoted/map seam
     desktop zoom-control location
     desktop map legend location
     desktop marker hierarchy (Steps 15-19)

   NOTHING here touches: MapLibre, OpenFreeMap, tiles, map style source
   (js/explore-mapstyle-*.js), marker coordinates, restaurant data,
   clustering, filters, distance maths, profile behaviour, or the API.

   WHY THIS FILE EXISTS (root cause, verified in Chrome 2026-10-07):
   The full-canvas architecture was ALREADY correct — explore-redesign-20261001.css
   makes .workspace an absolute stage and #mapShell a full-bleed absolute layer,
   and the panels were already position:absolute z-20 overlays. The breakage was
   that LATER stylesheets re-anchored the panels for a layout that no longer exists:
     - polish-20261002.css  .left-panel,.right-panel { top: 166px }
       (its comment: "header 64 + view-bar 32 + promo 56 + 14px") — that stack
       is now chrome floating OVER the map, so 166px pushed both panels into a
       dead band and left the top of the map empty.
     - app.css (mapvis1 block) .pin { border-width:2.5px } plus a stacked
       .pin-aura and an !important 4-ring promoted glow — every marker read
       "large and uniformly glowing".
   This file re-states the intended geometry with sufficient specificity and
   load order, scoped to desktop so mobile drawers are untouched.
   ============================================================ */

@media (min-width: 901px) {

  /* ---------- STEP 1/4/7: workspace is the FULL-BLEED map stage ----------
     Map runs under the frosted header + promoted rail so chrome glassmorph
     frosts the globe the same way Cuisine Atlas / Verified Directory do.
     Header + promo are fixed overlays (see header-controls-20261011.css).

     Positioned absolutely rather than returned to flex flow on purpose:
     .promo-hero-pin (200vh) is a following sibling inside the same flex column,
     so an in-flow .workspace would be flex-shrunk to its min-height by it. */
  .workspace {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0; /* full bleed under floating chrome */
    display: block;
    width: auto;
    height: auto;
    min-height: 620px;
    overflow: hidden;
    /* app.css "mapvis1" set gap/padding for the old grid layout — reset both
       so nothing insets the stage or the map. */
    padding: 0;
    gap: 0;
  }

  /* ---------- STEP 1: map is the FULL-BLEED backplane ----------
     Must stay full width. No margin-left for Atlas, no margin-right for the
     directory, no calc(100% - panel widths), no grid-column. */
  #mapShell,
  .map-shell {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
  }

  /* ---------- STEPS 2/3/11/13/14: both panels FLOAT above the map ----------
     Anchored to the top of the stage (~20px), not 166px down. Widths per spec:
     268 / 300 default, 280 / 320 at >=1700px, 250 / 282 at 1400-1699px. */
  .left-panel,
  .right-panel {
    position: absolute;
    z-index: 20;
    /* clear fixed header + promo rail, then 20px gap (same visual as before full-bleed) */
    top: calc(var(--header-h, 64px) + 58px + 20px);
    bottom: 20px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
  }

  .left-panel {
    left: 28px;
    right: auto;
    width: 268px;
    max-height: calc(100% - 40px);
    background: linear-gradient(180deg, rgba(10, 24, 32, 0.28), rgba(6, 16, 22, 0.20));
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .right-panel {
    left: auto;
    right: 28px;
    width: 300px;
    max-height: calc(100% - 40px);
    background: linear-gradient(180deg, rgba(10, 24, 32, 0.28), rgba(6, 16, 22, 0.20));
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  /* Panel must not shrink the map by consuming centre space — the centre is
     the uncovered map and must stay large. */

  /* ---------- STEP 12: internal scroll, page never scrolls for Atlas ---------- */
  .left-panel,
  .right-panel {
    display: flex;
    flex-direction: column;
  }
  .left-panel .filters,
  .right-panel > .feed,
  #social.has-selection {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
  .left-panel .filters::-webkit-scrollbar { width: 6px; }
  .left-panel .filters::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
  }

  /* ---------- STEP 5: no view-bar strip on desktop Explore ----------
     It stays in the DOM for other views; the newer glass chrome does not
     include a horizontal status strip between header and promoted rail. */
  #viewBar {
    display: none;
  }

  /* ---------- STEPS 6/7: promoted rail sits directly on the map (frosted glass) ----------
     No thick divider, no navy gap, no status strip, no blank row between the
     rail and the top edge of the map. */
  .promo {
    position: relative;
    z-index: 30;
    height: 58px;
    padding: 8px 16px;
    margin: 0;
    background: rgba(8, 20, 26, 0.25);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
    backdrop-filter: blur(12px) saturate(125%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  }

  /* Compact promo card: photo circle + restaurant + city + rating + AD badge */
  .promo .promo-card,
  .promo .card {
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(223, 177, 55, 0.28);
  }

  /* ---------- STEP 20: zoom rail + nearby controls, RIGHT of the map ----------
     ZOOM-RIGHT 2026-10-20 (Daniel): the zoom bar moved from the Atlas side to the
     right side of the map, mirroring the same 18px gap off the Verified Directory
     panel. The reset / 3D / nearby group sits directly above the rail so the
     Nearby (⌾) control is adjacent to the zoom slider.
     --wte-map-controls-right is the single anchor used by BOTH the rail and
     .controls (header-controls-20261011.css reads it, so they can never drift). */
  #mapShell {
    --wte-map-controls-right: calc(28px + 300px + 18px); /* right gutter + panel + gap */
    --wte-map-zoom-rail-h: 222px;
  }
  #mapShell .wte-zoom-rail {
    left: auto;
    right: var(--wte-map-controls-right);
    bottom: 78px;
    width: 40px;
    background: rgba(8, 20, 26, 0.28);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
  }
  .controls {
    left: auto;
    right: var(--wte-map-controls-right);
    bottom: calc(78px + var(--wte-map-zoom-rail-h) + 10px);
  }
  /* app.css hides the locate/nearby button on desktop; it must be reachable
     next to the zoom rail now that the group is visible. "NEARBY" caption +
     the same sky-blue accent as the Cuisine Atlas Nearby chip make it obvious
     this is the same near-me action, not a generic crosshair. */
  #mapShell .controls #locateBtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: #7dd3fc;
    font-size: 16px;
    line-height: 1;
  }
  #mapShell .controls #locateBtn::after {
    content: "NEARBY";
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1;
    color: rgba(125, 211, 252, 0.92);
  }
  #mapShell .controls #locateBtn:hover::after { color: #bae6fd; }
  /* The rail is the only zoom family on desktop; the legacy + / − stay in the
     DOM (hidden) so a resize back to phone width restores them. */
  #mapShell .controls #zoomIn,
  #mapShell .controls #zoomOut { display: none; }

  /* ---------- STEP 21: legend centred in the MAP visual area ----------
     The panels overlap the map, so the map-safe centre is between the two
     panel inner edges, not the physical viewport centre. */
  .legend {
    display: flex;
    bottom: 16px;
    left: calc(28px + 268px + (100% - 28px - 268px - 28px - 300px) / 2);
    transform: translateX(-50%);
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(8, 20, 26, 0.26);
    border: 1px solid rgba(225, 179, 58, 0.22);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }

  /* ============================================================
     STEPS 15-19: MARKER HIERARCHY
     Before: every .pin was 48px with a two-ring glow AND a stacked
     .pin-aura, plus an !important 4-ring promoted glow on top. Everything
     glowed, so nothing had priority.
     After: normal = small and calm. Glow is reserved for selected.
     ============================================================ */

  /* STEP 15 — size must NOT encode priority.
     app.css ties size to the glow class: `.pin.glow-promoted` sits in the
     `.lg` group (56px, 3px border) and `.pin.glow-exclusive` in the `.md` group
     (48px). Every marker in the inventory carries one of those classes, so every
     restaurant was enlarged by its own glow. Normalise the whole photo-marker
     family to the 44px base; priority is expressed by edge + halo only.
     Equal specificity to app.css:320-332 and later in load order, so no
     !important is needed here. `.small` (32px) and clusters are left alone. */
  .pin,
  .pin.photo-pin.lg, .pin.photo.lg, .pin.glow-promoted,
  .pin.photo-pin.md, .pin.photo.md, .pin.glow-exclusive,
  .pin.photo-pin {
    width: 44px;
    height: 44px;
  }

  /* STEP 16 — normal photo marker: calm, no giant outer glow */
  .pin {
    border-width: 2px;
    border-color: rgba(245, 220, 146, 0.88);
    box-shadow:
      0 0 0 2px rgba(228, 181, 57, 0.20),
      0 4px 13px rgba(0, 0, 0, 0.45);
    filter: none; /* app.css mapvis1 added saturate/brightness to every pin */
    z-index: 2;
  }

  /* the stacked aura is what made every marker look like it glowed */
  .pin > .pin-aura,
  .pin.promoted > .pin-aura,
  .pin.glow-promoted > .pin-aura {
    display: none !important;
  }

  /* normal: scale 1.0 · hover: 1.06 */
  .pin:hover {
    transform: translate(-50%, -50%) scale(1.06);
  }
  .pin.is-hover {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.55),
      0 4px 14px rgba(0, 0, 0, 0.45);
  }

  /* STEP 15 — promoted: slightly stronger gold edge only, NOT a bigger glow.
     !important is required here: app.css "mapvis1" declares an !important
     4-ring glow on .pin.promoted/.glow-promoted. */
  .pin.promoted,
  .pin.glow-promoted {
    border-color: #ffe08a !important;
    box-shadow:
      0 0 0 2px rgba(228, 181, 57, 0.34),
      0 4px 14px rgba(0, 0, 0, 0.45) !important;
    filter: none !important;
  }

  /* STEP 17 — selected: this is where the glow belongs */
  .pin.selected {
    transform: translate(-50%, -50%) scale(1.13);
    border-color: #ffc24a;
    z-index: 30;
    animation: none; /* replace the 2.8s pulse with the static spec halo */
    box-shadow:
      0 0 0 3px rgba(238, 192, 64, 0.34),
      0 0 18px rgba(238, 192, 64, 0.68),
      0 0 34px rgba(238, 192, 64, 0.25);
  }

  /* STEP 19 — clusters: simple dark translucent circle + number.
     No photograph, no neon ring. */
  .pin.cluster,
  .pin.cluster.xl,
  .pin.cluster.lg,
  .pin.cluster.md {
    width: 40px;
    height: 40px;
    border-width: 1px;
    border-color: rgba(226, 184, 67, 0.28);
    background: rgba(7, 15, 17, 0.90);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.36);
    border-radius: 50%;
  }
  .pin.cluster .pin-face,
  .pin.cluster .pin-face img {
    display: none; /* clusters show a number, never a photo */
  }

  /* STEP 18 — label card appears only for selected / hovered / promoted /
     highlighted, never on every marker. Short content only. */
  .pin .pin-city {
    background: rgba(3, 10, 13, 0.92);
    border: 1px solid rgba(221, 175, 57, 0.30);
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pin .pin-city .meta,
  .pin .pin-city p { font-size: 9px; font-weight: 500; }
}

/* ---------- STEP 14: wider panels on large desktops ---------- */
@media (min-width: 1700px) {
  .left-panel { width: 280px; }
  .right-panel { width: 320px; }
  #mapShell { --wte-map-controls-right: calc(28px + 320px + 18px); }
  .legend { left: calc(28px + 280px + (100% - 28px - 280px - 28px - 320px) / 2); }
}

@media (min-width: 1400px) and (max-width: 1699px) {
  .left-panel { width: 250px; }
  .right-panel { width: 282px; }
  #mapShell { --wte-map-controls-right: calc(28px + 282px + 18px); }
  .legend { left: calc(28px + 250px + (100% - 28px - 250px - 28px - 282px) / 2); }
}

/* NOTE — !important used in this file (Step 25 audit):
   1. .pin.promoted / .pin.glow-promoted  border-color + box-shadow + filter
      -> unavoidable: app.css "mapvis1" declares !important on the same props.
   2. .pin > .pin-aura (+ promoted variants)  display:none
      -> unavoidable: app.css declares !important on .pin.promoted > .pin-aura.
   Every other rule wins by load order + equal-or-higher specificity.
   No !important is used for any layout/geometry rule. */

/* ============================================================
   TRANSPARENT FROSTED GLASS & DARK COLOR REMOVAL (2026-10-11)
   ============================================================ */

/* 1. Remove all dark vignette shading over the map */
.map-vignette,
#mapShell .map-vignette {
  display: none !important;
  background: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2. Header: NO background color — completely clear */
/* Header surface = same frosted glass as Cuisine Atlas / Verified Directory panels */
.header,
.app > .header {
  background: linear-gradient(180deg, rgba(10, 24, 32, 0.28), rgba(6, 16, 22, 0.20)) !important;
  background-color: transparent !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
  backdrop-filter: blur(14px) saturate(130%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}
.header::before,
.header::after,
.app > .header::before,
.app > .header::after {
  display: none !important;
  background: none !important;
  content: none !important;
}
.header .search,
.app > .header .search {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.header .actions > .action,
.app > .header .actions > .action {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}

/* 3. Panel inner elements - remove solid dark fills, keep readable with light glass */
.left-panel .panel-title,
.right-panel .panel-title {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
}
.left-panel .filter-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.left-panel .filter-search {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}
.left-panel .mini-chip {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}
.left-panel .mini-chip.on {
  background: rgba(225, 179, 59, 0.20) !important;
  border-color: rgba(225, 179, 59, 0.50) !important;
}

/* Nearby button in Cuisine Atlas: transparent blue */
#nearBtn,
.left-panel #nearBtn,
.left-panel .mini-chip[data-atlas="near"],
.mini-chip[data-atlas="near"] {
  background: rgba(14, 165, 233, 0.24) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  color: #7dd3fc !important;
  -webkit-backdrop-filter: blur(8px) saturate(130%) !important;
  backdrop-filter: blur(8px) saturate(130%) !important;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

#nearBtn:hover,
.left-panel #nearBtn:hover,
.left-panel .mini-chip[data-atlas="near"]:hover {
  background: rgba(14, 165, 233, 0.38) !important;
  border-color: rgba(56, 189, 248, 0.70) !important;
  color: #bae6fd !important;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px);
}

#nearBtn.active,
#nearBtn.on,
.left-panel #nearBtn.active,
.left-panel #nearBtn.on,
.left-panel .mini-chip[data-atlas="near"].on {
  background: rgba(2, 132, 199, 0.45) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.30) !important;
}
.right-panel .mini-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.right-panel .feed-item,
.right-panel .trend-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 12px !important;
}

/* 4. Previews, popups, and floating directory cards */
.preview,
.spot-tip,
.cluster-sheet,
.md-card {
  background: rgba(10, 22, 30, 0.32) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
  backdrop-filter: blur(14px) saturate(125%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25) !important;
}

/* ============================================================
   Desktop Action Buttons & Expanded More Options (No Emojis)
   ============================================================ */

/* Expanded Action Buttons on Desktop */
@media (min-width: 901px) {
  #listRestBtn,
  #promoteBtn,
  #worldTripBtn,
  #truckBtn,
  #loginBtn,
  #headerMoreBtn {
    width: auto !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 13px !important;
    gap: 6px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #listRestBtn .action-label,
  #promoteBtn .action-label,
  #worldTripBtn .action-label,
  #truckBtn .action-label,
  #loginBtn .action-label,
  #headerMoreBtn .action-label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: nowrap !important;
    font-size: 11.5px !important;
    font-weight: 750 !important;
    letter-spacing: 0.04em !important;
    display: inline-block !important;
    line-height: 1 !important;
  }
}

/* Specific button surface treatments */
#listRestBtn,
#promoteBtn {
  background: rgba(225, 179, 59, 0.16) !important;
  border: 1px solid rgba(225, 179, 59, 0.45) !important;
  color: #ffd77a !important;
  box-shadow: 0 2px 10px rgba(225, 179, 59, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}
#listRestBtn:hover,
#listRestBtn:focus-visible,
#promoteBtn:hover,
#promoteBtn:focus-visible {
  background: rgba(225, 179, 59, 0.28) !important;
  border-color: rgba(255, 215, 122, 0.70) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(225, 179, 59, 0.25) !important;
  transform: translateY(-1px);
}

#worldTripBtn,
#truckBtn {
  background: rgba(225, 179, 59, 0.16) !important;
  border: 1px solid rgba(225, 179, 59, 0.45) !important;
  color: #ffd77a !important;
  box-shadow: 0 2px 10px rgba(225, 179, 59, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}
#worldTripBtn:hover,
#worldTripBtn:focus-visible,
#truckBtn:hover {
  background: rgba(225, 179, 59, 0.28) !important;
  border-color: rgba(255, 215, 122, 0.70) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(225, 179, 59, 0.25) !important;
  transform: translateY(-1px);
}
  background: rgba(225, 179, 59, 0.28) !important;
  border-color: rgba(255, 215, 122, 0.70) !important;
  box-shadow: 0 4px 16px rgba(225, 179, 59, 0.25) !important;
  transform: translateY(-1px);
}
#truckBtn.active,
#truckBtn[aria-pressed="true"] {
  background: rgba(225, 179, 59, 0.42) !important;
  border-color: #ffd77a !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(255, 215, 122, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

#loginBtn {
  background: rgba(14, 20, 26, 0.45) !important;
  border: 1px solid rgba(225, 179, 59, 0.35) !important;
  color: #ffd77a !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}
#loginBtn:hover,
#loginBtn:focus-visible {
  background: rgba(225, 179, 59, 0.22) !important;
  border-color: #ffd77a !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(225, 179, 59, 0.35) !important;
  transform: translateY(-1px);
}

#headerMoreBtn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}
#headerMoreBtn:hover,
#headerMoreBtn:focus-visible,
.header-more.is-open #headerMoreBtn {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 215, 122, 0.55) !important;
  color: #ffd77a !important;
  box-shadow: 0 0 14px rgba(255, 215, 122, 0.25) !important;
}
#headerMoreBtn .more-caret {
  font-size: 10px !important;
  opacity: 0.8 !important;
  margin-left: 2px !important;
  transition: transform 0.2s ease !important;
  display: inline-block !important;
}
.header-more.is-open #headerMoreBtn .more-caret {
  transform: rotate(180deg) !important;
}

/* Expanded More Options Dropdown */
.header-more-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  min-width: 290px !important;
  max-width: 340px !important;
  width: max-content !important;
  padding: 8px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(180deg, rgba(12, 26, 36, 0.90), rgba(7, 16, 23, 0.94)) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  display: grid !important;
  gap: 6px !important;
  z-index: 100 !important;
}
.header-more-menu[hidden] {
  display: none !important;
}

.header-more-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  width: 100% !important;
  text-align: left !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text, #fff8ea) !important;
  cursor: pointer !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease !important;
}
.header-more-item:hover,
.header-more-item:focus-visible {
  background: rgba(225, 179, 59, 0.16) !important;
  border-color: rgba(225, 179, 59, 0.45) !important;
  transform: translateY(-1px) !important;
  outline: none !important;
}
.header-more-item .hmi-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff8ea !important;
  letter-spacing: 0.02em !important;
  display: block !important;
  transition: color 0.15s ease !important;
}
.header-more-item:hover .hmi-title {
  color: #ffd77a !important;
}
.header-more-item .hmi-sub {
  font-size: 11px !important;
  font-weight: 450 !important;
  color: rgba(255, 248, 234, 0.65) !important;
  line-height: 1.35 !important;
  display: block !important;
  transition: color 0.15s ease !important;
}
.header-more-item:hover .hmi-sub {
  color: rgba(255, 248, 234, 0.90) !important;
}

/* ============================================================
   ADVANCED MAP ANIMATIONS & 3D CONTROLS (2026-10-11)
   ============================================================ */

/* 1. Radar & Sonar Pulses */
@keyframes wteSonarPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 194, 74, 0.85);
  }
  60% {
    opacity: 0.35;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
    box-shadow: 0 0 24px 8px rgba(255, 194, 74, 0);
  }
}

@keyframes wteLiveRadar {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 46, 79, 0.85);
  }
  55% {
    opacity: 0.40;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
    box-shadow: 0 0 28px 10px rgba(255, 46, 79, 0);
  }
}

@keyframes wteSpotBreathe {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(2, 8, 12, .85), 0 0 7px color-mix(in srgb, var(--spot-color) 60%, transparent);
  }
  50% {
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 14px color-mix(in srgb, var(--spot-color) 92%, transparent);
  }
}

/* Promoted & Exclusive sonar ring */
.pin.promoted::after,
.pin.exclusive::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 215, 0, 0.7);
  pointer-events: none;
  animation: wteSonarPulse 2.8s cubic-bezier(0.15, 0.85, 0.35, 1) infinite;
  z-index: -1;
}

/* Live streaming kitchens radar */
.pin.live::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 46, 79, 0.85);
  pointer-events: none;
  animation: wteLiveRadar 2.2s cubic-bezier(0.15, 0.85, 0.35, 1) infinite;
  z-index: -1;
}

/* Regional spots breathing glow */
.spot {
  animation: wteSpotBreathe 3.5s ease-in-out infinite;
}

/* 3D Perspective Button inside .controls */
.controls #tiltBtn {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff8ea;
  border-radius: 14px 14px 0 0;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.controls #tiltBtn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold, #ffd77a);
}
.controls #tiltBtn.on {
  color: var(--gold, #ffd77a);
  background: rgba(225, 179, 59, 0.25) !important;
  box-shadow: inset 0 0 10px rgba(225, 179, 59, 0.40) !important;
  border-color: rgba(225, 179, 59, 0.60) !important;
}

/* ============================================================
   UNIFIED FROSTED GLASS SECTIONS, MODALS & DRAWERS (2026-10-12)
   Matches #explore transparent frosted-glass + gold/cyan build
   (Header and menu untouched)
   ============================================================ */

/* 1. Discovery Stack Sections (#discExclusive, #discPromotedNear, #discClassified) */
.discovery-stack .disc-section {
  background: linear-gradient(180deg, rgba(10, 24, 32, 0.36), rgba(6, 16, 22, 0.28)) !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
  backdrop-filter: blur(14px) saturate(130%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

.discovery-stack .disc-card {
  background: linear-gradient(180deg, rgba(12, 28, 38, 0.42), rgba(7, 18, 25, 0.34)) !important;
  -webkit-backdrop-filter: blur(12px) saturate(125%) !important;
  backdrop-filter: blur(12px) saturate(125%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.discovery-stack .disc-card:hover {
  border-color: rgba(225, 179, 59, 0.48) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.30), 0 0 18px rgba(225, 179, 59, 0.18) !important;
}

.discovery-stack .disc-pill,
.discovery-stack .disc-action-btn {
  background: rgba(225, 179, 59, 0.18) !important;
  border: 1px solid rgba(225, 179, 59, 0.45) !important;
  color: #ffd77a !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}
.discovery-stack .disc-pill:hover,
.discovery-stack .disc-action-btn:hover {
  background: rgba(225, 179, 59, 0.30) !important;
  border-color: #ffd77a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* 2. In-Page Modals & Boards (#promoModal, #classified, #tripPanel, #wteProfileModal) */
#promoModal,
#classified,
#tripPanel,
#wteProfileModal {
  background: rgba(5, 14, 20, 0.52) !important;
  -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
  backdrop-filter: blur(10px) saturate(120%) !important;
}

#promoModal .dialog,
#classified .classified-board,
#tripPanel .trip-board,
#wteProfileModal .wte-profile-sheet {
  background: linear-gradient(180deg, rgba(10, 24, 32, 0.62), rgba(6, 16, 22, 0.56)) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  color: #fff8ea !important;
}

#promoModal .tier,
#classified .c-card,
#classified .c-post,
#tripPanel .trip-stop,
#wteProfileModal .wte-profile-card,
#wteProfileModal .wte-profile-section {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 16px !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
}

#promoModal .tier.featured,
#promoModal .tier.selected {
  background: rgba(225, 179, 59, 0.14) !important;
  border-color: rgba(225, 179, 59, 0.52) !important;
  box-shadow: 0 0 20px rgba(225, 179, 59, 0.18), inset 0 1px 0 rgba(255, 215, 122, 0.20) !important;
}

#promoModal .btn-primary,
#classified .c-post button[type="submit"],
#tripPanel #tripNext,
#wteProfileModal .wte-pbtn-gold {
  background: rgba(225, 179, 59, 0.22) !important;
  border: 1px solid rgba(225, 179, 59, 0.52) !important;
  color: #ffd77a !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 215, 122, 0.22) !important;
}
#promoModal .btn-primary:hover,
#classified .c-post button[type="submit"]:hover,
#tripPanel #tripNext:hover,
#wteProfileModal .wte-pbtn-gold:hover {
  background: rgba(225, 179, 59, 0.34) !important;
  border-color: #ffd77a !important;
  color: #ffffff !important;
}

#promoModal .btn-ghost,
#tripPanel #tripPause,
#classified .c-tabs button,
#wteProfileModal .wte-pbtn {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff8ea !important;
}
#classified .c-tabs button.active,
#promoModal .btn-ghost:hover,
#tripPanel #tripPause:hover,
#wteProfileModal .wte-pbtn:hover {
  background: rgba(14, 165, 233, 0.24) !important;
  border-color: rgba(56, 189, 248, 0.48) !important;
  color: #7dd3fc !important;
}

/* 3. Saved Places Drawer (#favDrawer) & Gold Orb Concierge (#orbChat) */
#favDrawer,
#orbChat {
  background: linear-gradient(180deg, rgba(10, 24, 32, 0.58), rgba(6, 16, 22, 0.50)) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%) !important;
  backdrop-filter: blur(16px) saturate(135%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

#favDrawer .fav-item,
#orbChat .orb-msg {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* 4. Site Footer (.site-footer) — no frosted blur over the fire video */
.site-footer {
  background: none !important;
  background-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-top: 0 !important;
  filter: none !important;
}

/* ============================================================
   NO BACKGROUND COLOR — FULL TRANSPARENCY ENFORCEMENT (2026-10-14)
   Ensures NO background color on html, body, app, workspace,
   or canvas base (#082030 removed — completely transparent).
   (Header and menu untouched)
   ============================================================ */
:root {
  --bg: transparent !important;
}
html,
body,
.app,
.workspace,
#mapShell {
  background: transparent !important;
  background-color: transparent !important;
}
body::before {
  display: none !important;
  background: none !important;
}

/* ============================================================
   FOOTER FIRE BAND — NO BLUR (2026-10-18)
   Kill frosted-glass backdrop-filter on Exclusive / Featured /
   Newest / footer so the fire video stays sharp. Tint-only cards.
   ============================================================ */
#discExclusive.disc-section,
#discFeatured.disc-section,
#discNewest.disc-section,
#siteFooter.site-footer,
.site-footer {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}
#discExclusive .premium-card,
#discExclusive .disc-card,
#discExclusive .disc-arrow,
#discFeatured .premium-card,
#discFeatured .disc-card,
#discFeatured .disc-arrow,
#discNewest .premium-card,
#discNewest .disc-card,
#discNewest .disc-arrow,
#siteFooter .follow-pill,
#siteFooter a,
#siteFooter .site-footer-inner,
#siteFooter .site-footer-bottom {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}
.wte-fire-layer,
.wte-fire-layer .wte-fire-video,
.wte-fire-layer .wte-fire-poster {
  filter: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}


