:root {
  color-scheme: dark;
  --ink:#111313;
  --white:#f6f7f3;
  --muted:#afb5b2;
  --line:#383e3b;
  --lime:#c0ff32;
  --red:#ff4351;
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  color: var(--white);
  background: var(--ink);
  letter-spacing: 0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .4;
  cursor: default;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
#viewport:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
}
button svg {
  display: block;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 20;
  padding: 14px;
  background: var(--lime);
  color: var(--ink);
}
.skip:focus {
  top: 12px;
}
.masthead {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}
.brand span {
  display: block;
  font-size: 10px;
  margin-top: 7px;
  font-weight: 400;
}
.masthead h1 {
  font-weight: 400;
  font-size: 22px;
  margin: 0;
}
.masthead h1 span {
  font-size: 12px;
  vertical-align: middle;
  color: var(--lime);
  margin-left: 8px;
}
.catalog-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
}
.catalog-link:hover {
  color: var(--lime);
}
#exhibition {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 84px);
  background: var(--ink);
}
#exhibition:fullscreen {
  height: 100dvh;
  overflow: auto;
}
.curation {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px 32px;
  border-bottom: 1px solid var(--line);
}
.room-field,
.medium-field {
  display: flex;
  gap: 12px;
  align-items: center;
}
.room-field label,
.medium-field {
  font-size: 12px;
  color: var(--muted);
}
select {
  max-width: 100%;
  border: 0;
  border-bottom: 1px solid #636b65;
  background: var(--ink);
  color: var(--white);
  padding: 8px 24px 8px 0;
  min-height: 40px;
  font-size: 15px;
  border-radius: 0;
}
.curation-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.text-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  padding: 10px;
  background: transparent;
  color: var(--white);
  min-height: 44px;
  font-size: 13px;
}
.text-action[aria-pressed=true] {
  color: var(--lime);
}
.text-action b {
  font-size: 11px;
  color: var(--lime);
  font-weight: 400;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
}
.icon-button:hover:not(:disabled) {
  color: var(--lime);
  border-color: var(--lime);
}
.icon-button[aria-pressed=true] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.space {
  position: relative;
  isolation: isolate;
  flex: 1 0 420px;
  min-height: 420px;
  background: #e2e3de;
  overflow: hidden;
}
#viewport {
  position: absolute;
  inset: 0;
  touch-action: none;
}
#viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}
#viewport canvas:active {
  cursor: grabbing;
}
.space-caption {
  position: absolute;
  left: 28px;
  top: 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #242927;
  pointer-events: none;
  max-width: calc(100% - 112px);
  flex-wrap: wrap;
}
.space-caption > span:first-child {
  font-size: 10px;
  border-left: 3px solid #445223;
  padding-left: 9px;
}
.space-caption > span:nth-child(2) {
  font-size: 15px;
  font-weight: 600;
}
.space-caption > span:last-child {
  font-size: 11px;
}
.view-tools {
  position: absolute;
  right: 24px;
  top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.view-tools .icon-button {
  background: #f5f6f0;
  color: #252b28;
  border-color: #babeb4;
}
.view-tools .icon-button:hover {
  background: var(--lime);
  color: var(--ink);
}
.scene-message {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  background: #e6e8e1;
  color: #202620;
  z-index: 2;
}
.scene-message p {
  max-width: 440px;
  line-height: 1.5;
}
.scene-message a {
  font-size: 14px;
}
.scene-message button {
  background: var(--ink);
  color: white;
  padding: 12px 24px;
  border: 0;
}
.no-script {
  position: absolute;
  inset: 0;
  background: #eee;
  color: #111;
  padding: 64px 24px;
  z-index: 3;
}
.workbar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  min-height: 118px;
  border-top: 1px solid var(--line);
}
.work-heading {
  min-width: 0;
}
.work-artist {
  font-size: 11px;
  color: var(--lime);
  margin: 0 0 6px;
}
.work-heading h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.16;
  margin: 0;
  overflow-wrap: anywhere;
}
.work-caption {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.4;
}
.work-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.primary-action {
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}
.primary-action:hover:not(:disabled) {
  background: #d2ff75;
}
.tourbar {
  min-height: 68px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 32px;
  border-top: 1px solid var(--line);
}
#position {
  font-size: 12px;
  min-width: 64px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
