@charset "utf-8";

/*
 * 前台登录 / 注册共用视觉层。
 * 参考后台登录页的墨绿山水双栏设计，不覆盖表单字段和业务脚本。
 */
.frontend-auth-shell,
.frontend-auth-shell * {
    box-sizing: border-box;
}

.frontend-auth-shell {
    --auth-deep: #073f69;
    --auth-deeper: #042f50;
    --auth-primary: #d8b012;
    --auth-primary-bright: #edc84a;
    --auth-paper: #fffdf7;
    --auth-line: rgba(7, 63, 105, .18);
    --auth-muted: #6f8291;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 570px;
    max-width: none;
    margin: 0 auto;
    padding: 26px 20px 34px;
}

.frontend-auth-card {
    display: grid;
    grid-template-columns: minmax(285px, .9fr) minmax(390px, 1.1fr);
    width: min(760px, 100%);
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(216, 176, 18, .24);
    border-radius: 20px;
    background: var(--auth-paper);
    box-shadow: 0 22px 56px rgba(3, 47, 80, .18);
}

.frontend-auth-register .frontend-auth-card {
    min-height: 640px;
}

.frontend-auth-shell.frontend-auth-register {
    min-height: 700px;
}

/* 登录页按反馈整体缩小约三分之一；注册页字段较多，维持原尺寸。 */
.frontend-auth-shell.frontend-auth-login {
    min-height: 440px;
    padding-top: 20px;
    padding-bottom: 26px;
}

.frontend-auth-login .frontend-auth-card {
    grid-template-columns: minmax(190px, .9fr) minmax(280px, 1.1fr);
    width: min(520px, 100%);
    min-height: 360px;
    border-radius: 15px;
    box-shadow: 0 16px 40px rgba(3, 47, 80, .17);
}

.frontend-auth-login .frontend-auth-visual {
    padding: 23px 21px;
}

.frontend-auth-login .frontend-auth-brand {
    gap: 10px;
}

.frontend-auth-login .frontend-auth-brand img {
    width: 31px;
    height: 31px;
}

.frontend-auth-login .frontend-auth-brand span {
    font-size: 16px;
    letter-spacing: 3px;
}

.frontend-auth-login .frontend-auth-visual-copy {
    padding: 21px 0 17px 14px;
}

.frontend-auth-login .frontend-auth-reminder {
    top: -20px;
    left: 14px;
    font-size: 9px;
}

.frontend-auth-login .frontend-auth-visual-copy h2,
.frontend-auth-login .frontend-auth-visual-copy h2 span {
    font-size: 16px;
    line-height: 1.55;
}

.frontend-auth-login .frontend-auth-quote-source {
    margin-top: 9px;
    font-size: 9px;
}

.frontend-auth-login .frontend-auth-panel {
    padding: 19px 22px;
}

.frontend-auth-login .login-card {
    width: min(100%, 270px);
}

.frontend-auth-login .login-header {
    margin-bottom: 12px;
}

.frontend-auth-login .login-title {
    margin-bottom: 4px;
    font-size: 23px;
    letter-spacing: 2px;
}

.frontend-auth-login .login-subtitle {
    font-size: 11px;
}

.frontend-auth-login .login-field {
    margin-bottom: 7px;
}

.frontend-auth-login .login-field label {
    font-size: 11px;
}

.frontend-auth-login .login-field input[type="text"],
.frontend-auth-login .login-field input[type="password"],
.frontend-auth-login .login-field input[type="email"] {
    height: 34px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 12px;
}

.frontend-auth-login .login-options {
    margin-top: 7px;
    font-size: 11px;
}

.frontend-auth-login .login-remember,
.frontend-auth-login .login-forgot {
    font-size: 11px;
}

.frontend-auth-login .login-remember input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

.frontend-auth-login .login-btn {
    height: 39px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 39px;
    letter-spacing: 4px;
}

.frontend-auth-login .login-tip {
    min-height: 14px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 14px;
}

.frontend-auth-login .login-footer {
    margin-top: 8px;
    padding-top: 8px;
}

.frontend-auth-login .login-footer-text {
    font-size: 10px;
}

