/* t317 — quiet veil, free sebha, magnetic sides, swipe-to-bottom star */

#sebha-veil {
  position: fixed;
  inset: 0;
  z-index: 12040;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%,
      rgba(18, 32, 28, 0.18) 0%,
      rgba(6, 12, 10, 0.52) 62%,
      rgba(3, 7, 6, 0.68) 100%);
  backdrop-filter: blur(18px) saturate(0.78);
  -webkit-backdrop-filter: blur(18px) saturate(0.78);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
body.sebha-veil-on #sebha-veil {
  opacity: 1;
  visibility: visible;
}
body.sebha-veil-drag #sebha-veil,
body.sebha-veil-off #sebha-veil {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

/* sebha sits forward, quietly, when the veil is at rest */
body.sebha-veil-on #sebha-futura:not(.is-hidden):not([hidden]) {
  z-index: 12120 !important;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.48))
          drop-shadow(0 0 16px rgba(212, 175, 55, 0.16));
}

/* soft dock hint: only while dragging toward the bottom */
#sebha-dock-hint {
  position: fixed;
  left: 50%;
  bottom: 18px;
  width: 96px;
  height: 5px;
  margin: 0;
  border-radius: 99px;
  background: rgba(230, 198, 92, 0.55);
  box-shadow: 0 0 22px 5px rgba(230, 198, 92, 0.22);
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  z-index: 12125;
  transition: opacity 0.22s ease, transform 0.22s ease, width 0.22s ease;
}
body.sebha-dock-hint #sebha-dock-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  width: 132px;
}

/* while dragging, keep the sebha sharp and unfiltered */
#sebha-futura.is-dragging {
  filter: none !important;
  transition: none !important;
}
