/* Existing Rekoma typography and graphite controls, reference sheet geometry. */
.rk-auth{position:fixed;inset:0;margin:0 auto;padding:0;width:min(100%,var(--rk-content-width,402px));max-width:100%;height:100%;max-height:100%;border:0;background:transparent;color:#252b2d;overflow:visible;font-family:inherit}
.rk-auth::backdrop{background:rgba(0,0,0,.22);animation:rk-auth-dim .4s ease-out}
.rk-auth-sheet{position:absolute;inset:calc(7% + max(60px,env(safe-area-inset-top)) * .93) 0 0;background:#fff;border-radius:40px 40px 0 0;overflow:auto;overscroll-behavior:contain;padding:64px 20px max(24px,env(safe-area-inset-bottom));box-sizing:border-box;display:flex;align-items:center;transition:transform .48s cubic-bezier(.22,1,.36,1),background .4s ease;animation:rk-auth-rise .52s cubic-bezier(.22,1,.36,1)}
.rk-auth-sheet[data-behind=true]{transform:scale(.92);transform-origin:50% 0;background:#e4e4e2;pointer-events:none}
.rk-auth-code{top:calc(7% + max(60px,env(safe-area-inset-top)) * .93 + 10px)}
.rk-auth-form{width:100%;margin:auto 0;padding-bottom:24px}.rk-auth h2{font-size:25px;line-height:1.2;font-weight:700;text-align:center;letter-spacing:-.7px;margin:0 0 30px}.rk-auth label{display:block;color:#939695;font-size:14px;margin-bottom:12px}
.rk-auth-phone-field{display:flex;align-items:center;border-bottom:2px solid #252b2d;margin-bottom:20px;padding:0 0 16px;gap:8px}.rk-auth input{border:0;background:transparent;color:#252b2d;border-radius:0;font-family:inherit;outline:0;box-sizing:border-box}.rk-auth-phone-field input{width:100%;min-width:0;font-size:23px;line-height:32px;padding:0;letter-spacing:.3px}
.rk-auth button{font-family:inherit;cursor:pointer}.rk-auth button:disabled{cursor:default;opacity:.42}.rk-auth-back,.rk-auth-close,.rk-auth-clear{display:grid;place-items:center;border:0;padding:0;flex-shrink:0;color:#252b2d}.rk-auth-back{position:absolute;top:16px;left:16px;width:44px;height:44px;background:transparent}.rk-auth-close{position:absolute;right:12px;top:12px;width:40px;height:40px;border-radius:50%;background:#e8e7e2}.rk-auth-clear{width:28px;height:28px;border-radius:50%;background:#a2a6a5;color:white}
.rk-auth-primary{width:100%;min-height:50px;border:0;border-radius:10px;background:#303638;color:#fff;font-size:17px;font-weight:650;padding:12px 16px}.rk-auth-note{font-size:13px;line-height:20px;text-align:center;color:#777d7c;margin:20px 0 0}.rk-auth-caption{font-size:17px;line-height:25px;text-align:center;margin:0 0 42px}.rk-auth-code-input{display:block;width:190px;margin:0 auto 24px;text-align:center;font-size:30px;line-height:44px;letter-spacing:12px;border-bottom:1px solid #cdcac2!important;padding:8px 0 8px 12px}.rk-auth-code .rk-auth-primary{max-width:260px;display:block;margin:0 auto}.rk-auth-resend{display:block;width:100%;border:0;background:none;font-size:14px;line-height:21px;color:#6d7472;max-width:230px;margin:24px auto 0}.rk-auth-error{font-size:14px;line-height:21px;color:#ab3030;text-align:center;margin:16px 0 0}
.rk-auth-notification{position:absolute;top:66px;left:20px;right:20px;padding:12px 16px;border-radius:14px;background:#f1f2ef;display:grid;grid-template-columns:1fr auto;gap:4px 12px;font-size:13px}.rk-auth-notification strong{font-size:23px;letter-spacing:3px;grid-row:span 2}.rk-auth-notification small{font-size:11px;color:#6d7472}.rk-auth-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.rk-profile-guest{padding:20px 0 24px}.rk-profile-guest p{font-size:17px;line-height:25px;margin:0 0 24px}.rk-profile-guest .rk-auth-primary{background:#fff;color:#303638}.rk-profile-guest-note{font-size:14px;line-height:21px;color:#747a78;padding:8px 0 24px}
@keyframes rk-auth-rise{from{transform:translate3d(0,100%,0)}to{transform:translate3d(0,0,0)}}
@keyframes rk-auth-dim{from{background:rgba(0,0,0,0)}to{background:rgba(0,0,0,.22)}}
@media(max-height:650px){.rk-auth-sheet{inset:12px 0 0;padding-top:60px;border-radius:28px 28px 0 0}.rk-auth-code{top:22px}.rk-auth-form{padding-bottom:0}.rk-auth h2{margin-bottom:18px;font-size:23px}.rk-auth-caption{margin-bottom:16px}.rk-auth-notification{position:static;margin:0 0 16px;width:100%;box-sizing:border-box}.rk-auth-code{display:block}.rk-auth-code-input{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.rk-auth-sheet,.rk-auth::backdrop{animation:none;transition:none}}
.rh-header .rk-header-balance.rk-header-login strong{font-size:18px;letter-spacing:0;line-height:24px}.rh-header .rk-header-balance.rk-header-login{min-width:48px}
.rk-auth-keyboard .rk-auth{top:var(--rk-vv-top,0px);bottom:auto;height:var(--rk-auth-vvh,100dvh)}
.rk-auth-keyboard .rk-auth-sheet{top:max(12px,calc(var(--rk-inset-top,env(safe-area-inset-top)) - var(--rk-vv-top,0px) + 16px));padding-top:60px;align-items:center;border-radius:28px 28px 0 0}
.rk-auth-keyboard .rk-auth-code{top:max(22px,calc(var(--rk-inset-top,env(safe-area-inset-top)) - var(--rk-vv-top,0px) + 26px));display:flex;flex-direction:column;justify-content:center}
.rk-auth-keyboard .rk-auth-form{padding-bottom:0;margin:auto 0;max-height:100%;overflow:auto;overscroll-behavior:none}
.rk-auth-keyboard .rk-auth-code .rk-auth-form{margin:0;min-height:0;flex:0 1 auto}
.rk-auth-keyboard .rk-auth-notification{flex-shrink:0}
.rk-auth-keyboard .rk-auth h2{font-size:23px;margin-bottom:18px}
.rk-auth-keyboard .rk-auth-caption{margin-bottom:16px}
.rk-auth-keyboard .rk-auth-notification{position:static;margin:0 0 16px;width:100%;box-sizing:border-box}

/* Only the foreground form responds to the keyboard. Background stays in place. */
html.rk-auth-active,html.rk-auth-active :is(.rk-wallet,.rk-wallet-content){overflow:hidden!important;overscroll-behavior:none}
.rk-auth-active .rk-auth-sheet{overflow:hidden;overscroll-behavior:none}
.rk-auth-keyboard .rk-auth::after{content:"";position:absolute;top:calc(100% - 1px);left:0;right:0;height:100vh;background:#fff;pointer-events:none}
.rk-auth-keyboard .rk-auth-code{padding-top:52px;padding-bottom:12px}
.rk-auth-keyboard .rk-auth-code h2{margin-bottom:8px}
.rk-auth-keyboard .rk-auth-code .rk-auth-caption{font-size:14px;line-height:20px;margin-bottom:4px}
.rk-auth-keyboard .rk-auth-code-input{line-height:36px;padding-top:4px;padding-bottom:4px;margin-bottom:8px}
.rk-auth-keyboard .rk-auth-resend{font-size:13px;line-height:18px;margin-top:8px;max-width:none}
.rk-auth-keyboard .rk-auth-notification{padding:8px 12px;margin-bottom:8px;align-items:center;min-height:40px}
.rk-auth-keyboard .rk-auth-notification strong{font-size:20px;line-height:24px;grid-row:auto}
.rk-auth-keyboard .rk-auth-notification small{display:none}
