#walk[hidden],
#step-back[hidden] {
  display: none;
}
.has-walk {
  background: #f6f3e9;
}
.has-walk .mast {
  background: #f6f3e9;
}
.has-walk .bar {
  min-height: 58px;
}
.has-walk .bar,
.has-walk main {
  width: 100%;
  max-width: none;
}
.has-walk .bar {
  padding-inline: clamp(14px, 3vw, 50px);
}
.has-walk .intro {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
}
.has-walk .switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px clamp(14px, 3vw, 50px);
  border: 0;
  background: #243c34;
  color: #faf6e9;
  gap: 0;
  justify-content: flex-start;
}
.has-walk .switcher button {
  font-size: 0.77rem;
  line-height: 1.22;
  padding: 6px 12px;
  color: inherit;
}
.has-walk .switcher button[aria-pressed="true"] {
  background: #f5f1e5;
  color: #203a32;
}
.has-walk .switcher::after {
  content: "Robin Custance  /  South Australia";
  margin-left: auto;
  font: 500 0.69rem var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f7f2df;
}
#walk-layout {
  min-width: 0;
}
#walk {
  min-width: 0;
  background: #d5d4bc;
  position: relative;
}
#room-space {
  position: relative;
  width: 100%;
  height: clamp(350px, calc(100svh - 185px), 1100px);
  overflow: hidden;
  isolation: isolate;
  outline-offset: -4px;
}
#room-space canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
}
#room-wordmark {
  pointer-events: none;
  position: absolute;
  left: clamp(16px, 3vw, 55px);
  top: clamp(12px, 2.5vh, 36px);
  font: italic clamp(2.15rem, 4vw, 4.3rem) / 1 var(--serif);
  color: #324537;
  letter-spacing: -0.055em;
  text-shadow: 0 1px 8px #faf8e8b3;
}
#room-wordmark span {
  font-style: normal;
}
.room-hint {
  pointer-events: none;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 20px);
  width: max-content;
  padding: 6px 13px;
  border-radius: 2px;
  background: #f9f7ecf5;
  color: #304536;
  font-size: 0.77rem;
  box-shadow: 0 1px 5px #47372b27;
}
.walk-toolbar {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  padding: 10px clamp(16px, 3vw, 52px);
  border-top: 1px solid #a99b84;
  background: #f8f5ec;
  min-height: 72px;
}
.walk-nav {
  display: flex;
  gap: 6px;
}
.walk-nav button,
#inspect,
#step-back {
  min-height: 44px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid #a9ab98;
  color: #263f34;
  padding: 8px 13px;
  font-weight: 600;
}
.walk-nav button {
  width: 44px;
  font-size: 1.2rem;
}
.walk-caption {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.walk-caption span {
  font-size: 0.69rem;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  color: #485b4c;
}
.walk-caption strong {
  font: 400 clamp(1.12rem, 1.8vw, 1.8rem) / 1.12 var(--serif);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.canvas-edge-study #room-space[data-camera-view="edge"] canvas {
  cursor: default;
}
#inspect {
  margin-left: auto;
  flex: none;
  background: #233e35;
  color: #fff;
  border-color: #233e35;
  padding-inline: 18px;
}
.has-walk .foot {
  margin: 0;
  padding: 9px clamp(16px, 3vw, 52px);
}
.has-walk #index {
  width: min(94%, 1500px);
  margin: 18px auto 28px;
}
.walk-inspecting #walk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 30%);
  align-items: stretch;
}
.walk-inspecting #wall .room {
  display: none;
}
.walk-inspecting #wall .exhibition {
  display: block;
  border: 0;
  height: 100%;
  background: #fffcf5;
}
.walk-inspecting #wall .label {
  padding: clamp(16px, 2.6vw, 44px);
}
.walk-inspecting #room-wordmark,
.walk-inspecting .room-hint {
  display: none;
}
#step-back {
  font-size: 0.82rem;
  margin-bottom: 15px;
}
.walk-inspecting #inspect {
  display: none;
}
@media (max-width: 700px) {
  .has-walk .bar {
    min-height: 48px;
  }
  .has-walk .switcher {
    padding: 3px 10px;
  }
  .has-walk .switcher::after {
    display: none;
  }
  #room-space {
    height: clamp(295px, calc(100svh - 205px), 725px);
  }
  #room-wordmark {
    font-size: clamp(1.85rem, 8vw, 3.1rem);
  }
  .walk-toolbar {
    padding: 8px 10px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .walk-nav {
    gap: 3px;
  }
  .walk-nav button {
    width: 38px;
    padding: 5px;
  }
  .walk-caption {
    flex: 1 1 100px;
  }
  #inspect {
    padding: 7px 12px;
  }
  .walk-inspecting #walk-layout {
    grid-template-columns: 1fr;
  }
  .walk-inspecting #room-space {
    height: clamp(190px, 35svh, 315px);
  }
  .walk-inspecting .walk-toolbar {
    min-height: 55px;
  }
  .walk-inspecting .walk-caption strong {
    display: none;
  }
  .walk-inspecting #step-back {
    margin-bottom: 10px;
  }
  .walk-inspecting #wall .label {
    padding: 16px;
  }
  .has-walk .foot {
    padding: 10px 14px;
  }
}
@media (max-height: 510px) and (min-width: 701px) {
  #room-space {
    height: clamp(190px, calc(100svh - 170px), 320px);
  }
  #room-wordmark {
    font-size: 2rem;
  }
}

