.entrance-panorama {
  position: relative;
  margin: 0 auto;
  width: min(100%, 1500px, max(180px, calc((100dvh - var(--header-height) - 100px) * 16 / 9)));
}
.entrance-panorama > img { display: block; width: 100%; height: auto; border-radius: 4px; }
.office-door {
  position: absolute;
  top: 57.5%;
  left: 49.3%;
  transform: translate(-50%, -50%);
  width: max(44px, 4.6%);
  height: max(44px, 15.5%);
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.door-glow {
  display: block;
  width: clamp(14px, 3.5vw, 47px);
  height: 100%;
  margin: auto;
  background: url('/assets/office-door.webp') center / cover;
  border: 1px solid #ffcd7b;
  border-radius: 55% 55% 14% 14% / 27% 27% 8% 8%;
  box-shadow: 0 0 14px 3px #eab660a8;
  animation: door-glow 3.8s ease-in-out infinite alternate;
}
.door-whisper {
  position: absolute;
  bottom: 105%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  color: #ffe2a5;
  background-color: #21160de8;
  border-radius: 4px;
  padding: 4px 8px;
  pointer-events: none;
  animation: door-whisper 10s ease-in-out infinite;
}
@keyframes door-glow { to { box-shadow: 0 0 20px 5px #ffcf81e8; } }
@keyframes door-whisper { 0%, 14%, 41%, 100% { opacity: 0; } 22%, 32% { opacity: 1; } }
.office-door:is(:hover, :focus-visible) .door-whisper { animation: none; }
.door-response, .festival-title { max-width: 1500px; margin: 12px auto 0; }
.festival-title { color: var(--gold); margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) {
  .door-glow, .door-whisper { animation: none; }
}

.hall-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  margin: 0 auto 12px;
  max-width: 1500px;
}
.hall-controls select { background: #18241d; color: #fff1d3; padding: 7px 10px; border-color: #987b4c; }
.door-actions { margin: 12px auto 0; max-width: 1500px; }
.door-actions p { margin: .35em 0; }
#door-achievement, #festival-banter { color: var(--gold); }
.office-door { z-index: 4; }
.door-whisper {
  animation: none;
  opacity: 0;
  transition: opacity .8s ease;
  max-width: min(240px, 70vw);
  white-space: normal;
}
.door-whisper.is-visible { opacity: 1; animation: whisper-wave 2.6s ease-in-out; }
@keyframes whisper-wave { 40% { margin-bottom: 4px; } }
.festival-panorama:not([hidden]) { animation: festival-arrival .42s ease-out; }
@keyframes festival-arrival { from { opacity: .52; } to { opacity: 1; } }
.event-centre { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 295px), 1fr)); margin-block: 24px; }
.event-centre section { border: 1px solid #695334; padding: 16px; }
.event-centre li, #journal-extra li { margin-block: 5px; }
#journal-extra section { margin-block: 14px; }
@media (prefers-reduced-motion: reduce) {
  .door-whisper.is-visible, .festival-panorama:not([hidden]) { animation: none; transition: none; }
}

#hall-hint-toggle { min-height: 44px; }
#hall-hint-toggle[aria-pressed="true"] { border-color: #f8cb76; color: #ffdf9c; }
