@charset "utf-8";

:root { --af: #facc15; --at: #ca8a04; }

*, ::before, ::after { margin: 0px; padding: 0px; box-sizing: border-box; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }

html, body { height: 100%; overflow-x: hidden; }

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; background: rgb(11, 11, 20); color: rgb(226, 232, 240); min-height: 100dvh; }

#bg { position: fixed; inset: 0px; z-index: 0; pointer-events: none; overflow: hidden; }

.bg-photo-layer { position: absolute; left: -14%; top: -14%; width: 128%; height: 128%; object-fit: cover; object-position: center center; filter: blur(var(--blur,24px)); opacity: 0.54; transform: scale(1.04); pointer-events: none; }

.bg-photo-layer.no-photo-blur { filter: none; }

#bg::before { content: ""; position: absolute; width: 700px; height: 700px; top: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 65%); }

#bg::after { content: ""; position: absolute; width: 500px; height: 500px; bottom: -150px; right: -100px; background: radial-gradient(circle, rgba(139, 92, 246, 0.13) 0%, transparent 65%); }

#app { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }

@supports (padding:env(safe-area-inset-bottom)) {
  #app { padding-top: max(24px,calc(16px + env(safe-area-inset-top))); padding-bottom: max(24px,calc(16px + env(safe-area-inset-bottom))); }
}

@media (max-height: 640px) {
  #app { justify-content: flex-start; padding-top: 12px; }
}

.scr { width: 100%; max-width: 420px; display: none; flex-direction: column; animation: 0.42s cubic-bezier(0.34, 1.15, 0.56, 1) 0s 1 normal both running scrEnter; }

.scr.on { display: flex; }

@keyframes scrEnter { 
  0% { opacity: 0; transform: translateY(16px) scale(0.985); }
  100% { opacity: 1; transform: none; }
}

.card { background: rgba(10, 13, 32, 0.92); border: 1px solid rgba(99, 102, 241, 0.12); border-radius: 20px; padding: 22px 20px; backdrop-filter: blur(24px); box-shadow: rgba(0, 0, 0, 0.62) 0px 20px 50px, rgba(255, 255, 255, 0.035) 0px 0px 0px 1px inset; }

.scr.on .card { animation: 0.5s cubic-bezier(0.34, 1.15, 0.56, 1) 0.06s 1 normal both running cardPop; }

@keyframes cardPop { 
  0% { opacity: 0; transform: translateY(8px) scale(0.992); }
  100% { opacity: 1; transform: none; }
}

.flow-banner { margin-bottom: 18px; }

.flow-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(99, 102, 241, 0.11); border: 1px solid rgba(129, 140, 248, 0.22); border-radius: 999px; padding: 7px 14px 7px 10px; margin-bottom: 8px; position: relative; overflow: hidden; }

.flow-badge-warm { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.28); }

.fb-glow { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg,var(--af),var(--at)); box-shadow: rgba(129, 140, 248, 0.65) 0px 0px 10px; flex-shrink: 0; animation: 2s ease-in-out 0s infinite normal none running fbPulse; }

.flow-badge-warm .fb-glow { background: linear-gradient(135deg, rgb(251, 191, 36), rgb(249, 115, 22)); box-shadow: rgba(251, 191, 36, 0.55) 0px 0px 10px; }

@keyframes fbPulse { 
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.82; }
}

.fb-label { font-size: 13px; font-weight: 650; color: rgb(226, 232, 240); letter-spacing: 0.02em; }

.flow-tagline { margin: 0px; font-size: 13px; line-height: 1.55; color: rgba(148, 163, 184, 0.82); }

.journey { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; margin-bottom: 2px; }

.j-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(99, 102, 241, 0.22); border: 1px solid rgba(99, 102, 241, 0.2); transition: transform 0.25s, background 0.25s, box-shadow 0.25s; }

