 /* ---------------------------------------
 * ROUND ENGINE HUD (timer, overlay, podium)
 * -------------------------------------*/
.round-timer {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #f9fafb;
  letter-spacing: 0.06em;
}
.round-timer.hidden {
  display: none;
}

/* Full-screen 3…2…1… Duell! / STOP overlay */
.round-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease-out;
}
.round-overlay.active {
  opacity: 1;
}
.round-overlay-text {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(80px, 15vw, 200px); /* Much bigger: min 80px, scales to 15% viewport width, max 200px */
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #f9fafb;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}
.round-overlay.hidden {
  visibility: hidden;   /* let the fade animation still run */
}


/* Duell: make the "ll" orange (easter egg handled in JS) */
.round-overlay-text .duell-ll {
  color: #f97316; /* Duelly orange */
}


/* Results podium container */
.round-results {
  position: fixed;
  inset: 0;
  z-index: 940;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 80px;
  pointer-events: none;
}
.round-results.hidden {
  display: none;
}

.results-podium {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(248, 250, 252, 0.12), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  pointer-events: auto;
}

.podium-slot {
  width: 120px;
  border-radius: 14px 14px 0 0;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 8px 8px 12px;
  text-align: center;
  position: relative;
}
.podium-slot.first {
  height: 120px;
}
.podium-slot.second {
  height: 90px;
  transform: translateY(18px);
}
.podium-slot.third {
  height: 75px;
  transform: translateY(28px);
}

.place-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 4px;
}
.podium-name {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
  word-break: break-word;
}

.podium-trophy {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
}