/* Gossip Booth — 3D ear-trumpet parlor. Namespaced. PF only. Never booth/port 6000. */
#cabinet-whisper.whisper-interior {
  max-width: 1180px;
  padding-bottom: 2.4rem;
}
#cabinet-whisper .interior-sky {
  background:
    radial-gradient(ellipse at 50% 6%, rgba(196, 90, 122, 0.32), transparent 48%),
    radial-gradient(ellipse at 18% 88%, rgba(212, 164, 90, 0.14), transparent 40%),
    linear-gradient(180deg, #2a1018 0%, #14080e 46%, #0a0508 100%);
}
#cabinet-whisper .interior-header {
  border: 1px solid rgba(212, 164, 90, 0.36);
  border-radius: 1rem 1rem 0.4rem 0.4rem;
  background:
    linear-gradient(180deg, rgba(90, 22, 42, 0.78), rgba(22, 8, 14, 0.3));
  box-shadow: inset 0 1px rgba(255, 220, 190, 0.14), 0 12px 28px rgba(0, 0, 0, 0.28);
}
#cabinet-whisper .interior-header h1 {
  color: #f6d4b8;
  text-shadow: 0 0 18px rgba(196, 90, 122, 0.4);
}
#cabinet-whisper .interior-blurb { color: #e8c4c8; }
#cabinet-whisper .whisper-card {
  background: linear-gradient(180deg, rgba(42, 14, 24, 0.9), rgba(12, 6, 10, 0.94));
  border-color: rgba(212, 164, 90, 0.4);
}
#cabinet-whisper .whisper-card.is-playing .vendor-vestibule-only,
#cabinet-whisper .whisper-card.is-result .vendor-vestibule-only { display: none; }
#cabinet-whisper .whisper-card.is-playing #whisperStart { display: none; }
#cabinet-whisper .whisper-card.is-playing .whisper-howto { display: none; }

#cabinet-whisper .whisper-howto {
  margin: 0.45rem 0 0.7rem;
  padding: 0.65rem 0.9rem 0.7rem 1.7rem;
  border: 1px solid rgba(212, 164, 90, 0.42);
  border-radius: 0.7rem;
  background: rgba(18, 8, 12, 0.72);
  color: #f4e0c8;
  font-size: clamp(0.82rem, 2.1vw, 0.98rem);
  line-height: 1.45;
}
#cabinet-whisper .whisper-howto li { margin: 0.18rem 0; }
#cabinet-whisper .whisper-howto b { color: #f0d09a; }
#cabinet-whisper .whisper-howto em,
#cabinet-whisper .whisper-howto b { font-style: normal; }

#cabinet-whisper .vendor-stage--whisper {
  position: relative;
  height: min(78vh, 760px);
  min-height: 460px;
  margin: 0.55rem 0 0.8rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 164, 90, 0.46);
  background: #12080c;
  box-shadow:
    inset 0 0 48px rgba(80, 12, 36, 0.55),
    0 0 32px rgba(138, 74, 106, 0.22);
}
#cabinet-whisper .vendor-stage--whisper canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  touch-action: none;
  cursor: grab;
  user-select: none;
  min-height: 44px;
}
#cabinet-whisper .whisper-card.is-playing .vendor-stage--whisper canvas { cursor: crosshair; }

