/* Idle-logout banner — sticky top, gold accent, slide down on appear. */
.ep-idle-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11000;
  background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(15,15,15,0.92));
  border-bottom: 1px solid rgba(255, 200, 8, 0.45);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 200, 8, 0.12) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: ep-idle-slidein 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.ep-idle-banner-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
}
.ep-idle-icon {
  font-size: 20px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255, 200, 8, 0.6));
}
.ep-idle-text {
  flex: 1;
  font-size: 13px;
  color: #F1F5F9;
  line-height: 1.4;
}
.ep-idle-count {
  display: inline-block;
  min-width: 36px;
  text-align: center;
  font-family: 'Geist Mono', 'Noto Sans Mono', monospace;
  font-size: 16px;
  font-weight: 800;
  color: #FFC808;
  text-shadow: 0 0 10px rgba(255, 200, 8, 0.6);
  margin: 0 4px;
}
.ep-idle-stay {
  padding: 8px 16px;
  background: linear-gradient(180deg, #FFE680, #FFC808 60%, #D4A843);
  border: none;
  border-radius: 8px;
  color: #1a1a00;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 200, 8, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ep-idle-stay:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 200, 8, 0.55);
}
.ep-idle-stay:active { transform: scale(0.98); }
.ep-idle-bar {
  height: 3px;
  background: rgba(255, 200, 8, 0.1);
}
.ep-idle-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFE680, #FFC808);
  box-shadow: 0 0 10px rgba(255, 200, 8, 0.7);
  width: 100%;
  transition: width 0.5s linear;
}

@keyframes ep-idle-slidein {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@media (max-width: 600px) {
  .ep-idle-banner-inner { padding: 10px 14px; gap: 8px; flex-wrap: wrap; }
  .ep-idle-text { font-size: 12px; flex-basis: 100%; order: 2; }
  .ep-idle-icon { order: 1; }
  .ep-idle-stay { order: 3; flex: 1; padding: 9px 12px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-idle-banner { animation: none; }
  .ep-idle-bar-fill { transition: none; }
}
