html body.lg-body {
    --lg-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --lg-ease: cubic-bezier(0.19, 1, 0.22, 1);
    --lg-shell: #f3f3f3;
    --lg-panel: #ffffff;
    --lg-panel-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05), 0 12px 32px -18px rgba(0, 0, 0, 0.18);
    --lg-field: #ffffff;
    --lg-field-ring: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.04);
    --lg-field-ring-hover: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.04);
    --lg-control-ring: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
    --lg-line: rgba(0, 0, 0, 0.075);
    --lg-ink: #0d0d0d;
    --lg-text: #282828;
    --lg-muted: #737373;
    --lg-faint: #a3a3a3;
    --lg-chip: rgba(0, 0, 0, 0.05);
    --lg-hover: rgba(0, 0, 0, 0.05);
    --lg-focus: #282828;
    --lg-primary: #0d0d0d;
    --lg-primary-hover: #2e2e2e;
    --lg-primary-text: #ffffff;
    --lg-primary-glow: 0 6px 16px -6px rgba(0, 0, 0, 0.45);
    --lg-ok: #16a34a;
    --lg-ok-text: #15803d;
    --lg-ok-soft: rgba(22, 163, 74, 0.1);
    --lg-wait-text: #92400e;
    --lg-wait-soft: rgba(217, 119, 6, 0.1);
    --lg-bad: #dc2626;
    --lg-bad-text: #b91c1c;
    --lg-bad-soft: rgba(220, 38, 38, 0.08);
    --lg-info-text: #404040;
    --lg-info-soft: rgba(0, 0, 0, 0.045);
    --lg-scrim: rgba(243, 243, 243, 0.16);
    --lg-sheet-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 28px 64px -16px rgba(0, 0, 0, 0.26), 0 10px 24px -12px rgba(0, 0, 0, 0.12);
    --lg-scroll: rgba(0, 0, 0, 0.16);
    --lg-art-fallback: #8199a6;
    --lg-side-pad: 48px;
}

html.theme-dark body.lg-body {
    --lg-shell: #131313;
    --lg-panel: #1a1a1a;
    --lg-panel-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 12px 32px -18px rgba(0, 0, 0, 0.8);
    --lg-field: #1c1c1c;
    --lg-field-ring: 0 0 0 1px rgba(255, 255, 255, 0.12);
    --lg-field-ring-hover: 0 0 0 1px rgba(255, 255, 255, 0.2);
    --lg-control-ring: 0 0 0 1px rgba(255, 255, 255, 0.13);
    --lg-line: rgba(255, 255, 255, 0.08);
    --lg-ink: #f3f3f3;
    --lg-text: #dcdcdc;
    --lg-muted: #9a9a9a;
    --lg-faint: #6b6b6b;
    --lg-chip: rgba(255, 255, 255, 0.07);
    --lg-hover: rgba(255, 255, 255, 0.07);
    --lg-focus: #dcdcdc;
    --lg-primary: #f3f3f3;
    --lg-primary-hover: #d4d4d4;
    --lg-primary-text: #131313;
    --lg-primary-glow: 0 6px 16px -6px rgba(0, 0, 0, 0.8);
    --lg-ok: #4ade80;
    --lg-ok-text: #86efac;
    --lg-ok-soft: rgba(74, 222, 128, 0.12);
    --lg-wait-text: #ffc978;
    --lg-wait-soft: rgba(255, 190, 92, 0.1);
    --lg-bad: #f87171;
    --lg-bad-text: #ff9a9a;
    --lg-bad-soft: rgba(255, 107, 107, 0.12);
    --lg-info-text: #cfcfcf;
    --lg-info-soft: rgba(255, 255, 255, 0.06);
    --lg-scrim: rgba(8, 8, 8, 0.3);
    --lg-sheet-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 28px 64px -16px rgba(0, 0, 0, 0.7);
    --lg-scroll: rgba(255, 255, 255, 0.16);
}

