/* THE REPLY WAITS FOR HIM — js/dialogue-scenes/scene-phone-reply-keeper.js
   A scripted chat is owed an answer and the phone is down (or he is on
   the Messages list): the corner phone and her row glow gold until he
   is back in her thread. Gold #c4a87a, opacity/glow only — no movement,
   the corner phone keeps its own tilt. */

#floatingPhone.prk-waiting {
  animation: prkCornerGlow 1.6s ease-in-out infinite;
}
@keyframes prkCornerGlow {
  0%, 100% {
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 0 rgba(196, 168, 122, 0));
  }
  50% {
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(196, 168, 122, 0.95));
  }
}

/* Its screen lights up too — a gold glow alone barely reads over the
   PC's pale pages. */
#floatingPhone.prk-waiting .floating-phone-screen {
  background-image: none;
  animation: prkScreenLit 1.6s ease-in-out infinite;
}
@keyframes prkScreenLit {
  0%, 100% { background-color: #0a0805; box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.9), inset 0 0 0 1px #1a120c; }
  50%      { background-color: #7a6442; box-shadow: inset 0 0 16px rgba(232, 208, 160, 0.9), inset 0 0 0 1px #c4a87a; }
}

/* Over the PC the HUD slides the corner phone off screen
   (fbi-document-style.css, body.pc-hud-hidden). A reply is owed, so it
   stays where he can reach it — more specific, same !important. */
body.pc-hud-hidden #floatingPhone.floating-phone.prk-waiting {
  transform: rotate(-9deg) translate(0, 0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.phone-conversation-item.prk-row {
  box-shadow: inset 0 0 0 2px rgba(196, 168, 122, 0.85);
  animation: prkRowGlow 1.4s ease-in-out infinite;
}
@keyframes prkRowGlow {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(196, 168, 122, 0.35); }
  50%      { box-shadow: inset 0 0 0 2px rgba(196, 168, 122, 0.95); }
}

@media (prefers-reduced-motion: reduce) {
  #floatingPhone.prk-waiting {
    animation: none;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(196, 168, 122, 0.85));
  }
  #floatingPhone.prk-waiting .floating-phone-screen { animation: none; background: #4a3c26; box-shadow: inset 0 0 12px rgba(196, 168, 122, 0.8); }
  .phone-conversation-item.prk-row { animation: none; }
}
