.flexible-start-timer {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #1f2937;
  color: #f9fafb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.flexible-start-timer--start {
  pointer-events: auto;
  background: #047857;
  color: #ecfdf5;
}

.flexible-start-timer__link {
  color: inherit;
  text-decoration: none;
}

.flexible-start-timer__link:hover {
  text-decoration: underline;
}

.flexible-start-timer--hidden {
  display: none;
}

.flexible-start-timer--warn {
  background: #b45309;
  color: #fffbeb;
}

.flexible-start-timer--expired {
  background: #991b1b;
  color: #fef2f2;
}

/* In-page banner on /challenges */
.flexible-start-challenge-banner {
  margin-top: 1.25rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(17, 24, 39, 0.85);
  color: #f9fafb;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.flexible-start-challenge-banner--hidden {
  display: none;
}

.flexible-start-challenge-banner__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.flexible-start-challenge-banner__time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.flexible-start-challenge-banner__hint {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.flexible-start-challenge-banner__cta {
  display: inline-block;
  color: #ecfdf5;
  background: #059669;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.flexible-start-challenge-banner__cta:hover {
  color: #fff;
  background: #047857;
  text-decoration: none;
}

.flexible-start-challenge-banner--start {
  background: rgba(6, 78, 59, 0.92);
}

.flexible-start-challenge-banner--warn {
  background: rgba(146, 64, 14, 0.92);
}

.flexible-start-challenge-banner--expired {
  background: rgba(127, 29, 29, 0.92);
}

.jumbotron .flexible-start-challenge-banner {
  color: #f9fafb;
}
