.login { min-height: 100dvh; display: grid; place-content: center; gap: 18px; padding: 24px 16px; }
.card {
  width: min(420px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); padding: 32px 28px; animation: rise 0.45s cubic-bezier(.2,.8,.2,1);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.brand img { border-radius: 9px; }
h1 { font-size: 26px; line-height: 1.2; margin: 22px 0 6px; letter-spacing: -0.02em; }
.lede { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.stack { display: grid; gap: 14px; }
.sent { margin: 0; font-size: 14px; color: var(--muted); }
.sent strong { color: var(--ink); font-weight: 600; word-break: break-all; }
.link { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font-size: 14px; }
.digits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; border: 0; padding: 0; margin: 4px 0; }
.digit {
  height: 56px; text-align: center; font: 600 22px var(--mono); border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2); outline: none; min-width: 0;
}
.digit:focus { border-color: var(--blue); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
#message { margin: 16px 0 0; }
.foot { text-align: center; color: var(--muted); font-size: 13px; margin: 0; }
.shake { animation: shake 0.35s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
