@import url('https://fonts.googleapis.com/css2?family=Brygada+1918:wght@700&family=Google+Sans+Flex:opsz,wght@6..144,400..700&family=Inter:wght@400;500;600&display=swap');

:root {
  --festival-bg: #1c1917;
  --festival-paper: #fafaf7;
  --festival-accent: #a3927b;
  --festival-accent-strong: #dbc3a1;
  --festival-text: #f5f0eb;
  --festival-muted: rgba(245, 240, 235, 0.72);
  --festival-overlay-mid: rgba(28, 25, 23, 0.55);
  --festival-overlay-heavy: rgba(28, 25, 23, 0.82);
  --festival-border: rgba(255, 255, 255, 0.12);
  --festival-border-strong: rgba(255, 255, 255, 0.24);
  --festival-radius: 0px;
  --festival-edge: 15px;
  --festival-safe-top: max(var(--festival-edge), env(safe-area-inset-top));
  --festival-safe-bottom: max(var(--festival-edge), env(safe-area-inset-bottom));
}

.festival-ui,
.festival-ui * { box-sizing: border-box; }

.festival-tour-audio {
  display: none;
}

.festival-ui {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  color: var(--festival-text);
  font-family: Inter, sans-serif;
}

.festival-ui.is-suspended .festival-topbar,
.festival-ui.is-suspended .festival-scene-info,
.festival-ui.is-suspended .festival-viewer-controls,
.festival-ui.is-suspended .festival-drawer,
.festival-ui.is-suspended .festival-backdrop {
  opacity: 0;
  pointer-events: none;
}

.festival-ui.is-suspended > * {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.festival-viewer-loading {
  position: fixed;
  inset: 0;
  z-index: 8995;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 17, 19, 0.88);
  color: #f5f0eb;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.festival-viewer-loading strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.festival-viewer-loading small {
  color: rgba(245, 240, 235, 0.68);
  font-size: 12px;
}

.festival-viewer-loading__spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(219, 195, 161, 0.28);
  border-top-color: #dbc3a1;
  border-radius: 50%;
  animation: festival-viewer-spin 0.8s linear infinite;
}

.festival-ui.is-viewer-loading .festival-viewer-loading {
  opacity: 1 !important;
  visibility: visible !important;
}

@keyframes festival-viewer-spin {
  to { transform: rotate(360deg); }
}

.festival-viewer-close {
  position: fixed;
  z-index: 10000;
  top: var(--festival-safe-top);
  right: var(--festival-edge);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(219, 195, 161, 0.58);
  border-radius: 2px;
  background: rgba(28, 25, 23, 0.82);
  color: #f2ca83;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.festival-viewer-close .festival-icon {
  width: 18px;
  height: 18px;
}

.festival-viewer-close:hover,
.festival-viewer-close:focus-visible {
  background: rgba(91, 69, 39, 0.94);
  border-color: rgba(255, 224, 157, 0.9);
}

.festival-ui.is-suspended .festival-viewer-close {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.festival-ui.is-panel-open .festival-corner-actions,
.festival-ui.is-panel-open .festival-viewer-controls {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.festival-ui button,
.festival-ui a {
  color: inherit;
  font: inherit;
}

#panoDIV,
#panoDIV * {
  font-family: Inter, sans-serif !important;
}

#panoDIV .festival-brand__name,
#panoDIV .festival-scene-info__title,
#panoDIV .festival-panel-title,
#panoDIV .festival-group__name {
  font-family: 'Brygada 1918', serif !important;
  font-weight: 700 !important;
}

#panoDIV .festival-scene-info__description {
  font-family: 'Google Sans Flex', Inter, sans-serif !important;
}

#panoDIV iframe.festival-external-viewer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 8990 !important;
  width: 100vw !important;
  height: 100vh !important;
  border: 0 !important;
  background: #0f1113 !important;
  box-shadow: inset 0 0 0 1px rgba(219, 195, 161, 0.18);
}

.festival-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.festival-topbar {
  position: absolute;
  top: var(--festival-safe-top);
  left: var(--festival-edge);
  right: var(--festival-edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  opacity: 0;
  transform: translateY(-10px);
  animation: festival-ui-rise-in 0.72s cubic-bezier(.22,1,.36,1) 0.06s forwards;
}

.festival-brand {
  pointer-events: auto;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--festival-border);
  border-radius: var(--festival-radius);
  background: var(--festival-overlay-mid);
  backdrop-filter: blur(16px);
}

