/* ═══════════════════════════════════════════
   HUD (heads-up display: mode, clock, message)
   ═══════════════════════════════════════════ */

#hud-text {
  position: absolute;
  top: 3vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  z-index: 10001;
  display: none;
}

/* ── Shared line style ── */
.hud-line {
  color: #FFF;
  font-weight: bold;
  text-shadow: 0.1vmin 0.1vmin 0.3vmin rgba(0, 0, 0, 0.8);
  margin: 0.5vh 0;
}

/* ── Individual lines ── */
#mode-line {
  font-size: 1.4vmin;
}

#clock-line {
  font-size: 1.8vmin;
  color: #FFD700;
}

#msg-line {
  font-size: 1.4vmin;
}

#btn-end-here {
  display: none;
  position: fixed;
  left: 50%;
  top: 75%;
  transform: translateX(-50%);
  margin-top: 0;
  padding: 0.9vh 1.5vw;
  font-size: 1.2vmin;
  font-weight: 700;
  letter-spacing: 0.04vmin;
  color: #1B1400;
  background: rgba(255, 215, 0, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0.7vmin;
  cursor: pointer;
  pointer-events: all;
  z-index: 10003;
  box-shadow: 0 0.25vmin 1vmin rgba(0, 0, 0, 0.38);
  transition: transform 0.18s ease, background 0.18s ease;
}

#btn-end-here.visible {
  display: inline-block;
}

#btn-end-here:hover {
  background: rgba(255, 225, 84, 0.95);
  transform: translate(-50%, -1px);
}

#btn-end-here:active {
  transform: translateX(-50%);
}

#btn-stay-30 {
  display: none;
  position: fixed;
  left: 50%;
  top: calc(75% + 5vh);
  transform: translateX(-50%);
  margin-top: 0;
  padding: 0.7vh 1.2vw;
  font-size: 1.1vmin;
  font-weight: 600;
  letter-spacing: 0.03vmin;
  color: #e9edf8;
  background: rgba(60, 100, 200, 0.72);
  border: 1px solid rgba(160, 190, 255, 0.55);
  border-radius: 0.7vmin;
  cursor: pointer;
  pointer-events: all;
  z-index: 10003;
  box-shadow: 0 0.25vmin 1vmin rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, background 0.18s ease;
}

#btn-stay-30.visible {
  display: inline-block;
}

#btn-stay-30:hover {
  background: rgba(80, 120, 230, 0.88);
  transform: translate(-50%, -1px);
}

#btn-stay-30:active {
  transform: translateX(-50%);
}
