/* KnockSpace visitor clean view — Oct 15. Staging only. */
/* The world and its existing baked-in art remain intact. */
#current-room-badge { display: none !important; }
/* Editing tools appear only in explicit localhost ?builder=1 mode. */
body:not(.hotspot-inspect) #pin-panel,
body:not(.hotspot-inspect) #pin-layer { pointer-events: none; }
/* Player is a subtle bottom-edge tab; hover/focus reveals it. */
body[data-stitched="true"] #deck-reveal:not([hidden]) {
  transform: none !important;
  opacity: 0.95 !important;
}
body[data-stitched="true"] #deck-reveal:not([hidden]):hover,
body[data-stitched="true"] #deck-reveal:not([hidden]):focus-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (hover: none) {
  body[data-stitched="true"] #deck-reveal:not([hidden]) {
    transform: none;
    opacity: .7;
  }
}
/* One visitor-requested return to the actual Play screen from any interior.
   The existing house icon still goes to the Great Room. */
#knockspace-start-over {
  display: none;
  position: fixed;
  z-index: 98;
  left: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff5df;
  background: #07120b99;
  border: 1px solid #e9d59f55;
  border-radius: 50%;
  font: 20px system-ui, sans-serif;
  opacity: .22;
  cursor: pointer;
  transition: opacity .2s ease;
}
body[data-stitched="true"] #knockspace-start-over,
body[data-stage="mother"] #knockspace-start-over,
body[data-stage="replacement-path"] #knockspace-start-over,
body[data-stage="awaiting-replacement-path"] #knockspace-start-over { display: block; }
#knockspace-start-over::after {
  content: 'START OVER';
  position: absolute;
  left: 41px;
  top: 3px;
  white-space: nowrap;
  font: 12px system-ui, sans-serif;
  background: #07120be8;
  padding: 7px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
}
#knockspace-start-over:hover,
#knockspace-start-over:focus-visible { opacity: 1; outline: 2px solid #ffe0a2; }
#knockspace-start-over:hover::after,
#knockspace-start-over:focus-visible::after { opacity: 1; }
@media (hover: none) { #knockspace-start-over { opacity: .55; } }
@media(max-width:650px) { #knockspace-start-over { left: 8px; bottom: 8px; width: 32px; height: 32px; } }
/* Keep navigation architectural and invisible. */
#worlds, #world-toggle, #current-room-badge { display:none!important; }