html body.lg-body.lg-body--branded {
    --lg-primary: var(--brand-primary, #0d0d0d);
    --lg-primary-hover: color-mix(in srgb, var(--brand-primary, #0d0d0d) 86%, #ffffff);
    --lg-primary-text: #ffffff;
}

html.lg-root {
    min-height: 100%;
    background: #f3f3f3;
    color-scheme: light;
}

html.lg-root.theme-dark {
    background: #131313;
    color-scheme: dark;
}

html body.lg-body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--lg-shell);
    color: var(--lg-text);
    font-family: var(--lg-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html body.lg-body *,
html body.lg-body *::before,
html body.lg-body *::after {
    box-sizing: border-box;
}

html body.lg-body [hidden] {
    display: none !important;
}

html body.lg-body :focus:not(:focus-visible) {
    outline: none;
}

html body.lg-body :is(button, a):focus-visible {
    outline: 2px solid var(--lg-focus);
    outline-offset: 2px;
}

html body.lg-body button {
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

html body.lg-body .lg-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

html body.lg-body .lg-nowrap {
    white-space: nowrap;
}

html body.lg-body .lg-break {
    overflow-wrap: anywhere;
}

html body.lg-body .lg-frame {
    display: grid;
    grid-template-columns: minmax(380px, min(520px, 40vw)) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
}

html body.lg-body .lg-side {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px var(--lg-side-pad) 20px;
}

html body.lg-body .lg-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 40px;
    color: var(--lg-ink);
}

html body.lg-body .lg-mark {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #0d0d0d;
    display: grid;
    place-items: center;
}

html body.lg-body .lg-mark img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

html body.lg-body .lg-mark--initial {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

html body.lg-body .lg-brand-chip {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    background: #0d0d0d;
}

html body.lg-body .lg-brand-logo {
    display: block;
    max-width: 160px;
    max-height: 24px;
    object-fit: contain;
}

html.theme-dark body.lg-body :is(.lg-mark, .lg-brand-chip) {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

html body.lg-body .lg-brand-name {
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html body.lg-body .lg-center {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    padding: max(40px, calc(50vh - 236px)) 0 40px;
}

html body.lg-body.lg-body--reading .lg-center {
    visibility: hidden;
}

html body.lg-body .lg-stack {
    position: relative;
    display: grid;
    width: calc(100% + 12px);
    max-width: 392px;
    margin: -6px;
    padding: 6px;
}

html body.lg-body .lg-stack.is-gliding {
    overflow: hidden;
    transition: height 0.42s var(--lg-ease);
}

html body.lg-body .lg-panel {
    grid-area: 1 / 1;
    align-self: start;
    min-width: 0;
}

html body.lg-body .lg-panel.is-leaving {
    pointer-events: none;
    animation: lgPanelOut 0.2s ease-in forwards;
}

html body.lg-body .lg-panel.is-leaving.is-back {
    animation-name: lgPanelOutBack;
}

html body.lg-body .lg-panel.is-entering {
    animation: lgPanelIn 0.46s var(--lg-ease) 0.06s backwards;
}

html body.lg-body .lg-panel.is-entering.is-back {
    animation-name: lgPanelInBack;
}

html body.lg-body .lg-title {
    margin: 0 0 22px;
    color: var(--lg-ink);
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.6px;
    outline: none;
}

html body.lg-body .lg-title:focus-visible {
    outline: 2px solid var(--lg-focus);
    outline-offset: 4px;
    border-radius: 4px;
}

html body.lg-body .lg-lede {
    margin: -10px 0 24px;
    color: var(--lg-muted);
    font-size: 14px;
    line-height: 21px;
    text-wrap: pretty;
}

html body.lg-body .lg-lede strong {
    color: var(--lg-ink);
    font-weight: 500;
}

html body.lg-body .lg-lede--tight {
    margin-bottom: 22px;
}

html body.lg-body .lg-form {
    display: flex;
    flex-direction: column;
    margin: 0;
}

html body.lg-body .lg-field {
    margin: 0 0 16px;
}

html body.lg-body .lg-field--password {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "label forgot"
        "control control"
        "note note";
    align-items: end;
}

html body.lg-body .lg-field--password .lg-label {
    grid-area: label;
}

html body.lg-body .lg-field--password .lg-control {
    grid-area: control;
}

html body.lg-body .lg-field--password .lg-forgot {
    grid-area: forgot;
    margin-bottom: 7px;
}

html body.lg-body .lg-field--password .lg-note {
    grid-area: note;
}

html body.lg-body .lg-label {
    display: block;
    margin: 0 0 7px;
    color: var(--lg-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.05px;
}

html body.lg-body .lg-control {
    position: relative;
}

html body.lg-body .lg-input {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: var(--lg-field);
    box-shadow: var(--lg-field-ring);
    color: var(--lg-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.1px;
    caret-color: var(--lg-ink);
    -webkit-appearance: none;
    appearance: none;
    transition: box-shadow 0.15s var(--lg-ease), background-color 0.15s var(--lg-ease);
}

html body.lg-body .lg-input::placeholder {
    color: var(--lg-faint);
}

html body.lg-body .lg-input:hover {
    box-shadow: var(--lg-field-ring-hover);
}

html body.lg-body .lg-input:focus-visible,
html body.lg-body .lg-input:focus {
    outline: 2px solid var(--lg-focus);
    outline-offset: 1px;
}

html body.lg-body .lg-input[aria-invalid="true"] {
    box-shadow: inset 0 0 0 1px var(--lg-bad), 0 1px 2px rgba(0, 0, 0, 0.04);
}

html body.lg-body .lg-input[aria-invalid="true"]:focus {
    outline-color: var(--lg-bad);
    box-shadow: none;
}

html body.lg-body .lg-input:-webkit-autofill,
html body.lg-body .lg-input:-webkit-autofill:hover,
html body.lg-body .lg-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--lg-ink);
    box-shadow: inset 0 0 0 40px var(--lg-field), var(--lg-field-ring);
    caret-color: var(--lg-ink);
    transition: background-color 600000s 0s, color 600000s 0s;
}

html body.lg-body .lg-input[aria-invalid="true"]:-webkit-autofill {
    box-shadow: inset 0 0 0 40px var(--lg-field), inset 0 0 0 1px var(--lg-bad);
}

html body.lg-body .lg-control--reveal .lg-input {
    padding-right: 46px;
}

html body.lg-body .lg-control--reveal .lg-input::-ms-reveal {
    display: none;
}

html body.lg-body .lg-reveal {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--lg-muted);
    cursor: pointer;
    transition: background-color 0.15s var(--lg-ease), color 0.15s var(--lg-ease);
}

html body.lg-body .lg-reveal:hover {
    background: var(--lg-hover);
    color: var(--lg-ink);
}

html body.lg-body .lg-reveal:focus-visible {
    outline-offset: -2px;
}

html body.lg-body .lg-reveal-slash {
    stroke-dasharray: 18.2;
    stroke-dashoffset: 18.2;
    transition: stroke-dashoffset 0.26s var(--lg-ease);
}

html body.lg-body .lg-reveal[aria-pressed="true"] .lg-reveal-slash {
    stroke-dashoffset: 0;
}

html body.lg-body .lg-link {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--lg-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.15s var(--lg-ease);
}

html body.lg-body .lg-link:hover {
    color: var(--lg-ink);
}

html body.lg-body .lg-note {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.26s var(--lg-ease);
}

html body.lg-body .lg-note.is-open {
    grid-template-rows: 1fr;
}

html body.lg-body .lg-note-in {
    min-height: 0;
    overflow: hidden;
}

html body.lg-body .lg-note-text {
    margin: 0;
    padding-top: 7px;
    color: var(--lg-muted);
    font-size: 12.5px;
    line-height: 17px;
    letter-spacing: -0.05px;
    text-wrap: pretty;
}

html body.lg-body .lg-note--bad .lg-note-text {
    color: var(--lg-bad-text);
}

html body.lg-body .lg-note--ok .lg-note-text {
    color: var(--lg-ok-text);
}

html body.lg-body .lg-note--hint .lg-note-text {
    color: var(--lg-muted);
}

html body.lg-body .lg-note.is-fresh .lg-note-text {
    animation: lgNoteIn 0.22s var(--lg-ease) backwards;
}

html body.lg-body .lg-note-text .lg-tick {
    display: inline-block;
    width: 12px;
    margin-right: 4px;
}

html body.lg-body .lg-shake {
    animation: lgShake 0.42s var(--lg-ease);
}

html body.lg-body .lg-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--lg-panel);
    box-shadow: var(--lg-control-ring);
    color: var(--lg-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.1px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: background-color 0.15s var(--lg-ease), box-shadow 0.2s var(--lg-ease), color 0.15s var(--lg-ease), transform 0.15s var(--lg-ease);
}

html body.lg-body .lg-btn:hover {
    background: color-mix(in srgb, var(--lg-panel) 92%, var(--lg-ink));
}

html body.lg-body .lg-btn:active {
    transform: scale(0.97);
}

html body.lg-body .lg-btn--primary {
    width: 100%;
    margin-top: 6px;
    background: var(--lg-primary);
    box-shadow: none;
    color: var(--lg-primary-text);
}

html body.lg-body .lg-btn--primary:hover {
    background: var(--lg-primary-hover);
    box-shadow: var(--lg-primary-glow);
    color: var(--lg-primary-text);
}

html body.lg-body .lg-btn--quiet {
    background: transparent;
    box-shadow: none;
    color: var(--lg-muted);
}

html body.lg-body .lg-btn--quiet:hover {
    background: var(--lg-hover);
    color: var(--lg-ink);
}

html body.lg-body .lg-btn[aria-busy="true"],
html body.lg-body .lg-btn.is-done {
    cursor: default;
    pointer-events: none;
}

html body.lg-body .lg-btn-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

html body.lg-body .lg-btn-label.is-swapped {
    animation: lgLabelIn 0.28s var(--lg-ease) backwards;
}

html body.lg-body .lg-spin {
    flex: none;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    opacity: 0.85;
    animation: lgSpin 0.7s linear infinite;
}

html body.lg-body .lg-check {
    flex: none;
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    animation: lgPop 0.5s var(--lg-ease) backwards;
}

html body.lg-body .lg-check path {
    stroke-dasharray: 16;
    stroke-dashoffset: 16;
    animation: lgDraw 0.36s var(--lg-ease) 0.08s forwards;
}

html body.lg-body .lg-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    height: 28px;
    margin: 0 0 18px -6px;
    padding: 0 10px 0 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--lg-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    cursor: pointer;
    transition: background-color 0.15s var(--lg-ease), color 0.15s var(--lg-ease);
}

html body.lg-body .lg-back:hover {
    background: var(--lg-hover);
    color: var(--lg-ink);
}

html body.lg-body .lg-back svg {
    flex: none;
    transition: transform 0.25s var(--lg-ease);
}

html body.lg-body .lg-back:hover svg {
    transform: translateX(-2px);
}

html body.lg-body .lg-flashes:empty {
    display: none;
}

html body.lg-body .lg-flash {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    margin: 0 0 18px;
    padding: 10px 8px 10px 12px;
    border-radius: 12px;
    background: var(--lg-info-soft);
    color: var(--lg-info-text);
}

html body.lg-body .lg-flash-fold:has(+ .lg-flash-fold) .lg-flash {
    margin-bottom: 10px;
}

html body.lg-body .lg-flash--bad {
    background: var(--lg-bad-soft);
    color: var(--lg-bad-text);
}

html body.lg-body .lg-flash--wait {
    background: var(--lg-wait-soft);
    color: var(--lg-wait-text);
}

html body.lg-body .lg-flash--ok {
    background: var(--lg-ok-soft);
    color: var(--lg-ok-text);
}

html body.lg-body .lg-flash-icon {
    display: grid;
    place-items: center;
    width: 16px;
    height: 18px;
}

html body.lg-body .lg-flash-text {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    text-wrap: pretty;
}

html body.lg-body .lg-flash-action {
    display: inline;
    margin: 0 0 0 6px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    cursor: pointer;
    border-radius: 3px;
}

html body.lg-body .lg-flash-close {
    position: relative;
    width: 24px;
    height: 24px;
    margin: -3px 0 -3px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    transition: background-color 0.15s var(--lg-ease), opacity 0.15s var(--lg-ease);
}

html body.lg-body .lg-flash-close::before,
html body.lg-body .lg-flash-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    margin: -1px 0 0 -5px;
    border-radius: 1px;
    background: currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s var(--lg-ease);
}

html body.lg-body .lg-flash-close::after {
    transform: rotate(-45deg);
}

html body.lg-body .lg-flash-close:hover {
    background: rgba(127, 127, 127, 0.12);
    opacity: 1;
}

html body.lg-body .lg-flash-close:hover::before {
    transform: rotate(135deg);
}

html body.lg-body .lg-flash-close:hover::after {
    transform: rotate(45deg);
}

html body.lg-body .lg-flash.is-arriving {
    animation: lgNoteIn 0.3s var(--lg-ease) backwards;
}

html body.lg-body .lg-flash-fold {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.3s var(--lg-ease), opacity 0.2s var(--lg-ease);
}

html body.lg-body .lg-flash-fold.is-folded {
    grid-template-rows: 0fr;
    opacity: 0;
}

html body.lg-body .lg-flash-fold > .lg-flash-fold-in {
    min-height: 0;
    overflow: hidden;
}

html body.lg-body .lg-otp {
    height: 52px;
}

html body.lg-body .lg-otp-input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent !important;
    box-shadow: none !important;
    color: transparent;
    -webkit-text-fill-color: transparent;
    caret-color: transparent;
    font-size: 16px;
    letter-spacing: 0;
    outline: none !important;
    cursor: text;
    -webkit-appearance: none;
    appearance: none;
}

html body.lg-body .lg-otp-input::selection {
    background: transparent;
}

html body.lg-body .lg-otp-input:-webkit-autofill {
    transition: background-color 600000s 0s;
}

html body.lg-body .lg-otp-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 10px repeat(3, minmax(0, 1fr));
    gap: 8px;
    height: 100%;
    pointer-events: none;
}