#view-full {
  display: block;
  font: 600 0.83rem var(--sans);
  background: transparent;
  border: 0;
  padding: 5px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Pointer cues live in static CSS. A swipe never shares the wall's return cue. */
#room-space canvas[data-pointer="art"] { cursor: pointer; }
#room-space canvas[data-pointer="frame"] { cursor: default; }
#room-space canvas[data-pointer="dragging"] { cursor: grabbing; }
#room-space canvas[data-pointer="return"] { cursor: zoom-out; }
@media (hover: hover) and (pointer: fine) {
  #room-space canvas[data-pointer="return"] {
    cursor: url("./walk-return-cursor.svg") 5 3, zoom-out;
  }
}
.gallery-dashboard .navigator-instruments {
  display: grid;
  grid-template-columns: max-content max-content minmax(88px, 1fr) max-content max-content;
  align-items: center;
  column-gap: clamp(4px, .8vw, 14px);
  padding: 0 clamp(10px, 1vw, 18px) 8px;
}
.gallery-dashboard .navigator-position,
.gallery-dashboard .navigator-toggle { justify-self: start; }
.gallery-dashboard .navigator-sound { justify-self: end; }
.gallery-dashboard .navigator-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 0;
  min-width: 88px;
}
.gallery-dashboard .counter-window {
  align-items: center;
  font-family: "Gallery Wall Roboto Flex", Roboto, Arial, sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
/* Leave room for 162 / 162 after the text so the first digit stays beside the dial. */
.gallery-dashboard .navigator-count { margin-left: 2px; }
.gallery-dashboard .navigator-count .counter-window {
  box-sizing: content-box;
  min-inline-size: calc(7ch + 6px);
  padding-inline: 0;
}
.gallery-dashboard .counter-divider { font-weight: inherit; }
.gallery-dashboard .navigator-step {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 7px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--stone-ink, #d6bd86);
}
.gallery-dashboard .navigator-step svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: var(--brass-relief);
}
.gallery-dashboard .navigator-step:is(:hover, :focus-visible) {
  background: #38201544;
}
.gallery-dashboard .navigator-step:disabled {
  opacity: .35;
  cursor: default;
}
.gallery-dashboard .navigator-clock-hand { filter: drop-shadow(.5px .8px .6px #27180e99); }
/* A wrapped account control stays at the right edge, so its right-aligned
   dropdown cannot open off the left side of a narrow gallery header. */
#gallery-services > [data-account-controls] { margin-inline-start: auto; }
/* Fit the instrument row to the stone itself, including on wide touch screens
   where the desktop stone still has a narrow fixed width. */
.navigator-case { container-type: inline-size; }
@container (max-width: 440px) {
  .gallery-dashboard .navigator-instruments {
    column-gap: 2px;
    padding-inline: 5px;
  }
  .gallery-dashboard .navigator-bearing { width: 32px; }
  .gallery-dashboard .counter-window { font-size: 14px; padding: 3px; gap: 2px; }
  .gallery-dashboard :is(.navigator-toggle, .navigator-sound, .navigator-map) {
    flex-direction: column;
    gap: 0;
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .gallery-dashboard .navigator-instruments {column-gap:1px;padding-inline:3px;}
  .gallery-dashboard .navigator-bearing {width:24px;}
  .gallery-dashboard .counter-window {font-size:12px;}
}
@media (forced-colors: active) {
  #room-space canvas[data-pointer="return"] { cursor: zoom-out; }
  .gallery-dashboard .navigator-step { border: 1px solid ButtonText; }
  .gallery-dashboard .navigator-step svg,
  .gallery-dashboard .navigator-clock-hand { filter: none; }
}
