:root { --purple: #6e0ad6; --text: #1a1d23; --muted: #f2f3f6; --border: #ccd2dd; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; overflow-x: hidden; color: var(--text); background: #fff; font-family: "Nunito Sans", Arial, sans-serif; }
a { color: var(--purple); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
.otp-header { height: 81px; padding: 0 max(4.65vw, 24px); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 14px; font-weight: 700; }
.logo-image { width: 40px; height: 40px; display: block; }
.mobile-back { display: none; }
.help-link { color: #111; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.help-link span { width: 15px; height: 15px; border: 1px solid; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.otp-page { width: min(982px, calc(100% - 48px)); margin: 80px auto 0; display: grid; grid-template-columns: 416px 504px; grid-template-areas: "intro card" "terms card"; column-gap: 56px; }
.otp-intro { grid-area: intro; min-width: 0; padding-top: 4px; }
.otp-intro h1 { margin: 0 0 20px; font-size: 34px; font-weight: 400; line-height: 1.4; letter-spacing: -.4px; }
.account-identity { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.account-identity strong { max-width: 370px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 31px; height: 31px; flex: 0 0 31px; border-radius: 50%; position: relative; overflow: hidden; background: #edf2f4; }
.avatar i { width: 12px; height: 13px; border-radius: 50%; position: absolute; top: 5px; left: 10px; background: #cbd9dd; }
.avatar b { width: 23px; height: 15px; border-radius: 50% 50% 0 0; position: absolute; bottom: -4px; left: 4px; background: #cbd9dd; }
.otp-card { grid-area: card; min-width: 0; padding: 31px 55px 30px; border: 1px solid var(--border); border-radius: 8px; }
.demo-label { margin: -17px 0 15px; color: #737b8d; font-size: 11px; text-align: center; }
.otp-fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.otp-fields input { width: 100%; min-width: 0; aspect-ratio: 1; border: 1px solid var(--border); border-radius: 9px; outline: none; color: #222; background: #fff; font: 700 22px inherit; text-align: center; caret-color: var(--purple); transition: border-color .15s, box-shadow .15s; }
.otp-fields input:focus { border: 2px solid var(--purple); box-shadow: 0 0 0 1px var(--purple); }
.resend { margin: 12px 0 16px; padding: 0; border: 0; color: var(--purple); background: none; font: 600 14px inherit; cursor: pointer; }
.resend:disabled { color: #737b8d; cursor: default; }
.notice { min-height: 67px; margin-bottom: 14px; padding: 14px 15px; border-radius: 7px; display: flex; align-items: flex-start; gap: 16px; background: var(--muted); }
.notice svg { width: 25px; height: 25px; flex: 0 0 25px; fill: none; stroke: #414958; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notice p { margin: 0; font-size: 14px; line-height: 1.55; }
.otp-status { min-height: 15px; margin: -6px 0 1px; color: #596274; text-align: center; font-size: 11px; }
.back-link { width: max-content; margin: 0 auto; display: block; font-size: 16px; font-weight: 600; }
.otp-terms { grid-area: terms; align-self: end; margin: 118px 0 0; color: #3e485c; font-size: 12px; line-height: 2; }
@media (max-width: 760px) {
  .otp-header { height: 81px; padding: 0 17px 0 28px; }
  .otp-header .logo { display: none; }
  .mobile-back { width: 28px; height: 28px; color: var(--text); display: block; }
  .mobile-back svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-back:hover { text-decoration: none; }
  .otp-page { width: 100%; min-height: calc(100vh - 81px); margin: 0; padding: 27px 16px 30px; display: flex; flex-direction: column; }
  .otp-intro { padding: 0; }
  .otp-intro h1 { margin-bottom: 14px; font-size: 25px; line-height: 1.35; }
  .otp-intro h1 br { display: none; }
  .account-identity strong { max-width: calc(100vw - 80px); font-size: 15px; }
  .otp-card { width: 100%; margin-top: 33px; padding: 0; border: 0; }
  .demo-label { margin: 0 0 12px; }
  .otp-fields { gap: clamp(8px, 3vw, 15px); padding: 0 6px; }
  .otp-fields input { border-radius: 8px; }
  .resend { margin: 18px 0 20px; font-size: 16px; }
  .notice { min-height: 70px; margin-bottom: 16px; padding: 15px 16px; align-items: center; }
  .notice p { font-size: 15px; }
  .back-link { display: none; }
  .otp-terms { margin: auto 4px 0; padding-top: 65px; text-align: center; font-size: 12px; }
}
@media (max-width: 370px) { .otp-fields { gap: 7px; padding: 0; } .notice p { font-size: 14px; } }