html body.lg-body .lg-otp-slot {
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--lg-field);
    box-shadow: var(--lg-field-ring);
    color: var(--lg-ink);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    transition: box-shadow 0.15s var(--lg-ease), outline-color 0.15s var(--lg-ease);
}

html body.lg-body .lg-otp-slot:nth-child(4) {
    grid-column: 5;
}

html body.lg-body .lg-otp-slot:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -13px;
    width: 8px;
    height: 2px;
    margin-top: -1px;
    border-radius: 1px;
    background: var(--lg-faint);
}

html body.lg-body .lg-otp:hover .lg-otp-slot {
    box-shadow: var(--lg-field-ring-hover);
}

html body.lg-body .lg-otp-slot.is-active {
    outline: 2px solid var(--lg-focus);
    outline-offset: 1px;
}

html body.lg-body .lg-otp-slot.is-filled > span {
    animation: lgDigitIn 0.2s var(--lg-ease) backwards;
}

html body.lg-body .lg-otp.is-invalid .lg-otp-slot {
    box-shadow: inset 0 0 0 1px var(--lg-bad);
}

html body.lg-body .lg-otp.is-invalid .lg-otp-slot.is-active {
    outline-color: var(--lg-bad);
    box-shadow: none;
}

html body.lg-body .lg-otp-input:focus-visible ~ .lg-otp-slots .lg-otp-slot.is-active {
    outline-style: solid;
}

