:root {
  color-scheme: dark;
  --page: #03070a;
  --panel: #111619;
  --accent: #5bec00;
  --muted: #bcbcbc;
  font-family: Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  min-width: 0;
  background: var(--page);
  color: white;
}

.layout { margin: 0 auto; }
.desktop { max-width: 1920px; }
.mobile { display: none; max-width: 540px; }

.stage { position: relative; }
.artwork { display: block; width: 100%; height: auto; }
.artwork[data-src]:not([src]) { visibility: hidden; }

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  display: block;
  background: transparent;
  border: 0;
  border-radius: 5px;
  padding: 0;
  color: inherit;
}

button, a[href] { cursor: pointer; }
a[aria-disabled="true"] { cursor: default; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { opacity: .45; cursor: default; }

.carousel { touch-action: pan-y; }
.hotspot[data-step]::after {
  content: "";
  position: absolute;
  inset: min(-.4vw, -4px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

dialog {
  color: white;
  padding: 0;
  border: 0;
  margin: auto;
}
dialog::backdrop { background: rgb(0 0 0 / 92%); }
html:has(dialog[open]) { overflow: hidden; }

.age-dialog {
  width: min(680px, calc(100vw - 24px));
  max-width: none;
  background: transparent;
  overflow: visible;
}
.age-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.age-denied {
  position: absolute;
  inset: 49% 11% 12%;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 8px;
  text-align: center;
  border-radius: 12px;
  background: #101610;
}
.age-denied p { margin: 0; }
.age-denied button {
  justify-self: center;
  font: inherit;
  color: white;
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 5px;
  padding: 8px 20px;
}

.gallery-dialog {
  width: min(870px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 0 0 1px #202a30;
}
.gallery-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  height: 60px;
}
.gallery-toolbar button {
  width: 32px;
  height: 32px;
  padding: 0 0 3px;
  border: 1px solid #28363b;
  border-radius: 4px;
  background: transparent;
  color: white;
  font: 30px / 1 Arial, sans-serif;
}
.gallery-stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 18px;
  align-items: center;
  padding: 16px 13px 26px;
}
.gallery-stage figure {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: min(360px, 44dvh);
}
.gallery-stage img {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 218px);
  object-fit: contain;
}
.gallery-stage button {
  width: 48px;
  height: 48px;
  padding: 0 0 5px;
  color: var(--accent);
  background: #0d1418;
  border: 1px solid #28363b;
  border-radius: 50%;
  font: 32px / 1 Arial, sans-serif;
}
.gallery-rail {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 83px;
  padding: 12px;
  border-top: 1px solid #253037;
}
.gallery-rail button {
  width: 80px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  border: 1px solid #28363b;
  border-radius: 4px;
  background: var(--panel);
}
.gallery-rail button[aria-current="true"] {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: bold;
}

@media (max-width: 849px) {
  .desktop { display: none; }
  .mobile { display: block; }

  .mobile .carousel,
  .mobile [data-artboard="mobile-channel"] {
    background: #050a0e;
  }

  .mobile [data-artboard="mobile-philosophy"] {
    background: #010304;
    border-top: 1px solid #010304;
  }

  .mobile [data-artboard="mobile-footer"] {
    background: #060c10;
  }

  .mobile-seven { padding: 32px 16px 27px; }
  .mobile-seven h3 {
    max-width: 330px;
    margin: 0 0 20px;
    font: 700 23px / 1.25 "Arial Narrow", Arial, sans-serif;
    text-transform: uppercase;
  }
  .mobile-seven h3 span, .mobile-seven-category { color: var(--accent); }
  .mobile-seven-tickets { display: grid; gap: 14px; }
  .more-seven {
    width: 100%;
    padding: 14px 8px;
    margin: 14px 0 20px;
    border: 1px solid #263932;
    border-radius: 8px;
    background: #111a1d;
    color: white;
    font: 700 13px / 1.4 Arial, sans-serif;
    text-transform: uppercase;
  }
  .more-seven strong { color: var(--accent); }
  .mobile-seven-analysis { padding: 16px; border: 1px solid #263932; border-radius: 10px; background: #0b1115; }
  .mobile-seven-category { margin-top: 0; text-transform: uppercase; }
  .mobile-seven-analysis p, .mobile-seven-analysis li { font-size: 14px; line-height: 1.45; }
  .mobile-seven-analysis h4 { margin: 16px 0 8px; text-transform: uppercase; }
  .mobile-seven-analysis ul { margin: 0; padding-left: 18px; }
  .mobile-seven-analysis li + li { margin-top: 7px; }
  .native-pagination { display: flex; justify-content: center; align-items: center; gap: 13px; margin-top: 20px; }
  .native-pagination button {
    width: 28px;
    height: 28px;
    border: 1px solid #32552a;
    border-radius: 50%;
    padding: 0 0 2px;
    color: var(--accent);
    background: #0e1816;
    font-size: 18px;
  }
  .native-pagination strong { color: var(--accent); }
}

@media (max-width: 560px) {
  .gallery-toolbar { height: 42px; padding: 0 10px; }
  .gallery-stage { grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 5px; padding: 12px 5px 18px; }
  .gallery-stage figure { min-height: 120px; }
  .gallery-stage button { width: 28px; height: 28px; padding: 0 0 3px; font-size: 22px; }
  .gallery-rail { min-height: 48px; gap: 5px; padding: 6px; }
  .gallery-rail button { font-size: 11px; }
}