.j-dot.on { background: linear-gradient(135deg,var(--af),var(--at)); border-color: transparent; box-shadow: rgba(99, 102, 241, 0.45) 0px 0px 12px; transform: scale(1.15); }

.j-dot.done { background: rgba(52, 211, 153, 0.35); border-color: rgba(52, 211, 153, 0.45); box-shadow: rgba(52, 211, 153, 0.25) 0px 0px 8px; }

.trust-strip { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px 14px; background: rgba(99, 102, 241, 0.06); border: 1px solid rgba(99, 102, 241, 0.14); border-radius: 14px; font-size: 12.5px; line-height: 1.55; color: rgba(186, 200, 252, 0.88); }

.trust-strip svg { flex-shrink: 0; margin-top: 2px; opacity: 0.85; }

.phone-meter { margin-top: 10px; font-size: 13px; font-weight: 600; color: rgba(165, 180, 252, 0.88); text-align: center; min-height: 1.35em; transition: opacity 0.15s; }

.code-meter { font-size: 13px; font-weight: 600; color: rgba(148, 163, 184, 0.9); text-align: center; margin: 4px 0px 12px; min-height: 1.4em; }

.btn-shimmer { position: relative; overflow: hidden; }

.btn-shimmer::before { content: ""; position: absolute; top: 0px; left: -40%; width: 45%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.22), transparent); animation: 3.2s ease-in-out 0s infinite normal none running btnSheen; }

@keyframes btnSheen { 
  0%, 70% { transform: translateX(0px); opacity: 0; }
  75% { opacity: 1; }
  100% { transform: translateX(380%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scr, .scr.on .card, .toast, .help-sheet, .btn-shimmer::before, .j-dot, .fb-glow, .cd-box.active { animation: auto ease 0s 1 normal none running none !important; transition: none !important; }
  .btn-shimmer::before { display: none; }
}

.badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 100px; padding: 5px 12px 5px 8px; margin-bottom: 18px; }

.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg,var(--af),var(--at)); box-shadow: 0 0 6px var(--af); }

.badge-txt { font-size: 11px; font-weight: 600; color: rgba(165, 180, 252, 0.9); letter-spacing: 0.04em; text-transform: uppercase; }

.intro-kicker { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.07em; color: rgba(165, 180, 252, 0.78); margin-bottom: 14px; text-transform: uppercase; }

.ico-wrap { margin-bottom: 16px; }

.ico-photo-wrap.ico-wrap { width: 100%; margin-bottom: 16px; display: flex; justify-content: center; align-items: center; }

.ico-photo-full { max-width: 100%; width: auto; height: auto; object-fit: contain; border-radius: 16px; display: block; vertical-align: middle; }

.ico-box { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg,var(--af),var(--at)); box-shadow: rgba(99, 102, 241, 0.38) 0px 6px 22px, rgba(255, 255, 255, 0.09) 0px 0px 0px 1px inset; overflow: hidden; flex-shrink: 0; }

.ico-emoji { font-size: clamp(30px, 9vw, 40px); line-height: 1; display: block; text-align: center; }

.ttl { font-size: 22px; font-weight: 750; letter-spacing: -0.45px; line-height: 1.25; margin-bottom: 8px; color: rgb(248, 250, 252); text-shadow: rgba(99, 102, 241, 0.12) 0px 1px 18px; }

.sub { font-size: 13.5px; color: rgba(148, 163, 184, 0.75); line-height: 1.65; margin-bottom: 6px; }

.back { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 0px; font-family: inherit; font-size: 13px; font-weight: 500; color: rgba(148, 163, 184, 0.45); transition: color 0.15s; margin-bottom: 16px; }

.back:hover { color: rgba(148, 163, 184, 0.85); }

.pf { display: flex; align-items: center; background: rgba(255, 255, 255, 0.04); border: 1.5px solid rgba(99, 102, 241, 0.18); border-radius: 14px; height: 54px; overflow: hidden; transition: border-color 0.18s, box-shadow 0.18s; margin-top: 14px; }

