  body {
  margin: 0;
  display: flex;
  flex-direction: row;
  height: 100vh;
  font-family: 'museo-sans', sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: #555;
}
	  
	  #map {
  width: 100%;
  height: 100vh;
  position: relative;
}
	  
#map-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

#map-overlay #map-activate-btn {
  z-index: 2;
  margin: 0 auto;
  padding: 14px 28px;
  font-size: 1rem;
}

#map-overlay picture,
#map-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#map-activate-btn {
  font-family: 'museo-sans', sans-serif;
  font-size: 16px;
  padding: 12px 24px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  animation: subtlePulse 2.4s ease-in-out infinite;
}

#map-activate-btn:hover {
  background-color: #b84e10;
  opacity: 1;
} 

@media (max-width: 599px) {
  body {
    flex-direction: column;
    height: auto;
  }

  #sidebar {
    display: none;
  }
}

    #sidebar {
  width: 160px;
  max-width: 19vw;
  min-width: 110px;
  padding: 10px 8px 14px;
  background: linear-gradient(to bottom, #faf6f0, #f5efe6);
  overflow-y: auto;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.08);
  border-right: 1px solid #e8e0d6;
}

    #map {
      flex-grow: 1;
      position: relative;
    }

#map-activate-btn {
  padding: 1em 2em;
  font-size: 1.2em;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}	  
	  
	.place .label {
  opacity: 0.6;
  font-weight: normal;
  transform: translateX(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.place.active .label {
  opacity: 1;
  font-weight: bold;
  transform: translateX(4px);
}

    #place-list {
      position: relative;
      padding-left: 24px;
    }
	  
    .place {
  position: relative;
  z-index: 1;
  padding: 10px 10px 10px 14px;
  margin-left: -2px;
  border-left: 2px solid #eee;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, opacity 0.3s;
  opacity: 0.6;
}
	  
	  .place.visited,
.place.active {
  opacity: 1;
}

    .place::before {
      content: '';
      position: absolute;
      top: 16px;
      left: -9px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: white;
      border: 2px solid #ccc;
      transition: all 0.3s ease;
    }

    .place:hover {
      background-color: #f9f9f9;
    }

    .place:hover::before {
      transform: scale(1.2);
      box-shadow: 0 0 4px rgba(149, 62, 8, 0.3);
    }

    .place.completed {
      border-left-color: #ccc;
	  transition-delay: 0.2s;	
    }

    .place.completed::before {
      background: #953e08;
      border-color: #953e08;
      opacity: 0.4;
    }

    .place.active {
      background: #f2dfd5;
      border-left-color: #953e08;
    }

    .place.active::before {
      background: #953e08;
      border-color: #953e08;
      transform: scale(1.4);
      opacity: 1;
    }
	  
	.place.visited::before {
  background: #999;
  border-color: #999;
  opacity: 0.6;
  transform: scale(1.1);
}

    .place.upcoming {
      border-left-color: #eee;
    }

    .place.upcoming::before {
      background: white;
      border-color: #ccc;
      opacity: 0.3;
    }

    .place strong {
      display: block;
      font-size: 16px;
      margin-bottom: 4px;
    }

    .marker {
      width: 32px;
      height: 32px;
      will-change: transform;
      transition: opacity 0.5s ease;
    }

    .marker .icon {
      width: 80%;
      height: 80%;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }

    .marker .icon.inactive {
      background-image: url('../maps/icons/marker-inactive-2.png');
    }

    .marker .icon.active {
      background-image: url('../maps/icons/marker-active-2.png');
    }

    .marker.active .icon {
      animation: jump 2.5s ease-in-out 3;
    }

    @keyframes jump {
      0%   { transform: translateY(0); }
      25%  { transform: translateY(-12px); }
      50%  { transform: translateY(0); }
      75%  { transform: translateY(-7px); }
      100% { transform: translateY(0); }
    }

    @keyframes spin {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
	  
	@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 rgba(149, 62, 8, 0); }
  40%  { box-shadow: 0 0 14px rgba(149, 62, 8, 0.6); }
  100% { box-shadow: 0 0 0 rgba(149, 62, 8, 0); }
}

