/* =========================================================
   Town Music Hall — music-hall.html
   Exterior with two doors (Lobby, Auditorium), and an interior
   view for each. Accent: stage gold.
========================================================= */

/* =========================================================
   Venue frame (same pattern as the Post Office)
========================================================= */
.venue-experience { padding: 2.2rem 0 3rem; }

.hall-stage {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}

.venue-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #0e1c17;
  box-shadow: 0 30px 60px -24px rgba(20, 36, 32, 0.5);
}

.venue-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.venue-view.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.venue-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.venue-hotspot {
  position: absolute;
  display: block;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 14px;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease;
}
.venue-hotspot:hover,
.venue-hotspot:focus-visible { transform: scale(1.015); }
.venue-hotspot:focus-visible { outline: none; }

.venue-hotspot-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(228, 199, 122, 0);
  box-shadow: 0 0 0 0 rgba(228, 199, 122, 0);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.venue-hotspot:hover > .venue-hotspot-glow,
.venue-hotspot:focus-visible > .venue-hotspot-glow {
  background: rgba(228, 199, 122, 0.16);
  box-shadow: 0 0 0 2px rgba(228, 199, 122, 0.55), 0 0 22px 4px rgba(228, 199, 122, 0.35);
}

/* Gentle pulse while Queenie mentions each spot
   (also applied to the Transporter launcher itself) */
.is-illuminated { animation: hall-glow-pulse 2.2s ease-out; }
@keyframes hall-glow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(228, 199, 122, 0); }
  30%  { background-color: rgba(228, 199, 122, 0.22); box-shadow: 0 0 0 3px rgba(228, 199, 122, 0.6), 0 0 34px 10px rgba(228, 199, 122, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(228, 199, 122, 0); }
}

.venue-door-hint {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  max-width: none;
  white-space: nowrap;
  background: rgba(20, 36, 32, 0.75);
  color: var(--cream);
  border: 1px solid rgba(228, 199, 122, 0.4);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  pointer-events: none;
  backdrop-filter: blur(3px);
}

.venue-back {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(20, 36, 32, 0.72);
  color: var(--cream);
  border: 1px solid rgba(228, 199, 122, 0.35);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(3px);
}
.venue-back svg { width: 15px; height: 15px; }
.venue-back:hover { background: rgba(20, 36, 32, 0.92); }

.venue-hello {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(169, 39, 61, 0.88);
  color: var(--cream);
  border: 1px solid rgba(246, 239, 227, 0.4);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(3px);
}
.venue-hello svg { width: 15px; height: 15px; }
.venue-hello:hover { background: var(--cranberry); }
.venue-hello.d-none { display: none; }

.venue-toast {
  position: absolute;
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
  z-index: 8;
  margin: 0;
  max-width: none;
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.5);
}
.venue-toast[hidden] { display: none; }

