/* =========================================================
   Queenie's Joe & Royal Tea — queenies.html, queenies-table.html
   Accent: Queenie's cranberry apron and gold crown, with a
   chalkboard menu like the ones on her counter.
========================================================= */
:root {
  --chalk: #1e2a26;
  --chalk-line: rgba(246, 239, 227, 0.18);
}

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

.queenies-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);
}

/* The front door glows warmly so it reads as the way in */
.venue-hotspot--door { border-radius: 12px 12px 4px 4px; }

/* Gentle pulse while Queenie mentions each spot
   (also applied to the Transporter launcher itself) */
.is-illuminated { animation: queenie-glow-pulse 2.2s ease-out; }
@keyframes queenie-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; }

/* ---- Queenie's 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 (queenies.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;
}

.queenies-intro { max-width: 640px; margin: 2rem auto 0; text-align: center; }
.queenies-intro .dept-title { margin-bottom: 0.6rem; }
.queenies-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;
}

/* =========================================================
   Hero
========================================================= */
.queenies-hero {
  background: linear-gradient(180deg, #fbeef1 0%, var(--cream) 60%);
  padding: 4.5rem 0;
}

.queenie-avatar-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  max-width: 340px;
  font: inherit;
  color: inherit;
}
.queenie-avatar-btn .avatar-gif {
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  transition: transform 0.25s ease;
}
.queenie-avatar-btn:hover .avatar-gif { transform: scale(1.02); }
.queenie-avatar-btn .speech-bubble { max-width: 320px; text-align: center; }
.queenie-avatar-btn .speech-bubble.is-speaking { font-size: 0.92rem; }

.queenies-motto {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cranberry-dark);
  margin-bottom: 1.1rem;
}

.queenies-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.queenies-chip {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(169, 39, 61, 0.3);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.queenies-chip:hover { border-color: var(--cranberry); color: var(--ink); transform: translateY(-2px); }

/* =========================================================
   Sections
========================================================= */
.queenies-section { background: var(--cream); padding: 4.5rem 0 5rem; }
.queenies-section-head { max-width: 640px; margin-bottom: 2.2rem; }
.queenies-section-head .dept-title { margin-bottom: 0.5rem; }

/* ---- Gather: reservation cards ---- */
.reserve-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(169, 39, 61, 0.18);
  border-top: 5px solid var(--cranberry);
  border-radius: 14px;
  padding: 1.7rem 1.7rem 1.6rem;
}
.reserve-card-title { font-size: 1.6rem; font-weight: 600; margin-bottom: 0.15rem; }
.reserve-card-size { font-weight: 600; color: var(--cranberry); margin-bottom: 0.8rem; }
.reserve-card-copy { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.reserve-card-prices { margin: 0 0 1.3rem; border-top: 1px solid rgba(20, 36, 32, 0.1); }
.reserve-card-prices div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(20, 36, 32, 0.1);
}
.reserve-card-prices dt { font-weight: 500; color: var(--ink-soft); }
.reserve-card-prices dd { margin: 0; font-family: var(--font-display); font-weight: 600; }
.reserve-btn { align-self: flex-start; background: var(--cranberry); color: var(--cream); }
.reserve-btn:hover { background: var(--cranberry-dark); color: var(--cream); }

.queenies-coming {
  margin-top: 2rem;
  background: var(--cream-2);
  border: 1.5px dashed rgba(20, 36, 32, 0.2);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
}
.queenies-coming h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.queenies-coming p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; max-width: 80ch; }

/* ---- Shop: the chalkboard menu ---- */
.queenies-section--menu { background: var(--cream-2); }

.menu-board {
  list-style: none;
  margin: 0;
  padding: 1.6rem 2rem;
  background: var(--chalk);
  border: 10px solid #6b4a2f;
  border-radius: 10px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45), 0 24px 40px -24px rgba(20, 36, 32, 0.6);
  max-width: 860px;
}
.menu-board li + li { border-top: 1px dashed var(--chalk-line); }
.menu-board-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.2rem 1.5rem;
  padding: 1.1rem 0.4rem;
  color: var(--cream);
}
.menu-board-item::after {
  content: "Order";
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold-light);
  border: 1.5px solid rgba(228, 199, 122, 0.6);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.menu-board-item:hover { color: var(--cream); }
.menu-board-item:hover::after { background: var(--gold-light); color: var(--chalk); }
.menu-board-item.is-soon::after { content: "Opening soon"; border-style: dashed; opacity: 0.7; }
.menu-board-item.is-soon:hover::after { background: transparent; color: var(--gold-light); }
.menu-board-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.15;
}
.menu-board-desc { grid-column: 1; font-size: 0.92rem; color: rgba(246, 239, 227, 0.72); }

/* ---- Guidelines ---- */
.guidelines {
  max-width: 760px;
  background: #ffffff;
  border: 1px solid rgba(20, 36, 32, 0.1);
  border-radius: 14px;
  padding: 1.8rem 2rem;
}
.guidelines-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.8rem; }
.guidelines ul { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }
.guidelines li { margin-bottom: 0.45rem; }

/* =========================================================
   Reservation modal
========================================================= */
#reserveModal .modal-dialog { max-width: 500px; }
#reserveModal .modal-content { border-radius: 14px; border: none; }
#reserveModal .modal-header { border-bottom: 1px solid rgba(169, 39, 61, 0.15); }
#reserveModal .modal-title { font-family: var(--font-display); font-weight: 600; }