.pf:focus-within { border-color: rgba(99, 102, 241, 0.65); box-shadow: rgba(99, 102, 241, 0.12) 0px 0px 0px 3.5px; }

.pf.err { animation: 0.32s ease 0s 1 normal none running shake; border-color: rgba(239, 68, 68, 0.55) !important; box-shadow: rgba(239, 68, 68, 0.1) 0px 0px 0px 3px !important; }

.pf-pre { display: flex; align-items: center; gap: 6px; padding: 0px 8px 0px 13px; border-right: 1px solid rgba(99, 102, 241, 0.14); height: 100%; flex-shrink: 0; cursor: pointer; background: none; border-top: none; border-bottom: none; border-left: none; user-select: none; transition: background 0.13s; }

.pf-pre:hover { background: rgba(99, 102, 241, 0.06); }

.pf-pre:active { background: rgba(99, 102, 241, 0.1); }

.pf-code { font-size: 15px; font-weight: 600; color: rgba(226, 232, 240, 0.9); }

.pf-code-inp { width: 30px; background: transparent; border: none; outline: none; font-family: inherit; font-size: 15px; font-weight: 600; color: rgba(226, 232, 240, 0.9); text-align: center; appearance: none; padding: 0px; }

.pf-code-inp::placeholder { color: rgba(148, 163, 184, 0.35); }

.pf-inp { flex: 1 1 0%; min-width: 0px; height: 100%; background: transparent; border: none; outline: none; padding: 0px 13px; font-family: inherit; font-size: 16px; color: rgb(226, 232, 240); appearance: none; }

.pf-inp::placeholder { color: rgba(100, 116, 139, 0.6); }

.pf-clear { width: 36px; height: 100%; flex-shrink: 0; background: none; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; color: rgba(100, 116, 139, 0.6); transition: color 0.12s; }

.pf-clear:hover { color: rgba(148, 163, 184, 0.9); }

.pf-clear.vis { display: flex; }

.pw-row { display: flex; align-items: stretch; background: rgba(255, 255, 255, 0.04); border: 1.5px solid rgba(99, 102, 241, 0.18); border-radius: 14px; min-height: 54px; overflow: hidden; transition: border-color 0.18s, box-shadow 0.18s; }

.pw-row:focus-within { border-color: rgba(99, 102, 241, 0.65); box-shadow: rgba(99, 102, 241, 0.12) 0px 0px 0px 3.5px; }

.pw-row.err { border-color: rgba(239, 68, 68, 0.55) !important; box-shadow: rgba(239, 68, 68, 0.1) 0px 0px 0px 3px !important; }

.pw-inp { flex: 1 1 0%; min-width: 0px; height: 54px; background: transparent; border: none; outline: none; padding: 0px 14px; font-family: inherit; font-size: 16px; color: rgb(226, 232, 240); appearance: none; }

.pw-inp::placeholder { color: rgba(100, 116, 139, 0.6); }

.pw-toggle { width: 50px; flex-shrink: 0; background: none; border-top: none; border-right: none; border-bottom: none; border-image: initial; border-left: 1px solid rgba(99, 102, 241, 0.14); cursor: pointer; display: flex; align-items: center; justify-content: center; color: rgba(148, 163, 184, 0.75); transition: color 0.15s, background 0.15s; padding: 0px; }

.pw-toggle:hover { color: rgba(226, 232, 240, 0.95); background: rgba(99, 102, 241, 0.06); }

.pw-toggle:active { background: rgba(99, 102, 241, 0.1); }

.pw-toggle svg { display: block; }

.msg { border-radius: 11px; font-size: 12.5px; font-weight: 500; padding: 9px 13px; display: none; line-height: 1.5; margin-top: 8px; }

.msg.show { display: block; }

.msg.e { background: rgba(239, 68, 68, 0.08); color: rgb(253, 164, 164); border: 1px solid rgba(239, 68, 68, 0.18); }