html body.lg-body .lg-otp-input[disabled] ~ .lg-otp-slots {
    opacity: 0.6;
}

html body.lg-body .lg-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

html body.lg-body .lg-actions .lg-btn {
    width: 100%;
    margin: 0;
}

html body.lg-body .lg-receipt-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 0 20px;
    border-radius: 12px;
    background: var(--lg-ok-soft);
    color: var(--lg-ok-text);
}

html body.lg-body .lg-panel--receipt:not([hidden]) .lg-receipt-mark {
    animation: lgPop 0.5s var(--lg-ease) 0.1s backwards;
}

html body.lg-body .lg-receipt-tick {
    stroke-dasharray: 20;
    stroke-dashoffset: 0;
}

html body.lg-body .lg-panel--receipt:not([hidden]) .lg-receipt-tick {
    animation: lgTick 0.42s var(--lg-ease) 0.24s backwards;
}

html body.lg-body .lg-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    margin-top: auto;
    padding-top: 20px;
    color: var(--lg-muted);
    font-size: 12.5px;
    line-height: 17px;
}

html body.lg-body .lg-foot-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin-left: -7px;
}

html body.lg-body .lg-foot-link {
    display: inline-flex;
    align-items: center;
    height: 26px;
    margin: 0;
    padding: 0 7px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--lg-muted);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 17px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s var(--lg-ease), color 0.15s var(--lg-ease);
}