/* ---- Welcome caption ---- */
.venue-caption {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 15;
  width: min(640px, calc(100% - 2rem));
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(20, 36, 32, 0.9);
  color: var(--cream);
  border: 1px solid rgba(228, 199, 122, 0.35);
  border-radius: 16px;
  padding: 0.85rem 0.9rem 0.85rem 1.2rem;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.venue-caption[hidden] { display: none; }
.venue-caption-text {
  flex: 1;
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.45;
}
.venue-caption-stop {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(246, 239, 227, 0.35);
  background: transparent;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.venue-caption-stop svg { width: 12px; height: 12px; }
.venue-caption-stop:hover { background: rgba(246, 239, 227, 0.12); }

/* ---- Calibration view (music-hall.html?hotspots=show) ---- */
.show-hotspots .venue-hotspot { outline: 2px dashed #ffd54a; outline-offset: -2px; }
.show-hotspots .venue-hotspot::after {
  content: attr(data-hotspot);
  position: absolute;
  left: 4px;
  top: 4px;
  background: #ffd54a;
  color: #1a1a1a;
  font: 700 11px/1.2 var(--font-body);
  padding: 2px 6px;
  border-radius: 4px;
}

.hall-intro { max-width: 640px; margin: 2rem auto 0; text-align: center; }
.hall-intro .dept-title { margin-bottom: 0.6rem; }
.hall-intro .dept-copy { margin: 0 auto; }
.venue-tagline {
  margin: 1.1rem auto 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cranberry);
}
.venue-note {
  margin: 0.8rem auto 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 64ch;
}

/* =========================================================
   Music Hall specifics
========================================================= */

/* The two exterior doors name themselves on hover, so visitors
   can tell the Lobby from the Auditorium before clicking. */
.venue-hotspot-label {
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  transform: translate(-50%, 6px);
  white-space: nowrap;
  background: rgba(20, 36, 32, 0.85);
  color: var(--gold-light);
  border: 1px solid rgba(228, 199, 122, 0.55);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.venue-hotspot:hover > .venue-hotspot-label,
.venue-hotspot:focus-visible > .venue-hotspot-label,
.venue-hotspot.is-active > .venue-hotspot-label,
.show-hotspots .venue-hotspot-label { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) {
  /* Touch screens can't hover, so the labels stay visible */
  .venue-hotspot-label { opacity: 1; transform: translate(-50%, 0); }
}

/* Back outside + walk through to the other room */
.venue-nav {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.venue-nav .venue-back { position: static; }
.venue-back--next { background: rgba(200, 155, 60, 0.9); color: var(--spruce); border-color: rgba(246, 239, 227, 0.5); }
.venue-back--next:hover { background: var(--gold-light); color: var(--spruce); }

.venue-hello.is-speaking { background: var(--spruce); }

.candy-divider--gold {
  background: repeating-linear-gradient(-45deg,
    var(--gold) 0px, var(--gold) 14px,
    var(--cream) 14px, var(--cream) 28px);
}

/* ---- Room cards below the picture ---- */
.hall-rooms { background: var(--cream); padding: 4rem 0 5rem; }

.hall-room {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(200, 155, 60, 0.3);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.hall-room:hover { border-color: var(--gold); }
.hall-room img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hall-room-body { display: block; padding: 1.2rem 1.4rem 1.3rem; }
.hall-room-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.hall-room-cta {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #8a6a24;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   Lobby picture: every part that does something glows on hover
   (the door, the Transporter arch and its signposts, the screen,
   the piano, the signs and banners)
========================================================= */
.venue-view[data-view="lobby"] .venue-hotspot:hover > .venue-hotspot-glow,
.venue-view[data-view="lobby"] .venue-hotspot:focus-visible > .venue-hotspot-glow,
.venue-view[data-view="lobby"] .venue-hotspot.is-active > .venue-hotspot-glow {
  background: rgba(255, 236, 180, 0.18);
  box-shadow:
    0 0 0 3px rgba(228, 199, 122, 0.9),
    0 0 30px 8px rgba(228, 199, 122, 0.55),
    inset 0 0 24px 4px rgba(255, 236, 180, 0.35);
}

/* the signposts (inside the Transporter arch): small, tight glow,
   no label (the sign says it), and no grow-on-hover */
.venue-hotspot--sign { border-radius: 5px; z-index: 1; }
.venue-hotspot--sign:hover { transform: none; }
span.venue-hotspot--sign { cursor: pointer; }

/* In the Lobby the arch in the picture is the Transporter (hover it for
   the "Where to?" chart), so the floating Transporter button steps aside.
   EDIT ME: delete this rule to keep the button in the Lobby as well. */
.venue-frame[data-current="lobby"] .transporter-launch { display: none; }
.venue-hotspot--sign .venue-hotspot-label { display: none; }

/* the Bluegrass White screen keeps glowing while the song plays */
.venue-hotspot.is-playing .venue-hotspot-glow {
  box-shadow: 0 0 0 3px rgba(228, 199, 122, 0.8), 0 0 28px 6px rgba(228, 199, 122, 0.45);
}
.venue-hotspot.is-playing .venue-hotspot-label { opacity: 1; transform: translate(-50%, 0); }

/* ---- "On stage" button inside the Auditorium picture ---- */
.stage-play {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  background: rgba(20, 36, 32, 0.85);
  color: var(--cream);
  border: 1px solid rgba(228, 199, 122, 0.55);
  border-radius: 999px;
  padding: 0.45rem 1.1rem 0.45rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, box-shadow 0.25s ease;
}
.stage-play svg {
  width: 30px;
  height: 30px;
  padding: 8px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--spruce);
  fill: currentColor;
  flex: none;
}
.stage-play strong { font-family: var(--font-display); font-weight: 600; color: var(--gold-light); }
.stage-play:hover { background: rgba(20, 36, 32, 0.95); }
.stage-play.is-playing { box-shadow: 0 0 0 2px rgba(228, 199, 122, 0.5), 0 0 24px 6px rgba(228, 199, 122, 0.35); }
.stage-play.is-playing svg { background: var(--cranberry); color: var(--cream); }

/* ---- Setlist below the picture ---- */
.hall-song { background: var(--cream); padding: 3rem 0 0; }

.setlist {
  max-width: 820px;
  margin: 0 auto;
  background: var(--spruce);
  color: var(--cream);
  border-radius: 18px;
  padding: 1.8rem 1.8rem 1.4rem;
  box-shadow: 0 26px 50px -26px rgba(20, 36, 32, 0.6);
}
.setlist-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  margin-bottom: 1rem;
}
.setlist-heading { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; color: var(--cream); }
.setlist-now { margin: 0; font-size: 0.9rem; color: var(--gold-light); }

.setlist-list { list-style: none; margin: 0; padding: 0; }
.setlist-row {
  display: grid;
  grid-template-columns: 1.6rem 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0.6rem;
  border-top: 1px solid rgba(246, 239, 227, 0.12);
  border-radius: 10px;
  transition: background-color 0.2s ease;
}
.setlist-row:first-child { border-top: none; }
.setlist-row.is-current { background: rgba(228, 199, 122, 0.08); }
.setlist-row.is-playing { background: rgba(228, 199, 122, 0.14); }

.setlist-num { font-family: var(--font-display); font-size: 1.05rem; color: rgba(246, 239, 227, 0.55); text-align: center; }
.setlist-row.is-playing .setlist-num { color: var(--gold-light); }

.setlist-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--spruce);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.setlist-play:hover { background: var(--gold-light); transform: scale(1.05); }
.setlist-play svg { width: 18px; height: 18px; fill: currentColor; }
.setlist-row.is-playing .setlist-play { background: var(--cranberry); color: var(--cream); }

.setlist-body { min-width: 0; }
.setlist-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.35rem;
}
.setlist-note { display: block; margin: -0.25rem 0 0.4rem; font-size: 0.8rem; font-style: italic; color: rgba(246, 239, 227, 0.65); }

.setlist-seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--gold-light) 0 var(--progress, 0%), rgba(246, 239, 227, 0.18) var(--progress, 0%) 100%);
  cursor: pointer;
  margin: 0;
}
.setlist-seek:disabled { cursor: default; opacity: 0.6; }
.setlist-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: none; }
.setlist-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: none; }
.setlist-seek:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.setlist-time {
  font-size: 0.82rem;
  color: rgba(246, 239, 227, 0.7);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 5.5rem;
  text-align: right;
}

