/* Clean world presentation. Authored room geometry and routes are unchanged. */
html body[data-quiet-active="true"] #ks-edge-nav-container { display:block!important; }
html body #ks-edge-nav-container[hidden],
html body[data-quiet-surface="true"] #ks-edge-nav-container,
html body[data-jbrl-open="true"] #ks-edge-nav-container,
html body[data-skyler-reading="true"] #ks-edge-nav-container,
html body[data-q-panel]:not([data-q-panel="closed"]) #ks-edge-nav-container,
html body[data-portal-travel] #ks-edge-nav-container { display:none!important; }
html body #ks-edge-nav-container { position:fixed!important;inset:0!important;pointer-events:none!important; }
html body #ks-edge-nav-container .ks-edge-arrow {
  position:absolute!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;
  width:44px!important;height:72px!important;min-width:44px!important;min-height:72px!important;box-sizing:border-box!important;
  padding:10px!important;margin:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;background-image:none!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;
  opacity:.22!important;color:#fff9e9!important;pointer-events:auto!important;
}
html body #ks-edge-nav-container .ks-edge-arrow:is(:hover,:focus-visible) {
  opacity:.75!important;background:transparent!important;transform:translateY(-50%)!important;outline:0!important;
}
html body #ks-edge-nav-container .ks-edge-arrow::before,
html body #ks-edge-nav-container .ks-edge-arrow::after { content:none!important;display:none!important; }
html body #ks-edge-prev { left:0!important;right:auto!important; }
html body #ks-edge-next { right:0!important;left:auto!important; }
html body #ks-edge-nav-container svg { width:16px!important;height:32px!important;pointer-events:none!important; }

/* The existing small trigger retains its hit area; no full-width hover bar is added. */
html body[data-quiet-active="true"] #q-trigger { opacity:0; }
html body[data-quiet-active="true"] #q-trigger:is(:hover,:focus-visible) { opacity:.75; }
html body[data-quiet-active="true"] #q-room-hint {
  position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
  padding:0!important;margin:-1px!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;pointer-events:none!important;
}

/* Dots, plaques and sign-shaped decoration must not float over a room. */
html:root body[data-quiet-active="true"] #ride #physical-portals button.physical-portal,
html:root body[data-quiet-active="true"] #ride #entry-exits button.entry-hotspot {
  background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;
}
html:root body[data-quiet-active="true"] #ride #physical-portals button.physical-portal:is(:hover,:focus-visible),
html:root body[data-quiet-active="true"] #ride #entry-exits button.entry-hotspot:is(:hover,:focus-visible) {
  transform:translate(-50%,-50%)!important;outline:none!important;
}
html:root body[data-quiet-active="true"] #ride #physical-portals button.physical-portal::before,
html:root body[data-quiet-active="true"] #ride #physical-portals button.physical-portal::after,
html:root body[data-quiet-active="true"] #ride #entry-exits button.entry-hotspot::before,
html:root body[data-quiet-active="true"] #ride #entry-exits button.entry-hotspot::after {
  content:none!important;display:none!important;box-shadow:none!important;background:none!important;
}
html:root body[data-quiet-active="true"] #ride #physical-portals button.physical-portal .portal-label,
html:root body[data-quiet-active="true"] #ride #entry-exits button.entry-hotspot :is(span,.portal-label) {
  color:#fff9e9!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:36px!important;
  font-style:normal!important;font-weight:800!important;text-transform:none!important;letter-spacing:0!important;
  -webkit-text-stroke:0!important;text-shadow:0 1px 1px rgba(0,0,0,.85)!important;
  background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;
  padding:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  filter:none!important;opacity:1!important;pointer-events:none!important;font-synthesis:none!important;
  white-space:nowrap!important;max-width:none!important;line-height:1.25!important;
}
html:root body[data-quiet-active="true"] #ride #physical-portals button.physical-portal:is(:hover,:focus-visible) .portal-label,
html:root body[data-quiet-active="true"] #ride #entry-exits button.entry-hotspot:is(:hover,:focus-visible) :is(span,.portal-label) { opacity:1!important; }

/* These late rules preserve off-camera target suppression above older skin !important rules. */
html:root body[data-quiet-active="true"] #ride #physical-portals button.physical-portal[hidden],
html:root body[data-quiet-active="true"] #ride #entry-exits button.entry-hotspot[hidden] {
  display:none!important;visibility:hidden!important;pointer-events:none!important;
}
@media(hover:none) {
  html body[data-quiet-active="true"] #q-trigger { opacity:.28; }
  html:root body[data-quiet-active="true"] #ride #physical-portals button.physical-portal:focus .portal-label,
  html:root body[data-quiet-active="true"] #ride #entry-exits button.entry-hotspot:focus :is(span,.portal-label) { opacity:1!important; }
}
@media(prefers-reduced-motion:reduce) {
  html body #ks-edge-nav-container .ks-edge-arrow,
  html body[data-quiet-active="true"] #q-trigger { transition:none!important; }
}