.msg.s { background: rgba(34, 197, 94, 0.08); color: rgb(134, 239, 172); border: 1px solid rgba(34, 197, 94, 0.18); }

.code-intro { font-size: 14px; color: rgba(148, 163, 184, 0.88); margin: 12px 0px 14px; line-height: 1.55; }

.code-intro strong { color: rgba(186, 200, 252, 0.95); font-weight: 650; }

.code-disp { display: flex; justify-content: center; gap: 8px; margin: 6px 0px 4px; }

.cd-box { width: 44px; height: 54px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: rgba(100, 116, 139, 0.35); background: rgba(15, 18, 40, 0.8); border: 1.5px solid rgba(99, 102, 241, 0.18); border-radius: 14px; transition: color 0.14s, border-color 0.14s, background 0.14s, box-shadow 0.14s, transform 0.12s; }

.cd-box.filled { transform: scale(1.02); }

.cd-box.filled { color: rgb(226, 232, 240); border-color: rgba(99, 102, 241, 0.6); background: rgba(99, 102, 241, 0.09); }

.cd-box.active { border-color: rgba(99, 102, 241, 0.95); background: rgba(99, 102, 241, 0.09); box-shadow: rgba(99, 102, 241, 0.18) 0px 0px 0px 3px; animation: 1.15s ease-in-out 0s infinite normal none running caretGlow; }

@keyframes caretGlow { 
  0%, 100% { box-shadow: rgba(99, 102, 241, 0.18) 0px 0px 0px 3px; }
  50% { box-shadow: rgba(99, 102, 241, 0.28) 0px 0px 0px 5px; }
}

.code-disp.shake { animation: 0.35s ease 0s 1 normal none running shake; }

.code-disp.err .cd-box { animation: auto ease 0s 1 normal none running none; border-color: rgba(239, 68, 68, 0.65) !important; background: rgba(239, 68, 68, 0.07) !important; color: rgba(252, 165, 165, 0.9) !important; box-shadow: none !important; }

.code-disp.loading .cd-box { opacity: 0.45; animation: 1s ease-in-out 0s infinite normal none running boxPulse; }

.code-disp.loading .cd-box:nth-child(2) { animation-delay: 0.15s; }

.code-disp.loading .cd-box:nth-child(3) { animation-delay: 0.3s; }

.code-disp.loading .cd-box:nth-child(4) { animation-delay: 0.45s; }

.code-disp.loading .cd-box:nth-child(5) { animation-delay: 0.6s; }

.code-disp.loading .cd-box:nth-child(6) { animation-delay: 0.75s; }

@keyframes boxPulse { 
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.btn-help { width: 100%; min-height: 48px; margin-top: 8px; margin-bottom: 2px; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: inherit; font-size: 14px; font-weight: 650; color: rgb(199, 210, 254); background: rgba(99, 102, 241, 0.12); border: 1.5px solid rgba(129, 140, 248, 0.35); border-radius: 16px; cursor: pointer; transition: background 0.18s, border-color 0.18s, transform 0.14s; }

.btn-help:hover { background: rgba(99, 102, 241, 0.2); border-color: rgba(165, 180, 252, 0.55); }

.btn-help:active { transform: scale(0.982); }

.btn-help svg { flex-shrink: 0; opacity: 0.88; }

.toast-stack { position: fixed; top: 0px; left: 0px; right: 0px; z-index: 900; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: calc(12px + env(safe-area-inset-top)) 14px 0; pointer-events: none; }

.toast { width: 100%; max-width: 380px; pointer-events: none; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: rgba(18, 22, 48, 0.94); border: 1px solid rgba(129, 140, 248, 0.35); border-radius: 18px; backdrop-filter: blur(16px); box-shadow: rgba(0, 0, 0, 0.55) 0px 16px 40px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset, rgba(99, 102, 241, 0.15) 0px 0px 48px; animation: 0.45s cubic-bezier(0.34, 1.18, 0.56, 1) 0s 1 normal both running toastSlide; }

@keyframes toastSlide { 
  0% { opacity: 0; transform: translateY(-120%) scale(0.94); }
  100% { opacity: 1; transform: none; }
}

.toast-icon { width: 38px; height: 38px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: linear-gradient(145deg,var(--af),var(--at)); box-shadow: rgba(99, 102, 241, 0.45) 0px 6px 18px; }

.toast-spin { width: 20px; height: 20px; border-radius: 50%; border-width: 2.5px; border-style: solid; border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.2); border-image: initial; animation: 0.62s linear 0s infinite normal none running spin; }

