.signin {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 16px; gap: 18px;
}
.signin-head { text-align: center; }
.signin-head h1 { font-size: 3.4rem; }
.parade { display: flex; align-items: flex-end; justify-content: center; gap: 22px; min-height: 106px; }
.parade .ground { display: flex; flex-direction: column; align-items: center; }
.parade .ground::after {
  content: ""; width: 70px; height: 8px; margin-top: -4px; border-radius: 50%; background: rgb(0 0 0 / 0.45);
}
.signin .frame { width: min(440px, 100%); }
.signin .frame.wide { width: min(520px, 100%); }
.signin button[type="submit"] { width: calc(100% - 6px); font-size: 1.4rem; margin-top: 6px; }
.qr { display: flex; justify-content: center; margin: 14px 0; }
.qr canvas { background: #fff; width: 232px; height: 232px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--gold); }
.secret {
  display: block; word-break: break-word; text-align: center; background: var(--deep); padding: 8px;
  margin: 4px 0 14px; letter-spacing: 0.08em; user-select: all;
}
.codes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 0; list-style: none;
  margin: 10px 0 14px;
}
.codes li { background: var(--deep); padding: 7px 4px; text-align: center; font-size: 0.9rem; }
.steps { display: flex; justify-content: center; gap: 10px; margin-bottom: 14px; }
.steps span { width: 28px; height: 8px; background: var(--deep); box-shadow: 0 0 0 2px var(--ink); }
.steps span.on { background: var(--gold); }
@media (max-width: 420px) { .codes { grid-template-columns: 1fr; } }