html body.lg-body .lg-foot-link:hover {
    background: var(--lg-hover);
    color: var(--lg-ink);
    text-decoration: none;
}

html body.lg-body .lg-foot-copy {
    margin: 0;
    color: var(--lg-faint);
    overflow-wrap: anywhere;
}

html body.lg-body .lg-art {
    position: sticky;
    top: 8px;
    height: calc(100vh - 16px);
    height: calc(100dvh - 16px);
    margin: 8px 8px 8px 0;
    border-radius: 14px;
    background: var(--lg-art-fallback);
    box-shadow: var(--lg-panel-shadow);
    overflow: hidden;
    isolation: isolate;
}

html body.lg-body .lg-art-img {
    position: absolute;
    inset: 0;
    background-color: var(--lg-art-fallback);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform-origin: 50% 50%;
}

html.lg-js body.lg-body .lg-art-img {
    opacity: 0;
    transform: scale(1.035);
}

html.lg-js body.lg-body.lg-art-ready .lg-art-img {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s var(--lg-ease), transform 1.6s var(--lg-ease);
}

html body.lg-body .lg-art.lg-art--drawn {
    background: #f2ede4;
}

html.theme-dark body.lg-body .lg-art.lg-art--drawn {
    background: #12110f;
}

html body.lg-body .lg-art-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    touch-action: pan-y;
    transition: opacity 0.6s var(--lg-ease);
}