.pulse {
  animation: pulseGlow 0.6s ease;
}
	  
	  @keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(149, 62, 8, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(149, 62, 8, 0); }
  100% { box-shadow: 0 0 0 0 rgba(149, 62, 8, 0); }
}

.place.active::before {
  animation: dotPulse 1.4s ease-out infinite;
}
	  
	  @keyframes sidebarPulse {
  0% { box-shadow: 0 0 0 rgba(149, 62, 8, 0); }
  50% { box-shadow: 0 0 6px rgba(149, 62, 8, 0.3); }
  100% { box-shadow: 0 0 0 rgba(149, 62, 8, 0); }
}

@keyframes subtlePulse {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(149, 62, 8, 0.3); }
  70%  { transform: scale(1.03); box-shadow: 0 0 10px 4px rgba(149, 62, 8, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(149, 62, 8, 0); }
}

#sidebar-progress-vertical.animate {
  animation: sidebarPulse 0.6s ease-in-out;
}
	  
    #map-nav-wrapper {
      position: absolute;
      bottom: 25px;
      right: 16px;
      z-index: 10;
      width: 140px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    #map-nav-buttons {
      display: flex;
      gap: 8px;
      margin-bottom: 6px;
    }

    #map-nav-buttons button {
      background: white;
      border: 1px solid #ccc;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      font-size: 18px;
      cursor: pointer;
      transition: background 0.3s, opacity 0.3s;
    }

    #map-nav-buttons button:hover {
      background: #fce7d6;
    }

    #map-nav-buttons button:disabled {
      opacity: 0.4;
      cursor: default;
    }
	  
	#map-nav-buttons button {
  position: relative; /* needed for absolute tooltip */
}

#map-nav-buttons button::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
}

#map-nav-buttons button:hover::after {
  opacity: 1;
}  
	  
	#map-nav-buttons i {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2;
  color: #333;
  display: inline-block;
  vertical-align: middle;
}
	  
	  #map-nav-buttons svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  color: #333;
  display: block;
  margin: auto;
}
	  
  #map-nav-buttons button:active svg {
  transform: scale(0.8);
  transition: transform 0.2s ease;
}	  

    #map-progress-bar {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 4px;
  overflow: visible; /* important */
  position: relative;
  z-index: 2;
}

    #map-progress-fill {
  height: 100%;
  width: 0%;
  background: #953e08;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
  box-shadow: 0 0 0 rgba(149, 62, 8, 0); /* default, animatable */
}
	  
	  #sidebar-progress {
  position: absolute;
  top: 16px;
  left: 3px; /* 👈 center of the dot (circle is offset -9px, width 12px → center is at -3px + padding) */
  width: 2px;
  background: #953e08;
  height: 0;
  transition: height 0.6s ease;
  z-index: 0;
}

#progress-connector {
  position: absolute;
  left: 3px; /* 👈 same as sidebar-progress */
  width: 0;
  height: 2px;
  background: #953e08;
  transition: width 0.3s ease, top 0.4s ease;
  z-index: 1;
}

    .toast {
      position: absolute;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #953e08;
      color: white;
      padding: 10px 20px;
      border-radius: 4px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
      z-index: 999;
      font-size: 14px;
      font-family: 'museo-sans', sans-serif;
    }

    .toast.show {
      opacity: 1;
    }

    .floating-info-panel {
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  width: 325px;
  background: #fff;
  border-left: 4px solid #953e08;
  border-radius: 4px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  opacity: 0;
  z-index: 3;
  font-family: 'museo-sans', sans-serif;
  pointer-events: none;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.92);		
}