.festival-brand__eyebrow,
.festival-scene-info__group,
.festival-panel-kicker,
.festival-group__count,
.festival-map-place__meta,
.festival-map-card__title {
  display: block;
  color: var(--festival-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.festival-brand__name {
  display: block;
  margin-top: 2px;
  font-family: 'Brygada 1918', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.festival-actions {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.festival-topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.festival-corner-actions {
  position: fixed;
  top: calc(var(--festival-safe-top) + 68px);
  right: var(--festival-edge);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(10px);
  animation: festival-ui-rise-in 0.72s cubic-bezier(.22,1,.36,1) 0.12s forwards;
}

.festival-button {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid var(--festival-border);
  border-radius: var(--festival-radius);
  background: var(--festival-overlay-mid);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.festival-button::after,
.festival-day-night::after,
.festival-viewer-control::after,
.festival-set-navigation__button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.12) 50%, transparent 82%);
  transform: translateX(-140%);
  transition: transform 0.75s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.festival-button:hover,
.festival-button[aria-expanded='true'] {
  background: var(--festival-overlay-heavy);
  border-color: var(--festival-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.festival-button:hover::after,
.festival-day-night:hover::after,
.festival-viewer-control:hover::after,
.festival-set-navigation__button:hover::after {
  transform: translateX(140%);
}

.festival-button--map {
  min-width: 132px;
  background: var(--festival-accent);
  border-color: var(--festival-accent);
  color: #1c1917;
}

.festival-day-night {
  position: relative;
  overflow: hidden;
  min-width: 116px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid rgba(255, 224, 157, 0.5);
  border-radius: var(--festival-radius);
  color: #fff7e8;
  background: linear-gradient(135deg, rgba(132, 88, 28, 0.9), rgba(37, 32, 25, 0.9));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
  cursor: pointer;
  pointer-events: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.festival-scene-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.festival-viewer-controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  pointer-events: auto;
}

.festival-viewer-control {
  position: relative;
  overflow: hidden;
  width: 54px;
  min-width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(219, 195, 161, 0.48);
  border-radius: 50%;
  color: #f5f0eb;
  background: rgba(28, 25, 23, 0.72);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.festival-viewer-control:hover {
  transform: translateY(-2px);
  color: #1c1917;
  background: #dbc3a1;
  border-color: #dbc3a1;
}

.festival-viewer-control .festival-icon {
  width: 20px;
  height: 20px;
}

.festival-audio-control.is-muted {
  color: rgba(245, 240, 235, 0.55);
}

.festival-audio-inline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
}

.festival-audio-play {
  position: relative;
  overflow: hidden;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(219, 195, 161, 0.55);
  border-radius: 999px;
  color: #f5f0eb;
  background: rgba(28, 25, 23, 0.72);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.festival-audio-play:hover,
.festival-audio-play.is-playing {
  transform: translateY(-2px);
  color: #1c1917;
  background: #dbc3a1;
  border-color: #dbc3a1;
}

.festival-audio-play .festival-icon {
  width: 14px;
  height: 14px;
}

.festival-audio-time {
  color: rgba(245, 240, 235, 0.68);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.festival-audio-progress {
  position: fixed;
  z-index: 9010;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  overflow: hidden;
  background: rgba(28, 25, 23, 0.5);
  pointer-events: none;
}

.festival-audio-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #a3927b, #dbc3a1);
  box-shadow: 0 0 12px rgba(219, 195, 161, 0.65);
  transition: transform 0.14s linear;
}

.festival-day-night[hidden] {
  display: none;
}

.festival-day-night:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 224, 157, 0.9);
  background: linear-gradient(135deg, rgba(160, 106, 32, 0.96), rgba(45, 38, 29, 0.96));
}

.festival-day-night:not(.is-night-target) {
  color: #241b0d;
  background: linear-gradient(135deg, rgba(255, 218, 124, 0.96), rgba(243, 169, 62, 0.94));
  border-color: rgba(255, 244, 209, 0.9);
}

.festival-scene-info {
  position: absolute;
  left: var(--festival-edge);
  bottom: var(--festival-safe-bottom);
  max-width: min(720px, calc(100vw - 36px));
  pointer-events: auto;
  isolation: isolate;
  opacity: 0;
  transform: translateY(16px);
  animation: festival-ui-rise-in 0.8s cubic-bezier(.22,1,.36,1) 0.18s forwards;
}

.festival-scene-info::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -180px;
  bottom: -90px;
  left: calc(-1 * var(--festival-edge));
  background: radial-gradient(ellipse 78% 48% at 0% 50%, rgba(7, 10, 11, 0.72) 0%, rgba(7, 10, 11, 0.48) 48%, rgba(7, 10, 11, 0.16) 74%, rgba(7, 10, 11, 0) 100%);
  background-repeat: no-repeat;
  pointer-events: none;
}

.festival-scene-info__title {
  margin: 6px 0 10px;
  font-family: 'Brygada 1918', serif;
  font-size: clamp(22px, 2.15vw, 32px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: min(600px, calc(100vw - 30px));
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.festival-scene-info__description {
  max-width: 620px;
  margin: 0 0 14px;
  color: rgba(245, 240, 235, 0.9);
  font-family: 'Google Sans Flex', Inter, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.festival-corner-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--festival-radius);
  background: rgba(49, 53, 58, 0.82);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}

.festival-corner-action:hover {
  background: rgba(64, 68, 74, 0.9);
  border-color: rgba(255, 255, 255, 0.28);
}

.festival-corner-action .festival-icon {
  width: 16px;
  height: 16px;
  color: #d8c19f;
}

.festival-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.festival-dot {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: var(--festival-overlay-mid);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.festival-dot:hover,
.festival-dot.is-active {
  color: #1c1917;
  background: var(--festival-paper);
  border-color: var(--festival-paper);
}

.festival-dot.is-viewed:not(.is-active) {
  color: #1c1917;
  background: #b99a69;
  border-color: #e0c79f;
  box-shadow: inset 0 0 0 2px rgba(28, 25, 23, 0.12);
}

.festival-dot--tour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f0d29b;
  background: rgba(68, 53, 32, 0.82);
  border-color: rgba(240, 210, 155, 0.72);
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.festival-dot--tour .festival-icon {
  width: 17px;
  height: 17px;
}

.festival-dot--tour:hover,
.festival-dot--tour:focus-visible {
  color: #1c1917;
  background: #dbc3a1;
  border-color: #f0d29b;
  transform: translateY(-2px);
}

.festival-set-navigation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 5px;
  min-width: 0;
}

.festival-set-navigation__button {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid rgba(219, 195, 161, 0.46);
  border-radius: 20px;
  color: #f5f0eb;
  background: rgba(28, 25, 23, 0.72);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  min-width: 0;
  overflow: hidden;
}

.festival-set-navigation__button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.festival-set-navigation__button .festival-icon {
  width: 15px;
  height: 15px;
}

.festival-set-navigation__button--next {
  color: #1c1917;
  background: #dbc3a1;
  border-color: #dbc3a1;
}

.festival-set-navigation__button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #f0d6b2;
}

.festival-set-navigation__button:disabled {
  opacity: 0.3;
  cursor: default;
}

.festival-group-scene.is-viewed:not(.is-active) .festival-group-scene__number {
  color: #1c1917;
  background: #b99a69;
  border-color: #e0c79f;
}

.festival-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.34);
  backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, backdrop-filter 0.3s ease;
}

.festival-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(5px);
}