html body.lg-body .lg-art-canvas.is-on {
    opacity: 1;
}

html body.lg-body .lg-art .lg-art-season {
    position: absolute !important;
    z-index: 1;
}

html body.lg-body .lg-art .snowfall-container.lg-art-season,
html body.lg-body .lg-art .fireworks-container.lg-art-season {
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
}

html body.lg-body .lg-glass {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(150px, 24vh, 236px);
    height: clamp(150px, 24vh, 236px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: transparent;
    color: inherit;
    transform: translate(-50%, -50%);
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-appearance: none;
    appearance: none;
}

html body.lg-body .lg-glass[data-dragging="true"] {
    cursor: grabbing;
}

html body.lg-body .lg-glass:focus:not(:focus-visible),
html body.lg-body .lg-glass[data-input-mode="pointer"]:focus-visible {
    outline: none;
}

html body.lg-body .lg-glass:focus-visible:not([data-input-mode="pointer"]) {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

html body.lg-body .lg-glass canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s var(--lg-ease);
}

html body.lg-body .lg-glass[data-state="ready"] canvas {
    opacity: 1;
}

html body.lg-body .lg-glass .navbar-glass-logo__fallback,
html body.lg-body .lg-glass[data-state="fallback"] {
    display: none !important;
}

html body.lg-body .lg-handoff {
    position: fixed;
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 288px;
    z-index: 40;
    border-radius: 14px;
    background: var(--lg-panel);
    box-shadow: var(--lg-panel-shadow);
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 0 var(--lg-handoff-cut, 0px) round 14px);
    transition: opacity 0.5s var(--lg-ease) 0.12s, clip-path 0.7s var(--lg-ease) 0.12s;
}

