/* ═══════════════════════════════════════════
   Idle Warning Overlay
   Edit this file to adjust the idle prompt.
   ═══════════════════════════════════════════ */

/* ── Full-screen backdrop ── */
#idle-warning {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 25000;
  align-items: center;
  justify-content: center;
}

#idle-warning.visible {
  display: flex;
}

/* ── Central box ── */
#idle-warning-box {
  background: rgba(20, 20, 20, 0.97);
  border: 2px solid rgba(180, 151, 77, 0.7);
  border-radius: 1.5%;
  padding: 3% 5%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2%;
  box-shadow: 0 0 4% rgba(0, 0, 0, 0.8);
  width: 50%;
}

/* ── "Still there?" heading ── */
#idle-warning-text {
  color: #e0c97a;
  font-size: 2.2vw;
  font-family: inherit;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* ── Subtitle line ── */
#idle-warning-subtext {
  color: rgba(220, 220, 220, 0.7);
  font-size: 1.2vw;
  font-family: inherit;
  letter-spacing: 0.03em;
}

/* ── Countdown number ── */
#idle-countdown {
  color: #fff;
  font-size: 5vw;
  font-weight: bold;
  font-family: inherit;
  line-height: 1;
}

/* ── Continue button ── */
#idle-continue-btn {
  background: rgba(180, 151, 77, 0.15);
  border: 2px solid rgba(180, 151, 77, 0.7);
  color: #e0c97a;
  font-size: 1.2vw;
  font-family: inherit;
  padding: 1% 6%;
  border-radius: 0.6%;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.2s;
  width: 60%;
}

#idle-continue-btn:hover {
  background: rgba(180, 151, 77, 0.35);
}
