#top-selector-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}

.top-selector {
  display: flex;
  justify-content: center;
  padding: 40px 20px 20px 20px;
  pointer-events: none;
}

.selector-content {
  pointer-events: auto;
  transition: all 0.3s ease;
  text-align: center;
}

.selector-content:hover {
  transform: translateY(-2px);
}

.selector-title {
  margin: 0;
  font-size: 30px;
  font-weight: 650;
  color: #FFFFFF;
  letter-spacing: 1px;
  text-shadow: 0 0 18px rgba(78, 217, 217, 0.35);
  cursor: default;
  user-select: none;
}

.selector-subtitle {
  margin: 4px 0 0;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
  max-width: 520px;
  user-select: none;
}

/* Loading indicator: a line of text over a hairline progress bar, under the subtitle */
.load-status {
  margin: 10px auto 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: opacity 0.6s ease;
  user-select: none;
}
.load-bar {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.load-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #2a9d8f, #e76f9e);
  transition: width 0.2s ease;
}
.load-status.is-indeterminate .load-bar-fill {
  width: 35%;
  animation: load-slide 1.2s ease-in-out infinite;
}
@keyframes load-slide {
  0% { left: -35%; }
  100% { left: 100%; }
}
.load-status.is-done {
  opacity: 0;
}
.load-status[hidden] {
  display: none;
}
.load-status.is-error {
  width: auto;
  max-width: 360px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(16, 18, 23, 0.78);
  border: 1px solid rgba(252, 165, 165, 0.25);
  line-height: 1.4;
  color: #fca5a5;
}
.load-status.is-error .load-bar {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .top-selector {
    padding-top: 28px;
  }

  .selector-title {
    font-size: 24px;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .top-selector {
    padding: 22px 64px 12px;
  }

  .selector-title {
    font-size: 21px;
    letter-spacing: 0.5px;
  }

  .selector-subtitle {
    font-size: 11.5px;
  }
}