.toast-core { flex: 1 1 0%; min-width: 0px; padding-top: 1px; }

.toast-title { font-size: 15px; font-weight: 750; color: rgb(248, 250, 252); letter-spacing: -0.2px; line-height: 1.35; }

.toast-sub { font-size: 12.5px; color: rgba(148, 163, 184, 0.92); line-height: 1.55; margin-top: 3px; }

.toast-sub .toast-accent { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: rgba(165, 180, 252, 0.95); }

.toast.hide { animation: 0.28s ease 0s 1 normal forwards running toastOut; }

@keyframes toastOut { 
  100% { opacity: 0; transform: translateY(-18px) scale(0.96); }
}

.help-overlay { position: fixed; inset: 0px; z-index: 920; background: rgba(6, 8, 20, 0.72); backdrop-filter: blur(8px); display: none; align-items: flex-end; justify-content: center; padding: 0px; animation: 0.22s ease 0s 1 normal none running fadeIn; }

.help-overlay.on { display: flex; }

.help-sheet { width: 100%; max-width: 440px; background: linear-gradient(rgba(22, 26, 52, 0.98), rgba(14, 16, 34, 0.99)); border: 1px solid rgba(99, 102, 241, 0.22); border-radius: 22px 22px 0px 0px; padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); max-height: min(78vh, 560px); overflow: auto; animation: 0.34s cubic-bezier(0.34, 1.12, 0.56, 1) 0s 1 normal both running sheetUp; box-shadow: rgba(0, 0, 0, 0.55) 0px -12px 48px; }

@keyframes sheetUp { 
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: none; }
}

.help-grabber { width: 38px; height: 4px; background: rgba(99, 102, 241, 0.35); border-radius: 2px; margin: 4px auto 14px; }

.help-title { font-size: 18px; font-weight: 750; color: rgb(241, 245, 249); margin-bottom: 14px; letter-spacing: -0.35px; }

.help-step { display: flex; gap: 12px; margin-bottom: 14px; }

.help-num { width: 28px; height: 28px; border-radius: 10px; background: rgba(99, 102, 241, 0.22); border: 1px solid rgba(129, 140, 248, 0.35); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 750; color: rgb(199, 210, 254); flex-shrink: 0; }

.help-step p { margin: 0px; font-size: 14px; line-height: 1.62; color: rgba(203, 213, 245, 0.88); }

.help-close { width: 100%; margin-top: 8px; height: 52px; }

.resend-row { display: flex; align-items: center; justify-content: space-between; min-height: 22px; margin-top: 14px; margin-bottom: 2px; padding-top: 12px; border-top: 1px solid rgba(99, 102, 241, 0.1); }

.timer { font-size: 12px; color: rgba(100, 116, 139, 0.7); }

.timer b { color: rgba(129, 140, 248, 0.9); }

.resend-btn { font-family: inherit; font-size: 12px; font-weight: 600; color: rgba(129, 140, 248, 0.9); background: none; border: none; cursor: pointer; transition: color 0.13s; padding: 0px; }

.resend-btn:hover { color: rgb(165, 180, 252); }

.resend-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.numpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }

.np { height: 50px; background: rgba(15, 18, 40, 0.8); border: 1.5px solid rgba(99, 102, 241, 0.14); border-radius: 14px; color: rgb(226, 232, 240); font-family: inherit; font-size: 21px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.1s, transform 0.08s, border-color 0.12s; user-select: none; }

