/* Foundation shared by both direct-viewer experiences. */
:root {
  color-scheme: dark;
  --ink: #f5f6f7;
  --muted: #bdc2c6;
  --accent: #edcf8b;
  --glass: rgb(17 23 23 / .84);
  --editorial: Georgia, 'Times New Roman', serif;
  --line: rgb(255 255 255 / .18);
  --texture: url('../../images/dark-content-bg.png');
  --ease: cubic-bezier(.2, .75, .25, 1);
  font-family: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #080a0b; color: var(--ink); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .3; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button svg { width: 18px; height: 18px; pointer-events: none; }
.site-shell { position: relative; width: 100%; height: 100dvh; overflow: hidden; isolation: isolate; }

/* No filter or blend on the viewer's ancestors. */
.pano-background { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
#panoFrame > div[id^='panoStudioViewer'], .pano-direct-mount { position: absolute; inset: 0; width: 100%; height: 100%; }
.pano-lock-shield { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pano-lock-shield::before { content: ''; position: absolute; inset: 0; background: var(--texture); opacity: 0; transition: opacity .25s; }
.is-pano-cinema .pano-lock-shield { pointer-events: auto; }
.is-pano-cinema .pano-lock-shield::before { opacity: .16; }
.pano-status { position: absolute; left: 50%; top: 50%; z-index: 6; transform: translate(-50%, -50%); padding: 10px 16px; background: rgb(8 10 11 / .82); border-radius: 3px; font-size: 12px; opacity: 0; pointer-events: none; }
.is-pano-slow .pano-status { opacity: 1; }
.is-pano-loading .pano-background { cursor: progress; }

.weather-clear { --weather-sky: url('../vendor/weatherslider/img/sun.png'); }
.weather-clear.is-night { --weather-sky: url('../vendor/weatherslider/img/moon.png'); }
.weather-cloud, .weather-rain, .weather-snow { --weather-sky: url('../vendor/weatherslider/img/grey_cloud_day_1.png'); }
.is-night:is(.weather-cloud,.weather-rain,.weather-snow) { --weather-sky: url('../vendor/weatherslider/img/dark_cloud_night_1.png'); }
.weather-rain { --precip: url('../vendor/weatherslider/img/rain_day.png'); --fall-duration: .9s; }
.weather-snow { --precip: url('../vendor/weatherslider/img/snow_small_day.png'); --fall-duration: 4s; }

.content-scrim { position: absolute; inset: 0; z-index: 19; background: var(--texture), rgb(3 5 6 / .48); }
.content-panel { position: absolute; top: 50%; left: 50%; z-index: 20; width: min(800px, calc(100vw - 64px)); max-height: calc(100dvh - 64px); display: grid; grid-template-rows: auto minmax(0, 1fr); transform: translate(-50%, -50%); background: #101315; color: #e1e4e6; border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 4px; overflow: hidden; }
.content-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 12px 8px 24px; border-bottom: 1px solid var(--line); }
.content-panel-header h2 { font: 24px/1.35 var(--editorial); margin: 0; }
#contentClose { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 2px; background: transparent; font-size: 28px; }
#contentClose:hover { background: rgb(255 255 255 / .08); }
.content-panel-body { overflow: auto; overscroll-behavior: contain; padding: 24px; font-size: 14px; line-height: 1.65; }
.content-panel-body p { margin: 0 0 16px; }
.content-panel-body a { color: #87c5ed; overflow-wrap: anywhere; }
.content-panel-body img { max-width: 100%; height: auto; }
.content-lead { color: #c2c8cc; }
.history-card { padding: 22px 0; border-bottom: 1px solid var(--line); }
.history-card:first-child { padding-top: 0; }
.history-card h3 { margin: 0 0 12px; font-size: 17px; font-weight: 500; color: #fff; }
.history-year-row { display: grid; grid-template-columns: 55px 1fr; gap: 12px; margin: 12px 0; }
.history-year-row strong { color: #87c5ed; }
.history-text { margin-bottom: 16px; }
