:root {
  color-scheme: dark;
  font: 100%/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eeeef0;
  background: #101113;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
           max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  display: grid;
  justify-items: center;
  align-items: safe center;
}
main {
  width: min(100%, 25rem);
  padding: clamp(1.2rem, 5vw, 2rem);
  border: 1px solid #323438;
  border-radius: 1.2rem;
  background: #18191d;
}
h1 { margin: 0 0 1.4rem; font-size: 1.6rem; line-height: 1.2; letter-spacing: -.03em; }
p { margin: 0 0 1rem; }
button, a {
  display: block;
  width: 100%;
  min-height: 2.85rem;
  padding: .68rem 1rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #101113;
  background: #68efcf;
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #eeeef0; outline-offset: 3px; }
#cancel { margin-top: .55rem; color: #dddde0; background: transparent; border-color: #46474c; }
#status { margin: .95rem 0 0; }
#status:empty, [hidden] { display: none; }
.code {
  padding: .55rem;
  border-radius: .6rem;
  background: #25272a;
  text-align: center;
  font-size: 1.9rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
}
.note { margin: 1.25rem 0 0; font-size: .89rem; color: #b0b1b8; }