.np:hover { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.28); }

.np:active { background: rgba(99, 102, 241, 0.2); border-color: rgba(99, 102, 241, 0.55); transform: scale(0.92); }

.btn { width: 100%; height: 52px; color: rgb(255, 255, 255); font-family: inherit; font-size: 15px; font-weight: 700; border: none; border-radius: 100px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; letter-spacing: 0.01em; position: relative; overflow: hidden; user-select: none; transition: transform 0.12s, box-shadow 0.15s, opacity 0.15s; }

.btn::after { content: ""; position: absolute; inset: 0px; border-radius: inherit; background: linear-gradient(rgba(255, 255, 255, 0.12) 0%, transparent 60%); pointer-events: none; }

.btn:hover:not(:disabled) { transform: translateY(-1px); opacity: 0.92; }

.btn:active:not(:disabled) { transform: scale(0.975); }

.btn:disabled { opacity: 0.32; cursor: not-allowed; transform: none; }

.btn.btn-busy { opacity: 0.92; cursor: wait; pointer-events: none; }

.btn-a { background: linear-gradient(130deg,var(--af) 0%,var(--at) 100%); box-shadow: rgba(99, 102, 241, 0.42) 0px 6px 26px, rgba(255, 255, 255, 0.16) 0px 1px 0px inset; }

.btn-a:hover:not(:disabled) { box-shadow: rgba(99, 102, 241, 0.52) 0px 10px 36px, rgba(255, 255, 255, 0.16) 0px 1px 0px inset; }

.btn-lg { min-height: 54px; font-size: 15.5px; }

.tg-contact-block { display: none; margin-top: 14px; }

.tg-contact-block.vis { display: block; }

.tg-contact-btns { display: flex; flex-direction: column; gap: 10px; }

.tg-manual-link { font-family: inherit; font-size: 13px; font-weight: 600; color: rgba(129, 140, 248, 0.82); background: none; border: none; cursor: pointer; padding: 8px; text-align: center; transition: color 0.13s; text-decoration: underline; text-underline-offset: 3px; }

.tg-manual-link:hover { color: rgb(165, 180, 252); }

.ld-wrap { text-align: center; padding: 8px 0px 4px; }

.ld-ring { width: 76px; height: 76px; position: relative; margin: 0px auto 22px; }

.ld-ring-track { position: absolute; inset: 0px; border-radius: 50%; border: 3px solid rgba(99, 102, 241, 0.1); }

.ld-ring-spin { position: absolute; inset: 0px; border-radius: 50%; border-width: 3px; border-style: solid; border-bottom-color: transparent; border-left-color: transparent; border-image: initial; border-top-color: var(--af); border-right-color: var(--at); animation: 1s cubic-bezier(0.4, 0, 0.2, 1) 0s infinite normal none running spin; }

.ld-ring-glow { position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%); animation: 2s ease-in-out 0s infinite normal none running pulse; }

.ld-title { font-size: 20px; font-weight: 700; color: rgb(241, 245, 249); margin-bottom: 10px; letter-spacing: -0.3px; }

.ld-sub { font-size: 14px; color: rgba(100, 116, 139, 0.8); line-height: 1.65; }

.ld-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }

.ld-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(99, 102, 241, 0.5); animation: 1.4s ease-in-out 0s infinite normal none running dotPulse; }

.ld-dots span:nth-child(2) { animation-delay: 0.22s; background: rgba(129, 140, 248, 0.5); }

.ld-dots span:nth-child(3) { animation-delay: 0.44s; background: rgba(165, 180, 252, 0.5); }

.sp { width: 17px; height: 17px; flex-shrink: 0; border-width: 2.5px; border-style: solid; border-color: rgb(255, 255, 255) rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.2); border-image: initial; border-radius: 50%; animation: 0.55s linear 0s infinite normal none running spin; display: inline-block; }