/* Make panel visible but don't override transform */
.floating-info-panel.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Direction-aware animation classes */
.floating-info-panel.animate-in {
  animation: slideInFromBottom 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.floating-info-panel.animate-out {
  animation: slideOutToTop 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.floating-info-panel.animate-in-top {
  animation: slideInFromTop 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.floating-info-panel.animate-out-bottom {
  animation: slideOutToBottom 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* Entry from below with bounce */
@keyframes slideInFromBottom {
  0% {
    transform: translateY(20%);
    opacity: 0;
  }
  80% {
    transform: translateY(-60%);
    opacity: 1;
  }
  100% {
    transform: translateY(-55%);
    opacity: 1;
  }
}

/* Exit to top: move slightly further out */
@keyframes slideOutToTop {
  0% {
    transform: translateY(-55%);
    opacity: 1;
  }
  100% {
    transform: translateY(-120%);
    opacity: 0;
  }
}

/* Entry from top: slide in from above */
@keyframes slideInFromTop {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }
  80% {
    transform: translateY(-50%);
    opacity: 1;
  }
  100% {
    transform: translateY(-55%);
    opacity: 1;
  }
}

/* Exit to bottom: move a little below */
@keyframes slideOutToBottom {
  0% {
    transform: translateY(-55%);
    opacity: 1;
  }
  100% {
    transform: translateY(20%);
    opacity: 0;
  }
}
	  
	  /* Keyframes for subtle fade-up */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply default state (JS will reset class each time) */
.floating-info-panel .photo,
.floating-info-panel .day,
.floating-info-panel .title,
.floating-info-panel .desc {
  opacity: 0;
  transform: translateY(8px);
}

/* Animate in with subtle stagger */
.floating-info-panel.visible .photo {
  animation: fadeUp 1s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}

.floating-info-panel.visible .day {
  animation: fadeUp 1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
}

.floating-info-panel.visible .title {
  animation: fadeUp 1s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}

.floating-info-panel.visible .desc {
  animation: fadeUp 1s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards;
}
	  
/* Trigger classes for reverse animations */
.floating-info-panel.animate-in-top {
  animation: slideInFromTop 1s ease forwards;
}

.floating-info-panel.animate-out-bottom {
  animation: slideOutToBottom 1s ease forwards;
}	  

/* Optional: keep these if still used in JS */
.floating-info-panel.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Inner content styles – keep as-is */
.floating-info-panel .day {
  font-size: 12px;
  font-weight: bold;
  color: #953e08;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.floating-info-panel .title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.floating-info-panel .desc {
  font-size: 14px;
  color: #555;
}

.floating-info-panel .day,
.mobile-info-panel .day {
  font-family: 'museo-slab', serif;
  color: #953e08; /* restore brownish color */
  font-weight: 400;
  font-weight: bold;
}

.floating-info-panel .title,
.mobile-info-panel .title {
  font-family: 'museo-sans', sans-serif;
  font-weight: 400;
  color: #333;
  font-size: 16px;
  margin-bottom: 6px;
}
	  
@media (max-width: 599px) {
  body {
    flex-direction: column;
    height: auto;
  }

  #sidebar {
    display: none;
  }

  #map {
    flex-grow: 1;
    height: 100vh;
    position: relative;
  }

  #map-nav-wrapper {
    bottom: 12px;
    right: 12px;
    width: auto;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
  }

  #map-nav-buttons {
    flex-direction: row;
    margin-bottom: 0;
  }

  #map-nav-buttons button {
    width: 32px;
    height: 32px;
  }

  .floating-info-panel {
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
    max-width: none;
    padding: 14px 16px;
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    animation: none !important;
    backdrop-filter: none;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.08);
    border-left: none;
    border-top: 4px solid #953e08;
    margin-top: -4px;
  }

  .floating-info-panel .day {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .floating-info-panel .title {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .floating-info-panel .desc {
    font-size: 13px;
    line-height: 1.4;
  }

  .floating-info-panel .photo {
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .toast {
    bottom: 64px;
    font-size: 13px;
    font-family: 'museo-sans', sans-serif;
    padding: 8px 16px;
  }
}

	  /* Base hidden */
#mobile-info-scroll {
  display: none;
  position: relative;	
}

/* On mobile, use split screen: top = map, bottom = stacked panels */
@media (max-width: 599px) {
  #map {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  height: calc(var(--vh, 1vh) * 60);
  transition: height 0.4s ease;
}

#map.shrink {
  height: 40vh; /* Shrinks to 40% */
}

