.discord-consent-dialog {
  width: min(calc(100% - 24px), 420px);
  max-width: none;
  margin: auto auto 12px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #f7f8f7;
  background: transparent;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.discord-consent-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
}

.discord-consent-sheet {
  padding: 24px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  background: #181b19;
  text-align: left;
}

.discord-consent-sheet h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.discord-consent-sheet p {
  margin: 10px 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.45;
}

.discord-consent-actions {
  display: grid;
  gap: 10px;
}

.discord-consent-actions button {
  width: 100%;
  min-height: 50px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.discord-consent-continue {
  color: #08110c;
  background: #34e27a;
}

.discord-consent-cancel {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.discord-consent-actions button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .discord-consent-dialog {
    margin: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .discord-consent-dialog[open] {
    animation: discord-consent-enter 160ms ease-out;
  }
}

@keyframes discord-consent-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