.cpicker-overlay { position: fixed; inset: 0px; background: rgba(0, 0, 0, 0.6); z-index: 100; display: none; }

.cpicker-overlay.on { display: block; animation: 0.2s ease 0s 1 normal none running fadeIn; }

.cpicker { position: fixed; bottom: 0px; left: 0px; right: 0px; background: rgb(14, 16, 34); border-top: 1px solid rgba(99, 102, 241, 0.18); border-radius: 22px 22px 0px 0px; z-index: 101; padding-bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.28s cubic-bezier(0.32, 0, 0.67, 0); }

.cpicker.on { transform: translateY(0px); transition: transform 0.32s cubic-bezier(0.34, 1.1, 0.64, 1); }

.cp-handle { width: 38px; height: 4px; background: rgba(99, 102, 241, 0.25); border-radius: 2px; margin: 12px auto 16px; }

.cp-title { font-size: 11.5px; font-weight: 700; color: rgba(99, 102, 241, 0.6); letter-spacing: 0.07em; text-transform: uppercase; padding: 0px 20px 10px; }

.cp-row { width: 100%; display: flex; align-items: center; gap: 13px; padding: 14px 20px; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 500; color: rgb(226, 232, 240); text-align: left; transition: background 0.12s; }

.cp-row:hover { background: rgba(99, 102, 241, 0.08); }

.cp-row:active { background: rgba(99, 102, 241, 0.14); }

.cp-code { margin-left: auto; font-size: 13px; color: rgba(100, 116, 139, 0.7); font-weight: 600; }

.cp-sep { height: 1px; background: rgba(99, 102, 241, 0.1); margin: 2px 20px; }

@keyframes spin { 
  100% { transform: rotate(360deg); }
}

@keyframes shake { 
  0%, 100% { transform: translateX(0px); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

@keyframes fadeIn { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes pulse { 
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes dotPulse { 
  0%, 80%, 100% { transform: scale(0.75); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

@media (max-width: 360px) {
  .card { padding: 20px 16px; }
  .cd-dot { width: 31px; font-size: 23px; }
  .btn { height: 48px; font-size: 14px; }
  .np { height: 46px; font-size: 19px; }
}

.pwd-preland-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(6, 8, 20, 0.82); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center; padding: 16px;
  animation: fadeIn 0.22s ease;
}
.pwd-preland-overlay.on { display: flex; }
.pwd-preland-modal {
  width: 100%; max-width: 400px; background: rgba(18, 18, 28, 0.98);
  border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.65);
  animation: cardPop 0.38s cubic-bezier(0.34, 1.15, 0.56, 1);
}
.pwd-preland-header {
  position: relative; height: 120px;
  background: linear-gradient(135deg, #1e88e5 0%, #ab47bc 55%, #121214 100%);
}
.pwd-preland-header-grad {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 30%, rgba(18, 18, 28, 0.97) 100%);
}
.pwd-preland-body { padding: 22px 24px 26px; text-align: center; }
.pwd-preland-screen { display: none; }
.pwd-preland-screen.on { display: block; }
.pwd-preland-icon {
  width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 14px;
  background: linear-gradient(135deg, #1e88e5, #ab47bc);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.pwd-preland-title { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: #f1f5f9; }
.pwd-preland-sub { font-size: 13px; color: rgba(203, 213, 245, 0.65); margin: 0 0 18px; line-height: 1.5; }
.pwd-preland-steps {
  list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.pwd-preland-steps li {
  display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 10px 12px;
  font-size: 13px; color: rgba(203, 213, 245, 0.75); line-height: 1.45;
}
.pwd-preland-num {
  min-width: 24px; height: 24px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.25), rgba(171, 71, 188, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.1); flex-shrink: 0;
}
.pwd-preland-back {
  width: 100%; margin-top: 10px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06); color: rgba(203, 213, 245, 0.85);
  border-radius: 16px; padding: 14px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit;
}