@media (max-width: 575.98px) {
  .setlist { padding: 1.3rem 1rem 1rem; border-radius: 14px; }
  .setlist-row { grid-template-columns: 44px minmax(0, 1fr); gap: 0.4rem 0.8rem; }
  .setlist-num { display: none; }
  .setlist-play { width: 44px; height: 44px; grid-row: span 2; }
  .setlist-time { grid-column: 2; text-align: left; min-width: 0; }
}

@media (max-width: 767.98px) {
  .stage-play { bottom: 2.6rem; padding: 0.3rem 0.8rem 0.3rem 0.35rem; font-size: 0.74rem; }
  .stage-play svg { width: 24px; height: 24px; padding: 6px; }
}

@media (max-width: 767.98px) {
  .venue-experience { padding-top: 1rem; }
  .venue-frame { border-radius: 12px; }
  .venue-hotspot { min-width: 40px; min-height: 40px; }
  .venue-hotspot--sign { min-width: 0; min-height: 0; }
  .venue-hello { top: auto; bottom: 0.5rem; right: 0.5rem; padding: 0.35rem 0.75rem; font-size: 0.74rem; }
  .venue-nav { top: 0.5rem; left: 0.5rem; gap: 0.35rem; }
  .venue-nav .venue-back { padding: 0.3rem 0.7rem; font-size: 0.72rem; }
  .venue-door-hint { display: none; }
  .venue-hotspot-label { font-size: 0.75rem; padding: 0.2rem 0.6rem; bottom: 0.4rem; }
  .venue-caption { position: static; transform: none; width: auto; margin-top: 0.8rem; }
  .venue-caption-text { font-size: 0.98rem; }
}
/* =========================================================
   Auditorium: the six song banners and the centre screen
   On hover the rest of the picture dims, the banner glows gold
   and a "Click Here to…" label appears in its middle.
========================================================= */
.venue-hotspot--spotlight {
  border-radius: 6px;
  box-shadow: 0 0 0 200vmax rgba(10, 20, 17, 0);
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}
.venue-hotspot--spotlight:hover,
.venue-hotspot--spotlight:focus-visible {
  z-index: 3;
  transform: none;
  box-shadow: 0 0 0 200vmax rgba(10, 20, 17, 0.5);
}
.venue-hotspot--spotlight:hover > .venue-hotspot-glow,
.venue-hotspot--spotlight:focus-visible > .venue-hotspot-glow {
  background: rgba(228, 199, 122, 0.08);
  box-shadow:
    inset 0 0 0 3px rgba(228, 199, 122, 0.9),
    inset 0 0 30px 4px rgba(255, 236, 180, 0.3),
    0 0 30px 6px rgba(228, 199, 122, 0.5);
}

