/* 20261007-find-quiet-nugget · Stage Docent + Find + Quiet Nugget — speaker route ONLY
   FAB SAFE: sole idle = tbBoltFloat · pause while menu open · no mt fab hop · drag HOLD
   Position owner only while html.tb-stage-docent (restore Board dock on leave) */
html.tb-stage-docent #fab {
  z-index: 70;
  right: var(--sd-fab-right, 6px);
  bottom: calc(var(--dock) + var(--sd-fab-lift, 4px) + var(--vv-gap, 0px));
  transition: right 0.32s ease, bottom 0.32s ease;
}
html.tb-stage-docent #fab-say {
  z-index: 71;
}
/* Meet Thunder pulse fight OFF on speaker route */
/* 20261012-seat-trim — no bob override here any more: the pulse no longer touches his bob (app.css data-pose). */
html.tb-stage-docent.mt-pulse-on #fab img {
  animation: none !important;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)) !important;
}
html.tb-stage-docent.mt-pulse-on #fab::before,
html.tb-stage-docent.mt-pulse-on #fab::after {
  display: none !important;
  animation: none !important;
}
/* Pause sole float while menu open — restore after */
html.tb-stage-docent-menu #fab {
  animation: none !important;
  transform: translateY(0) !important;
}
html.tb-stage-docent-menu #fab.fab-point {
  animation: fab-point 0.85s ease-out both !important;
}
html.tb-stage-docent-find #fab {
  animation: none !important;
  transform: translateY(0) !important;
}

#stage-docent-menu {
  position: fixed;
  right: calc(var(--sd-fab-right, 6px) + 4px);
  bottom: calc(var(--dock) + var(--sd-fab-lift, 4px) + var(--vv-gap, 0px) + 68px);
  z-index: 72;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 168px;
  max-width: min(240px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid rgba(242, 201, 76, 0.5);
  border-radius: 12px;
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
#stage-docent-menu[hidden] { display: none !important; }
.sd-menu-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(242, 201, 76, 0.35);
  border-radius: 8px;
  background: #0a0a0a;
  color: #F2C94C;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sd-menu-btn:active { background: rgba(242, 201, 76, 0.1); transform: scale(0.98); }
.sd-menu-btn[hidden] { display: none !important; }

#stage-docent-spot {
  position: fixed;
  inset: 0;
  z-index: 68;
  pointer-events: none;
  background: transparent;
}
#stage-docent-spot[hidden] { display: none !important; }
#stage-docent-spot .sd-veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: auto;
}
#stage-docent-spot .sd-cut {
  position: absolute;
  border: 2px solid rgba(242, 201, 76, 0.85);
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.62);
  pointer-events: none;
  transition: top 0.28s ease, left 0.28s ease, width 0.28s ease, height 0.28s ease;
}
#stage-docent-tip {
  position: fixed;
  z-index: 73;
  left: 16px;
  right: 16px;
  bottom: calc(var(--dock) + 90px + var(--vv-gap, 0px));
  max-width: 360px;
  margin: 0 auto;
  padding: 14px 14px 12px;
  border: 1px solid rgba(242, 201, 76, 0.5);
  border-radius: 12px;
  background: #0a0a0a;
  color: #f5f0e6;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
#stage-docent-tip[hidden] { display: none !important; }
#stage-docent-tip .sd-tip-text { margin: 0 0 12px; color: #e8e2d6; }
#stage-docent-tip .sd-tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
#stage-docent-tip button,
#stage-docent-soft button,
#stage-docent-nugget button {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(242, 201, 76, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #F2C94C;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
#stage-docent-tip button.sd-primary,
#stage-docent-soft button.sd-primary,
#stage-docent-nugget button.sd-primary {
  background: rgba(242, 201, 76, 0.12);
}

/* Find a Voice sheet — overlay, never Ask curtain */
#stage-docent-find {
  position: fixed;
  inset: 0;
  z-index: 74;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px calc(var(--dock) + 16px + var(--vv-gap, 0px));
  background: rgba(0, 0, 0, 0.55);
}
#stage-docent-find[hidden] { display: none !important; }
.sd-find-card {
  width: min(420px, 100%);
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(242, 201, 76, 0.5);
  border-radius: 14px;
  background: #0a0a0a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.sd-find-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sd-find-kicker {
  margin: 0;
  color: #F2C94C;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 18px;
  letter-spacing: 0.12em;
}
.sd-find-x {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(242, 201, 76, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #F2C94C;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 16px;
  cursor: pointer;
}
.sd-find-q {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(242, 201, 76, 0.35);
  border-radius: 10px;
  background: #111;
  color: #f5f0e6;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
}
.sd-find-q::placeholder { color: #8a8478; }
.sd-find-results {
  overflow: auto;
  max-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sd-find-empty {
  margin: 8px 0;
  color: #b8b0a0;
  font-size: 14px;
}
.sd-find-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(242, 201, 76, 0.28);
  border-radius: 10px;
  background: #111;
  color: #f5f0e6;
  text-align: left;
  cursor: pointer;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
}
.sd-find-row img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sd-find-row:active { background: rgba(242, 201, 76, 0.1); }
.sd-find-more {
  min-height: 42px;
  border: 1px solid rgba(242, 201, 76, 0.45);
  border-radius: 999px;
  background: rgba(242, 201, 76, 0.1);
  color: #F2C94C;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.sd-find-more[hidden] { display: none !important; }

/* Soft ask chip */
#stage-docent-soft {
  position: fixed;
  z-index: 73;
  left: 16px;
  right: 16px;
  bottom: calc(var(--dock) + 90px + var(--vv-gap, 0px));
  max-width: 360px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(242, 201, 76, 0.5);
  border-radius: 12px;
  background: #0a0a0a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
#stage-docent-soft[hidden] { display: none !important; }
.sd-soft-text {
  margin: 0 0 12px;
  color: #e8e2d6;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.sd-soft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* Quiet Nugget */
#stage-docent-nugget {
  position: fixed;
  z-index: 73;
  left: 16px;
  right: 16px;
  bottom: calc(var(--dock) + 90px + var(--vv-gap, 0px));
  max-width: 360px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(242, 201, 76, 0.5);
  border-radius: 12px;
  background: #0a0a0a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
#stage-docent-nugget[hidden] { display: none !important; }
.sd-nugget-text {
  margin: 0 0 12px;
  color: #e8e2d6;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.sd-nugget-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (prefers-reduced-motion: reduce) {
  html.tb-stage-docent #fab {
    transition: none !important;
  }
  #stage-docent-spot .sd-cut {
    transition: none !important;
  }
}
