@font-face {
  font-family: 'Aktifo-A Book';
  src: url('open/brand/Aktifo-A-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tenor Sans';
  src: url('open/brand/TenorSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: 'Aktifo-A Book', Arial, sans-serif;
  color: #fff;
  background: #2b2b34;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --powder: #d7c6c0;
  --ink: #2b2b34;
  --glass: #2b2b34ed;
  --edge: #ffffff38;
  --shadow: 0 8px 28px #0e112e26, inset 0 1px 0 #ffffff12;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
button,
input,
a {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--ink);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#tour {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}
#panorama {
  position: absolute;
  inset: 0;
}
.brand,
.infrastructure-toggle,
.height-badge,
.map-toggle,
.map-panel,
.scene-list,
.controls,
.tour-time,
.loading,
.error {
  border: 1px solid var(--edge);
  background: var(--glass);
  box-shadow: var(--shadow);
}
.identity {
  position: absolute;
  z-index: 2;
  top: max(20px, env(safe-area-inset-top));
  left: max(20px, env(safe-area-inset-left));
  display: grid;
  justify-items: start;
  gap: 12px;
  pointer-events: none;
}
.brand {
  padding: 14px 18px;
  border-radius: 18px;
}
.logo {
  display: block;
  width: 184px;
  height: auto;
}
.infrastructure-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  pointer-events: auto;
}
.infrastructure-toggle input {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--powder);
}
.height-badge {
  position: absolute;
  z-index: 2;
  top: 45%;
  left: 20px;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 14px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 14px;
}
.height-badge strong {
  font:
    400 22px/1.2 'Tenor Sans',
    sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.map-toggle {
  position: absolute;
  z-index: 3;
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
}
.controls svg,
.map-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.map-panel {
  position: absolute;
  z-index: 5;
  top: max(20px, env(safe-area-inset-top));
  right: 20px;
  width: min(360px, calc(100% - 32px));
  max-height: calc(100% - 40px);
  overflow: auto;
  border-radius: 20px;
  padding: 12px;
  color: #fff;
  overscroll-behavior: contain;
}
.map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 0 10px 4px;
}
.map-heading h2 {
  margin: 0;
  font:
    400 20px/1.3 'Tenor Sans',
    sans-serif;
}
.close-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  color: #fff;
  background: #ffffff0d;
  font:
    400 28px/1 Arial,
    sans-serif;
}
.map-image {
  position: relative;
}
.map-image > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #b53b32;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 2px 8px #0e112e33;
}
.map-point[aria-pressed='true'] {
  background: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.map-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 10px;
}
.map-legend button {
  min-height: 44px;
  padding: 4px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  color: #fff;
  background: transparent;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.map-legend button[aria-pressed='true'] {
  color: var(--ink);
  background: var(--powder);
  border-color: var(--powder);
}
.scene-list {
  position: absolute;
  z-index: 2;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 18px;
}
.scene-list button {
  min-width: 72px;
  min-height: 44px;
  padding: 8px 12px;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.scene-list button[aria-pressed='true'] {
  background: var(--powder);
  color: var(--ink);
  border-color: #ffffff38;
  box-shadow: 0 2px 6px #0e112e1a;
}
.controls {
  position: absolute;
  z-index: 2;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: max(20px, env(safe-area-inset-left));
  display: flex;
  gap: 2px;
  padding: 6px;
  border-radius: 18px;
}
.controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #fff;
}
.controls button[aria-pressed='true'] {
  background: var(--powder);
  color: var(--ink);
}
.tour-hotspot {
  width: auto;
  height: auto;
}
.tour-hotspot button {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}
.tour-info button {
  min-height: 28px;
  max-width: 180px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #ffffff40;
  background: #17602df0;
  box-shadow: 0 2px 8px #0e112e1a;
}
.tour-scene button {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: #b53b32;
  border: 2px solid #fff;
  font-size: 13px;
  box-shadow: 0 3px 12px #0e112e33;
}
.tour-scene button img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.tour-hotspot.time-open {
  z-index: 4;
}
.tour-time {
  position: absolute;
  bottom: calc(100% + 10px);
  left: calc(50% + var(--time-shift, 0px));
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 76px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}
.tour-time.below {
  top: calc(100% + 10px);
  bottom: auto;
}
.tour-time img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.tour-info.time-open::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}
.tour-info.time-below::before {
  top: 100%;
  bottom: auto;
}
.hide-infrastructure .tour-info {
  display: none;
}
.loading,
.error {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, calc(100% - 32px));
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  line-height: 1.5;
}
.error h2 {
  margin: 0 0 10px;
  font:
    400 22px/1.3 'Tenor Sans',
    sans-serif;
  text-wrap: balance;
}
.error p {
  margin: 0 0 18px;
  text-wrap: pretty;
}
.error a {
  display: block;
  margin-top: 16px;
  color: #fff;
  text-underline-offset: 4px;
}
.error button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #ffffff38;
  border-radius: 12px;
  color: var(--ink);
  background: var(--powder);
}
@supports (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  :root {
    --glass: #2b2b34b8;
  }
  .brand,
  .infrastructure-toggle,
  .height-badge,
  .map-toggle,
  .map-panel,
  .scene-list,
  .controls,
  .tour-time,
  .loading,
  .error {
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    backdrop-filter: blur(18px) saturate(125%);
  }
}
@media (max-width: 900px) {
  .scene-list {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 600px) {
  .identity {
    top: max(12px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    gap: 10px;
  }
  .brand {
    padding: 12px 14px;
    border-radius: 16px;
  }
  .logo {
    width: 146px;
  }
  .map-toggle {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    gap: 6px;
    min-height: 44px;
    padding: 10px;
    font-size: 12px;
  }
  .map-toggle svg {
    width: 18px;
    height: 18px;
  }
  .map-panel {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
  }
  .height-badge {
    left: 12px;
    padding: 8px 10px;
  }
  .controls {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .scene-list {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .scene-list button {
    min-width: 60px;
    padding-inline: 8px;
    font-size: 12px;
  }
  .tour-info button {
    max-width: 150px;
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .map-toggle {
    width: 44px;
    justify-content: center;
  }
  .map-toggle span {
    display: none;
  }
}
@media (hover: hover) {
  .controls button:hover:not(:disabled),
  .scene-list button:hover:not([aria-pressed='true']),
  .map-legend button:hover:not([aria-pressed='true']),
  .close-button:hover {
    background: #ffffff1c;
  }
  .map-toggle:hover {
    border-color: #ffffff80;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .controls button,
  .scene-list button,
  .map-legend button,
  .map-toggle {
    transition:
      background-color 140ms ease-out,
      border-color 140ms ease-out;
  }
  .controls button:active:not(:disabled) {
    scale: 0.96;
  }
}
@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass: #2b2b34;
  }
  .brand,
  .infrastructure-toggle,
  .height-badge,
  .map-toggle,
  .map-panel,
  .scene-list,
  .controls,
  .tour-time,
  .loading,
  .error {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  button:focus-visible,
  a:focus-visible,
  input:focus-visible {
    outline-color: Highlight;
    box-shadow: none;
  }
  button {
    border: 1px solid ButtonText;
  }
}
