/* 360° prohlídka — samostatná stránka (lišta + iframe na celou výšku) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  background: #0d0f14;
  font-family: 'Montserrat', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: #0d0f14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.tbar__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.tbar__name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.tbar__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8851e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tbar__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #b84035;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(184, 64, 53, 0.35);
}

.tbar__back:hover { background: #d45f50; transform: translateY(-1px); }
.tbar__back:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tbar__back svg { width: 14px; height: 14px; flex-shrink: 0; }

.tour-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #0d0f14;
}

.tour {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0d0f14;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tour.is-ready { opacity: 1; }

.tour-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #0d0f14;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tour-loader.is-hidden { opacity: 0; }

.tour-loader__spin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #b8851e;
  animation: tourSpin 0.8s linear infinite;
}

@keyframes tourSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .tour-loader__spin { animation: none; border-top-color: rgba(255, 255, 255, 0.45); }
  .tour { transition: none; }
}

@media (max-width: 480px) {
  .tbar { padding-left: 12px; padding-right: 12px; }
  .tbar__name { font-size: 14px; }
  .tbar__back { padding: 8px 12px; }
  .tbar__back span { display: none; }
}
