.otp-stage{--otp-ink:var(--auth-ink,var(--ink,#F5F5F2));--otp-muted:var(--auth-muted,var(--muted,#AAA9A3));--otp-accent:var(--auth-accent,var(--accent,#FF5108));--otp-surface:var(--auth-surface,var(--surface,#1C1C1B));--otp-line:var(--auth-line,var(--line,#33332F));--otp-button:var(--auth-button,var(--button,#FF5108));--otp-button-ink:var(--auth-button-ink,var(--on-button,#101010));--otp-button-hover:var(--auth-button-hover,var(--ink,#F5F5F2));--otp-error:var(--auth-error,var(--negative,#f3a29a));--otp-cell:62px;--otp-gap:14px;position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:28px;box-sizing:border-box;color:var(--otp-ink);font-family:inherit;background:var(--rumo-loading-bg) var(--rumo-bg-position) / var(--rumo-bg-size) no-repeat;overflow:auto}
.otp-card{box-sizing:border-box;position:relative;width:min(500px,100%);border:1px solid var(--otp-line);border-radius:26px;background:var(--otp-surface);box-shadow:0 28px 65px #08080840;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);clip-path:circle(100% at 50% 50%);animation:otp-arrive 550ms cubic-bezier(.16,1,.3,1) both}
.otp-content{padding:38px 38px 28px;text-align:center;min-width:0}.otp-key{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 20px;border:1px solid var(--otp-line);border-radius:14px;color:var(--otp-accent)}.otp-key svg{width:23px;height:23px}.otp-content h1{font-size:29px;line-height:1.16;letter-spacing:-.03em;text-wrap:balance;margin:0 0 14px;font-weight:690}.otp-description{font-size:13px;line-height:1.7;color:var(--otp-muted);margin:0 auto;max-width:35ch}.otp-description strong{color:var(--otp-ink);font-weight:500;overflow-wrap:anywhere}
.otp-code-area{position:relative;height:190px;margin:4px 0 8px}.otp-digits{position:absolute;inset:0;transform-origin:50% 50%}.otp-digit-shell{position:absolute;left:50%;top:50%;display:block;width:var(--otp-cell);height:var(--otp-cell);transform:translate(-50%,-50%) translateX(calc((var(--digit) - 1.5)*(var(--otp-cell) + var(--otp-gap))));transition:transform 420ms cubic-bezier(.22,1,.36,1),opacity 350ms}
.otp-digit-shell>input{display:block;width:100%;height:100%;box-sizing:border-box;border:1px solid var(--otp-muted);border-radius:15px;outline:none;text-align:center;background:var(--otp-surface);color:var(--otp-ink);font-family:inherit;font-size:27px;font-weight:650;caret-color:var(--otp-accent);padding:0;box-shadow:inset 0 1px 2px #F5F5F20a,0 5px 12px #1010102e}.otp-digit-shell>input:focus{border-color:var(--otp-accent);outline:2px solid var(--otp-accent);outline-offset:4px}.otp-digit-shell>input:disabled{opacity:1;-webkit-text-fill-color:var(--otp-ink)}
.otp-stage[data-state=checking] .otp-digits{animation:otp-spin 1300ms linear infinite}.otp-stage[data-state=checking] .otp-digit-shell{transform:translate(-50%,-50%) rotate(var(--orbit-angle)) translateX(65px) rotate(calc(-1*var(--orbit-angle)))}.otp-stage[data-state=checking] .otp-digit-shell>input{animation:otp-spin 1300ms linear infinite reverse}
.otp-verified{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:66px;height:66px;box-sizing:border-box;border:1px solid var(--otp-accent);border-radius:18px;color:var(--otp-accent);background:var(--otp-surface);opacity:0;transform:translate(-50%,-50%) scale(.45);transition:opacity 250ms,transform 400ms cubic-bezier(.22,1,.36,1)}.otp-verified svg{width:29px;height:29px}.otp-verified path{stroke-dasharray:30;stroke-dashoffset:30;transition:stroke-dashoffset 400ms ease}
.otp-stage[data-state=success] .otp-digit-shell,.otp-stage[data-state=leaving] .otp-digit-shell{transform:translate(-50%,-50%) scale(.4);opacity:0}.otp-stage[data-state=success] .otp-verified,.otp-stage[data-state=leaving] .otp-verified{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:250ms}.otp-stage[data-state=success] .otp-verified path,.otp-stage[data-state=leaving] .otp-verified path{stroke-dashoffset:0;transition-delay:400ms}
.otp-confirm{border:1px solid var(--otp-button);border-radius:12px;width:100%;min-height:47px;background:var(--otp-button);color:var(--otp-button-ink);font-family:inherit;font-size:13px;font-weight:650;cursor:pointer;transition:background 160ms}.otp-confirm:hover{background:var(--otp-button-hover);color:var(--otp-surface)}.otp-confirm:disabled{background:var(--otp-button);color:var(--otp-button-ink);cursor:default}.otp-stage[data-state=editing] .otp-confirm:disabled{background:var(--otp-line);border-color:var(--otp-line);color:var(--otp-muted)}.otp-error{font-size:12px;line-height:1.5;color:var(--otp-error);margin:0 0 16px}.otp-error[hidden]{display:none}.otp-status{font-size:11px;line-height:1.6;min-height:18px;color:var(--otp-muted);margin:18px 0 15px}.otp-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:11px;color:var(--otp-muted)}.otp-resend,.otp-cancel{font:inherit;font-size:11px;border:0;background:none;color:var(--otp-accent);padding:8px 0;cursor:pointer;min-height:36px}.otp-resend:disabled,.otp-cancel:disabled{color:var(--otp-muted);opacity:.65;cursor:default}.otp-cancel{display:block;color:var(--otp-muted);margin:8px auto}.otp-signature{display:block;letter-spacing:.2em;font-size:10px;color:var(--otp-muted);margin-top:12px}.otp-stage button:focus-visible{outline:2px solid var(--otp-accent);outline-offset:4px}
.otp-stage[data-state=leaving] .otp-card{animation:otp-circle-close 950ms cubic-bezier(.7,0,.84,0) forwards;pointer-events:none}
.otp-panel-transition .otp-card{animation:none}
.otp-stage[data-state=entering]{pointer-events:none}.otp-stage[data-state=entering] .otp-card{animation:otp-panel-arrive .7s cubic-bezier(.22,1,.36,1) both}
.otp-stage[data-state=returning]{background:none;pointer-events:none}.otp-stage[data-state=returning] .otp-card{animation:otp-return .7s cubic-bezier(.22,1,.36,1) forwards}
@keyframes otp-panel-arrive{from{transform:translateY(64px);opacity:0;filter:blur(6px)}to{transform:none;opacity:1;filter:blur(0)}}
@keyframes otp-return{from{transform:none;opacity:1;filter:blur(0)}to{transform:translateY(64px);opacity:0;filter:blur(6px)}}
@media(prefers-reduced-motion:reduce){.otp-stage[data-state=entering] .otp-card,.otp-stage[data-state=returning] .otp-card{animation:none;transform:none;filter:none}}
.otp-inline{position:relative;inset:auto;padding:20px 0 0;background:none;overflow:visible;--otp-ink:var(--ink);--otp-muted:var(--muted);--otp-accent:var(--accent)}.otp-inline .otp-card{max-width:440px;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}.otp-inline .otp-content{padding:10px 0;text-align:left}.otp-inline .otp-key,.otp-inline .otp-signature{display:none}.otp-inline .otp-content h1{font-size:22px}.otp-inline .otp-description{margin:0;max-width:none}.otp-inline .otp-code-area{max-width:340px}.otp-inline .otp-confirm{max-width:340px;font-family:inherit}.otp-inline .otp-cancel{margin-left:0}.otp-inline .otp-digit-shell input{background:var(--raised)}
@keyframes otp-arrive{from{opacity:.3;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}@keyframes otp-spin{to{rotate:360deg}}@keyframes otp-circle-close{from{clip-path:circle(100% at 50% 50%)}to{clip-path:circle(0 at 50% 50%)}}
@media(max-width:600px){.otp-stage{padding:22px;--otp-cell:54px;--otp-gap:10px}.otp-card{border-radius:24px}.otp-content{padding:30px 24px 20px}.otp-content h1{font-size:27px}.otp-description{font-size:12px}.otp-code-area{height:175px}.otp-digit-shell>input{font-size:25px;border-radius:13px}.otp-bottom{gap:10px;font-size:10px}.otp-inline{padding:18px 0}.otp-inline .otp-content{padding:0}}
@media(max-height:650px){.otp-content{padding-top:20px;padding-bottom:16px}.otp-key{margin-bottom:13px}.otp-code-area{height:145px}.otp-stage{padding-block:14px}}
@media(prefers-reduced-motion:reduce){.otp-card,.otp-stage[data-state=checking] .otp-digits,.otp-stage[data-state=checking] .otp-digit-shell>input,.otp-stage[data-state=leaving] .otp-card{animation-duration:.01ms;animation-iteration-count:1}.otp-digit-shell,.otp-verified,.otp-verified path,.otp-confirm{transition:none}.otp-stage[data-state=success] .otp-verified,.otp-stage[data-state=success] .otp-verified path{transition-delay:0ms}}
