.rr5-golive-banner {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 14px auto;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(36, 73, 146, 0.95), rgba(34, 197, 94, 0.88));
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(15px, 2.6vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 8px 24px rgba(36, 73, 146, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.rr5-golive-banner-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
  white-space: nowrap;
}
.rr5-golive-banner-link:hover,
.rr5-golive-banner-link:focus {
  color: #DBEAFE;
}
.rr5-demo-btn {
  position: relative !important;
  overflow: visible !important;
  animation: rr5-demo-pulse 2.4s ease-in-out infinite;
}
.rr5-demo-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: #244992;
  box-shadow: 0 2px 6px rgba(36, 73, 146, 0.35);
}
@keyframes rr5-demo-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(36, 73, 146, 0.22), 0 6px 18px rgba(34, 197, 94, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(36, 73, 146, 0.18), 0 10px 26px rgba(34, 197, 94, 0.45); }
}
@media (max-width: 640px) {
  .rr5-golive-banner {
    padding: 12px 12px;
    margin-bottom: 12px;
    border-radius: 12px;
  }
}

/* RR5 sign-in gate modal */
.rr5-signin-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.rr5-signin-gate-overlay[hidden] {
  display: none !important;
}
.rr5-signin-gate-dialog {
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  box-sizing: border-box;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: #fff;
  color: #244992;
  font-family: system-ui, -apple-system, sans-serif;
  box-shadow: 0 24px 60px rgba(36, 73, 146, 0.35);
  border: 1px solid rgba(36, 73, 146, 0.15);
}
.rr5-signin-gate-header {
  margin: -22px -22px 16px;
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, rgba(36, 73, 146, 0.95), rgba(34, 197, 94, 0.88));
  color: #fff;
}
.rr5-signin-gate-header h2 {
  margin: 0;
  font-size: clamp(18px, 4.2vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
.rr5-signin-gate-list {
  margin: 0 0 18px;
  padding-left: 1.5em;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.55;
  list-style-type: decimal !important;
  list-style-position: outside;
}
.rr5-signin-gate-list li {
  margin: 0 0 10px;
  display: list-item !important;
  list-style-type: decimal !important;
}
.rr5-signin-gate-list a {
  color: #244992;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rr5-signin-gate-list a:hover {
  color: #16A34A;
}
.rr5-signin-gate-ack {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(36, 73, 146, 0.06);
  border: 1px solid rgba(36, 73, 146, 0.12);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #244992;
  line-height: 1.35;
}
.rr5-signin-gate-ack input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #244992;
}
.rr5-signin-gate-actions {
  display: flex;
  justify-content: stretch;
}
.rr5-signin-gate-accept {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to bottom right, #4CAF50, #388E3C);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.25);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.rr5-signin-gate-accept:disabled {
  background: linear-gradient(to bottom right, #9CA3AF, #6B7280);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.75;
}
.rr5-signin-gate-accept:not(:disabled):hover {
  transform: translateY(-1px);
}
.rr5-login-gated {
  position: relative;
}
.rr5-login-gated::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.rr5-login-gated .rr-login-form input,
.rr5-login-gated .rr-login-form button,
.rr5-login-gated .rr-login-form a,
.rr5-login-gated .rr-login-options {
  pointer-events: none;
}
@media (max-width: 640px) {
  .rr5-signin-gate-dialog {
    padding: 16px 14px 14px;
  }
  .rr5-signin-gate-header {
    margin: -16px -14px 14px;
    padding: 14px 14px;
  }
  .rr5-signin-gate-list {
    font-size: 14px;
  }
}
