body.vs-auth-page .vs-head:not(.is-solid):not(.is-open),
body.vs-auth-page .vs-head.is-fixed:not(.is-solid),
body.vs-auth-page .vs-head.is-glass:not(.is-solid) {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    background: #111 !important;
    color: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.vs-auth {
    max-width: 480px;
    margin: 0 auto;
    padding: 8px 20px 80px;
    box-sizing: border-box;
}
.vs-auth__card {
    background: #f6f4f1;
    border-radius: 22px;
    padding: 28px 28px 26px;
}
.vs-auth__tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 22px;
    padding: 5px;
    background: #fff;
    border-radius: 999px;
}
.vs-auth__tabs a, .vs-auth__tabs span {
    flex: 1;
    text-align: center;
    padding: 11px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    text-decoration: none;
}
.vs-auth__tabs .is-on { background: #161616; color: #fff; }
.vs-auth label.vs-auth__label { display: block; margin: 0 0 6px; font-size: 13px; line-height: 1.2; color: #666; }
.vs-auth__lead { margin: 0 0 16px; text-align: center; color: #666; font-size: 14px; }
.vs-auth__divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; color: #888; font-size: 13px; }
.vs-auth__divider::before, .vs-auth__divider::after { content: ""; flex: 1; height: 1px; background: #e4e0da; }
.vs-auth__social { display: flex; gap: 10px; }
.vs-auth__social a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; border-radius: 999px; color: #fff;
    text-decoration: none; font-weight: 700; font-size: 14px;
}
.vs-auth__social svg { width: 16px; height: 16px; display: block; }
.vs-auth__social .is-google { background: #4285f4; }
.vs-auth__social .is-facebook { background: #1877f2; }
.vs-auth__social a:hover { filter: brightness(1.08); }
.vs-auth__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vs-auth.is-wide { max-width: 760px; }
.vs-auth h1 {
    margin: 0 0 8px;
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    letter-spacing: -0.03em;
}
.vs-auth__lead { margin: 0 0 28px; text-align: center; color: #666; font-size: 15px; line-height: 1.5; }
.vs-auth form { display: flex; flex-direction: column; gap: 14px; }
.vs-auth label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #666; }
.vs-auth input[type="text"],
.vs-auth input[type="email"],
.vs-auth input[type="password"],
.vs-auth input[type="tel"],
.vs-auth input[type="date"],
.vs-auth select {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 14px;
    padding: 0 14px;
    font: inherit;
    font-size: 15px;
    color: #161616;
}
.vs-auth input:focus { outline: none; border-color: #111; background: #fff; }
.vs-auth button[type="submit"] {
    position: relative;
    overflow: hidden;
    height: 50px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: none;
    transition: transform .35s ease;
}
.vs-auth button[type="submit"]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.38) 50%, transparent 68%);
    transform: translateX(-130%);
    transition: transform 1.6s ease;
    pointer-events: none;
}
.vs-auth button[type="submit"]:hover { transform: translateY(-2px); box-shadow: none; }
.vs-auth button[type="submit"]:hover::after { transform: translateX(130%); }
.vs-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.vs-auth__row a, .vs-auth__foot a { color: #111; }
.vs-auth__foot { margin-top: 18px; text-align: center; font-size: 14px; color: #555; }
.vs-auth__alert { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.vs-auth__alert.is-err { background: #fdecec; color: #9b1c1c; }
.vs-auth__alert.is-ok { background: #eef6ee; color: #1d6b32; }
.vs-auth label.vs-auth__check {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #444;
    cursor: pointer;
}
.vs-auth label.vs-auth__check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin: 2px 0 0;
    padding: 0;
    flex: 0 0 16px;
    accent-color: #111;
}
.vs-track { margin-top: 8px; }
.vs-track__meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }
.vs-track__steps { display: flex; gap: 8px; margin: 8px 0 18px; }
.vs-track__step { flex: 1; text-align: center; font-size: 12px; color: #999; }
.vs-track__step i { display: block; height: 4px; border-radius: 99px; background: #eee; margin-bottom: 8px; }
.vs-track__step.is-on { color: #111; font-weight: 700; }
.vs-track__step.is-on i, .vs-track__step.is-done i { background: #111; }
.vs-track__item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #f0f0f0; font-size: 14px; }
.vs-track__sum { display: flex; justify-content: space-between; margin-top: 12px; font-weight: 700; }
.vs-brands, .vs-404, .vs-done { width: min(980px, calc(100% - 40px)); margin: 0 auto 64px; }
.vs-acc__btn { display: inline-flex; background: #111; color: #fff; text-decoration: none; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 700; border: 0; cursor: pointer; }
.vs-brands__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vs-brands__grid a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: 120px; padding: 16px; border-radius: 16px; background: #f6f4f1; color: #111; text-decoration: none; text-align: center;
}
.vs-brands__grid img { max-width: 120px; max-height: 48px; object-fit: contain; }
.vs-brands__grid span { color: #777; font-size: 13px; }
.vs-404 form, .vs-done { display: flex; flex-direction: column; gap: 14px; }
.vs-404 form { flex-direction: row; }
.vs-404 input { flex: 1; height: 48px; border: 1px solid #e4e4e4; border-radius: 999px; padding: 0 16px; font: inherit; }
.vs-404 button, .vs-done .vs-acc__btn, .vs-404 .vs-acc__btn { margin-right: 8px; }
.vs-done dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.vs-done dt { color: #777; font-size: 13px; }
.vs-done dd { margin: 4px 0 0; font-weight: 700; }
@media (max-width: 640px) {
    .vs-auth__card { padding: 20px 16px; }
    .vs-auth__pair, .vs-auth__social, .vs-brands__grid, .vs-done dl { grid-template-columns: 1fr; }
    .vs-404 form { flex-direction: column; }
}
@media (max-width: 640px) {
    .vs-track__steps { flex-wrap: wrap; }
    .vs-track__step { flex: 1 1 40%; }
}
