/* esc-layers.css (LY1, additive) — one stacking order for the whole app.
   Tier 0  map   : canvas 0 · 🎤 badges 5 · stage bubbles 6 · cluster popup 8 · street view 9 · #ui chrome 10
   Tier 1  ctrl  : 1000-1099 dock, tabs, mini-player, search, nav
   Tier 2  panel : 2000-2099 artist card (#ui raised while open), city drawer, scene/festival/venue cards, Radio, Browse, More, Talk panel
   Tier 3  modal : 9000-12000 Talk button (9000, CHANGES 328), welcome, language, /listen, prompts, spotlights
   Tier 4  toast : 20000 */
html body #escFestBadges{z-index:5!important}
html body .esb-layer{z-index:6!important}
html body #clusterPopup{z-index:8!important}
/* street view = full-screen map view: above #ui chrome, below floating controls */
html body #escSZ{z-index:900!important}
/* controls */
html body #escListenDock{z-index:1000!important}
html body #escListenFab{z-index:1001!important}
html body #esSpotChip,html body #escCraftTag{z-index:1002!important}
html body #btnShowerShelf{z-index:1003!important}
html body #ui4Search{z-index:1010!important}
html body #ui4Nav{z-index:1020!important}
html body #escSuggestFab{z-index:1030!important}
html body #escBrowseTab,html body #escTalkTab,html body #escSceneTab,html body #escChatTab,html body #escRosterTab,html body #escFullTab,html body #escSkyTab,html body #escThemeTab,html body #escSubmitTab,html body #escSkillsTab,html body #escEarthTab,html body #escReqTab{z-index:1040!important}
html body #escVidRail,html body #escSZHint{z-index:1050!important}
html body #escRadioPlayer{z-index:1060!important}
/* CHANGES 328 (2026-10-30): the Talk button leaves Tier 1. Round 4
   (CHANGES 327) restored it as a surface button documented at
   z-9000 in its own module, and this file's CHANGES 327 note below
   already says the Talk surface stays above the hosted tier — but
   this LY1 line kept capping the button at 1070, UNDER the stage
   (2030), so inside a stage the button painted beneath the room.
   It now computes at its documented 9000: above the stage (2030)
   and hosted panels (2065), below the true modals (9200+). The
   guards that hide it (modal open, guide, quiet, radio sheet,
   pre-ready) are unchanged. */