/* label sits in the middle of the banner */
.venue-hotspot--poster > .venue-hotspot-label {
  top: 50%;
  bottom: auto;
  transform: translate(-50%, calc(-50% + 6px));
  background: var(--spruce);
  color: var(--cream);
  border: 2px solid var(--gold-light);
  padding: 0.5em 1.1em;
  font-size: clamp(0.72rem, 1.15vw, 1.02rem);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.7);
}
.venue-hotspot--poster:hover > .venue-hotspot-label,
.venue-hotspot--poster:focus-visible > .venue-hotspot-label { transform: translate(-50%, -50%); }
/* banners near the edges keep their label inside the picture */
.venue-hotspot--label-start > .venue-hotspot-label { left: 0.4rem; }
.venue-hotspot--label-start > .venue-hotspot-label,
.venue-hotspot--label-start:hover > .venue-hotspot-label,
.venue-hotspot--label-start:focus-visible > .venue-hotspot-label { transform: translate(0, -50%); }
.venue-hotspot--label-end > .venue-hotspot-label { left: auto; right: 0.4rem; }
.venue-hotspot--label-end > .venue-hotspot-label,
.venue-hotspot--label-end:hover > .venue-hotspot-label,
.venue-hotspot--label-end:focus-visible > .venue-hotspot-label { transform: translate(0, -50%); }
@media (hover: hover) {
  .venue-hotspot--poster:not(:hover):not(:focus-visible) > .venue-hotspot-label { opacity: 0; }
}
@media (hover: none) {
  /* Touch screens: banners show only their glow; a tap plays */
  .venue-hotspot--poster > .venue-hotspot-label { display: none; }
}

/* ---- Player window ---- */
.hall-modal .modal-content {
  background: var(--spruce);
  color: var(--cream);
  border: 1px solid rgba(228, 199, 122, 0.4);
  border-radius: 16px;
}
.hall-modal .modal-header { border-bottom: 1px solid rgba(246, 239, 227, 0.12); }
.hall-modal .modal-title { font-family: var(--font-display); font-weight: 600; color: var(--gold-light); }
.hall-modal .btn-close { filter: invert(1) grayscale(1) brightness(2); }
.hall-modal-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.hall-modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hall-modal-now {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(246, 239, 227, 0.85);
}
.hall-modal-audio { display: block; width: 100%; accent-color: var(--gold); }

/* =========================================================
   Lobby: the same bright spotlight hover as the Auditorium
   (beats the older, softer lobby glow above)
========================================================= */
.venue-frame .venue-view[data-view] .venue-hotspot--spotlight:hover > .venue-hotspot-glow,
.venue-frame .venue-view[data-view] .venue-hotspot--spotlight:focus-visible > .venue-hotspot-glow,
.venue-frame .venue-view[data-view] .venue-hotspot--spotlight.is-active > .venue-hotspot-glow {
  background: rgba(228, 199, 122, 0.08);
  box-shadow:
    inset 0 0 0 3px rgba(228, 199, 122, 0.9),
    inset 0 0 30px 4px rgba(255, 236, 180, 0.3),
    0 0 30px 6px rgba(228, 199, 122, 0.5);
}
/* the Transporter arch stays spotlit while its chart is open */
.venue-hotspot--spotlight.is-active {
  z-index: 3;
  transform: none;
  box-shadow: 0 0 0 200vmax rgba(10, 20, 17, 0.5);
}
/* the labels match the Auditorium's */
.venue-hotspot--spotlight > .venue-hotspot-label {
  background: var(--spruce);
  color: var(--cream);
  border: 2px solid var(--gold-light);
  padding: 0.45em 1.1em;
  font-size: clamp(0.72rem, 1.15vw, 1.02rem);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.7);
}
/* signposts inside the arch stay bright above the dimming */
.venue-hotspot--spotlight .venue-hotspot--sign:hover > .venue-hotspot-glow {
  background: rgba(255, 236, 180, 0.2);
  box-shadow: 0 0 0 2px rgba(228, 199, 122, 0.95), 0 0 16px 4px rgba(228, 199, 122, 0.55);
}