
/* =========================================================
   EXP 31.4 — WORLD STACK + FAST PASS FIX
   ========================================================= */

/* Remove only the broken second gate. */
#gateScreen,
.gate-screen {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Keep the cinematic introduction. */
#svCinematicIntro,
.sv-cinematic-intro {
  display:block;
  visibility:visible;
  pointer-events:auto;
}

#svCinematicIntro.finished,
.sv-cinematic-intro.finished {
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Approved redundant homepage sections remain removed. */
#world,
#livingMap,
#locations,
#summerFestival,
#svNav a[href="#world"] {
  display:none!important;
}

/*
 * Do NOT force every main section to display:block.
 * World and tool scripts must be allowed to hide unrelated sections.
 */
#cinematicHome,
#exp260Hub {
  visibility:visible;
  opacity:1;
}

/* Homepage mode restores only the intended homepage flow. */
body.exp314-home-mode #cinematicHome,
body.exp314-home-mode #exp260Hub {
  display:block!important;
}

/* During a focused world/tool view, preserve the script-selected section. */
body.exp314-focus-mode main > section {
  overflow-anchor:none;
}

/* Only one global Fast Pass trigger and panel may be visible. */
.exp290-fastpass-trigger.exp314-fastpass-duplicate,
.exp290-fastpass-panel.exp314-fastpass-duplicate,
.exp290-travel-fx.exp314-fastpass-duplicate {
  display:none!important;
}

/* Prevent duplicated fixed controls from stacking before JavaScript cleanup. */
body > .exp290-fastpass-trigger ~ .exp290-fastpass-trigger,
body > .exp290-fastpass-panel ~ .exp290-fastpass-panel,
body > .exp290-travel-fx ~ .exp290-travel-fx {
  display:none!important;
}

html,
body {
  overflow:auto;
}

body,
main,
main > section {
  overflow-anchor:none!important;
}