html body.lg-body .lg-handoff.is-on {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 14px);
}

html body.lg-body.lg-handing-off .lg-side > * {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s var(--lg-ease) 0.18s, transform 0.4s var(--lg-ease) 0.18s;
}

html.lg-js body.lg-body.lg-handing-off .lg-art .lg-art-img,
html body.lg-body.lg-handing-off .lg-art .lg-art-canvas,
html body.lg-body.lg-handing-off .lg-art .lg-glass {
    opacity: 0;
    transition: opacity 0.4s var(--lg-ease) 0.3s;
}

html.lg-js body.lg-body:not(.lg-loaded) .lg-brand,
html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active > *,
html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active .lg-form > *,
html.lg-js body.lg-body:not(.lg-loaded) .lg-foot {
    animation: lgRise 0.5s var(--lg-ease) backwards;
}

html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active .lg-form {
    animation: none;
}

html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active > :nth-child(1) { animation-delay: 40ms; }
html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active > :nth-child(2) { animation-delay: 70ms; }
html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active > :nth-child(3) { animation-delay: 95ms; }
html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active > :nth-child(4) { animation-delay: 120ms; }
html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active .lg-form > :nth-child(2) { animation-delay: 120ms; }
html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active .lg-form > :nth-child(3) { animation-delay: 145ms; }
html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active .lg-form > :nth-child(4) { animation-delay: 170ms; }
html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active .lg-form > :nth-child(5) { animation-delay: 195ms; }
html.lg-js body.lg-body:not(.lg-loaded) .lg-foot { animation-delay: 220ms; }

@keyframes lgRise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes lgPanelIn {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
}

@keyframes lgPanelInBack {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
}

@keyframes lgPanelOut {
    to {
        opacity: 0;
        transform: translateX(-14px);
    }
}

@keyframes lgPanelOutBack {
    to {
        opacity: 0;
        transform: translateX(14px);
    }
}

@keyframes lgNoteIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
}

@keyframes lgLabelIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
}

