/* ban-ribbon.css - top-fixed glowing red ribbon + ack modal + inline red banner */

.ban-ribbon {
  position: fixed; top: 0; left: 0; right: 0; height: 36px; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, #ef4444 0%, #b91c1c 50%, #ef4444 100%);
  background-size: 200% 100%;
  color: #fff; font-weight: 700; font-family: system-ui, sans-serif; font-size: 13px;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.7), 0 2px 8px rgba(0,0,0,0.4);
  animation: ban-shimmer 3s linear infinite, ban-pulse 2s ease-in-out infinite;
  cursor: pointer; user-select: none;
}
body.has-ban-ribbon { padding-top: 36px; }
@keyframes ban-shimmer { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes ban-pulse   {
  0%,100% { box-shadow: 0 0 14px rgba(239,68,68,0.7), 0 2px 8px rgba(0,0,0,0.4); }
  50%     { box-shadow: 0 0 28px rgba(239,68,68,1.0), 0 2px 8px rgba(0,0,0,0.4); }
}

.ban-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
}
.ban-modal {
  max-width: 520px; width: calc(100% - 40px);
  background: #0f0608; color: #f0edf6;
  border: 2px solid #ef4444; border-radius: 10px;
  box-shadow: 0 0 32px rgba(239,68,68,0.6);
  padding: 24px; font-family: system-ui, sans-serif;
  animation: ban-modal-glow 2.4s ease-in-out infinite;
}
@keyframes ban-modal-glow {
  0%,100% { box-shadow: 0 0 32px rgba(239,68,68,0.55), 0 0 0 1px rgba(239,68,68,0.3) inset; }
  50%     { box-shadow: 0 0 48px rgba(239,68,68,0.85), 0 0 0 1px rgba(239,68,68,0.5) inset; }
}
.ban-modal h2 { margin: 0 0 12px; color: #ef4444; font-size: 20px; text-shadow: 0 0 12px rgba(239,68,68,0.5); }
.ban-modal ul { margin: 8px 0 16px 18px; padding: 0; }
.ban-modal .meta { font-size: 13px; color: #a3b0bf; margin: 4px 0; }
.ban-modal .reason { background: #1a0d10; border:1px solid rgba(239,68,68,0.25); padding: 10px; border-radius: 6px; margin: 10px 0; }
.ban-modal label { display: flex; gap: 8px; align-items: center; margin: 14px 0; cursor: pointer; }
.ban-modal button.confirm {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff; border: 0; padding: 8px 18px;
  font-weight: 700; border-radius: 6px; cursor: pointer;
  box-shadow: 0 0 12px rgba(239,68,68,0.5);
}
.ban-modal button.confirm:hover { box-shadow: 0 0 20px rgba(239,68,68,0.85); }
.ban-modal button.confirm[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

.ban-inline-banner {
  background: linear-gradient(90deg, #ef4444, #b91c1c, #ef4444);
  color: #fff; padding: 12px 16px; border-radius: 8px;
  box-shadow: 0 0 14px rgba(239,68,68,0.55);
  margin: 12px 0; font-weight: 600;
  text-shadow: 0 0 6px rgba(0,0,0,0.4);
}