.frontend-auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 34px 32px;
    color: #eef5fb;
    background:
        linear-gradient(145deg, rgba(4, 47, 80, .97), rgba(8, 78, 124, .91)),
        var(--auth-deep);
    isolation: isolate;
}

.frontend-auth-visual::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 47, 80, .10), rgba(4, 47, 80, .46)),
        url("../images/m.hills.png") 50% 58% / cover no-repeat;
    opacity: .47;
    filter: saturate(.65);
    content: "";
}

.frontend-auth-visual::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 75% 14%, rgba(216, 176, 18, .25), transparent 30%),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: auto, 72px 100%;
    content: "";
}

.frontend-auth-brand {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 14px;
    color: #d8b012;
    text-decoration: none;
}

.frontend-auth-brand:hover,
.frontend-auth-brand:focus {
    color: #f0d46a;
    text-decoration: none;
}

.frontend-auth-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .18));
}

.frontend-auth-brand span {
    color: currentColor;
    font-family: "Songti SC", STSong, "Noto Serif SC", SimSun, serif;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 4px;
}

.frontend-auth-visual-copy {
    position: relative;
    width: min(100%, 280px);
    margin: auto 0;
    padding: 28px 0 24px 20px;
}

.frontend-auth-visual-copy::before,
.frontend-auth-visual-copy::after {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, #d8b012, transparent);
    content: "";
}

.frontend-auth-visual-copy::before {
    top: 0;
    left: 20px;
    width: 112px;
}

.frontend-auth-visual-copy::after {
    right: 0;
    bottom: 0;
    width: 104px;
    transform: rotate(180deg);
}

.frontend-auth-reminder {
    position: absolute;
    top: -27px;
    left: 20px;
    color: rgba(225, 236, 245, .76);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 1.2px;
}

.frontend-auth-visual-copy h2,
.frontend-auth-visual-copy h2 span {
    margin: 0;
    color: #e2bd31 !important;
    font-family: "Songti SC", STSong, "Noto Serif SC", SimSun, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 1px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .20);
}

.frontend-auth-visual-copy h2 span {
    display: block;
}

.frontend-auth-quote-source {
    display: block;
    margin-top: 12px;
    color: rgba(225, 236, 245, .76);
    font-size: 11px;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 1px;
}

.frontend-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 28px 30px;
    background: var(--auth-paper);
}

.frontend-auth-register .frontend-auth-panel {
    padding-top: 24px;
    padding-bottom: 24px;
}

.frontend-auth-shell .login-card {
    position: relative;
    width: min(100%, 360px);
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.frontend-auth-register .login-card {
    width: min(100%, 380px);
}

.frontend-auth-shell.frontend-auth-register .frontend-auth-visual-copy {
    width: 100%;
    margin: auto 0;
    padding: 30px 0 26px 20px;
}

.frontend-auth-shell.frontend-auth-register .login-header {
    margin-bottom: 20px;
}

.frontend-auth-shell.frontend-auth-register .login-title {
    margin-bottom: 0;
}

.frontend-auth-shell .login-card::before,
.frontend-auth-shell .login-card::after {
    display: none;
}

.frontend-auth-shell .login-header {
    margin: 0 0 18px;
    text-align: left;
}

.frontend-auth-shell .login-logo {
    display: none;
}

.frontend-auth-shell .login-title {
    margin: 0 0 8px;
    color: var(--auth-deep);
    font-family: "Songti SC", STSong, "Noto Serif SC", SimSun, serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 3px;
}

.frontend-auth-shell .login-subtitle {
    margin: 0;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.65;
}

.frontend-auth-shell .login-form-inner {
    display: block;
}

.frontend-auth-shell .login-field {
    display: block;
    margin: 0 0 11px;
}

.frontend-auth-register .login-field {
    margin-bottom: 8px;
}

.frontend-auth-shell .login-field label {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 2px;
    color: var(--auth-deep);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .5px;
}

.frontend-auth-shell .login-field label::before {
    display: none;
}

.frontend-auth-shell .login-field label small {
    color: #94a3af !important;
    font-size: 10px !important;
    letter-spacing: 0;
}

.frontend-auth-shell .login-field input[type="text"],
.frontend-auth-shell .login-field input[type="password"],
.frontend-auth-shell .login-field input[type="email"] {
    display: block;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 8px 3px;
    border: 0;
    border-bottom: 1px solid var(--auth-line);
    border-radius: 0;
    outline: 0;
    color: var(--auth-deep);
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    font-size: 15px;
    line-height: 24px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.frontend-auth-shell .login-field input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 7px 0 -6px rgba(216, 176, 18, .46);
}

.frontend-auth-shell .login-field input::placeholder {
    color: #98a7b3;
    opacity: 1;
}

.frontend-auth-shell .field-tip {
    display: block;
    min-height: 14px;
    margin: 1px 0 0;
    color: #b14f49;
    font-size: 11px;
    line-height: 14px;
}

.frontend-auth-shell .verify-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    align-items: end;
    gap: 14px;
    margin-bottom: 10px;
}