html body #escTalkBtn{z-index:9000!important}
/* panels / drawers / cards */
html body #showerShelf{z-index:2000!important}
html body #aboutBackdrop{z-index:2001!important}
html body #aboutPanel{z-index:2002!important}
html body #adminPanel{z-index:2003!important}
html body #escBrowsePane{z-index:2010!important}
html body #escChatShelf,html body #escReqPanel{z-index:2011!important}
html body .more-panel,html body #ui4More,html body #ui4Queue,html body #ui4Themes{z-index:2020!important}
html body #escEarthLayer,html body #escStage,html body #escSelfServe,html body #ewDesk{z-index:2030!important}
html.esc-lyr-artist body #ui{z-index:2040!important}
html body #escSceneCard{z-index:2050!important}
html body #escRadioDrawer{z-index:2060!important}
html body #escTalk{z-index:2070!important}
/* modals / prompts (existing ones are already 8990+) */
html body #escTourSpot,html body #escToolost,html body #escOdbSpot{z-index:9200!important}
html body #esModal,html body #ui4Coach,html body #npPartnerRadioMenu{z-index:9300!important}
/* toasts on top */
html body #escToast,html body .eg-toast,html body .esf-toast{z-index:20000!important}
/* badges never show over/through an open card, drawer or panel */
html.esc-lyr-panel body #escFestBadges .efi-badge.ely-under{visibility:hidden!important;pointer-events:none!important}
html.esc-lyr-artist body #escFestBadges,html.esc-lyr-modal body #escFestBadges{opacity:.35;transition:opacity .2s}
/* street view: side tabs/video rail were hidden under it before (150 > 133-140); keep them out so they never collide with SZ header/Layers */
body.esc-sz-open #escBrowseTab,body.esc-sz-open #escTalkTab,body.esc-sz-open #escSceneTab,body.esc-sz-open #escChatTab,body.esc-sz-open #escRosterTab,body.esc-sz-open #escFullTab,body.esc-sz-open #escSkyTab,body.esc-sz-open #escThemeTab,body.esc-sz-open #escSubmitTab,body.esc-sz-open #escSkillsTab,body.esc-sz-open #escEarthTab,body.esc-sz-open #escReqTab,body.esc-sz-open #escVidRail,body.esc-sz-open #ui4Search,body.esc-sz-open #esSpotChip,body.esc-sz-open #btnShowerShelf,body.esc-sz-open #escListenFab,body.esc-sz-open #ui4Coach{visibility:hidden!important;pointer-events:none!important}
/* street view (LY1b): nav rail/bottom nav, spotlights and the "near street view" hint were already under SZ before (z<150); keep them out of the way */
body.esc-sz-open #escSZHint,body.esc-sz-open #escToolost,body.esc-sz-open #escOdbSpot,body.esc-sz-open #escTourSpot{visibility:hidden!important;pointer-events:none!important}
html:not(.esc-lyr-artist) body.esc-sz-open #escPlayAsk{visibility:hidden!important;pointer-events:none!important}
@media (min-width:761px) and (max-width:1100px),(min-width:761px) and (max-height:500px){
  body.esc-sz-open #escSZI .szi-head{left:260px;transform:none;max-width:calc(100vw - 360px)}
}
/* CHANGES 329: the Layers legend is a right-edge slide-out; its geometry (top/bottom/
   overflow/transform) lives entirely in esc-streetzoom-info.css (szi11). The old
   docked-bottom rule that stretched it down the left column is removed. */
@media (min-width:761px) and (max-width:1100px) and (min-height:900px){body.esc-szi #escSZLogo{bottom:136px}}
@media (min-width:761px) and (max-width:1100px){html body.esc-szi #escSZLogo{bottom:136px!important}}
/* phone: ☰ Layers sat 2px over the Back button */
@media (max-width:760px){html body.esc-sz-open #escSZI .szi-lbtn{left:164px!important;transform:none!important}}

/* panels in street view (Corey, 2026-10-21): the left panel rides the panel tier over the map */
html body.esc-sz-open #leftPanel{z-index:2035!important}

/* CHANGES 326 (round 4, owner 2026-10-30 15:37): in stage mode the
   header's menu family stacked UNDER the stage — the More sheet and
   its tier (this file puts the sheet at 2020, the stage at 2030; the
   notifications panel's own CSS puts it at 90) — so the More button
   lit up and its menu opened invisibly beneath the stage. While stage
   mode is on, that family rides one step above the stage tier and
   below the scene card (2050) / drawer (2060) / talk (2070). Outside
   stage mode nothing changes; the stage itself is untouched. */
html body.esc-stage-mode #ui4More,
html body.esc-stage-mode #ui4Themes,
html body.esc-stage-mode #ui4Queue,
html body.esc-stage-mode #escNotifications{z-index:2045!important}

/* CHANGES 327 (round 4 addendum, owner 2026-10-30 16:16): ONE stacking
   rule for globe-mode layers vs hosted panels. The street/disc layer
   (#escSZ — module CSS 150, this file's tier 900) and its family
   painted over open panels riding
   their low module tiers (Report a problem at 86 — its left half was
   covered by the disc). Every open hosted panel carries
   .esc-home-open (esc-boot-gate.js mirrors it onto the hidden-
   lifecycle panels too), and on this tier a hosted panel rides above
   the disc/street family, the sky shelf (2000), the stage (2030),
   the scene card (2050) and the radio drawer (2060) — a panel
   summoned from inside a stage or street view is fully visible and
   clickable across its whole box. Modals and the Talk surface stay
   above it, as before. View columns in street view ride the column
   tier together, so the street Layers legend (inside the disc's own
   stack) can never cover a column. */
html body .esc-home-open{z-index:2065!important}
html body.esc-sz-open #escBrowsePane{z-index:2035!important}