#cabinet-whisper .whisper-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
#cabinet-whisper .whisper-hud-room {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.28rem 0.9rem;
  border: 1px solid rgba(212, 164, 90, 0.55);
  border-radius: 999px;
  background: rgba(12, 6, 9, 0.78);
  color: #f0d09a;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  white-space: nowrap;
}
#cabinet-whisper .whisper-legend {
  position: absolute;
  top: 2.55rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.32rem;
  max-width: 96%;
}
#cabinet-whisper .whisper-legend span {
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  white-space: nowrap;
}
#cabinet-whisper .leg-fib {
  color: #2a0810;
  background: linear-gradient(90deg, #e8b84a, #c45a6a);
  box-shadow: 0 0 10px rgba(196, 90, 106, 0.45);
}
#cabinet-whisper .leg-true {
  color: #3a2418;
  background: linear-gradient(90deg, #f6ead8, #e8d8c0);
  border: 1px solid rgba(244, 214, 186, 0.85);
}
#cabinet-whisper .leg-moth {
  color: #f0d09a;
  background: rgba(40, 24, 12, 0.82);
  border: 1px solid rgba(212, 164, 90, 0.35);
}
#cabinet-whisper .whisper-range {
  position: absolute;
  top: 4.55rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.28rem 0.75rem;
  border-radius: 0.35rem;
  background: rgba(196, 30, 58, 0.88);
  color: #fff4e0;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: clamp(0.78rem, 2.2vw, 1.05rem);
  box-shadow: 0 0 18px rgba(196, 30, 58, 0.55);
}
#cabinet-whisper .whisper-range.is-truth {
  background: rgba(90, 62, 48, 0.9);
  box-shadow: none;
  color: #f6e6d0;
}
#cabinet-whisper .whisper-range.is-moth {
  background: rgba(60, 36, 12, 0.9);
  color: #e8c878;
}
#cabinet-whisper .whisper-hud-barker {
  position: absolute;
  left: 50%;
  bottom: 4.55rem;
  transform: translateX(-50%);
  margin: 0;
  max-width: 92%;
  padding: 0.35rem 0.8rem;
  border-radius: 0.4rem;
  background: rgba(12, 6, 9, 0.72);
  color: #f6dcc0;
  font-family: Georgia, serif;
  font-size: clamp(0.78rem, 2.2vw, 1.05rem);
  text-align: center;
  letter-spacing: 0.04em;
}
#cabinet-whisper .whisper-timer {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 3.35rem;
  height: 0.42rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(212, 164, 90, 0.45);
  background: rgba(10, 4, 8, 0.7);
}
#cabinet-whisper .whisper-timer i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #e8b84a, #c45a6a);
  box-shadow: 0 0 10px rgba(232, 184, 74, 0.45);
}
#cabinet-whisper .whisper-timer.is-late i { background: linear-gradient(90deg, #c45a6a, #8a2030); }
#cabinet-whisper .whisper-hover {
  position: absolute;
  left: 50%;
  bottom: 6.35rem;
  transform: translateX(-50%);
  margin: 0;
  max-width: 88%;
  color: #f4e6d0;
  font-size: 0.88rem;
  text-align: center;
  text-shadow: 0 2px 10px #000;
}
#cabinet-whisper .whisper-controls {
  position: absolute;
  left: 0.55rem;
  top: 0.65rem;
  bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(212, 164, 90, 0.4);
  border-radius: 0.45rem;
  background: rgba(10, 4, 8, 0.78);
  color: #f0d09a;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  max-width: 38%;
}
#cabinet-whisper .whisper-snap-btn {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0.45rem;
  z-index: 6;
  display: none;
  place-items: center;
  width: min(14.5rem, 62%);
  height: 3.15rem;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 3px solid #e8b84a;
  background:
    radial-gradient(circle at 40% 32%, #f4d08a, #c45a6a 62%, #6a1828);
  color: #2a0810;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 240, 210, 0.45);
  touch-action: manipulation;
}
#cabinet-whisper .whisper-card.is-playing .whisper-snap-btn { display: grid; }
#cabinet-whisper .whisper-snap-btn:active { transform: translateX(-50%) scale(0.96); }
#cabinet-whisper .whisper-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: rgba(232, 184, 74, 0.28);
}
#cabinet-whisper .whisper-flash.is-bad { background: rgba(196, 30, 58, 0.38); }
#cabinet-whisper .whisper-slam {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, #4a1020 0 18%, transparent 38% 62%, #4a1020 82% 100%),
    rgba(12, 4, 8, 0.55);
  pointer-events: none;
}
#cabinet-whisper .whisper-slam span {
  padding: 0.5rem 1.1rem;
  border: 3px solid #c41e3a;
  color: #f4d0c8;
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: clamp(1.1rem, 3.4vw, 1.85rem);
  background: rgba(80, 10, 22, 0.82);
  transform: rotate(-8deg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
#cabinet-whisper .vendor-stage--whisper .strike-pips {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 4;
}
#cabinet-whisper .whisper-legacy-stubs { display: none !important; }
#cabinet-whisper .whisper-card.is-result .vendor-stage--whisper { opacity: 0.78; }
@media (max-width: 640px) {
  #cabinet-whisper .vendor-stage--whisper {
    height: min(72vh, 620px);
    min-height: 380px;
  }
  #cabinet-whisper .whisper-controls { font-size: 0.55rem; max-width: 36%; top: 0.55rem; }
  #cabinet-whisper .whisper-legend span { font-size: 0.55rem; }
  #cabinet-whisper .whisper-hud-barker { bottom: 4.7rem; }
  #cabinet-whisper .whisper-snap-btn { width: min(16rem, 78%); height: 3.35rem; }
}
