#max-qr {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
}
:root {
  color-scheme: dark;
  font:
    16px/1.5 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #101020;
  color: #f4f3ff;
  --muted: #b3b0ca;
  --accent: #b9a3ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 80% 0, #32245280, transparent 60%);
}
main {
  max-width: 600px;
  margin: auto;
  padding: max(24px, env(safe-area-inset-top)) 20px
    max(24px, env(safe-area-inset-bottom));
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 48px;
}
.brand {
  color: white;
  text-decoration: none;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand span {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
  padding-left: 12px;
}
.badge {
  border: 1px solid #ffffff26;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--muted);
}
h1 {
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 18px;
}
h2 {
  font-size: 22px;
  margin: 0 0 16px;
}
.lead,
.hint,
footer,
dt {
  color: var(--muted);
}
.lead {
  margin-bottom: 28px;
}
.card {
  background: #1d1a30;
  border: 1px solid #ffffff1c;
  border-radius: 22px;
  padding: 24px;
  margin: 16px 0;
  box-shadow: 0 20px 50px #0002;
}
[hidden] {
  display: none !important;
}
button,
.button {
  font: inherit;
  border: 1px solid #ffffff29;
  border-radius: 13px;
  background: #302b48;
  color: white;
  padding: 13px 16px;
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 12px;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  background: var(--accent);
  color: #17112d;
  border-color: transparent;
  font-weight: 650;
}
.quiet {
  background: none;
  border-color: transparent;
  color: var(--muted);
}
input {
  display: block;
  width: 100%;
  font: inherit;
  padding: 13px;
  margin: 6px 0 16px;
  border-radius: 12px;
  border: 1px solid #ffffff30;
  background: #121020;
  color: white;
}
label {
  display: block;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.check input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 2px;
}
.hint {
  font-size: 13px;
}
.divider {
  text-align: center;
  color: var(--muted);
  margin: 24px 0;
}
.code {
  font-size: 36px;
  font-weight: 750;
  letter-spacing: 8px;
  margin: 14px 0;
}
.preview {
  border: 1px solid #ffffff26;
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
}
.preview p {
  margin: 3px 0;
  overflow-wrap: anywhere;
}
dl {
  margin: 0;
}
dt {
  font-size: 13px;
  margin-top: 16px;
}
dd {
  margin: 2px 0;
  overflow-wrap: anywhere;
}
#notice:not(:empty) {
  padding: 14px;
  background: #352842;
  border: 1px solid #bc96e44a;
  border-radius: 12px;
}
footer {
  font-size: 12px;
  text-align: center;
  margin: 28px 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #e1d7ff;
  outline-offset: 3px;
}
@media (max-width: 380px) {
  main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .card {
    padding: 18px;
  }
  .badge {
    display: none;
  }
}
