@property --code-a{syntax:"<angle>";inherits:false;initial-value:0deg}.code-card{isolation:isolate;background:linear-gradient(180deg,color-mix(in srgb,var(--color-deep)92%,transparent),color-mix(in srgb,var(--color-night)88%,transparent));border:1px solid var(--color-line);border-radius:1.4rem;gap:1.1rem;padding:1.25rem;display:grid;position:relative;box-shadow:0 30px 70px -40px rgba(61,245,255,.35),inset 0 1px rgba(255,255,255,.06)}.code-card.is-compact{gap:.8rem;padding:1rem}.code-card-rim{border-radius:inherit;pointer-events:none;z-index:-1;background:conic-gradient(from var(--code-a),transparent 0 72%,rgba(61,245,255,.9) 84%,rgba(139,92,255,.7) 90%,transparent 97%);-webkit-mask-composite:xor;padding:1px;animation:4.5s linear infinite code-rim;position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px;-webkit-mask-image:linear-gradient(#000 0,#000 0),linear-gradient(#000 0,#000 0);-webkit-mask-position:0 0,0 0;-webkit-mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.code-card.is-ok .code-card-rim{background:conic-gradient(from var(--code-a),transparent 0 60%,rgba(52,211,153,.95) 80%,transparent 96%);animation-duration:1.6s}@keyframes code-rim{to{--code-a:360deg}}.code-stage{align-items:center;min-height:3.6rem;display:grid;position:relative}.code-fieldset{transform-origin:50%;min-width:0}.code-cells{align-items:center;gap:.5rem;display:flex}.code-dash{background:var(--color-line);border-radius:2px;flex:0 0 .7rem;height:2px}.code-cell{cursor:text;border:1px solid var(--color-line);background:color-mix(in srgb,var(--color-night)80%,transparent);border-radius:.9rem;flex:1 1 0;place-items:center;min-width:0;height:3.6rem;transition:border-color .16s,box-shadow .2s,background-color .3s;display:grid;position:relative;overflow:hidden}.code-cell input{text-align:center;color:transparent;caret-color:transparent;background:0 0;border:0;outline:none;width:100%;height:100%;font-size:1.5rem;position:absolute;top:0;bottom:0;left:0;right:0}.code-cell.is-filled{border-color:color-mix(in srgb,var(--color-neon-cyan)45%,var(--color-line))}.code-cell.is-active{border-color:var(--color-neon-cyan);background:color-mix(in srgb,var(--color-neon-cyan)7%,var(--color-night));box-shadow:0 0 0 3px rgba(61,245,255,.18),0 0 26px -6px rgba(61,245,255,.65)}.code-digit{pointer-events:none;font:600 1.6rem/1 var(--font-mono,ui-monospace),monospace;font-variant-numeric:tabular-nums;color:var(--color-paper);place-items:center;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.code-caret{pointer-events:none;background:var(--color-neon-cyan);width:2px;height:1.6rem;box-shadow:0 0 10px var(--color-neon-cyan);border-radius:2px;animation:.18s cubic-bezier(.23,1,.32,1) .11s both code-caret-in,1s step-end .7s infinite code-blink}@keyframes code-caret-in{0%{opacity:0;transform:scaleY(.4)}}@keyframes code-blink{50%{opacity:0}}.code-cell:after{content:"";pointer-events:none;opacity:0;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.35) 50%,transparent 80%);position:absolute;top:0;bottom:0;left:0;right:0;transform:translate(-120%)}.code-card.is-checking .code-cell:after{opacity:1;animation:.9s cubic-bezier(.4,0,.2,1) infinite code-sweep;animation-delay:calc(var(--i)*70ms)}@keyframes code-sweep{to{transform:translate(120%)}}.code-card.is-error .code-cell{border-color:color-mix(in srgb,var(--color-destructive)55%,var(--color-line))}.code-verified{color:#6ee7b7;background:rgba(52,211,153,.1);border:1px solid rgba(52,211,153,.45);border-radius:.9rem;justify-content:center;align-items:center;gap:.7rem;height:3.6rem;font-size:1.05rem;font-weight:700;display:flex;box-shadow:0 0 40px -12px rgba(52,211,153,.6)}.code-ring,.code-check{fill:none;stroke:#34d399;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round}.code-ring{stroke-dasharray:107;stroke-dashoffset:107px;transform-origin:50%;animation:.6s cubic-bezier(.65,0,.35,1) .25s forwards code-draw;transform:rotate(-90deg)}.code-check{stroke-dasharray:26;stroke-dashoffset:26px;animation:.35s ease-out .7s forwards code-draw}@keyframes code-draw{to{stroke-dashoffset:0}}.code-recovery{transform-origin:50%;min-width:0}.code-recovery-row{align-items:center;gap:.5rem;display:flex}.code-recovery-input{border:1px solid var(--color-line);background:color-mix(in srgb,var(--color-night)80%,transparent);min-width:0;height:3.6rem;color:var(--color-paper);text-align:center;letter-spacing:.12em;font:600 1.2rem/1 var(--font-mono,ui-monospace),monospace;text-transform:uppercase;border-radius:.9rem;outline:none;flex:1 1 0;padding:0 1rem;transition:border-color .16s,box-shadow .2s}.code-recovery-input::placeholder{color:var(--color-muted-foreground);opacity:.45}.code-recovery-input:focus{border-color:var(--color-neon-cyan);box-shadow:0 0 0 3px rgba(61,245,255,.18),0 0 26px -6px rgba(61,245,255,.65)}.code-card.is-error .code-recovery-input{border-color:color-mix(in srgb,var(--color-destructive)55%,var(--color-line))}.code-recovery-row .code-ghost{border-radius:.9rem;min-height:3.6rem}.code-switch{color:var(--color-neon-cyan);text-underline-offset:3px;justify-self:start;align-items:center;gap:.4rem;margin-top:-.6rem;font-size:.82rem;font-weight:600;display:inline-flex}.code-switch:hover:not(:disabled){text-decoration:underline}.code-switch:disabled{opacity:.45}.code-bar{border-top:1px solid var(--color-line);background:color-mix(in srgb,var(--color-night)60%,transparent);border-radius:0 0 1.4rem 1.4rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin:0 -1.25rem -1.25rem;padding:.85rem 1.25rem;display:flex}.code-card.is-compact .code-bar{margin:0 -1rem -1rem;padding:.7rem 1rem}.code-secure{align-items:center;gap:.6rem;min-width:0;display:flex}.code-secure b{font-size:.8rem;display:block}.code-secure small{font:500 .7rem/1.3 var(--font-mono,ui-monospace),monospace;color:var(--color-muted-foreground);display:block}.code-lock{background:color-mix(in srgb,var(--color-paper)7%,transparent);width:2rem;height:2rem;color:var(--color-muted-foreground);border-radius:.6rem;place-items:center;transition:color .3s,background-color .3s;display:grid}.code-lock.is-ok{color:#6ee7b7;background:rgba(52,211,153,.14)}.code-ghost{border:1px solid var(--color-line);border-radius:999px;align-items:center;gap:.4rem;min-height:2.5rem;padding:0 .9rem;font-size:.85rem;font-weight:600;transition:border-color .15s,transform .12s;display:inline-flex}.code-ghost:hover:not(:disabled){border-color:color-mix(in srgb,var(--color-paper)30%,transparent)}.code-ghost:active:not(:disabled){transform:scale(.97)}.code-ghost:disabled{opacity:.45}@media (max-width:479px){.code-recovery-row{flex-direction:column;align-items:stretch}.code-recovery-input{letter-spacing:.08em;flex:none;width:100%;padding:0 .75rem}.code-recovery-row .code-ghost{justify-content:center;min-height:3rem}}@media (max-width:380px){.code-cells{gap:.3rem}.code-cell{height:3.2rem}.code-dash{flex-basis:.4rem}}@media (prefers-reduced-motion:reduce){.code-card-rim{background:0 0;animation:none}.code-caret{animation:none}.code-card.is-checking .code-cell:after{opacity:0;animation:none}.code-ring,.code-check{stroke-dashoffset:0;animation:none}}