#map.outro-full {
  height: calc(var(--vh, 1vh) * 100);
  border-radius: 0 !important;
}

#mobile-info-scroll {
  display: block;
  width: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  position: fixed;
  top: 60vh;
  height: 40vh;
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  padding-top: 16px;
  scroll-padding-bottom: 80px; /* 👈 this line */
  box-sizing: border-box;
  transition: top 0.4s ease, height 0.4s ease;
}

#mobile-info-scroll.expand {
  top: 40vh;    /* Below the 40% map */
  height: 60vh; /* Takes up remaining 60% */
}

  .mobile-info-panel {
    scroll-snap-align: start;
    padding: 16px;
    border-top: 4px solid #953e08;
    background: #fff;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.06);
    margin: 0 auto 12px auto;
    width: calc(100% - 24px);
    border-radius: 8px;
  }

  .mobile-info-panel img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .mobile-info-panel .day {
    font-size: 12px;
    color: #953e08;
    font-weight: bold;
    margin-bottom: 2px;
    text-transform: uppercase;
  }

  .mobile-info-panel .desc {
    font-family: 'museo-sans', sans-serif; /* or 'museo-slab' if preferred */
    font-size: 14px;
    line-height: 1.4;
    color: #444;
  }  

  .mobile-info-panel .title {
  font-family: 'museo-sans', sans-serif;
  font-size: 16px;
  font-weight: 400; /* 👈 ensures it's not overridden */
  color: #333;
  margin-bottom: 6px;
}  

  #map-controls,
  #map-nav-wrapper {
    display: none;
  }
}	  
	  
.intro-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180vh;
  pointer-events: none;
  z-index: -1;
  background: transparent;
}

.intro-placeholder .spacer {
  height: 40vh;
}
	  
@media (max-width: 1024px) {
  .intro-placeholder .spacer {
    height: 5vh;
  }
}	  
	  
@media (max-width: 599px) {
  body {
    flex-direction: column;
    height: auto;
  }

  #sidebar {
    display: none;
  }

  #map.shrink {
    height: 40vh;
  }

  #mobile-info-scroll {
    display: block;
    width: 100%;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    position: fixed;
    top: 60vh;
    height: 40vh;
    left: 0;
    right: 0;
    z-index: 10;
    background: #fff;
    padding-top: 16px;
    box-sizing: border-box;
    transition: top 0.4s ease, height 0.4s ease;
  }

  #mobile-info-scroll.expand {
    top: 40vh;
    height: 60vh;
  }

  .mobile-info-panel {
    scroll-snap-align: start;
    padding: 16px;
    border-top: 4px solid #953e08;
    background: #fff;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.06);
    margin: 0 auto 12px auto;
    width: calc(100% - 24px);
    border-radius: 8px;
  }

  .mobile-info-panel img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .mobile-info-panel .day {
    font-size: 12px;
    color: #953e08;
    font-weight: bold;
    margin-bottom: 2px;
    text-transform: uppercase;
  }

  .mobile-info-panel .desc {
    font-size: 14px;
    line-height: 1.4;
    color: #444;
  }

  /* Outro panel — visible card that triggers the route overview */
  .mobile-outro-panel {
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: linear-gradient(135deg, #f5efe6 0%, #ede4d6 100%);
    border-top: 4px solid #953e08;
    cursor: pointer;
  }

  .outro-content {
    text-align: center;
    padding: 16px;
  }

  .outro-icon {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .outro-text {
    font-family: 'museo-sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #953e08;
  }

  #mobile-info-scroll.inactive {
    display: none !important;
  }

  #map-controls,
  #map-nav-wrapper {
    display: none;
  }
}

