/* Full-screen auth prompt for signed-out visitors */
#auth-gate-root {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#auth-gate-root[hidden] {
  display: none !important;
}

.auth-gate-panel {
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(15, 118, 110, 0.2);
  text-align: center;
}

.auth-gate-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text, #1c1917);
  letter-spacing: -0.02em;
}

.auth-gate-panel p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-secondary, #57534e);
}

.auth-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.auth-gate-actions a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.auth-gate-login {
  background: var(--color-primary, #0d9488);
  color: #fff;
  border: 2px solid transparent;
}

.auth-gate-login:hover {
  background: #0f766e;
  color: #fff;
}

.auth-gate-signup {
  background: #fff;
  color: var(--color-primary, #0d9488);
  border: 2px solid rgba(13, 148, 136, 0.45);
}

.auth-gate-signup:hover {
  background: #f0fdfa;
}

.auth-gate-foot {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted, #78716c);
}

html.gluto-auth-gate-locked,
html.gluto-auth-gate-locked body {
  overflow: hidden;
  height: 100%;
}
