/* ============================================================
   common.css — shared furniture across every page
   Tokens inherited from the existing site:
     ink    #050505 / #0b0a08
     bone   #f4e9c8 / #d8cfba
     rust   #7a1f1f
     amber  #ffdf8c
     violet #b83bff   (reserved: "it opens")
   No storage. No per-visit variation. Identical every time.
   ============================================================ */

/* ---------- idle notice ---------- */
.idle-notice {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 2.6s ease, visibility 2.6s;
  pointer-events: none;
}

body.is-idle .idle-notice {
  opacity: 1;
  visibility: visible;
}

.idle-notice p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 3.4vw, 23px);
  letter-spacing: 0.16em;
  color: rgba(244, 233, 200, 0.72);
  text-shadow: 0 0 22px rgba(255, 223, 140, 0.22);
  text-align: center;
  padding: 0 1.6rem;
  animation: idlePulse 5.5s ease-in-out infinite;
}

@keyframes idlePulse {
  0%, 100% { opacity: 0.62; letter-spacing: 0.16em; }
  50%      { opacity: 1;    letter-spacing: 0.21em; }
}

@media (prefers-reduced-motion: reduce) {
  .idle-notice p {
    animation: none;
  }
  .idle-notice {
    transition-duration: 0.2s;
  }
}