#reserveForm fieldset { margin-bottom: 1.2rem; }
.reserve-label {
  float: none;
  width: auto;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
}
.reserve-hint { margin: 0.5rem 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.reserve-hint[hidden] { display: none; }

.pill-radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-radio { position: relative; cursor: pointer; margin: 0; }
.pill-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-radio span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(169, 39, 61, 0.3);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.pill-radio input:checked ~ span { background: var(--cranberry); border-color: var(--cranberry); color: var(--cream); }
.pill-radio input:focus-visible ~ span { outline: 2px solid var(--gold); outline-offset: 2px; }

.reserve-when {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.7rem;
}
@media (max-width: 480px) { .reserve-when { grid-template-columns: 1fr 1fr; } .reserve-when > :first-child { grid-column: 1 / -1; } }

.reserve-agree { margin: 0.3rem 0 1.2rem; font-size: 0.9rem; }
.reserve-agree a { color: var(--cranberry); text-decoration: underline; }

.reserve-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8rem 0;
  margin-bottom: 0.8rem;
  border-top: 1px solid rgba(20, 36, 32, 0.12);
}
.reserve-total span { font-weight: 600; color: var(--ink-soft); }
.reserve-total strong { font-family: var(--font-display); font-size: 1.15rem; }

.reserve-submit { background: var(--cranberry); color: var(--cream); }
.reserve-submit:hover { background: var(--cranberry-dark); color: var(--cream); }

.reserve-spinner { text-align: center; padding: 1.5rem 0; color: var(--ink-soft); }
.reserve-spinner .spinner-border { color: var(--cranberry); margin-bottom: 0.75rem; }

.reserve-ready-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.reserve-ready-when { color: var(--ink-soft); margin-bottom: 1.2rem; }

.invite-link-row { display: flex; gap: 0.5rem; }
.invite-link-row .form-control { font-size: 0.85rem; }
.invite-copy {
  flex: none;
  padding: 0.5rem 1rem;
  background: var(--spruce);
  color: var(--cream);
}
.invite-copy:hover { background: var(--spruce-2); color: var(--cream); }

.invite-share { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.1rem 0 0.9rem; }
.invite-share-btn {
  flex: 1 1 160px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  border-color: var(--cranberry);
  color: var(--cranberry);
  background: transparent;
  text-align: center;
}
.invite-share-btn:hover { background: var(--cranberry); color: var(--cream); }
.invite-preview-link { font-size: 0.88rem; color: var(--frost-dark); text-decoration: underline; }

/* =========================================================
   Invitation page (queenies-table.html)
========================================================= */
.table-page { background: linear-gradient(180deg, #fbeef1 0%, var(--cream) 70%); }
.table-invite-section { padding: 4rem 0 5rem; min-height: 60vh; }

.table-invite {
  max-width: 620px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(169, 39, 61, 0.18);
  border-top: 6px solid var(--cranberry);
  border-radius: 16px;
  padding: 2.2rem 2.2rem 2rem;
  box-shadow: 0 24px 48px -26px rgba(20, 36, 32, 0.4);
  text-align: center;
}
.table-invite[hidden], .table-state[hidden], .table-room[hidden], .table-invite-topic[hidden] { display: none; }

.table-invite-venue {
  margin: 0 auto 0.7rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cranberry);
}
.table-invite-title {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}
.table-invite-topic { font-family: var(--font-display); font-size: 1.15rem; margin: 0 auto 0.4rem; }
.table-invite-when { color: var(--ink-soft); margin: 0 auto 1.6rem; }

.table-state { border-top: 1px solid rgba(20, 36, 32, 0.1); padding-top: 1.4rem; }
.table-status { margin: 0 auto 1rem; color: var(--ink-soft); }
.table-status--open { color: var(--cranberry); font-weight: 600; }

.table-seat-form { text-align: left; max-width: 380px; margin: 0 auto; }
.table-btn { margin-top: 1.1rem; width: 100%; background: var(--cranberry); color: var(--cream); }
.table-btn:hover { background: var(--cranberry-dark); color: var(--cream); }
.table-btn-outline { border-color: var(--cranberry); color: var(--cranberry); background: transparent; padding: 0.6rem 1.2rem; }
.table-btn-outline:hover { background: var(--cranberry); color: var(--cream); }

.table-room {
  background: var(--cream-2);
  border-radius: 12px;
  padding: 1.4rem;
  margin-top: 0.5rem;
}
.table-room-welcome { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 0 auto 0.3rem; }
.table-room-note { margin: 0 auto; font-size: 0.9rem; color: var(--ink-soft); }

.table-invite-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(20, 36, 32, 0.1);
}
.table-invite-links .table-btn { width: auto; margin: 0; }
.table-link { color: var(--frost-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 767.98px) {
  .venue-experience { padding-top: 1rem; }
  .venue-frame { border-radius: 12px; }
  .venue-hotspot { min-width: 40px; min-height: 40px; }
  .venue-hello { top: 0.5rem; right: 0.5rem; padding: 0.35rem 0.75rem; font-size: 0.74rem; }
  .venue-back { top: 0.5rem; left: 0.5rem; padding: 0.35rem 0.75rem; font-size: 0.74rem; }
  .venue-door-hint { bottom: auto; top: 0.5rem; font-size: 0.74rem; padding: 0.3rem 0.8rem; }

  /* Caption moves below the (small) picture instead of covering it */
  .venue-caption { position: static; transform: none; width: auto; margin-top: 0.8rem; }
  .venue-caption-text { font-size: 0.98rem; }

  .queenies-hero { padding: 3rem 0; }
  .queenie-avatar-btn .avatar-gif { max-width: 240px; }
  .menu-board { padding: 1rem 1.1rem; border-width: 7px; }
  .menu-board-item { grid-template-columns: 1fr; }
  .menu-board-item::after { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 0.5rem; }
  .table-invite { padding: 1.6rem 1.3rem; }
}