body.scroll-locked {
  overflow: hidden;
  touch-action: none;
  position: fixed;
  width: 100%;
}

@media (max-width: 600px) {
  #map-overlay #map-activate-btn {
    font-family: 'museo-sans', sans-serif;
    font-size: 15px;
    padding: 12px 22px;
  }
}

#floating-info.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  /* Ensure the floating panel is visible */
  #floating-info {
    display: block;
  }

  /* Style the image inside the floating panel */
  .floating-info-panel picture {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .floating-info-panel img.photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px; /* or 220px for tablets */
  border-radius: 10px;
}
}

@media (min-width: 700px) and (max-width: 980px) {
  #floating-info {
    max-width: 260px; /* Slightly wider for narrow portrait tablets/phones */
  }

  .floating-info-panel picture,
  .floating-info-panel img.photo {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
  }
}

/* Hide sidebar on tablet portrait — not enough horizontal room */
@media (min-width: 600px) and (max-width: 979px) {
  #sidebar {
    display: none !important;
  }
}

@media (min-width: 768px) {
  #floating-info {
    left: 40px; /* 👈 adjust this number as needed */
  }
}

@media (min-width: 1280px) {
  .floating-info-panel {
    width: 380px;
    padding: 20px 24px;
  }

  .floating-info-panel img.photo {
    max-height: 380px;
  }

  .floating-info-panel .title {
    font-size: 18px;
  }

  .floating-info-panel .desc {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (min-width: 1440px) {
  .floating-info-panel {
    width: 400px;
    padding: 20px 24px;
  }

  .floating-info-panel .day {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .floating-info-panel .title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .floating-info-panel .desc {
    font-size: 15px;
    line-height: 1.5;
  }

  .floating-info-panel img.photo {
    max-height: 340px;
  }
}

@media (min-width: 1600px) {
  .floating-info-panel {
    width: 460px;
    padding: 22px 28px;
  }

  .floating-info-panel .day {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .floating-info-panel .title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .floating-info-panel .desc {
    font-size: 16px;
    line-height: 1.6;
  }

  .floating-info-panel img.photo {
    max-height: 380px;
  }
}

@media (min-width: 1920px) {
  .floating-info-panel {
    width: 520px;
    padding: 26px 32px;
  }

  .floating-info-panel .day {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .floating-info-panel .title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .floating-info-panel .desc {
    font-size: 17px;
    line-height: 1.7;
  }

  .floating-info-panel img.photo {
    max-height: 420px;
  }
}

@media (max-width: 360px) {
  .mobile-info-panel {
    padding: 12px;
    font-size: 13px;
  }
  .mobile-info-panel .title {
    font-size: 14px;
  }
}
/* Re-engage banner — persistent, clickable, appears on exit top or bottom */
.reactivate-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(42, 33, 24, 0.88);
  color: #fff;
  padding: 18px 36px;
  border-radius: 8px;
  font-size: 17px;
  font-family: 'museo-sans', sans-serif;
  cursor: pointer;
  z-index: 999;
  white-space: nowrap;
  border: 1px solid rgba(193, 125, 60, 0.6);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, background 0.2s ease, transform 0.2s ease;
}

.reactivate-banner.visible {
  opacity: 1;
  pointer-events: auto;
}

.reactivate-banner:hover {
  background: rgba(149, 62, 8, 0.95);
  transform: translate(-50%, -50%) scale(1.03);
}

/* Exit map button — hidden by default, visible on tablet landscape + mobile */
#map-exit-btn {
  display: none;
}

@media (min-width: 980px) and (max-height: 800px) {
  #map-exit-btn {
    display: block;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(42, 33, 24, 0.7);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 6px 14px;
    font-family: 'museo-sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  #map-exit-btn:hover {
    background: rgba(149, 62, 8, 0.9);
    color: #fff;
  }
}

@media (max-width: 599px) {
  #map-exit-btn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(42, 33, 24, 0.7);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 5px 12px;
    font-family: 'museo-sans', sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }
}