.festival-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(470px, 100%);
  height: 100%;
  padding: calc(var(--festival-safe-top) + 8px) 22px var(--festival-safe-bottom);
  background: var(--festival-overlay-heavy);
  z-index: 6;
  border-left: 1px solid var(--festival-border);
  backdrop-filter: blur(22px);
  transform: translateX(102%);
  transition: transform 0.34s cubic-bezier(.22,1,.36,1);
  pointer-events: auto;
  overflow: auto;
}

.festival-drawer.is-open { transform: translateX(0); }

.festival-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
}

.festival-panel-kicker { color: var(--festival-accent); }

.festival-panel-title {
  margin-top: 4px;
  font-family: 'Brygada 1918', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.festival-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--festival-border);
  border-radius: var(--festival-radius);
  background: transparent;
  cursor: pointer;
}

.festival-group-list {
  display: grid;
  gap: 8px;
}

.festival-group-card {
  display: grid;
  gap: 8px;
}

.festival-group {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 7px;
  border: 1px solid var(--festival-border);
  border-radius: var(--festival-radius);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.festival-group:hover,
.festival-group.is-active {
  background: rgba(163, 146, 123, 0.22);
  border-color: rgba(163, 146, 123, 0.65);
}

.festival-group img {
  width: 70px;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
}

.festival-group__name {
  display: block;
  font-family: 'Brygada 1918', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
}

.festival-group__count { margin-top: 5px; }

.festival-group__arrow {
  padding-right: 7px;
  color: var(--festival-accent);
  font-size: 20px;
}

.festival-group-scenes {
  display: grid;
  gap: 6px;
  padding: 0 0 0 14px;
}

.festival-group-scenes[hidden] {
  display: none;
}

.festival-group-tour {
  width: calc(100% - 14px);
  min-height: 34px;
  margin-left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(163, 146, 123, 0.35);
  border-radius: 7px;
  background: rgba(163, 146, 123, 0.12);
  color: var(--festival-accent-strong);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.festival-group-tour .festival-icon {
  width: 15px;
  height: 15px;
}

.festival-group-scene {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: 42px 28px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--festival-radius);
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
  cursor: pointer;
}

.festival-group-scene__thumb {
  width: 36px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
}

.festival-group-scene:hover,
.festival-group-scene.is-active {
  background: rgba(163, 146, 123, 0.18);
  border-color: rgba(163, 146, 123, 0.48);
}

.festival-group-scene__number {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 700;
}

.festival-group-scene__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.festival-tour-menu {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.festival-tour-menu__toggle {
  min-height: 48px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--festival-border-strong);
  border-radius: var(--festival-radius);
  background: rgba(163, 146, 123, 0.18);
  color: var(--festival-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.festival-tour-menu__toggle .festival-icon {
  width: 17px;
  height: 17px;
  color: var(--festival-accent-strong);
}

.festival-tour-menu__list {
  display: grid;
  gap: 6px;
}

.festival-tour-menu__list[hidden] {
  display: none;
}

.festival-tour-menu__item {
  min-height: 68px;
  display: grid;
  grid-template-columns: 76px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--festival-border);
  border-radius: var(--festival-radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.festival-tour-menu__item:hover,
.festival-group-tour:hover {
  border-color: var(--festival-accent);
  background: rgba(163, 146, 123, 0.2);
}

.festival-tour-menu__item img {
  width: 76px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
}

.festival-tour-menu__open {
  display: grid;
  place-items: center;
}

.festival-tour-menu__open .festival-icon {
  width: 16px;
  height: 16px;
}

.festival-map {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: var(--festival-safe-top) clamp(14px, 2.4vw, 36px) var(--festival-safe-bottom);
  background: #11100f;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.festival-map.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.festival-ui:has(.festival-map.is-open) .festival-brand {
  border-color: rgba(255, 244, 226, 0.42);
  background: linear-gradient(135deg, rgba(19, 17, 15, 0.86), rgba(46, 40, 31, 0.82));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.festival-ui:has(.festival-map.is-open) .festival-brand__eyebrow,
.festival-ui:has(.festival-map.is-open) .festival-brand__name {
  color: #fff6e8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.festival-map__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}

.festival-map__copy p {
  margin-top: 5px;
  color: var(--festival-muted);
  font-size: 12px;
}

.festival-map__layout {
  min-height: 0;
  height: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 13px;
}

.festival-map__stack {
  min-height: 0;
  height: 100%;
  display: block;
}

.festival-map-card__title {
  display: none;
}

.festival-map-card {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.festival-map__canvas,
.festival-map__street {
  min-height: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--festival-border);
  border-radius: var(--festival-radius);
  background: #222;
}

.festival-leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 620px;
  min-width: 0;
  z-index: 1;
  contain: layout paint;
  backface-visibility: hidden;
}

.festival-map__image,
.festival-map__geo {
  position: relative;
  width: 100%;
  min-width: 860px;
  min-height: 100%;
}

.festival-map__image > img {
  width: 100%;
  height: auto;
  display: block;
}

.festival-map__geo {
  background:
    radial-gradient(circle at 20% 20%, rgba(163, 146, 123, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.festival-map__geo.festival-leaflet-map {
  min-width: 0;
  min-height: 320px;
}

.festival-map__osm {
  min-width: 1024px;
  min-height: 768px;
  overflow: hidden;
  background: #d8d4ca;
  cursor: grab;
  touch-action: none;
  user-select: none;
  contain: layout paint;
  backface-visibility: hidden;
}

.festival-map__osm.is-dragging {
  cursor: grabbing;
}

.festival-map__osm-tiles {
  position: absolute;
  left: 0;
  top: 0;
  width: 1024px;
  height: 768px;
}

.festival-map__osm-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 1024px;
  height: 768px;
  will-change: transform;
  transform-origin: 0 0;
}

.festival-map-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  gap: 5px;
}

.festival-map-zoom button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(28, 25, 23, 0.28);
  border-radius: 7px;
  background: rgba(250, 250, 247, 0.88);
  color: #1c1917;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.festival-osm-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
}

.festival-map__geo-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.festival-map__geo-caption,
.festival-map__empty {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--festival-border);
  border-radius: var(--festival-radius);
  background: var(--festival-overlay-mid);
  color: var(--festival-muted);
  font-size: 12px;
}

.festival-map__copy p {
  display: none;
}

.festival-map-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8e2425;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease;
}

.festival-map-pin:hover,
.festival-map-pin.is-active {
  z-index: 2;
  transform: translate(-50%, -50%) scale(1.18);
  background: var(--festival-accent);
}

.festival-streetmap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.festival-streetmap iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
}

.festival-map-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--festival-border-strong);
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.8);
  backdrop-filter: blur(14px);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.festival-map__locations {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 7px;
  padding-right: 3px;
}

