/* ---- Explorer Page Custom Styles ---- */

.cursive-quote {
  font-family: 'Caveat', cursive;
  font-size: 1.95rem;
  font-weight: 500;
  color: var(--glacier);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(14, 159, 140, 0.1);
}

html.dark .cursive-quote {
  text-shadow: 0 2px 12px rgba(94, 234, 212, 0.15);
}

#runner-container {
  position: relative;
  width: 100%;
  height: 40px; /* Compact height so it fits directly below the text line */
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

#runner-container .track-line {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glacier);
  opacity: 0.45;
}

#runner-container .boulder {
  position: absolute;
  bottom: 10px;
  color: var(--glacier);
  opacity: 0.65;
  background: transparent;
}

#runner-container .boulder-1 {
  width: 20px;
  height: 20px;
}

#runner-container .boulder-2 {
  width: 20px;
  height: 20px;
}

#runner-container .boulder-3 {
  width: 20px;
  height: 20px;
}

#runner-container .boulder-4 {
  width: 20px;
  height: 20px;
}

#runner-container .mountain-container {
  position: absolute;
  right: 8px;
  bottom: 10px; /* Align with track line */
  width: 120px;
  height: 120px;
  pointer-events: none;
}

#runner-container .mountain-container svg {
  width: 100%;
  height: 100%;
  color: var(--glacier);
  opacity: 0.6;
}

/* Mobile responsive version */
@media (max-width: 640px) {
  #runner-container {
    height: 90px; /* Give it space to stack below the mobile quote */
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
  }

  #runner-container .mountain-container {
    width: 80px;
    height: 80px;
    right: 4px;
  }
}

#runner-character {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 28px;
  height: 28px;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  will-change: transform;
  transition: opacity 0.5s ease;
}