.frontend-auth-shell .verify-row .login-field {
    margin: 0;
}

.frontend-auth-shell .verify-img {
    display: block;
    width: 118px;
    height: 48px;
    object-fit: cover;
    border: 1px solid var(--auth-line);
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.frontend-auth-shell .login-options {
    margin: 10px 0 3px;
}

.frontend-auth-shell .login-remember {
    color: #60788b;
}

.frontend-auth-shell .login-remember input[type="checkbox"] {
    accent-color: var(--auth-primary);
}

.frontend-auth-shell .login-forgot,
.frontend-auth-shell .login-footer-link {
    color: var(--auth-primary);
}

.frontend-auth-shell .login-forgot:hover,
.frontend-auth-shell .login-footer-link:hover {
    color: var(--auth-deep);
    background: rgba(216, 176, 18, .10);
}

.frontend-auth-shell .login-btn {
    width: 100%;
    height: 46px;
    margin: 15px 0 0;
    padding: 0;
    border: 0;
    border-radius: 7px;
    color: var(--auth-deeper);
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-bright));
    box-shadow: 0 14px 28px rgba(157, 123, 5, .24);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 46px;
    letter-spacing: 5px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.frontend-auth-shell .login-btn:hover,
.frontend-auth-shell .login-btn:focus {
    color: var(--auth-deeper);
    background: linear-gradient(135deg, #e0b81d, #f2d468);
    box-shadow: 0 18px 34px rgba(157, 123, 5, .30);
    transform: translateY(-2px);
    outline: none;
}

.frontend-auth-shell .login-btn:active {
    transform: translateY(0);
}

.frontend-auth-shell .login-btn:disabled,
.frontend-auth-shell .login-btn.disabled {
    opacity: .68;
    cursor: not-allowed;
    transform: none;
}

.frontend-auth-shell .login-tip {
    min-height: 18px;
    margin: 7px 0 0;
    color: #b14f49;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.frontend-auth-shell .login-footer {
    margin: 13px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--auth-line);
    text-align: center;
}

.frontend-auth-shell .login-footer-text {
    margin: 0;
    color: var(--auth-muted);
    font-size: 12px;
}

/* 登录页使用横向紧凑卡片，并在上下保留等量空间。 */
.frontend-auth-shell.frontend-auth-login {
    min-height: 575px;
    padding: 115px 20px 80px;
}

.frontend-auth-shell.frontend-auth-login .frontend-auth-card {
    grid-template-columns: 235px minmax(0, 325px);
    width: min(560px, 100%);
    min-height: 380px;
}

.frontend-auth-shell.frontend-auth-login .frontend-auth-visual {
    padding: 24px 22px;
}

.frontend-auth-shell.frontend-auth-login .frontend-auth-visual-copy {
    width: 100%;
    margin: auto 0;
    padding: 26px 0 22px 14px;
}

.frontend-auth-shell.frontend-auth-login .frontend-auth-visual-copy h2,
.frontend-auth-shell.frontend-auth-login .frontend-auth-visual-copy h2 span {
    font-size: 18px;
}

.frontend-auth-shell.frontend-auth-login .frontend-auth-quote-source {
    margin-top: 11px;
    font-size: 10px;
}

.frontend-auth-shell.frontend-auth-login .frontend-auth-panel {
    padding: 18px 20px;
}