.festival-map-note {
  padding: 10px 12px;
  border: 1px solid rgba(219, 195, 161, 0.28);
  border-radius: var(--festival-radius);
  background: rgba(163, 146, 123, 0.12);
  color: var(--festival-text);
  font-size: 12px;
  line-height: 1.4;
}

.festival-map-place {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 7px;
  border: 1px solid var(--festival-border);
  border-radius: var(--festival-radius);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.festival-map-place:hover,
.festival-map-place.is-active {
  background: rgba(163, 146, 123, 0.22);
  border-color: var(--festival-accent);
}

.festival-map-place__number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #8e2425;
  font-size: 11px;
  font-weight: 700;
}

.festival-map-place__name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .festival-map__layout {
    grid-template-columns: 1fr;
  }

  .festival-map__locations {
    grid-auto-flow: column;
    grid-auto-columns: 250px;
    overflow-x: auto;
    align-content: stretch;
    padding-bottom: 3px;
  }
}

@media (max-width: 860px) {
  .festival-topbar {
    left: 12px;
    right: 12px;
    gap: 10px;
  }

  .festival-topbar__right {
    gap: 8px;
  }

  .festival-minimap {
    display: none;
  }

  .festival-actions {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .festival-button {
    min-height: 48px;
    padding: 0 14px;
    font-size: 11px;
  }

  .festival-button--tour,
  .festival-button--map {
    min-width: 120px;
  }

  .festival-corner-actions {
    top: calc(var(--festival-safe-top) + 62px);
  }

  .festival-viewer-control {
    width: 46px;
    min-width: 46px;
    height: 46px;
  }

  .festival-scene-info {
    left: 14px;
    right: 14px;
    bottom: calc(var(--festival-safe-bottom) + 6px);
    max-width: none;
  }

  .festival-scene-info::before {
    top: -76px;
    right: -18px;
    bottom: -72px;
    left: -14px;
  }

  .festival-scene-info__title {
    max-width: min(560px, calc(100vw - 28px));
    font-size: clamp(21px, 3.4vw, 28px);
  }

  .festival-scene-info__description {
    max-width: min(620px, calc(100vw - 28px));
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .festival-topbar {
    left: 12px;
    right: 12px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 8px;
  }

  .festival-brand {
    min-height: 44px;
    padding: 0 10px;
    flex: 0 0 auto;
    max-width: min(42vw, 160px);
  }

  .festival-brand__eyebrow { display: none; }
  .festival-brand__name {
    font-size: 14px;
    line-height: 0.95;
  }

  .festival-actions { gap: 6px; }
  .festival-topbar__right {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "spacer actions"
      "corner corner";
    align-items: start;
    gap: 6px;
  }
  .festival-corner-actions {
    position: fixed;
    top: 64px;
    right: 12px;
    z-index: 4;
    grid-area: auto;
    flex-direction: column;
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }
  .festival-actions {
    grid-area: actions;
    flex: 0 0 auto;
    justify-self: end;
  }

  .festival-button {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 10px;
  }

  .festival-actions .festival-button span {
    display: none;
  }

  .festival-corner-action {
    min-width: 142px;
    min-height: 36px;
    padding: 0 10px;
    font-size: 9px;
    border-radius: 10px;
  }

  .festival-button--map {
    min-width: 42px;
    padding: 0;
  }

  .festival-day-night {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .festival-scene-footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
  }

  .festival-viewer-controls {
    gap: 6px;
  }

  .festival-viewer-control {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  .festival-day-night span {
    display: none;
  }

  .festival-audio-play {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    justify-content: center;
  }

  .festival-audio-play span {
    display: none;
  }

  .festival-audio-time {
    font-size: 9px;
  }

  .festival-actions .festival-button:not(.festival-button--map) {
    min-width: 42px;
    padding: 0;
  }

  .festival-scene-info {
    left: 15px;
    right: 15px;
    bottom: calc(var(--festival-safe-bottom) + 8px);
    max-width: none;
  }

  .festival-scene-info::before {
    top: -70px;
    right: -15px;
    bottom: -60px;
    left: -15px;
    background: radial-gradient(ellipse 105% 48% at 0% 50%, rgba(7, 10, 11, 0.74) 0%, rgba(7, 10, 11, 0.5) 56%, rgba(7, 10, 11, 0.12) 82%, rgba(7, 10, 11, 0) 100%);
  }

  .festival-scene-info__title {
    max-width: min(100%, calc(100vw - 30px));
    font-size: 20px;
    margin-bottom: 7px;
  }

  .festival-scene-info__description {
    max-width: 92%;
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.48;
  }

  .festival-dots {
    width: 100%;
    gap: 6px;
    justify-content: flex-start;
  }

  .festival-dot {
    width: 32px;
    height: 32px;
  }

  .festival-set-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    gap: 6px;
    margin-left: 0;
    min-width: 0;
  }

  .festival-set-navigation__button {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 7px;
    gap: 3px;
    font-size: 6px;
    letter-spacing: 0;
    overflow: hidden;
  }

  .festival-set-navigation__button .festival-icon {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
  }

  .festival-set-navigation__button span {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }

  .festival-drawer {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .festival-tour-menu__item {
    min-height: 60px;
    grid-template-columns: 62px 1fr 18px;
    font-size: 12px;
  }

  .festival-tour-menu__item img {
    width: 62px;
    height: 46px;
  }

  .festival-group-scene {
    grid-template-columns: 38px 25px 1fr;
    gap: 7px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .festival-group-scene__thumb {
    width: 34px;
    height: 28px;
  }

  .festival-group-scene__name {
    font-size: 11px;
  }

  .festival-panel-title { font-size: 30px; }

  .festival-map {
    padding-left: 10px;
    padding-right: 10px;
  }

  .festival-map__layout {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
  }

  .festival-map__stack {
    flex: 1 1 auto;
    min-height: 280px;
  }

  .festival-map-card,
  .festival-map__canvas {
    height: 100%;
    min-height: 0;
  }

  .festival-map__geo.festival-leaflet-map {
    height: 100%;
    min-height: 280px;
  }

  .festival-map__locations {
    flex: 0 0 78px;
    grid-auto-columns: 210px;
    overflow-x: auto;
    overflow-y: hidden;
    grid-auto-flow: column;
    align-content: stretch;
  }

  .festival-map__copy p { display: none; }

  .festival-map__stack {
    grid-template-rows: minmax(280px, 1fr) minmax(260px, 38%);
  }

  .festival-map__image,
  .festival-map__geo {
    min-width: 760px;
  }

}

/* Unified glass surfaces and restrained 2px corners. */
.festival-brand,
.festival-button,
.festival-drawer,
.festival-group,
.festival-group-scene,
.festival-group-tour,
.festival-tour-menu__toggle,
.festival-tour-menu__item,
.festival-map-place,
.festival-map-note {
  background-color: rgba(20, 20, 19, 0.54);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.festival-drawer {
  background: rgba(18, 17, 16, 0.72);
}

.festival-tour-menu__toggle {
  border-color: rgba(215, 169, 81, 0.72);
  background: linear-gradient(110deg, rgba(143, 112, 73, 0.66), rgba(71, 55, 38, 0.62));
  box-shadow: 0 8px 24px rgba(143, 112, 73, 0.24);
}

.festival-tour-menu__toggle .festival-icon,
.festival-tour-menu__toggle .festival-tour-menu__arrow {
  color: #f2ca83;
}

.festival-tour-menu__item {
  border-color: rgba(215, 169, 81, 0.48);
  background: linear-gradient(100deg, rgba(112, 82, 49, 0.48), rgba(27, 25, 22, 0.68));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24), inset 3px 0 0 #d7a951;
}

.festival-tour-menu__item:hover {
  border-color: #e6bc70;
  background: linear-gradient(100deg, rgba(151, 108, 58, 0.7), rgba(38, 33, 27, 0.76));
}

.festival-tour-menu__open {
  color: #f2ca83;
}

.festival-ui * {
  border-radius: 0 !important;
}

.festival-ui button,
.festival-ui a,
.festival-ui img,
.festival-map__canvas,
.festival-close,
.leaflet-control-zoom,
.leaflet-control-zoom a,
.leaflet-control-attribution {
  border-radius: 2px !important;
}

.festival-map,
.festival-drawer,
.festival-backdrop,
.festival-map__layout,
.festival-map__stack,
.festival-map-card,
.festival-map__locations {
  border-radius: 0 !important;
}

.festival-map__geo.festival-leaflet-map {
  min-width: 0 !important;
  width: 100%;
  height: 100%;
}

.festival-ui .festival-dot,
.festival-ui .festival-map-pin,
.festival-ui .festival-map-place__number,
.festival-ui .festival-group-scene__number {
  border-radius: 50% !important;
}

/* Full-viewport map: the scene list floats over the map instead of sizing it. */
.festival-map {
  display: block;
  padding: 0;
}

.festival-map__head {
  position: absolute;
  z-index: 6;
  top: var(--festival-safe-top);
  left: var(--festival-edge);
  right: var(--festival-edge);
  margin: 0;
  pointer-events: none;
}

.festival-map__head .festival-close {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-color: rgba(219, 195, 161, 0.58);
  background: rgba(28, 25, 23, 0.82);
  color: #f2ca83;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.festival-map__head .festival-close:hover,
.festival-map__head .festival-close:focus-visible {
  border-color: rgba(255, 224, 157, 0.9);
  background: rgba(91, 69, 39, 0.94);
}

.festival-map__layout {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.festival-map__stack,
.festival-map-card,
.festival-map__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.festival-map__geo.festival-leaflet-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
}

.festival-map__locations {
  position: absolute;
  z-index: 4;
  top: 76px;
  right: 0;
  bottom: 0;
  width: 320px;
  padding: 8px;
  overflow: auto;
  background: linear-gradient(90deg, transparent, rgba(17, 16, 15, 0.2) 12%, rgba(17, 16, 15, 0.76));
}

.festival-leaflet-map .leaflet-top {
  top: 82px;
}

.festival-map .leaflet-control-zoom {
  margin: 18px 0 0 18px;
  border: 1px solid rgba(255, 244, 226, 0.28) !important;
  border-radius: 4px !important;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.festival-map .leaflet-control-zoom a {
  width: 42px;
  height: 42px;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 244, 226, 0.12) !important;
  background: rgba(23, 21, 19, 0.82) !important;
  color: #fff7ea !important;
  font-size: 24px !important;
  font-weight: 400;
  line-height: 42px !important;
  text-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.festival-map .leaflet-control-zoom a:last-child {
  border-bottom: 0 !important;
}

.festival-map .leaflet-control-zoom a:hover {
  background: rgba(154, 122, 80, 0.92) !important;
  color: #fff !important;
}

.festival-map .leaflet-control-zoom a.leaflet-disabled {
  background: rgba(23, 21, 19, 0.54) !important;
  color: rgba(255, 247, 234, 0.36) !important;
}

@media (max-width: 760px) {
  .festival-map__head {
    top: var(--festival-safe-top);
    left: 14px;
    right: 14px;
  }

  .festival-map__layout,
  .festival-map__stack,
  .festival-map-card,
  .festival-map__canvas,
  .festival-map__geo.festival-leaflet-map {
    min-height: 0;
    height: 100%;
  }

  .festival-map__stack,
  .festival-map-card,
  .festival-map__canvas,
  .festival-map__geo.festival-leaflet-map {
    position: absolute;
    inset: 0;
  }

  .festival-map__locations {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 94px;
    padding: 8px 6px 6px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 44vw);
    overflow-x: auto;
    overflow-y: hidden;
    background: linear-gradient(180deg, transparent, rgba(17, 16, 15, 0.84) 28%);
  }
}

.festival-leaflet-div-icon {
  position: absolute !important;
  width: 38px !important;
  height: 38px !important;
  border: 0;
  background: transparent;
}

.festival-tour-div-icon {
  position: absolute !important;
  width: 46px !important;
  height: 46px !important;
  border: 0;
  background: transparent;
}

.festival-tour-marker__core,
.festival-tour-marker__pulse {
  position: absolute;
  inset: 5px;
  border-radius: 2px !important;
}

.festival-minimap {
  position: fixed;
  right: var(--festival-edge);
  bottom: var(--festival-safe-bottom);
  width: min(518px, calc(100vw - (2 * var(--festival-edge))));
  height: 297px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px !important;
  background: #211d18;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.festival-minimap:hover {
  border-color: rgba(231, 201, 152, 0.34);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.festival-topbar,
.festival-topbar__right {
  align-items: flex-start;
}

.festival-actions {
  order: 2;
}

.festival-minimap__map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.festival-minimap__map .leaflet-tile-pane {
  filter: sepia(0.48) saturate(0.58) brightness(0.66) contrast(1.16);
}

.festival-minimap__map::after {
  content: '';
  position: absolute;
  z-index: 300;
  inset: 0;
  background: rgba(76, 57, 38, 0.14);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.festival-minimap.is-unavailable {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.festival-mini-marker-icon {
  position: absolute !important;
  border: 0;
  background: transparent;
}

.festival-mini-marker__core,
.festival-mini-marker__pulse {
  position: absolute;
  border-radius: 50% !important;
}

.festival-mini-marker__core {
  z-index: 2;
  inset: 10px;
  border: 2px solid #fff;
  background: #d7a951;
  box-shadow: 0 0 0 3px rgba(215, 169, 81, 0.26), 0 4px 12px rgba(0, 0, 0, 0.55);
}

.festival-mini-marker__pulse {
  z-index: 1;
  inset: 4px;
  border: 1px solid rgba(255, 195, 82, 0.88);
  background: rgba(255, 176, 43, 0.3);
  animation: festival-mini-pulse 2s ease-out infinite;
}

.festival-mini-marker-icon.is-active .festival-mini-marker__core {
  inset: 8px;
  background: #e33737;
  box-shadow: 0 0 0 4px rgba(227, 55, 55, 0.3), 0 4px 16px rgba(0, 0, 0, 0.65);
}

.festival-mini-marker-icon.is-active .festival-mini-marker__pulse {
  inset: 1px;
  border-color: rgba(255, 86, 72, 0.94);
  background: rgba(227, 55, 55, 0.34);
  animation-duration: 1.45s;
}

@keyframes festival-mini-pulse {
  0% { opacity: 0.9; transform: scale(0.55); }
  75%, 100% { opacity: 0; transform: scale(1.45); }
}

.festival-minimap .leaflet-control-zoom {
  margin: 8px 0 0 8px;
}

.festival-minimap .leaflet-control-zoom a {
  width: 25px;
  height: 25px;
  line-height: 25px;
}

.festival-minimap__label {
  position: absolute;
  z-index: 3;
  left: 7px;
  right: 7px;
  bottom: 7px;
  padding: 7px 34px 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  background: rgba(18, 17, 16, 0.76);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
  cursor: pointer;
  text-align: left;
}

.festival-minimap__label span,
.festival-minimap__label strong {
  display: block;
}

.festival-minimap__label span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.festival-minimap__label strong {
  margin-top: 2px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.festival-minimap__label .festival-icon {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
}

.festival-ui.is-panel-open .festival-minimap,
.festival-ui.is-suspended .festival-minimap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.festival-map__locations {
  top: 232px;
}

@media (max-width: 760px) {
  .festival-minimap {
    display: none;
  }

  .festival-map__locations {
    display: none;
  }
}

.festival-tour-marker__core {
  z-index: 2;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  background: #8f7049;
  color: #fff;
  box-shadow: 0 5px 20px rgba(45, 30, 12, 0.5);
}

.festival-tour-marker__core .festival-icon {
  width: 18px;
  height: 18px;
}

.festival-tour-marker__pulse {
  z-index: 1;
  border: 2px solid rgba(201, 168, 119, 0.82);
  background: rgba(201, 168, 119, 0.28);
  animation: festival-tour-pulse 2.2s ease-out infinite;
}

.festival-leaflet-marker__core,
.festival-leaflet-marker__pulse {
  position: absolute;
  inset: 5px;
  border-radius: 50% !important;
}

.festival-leaflet-marker__core {
  z-index: 2;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  background: #9e2729;
  color: #fff;
  box-shadow: 0 4px 16px rgba(80, 10, 12, 0.5);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.festival-leaflet-marker__pulse {
  z-index: 1;
  border: 2px solid rgba(158, 39, 41, 0.75);
  background: rgba(158, 39, 41, 0.22);
  animation: festival-map-pulse 1.8s ease-out infinite;
}

.leaflet-tooltip.festival-map-tooltip {
  width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 2px !important;
  background: rgba(18, 17, 16, 0.84) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  white-space: normal !important;
  transition: opacity 0.16s ease, filter 0.16s ease;
}

.leaflet-tooltip.festival-map-tooltip.is-colliding {
  opacity: 0 !important;
  pointer-events: none !important;
}

.leaflet-tooltip.festival-map-tooltip.is-forced-visible {
  z-index: 1000 !important;
  opacity: 1 !important;
  filter: brightness(1.08);
}

.festival-map-tooltip::before {
  display: none;
}

.festival-map-tooltip strong,
.festival-map-tooltip small {
  display: block;
}

.festival-tour-map-tooltip {
  min-width: 138px;
  max-width: 180px !important;
  border-color: rgba(219, 195, 161, 0.5) !important;
}

.festival-tour-map-tooltip strong {
  color: #f2d9b4;
  font-size: 13px;
}

.festival-tour-map-tooltip small {
  max-width: 160px;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.festival-map-tooltip strong {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.festival-map-tooltip small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.leaflet-marker-icon:hover .festival-leaflet-marker__core {
  background: #c13739;
  transform: scale(1.12);
}

@keyframes festival-map-pulse {
  0% { opacity: 0.9; box-shadow: 0 0 0 0 rgba(158, 39, 41, 0.34); }
  70%, 100% { opacity: 0; box-shadow: 0 0 0 14px rgba(158, 39, 41, 0); }
}

@keyframes festival-tour-pulse {
  0% { opacity: 0.9; box-shadow: 0 0 0 0 rgba(201, 168, 119, 0.34); }
  75%, 100% { opacity: 0; box-shadow: 0 0 0 16px rgba(201, 168, 119, 0); }
}

.festival-leaflet-map.is-zooming .festival-leaflet-marker__pulse,
.festival-leaflet-map.is-zooming .festival-tour-marker__pulse,
.festival-leaflet-map.is-moving .festival-leaflet-marker__pulse,
.festival-leaflet-map.is-moving .festival-tour-marker__pulse {
  animation-play-state: paused !important;
}

.festival-leaflet-map.is-zooming .festival-map-tooltip,
.festival-leaflet-map.is-moving .festival-map-tooltip {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

.festival-leaflet-map.is-zooming .leaflet-marker-icon,
.festival-leaflet-map.is-moving .leaflet-marker-icon {
  transition: none !important;
}

@media (max-width: 760px) {
  .festival-map-tooltip {
    max-width: 145px;
    padding: 5px 7px;
  }

  .leaflet-tooltip.festival-tour-map-tooltip {
    min-width: 118px;
    max-width: 150px !important;
  }

  .festival-map-tooltip strong { font-size: 9px; }
  .festival-map-tooltip small { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .festival-ui * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .festival-topbar,
  .festival-corner-actions,
  .festival-scene-info,
  .festival-minimap {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .festival-leaflet-marker__pulse {
    animation: none;
  }

  .festival-tour-marker__pulse {
    animation: none;
  }
}

.festival-ui.is-suspended .festival-tour-panel {
  opacity: 0;
  pointer-events: none;
}

.festival-button--tour {
  min-width: 138px;
  background: rgba(90, 74, 52, 0.84);
  border-color: rgba(215, 169, 81, 0.58);
}

.festival-button--tour .festival-icon {
  color: #f2ca83;
}

.festival-button--tour:hover,
.festival-button--tour[aria-expanded='true'] {
  background: rgba(121, 95, 61, 0.92);
  border-color: rgba(230, 188, 112, 0.92);
}

.festival-tour-panel {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  width: min(956px, calc(100vw - 48px));
  transform: translate(-50%, calc(-50% - 12px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(.22,1,.36,1), visibility 0.28s ease;
}

.festival-tour-panel--single {
  width: min(340px, calc(100vw - 48px));
}

.festival-tour-panel--double {
  width: min(658px, calc(100vw - 48px));
}

.festival-tour-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.festival-article-panel {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  width: min(1240px, calc(100vw - 48px));
  height: min(86vh, 920px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  transform: translate(-50%, calc(-50% - 12px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(19, 18, 17, 0.94);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(.22,1,.36,1), visibility 0.28s ease;
  overflow: hidden;
}

.festival-article-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.festival-article-panel__head {
  margin: 0;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(78, 62, 42, 0.34), rgba(19, 18, 17, 0.94));
}

.festival-article-panel__frame {
  min-height: 0;
  background: #151311;
}

.festival-article-panel__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #151311;
}

.festival-tour-panel .festival-tour-menu {
  margin: 0;
  gap: 16px;
  padding: 20px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(60, 56, 40, 0.9);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.festival-tour-panel__head {
  margin-bottom: 0;
  align-items: start;
}

.festival-tour-panel .festival-panel-kicker {
  color: rgba(242, 217, 180, 0.7);
}

.festival-tour-panel .festival-panel-title {
  font-size: clamp(38px, 3vw, 52px);
}

.festival-tour-panel .festival-tour-menu__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  grid-auto-rows: max-content;
  align-content: start;
  justify-content: center;
  gap: 18px;
  max-height: min(68vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.festival-tour-panel--single .festival-tour-menu__list {
  grid-template-columns: minmax(0, 300px);
}

.festival-tour-panel--double .festival-tour-menu__list {
  grid-template-columns: repeat(2, minmax(0, 300px));
}

.festival-tour-panel .festival-tour-menu__item {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 13, 0.78);
  box-shadow: none;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

.festival-tour-panel .festival-tour-menu__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 18px;
  object-fit: contain;
  object-position: center center;
  border-radius: 0 !important;
  background: #15171a;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.festival-tour-menu__copy {
  display: block;
  padding: 12px 14px 14px;
  background: rgba(19, 19, 16, 0.92);
  transition: background 0.26s ease;
}

.festival-tour-menu__copy small,
.festival-tour-menu__copy strong {
  display: block;
}

.festival-tour-menu__copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.festival-tour-menu__copy small .festival-icon {
  width: 14px;
  height: 14px;
  color: #f2ca83;
}

.festival-tour-menu__copy strong {
  margin-top: 3px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.festival-tour-panel .festival-tour-menu__item:hover,
.festival-tour-panel .festival-tour-menu__item:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(230, 188, 112, 0.92);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
  background: rgba(18, 19, 22, 0.94);
}

.festival-tour-panel .festival-tour-menu__item:hover img,
.festival-tour-panel .festival-tour-menu__item:focus-visible img {
  transform: scale(1.035);
  filter: brightness(1.05);
}

.festival-tour-panel .festival-tour-menu__item:hover .festival-tour-menu__copy,
.festival-tour-panel .festival-tour-menu__item:focus-visible .festival-tour-menu__copy {
  background: rgba(25, 24, 19, 0.96);
}

@media (max-width: 760px) {
  .festival-article-panel {
    width: calc(100vw - 16px);
    height: calc(100vh - 32px);
  }

  .festival-article-panel__head {
    padding: 14px 14px 10px;
  }

  .festival-button--tour {
    min-width: 42px;
    padding: 0 12px;
  }

  .festival-button--tour span {
    display: none;
  }

  .festival-tour-panel {
    top: 50%;
    left: 50%;
    width: calc(100vw - 12px);
  }

  .festival-tour-panel--single,
  .festival-tour-panel--double {
    width: calc(100vw - 12px);
  }

  .festival-tour-panel .festival-tour-menu {
    padding: 14px 14px 16px;
    gap: 12px;
  }

  .festival-tour-panel .festival-panel-title {
    font-size: 28px;
  }

  .festival-tour-panel .festival-tour-menu__list {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-height: min(72vh, 620px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .festival-tour-panel .festival-tour-menu__item img {
    aspect-ratio: 16 / 9;
    height: auto;
    padding: 10px;
  }

  .festival-viewer-close {
    right: 12px;
    min-height: 42px;
    padding: 0 11px;
  }

  .festival-viewer-close span {
    display: none;
  }

  .festival-tour-menu__copy {
    padding: 10px 12px 12px;
  }

  .festival-tour-menu__copy strong {
    font-size: 14px;
  }
}

.festival-ui.is-suspended .festival-article-panel {
  opacity: 0;
  pointer-events: none;
}

@keyframes festival-ui-rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
