* { box-sizing: border-box; }
html { background: #100c09; color: #f5e3bf; font-family: Arial, sans-serif; }
body { margin: 0; }
button, a { font: inherit; }
button { cursor: pointer; }
picture, img { display: block; width: 100%; height: auto; }
.shared-header > picture > img { aspect-ratio: 1536/326; }
.scene { position: relative; width: 100%; margin: auto; }
.scene-art img { aspect-ratio: var(--wide-ratio); }
header { position: absolute; inset: 0 0 auto; z-index: 2; }
.hamburger {
  position: absolute; right: .5vw; top: .3vw;
  width: clamp(44px, 4vw, 72px); height: clamp(44px, 4vw, 72px);
  border: 0; background: transparent; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 5px;
}
nav {
  position: absolute; right: 2vw; top: calc(.3vw + clamp(44px, 4vw, 72px) + 8px);
  background: #17100cf5; border: 1px solid #a87b3d; padding: 8px;
  min-width: 210px; box-shadow: 0 8px 30px #0008;
}
nav[hidden] { display: none; }
nav a {
  display: block; color: #f5e3bf; text-decoration: none;
  text-align: left; width: 100%; padding: 12px;
}
nav a:hover { background: #49301b; }
.hotspot {
  position: absolute; z-index: 1; background: transparent; border: 0;
  padding: 0; border-radius: 3%; transition: background .15s;
}
.hotspot:hover { background: #ffd58b0b; }
.hotspot:focus-visible, .hamburger:focus-visible, nav :focus-visible {
  outline: 3px solid #ffe0a0; outline-offset: -3px;
}
.vault { left: 5%; top: 51%; width: 21%; height: 28%; }
.dice { left: 27%; top: 54%; width: 23%; height: 25%; }
.legends { left: 51%; top: 53%; width: 24%; height: 26%; }
.rules { left: 76%; top: 53%; width: 20%; height: 26%; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* The Dice Chamber uses an overlay header. The other rooms use an in-flow header. */
.framed .shared-header { position: relative; inset: auto; z-index: 3; }
.brand-home { position: absolute; left: 18%; top: 0; width: 64%; height: 96%; }
.framed .hamburger {
  right: 1.4974vw; top: 1.7578vw; width: 4.4271vw; height: 3.3203vw; padding: 0;
}
.framed .hamburger::after {
  content: ''; position: absolute; inset: 50% auto auto 50%;
  width: max(44px,100%); height: max(44px,100%); transform: translate(-50%,-50%);
}
.framed .hamburger picture { height: 100%; pointer-events: none; }
.framed .hamburger img { height: 100%; object-fit: contain; }
.framed .hamburger:focus-visible { outline-offset: 3px; }
.framed nav { top: calc(2.6% + max(44px,4.1vw)); right: 2%; }
.framed .shared-footer {
  height: clamp(20px,4vw,54px);
  background: #201109 url('/assets/interior-footer-v19.webp') center/cover no-repeat;
}
.interior { --parchment: url('/assets/parchment-v14.webp'); }

@media (max-width: 760px) {
  .interior { --parchment: url('/assets/parchment-compact-v19.webp'); }
}
@media (max-width: 700px) {
  .scene-art img { aspect-ratio: var(--narrow-ratio); }
  .shared-header > picture > img { aspect-ratio: 864/316; }
  .hamburger { right: 0; top: 0; width: 12%; height: clamp(44px,12vw,72px); }
  .vault { left: 6%; top: 43.8%; width: 42%; height: 17%; }
  .dice { left: 51%; top: 44%; width: 43%; height: 17%; }
  .legends { left: 7%; top: 61%; width: 43%; height: 19%; }
  .rules { left: 51%; top: 61%; width: 43%; height: 19%; }
  .brand-home { left: 9%; width: 84%; top: 14%; height: 85%; }
  .framed .hamburger { right: 1.7361vw; top: 3.0093vw; width: 7.8704vw; height: 6.1343vw; }
  .framed .hamburger::after {
    left: auto; right: clamp(-1.7361vw, (100% - 44px)/2, 0px); transform: translateY(-50%);
  }
  .framed nav { top: calc(7% + max(44px,8vw)); }
}
