/* Signed-out demo tour (airshow_demo_tour.js). Only present when html.airshow-demo is set. */
html.airshow-demo {
  --airshow-demo-vw: 100vw;
  --airshow-demo-vh: 100dvh;
}
/* A portrait phone shows the map rotated; the body then is the landscape-sized box. */
html.airshow-demo.airshow-force-landscape {
  --airshow-demo-vw: var(--airshow-orientation-vw);
  --airshow-demo-vh: var(--airshow-orientation-vh);
}
.airshow-demo-banner {
  position: fixed;
  top: calc(var(--airshow-topbar-height, 46px) + 10px);
  left: 50%;
  z-index: 2400;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(var(--airshow-demo-vw) - 24px);
  padding: 6px 6px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(6, 10, 22, 0.78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  color: #f6f2ea;
  font: 500 13px/1.2 "Pretendard", "Segoe UI", sans-serif;
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.airshow-demo-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffc878;
  color: #1a1306;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.airshow-demo-banner-step,
.airshow-demo-banner-progress {
  display: none;
}
.airshow-demo-banner-text {
  min-width: 0;
  overflow: hidden;
  color: rgba(246, 242, 234, 0.82);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.airshow-demo-banner-route,
.airshow-demo-banner-route-short {
  color: #f6f2ea;
  font-weight: 600;
}
.airshow-demo-banner-route-short { display: none; }
.airshow-demo-banner-btn {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(159, 223, 255, 0.5);
  border-radius: 999px;
  background: rgba(159, 223, 255, 0.12);
  color: #9fdfff;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.airshow-demo-banner-btn:hover,
.airshow-demo-banner-btn:focus-visible {
  background: rgba(159, 223, 255, 0.24);
}
/* The demo plays on its own: this layer sits over the app, below the demo controls, and takes every
   tap, drag, wheel and pinch. */
.airshow-demo-shield {
  position: fixed;
  inset: 0;
  z-index: 2390;
  cursor: default;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.airshow-demo-hint {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: max-content;
  max-width: min(360px, calc(var(--airshow-demo-vw) - 24px));
  padding: 8px 14px;
  border: 1px solid rgba(255, 200, 120, 0.4);
  border-radius: 12px;
  background: rgba(6, 10, 22, 0.92);
  color: #f6f2ea;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.airshow-demo-banner.is-nudged .airshow-demo-hint {
  opacity: 1;
  transform: translate(-50%, 0);
}
.airshow-demo-banner.is-nudged .airshow-demo-banner-btn {
  animation: airshowDemoNudge 1.2s ease-out 2;
}
@keyframes airshowDemoNudge {
  0% { box-shadow: 0 0 0 0 rgba(159, 223, 255, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(159, 223, 255, 0); }
}
.airshow-demo-banner-btn:focus-visible {
  outline: 2px solid #9fdfff;
  outline-offset: 2px;
}
.airshow-demo-caption {
  position: fixed;
  left: 50%;
  bottom: calc(var(--airshow-bottom-band-height, 64px) + 18px);
  z-index: 2400;
  width: min(440px, calc(var(--airshow-demo-vw) - 32px));
  padding: 14px 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(6, 10, 22, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
  color: #f6f2ea;
  font-family: "Pretendard", "Segoe UI", sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 200ms ease, transform 200ms ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.airshow-demo-caption.open {
  opacity: 1;
  transform: translate(-50%, 0);
}
.airshow-demo-caption-step {
  color: #9fdfff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.airshow-demo-caption-title {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
}
.airshow-demo-caption-body {
  margin-top: 4px;
  color: rgba(246, 242, 234, 0.8);
  font-size: 14px;
  line-height: 1.45;
  text-wrap: pretty;
}
.airshow-demo-caption-bar {
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}
.airshow-demo-caption-bar span {
  display: block;
  height: 100%;
  background: #9fdfff;
  transform: scaleX(0);
  transform-origin: left center;
}
.airshow-demo-card-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 4, 10, 0.5);
}
.airshow-demo-card-overlay.open {
  display: flex;
  animation: airshowDemoFade 220ms ease-out;
}
.airshow-demo-card {
  width: min(420px, 100%);
  padding: 26px 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(6, 10, 22, 0.94);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  color: #f6f2ea;
  font-family: "Pretendard", "Segoe UI", sans-serif;
  text-align: center;
}
.airshow-demo-card-overline {
  color: #9fdfff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.airshow-demo-card-title {
  margin: 10px 0 8px;
  font-size: 26px;
  font-weight: 700;
}
.airshow-demo-card-body {
  margin: 0;
  color: rgba(246, 242, 234, 0.82);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: balance;
}
.airshow-demo-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.airshow-demo-card-primary,
.airshow-demo-card-secondary {
  min-height: 46px;
  border-radius: 999px;
  font: 700 15px/1 "Pretendard", "Segoe UI", sans-serif;
  cursor: pointer;
}
.airshow-demo-card-primary {
  border: 0;
  background: #ffc878;
  color: #1a1306;
}
.airshow-demo-card-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #f6f2ea;
}
.airshow-demo-card-primary:focus-visible,
.airshow-demo-card-secondary:focus-visible,
.airshow-demo-card-link:focus-visible {
  outline: 2px solid #9fdfff;
  outline-offset: 2px;
}
.airshow-demo-card-link {
  display: inline-block;
  margin-top: 14px;
  color: #9fdfff;
  font-size: 14px;
  text-decoration: none;
}
@keyframes airshowDemoFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* On the map the centred banner must stay clear of the cabin-sign panel and compass at the top right;
   narrower screens name the route by its airport codes, as the top bar does. */
html:not(.airshow-demo-compact) .airshow-demo-banner[data-view="map"] {
  max-width: max(320px, calc(var(--airshow-demo-vw) - 800px));
}
@media (max-width: 1439px) {
  .airshow-demo-banner-route,
  .airshow-demo-banner-tour { display: none; }
  .airshow-demo-banner-route-short { display: inline; }
}
@media (max-width: 600px) {
  .airshow-demo-banner-mode { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .airshow-demo-caption { transition: none; }
  .airshow-demo-hint { transition: none; }
  .airshow-demo-banner.is-nudged .airshow-demo-banner-btn { animation: none; }
  .airshow-demo-card-overlay.open { animation: none; }
}

.startup-auth-demo-link { display: block; padding: 8px; color: #b8e8ff; text-align: center; font: 600 14px/1.4 "Segoe UI", sans-serif; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.75); }
.startup-auth-demo-link:focus-visible { outline: 2px solid #9fdfff; outline-offset: 2px; }
/* The sign-in rows are flex rows; the link takes its own line below the (scaled-up) Google button. */
.startup-auth-intro-cta-login { flex-wrap: wrap; }
.startup-auth-intro-cta-login > .startup-auth-demo-link { flex-basis: 100%; margin-top: 8px; }
/* The desktop panel sits on a bright sunrise; a soft backing keeps the link readable there. */
#startup-google-wrap.startup-auth-right-login { flex-direction: column; align-items: center; }
#startup-google-wrap > .startup-auth-demo-link { margin-top: 14px; padding: 5px 14px; border-radius: 999px; background: rgba(6, 10, 22, 0.55); }
.startup-auth-mobile-signin .startup-auth-demo-link { white-space: nowrap; }
/* Compact screens (phone landscape, or portrait shown rotated): one slim banner carries the step title,
   and it moves to whichever edge the current view leaves free. The caption stays for screen readers. */
html.airshow-demo-compact .airshow-demo-banner {
  top: 40px;
  left: 92px;
  gap: 8px;
  max-width: calc(var(--airshow-demo-vw) - 104px);
  padding: 4px 4px 4px 6px;
  font-size: 12px;
  transform: none;
}
html.airshow-demo-compact .airshow-demo-banner[data-view="cockpit"] { left: 12px; }
html.airshow-demo-compact .airshow-demo-banner[data-view="seat"] { top: auto; bottom: 12px; left: 12px; }
html.airshow-demo-compact .airshow-demo-hint { left: 0; transform: translateY(-4px); }
html.airshow-demo-compact .airshow-demo-banner.is-nudged .airshow-demo-hint { transform: none; }
html.airshow-demo-compact .airshow-demo-banner[data-view="seat"] .airshow-demo-hint { top: auto; bottom: calc(100% + 8px); }
html.airshow-demo-compact .airshow-demo-banner[data-view="info"] { top: 12px; left: 12px; }
/* The information page carries its own heading; the step label would sit on top of it. */
html.airshow-demo-compact .airshow-demo-banner[data-view="info"] .airshow-demo-banner-step { display: none; }
html.airshow-demo-compact .airshow-demo-badge {
  padding: 4px 8px;
  font-size: 10px;
}
/* Compact banners name the route by its airport codes, as the boarding intro and top bar do. */
html.airshow-demo-compact .airshow-demo-banner-mode,
html.airshow-demo-compact .airshow-demo-banner-route { display: none; }
html.airshow-demo-compact .airshow-demo-banner-route-short { display: inline; font-weight: 500; }
html.airshow-demo-compact .airshow-demo-banner[data-view="info"] .airshow-demo-banner-text { display: none; }
/* On the map the cabin-sign panel and compass hold the top right corner. */
html.airshow-demo-compact .airshow-demo-banner[data-view="map"] { max-width: calc(var(--airshow-demo-vw) - 382px); }
html.airshow-demo-compact .airshow-demo-banner-step:not(:empty) {
  display: block;
  min-width: 0;
  overflow: hidden;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: #f6f2ea;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
html.airshow-demo-compact .airshow-demo-banner-step:not(:empty) + .airshow-demo-banner-progress {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  display: block;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}
html.airshow-demo-compact .airshow-demo-banner-progress span {
  display: block;
  height: 100%;
  background: #9fdfff;
  transform: scaleX(0);
  transform-origin: left center;
}
html.airshow-demo-compact .airshow-demo-banner-btn {
  min-height: 28px;
  padding: 0 12px;
}
html.airshow-demo-compact .airshow-demo-caption {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}
html.airshow-demo-compact .airshow-demo-card {
  max-height: calc(var(--airshow-demo-vh) - 32px);
  padding: 16px 20px 12px;
  overflow-y: auto;
}
html.airshow-demo-compact .airshow-demo-card-title { margin: 6px 0; font-size: 22px; }
html.airshow-demo-compact .airshow-demo-card-body { font-size: 14px; line-height: 1.45; }
html.airshow-demo-compact .airshow-demo-card-actions { margin-top: 12px; gap: 8px; }
html.airshow-demo-compact .airshow-demo-card-primary,
html.airshow-demo-compact .airshow-demo-card-secondary { min-height: 42px; }
html.airshow-demo-compact .airshow-demo-card-link { margin-top: 8px; padding: 4px 8px; }