@keyframes lgShake {
    0% { transform: translateX(0); }
    18% { transform: translateX(6px); }
    38% { transform: translateX(-5px); }
    58% { transform: translateX(3px); }
    78% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

@keyframes lgSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes lgPop {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }
    60% {
        opacity: 1;
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lgDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes lgTick {
    from {
        stroke-dashoffset: 20;
    }
}

@keyframes lgDigitIn {
    from {
        opacity: 0;
        transform: translateY(3px) scale(0.92);
    }
}

@media (max-width: 1100px) {
    html body.lg-body {
        --lg-side-pad: 40px;
    }

    html body.lg-body .lg-frame {
        grid-template-columns: minmax(360px, 44vw) minmax(0, 1fr);
    }
}

@media (max-width: 860px), (pointer: coarse) {
    html body.lg-body .lg-input {
        font-size: 16px;
    }
}

@media (max-width: 860px) {
    html body.lg-body {
        --lg-side-pad: 28px;
    }

    html body.lg-body .lg-frame {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
    }

    html body.lg-body .lg-art {
        order: -1;
        position: relative;
        top: 0;
        height: clamp(150px, 27vh, 280px);
        margin: 8px 8px 0;
    }

    html body.lg-body .lg-side {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        padding-top: 16px;
    }

    html body.lg-body .lg-center {
        padding: 24px 0 28px;
    }

    html body.lg-body .lg-stack {
        max-width: none;
    }

    html body.lg-body .lg-glass {
        width: clamp(116px, 22vh, 176px);
        height: clamp(116px, 22vh, 176px);
    }

    html body.lg-body .lg-handoff {
        display: none;
    }
}

@media (max-width: 860px) and (max-height: 600px) {
    html body.lg-body .lg-art {
        height: 120px;
    }

    html body.lg-body .lg-side {
        padding-bottom: 8px;
    }

    html body.lg-body .lg-center {
        padding: 16px 0 20px;
    }

    html body.lg-body .lg-glass {
        width: 96px;
        height: 96px;
    }
}

@media (max-width: 480px) {
    html body.lg-body {
        --lg-side-pad: 20px;
    }

    html body.lg-body .lg-title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    html body.lg-body .lg-otp {
        height: 48px;
    }

    html body.lg-body .lg-otp-slots {
        gap: 6px;
        grid-template-columns: repeat(3, minmax(0, 1fr)) 8px repeat(3, minmax(0, 1fr));
    }

    html body.lg-body .lg-otp-slot:nth-child(3)::after {
        right: -11px;
        width: 6px;
    }

    html body.lg-body .lg-foot {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-height: 640px) and (min-width: 861px) {
    html body.lg-body .lg-center {
        padding-top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.lg-js body.lg-body .lg-art-img,
    html.lg-js body.lg-body.lg-art-ready .lg-art-img {
        transform: none;
        transition: opacity 0.2s linear;
    }

    html.lg-js body.lg-body:not(.lg-loaded) .lg-brand,
    html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active > *,
    html.lg-js body.lg-body:not(.lg-loaded) .lg-panel.is-active .lg-form > *,
    html.lg-js body.lg-body:not(.lg-loaded) .lg-foot,
    html body.lg-body .lg-panel.is-leaving,
    html body.lg-body .lg-panel.is-entering,
    html body.lg-body .lg-note.is-fresh .lg-note-text,
    html body.lg-body .lg-shake,
    html body.lg-body .lg-btn-label.is-swapped,
    html body.lg-body .lg-check,
    html body.lg-body .lg-check path,
    html body.lg-body .lg-flash.is-arriving,
    html body.lg-body .lg-otp-slot.is-filled > span,
    html body.lg-body .lg-panel--receipt:not([hidden]) .lg-receipt-mark,
    html body.lg-body .lg-panel--receipt:not([hidden]) .lg-receipt-tick {
        animation: none;
    }

    html body.lg-body .lg-check path {
        stroke-dashoffset: 0;
    }

    html body.lg-body .lg-stack.is-gliding,
    html body.lg-body .lg-note,
    html body.lg-body .lg-flash-fold,
    html body.lg-body .lg-reveal-slash,
    html body.lg-body .lg-flash-close::before,
    html body.lg-body .lg-flash-close::after,
    html body.lg-body .lg-back svg,
    html body.lg-body .lg-btn {
        transition: none;
    }

    html body.lg-body .lg-handoff {
        display: none;
    }

    html body.lg-body.lg-handing-off .lg-side > * {
        transition: none;
    }
}

html body.lg-body .lg-back-form {
    margin: 0;
}

html:not(.lg-js) body.lg-body .lg-otp-slots {
    display: none;
}

html:not(.lg-js) body.lg-body .lg-otp-input {
    position: static;
    padding: 0 14px;
    background: var(--lg-field) !important;
    box-shadow: var(--lg-field-ring) !important;
    color: var(--lg-ink);
    -webkit-text-fill-color: currentColor;
    caret-color: auto;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.45em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

html:not(.lg-js) body.lg-body .lg-otp.is-invalid .lg-otp-input {
    box-shadow: inset 0 0 0 1px var(--lg-bad) !important;
}

html:not(.lg-js) body.lg-body .lg-otp-input:focus-visible {
    outline: 2px solid var(--lg-focus) !important;
    outline-offset: 2px;
}
