@font-face {
  font-family: Poppins;
  src: url('/assets/fonts/Poppins-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('/assets/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #0e2c56;
  --blue: #08749c;
  --shadow: 0 16px 46px #06172a38, 0 2px 8px #06172a24;
  font-family: Poppins, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--navy); }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, #panorama:focus-visible {
  outline: 3px solid #1b96cc;
  outline-offset: 3px;
}
.tour {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}
#panorama { position: absolute; inset: 0; background: #10243b; }
.return-link, .scene-panel, .scene-caption, .photo-fallback {
  position: absolute;
  z-index: 2;
}
.return-link {
  inset: 20px 20px auto auto;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
  text-decoration: none;
  font-size: .83rem;
  font-weight: 600;
}
.return-link:hover { background: #16406e; }
.scene-panel {
  inset: 20px auto auto 20px;
  width: min(292px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid #e2eaf0;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}
.panel-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 3px 2px 15px;
}
.panel-brand img { width: 98px; height: auto; }
.panel-brand h1 { font-size: 1.04rem; margin: 0; font-weight: 600; }
.scene-toggle { display: none; }
.scene-list { display: grid; gap: 7px; }
.scene-list button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  gap: 10px;
  padding: 6px 8px;
  border: 1px solid #e3ebf1;
  border-radius: 13px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.scene-list button img { width: 55px; height: 39px; object-fit: cover; border-radius: 7px; }
.scene-list button:hover { background: #f1f7fb; }
.scene-list button[aria-current] { background: #e7f4fa; border-color: #80c5df; color: #073e60; }
.scene-caption {
  inset: auto 20px 20px auto;
  padding: 11px 16px;
  border-radius: 15px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
  pointer-events: none;
}
.scene-caption p { margin: 0; font-size: .76rem; }
.scene-caption p:first-child { font-size: .97rem; font-weight: 600; }
.photo-fallback {
  left: 20px;
  bottom: 106px;
  padding: 9px 14px;
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
}
.pnlm-controls-container { top: 82px; right: 20px; left: auto; }
.tour-hotspot { display: grid; place-items: center; }
.tour-hotspot button {
  white-space: nowrap;
  min-height: 44px;
  padding: 7px 14px;
  border: 2px solid white;
  border-radius: 999px;
  box-shadow: var(--shadow);
  background: var(--navy);
  color: white;
  font: 600 .78rem Poppins, system-ui, sans-serif;
  cursor: pointer;
}
.tour-hotspot button:hover { background: var(--blue); }
@media (max-width: 640px) {
  .return-link { inset: 12px 12px auto auto; }
  .pnlm-controls-container { top: 69px; right: 12px; left: auto; }
  .scene-panel { inset: 12px auto auto 12px; width: auto; padding: 0; border-radius: 16px; }
  .panel-brand { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .scene-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: inherit;
    background: #fff;
    color: var(--navy);
    font: 600 .72rem Poppins, system-ui, sans-serif;
    cursor: pointer;
  }
  .scene-toggle img { width: 32px; height: auto; }
  .scene-toggle span { width: 6px; height: 6px; margin: -3px 2px 0 1px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  .scene-toggle[aria-expanded="true"] span { margin-top: 3px; transform: rotate(225deg); }
  .scene-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(240px, calc(100vw - 68px));
    padding: 8px;
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .scene-toggle[aria-expanded="false"] + .scene-list { display: none; }
  .scene-list button { min-height: 48px; }
  .scene-list button img { width: 44px; height: 32px; }
  .scene-caption { inset: auto auto max(12px, env(safe-area-inset-bottom)) 12px; padding: 7px 10px; }
  .scene-caption p { font-size: .65rem; }
  .scene-caption p:first-child { font-size: .77rem; }
  .photo-fallback { bottom: 78px; left: 12px; }
}
@media (max-width: 340px) {
  .return-link { padding-inline: 12px; font-size: .74rem; }
}