#stops {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex: 1;
}
#stops button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 12px;
  position: relative;
}
#stops button::after {
  content: "";
  display: block;
  width: 12px;
  height: 3px;
  background: #707873;
}
#stops button[aria-pressed=true]::after {
  background: var(--lime);
}
#tour {
  border-left: 1px solid var(--line);
  min-width: 125px;
}
.announcement {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 10;
  background: var(--ink);
  color: var(--lime);
  padding: 12px 20px;
  max-width: calc(100% - 24px);
  font-size: 13px;
}
.announcement:empty {
  display: none;
}
dialog {
  max-height: calc(100dvh - 40px);
  width: min(620px, calc(100% - 32px));
  padding: 24px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: auto;
}
dialog::backdrop {
  background: #090d0cbd;
}
dialog h2 {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 400;
  overflow-wrap: anywhere;
}
dialog p {
  font-size: 14px;
  line-height: 1.65;
}
dialog .work-artist {
  font-size: 12px;
}
dialog .dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.dialog-top > span {
  font-size: 11px;
  color: var(--muted);
}
.dialog-top h2 {
  font-size: 22px;
  margin: 0;
}
#detail-image {
  display: block;
  max-height: 320px;
  width: 100%;
  object-fit: contain;
  background: #eceee7;
  margin-bottom: 24px;
}
#detail-title {
  margin: 8px 0 12px;
}
.availability {
  color: var(--lime);
}
#detail-caption {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.detail-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.detail-links > a:last-child {
  font-size: 13px;
}
dialog label {
  display: grid;
  gap: 10px;
  font-size: 13px;
}
dialog input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #202522;
  color: white;
}
#work-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
#work-list li {
  border-top: 1px solid var(--line);
}
#work-list button {
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 14px 0;
}
#work-list button[aria-current=true] {
  color: var(--lime);
}
#work-list img,
.list-empty {
  width: 64px;
  height: 70px;
  object-fit: contain;
  background: #272e28;
  flex: 0 0 64px;
}
#work-list span {
  overflow-wrap: anywhere;
  font-size: 15px;
}
#work-list small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
@media (min-width: 1100px) {
  .space {
    flex-basis: 480px;
  }
}
@media (max-width: 700px) {
  .masthead {
    padding: 14px 16px;
    gap: 14px;
    min-height: 72px;
  }
  .brand {
    font-size: 25px;
  }
  .brand span {
    font-size: 9px;
  }
  .masthead h1 {
    font-size: 15px;
    max-width: 96px;
    line-height: 1.5;
  }
  .masthead h1 span {
    margin-left: 3px;
  }
  .catalog-link {
    font-size: 12px;
    gap: 4px;
  }
  .catalog-link svg {
    width: 16px;
  }
  #exhibition {
    min-height: calc(100svh - 72px);
  }
  .curation {
    padding: 8px 16px;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 64px;
  }
  .room-field {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }
  .room-field select {
    font-size: 14px;
    width: 100%;
    max-width: 205px;
  }
  .curation-actions {
    gap: 4px;
    margin-left: 0;
  }
  .curation-actions .text-action > span {
    display: none;
  }
  .curation-actions .icon-button {
    border: 0;
  }
  .medium-field {
    order: 3;
    width: 100%;
    font-size: 11px;
    padding-bottom: 4px;
  }
  .medium-field select {
    font-size: 13px;
    flex: 1;
  }
  .space {
    min-height: 380px;
    flex-basis: 380px;
  }
  .space-caption {
    left: 16px;
    top: 16px;
    gap: 6px;
    flex-direction: column;
    max-width: calc(100% - 76px);
  }
  .space-caption > span:nth-child(2) {
    font-size: 13px;
  }
  .view-tools {
    right: 12px;
    top: 16px;
    gap: 4px;
  }
  .view-tools .icon-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .workbar {
    padding: 16px;
    flex-wrap: wrap;
    gap: 14px;
    min-height: 156px;
  }
  .work-heading {
    width: 100%;
  }
  .work-heading h2 {
    font-size: 21px;
  }
  .work-caption {
    font-size: 11px;
  }
  .work-actions {
    width: 100%;
  }
  .work-actions .primary-action {
    margin-left: auto;
  }
  .tourbar {
    padding: 8px 16px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .tourbar > .icon-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  #stops {
    order: 5;
    width: 100%;
    flex: auto;
    gap: 8px;
  }
  #tour {
    margin-left: auto;
    min-width: 100px;
    font-size: 12px;
  }
  #position {
    min-width: 48px;
  }
  .scene-message {
    padding: 32px 24px;
  }
  .scene-message p {
    font-size: 14px;
  }
  dialog {
    padding: 18px;
  }
  #detail-image {
    max-height: 250px;
  }
}
.space {
  background: #dfe2dc;
}
#viewport {
  top: 64px;
}
.space-caption {
  top: 0;
  height: 64px;
  align-content: center;
  align-items: center;
  max-width: calc(100% - 270px);
}
.view-tools {
  flex-direction: row;
  top: 10px;
}
.scene-message {
  inset: 64px 0 0;
}
@media (max-width: 700px) {
  #viewport {
    top: 64px;
  }
  .space-caption {
    height: 64px;
    justify-content: center;
    align-items: flex-start;
    max-width: calc(100% - 210px);
    gap: 5px;
  }
  .space-caption > span:nth-child(2) {
    display: none;
  }
  .view-tools {
    top: 12px;
    right: 12px;
    gap: 4px;
  }
  .space-caption > span:last-child {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