.frontend-auth-shell.frontend-auth-login .login-card {
    width: min(100%, 285px);
}

.frontend-auth-shell.frontend-auth-login .login-header {
    margin-bottom: 15px;
}

.frontend-auth-shell.frontend-auth-login .login-title {
    margin-bottom: 0;
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: 2px;
}

.frontend-auth-shell.frontend-auth-login .login-subtitle {
    font-size: 11px;
    line-height: 1.5;
}

.frontend-auth-shell.frontend-auth-login .login-field {
    margin-bottom: 10px;
}

.frontend-auth-shell.frontend-auth-login .login-field label {
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 1.4;
}

.frontend-auth-shell.frontend-auth-login .login-field input[type="text"],
.frontend-auth-shell.frontend-auth-login .login-field input[type="password"],
.frontend-auth-shell.frontend-auth-login .login-field input[type="email"] {
    height: 38px;
    padding: 7px 11px;
    border: 1px solid rgba(7, 63, 105, .20);
    border-radius: 7px;
    color: var(--auth-deep);
    background: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 22px;
    box-shadow: 0 4px 12px rgba(4, 47, 80, .035);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.frontend-auth-shell.frontend-auth-login .login-field input:focus {
    border-color: var(--auth-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(216, 176, 18, .14), 0 7px 16px rgba(4, 47, 80, .07);
}

.frontend-auth-shell.frontend-auth-login .login-field input:-webkit-autofill,
.frontend-auth-shell.frontend-auth-login .login-field input:-webkit-autofill:hover,
.frontend-auth-shell.frontend-auth-login .login-field input:-webkit-autofill:focus {
    border: 1px solid rgba(216, 176, 18, .42);
    -webkit-text-fill-color: var(--auth-deep);
    -webkit-box-shadow: 0 0 0 1000px #fffdf7 inset, 0 4px 12px rgba(4, 47, 80, .04);
    caret-color: var(--auth-deep);
}

.frontend-auth-shell.frontend-auth-login .login-options {
    margin: 11px 0 3px;
    font-size: 11px;
}

.frontend-auth-shell.frontend-auth-login .login-remember,
.frontend-auth-shell.frontend-auth-login .login-forgot {
    font-size: 11px;
}

.frontend-auth-shell.frontend-auth-login .login-btn {
    height: 39px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 39px;
    letter-spacing: 4px;
}

.frontend-auth-shell.frontend-auth-login .login-tip {
    min-height: 14px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 14px;
}

.frontend-auth-shell.frontend-auth-login .login-footer {
    margin-top: 8px;
    padding-top: 8px;
}

.frontend-auth-shell.frontend-auth-login .login-footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 20px;
    font-size: 10px;
    line-height: 20px;
}

.frontend-auth-shell.frontend-auth-login .login-footer-link {
    display: inline;
    margin: 0;
    line-height: inherit;
}

/* 注册页沿用登录页的精致表单风格，并为四个字段保留适当高度。 */
.frontend-auth-shell.frontend-auth-register {
    min-height: 620px;
    padding: 60px 20px;
}

.frontend-auth-shell.frontend-auth-register .frontend-auth-card {
    grid-template-columns: 255px minmax(0, 365px);
    width: min(620px, 100%);
    min-height: 500px;
    border-radius: 15px;
    box-shadow: 0 18px 44px rgba(3, 47, 80, .18);
}

.frontend-auth-shell.frontend-auth-register .frontend-auth-visual {
    padding: 26px 24px;
}

.frontend-auth-shell.frontend-auth-register .frontend-auth-visual-copy {
    width: 100%;
    margin: auto 0;
    padding: 28px 0 24px 16px;
}

.frontend-auth-shell.frontend-auth-register .frontend-auth-visual-copy h2,
.frontend-auth-shell.frontend-auth-register .frontend-auth-visual-copy h2 span {
    font-size: 18px;
}

.frontend-auth-shell.frontend-auth-register .frontend-auth-quote-source {
    margin-top: 11px;
    font-size: 10px;
}

.frontend-auth-shell.frontend-auth-register .frontend-auth-panel {
    padding: 20px;
}

.frontend-auth-shell.frontend-auth-register .login-card {
    width: min(100%, 325px);
}

.frontend-auth-shell.frontend-auth-register .login-header {
    margin-bottom: 14px;
}

.frontend-auth-shell.frontend-auth-register .login-title {
    margin-bottom: 0;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 2px;
}

.frontend-auth-shell.frontend-auth-register .login-field {
    margin-bottom: 7px;
}

.frontend-auth-shell.frontend-auth-register .login-field label {
    margin-bottom: 3px;
    font-size: 11px;
    line-height: 1.4;
}

.frontend-auth-shell.frontend-auth-register .login-field label small {
    margin-left: 5px !important;
    font-size: 9px !important;
}

.frontend-auth-shell.frontend-auth-register .login-field input[type="text"],
.frontend-auth-shell.frontend-auth-register .login-field input[type="password"],
.frontend-auth-shell.frontend-auth-register .login-field input[type="email"] {
    height: 38px;
    padding: 7px 11px;
    border: 1px solid rgba(7, 63, 105, .20);
    border-radius: 7px;
    color: var(--auth-deep);
    background: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 22px;
    box-shadow: 0 4px 12px rgba(4, 47, 80, .035);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.frontend-auth-shell.frontend-auth-register .login-field input:focus {
    border-color: var(--auth-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(216, 176, 18, .14), 0 7px 16px rgba(4, 47, 80, .07);
}

.frontend-auth-shell.frontend-auth-register .login-field input:-webkit-autofill,
.frontend-auth-shell.frontend-auth-register .login-field input:-webkit-autofill:hover,
.frontend-auth-shell.frontend-auth-register .login-field input:-webkit-autofill:focus {
    border: 1px solid rgba(216, 176, 18, .42);
    -webkit-text-fill-color: var(--auth-deep);
    -webkit-box-shadow: 0 0 0 1000px #fffdf7 inset, 0 4px 12px rgba(4, 47, 80, .04);
    caret-color: var(--auth-deep);
}

.frontend-auth-shell.frontend-auth-register .field-tip {
    min-height: 12px;
    margin-top: 2px;
    font-size: 10px;
    line-height: 12px;
}

.frontend-auth-shell.frontend-auth-register .login-btn {
    height: 39px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 39px;
    letter-spacing: 4px;
}

.frontend-auth-shell.frontend-auth-register .login-tip {
    min-height: 14px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 14px;
}

.frontend-auth-shell.frontend-auth-register .login-footer {
    margin-top: 8px;
    padding-top: 8px;
}

.frontend-auth-shell.frontend-auth-register .login-footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 20px;
    font-size: 10px;
    line-height: 20px;
}

.frontend-auth-shell.frontend-auth-register .login-footer-link {
    display: inline;
    margin: 0;
    line-height: inherit;
}

/* 手机端：用同等优先级覆盖桌面双栏尺寸，登录与注册保持一致的触控体验。 */
@media (max-width: 760px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    #page,
    #page #main,
    #page #main > .inner-wrap,
    #page #primary {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    #page #primary {
        float: none;
    }

    .frontend-auth-shell,
    .frontend-auth-shell.frontend-auth-login,
    .frontend-auth-shell.frontend-auth-register {
        width: 100%;
        min-height: 0;
        padding: 28px 14px 36px;
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-card,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-card {
        display: block;
        width: min(100%, 430px);
        min-height: 0;
        border-radius: 16px;
        box-shadow: 0 16px 38px rgba(3, 47, 80, .16);
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-visual,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-visual {
        justify-content: center;
        min-height: 132px;
        padding: 22px 24px;
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-visual-copy,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-visual-copy {
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .frontend-auth-shell .frontend-auth-visual-copy::before,
    .frontend-auth-shell .frontend-auth-visual-copy::after {
        display: none;
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-visual-copy h2,
    .frontend-auth-shell.frontend-auth-login .frontend-auth-visual-copy h2 span,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-visual-copy h2,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-visual-copy h2 span {
        font-size: 18px;
        line-height: 1.5;
        letter-spacing: 1px;
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-quote-source,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-quote-source {
        margin-top: 7px;
        font-size: 10px;
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-panel,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-panel {
        padding: 25px 24px 22px;
    }

    .frontend-auth-shell.frontend-auth-login .login-card,
    .frontend-auth-shell.frontend-auth-register .login-card {
        width: 100%;
    }

    .frontend-auth-shell.frontend-auth-login .login-header,
    .frontend-auth-shell.frontend-auth-register .login-header {
        margin-bottom: 20px;
        text-align: center;
    }

    .frontend-auth-shell.frontend-auth-login .login-title,
    .frontend-auth-shell.frontend-auth-register .login-title {
        font-size: 27px;
        line-height: 1.25;
        letter-spacing: 3px;
    }

    .frontend-auth-shell.frontend-auth-login .login-field,
    .frontend-auth-shell.frontend-auth-register .login-field {
        margin-bottom: 14px;
    }

    .frontend-auth-shell.frontend-auth-login .login-field label,
    .frontend-auth-shell.frontend-auth-register .login-field label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .frontend-auth-shell.frontend-auth-register .login-field label small {
        line-height: 1.35;
    }

    .frontend-auth-shell.frontend-auth-login .login-field input[type="text"],
    .frontend-auth-shell.frontend-auth-login .login-field input[type="password"],
    .frontend-auth-shell.frontend-auth-login .login-field input[type="email"],
    .frontend-auth-shell.frontend-auth-register .login-field input[type="text"],
    .frontend-auth-shell.frontend-auth-register .login-field input[type="password"],
    .frontend-auth-shell.frontend-auth-register .login-field input[type="email"] {
        height: 46px;
        padding: 10px 13px;
        border-radius: 8px;
        font-size: 16px;
        line-height: 24px;
    }

    .frontend-auth-shell.frontend-auth-login .login-options {
        gap: 14px;
        margin: 12px 0 4px;
    }

    .frontend-auth-shell.frontend-auth-login .login-remember,
    .frontend-auth-shell.frontend-auth-login .login-forgot {
        font-size: 13px;
    }

    .frontend-auth-shell.frontend-auth-login .login-remember input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .frontend-auth-shell.frontend-auth-login .login-btn,
    .frontend-auth-shell.frontend-auth-register .login-btn {
        height: 48px;
        margin-top: 12px;
        border-radius: 8px;
        font-size: 15px;
        line-height: 48px;
    }

    .frontend-auth-shell.frontend-auth-login .login-tip,
    .frontend-auth-shell.frontend-auth-register .login-tip {
        margin-top: 7px;
        font-size: 12px;
        line-height: 18px;
    }

    .frontend-auth-shell.frontend-auth-login .login-footer,
    .frontend-auth-shell.frontend-auth-register .login-footer {
        margin-top: 13px;
        padding-top: 13px;
    }

    .frontend-auth-shell.frontend-auth-login .login-footer-text,
    .frontend-auth-shell.frontend-auth-register .login-footer-text {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .frontend-auth-shell,
    .frontend-auth-shell.frontend-auth-login,
    .frontend-auth-shell.frontend-auth-register {
        padding: 18px 10px 28px;
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-card,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-card {
        border-radius: 14px;
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-visual,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-visual {
        min-height: 116px;
        padding: 18px 16px;
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-visual-copy h2,
    .frontend-auth-shell.frontend-auth-login .frontend-auth-visual-copy h2 span,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-visual-copy h2,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-visual-copy h2 span {
        font-size: 17px;
    }

    .frontend-auth-shell.frontend-auth-login .frontend-auth-panel,
    .frontend-auth-shell.frontend-auth-register .frontend-auth-panel {
        padding: 23px 18px 20px;
    }

    .frontend-auth-shell.frontend-auth-login .login-title,
    .frontend-auth-shell.frontend-auth-register .login-title {
        font-size: 25px;
    }

    .frontend-auth-shell.frontend-auth-register .login-field label {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .frontend-auth-shell.frontend-auth-register .login-field label small {
        flex-basis: 100%;
        margin-left: 0 !important;
    }

    .frontend-auth-shell .verify-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .frontend-auth-shell .verify-img {
        width: 100%;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .frontend-auth-shell *,
    .frontend-auth-shell *::before,
    .frontend-auth-shell *::after {
        transition-duration: .01ms !important;
    }
}
